@font-face{font-family:Lato;src:url('/public/fonts/Lato-Regular.ttf')}@font-face{font-family:Lato;src:url('/public/fonts/Lato-Bold.ttf');font-weight:700}@font-face{font-family:Caladea;src:url('/public/fonts/Caladea-Regular.ttf');font-display:swap}
:root{--paper:#f8f7f2;--surface:#fffefa;--ink:#303c32;--muted:#697267;--line:#e4e5d9;--green:#365f49;--soft:#eaf0e2;--gold:#d2a758;--radius:12px;font-family:Lato,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button,a,input,select,canvas{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,canvas:focus-visible{outline:2px solid var(--green)}button{color:inherit}button:disabled{cursor:not-allowed;opacity:.55}a{color:inherit}[hidden]{display:none!important}h1,h2,h3,p{margin:0}button{transition:background .15s,transform .15s}button:active:not(:disabled){transform:translateY(1px)}.brand{display:flex;align-items:center;gap:10px;font-size:25px;font-weight:700;letter-spacing:-1px;text-decoration:none;padding:0 7px}.brand-mark{background:var(--green);color:#dfe5c6;border-radius:9px;font-size:30px;width:36px;height:36px;display:grid;place-items:center;line-height:1}.brand-grove{font-weight:400}main{min-width:0;padding:0 38px}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb span{margin:0 14px;color:#b0b4a5}.breadcrumb strong{color:var(--ink);font-weight:400}.eyebrow{font-size:9px;letter-spacing:1.7px;color:#718066;font-weight:700;margin-bottom:10px}h1{font-family:Caladea,serif;font-weight:400;font-size:37px;letter-spacing:-.6px;line-height:1.12}h1>span{color:#88a46f}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:7px;font-size:12px;font-weight:700;padding:12px 16px;min-height:42px;border:1px solid transparent;white-space:nowrap}.button.secondary{background:var(--surface);border-color:#d8decf;color:#4b634a}.button.secondary:hover{background:#edf1e7}.button.primary{background:var(--green);color:#fffefa}.button.primary:hover{background:#294b38}.text-button{border:0;background:transparent;color:#5d7653;font-size:11px;padding:5px 0}.text-button:hover{color:#27482e;text-decoration:underline}kbd{display:inline-grid;place-items:center;min-width:15px;height:17px;border:1px solid #dce0d1;border-bottom-width:2px;border-radius:3px;background:#f7f8f0;font:9px Lato;color:#62725b;margin-right:2px}.small-label{font-size:8px;letter-spacing:1px;font-weight:700;color:#78846b;margin-bottom:7px}h3{font-family:Caladea,serif;font-size:21px;font-weight:400}.round-button{background:transparent;border:1px solid var(--line);border-radius:50%;width:27px;height:27px;margin-left:auto;flex-shrink:0;color:#74836a}label{display:block;font-size:10px;font-weight:700;color:#59684f;margin-bottom:8px}input:not([type=checkbox]):not([type=file]),select{width:100%;border:1px solid #dfe2d6;border-radius:6px;padding:11px 10px;font-size:11px;background:#fafbf5;color:var(--ink)}input::placeholder{color:#798170}input[type=checkbox]{accent-color:var(--green)}.next-card{display:flex;gap:12px;padding:21px 10px 0}.seed-art{font-size:32px;line-height:1;color:#92a776}.next-card .small-label{font-size:7px;letter-spacing:.6px}.next-card h3{font-size:18px}.next-card p:not(.small-label){font-size:10px;color:var(--muted);line-height:1.6;margin:7px 0}.next-card .text-button{font-size:10px}.page-footer{display:flex;justify-content:space-between;gap:15px;padding:27px 0 24px;font-size:9px;color:#829076}.page-footer>span:last-child{color:#939b8c}.creator-preview{background:#edf2e4;border:1px solid #e0e7d5;border-radius:9px;display:flex;flex-direction:column;align-items:center;padding:17px;margin-bottom:24px;gap:10px}.creator-preview canvas{width:240px;height:120px;image-rendering:pixelated}.creator-preview span{font-size:11px;color:var(--muted)}.creator-columns{display:grid;grid-template-columns:1fr 1fr;gap:26px}.creator-columns fieldset{padding:0;border:0;min-width:0}.creator-columns legend{font-family:Caladea;font-size:23px;margin-bottom:16px}.creator-columns label{margin-top:15px}.swatches{display:flex;gap:10px}.swatch{width:31px;height:31px;border-radius:50%;border:3px solid var(--surface);box-shadow:0 0 0 1px #dce1d3}.swatch[aria-pressed=true]{box-shadow:0 0 0 2px var(--green)}.dialog-footer{border-top:1px solid var(--line);margin-top:25px;padding-top:20px;display:flex;align-items:center;justify-content:space-between;gap:18px}.dialog-footer p{font-size:10px;color:var(--muted)}.dialog-intro{font-size:12px;line-height:1.7;color:var(--muted);margin-bottom:20px}.dialog-intro strong{color:var(--green)}.shop-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.shop-item{border:1px solid var(--line);border-radius:8px;padding:17px;background:#f7f9f1}.shop-item canvas{image-rendering:pixelated;width:64px;height:60px;display:block;margin:0 auto 13px}.shop-item h3{font-size:20px}.shop-item p{font-size:11px;color:var(--muted);margin:8px 0 14px;line-height:1.5}.shop-item .button{width:100%;padding:9px;font-size:11px;min-height:35px}.bag-heading{margin:23px 0 8px}.bag-heading span{font:11px Lato;color:var(--muted)}.bag-help{font-size:11px;color:var(--muted);line-height:1.5;margin-bottom:15px}.bag-items{display:flex;gap:9px;flex-wrap:wrap}.bag-items button{font-size:11px;border:1px solid #cdd9be;border-radius:6px;background:#eef3e6;padding:10px 12px}.bag-items p{font-size:12px;color:var(--muted)}.interaction-copy{font-size:14px;line-height:1.8;color:var(--muted);margin-bottom:24px}.interaction-actions{display:flex;gap:12px;flex-wrap:wrap}.toggle-label{display:flex;align-items:center;gap:10px;font-size:13px;padding:14px 0}.backup-actions{display:flex;gap:10px;margin:14px 0}.backup-actions label{margin:0;cursor:pointer}.settings-note{font-size:11px;color:var(--muted);line-height:1.7;margin-top:15px}
@media(min-width:1550px){main{padding:0 55px}h1{font-size:43px}}
@media(max-width:1200px){main{padding:0 25px}.small-label{font-size:7px}.brand{font-size:22px}}
@media(max-width:1000px){main{padding:0 20px}.next-card{align-items:center;padding:0}.brand{font-size:19px;gap:7px;padding:0}.brand-mark{width:30px;height:30px;font-size:25px}}
@media(max-width:650px){.brand{font-size:24px}main{padding:0 18px}.breadcrumb{font-size:10px}.breadcrumb span{margin:0 7px}.eyebrow{font-size:7px;letter-spacing:1.4px}.small-label{font-size:8px}input:not([type=checkbox]):not([type=file]),select{font-size:13px}.next-card{padding:23px 6px;align-items:flex-start}.next-card .small-label{font-size:8px}.next-card h3{font-size:23px}.next-card p:not(.small-label){font-size:12px}.next-card .text-button{font-size:12px}.page-footer{font-size:8px;padding-top:10px}.page-footer>span:last-child{display:none}.creator-columns{gap:20px}.creator-columns legend{font-size:21px}.creator-columns label{font-size:10px}.swatches{gap:7px}.swatch{width:27px;height:27px}.dialog-footer{flex-direction:column;align-items:stretch}.dialog-footer .button{width:100%}.shop-grid{gap:10px}.shop-item{padding:12px}.shop-item h3{font-size:18px}.shop-item p{font-size:10px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
/* Play-first layout: the world owns the page; tools open on demand. */.brand{font-size:21px;gap:8px;padding:0}.brand-mark{width:31px;height:31px;font-size:25px}main{padding:0 26px}.small-label{font-size:7px}.empty-hint{font-size:12px;color:var(--muted);padding:10px 0}.inline-form{display:flex;gap:10px}.inline-form .button{min-width:62px}textarea{display:block;width:100%;resize:vertical;min-height:60px;font:13px Lato;color:var(--ink);background:#f8faf2;border:1px solid #d7dfca;border-radius:7px;padding:13px;line-height:1.7;margin:8px 0 15px}textarea:focus-visible{outline:2px solid var(--green);outline-offset:3px}.task-list{margin:18px 0 24px}.task-row{display:flex;gap:11px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}.task-row>span{flex:1;font-size:13px;overflow-wrap:anywhere}.task-row.done>span{text-decoration:line-through;color:#809072}.task-row input{width:16px;height:16px;flex-shrink:0}.task-row button{flex-shrink:0}.task-row button:last-child{padding:5px 9px;font-size:20px}#notes-status{font-size:11px;color:var(--green);margin-left:12px}.flashcard{display:flex;flex-direction:column;gap:18px;align-items:center;justify-content:center;width:100%;min-height:190px;border:1px solid #cdd9be;border-bottom:4px solid #cdd9be;border-radius:10px;background:#edf2e4;padding:25px;margin:14px 0;color:var(--ink)}.flashcard>span{font-family:Caladea;font-size:25px;line-height:1.5;overflow-wrap:anywhere;white-space:pre-wrap}.flashcard small{font:10px Lato;color:var(--muted)}#card-counter{font-size:11px;color:var(--muted)}.card-actions{display:flex;justify-content:space-between;gap:9px;margin-bottom:24px}.card-actions .button{min-height:34px;padding:8px 12px}details{border-top:1px solid var(--line);padding-top:17px}summary{cursor:pointer;font-size:13px;color:var(--green)}details form{padding-top:18px}.quest-row{display:flex;align-items:center;gap:20px;justify-content:space-between;padding:17px 0;border-bottom:1px solid var(--line)}.quest-row strong{font-size:14px}.quest-row small{display:block;font-size:11px;color:var(--muted);margin-top:6px}.quest-row .button{min-height:33px;font-size:11px;padding:8px 12px}.quest-row.claimed{opacity:.6}.collection-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:16px 0 25px}.collection-item{display:grid;place-items:center;min-height:85px;border:1px dashed #cbd6bc;border-radius:8px;font:30px Caladea;color:#99a78d}.collection-item.found{border-style:solid;background:#eaf1df;font:14px Lato;color:var(--green);text-align:center;padding:12px}#collection-dialog h3 span{font:11px Lato;color:var(--muted);margin-left:6px}#fish-preview{display:block;width:100%;height:130px;image-rendering:pixelated;object-fit:cover;border-radius:9px;margin-bottom:19px}#fishing-result{font-size:13px;color:var(--muted);line-height:1.6;min-height:41px}.fishing-meter{position:relative;height:28px;background:#e7dec3;border:1px solid #cbbc98;border-radius:7px;margin:12px 0 23px;overflow:hidden}.catch-zone{position:absolute;height:100%;left:35%;width:30%;background:#97b67e}#fishing-marker{position:absolute;left:0;top:0;width:4px;height:100%;background:#365d45;transform:translateX(-2px)}.fishing-actions{display:flex;gap:10px;flex-wrap:wrap}.bag-items>.bag-heading{flex-basis:100%;margin-top:12px}.creator-preview{padding:10px;margin-bottom:19px}.dialog-intro{margin-bottom:15px}.settings-note{font-size:11px}
@media(max-width:1100px){main{padding:0 20px}.brand{font-size:18px;gap:6px}.brand-mark{width:27px;height:27px}}
@media(max-width:650px){.brand{font-size:22px}.brand-mark{width:30px;height:30px}main{padding:0 12px}.small-label{font-size:6px}.card-actions{flex-wrap:wrap;gap:6px}.card-actions .button{font-size:11px;padding:8px 10px}.collection-grid{gap:7px}.collection-item.found{font-size:11px}.flashcard>span{font-size:22px}.fishing-actions .button{font-size:11px}}

/* Character workshop and immersive play */.sprite-choice[aria-pressed=true]{background:#e3ecd8;border-color:#68815a;box-shadow:inset 0 0 0 1px #68815a}.creator-columns{gap:22px}.creator-columns fieldset{min-width:0}.creator-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.creator-columns label{margin-top:14px}.sprite-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:10px 0 15px}.pet-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}.sprite-choice{display:flex;flex-direction:column;align-items:center;gap:5px;padding:8px 4px;background:#f2f5e9;border:1px solid #d6dfcb;border-radius:8px;font-size:11px;text-transform:capitalize;min-width:0}.sprite-choice:hover{background:#e5edd9;transform:translateY(-2px)}.sprite-choice canvas{height:54px;width:auto;image-rendering:pixelated}.creator-preview canvas{width:240px;max-width:100%;image-rendering:pixelated}.creator-save{position:sticky;bottom:-24px;background:var(--surface);padding:16px 0;margin-top:12px;border-top:1px solid var(--line)}#pixel-section{padding-top:20px;margin-top:20px;border-top:1px solid var(--line)}.pixel-workspace{display:grid;grid-template-columns:256px 1fr;gap:22px;margin-top:16px;align-items:start}#pixel-editor{width:256px;max-width:100%;height:auto;image-rendering:pixelated;touch-action:none;cursor:crosshair;border:2px solid #7e9669;border-radius:6px}.pixel-workspace .swatches{flex-wrap:wrap;gap:8px}.pixel-actions{display:flex;flex-wrap:wrap;gap:7px;margin:18px 0}#pixel-status{font-size:12px;color:var(--muted);line-height:1.6}.person-card{display:flex;align-items:center;gap:16px;padding:14px 0;border-top:1px solid var(--line)}.person-card canvas{width:72px;height:66px;image-rendering:pixelated;background:#edf1e4;border-radius:8px}.person-card>div{flex:1}.person-card p{font-size:12px;color:var(--muted);margin-top:6px}.villager-preview{display:flex;align-items:center;gap:20px;margin:16px 0}.villager-preview canvas,#villager-preview{image-rendering:pixelated;width:96px;height:88px;background:#ecf1df;border-radius:10px}#villager-role{font-size:12px;color:var(--muted)}#villager-line{font-family:Caladea,serif;font-size:23px;line-height:1.5;margin:20px 0}#villager-actions{display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:700px){.creator-columns{grid-template-columns:1fr}.pixel-workspace{grid-template-columns:1fr}.pixel-workspace>div{max-width:320px}#pixel-editor{margin:auto}.creator-preview{padding:10px}.person-card{gap:10px}.person-card .button{padding:8px}}
@media(prefers-reduced-motion:reduce){.sprite-choice:hover{transform:none}}

.person-card small{display:block;font-size:12px;color:var(--muted);margin-top:6px}

/* The play cabinet: room styling, companion games and travel. */
.activity-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.activity-tile{display:flex;flex-direction:column;align-items:flex-start;gap:9px;min-height:125px;padding:18px;background:#eef2e5;border:1px solid #d4dec6;border-radius:10px;text-align:left}.activity-tile:hover{background:#e3ecd5}.activity-tile>span{font-size:30px;color:#6b8357}.activity-tile strong{font-size:14px}.activity-tile small{font-size:11px;color:var(--muted)}.badges-heading{margin:24px 0 15px}.badges-list{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.milestone-badge{display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center;padding:12px 4px;background:#f2f2eb;border-radius:8px;border:1px dashed #d5d8cc;color:#8b9282}.milestone-badge>span{font-size:23px}.milestone-badge strong{font-size:10px}.milestone-badge small{font-size:9px}.milestone-badge.earned{background:#f7edcc;border:1px solid #d5bf80;color:#76612e}#room-preview{display:block;width:100%;aspect-ratio:5/3;image-rendering:pixelated;border-radius:9px;margin:14px 0;background:#d8c4a0}.workshop-controls{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.workshop-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:20px 0 14px}.workshop-tabs button{padding:9px 15px;background:#f4f5ed;border:1px solid #d8dfcc;border-radius:20px;font-size:12px}.workshop-tabs button[aria-pressed=true]{background:var(--green);color:var(--surface);border-color:var(--green)}.room-style-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.room-style-card{display:flex;flex-direction:column;gap:10px;padding:9px;background:#f5f6ed;border:1px solid var(--line);border-radius:9px;min-width:0}.room-style-card.equipped{border-color:#70915b;background:#eaf0de}.room-style-card canvas{width:100%;height:auto;image-rendering:pixelated;border-radius:5px}.room-style-card strong{font-size:12px}.room-style-card .button{min-height:34px;padding:7px;font-size:11px}#room-workshop-status{font-size:11px;color:var(--muted);margin-top:16px}.pet-stage{display:flex;align-items:center;gap:20px;background:#edf2e2;border-radius:10px;padding:6px 18px;margin:16px 0}.pet-stage canvas{width:160px;max-width:46%;height:auto;image-rendering:pixelated;transform-origin:50% 72%}.pet-stage>div{flex:1}.pet-stage strong{font-size:12px}.pet-stage small{display:block;font-size:11px;color:var(--muted);margin-top:9px}.pet-bond-track{height:5px;background:#d7e1c6;margin-top:9px;border-radius:10px;overflow:hidden}.pet-bond-track span{display:block;height:100%;background:#85a36d}.pet-care-actions,.pet-tricks{display:flex;gap:7px;flex-wrap:wrap}.pet-tricks{margin-top:10px}.pet-tricks .button{padding:8px 12px;min-height:34px;font-size:11px;background:#f4ecd9;border-color:#e2d4ad;color:#796239}#pet-care-status,#matching-status{min-height:20px;font-size:12px;color:var(--muted);margin:12px 0;line-height:1.5}.matching-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid var(--line);padding-top:19px;margin-top:20px}.matching-heading p{font-size:11px;color:var(--muted);margin-top:6px}.matching-board{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:15px}.matching-card{position:relative;display:grid;place-items:center;aspect-ratio:1.15;min-height:50px;border:1px solid #b6c6a1;border-bottom-width:3px;background:#dce7cb;border-radius:8px;overflow:hidden}.matching-card>span{font-size:23px;color:#82985c}.matching-card canvas{display:none;width:46px;height:46px;image-rendering:pixelated}.matching-card.revealed{background:#edf2e2;border-color:#95ae75}.matching-card.revealed>span{display:none}.matching-card.revealed canvas{display:block}.matching-card.matched{background:#f4edd4;border-color:#cabb82}.matching-card:disabled{opacity:1;cursor:default}.matching-card:hover:not(:disabled){background:#e8efd9}.starter-decks{display:flex;gap:7px;flex-wrap:wrap;margin:14px 0}.starter-decks .button{padding:7px 9px;min-height:32px;font-size:10px}.trick-sit{animation:pet-sit .9s ease-in-out}.trick-spin{animation:pet-spin .9s steps(4)}.trick-jump{animation:pet-jump .75s ease-in-out}@keyframes pet-sit{40%,75%{transform:translateY(8px) scaleY(.85)}}@keyframes pet-spin{25%,75%{transform:scaleX(-1)}50%,100%{transform:scaleX(1)}}@keyframes pet-jump{40%{transform:translateY(-22px)}75%{transform:translateY(0)}85%{transform:scaleY(.9)}}
@media(max-width:520px){.activity-grid{gap:8px}.activity-tile{padding:12px;min-height:120px}.room-style-items{gap:7px}.room-style-card{padding:6px}.room-style-card strong{font-size:10px}.workshop-controls{gap:8px}.workshop-tabs{gap:5px}.workshop-tabs button{padding:8px 10px}.pet-stage{gap:12px;padding:6px 12px}.pet-care-actions .button{padding:9px 11px;font-size:11px}.matching-card canvas{width:40px;height:40px}}
@media(prefers-reduced-motion:reduce){.trick-sit,.trick-spin,.trick-jump{animation:none}}

/* Atlas, discovery guidance and the adventurer wardrobe. */#passport-worlds h3{margin:20px 0 12px}#passport-summary{font-size:12px;color:var(--muted);margin-top:18px}.star-order{font-size:12px;color:var(--muted);margin:14px 0}.star-board{height:250px;position:relative;border:1px solid #6c7894;background:radial-gradient(ellipse at 35% 30%,#3a4f6e,#253447);border-radius:10px;margin:15px 0}.star-board:before{content:'✦  ·  ✧';position:absolute;left:7%;top:14%;color:#b7c3cd;font-size:14px;letter-spacing:25px}.star-point{position:absolute;transform:translate(-50%,-50%);width:40px;height:40px;border:2px solid #cdcfb3;border-radius:50%;color:#f7e8b6;background:#526984;font-weight:700;font-size:15px;box-shadow:0 0 0 4px #aeb9bd12}.star-point.linked{background:#e6c774;border-color:#faefc3;color:#4b5361;opacity:1}.star-point:active{transform:translate(-50%,-50%)!important}#star-status{font-size:12px;color:var(--muted);margin:12px 0 18px}.breath-orb{display:grid;place-items:center;width:160px;height:160px;border-radius:50%;margin:40px auto;background:#d7e4d2;box-shadow:0 0 0 14px #eaf0e2,0 0 0 28px #f3f5ed;color:#51755b;transition:transform 4s ease-in-out}.breath-orb.expanded{transform:scale(1.22)}.breath-orb.still{transition:none;transform:none}#breath-progress{font-size:12px;line-height:1.6;color:var(--muted);margin:28px 0 20px}.boutique-note,.coin-rules{font-size:12px;line-height:1.7;color:var(--muted);margin:15px 0}#boutique-wallet{font-size:12px;color:var(--muted);margin-top:7px}.boutique-characters{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:20px 0}.character-offer{display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px 8px;border:1px solid #d9decf;border-radius:10px;background:#f0f3e8;text-align:center;min-width:0}.character-offer.owned{background:#e8efdb;border-color:#b3c397}.character-offer.equipped{border-color:#5c7c4d;box-shadow:inset 0 0 0 1px #5c7c4d}.character-offer canvas{width:72px;height:72px;image-rendering:pixelated}.character-offer>strong{font-family:Caladea,serif;font-size:22px;font-weight:400}.character-offer small{font-size:10px;color:var(--muted)}.character-offer .button{margin-top:auto;width:100%;padding:7px;font-size:11px;min-height:34px}.boutique-items{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.boutique-items .button{font-size:11px;padding:9px 12px}.coin-summary{display:flex;align-items:baseline;gap:12px;margin-top:20px}.coin-summary>strong{font-family:Caladea,serif;font-weight:400;font-size:48px;color:#9c7c3d}.coin-summary span{font-size:12px;color:var(--muted)}.coin-price-guide{padding:12px;background:#f4eddb;border:1px solid #e2d6b6;border-radius:8px;font-size:11px;line-height:1.6;margin-bottom:24px}.coin-opening,.coin-history-note{font-size:10px;color:var(--muted);line-height:1.6;margin-top:14px}.coin-transaction{display:grid;grid-template-columns:1fr auto;gap:5px 12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.coin-transaction small{font-size:9px;color:var(--muted)}.coin-transaction strong{grid-column:2;grid-row:1/3;align-self:center}.coin-transaction.earned strong{color:#53794f}.coin-transaction.spent strong{color:#a07854}.villager-intro{display:flex;align-items:center;gap:18px;margin-top:16px}.villager-intro>div{flex:1}#creator-boutique-open{margin-top:18px}
@media(max-width:850px){.boutique-characters{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:600px){.boutique-characters{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.character-offer{padding:10px 5px}.character-offer>strong{font-size:20px}.character-offer small{font-size:9px}.villager-intro{align-items:flex-start}.villager-intro #villager-line{font-size:19px}.star-board{height:220px}}
@media(prefers-reduced-motion:reduce){.breath-orb{transition:none;transform:none!important}}
.star-board svg{position:absolute;width:100%;height:100%;inset:0;pointer-events:none}.matching-card{transition:background .18s,border-color .18s,transform .18s}.matching-card.revealed:not(.matched){transform:translateY(-2px)}.character-offer:hover canvas{animation:wardrobe-bob .6s steps(2) infinite}@keyframes wardrobe-bob{50%{transform:translateY(-2px)}}@media(prefers-reduced-motion:reduce){.character-offer:hover canvas{animation:none}.matching-card{transition:none}}

/* --- Multiplayer P2P, Multi-Server Lobbies, Floating HUD & Modernized UI --- */
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-dot.p2p { background: #38a169; box-shadow: 0 0 6px #38a169; }
.status-dot.relay { background: #d69e2e; box-shadow: 0 0 6px #d69e2e; }
.status-dot.offline { background: #a0aec0; }

/* Lobby Browser Dialog */
.lobby-tabs {
  display: flex;
  gap: 8px;
  margin: 12px 0 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.tab-btn {
  background: transparent;
  border: 1px solid transparent;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.tab-btn.active {
  background: #e8efe0;
  border-color: #cad8bd;
  color: #274c33;
}
.lobby-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.lobby-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: #f7f9f2;
  border: 1px solid #dbe2d1;
  border-radius: 12px;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.lobby-card:hover {
  transform: translateY(-2px);
  border-color: #9ab48a;
  box-shadow: 0 6px 18px rgba(45, 60, 40, 0.06);
}
.lobby-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lobby-template-badge {
  font-size: 10px;
  font-weight: 700;
  color: #3b5a41;
  background: #e3ebd8;
  padding: 3px 8px;
  border-radius: 6px;
}
.lobby-capacity {
  font-size: 10px;
  color: var(--muted);
}
.lobby-title {
  font-family: Caladea, serif;
  font-size: 20px;
  font-weight: 400;
}
.lobby-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.lobby-tag {
  font-size: 9px;
  background: #edf1e4;
  color: #5c6e54;
  padding: 2px 6px;
  border-radius: 4px;
}
.lobby-card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid #e2e8d9;
}
.lobby-mode-indicator {
  font-size: 11px;
  color: #4b6145;
}
.create-lobby-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.range-caption {
  font-size: 11px;
  color: var(--muted);
}

/* Emote Wheel Modal */
.emote-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: #f2f6eb;
  border: 1px solid #d4dec8;
  border-radius: 10px;
  padding: 10px 8px;
  min-width: 64px;
  transition: transform 0.15s, background 0.15s;
}
.emote-btn:hover {
  background: #e3eed7;
  transform: scale(1.08);
}
.emote-btn .icon {
  font-size: 24px;
}
.emote-btn small {
  font-size: 9px;
  color: #556b50;
}

/* Proximity Chat Bar */

/* Soundscapes Drawer */
.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #2b4530;
}
.close-sound {
  background: transparent;
  border: 0;
  font-size: 16px;
  color: var(--muted);
  cursor: pointer;
}
.sound-slider-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sound-slider-group label {
  font-size: 10px;
  color: #4a6147;
}

/* Zen Focus Mode */

@media(max-width: 650px) {
  .lobby-list {
    grid-template-columns: 1fr;
  }
}
/* Fernwood destinations and a persistent timer entry point. */
/* Fullscreen is a dedicated game surface, independent of the page grid. */
/* Keep independent multiplayer overlays and Zen sizing out of this surface. */

/* Fernwood field journal: ink, linen, and a world framed like a keepsake. */
:root{--paper:#f4f1e8;--surface:#fffdf6;--ink:#293f34;--muted:#6e796c;--line:#dddccf;--green:#315844;--soft:#e7ecdd;--radius:16px}
@font-face{font-family:Lato;src:url('/public/fonts/Lato-Regular.ttf');font-display:swap}
@font-face{font-family:Lato;src:url('/public/fonts/Lato-Bold.ttf');font-weight:700;font-display:swap}
.skip-link{position:fixed;top:12px;left:12px;transform:translateY(-160%);z-index:20;background:var(--surface);padding:12px 18px;border-radius:8px}.skip-link:focus{transform:none}
.brand{font-size:24px;letter-spacing:-.8px}.brand-mark{background:#e3e8d0;color:#315844;border-radius:10px;width:34px;height:34px}
main{padding:0 32px 20px;max-width:1600px;width:100%;margin:auto}.breadcrumb{font-size:12px}.small-label{font-size:9px;letter-spacing:1.3px}.dialog-intro{font-size:13px;line-height:1.65}
@media(min-width:1500px){main{padding-left:44px;padding-right:44px}}
@media(max-width:1200px){main{padding:0 24px 18px}}
@media(max-width:650px){.brand{font-size:23px}main{padding:0 12px 14px}.breadcrumb{font-size:11px}.small-label{font-size:8px}}

/* Shared rooms keep people and their presence next to the world. */.presence-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px}.presence-heading strong{font:23px Caladea,serif;letter-spacing:-.4px}.presence-heading p{font-size:11px;color:#6c7c60;margin-top:5px}.presence-heading .text-button{font-size:11px}.presence-players{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:252px;overflow:auto}.presence-player{display:flex;align-items:center;gap:9px;min-width:0;background:#eff2e5;border-radius:8px;padding:9px 10px}.presence-player canvas{width:28px;height:30px;image-rendering:pixelated;flex-shrink:0}.presence-player>div{min-width:0;flex:1}.presence-player strong{display:block;font-size:12px;font-weight:700;overflow-wrap:anywhere}.presence-player small{display:block;margin-top:4px;color:#71806a;font-size:10px}.presence-badge{font-size:10px;line-height:1.5;padding:4px 7px;border-radius:5px;white-space:nowrap;background:#e1e6d5;color:#647356;flex-shrink:0}.presence-player[data-status=focused]{background:#e5edda}.presence-player[data-status=focused] .presence-badge{background:#375f48;color:#f6f8ec}.presence-player[data-status=paused] .presence-badge,.presence-player[data-status=resting] .presence-badge{background:#eee3c9;color:#81663d}.presence-player[data-status=idle],.presence-player[data-status=away],.presence-player[data-status=offline]{background:#f3f2e9}.presence-player[data-status=offline]{opacity:.65}
@media(max-width:950px){.presence-players{grid-template-columns:1fr}.presence-badge{font-size:10px}}
@media(max-width:650px){.presence-heading strong{font-size:21px}.presence-player{gap:7px;padding:9px 8px}.presence-player strong{font-size:11px}.presence-badge{white-space:normal;max-width:125px;text-align:right}}
