/* Warm paper, timber frames and a single readable goal. */
body.cozy-mode{--cozy-paper:#fffaf0;--cozy-ink:#304c3c;--cozy-wood:#c8a977;color-scheme:light;background:#f4f4e9;background-image:radial-gradient(ellipse at 0 0,#e8f3e5,transparent 65%),radial-gradient(ellipse at 100% 20%,#fbedd7,transparent 55%)}
body.player-ux.cozy-home main{display:block;max-width:1480px;padding-top:12px}.cozy-home #loft-status{display:none}.cozy-home #stats .stat{padding:8px 12px;box-shadow:none}.cozy-home #stats .stat b{font-size:21px}.cozy-home #cloud-status{padding-bottom:3px}.cozy-home #ux-home-heading{display:none}.cozy-home #ux-coach,.cozy-home #clock-onboarding{display:none!important}
.cozy-mode #cozy-more{margin:2px 0 8px;text-align:end}.cozy-mode #cozy-more>summary{display:inline-flex;gap:12px;min-height:34px;padding:5px 12px;border:1px solid #d8cdb7;border-radius:9px;background:#fffbf2;color:#62704e;font-size:12px;cursor:pointer}.cozy-mode #cozy-more>summary:before{display:none}.cozy-more-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:8px 0 12px}.cozy-more-links button{display:flex;align-items:center;justify-content:center;gap:8px;background:var(--section-pale);border:1px solid var(--section-line);color:var(--section-ink);min-height:46px}.cozy-more-links svg{width:22px;height:22px}.cozy-mode #tabs{padding-bottom:10px}
#cozy-next{border:1px solid #d2bd94;border-radius:17px;background:linear-gradient(120deg,#fffdf5,#f5f4e3);box-shadow:0 4px 14px #856a3710;margin:0 0 14px;overflow:hidden;color:var(--cozy-ink)}.cozy-goal-top{display:flex;align-items:center;justify-content:space-between;padding:8px 16px;background:#ecefdc;border-bottom:1px solid #dce1ca;font-size:11px;font-weight:650;letter-spacing:.03em}.cozy-cups{display:flex;align-items:center;gap:6px;min-height:28px!important;padding:2px 9px;background:#fff8dd;color:#916e24;border-radius:9px}.cozy-cups svg{width:18px;height:18px}.cozy-goal-body{display:flex;align-items:center;gap:16px;padding:15px 18px}.cozy-goal-body>.photo-portrait{width:62px;height:64px;flex:0 0 62px;background:#ebe8d6;border-radius:50%;overflow:hidden}.cozy-goal-body>div{flex:1;min-width:0}.cozy-goal-body small{font-size:11px;color:#7f8063}.cozy-goal-body h2{font-size:22px;line-height:1.25;margin:3px 0 5px;font-family:Georgia,serif;color:#355539!important}.cozy-goal-body p{font-size:13px;line-height:1.5;margin:0;color:#647357}.cozy-goal-body>button{flex-shrink:0;max-width:230px;background:#42674d;border:1px solid #31543d;color:#fffbe9;border-radius:12px;font-size:13px;padding:12px 17px;box-shadow:0 3px 0 #294532}.cozy-path{display:flex;gap:6px;padding:0 18px 12px;flex-wrap:wrap}.cozy-path>span{display:flex;align-items:center;gap:5px;border:1px solid #e0decb;background:#f2f0e4;padding:5px 10px;border-radius:18px;color:#8b8b74;font-size:10px}.cozy-path>span.complete{background:#e5edda;border-color:#bed0a6;color:#42633e}.cozy-goal-progress{display:flex;align-items:center;gap:12px;padding:0 18px 13px}.cozy-goal-progress progress{height:9px;flex:1;accent-color:#70915a}.cozy-goal-progress small{font-size:11px;color:#6c795c}
.player-ux.cozy-mode .cinematic-stage{border:1px solid #c6ae83;border-radius:18px;box-shadow:0 8px 24px #6b5c2b13;background:#fbf7e9}.player-ux.cozy-mode .scene.wide-loft{aspect-ratio:1000/460;min-height:310px;max-height:620px}.wide-loft .loft-photograph{background-image:var(--building-image,url('assets/loft-wide.webp'))}.appearance-preview .loft-photograph{background-image:url('assets/loft-wide.webp')}.player-ux .wide-loft .loft-nameplate{left:40%;top:32.5%;width:20%;max-width:20%;font-size:12px!important;text-align:center;background:#4f623ada;border-color:#cbd1a9;border-radius:5px}.wide-loft .nest-hotspot{height:14.5%;width:14%;border-radius:5px}.wide-loft .nest-hotspot>span{font-size:10px;padding:3px 6px;background:#50613bd9;border-color:#f0e2b885}.wide-loft .cozy-nest-locked{background:linear-gradient(100deg,#c6a06eaa,#96734b99);box-shadow:inset 0 0 0 3px #d1b18180}.wide-loft .cozy-nest-locked>span{font-size:20px;background:#f8edcfbd;border:0;color:#857340;left:50%;top:50%;transform:translate(-50%,-50%)}.cozy-mode .wide-loft #physical-hatch{left:65.2%;top:44%;width:8.3%;height:26.5%}.wide-loft .hatch-opening,.wide-loft .hatch-leaf{clip-path:inset(0)}.wide-loft .hatch-leaf{background-size:1204.819277% 377.35849%;background-position:71.101417% 59.863945%}.player-ux .wide-loft .gate-hit{left:65.2%;top:44%;width:8.3%;height:26.5%}.cozy-mode #sector-navigation.cozy-single-sector{padding:7px 14px;justify-content:space-between;min-height:36px}.cozy-single-sector>div:first-child>b,.cozy-single-sector select,.cozy-single-sector .game-choice,.cozy-single-sector button[data-sector]{display:none!important}.cozy-single-sector>div:first-child>span{font-size:11px}.cozy-single-sector button[data-tab=Stado]{font-size:11px;min-height:30px!important;padding:5px 9px}
.cozy-mode .scene-bird .bird-label{border-radius:7px;background:#fffcf0dd;color:#4d6043}.cozy-mode #scene-controls{background:#fffbef}.cozy-mode .care-help{font-size:12px}.cozy-home #care-strip{padding:10px 16px}.cozy-home .care-help>span,.cozy-home #care-status>small,.cozy-home #care-status>span{display:none}.cozy-home #time-strip{padding:8px 15px;background:#f4f4e4}.cozy-home #next-calendar-event{font-size:11px}.cozy-home #flight-summary{font-size:11px}.cozy-mode .friend-first-steps,.cozy-mode .livelihood-panel{background:#fffcf4;border-color:#ddd0b7}
.cozy-mode dialog{color:var(--cozy-ink);background-color:#fffaf0!important;background-image:linear-gradient(135deg,#fffdf5,#f6efdca8)!important;border:1px solid #c4a471!important;border-radius:20px!important;box-shadow:0 20px 80px #34291644!important;padding:22px;max-width:calc(100vw - 24px);max-height:88dvh;overflow:auto;outline:none}.cozy-mode dialog::backdrop{background:#344d3c66;backdrop-filter:blur(4px)}.cozy-mode dialog h2{font-family:Georgia,serif;font-size:26px;color:#42613e}.cozy-mode dialog h3{color:#49613e}.cozy-mode dialog p{font-size:14px;line-height:1.65;color:#627153}.cozy-mode dialog .nest-view-header{border-bottom:1px solid #dfd5bb;padding-bottom:12px;margin-bottom:14px}.cozy-mode dialog .nest-view-header>button{background:#ede9d8;color:#64714e;border:1px solid #d2caaa;border-radius:50%;width:38px;height:38px;min-height:38px}.cozy-mode dialog :is(button:not(.text),input,textarea){border-radius:10px}.cozy-mode dialog .nest-selector button{background:#eee8d1;color:#6e704d;border-color:#d4c397}.cozy-mode dialog .nest-selector button.active{background:#5b7449;color:#fff8e4}.cozy-mode #nest-view .nest-room{border:8px solid #b59762;border-radius:13px;background-image:linear-gradient(#6a503a55,#b18a5544),url('assets/loft-wide.webp');background-size:100% 100%,400% 350%;background-position:center,var(--room-x) var(--room-y)}.cozy-mode .bird-inspector{background:#fff9e9f5;border:1px solid #c8ae7c;box-shadow:0 8px 30px #513e242e;color:#4d6344}.cozy-mode #toast{background:#fff8df;color:#4b603b;border:1px solid #c9b882;box-shadow:0 8px 28px #6d542628;border-inline-start:4px solid #71945d}.cozy-mode select,.cozy-mode option{color-scheme:light;background:#fffaf0;color:#38523e}
.game-select-native{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;opacity:0;clip-path:inset(50%);overflow:hidden;pointer-events:none;min-height:0!important}.game-choice{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;min-width:90px;max-width:100%;min-height:44px;padding:10px 12px;background:#fffbef;color:#3e5b40;border:1px solid #c6b58c;border-radius:11px;font-size:13px;font-weight:550;text-align:start;box-shadow:inset 0 1px #fff}.game-choice>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.game-choice>i{font-style:normal;color:#87925d;flex-shrink:0}.game-choice[aria-expanded=true]{outline:2px solid #9bad7e;outline-offset:2px}.game-choice-menu{position:fixed;inset:auto;margin:0;padding:6px;overflow:auto;box-sizing:border-box;border:1px solid #b9a16e;border-radius:13px;background:linear-gradient(#fffdf2,#f6eed8);color:#425a3d;box-shadow:0 14px 40px #3b3b2845;z-index:9999;font:14px 'DM Sans',sans-serif}.game-choice-menu [role=option]{padding:11px 12px;min-height:44px;border-radius:8px;line-height:1.45;cursor:pointer;overflow-wrap:anywhere}.game-choice-menu [role=option][aria-selected=true]{background:#dfe9ce;color:#395b36;font-weight:700}.game-choice-menu [role=option].is-focused{outline:2px solid #a0b17b;outline-offset:-2px;background:#edf1dd}.game-choice-menu [aria-disabled=true]{opacity:.45;pointer-events:none}.cozy-mode label>.game-choice{width:100%;margin-top:5px}.cozy-mode header .language-control .game-choice{width:118px;margin:0;min-height:40px;font-size:12px}.cozy-mode .language-control{gap:6px}
#cozy-flight,#cozy-result{width:min(520px,calc(100vw - 24px))}.cozy-flight-bird{display:flex;align-items:center;gap:15px;background:#eeefd9;border-radius:13px;padding:12px}.cozy-flight-bird .photo-portrait{width:75px;height:75px}.cozy-needs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:16px 0}.cozy-needs>span{display:grid;gap:5px;font-size:11px;padding:9px;background:#eeeedf;border-radius:9px;text-align:center}.cozy-needs b{font-size:17px}.cozy-small{font-size:12px!important}.cozy-result-medal{display:grid;justify-items:center;gap:7px;font-size:42px;margin:20px 0}.cozy-result-medal strong{font:36px Georgia,serif;color:#8e7838}.cozy-result-medal span{font-size:12px;color:#788060}.cozy-result-row{display:grid;grid-template-columns:30px 1fr auto;gap:10px;font-size:13px;padding:10px 0;border-bottom:1px solid #e6dcc5}.cozy-mode #cozy-result details{margin:15px 0;border:1px solid #dfd1b2;border-radius:10px;padding:9px 12px}
.cozy-mode :is(button,nav,.scene,.photo-portrait){user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.cozy-mode img{-webkit-user-drag:none;-webkit-touch-callout:none}.cozy-mode button{touch-action:manipulation}.cozy-mode :is(input,textarea,.bird-identity dd,.bird-ring,.account-page b){user-select:text;-webkit-user-select:text}
@media(max-width:900px){.cozy-mode #tabs{display:none}body.player-ux.cozy-home main{padding:10px 10px 100px}.cozy-home #stats .stat{padding:6px 7px}.cozy-home #stats .stat b{font-size:18px}.cozy-more-links{grid-template-columns:repeat(2,minmax(0,1fr))}.cozy-mode #cozy-more{margin:0 0 8px}.cozy-mode #cozy-more>summary{min-height:28px;font-size:10px;padding:4px 9px}.cozy-goal-top{padding:6px 11px;font-size:10px}.cozy-goal-body{display:grid;grid-template-columns:43px minmax(0,1fr);gap:8px 10px;padding:11px}.cozy-goal-body>.photo-portrait{width:43px;height:47px}.cozy-goal-body h2{font-size:18px}.cozy-goal-body small{font-size:10px}.cozy-goal-body p{font-size:11px;line-height:1.5}.cozy-goal-body>button{grid-column:2;justify-self:start;min-height:40px;padding:9px 13px;font-size:12px;max-width:100%}.cozy-path{padding:0 11px 10px;gap:4px}.cozy-path>span{font-size:9px;padding:4px 7px}.cozy-goal-progress{padding:0 11px 10px}#cozy-next{margin-bottom:10px;border-radius:14px}.player-ux.cozy-mode .scene.wide-loft{aspect-ratio:1000/565;min-height:240px;max-height:none}.wide-loft .nest-hotspot>span{font-size:8px;padding:2px 4px}.wide-loft .cozy-nest-locked>span{font-size:16px}.player-ux .wide-loft .loft-nameplate{top:32%;font-size:8px!important;width:24%;left:37%;max-width:24%;padding:2px 3px}.cozy-mode #sector-navigation.cozy-single-sector{flex-direction:row;align-items:center;gap:5px}.cozy-single-sector>div:last-child{width:auto!important}.cozy-single-sector>div:first-child>span{font-size:9px}.cozy-mode header .language-control .game-choice{width:88px;min-width:70px;padding:7px 8px;font-size:11px}.cozy-mode .language-control>span{display:none}.cozy-mode dialog{padding:16px;border-radius:17px!important}.cozy-mode dialog h2{font-size:23px}.cozy-mode dialog p{font-size:13px}.cozy-mode .wide-loft .gate-hit span{font-size:8px}.cozy-home #care-strip{padding:6px 11px}.cozy-home .care-help{gap:6px}.cozy-home .care-help>button{font-size:10px;min-height:34px}.cozy-home #flight-summary{font-size:10px}.cozy-home #time-strip{font-size:10px}}
@media(prefers-reduced-motion:reduce){.game-choice,.cozy-mode dialog{scroll-behavior:auto}}
.cozy-mode :is(#cozy-next,.nest-summary,.training-heading){user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}

.cozy-mode #bird-inspector{position:static;inset:auto;transform:none;width:auto;max-width:none;margin:0;border-radius:0;padding:12px 18px;box-shadow:none;border:0;border-top:1px solid #d7c8a9;display:none}.cozy-mode #bird-inspector.is-visible{display:block}.cozy-mode #bird-inspector .selected-name{margin-bottom:7px}.cozy-mode #bird-inspector .inspector-actions{display:flex;gap:6px}.cozy-mode #bird-inspector .inspector-actions>button{flex:1;min-height:42px}.cozy-mode #bird-inspector .mini-needs{margin-bottom:8px}.game-choice-menu{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
