/* Child-facing presentation; parent tools keep their own compact layout. */
:root{--child-type:20px;--child-tap:60px;--child-gap:12px}html{scrollbar-gutter:stable}body{overflow-anchor:none}.game-main{overflow-anchor:none}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.game-main button,.children-tabs button{-webkit-user-select:none;user-select:none;touch-action:manipulation}.game-main button:focus-visible,.children-tabs button:focus-visible,.child-dialog button:focus-visible{outline:4px solid var(--accent);outline-offset:4px}.player-header>p{font-size:16px;line-height:1.8}.playground-wordmark{font-size:21px}.children-tabs{gap:16px;padding-top:10px;padding-bottom:16px}.child-tab{min-height:88px;min-width:166px;gap:14px;padding:13px 19px 13px 12px;border-radius:25px}.child-avatar{width:58px;height:58px}.child-tab>span:last-child{font-size:22px}.child-tab small{font-size:16px}.child-check{width:24px;height:24px}.add-child{font-size:18px;min-width:85px;min-height:88px}.add-child>span{height:56px;width:56px}.game-greeting{min-height:165px;padding-bottom:28px}.game-greeting h1{font-size:32px}.game-greeting p,.theme-caption{font-size:16px;line-height:1.8}.theme-switch{font-size:20px;min-height:60px;padding:14px 18px;gap:9px;border-radius:20px;position:static}.theme-switch svg{display:block;width:24px;height:24px}.greeting-friends{width:218px;opacity:.95}.stamp-playground{border:0;border-radius:0;background:transparent;box-shadow:none;padding:0;overflow:visible}.collection-book{position:relative;isolation:isolate;margin:14px 7px 31px}.collection-book.has-other-cards:before,.collection-book.has-other-cards:after{content:'';position:absolute;inset:7px 9px -12px;border:2px solid #dfd5b8;border-radius:31px;background:#eee8d2;box-shadow:0 5px 10px #8c7e4920;z-index:-1;pointer-events:none}.collection-book.has-other-cards:before{transform:rotate(-1.2deg);background:#e2e6d1}.collection-book.has-other-cards:after{inset:7px 4px -6px;transform:rotate(.9deg);background:#f2ead2}.stamp-sheet{position:relative;background:#fffdf3 url('assets/card-paper.png') center/100% 100%;border:2px solid #e6d9b9;border-radius:30px;padding:28px 30px 22px;box-shadow:0 7px 22px #80764d10}.notebook-tape{width:118px;left:calc(50% - 59px);height:30px;top:-16px}.game-card-heading{gap:17px}.card-eyebrow{font-size:16px;line-height:1.8;letter-spacing:.5px}.game-card-heading h2{font-size:28px;line-height:1.6}.game-card-heading h2>span{font-size:27px}.game-point-count strong{font-size:50px}.game-point-count>span{font-size:18px}.sheet-owner{display:flex;align-items:center;gap:10px;margin:13px 0;color:#9a9d79;font-size:18px;line-height:1.7}.sheet-owner>img{width:39px;height:39px;transform:rotate(-5deg)}.sheet-owner .sheet-range{margin-left:auto;font-size:16px;color:#a8aa88;font-variant-numeric:tabular-nums}.game-progress{margin:17px 0 22px}.game-progress-track{height:12px}.game-progress>span{font-size:20px;min-width:77px}.game-progress small{font-size:16px}.game-stamp-grid{grid-template-columns:repeat(10,minmax(0,1fr));gap:28px 12px;padding:10px 0 0;max-width:none}.game-stamp-slot{container-type:inline-size;min-height:56px;min-width:56px;width:100%;max-width:none;padding:0;aspect-ratio:1;border-radius:50%;isolation:isolate}.game-stamp-slot.empty{background:#f6f5e88c;border:2px dashed #d4dcc1}.game-stamp-slot.next-slot{background:var(--tint);border-color:var(--accent);box-shadow:0 0 0 4px #fffdf0}.game-stamp-grid .game-stamp-slot .slot-number{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;transform:none;left:0;bottom:0;background:transparent;color:var(--accent);opacity:.23;font-size:clamp(40px,5vw,75px);font-size:80cqw;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:-.05em;line-height:1;min-width:0;min-height:0;padding:0;border-radius:50%;z-index:2;pointer-events:none}.game-stamp-grid .game-stamp-slot .slot-number[data-digits="2"]{font-size:65cqw;letter-spacing:-.085em}.game-stamp-grid .game-stamp-slot .slot-number[data-digits="3"]{font-size:49cqw}.game-stamp-grid .game-stamp-slot .slot-number[data-digits="4"]{font-size:37cqw}.game-stamp-grid .game-stamp-slot .slot-number[data-digits="5"],.game-stamp-grid .game-stamp-slot .slot-number[data-digits="6"]{font-size:27cqw}.game-stamp-grid .game-stamp-slot .slot-number[data-digits="7"],.game-stamp-grid .game-stamp-slot .slot-number[data-digits="8"]{font-size:20cqw}.game-stamp-slot.filled .earned-stamp{position:relative;z-index:1;width:100%;height:100%}.game-stamp-slot.filled .slot-number{mix-blend-mode:multiply}.next-label{font-size:16px;line-height:1.4;min-height:27px;bottom:-15px;padding:3px 9px;z-index:3}.card-cheer{font-size:18px;line-height:1.9;margin:29px 0 12px}.collection-controls{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:5px 3px 0}.book-turn{display:flex;align-items:center;justify-content:center;gap:7px;min-height:60px;min-width:124px;padding:12px 17px;background:#f9f6e8;border:2px solid #ddd5b5;border-radius:20px;color:var(--accent);font-size:20px;font-weight:600;box-shadow:0 3px 0 #c6ba931a}.book-turn:not(:disabled):hover{background:#fffdf5;transform:translateY(-2px)}.book-turn:disabled{opacity:.3}.book-turn.previous svg{transform:rotate(180deg)}.collection-state{display:flex;align-items:center;gap:8px;justify-content:center;min-width:150px;min-height:88px}.sheet-badge{width:75px;height:75px;transform:rotate(-8deg)}.collection-state strong{font-size:22px;color:#a8965d;letter-spacing:1px;white-space:nowrap}.collection-shelf{padding:19px 20px 23px;background:#eeeedd80;border:2px solid #fffdf0;border-radius:26px;margin-bottom:25px}.shelf-caption{display:flex;align-items:center;gap:9px;font-size:21px;font-weight:600;color:var(--accent);line-height:1.7;margin-bottom:17px}.shelf-caption>span{font-size:16px;font-weight:400;color:#939b7b;margin-left:auto}.collection-thumbnails{position:relative;display:flex;align-items:center;justify-content:safe center;gap:18px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding:12px 8px 14px}.collection-thumb{position:relative;display:flex;flex-direction:column;align-items:center;gap:10px;flex-shrink:0;width:130px;min-height:177px;padding:8px 8px 12px;border-radius:20px;border:3px solid transparent;transform:rotate(-2deg);transition:transform .18s,background .18s;isolation:isolate}.collection-thumb:nth-child(even){transform:rotate(2deg)}.collection-thumb:hover{background:#fffdf08c;transform:translateY(-3px) rotate(0deg)}.collection-thumb.selected{background:#fffef4;border-color:var(--accent);box-shadow:0 5px 0 #7c8c5812;transform:rotate(0deg)}.mini-card{position:relative;display:block;width:100%;height:123px;background:#fffdf0 url('assets/card-paper.png') center/100% 100%;border:2px solid #e0d5b5;border-radius:13px;box-shadow:2px 4px 0 #d8d4b777;padding:8px}.mini-card-top{display:flex;align-items:center;justify-content:space-between;height:24px;gap:10px;color:#d8c17e}.mini-card-top>img{width:25px;height:25px}.mini-card-top>i{font-style:normal}.mini-card-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:3px;margin-top:9px}.mini-card-grid>i{aspect-ratio:1;border:1px dotted #d6dcc6;border-radius:50%;background-color:#f8f8ed;background-size:cover;background-position:center}.mini-card-grid>i.has-stamp{border-color:transparent;background-color:transparent}.mini-card-badge{position:absolute;top:-13px;right:-12px;width:37px;height:37px;transform:rotate(12deg)}.mini-card-label{font-size:20px;color:#89976f;white-space:nowrap;font-weight:600}.thumb-selected{position:absolute;top:-5px;left:-5px;display:grid;place-items:center;width:27px;height:27px;border:2px solid #fffef4;border-radius:50%;color:#fff;background:var(--accent)}.collection-gap{color:#b4bc9d;font-size:18px;letter-spacing:2px;flex-shrink:0}.game-stamp-picker{background:#fffef8;border:2px solid #fff;border-radius:27px;padding:24px 25px 19px}.picker-heading{gap:10px;margin-bottom:20px;flex-wrap:wrap}.picker-heading h3{font-size:22px}.picker-heading>span:last-child{font-size:16px}.step-dot{width:34px;height:34px;font-size:20px}.game-stamp-options{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;max-width:none}.stamp-choice{min-height:126px;padding:12px 7px;border-radius:20px;gap:10px}.stamp-choice>img{width:68px;height:68px}.stamp-choice>span{font-size:20px;white-space:normal;line-height:1.5}.stamp-choice>i{width:25px;height:25px;right:4px;top:4px}.stamp-choice.picked{border-color:var(--accent);box-shadow:0 4px 0 #7d92531a}.game-stamp-action{margin-top:23px;gap:12px}.game-stamp-action>.step-dot{margin-top:21px}.stamp-call-to-action{max-width:470px}.stamp-main-button{min-height:80px;border-radius:25px;font-size:26px;letter-spacing:1px;gap:17px;padding:12px 20px}.stamp-main-button>img{height:53px;width:53px}.stamp-main-button>svg{height:28px;width:28px}.stamp-call-to-action>p{font-size:16px;line-height:1.8;gap:7px;margin-top:16px}.stamp-call-to-action>p svg{width:18px;height:18px}.reward-play-modes{margin-top:37px}.reward-modes-heading{gap:14px;flex-wrap:wrap;margin-bottom:18px}.reward-modes-heading h2{font-size:24px}.reward-modes-heading>button{font-size:20px;min-height:56px;padding:12px}.reward-mode-cards{gap:16px}.reward-mode-cards>button{min-height:118px;padding:18px 14px;border-radius:24px;gap:11px}.reward-mode-cards img{width:60px;height:60px}.reward-mode-cards strong{font-size:20px}.reward-mode-cards small{font-size:16px;line-height:1.7}.reward-mode-cards svg{width:21px;height:21px}.reward-quest{margin-top:25px;padding:20px;gap:18px}.quest-art{height:110px;width:110px}.quest-copy>span{font-size:16px}.quest-copy h2{font-size:25px;line-height:1.6}.quest-copy p{font-size:16px;line-height:1.9}.quest-button{font-size:20px;min-height:62px;padding:15px 20px;border-radius:20px}.little-memories{padding-top:20px}.little-memories>button{font-size:20px;min-height:60px;padding:14px 17px;gap:10px}.little-memories p{font-size:16px;line-height:1.8}.back-to-game{font-size:20px;min-height:60px;padding:14px 20px;gap:10px;border-radius:20px}.page-heading h1{font-size:32px}.page-heading p{font-size:18px;line-height:1.9}.reward-filters{gap:12px}.reward-filters>button{font-size:20px;min-height:60px;border-radius:19px;padding:14px 18px;gap:10px}.reward-filters>button>span{font-size:16px;height:28px;min-width:28px}.reward-rule-note{font-size:16px}.page-toolbar>span{font-size:16px}.game-main .page-toolbar .btn{font-size:20px;min-height:60px;padding:14px 18px}.reward-full-body h2{font-size:26px}.reward-full-body>p,.reward-full-body .rule-detail,.reward-status{font-size:16px;line-height:1.9}.reward-full-body .rule-detail{min-height:61px}.reward-full-cost{font-size:35px}.reward-full-cost small{font-size:16px}.rule-badge{font-size:16px;padding:8px 10px;border-radius:11px}.reward-image .icon-btn{width:56px;height:56px;right:9px;top:9px}.reward-full-body>.btn{font-size:20px;min-height:62px;border-radius:18px}.reward-empty h2{font-size:26px}.reward-empty p{font-size:18px}.reward-empty>.btn{font-size:20px;min-height:60px}.history-stats span{font-size:16px}.history-stats strong{font-size:38px}.history-stats small{font-size:18px}.history-list .history-info strong{font-size:18px;line-height:1.8}.history-list .history-info small{font-size:16px;line-height:1.8}.history-stamp,.history-stamp img{width:50px;height:50px}.history-points{font-size:22px}.history-points small{font-size:16px}.history-filters{gap:15px;flex-wrap:wrap}.history-filters h2{font-size:23px}.history-filters select{font-size:20px;min-height:56px}.modal-overlay{overscroll-behavior:contain;padding:24px}.modal{overscroll-behavior:contain;max-width:560px;scrollbar-gutter:stable}.modal .modal-close{min-width:56px;min-height:56px;top:10px;right:10px}.modal input:not([type=radio]):not([type=checkbox]),.modal textarea,.modal select{font-size:16px;min-height:48px}.modal form>label,.modal legend{font-size:16px;line-height:1.8}.modal-sub{font-size:16px}.modal .soft-note,.modal .info-note{font-size:16px;line-height:1.85}.modal .optional{font-size:14px}.modal .btn{min-height:56px;font-size:18px}.modal input::placeholder,.modal textarea::placeholder{font-size:16px}.modal .stamp-options,.modal .reward-icon-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.modal .image-option{min-height:72px;padding:9px}.modal .stamp-options img,.modal .reward-icon-options img{width:57px;height:57px}.modal .reason-chips{gap:10px}.modal .reason-chips button{font-size:16px;min-height:48px;padding:10px 12px}.modal .stepper button{height:56px;width:56px}.modal .stepper input{font-size:26px;min-height:56px}.child-dialog{max-width:590px}.child-dialog h2{font-size:26px;line-height:1.6;padding-right:31px}.child-dialog .btn{font-size:22px;min-height:64px;border-radius:19px}.child-dialog .modal-sub,.child-dialog p{font-size:18px}.child-dialog .theme-picks{gap:16px}.child-dialog .theme-picks>button{grid-template-columns:60px 1fr;padding:20px 17px;min-height:110px;border-width:2px;border-radius:20px}.child-dialog .theme-picks>button>span{font-size:42px}.child-dialog .theme-picks strong{font-size:22px}.child-dialog .theme-picks small{font-size:16px;line-height:1.8;max-width:none}.child-dialog .theme-picks svg{width:23px;height:23px}.stamp-record-detail>img{width:150px;height:150px}.child-dialog .stamp-record-detail h3{font-size:24px;line-height:1.8}.child-dialog .stamp-record-detail p{font-size:16px}.child-dialog .redeem-illustration img{width:160px;height:160px}.child-dialog form>.center{font-size:23px}.child-dialog form>p{font-size:18px;line-height:1.8}.child-dialog .soft-note{font-size:18px}.help-content h3{font-size:20px}.help-content p{font-size:16px;line-height:1.95}.parent-tool-menu>button{min-height:74px}.parent-tool-menu>button>span{font-size:18px}.parent-tool-menu small{font-size:15px}.empty-state h1{font-size:29px}.empty-state p{font-size:18px}.empty-state>.btn{font-size:22px;min-height:64px;border-radius:20px}.form-error{font-size:16px}.modal-open{overscroll-behavior:none}
@media(max-width:1120px){.reward-mode-cards{grid-template-columns:1fr}.reward-mode-cards>button{min-height:104px;padding:17px 23px;gap:21px}.reward-mode-cards img{width:65px;height:65px}.reward-mode-cards svg{width:24px;height:24px}.reward-mode-cards strong{font-size:22px}.reward-mode-cards small{font-size:16px}.reward-quest{flex-wrap:wrap}.quest-copy{min-width:0}.quest-button{flex:1;width:100%}.greeting-friends{width:185px}.game-greeting{gap:15px}.game-greeting h1{font-size:29px}.theme-switch{font-size:18px;padding:13px 15px}.reward-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1040px){.game-stamp-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:28px 20px;max-width:620px;margin:auto}.game-stamp-slot{max-width:100px;justify-self:center}.stamp-sheet{padding:28px 26px 24px}.game-stamp-options{grid-template-columns:repeat(3,minmax(0,1fr));max-width:600px;gap:15px}.stamp-choice{min-height:128px}.stamp-choice>img{height:65px;width:65px}.game-greeting{flex-wrap:wrap;min-height:190px}.greeting-copy{max-width:70%}.greeting-friends{position:absolute;right:0;bottom:26px;max-width:30%;margin:0}.theme-switch{align-self:auto;margin-top:2px}.collection-thumbnails{justify-content:safe center}.little-memories{flex-direction:column;gap:8px}.little-memories p{font-size:16px}.shelf-caption{flex-wrap:wrap}.shelf-caption>span{margin-left:0}.book-turn{min-width:119px}.collection-state{min-width:180px}}
@media(max-width:700px){.game-shell{padding-left:17px;padding-right:17px}.game-greeting{display:block;min-height:208px;padding-top:12px;padding-bottom:29px}.greeting-copy{max-width:none;padding-top:0}.game-greeting h1{font-size:29px;max-width:100%;line-height:1.7}.game-greeting p{font-size:16px;max-width:100%;margin-bottom:16px}.theme-caption{font-size:16px;margin-bottom:8px}.theme-switch{position:static;display:inline-flex;font-size:20px;min-height:60px;padding:13px 17px;gap:8px;margin-top:0}.theme-switch svg{width:23px;height:23px}.greeting-friends{width:150px;max-width:32%;right:0;bottom:22px;opacity:.9}.collection-book{margin-left:5px;margin-right:5px}.stamp-sheet{padding:25px 20px 20px}.game-card-heading h2{font-size:25px}.card-eyebrow{font-size:16px;letter-spacing:0}.game-point-count{gap:2px;min-width:70px}.game-point-count strong{font-size:45px}.game-point-count>span{font-size:16px}.sheet-owner{font-size:18px}.sheet-owner .sheet-range{font-size:16px}.collection-controls{gap:10px}.book-turn{flex-direction:column;gap:3px;min-width:86px;min-height:84px;font-size:20px;padding:9px 10px;border-radius:18px}.collection-state{flex-direction:column;gap:2px;min-width:90px;min-height:110px}.sheet-badge{height:68px;width:68px}.collection-state strong{font-size:21px;letter-spacing:0}.shelf-caption{font-size:22px;gap:8px;line-height:1.7}.shelf-caption>span{font-size:16px;display:block;width:100%;margin-top:0;margin-left:31px}.collection-shelf{padding:18px 11px 16px}.collection-thumbnails{gap:12px;padding-left:5px;padding-right:5px;justify-content:flex-start}.collection-thumb{width:117px;min-height:168px;padding:8px 7px 11px;gap:9px}.mini-card{height:113px;padding:7px;border-radius:12px}.mini-card-label{font-size:20px}.mini-card-top{height:22px}.mini-card-grid{gap:3px;margin-top:8px}.mini-card-badge{width:34px;height:34px;right:-10px;top:-10px}.collection-gap{font-size:17px}.game-stamp-picker{padding:21px 18px 17px}.picker-heading h3{font-size:22px}.picker-heading>span:last-child{font-size:16px;display:block;width:100%;margin-left:44px}.game-stamp-options{gap:12px 8px;grid-template-columns:repeat(3,minmax(0,1fr))}.stamp-choice{padding:12px 3px;min-height:123px;gap:8px}.stamp-choice>img{width:57px;height:57px}.stamp-choice>span{font-size:20px;line-height:1.6}.stamp-choice>i{width:24px;height:24px}.game-stamp-action{gap:8px;margin-top:20px}.game-stamp-action>.step-dot{display:none}.stamp-call-to-action{max-width:none}.stamp-main-button{min-height:76px;font-size:25px;padding:12px 17px;gap:14px}.stamp-main-button>img{width:48px;height:48px}.stamp-call-to-action>p{font-size:16px;margin:15px 7px 0;line-height:1.9;align-items:flex-start;justify-content:center}.stamp-call-to-action>p svg{margin-top:7px}.reward-modes-heading h2{font-size:24px}.reward-modes-heading>button{font-size:20px;padding:12px 6px}.reward-mode-cards>button{padding:17px 18px;gap:16px;min-height:109px}.reward-mode-cards img{width:60px;height:60px}.reward-mode-cards strong{font-size:22px}.reward-mode-cards small{font-size:16px}.reward-mode-cards svg{width:22px;height:22px}.reward-quest{padding:19px 16px;gap:15px}.quest-art{width:87px;height:87px}.quest-copy{min-width:calc(100% - 104px)}.quest-copy>span{font-size:16px;line-height:1.8}.quest-copy h2{font-size:24px;margin-top:4px}.quest-copy p{font-size:16px;line-height:1.8;margin-top:8px}.quest-button{min-height:62px;font-size:22px;padding:15px;margin-top:0}.little-memories>button{font-size:20px;min-height:60px}.little-memories p{font-size:16px;text-align:center;padding:0 10px}.page-heading h1{font-size:30px}.page-heading p{font-size:18px}.page-heading .eyebrow{font-size:12px}.back-to-game{font-size:20px;min-height:60px;padding:14px 18px}.reward-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.reward-filters>button{font-size:18px;min-height:60px;padding:13px 7px;gap:7px}.reward-filters>button>span{font-size:16px;height:25px;min-width:25px}.reward-rule-note{font-size:16px;line-height:1.9;padding:15px}.page-toolbar{align-items:flex-start;gap:14px;flex-wrap:wrap}.page-toolbar>span{font-size:16px;line-height:1.8}.game-main .page-toolbar .btn{min-height:60px;font-size:20px;padding:13px 17px}.reward-grid{grid-template-columns:1fr}.reward-full-body{padding:25px}.reward-full-body h2{font-size:26px}.reward-full-body>p,.reward-full-body .rule-detail,.reward-status{font-size:18px;line-height:1.9}.reward-full-body .rule-detail{min-height:0}.reward-full-cost{font-size:35px}.reward-full-cost small{font-size:18px}.reward-full-body>.btn{font-size:22px;min-height:64px}.reward-image{min-height:195px}.reward-image img{width:155px;height:155px}.reward-image .icon-btn{width:56px;height:56px;right:12px;top:12px}.rule-badge{font-size:16px;padding:8px 12px}.reward-empty h2{font-size:25px}.reward-empty p{font-size:18px}.reward-empty>.btn{min-height:64px;font-size:21px}.history-stats{gap:11px}.history-stats .panel{padding:18px 10px;border-radius:20px}.history-stats span{font-size:16px}.history-stats strong{font-size:31px}.history-stats small{font-size:16px;margin-left:4px}.history-filters h2{font-size:22px}.history-filters select{min-height:56px;font-size:20px;width:100%}.history-list{padding:23px 17px}.history-list .history-info strong{font-size:18px}.history-list .history-info small{font-size:16px}.history-row{gap:12px;align-items:flex-start}.history-stamp,.history-stamp img{width:43px;height:43px}.history-points{font-size:20px;padding-top:5px}.history-points small{font-size:16px}.modal-overlay{padding:15px}.modal{padding:27px 22px;border-radius:26px;max-height:calc(100dvh - 30px)}.modal h2{font-size:24px}.modal input:not([type=radio]):not([type=checkbox]),.modal textarea,.modal select{font-size:16px;min-height:50px}.modal form>label,.modal legend,.modal-sub{font-size:16px}.modal .soft-note,.modal .info-note{font-size:16px;line-height:1.9}.modal .btn{font-size:20px;min-height:60px}.modal .stamp-options,.modal .reward-icon-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.modal .image-option{min-height:72px;padding:8px}.modal .stamp-options img,.modal .reward-icon-options img{width:54px;height:54px}.modal .avatar-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.modal .avatar-options img{width:70px;height:70px}.modal .theme-options{grid-template-columns:1fr}.modal .theme-option{font-size:16px;min-height:58px;gap:10px;padding:14px}.modal .theme-option>span{font-size:25px}.modal .reason-chips button{font-size:16px;min-height:48px;padding:10px 12px}.child-dialog h2{font-size:26px}.child-dialog .theme-picks>button{grid-template-columns:48px 1fr;padding:19px 15px;column-gap:12px;min-height:120px}.child-dialog .theme-picks>button>span{font-size:37px}.child-dialog .theme-picks strong{font-size:22px}.child-dialog .theme-picks small{font-size:16px;line-height:1.8}.child-dialog .theme-picks svg{top:9px;right:9px;width:20px;height:20px}.child-dialog .btn{font-size:22px;min-height:64px}.child-dialog .stamp-record-detail h3{font-size:23px}.child-dialog .stamp-record-detail p{font-size:16px;line-height:1.8}.child-dialog .soft-note{font-size:18px}.help-content h3{font-size:20px}.help-content p{font-size:16px}.parent-tool-menu>button>span{font-size:18px}.parent-tool-menu small{font-size:15px}.parent-tool-menu>p{font-size:16px}.empty-state h1{font-size:27px}.empty-state p{font-size:18px}.empty-state>.btn{font-size:21px;min-height:64px}.form-error{font-size:16px}}
@media(max-width:440px){.game-shell{padding-left:12px;padding-right:12px}.player-header>p{font-size:16px;letter-spacing:.5px}.playground-wordmark{font-size:20px}.children-tabs{gap:12px}.child-tab{min-width:151px;min-height:82px;gap:10px;padding:11px 13px 11px 9px}.child-avatar{width:51px;height:51px}.child-tab>span:last-child{font-size:21px}.child-tab small{font-size:16px}.add-child{min-width:74px;min-height:82px;font-size:18px}.add-child>span{width:56px;height:56px}.game-greeting h1{font-size:27px}.game-greeting{min-height:215px}.greeting-friends{max-width:31%;right:2px;bottom:24px}.theme-switch{font-size:20px;padding:13px 15px}.collection-book{margin-left:5px;margin-right:5px}.stamp-sheet{padding:25px 12px 18px;border-radius:24px}.collection-book.has-other-cards:before,.collection-book.has-other-cards:after{border-radius:24px}.game-card-heading{gap:7px}.game-card-heading h2{font-size:23px;letter-spacing:.3px}.game-card-heading h2>span{font-size:21px}.card-eyebrow{font-size:16px}.game-point-count{min-width:66px}.game-point-count strong{font-size:41px}.game-point-count>span{font-size:16px}.sheet-owner{gap:6px;font-size:17px;margin-top:12px}.sheet-owner>img{width:32px;height:32px}.sheet-owner .sheet-range{font-size:16px}.game-progress{margin:14px 0 20px;gap:10px}.game-progress>span{font-size:20px;min-width:74px}.game-progress small{font-size:16px}.game-stamp-grid{grid-template-columns:repeat(4,minmax(56px,1fr));gap:28px 8px;padding:8px 0 0;max-width:none}.game-stamp-slot{min-width:56px;min-height:56px;max-width:none}.game-stamp-grid .game-stamp-slot .slot-number{font-size:80cqw}.game-stamp-grid .game-stamp-slot .slot-number[data-digits="2"]{font-size:65cqw}.next-label{font-size:16px;min-height:26px;bottom:-14px;padding:2px 8px}.card-cheer{font-size:18px;margin-top:28px}.collection-controls{gap:6px;padding-left:0;padding-right:0}.book-turn{min-width:76px;font-size:20px;min-height:86px;padding:8px 5px}.book-turn svg{height:26px;width:26px}.collection-state{min-width:76px;min-height:108px;gap:0}.sheet-badge{width:66px;height:66px}.collection-state strong{font-size:20px}.collection-shelf{padding-left:10px;padding-right:10px}.shelf-caption{font-size:21px}.collection-thumb{width:115px}.game-stamp-picker{padding:20px 12px 16px}.picker-heading{gap:8px}.picker-heading h3{font-size:22px}.picker-heading>span:last-child{font-size:16px;margin-left:42px}.game-stamp-options{gap:12px 5px}.stamp-choice{padding:12px 2px;min-height:125px}.stamp-choice>img{width:57px;height:57px}.stamp-choice>span{font-size:18px}.stamp-main-button{font-size:24px;min-height:76px;padding:12px 13px;gap:12px}.stamp-main-button>img{width:44px;height:44px}.stamp-main-button>svg{width:25px;height:25px}.reward-mode-cards>button{padding:17px 13px;gap:13px}.reward-mode-cards img{width:56px;height:56px}.reward-mode-cards strong{font-size:21px}.reward-mode-cards small{font-size:16px}.reward-modes-heading{gap:0}.reward-modes-heading h2{font-size:24px}.quest-art{width:72px;height:72px}.quest-copy{min-width:calc(100% - 90px)}.quest-copy h2{font-size:23px}.history-stats span{font-size:16px;line-height:1.6}.history-stats strong{font-size:28px}.history-stats small{font-size:16px;display:block;margin-top:4px;margin-left:0}.modal{padding-left:20px;padding-right:20px}.modal .child-dialog{padding-left:20px;padding-right:20px}.reward-full-body{padding:22px}.reward-filters>button{font-size:18px;padding-left:5px;padding-right:5px;gap:5px}.reward-filters>button>span{font-size:16px;min-width:23px;height:23px}}
@media(max-width:319px){.game-stamp-grid{grid-template-columns:repeat(3,minmax(56px,1fr))}.game-stamp-options{grid-template-columns:repeat(2,minmax(0,1fr))}.game-card-heading{flex-wrap:wrap}.game-point-count{flex-direction:row}.sheet-owner .sheet-range{display:none}.collection-controls{flex-wrap:wrap}.collection-state{order:-1;width:100%}.modal .theme-picks>button{grid-template-columns:1fr}.modal .theme-picks>button>span{grid-row:auto}.reward-filters{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.collection-thumb,.book-turn,.game-stamp-slot,.stamp-main-button{transition:none!important}}
/* Reviewed layout: card previews float beside the sheet instead of below it. */
.card-with-rail{--rail-width:128px;display:grid;grid-template-columns:minmax(0,1fr) var(--rail-width);gap:20px;align-items:start;margin:14px 0 25px;position:relative}
.card-with-rail>.collection-book{min-width:0;margin:0 5px 12px}
.card-with-rail>.collection-shelf{position:sticky;top:16px;align-self:start;display:flex;flex-direction:column;align-items:center;gap:12px;width:var(--rail-width);padding:8px 4px;margin:0;background:#f4f3e6b8;border:1px solid #e6e9d7;border-radius:24px;box-shadow:0 5px 16px #687b4c0a;max-height:calc(100dvh - 32px)}
.collection-shelf>.book-turn{min-width:56px;min-height:56px;width:56px;height:56px;padding:10px;flex-shrink:0;border-radius:50%;font-size:0;background:#fffef7;border:2px solid #dfe3d0}
.collection-shelf>.book-turn.previous svg{transform:rotate(-90deg)}
.collection-shelf>.book-turn.next svg{transform:rotate(90deg)}
.collection-shelf>.collection-thumbnails{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:13px;min-height:0;max-height:min(510px,60dvh);width:100%;padding:9px 7px 11px;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin}
.collection-shelf .collection-thumb,.collection-shelf .collection-thumb:nth-child(even){width:108px;min-height:129px;height:129px;gap:0;padding:7px;transform:rotate(0);border-radius:17px;flex-shrink:0}
.collection-shelf .collection-thumb:hover{transform:translateY(-1px)}
.collection-shelf .mini-card{width:88px;height:109px;padding:7px;border-radius:12px}
.collection-shelf .mini-card-top{height:20px}.collection-shelf .mini-card-top>img{width:22px;height:22px}
.collection-shelf .mini-card-grid{gap:3px;margin-top:9px}.collection-shelf .mini-card-badge{width:29px;height:29px;top:-9px;right:-8px}
.collection-shelf .thumb-selected{width:24px;height:24px;top:-3px;left:-2px}.collection-shelf .collection-gap{font-size:16px;line-height:1;letter-spacing:3px}
.stamp-sheet .game-card-heading h2{margin-top:0}.stamp-sheet{padding-bottom:30px}
.game-stamp-grid .game-stamp-slot{position:relative;display:grid;place-items:center;min-width:0;min-height:56px;max-width:none;aspect-ratio:1;background:transparent;border:0;box-shadow:none;container-type:inline-size}
.game-stamp-grid .game-stamp-slot.empty:before{content:'';position:absolute;left:0;top:50%;transform:translateY(-50%);width:100%;aspect-ratio:1;border:2px dashed #d4dcc1;border-radius:50%;background:#f6f5e88c;box-sizing:border-box}
.game-stamp-grid .game-stamp-slot.next-slot:before{background:var(--tint);border-color:var(--accent);box-shadow:0 0 0 3px #fffdf0}
.game-stamp-grid .game-stamp-slot.empty:hover:before{background:var(--tint);border-color:var(--accent)}
.game-stamp-grid .game-stamp-slot.filled .earned-stamp{display:block;width:100%;height:auto;max-height:none;aspect-ratio:1;align-self:center;mix-blend-mode:normal;opacity:1}
.game-stamp-grid .game-stamp-slot .slot-number[data-digits]{inset:0;left:0;top:0;bottom:0;display:grid;place-items:center;width:100%;height:100%;padding:0;margin:0;transform:none;background:transparent;text-align:center;text-indent:0;letter-spacing:0;direction:ltr;font-family:'Arial Rounded MT Bold',Arial,sans-serif;font-kerning:none;font-variant-numeric:lining-nums tabular-nums;line-height:1;font-size:80cqw;opacity:.23;mix-blend-mode:normal}
.game-stamp-grid .game-stamp-slot .slot-number[data-digits="2"]{font-size:65cqw;letter-spacing:0}.game-stamp-grid .game-stamp-slot .slot-number[data-digits="3"]{font-size:49cqw}.game-stamp-grid .game-stamp-slot .slot-number[data-digits="4"]{font-size:37cqw}.game-stamp-grid .game-stamp-slot .slot-number[data-digits="5"],.game-stamp-grid .game-stamp-slot .slot-number[data-digits="6"]{font-size:27cqw}.game-stamp-grid .game-stamp-slot .slot-number[data-digits="7"],.game-stamp-grid .game-stamp-slot .slot-number[data-digits="8"]{font-size:20cqw}
.theme-caption{display:flex;align-items:center;gap:9px;min-height:56px;margin-bottom:7px}
.theme-caption>.theme-switch{display:inline-flex;align-items:center;justify-content:center;min-width:56px;min-height:56px;width:56px;height:56px;padding:12px;margin:0;position:static;align-self:center;border-radius:50%;flex-shrink:0;background:#fffef8b8}
.theme-caption>.theme-switch svg{display:block;width:26px;height:26px}.game-greeting{min-height:149px}.greeting-copy{max-width:none}.greeting-friends{align-self:center}
@media(max-width:1120px){.card-with-rail{--rail-width:102px;gap:16px}.game-stamp-grid{grid-template-columns:repeat(5,minmax(0,1fr));max-width:none;gap:25px 13px}.collection-shelf .collection-thumb{width:88px;min-height:113px;height:113px;padding:6px}.collection-shelf .mini-card{width:72px;height:95px;padding:6px}.collection-shelf .mini-card-grid{gap:3px;margin-top:8px}.collection-shelf .mini-card-top{height:17px}.collection-shelf .mini-card-top>img{height:19px;width:19px}.collection-shelf .mini-card-badge{width:25px;height:25px}.game-greeting{min-height:145px}.greeting-friends{position:absolute;right:0;bottom:16px;max-width:29%}.greeting-copy{padding-right:25%}}
@media(max-width:700px){.card-with-rail{--rail-width:78px;gap:11px}.card-with-rail>.collection-shelf{top:10px;gap:9px;padding:6px 2px;border-radius:20px;max-height:calc(100dvh - 20px)}.collection-shelf>.collection-thumbnails{max-height:min(440px,58dvh);padding:7px 4px 9px;gap:11px}.collection-shelf .collection-thumb,.collection-shelf .collection-thumb:nth-child(even){width:66px;min-height:89px;height:89px;padding:4px;border-width:2px;border-radius:13px}.collection-shelf .mini-card{width:54px;height:76px;padding:5px;border-radius:8px}.collection-shelf .mini-card-top{height:14px}.collection-shelf .mini-card-top>img{width:16px;height:16px}.collection-shelf .mini-card-top>i{font-size:12px}.collection-shelf .mini-card-grid{gap:2px;margin-top:6px}.collection-shelf .mini-card-badge{width:20px;height:20px;right:-7px;top:-7px}.collection-shelf .thumb-selected{width:20px;height:20px;top:-3px;left:-2px}.collection-shelf .thumb-selected svg{width:13px;height:13px}.collection-shelf .collection-gap{font-size:13px}.game-stamp-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:23px 8px;max-width:none}.stamp-sheet{padding:23px 16px 26px}.game-greeting{min-height:140px;padding-top:9px;padding-bottom:23px}.greeting-copy{padding-right:20%;max-width:none}.game-greeting h1{font-size:27px}.game-greeting p{margin-bottom:0}.greeting-friends{bottom:13px;max-width:25%;opacity:.85}.theme-caption{font-size:16px;gap:6px;margin-bottom:5px}.game-card-heading h2{font-size:23px}.game-point-count strong{font-size:40px}.game-point-count>span{font-size:16px}.game-card-heading{gap:7px}.sheet-owner{font-size:16px;gap:6px}.sheet-owner>img{width:30px;height:30px}.sheet-owner .sheet-range{font-size:16px}.game-progress>span{font-size:18px;min-width:66px}.game-progress small{font-size:16px}}
@media(max-width:440px){.card-with-rail{--rail-width:60px;gap:7px}.card-with-rail>.collection-book{margin-left:2px;margin-right:2px}.card-with-rail>.collection-shelf{padding:5px 1px;gap:7px;border-radius:18px;border-color:transparent;background:#f4f3e68c}.collection-shelf>.book-turn{min-width:56px;min-height:56px;width:56px;height:56px;padding:10px;border-width:1px}.collection-shelf>.collection-thumbnails{padding:7px 2px 9px;gap:10px;max-height:min(390px,55dvh)}.collection-shelf .collection-thumb,.collection-shelf .collection-thumb:nth-child(even){width:54px;min-height:76px;height:76px;padding:3px;border-radius:11px}.collection-shelf .mini-card{width:44px;height:65px;padding:4px;border-radius:7px;border-width:1px}.collection-shelf .mini-card-top{height:12px}.collection-shelf .mini-card-top>img{width:14px;height:14px}.collection-shelf .mini-card-top>i{font-size:10px}.collection-shelf .mini-card-grid{gap:2px;margin-top:5px}.collection-shelf .mini-card-grid>i{border-width:.7px}.collection-shelf .mini-card-badge{width:17px;height:17px;right:-4px;top:-5px}.collection-shelf .thumb-selected{width:18px;height:18px;border-width:1px;top:-3px;left:-2px}.collection-shelf .thumb-selected svg{width:12px;height:12px}.stamp-sheet{padding:22px 10px 25px;border-radius:22px}.game-stamp-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:22px 5px;padding-top:7px}.game-stamp-grid .game-stamp-slot{min-width:0;min-height:56px}.game-stamp-grid .game-stamp-slot.empty:before{border-width:1.5px}.game-stamp-grid .next-label{font-size:14px;min-height:22px;padding:1px 6px;bottom:-9px}.game-card-heading h2{font-size:21px;letter-spacing:0}.game-card-heading h2>span{display:none}.game-point-count{min-width:56px}.game-point-count strong{font-size:36px}.game-point-count>span{font-size:15px}.sheet-owner{font-size:16px;line-height:1.6;flex-wrap:wrap;gap:5px}.sheet-owner>img{height:27px;width:27px}.sheet-owner .sheet-range{font-size:14px;margin-left:auto}.game-progress{gap:7px;margin:13px 0 17px}.game-progress>span{font-size:18px;min-width:63px}.game-progress-track{height:9px}.game-greeting{min-height:135px}.greeting-copy{padding-right:0}.game-greeting h1{font-size:26px;max-width:100%}.game-greeting p{padding-right:0;max-width:100%;font-size:16px}.greeting-friends{display:none}.theme-caption>.theme-switch{width:56px;height:56px;min-width:56px;min-height:56px}.theme-caption{margin-bottom:4px}}
@media(max-width:350px){.game-shell{padding-left:8px;padding-right:8px}.card-with-rail{--rail-width:56px;gap:5px}.stamp-sheet{padding-left:8px;padding-right:8px}.game-stamp-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:20px 4px}.collection-shelf .collection-thumb,.collection-shelf .collection-thumb:nth-child(even){width:50px;height:72px;min-height:72px;padding:2px}.collection-shelf .mini-card{width:42px;height:63px}.sheet-owner .sheet-range{display:none}.game-card-heading h2{font-size:20px}.game-point-count strong{font-size:34px}.game-point-count>span{font-size:14px}.game-point-count{min-width:51px}.game-progress>span{font-size:17px;min-width:61px}.game-progress small{font-size:15px}}
/* Keep the stamp choice in its dialog, with a balanced quantity control. */
.modal #stamp-form .stepper{display:grid;grid-template-columns:56px minmax(0,1fr) 56px;justify-content:center;align-items:center;gap:10px;max-width:330px;width:100%;margin:15px auto 8px;padding:10px;border:1px solid #e0e6d5;border-radius:22px;background:var(--tint)}
.modal #stamp-form .stepper>button{width:56px;height:56px;min-width:56px;min-height:56px;border:1px solid #dce3d0;border-radius:16px;background:#fffefa;color:var(--accent);display:grid;place-items:center}
.modal #stamp-form .stepper>button svg{width:25px;height:25px}
.modal #stamp-form .stepper-value{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;text-align:center}
.modal #stamp-form .stepper-value input{width:64px!important;min-width:0;min-height:56px;margin:0!important;padding:6px 3px!important;font-size:28px;font-weight:600;line-height:1.3;text-align:center;border-radius:13px;background:#fffefa;flex:0 1 64px;font-variant-numeric:tabular-nums;color:var(--accent)}
.modal #stamp-form .stepper-value>span{font-size:18px;color:var(--accent);flex-shrink:0;line-height:1.5}
.history-stats>.panel{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center}
.history-stats>.panel>span{display:block;width:100%;text-align:center;line-height:1.7}
.history-stats>.panel>strong{display:flex;align-items:baseline;justify-content:center;flex-wrap:wrap;gap:6px;width:100%;text-align:center;margin:0}
.history-stats>.panel>strong>small{display:inline-block;line-height:1.5;margin:0;text-align:center}
.reward-empty .reward-parent-note,.reward-quest .quest-parent-note{font-size:16px;line-height:1.9;color:#949e82;text-align:center;margin:12px 0 0;width:100%}
.game-stamp-action{margin-top:22px}
@media(max-width:350px){.modal #stamp-form .stepper{gap:8px;padding:8px}.modal #stamp-form .stepper-value{gap:5px}.modal #stamp-form .stepper-value input{font-size:26px}.modal #stamp-form .stepper-value>span{font-size:16px}}
