.activity-view{height:calc(100% - 105px);max-width:1100px;margin:auto;padding:0 35px 40px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px}
.activity-heading{display:flex;align-items:center;justify-content:center;gap:18px;text-align:left;flex-shrink:0}.activity-heading>img{height:90px;width:88px;object-fit:contain}.activity-heading h1{font-size:32px;line-height:1.12}.activity-heading p{font-size:18px;margin-top:6px;background:#fff8e6e8;border-radius:18px;padding:5px 12px}.activity-heading .eyebrow{font-size:10px}
.color-studio{display:grid;grid-template-columns:minmax(0,660px) 240px;align-items:center;gap:30px;width:100%;min-height:0;justify-content:center}.drawing-paper{width:100%;background:#fffdf5;padding:12px;border:3px solid #bc975f;border-radius:22px;box-shadow:0 5px 0 #c9a578,0 10px 0 #816140,0 18px 32px #41331830;max-width:calc((100dvh - 310px)*1.33333);justify-self:center}.color-drawing{display:block;width:100%;height:auto;aspect-ratio:4/3;border-radius:12px;overflow:hidden}.paint-region{cursor:pointer;transition:fill .2s}.paint-region:focus-visible{outline:none;stroke:#a85387;stroke-width:9}.paint-tools{display:flex;flex-direction:column;align-items:center;gap:22px}.palette{display:grid;grid-template-columns:repeat(4,56px);gap:8px;background:#f8ebcf;border:2px solid #c9a578;border-radius:24px;padding:13px;box-shadow:0 4px 12px #57422a22}.paint-pot{position:relative;width:56px;height:56px;padding:5px;border:2px solid #d4bd94;border-radius:50%;background:#fff8e6;box-shadow:0 3px 0 #b89965}.paint-pot>span{display:block;width:100%;height:100%;border-radius:50%;background:var(--paint);box-shadow:inset 0 2px 3px #39281a30}.paint-pot.chosen{outline:3px solid #785f43;outline-offset:2px}.paint-pot b{position:absolute;inset:0;display:grid;place-items:center;font-size:25px;color:#40382c;text-shadow:0 1px 3px #fff}.painting-actions{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}.small-action{min-height:56px;font-size:18px;padding:2px 13px 2px 6px;gap:6px;white-space:nowrap}.small-action>span[aria-hidden]{font-size:31px;width:40px}.small-action>img{width:50px;height:50px}.small-action:disabled{opacity:.45}.activity-note{text-align:center;font-size:15px;background:#fff8e6e8;padding:4px 12px;border-radius:20px}.completed-postcard>.color-drawing{border-radius:4px}.memory-board{width:min(850px,100%);display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.memory-card{position:relative;aspect-ratio:4/3;padding:5px;min-width:0;border:3px solid #c6a16b;border-bottom-width:6px;border-radius:15px;background:#fff5dc;box-shadow:0 5px 9px #55402b27;overflow:hidden}.memory-card>img{width:100%;height:100%;object-fit:cover;display:block;border-radius:7px}.card-back{display:grid;place-items:center;width:100%;height:100%;border:1px solid #a88b52;border-radius:7px;background:repeating-linear-gradient(45deg,#ede1bd 0px,#ede1bd 9px,#f4e9cd 9px,#f4e9cd 18px)}.card-back>img{width:65%;height:85%;object-fit:contain}.memory-card.face-up{border-color:#e6c779;animation:piece-appear .22s ease}.memory-card.matched{border-color:#8faf77;box-shadow:0 3px 0 #658255}.pair-seal{position:absolute;right:5px;bottom:5px;background:#e8f0d8;border-radius:50%;width:23px;height:23px;display:grid;place-items:center;font-size:18px;color:#456333}.memory-actions{display:flex;align-items:center;justify-content:center;gap:20px}.pair-count{font-size:18px;background:#fff8e6;padding:10px 16px;border:1px solid #cfb383;border-radius:25px}.memory-view .task-stars{display:none}
.game-shell[data-state="memory"] .task-stars{display:none}
.postcard-card>.color-drawing{width:100%;border-radius:4px;aspect-ratio:4/3}
@media(orientation:portrait){.activity-view{height:calc(100% - 130px);padding:0 16px 48px;gap:14px;justify-content:center}.activity-heading{gap:8px;width:100%;justify-content:center}.activity-heading>img{height:70px;width:62px}.activity-heading h1{font-size:25px}.activity-heading p{font-size:15px;margin-top:4px;padding:4px 7px}.activity-heading .eyebrow{font-size:8px;letter-spacing:1.5px}.color-studio{display:flex;flex-direction:column;gap:17px}.drawing-paper{padding:7px;border-radius:17px;max-width:400px}.paint-tools{gap:12px;width:100%}.palette{padding:8px 12px;gap:8px;grid-template-columns:repeat(4,56px)}.painting-actions{gap:16px;flex-wrap:nowrap}.activity-note{font-size:13px}.memory-board{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-width:370px}.memory-card:last-child{grid-column:2}.memory-card{border-width:2px;border-bottom-width:4px;border-radius:11px;padding:3px}.memory-actions{gap:10px}.memory-actions .icon{width:56px;height:56px}.memory-actions .small-action{font-size:15px;padding-right:9px}.pair-count{font-size:15px;padding:8px 10px}.memory-view{gap:14px}.small-action{font-size:16px}}
@media(orientation:portrait) and (max-height:740px){.activity-view{height:calc(100% - 110px);padding-bottom:38px;gap:7px}.activity-heading>img{height:49px;width:47px}.activity-heading h1{font-size:22px}.activity-heading .eyebrow{display:none}.activity-heading p{font-size:13px}.color-studio{gap:10px}.drawing-paper{max-width:300px;padding:5px}.paint-tools{gap:8px}.palette{grid-template-columns:repeat(8,1fr);gap:3px;padding:7px 6px;border-radius:18px;width:100%}.paint-pot{width:100%;height:48px;min-width:0;min-height:48px;padding:3px;border-radius:14px}.paint-pot>span{border-radius:9px}.paint-pot.chosen{outline-width:2px;outline-offset:0}.activity-note{font-size:12px}.memory-board{max-width:310px;gap:8px}.memory-view{gap:9px}.memory-card{aspect-ratio:1.45}.memory-actions .small-action{min-width:0;font-size:14px}.memory-actions{gap:8px}}
@media(prefers-reduced-motion:reduce){.paint-region,.memory-card{animation:none!important;transition:none!important}}
@media(orientation:portrait) and (max-height:740px){.drawing-paper{max-width:272px}.palette{width:auto;grid-template-columns:repeat(4,48px);gap:5px;padding:5px 10px}.paint-pot{width:48px}.paint-tools{gap:5px}.coloring-view .activity-note{font-size:11px;padding:2px 8px}.coloring-view .color-studio{gap:8px}.coloring-view .small-action{min-height:48px}.coloring-view .small-action>img{width:44px;height:44px}}
@media(orientation:portrait){.menu-panel .postcard-card>.color-drawing{height:65px}.finished-album .postcard-card>.color-drawing{height:90px}}
@media(orientation:portrait) and (max-height:700px){.finished-album .postcard-card>.color-drawing{height:63px}.menu-panel .postcard-card>.color-drawing{height:50px}}
