/* Game styles stay inside .riftfin-game; shared navigation belongs to Playsible. */
.riftfin-game{color-scheme:dark;--bg:#091e2b;--panel:#0e2735;--line:#c4e9eb14;--text:#eaf5eb;--muted:#819ea9;--mint:#b8ebd1;--gold:#f2d098;--serif:Georgia,'Times New Roman',serif;--font:Inter,'Avenir Next',Avenir,system-ui,-apple-system,sans-serif}.riftfin-game *{box-sizing:border-box}.riftfin-game{margin:0;background:radial-gradient(ellipse at 45% -15%,#193b45 0,transparent 65%),var(--bg);color:var(--text);font:13px/1.5 var(--font);min-width:340px}.riftfin-game button,.riftfin-game a,.riftfin-game input,.riftfin-game select{font:inherit}.riftfin-game button{cursor:pointer;color:inherit;border:0;background:none;-webkit-tap-highlight-color:transparent}.riftfin-game button:disabled{cursor:not-allowed;opacity:.4}.riftfin-game button:focus-visible,.riftfin-game a:focus-visible,.riftfin-game input:focus-visible,.riftfin-game select:focus-visible{outline:2px solid var(--mint);outline-offset:4px}.riftfin-game button:not(:disabled){transition:background .16s,transform .16s,color .16s,box-shadow .16s}.riftfin-game button:not(:disabled):active{transform:translateY(1px)}.riftfin-game button svg{pointer-events:none}.riftfin-game .icon{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;display:block;flex:none}.riftfin-game .hidden{display:none!important}.riftfin-game .app-shell{max-width:1800px;margin:auto;padding:0 30px}.riftfin-game .topbar{height:87px;display:flex;align-items:center;justify-content:space-between;gap:22px;border-bottom:1px solid var(--line)}.riftfin-game .brand{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:750;letter-spacing:3.8px;padding:0;position:relative}.riftfin-game .brand-mark{width:35px;height:35px;color:var(--mint)}.riftfin-game .brand-mark svg{width:100%;height:100%}.riftfin-game .brand-caption{font-size:7px;letter-spacing:1.5px;color:#809eaa;position:absolute;left:46px;top:30px;white-space:nowrap}.riftfin-game .mainnav{display:flex;align-items:center;gap:30px;height:100%;margin-left:35px}.riftfin-game .nav-tab{height:100%;position:relative;color:var(--muted);font-size:12px;padding:0}.riftfin-game .nav-tab:hover{color:var(--text)}.riftfin-game .nav-tab.active{color:var(--mint)}.riftfin-game .nav-tab.active:after{content:'';height:2px;position:absolute;bottom:0;left:0;right:0;background:var(--mint)}.riftfin-game .nav-dot{display:inline-block;width:4px;height:4px;border-radius:50%;background:#c1abc9;margin:0 0 6px 4px}.riftfin-game .header-right{display:flex;align-items:center;gap:8px}.riftfin-game .save-status{font-size:10px;display:flex;align-items:center;gap:8px;color:var(--muted);margin-right:13px}.riftfin-game .save-status .icon{width:17px;height:17px}.riftfin-game .icon-btn{height:34px;width:34px;display:grid;place-items:center;color:#93acb5;border:1px solid var(--line);border-radius:10px}.riftfin-game .icon-btn:hover{background:#ffffff09;color:var(--mint)}.riftfin-game .icon-btn.small{width:30px;height:30px;border:0}.riftfin-game .small .icon{width:16px;height:16px}.riftfin-game .game-layout{display:grid;grid-template-columns:minmax(0,1fr) 284px;gap:25px;padding-top:23px}.riftfin-game .aquarium-column{min-width:0}.riftfin-game .scene-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 18px}.riftfin-game .eyebrow{font-size:8px;font-weight:650;letter-spacing:1.8px;color:var(--muted);text-transform:uppercase}.riftfin-game .scene-heading h1{font:normal 28px/1.3 var(--serif);letter-spacing:-.6px;margin:5px 0 0}.riftfin-game .tiny-spark{font-size:14px;vertical-align:middle;color:#d9cea3;margin-left:12px}.riftfin-game .scene-controls{display:flex;align-items:center;gap:8px;align-self:flex-end}.riftfin-game .muted{color:var(--muted);font-size:10px;margin-right:10px}.riftfin-game .tank{height:calc(100dvh - 286px);min-height:440px;max-height:850px;position:relative;overflow:hidden;border-radius:17px;border:1px solid #82bac637;background:#124453;box-shadow:0 18px 65px #03132066,0 0 0 5px #ffffff02}.riftfin-game #world{width:100%;height:100%;display:block;touch-action:none;outline:none}.riftfin-game .tank-top{position:absolute;inset:22px 23px auto;display:flex;justify-content:space-between;align-items:flex-start;pointer-events:none;gap:12px}.riftfin-game .glass{background:#092d3ec2;border:1px solid #d0f3e42b;box-shadow:0 5px 20px #04273624;backdrop-filter:blur(16px)}.riftfin-game .mission{width:234px;border-radius:11px;padding:13px 14px;pointer-events:auto}.riftfin-game .mission-heading{display:flex;gap:10px;align-items:center}.riftfin-game .mission-number{font:22px var(--serif);color:var(--mint);border-right:1px solid #b0c9c838;padding-right:12px}.riftfin-game .mission-heading>div{display:flex;flex-direction:column;flex:1}.riftfin-game .mission-heading .eyebrow{font-size:6.5px;letter-spacing:1.45px;color:#9fc0c5}.riftfin-game .mission-heading strong{font-size:12px;font-weight:500;margin-top:3px}.riftfin-game .mission-heading>.icon,.riftfin-game .mission-heading>span:last-child .icon{width:17px;height:17px;color:#b0d7c8}.riftfin-game .mission-progress{height:2px;background:#ddf5e826;margin-top:12px;overflow:hidden;border-radius:3px}.riftfin-game .mission-progress>div{height:100%;background:var(--mint);width:0;transition:width .35s}.riftfin-game .mission-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:7px;font-size:9px;color:#b4cdd0}.riftfin-game .mission-bottom strong{font-weight:500;font-size:9px}.riftfin-game .signal-btn{display:flex;width:100%;align-items:center;justify-content:space-between;gap:5px;background:var(--mint);color:#163b3e;font-weight:650;font-size:10px;padding:9px 8px;border-radius:7px;margin-top:11px}.riftfin-game .signal-btn .icon{width:16px;height:16px}.riftfin-game .signal-btn:hover{background:#d9ffe8}.riftfin-game .resources{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.riftfin-game .resource{padding:10px 12px;display:flex;align-items:center;gap:8px;border-radius:10px;min-height:40px}.riftfin-game .resource .icon{width:17px;height:17px;color:#a7d1c6}.riftfin-game .resource strong{font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:.3px}.riftfin-game .coin-resource{color:var(--gold)}.riftfin-game .coin-resource .icon{color:var(--gold)}.riftfin-game .tank-bottom{position:absolute;inset:auto 22px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;pointer-events:none}.riftfin-game .tool-dock{padding:5px;border-radius:13px;display:flex;gap:3px;pointer-events:auto}.riftfin-game .tool{display:flex;align-items:center;justify-content:center;gap:7px;min-height:43px;position:relative;padding:10px 11px;border-radius:8px;color:#bbced0;font-size:10px}.riftfin-game .tool>.icon,.riftfin-game .tool>span>.icon{width:17px;height:17px}.riftfin-game .tool.active{background:#c9efd51a;color:var(--mint);box-shadow:inset 0 0 0 1px #d1f8dd22}.riftfin-game .tool:hover{background:#c9efd51a}.riftfin-game .tool kbd{font:8px var(--font);border:1px solid #c0e2d52c;border-radius:3px;padding:1px 3px;color:#8eadb4;margin-left:2px}.riftfin-game .dock-divider{height:29px;width:1px;align-self:center;background:#d8efe922;margin:0 3px}.riftfin-game .pulse-tool{min-width:111px;padding-bottom:13px;color:#bfdbe2}.riftfin-game .energy-number{font-size:8px;opacity:.65}.riftfin-game .energy-track{height:2px;background:#ffffff16;position:absolute;bottom:7px;left:12px;right:12px}.riftfin-game .energy-track i{height:100%;width:100%;background:#bba8f0;display:block;transition:width .2s}.riftfin-game .environment-label{display:flex;align-items:center;gap:7px;color:#c1d8cf;font-size:8px;text-shadow:0 1px 4px #003043}.riftfin-game .live-dot,.riftfin-game .status-dot,.riftfin-game .danger-dot{width:5px;height:5px;background:#b7d2b8;border-radius:50%;display:inline-block;flex:none;box-shadow:0 0 7px #98d7b652}.riftfin-game .first-hint{position:absolute;top:48%;left:43%;display:flex;align-items:center;gap:15px;color:#e3f9e4;font-size:12px;line-height:1.7;pointer-events:none;text-shadow:0 2px 6px #17474f;animation:hint-in 1s 1s both}.riftfin-game .first-hint b{font-size:9px;font-weight:400;color:#bbdcd7}.riftfin-game .hint-orbit{height:26px;width:26px;border:1px solid #d0fae790;border-radius:50%;position:relative;box-shadow:0 0 0 8px #d4f9dc0a;animation:breathe 2.8s ease-in-out infinite}.riftfin-game .hint-orbit:after{content:'';position:absolute;inset:10px;border-radius:50%;background:#e0ffec}@keyframes breathe{50%{box-shadow:0 0 0 17px #d4f9dc00;transform:scale(1.15)}}@keyframes hint-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.riftfin-game .below-tank{display:flex;align-items:center;justify-content:space-between;min-height:69px;gap:10px}.riftfin-game .pet-bar{display:flex;align-items:center;gap:17px}.riftfin-game .active-pets{display:flex;align-items:center;gap:8px}.riftfin-game .pet-ability{display:flex;align-items:center;position:relative;border:1px solid var(--line);border-radius:10px;padding:3px 10px 3px 2px;min-width:91px;overflow:hidden;gap:3px;height:45px}.riftfin-game .pet-ability canvas{height:38px;width:41px;z-index:1}.riftfin-game .pet-ability strong{font-size:10px;font-weight:500;display:block}.riftfin-game .pet-ability small{font-size:7px;color:var(--muted);display:block}.riftfin-game .pet-ability>div{z-index:1;text-align:left}.riftfin-game .pet-ability .cooldown-shade{position:absolute;bottom:0;left:0;right:0;background:#aececd0a;pointer-events:none;transition:height .2s}.riftfin-game .pet-ability:hover{background:#ffffff06}.riftfin-game .pet-ability.empty{min-width:42px;width:42px;padding:0;justify-content:center;border-style:dashed;color:#597885}.riftfin-game .tank-utility{display:flex;gap:12px}.riftfin-game .text-button{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:9px;padding:4px 0}.riftfin-game .text-button .icon{width:15px;height:15px}.riftfin-game .text-button:hover{color:var(--mint)}.riftfin-game .market-panel{align-self:stretch;border:1px solid var(--line);background:linear-gradient(145deg,#13313c88,#0c2331bb);border-radius:14px;padding:20px 15px 0;display:flex;flex-direction:column;min-height:0;max-height:calc(100dvh - 160px)}.riftfin-game .market-heading{display:flex;align-items:center;justify-content:space-between;padding:0 4px}.riftfin-game .market-heading .eyebrow{font-size:6.5px;letter-spacing:1.4px}.riftfin-game .market-heading h2{font:normal 23px var(--serif);margin:6px 0 0;letter-spacing:-.4px}.riftfin-game .market-glyph{color:#9bbdb4;opacity:.8}.riftfin-game .market-glyph .icon{width:24px;height:24px}.riftfin-game .market-tabs{display:flex;gap:3px;margin:21px 0 13px;background:#071e2b66;padding:4px;border-radius:8px;border:1px solid var(--line)}.riftfin-game .market-tabs button{flex:1;font-size:9px;padding:8px 5px;border-radius:5px;color:var(--muted)}.riftfin-game .market-tabs button.active{background:#beded91a;color:#def5e4;box-shadow:0 1px 4px #0000001a}.riftfin-game .market-promo{display:flex;align-items:center;gap:7px;margin:0 1px 11px;font-size:8px;color:#bea98a;min-height:19px}.riftfin-game .market-promo .icon{height:13px;width:13px}.riftfin-game .market-content{overflow:auto;scrollbar-width:thin;scrollbar-color:#42606b transparent;flex:1;min-height:100px;padding:2px 1px 10px}.riftfin-game .fish-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.riftfin-game .fish-card{border:1px solid #b7e8e716;background:linear-gradient(145deg,#38555a14,#0a202e60);border-radius:9px;overflow:hidden;position:relative;min-width:0;display:flex;flex-direction:column}.riftfin-game .fish-card:hover{border-color:#bedbca47;background:#b7dbc707}.riftfin-game .fish-card canvas{display:block;width:100%;height:80px;cursor:pointer}.riftfin-game .fish-card.locked{opacity:.42}.riftfin-game .fish-card.locked canvas{filter:grayscale(.9);opacity:.55}.riftfin-game .fish-card .card-info{padding:0 9px 10px}.riftfin-game .card-info strong{font-size:9px;font-weight:550;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.riftfin-game .role-label{font-size:7px;letter-spacing:.3px;color:#84a3ae;display:block;margin:3px 0 8px;min-height:10px}.riftfin-game .buy-btn{display:flex;align-items:center;justify-content:center;gap:5px;border:1px solid #c6e4d326;border-radius:5px;min-height:26px;padding:4px 5px;width:100%;color:var(--gold);background:#e0d8a508;font-size:9px}.riftfin-game .buy-btn .icon{height:11px;width:11px}.riftfin-game .buy-btn:not(:disabled):hover{background:#b5e4cb;box-shadow:0 0 20px #b5e4cb15;color:#173c3b;border-color:transparent}.riftfin-game .buy-btn.chosen{color:var(--mint);background:#a9d9c312}.riftfin-game .card-unlock{font-size:7px;color:#a4b5bd;min-height:26px;display:flex;align-items:center;gap:4px}.riftfin-game .card-unlock .icon{width:10px;height:10px}.riftfin-game .deal-badge{position:absolute;left:6px;top:7px;background:#e6c99216;border:1px solid #e6c9922e;color:#e3c895;padding:1px 4px;border-radius:3px;font-size:6px;letter-spacing:.6px}.riftfin-game .market-section-label{font-size:7px;letter-spacing:1.4px;color:#8ca9ac;margin:15px 0 8px}.riftfin-game .market-caption{font-size:9px;line-height:1.7;color:var(--muted);padding:6px 0 11px}.riftfin-game .tech-list{display:flex;flex-direction:column;gap:8px}.riftfin-game .tech-card{display:grid;grid-template-columns:32px 1fr;gap:7px;padding:12px 10px;border:1px solid var(--line);border-radius:9px}.riftfin-game .tech-icon{width:29px;height:29px;border-radius:7px;background:#b7e6d412;color:#afcebf;display:grid;place-items:center}.riftfin-game .tech-icon .icon{width:17px;height:17px}.riftfin-game .tech-card strong{font-size:10px;font-weight:550}.riftfin-game .tech-card p{font-size:8px;line-height:1.7;color:var(--muted);margin:4px 0 9px}.riftfin-game .upgrade-dots{display:flex;gap:3px;position:absolute;right:0;top:7px}.riftfin-game .upgrade-dots i{width:4px;height:4px;border-radius:50%;background:#294954}.riftfin-game .upgrade-dots i.on{background:var(--mint)}.riftfin-game .contract-teaser{display:flex;align-items:center;gap:9px;text-align:left;padding:15px 4px;border-top:1px solid var(--line);margin-top:4px}.riftfin-game .contract-teaser>div{flex:1}.riftfin-game .contract-teaser .eyebrow{font-size:6px;letter-spacing:1.1px}.riftfin-game .contract-teaser strong{display:block;font-weight:400;font-size:8px;color:#b6cdd0;margin-top:3px}.riftfin-game .contract-icon{width:31px;height:31px;border:1px solid #bad0c329;border-radius:8px;display:grid;place-items:center;color:var(--gold)}.riftfin-game .contract-icon .icon{width:16px;height:16px}.riftfin-game .contract-teaser>span:last-child{color:#aac7c6}.riftfin-game .app-footer{display:flex;align-items:center;gap:20px;border-top:1px solid var(--line);padding:15px 0 17px;color:#637f8a;font-size:8px}.riftfin-game .app-footer>span:first-child{display:flex;align-items:center;gap:7px;flex:1}.riftfin-game .app-footer button{font-size:8px;color:#a7b9b8}.riftfin-game .app-footer button span{margin-left:8px}.riftfin-game .status-dot{width:4px;height:4px;background:#bdab86}.riftfin-game .build-number{font-size:6px;letter-spacing:1px;opacity:.6}.riftfin-game .invasion-notice{position:absolute;left:50%;top:175px;transform:translateX(-50%);display:flex;align-items:center;gap:10px;color:#f0cfdb;border:1px solid #ecafcd44;background:#3b2a50c9;padding:9px 17px;border-radius:30px;backdrop-filter:blur(10px);font-size:9px;letter-spacing:2px;pointer-events:none;white-space:nowrap}.riftfin-game .danger-dot{background:#edbbd5}.riftfin-game .invasion-notice #enemyCount{letter-spacing:.5px;font-size:8px;opacity:.8}.riftfin-game .fish-tooltip{position:absolute;pointer-events:none;transform:translate(-50%,-100%);z-index:4;padding:6px 11px;border-radius:6px;background:#092739e6;border:1px solid #bddad033;font-size:9px;color:#d1e3d8;max-width:180px;text-align:center}.riftfin-game .fish-tooltip small{color:#8eafb3;display:block;font-size:7px}.riftfin-game .tank-message{position:absolute;top:42%;left:50%;transform:translate(-50%,-50%);border-radius:8px;padding:12px 20px;background:#092a3edb;color:var(--mint);font:20px var(--serif);pointer-events:none;text-align:center}.riftfin-game .pause-overlay{position:absolute;inset:0;background:#09253699;backdrop-filter:blur(8px);z-index:9;display:flex;flex-direction:column;justify-content:center;align-items:center}.riftfin-game .pause-overlay h2{font:38px var(--serif);margin:10px 0 26px}.riftfin-game .discovery-toast{position:absolute;left:23px;bottom:92px;display:flex;align-items:center;gap:7px;border:1px solid #d4e9df40;background:#112d3ddc;padding:4px 16px 4px 2px;border-radius:10px;backdrop-filter:blur(10px);pointer-events:none;animation:hint-in .35s}.riftfin-game .discovery-toast canvas{width:67px;height:50px}.riftfin-game .discovery-toast .eyebrow{font-size:6px;color:#9fc9b6;letter-spacing:1px}.riftfin-game .discovery-toast strong{display:block;font-size:11px;margin-top:2px;font-weight:500}.riftfin-game .discovery-toast>span{color:#e4d2ac;margin-left:15px}.riftfin-game .toast-stack{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);z-index:100;display:flex;flex-direction:column;align-items:center;gap:7px;pointer-events:none}.riftfin-game .rf-toast{background:#c9eddb;color:#123b3d;padding:10px 18px;border-radius:9px;box-shadow:0 8px 30px #031c3666;max-width:min(90vw,450px);font-size:11px;text-align:center;animation:hint-in .2s}.riftfin-game .rf-toast.error{background:#f0c8c5;color:#503445}.riftfin-game dialog{color:var(--text);border:1px solid #b6e4d527;border-radius:22px;background:radial-gradient(ellipse at 30% 0,#23434b88,transparent 75%),#0d2534;padding:0;box-shadow:0 35px 120px #020e21bf;width:min(690px,92vw);max-height:90dvh;scrollbar-width:thin;scrollbar-color:#47656e transparent}.riftfin-game dialog::backdrop{background:#041624b3;backdrop-filter:blur(8px)}.riftfin-game dialog.wide{width:min(970px,94vw)}.riftfin-game dialog.intro{width:min(900px,94vw);overflow:hidden}.riftfin-game .modal-content{padding:33px 35px}.riftfin-game .modal-top{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:21px}.riftfin-game .modal-top h2{font:normal 32px/1.2 var(--serif);margin:8px 0 0;letter-spacing:-.5px}.riftfin-game .modal-top .eyebrow{font-size:8px}.riftfin-game .modal-top .close-modal{flex:none}.riftfin-game .modal-content p{color:#9db6bd;font-size:11px;line-height:1.9}.riftfin-game .modal-actions{display:flex;gap:10px;align-items:center;margin-top:23px;flex-wrap:wrap}.riftfin-game .primary,.riftfin-game .secondary,.riftfin-game .danger-button{padding:12px 18px;border-radius:8px;font-size:11px;font-weight:550;display:inline-flex;align-items:center;justify-content:center;gap:20px;min-height:42px}.riftfin-game .primary{background:var(--mint);color:#143b39;box-shadow:0 4px 20px #aadbb20a}.riftfin-game .primary:hover{background:#dbfae4}.riftfin-game .primary span:last-child{font-size:16px}.riftfin-game .secondary{background:#a7c7ca0a;border:1px solid #b6d3ca29;color:#c3d7d8}.riftfin-game .secondary:hover{background:#d7ffed0d}.riftfin-game .danger-button{background:#f2b3c01a;border:1px solid #f2b3c02b;color:#edbcc8}.riftfin-game .fineprint{font-size:9px!important;line-height:1.9!important;color:#6f939f!important}.riftfin-game .intro-layout{display:grid;grid-template-columns:1.1fr 1fr;min-height:440px}.riftfin-game .intro-copy{padding:44px 0 35px 43px;z-index:1}.riftfin-game .intro-copy .eyebrow{color:#a5c3b3;font-size:7px;letter-spacing:2.2px}.riftfin-game .intro-copy h2{font:normal 65px/1 var(--serif);letter-spacing:-2.8px;margin:23px 0 18px}.riftfin-game .intro-copy h2 em{font-weight:normal;color:var(--mint)}.riftfin-game .intro-copy p{color:#98b5bb;line-height:1.9;font-size:12px;max-width:275px;margin-bottom:23px}.riftfin-game .intro-copy .primary{min-width:204px}.riftfin-game .intro-copy .sub-action{display:block;color:#acc2c4;margin-top:14px;font-size:10px;padding:5px 0}.riftfin-game .intro-copy .fineprint{font-size:8px!important;max-width:280px;margin-top:25px}.riftfin-game .intro-art{position:relative;overflow:hidden;background:radial-gradient(ellipse at 52% 50%,#36737340,transparent 65%)}.riftfin-game .intro-art canvas{position:absolute;width:100%;height:100%;inset:0}.riftfin-game .intro-art .art-label{position:absolute;bottom:34px;left:55px;color:#9abbc0;font-size:7px;letter-spacing:1.6px}.riftfin-game .intro-art:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#102b3700 60%,#122b361a)}.riftfin-game .modal-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}.riftfin-game .exp-card{border:1px solid #bee5de21;background:linear-gradient(140deg,#83cfc80a,#0a1d2c4a);border-radius:13px;padding:19px;position:relative;overflow:hidden}.riftfin-game .exp-card:first-child{grid-column:1/-1;background:radial-gradient(ellipse at 90% 50%,#55928538,transparent 55%),#193e4233;display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px}.riftfin-game .exp-card .eyebrow{font-size:7px;letter-spacing:1.4px}.riftfin-game .exp-card h3{font:23px var(--serif);margin:9px 0 7px}.riftfin-game .exp-card p{font-size:10px;margin:7px 0 16px}.riftfin-game .exp-card .primary{padding:8px 14px;min-height:34px;font-size:10px}.riftfin-game .exp-icon{position:absolute;right:14px;top:18px;opacity:.2}.riftfin-game .exp-icon .icon{width:34px;height:34px}.riftfin-game .seed-entry{display:flex;gap:8px;align-items:center;margin-top:19px}.riftfin-game .seed-entry label{font-size:9px;color:var(--muted)}.riftfin-game input[type=text],.riftfin-game input[type=number],.riftfin-game select{background:#08212d;border:1px solid #c5e4d629;border-radius:7px;padding:10px 12px;color:#d6e7df;min-width:0;font-size:11px}.riftfin-game .seed-entry input{flex:1}.riftfin-game .seed-entry .secondary{min-height:36px;padding:8px 13px;font-size:10px}.riftfin-game .journal-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.riftfin-game .journal-card{border:1px solid var(--line);border-radius:11px;text-align:center;padding:6px 9px 13px;cursor:pointer}.riftfin-game .journal-card canvas{width:100%;height:94px}.riftfin-game .journal-card.locked{opacity:.35}.riftfin-game .journal-card.locked canvas{filter:grayscale(1)}.riftfin-game .journal-card strong{font-size:10px;font-weight:500;display:block}.riftfin-game .journal-card small{font-size:8px;color:var(--muted);display:block;margin-top:5px}.riftfin-game .journal-tabs{display:flex;gap:15px;margin-bottom:20px}.riftfin-game .journal-tabs button{font-size:11px;color:var(--muted);padding:8px 0;border-bottom:1px solid transparent}.riftfin-game .journal-tabs button.active{border-color:var(--mint);color:var(--mint)}.riftfin-game .specimen{display:grid;grid-template-columns:1fr 1fr;gap:30px}.riftfin-game .specimen-portrait{display:flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:15px;background:radial-gradient(ellipse at center,#6e9d9921,transparent 70%);min-height:230px}.riftfin-game .specimen-portrait canvas{width:100%;height:230px}.riftfin-game .trait-chip{display:inline-block;font-size:8px;letter-spacing:.7px;border:1px solid #e0d2e233;color:#dbc7e7;padding:3px 8px;border-radius:20px;margin:6px 0 12px}.riftfin-game .stat-bar{margin:12px 0}.riftfin-game .stat-bar>div:first-child{display:flex;justify-content:space-between;font-size:9px;color:#a8c1c4}.riftfin-game .stat-track{height:3px;background:#ffffff0a;border-radius:4px;margin-top:6px}.riftfin-game .stat-track i{background:var(--mint);height:100%;display:block;border-radius:4px}.riftfin-game .specimen-details p{font-size:10px}.riftfin-game .specimen-details input{width:100%}.riftfin-game .stat-row{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:9px 0;font-size:10px;color:#9bb7bd}.riftfin-game .stat-row strong{color:#dcece3;font-weight:500}.riftfin-game .setting-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 0;border-bottom:1px solid var(--line)}.riftfin-game .setting-row strong{font-size:11px;font-weight:500;display:block}.riftfin-game .setting-row small{font-size:9px;color:var(--muted);display:block;margin-top:4px}.riftfin-game .setting-row input[type=checkbox]{accent-color:var(--mint);width:17px;height:17px}.riftfin-game .help-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.riftfin-game .help-tile{border:1px solid var(--line);border-radius:11px;padding:17px}.riftfin-game .help-tile>.icon{color:var(--mint);margin-bottom:13px;width:24px;height:24px}.riftfin-game .help-tile strong{font-size:12px;display:block}.riftfin-game .help-tile p{font-size:10px;margin-bottom:0}.riftfin-game .result-hero{text-align:center;padding:5px 0 18px}.riftfin-game .result-hero .eyebrow{color:var(--mint)}.riftfin-game .result-score{font:64px var(--serif);color:#e4d1ab;letter-spacing:-2px;line-height:1.3;margin-top:8px}.riftfin-game .result-stats{display:flex;justify-content:space-around;padding:20px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.riftfin-game .result-stats>div{text-align:center}.riftfin-game .result-stats strong{font:26px var(--serif);display:block}.riftfin-game .result-stats span{font-size:8px;letter-spacing:1px;color:var(--muted)}.riftfin-game .record-list{margin-top:17px}.riftfin-game .record-row{display:flex;justify-content:space-between;align-items:center;padding:9px 0;border-bottom:1px solid var(--line);font-size:10px;color:#a2bdc1}.riftfin-game .record-row strong{color:var(--gold);font-weight:500}.riftfin-game .chapter-rewards{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin:23px 0}.riftfin-game .chapter-reward{border:1px solid var(--line);border-radius:12px;width:130px;text-align:center;padding-bottom:12px;background:#ffffff03}.riftfin-game .chapter-reward canvas{width:100%;height:90px}.riftfin-game .chapter-reward strong{font-size:10px;font-weight:500}.riftfin-game .chapter-reward small{display:block;font-size:8px;color:var(--muted);margin-top:3px}.riftfin-game .return-banner{color:#bcd8c6;padding:11px 14px;border:1px solid #b7e1cb28;border-radius:8px;background:#b7e1cb08;font-size:10px}.riftfin-game .contract-preview{display:flex;align-items:center;gap:20px;padding:5px 0}.riftfin-game .contract-preview canvas{width:180px;height:140px}.riftfin-game .contract-preview strong{font:27px var(--serif)}.riftfin-game .contract-preview small{display:block;color:var(--muted);margin-top:8px;font-size:10px}.riftfin-game .reward-pill{color:var(--gold);font-size:11px;border:1px solid #c4b48330;background:#c4b4830c;border-radius:9px;padding:13px 16px}.riftfin-game .snapshot-figure{width:100%;height:auto;border-radius:12px;border:1px solid var(--line)}@media(min-width:1550px){.riftfin-game .app-shell{padding:0 45px}.riftfin-game .game-layout{grid-template-columns:minmax(0,1fr) 318px;gap:30px}.riftfin-game .fish-card canvas{height:92px}.riftfin-game .market-panel{padding:23px 19px 0}.riftfin-game .card-info strong{font-size:11px}.riftfin-game .role-label{font-size:8px}.riftfin-game .buy-btn{min-height:29px;font-size:10px}.riftfin-game .market-promo{font-size:9px}.riftfin-game .topbar{height:96px}.riftfin-game .tank{height:calc(100dvh - 301px)}.riftfin-game .mission{width:260px;padding:16px}.riftfin-game .mission-heading strong{font-size:14px}.riftfin-game .mission-heading .eyebrow{font-size:7px}.riftfin-game .mission-bottom{font-size:10px}.riftfin-game .tool{font-size:11px;padding:12px 14px}.riftfin-game .environment-label{font-size:9px}.riftfin-game .market-panel{max-height:calc(100dvh - 172px)}}@media(max-width:1150px){.riftfin-game .app-shell{padding:0 18px}.riftfin-game .game-layout{gap:16px;grid-template-columns:minmax(0,1fr) 250px}.riftfin-game .mainnav{gap:22px;margin-left:0}.riftfin-game .save-status span:last-child{display:none}.riftfin-game .save-status{margin-right:0}.riftfin-game .tank{min-height:420px}.riftfin-game .tank-top{inset:16px 15px auto}.riftfin-game .mission{width:210px;padding:11px}.riftfin-game .resources{gap:5px}.riftfin-game .resource{padding:8px 9px}.riftfin-game .resource strong{font-size:11px}.riftfin-game .resource .icon{width:14px;height:14px}.riftfin-game .environment-label{display:none}.riftfin-game .tool{font-size:9px;padding:10px 9px}.riftfin-game .tool kbd{display:none}.riftfin-game .tank-bottom{left:15px;right:15px}.riftfin-game .pet-bar{gap:9px}.riftfin-game .pet-bar>.eyebrow{font-size:6px;letter-spacing:1px}.riftfin-game .pet-ability{min-width:80px;padding-right:7px}.riftfin-game .tank-utility .text-button span:last-child{display:none}.riftfin-game .tank-utility{gap:8px}.riftfin-game .scene-controls .muted{font-size:8px}.riftfin-game .market-panel{padding:17px 11px 0}.riftfin-game .market-heading .eyebrow{font-size:6px}.riftfin-game .fish-card canvas{height:74px}.riftfin-game .card-info strong{font-size:8px}.riftfin-game .market-tabs button{font-size:8px}.riftfin-game .app-footer{gap:12px}.riftfin-game .build-number{display:none}.riftfin-game .first-hint{left:32%;font-size:11px}}@media(max-width:850px){.riftfin-game .topbar{height:77px;gap:8px}.riftfin-game .brand{font-size:17px;letter-spacing:2px;gap:6px}.riftfin-game .brand-mark{width:28px}.riftfin-game .brand-caption{left:34px;font-size:5px;top:30px}.riftfin-game .mainnav{gap:15px}.riftfin-game .nav-tab{font-size:10px}.riftfin-game .header-right{gap:6px}.riftfin-game .icon-btn{height:30px;width:30px}.riftfin-game .save-status{display:none}.riftfin-game .game-layout{grid-template-columns:minmax(0,1fr);padding-top:18px;gap:12px}.riftfin-game .tank{height:60dvh;min-height:420px;max-height:650px}.riftfin-game .scene-heading{margin-bottom:14px}.riftfin-game .market-panel{max-height:none;height:auto;padding:17px 15px 0;display:block}.riftfin-game .market-heading{float:left}.riftfin-game .market-heading h2{font-size:22px}.riftfin-game .market-heading .eyebrow{font-size:6px}.riftfin-game .market-heading .market-glyph{display:none}.riftfin-game .market-tabs{margin:0 0 12px auto;width:240px}.riftfin-game .market-promo{clear:both;padding-top:7px}.riftfin-game .market-content{max-height:260px}.riftfin-game .fish-grid{grid-template-columns:repeat(4,1fr)}.riftfin-game .tech-list{display:grid;grid-template-columns:repeat(2,1fr)}.riftfin-game .contract-teaser{width:100%;padding:13px 3px}.riftfin-game .contract-teaser .eyebrow{font-size:7px}.riftfin-game .contract-teaser strong{font-size:10px}.riftfin-game .below-tank{min-height:64px}.riftfin-game .app-footer{margin-top:18px;font-size:7px;padding:15px 0}.riftfin-game .app-footer button{font-size:7px}.riftfin-game .tank-utility .text-button span:last-child{display:inline}.riftfin-game .scene-heading h1{font-size:25px}.riftfin-game .first-hint{left:40%}.riftfin-game .journal-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:540px){.riftfin-game .app-shell{padding:0 12px}.riftfin-game .topbar{height:69px;flex-wrap:nowrap}.riftfin-game .brand{font-size:14px;letter-spacing:1.7px}.riftfin-game .brand-mark{width:24px;height:24px}.riftfin-game .brand-caption{display:none}.riftfin-game .mainnav{gap:12px}.riftfin-game .nav-tab{font-size:9px}.riftfin-game .mainnav #journalBtn{display:none}.riftfin-game .header-right{gap:3px}.riftfin-game .header-right .icon-btn{border:0;width:25px}.riftfin-game .header-right .icon-btn .icon{width:16px;height:16px}.riftfin-game .scene-heading{margin-bottom:12px}.riftfin-game .scene-heading h1{font-size:23px}.riftfin-game .scene-heading .eyebrow{font-size:6px;letter-spacing:1.5px}.riftfin-game .scene-controls{gap:1px}.riftfin-game .scene-controls .muted{font-size:7px;margin-right:4px}.riftfin-game .tank{height:61dvh;min-height:430px;max-height:580px;border-radius:12px}.riftfin-game .tank-top{inset:12px 11px auto;gap:8px}.riftfin-game .mission{width:192px;padding:10px}.riftfin-game .mission-number{font-size:18px;padding-right:8px}.riftfin-game .mission-heading{gap:8px}.riftfin-game .mission-heading strong{font-size:10px}.riftfin-game .mission-heading .eyebrow{font-size:6px;letter-spacing:1px}.riftfin-game .mission-bottom{font-size:8px}.riftfin-game .mission-bottom strong{font-size:8px}.riftfin-game .resources{flex-direction:column;gap:5px}.riftfin-game .resource{min-height:31px;padding:7px 9px;justify-content:space-between}.riftfin-game .resource strong{font-size:10px}.riftfin-game .resource .icon{width:13px;height:13px}.riftfin-game .tank-bottom{inset:auto 10px 12px;justify-content:center}.riftfin-game .tool-dock{padding:4px;gap:1px;width:100%;justify-content:space-around}.riftfin-game .tool{min-height:41px;font-size:9px;padding:8px;gap:6px}.riftfin-game .tool .icon{height:16px;width:16px}.riftfin-game .pulse-tool{min-width:88px}.riftfin-game .dock-divider{margin:0 1px}.riftfin-game .first-hint{left:28%;top:45%;font-size:10px;gap:10px}.riftfin-game .first-hint b{font-size:8px}.riftfin-game .hint-orbit{width:22px;height:22px}.riftfin-game .hint-orbit:after{inset:8px}.riftfin-game .active-pets{gap:5px}.riftfin-game .pet-bar{gap:6px}.riftfin-game .pet-bar>.eyebrow{display:none}.riftfin-game .pet-ability{min-width:77px;height:43px;padding-right:6px}.riftfin-game .pet-ability canvas{width:35px;height:34px}.riftfin-game .pet-ability strong{font-size:9px}.riftfin-game .pet-ability small{font-size:6px}.riftfin-game .pet-ability.empty{min-width:34px;width:34px}.riftfin-game .tank-utility .text-button span:last-child{display:none}.riftfin-game .fish-grid{grid-template-columns:repeat(3,1fr)}.riftfin-game .market-tabs{width:200px}.riftfin-game .market-heading h2{font-size:20px}.riftfin-game .market-heading .eyebrow{font-size:5px}.riftfin-game .market-panel{padding:14px 11px 0}.riftfin-game .card-info strong{font-size:9px}.riftfin-game .fish-card canvas{height:80px}.riftfin-game .app-footer{align-items:flex-start;gap:15px;font-size:7px}.riftfin-game .app-footer button{min-width:81px;text-align:right;max-width:95px}.riftfin-game .app-footer .status-dot{align-self:flex-start;margin-top:3px}.riftfin-game .modal-content{padding:25px 22px}.riftfin-game .modal-top h2{font-size:27px}.riftfin-game .modal-top{margin-bottom:17px}.riftfin-game .intro-layout{display:block;min-height:480px}.riftfin-game .intro-copy{padding:37px 30px 25px;position:relative}.riftfin-game .intro-copy h2{font-size:55px;margin-top:22px}.riftfin-game .intro-copy p{font-size:11px;max-width:220px}.riftfin-game .intro-art{position:absolute;inset:110px -130px 80px 170px;z-index:0;opacity:.42;pointer-events:none}.riftfin-game .intro-copy .fineprint{font-size:7px!important}.riftfin-game .intro-art .art-label{display:none}.riftfin-game .modal-grid{grid-template-columns:1fr;gap:10px}.riftfin-game .exp-card:first-child{display:block}.riftfin-game .exp-card{padding:16px}.riftfin-game .exp-card h3{font-size:22px}.riftfin-game .exp-card p{font-size:10px;margin:5px 0 10px}.riftfin-game .exp-card .primary{font-size:9px}.riftfin-game .seed-entry{flex-wrap:wrap}.riftfin-game .seed-entry label{width:100%}.riftfin-game .journal-grid{grid-template-columns:repeat(2,1fr)}.riftfin-game .specimen{grid-template-columns:1fr;gap:16px}.riftfin-game .specimen-portrait{min-height:150px}.riftfin-game .specimen-portrait canvas{height:150px}.riftfin-game .help-grid{gap:8px}.riftfin-game .help-tile{padding:13px}.riftfin-game .help-tile strong{font-size:10px}.riftfin-game .help-tile p{font-size:9px}.riftfin-game .chapter-reward{width:107px}.riftfin-game .chapter-reward canvas{height:75px}.riftfin-game .chapter-reward strong{font-size:9px}.riftfin-game .chapter-rewards{gap:8px}.riftfin-game .contract-preview{gap:12px}.riftfin-game .contract-preview canvas{width:130px;height:110px}.riftfin-game .contract-preview strong{font-size:22px}.riftfin-game .invasion-notice{top:161px;font-size:7px;letter-spacing:1.3px;padding:8px 13px}.riftfin-game .discovery-toast{left:13px;bottom:83px}.riftfin-game .pause-overlay h2{font-size:30px}.riftfin-game .modal-actions{gap:8px}.riftfin-game .primary,.riftfin-game .secondary{font-size:10px;padding:11px 14px}}@media(prefers-reduced-motion:reduce){.riftfin-game *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Readability pass: small chrome stays quiet, actionable content stays legible. */
@media(min-width:851px){.riftfin-game .card-info strong{font-size:11px}.riftfin-game .role-label{font-size:8px}.riftfin-game .buy-btn{font-size:11px;min-height:28px}.riftfin-game .buy-btn .icon{width:12px;height:12px}.riftfin-game .market-tabs button{font-size:10px}.riftfin-game .market-promo{font-size:9px}.riftfin-game .contract-teaser strong{font-size:10px}.riftfin-game .mission-heading strong{font-size:13px}.riftfin-game .mission-bottom,.riftfin-game .mission-bottom strong{font-size:10px}.riftfin-game .tool{font-size:11px}.riftfin-game .pet-ability strong{font-size:11px}.riftfin-game .pet-ability small{font-size:8px}.riftfin-game .app-footer{font-size:9px}.riftfin-game .app-footer button{font-size:9px}.riftfin-game .tank{height:calc(100dvh - 306px)}}
@media(min-width:1550px){.riftfin-game .tank{height:calc(100dvh - 321px)}}
@media(min-width:851px) and (max-width:1150px){.riftfin-game .card-info strong{font-size:10px}.riftfin-game .role-label{font-size:7px}.riftfin-game .tool{font-size:10px}.riftfin-game .pet-ability strong{font-size:10px}}

/* v2 — the playfield stays unobstructed; controls live outside the canvas. */
.riftfin-game .topbar{height:72px}.riftfin-game .brand{font-size:19px}.riftfin-game .game-layout{padding-top:18px;gap:22px}.riftfin-game .scene-heading{margin-bottom:12px;min-height:56px}.riftfin-game .scene-heading h1{margin:0;font-size:25px}.riftfin-game .scene-controls{align-self:center}.riftfin-game .tank{height:calc(100dvh - 295px);min-height:410px;max-height:850px}.riftfin-game .tank-top{justify-content:flex-end;inset:17px 18px auto}.riftfin-game .tank-top .glass{backdrop-filter:none;background:#092d3edf}.riftfin-game .invasion-notice{top:23px;backdrop-filter:none;background:#302440e8;font-size:9px;letter-spacing:1.2px}.riftfin-game .first-hint{left:50%;top:44%;transform:translateX(-50%);white-space:nowrap}.riftfin-game .reef-status{display:flex;align-items:center;gap:9px;margin-top:6px;font-size:9px;color:var(--muted);min-height:16px}.riftfin-game .reef-status>span:first-child{font-size:9px;color:var(--mint);font-variant-numeric:tabular-nums}.riftfin-game .mini-track{width:46px;height:2px;background:#b3d8d51b;overflow:hidden}.riftfin-game .mini-track i{display:block;height:100%;background:var(--mint);transition:width .3s}.riftfin-game .raid-timer{font-size:10px;color:#9eafb6;font-variant-numeric:tabular-nums;min-width:54px;text-align:right}.riftfin-game .raid-timer:before{content:'◷ ';opacity:.7}.riftfin-game .raid-timer.warning{color:#f3b3c7}.riftfin-game .below-tank{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;min-height:64px;gap:8px;padding-top:9px}.riftfin-game .tool-dock{position:static;background:#0c2532;border:1px solid var(--line);box-shadow:none;padding:5px;border-radius:11px;gap:1px}.riftfin-game .tool{padding:9px 10px;min-height:40px}.riftfin-game .tool kbd{display:inline-grid!important;place-items:center;font-size:8px}.riftfin-game .tool .icon{width:16px;height:16px}.riftfin-game .tool-dock .pulse-tool{min-width:105px}.riftfin-game .tool-dock .pulse-tool .energy-number{font-size:8px}.riftfin-game .tool-dock .energy-track{left:8px;right:8px;bottom:3px}.riftfin-game .pet-bar{gap:5px}.riftfin-game .pet-ability{min-width:90px;height:46px;padding-right:8px}.riftfin-game .pet-ability strong em{font-size:8px;font-style:normal;color:var(--mint);margin-left:3px}.riftfin-game .pet-ability canvas{width:39px}.riftfin-game .pet-ability.empty{min-width:41px}.riftfin-game .reef-utilities{display:flex;justify-content:space-between;align-items:center;min-height:31px;gap:12px;margin-bottom:4px}.riftfin-game .context-hint{font-size:10px;color:#96b0b7}.riftfin-game .context-hint.teaching{color:#c0e8cf}.riftfin-game .context-hint.teaching:before{content:'⌨ ';color:var(--mint)}.riftfin-game .tank-utility{margin-left:auto}.riftfin-game .market-panel{padding:12px 12px 0;max-height:calc(100dvh - 125px)}.riftfin-game .market-tabs{margin:0 0 9px;width:100%;padding:4px}.riftfin-game .market-tabs button{font-size:10px;min-height:35px}.riftfin-game .market-content{padding-top:9px}.riftfin-game .market-caption{font-size:10px;color:var(--muted);margin:3px 0 13px;line-height:1.65}.riftfin-game .market-section-label{font-size:8px}.riftfin-game .fish-card{overflow:hidden}.riftfin-game .role-label{font-size:9px}.riftfin-game .buy-btn{min-height:31px;font-size:10px}.riftfin-game .card-info strong{font-size:12px}.riftfin-game .nursery-toggle{display:flex;align-items:center;gap:9px;width:100%;min-height:39px;border:1px solid var(--line);border-radius:8px;padding:7px 10px;font-size:10px;color:var(--muted);text-align:left}.riftfin-game .nursery-toggle .icon{width:15px;height:15px}.riftfin-game .nursery-toggle strong{font-weight:500;font-size:9px;margin-left:auto}.riftfin-game .nursery-toggle.active,.riftfin-game .nursery-toggle.ready{color:var(--mint);border-color:#afdacb42;background:#b9dfd40a}.riftfin-game #nurseryBadge:not(:empty){font-size:8px;color:#092a33;background:var(--mint);border-radius:5px;padding:2px 5px;white-space:nowrap}.riftfin-game .crew-card .card-info{padding-bottom:8px}.riftfin-game .level-tag{color:#badcca;font-weight:400;font-size:9px}.riftfin-game .crew-upgrade{font-size:9px;width:100%;min-height:29px;display:flex;justify-content:center;align-items:center;gap:5px;margin-top:5px;color:#c8dfcc}.riftfin-game .crew-upgrade .icon{width:11px;height:11px}.riftfin-game .crew-upgrade:not(:disabled):hover{background:#b9dcca0d;border-radius:5px}.riftfin-game .swap-slots{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.riftfin-game .swap-slot{display:flex;flex-direction:column;align-items:center;padding:10px;border:1px solid var(--line);border-radius:12px;background:#b4e0c705;gap:7px}.riftfin-game .swap-slot:hover{border-color:var(--mint)}.riftfin-game .swap-slot canvas{width:85px;height:75px}.riftfin-game .swap-slot small{color:var(--muted);font-size:10px}.riftfin-game .swap-slot span{font-size:11px;color:var(--mint);margin:6px 0}.riftfin-game .gene-chips{display:flex;flex-wrap:wrap;gap:5px;margin:12px 0}.riftfin-game .gene-chips span{font-size:9px;border:1px solid #94c6c237;color:#b4d2cf;background:#abcfc908;padding:4px 7px;border-radius:5px}.riftfin-game .gene-chips .inherited{color:#cec6ee;border-color:#c4afe43d;background:#bc9dda08}.riftfin-game .specimen-portrait{position:relative}.riftfin-game .lineage-badge{position:absolute;bottom:8px;left:10px;color:#bad8cb;font-size:10px;letter-spacing:1px}.riftfin-game .spawn-pair{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:3px 0 18px;color:var(--muted)}.riftfin-game .spawn-pair canvas{width:120px;height:90px;max-width:100%;display:block}.riftfin-game .spawn-pair>canvas{width:27%}.riftfin-game .spawn-pair>div{width:29%;position:relative}.riftfin-game .spawn-pair small{position:absolute;right:8px;bottom:0;color:var(--mint);font-size:10px}.riftfin-game .spawn-partner-label{display:block;font-size:10px;color:var(--muted);margin-bottom:6px}.riftfin-game .spawn-partner{width:100%;padding:11px;background:#122f3c;border:1px solid #b3d8d52c;border-radius:8px;color:var(--text);font-size:12px}.riftfin-game .spawn-partner option{background:#122f3c}.riftfin-game .spawn-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:16px 0}.riftfin-game .spawn-facts>div{display:flex;flex-direction:column;gap:4px}.riftfin-game .spawn-facts span{color:var(--muted);font-size:10px}.riftfin-game .spawn-facts strong{font-size:15px;font-weight:500;font-variant-numeric:tabular-nums}.riftfin-game .spawn-reason{font-size:11px!important;color:#e8c6a4;margin-top:14px}.riftfin-game .spawn-list{display:flex;flex-direction:column;gap:12px}.riftfin-game .spawn-card{padding:12px;border:1px solid var(--line);border-radius:12px;background:#b9e4d905}.riftfin-game .spawn-card-head{display:flex;align-items:center;gap:8px}.riftfin-game .spawn-card-head canvas{width:82px;height:65px}.riftfin-game .spawn-card-head strong{font-size:12px;font-weight:500;display:block}.riftfin-game .spawn-card-head small{font-size:9px;color:var(--muted)}.riftfin-game .spawn-progress{height:4px;background:#a3d3c814;border-radius:3px;overflow:hidden;margin-top:12px}.riftfin-game .spawn-progress i{height:100%;display:block;background:#b5ded0}.riftfin-game .spawn-timing{display:flex;justify-content:space-between;font-size:9px;color:var(--muted);margin:9px 0}.riftfin-game .spawn-actions{display:flex;gap:8px}.riftfin-game .spawn-actions .buy-btn{flex:1;justify-content:center;gap:9px}.riftfin-game .spawn-actions .text-button{padding:0 9px}.riftfin-game .spawn-actions .icon{width:15px}.riftfin-game .snapshot-content{position:relative;padding-top:56px}.riftfin-game .snapshot-close{position:absolute;right:16px;top:12px}.riftfin-game .sr-only{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap}.riftfin-game .toast-stack{pointer-events:none}.riftfin-game .rf-toast{max-width:370px;font-size:11px}.riftfin-game .app-footer{margin-top:0}.riftfin-game .fineprint{line-height:1.7}.riftfin-game .modal-top .eyebrow:empty{display:none}.riftfin-game .specimen-details .gene-chips{margin-bottom:2px}.riftfin-game .pause-overlay h2{font-size:36px}.riftfin-game .pause-overlay kbd{font-size:10px}.riftfin-game .tool.active{background:#b1d9cb18}.riftfin-game .modal-content .stat-row strong{max-width:67%;text-align:right;font-size:11px}.riftfin-game .food-notice{color:#eac79c}
@media(min-width:1700px){.riftfin-game .tank{height:calc(100dvh - 300px)}}
@media(max-width:1200px) and (min-width:851px){.riftfin-game .app-shell{padding:0 20px}.riftfin-game .game-layout{grid-template-columns:minmax(0,1fr) 260px;gap:17px}.riftfin-game .below-tank{justify-content:flex-start;min-height:116px;gap:6px}.riftfin-game .pet-bar{width:100%;justify-content:flex-start}.riftfin-game .tank{height:calc(100dvh - 341px)}.riftfin-game .invasion-notice{top:75px}.riftfin-game .market-panel{max-height:calc(100dvh - 120px)}.riftfin-game .tool{padding:8px 10px}}
@media(max-width:850px){.riftfin-game .topbar{height:auto;min-height:70px}.riftfin-game .game-layout{grid-template-columns:1fr;padding-top:12px}.riftfin-game .scene-heading{margin-bottom:10px}.riftfin-game .tank{height:55dvh;min-height:360px;max-height:680px}.riftfin-game .below-tank{justify-content:space-between;min-height:65px}.riftfin-game .market-panel{padding:12px;max-height:none;display:flex;height:auto}.riftfin-game .market-tabs{width:100%;margin:0 0 8px}.riftfin-game .market-content{max-height:400px;min-height:110px}.riftfin-game .market-panel .fish-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.riftfin-game .nursery-toggle{margin-bottom:3px}.riftfin-game .market-caption{margin:6px 0}.riftfin-game .reef-utilities{margin-bottom:0}.riftfin-game .app-footer{margin-top:16px}.riftfin-game .spawn-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.riftfin-game .tank-top{inset:13px 12px auto}.riftfin-game .scene-heading h1{font-size:24px}.riftfin-game .resource{padding:8px 11px}.riftfin-game .invasion-notice{top:72px}}
@media(max-width:650px){.riftfin-game .below-tank{justify-content:center;gap:8px;padding-top:10px;min-height:116px}.riftfin-game .pet-bar{justify-content:center;width:100%}.riftfin-game .tool-dock{justify-content:space-between;width:100%;padding:4px}.riftfin-game .tool{flex:1;padding:9px 6px;gap:5px;font-size:10px}.riftfin-game .tool kbd{font-size:8px}.riftfin-game .tool-dock .pulse-tool{min-width:99px}.riftfin-game .pet-ability{min-width:88px}.riftfin-game .pet-ability.empty{min-width:48px}.riftfin-game .tank{height:51dvh;min-height:330px}.riftfin-game .market-panel .fish-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.riftfin-game .market-content{max-height:385px}.riftfin-game .reef-status{font-size:8px;gap:6px}.riftfin-game .reef-status .mini-track{width:27px}.riftfin-game .reef-utilities{min-height:39px;align-items:center}.riftfin-game .context-hint{font-size:9px;max-width:68%;line-height:1.5}.riftfin-game .tank-utility .text-button{font-size:9px}.riftfin-game .first-hint{font-size:10px;gap:9px}.riftfin-game .first-hint .hint-orbit{width:29px;height:29px}.riftfin-game .spawn-list{grid-template-columns:1fr}.riftfin-game .spawn-pair canvas{height:80px}.riftfin-game .spawn-facts strong{font-size:13px}.riftfin-game .gene-chips span{font-size:8px}.riftfin-game .swap-slots{gap:7px}.riftfin-game .swap-slot{padding:8px 4px}.riftfin-game .swap-slot canvas{width:65px;height:60px}.riftfin-game .brand{font-size:17px}.riftfin-game .scene-heading h1{font-size:22px}}
@media(max-width:390px){.riftfin-game .market-panel .fish-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.riftfin-game .scene-controls{gap:3px}.riftfin-game .raid-timer{font-size:9px}.riftfin-game .scene-heading h1{font-size:20px}.riftfin-game .pet-ability{min-width:83px}.riftfin-game .pet-ability canvas{width:33px}.riftfin-game .tool-dock .pulse-tool{min-width:97px}.riftfin-game .tool{gap:3px}.riftfin-game .tool .icon{width:14px}}
