@font-face{font-family:Figtree;src:url('assets/fonts/figtree.ttf') format('truetype');font-weight:300 900;font-display:swap}
:root{--surface:#0b2028;--surface-raised:#122e36;--line:#33505a;--accent:#c9e5c7;--text:#eef5ee;--muted:#b0c7c9;--water:#c9e5c7;--danger:#ffbba5;--gold:#ead2a0;--deep:#06171e;--ink:#122e26}
body{background:var(--surface);font:16px/1.55 Figtree,system-ui,sans-serif}svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,h4{text-wrap:balance;letter-spacing:-.025em}a{text-underline-offset:4px}::selection{background:var(--accent);color:var(--ink)}*{scrollbar-color:var(--line) var(--surface)}button,input,select{caret-color:var(--accent)}button{transition:background-color .15s ease,color .15s ease}.brand-badge{display:flex;align-items:center;gap:12px;color:var(--text);text-decoration:none;font-size:22px;line-height:1.05;letter-spacing:-.035em;font-weight:650}.brand-badge svg{width:32px;height:32px;color:var(--accent)}.brand-subtitle{display:block;font-size:12px;letter-spacing:.03em;font-weight:450;color:var(--muted);margin-top:5px}#app-shell{width:100%;max-width:1920px;margin:auto;min-height:100svh;padding:0 clamp(20px,4vw,72px) 80px;gap:0;display:block}.top-nav-wrap{width:100%;max-width:none;padding:0}.top-pill-bar{min-height:76px;border:0;padding:0;gap:24px;display:flex;align-items:center}.top-pill-bar .nav-actions{margin-left:auto}.top-pill-bar .balance{font-size:18px;color:var(--gold);font-variant-numeric:tabular-nums}.top-pill-bar .nav-pill-btn{border:0;padding:10px;min-width:44px;background:none;color:var(--muted)}.top-pill-bar .nav-pill-btn:hover{background:var(--surface-raised)}#clock-pill{font-size:12px}.aquarium-stage{max-width:none;padding:8px 0 0;display:flex;align-items:center;justify-content:center;gap:clamp(28px,4vw,70px);min-height:0;position:relative}.welcome-intro{flex:0 0 300px;padding-bottom:20px}.welcome-intro h1{font-size:50px;line-height:1.08;letter-spacing:-.035em;font-weight:500;margin:0}.welcome-intro>p{font-size:17px;line-height:1.7;color:var(--muted);margin:25px 0;max-width:30ch}.welcome-intro .welcome-note{font-size:12px;margin:15px 0 0;max-width:34ch}.ui-primary{display:inline-flex;align-items:center;justify-content:space-between;gap:20px;min-height:48px;padding:13px 20px;background:var(--accent);color:var(--ink);font-weight:600;border:0;border-radius:10px;font-size:15px}.ui-primary:hover{background:#e0f1d7}.ui-text{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:10px 0;background:none;border:0;color:var(--muted);font-size:14px}.ui-text:hover{color:var(--text)}.welcome-intro>.ui-text{font-size:13px;margin-top:10px}.tank-center-col{display:block;width:100%;flex:1;min-width:0;max-width:min(100%,max(560px,calc(175svh - 560px)))}.tank-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:0 0 12px}.tank-heading h2{font-size:20px;font-weight:550}.tank-heading p{font-size:13px;margin-top:5px;color:var(--muted)}.status-dot{width:6px;height:6px;border-radius:50%;background:var(--accent);flex-shrink:0}.care-summary{font-size:13px}.care-summary.warning{color:var(--danger)}.care-summary.warning .status-dot{background:var(--danger)}.lamp-hood{height:7px;width:65%;margin:0 auto 12px;background:#b8dddf;border-radius:6px;box-shadow:none}.lamp-hood:after{display:none}#tank-glass-box{height:auto;aspect-ratio:7 / 4;border:2px solid #89b2b9;border-radius:17px 17px 4px 4px;box-shadow:none;background:#153e50}.wood-stand{width:calc(100% + 12px);margin-left:-6px;height:10px;background:#53656a;box-shadow:none;border-radius:2px 2px 6px 6px}.tank-caption-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px;min-height:32px}.tank-caption-row p{font-size:12px;color:var(--muted)}.tank-caption-row button{font-size:13px}body.has-fish .welcome-intro{display:none}.observe-toggle{position:absolute;top:12px;right:12px;width:44px;height:44px;background:#0b2028b8;border:0;color:var(--text);border-radius:10px;display:grid;place-items:center}.observe-toggle:hover{background:var(--surface)}.exit-observe{display:none}.game-navigation{position:fixed;bottom:max(14px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;gap:8px;padding:6px;background:var(--deep);border-radius:16px;z-index:10}.game-navigation button{display:flex;align-items:center;justify-content:center;gap:10px;padding:12px 23px;min-height:52px;min-width:108px;border:0;border-radius:10px;background:none;color:var(--muted);font-size:14px}.game-navigation button[aria-current],.game-navigation button:hover{background:var(--surface-raised);color:var(--text)}.game-navigation svg{width:22px;height:22px}.bottom-dock-wrap{padding:0;margin:0;min-height:0}.bottom-dock-wrap #inventory-dock{display:none}.asset-status{position:fixed;bottom:98px;left:50%;transform:translateX(-50%);background:var(--surface-raised);font-size:12px;border-radius:8px;padding:8px 14px;z-index:9}.telemetry-row{display:none}.floating-fish-card{display:none!important;position:fixed;right:24px;top:110px;bottom:110px;width:320px;overflow-y:auto;padding:26px;background:var(--surface);border:1px solid var(--line);border-radius:14px;z-index:12;gap:22px}body.fish-detail-open .floating-fish-card{display:flex!important}.floating-fish-card:empty{display:none!important}.ffc-header{gap:15px}.ffc-name{font-size:19px}.ffc-photo-button .ffc-photo{width:90px;height:80px;background:#fff}.ffc-diag-box{font-size:14px}.floating-fish-card>.ui-text{justify-content:flex-end}.fish-vitals{font-size:13px}.fish-vitals strong{font-size:16px}.engineering-drawer{width:min(460px,100%);background:var(--surface);border-left:1px solid var(--line);box-shadow:none;padding:28px}.engineering-drawer h2{font-size:24px}.settings-body{padding-top:12px}.settings-section h3{font-size:18px}.control-row,.control-label,.control-val{font-size:14px}.mini-btn{font-size:13px}.settings-group>summary,.settings-details>summary{font-size:15px}.modal-backdrop{background:#041116b8;z-index:30;padding:30px}.modal-box{background:var(--surface);border:0;box-shadow:0 20px 70px #0004;border-radius:16px;max-width:1060px;max-height:calc(100svh - 60px);color:var(--text)}.modal-header{border-color:var(--line);padding:25px 30px}.modal-header h2{font-size:27px;font-weight:550}.modal-body{padding:24px 30px}.shop-tabs{padding:0 30px;gap:24px}.shop-tabs .nav-pill-btn{font-size:15px}.catalog-tools{padding:18px 30px;gap:12px}.catalog-tools input,.catalog-tools select{background:var(--surface-raised);color:var(--text);border-color:var(--line);font-size:14px;min-height:44px;border-radius:8px}.catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.species-card{background:transparent;border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:none}.species-photo-banner{background:#f0f3ee;height:175px}.species-photo-banner img{height:175px;object-fit:contain;width:100%}.species-card-body{padding:20px}.species-heading h4,.species-card-body h3{font-size:18px;line-height:1.25}.species-price{font-size:15px;color:var(--gold)}.ffc-sub{display:block;margin-top:8px;font-size:13px}.species-description{font-size:14px}.species-card-footer{padding:0 20px 20px;border:0}.btn-buy,.btn-buy-secondary{min-height:44px;font-size:14px;border-radius:9px}.btn-buy{background:var(--accent);color:var(--ink);border:0}.btn-buy:hover{background:#e0f1d7}.btn-buy-secondary{background:var(--surface-raised);border:1px solid var(--line);color:var(--text)}.btn-buy-secondary:hover{background:#21414a}details summary{font-size:14px}details p{font-size:14px}.care-specs{font-size:13px}.supply-row{padding:22px 0;border-color:var(--line)}.supply-info h3{font-size:18px}.supply-meta{font-size:13px}.care-panel{max-width:600px}.care-panel .telemetry-row{display:block;padding:0}.care-panel .telemetry-box{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:20px}.care-panel .stat-metric{font-size:13px}.care-panel .tank-summary{display:block;font-size:13px}.care-panel #alert-banner{padding:18px 0;font-size:13px;max-height:none}.care-actions{margin-top:25px}.care-actions>h3{font-size:19px}.care-actions>p{font-size:14px;color:var(--muted);margin:12px 0 20px}.care-actions>.btn-buy-secondary{margin:12px 8px 0 0}.care-panel #inventory-dock{display:flex;flex-wrap:wrap;gap:10px}.dock-item{padding:12px;background:var(--surface-raised);border-color:var(--line);border-radius:9px;font-size:13px}.dock-item.active{border-color:var(--accent);color:var(--accent)}.feeding-hint{width:100%;font-size:12px}.empty-inventory{font-size:14px;gap:16px}.guide-count-label{font-size:14px}.care-guide{font-size:15px}.care-guide h4{font-size:17px}.care-sources{font-size:12px}#notice-banner{z-index:80;bottom:105px}.notice{background:var(--accent);color:var(--ink);border:0;font-size:14px;box-shadow:0 8px 25px #0003;padding:14px 20px;border-radius:10px}.source-note{font-size:12px;color:var(--muted);line-height:1.7}.settings-name-note{font-size:12px;color:var(--muted);margin-top:20px}body.observing .top-nav-wrap,body.observing .tank-heading,body.observing .tank-caption-row,body.observing .game-navigation,body.observing .welcome-intro,body.observing .observe-toggle{visibility:hidden}body.observing .floating-fish-card{display:none!important}body.observing .exit-observe{display:block;position:absolute;bottom:15px;right:18px;padding:8px 15px;background:var(--surface);border-radius:8px}#owned-guides-count{display:none}
@media(max-width:1100px){.welcome-intro{flex-basis:250px}.welcome-intro h1{font-size:40px}.welcome-intro>p{font-size:15px}.ui-primary{padding:12px 15px;font-size:14px}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){#app-shell{padding:0 20px 92px}.top-pill-bar{min-height:85px;gap:12px}.brand-badge{font-size:18px;gap:8px}.brand-badge svg{width:25px;height:25px}.brand-subtitle{font-size:11px}.top-pill-bar .nav-actions{display:none}.top-pill-bar .balance{font-size:15px;margin-left:auto}.top-pill-bar .nav-pill-btn{padding:8px;min-width:36px}.aquarium-stage{display:block;padding-top:15px;min-height:0}.tank-center-col{max-width:none}.welcome-intro{padding:0 0 38px}.welcome-intro h1{font-size:37px;max-width:16ch}.welcome-intro h1 br{display:none}.welcome-intro>p{font-size:15px;margin:18px 0 22px;max-width:40ch}.welcome-intro .ui-primary{width:100%}.welcome-intro .welcome-note{font-size:12px;max-width:none;margin-top:10px}.welcome-intro>.ui-text{margin-top:8px}.tank-heading{margin-bottom:25px;gap:12px}.tank-heading h2{font-size:17px}.tank-heading p{font-size:12px}.care-summary{font-size:12px;max-width:115px;text-align:right;line-height:1.3}#tank-glass-box{height:300px;aspect-ratio:auto;border-radius:14px 14px 3px 3px}body.has-fish #tank-glass-box{height:clamp(320px,calc(100svh - 360px),560px)}.tank-caption-row{margin-top:18px;gap:12px}.tank-caption-row p{font-size:12px;max-width:25ch}.tank-caption-row button{font-size:12px}.game-navigation{bottom:max(12px,env(safe-area-inset-bottom));width:calc(100% - 20px);gap:0;padding:6px;border-radius:12px}.game-navigation button{min-width:0;flex:1;flex-direction:column;gap:5px;font-size:12px;min-height:60px;padding:8px 5px}.game-navigation svg{width:22px;height:22px}.modal-backdrop{padding:0;align-items:end}.modal-box{max-height:94svh;width:100%;max-width:none;border-radius:18px 18px 0 0}.modal-header{padding:20px}.modal-header h2{font-size:24px}.modal-body{padding:20px}.shop-tabs{padding:0 20px;gap:20px}.shop-tabs .nav-pill-btn{font-size:14px}.catalog-tools{padding:15px 20px;flex-wrap:wrap}.catalog-tools input{width:100%;min-width:0}.catalog-tools select{flex:1}.catalog-grid{grid-template-columns:1fr;gap:20px}.species-photo-banner,.species-photo-banner img{height:205px}.species-heading h4{font-size:20px}.engineering-drawer{width:100%;max-height:94svh;top:auto;bottom:0;border-left:0;border-radius:18px 18px 0 0;padding:20px}.floating-fish-card{top:auto;bottom:100px;left:20px;right:20px;width:auto;max-height:70svh;padding:22px}.care-panel .telemetry-box{gap:14px}.care-panel .stat-metric{font-size:12px}.care-actions>.btn-buy-secondary{display:block;width:100%;margin-right:0}body.mobile-mode #app-shell{max-width:430px}}
.compatible-filter{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);line-height:1.4}.compatible-filter input{accent-color:var(--accent);min-height:20px;width:18px;height:18px;flex-shrink:0}.compatibility-note{font-size:12px;color:var(--danger);margin:12px 0}.species-heading{align-items:flex-start;gap:15px}.species-heading .species-price{font-size:13px;white-space:nowrap}.manual-panel .ffc-close{margin:0}@media(max-width:760px){.compatible-filter{width:100%;min-height:36px}}
#money-pill{display:inline-flex;align-items:center;gap:8px}#money-pill svg{width:19px;height:19px}@media(max-width:760px){.welcome-intro{padding-bottom:28px}.welcome-intro .welcome-note{display:none}.top-pill-bar .balance{order:2}#settings-btn{order:3}.top-pill-bar .brand-badge{order:0}}
