:root{--ink:#F6F1E7;--muted:rgba(246,241,231,.72);--gold:#E9B45A;--glass:rgba(12,22,20,.42)}
body{overflow:hidden;color:var(--ink);font-family:'Nunito',sans-serif}button,h1,h2,strong{font-family:'Baloo 2',sans-serif}button:active{transform:scale(.96)}
.app-shell{width:100%;height:100dvh;margin:0;padding:0}.main-grid,.play-column{display:contents}.stage-card{border:0;border-radius:0}.scene{position:fixed;inset:0;width:100%;height:100dvh;border-radius:0;min-height:0}.scene-photo{width:100%;height:100%;object-fit:cover;animation:breathe 40s ease-in-out infinite alternate}.scene-shade{background:linear-gradient(180deg,#07171166,transparent 35%,#07171166)}.scene-canvas{z-index:2}.topbar{position:fixed;top:18px;right:18px;z-index:5}.brand,.time-pill,.period-chip,.footer-note,.status-mark,.status-line p,.action-key,.action-icon,.keyboard-note,.scene-hint,.shop-bag{display:none}.scene-topline{top:18px;left:18px;right:auto;z-index:4}.location-chip,.header-actions,.stats-row .stat-card:first-child,.bottom-nav,.sheet,.audio-pop{background:var(--glass);backdrop-filter:blur(16px) saturate(140%);border:1px solid #ffffff24;border-radius:22px}.location-chip{padding:10px 16px}.header-actions{padding:4px}.stats-row{position:fixed;right:175px;top:18px;z-index:5;display:block}.stats-row .stat-card{display:none}.stats-row .stat-card:first-child{display:flex;min-height:43px;padding:7px 18px}.stat-card small{display:none}.stat-card strong{color:var(--gold)}.stat-icon{width:20px;height:20px;flex-basis:20px}.play-controls{position:fixed;bottom:94px;left:50%;transform:translateX(-50%);z-index:6;background:none;padding:0;width:300px;text-align:center}.status-line{position:fixed;bottom:220px;left:0;width:100%;justify-content:center;text-shadow:0 1px 12px #0006}.status-line strong{font-size:22px}.action-line{justify-content:center}.action-button{width:84px;height:84px;min-width:84px;border-radius:50%;padding:8px;background:var(--gold);color:#263c35;border:4px solid #fff5;box-shadow:0 4px 30px #0003}.action-label{font-size:11px;line-height:1.3}.subline{justify-content:center;margin-top:8px}.bottom-nav{position:fixed;bottom:12px;left:50%;transform:translateX(-50%);display:flex;z-index:20;padding:8px;gap:8px}.bottom-nav button{border:0;background:none;color:var(--ink);min-width:70px;display:grid;justify-items:center;font-size:12px}.bottom-nav svg{width:23px;height:23px;margin-bottom:2px}.sheet{position:fixed;inset:auto 8px 82px;height:70dvh;z-index:15;padding:24px;overflow:auto;transform:translateY(130%);opacity:0;transition:transform 380ms cubic-bezier(.2,.8,.2,1),opacity 380ms;pointer-events:none}.sheet.open{transform:translateY(0);opacity:1;pointer-events:auto}.sheet-close{float:right;border:0;background:none;color:var(--ink);font-size:26px}.locations-list{display:grid;grid-template-columns:1fr;gap:16px}.location-card{min-height:140px;background-size:cover;background-position:center;align-items:start;text-align:left;padding:24px}.fish-book-grid{grid-template-columns:repeat(4,1fr)}.fish-book-slot{aspect-ratio:1;height:auto;overflow:hidden;background:#10252299}.fish-book-slot img{width:100%;height:100%;object-fit:cover}.bait-list{grid-template-columns:1fr}.bait-card{display:flex;align-items:center;gap:12px}.equipment-row{padding:16px 0}.tension-hud{left:auto;right:20px;top:35%;width:65px;background:var(--glass)}.gauge-track{height:160px;width:12px;margin:auto}.gauge-title,.gauge-label{font-size:8px}.cast-meter{bottom:205px;left:50%;transform:translateX(-50%);width:160px}.catch-modal{max-width:430px;background:rgba(12,22,20,.85);backdrop-filter:blur(16px)}.catch-photo-wrap{margin:24px 24px 0;border:10px solid #F6F1E7;transform:rotate(-2deg);height:240px}.catch-photo{object-fit:cover}.catch-modal.legendary:before{content:'';position:absolute;inset:-50%;background:repeating-conic-gradient(#e9b45a22 0deg 8deg,transparent 8deg 25deg);animation:spin 40s linear infinite;pointer-events:none}.catch-body{position:relative}.rarity-ribbon{background:var(--rarity-glow);color:#142923}.welcome{position:fixed;inset:0;z-index:50;background:linear-gradient(#07171133,#07171199),url('../assets/canh/vinh-hoang-hon-ngay.jpg') center/cover;display:grid;place-items:center;text-align:center;transition:opacity 1.2s}.welcome h1{font-size:clamp(56px,9vw,120px);line-height:1.1;margin:24px 0}.welcome p{font-size:19px}.welcome small{letter-spacing:3px;font-size:10px}.welcome button{margin-top:40px;background:var(--gold);border:0;border-radius:40px;padding:16px 35px;font-size:19px;color:#243a30}.welcome.dismissed{opacity:0;pointer-events:none}.audio-pop{position:fixed;right:18px;top:75px;z-index:25;padding:18px;width:230px}.audio-pop label{display:block}.audio-pop input{width:100%;accent-color:var(--gold)}.audio-pop button{background:none;color:var(--ink);border:1px solid #fff5;border-radius:12px}svg{width:20px;height:20px;vertical-align:middle}.journal-stats{display:flex;gap:16px;font-size:12px;margin-bottom:20px}@keyframes breathe{to{transform:scale(1.04)}}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:1024px){.sheet{left:auto;right:20px;width:400px;height:calc(100dvh - 160px)}}@media(max-width:500px){.stats-row{right:143px}.location-chip{max-width:195px;font-size:10px;padding:9px}.topbar{right:8px}.scene-topline{left:8px}.header-actions .icon-button{padding:0 10px}.stat-card strong{font-size:16px}.stats-row .stat-card:first-child{padding:6px 8px}.catch-modal{width:calc(100% - 30px)}.catch-photo-wrap{height:210px}}@media(prefers-reduced-motion:reduce){*,*:before{animation:none!important;transition:none!important}}
.catch-overlay{z-index:40}.catch-modal{grid-template-columns:1fr}.catch-photo-wrap{min-height:210px}.catch-overlay.open .catch-modal{animation:arrival .6s cubic-bezier(.2,.8,.2,1)}@keyframes arrival{from{transform:translateY(100px) rotate(2deg);opacity:0}to{transform:translateY(0);opacity:1}}.time-pill{display:flex;background:none;border:0;padding:0 8px;font-size:10px}.header-actions{gap:0}.time-pill .live-dot{display:none}@media(max-width:600px){.time-pill{display:none}}
.stage-card{overflow:visible;backdrop-filter:none;background:none;box-shadow:none;height:100dvh}.scene{aspect-ratio:auto}.side-column{display:contents}
.catch-modal.legendary:after{content:'·  ✧      ·     ✧   ·       ✧    ·';position:absolute;inset:0;color:#E9B45A;font-size:38px;letter-spacing:12px;pointer-events:none;animation:sparkle 3s linear infinite}@keyframes sparkle{from{transform:translateY(-90px);opacity:0}40%{opacity:1}to{transform:translateY(500px);opacity:0}}

body:has(.sheet.open) .play-controls{visibility:hidden}.sheet{scrollbar-width:none}.sheet::-webkit-scrollbar{display:none}.journal-stats{position:static;padding:8px 16px;flex-wrap:wrap;gap:10px}.welcome{text-align:left;place-items:center start;padding:7vw}.welcome h1{font-weight:800;color:#F6F1E7}.welcome h1 span{color:#E9B45A}#recordRibbon{position:absolute;z-index:4;right:-43px;top:27px;transform:rotate(38deg);padding:8px 43px;background:#db542f;color:white;font-weight:800;font-size:13px}#recordRibbon[hidden]{display:none}#catchDate{font-size:12px;color:#c4d3c9}.catch-photo-wrap{flex-shrink:0}.catch-modal{max-height:90dvh;overflow:auto}.bait-card svg{width:28px;height:28px}

/* Final immersive HUD and cast feedback refinements. */
.topbar{right:18px;top:18px}.header-actions .time-pill{display:none}.stats-row{right:148px;top:18px;width:auto}.stats-row .stat-card:first-child{min-width:84px;justify-content:center}
.scene-topline{right:auto;width:max-content;max-width:calc(100vw - 24px);justify-content:flex-start;gap:8px}.location-chip{max-width:calc(100vw - 125px);white-space:nowrap}.period-chip{display:inline-flex;position:absolute;top:39px;left:0;flex:none}
.status-line{display:none}.action-hint{position:fixed;z-index:6;right:12px;bottom:190px;left:12px;width:fit-content;max-width:calc(100vw - 24px);margin:0 auto;padding:8px 13px;border:1px solid #ffffff30;border-radius:999px;background:rgba(14,35,32,.64);box-shadow:0 5px 24px #0003;color:#f5f4e9;font-size:14px;font-weight:750;line-height:1.2;text-align:center;white-space:nowrap;backdrop-filter:blur(15px)}
.action-button{gap:0}.action-icon,.action-key{display:none}.action-label{font-size:16px;letter-spacing:.5px;line-height:1.1}.action-button:disabled{opacity:.82}
.tension-hud{width:72px;gap:7px}.gauge-title,.gauge-label{font-size:12px;letter-spacing:0;text-transform:none}.gauge-title{color:#fff;font-weight:800}.gauge-label{color:#fff3cb;font-weight:850}.gauge-track{width:16px;height:158px;background:linear-gradient(to top,#dc6258 0 15%,#edbd57 15% 34%,#58a16d 34% 68%,#edbd57 68% 85%,#dc6258 85%)}.gauge-safe{right:-2px;left:-2px;border-top:2px solid #e8ffbf;border-bottom:2px solid #e8ffbf;background:#a8ef8c77;box-shadow:0 0 8px #b7f799aa}
.location-card{isolation:isolate;background:#243d37!important}.location-card-photo{position:absolute;z-index:-2;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 55%;opacity:1}.location-card::before{position:absolute;z-index:-1;inset:0;background:linear-gradient(0deg,rgba(9,20,18,.9),rgba(9,20,18,.08) 76%);content:""}.location-card.selected{border-color:#d4bc7b91;background-color:#243d37!important}.location-cost,.location-card-glyph,.location-card strong,.location-card small{position:relative;z-index:1}.location-cost{position:absolute}
.scene.bite-impact::after{position:absolute;z-index:9;inset:0;border:3px solid #f8e6a8b8;box-shadow:inset 0 0 34px #f7dc9b42,0 0 30px #f7dc9b33;content:"";pointer-events:none;animation:bite-flash .3s ease-out both}body.bite-impact{animation:bite-shake .3s ease-out}
@keyframes bite-shake{0%,100%{transform:translate3d(0,0,0)}18%{transform:translate3d(-2px,1px,0)}42%{transform:translate3d(2px,-1px,0)}68%{transform:translate3d(-1px,2px,0)}}@keyframes bite-flash{0%{opacity:0}24%{opacity:1}100%{opacity:0}}
@media(max-width:500px){.stats-row{right:137px;top:18px}.stats-row .stat-card:first-child{min-width:74px;padding:6px 7px}.topbar{right:8px;top:18px}.scene-topline{top:18px;left:8px;gap:5px}.location-chip{max-width:calc(100vw - 118px);font-size:9px;padding:0 8px}.period-chip{top:34px;font-size:9px;padding:0 8px}.action-hint{bottom:188px;padding:8px 10px;font-size:14px}.tension-hud{right:10px;width:72px}.gauge-track{height:126px}}
@media(max-width:360px){.location-chip{max-width:calc(100vw - 104px)}.period-chip{gap:3px;font-size:8px;padding:0 6px}.action-hint{font-size:12px}}
@media(min-width:1024px){.stats-row{right:148px}.tension-hud{width:78px}.gauge-track{height:172px}}

/* Neo lời nhắc vào màn hình, tránh vùng phao và dây câu. */
.play-controls .action-hint{position:fixed;top:auto;bottom:100px;left:50%;right:auto;transform:translateX(-50%);max-width:calc(100vw - 24px);white-space:normal;width:max-content}
