@font-face{font-family:Pretendard;font-style:normal;font-display:swap;font-weight:400;src:url(./pretendard-latin-400-normal-BhrLQoBv.woff2)format("woff2"),url(./pretendard-latin-400-normal-D5CgADJ9.woff)format("woff")}@font-face{font-family:Pretendard;font-style:normal;font-display:swap;font-weight:500;src:url(./pretendard-latin-500-normal-Dw2vNklR.woff2)format("woff2"),url(./pretendard-latin-500-normal-Cs2k_Pp2.woff)format("woff")}@font-face{font-family:Pretendard;font-style:normal;font-display:swap;font-weight:600;src:url(./pretendard-latin-600-normal-ClEDdoZU.woff2)format("woff2"),url(./pretendard-latin-600-normal-SXfe8JY8.woff)format("woff")}@font-face{font-family:Pretendard;font-style:normal;font-display:swap;font-weight:700;src:url(./pretendard-latin-700-normal-BYNivUXw.woff2)format("woff2"),url(./pretendard-latin-700-normal-DD7wHHNl.woff)format("woff")}@font-face{font-family:Pretendard;font-style:normal;font-display:swap;font-weight:800;src:url(./pretendard-latin-800-normal-C0vVUedy.woff2)format("woff2"),url(./pretendard-latin-800-normal-DkRXFB8B.woff)format("woff")}:root{color:#eee3d7;font-synthesis:none;--blood-glass:#5e161d;--chamber-iron:#29171b;--burnished-brass:#c99b57;--bone-ink:#eee3d7;--ash-label:#ad9788;--surgical-blue:#77baff;--reward-gold:#f0c36f;--line:#d3ab763d;-webkit-font-smoothing:antialiased;background:#10090c;font-family:Pretendard,sans-serif}*{box-sizing:border-box}body{background:radial-gradient(at 52% 34%,#481a22 0,#211014 42%,#0c080a 78%);min-width:320px;min-height:100vh;margin:0}body:before{content:"";pointer-events:none;opacity:.2;background:repeating-linear-gradient(94deg,#0000 0 82px,#7b3840 84px 85px,#0000 87px 166px),linear-gradient(120deg,#0000 40%,#80333e20 40.3% 40.7%,#0000 41%);position:fixed;inset:0}button{font:inherit}button:focus-visible,[tabindex]:focus-visible{outline-offset:3px;outline:2px solid #ffe4a3}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;top:0;left:0;overflow:hidden}.surgery-room{width:min(1600px,100%);min-height:100vh;margin:auto;padding:24px 54px 42px;position:relative;overflow:hidden}.game-title{z-index:4;align-items:center;gap:12px;display:flex;position:absolute;top:22px;left:26px}.game-title h1{color:#d9ceca;letter-spacing:.03em;text-shadow:0 3px 14px #000;margin:0;font:800 34px Pretendard,sans-serif}.game-title span{color:#8d7974;letter-spacing:.18em;font:14px Pretendard,sans-serif;display:block}.sound-toggle{color:#d9c5ad;cursor:pointer;background:#160e10b8;border:1px solid #d3ab7647;border-radius:4px;place-items:center;width:36px;height:36px;margin-left:2px;padding:0;transition:color .14s,border-color .14s,background .14s,transform .14s;display:grid}.sound-toggle svg{width:19px;height:19px}.sound-toggle:hover{color:#f0d09a;background:#2d1a1b;border-color:#e0ae6794}.sound-toggle:active{transform:scale(.97)}.sound-toggle[aria-pressed=false]{color:#836d67;border-color:#976f6940}.progress-panel{z-index:4;text-align:center;width:212px;color:var(--bone-ink);border:1px solid var(--line);background:linear-gradient(#271a18e8,#120d0ee8);padding:0 12px 14px;position:absolute;top:184px;left:38px;box-shadow:0 14px 35px #0008,inset 0 0 24px #8d562312}.new-surgery-button{color:#2a160f;letter-spacing:.04em;cursor:pointer;background:linear-gradient(#e0b264,#9a6130);border:1px solid #d39a50;border-top:0;width:calc(100% + 24px);min-height:46px;margin:0 -12px 10px;font-weight:800;transition:filter .14s,transform .14s,box-shadow .14s;box-shadow:inset 0 1px #ffe5b0,0 4px 12px #0006}.new-surgery-button:hover{filter:brightness(1.12);box-shadow:inset 0 1px #fff0c9,0 5px 15px #0008}.new-surgery-button:active{transform:scale(.97)}.new-surgery-button:disabled{color:#725942;box-shadow:none;cursor:not-allowed;background:#33261e;border-color:#65503b}.panel-cap{color:#dccbaa;background:linear-gradient(90deg,#604325,#2d2118,#604325);margin:0 -12px 6px;padding:5px;font-size:15px;font-weight:700}.round-value{color:#e5c88d;font-variant-numeric:tabular-nums;padding:2px 0 9px;font:42px Pretendard,sans-serif;display:block}.round-value small{color:#9e8b7d;font-size:22px}.metric{border-top:1px solid var(--line);padding:9px 3px}.metric>span{color:#c3ada0;font-size:14px;display:block}.metric>b{color:#eadfcf;font-variant-numeric:tabular-nums;margin-top:3px;font:19px Pretendard,sans-serif;display:block}.plan-bonuses{justify-content:center;align-items:center;gap:5px;font-size:16px!important;display:flex!important}.plan-bonuses span{display:contents}.plan-bonuses i{color:#6f5c56;font-style:normal;font-weight:400}.final-activity>b{color:var(--reward-gold);text-shadow:0 0 14px #f0c36f24;font-size:22px}.earned-rewards{border-top:1px solid var(--line);padding:10px 2px 11px}.earned-rewards>span{color:#c3ada0;margin-bottom:6px;font-size:14px;display:block}.bottle-rewards{justify-items:center;gap:4px;display:grid}.bottle-row{justify-content:center;align-items:end;gap:3px;display:flex}.reward-bottle{color:#8d7876;filter:drop-shadow(0 3px 3px #0008);width:22px;height:35px;overflow:visible;transform:rotate(-6deg)}.bottle-glass{fill:#cfdeda14;stroke:#e1e2d77a;stroke-width:1.3px}.bottle-liquid{fill:#838f8b14;stroke:#ffffff14;stroke-width:.6px}.bottle-white .bottle-liquid{fill:#e7e3d5;filter:drop-shadow(0 0 4px #f4eed385)}.bottle-purple .bottle-liquid{fill:#a75bce;filter:drop-shadow(0 0 4px #bb5fe98c)}.bottle-red .bottle-liquid{fill:#c83d48;filter:drop-shadow(0 0 5px #e541469e)}.bottle-rainbow .bottle-liquid{filter:drop-shadow(0 0 5px #8dc9ff9e)}.bottle-shine{fill:none;stroke:#ffffff6b;stroke-width:1.1px;stroke-linecap:round}.bottle-rim{fill:#26191b;stroke:#ddc7b57a;stroke-width:1px}.bottle-rewards>small{color:#9f8879;font-variant-numeric:tabular-nums;font:10px Pretendard,sans-serif}.bottle-rewards:not(.compact)>small{background:#55372247;border:1px solid #daac6933;padding:2px 6px;font-size:12px}.bottle-rewards.compact{justify-content:flex-start;align-items:center;gap:7px;display:flex}.bottle-rewards.compact .bottle-row{gap:1px}.bottle-rewards.compact .reward-bottle{width:16px;height:27px}.bottle-rewards.compact>small{color:#d1a866;white-space:nowrap}.overview-button{color:#f1d7a2;cursor:pointer;background:linear-gradient(#5b4026,#332319);border:1px solid #b6884c;width:100%;min-height:42px;margin-top:11px;transition:filter .14s,transform .14s}.overview-button:hover{filter:brightness(1.18)}.overview-button:active{transform:scale(.97)}.tool-rack{z-index:5;align-items:center;gap:14px;display:flex;position:absolute;top:28px;right:58px}.tool-slot{color:#e0b775;cursor:help;background:radial-gradient(circle,#311d1f 0,#120b0e 72%);border-bottom:2px solid #7e5c3b;place-items:center;width:58px;height:58px;display:grid;position:relative}.tool-slot .card-art{object-fit:contain;filter:drop-shadow(0 2px 2px #0009);width:43px;height:43px}.tool-slot.mystery{color:#80706f;border-bottom-color:#4c3d3e}.mystery-mark,.empty-mark{font:28px Pretendard,sans-serif}.tool-tooltip{z-index:10;text-align:left;color:#d5beaa;opacity:0;pointer-events:none;transform-origin:100% 0;background:#211315f8;border:1px solid #9c7048;width:280px;padding:12px 14px;transition:opacity .16s,transform .16s;position:absolute;top:66px;right:0;transform:translateY(-5px)scale(.98);box-shadow:0 12px 28px #000c}.tool-tooltip b{color:#f1ce8b;font-size:17px;display:block}.tool-tooltip p{margin:5px 0 0;font-size:15px;line-height:1.5}.tool-slot:hover .tool-tooltip,.tool-slot:focus .tool-tooltip{opacity:1;transform:translateY(0)scale(1)}.chamber{background:linear-gradient(#2b10169c,#0000 78%);width:auto;min-height:376px;margin:82px 328px 0 264px;padding:16px 8px 24px;position:relative}.chamber:after{content:"";background:linear-gradient(#71565140,#0b080a);border-top:2px solid #765950;height:25px;position:absolute;bottom:0;left:3%;right:3%;transform:perspective(250px)rotateX(52deg)}.tanks{z-index:1;grid-template-columns:repeat(6,1fr);gap:clamp(6px,1.2vw,18px);display:grid;position:relative}.tank{min-width:0;height:290px;color:var(--bone-ink);text-align:center;cursor:default;background:0 0;border:0;padding:0;position:relative}.tank:before,.tank:after{content:"";z-index:4;pointer-events:none;position:absolute;left:2%;right:2%}.tank:before{clip-path:polygon(5% 36%,15% 36%,20% 8%,30% 24%,50% 0,70% 24%,80% 8%,85% 36%,95% 36%,100% 72%,89% 88%,11% 88%,0 72%);filter:drop-shadow(0 3px 2px #080407aa);background:linear-gradient(#614047 0,#2b1a1f 40%,#160e12 72%,#734148 76%,#241519 100%);height:31px;top:0;box-shadow:inset 0 1px #a16b7155,0 6px 9px #080407b8}.tank:after{clip-path:polygon(7% 0,93% 0,100% 34%,91% 48%,86% 100%,72% 100%,68% 68%,32% 68%,28% 100%,14% 100%,9% 48%,0 34%);filter:drop-shadow(0 2px 2px #080407aa);background:linear-gradient(#74434a 0,#2a181d 28%,#130c0f 68%,#4b2b31 100%);height:28px;bottom:67px;box-shadow:inset 0 1px #b47a7950,0 7px 10px #070405c9}.fluid{z-index:1;background:radial-gradient(at 50% 100%,#ff383f70 0,#b5192e3d 34%,#0000 72%),linear-gradient(90deg,#0d080bcf 0,#5e1b2659 18%,#8d29325c 48%,#4a111c73 77%,#0b070acd 100%),linear-gradient(#8f4a5542 0,#0000 18%,#5e131d33 72%,#a3162538 100%);border:4px solid #493138;border-radius:22px 22px 10px 10px;position:absolute;inset:18px 9% 76px;overflow:hidden;box-shadow:inset 0 0 0 1px #d18b9347,inset 9px 0 16px #e48c8f17,inset -10px 0 18px #090407a6,inset 0 -18px 28px #f4263340,0 8px #211419,0 10px 16px #050304a8}.fluid:before{content:"";filter:blur(5px);background:radial-gradient(#ff4b4fb8 0,#d51f3370 36%,#62101c2b 62%,#0000 74%);border-radius:50%;height:46px;position:absolute;bottom:-15px;left:10%;right:10%}.fluid:after{content:"";background:linear-gradient(#f3c6c90d 0,#0000 22%,#28090f26 78%,#ff555b18 100%);position:absolute;inset:0}.specimen{z-index:2;object-fit:contain;filter:drop-shadow(0 0 11px #ff642988);width:86px;height:86px;position:absolute;top:60px;left:50%;transform:translate(-50%)}.glass-sheen{z-index:3;pointer-events:none;background:linear-gradient(104deg,#0000 0 15%,#ffd6d815 18%,#fff4f524 21%,#ffd8da0a 25%,#0000 29% 67%,#ffd6d80d 71%,#0000 75%),linear-gradient(90deg,#ffffff0a,#0000 24% 80%,#ffffff08);border-radius:17px 17px 7px 7px;position:absolute;inset:22px 12% 85px;overflow:hidden;box-shadow:inset 1px 0 #ffd9dc17,inset -1px 0 #fff1f10d}.tank-label{z-index:5;background:linear-gradient(90deg,#0000,#160b0eea 13% 87%,#0000);border-top:2px solid #80514a;min-height:80px;padding-top:6px;position:absolute;bottom:0;left:0;right:0}.tank-name{justify-content:center;align-items:center;gap:5px;min-width:0;display:flex}.label-species-icon{object-fit:contain;filter:drop-shadow(0 0 4px #ff866b66);flex:none;width:22px;height:22px}.tank-label b{color:#bcbab7;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:14px;display:block;overflow:hidden}.tank-stat{color:#d9b7a4;font-variant-numeric:tabular-nums;justify-content:center;align-items:center;gap:4px;font:13px/1.45 Pretendard,sans-serif;display:flex}.tank-stat.total-activity{color:#f1c37a}.tank-stat-number{opacity:.6}.tank-stat>i{color:#8d7770;margin:0 1px;font-style:normal}.tank-stat-icon{flex:none;width:13px;height:13px}.activity-icon{color:#dc514b;filter:drop-shadow(0 0 3px #e64d4488)}.quantity-icon{color:#acaba9;filter:drop-shadow(0 0 2px #d7d7d655)}.rarity-노멀 .tank-name b{color:#b9b0aa;text-shadow:0 1px 3px #000c}.rarity-매직 .tank-name b{color:#539dcd;text-shadow:0 1px 3px #000c}.rarity-레어 .tank-name b{color:#e1971c;text-shadow:0 1px 3px #000c}.rarity-보스 .tank-name b{color:#cf363d;text-shadow:0 1px 3px #000c}.tank.selectable{cursor:pointer}.tank.selectable .specimen{filter:drop-shadow(0 0 1px #c77a37bb)}.tank.target-selected .specimen{filter:drop-shadow(0 0 1px #ffe1a3)drop-shadow(0 0 4px #d77d36);animation:none}.decision{z-index:3;width:min(826px,100% - 530px);margin:8px auto 0;position:relative}.cards{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.choice-card{--card-border:#777470;--card-border-hover:#aaa6a1;--card-surface-top:#252728;--card-surface-bottom:#111314;--card-title:#cbc8c3;--card-body:#b7b4af;--card-meta:#96938f;--card-scroll:#74716d;color:#dedbd6;text-align:center;border:1px solid var(--card-border);background:linear-gradient(180deg, var(--card-surface-top), var(--card-surface-bottom));border-radius:3px;width:100%;min-width:0;height:260px;padding:16px 18px;transition:transform .16s,border-color .16s,box-shadow .16s;position:relative;box-shadow:inset 0 0 0 2px #ffffff06,0 8px 22px #0008}.choice-select{z-index:1;color:#0000;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.choice-select:disabled{cursor:default}.choice-card:not(.disabled):not(.selected):has(.choice-select:hover){border-color:var(--card-border-hover);transform:translateY(-4px)}.choice-card:not(.disabled):has(.choice-select:active){transform:translateY(-4px)scale(.98)}.choice-card.disabled{filter:none;transform:none}.choice-card.disabled .choice-card-content{opacity:.46}.choice-card.disabled .choice-card-description{cursor:default}.choice-card-content{pointer-events:none;height:100%}.choice-card-heading{text-align:center;flex-direction:column;align-items:center;height:88px;display:flex;overflow:hidden}.choice-card .card-art{color:#e1b16d;object-fit:contain;filter:drop-shadow(0 2px 2px #0009);width:52px;height:52px;margin:0 auto 6px;display:block}.choice-card b{color:var(--card-title);font-size:16px;display:block}.choice-card-description{z-index:2;text-align:center;pointer-events:auto;cursor:pointer;-webkit-user-select:none;user-select:none;scrollbar-color:var(--card-scroll) #111315;scrollbar-width:thin;height:calc(100% - 116px);min-height:0;padding:0 4px;position:relative;overflow-y:auto}.choice-card-description::-webkit-scrollbar{width:5px}.choice-card-description::-webkit-scrollbar-track{background:#111315}.choice-card-description::-webkit-scrollbar-thumb{background:var(--card-scroll)}.choice-card p{color:var(--card-body);text-align:center;text-wrap:pretty;margin:0;font-size:14px;line-height:1.55}.choice-card small{height:20px;color:var(--card-meta);text-align:center;margin-top:8px;font:14px Pretendard,sans-serif;display:block}.choice-help{z-index:3;color:#0000;width:40px;height:40px;box-shadow:none;cursor:help;background:0 0;border:0;place-items:center;padding:0;font-size:0;transition:transform .14s;display:grid;position:absolute;top:8px;right:8px}.choice-help:before{content:"?";color:#e8c887;background:#171012d9;border:1px solid #e8c8876b;border-radius:50%;place-items:center;width:28px;height:28px;font:600 13px Pretendard,sans-serif;transition:color .14s,border-color .14s,background .14s;display:grid;box-shadow:0 3px 9px #0007}.choice-help:hover:before{color:#fff0bd;background:#3c2a20;border-color:#f0cf8b}.choice-help:active{transform:scale(.97)}.choice-help:disabled{cursor:default}.choice-help:disabled:before{opacity:.35}.choice-card.selected{opacity:1;border-color:#ff9b38;transform:translateY(-4px);box-shadow:inset 0 0 0 2px #ffad4a,inset 0 0 24px #f18a2614,0 0 15px #ff8b324d,0 11px 28px #000b}.choice-card.selected .choice-card-content,.choice-card.replay-highlight .choice-card-content{opacity:1}.tier-노멀,.risk-없음,.risk-낮음{--card-border:#858482;--card-border-hover:#b2b1ae;--card-surface-top:#303132;--card-surface-bottom:#1a1b1c;--card-title:#d0cfcc;--card-meta:#9d9c99;--card-scroll:#7d7c79}.tier-매직,.risk-보통{--card-border:#356f98;--card-border-hover:#58a0d0;--card-surface-top:#17354b;--card-surface-bottom:#0b161f;--card-title:#91bad3;--card-meta:#5f95b9;--card-scroll:#3f7395}.tier-레어,.tier-도구,.risk-높음{--card-border:#b87924;--card-border-hover:#e2a13f;--card-surface-top:#483016;--card-surface-bottom:#1b1209;--card-title:#dec18a;--card-meta:#bd873a;--card-scroll:#95652d}.action-row{grid-template-columns:110px 190px 110px;justify-content:center;align-items:center;gap:10px;margin-top:12px;display:grid}.confirm-button{color:#28170f;cursor:pointer;background:linear-gradient(#d2a052,#8a572a);border:1px solid #d4a055;grid-column:2;min-height:45px;font-weight:700;box-shadow:inset 0 1px #ffe1a6}.confirm-button:active,.reroll-button:active{transform:scale(.97)}.confirm-button:disabled{color:#806d5e;box-shadow:none;cursor:not-allowed;background:#291c18;border-color:#594330}.reroll-button{color:#e0b871;cursor:pointer;background:#241718d9;border:1px solid #946c3e;grid-column:3;justify-content:center;align-items:center;gap:9px;min-height:45px;display:flex}.reroll-button svg{width:29px;height:29px}.reroll-button b{font:19px Pretendard,sans-serif}.reroll-button:disabled{opacity:.35;cursor:not-allowed}.tank.effect-stats .fluid{animation:monster-impact var(--effect-duration,.18s) cubic-bezier(.23,1,.32,1) both}.tank.effect-stats .specimen{animation:specimen-impact var(--effect-duration,.18s) cubic-bezier(.23,1,.32,1) both}.tank.tool-effect-target.effect-stats .fluid{animation-name:tool-monster-impact}.tank.effect-addition .fluid{animation:monster-addition var(--effect-duration,.32s) cubic-bezier(.16,1,.3,1) both}.tank.effect-addition .specimen{animation:specimen-addition var(--effect-duration,.32s) cubic-bezier(.16,1,.3,1) both}.tank.effect-addition .tank-label{animation:label-addition var(--effect-duration,.32s) ease-out both}.tank.effect-removal .fluid{animation:monster-removal var(--effect-duration,.26s) cubic-bezier(.77,0,.175,1) both}.tank.effect-removal .specimen{animation:specimen-removal var(--effect-duration,.26s) cubic-bezier(.77,0,.175,1) both}.tank.effect-removal .tank-label{animation:label-removal var(--effect-duration,.26s) cubic-bezier(.77,0,.175,1) both}.tank.effect-transformation .fluid{animation:monster-transformation var(--effect-duration,.36s) cubic-bezier(.16,1,.3,1) both}.tank.effect-transformation .specimen{animation:specimen-transformation var(--effect-duration,.36s) cubic-bezier(.16,1,.3,1) both}.tank.effect-fusion .fluid{animation:fusion-impact var(--effect-duration,.42s) cubic-bezier(.23,1,.32,1) both}.tank.effect-fusion .specimen{animation:fusion-specimen var(--effect-duration,.42s) cubic-bezier(.23,1,.32,1) both}.tool-slot.effect-active{animation:tool-impact var(--effect-duration,.18s) cubic-bezier(.23,1,.32,1) both}.tool-slot.effect-active .card-art{animation:tool-card-impact var(--effect-duration,.18s) cubic-bezier(.23,1,.32,1) both}@keyframes monster-impact{0%,to{filter:brightness();transform:scale(1)}45%{filter:brightness(2.35)saturate(1.55);transform:scale(1.045);box-shadow:inset 0 0 28px #fff0a7,0 0 20px #ffc65c}}@keyframes tool-monster-impact{0%,to{filter:brightness();transform:scale(1)}45%{filter:brightness(2.2)saturate(1.35);transform:scale(1.045);box-shadow:inset 0 0 30px #9bc9ff,0 0 22px #5ca8ff}}@keyframes specimen-impact{0%,to{transform:translate(-50%)scale(1)}45%{filter:brightness(1.8)drop-shadow(0 0 18px #fff);transform:translate(-50%)scale(1.16)}}@keyframes monster-addition{0%{opacity:.24;filter:brightness(.65)saturate(.7);transform:scale(.965)}52%{opacity:1;filter:brightness(2.25)saturate(1.65);transform:scale(1.04);box-shadow:inset 0 0 34px #ff8b82,0 0 25px #cf2635}to{opacity:1;filter:brightness();transform:scale(1)}}@keyframes specimen-addition{0%{opacity:0;filter:blur(5px)brightness(2);transform:translate(-50%)scale(.72)}62%{opacity:1;filter:blur()brightness(1.65)drop-shadow(0 0 17px #ff807a);transform:translate(-50%)scale(1.16)}to{opacity:1;filter:none;transform:translate(-50%)scale(1)}}@keyframes label-addition{0%,24%{opacity:0}to{opacity:1}}@keyframes monster-transformation{0%,to{filter:brightness();transform:scale(1)}38%{filter:brightness(2.5)saturate(1.75)hue-rotate(16deg);transform:scale(1.035);box-shadow:inset 0 0 34px #ff83dc,0 0 27px #a650d6}58%{filter:brightness(.75)saturate(.65)}}@keyframes specimen-transformation{0%{opacity:.45;filter:blur(4px)brightness(2.2)drop-shadow(0 0 20px #ff83dc);transform:translate(-50%)scale(.82)}52%{opacity:1;filter:blur()brightness(1.8)drop-shadow(0 0 18px #c875ff);transform:translate(-50%)scale(1.18)}to{opacity:1;filter:none;transform:translate(-50%)scale(1)}}@keyframes tool-impact{0%,to{filter:brightness();transform:scale(1)}45%{filter:brightness(2);transform:scale(1.17);box-shadow:0 0 23px #6fb6ff}}@keyframes tool-card-impact{0%,to{filter:drop-shadow(0 2px 2px #0009)}45%{filter:brightness(1.65)drop-shadow(0 0 9px #70b2ff)}}@keyframes monster-removal{0%{opacity:1;filter:brightness();transform:scale(1)}32%{opacity:1;filter:brightness(2.1)saturate(1.7);transform:scale(1.025);box-shadow:inset 0 0 34px #ff5858,0 0 28px #d91f2a}to{opacity:.08;filter:brightness(.5)saturate(.4);transform:scale(.94)}}@keyframes specimen-removal{0%{opacity:1;transform:translate(-50%)scale(1)}35%{opacity:1;filter:brightness(2)drop-shadow(0 0 17px #ff4141)}to{opacity:0;filter:brightness(.35);transform:translate(-50%)scale(.82)}}@keyframes label-removal{0%,35%{opacity:1}to{opacity:.16}}@keyframes fusion-impact{0%{opacity:.35;filter:brightness(.8);transform:scale(.96)}38%{opacity:1;filter:brightness(2.4)saturate(1.5);transform:scale(1.055);box-shadow:inset 0 0 34px #fff0a7,0 0 28px #ffd464}to{opacity:1;filter:brightness();transform:scale(1)}}@keyframes fusion-specimen{0%{opacity:.2;transform:translate(-50%)scale(.92)}42%{opacity:1;filter:brightness(1.9)drop-shadow(0 0 20px #ffd86f);transform:translate(-50%)scale(1.24)}to{opacity:1;transform:translate(-50%)scale(1)}}.surgery-log{z-index:4;color:#d9c9bb;background:linear-gradient(#211517f2,#100b0df2);border:1px solid #d09d633d;grid-template-rows:46px minmax(0,1fr);width:286px;height:min(680px,100vh - 142px);min-height:390px;display:grid;position:absolute;top:112px;right:28px;overflow:hidden;box-shadow:inset 0 1px #ffffff09,0 18px 42px #0007}.surgery-log>header{background:#2a1b1b;border-bottom:1px solid #d09d632e;justify-content:space-between;align-items:center;padding:0 12px;display:flex}.surgery-log>header div{color:#ead7c1;align-items:center;gap:8px;font-size:15px;font-weight:700;display:flex}.surgery-log>header b{color:#9d877a;text-align:right;font-variant-numeric:tabular-nums;min-width:28px;font:13px Pretendard,sans-serif}.log-live-dot{background:#b75142;border-radius:50%;width:7px;height:7px;box-shadow:0 0 8px #d76b55}.surgery-log ol{scrollbar-color:#67453c #170f11;scrollbar-width:thin;min-height:0;margin:0;padding:8px 7px 12px 13px;list-style:none;position:relative;overflow:hidden auto}.log-entry{background:#ffffff05;border-left:1px solid #c19f823b;margin:0 0 5px 4px;padding:0 5px 0 10px;position:relative}.log-entry:before{content:"";background:#75635d;border-radius:50%;width:7px;height:7px;position:absolute;top:14px;left:-4px;box-shadow:0 0 0 3px #191012}.log-entry-heading{align-items:stretch;width:100%;display:flex}.log-title{min-width:0;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex:1;padding:9px 0 10px}.log-title:hover strong{color:#fff0d2}.log-toggle{color:inherit;cursor:pointer;background:0 0;border:0;flex:0 0 34px;padding:0;position:relative}.log-meta{align-items:center;gap:6px;margin-bottom:4px;font:12px Pretendard,sans-serif;display:flex}.log-meta span{color:#917d73;font-variant-numeric:tabular-nums}.log-meta em{color:#bca79a;border:1px solid #ffffff17;padding:1px 5px;font-style:normal}.log-title strong{color:#e7d7c7;text-wrap:pretty;font-size:14px;line-height:1.35;transition:color .14s;display:block}.log-toggle:after{content:"";transform-origin:50%;border-bottom:2px solid #806b60;border-right:2px solid #806b60;width:10px;height:10px;transition:transform .16s;position:absolute;top:calc(50% - 2px);left:50%;transform:translate(-50%,-50%)rotate(45deg)}.log-entry.expanded .log-toggle:after{transform:translate(-50%,-50%)rotate(225deg)}.log-details{border-top:1px solid #ffffff0f;padding:0 0 10px}.log-details p{color:#aa968b;overflow-wrap:anywhere;text-wrap:pretty;margin:0;padding:7px 4px 0 0;font-size:13px;line-height:1.5}.log-entry.expanded .log-details{background:linear-gradient(90deg,#4b2e2638,#0000)}.rich-token{vertical-align:top;white-space:nowrap;align-items:center;gap:2px;display:inline-flex}.rich-token img,.rich-token .rich-icon{object-fit:contain;flex:none;width:1em;height:1em}.species-token img{filter:drop-shadow(0 0 3px #ff866b55)}.activity-token{color:#e18a82}.quantity-token{color:#c4c2bf}.rich-card-anchor{color:#e7bd76;cursor:pointer;font:inherit;font-weight:700;line-height:inherit;background:0 0;border:0;border-bottom:1px solid;padding:0}.rich-card-anchor:hover{color:#ffe0a4}.choice-card b,.choice-card p,.tool-tooltip b,.tool-tooltip p,.log-title strong,.log-details p,.help-source p,.potion-help li p,.potion-help aside p,.mystery-reveal h2,.mystery-reveal p,.modal-copy{word-break:keep-all;overflow-wrap:break-word}.log-card:before{background:#d39a51;box-shadow:0 0 7px #d39a51,0 0 0 3px #191012}.log-card .log-meta em,.log-card .log-title>strong{color:#e7bd76}.log-tool:before{background:#76b7ec;box-shadow:0 0 8px #5ba8e8,0 0 0 3px #191012}.log-tool .log-meta em,.log-tool .log-title>strong{color:#9bcdf4}.log-plan .log-meta em,.log-plan .log-title>strong{color:#c4c4c1}.modal-backdrop{z-index:50;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#090608d6;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{color:#e9dccc;background:radial-gradient(circle at 50% 0,#48201e,#1a0e11 68%);border:1px solid #9c7048;flex-direction:column;width:min(560px,100%);max-height:min(720px,88vh);display:flex;overflow:hidden;box-shadow:0 24px 70px #000d}.modal>header{z-index:2;border-bottom:1px solid var(--line);background:#36191a;flex:none;justify-content:space-between;align-items:center;min-height:70px;padding:10px 22px;display:flex;box-shadow:0 8px 18px #08040533}.modal-body{min-height:0;padding:0 22px 22px;overflow:auto}.modal h2{margin:0;font:700 24px Pretendard,sans-serif}.modal header button{color:#d8c5b6;cursor:pointer;background:0 0;border:0;width:42px;height:42px;font-size:28px}.rewards-modal{width:min(760px,100%)}.reward-score{background:#f0c36f0f;justify-content:space-between;align-items:baseline;margin:14px 0 4px;padding:11px 12px;display:flex}.reward-score>span{color:#bca798;font-size:13px}.reward-score>b{color:var(--reward-gold);font-variant-numeric:tabular-nums;font:21px Pretendard,sans-serif}.reward-list{margin-top:5px}.reward-row{border-bottom:1px solid #ffffff12;grid-template-columns:22px 92px 158px minmax(190px,1fr);align-items:center;gap:10px;min-height:58px;padding:7px 8px;transition:opacity .16s,background-color .16s;display:grid}.reward-row>b{color:#dbc9b9;font-variant-numeric:tabular-nums;font:14px Pretendard,sans-serif}.reward-row>em{color:#c7b1a1;font-size:13px;font-style:normal;line-height:1.45}.reward-check{accent-color:#b78a4e;pointer-events:none;width:16px;height:16px;margin:0}.reward-row.earned{background:#cfa86706}.reward-row.earned>:not(.reward-check){opacity:.58}.modal-copy{color:#cbb6a7;font-size:16px;line-height:1.6}.modal-actions{justify-content:flex-end;gap:10px;margin-top:20px;display:flex}.modal-actions button{color:#d8c7ba;cursor:pointer;background:#27191a;border:1px solid #71554a;min-width:110px;min-height:44px}.modal-actions button.danger{color:#2b130f;background:#c77751;border-color:#d4875e;font-weight:700}.potion-help{padding-top:16px}.potion-help>.card-art{object-fit:contain;filter:drop-shadow(0 3px 3px #000a);width:76px;height:76px;margin:0 auto 14px;display:block}.help-source{background:#d8a95d14;border-left:3px solid #d8a95d;padding:12px 14px}.help-source p{color:#dfcdbd;text-wrap:pretty;margin:5px 0 0;font-size:14px;line-height:1.65}.potion-help section{margin-top:20px}.potion-help h3{color:#ead8c5;margin:0 0 9px;font-size:15px}.potion-help ol{gap:6px;margin:0;padding:0;list-style:none;display:grid}.potion-help li{background:#ffffff06;grid-template-columns:32px 1fr;align-items:start;gap:8px;padding:8px 10px;display:grid}.potion-help li>span{color:#997b64;padding-top:2px;font:12px Pretendard,sans-serif}.potion-help li p{color:#c8b6a8;margin:0;font-size:14px;line-height:1.55}.potion-help aside{background:#224e6a29;border:1px solid #6fb8ea40;margin-top:16px;padding:13px 14px}.potion-help aside>span{color:#80bce5}.potion-help aside p{color:#c6d9e5;margin:5px 0 0;font-size:14px;line-height:1.6}.result{z-index:50;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#090608d6;place-items:center;display:grid;position:fixed;inset:0}.result>div{text-align:center;background:radial-gradient(circle at 50% 0,#562522,#1a0d0f 70%);border:1px solid #a87944;width:min(440px,100% - 35px);padding:39px 34px;position:relative;box-shadow:0 0 60px #e16c273b}.result span{color:#d29958;letter-spacing:.16em;font:15px Pretendard,sans-serif}.result h2{color:#f2d99e;margin:15px 0 8px;font:46px Pretendard,sans-serif}.result h2 small{color:#b99b7d;margin-top:4px;font:15px Pretendard,sans-serif;display:block}.result p{color:#c4aea0;font-size:16px}.result-rewards{background:#301c1975;border-top:1px solid #f0c36f2e;border-bottom:1px solid #f0c36f2e;margin:18px 0 12px;padding:13px 12px 12px}.result-rewards>b{color:#c9b2a1;margin-bottom:9px;font-size:13px;font-weight:500;display:block}.result-rewards .reward-bottle{width:25px;height:40px}.result button{color:#21140f;cursor:pointer;background:#b88b49;border:0;margin-top:16px;padding:10px 28px;font-size:16px;font-weight:700}.result .result-close{color:#d8c5b6;background:0 0;border:1px solid #0000;place-items:center;width:44px;height:44px;margin:0;padding:0;font-size:28px;font-weight:400;display:grid;position:absolute;top:8px;right:8px}.result .result-close:hover{color:#fff0ce;background:#ffffff0a;border-color:#ffffff1f}.result-reopen{color:#f0d6a1;cursor:pointer;background:linear-gradient(#523920,#2e2018);border:1px solid #b6884c;min-width:220px;min-height:46px;margin:12px auto 0;font-weight:700;display:block}.result-reopen:hover{filter:brightness(1.15)}.result-reopen:active{transform:scale(.97)}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}button:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline-offset:3px;outline:3px solid #f2c376}.phase-kicker{color:#a88f7b;text-align:center;letter-spacing:.08em;margin-bottom:8px;font:13px Pretendard,sans-serif}.target-instruction{color:#e2bc7c;text-align:center;min-height:20px;margin:9px 0 0;font-size:13px}.target-instruction.reserved{visibility:hidden}.inline-error{color:#ff8a7f;text-align:center;margin:8px 0 0;font-size:13px}.choices-5{width:min(1180px,100% - 490px)}.choices-5 .cards{grid-template-columns:repeat(5,1fr)}.choices-5 .choice-card{height:260px;padding:14px}.choices-5 .choice-card b{font-size:15px}.choices-5 .choice-card p{font-size:12px}.primary-action{font-weight:700;color:#25150f!important;background:linear-gradient(#d7a75e,#8e5b2c)!important;border-color:#d4a055!important}.start-screen{color:#eadbc9;background:radial-gradient(circle at 50% 14%,#4b1e21 0,#1c1013 35%,#090709 78%);place-items:center;min-height:100vh;padding:32px 20px;display:grid}.start-ledger{background:linear-gradient(150deg,#382220f5,#120c0efa);border:1px solid #e0a96759;width:min(720px,100%);padding:38px 42px;box-shadow:inset 0 1px #ffffff0a,0 28px 80px #000a}.start-ledger h1{color:#f0d8ad;letter-spacing:-.03em;margin:0 0 28px;font:800 42px Pretendard,sans-serif}.difficulty-picker{border:0;grid-template-columns:repeat(3,1fr);gap:8px;margin:0 0 18px;padding:0;display:grid}.difficulty-picker legend{color:#9e8980;grid-column:1/-1;justify-content:space-between;align-items:center;width:100%;margin-bottom:7px;font-size:13px;display:flex}.difficulty-picker legend small{color:#c28a56;font:10px Pretendard,sans-serif}.difficulty-picker button{color:#b7a59a;cursor:pointer;background:#1b1315;border:1px solid #ffffff17;min-height:94px;padding:13px}.difficulty-picker button:hover{border-color:#e0a96766}.difficulty-picker button.active{color:#f0d4a2;background:#34231c;border-color:#c68b4c;box-shadow:inset 0 0 20px #cb7a281b}.difficulty-picker.locked button:not(.active){opacity:.36}.difficulty-picker.locked button:disabled{cursor:not-allowed}.difficulty-picker b,.difficulty-picker span,.difficulty-picker small{display:block}.difficulty-picker b{font-size:17px}.difficulty-picker span{margin:7px 0 2px;font:13px Pretendard,sans-serif}.difficulty-picker small{color:#786a65;font-size:10px}.custom-difficulty{background:linear-gradient(135deg,#2c1c1be8,#160e10e8);border:1px solid #c68b4c47;margin:-5px 0 18px;padding:13px 14px 12px;box-shadow:inset 0 1px #ffffff09}.custom-difficulty>header{color:#d8c3ae;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:10px;font-size:13px;font-weight:700;display:flex}.custom-difficulty>header b{color:#e5bd7c;font-variant-numeric:tabular-nums}.custom-difficulty.invalid>header b{color:#e48b7f}.custom-weight-inputs{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.custom-weight-inputs label{color:#b8a89d;background:#100b0d;border:1px solid #ffffff17;grid-template-columns:1fr auto auto;align-items:center;gap:5px;padding:7px 8px 7px 10px;font-size:12px;display:grid}.custom-weight-inputs input{color:#f0d8ad;text-align:right;font-variant-numeric:tabular-nums;background:0 0;border:0;border-bottom:1px solid #deac6a73;outline:none;width:84px;min-height:30px;padding:0 3px;font:700 14px Pretendard,sans-serif}.custom-weight-inputs input:focus{border-bottom-color:#e7bd78;box-shadow:0 2px 0 -1px #e7bd78}.custom-weight-inputs input:disabled{color:#9a8980;border-bottom-color:#0000}.custom-weight-inputs em{color:#76645e;font-size:11px;font-style:normal}.custom-difficulty>p{color:#947f76;margin:9px 0 0;font-size:11px;line-height:1.45}.custom-difficulty.invalid>p{color:#d98d83}.seed-field{color:#a99386;gap:7px;margin:0 0 14px;font-size:13px;display:grid}.challenge-code-label{align-items:center;gap:7px;width:fit-content;display:flex;position:relative}.challenge-help{color:#d4b07b;cursor:help;background:0 0;border:1px solid #d4b07b8c;border-radius:50%;place-items:center;width:18px;height:18px;padding:0;font:11px Pretendard,sans-serif;display:grid}.challenge-help:hover,.challenge-help:focus-visible{color:#23130d;background:#e5bd7c;border-color:#e5bd7c;outline:none}.challenge-help-tooltip{z-index:3;color:#e0cfc0;opacity:0;pointer-events:none;background:#211315;border:1px solid #dfae6c4d;width:min(290px,100vw - 74px);padding:10px 12px;font-size:12px;line-height:1.55;transition:opacity .14s,transform .14s;position:absolute;top:calc(100% + 9px);left:0;transform:translateY(-3px);box-shadow:0 12px 28px #000a}.challenge-help:hover+.challenge-help-tooltip,.challenge-help:focus-visible+.challenge-help-tooltip{opacity:1;transform:translateY(0)}.seed-field input{color:#eadac9;text-transform:uppercase;background:#100b0d;border:1px solid #ffffff1a;min-height:48px;padding:0 14px;font:14px Pretendard,sans-serif}.start-button{color:#25150f;cursor:pointer;background:linear-gradient(#d6a358,#895425);border:1px solid #e1b36d;width:100%;min-height:52px;font-size:16px;font-weight:700}.text-action{color:#a99485;cursor:pointer;text-underline-offset:4px;background:0 0;border:0;width:100%;min-height:44px;margin-top:8px;text-decoration:underline}.fatal-error{color:#dccdbf;text-align:center;background:#10090c;place-content:center;min-height:100vh;padding:24px;display:grid}.fatal-error span{color:#c37555;letter-spacing:.16em;font:11px Pretendard,sans-serif}.fatal-error h1{color:#f0d8ad;margin:10px 0 6px}.fatal-error p{color:#a99485}.fatal-error button{color:#24140f;cursor:pointer;background:#c7934f;border:1px solid #d4a055;min-height:44px;margin-top:10px}.mystery-reveal{text-align:center;padding:24px 8px 4px}.mystery-reveal .card-art{color:#d9aa6c;filter:drop-shadow(0 0 18px #d76c35aa);width:76px;height:76px;margin:0 auto 12px}.mystery-reveal>span{color:#b87854;letter-spacing:.12em;font:11px Pretendard,sans-serif;display:block}.mystery-reveal h2{color:#f1d29b;margin:7px 0;font-size:30px}.mystery-reveal p{color:#c5afa0;margin:0 auto 22px;line-height:1.65}.mystery-reveal button{cursor:pointer;min-width:160px;min-height:46px}.result-actions{grid-template-columns:1fr;gap:8px;margin-top:14px;display:grid}.result-actions button{width:100%;margin-top:0}.history-modal{width:min(680px,100%)}.history-tabs{grid-template-columns:1fr 1fr;gap:8px;margin:18px 0 12px;display:grid}.history-tabs button{color:#bda898;cursor:pointer;background:#211517;border:1px solid #ffffff1f;min-height:42px}.history-tabs button.active{color:#f1d2a0;background:#41251d;border-color:#b9814c}.history-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.history-row{background:#301a1980;border:1px solid #d3a26733;grid-template-columns:28px minmax(102px,.7fr) minmax(0,1.3fr) auto;align-items:center;gap:12px;min-height:74px;padding:13px;display:grid}.history-rank{color:#c1824d;font-variant-numeric:tabular-nums;text-align:center;font:11px Pretendard,sans-serif}.history-score{display:block}.history-score b{color:#f1d59b;font:19px Pretendard,sans-serif}.history-meta{color:#a89589;gap:3px;min-width:0;font-size:11px;display:grid}.history-meta span{color:#d7b07b}.history-meta code{color:#8fa7b2;text-overflow:ellipsis;white-space:nowrap;font:10px Pretendard,sans-serif;overflow:hidden}.history-actions{gap:6px;display:flex}.history-actions button{color:#cdb9aa;cursor:pointer;background:#2b1b1b;border:1px solid #d6a36259;min-height:38px;padding:0 9px;font-size:11px}.history-actions .history-retry{color:#29160e;background:#bd8650;border-color:#d6a362;font-weight:700}.history-toast{z-index:40;color:#f1dfc8;pointer-events:none;background:#2c1a1b;border:1px solid #e2ac64a6;border-radius:3px;margin:0;padding:9px 13px;font-size:12px;animation:.18s ease-out history-toast-in;position:fixed;bottom:28px;left:50%;transform:translate(-50%);box-shadow:0 8px 24px #08050688}@keyframes history-toast-in{0%{opacity:0;transform:translate(-50%,6px)}to{opacity:1;transform:translate(-50%)}}.history-empty{color:#aa988d;text-align:center;margin:28px 0 8px}@media (prefers-reduced-motion:reduce){.history-toast{animation:none}.tank.target-selected .specimen{filter:drop-shadow(0 0 1px #ffe1a3)drop-shadow(0 0 4px #d77d36)}.tank.effect-target .fluid,.tank.effect-target .specimen,.tank.effect-target .tank-label,.tool-slot.effect-active{animation:none!important}.tank.effect-target .fluid{outline-offset:3px;filter:brightness(1.22);outline:3px solid #efc66f}.tank.tool-effect-target.effect-stats .fluid{outline-color:#78bfff;box-shadow:inset 0 0 24px #78bfff55,0 0 18px #78bfff66}.tank.effect-addition .fluid{outline-color:#ff8177;box-shadow:inset 0 0 24px #ff4f4f55,0 0 18px #d7293555}.tank.effect-removal .fluid{opacity:.45;outline-color:#ff6565;box-shadow:inset 0 0 24px #ff4f4f66,0 0 18px #d7293566}.tank.effect-removal .specimen,.tank.effect-removal .tank-label{opacity:.45}.tank.effect-transformation .fluid{outline-color:#e287ff;box-shadow:inset 0 0 24px #c866ff55,0 0 18px #a64fd666}.tank.effect-fusion .fluid{outline-color:#ffd36c;box-shadow:inset 0 0 26px #ffd36c66,0 0 20px #ffd36c66}.tool-slot.effect-active{outline-offset:3px;outline:3px solid #78bfff;box-shadow:0 0 20px #78bfff66}}.desktop-surgery-room,.mobile-surgery-room{min-height:100vh;color:var(--bone-ink)}.desktop-surgery-room{width:min(1440px,100%);margin:0 auto;padding:20px 40px}.mobile-surgery-room{width:100%;height:100dvh;min-height:0;padding:16px;overflow:hidden}.desktop-surgery-room .game-title,.mobile-surgery-room .game-title{justify-content:space-between;align-items:center;gap:16px;display:flex;position:static}.desktop-surgery-room .game-title h1,.mobile-surgery-room .game-title h1{font-size:32px}.game-title-actions{align-items:center;gap:8px;display:flex}.log-trigger{color:#d8c2ad;cursor:pointer;background:#160e10b8;border:1px solid #d3ab7647;border-radius:4px;align-items:center;gap:8px;min-height:36px;padding:0 11px;font-size:13px;display:inline-flex}.log-trigger:hover{color:#f0d09a;background:#2d1a1b;border-color:#e0ae6794}.log-trigger b{color:#1f1110;font-variant-numeric:tabular-nums;background:#c99758;border-radius:10px;place-items:center;min-width:20px;height:20px;font-size:11px;display:grid}.desktop-game-grid{grid-template-columns:196px minmax(0,1fr);align-items:start;gap:24px;margin-top:20px;display:grid}.desktop-game-grid>.progress-panel{text-align:center;width:auto;padding:0 12px 14px;display:block;position:sticky;top:24px}.desktop-game-grid>.progress-panel .new-surgery-button{border-top:0;width:calc(100% + 24px);min-height:46px;margin:0 -12px 10px}.desktop-game-grid>.progress-panel .panel-cap,.desktop-game-grid>.progress-panel .round-value,.desktop-game-grid>.progress-panel .metric,.desktop-game-grid>.progress-panel .earned-rewards{padding:initial;background:initial;border-right:0;margin:0;display:block}.desktop-game-grid>.progress-panel .panel-cap{margin:0 -12px 6px;padding:5px}.desktop-game-grid>.progress-panel .round-value{padding:2px 0 9px;font-size:42px}.desktop-game-grid>.progress-panel .round-value:before{content:none}.desktop-game-grid>.progress-panel .metric{border-top:1px solid var(--line);padding:9px 3px}.desktop-game-grid>.progress-panel .earned-rewards{border-top:1px solid var(--line);padding:10px 2px 11px}.desktop-game-grid>.progress-panel .earned-rewards .bottle-rewards{justify-content:center;display:grid}.desktop-game-grid>.progress-panel .overview-button{width:100%;min-height:42px;margin:11px 0 0}.desktop-game-main{min-width:0}.desktop-game-main .tool-rack{justify-content:flex-end;margin:0 0 6px;position:static}.desktop-game-main .chamber{width:100%;min-height:324px;margin:0;padding:12px 8px 18px}.desktop-game-main .tank{height:252px}.desktop-game-main .specimen{width:76px;height:76px;top:52px}.desktop-game-main .decision{width:100%;margin:12px 0 0}.desktop-game-main .cards{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.desktop-game-main .choice-card{height:242px;padding:12px 8px}.desktop-game-main .choice-card-heading{height:90px}.desktop-game-main .choice-card .card-art{width:42px;height:42px;margin-bottom:4px}.desktop-game-main .choice-card b{font-size:14px;line-height:1.28}.desktop-game-main .choice-card-description{height:calc(100% - 118px);padding:0 1px}.desktop-game-main .choice-card p{font-size:13px;line-height:1.48}.desktop-game-main .choice-card small{height:18px;margin-top:5px;font-size:13px}.desktop-game-main .choices-3 .choice-card:first-child{grid-column:2}.log-drawer-backdrop{z-index:35;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#070406b8;justify-content:flex-end;display:flex;position:fixed;inset:0}.log-drawer{color:#d9c9bb;background:linear-gradient(#211517,#100b0d);border-left:1px solid #d09d634d;grid-template-rows:64px minmax(0,1fr);width:min(390px,100%);height:100%;animation:.18s cubic-bezier(.23,1,.32,1) both log-drawer-enter;display:grid;box-shadow:-18px 0 52px #000a}.log-drawer>header{border-bottom:1px solid var(--line);color:#e7d2bd;justify-content:space-between;align-items:center;padding:0 15px 0 18px;font-size:14px;font-weight:700;display:flex}.log-drawer>header>div{align-items:center;gap:9px;display:flex}.log-drawer>header button{color:#d8c5b6;cursor:pointer;background:0 0;border:0;place-items:center;width:44px;height:44px;padding:0;font-size:27px;display:grid}.log-drawer .surgery-log{width:auto;height:100%;min-height:0;box-shadow:none;background:0 0;border:0;display:block;position:static;overflow:hidden}.log-drawer .surgery-log>header{display:none}.log-drawer .surgery-log ol{height:100%}@keyframes log-drawer-enter{0%{opacity:0;transform:translate(18px)}to{opacity:1;transform:translate(0)}}.mobile-game-header{z-index:12;justify-content:space-between;align-items:center;gap:8px;max-width:640px;min-height:40px;margin:0 auto;display:flex;position:relative}.mobile-header-actions{color:#cdb9a1;font-variant-numeric:tabular-nums;align-items:center;gap:4px;min-width:0;display:flex}.mobile-round{color:#b59d87;letter-spacing:.04em;white-space:nowrap;margin-left:2px;font-size:12px;font-weight:700}.mobile-round small{color:#80716a;margin-left:1px;font-size:10px;font-weight:500}.mobile-summary-trigger{min-height:32px;color:var(--reward-gold);cursor:pointer;background:#1b1011c2;border:1px solid #d3ab763d;border-radius:4px;align-items:center;gap:6px;padding:0 8px 0 9px;display:flex}.mobile-summary-trigger b{letter-spacing:-.01em;font-size:16px}.mobile-summary-trigger>span{border-bottom:1px solid #d4b67c;border-right:1px solid #d4b67c;width:7px;height:7px;transition:transform .16s cubic-bezier(.23,1,.32,1);transform:translateY(-2px)rotate(45deg)}.mobile-summary-trigger.active{background:#342117;border-color:#c99b57}.mobile-summary-trigger.active>span{transform:translateY(2px)rotate(225deg)}.mobile-game-main{grid-template-rows:auto minmax(0,1fr);gap:16px;max-width:640px;height:calc(100dvh - 85px);min-height:0;margin:13px auto 0;display:grid}.mobile-game-header .sound-toggle{width:32px;height:32px}.mobile-game-header .sound-toggle svg{width:17px;height:17px}.mobile-quick-button{color:#d7be9d;cursor:pointer;background:#160e10d9;border:1px solid #d3ab7647;place-items:center;width:32px;height:32px;padding:0;display:grid;position:relative}.mobile-quick-button svg{width:17px;height:17px}.mobile-quick-button:hover,.mobile-quick-button.active{color:#f0cf95;background:#342117;border-color:#c99b57}.mobile-quick-button:disabled{color:#725942;cursor:not-allowed;background:#211719;border-color:#65503b}.mobile-new-surgery-button{color:#2a160f;background:linear-gradient(#e0b264,#9a6130);border-color:#d39a50;box-shadow:inset 0 1px #ffe5b0}.mobile-new-surgery-button:hover{color:#2a160f;background:linear-gradient(#efc277,#ab6d35);border-color:#e4b66d}.mobile-quick-button b{color:#1f1110;font-variant-numeric:tabular-nums;background:#c99758;border-radius:8px;place-items:center;min-width:14px;height:14px;font-size:9px;display:grid;position:absolute;top:-4px;right:-4px}.mobile-game-header>.tool-rack{flex:none;justify-content:flex-end;gap:4px;margin:0;position:static}.mobile-game-header>.tool-rack .tool-slot{width:32px;height:32px}.mobile-game-header>.tool-rack .tool-slot .card-art{width:24px;height:24px}.mobile-game-header>.tool-rack .tool-slot>b,.mobile-game-header>.tool-rack .tool-slot>span{font-size:17px}.mobile-game-header>.tool-rack .tool-tooltip{transform-origin:100% 0;top:40px;right:0;transform:translateY(-5px)scale(.98)}.mobile-game-header>.tool-rack .tool-slot:hover .tool-tooltip,.mobile-game-header>.tool-rack .tool-slot:focus .tool-tooltip{transform:translateY(0)scale(1)}.mobile-header-panel{z-index:18;background:linear-gradient(#271a18f5,#120d0efa);border:1px solid #d3ab763d;width:min(360px,100vw - 32px);position:absolute;top:calc(100% + 8px);left:50%;overflow:hidden;transform:translate(-50%);box-shadow:0 16px 32px #000a}.mobile-header-panel .surgery-log{width:auto;height:min(360px,56vh);min-height:0;box-shadow:none;background:0 0;border:0;position:static}.mobile-summary-panel{color:var(--bone-ink);grid-template-columns:1fr 1fr;display:grid}.mobile-summary-panel .metric,.mobile-summary-panel .earned-rewards{background:0 0;border:0;margin:0;padding:10px 12px}.mobile-summary-panel .metric+.metric{border-left:1px solid var(--line)}.mobile-summary-panel .metric>span,.mobile-summary-panel .earned-rewards>span{color:#ae9788;font-size:12px;display:block}.mobile-summary-panel .metric>b{color:#e6d8ca;margin-top:3px;font-size:16px;display:block}.mobile-summary-panel .plan-bonuses{justify-content:flex-end;gap:3px}.mobile-summary-panel .earned-rewards{border-top:1px solid var(--line);grid-column:1/-1}.mobile-summary-panel .earned-rewards .bottle-rewards{justify-content:flex-start;align-items:center;gap:8px;margin-top:3px;display:flex}.mobile-summary-panel .reward-bottle{width:16px;height:26px}.mobile-game-main .chamber{width:100%;min-height:0;margin:0;padding:0}.mobile-game-main .tanks{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}.mobile-game-main .tank{height:180px}.mobile-game-main .tank:before{height:23px}.mobile-game-main .tank:after{height:20px;bottom:52px}.mobile-game-main .fluid{border-width:3px;border-radius:16px 16px 7px 7px;inset:14px 8% 58px}.mobile-game-main .specimen{width:58px;height:58px;top:35px}.mobile-game-main .glass-sheen{border-radius:12px 12px 5px 5px;inset:17px 11% 65px}.mobile-game-main .tank-label{min-height:62px;padding-top:3px}.mobile-game-main .tank-label b{font-size:14px}.mobile-game-main .tank-stat{font-size:13px}.mobile-game-main .tank-stat-icon{width:11px;height:11px}.mobile-game-main .label-species-icon{width:20px;height:20px}.mobile-game-main .decision,.mobile-game-main .choices-5{width:100%;margin:0}.mobile-game-main .decision{grid-template-rows:auto minmax(0,1fr) auto auto;min-height:0;display:grid}.mobile-game-main .cards,.mobile-game-main .choices-5 .cards{scrollbar-color:#cb9b57bd #180d0f9e;scrollbar-width:thin;grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-rows:140px;align-content:start;gap:6px;min-height:0;overflow-y:auto}.mobile-game-main .choices-3 .cards{align-content:center;overflow-y:hidden}.mobile-game-main .choices-5 .cards{align-content:safe center;overflow-y:scroll}.mobile-game-main .choice-card,.mobile-game-main .choices-5 .choice-card{grid-column:span 2;height:140px;padding:3px 4px}.mobile-game-main .choice-card-heading{height:65px}.mobile-game-main .choice-card .card-art{width:27px;height:27px;margin-bottom:2px}.mobile-game-main .choice-card b,.mobile-game-main .choices-5 .choice-card b{font-size:13px;line-height:1.28}.mobile-game-main .choice-card-description{height:calc(100% - 83px);padding:0 1px}.mobile-game-main .choice-card p,.mobile-game-main .choices-5 .choice-card p{font-size:11px;line-height:1.48}.mobile-game-main .choice-card small{height:16px;margin-top:2px;font-size:11px}.mobile-game-main .choice-help{top:3px;right:3px}.mobile-game-main .choice-help:before{width:19px;height:19px;font-size:10px}.mobile-game-main .choices-5 .choice-card:nth-child(4){grid-column:2/span 2}.mobile-game-main .choices-5 .choice-card:nth-child(5){grid-column:4/span 2}.mobile-game-main .action-row{grid-template-columns:72px 132px 72px;gap:8px}.mobile-game-main .confirm-button,.mobile-game-main .reroll-button{min-height:32px}.mobile-game-main .reroll-button{gap:5px}.mobile-game-main .reroll-button svg{width:22px;height:22px}.mobile-game-main .reroll-button b{font-size:16px}@media (width<=1023px){.mobile-surgery-room .game-title h1{font-size:27px}.start-screen{align-items:end;padding:16px}.start-ledger{width:100%;padding:28px 20px}.start-ledger h1{font-size:34px}.difficulty-picker{grid-template-columns:1fr}.difficulty-picker button{min-height:76px}.custom-weight-inputs{grid-template-columns:1fr}.custom-weight-inputs label{grid-template-columns:1fr 60px auto}.custom-weight-inputs input{width:60px}.modal-backdrop{align-items:end;padding:0}.modal{border-bottom:0;border-left:0;border-right:0;width:100%;max-height:min(88dvh,720px)}.modal>header{min-height:64px;padding:8px 16px}.modal-body{padding:0 16px 16px}.result{align-items:end}.result>div{border-bottom:0;border-left:0;border-right:0;width:100%;padding:34px 24px 28px}.history-row{grid-template-columns:24px minmax(0,1fr);gap:8px}.history-score,.history-meta{grid-column:2}.history-actions{grid-column:2;grid-template-columns:repeat(2,1fr);display:grid}.history-actions button{min-width:0;padding:0 4px}}@media (width<=390px){body{min-width:0}.mobile-surgery-room{padding:12px}.mobile-game-main{gap:12px;height:calc(100dvh - 77px)}}@media (width<=340px){.mobile-game-header{gap:6px}.mobile-header-actions{gap:3px}.mobile-game-header .sound-toggle,.mobile-quick-button,.mobile-game-header>.tool-rack .tool-slot{width:28px;height:28px}.mobile-game-header .sound-toggle svg,.mobile-quick-button svg{width:15px;height:15px}.mobile-game-header>.tool-rack{gap:2px}.mobile-game-header>.tool-rack .tool-slot .card-art{width:21px;height:21px}.mobile-game-header>.tool-rack .tool-slot>b,.mobile-game-header>.tool-rack .tool-slot>span{font-size:15px}.mobile-round{margin-left:0;font-size:11px}.mobile-round small{display:none}.mobile-summary-trigger{gap:4px;min-height:28px;padding:0 5px}.mobile-summary-trigger b{font-size:14px}}
