:root{--ink:#283e32;--red:#bd3148;--cream:#f7efd9;--serif:'Comic Sans MS','Chalkboard SE','Trebuchet MS',cursive;--sans:'Trebuchet MS',Arial,sans-serif;--line:#cfc6a8}body{background-color:#f4ead0;background-image:radial-gradient(#a7906520 .55px,transparent .65px),linear-gradient(105deg,#f7efd900,#fff9e955);background-size:4px 4px,100% 100%;color:#2c3f34}.topbar{max-width:1440px;border-bottom:2px solid #c5b68f;padding-top:22px;padding-bottom:23px;gap:17px}.brand{font-family:var(--serif);font-size:24px;letter-spacing:-1.1px;color:#254331;transform:rotate(-1deg)}.brand small{font-family:var(--sans);font-size:7px;letter-spacing:1.9px;font-weight:900;color:#a84e50}.brand-elf{filter:drop-shadow(1px 1px 0 #243b2e)}.topbar nav{gap:8px}.nav-button{border:1.5px solid transparent;border-radius:5px 9px 6px 8px;font:700 12px var(--serif);padding:11px 16px}.nav-button.active{background:#dae4c2;box-shadow:2px 3px #7b927b40;border-color:#68856a}.nav-button span{background:#d2dfbd;font-family:var(--sans)}.hero{padding:30px 20px 18px}.hero h1{font-family:var(--serif);font-size:clamp(38px,4.1vw,60px);font-weight:900;letter-spacing:-2.1px;line-height:1.15;margin:12px 0}.hero h1 em{color:#b73248;text-shadow:1px 2px #efd9ad}.hero>p{font-size:13px;color:#716b52;margin-bottom:12px}.eyebrow{color:#98785a;font-size:9px;letter-spacing:2px}.eyebrow:before,.eyebrow:after{background:#bdbb97}.hero .doodle{color:#c7983c}.hero .doodle.right{color:#719473}.card-village-section{max-width:1370px;margin:auto;padding:0 26px}.card-scroller{border:3px solid #3d4a37;border-radius:5px 9px 5px 8px;max-height:82vh;overflow:auto;background:#f1f0d9;box-shadow:4px 6px 0 #263d362a,0 13px 28px #50442d17;scrollbar-color:#8e9c7d #f2e9ce;scrollbar-width:thin;overscroll-behavior:contain;touch-action:pan-x pan-y}.card-world{position:relative;aspect-ratio:1536/1024;min-width:100%;user-select:none}.card-art{position:absolute;width:100%;height:100%;inset:0;display:block;pointer-events:none}.card-door{z-index:4;font-family:var(--serif);font-size:17px;font-weight:900;color:#fff5cf!important;text-shadow:1px 1px #2b352b,-1px -1px #2b352b,1px -1px #2b352b,-1px 1px #2b352b;line-height:1;border-radius:4px;padding:0;background:none}.card-door span{margin:0}.card-door i{position:absolute;bottom:7px;font-size:8px;color:#ead599}.card-door:hover,.card-door:focus-visible{outline:2px dashed #f9e0a1;outline-offset:3px;background:#ffdc831a;box-shadow:none}.card-caper{position:absolute;z-index:2;background:none;border:0;padding:0;color:transparent;cursor:pointer;touch-action:manipulation}.card-caper:hover,.card-caper:focus-visible{outline:2px dashed #f6dfa0b3;outline-offset:2px;background:#fff4b808;border-radius:16% 9% 16% 8%}.elf-hunt-counter{border:1px dashed #9d9e76;background:#e6e7cc;border-radius:4px 7px 5px 8px;color:#5f7153}.elf-hunt-counter b{color:#ac4759}.village-toolbar{color:#6d7759;font-size:11px;margin:15px 0 12px}.village-toolbar button{font-family:var(--serif);font-weight:700;border:1.5px solid #7e9270;border-radius:4px 6px 5px 7px;background:#e8ebd2;color:#355638;box-shadow:1px 2px #60744e24}.btn{background:#3b6b4b;color:#fff6dc;border:1.5px solid #263e2d;border-radius:5px 9px 5px 7px;box-shadow:2px 4px 0 #203a2d;font-family:var(--serif);font-size:12px;padding:11px 19px}.btn:active{box-shadow:1px 1px #203a2d;transform:translateY(2px)}.btn.red{background:#bd4358;border-color:#75313d;box-shadow:2px 4px #71323b}.btn.secondary{background:#e8ebd2;color:#4d6843;border-color:#7d9270;box-shadow:2px 3px #647c5140}.info-card{border:1.5px solid #8f9876;border-radius:6px 11px 7px 10px;background:#faf4df;box-shadow:3px 4px #7b8e6e30}.info-card:nth-child(2){background:#e9ecd3}.info-card h3{font-family:var(--serif);font-size:22px;color:#31573a}.info-icon{background:#e8dcba;border:1px solid #c8b98d;border-radius:42% 49% 44% 48%}.collect-card{border:1.5px solid #7f8e6e;border-radius:5px 10px 6px 9px;box-shadow:3px 4px #8c977738;background:#fbf4e2}.collect-card h3{font-family:var(--serif);color:#36573d;min-height:48px}.collect-card small{font-size:9px;color:#a54d55}.collect-art{background-image:radial-gradient(#98835922 .5px,transparent .7px);background-size:4px 4px}.collection-filters button{font-family:var(--serif);border-radius:4px 7px 4px 6px;border-color:#9ba687;background:#f8f0d9}.collection-filters button.selected{background:#64845b;border-color:#3b5e42}.collect-card.locked{background:#eae7d6}.toy-tag{background:#e4e8cb;color:#6c7c50;border-radius:4px 6px 4px 7px}dialog{border:2px solid #768463;border-radius:10px 19px 12px 17px;background-color:#f9f0d9;background-image:radial-gradient(#ac8f6020 .55px,transparent .7px);background-size:5px 5px;box-shadow:6px 8px #31433355,0 35px 90px #14271966;width:min(1050px,calc(100% - 24px));padding:35px 28px}dialog h2{font-family:var(--serif);color:#35523c;font-size:31px;letter-spacing:-.7px}.close{border:1.5px solid #899b75;border-radius:40% 49% 43% 48%;background:#e2e8c9;color:#4d7048}.modal-sound{border:1px solid #c1c39b;border-radius:4px 7px 5px 6px;color:#737e58;background:#eeecd2;font-size:9px}.lab-game{border:1.5px solid #9a9c79;border-radius:7px 10px 7px 12px;background:#eee9d4}.message-card{background:#e5e8cc;border:1.5px dashed #99a17a;border-radius:6px 11px 7px 9px;font-family:var(--serif);font-size:22px;color:#536742}.mission-card{background:#f8e8be;border:2px dashed #b79a63;border-radius:5px 11px 7px 10px}.mission-card h3{font-family:var(--serif);color:#a14557}.mission-card p{color:#6e6551}.riddle-scribble,.handwritten-tag{font-family:var(--serif);font-weight:900;font-size:12px;display:inline-block;color:#a24858;transform:rotate(-3deg)}.elf-riddle{padding:23px 26px;background:#eee4bd;border:1.5px dashed #a68b61;margin:20px auto;border-radius:6px 10px 6px 9px;max-width:620px}.elf-riddle p{font:700 21px/1.65 var(--serif);color:#6b694a}.riddle-answer{font:800 25px var(--serif);color:#b6455b;padding:18px}.living-nursery{display:grid;grid-template-columns:minmax(0,1fr) 194px;gap:20px;align-items:start}.living-main{min-width:0}.living-stage{position:relative;border:1.5px solid #c6bda8;border-radius:18px;background:#e8e1e9;aspect-ratio:720/600;overflow:hidden;touch-action:none}.living-stage canvas{width:100%;height:100%;display:block;touch-action:none;user-select:none}.living-loading{position:absolute;inset:0;display:grid;place-items:center;background:#f6eddd;color:#99836d;font-family:var(--serif);font-size:16px}.care-target{position:absolute;transform:translate(-50%,-50%);width:110px;height:86px;border:2px dashed #f0d48d;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#a58a56;background:#fff5cf2e;pointer-events:none;font-size:10px;opacity:0;transition:opacity .2s}.care-target.show{opacity:.85}.living-dock{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.living-tool{min-width:0;border:1px solid #b5b995;border-radius:10px 13px 9px 12px;padding:5px 5px 9px;background:linear-gradient(140deg,#fcf8eb,#e4e4ce);box-shadow:1px 3px #9caa8538;touch-action:none;cursor:grab}.living-tool img{display:block;width:100%;height:77px;object-fit:contain;pointer-events:none;user-select:none;filter:drop-shadow(0 3px 2px #77634b22)}.living-tool span{font-size:10px;font-weight:900;color:#6b7856}.living-tool:active{cursor:grabbing;transform:translateY(2px);box-shadow:none}.living-drag{position:fixed;width:105px;height:130px;object-fit:contain;z-index:1000;pointer-events:none;transform:translate(-50%,-50%) rotate(-20deg);filter:drop-shadow(0 8px 4px #68544640)}.living-notes{text-align:left;padding:14px 14px 17px;border:1.5px solid #b4bc95;border-radius:9px 14px 8px 12px;background:#f3eed9}.living-notes h3{font:800 17px/1.4 var(--serif);color:#50714a;margin:13px 0 9px}.living-notes>p{font-size:11px;line-height:1.7;color:#8b8169}.living-notes .care-meter{font-size:10px;color:#87916a}.living-notes .care-meter i{background:#dedfc5}.living-notes .care-meter b{background:linear-gradient(90deg,#b5c58e,#66875b)}.pet-sound,.return-care-item,.rehatch-pet{border:1px solid #a0ae87;background:#e4ebd0;padding:8px 10px;border-radius:5px 8px 4px 7px;color:#57764a;font-size:10px;font-weight:700;display:block;width:100%;margin-top:13px}.pet-sound{background:#e7d2b3;color:#8d6a4c;border-color:#c7b28c}.living-status{font-family:var(--serif);font-size:13px;color:#a15d6b;margin-top:16px}.workshop-stage{position:relative;aspect-ratio:3/2;width:100%;max-width:900px;margin:auto;overflow:hidden;border-radius:13px 19px 13px 17px;border:1.5px solid #9b805e;box-shadow:0 5px #6a57342b;touch-action:none;background:#dfc6a1}.workshop-back,.workshop-front{position:absolute;inset:0;width:100%;height:100%;display:block}.workshop-front{touch-action:none;user-select:none;cursor:grab}.workshop-front:active{cursor:grabbing}.workshop-back{pointer-events:none}.workshop-corner{position:absolute;left:15px;bottom:14px;pointer-events:none;color:#8f7753;font-size:7px;font-family:var(--serif);font-weight:700;letter-spacing:1px;text-align:left;transform:rotate(-5deg)}.tactile-status{font-family:var(--serif);font-size:13px;color:#8d7960;line-height:1.6}.workshop-tools{margin-top:18px}.workshop-tools .btn{font-size:10px}.premium-thumb{width:100%;height:100%;max-height:160px;object-fit:contain}.nest-slider{display:flex;align-items:center;gap:10px;font-size:12px;color:#7b8060}.nest-slider input{width:120px;accent-color:#a74558}.nest-slider output{min-width:35px;font-family:var(--serif);font-weight:900;color:#a54c59}.nest-history{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:10px}.nest-history span{font-size:10px;background:#e4e4ca;border:1px solid #ccc5a0;border-radius:4px;padding:6px 9px;color:#8a8061}.child-pill{border:1.5px solid #a4af89;background:#efeacf;border-radius:5px 9px 5px 8px;display:flex;align-items:center;gap:7px;padding:6px 9px;max-width:160px;color:#61774f;font-size:11px;font-weight:800}.child-pill i{display:grid;place-items:center;width:23px;height:23px;flex-shrink:0;color:#fff5dd;font-family:var(--serif);font-style:normal;border-radius:45% 49% 43% 48%;border:1px solid #0002}.child-pill span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.child-pill b{font-size:12px}.child-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:24px auto;max-width:620px}.child-choice{display:flex;align-items:center;text-align:left;gap:12px;border:1.5px solid #afb998;background:#f2ecd5;border-radius:7px 13px 8px 11px;padding:15px;min-width:0}.child-choice.selected{background:#e1e8c9;border-color:#7d9a6e}.child-choice i{width:37px;height:40px;color:#fff8de;display:grid;place-items:center;border-radius:45% 49% 44% 48%;font:800 24px var(--serif);flex-shrink:0}.child-choice span{font:800 17px var(--serif);min-width:0;overflow-wrap:anywhere}.child-choice small{font:10px/1.5 var(--sans);display:block;margin-top:4px;color:#9a9479}.child-choice b{margin-left:auto;color:#6b8958}.child-form{max-width:620px;margin:auto;padding:20px;border:1px dashed #b9b793;background:#eee6c9;border-radius:8px}.child-form label{display:block;font:800 15px var(--serif);color:#827b53}.child-form input{width:100%;max-width:350px;border:1.5px solid #afb694;border-radius:5px 8px 5px 7px;padding:12px;background:#fffae8;color:#698358;font:14px var(--sans);margin:14px 0 0}.child-form .btn-row .btn{font-size:10px}.lab-game .status-line{color:#8c785f}.status-dot{background:#b28047}.preview-banner{font-size:11px;background:#ead59b;border-bottom:1px dashed #b8955c;color:#7d6744}footer{border-top-color:#c2bc9e;color:#9b9378}footer button{color:#7f8f67}@media(max-width:1200px){.topbar{flex-wrap:wrap}.topbar nav{order:4;width:100%;justify-content:center}.child-pill{margin-left:auto}.brand{font-size:22px}}@media(max-width:700px){.topbar{padding:16px 17px 12px;gap:10px}.brand{font-size:21px;order:1;flex:1}.brand small{font-size:6px}.brand-elf{width:33px;height:39px}.icon-button{order:2}.child-pill{order:3;max-width:190px;margin-left:auto;padding:5px 8px}.topbar nav{order:4;gap:5px}.nav-button{font-size:10px;padding:9px 12px}.hero{padding:25px 16px 13px}.hero h1{font-size:38px;letter-spacing:-1.7px}.hero>p{font-size:11px;max-width:285px}.card-village-section{padding:0 12px}.card-scroller{max-height:65vh}.card-door{font-size:15px}.card-caper{min-width:0}.village-toolbar{font-size:9px;gap:8px}.village-toolbar span{max-width:180px}.village-toolbar button{font-size:9px;padding:6px 8px}.elf-hunt-counter{font-size:9px;padding:11px 10px;gap:9px}.elf-hunt-counter span{max-width:220px}.elf-hunt-counter b{font-size:8px}dialog{width:calc(100% - 16px);max-height:94dvh;padding:36px 13px 22px}dialog h2{font-size:25px}.living-nursery{grid-template-columns:1fr;gap:15px}.living-notes{display:grid;grid-template-columns:1fr 1fr;gap:0 12px;padding:12px}.living-notes .handwritten-tag,.living-notes h3,.living-notes>p{grid-column:1/-1}.living-notes h3{margin:7px 0}.living-notes>p{margin:2px 0 9px}.living-notes .pet-sound{grid-column:1/-1;max-width:210px;margin:0 auto 5px}.living-notes .care-meter{margin:9px 0}.living-notes .rehatch-pet{grid-column:2}.living-notes .return-care-item{grid-column:1}.living-dock{gap:7px;margin-top:9px}.living-tool img{height:63px}.living-tool span{font-size:8px}.living-tool{padding:4px 2px 7px}.living-status{font-size:11px}.living-stage{border-radius:13px}.care-target{width:83px;height:65px;font-size:8px}.living-drag{width:85px;height:109px}.workshop-corner{font-size:5px;left:8px;bottom:8px;letter-spacing:.6px}.workshop-tools{gap:8px}.workshop-tools .btn{padding:8px 11px;font-size:9px}.tactile-status{font-size:11px}.child-list{grid-template-columns:1fr;gap:10px}.child-choice{padding:12px}.child-choice span{font-size:16px}.child-form{padding:17px 12px}.child-form .btn-row{gap:8px}.child-form .btn-row .btn{font-size:9px}.elf-riddle{padding:20px 17px}.elf-riddle p{font-size:18px}.nest-slider{font-size:10px;gap:7px}.nest-slider input{width:90px}.nest-history span{font-size:9px}.info-card h3{font-size:19px}.collect-card h3{font-size:16px}.collect-card p{font-size:10px}.collect-card small{font-size:8px}}
