@import url('/assets/game-art.css');
.picture-subjects{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}.picture-subjects a{border:1px solid var(--line);border-radius:8px;padding:9px 13px;color:var(--ink);background:var(--white)}.picture-subjects a:hover{background:var(--green)}.picture-subjects span{color:var(--muted)}.picture-subject{margin-top:32px;scroll-margin-top:20px}.picture-subject>h2{font:700 28px var(--font-display,Georgia,serif);margin:0 0 18px}.picture-subject>.picture-gallery{margin-top:0}.picture-card h3{font-size:13px;margin:13px 15px;color:var(--ink)}.page-feedback{margin-top:32px;padding-top:16px;border-top:1px solid var(--line)}.page-feedback h2{font:700 25px var(--font-display,Georgia,serif)}.page-feedback p{font-size:13px;color:var(--muted)}.feedback-links{display:flex;flex-wrap:wrap;gap:16px 28px;font-size:13px}.feedback-links a,.contact-email,.footer-contact{text-decoration:underline;text-underline-offset:4px}.footer-contact{white-space:nowrap}.contact-email{overflow-wrap:anywhere}.page-editorial>div{min-width:0}@media(max-width:700px){.picture-card h3{margin:10px;font-size:12px}footer{flex-wrap:wrap;gap:12px 20px}.picture-subjects a{font-size:12px}.feedback-links{gap:12px 20px}}
/* Public descriptions survive enhancement; games and rankings have separate regions. */
.collection-discovery{padding:28px;display:flex;flex-direction:column;justify-content:center;gap:12px;font-size:13px}.collection-discovery a,.page-related a{text-decoration:underline;text-underline-offset:4px}.collection-discovery>div{margin-top:10px}.discovery-preview{display:block;width:100%;height:100%;object-fit:cover}.page-editorial{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;margin-top:32px;border-top:1px solid var(--line)}.page-editorial h3{font-size:16px}.page-editorial p{font-size:14px;line-height:1.8}.page-preview{display:block;width:min(100%,480px);height:auto;margin:24px 0;border-radius:12px}.page-related{margin-top:26px}.page-related h2{font:700 25px var(--font-display,Georgia,serif)}.page-related ul{display:flex;flex-wrap:wrap;gap:14px 28px;list-style:none;padding:0}.game-ranking{margin-top:24px}.standalone-link{margin-top:18px}.game-heading>div{max-width:800px}.breadcrumb{flex-wrap:wrap}.breadcrumb a{padding:0}.game-frame:not([src]){display:none}.ranking-panel .loading{padding:12px 0}@media(max-width:700px){.page-editorial{grid-template-columns:1fr;gap:8px}.collection-discovery{padding:0 25px 25px}}
.match3-cover{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;background:#eedfce}
:root{--paper:#f7f8f2;--ink:#213d33;--muted:#737d73;--line:#dde2d7;--green:#d4ed9e;--white:#fff;--purple:#e6e1f2;--danger:#9f3737}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.55 Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,input{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #9580bd;outline-offset:4px}button{color:inherit} .site-header{height:100px;max-width:1280px;padding:0 48px;margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{font-size:29px;font-weight:800;letter-spacing:-1.5px;display:flex;align-items:center;gap:9px}.brand-icon{display:grid;place-items:center;background:var(--ink);color:var(--green);width:34px;height:38px;border-radius:12px;font:700 35px var(--font-display,Georgia,serif)}.brand-dot{margin-left:-9px;color:#8aaa56}nav{display:flex;gap:35px}nav a{font-size:13px;color:var(--muted);padding:9px 0}nav a.active{color:var(--ink);border-bottom:2px solid var(--ink)}.button{background:var(--ink);border:1px solid var(--ink);color:white;border-radius:8px;padding:13px 21px;font-size:13px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:20px}.button:hover{background:#305846}.button.small{padding:10px 17px}.button.secondary{background:transparent;color:var(--ink);border-color:var(--line)}main{max-width:1184px;margin:auto;padding:0 0 60px;min-height:70vh}.hero{padding:66px 0 46px;display:flex;justify-content:space-between;align-items:center;gap:30px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;display:block;color:#6a795e}.hero h1{font:700 62px/1.08 var(--font-display,Georgia,serif);letter-spacing:-2.9px;margin:18px 0}.hero h1 em{font-weight:normal;color:#7c9455}.hero p{color:var(--muted);font-size:15px;max-width:460px}.hero-stamp{width:126px;height:126px;border:1px solid #d7decc;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column;transform:rotate(12deg);margin-right:52px;color:#6d8156;font-size:9px;letter-spacing:2px;gap:5px}.hero-stamp strong{font-size:45px;font-weight:normal;line-height:1.1}.section-heading{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:17px;margin-bottom:24px}.section-heading h2{font-size:14px;margin:0;font-weight:600}.section-heading span{color:var(--muted);font-size:11px}.genre-row{display:grid;grid-template-columns:36% 34% 30%;background:#fff;border:1px solid var(--line);border-radius:15px;overflow:hidden;margin-bottom:22px;min-height:260px}.genre-image{display:block;position:relative;overflow:hidden;min-height:260px}.genre-image:hover .art{transform:scale(1.04)}.art{transition:transform .4s}.genre-copy{padding:33px 30px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.pill{font-size:9px;letter-spacing:1px;background:#eef2e7;border:1px solid #dfe7d4;border-radius:5px;padding:4px 8px;font-weight:600}.puzzle-pill{background:#f2eef8;border-color:#e7e0f0;color:#857099}.genre-copy h2{font:700 34px var(--font-display,Georgia,serif);margin:14px 0 8px;letter-spacing:-1px}.genre-copy p{font-size:13px;line-height:1.75;color:var(--muted);margin:0 0 22px;max-width:230px}.arrow-link{font-size:12px;font-weight:600;display:flex;gap:27px;align-items:center}.arrow-link span{font-size:20px}.mini-leaderboard{margin:31px 0;border-left:1px solid var(--line);padding:0 27px;display:flex;flex-direction:column;justify-content:center}.leader-label{font-size:9px;letter-spacing:1.5px;color:var(--muted);display:flex;justify-content:space-between;margin-bottom:14px}.player-row{display:flex;align-items:center;gap:11px;padding:10px 0;font-size:11px}.player-rank{color:#8a9487;width:13px}.avatar{width:26px;height:26px;flex:none;border-radius:50%;display:grid;place-items:center;background:#eef1e6;font-size:10px;color:#657a53}.player-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.player-score{margin-left:auto;white-space:nowrap;font-variant-numeric:tabular-nums;color:#718064;font-size:10px}.empty{font-size:12px;line-height:1.8;color:var(--muted);padding:8px 0}.bottom-note{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:34px;font-size:11px;color:var(--muted)}.status-dot{width:6px;height:6px;border-radius:50%;background:#89a464;display:inline-block}footer{max-width:1280px;margin:auto;border-top:1px solid var(--line);display:flex;align-items:center;gap:27px;padding:27px 48px;color:var(--muted);font-size:11px}.footer-brand{font-size:21px;color:var(--ink)}.footer-note{margin-left:auto}.spark{color:#859c61;margin-left:8px}.breadcrumb{display:flex;gap:10px;margin-top:32px;color:var(--muted);font-size:11px}.genre-hero{padding:36px 0}.genre-hero h1{font-size:52px}.genre-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:30px}.game-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-content:start}.game-card{background:white;border:1px solid var(--line);border-radius:13px;overflow:hidden}.game-card .genre-image{height:210px;min-height:0}.game-card-body{padding:22px}.game-card h2{font:700 26px var(--font-display,Georgia,serif);margin:0 0 10px}.game-card p{font-size:12px;color:var(--muted);min-height:38px}.game-card .mini-leaderboard{margin:20px 0 0;border-left:0;border-top:1px solid var(--line);padding:18px 0 0}.game-card .button{width:100%;margin-top:10px}.ranking-panel{background:#fff;border:1px solid var(--line);border-radius:13px;padding:25px;align-self:start}.ranking-panel h2{font:700 25px var(--font-display,Georgia,serif);margin:10px 0}.ranking-panel .fine-print{margin-top:20px}.ranking-table{width:100%;border-collapse:collapse;font-size:12px}.ranking-table th{text-align:left;color:var(--muted);font-size:10px;font-weight:normal;padding:12px 8px;border-bottom:1px solid var(--line)}.ranking-table td{padding:14px 8px;border-bottom:1px solid #edf0e8}.ranking-table td:last-child,.ranking-table th:last-child{text-align:right}.ranking-table td:nth-child(2){overflow-wrap:anywhere}.game-heading{display:flex;align-items:center;justify-content:space-between;margin:25px 0}.game-heading h1{font:700 40px var(--font-display,Georgia,serif);margin:8px 0}.game-heading p{font-size:13px;color:var(--muted);margin:0}.game-frame{display:block;width:100%;height:540px;border:1px solid var(--line);border-radius:15px;background:#e3ebd5}.game-bottom{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:30px;margin-top:30px}.instructions{padding:15px 10px}.instructions h2{font:700 25px var(--font-display,Georgia,serif)}.instructions p{font-size:13px;color:var(--muted)}.notice{padding:13px 18px;border:1px solid #e1d9bf;background:#faf5e7;color:#766746;border-radius:8px;font-size:12px;margin-bottom:22px}.loading{padding:80px 0;text-align:center}.fine-print{font-size:11px;line-height:1.7;color:var(--muted)}dialog{border:1px solid var(--line);border-radius:18px;padding:38px;max-width:440px;width:calc(100% - 32px);color:var(--ink);background:var(--paper)}dialog::backdrop{background:#152a2370;backdrop-filter:blur(4px)}dialog h2{font:700 34px/1.1 var(--font-display,Georgia,serif);letter-spacing:-1px;margin:19px 0 14px}dialog p{font-size:13px;color:var(--muted)}.close-button{position:absolute;right:16px;top:10px;background:none;border:0;font-size:25px}label{display:block;font-size:12px;margin:18px 0 8px}input{width:100%;border:1px solid #cdd5c5;border-radius:8px;background:white;padding:13px;color:var(--ink)}form>.button{width:100%;margin-top:22px}.text-button{border:0;background:none;text-decoration:underline;padding:12px 0;font-size:12px}.text-button.danger{color:var(--danger)}.privacy-link{text-decoration:underline;text-underline-offset:3px}#login-status{color:#98502e}#account-actions{margin-top:20px;display:flex;flex-direction:column;gap:10px}[hidden]{display:none!important}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;border-radius:9px;padding:12px 20px;font-size:13px;z-index:10;max-width:90vw}#toast:empty{display:none}.not-found{text-align:center;padding:100px 20px}.not-found h1{font:700 48px var(--font-display,Georgia,serif)}
@media(min-width:1450px){main{max-width:1184px}.site-header,footer{max-width:1280px}}@media(max-width:1280px){main{margin:0 48px}}@media(max-width:950px){.genre-row{grid-template-columns:38% 34% 28%}.genre-copy{padding:22px}.mini-leaderboard{padding:0 18px}.hero h1{font-size:54px}.genre-layout{grid-template-columns:minmax(0,1fr) 260px}.game-grid{grid-template-columns:1fr}.game-bottom{grid-template-columns:minmax(0,1fr) 260px}.hero-stamp{margin-right:0}}@media(max-width:700px){.site-header{height:78px;padding:0 20px}main{margin:0 20px}.brand{font-size:24px}.brand-icon{width:29px;height:32px;font-size:29px}nav{gap:16px}nav a{font-size:11px}.nav-home{display:none}.button.small{padding:8px 11px;font-size:11px}.hero{padding:42px 0 28px}.hero h1{font-size:43px;letter-spacing:-2px}.hero p{font-size:13px}.hero-stamp{display:none}.genre-row{grid-template-columns:1fr}.genre-image{min-height:230px}.genre-copy{padding:25px}.genre-copy h2{font-size:32px}.genre-copy p{max-width:none;margin-bottom:16px}.mini-leaderboard{margin:0 25px 23px;padding:20px 0 0;border-left:0;border-top:1px solid var(--line)}.genre-layout,.game-bottom{grid-template-columns:1fr}.game-grid{grid-template-columns:1fr}.game-frame{height:550px}.game-heading{align-items:flex-start;gap:12px;flex-direction:column}.game-heading h1{font-size:34px}.ranking-panel{padding:22px}.footer-note{display:none}footer{padding:25px 20px;gap:16px}.bottom-note{font-size:10px}.genre-hero h1{font-size:43px}dialog{padding:30px}.game-card .genre-image{height:230px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media(max-width:700px){.site-header{height:auto;min-height:78px;flex-wrap:wrap;gap:12px;padding:16px 20px}.site-header nav{order:3;width:100%;justify-content:center;gap:26px}.site-header nav a{font-size:12px;padding:4px 0}}
.match3-art{background:linear-gradient(#ffeac240,#b496c245),url(/games/logic/match-garden/art/kitten-playroom-v2.png) center/cover}.match3-kittens{width:66%;height:82%;object-fit:contain;filter:drop-shadow(0 5px 3px #72527a70);z-index:1}.match3-art .art-tag{color:#754d3a;font-weight:bold;background:#fff0d4cc;padding:3px 7px;border-radius:4px}

.logic-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.game-card .logic-cover{object-position:center}.genre-image:has(.logic-cover){background:#e1d6ee}

.logic-series-art{position:absolute;inset:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr) minmax(0,1fr);gap:3px;background:#e1d6ee;overflow:hidden}.logic-series-art img{display:block;width:100%;height:100%;min-width:0;min-height:0;object-fit:cover}
.genre-row>.genre-image{height:260px;min-height:0;align-self:start}.game-card .genre-image{height:210px;min-height:0}.logic-cover{display:block;max-width:100%;max-height:100%}
@media(max-width:700px){.genre-row>.genre-image,.game-card .genre-image{height:230px}}

.genre-layout:has(.game-grid):not(:has(aside)){grid-template-columns:1fr}.monster-art{background:radial-gradient(circle at 50% 30%,#9870b6,#462b5b);color:#ffe0a0}.monster-face{display:flex;align-items:center;justify-content:center;gap:35px;width:160px;height:155px;border-radius:45% 45% 38% 38%;background:#a3c565;border:6px solid #739544;box-shadow:inset 0 -16px #7ea74e,0 14px 30px #24133255;transform:rotate(-6deg)}.monster-face i{width:22px;height:28px;background:#22372a;border:6px solid #f2f7de;border-radius:50%;margin-top:-40px}.monster-face span{position:absolute;top:70px;font-size:65px;color:#22372a}.monster-art .art-tag{color:#ffe9b0}.other-art{background:radial-gradient(ellipse at 50% 80%,#bc845b,#332639);color:#ffe8ba;overflow:hidden}.stage-curtain{position:absolute;top:0;bottom:0;width:25%;background:repeating-linear-gradient(90deg,#723948,#a75361 40%,#723948 80%);border-radius:0 0 50% 20%}.stage-curtain.left{left:0}.stage-curtain.right{right:0;transform:scaleX(-1)}.stage-mic{font-size:150px;text-shadow:0 12px 18px #22162888;line-height:1}.other-art .art-tag{color:#ffe8ba}.casual-frame{height:min(760px,80vh);min-height:540px}.casual-frame:fullscreen{width:100vw;height:100vh;border:0}.casual-instructions{margin:24px 0;max-width:850px}
/* Saved games stay compact and close to the top of discovery. */
.continue-playing { margin: 0 0 44px; }
.continue-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.continue-card { display: flex; align-items: center; gap: 16px; padding: 14px; border: 1px solid var(--line, #e2ded4); border-radius: 18px; color: inherit; text-decoration: none; background: var(--white); }
.continue-card:hover { border-color: var(--accent, #758f70); }
.continue-card:focus-visible { outline: 3px solid var(--accent, #758f70); outline-offset: 4px; }
.continue-preview { width: 92px; height: 92px; flex: 0 0 92px; object-fit: cover; border-radius: 12px; }
.continue-card h3 { margin: 0 0 7px; font-size: 18px; }
.continue-detail { margin: 0 0 10px; font-size: 13px; }
.continue-card .arrow-link { font-size: 13px; }
.continue-playing .section-heading span { text-align: right; }
@media (max-width: 1000px) { .continue-cards { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 620px) { .continue-cards { grid-template-columns: 1fr; } .continue-playing .section-heading { gap: 12px; } }

/* Galorum Games refresh: play-first shelves, collection colors and a puzzle-of-the-day hero.
   Light tokens live here; theme.css redefines them for dark mode. */
/* Self-hosted Bricolage Grotesque, variable weight and optical size. Copyright 2022 The Bricolage Grotesque
   Project Authors, SIL Open Font License 1.1 (docs/licenses/bricolage-grotesque-OFL.txt). */
@font-face{font-family:"Bricolage Grotesque";font-style:normal;font-weight:200 800;font-display:swap;src:url(fonts/bricolage-grotesque-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Bricolage Grotesque";font-style:normal;font-weight:200 800;font-display:swap;src:url(fonts/bricolage-grotesque-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
:root{
  --paper:#f6f8f1;--ink:#1f3a2d;--muted:#5a685d;--line:#dde4d6;--white:#fff;
  --leaf:#b9e06b;--leaf-ink:#2e4a17;
  --idle:#d9ebb5;--idle-ink:#3c5a1c;--idle-soft:#eef5e0;
  --puzzle:#e5dbf5;--puzzle-ink:#55407a;--puzzle-soft:#f3eefa;
  --logic:#f8dcc0;--logic-ink:#7a4318;--logic-soft:#fcf0e3;
  --other:#f0d3e1;--other-ink:#702c4c;--other-soft:#f9ebf1;
  --tone:var(--line);--tone-ink:var(--ink);--tone-soft:var(--white);
  --shadow:0 16px 32px -24px rgb(31 58 45 / .6);
  --font-display:"Bricolage Grotesque",ui-rounded,"SF Pro Rounded","Segoe UI Variable Display","Segoe UI",system-ui,-apple-system,Roboto,"Helvetica Neue",Arial,sans-serif;
  --font-body:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
.tone-idle{--tone:var(--idle);--tone-ink:var(--idle-ink);--tone-soft:var(--idle-soft)}
.tone-puzzle{--tone:var(--puzzle);--tone-ink:var(--puzzle-ink);--tone-soft:var(--puzzle-soft)}
.tone-logic{--tone:var(--logic);--tone-ink:var(--logic-ink);--tone-soft:var(--logic-soft)}
.tone-other{--tone:var(--other);--tone-ink:var(--other-ink);--tone-soft:var(--other-soft)}
body{font:16px/1.6 var(--font-body)}
h1,h2,h3{text-wrap:balance}

/* Header and footer */
.site-header{height:auto;min-height:84px;padding-block:14px;gap:20px}
.brand{font:800 25px/1 var(--font-display);letter-spacing:-.03em;gap:10px}
.brand-icon{width:36px;height:36px;border-radius:11px;font:800 24px/1 var(--font-display);background:var(--ink);color:var(--leaf);padding-bottom:3px}
.brand-name,.button{white-space:nowrap}
.brand-sub{font-weight:500;color:var(--muted)}
/* header.site-header outranks the older nav spacing in leaderboards.css, which loads later. */
header.site-header nav{gap:4px;flex-wrap:wrap;padding-bottom:0}
.site-header nav a{font-size:14px;font-weight:600;color:var(--muted);padding:7px 12px;border-radius:999px;display:inline-flex;align-items:center;gap:7px;border-bottom:0}
.site-header nav a:hover{color:var(--ink);background:var(--tone-soft)}
.site-header nav a.active{color:var(--ink);background:var(--tone);border-bottom:0}
.site-header nav a[class*="tone-"]::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--tone-ink)}
.button{border-radius:999px;font-size:15px;font-weight:700;padding:12px 22px;gap:10px}
.button.small{padding:9px 16px;font-size:14px}
.theme-toggle{border-radius:999px}
footer{font-size:13px}
.footer-brand{font:800 20px var(--font-display);letter-spacing:-.02em}

/* Readable sizes across collection, game and help pages */
.eyebrow{font-size:12px;letter-spacing:.14em;color:var(--tone-ink)}
.hero p,.genre-hero p{font-size:17px;max-width:56ch}
.hero h1,.game-heading h1,.picture-heading h1,.leaderboard-heading h1{letter-spacing:-.03em}
.breadcrumb{font-size:13px}
.game-heading p,.instructions p,.page-editorial p{font-size:15px}
.page-editorial h3{font-size:17px}
.fine-print{font-size:13px}
.empty{font-size:14px}
.pill{font-size:11px}
.ranking-table{font-size:14px}
.ranking-table th{font-size:12px}
.feedback-links,.page-feedback p{font-size:15px}
dialog p{font-size:15px}
label{font-size:14px}

/* Home hero with the picture of the day */
.home-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:clamp(28px,5vw,64px);align-items:center;padding:52px 0 44px}
.home-hero h1{font:800 clamp(44px,6.2vw,76px)/1 var(--font-display);letter-spacing:-.04em;margin:16px 0 12px}
.home-slogan{font:650 clamp(22px,2.6vw,30px)/1.25 var(--font-display);color:var(--ink);margin:0 0 18px;letter-spacing:-.01em}
.home-slogan em{font-style:normal;color:var(--puzzle-ink);background:linear-gradient(transparent 60%,var(--puzzle) 60%);padding:0 .08em}
.home-overview{font-size:17px;color:var(--muted);max-width:48ch;margin:0}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.daily-picture{margin:0;background:var(--white);border:1px solid var(--line);border-radius:26px;padding:12px;box-shadow:var(--shadow);display:grid;gap:12px;transform:rotate(1deg)}
.daily-board{border-radius:17px;overflow:hidden;background:var(--tone)}
.daily-preview{display:block;width:100%;height:auto}
.daily-grid{display:grid;grid-template-columns:repeat(var(--cols,4),minmax(0,1fr));grid-auto-rows:1fr;gap:3px;width:100%;transition:gap .3s}
.daily-tile{border:0;padding:0;border-radius:4px;background-color:var(--tone);background-repeat:no-repeat;transition:transform .15s,box-shadow .15s,border-radius .3s}
.daily-tile:hover{transform:scale(.97)}
.daily-tile[aria-pressed="true"]{position:relative;z-index:1;transform:scale(.92);box-shadow:0 0 0 3px var(--white),0 0 0 6px var(--tone-ink)}
.daily-grid.is-solved{gap:0}
.daily-grid.is-solved .daily-tile,.daily-tile:disabled{border-radius:0;transform:none;opacity:1;cursor:default}
.daily-picture figcaption{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 12px;padding:2px 8px 6px}
.daily-label{font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--tone-ink)}
.daily-picture strong{font:700 19px/1.2 var(--font-display)}
.daily-hint{flex-basis:100%;font-size:14px;color:var(--muted)}
.daily-hint a{color:var(--tone-ink);font-weight:700;text-decoration:underline;text-underline-offset:3px}

/* Section headings and saved games */
.section-heading{border-bottom:0;padding:0;margin:44px 0 18px;gap:12px}
.section-heading h2{font:800 clamp(24px,3vw,32px)/1.1 var(--font-display);letter-spacing:-.02em}
.section-heading span{font-size:14px}
.continue-playing{margin:0 0 8px}
.continue-playing .section-heading{margin-top:12px}
.continue-card{border-radius:20px;padding:12px;gap:14px;box-shadow:var(--shadow)}
.continue-card:hover{border-color:var(--ink)}
.continue-preview{width:76px;height:76px;flex-basis:76px;border-radius:14px}
.continue-card h3{font:700 17px/1.2 var(--font-display);margin-bottom:4px}
.continue-detail{font-size:14px;color:var(--muted);margin-bottom:6px}

/* Collection shelves */
main .genre-row.shelf{display:block;min-height:0;overflow:visible;margin:0 0 24px;padding:22px 24px 24px;border:0;border-radius:26px;background:var(--tone-soft)}
.shelf-head{display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:10px 20px;margin-bottom:18px}
.shelf-head h2{font:800 clamp(24px,2.8vw,30px)/1.1 var(--font-display);letter-spacing:-.02em;margin:0}
.shelf-head h2 a:hover{text-decoration:underline;text-decoration-thickness:3px;text-underline-offset:6px;text-decoration-color:var(--tone)}
.shelf-meta{display:block;margin-top:6px;font-size:14px;font-weight:700;color:var(--tone-ink)}
.shelf-link{font-size:14px;font-weight:700;color:var(--tone-ink);background:var(--tone);padding:8px 16px;border-radius:999px;white-space:nowrap}
.shelf-link:hover{background:var(--white)}
.shelf-body{display:grid;gap:18px}
.shelf-body.has-ranking{grid-template-columns:minmax(0,1fr) 250px}
.tile-row{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:18px;align-content:start;min-width:0}
.tone-puzzle .tile-row{grid-template-columns:repeat(5,minmax(0,1fr))}
.shelf-pair .tile-art{aspect-ratio:16/9}
/* Paired shelves share width by game count, so every tile in the row is the same size. */
.shelf-pair{display:flex;flex-wrap:wrap;gap:24px;margin-bottom:24px}
.shelf-pair .tile-row{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
.shelf-pair .genre-row.shelf{margin:0;min-width:0;flex:1 1 0}
.shelf-pair .genre-row.shelf.span-2{flex-grow:2}
.shelf-pair .genre-row.shelf.span-3{flex-grow:3}
.game-tile{display:grid;gap:4px;align-content:start;color:var(--ink);min-width:0}
.tile-art{display:block;aspect-ratio:3/2;border-radius:16px;overflow:hidden;background:var(--tone)}
.tile-art img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s}
.game-tile:hover .tile-art img{transform:scale(1.05)}
.tile-name{font:700 17px/1.25 var(--font-display);margin-top:8px}
.game-tile:hover .tile-name{text-decoration:underline;text-decoration-color:var(--tone-ink);text-underline-offset:3px}
.tile-meta{font-size:13px;color:var(--muted)}
.shelf-ranking{background:var(--white);border-radius:18px;padding:16px 18px;align-self:start;min-width:0}
.shelf-ranking .mini-leaderboard{margin:0;padding:0;border:0}
.leader-label{font-size:12px;font-weight:700;letter-spacing:.1em;color:var(--tone-ink)}
.player-row{font-size:14px;padding:8px 0}
.player-score{font-size:13px}
.player-rank{width:16px}
.avatar{font-size:12px;background:var(--tone);color:var(--tone-ink)}
.player-open{color:var(--muted)}
.player-open .avatar{background:transparent;border:1.5px dashed var(--muted)}

/* Collection pages pick up their collection color */
.genre-layout[class*="tone-"] .genre-image{background:var(--tone)}
.game-card{border-radius:20px}
.game-card h2{font-size:26px;letter-spacing:-.02em}
.game-card p{font-size:14px}
.ranking-panel{border-radius:20px}
main .picture-gallery-heading p,main .picture-heading p{font-size:16px}
main .picture-card{border-radius:18px}
main .picture-card img{background:var(--puzzle)}
main .picture-card h3{font:700 16px/1.3 var(--font-display)}
main .picture-subjects a{border-radius:999px;font-size:14px}
main .picture-subjects a:hover{background:var(--puzzle)}

@media(max-width:1100px){
  .site-header nav a{padding:7px 9px;font-size:13px}
  .site-header nav a[class*="tone-"]::before{display:none}
  .shelf-body.has-ranking{grid-template-columns:1fr}
  .tone-puzzle .tile-row{grid-template-columns:repeat(4,minmax(0,1fr))}
  .tone-puzzle .picture-tile:nth-child(5){display:none}
}
/* Below this width the brand, six links and account actions no longer share one row. */
@media(max-width:1100px) and (min-width:701px){.site-header .nav-home{display:none}}
@media(max-width:940px){
  .site-header{flex-wrap:wrap}
  .site-header nav{order:3;width:100%;justify-content:center}
}
@media(max-width:860px){
  .shelf-pair .genre-row.shelf{flex-basis:100%}
  .home-hero{grid-template-columns:1fr;padding-top:36px}
  .daily-picture{transform:none;max-width:560px}
}
@media(max-width:700px){
  header.site-header nav{justify-content:center;gap:2px 4px}
  .site-header nav a{font-size:13px;padding:5px 9px}
  .brand{font-size:22px}
  .brand-icon{width:30px;height:30px;font-size:20px}
  .home-hero{padding:28px 0 24px}
  .home-overview,.hero p,.genre-hero p{font-size:16px}
  main .genre-row.shelf{padding:18px 16px 20px;border-radius:22px}
  .tile-row,.tone-puzzle .tile-row,.shelf-pair .tile-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .tile-name{font-size:15px}
  .shelf-link{padding:7px 13px}
}
@media(prefers-reduced-motion:reduce){.daily-picture{transform:none}}
