:root{--paper:#f8f6ef;--ink:#293f33;--green:#315c47;--muted:#62695e;--line:#dcded0;--white:#fffef9;--sage:#eff1e6;--gold:#d9ae4e;--rust:#b86f52;--body-size:17px;color-scheme:light}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:20px}body{margin:0;background:var(--paper);color:var(--ink);font:var(--body-size)/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;touch-action:manipulation}button:disabled{cursor:default}a{color:inherit;text-underline-offset:4px}button:focus-visible,a:focus-visible,summary:focus-visible,[tabindex="-1"]:focus-visible{outline:3px solid var(--rust);outline-offset:5px}h1,h2,h3,h4,p{margin:0}h1,h2,h3{text-wrap:balance}button,textarea{max-width:100%}[hidden]{display:none!important}.sr-only,.skip-link:not(:focus){position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link:focus{position:fixed;z-index:10;top:12px;left:12px;padding:12px;background:var(--green);color:white}
.sorting-prototype-header{min-height:104px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 3.2%}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--green)}.brand>svg{width:42px;height:44px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.brand strong{font-size:1.7rem;font-weight:700;letter-spacing:-1.7px;line-height:1.15;display:block}.brand strong>span{font-weight:400}.brand small{font-size:8px;font-weight:700;letter-spacing:1.35px;display:block;margin-top:5px}.main-nav{display:flex;align-items:center;flex-wrap:wrap;gap:24px;font-size:.86em}.main-nav a{text-decoration:none;padding:10px 0}.main-nav a[aria-current]{border-bottom:2px solid var(--rust)}.quiet-button{border:1px solid var(--line);border-radius:6px;background:var(--white);color:var(--ink);padding:9px 14px;min-height:44px;font-size:.83em;display:inline-flex;gap:9px;align-items:center;justify-content:center;white-space:normal;line-height:1.5}.quiet-button:hover{border-color:var(--green);background:var(--sage)}.reading-trigger>span{font:1.3rem Georgia,serif}
.page-shell{max-width:1152px;padding:0 24px;margin:0 auto}.page-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-top:34px}.breadcrumbs{display:flex;flex-wrap:wrap;gap:12px;font-size:.72em;color:var(--muted)}.breadcrumbs a{text-decoration:none}.breadcrumbs [aria-current]{color:var(--ink)}.hero{display:grid;grid-template-columns:1.2fr 1fr;align-items:center;min-height:335px;padding:30px 8px 35px;gap:20px}.eyebrow{font-size:.66em;letter-spacing:1.7px;font-weight:700;color:var(--green)}.hero h1{font-size:clamp(3rem,5vw,4.25rem);line-height:1.03;letter-spacing:-2.5px;margin-top:18px;font-weight:550}.hero h1 em{font-family:Georgia,"Times New Roman",serif;font-weight:400;color:var(--green)}.hero-description{margin-top:19px;font-size:1.03em;line-height:1.7}.hero-notes{display:flex;flex-wrap:wrap;gap:20px;font-size:.73em;color:var(--muted);margin-top:20px}.hero-notes i{font-style:normal;color:var(--green);margin-right:5px}.sorting-hero-art{width:100%;max-width:410px;justify-self:center;min-width:0}.sorting-hero-art svg{display:block;width:100%;height:auto;max-height:260px}.sorting-hero-art:empty{min-height:200px}.setup-panel,.game-panel{background:var(--white);border:1px solid var(--line);border-radius:16px}.setup-panel{padding:22px 26px;margin-bottom:22px}.setup-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:18px}.setup-heading h2{font-size:1.05em;font-weight:650}.setup-heading p{font-size:.7em;color:var(--muted)}fieldset{border:0;margin:0;padding:0;min-width:0}legend{font-size:.76em;font-weight:650;margin-bottom:10px;padding:0}.theme-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.theme-options>button,.theme-button{min-height:55px;min-width:0;padding:8px 12px;border:1px solid var(--line);border-radius:7px;background:var(--sage);color:var(--ink);font-size:.82em;font-weight:550;display:flex;align-items:center;justify-content:center;gap:9px;line-height:1.5}.theme-options>button[aria-pressed=true],.theme-button[aria-pressed=true]{background:var(--green);border-color:var(--green);color:var(--white)}.theme-options>button:hover:not([aria-pressed=true]){border-color:var(--green);background:#e3e8d6}.theme-options>button>svg{width:28px;height:28px;flex:none}.sorting-level-field{border-top:1px solid var(--line);margin-top:18px;padding-top:16px}.segmented{display:flex;flex-wrap:wrap;gap:7px}.segmented button{border:1px solid var(--line);border-radius:6px;min-height:44px;padding:8px 15px;color:var(--ink);background:transparent;font-size:.8em;line-height:1.5}.segmented button[aria-pressed=true]{background:#e5ebda;border-color:var(--green);font-weight:650;box-shadow:inset 0 0 0 1px var(--green)}.segmented button:hover:not([aria-pressed=true]){background:var(--sage)}.setup-note{font-size:.72em;color:var(--muted);margin-top:11px}
.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:24px;min-height:49px;border:1px solid var(--green);border-radius:6px;background:var(--green);color:white;font-size:.85em;font-weight:550;padding:11px 21px;line-height:1.5;white-space:normal}.primary-button:hover{background:#244735}.primary-button>span{font-size:1.2em;flex:none}.primary-button:disabled{background:var(--sage);border-color:var(--line);color:var(--muted)}.game-footer{display:flex;justify-content:space-between;gap:16px;align-items:center;border-top:1px solid var(--line);padding:18px 0 22px}.game-footer p{font-size:.72em;color:var(--muted)}.game-footer p>span{margin-right:6px;color:var(--green)}.text-button{border:0;background:none;color:var(--green);font-size:.78em;padding:8px 0;min-height:44px;text-decoration:underline;text-underline-offset:5px;white-space:normal;line-height:1.6;text-align:left}
.below-game{display:grid;grid-template-columns:1.4fr 1fr;gap:40px;padding:35px 8px 20px}.below-game h2{font-size:1.08em;margin:8px 0}.below-game p:not(.eyebrow){font-size:.8em;color:var(--muted)}.next-game{border-left:1px solid var(--line);padding-left:30px;text-decoration:none;display:flex;flex-direction:column;justify-content:center;gap:10px}.next-game strong{font:1.45em/1.25 Georgia,serif}.next-game>span:last-child{font-size:.78em;text-decoration:underline;text-underline-offset:5px}.next-game>span:last-child>span{margin-left:12px}.save-note{font-size:.72em;color:var(--muted);padding:0 8px 32px}.site-footer{border-top:1px solid var(--line);display:flex;align-items:center;gap:30px;padding:27px max(24px,calc((100vw - 1104px)/2));font-size:.72em;flex-wrap:wrap}.site-footer>a{font-size:1.25rem;text-decoration:none;font-weight:600;letter-spacing:-.7px}.site-footer>p{color:var(--muted)}.site-footer nav{display:flex;flex-wrap:wrap;gap:22px;margin-left:auto}.site-footer nav a{text-decoration:none}
.sorting-share{border-top:1px solid var(--line);padding:32px 8px 26px;margin-top:4px}.sorting-share h2{font-size:1.55em;line-height:1.3;margin:9px 0 10px;letter-spacing:-.5px}.sorting-share-intro{font-size:.91em;color:var(--muted)}.sorting-share-quote{font-family:Georgia,"Times New Roman",serif;font-size:1.2em;line-height:1.6;max-width:800px;margin:19px 0 22px;padding-left:20px;border-left:3px solid var(--gold);text-wrap:pretty}.sorting-share-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}.sorting-share-actions a{text-decoration:none}.sorting-share-actions .quiet-button{font-size:.78em;min-height:46px}.sorting-share-help{font-size:.72em;color:var(--muted);margin-top:12px}.sorting-share-help+.sorting-share-help{margin-top:3px}.sorting-share-status{font-size:.8em;margin-top:8px;min-height:1.7em;color:var(--green)}.sorting-share-fallback{margin-top:15px;padding:17px;background:var(--sage);border:1px solid var(--line);border-radius:8px}.sorting-share-fallback label{display:block;font-size:.85em;font-weight:600;margin-bottom:9px}.sorting-share-fallback textarea{font:inherit;font-size:.85em;line-height:1.7;display:block;box-sizing:border-box;width:100%;max-width:100%;resize:vertical;min-height:130px;padding:12px;color:var(--ink);border:1px solid var(--line);border-radius:5px;background:var(--white);overflow-wrap:anywhere}.sorting-share-fallback p{font-size:.75em;margin-top:10px;color:var(--muted)}.sorting-share-fallback textarea:focus-visible{outline:3px solid var(--rust);outline-offset:4px}.sorting-book{display:grid;grid-template-columns:190px minmax(0,1fr);align-items:center;gap:42px;padding:32px 36px;margin:2px 0 38px;border:1px solid var(--line);border-radius:16px;background:var(--white)}.sorting-book-cover{display:block;width:100%;max-width:190px;line-height:0}.sorting-book-cover img{display:block;width:100%;height:auto;box-shadow:0 6px 18px #293f3317;border-radius:3px}.sorting-book-collection{font-size:.79em;color:var(--muted);margin-top:10px}.sorting-book h2{font-family:Georgia,"Times New Roman",serif;font-size:1.9em;font-weight:400;line-height:1.23;max-width:630px;margin:8px 0 16px;color:var(--green)}.sorting-book-content>p:not(.eyebrow):not(.sorting-book-collection):not(.sorting-book-help){font-size:.91em;max-width:650px}.sorting-book-features{margin:10px 0 20px;color:var(--muted)}.sorting-book-content>a{text-decoration:none}.sorting-book-help{font-size:.72em;color:var(--muted);margin-top:10px}
.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px}dialog{background:var(--white);color:var(--ink);border:1px solid var(--line);border-radius:15px;padding:28px;max-width:560px;width:calc(100% - 32px);max-height:calc(100dvh - 32px);font-size:var(--body-size);line-height:1.6;overflow-y:auto}dialog::backdrop{background:#203b2c88;backdrop-filter:blur(3px)}dialog h2{font-size:1.8em;letter-spacing:-.7px;margin-bottom:16px}dialog p{margin-bottom:14px}dialog .dialog-heading p{margin:0}.close-button{border:1px solid var(--line);border-radius:50%;width:44px;height:44px;flex-shrink:0;background:transparent;color:var(--ink);font-size:1.5em}.help-steps{padding-left:24px;line-height:1.8}.help-steps li{margin-bottom:8px;padding-left:4px}.help-note{padding:15px 18px;background:var(--sage);border-radius:9px;margin:20px 0}.help-note p{margin:5px 0 0}.reading-controls{border:1px solid var(--line);padding:13px;border-radius:7px;margin-bottom:20px;display:flex;gap:7px;flex-wrap:wrap}.reading-controls button{min-height:44px;border:1px solid var(--line);border-radius:5px;background:var(--paper);color:var(--ink);padding:8px 11px;font-size:.86em}.reading-controls button[aria-pressed=true]{background:var(--green);color:white;border-color:var(--green)}.noscript-message{padding:20px;background:#fff2d5;border:1px solid var(--gold)}

.theme-options{grid-template-columns:repeat(3,minmax(0,1fr))}.game-panel{padding:27px 30px 0;scroll-margin-top:24px}.game-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.game-heading>div{min-width:0}.game-heading h2{font-size:1.5em;line-height:1.3;margin-top:7px;letter-spacing:-.4px}.sorting-progress-label{display:flex;flex-direction:column;align-items:flex-end;flex:none;font-size:.72em;color:var(--muted);line-height:1.6;text-align:right}.sorting-progress-label strong{font-size:1.55em;color:var(--green);font-weight:650}.sorting-intro{font-size:.92em;line-height:1.7;max-width:850px;margin:15px 0 17px;color:var(--muted)}.progress-track{height:7px;width:100%;overflow:hidden;background:#e4e8dc;border-radius:10px;margin:0 0 20px}.progress-track>span{display:block;width:0;height:100%;border-radius:inherit;background:var(--green)}.sorting-selection{padding:12px 16px;margin-bottom:21px;border:1px solid #d7ddc8;border-radius:8px;background:var(--sage);font-size:.9em;line-height:1.7;color:var(--green);overflow-wrap:anywhere}.sorting-workspace{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:24px;padding-bottom:23px;align-items:start}.sorting-items-panel,.sorting-groups-panel{min-width:0}.sorting-panel-heading{display:flex;align-items:center;gap:11px;margin-bottom:15px}.sorting-panel-heading h3{font-size:.9em;font-weight:650}.step-number{display:grid;place-items:center;flex:none;width:29px;min-height:29px;border-radius:50%;background:#e3ebd7;color:var(--green);font:1.25em/1.2 Georgia,serif}.sorting-panel-note{font-size:.74em;line-height:1.7;color:var(--muted);margin:-2px 0 15px}.sorting-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-content:start}.sorting-item{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:7px;min-width:0;min-height:172px;width:100%;padding:13px 10px 11px;border:1.5px solid #c6d1b9;border-radius:10px;background:var(--paper);color:var(--ink);font:inherit;font-size:.85em;line-height:1.5;text-align:center;overflow-wrap:anywhere}.sorting-item:hover:not(:disabled):not([aria-disabled=true]){border-color:var(--green);background:#eef1e4}.sorting-item-art{display:block;width:100%;max-width:98px;flex:none;line-height:0}.sorting-item-art svg{display:block;width:100%;height:auto;max-height:87px}.sorting-item-label{display:block;max-width:100%;font-weight:650}.sorting-item-state{display:block;font-size:.76em;line-height:1.55;color:var(--muted);margin-top:auto}.sorting-item-state:empty{display:none}.sorting-item.is-selected,.sorting-item[aria-pressed=true]{border:2px solid var(--green);padding:12.5px 9.5px 10.5px;background:#f6edcf;box-shadow:0 0 0 2px #d5a43c33}.sorting-item.is-selected .sorting-item-state{color:var(--green);font-weight:650}.sorting-item.is-placed{background:#eaf0df;border-color:#afc19a;box-shadow:none}.sorting-item.is-placed .sorting-item-state{color:var(--green)}.sorting-item[aria-disabled=true],.sorting-item:disabled{opacity:1;cursor:default}.sorting-item.is-placed .sorting-item-art{max-width:79px}.sorting-groups{display:grid;gap:14px;scroll-margin-top:24px}.sorting-group{min-width:0;border:1px solid var(--line);border-radius:11px;padding:15px;background:var(--white)}.sorting-group-button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:54px;min-width:0;padding:12px 14px;border:1.5px solid var(--green);border-radius:7px;background:var(--sage);color:var(--green);font:inherit;font-size:.94em;line-height:1.5;font-weight:650;text-align:left;overflow-wrap:anywhere}.sorting-group-button>span:first-child{min-width:0}.sorting-group-button:hover:not(:disabled):not([aria-disabled=true]){background:#dfe9d2;box-shadow:inset 0 0 0 1px var(--green)}.sorting-group-button:disabled,.sorting-group-button[aria-disabled=true]{background:var(--paper);border-color:#b7c3aa;color:var(--ink);cursor:default;opacity:1}.sorting-group-button.is-hint,.sorting-group.is-hint .sorting-group-button{border:2px solid #916818;background:#fcf1cc;box-shadow:0 0 0 2px #d5a43c33}.sorting-group-description{font-size:.72em;line-height:1.7;color:var(--muted);margin:10px 1px 0;overflow-wrap:anywhere}.sorting-group-count{display:inline-block;flex:none;font-size:.76em;line-height:1.5;font-weight:650;border:1px solid #bccba9;border-radius:20px;background:var(--white);color:var(--green);padding:3px 8px;white-space:normal}.sorting-placed-list{list-style:none;padding:0;margin:12px 0 0;display:grid;gap:7px}.sorting-placed-list:empty{display:none}.sorting-placed-item{display:flex;align-items:center;gap:10px;min-width:0;border-top:1px solid var(--line);padding-top:7px;font-size:.75em;line-height:1.55;overflow-wrap:anywhere}.sorting-placed-art{display:block;line-height:0;width:40px;flex:none}.sorting-placed-art svg{display:block;width:100%;height:auto;max-height:39px}.sorting-placed-item>span:last-child{min-width:0}.sorting-group-empty,.sorting-empty{font-size:.72em;line-height:1.65;color:var(--muted);padding-top:9px}.sorting-feedback{font-size:.88em;line-height:1.7;margin:0 0 17px;color:var(--green);min-height:1.7em;overflow-wrap:anywhere}.sorting-feedback.is-error{color:#8b462e}.sorting-help-row{display:flex;flex-wrap:wrap;align-items:center;gap:9px 20px;padding:17px 0;border-top:1px solid var(--line)}.sorting-help-note{font-size:.73em;color:var(--muted);line-height:1.6}.sorting-hint-text{background:#f4efdf;border-left:3px solid var(--gold);padding:14px 17px;margin:0 0 22px;font-size:.88em;line-height:1.75;border-radius:0 7px 7px 0;overflow-wrap:anywhere}.sorting-result{border:1px solid #c9d4ba;background:#eef3e5;border-radius:12px;padding:25px 27px;margin:5px 0 25px;scroll-margin-top:24px}.sorting-result h3{font-family:Georgia,"Times New Roman",serif;font-size:1.85em;font-weight:400;line-height:1.3;margin:9px 0 15px}.sorting-result>p:not(.eyebrow){font-size:.97em;line-height:1.8}.quiet-button:disabled{color:var(--muted);border-color:var(--line);background:var(--sage);cursor:default}.quiet-button:disabled:hover{background:var(--sage);border-color:var(--line)}.text-button:disabled{color:var(--muted);cursor:default;text-decoration:none}
html[data-text-size=large]{--body-size:21px}html[data-text-size=xl]{--body-size:26px}html[data-text-size=xl] .sorting-workspace{grid-template-columns:1fr}html[data-text-size=xl] .sorting-items{grid-template-columns:repeat(3,minmax(0,1fr))}html[data-wide-spacing=true] body{line-height:2;letter-spacing:.035em;word-spacing:.07em}html[data-wide-spacing=true] .sorting-item-state,html[data-wide-spacing=true] .sorting-group-description{line-height:1.9}html[data-high-contrast=true]{--paper:#fff;--white:#fff;--ink:#000;--muted:#222;--green:#153e25;--line:#59624c;--sage:#f1f4e9;--rust:#913516}html[data-high-contrast=true] .sorting-item.is-selected{background:#fff4be;border-color:#153e25}html[data-high-contrast=true] .sorting-item.is-placed{background:#fff;border-color:#153e25}html[data-high-contrast=true] .sorting-feedback.is-error{color:#6c260e}html[data-high-contrast=true] .sorting-result{border-color:var(--green);background:var(--paper)}html[data-high-contrast=true] .sorting-hint-text{background:var(--paper);border-color:var(--green)}html[data-high-contrast=true] .sorting-group-button.is-hint{border-color:#153e25;background:#fff4be}
@media(max-width:900px){.sorting-prototype-header{flex-wrap:wrap;gap:15px;padding:17px 24px}.main-nav{order:3;width:100%;justify-content:center;gap:26px;border-top:1px solid var(--line);padding-top:9px}.hero{min-height:310px}.setup-heading{align-items:flex-start;flex-direction:column;gap:5px}.page-toolbar{padding-top:24px}.sorting-workspace{gap:18px;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}.sorting-items{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.sorting-item{min-height:166px}.sorting-group{padding:12px}.sorting-book{gap:28px}}
@media(max-width:700px){.sorting-workspace{grid-template-columns:1fr;gap:25px}.sorting-items{grid-template-columns:repeat(3,minmax(0,1fr))}.sorting-group{padding:16px}.sorting-placed-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.sorting-placed-item{flex-direction:column;text-align:center;gap:4px;padding:8px 4px 0}.sorting-placed-art{width:46px}.sorting-placed-art svg{max-height:43px}}
@media(max-width:600px){.sorting-prototype-header{padding:14px 18px;gap:13px}.brand>svg{width:32px;height:36px}.brand strong{font-size:1.4rem}.brand small{font-size:6.5px;letter-spacing:1px}.brand{gap:7px}.reading-trigger{font-size:.66em;padding:8px 10px;gap:6px}.reading-trigger>span{font-size:1.1rem}.main-nav{gap:12px;font-size:.7em;justify-content:space-between;overflow-wrap:anywhere}.page-shell{padding:0 16px}.page-toolbar{gap:10px;align-items:flex-start}.breadcrumbs{font-size:.63em;gap:8px;padding-top:10px}.page-toolbar>.quiet-button{font-size:.65em;padding:8px 10px;gap:6px;flex:none}.hero{grid-template-columns:1fr;min-height:0;padding:30px 5px 26px;gap:0}.hero h1{font-size:2.85rem;letter-spacing:-1.9px;line-height:1.07}.hero .eyebrow{font-size:.59em;letter-spacing:1.1px}.hero-description{font-size:.92em;line-height:1.6}.hero-notes{gap:8px 17px;font-size:.67em;margin-top:17px}.sorting-hero-art{display:none}.setup-panel{padding:18px;margin-bottom:16px;border-radius:12px}.setup-heading{margin-bottom:15px}.setup-heading h2{font-size:.98em}.setup-heading p{font-size:.65em}.theme-options{grid-template-columns:1fr;gap:8px}.theme-options>button,.theme-button{font-size:.8em;min-height:48px;padding:9px 11px;gap:7px;justify-content:flex-start}.sorting-level-field{padding-top:15px;margin-top:16px}legend{font-size:.72em}.segmented button{font-size:.8em;padding:10px 15px;flex:1;min-width:0}.setup-note{font-size:.68em}.game-panel{padding:21px 17px 0;border-radius:12px}.game-heading{align-items:flex-start;gap:12px}.game-heading h2{font-size:1.28em;line-height:1.4}.game-heading .eyebrow{font-size:.6em;letter-spacing:1px}.sorting-progress-label{font-size:.63em}.sorting-progress-label strong{font-size:1.35em}.sorting-intro{font-size:.87em;margin:14px 0 17px}.progress-track{margin-bottom:17px}.sorting-selection{font-size:.85em;padding:11px 13px;margin-bottom:20px}.sorting-workspace{gap:24px;padding-bottom:20px}.sorting-panel-heading{gap:9px;margin-bottom:13px}.sorting-panel-heading h3{font-size:.85em}.sorting-panel-note{font-size:.7em}.sorting-items{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.sorting-item{min-height:164px;padding:12px 8px 10px;font-size:.86em;gap:7px}.sorting-item.is-selected,.sorting-item[aria-pressed=true]{padding:11.5px 7.5px 9.5px}.sorting-item-art{max-width:88px}.sorting-item-art svg{max-height:80px}.sorting-item-state{font-size:.76em}.sorting-item.is-placed .sorting-item-art{max-width:72px}.sorting-groups{gap:12px}.sorting-group{padding:13px;border-radius:9px}.sorting-group-button{padding:11px 12px;font-size:.9em;gap:10px}.sorting-group-description{font-size:.73em;margin-top:9px}.sorting-group-count{font-size:.75em;padding:3px 7px}.sorting-placed-list{margin-top:10px;gap:7px}.sorting-placed-item{font-size:.7em}.sorting-feedback{font-size:.83em}.sorting-help-row{gap:7px 17px;padding:14px 0}.sorting-help-row .quiet-button,.sorting-help-row .text-button{font-size:.77em}.sorting-help-note{font-size:.7em;flex-basis:100%}.sorting-hint-text{font-size:.83em;padding:12px 14px;margin-bottom:20px}.sorting-result{padding:21px 16px;margin-bottom:22px}.sorting-result h3{font-size:1.6em}.sorting-result>p:not(.eyebrow){font-size:.92em}.game-footer{flex-wrap:wrap;gap:12px;padding:16px 0 20px}.game-footer p{font-size:.67em;flex-basis:100%}.primary-button{font-size:.82em;padding:11px 17px;gap:16px}.text-button{font-size:.75em}.below-game{grid-template-columns:1fr;gap:24px;padding:27px 5px 19px}.below-game h2{font-size:1em}.next-game{border-left:0;border-top:1px solid var(--line);padding:23px 0 0;gap:8px}.next-game strong{font-size:1.3em}.save-note{padding:0 5px 24px}.site-footer{padding:23px 21px;gap:8px 20px}.site-footer nav{margin-left:0;width:100%;gap:19px;margin-top:13px}.sorting-share{padding:26px 5px 20px}.sorting-share h2{font-size:1.4em}.sorting-share-quote{font-size:1.1em;margin:16px 0 20px;padding-left:15px}.sorting-share-actions{gap:8px}.sorting-share-actions .quiet-button{font-size:.73em;padding:9px 12px}.sorting-book{grid-template-columns:1fr;gap:22px;padding:24px;margin-bottom:28px;border-radius:12px}.sorting-book-cover{max-width:148px;margin:auto}.sorting-book h2{font-size:1.65em}.sorting-book-content>.primary-button{max-width:100%;white-space:normal;gap:12px}.sorting-book-help{line-height:1.6}.close-button{width:44px;height:44px}dialog{padding:22px}.help-steps{padding-left:22px}html[data-text-size=xl] .main-nav{font-size:.55em;gap:10px}html[data-text-size=xl] .reading-trigger{font-size:.55em}html[data-text-size=xl] .brand strong{font-size:1.3rem}html[data-text-size=xl] .page-toolbar{flex-wrap:wrap}html[data-text-size=xl] .main-nav a{padding:8px 0}html[data-text-size=xl] .theme-options>button{font-size:.75em}html[data-text-size=xl] .game-heading{flex-wrap:wrap}html[data-text-size=xl] .sorting-progress-label{align-items:flex-start;text-align:left;flex-basis:100%}html[data-text-size=xl] .sorting-items{grid-template-columns:repeat(2,minmax(0,1fr))}html[data-text-size=xl] .sorting-item{font-size:.76em;min-height:182px;padding-inline:6px}html[data-text-size=xl] .sorting-item.is-selected{padding-inline:5.5px}html[data-text-size=xl] .sorting-item-state{font-size:.75em}html[data-text-size=xl] .sorting-group-button{flex-wrap:wrap;font-size:.86em}html[data-text-size=xl] .sorting-placed-list{grid-template-columns:1fr}html[data-text-size=xl] .sorting-placed-item{flex-direction:row;text-align:left;font-size:.75em}html[data-text-size=xl] .sorting-group-description{font-size:.76em}html[data-text-size=xl] .sorting-book{padding:20px}html[data-text-size=xl] .sorting-book h2{font-size:1.45em}html[data-text-size=xl] .sorting-share-actions .quiet-button{font-size:.7em}html[data-text-size=xl] .sorting-book-content>.primary-button{font-size:.7em}}
@media(max-width:350px){.page-shell{padding-inline:12px}.game-panel{padding-inline:12px}.sorting-prototype-header{padding-inline:14px}.hero h1{font-size:2.65rem}.game-heading{gap:8px}.sorting-items{gap:8px}.sorting-item{padding-inline:6px}.sorting-item-art{max-width:79px}.sorting-group{padding:11px}.sorting-book{padding:20px}.reading-trigger{font-size:.62em}.sorting-placed-list{grid-template-columns:1fr}.sorting-placed-item{flex-direction:row;text-align:left;font-size:.75em}html[data-text-size=xl] .sorting-items{grid-template-columns:1fr}html[data-text-size=xl] .sorting-item{min-height:165px;font-size:.86em}html[data-text-size=xl] .sorting-item-art{max-width:86px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* La selección, los avisos y la ayuda se mantienen junto a los grupos. */
.sorting-group-controls{margin-bottom:17px}.sorting-group-controls .sorting-selection{margin-bottom:12px}.sorting-group-controls .sorting-feedback{margin:0 0 10px}.sorting-feedback:empty{display:none}.sorting-group-controls .sorting-help-row{padding:10px 0 11px;border-top:0}.sorting-group-controls .sorting-hint-text{margin:0 0 5px}.sorting-help-row:has(> #sorting-hint[hidden]){display:none}.sorting-group>h3{font-size:1em;line-height:1.5;margin:0}.sorting-group>.sorting-group-count{margin-top:9px}.sorting-group-button:disabled{opacity:1}.sorting-group.is-hint .sorting-group-button,.sorting-group-button.is-hint{border:2px solid #916818;background:#fcf1cc;box-shadow:0 0 0 2px #d5a43c33}
html[data-high-contrast=true] .sorting-group.is-hint .sorting-group-button,html[data-high-contrast=true] .sorting-group-button.is-hint{border-color:#153e25;background:#fff4be}
@media(max-width:600px){.sorting-group-controls{margin-bottom:15px}.sorting-group-controls .sorting-selection{margin-bottom:10px}.sorting-group-controls .sorting-help-row{padding-top:8px}}
