@charset "UTF-8";
:root{color-scheme:light;--paper:#f6f3eb;--ink:#3f493e;--muted:#84867c;--green:#4b6350;--rust:#b96c4b;--line:#e1e0d5;--white:#fffefa;--soft-green:#e8ece2;font-family:"Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic",Meiryo,sans-serif;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);-webkit-tap-highlight-color:transparent}button,a{-webkit-touch-callout:none}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}button:disabled{cursor:default;opacity:.4}button:focus-visible,a:focus-visible{outline:3px solid #9b603f;outline-offset:4px}button{border:0;background:none}a{color:inherit;text-decoration:none}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;display:block}button span[data-icon]{display:inline-flex}p,h1,h2{margin:0}.app-shell{max-width:1144px;margin:auto;padding:0 48px}.topbar{height:106px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px}.brand-symbol{width:47px;height:47px;background:var(--green);color:var(--paper);border-radius:16px;display:grid;place-items:center;transform:rotate(-5deg)}.brand-symbol svg{width:32px;height:32px;stroke-width:1.5;transform:rotate(5deg)}.brand strong{display:block;font-size:23px;letter-spacing:.09em;font-weight:650}.brand small{display:block;font-size:8px;letter-spacing:.23em;color:var(--muted);margin-top:4px}.topbar nav{display:flex;align-items:center;gap:14px}.nav-button{display:flex;align-items:center;gap:9px;min-height:44px;font-size:13px;font-weight:600;padding:0 15px}.icon-button{width:44px;height:44px;display:inline-grid;place-items:center;border-radius:50%}.icon-button:hover,.nav-button:hover{background:#eae9df}.intro{display:flex;align-items:center;justify-content:space-between;padding:40px 6px 32px}.eyebrow{font-size:9px;letter-spacing:.22em;color:#8c8d7f;font-weight:600;margin-bottom:13px}h1{font-family:"Hiragino Mincho ProN","Yu Mincho",serif;font-size:36px;font-weight:500;letter-spacing:.06em}.intro-sub{font-size:12px;letter-spacing:.06em;color:var(--muted);margin-top:11px}.intro-flower{font-size:74px;color:#c7cbb2;line-height:1;padding-right:16px;font-family:serif}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 294px;gap:30px;align-items:start}.game-panel{background:var(--white);border:1px solid #e9e7dd;border-radius:25px;padding:26px 30px 12px;box-shadow:0 6px 28px #49492b04}.game-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.level-info{display:flex;align-items:center;gap:12px}.level-overline{font-size:9px;letter-spacing:.18em;color:var(--muted)}#level-number{font-family:Georgia,serif;font-size:29px;font-weight:400;font-variant-numeric:tabular-nums}.difficulty{font-size:10px;background:var(--soft-green);color:var(--green);padding:5px 9px;border-radius:6px;white-space:nowrap}.game-clock{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums}.game-clock>span[data-icon] svg{width:15px;height:15px}.game-clock .icon-button{margin-right:-10px;margin-left:3px;width:34px;height:34px}.game-clock .icon-button svg{width:16px;height:16px}.board-status{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.hearts{display:flex;gap:5px;color:#be755d}.hearts svg{width:19px;height:19px;fill:currentColor;stroke-width:0}.hearts .spent{color:#e5e4dc}.cat-count{font-size:11px;color:var(--muted);word-spacing:4px}#found{color:var(--ink);font-weight:700;font-size:14px}.board-wrap{position:relative;width:100%;aspect-ratio:1}.board{display:grid;width:100%;height:100%;grid-template-columns:repeat(var(--size,5),1fr);grid-template-rows:repeat(var(--size,5),1fr);border:2px solid #667465;border-radius:11px;overflow:hidden;background:#667465;touch-action:none;user-select:none;-webkit-user-select:none}.cell{border-radius:0;position:relative;min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;padding:0;border:0;border-right:1px solid #5b695c28;border-bottom:1px solid #5b695c28;background:var(--cell-color);color:#516653;isolation:isolate;outline-offset:-4px!important}.cell.edge-right{border-right:2px solid #667465}.cell.edge-bottom{border-bottom:2px solid #667465}.cell.last-col{border-right:0}.cell.last-row{border-bottom:0}.cell:hover{filter:brightness(1.025)}.cell:focus-visible{outline:3px solid #664b30;z-index:2}.cell .mark{font-weight:300;font-size:clamp(19px,3.2vw,31px);line-height:1;opacity:.68}.cell.auto-mark .mark{opacity:.38;font-size:clamp(15px,2.8vw,25px)}.cell img{width:94%;height:96%;object-fit:contain;pointer-events:none;filter:drop-shadow(0 2px 1px #4f311526);position:relative;z-index:1}.cell.cat-pop img{animation:cat-pop .32s ease-out}.cell.wrong{animation:wrong .48s ease-out}.cell.hint-cell{box-shadow:inset 0 0 0 4px #b97731}.board-loading{position:absolute;inset:0;display:grid;place-items:center;background:var(--soft-green);border-radius:11px;color:var(--green);font-size:14px}.board-loading[hidden]{display:none}.touch-guide{display:flex;align-items:center;justify-content:center;gap:7px;font-size:10px;color:var(--muted);padding:17px 0 20px;white-space:nowrap}.guide-x{font-size:21px;font-weight:300;color:#657660;line-height:1}.touch-guide svg{height:15px;width:15px;color:#657660}.guide-divider{height:12px;width:1px;background:var(--line);margin:0 10px}.game-actions{display:grid;grid-template-columns:1fr 1fr 1.1fr;border-top:1px solid #ecebe4;padding-top:17px;gap:12px}.game-actions button{display:flex;flex-direction:column;align-items:center;gap:7px;font-size:11px;border-radius:12px;padding:10px 4px;min-height:68px;position:relative}.game-actions button:hover{background:#f1f2e9}.game-actions button svg{width:23px;height:23px;stroke-width:1.5}.game-actions .hint-button{background:#edf0e7;color:#4b6350}.hint-button small{position:absolute;right:8px;top:6px;font-size:8px;color:#78866c}.live-message{min-height:36px;font-size:10px;text-align:center;color:#868b7b;display:flex;align-items:center;justify-content:center;line-height:1.5;padding-top:5px}.live-message.warning{color:#b55c4f}.sidebar{display:flex;flex-direction:column;gap:19px}.companion-panel{background:#eeeadd;border:1px solid #e8e3d6;border-radius:23px;padding:21px 20px 19px;text-align:center}.section-caption{display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:600;letter-spacing:.04em}.small-sparkle{font-size:24px;font-weight:400;line-height:.7;color:#a99972}.cat-portrait{height:198px;position:relative;margin:4px -6px 3px;display:flex;align-items:center;justify-content:center}.portrait-disc{position:absolute;width:169px;height:169px;background:#e3dccb;border-radius:50%;top:19px}.cat-portrait img{height:193px;width:215px;object-fit:contain;position:relative;z-index:1;filter:drop-shadow(0 9px 8px #5b432914)}.portrait-label{position:absolute;bottom:9px;right:0;font-family:Georgia,serif;font-size:8px;letter-spacing:.12em;writing-mode:vertical-rl;color:#999278}.companion-panel h2{font-size:13px;font-weight:600;letter-spacing:.02em;margin:0 -8px}.coat-name{font-size:10px;color:#8a8476;margin-top:7px}.cat-selector{display:flex;justify-content:center;gap:13px;margin:21px 0 11px}.cat-choice{width:57px;height:57px;background:#f7f5ed;border:1px solid #dedbcd;border-radius:50%;padding:3px;position:relative;transition:background .2s,border-color .2s}.cat-choice img{width:100%;height:100%;object-fit:contain;pointer-events:none}.cat-choice[aria-pressed=true]{border:2px solid #728267;background:#fffdf4;box-shadow:0 0 0 3px #eeeadd,0 0 0 4px #a7af98}.cat-choice[aria-pressed=true]:after{content:'✓';position:absolute;bottom:-3px;right:-2px;border-radius:50%;background:#667d56;color:white;width:17px;height:17px;font-size:10px;display:grid;place-items:center;border:2px solid #eeeadd}.choose-note{font-size:9px;color:#928b7c}.rules-card{padding:22px;background:#f0f1e8;border:1px solid #e3e7da;border-radius:21px}.rules-card .section-caption{color:#677561}.rules-card .section-caption svg{width:19px;height:19px}.rules-card ol{list-style:none;margin:22px 0 15px;padding:0;display:flex;flex-direction:column;gap:19px}.rules-card li{display:flex;gap:14px;align-items:flex-start}.rule-number{font-family:Georgia,serif;font-size:17px;color:#9ca68d;line-height:1.4}.rules-card p{font-size:11px;line-height:1.7;color:#7c8474}.rules-card strong{font-weight:500;display:block;color:#535e4f;font-size:12px}.text-button{font-size:10px;padding:5px 0;color:#77846c;display:flex;justify-content:space-between;width:100%;min-height:32px}.progress-note{display:flex;align-items:center;justify-content:center;gap:9px;font-size:10px;color:#8b8e7e;padding:1px 0}.progress-note svg{width:20px;height:20px;color:#a7ad93}.progress-note strong{font-weight:600;color:#63755b}footer{display:flex;align-items:center;justify-content:center;gap:9px;color:#929485;font-size:9px;padding:26px 0 30px;letter-spacing:.03em}footer svg{width:13px;height:13px}.footer-dot{margin:0 5px}dialog{background:var(--white);color:var(--ink);border:1px solid var(--line);border-radius:25px;padding:34px;max-width:520px;width:calc(100% - 36px);max-height:85dvh;overflow:auto;box-shadow:0 25px 80px #333a3430}dialog::backdrop{background:#303b3455;backdrop-filter:blur(5px)}.modal-close{position:absolute;top:12px;right:12px}.modal-kicker{color:#9c9d8c;font-size:9px;letter-spacing:.2em;margin-bottom:10px}.modal-title{font-family:"Hiragino Mincho ProN","Yu Mincho",serif;font-size:27px;line-height:1.5;font-weight:500;margin:0 20px 15px 0}.modal-copy{font-size:12px;color:#83877b;line-height:1.9;margin-bottom:22px}.primary-button{display:flex;align-items:center;justify-content:center;gap:10px;background:var(--green);color:white;border-radius:13px;min-height:51px;padding:12px 22px;font-size:13px;width:100%}.secondary-button{background:#eceee6;color:var(--green);border-radius:13px;min-height:48px;padding:12px 22px;font-size:12px;width:100%;margin-top:10px}.dialog-cat{height:180px;display:block;margin:0 auto 8px;width:210px;object-fit:contain}.result{text-align:center}.result .modal-title{margin-right:0}.result-stats{display:flex;justify-content:center;gap:38px;margin:24px 0}.result-stats div{display:flex;flex-direction:column;gap:8px;font-size:10px;color:var(--muted)}.result-stats strong{font-size:20px;color:var(--green);font-family:Georgia,serif;font-weight:400}.settings-row{display:flex;justify-content:space-between;align-items:center;padding:19px 0;border-bottom:1px solid var(--line);gap:20px}.settings-row span{font-size:13px}.settings-row small{display:block;font-size:10px;color:var(--muted);margin-top:7px;line-height:1.6}.settings-row input{appearance:none;-webkit-appearance:none;flex-shrink:0;width:44px;height:27px;background:#dcdfd5;border-radius:20px;position:relative;cursor:pointer}.settings-row input:before{content:'';position:absolute;width:21px;height:21px;top:3px;left:3px;background:white;border-radius:50%;transition:transform .18s}.settings-row input:checked{background:#6e835c}.settings-row input:checked:before{transform:translateX(17px)}.settings-note{margin:20px 0 0;font-size:11px;color:var(--muted);line-height:1.9}.levels-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}.level-select{aspect-ratio:1;border-radius:12px;background:#f0f1e9;font-size:16px;font-family:Georgia,serif;position:relative}.level-select.current{background:var(--green);color:white}.level-select.completed:after{content:'✓';font-size:9px;position:absolute;right:6px;bottom:4px}.level-select:disabled{opacity:.35}.levels-section{font-size:11px;color:var(--muted);margin:21px 0 10px}.rules-list{padding-left:22px;font-size:13px;line-height:1.9}.rules-list li{margin-bottom:14px}.rule-note{padding:15px 17px;background:#f0f1e7;border-radius:12px;font-size:11px;color:#738168;line-height:1.9;margin:20px 0}.install-help{border-top:1px solid var(--line);margin-top:20px;padding-top:18px;font-size:11px;color:var(--muted);line-height:1.9}.mini-rules{display:flex;gap:12px;justify-content:center;padding:8px 0 14px}.mini-board{width:86px;height:86px;display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #8b977e;border-radius:5px;overflow:hidden;background:#e2e8ce}.mini-board span{display:grid;place-items:center;border-right:1px solid #8b977e40;border-bottom:1px solid #8b977e40;font-size:17px}.error-message{padding:28px;color:#a85344;text-align:center;font-size:14px}.error-message button{display:block;margin:20px auto;background:var(--green);color:white;border-radius:9px;padding:12px 22px}.confetti{position:fixed;pointer-events:none;width:8px;height:11px;border-radius:3px;z-index:100;top:-20px;animation:confetti 2.4s ease-in forwards}
@keyframes cat-pop{0%{transform:scale(.65);opacity:.6}65%{transform:scale(1.08)}100%{transform:scale(1);opacity:1}}@keyframes wrong{0%,100%{box-shadow:none}20%,65%{box-shadow:inset 0 0 0 4px #cb7667;background:#eebbb0}30%{transform:translateX(-2px)}50%{transform:translateX(2px)}}@keyframes confetti{to{transform:translate(var(--drift),100vh) rotate(500deg);opacity:0}}
@media(min-width:1100px){.game-panel{padding-left:32px;padding-right:32px}.app-shell{max-width:1100px}.intro{padding-top:34px;padding-bottom:28px}}
@media(min-width:701px) and (max-width:950px){.app-shell{padding:0 28px}.game-layout{grid-template-columns:minmax(0,1fr) 246px;gap:22px}.game-panel{padding:24px 21px 10px}.companion-panel{padding:20px 15px 16px}.cat-portrait{height:174px}.cat-portrait img{height:174px;width:190px}.portrait-disc{width:150px;height:150px;top:13px}.rules-card{padding:19px}.topbar{height:91px}.intro{padding:33px 2px 27px}.game-heading{margin-bottom:16px}.game-clock{gap:5px}.level-info{gap:8px}.level-overline{font-size:8px}.difficulty{padding:4px 6px;font-size:9px}.game-actions{gap:6px}.touch-guide{gap:5px;font-size:9px}.guide-divider{margin:0 5px}.cat-selector{gap:10px}.cat-choice{width:54px;height:54px}}
@media(max-width:700px){.app-shell{padding:0 19px}.topbar{height:83px}.brand strong{font-size:21px}.brand-symbol{width:40px;height:40px;border-radius:14px}.brand-symbol svg{width:27px;height:27px}.brand small{font-size:7px}.topbar nav{gap:1px}.nav-button{padding:0 8px;font-size:11px;gap:5px}.nav-button svg{width:18px;height:18px}.icon-button{width:38px;height:42px}.intro{padding:25px 3px 23px}.eyebrow{font-size:7px;margin-bottom:10px;letter-spacing:.15em}h1{font-size:29px}.intro-sub{font-size:11px;margin-top:8px}.intro-flower{font-size:52px;padding-right:4px}.game-layout{grid-template-columns:1fr;gap:19px}.game-panel{padding:20px 19px 10px;border-radius:21px}.game-heading{margin-bottom:15px}.board-status{margin-bottom:12px}.game-actions{padding-top:12px}.game-actions button{min-height:63px}.touch-guide{padding:17px 0;font-size:9px;gap:6px}.guide-divider{margin:0 4px}.cell .mark{font-size:27px}.cell.auto-mark .mark{font-size:22px}.sidebar{display:grid;grid-template-columns:1fr;gap:15px}.companion-panel{text-align:left;position:relative;min-height:202px;padding:19px 17px 16px 47%;border-radius:21px}.companion-panel .section-caption{font-size:10px}.companion-panel .small-sparkle{display:none}.cat-portrait{position:absolute;left:0;top:10px;width:45%;height:183px;margin:0}.cat-portrait img{width:100%;height:175px}.portrait-disc{width:130px;height:130px;top:26px}.portrait-label{display:none}.companion-panel h2{font-size:11px;margin:18px -5px 0 0;line-height:1.6}.coat-name{font-size:9px;margin-top:4px}.cat-selector{justify-content:flex-start;gap:10px;margin:17px 0 10px}.cat-choice{width:42px;height:42px;padding:2px}.choose-note{font-size:8px}.rules-card{padding:22px}.rules-card ol{flex-direction:row;gap:16px;margin-top:21px}.rules-card li{flex:1;display:block}.rules-card .rule-number{font-size:16px;display:block;margin-bottom:7px}.rules-card p,.rules-card strong{font-size:10px}.rules-card .text-button{max-width:150px;margin:auto}.progress-note{grid-column:1 / -1;margin-top:1px}footer{font-size:8px;gap:5px;flex-wrap:wrap;padding:25px 0}.footer-dot{margin:0 2px}dialog{padding:29px 24px}.levels-grid{gap:6px}.modal-title{font-size:24px}}
@media(min-width:701px) and (max-height:850px){.topbar{height:78px}.intro{padding-top:22px;padding-bottom:21px}h1{font-size:29px}.intro-sub{margin-top:7px}.eyebrow{margin-bottom:8px}.game-layout{max-width:840px;margin:auto;grid-template-columns:minmax(0,1fr) 270px;gap:25px}.game-panel{padding:19px 24px 7px}.cat-portrait{height:175px}.cat-portrait img{height:174px}.companion-panel{padding-top:19px;padding-bottom:17px}.rules-card{padding:20px}.rules-card ol{gap:13px;margin-top:18px}.touch-guide{padding:12px 0}.game-actions{padding-top:11px}.game-actions button{min-height:59px;padding:8px 3px}.game-heading{margin-bottom:10px}.sidebar{gap:15px}footer{padding:20px 0}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}.confetti{display:none}}
/* Keep the complete board and its controls reachable in iPad landscape. */
@media(min-width:701px) and (max-height:850px){.topbar{height:64px}.intro{padding:13px 6px 17px}.intro h1{font-size:27px;line-height:1.3}.intro .eyebrow{margin-bottom:7px}.intro-sub{display:none}.intro-flower{font-size:49px}.game-layout{max-width:730px;grid-template-columns:minmax(0,1fr) 256px;gap:24px}.game-panel{padding:16px 23px 5px}.game-heading{margin-bottom:7px}.board-status{margin-bottom:10px}.game-actions{padding-top:8px}.game-actions button{min-height:53px;padding:6px 3px;gap:5px}.live-message{min-height:30px}.touch-guide{padding:11px 0}.companion-panel{padding:17px 17px 15px}.cat-portrait{height:152px}.cat-portrait img{height:152px}.portrait-disc{width:132px;height:132px;top:12px}.cat-selector{margin:17px 0 11px}.rules-card ol{gap:12px}.rules-card{padding:18px}.sidebar{gap:13px}footer{padding:15px 0 19px}}

/* Peach-and-cream theme: friendly rounded type, tactile buttons, small cat stickers. */
:root {
  --paper: #fff8ef;
  --ink: #694b42;
  --muted: #94786d;
  --green: #bd674d;
  --rust: #db765b;
  --line: #f0dfd3;
  --white: #fffefd;
  --soft-green: #fce9df;
  font-family: "Hiragino Maru Gothic ProN", "Hiragino Maru Gothic Pro", "Yu Gothic", "Hiragino Sans", Meiryo, sans-serif;
}
body {
  background-color: var(--paper);
  background-image: radial-gradient(circle, #eecfbc52 .85px, transparent 1px);
  background-size: 20px 20px;
}
.topbar {border-bottom: 2px dashed #efddcf;}
.brand {gap: 13px;}
.brand-symbol {background: #ef977b; border: 3px solid #fff; box-shadow: 0 3px 0 #e2b399; border-radius: 17px;}
.brand strong {font-size: 27px; font-weight: 800; letter-spacing: .05em; color: #835342;}
.brand small {font-size: 10px; letter-spacing: .06em; color: #aa7b65; font-weight: 600;}
.topbar nav {gap: 10px;}
.topbar .icon-button, .nav-button {background: #fffdf9; border: 1px solid #efddcf; box-shadow: 0 3px 0 #eddfd2; color: #946851;}
.nav-button {border-radius: 16px; font-weight: 700;}
.topbar .icon-button:hover, .nav-button:hover {background: #fff0e2;}
.intro {padding: 29px 6px 28px;}
.eyebrow {display: inline-flex; align-items: center; gap: 6px; background: #ffead8; color: #a16c46; padding: 6px 12px; border-radius: 20px; font-size: 11px; letter-spacing: .04em; margin-bottom: 14px;}
.eyebrow svg {width: 14px; height: 14px; stroke-width: 1.8;}
h1 {font-family: inherit; font-weight: 800; font-size: 35px; letter-spacing: .01em; line-height: 1.5;}
h1>span {color: #d6785b; white-space: nowrap; position: relative; display: inline-block;}
h1>span:after {content: ''; position: absolute; height: 8px; background: #ffd6ab; left: 2px; right: 9px; bottom: 2px; border-radius: 60%; z-index: -1; transform: rotate(-2deg);}
.intro-sub {font-size: 12px; letter-spacing: .02em; margin-top: 8px;}
.intro-sticker {width: 94px; height: 90px; flex-shrink: 0; margin-right: 18px; background: #ffe0de; border: 4px solid white; border-radius: 40% 44% 38% 48%; box-shadow: 0 4px 0 #f1c9c2; display: flex; align-items: center; justify-content: center; flex-direction: column; transform: rotate(10deg); position: relative; color: #c97c78;}
.sticker-paw svg {width: 35px; height: 35px; fill: #d78887; stroke: #d78887; stroke-width: .7;}
.sticker-caption {font-size: 11px; font-weight: 700; margin-top: 3px;}
.sticker-star {position: absolute; font-size: 26px; color: #e2ae54;}
.star-one {left: -26px; top: -8px; transform: rotate(-10deg);}
.star-two {right: -25px; bottom: -7px; color: #ada0c9; font-size: 34px;}
.game-panel {border: 3px solid #fff; outline: 1px solid #f0e4d9; border-radius: 29px; box-shadow: 0 7px 0 #f1dfd0, 0 12px 25px #ad816c0b;}
.level-overline {font-size: 10px; font-weight: 700; letter-spacing: .03em; color: #a77860;}
#level-number {font-family: inherit; font-size: 28px; font-weight: 800; color: #885841;}
.difficulty {background: #e5f2d9; color: #668052; border-radius: 20px; font-weight: 700; padding: 5px 10px;}
.game-clock {font-size: 12px; color: #a18c7e;}
.game-clock .icon-button {background: #faf1e7; color: #b08465;}
.hearts {gap: 7px; color: #ea8d9d; filter: drop-shadow(0 2px 0 #fbd7dd);}
.hearts svg {width: 20px; height: 20px;}
.hearts .spent {color: #e8dfd9;}
.cat-count {background: #fff3e2; padding: 4px 10px; border-radius: 20px; color: #ac8b65; font-size: 11px;}
#found {color: #a7723d;}
.board {border-color: #a88d80; border-radius: 16px; box-shadow: 0 4px 0 #f0ddce; background: #a88d80;}
.cell {color: #6d697a; border-right-color: #997d7940; border-bottom-color: #997d7940;}
.cell.edge-right {border-right-color: #a88d80;}
.cell.edge-bottom {border-bottom-color: #a88d80;}
.cell .mark {font-weight: 500; opacity: .75;}
.cell.auto-mark .mark {opacity: .4;}
.cell:focus-visible {outline-color: #9b593e;}
.cell.hint-cell {box-shadow: inset 0 0 0 4px #db9271;}
.touch-guide {color: #967d6b; font-size: 11px;}
.guide-x, .touch-guide svg {color: #b28366;}
.game-actions {gap: 12px; border-top: 2px dashed #f0e6da; padding-top: 16px;}
.game-actions button {background: #f1eafb; color: #8c6dad; border: 1px solid #e9dcf5; box-shadow: 0 4px 0 #ddcdeb; border-radius: 19px; font-weight: 700; font-size: 12px; min-height: 69px; transition: transform .15s, box-shadow .15s;}
.game-actions button:nth-child(2) {background: #e7f3f0; color: #659487; border-color: #d9ede6; box-shadow: 0 4px 0 #c8e3d9;}
.game-actions .hint-button {background: #ffe3a3; color: #936522; border-color: #f5d998; box-shadow: 0 4px 0 #ebc77c;}
.game-actions button:hover {filter: brightness(1.025);}
.game-actions button:active:not(:disabled) {transform: translateY(3px); box-shadow: 0 1px 0 #dccbbc;}
.game-actions button svg {stroke-width: 1.8;}
.game-actions button:disabled {opacity: .48;}
.hint-button small {font-size: 8px; color: #ab7b35; top: 7px; right: 7px;}
.live-message {font-size: 11px; min-height: 40px; padding-top: 12px; color: #a08a7b;}
.live-message.warning {color: #b65e55;}
.companion-panel {background: #ffede3; border: 3px solid #fff; outline: 1px solid #f3dbcf; border-radius: 29px; box-shadow: 0 5px 0 #f1d7c8; padding-top: 21px; position: relative;}
.section-caption {font-size: 12px; font-weight: 700; color: #a66d54;}
.section-caption>span:first-child {display: inline-flex; align-items: center; gap: 5px;}
.section-caption>span:first-child svg {width: 15px; height: 15px; fill: #ec9aa2; stroke: #ec9aa2; stroke-width: 1;}
.small-sparkle {color: #dbaa58;}
.cat-portrait {height: 207px; margin-top: 8px;}
.portrait-disc {background: radial-gradient(circle at 42% 38%, #fffdf4, #ffdea8); border: 2px dashed #ecc39d; outline: 6px solid #ffffff55; width: 173px; height: 173px; top: 25px;}
.cat-portrait img {height: 193px; margin-top: 14px; filter: drop-shadow(0 7px 6px #9862291a);}
.portrait-label {writing-mode: horizontal-tb; font-family: inherit; font-size: 10px; letter-spacing: 0; font-weight: 700; color: #a9816f; top: 4px; bottom: auto; right: -3px; background: white; padding: 8px 10px; border-radius: 15px 15px 15px 3px; transform: rotate(7deg); z-index: 2; box-shadow: 0 2px 0 #f3d8c5;}
.companion-panel h2 {font-size: 13px; font-weight: 700; color: #8e5946; line-height: 1.65;}
.coat-name {font-size: 11px; color: #a9816b; margin-top: 4px;}
.cat-selector {gap: 12px; margin-top: 18px; margin-bottom: 14px;}
.cat-choice {background: #fffaf5; width: 59px; height: 59px; border: 2px solid #fff; border-radius: 19px; box-shadow: 0 3px 0 #efd3c2; transition: transform .15s;}
.cat-choice:nth-child(2) {background: #f1eafa; transform: rotate(3deg);}
.cat-choice:nth-child(3) {background: #eaf4ee; transform: rotate(-3deg);}
.cat-choice[aria-pressed=true] {background: #fff4cc; border: 2px solid #db9b65; box-shadow: 0 4px 0 #e4b17f; transform: translateY(-3px) rotate(-3deg);}
.cat-choice[aria-pressed=true]:after {background: #d78b64; border-color: #fff7ed; right: -5px; bottom: -5px; width: 20px; height: 20px; font-size: 11px;}
.choose-note {font-size: 10px; color: #a58372;}
.rules-card {background: #edf5e9; border: 3px solid white; outline: 1px solid #e1ead9; border-radius: 25px; box-shadow: 0 4px 0 #dfe9d5; padding: 20px;}
.rules-card .section-caption {color: #739466;}
.rules-card ol {margin-top: 20px; gap: 15px;}
.rules-card li {gap: 11px;}
.rule-number {font-family: inherit; font-size: 13px; font-weight: 800; color: #8ca374; background: #fffef5; border-radius: 10px; width: 28px; height: 28px; flex: 0 0 28px; display: grid; place-items: center; box-shadow: 0 2px 0 #dce7d0; transform: rotate(-5deg);}
.rules-card li:nth-child(2) .rule-number {background: #fff3d7; color: #ba9961; transform: rotate(5deg);}
.rules-card li:nth-child(3) .rule-number {background: #f6e6ee; color: #b88caa;}
.rules-card p {font-size: 11px; color: #87917d; line-height: 1.7;}
.rules-card strong {color: #687e5c; font-size: 12px; font-weight: 700;}
.text-button {font-size: 11px; color: #7e9471; font-weight: 700; margin-top: 2px;}
.progress-note {font-size: 11px; color: #af9078; padding-top: 3px;}
.progress-note svg {color: #dbb966;}
.progress-note strong {color: #b7864e;}
footer {font-size: 10px; color: #b39a86;}
footer svg {color: #c49a7e;}
dialog {border: 4px solid white; outline: 1px solid #efdfd2; background: #fffaf3; border-radius: 30px; box-shadow: 0 9px 0 #ead5c8, 0 25px 80px #80675033;}
dialog::backdrop {background: #886c6152;}
.modal-title {font-family: inherit; font-weight: 800; color: #96634d; font-size: 26px;}
.modal-kicker {font-size: 10px; letter-spacing: .05em; color: #c68a62; font-weight: 700;}
.modal-copy {font-size: 13px; color: #a18776;}
.modal-close {background: #ffeadc; color: #b58369;}
.primary-button {background: #eb9879; color: #fff; border: 2px solid #fff; box-shadow: 0 4px 0 #ce805f; border-radius: 18px; font-weight: 700;}
.primary-button:hover {background: #e88d6c;}
.secondary-button {background: #f5e9e3; color: #b28069; border-radius: 18px; font-weight: 600;}
.result-stats strong {color: #c17d58; font-family: inherit; font-weight: 700;}
.result .dialog-cat {background: radial-gradient(ellipse, #ffebc5 0%, #ffebc5 47%, transparent 70%);}
.settings-row input:checked {background: #e9a17f;}
.level-select {font-family: inherit; font-weight: 700; color: #af8b70; background: #f8eadb; border: 2px solid #fff; box-shadow: 0 3px 0 #ecd8c7; border-radius: 15px;}
.level-select.current {background: #eba184; box-shadow: 0 3px 0 #d48367;}
.level-select.completed:not(.current) {background: #e7f0d9; color: #789463; box-shadow: 0 3px 0 #d5e2c4;}
.levels-section {font-weight: 700; color: #b08765;}
.rule-note {background: #fff0d4; color: #aa8556; border-radius: 18px;}
@media(min-width:701px) and (max-width:950px) {
  .brand strong {font-size: 25px;}
  h1 {font-size: 31px;}
  .intro {padding: 25px 4px 26px;}
  .intro-sticker {width: 80px; height: 80px; margin-right: 18px;}
  .cat-portrait {height: 179px;}
  .cat-portrait img {height: 165px; width: 190px; margin-top: 12px;}
  .portrait-disc {width: 150px; height: 150px; top: 23px;}
  .portrait-label {font-size: 9px; padding: 7px 8px; top: 0; right: -4px;}
  .section-caption {font-size: 11px;}
  .cat-choice {width: 52px; height: 52px; border-radius: 17px;}
  .cat-selector {gap: 10px;}
  .touch-guide {font-size: 10px; gap: 5px;}
  .game-actions {gap: 9px;}
  .game-actions button {font-size: 11px;}
}
@media(max-width:700px) {
  .app-shell {padding: 0 16px;}
  .brand strong {font-size: 24px;}
  .brand small {font-size: 8px;}
  .brand {gap: 10px;}
  .topbar nav {gap: 6px;}
  .topbar .icon-button {width: 34px; height: 37px;}
  .nav-button {font-size: 10px; min-height: 37px; padding: 0 8px; border-radius: 13px;}
  .nav-button svg {width: 16px; height: 16px;}
  .intro {padding: 24px 2px 25px; position: relative;}
  .eyebrow {font-size: 9px; padding: 5px 9px; margin-bottom: 13px;}
  .eyebrow svg {width: 12px; height: 12px;}
  h1 {font-size: 25px; letter-spacing: -.03em;}
  .intro-sub {font-size: 10px; line-height: 1.8; margin-top: 10px;}
  .intro-sticker {position: absolute; width: 48px; height: 44px; top: 17px; right: 4px; margin: 0; border-width: 3px;}
  .sticker-paw svg {width: 22px; height: 22px;}
  .sticker-caption {display: none;}
  .sticker-star {font-size: 18px;}
  .star-one {left: -20px; top: -2px;}
  .star-two {right: -13px; bottom: -6px; font-size: 19px;}
  .game-panel {border-radius: 25px; padding-left: 16px; padding-right: 16px;}
  .game-actions {gap: 9px; padding-top: 13px;}
  .game-actions button {min-height: 65px; font-size: 11px; border-radius: 16px;}
  .live-message {font-size: 10px; min-height: 40px;}
  .touch-guide {font-size: 9px;}
  .companion-panel {border-radius: 25px; padding: 18px 14px 18px 47%; min-height: 214px;}
  .companion-panel .section-caption {font-size: 10px; white-space: nowrap;}
  .section-caption>span:first-child svg {width: 12px; height: 12px;}
  .companion-panel .cat-portrait {height: 179px; top: 17px;}
  .cat-portrait img {height: 168px; margin-top: 13px;}
  .portrait-disc {width: 129px; height: 129px; top: 29px;}
  .companion-panel h2 {font-size: 11px; margin-top: 17px;}
  .coat-name {font-size: 10px;}
  .cat-selector {gap: 10px; margin-top: 17px; margin-bottom: 13px;}
  .cat-choice {width: 42px; height: 44px; border-radius: 14px;}
  .choose-note {font-size: 9px;}
  .rules-card ol {gap: 13px;}
  .rules-card .rule-number {display: grid; font-size: 13px; margin-bottom: 10px;}
  .rules-card p, .rules-card strong {font-size: 10px;}
  footer {font-size: 8px;}
  .modal-title {font-size: 23px;}
}
@media(min-width:701px) and (max-height:850px) {
  .topbar {height: 64px;}
  .brand strong {font-size: 24px;}
  .brand small {font-size: 8px;}
  .intro {padding: 10px 6px 14px;}
  .intro .eyebrow {font-size: 9px; padding: 3px 9px; margin-bottom: 7px;}
  .intro h1 {font-size: 27px; line-height: 1.3;}
  .intro-sticker {height: 62px; width: 65px; margin-right: 15px;}
  .sticker-paw svg {width: 25px; height: 25px;}
  .sticker-caption {font-size: 8px;}
  .game-panel {padding-top: 13px; padding-bottom: 4px;}
  .board-status {margin-bottom: 8px;}
  .game-actions {padding-top: 8px; gap: 10px;}
  .game-actions button {min-height: 55px; font-size: 11px; border-radius: 16px; padding-top: 6px;}
  .live-message {min-height: 34px; font-size: 10px; padding-top: 10px;}
  .touch-guide {padding: 10px 0; font-size: 10px;}
  .companion-panel {padding-top: 16px; padding-bottom: 15px;}
  .cat-portrait {height: 150px; margin-top: 6px;}
  .cat-portrait img {height: 146px; margin-top: 13px;}
  .portrait-disc {width: 130px; height: 130px; top: 19px;}
  .portrait-label {font-size: 8px; top: 0; padding: 6px 8px;}
  .cat-selector {margin: 14px 0 13px; gap: 12px;}
  .cat-choice {width: 52px; height: 52px; border-radius: 17px;}
  .rules-card {padding: 16px 18px;}
  .rules-card ol {gap: 12px; margin: 16px 0 10px;}
  .rules-card p {font-size: 10px;}
  .rules-card strong {font-size: 11px;}
  .rule-number {width: 25px; height: 25px; flex-basis: 25px;}
  .progress-note {font-size: 10px;}
  footer {font-size: 9px;}
}

/* Records, collectible pictures, and three selectable color themes. */
:root {--accent:#bd6349;--accent-soft:#ffeadf;--accent-line:#e8c8b5;--accent-shadow:#eed3c2;--page-dot:#eedbd080;}
body {background-color:var(--paper);background-image:radial-gradient(var(--page-dot) 1.3px,transparent 1.3px);background-size:22px 22px;}
.preview-banner {background:#645d75;color:white;text-align:center;font-size:11px;padding:7px 12px;line-height:1.5;}
.album-teaser {display:flex;align-items:center;gap:12px;text-align:left;border:3px solid #fff;border-radius:22px;padding:15px 12px;background:var(--accent-soft);box-shadow:0 4px 0 var(--accent-shadow);color:var(--accent);width:100%;}
.album-teaser>span:nth-child(2){flex:1;min-width:0;}
.album-teaser strong{display:block;font-size:12px;line-height:1.8;}
.album-teaser b{font-size:10px;background:#fff;padding:3px 7px;border-radius:12px;white-space:nowrap;}
.album-teaser small{display:block;font-size:10px;line-height:1.7;}
.album-teaser-icon{background:#fff;border-radius:50%;padding:10px;}
.album-teaser-icon svg{width:20px;height:20px;}
.album-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0;}
.album-card{padding:8px 8px 15px;background:white;border:1px solid var(--accent-line);border-radius:16px;box-shadow:0 4px 0 var(--accent-shadow);text-align:center;min-width:0;}
.album-card img,.album-mystery{display:block;aspect-ratio:1;width:100%;object-fit:cover;border-radius:10px;}
.album-card strong{display:block;font-size:13px;margin:4px 0;color:var(--ink);}
.album-card small{font-size:11px;color:var(--muted);}
.album-number{display:block;font-size:9px;letter-spacing:.08em;color:var(--accent);margin-top:10px;}
.album-mystery{background:var(--accent-soft);display:grid;place-content:center;position:relative;color:var(--accent);opacity:.65;}
.album-mystery svg{width:45px;height:45px;opacity:.4;}
.album-mystery b{position:absolute;inset:0;display:grid;place-items:center;font-size:28px;}
.album-total{display:inline-block;font-size:14px;color:var(--accent);background:var(--accent-soft);border-radius:20px;padding:6px 12px;vertical-align:middle;}
.album-cheer,.history-cheer{font-size:13px;text-align:center;line-height:1.8;color:var(--accent);background:var(--accent-soft);padding:12px;border-radius:15px;}
.card-detail{text-align:center;}
.full-card{display:block;width:100%;max-height:55vh;object-fit:contain;border-radius:20px;margin:20px auto;}
.reward-reveal{max-width:230px;margin:0 auto 20px;padding:10px;background:white;border:2px solid var(--accent-line);border-radius:19px;transform:rotate(-2deg);box-shadow:0 5px 0 var(--accent-shadow);}
.reward-reveal>span{font-size:12px;font-weight:700;display:block;margin:4px 0 10px;color:var(--accent);}
.reward-reveal img{width:100%;display:block;border-radius:12px;}
.reward-reveal strong{display:block;font-size:12px;margin-top:10px;}
.history-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:22px 0 18px;text-align:center;}
.history-stats>div{background:var(--accent-soft);border-radius:15px;padding:14px 4px;}
.history-stats strong{display:block;font-size:25px;color:var(--accent);}
.history-stats strong small{font-size:11px;}
.history-stats span{font-size:10px;color:var(--muted);}
.journey-track{height:9px;border-radius:10px;background:var(--accent-soft);overflow:hidden;margin-bottom:12px;}
.journey-track span{display:block;height:100%;background:var(--accent);border-radius:inherit;}
.history-list{display:grid;gap:10px;margin:22px 0;}
.history-entry{display:flex;align-items:center;gap:13px;padding:15px 12px;border:1px solid var(--accent-line);background:#fff;border-radius:17px;}
.history-stage{background:var(--accent-soft);color:var(--accent);border-radius:14px;padding:13px 10px;font-size:18px;font-weight:700;}
.history-detail{flex:1;min-width:0;}
.history-detail h3{font-size:12px;margin:0 0 6px;}
.history-detail h3 span{font-size:10px;color:var(--accent);}
.history-detail p{font-size:10px;color:var(--muted);line-height:1.8;}
.history-check{color:#679066;font-size:21px;}
.record-tags{display:flex;gap:6px;margin-top:5px;}
.record-tags span{font-size:9px;padding:3px 7px;background:#eaf3df;border-radius:8px;color:#5c8051;}
.history-footnote{font-size:10px;color:var(--muted);text-align:center;line-height:1.9;margin:16px 0;}
.history-empty{text-align:center;padding:24px;font-size:12px;line-height:1.9;color:var(--muted);}
.history-empty svg{width:38px;height:38px;margin:0 auto 15px;color:var(--accent);}
.progress-note{border-radius:14px;min-height:40px;}
.progress-note:hover{background:var(--accent-soft);}
.theme-picker{display:flex;gap:8px;margin-top:20px;}
.theme-picker button{flex:1;border:2px solid #e4dcd5;background:white;border-radius:13px;font-size:11px;min-height:46px;padding:8px 5px;}
.theme-picker button[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft);color:var(--accent);font-weight:700;}
:root[data-theme=soda]{--paper:#eef9f8;--ink:#385e68;--muted:#6e858a;--accent:#357d90;--accent-soft:#dff2f1;--accent-line:#bedfe0;--accent-shadow:#c7e7e5;--page-dot:#b3dcd780;}
:root[data-theme=lavender]{--paper:#f7f2ff;--ink:#665477;--muted:#8b7b97;--accent:#8a65ad;--accent-soft:#eee4fc;--accent-line:#d8c5e8;--accent-shadow:#dfceee;--page-dot:#d0bae080;}
[data-theme=soda] .companion-panel{background:#e0f4f3;outline-color:#c5e7e4;box-shadow:0 5px 0 #c7e7e5;}
[data-theme=lavender] .companion-panel{background:#f0e7ff;outline-color:#decef0;box-shadow:0 5px 0 #dfceee;}
[data-theme=soda] .rules-card{background:#e9f2ff;border-color:#d1e2ec;}
[data-theme=lavender] .rules-card{background:#fcebf3;border-color:#ecd7e6;}
[data-theme=soda] .intro-sticker{background:#d2eef6;box-shadow:0 4px 0 #b3d9e5;color:#538e9e;}
[data-theme=lavender] .intro-sticker{background:#f3dcee;box-shadow:0 4px 0 #dfbdd7;color:#a66e9c;}
[data-theme=soda] .portrait-disc{background:radial-gradient(circle at 40% 35%,#fff,#c9e8f6);border-color:#a9d3df;}
[data-theme=lavender] .portrait-disc{background:radial-gradient(circle at 40% 35%,#fff,#e1d1f7);border-color:#ceb7e3;}
[data-theme=soda] .brand-symbol{background:#75b8b6;box-shadow:0 3px 0 #afd9d4;}
[data-theme=lavender] .brand-symbol{background:#b598d6;box-shadow:0 3px 0 #d6bfe8;}
[data-theme=soda] .brand strong,[data-theme=lavender] .brand strong,
[data-theme=soda] .brand small,[data-theme=lavender] .brand small,
[data-theme=soda] h1>span,[data-theme=lavender] h1>span,
[data-theme=soda] .section-caption,[data-theme=lavender] .section-caption,
[data-theme=soda] .companion-panel h2,[data-theme=lavender] .companion-panel h2,
[data-theme=soda] #level-number,[data-theme=lavender] #level-number{color:var(--accent);}
[data-theme=soda] .eyebrow,[data-theme=lavender] .eyebrow,
[data-theme=soda] .topbar .icon-button,[data-theme=lavender] .topbar .icon-button,
[data-theme=soda] .nav-button,[data-theme=lavender] .nav-button{background:var(--accent-soft);color:var(--accent);border-color:var(--accent-line);box-shadow:0 3px 0 var(--accent-shadow);}
[data-theme=soda] .game-panel,[data-theme=lavender] .game-panel{outline-color:var(--accent-line);box-shadow:0 7px 0 var(--accent-shadow);}
[data-theme=soda] .topbar,[data-theme=lavender] .topbar{border-color:var(--accent-line);}
[data-theme=soda] .primary-button,[data-theme=lavender] .primary-button{background:var(--accent);box-shadow:0 4px 0 var(--accent-shadow);}
@media(max-width:950px){.topbar nav{gap:7px;}.nav-button{padding:0 10px;gap:5px;font-size:11px;}.album-teaser{padding:12px 9px;gap:8px;}.album-teaser-icon{padding:8px;}}
@media(max-width:700px){.topbar{height:auto;min-height:90px;gap:12px;flex-wrap:wrap;padding:14px 0;}.topbar nav{margin-left:auto;}.album-grid{gap:8px;}.album-card{padding:6px 6px 11px;border-radius:13px;}.album-card strong{font-size:11px;}.album-card small{font-size:9px;}.album-total{font-size:12px;}.album-teaser{padding:15px;}.album-teaser strong{font-size:14px;}.album-teaser small{font-size:11px;}}
/* A puzzle-first screen: manual marks, two controls, no partner panel. */
.game-layout{margin-top:30px;grid-template-columns:minmax(0,1fr) 250px;}
.game-actions{grid-template-columns:1fr 1fr;}
.cell .mark{font-size:clamp(28px,5.5vw,48px);font-weight:600;opacity:.88;color:#625349;}
.board[style*="--size: 8"] .mark,.board[style*="--size: 9"] .mark{font-size:clamp(24px,4.7vw,39px);}
.difficulty{background:var(--accent-soft);color:var(--accent);font-size:12px;font-variant-numeric:tabular-nums;}
@media(max-width:700px){.game-layout{grid-template-columns:1fr;margin-top:23px;}.cell .mark{font-size:clamp(25px,9vw,38px);}.board[style*="--size: 8"] .mark,.board[style*="--size: 9"] .mark{font-size:25px;}}
@media(min-width:701px) and (max-height:850px){.app-shell{max-width:970px;}.game-layout{margin-top:20px;grid-template-columns:minmax(0,1fr) 250px;}.game-panel{padding-left:23px;padding-right:23px;}}
[data-theme=soda] dialog{background:#f8fdfd;box-shadow:0 10px 0 #cde4e3,0 25px 80px #2f65552b;}
[data-theme=soda] .modal-title,[data-theme=soda] .result-stats strong{color:var(--ink);}
[data-theme=soda] .modal-kicker,[data-theme=soda] .modal-copy{color:var(--muted);}
[data-theme=soda] .modal-close{background:var(--accent-soft);color:var(--accent);}
.cell .mark{font-size:clamp(30px,7vw,62px);}
@media(max-width:700px){.cell .mark{font-size:clamp(30px,10vw,42px);}}

/* The full album stays paged and only loads the pictures being viewed. */
dialog[data-view=album]{width:min(760px,calc(100vw - 32px));max-width:760px;}
dialog[data-view=album] .album-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;}
.album-card img{height:auto;}
.album-filters{display:flex;gap:9px;margin:18px 0;}
.album-filters button{flex:1;min-height:52px;background:white;border:2px solid var(--accent-line);border-radius:16px;font-size:13px;font-weight:700;}
.album-filters button small{display:block;font-size:10px;font-weight:400;margin-top:3px;color:var(--muted);}
.album-filters button[aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent);color:var(--accent);}
.album-pagination,.card-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;margin:20px 0;color:var(--accent);}
.album-pagination button,.card-pagination button{min-height:45px;min-width:95px;background:var(--accent-soft);border-radius:14px;padding:9px 14px;font-size:12px;font-weight:700;}
.album-pagination{position:sticky;bottom:-1px;background:#f8fdfdf2;padding:10px 0;border-top:1px solid var(--accent-line);z-index:2;}
[data-theme=peach] .album-pagination{background:#fffaf5f2;}
[data-theme=lavender] .album-pagination{background:#faf6fff2;}
@media(max-width:600px){dialog[data-view=album]{padding:28px 18px 24px;}dialog[data-view=album] .album-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;}.album-filters button{font-size:12px;}.album-pagination button,.card-pagination button{min-width:75px;font-size:11px;padding:9px;}}

/* Milestone clears reveal the regular picture and Chai together. */
.reward-heading{font-size:14px;font-weight:700;color:var(--accent);margin:0 0 12px;}
.reward-reveals{display:flex;justify-content:center;gap:12px;margin:0 auto 20px;max-width:480px;}
.reward-reveals .reward-reveal{flex:1;min-width:0;margin:0;transform:rotate(-2deg);}
.reward-reveals .reward-reveal:nth-child(2){transform:rotate(2deg);}
@media(max-width:600px){.reward-reveals{gap:10px;}.reward-reveals .reward-reveal{padding:7px;}.reward-reveals .reward-reveal strong{font-size:11px;}.album-filters{gap:6px;}}

/* Keep all five album filters tappable on narrow screens. */
.album-filters{flex-wrap:wrap;}
.album-filters button{min-width:54px;}
