.hero-buttons{display:flex;gap:10px;margin-top:23px}.outline-button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border:1px solid #dbe5dc;border-radius:11px;padding:11px 16px;background:white;color:#32624d;font-size:11px;font-weight:700;cursor:pointer}.outline-button:hover{background:#f0f8f2}.game-discovery{border-top:1px solid #e6eae4}.catalog-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.catalog-card{min-width:0;position:relative;background:white;border:1px solid var(--line);border-radius:17px;padding:14px 15px 15px;display:flex;flex-direction:column;align-items:flex-start;transition:transform .16s,box-shadow .16s}.catalog-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px #294d3810}.catalog-card.featured-card{border-color:#b8ddc6;background:#fbfefb}.catalog-preview{width:100%;height:84px;border-radius:12px;background:#f3f7f2;display:flex;align-items:center;justify-content:center;gap:5px;overflow:hidden;margin-bottom:12px}.catalog-preview i{width:28px;height:28px;border-radius:8px;box-shadow:0 4px 9px #29382d14;transform:rotate(calc(var(--tile-index)*4deg))}.catalog-badge{position:absolute;top:20px;left:21px;background:#ffffffdc;border:1px solid #e9efe8;border-radius:99px;padding:5px 8px;color:#39745c;font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.4px}.catalog-meta{font-size:8px;color:#77857b;margin:0 0 6px}.catalog-card h3{font-size:16px;letter-spacing:-.5px;margin:0 0 6px}.catalog-description{font-size:10px;color:#657269;line-height:1.55;min-height:47px;margin:0 0 11px}.catalog-link{display:inline-flex;align-items:center;gap:5px;text-decoration:none;color:var(--green);font-size:10px;font-weight:800;margin-top:auto}.catalog-link:hover{text-decoration:underline}.all-games-link{text-align:center;margin:20px 0 0}.all-games-link a{color:var(--green);font-size:11px;font-weight:700;text-decoration:none}
.subpage{max-width:1080px;margin:0 auto;padding:18px 28px 80px}.breadcrumbs{display:flex;gap:8px;align-items:center;color:#8a958e;font-size:10px;margin:5px 0 22px}.breadcrumbs a{color:#62736a;text-decoration:none}.game-hero{display:grid;grid-template-columns:1fr auto;align-items:center;gap:20px;padding:12px 0 27px}.game-hero h1{font-size:42px;margin:0 0 8px}.game-hero p:not(.eyebrow){font-size:13px;color:#68766c;line-height:1.7;max-width:650px;margin:0}.game-badge-preview,.sort-preview,.connect-preview{font-size:26px;letter-spacing:-7px;color:#65846e;white-space:nowrap}.game-badge-preview i{display:inline-block;width:35px;height:35px;border-radius:10px;margin-left:-2px;background:#e7677b}.game-badge-preview i:nth-child(2){background:#f8b65a;transform:translateY(-9px)}.game-badge-preview i:nth-child(3){background:#81b99b;transform:translateY(4px)}.play-card{position:relative;background:white;border:1px solid #e9eee8;border-radius:22px;padding:25px 30px 20px;box-shadow:var(--shadow);max-width:850px;margin:0 auto 30px}.game-guide{max-width:800px;margin:0 auto;padding:12px 0 42px}.game-guide h2{font-size:20px;letter-spacing:-.5px;margin:22px 0 8px}.game-guide p{font-size:12px;color:#637066;line-height:1.8;max-width:740px}.related-games{border-top:1px solid #e6eae4;padding-top:32px}.related-games h2{font-size:21px;margin:0 0 16px}.related-games>div{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.related-games .catalog-preview{height:58px}.related-games .catalog-card{padding:10px}.related-games .catalog-description{min-height:0}
.match-top{display:flex;align-items:center;gap:10px}.match-top label{font-size:11px;color:#718077;font-weight:700}.match-top select{border:1px solid var(--line);border-radius:9px;padding:8px 9px;font:600 10px Arial,sans-serif;color:#3d5547;background:#fff}.match-top .secondary-action{margin-left:auto}.match-scoreline{display:flex;gap:18px;justify-content:center;padding:14px 0;color:#66776c;font-size:10px;font-weight:700}.color-compare{display:grid;grid-template-columns:1fr 38px 1fr;gap:13px;align-items:center;max-width:520px;margin:0 auto 22px;text-align:center}.swatch-label{font-size:8px;font-weight:800;color:#839087;letter-spacing:1px}.color-swatch{height:140px;border-radius:16px;margin:8px 0;border:1px solid #00000012;box-shadow:inset 0 0 0 1px #ffffff50}.match-divider{color:#9ba79e;font-size:20px}.color-code{font:600 10px monospace;color:#65736a}.match-sliders{display:grid;gap:15px;max-width:540px;margin:0 auto}.match-sliders label{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px;font-size:11px;font-weight:700;color:#58675d}.match-sliders output{color:#738178;font:600 10px monospace}.match-sliders input{grid-column:1/-1;width:100%;accent-color:var(--green);margin:0}.match-actions{display:flex;justify-content:center;gap:9px;margin-top:22px}.match-result{text-align:center;color:#187a60;font-weight:700;font-size:13px;padding:12px}.calibration-note{max-width:850px;margin:0 auto 30px;padding:11px 14px;background:#f0f5ef;border-radius:10px;color:#68756c;font-size:10px;line-height:1.6}.match-result[hidden],#match-next[hidden],#match-share[hidden]{display:none}
.sort-card{max-width:780px}.sort-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.sort-top h2{font-size:19px;margin:0}.sort-score{display:flex;gap:12px;color:#758279;font-size:10px}.sort-board{display:flex;justify-content:center;align-items:end;gap:14px;flex-wrap:wrap;min-height:220px;padding:12px 4px 14px}.sort-bottle{width:55px;height:150px;padding:0;background:transparent;border:0;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:end;gap:7px;touch-action:manipulation}.bottle-shell{width:42px;height:128px;border:3px solid #dce5dc;border-top:0;border-radius:4px 4px 15px 15px;padding:3px 3px 4px;display:flex;align-items:end;overflow:hidden;background:#fbfdfb;transition:transform .2s,border-color .2s;box-shadow:inset 0 2px 6px #31423208}.bottle-inside{height:100%;width:100%;display:flex;flex-direction:column-reverse;gap:1px;overflow:hidden;border-radius:0 0 9px 9px}.liquid{height:25%;width:100%;border-radius:4px 4px 2px 2px;transition:height .22s,transform .22s}.bottle-number{font-size:8px;color:#87938b}.sort-bottle:hover .bottle-shell,.sort-bottle.selected .bottle-shell{transform:translateY(-7px);border-color:#71ad8f}.sort-bottle.selected .bottle-shell{box-shadow:0 8px 18px #478c6720}.sort-bottle.hint-source .bottle-shell{border-color:#327c5d;box-shadow:0 0 0 4px #ddf4e5}.sort-bottle.hint-target .bottle-shell{border-color:#c9952b;box-shadow:0 0 0 4px #fff1d1}.sort-controls,.connect-controls{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:12px}.sort-controls .primary-button,.connect-controls .primary-button{font-size:10px;padding:9px 13px}
.connect-card{max-width:650px}.connect-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.connect-top h2{font-size:18px;margin:0}.connect-top>span{color:#7a887f;font-size:10px}.connect-board{--connect-size:5;display:grid;grid-template-columns:repeat(var(--connect-size),1fr);gap:3px;width:min(100%,430px);aspect-ratio:1;margin:0 auto 12px;background:#eff4ef;border-radius:14px;padding:7px;touch-action:none;user-select:none}.connect-cell{position:relative;min-width:0;min-height:0;border:1px solid #e4ebe4;border-radius:7px;background:#fff;display:grid;place-items:center;padding:0;cursor:pointer;touch-action:none}.connect-cell:focus-visible{outline:3px solid #36694f;outline-offset:-2px;z-index:1}.endpoint{width:62%;height:62%;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 2px #354b3b65;z-index:2}.connect-cell.path-0::after,.connect-cell.path-1::after,.connect-cell.path-2::after,.connect-cell.path-3::after{content:"";position:absolute;inset:20%;border-radius:5px;background:#fb718588}.connect-cell.path-1::after{background:#60a5fa88}.connect-cell.path-2::after{background:#34d39999}.connect-cell.path-3::after{background:#a78bfa99}.connect-cell.hint-cell:not(.path-0):not(.path-1):not(.path-2):not(.path-3){background:#fff2be;border:2px dashed #c39d33}.connect-cell.hint-cell.path-0::after,.connect-cell.hint-cell.path-1::after,.connect-cell.hint-cell.path-2::after,.connect-cell.hint-cell.path-3::after{box-shadow:0 0 0 3px #f2cb5799}
.archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.archive-card{background:white;border:1px solid var(--line);border-radius:14px;padding:14px}.archive-card h3{margin:0 0 6px;font-size:14px}.archive-card p{margin:0 0 10px;color:#77837b;font-size:10px}.archive-card a{color:var(--green);font-size:10px;font-weight:700;text-decoration:none}.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.guide-card{padding:17px;border:1px solid var(--line);border-radius:14px;background:#fff}.guide-card h2{font-size:16px;margin:0 0 8px}.guide-card p{color:#69766d;font-size:11px;line-height:1.6}.guide-card a{color:var(--green);font-size:10px;font-weight:700;text-decoration:none}
@media(max-width:850px){.catalog-grid{grid-template-columns:repeat(2,1fr)}.game-discovery .catalog-card{min-height:230px}.game-discovery .catalog-description{min-height:38px}.game-hero{grid-template-columns:1fr auto}.guide-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.site-header nav{gap:12px}.site-header nav a{font-size:10px}.subpage{padding:14px 17px 60px}.game-hero{grid-template-columns:1fr;padding-bottom:20px}.game-hero h1{font-size:35px}.game-badge-preview,.sort-preview,.connect-preview{display:none}.play-card{padding:18px 14px;border-radius:17px}.color-compare{gap:7px}.color-swatch{height:110px;border-radius:12px}.match-scoreline{gap:10px;flex-wrap:wrap}.match-top{flex-wrap:wrap}.match-top .secondary-action{margin-left:0}.sort-board{gap:8px;min-height:195px}.sort-bottle{width:43px;height:130px}.bottle-shell{width:35px;height:108px}.sort-controls{gap:5px}.sort-controls .secondary-action,.connect-controls .secondary-action{padding:8px 8px;font-size:9px}.connect-board{gap:2px;padding:5px;width:min(100%,385px)}.connect-cell{border-radius:4px}.endpoint{border-width:2px}.related-games>div{grid-template-columns:repeat(2,1fr)}.related-games .catalog-card:last-child:nth-child(odd){display:none}.archive-grid,.guide-grid{grid-template-columns:1fr}.breadcrumbs{font-size:9px}.site-header nav a[href="/"],.site-header nav a[href="/guides/"]{display:none}}
@media(max-width:380px){.brand-light{display:none}.catalog-grid{gap:8px}.catalog-card{padding:10px}.game-actions{gap:4px}}
@media(prefers-reduced-motion:reduce){.catalog-card,.bottle-shell,.liquid{transition:none}}
.endpoint{display:grid;place-items:center;color:#26372e;font-size:clamp(9px,2vw,17px);text-shadow:0 1px #fff8}.connect-cell.path-1::after{background:repeating-linear-gradient(45deg,#60a5fa99 0 4px,#eef5ffcc 4px 7px)}.connect-cell.path-2::after{background:radial-gradient(#236a4d88 1.4px,#34d39988 2px);background-size:6px 6px}.connect-cell.path-3::after{background:repeating-linear-gradient(0deg,#a78bfa99 0 3px,#f4efffcc 3px 6px)}.liquid{display:flex;align-items:center;justify-content:center;color:#fff;font-size:clamp(9px,1.6vw,13px);font-weight:800;text-shadow:0 1px 2px #26352d}

/* Prominent, game-specific discovery cards */
.game-discovery{padding-top:clamp(42px,6vw,78px);padding-bottom:clamp(48px,7vw,86px)}
.game-discovery .section-heading h2{font-size:clamp(30px,3.1vw,38px);letter-spacing:-1.3px;margin:0 0 10px}
.game-discovery .section-heading>p:last-child{font-size:clamp(15px,1.4vw,17px);line-height:1.6}
.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:27px}
.catalog-card{padding:18px 20px 20px;border-radius:23px;box-shadow:0 7px 24px #294d3808;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;min-height:365px}
.catalog-card:hover{transform:translateY(-4px);box-shadow:0 18px 42px #294d3818;border-color:#c7d9c9}
.catalog-card h3{font-size:clamp(21px,2vw,25px);line-height:1.2;letter-spacing:-.55px;margin:0 0 9px;color:#263d30}
.catalog-description{font-size:clamp(14px,1.25vw,16px);line-height:1.6;color:#5d6e63;min-height:52px;margin:0 0 16px;max-width:46ch}
.catalog-meta{font-size:12px;line-height:1.35;color:#65766a;margin:2px 0 9px}
.catalog-badge{top:31px;left:32px;padding:7px 11px;font-size:11px;letter-spacing:.45px;box-shadow:0 3px 12px #182a1c14}
.catalog-link{min-height:46px;border-radius:13px;background:#285d43;color:#fff;padding:0 17px;gap:10px;font-size:15px;transition:background .16s,transform .16s}
.catalog-link:hover{background:#1c4833;text-decoration:none;transform:translateY(-1px)}
.featured-card{grid-column:1/-1;display:grid;grid-template-columns:minmax(260px,.9fr) minmax(0,1.1fr);grid-template-rows:auto auto auto 1fr auto;column-gap:26px;align-content:stretch;min-height:275px;padding:20px 24px 22px}
.featured-card .catalog-preview{grid-column:1;grid-row:1/6;height:100%;min-height:230px;margin:0;border-radius:18px}
.featured-card .catalog-badge{top:34px;left:34px}
.featured-card .catalog-meta,.featured-card h3,.featured-card .catalog-description,.featured-card .catalog-link{grid-column:2}
.featured-card .catalog-meta{align-self:end;margin-top:8px}
.featured-card .catalog-description{min-height:0}
.catalog-preview{height:174px;margin-bottom:17px;border-radius:17px;position:relative;background:linear-gradient(145deg,#f2f6f1,#eaf0e9);overflow:hidden;transition:transform .3s ease}
.catalog-card:hover .catalog-preview{transform:scale(1.012)}
.flood-mini-board{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;width:min(68%,250px);aspect-ratio:1;padding:10px;border-radius:17px;background:#ffffffa8;box-shadow:0 12px 32px #2c4a3614;transform:rotate(-5deg)}
.mini-tile{border-radius:7px;box-shadow:inset 0 -3px 6px #24352c12;transition:transform .3s ease}
.mini-owned{outline:2px solid #fff;outline-offset:-4px}
.tone-coral{background:#f47779}.tone-gold{background:#f3bb59}.tone-mint{background:#70c7a0}.tone-blue{background:#6e9ee7}.tone-violet{background:#a88bd9}.tone-pink{background:#ed91b6}
.catalog-card:hover .mini-tile:nth-child(5n+1){transform:translateY(-2px)}
.match-mini-lab{display:grid;grid-template-columns:1fr 24px 1fr;grid-template-rows:1fr auto;align-items:center;gap:10px;width:min(78%,300px);height:125px;padding:18px;border-radius:20px;background:#ffffffb8;box-shadow:0 12px 30px #354c3c10}
.match-mini-target,.match-mini-guess{height:88px;border-radius:14px;box-shadow:inset 0 0 0 1px #20332610,0 5px 13px #31423212}
.match-mini-target{background:linear-gradient(145deg,#dd6479,#b64f70)}.match-mini-guess{background:linear-gradient(145deg,#e27a82,#c96278)}
.match-mini-arrow{color:#84968a;text-align:center;font-size:18px}.match-mini-caption{grid-column:1/-1;text-align:center;font-size:10px;font-weight:800;letter-spacing:1.1px;color:#6f7d73}
.sort-mini-set{display:flex;align-items:end;gap:23px;height:132px;padding:10px 20px}
.sort-mini-bottle{display:flex;flex-direction:column-reverse;justify-content:flex-start;gap:2px;width:42px;height:118px;padding:5px 4px 7px;border:3px solid #c8d5ca;border-top:0;border-radius:4px 4px 13px 13px;background:#ffffffa8;box-shadow:0 10px 18px #334a3712;overflow:hidden;transform:rotate(-4deg)}
.sort-mini-bottle:nth-child(2){transform:translateY(-12px);border-color:#aabdaf}.sort-mini-bottle:nth-child(3){transform:rotate(5deg)}
.mini-liquid{height:25%;min-height:14px;border-radius:4px 4px 2px 2px;box-shadow:inset 0 2px 4px #fff5}
.connect-mini-grid{display:grid;grid-template-columns:repeat(5,30px);grid-template-rows:repeat(5,30px);gap:4px;padding:15px;border-radius:16px;background:#ffffffb4;box-shadow:0 12px 30px #354c3c10;transform:rotate(-3deg)}
.connect-mini-cell{position:relative;border:1px solid #dfe8df;border-radius:8px;background:white}
.connect-mini-cell.path-a:before,.connect-mini-cell.path-b:before{content:"";position:absolute;inset:25%;border-radius:6px;background:#f47779a8}
.connect-mini-cell.path-b:before{background:#6e9ee7a8}
.connect-mini-cell.mini-endpoint:after{content:"";position:absolute;z-index:1;width:54%;height:54%;left:23%;top:23%;border:2px solid white;border-radius:50%;background:#ed6672;box-shadow:0 0 0 2px #f47779}
.connect-mini-cell.mini-endpoint[data-color="blue"]:after{background:#5b8ede;box-shadow:0 0 0 2px #5b8ede}
.all-games-link{margin-top:25px}.all-games-link a{font-size:14px;font-weight:750}
.sort-level-picker{display:flex;align-items:center;gap:9px}.sort-level-picker label{font-size:13px;font-weight:700;color:#66756a}.sort-level-picker select,.connect-level-picker select{min-height:40px;padding:0 12px;border:1px solid #d8e2d8;border-radius:11px;background:#fff;color:#31473a;font:700 13px inherit}
.connect-top{gap:14px}.connect-level-picker{display:flex;align-items:center;gap:8px}.connect-top h2{font-size:21px}.connect-board{width:min(100%,520px);gap:4px;padding:9px}.connect-cell{border-radius:9px}.connect-board[data-invalid="true"]{animation:connect-invalid .24s ease}
@keyframes connect-invalid{25%{transform:translateX(-3px)}75%{transform:translateX(3px)}}
@media(max-width:850px){.game-discovery .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.game-discovery .catalog-card{min-height:340px}.game-discovery .featured-card{min-height:250px}.game-discovery .catalog-description{min-height:52px}}
@media(max-width:600px){.game-discovery .catalog-grid{grid-template-columns:1fr;gap:14px;margin-top:20px}.game-discovery .catalog-card{min-height:0;padding:14px 14px 16px;border-radius:19px}.game-discovery .catalog-card h3{font-size:22px}.game-discovery .catalog-description{font-size:15px;min-height:0;max-width:52ch;margin-bottom:13px}.game-discovery .catalog-meta{font-size:12px}.game-discovery .catalog-badge{top:27px;left:27px;font-size:11px}.game-discovery .catalog-preview{height:clamp(150px,45vw,190px);margin-bottom:14px}.game-discovery .featured-card{grid-column:auto;display:flex;min-height:0}.game-discovery .featured-card .catalog-preview{height:180px;min-height:0;width:100%;margin-bottom:16px}.game-discovery .featured-card .catalog-meta{align-self:auto}.game-discovery .catalog-link{width:max-content;min-width:145px}.connect-mini-grid{grid-template-columns:repeat(5,clamp(20px,7vw,30px));grid-template-rows:repeat(5,clamp(20px,7vw,30px));gap:3px}.sort-mini-bottle{width:38px;height:110px}.match-mini-lab{height:115px}.connect-top{align-items:flex-start;flex-wrap:wrap}.sort-level-picker{margin-left:auto}.sort-level-picker label{font-size:12px}.sort-level-picker select,.connect-level-picker select{font-size:12px}}
@media(max-width:380px){.game-discovery .catalog-card{padding:12px}.game-discovery .catalog-card h3{font-size:21px}.game-discovery .catalog-description{font-size:14px}.game-discovery .catalog-link{min-height:44px}.flood-mini-board{gap:3px;padding:8px}.match-mini-lab{gap:7px;padding:13px}.sort-mini-set{gap:14px}.connect-mini-grid{padding:10px}}
@media(prefers-reduced-motion:reduce){.catalog-card,.catalog-preview,.mini-tile,.connect-board[data-invalid="true"]{transition:none;animation:none}}
.match-progress{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;max-width:540px;margin:-5px auto 18px;color:#718077;font-size:12px;font-weight:700}.match-progress-track{height:8px;border-radius:99px;background:#edf2ed;overflow:hidden}.match-progress-track span{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#59a77c,#317354);transition:width .35s ease}.color-compare>div:first-child .color-swatch,.color-compare>div:last-child .color-swatch{transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .3s}.compare-revealed .color-swatch{transform:scale(1.035);box-shadow:0 12px 28px #29382d1a,inset 0 0 0 2px #ffffff65}.match-result{max-width:540px;margin:16px auto 0;border-radius:14px;background:#f2f7f2;color:#285d43;font-size:15px;line-height:1.5;padding:14px 16px;animation:result-appear .28s ease both}.match-result[data-rating="try-again"]{color:#6a5c48;background:#f8f4ec}.match-result[data-rating="warm"]{color:#826425;background:#fbf7e9}.match-result[data-rating="high"]{color:#1d704e;background:#eaf6ef}@keyframes result-appear{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.match-progress-track span,.color-compare .color-swatch,.match-result{transition:none;animation:none}}
.sort-level-picker{margin:0 8px}.sort-level-picker select,.connect-level-picker select{font:700 13px Arial,sans-serif;cursor:pointer}.sort-progress{display:grid;grid-template-columns:auto minmax(90px,190px);gap:12px;justify-content:end;align-items:center;margin:-3px 0 7px;color:#738077;font-size:12px;font-weight:700}.sort-progress>div{height:7px;border-radius:99px;background:#edf2ed;overflow:hidden}.sort-progress i{display:block;height:100%;width:3.33%;border-radius:inherit;background:linear-gradient(90deg,#73c99d,#317354);transition:width .3s ease}.sort-board{gap:clamp(8px,1.5vw,16px);min-height:260px;padding:20px 8px}.sort-bottle{width:clamp(45px,6vw,62px);height:clamp(148px,20vw,182px);gap:9px}.bottle-shell{width:clamp(39px,5.2vw,50px);height:clamp(128px,17vw,158px);border-left-width:3px;border-right-width:3px;border-radius:6px 6px 17px 17px;background:linear-gradient(90deg,#fff8,#f9fcfa88 25%,#fff6 50%,#e9f0eb55 78%,#fff8)}.liquid{box-shadow:inset 0 2px 5px #fff5;animation:liquid-arrive .22s ease both}.bottle-complete .bottle-shell{border-color:#7fbe99;box-shadow:0 0 0 3px #dff1e5,0 8px 22px #44876318}.bottle-complete .bottle-number{color:#28744f;font-weight:800}.sort-complete .sort-bottle{animation:bottle-win .3s ease both}.sort-complete .sort-bottle:nth-child(2n){animation-delay:.06s}@keyframes liquid-arrive{from{transform:translateY(-7px);opacity:.6}to{transform:translateY(0);opacity:1}}@keyframes bottle-win{50%{transform:translateY(-6px)}}
.sort-top{gap:12px;flex-wrap:wrap}.sort-score{font-size:13px}.sort-score span{white-space:nowrap}.sort-controls .secondary-action{min-height:43px;padding:10px 13px;font-size:13px}.connect-top>span{font-size:13px}.connect-level-picker label{font-size:13px;font-weight:700;color:#66756a}.connect-controls .secondary-action{min-height:43px;padding:10px 13px;font-size:13px}
@media(max-width:600px){.sort-top{align-items:center}.sort-top>div:first-child{width:100%}.sort-level-picker{margin:0 auto 0 0}.sort-score{margin-left:auto;display:flex;gap:8px;flex-direction:column}.sort-progress{grid-template-columns:1fr;gap:6px;margin-top:6px}.sort-progress>div{width:100%}.sort-board{gap:6px;min-height:215px;padding:14px 0}.sort-bottle{width:clamp(34px,9vw,43px);height:clamp(117px,31vw,139px);gap:6px}.bottle-shell{width:clamp(30px,8vw,36px);height:clamp(98px,26vw,116px);padding-left:2px;padding-right:2px}.bottle-number{font-size:10px}.liquid{font-size:10px}.connect-level-picker{width:100%}.connect-top>span{font-size:12px}}
@media(prefers-reduced-motion:reduce){.sort-progress i,.liquid,.sort-complete .sort-bottle{transition:none;animation:none}}
/* Keep the game directory cards stacked and full-width on phones. */
@media(max-width:600px){
  .directory-games{width:100%;min-width:0}.directory-games .catalog-grid,.related-games>div{grid-template-columns:minmax(0,1fr);gap:14px;width:100%}
  .directory-games .catalog-card,.related-games .catalog-card{grid-column:auto;display:flex;flex-direction:column;width:100%;min-width:0;min-height:0;padding:14px;border-radius:18px}
  .directory-games .catalog-card .catalog-preview,.related-games .catalog-card .catalog-preview{width:100%;height:clamp(150px,45vw,190px);min-height:0;margin:0 0 15px}
  .directory-games .featured-card .catalog-preview,.related-games .featured-card .catalog-preview{grid-column:auto;grid-row:auto}
  .directory-games .featured-card .catalog-meta,.directory-games .featured-card h3,.directory-games .featured-card .catalog-description,.directory-games .featured-card .catalog-link,.related-games .featured-card .catalog-meta,.related-games .featured-card h3,.related-games .featured-card .catalog-description,.related-games .featured-card .catalog-link{grid-column:auto}
  .directory-games .catalog-card h3,.related-games .catalog-card h3{font-size:22px;line-height:1.2;overflow-wrap:anywhere}
  .directory-games .catalog-meta,.related-games .catalog-meta{font-size:12px;line-height:1.45;overflow-wrap:anywhere}
  .directory-games .catalog-description,.related-games .catalog-description{font-size:15px;line-height:1.6;min-height:0;max-width:52ch;overflow-wrap:anywhere}
  .directory-games .catalog-link,.related-games .catalog-link{width:max-content;max-width:100%;min-height:46px}
  .directory-games .catalog-badge,.related-games .catalog-badge{top:26px;left:26px}
}
/* Give Color Sort a roomier play surface and larger, easier-to-tap bottles. */
.sort-card{max-width:980px;background:#fff}
.sort-board{min-height:330px;padding:28px 14px;gap:clamp(16px,2.4vw,28px);background:#fff;border:1px solid #edf1ec;border-radius:18px}
.sort-bottle{width:clamp(76px,8vw,94px);height:clamp(230px,24vw,270px);gap:11px}
.bottle-shell{width:clamp(62px,6.6vw,76px);height:clamp(196px,20vw,232px)}
.bottle-number{font-size:12px}
@media(max-width:600px){.sort-card{padding:18px 12px;background:#fff}.sort-board{gap:clamp(5px,2vw,9px);min-height:252px;padding:19px 4px}.sort-bottle{width:clamp(48px,14vw,64px);height:clamp(183px,52vw,205px);gap:7px}.bottle-shell{width:clamp(42px,12vw,54px);height:clamp(158px,45vw,180px);padding-left:2px;padding-right:2px}.bottle-number{font-size:11px}}
@media(prefers-color-scheme:dark){/* Intentionally leave the puzzle board light for clear color reading. */}
@media(max-width:600px){.sort-bottle{width:clamp(42px,13.2vw,62px)}.bottle-shell{width:clamp(36px,11.5vw,52px)}}
html[data-color-mode="dark"] .sort-card{background:#fff;color:#1f2937;border-color:#e9eee8}
html[data-color-mode="dark"] .sort-card .sort-top h2,html[data-color-mode="dark"] .sort-card .game-kicker{color:#26382d}
html[data-color-mode="dark"] .sort-card .sort-score,html[data-color-mode="dark"] .sort-card .sort-progress,html[data-color-mode="dark"] .sort-card .game-message{color:#506156}
.wheel-screen-preview{display:block;width:100%;height:100%;object-fit:contain}.directory-games .catalog-preview.preview-color-wheel-spinner{height:auto;aspect-ratio:2/1;min-height:0}
.game-guide h3{font-size:17px;letter-spacing:-.3px;margin:20px 0 8px}
