:root{color-scheme:dark;--ink:#101c22;--panel:#17252a;--gold:#d5b67e;--cream:#e8dfc8;--muted:#8f9c94;--line:#bfa56a38;--teal:#a6c8ba;--red:#ce826e;--serif:Georgia,'Songti SC','SimSun',serif;--sans:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif}
*{box-sizing:border-box}body{margin:0;background:#0c171d;color:var(--cream);font:14px/1.5 var(--sans)}button,select{font:inherit;color:inherit}button{border:0;cursor:pointer;background:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:disabled{cursor:default}button:focus-visible,select:focus-visible{outline:2px solid var(--gold);outline-offset:5px}button{transition:color .2s,background .2s,filter .2s,transform .2s}button:hover:not(:disabled){color:#f4d5a0}b,strong{font-weight:600}.icon{width:22px;height:22px;flex-shrink:0;vertical-align:middle}small{font-size:11px}em{font-style:normal}h1,h2,h3,p{margin:0}.game-shell{height:100dvh;min-height:720px;display:grid;grid-template-rows:72px minmax(300px,1fr) 280px 30px;overflow:hidden;max-width:2400px;margin:auto;background:#111e24}.topbar{display:flex;align-items:center;padding:0 35px;gap:46px;background:linear-gradient(180deg,#1c292e,#17242a);border-bottom:1px solid var(--line);position:relative;z-index:5;box-shadow:0 8px 30px #0003}.brand{display:flex;align-items:center;gap:12px;min-width:180px}.brand-mark{display:grid;place-items:center;width:35px;height:43px;position:relative;color:var(--gold)}.brand-mark:before{content:'';position:absolute;inset:2px 0;border:1px solid #a48e62;transform:rotate(45deg) scale(.72)}.brand-mark .icon{width:25px;height:30px}.brand b{font:600 21px var(--serif);letter-spacing:4px}.brand small{display:block;font-size:9px;letter-spacing:4.5px;color:var(--gold);margin-top:3px}.run-stats{display:flex;align-items:center;gap:31px}.top-health{display:flex;align-items:center;gap:10px;position:relative;min-width:110px}.top-health>.icon{color:#d88772;width:23px;fill:#c06b5a22}.top-health b{font:19px Georgia}.top-health em{color:#85928b;font-size:14px}.top-health-line{position:absolute;bottom:-7px;left:34px;right:0;height:2px;background:#6b5149}.top-health-line i{height:100%;display:block;background:#d18c73}.top-gold{display:flex;gap:9px;align-items:center;color:var(--gold);font:19px Georgia}.top-gold .icon{width:21px}.potion{position:relative;width:39px;height:44px;color:#91b7ab;border-left:1px solid #cbb17a20;padding-left:18px;box-sizing:content-box}.potion .icon{width:27px;height:29px}.potion small{position:absolute;right:-3px;bottom:2px;font:12px Georgia}.potion.spent{opacity:.3}.topnav{display:flex;gap:14px;align-items:center;margin-left:auto}.topnav button{display:flex;gap:9px;align-items:center;min-height:42px;padding:6px 9px;color:#b6bcb0;font-size:12px;letter-spacing:1px}.topnav button small{font-size:11px;border:1px solid #bba16740;padding:1px 5px;margin-left:3px;color:var(--gold)}.topnav .icon{width:20px;height:20px}.topnav .icon-button{margin-left:2px;padding:10px}.icon-button>span{display:none}.icon-button{width:40px;height:40px;display:inline-grid;place-items:center}.arena{position:relative;isolation:isolate;overflow:hidden}.scene-background,.ruins,.arena-vignette,.scene-haze{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.scene-background{z-index:-3;overflow:hidden}.ruins{object-fit:cover}.scene-background:has(.replacement-bg) .ruins{display:none}.replacement-bg{width:100%;height:100%;object-fit:cover}.scene-haze{background:linear-gradient(0deg,#111e24 0%,transparent 27%,#152a2c22 60%,#13222a55 100%)}.arena-vignette{z-index:-1;box-shadow:inset 0 0 170px 70px #08171f66;background:linear-gradient(90deg,#0b1e2755,transparent 45%,#0b192530)}.location{position:absolute;top:26px;left:36px}.location>span{font-size:10px;letter-spacing:3px;color:var(--gold)}.location i{font-style:normal;margin:0 10px;color:#65736a}.location h1{font:28px var(--serif);letter-spacing:5px;margin:9px 0 4px}.location p{font-size:10px;letter-spacing:3px;color:#9ba89a}.prototype-badge{position:absolute;top:27px;right:33px;font-size:9px;letter-spacing:1.5px;color:#9ba596;display:flex;align-items:center;gap:8px}.prototype-badge i{height:5px;width:5px;border-radius:50%;background:var(--gold);box-shadow:0 0 10px #e7d2a4}.relic{position:absolute;top:139px;left:34px;display:flex;gap:11px;align-items:center;color:#b2bba6;z-index:1;text-align:left}.relic>span{width:40px;height:40px;display:grid;place-items:center;border:1px solid #bba77344;background:#192d2d88;border-radius:50%;color:var(--gold)}.relic .icon{width:23px}.relic b{font-size:11px;letter-spacing:2px;display:block}.relic small{display:block;font-size:9px;margin-top:5px;color:#8d9d91}.turn-indicator{position:absolute;right:37px;top:89px;display:flex;align-items:center;gap:15px;text-align:right}.turn-indicator div{display:flex;flex-direction:column;gap:5px}.turn-indicator small{font:10px Georgia;letter-spacing:2px;color:#96a293}.turn-indicator b{font-size:13px;letter-spacing:2px}.turn-diamond{width:36px;height:36px;border:1px solid #a5916155;display:grid;place-items:center;font:17px Georgia;color:var(--gold);background:#1c2c2b55;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}.combatants{position:absolute;left:10%;right:9%;bottom:40px;display:flex;justify-content:space-between;align-items:flex-end;height:370px;pointer-events:none}.hero-side{width:32%;display:flex;justify-content:center}.enemy-side{width:56%;display:flex;justify-content:center;align-items:flex-end;gap:20px}.actor{position:relative;display:flex;flex-direction:column;align-items:center;width:240px;flex-shrink:0;pointer-events:auto;padding:0;color:var(--cream);font-size:12px;isolation:isolate}.hero{width:280px}.actor-art{width:100%;height:auto;display:block;line-height:0;transform-origin:50% 90%;transition:filter .2s;filter:drop-shadow(0 6px 12px #08131855)}.art-fallback,.art-fallback>svg{display:block;width:100%;height:100%}.art-slot{position:relative}.art-slot>img{display:block;width:100%;height:100%;object-fit:contain}.art-slot>img+.art-fallback{display:none}.actor-art>img{aspect-ratio:320/360}.actor-name{margin-top:-5px;font:14px var(--serif);letter-spacing:2px;z-index:1}.hp-track{height:14px;background:#09161ae0;border:1px solid #a4a48a55;border-radius:2px;width:139px;margin-top:9px;position:relative;overflow:hidden;box-shadow:0 3px 9px #0002}.hp-track>i{position:absolute;inset:2px;right:auto;width:calc(var(--hp) - 4px);min-width:0;max-width:calc(100% - 4px);background:linear-gradient(90deg,#9d6456,#cc9275);transition:width .4s}.hero .hp-track>i{background:linear-gradient(90deg,#698b76,#9fb791)}.hp-track>span{position:absolute;inset:0;text-align:center;font:10px/12px Georgia;text-shadow:0 1px 2px #000}.statuses{height:26px;display:flex;align-items:center;justify-content:center;gap:6px;margin-top:5px}.status{display:flex;gap:2px;align-items:center;font:12px Georgia;border:1px solid #84aab744;border-radius:3px;padding:2px 4px;background:#14272be6}.status .icon{width:13px;height:13px}.status.block{color:#a4cbdb}.status.burn{color:#f3ae70}.status.vulnerable{color:#d7a0c4}.status.strength{color:#d5be80}.intention{position:absolute;top:0;left:50%;transform:translate(-50%,-32%);display:flex;align-items:center;justify-content:center;gap:6px;min-width:66px;height:42px;color:#e4a38c;filter:drop-shadow(0 2px 3px #000)}.intention .icon{width:26px;height:26px}.intention strong{font:24px Georgia}.intent-label{position:absolute;top:42px;left:50%;transform:translateX(-50%);font-size:9px;letter-spacing:2px;color:#a9b3a3;white-space:nowrap}.intention.defensive{color:#b3c9bc}.enemy{width:225px}.enemy.wisp{width:210px}.enemy.warden,.enemy.sovereign{width:285px}.enemy .actor-art{margin-top:24px}.targetable .actor-art,.drag-target .actor-art{filter:drop-shadow(0 0 6px #d7a56b88)}.targetable:hover .actor-art{filter:drop-shadow(0 0 14px #e8b672);transform:translateY(-3px)}.damage-preview{position:absolute;right:1px;top:32%;display:flex;align-items:center;gap:4px;padding:4px 9px;background:#3f2a25;border:1px solid #d5b67e88;color:#eec59c;border-radius:3px;font:17px Georgia}.damage-preview .icon{width:16px}.actor.dead{opacity:.14;filter:grayscale(1);pointer-events:none}.actor.dead .intention{visibility:hidden}.actor.dead .actor-art{transform:translateY(10px) rotate(6deg)}.arena-bottom{position:absolute;bottom:13px;left:36px;right:36px;display:flex;align-items:center;gap:18px;color:#84958b;font-size:10px}.chapter-symbol{font:21px var(--serif);color:#a58f60;border:1px solid #a58f6040;display:grid;place-items:center;width:32px;height:32px;transform:rotate(0deg)}.battle-tip{display:flex;align-items:center;gap:10px;letter-spacing:.5px}.battle-tip .icon{width:18px;height:18px;color:#afad86}.log-button{margin-left:auto;color:#9da895;display:flex;align-items:center;gap:8px;font-size:10px}.log-button .icon{width:17px}.battle-controls{position:relative;z-index:3;border-top:1px solid #cbb98a18;background:radial-gradient(ellipse at 50% 0,#34403a44,transparent 65%),linear-gradient(#14242a,#0f1c22);display:grid;grid-template-columns:180px minmax(0,1fr) 220px;padding:35px 35px 0;align-items:center}.battle-controls:before{content:'';position:absolute;top:0;left:30%;width:40%;height:1px;background:linear-gradient(90deg,transparent,#bca57466,transparent)}.action-hint{position:absolute;top:10px;left:180px;right:220px;display:flex;gap:12px;align-items:center;justify-content:center;color:#b9bda7;font-size:11px;letter-spacing:1px;min-height:25px;z-index:3}.hint-ornament{font-size:9px;color:#8b795359;letter-spacing:5px}.hint-dot{width:5px;height:5px;border-radius:50%;background:var(--gold);box-shadow:0 0 8px var(--gold)}.cancel-select{font-size:10px;border-bottom:1px solid #9a8b6d66;color:#c4ad82;white-space:nowrap}.energy-area{display:flex;align-items:center;flex-direction:column;gap:12px;padding-bottom:26px}.energy-orb{width:83px;height:83px;border:1px solid #c4ac7355;border-radius:50%;position:relative;display:grid;place-items:center;background:radial-gradient(circle at 35% 30%,#527268,#233d3d 60%,#162a32);box-shadow:inset 0 0 14px #8aa89d33,0 0 25px #8aa89d0d;color:#f1dfb2}.energy-orb:before{content:'';position:absolute;inset:6px;border:1px solid #a4b29b77;border-radius:50%}.energy-orb:after{content:'◆';position:absolute;top:-10px;font-size:12px;color:#d5b67e;background:#1a2c2e;padding:0 3px}.energy-orb>span{font:37px Georgia;z-index:1}.energy-orb small{font:16px Georgia;color:#93a99a;margin-left:4px}.energy-area>b{font-size:10px;letter-spacing:4px;color:#b7baa4}.energy-pips{display:flex;gap:7px}.energy-pips i{width:6px;height:6px;transform:rotate(45deg);border:1px solid #a4ad9066}.energy-pips i.active{background:var(--gold);box-shadow:0 0 6px #d5b67e44;border-color:var(--gold)}.hand-scroll{height:245px;position:relative;display:flex;align-items:flex-end;justify-content:center;overflow:visible;min-width:0}.hand{display:flex;align-items:flex-end;justify-content:center;padding-bottom:4px;perspective:1000px;isolation:isolate;width:100%;height:100%}.card{position:relative;display:flex;flex-direction:column;align-items:stretch;flex-shrink:0;width:166px;height:230px;padding:0;text-align:center;border:1px solid #9e8057;border-radius:9px 9px 5px 5px;background:linear-gradient(135deg,#3d3f36,#222c29 35%,#202c2c 65%,#31372e);box-shadow:0 6px 20px #0009,inset 0 0 0 3px #192326,inset 0 0 0 4px #a38d5e66;transform:translateY(var(--lift,0px)) rotate(var(--angle,0deg));transform-origin:50% 110%;color:#e2d4b5;overflow:visible;user-select:none;-webkit-user-select:none;transition:transform .2s ease,box-shadow .2s,border-color .2s;touch-action:pan-x}.hand .card+.card{margin-left:-35px}.card:before{content:'';position:absolute;inset:7px;border:1px solid #bfa56d33;pointer-events:none;border-radius:6px 6px 0 0}.card.skill{background:linear-gradient(135deg,#364345,#1b2e35 45%,#223239);border-color:#839a8c}.card.power{background:linear-gradient(135deg,#514645,#322c38 45%,#302b37);border-color:#b1989e}.card-cost{position:absolute;top:6px;left:6px;width:30px;height:33px;display:grid;place-items:center;color:#f4dfb6;font:21px Georgia;background:linear-gradient(#627065,#293b38);border:1px solid #ccb584;border-radius:50% 50% 43% 43%;box-shadow:0 2px 4px #0007;z-index:2}.card-name{height:39px;display:flex;align-items:center;justify-content:center;padding:4px 13px 0 34px;font:600 15px var(--serif);letter-spacing:2px;line-height:1.2}.card-name b{color:#a7c795}.card-art{height:94px;display:block;margin:0 10px;color:#d0b586;overflow:hidden;background:radial-gradient(ellipse,#b1a16c0f,transparent);border-bottom:1px solid #baa16b55;border-top:1px solid #baa16b22}.skill .card-art{color:#a4c4b6}.power .card-art{color:#c9abc8}.card-type{height:21px;display:flex;align-items:center;justify-content:center;gap:15px;font-size:8px;letter-spacing:3px;color:#a8ad96;border-bottom:1px solid #bba66c22;background:#101b2033}.card-type i{font-style:normal;font-size:5px;color:#bda47366}.card-description{font-size:11px;line-height:1.7;margin:auto;padding:7px 15px;min-height:49px;display:flex;align-items:center;justify-content:center;color:#d7d7c2}.card-bottom{display:block;font-size:8px;letter-spacing:2px;color:#88988c;padding-bottom:10px}.card-key{position:absolute;bottom:-22px;left:50%;transform:translateX(-50%);font:10px Georgia;color:#586c66;display:none}.hand .card:hover,.hand .card.selected{transform:translateY(-24px) rotate(0deg) scale(1.06);z-index:20;border-color:#e0c492;box-shadow:0 0 18px #d8ba7e25,0 12px 24px #0009}.hand .card.selected{transform:translateY(-38px) rotate(0deg) scale(1.07);box-shadow:0 0 0 1px #d9ba80,0 0 30px #d5b67e33,0 12px 24px #0009}.card.unaffordable{filter:saturate(.55) brightness(.7)}.card.upgraded{border-color:#a8bf85}.hand.large-hand .card+.card{margin-left:-70px}.turn-actions{padding:0 0 15px 24px;align-self:center;position:relative;text-align:center;z-index:1}.end-turn{display:flex;align-items:center;justify-content:center;flex-direction:row-reverse;gap:12px;width:100%;min-height:54px;background:linear-gradient(100deg,#78603e,#a48652,#786140);border:1px solid #ceb07b;box-shadow:inset 0 0 0 4px #2b2c2677,0 5px 20px #0003;color:#f0e0bf;font:17px var(--serif);letter-spacing:3px;clip-path:polygon(6% 0,94% 0,100% 20%,100% 80%,94% 100%,6% 100%,0 80%,0 20%)}.end-turn .icon{width:19px}.end-turn:hover:not(:disabled){filter:brightness(1.16);transform:translateY(-2px)}.end-turn:disabled{filter:grayscale(.7) brightness(.5)}.end-key{display:block;font:9px Georgia;color:#718277;margin-top:7px}.piles{display:flex;justify-content:space-between;margin-top:17px;gap:9px}.piles button{font-size:9px;color:#9ba998;display:flex;gap:5px;align-items:center;padding:4px 0}.piles .icon{width:21px;height:21px;opacity:.65}.piles b{font:15px Georgia;display:block;color:#d8d0b2;margin-left:2px}.exhaust-link{font-size:9px;color:#7d8b7d;margin-top:5px}footer{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:0 35px;color:#65796f;font-size:9px;letter-spacing:1px;border-top:1px solid #a4a88312;background:#0e1b21}.save-dot:before{content:'';display:inline-block;width:4px;height:4px;border-radius:50%;background:#82a790;margin-right:7px}.touch-hint{display:none}.motes i{position:absolute;width:2px;height:2px;background:#ddbd7c;left:var(--x);top:var(--y);box-shadow:0 0 8px #d7bb7e;animation:mote var(--duration) var(--delay) infinite linear}.body-idle{animation:breathe 4s ease-in-out infinite;transform-origin:center 90%}.float-idle{animation:float 4s ease-in-out infinite}.enemy:nth-child(2) .body-idle{animation-delay:-2s}.lantern-glow{animation:glow 2s ease-in-out infinite}.actor.hurt .actor-art{animation:hurt .35s ease}.actor.attacking .actor-art{animation:lunge .4s ease}.enemy.attacking .actor-art{animation:enemyLunge .4s ease}.floating-number{position:absolute;left:50%;top:35%;font:32px Georgia;z-index:20;pointer-events:none;color:#f5c2a2;text-shadow:0 2px 6px #000;animation:damage 1s ease-out forwards}.floating-number.block{color:#b8d8e5}.floating-number.heal{color:#a7d1a0}.floating-number.burn{color:#f4b16c}@keyframes breathe{50%{transform:translateY(-3px) rotate(.4deg)}}@keyframes float{50%{transform:translateY(-9px) rotate(2deg)}}@keyframes glow{50%{opacity:.3}}@keyframes mote{0%{transform:translate(0,35px);opacity:0}20%{opacity:.65}80%{opacity:.6}100%{transform:translate(35px,-90px);opacity:0}}@keyframes hurt{20%,60%{filter:brightness(1.8) sepia(.3);transform:translateX(7px)}40%,80%{transform:translateX(-6px)}}@keyframes lunge{45%{transform:translate(28px,-6px) rotate(6deg)}}@keyframes enemyLunge{45%{transform:translate(-26px,-5px) rotate(-6deg)}}@keyframes damage{0%{opacity:0;transform:translate(-50%,15px) scale(.6)}20%{opacity:1;transform:translate(-50%,-5px) scale(1.2)}100%{opacity:0;transform:translate(-50%,-65px)}}
/* Dialogs share the game's material palette; labels can wrap for localization. */
.modal{position:fixed;padding:42px 46px 36px;background:radial-gradient(ellipse at 50% 0,#34413b70,transparent 65%),#15242af9;color:var(--cream);border:1px solid #a58d605f;width:min(760px,92vw);max-height:91dvh;overflow-y:auto;text-align:center;box-shadow:0 20px 100px #000a;border-radius:3px;isolation:isolate;scrollbar-color:#596452 #15242a;scrollbar-width:thin}.modal::backdrop{background:#050f17cc;backdrop-filter:blur(7px)}.modal:before{content:'';position:absolute;inset:7px;border:1px solid #a58d6024;pointer-events:none;z-index:-1}.modal.wide{width:min(940px,94vw)}.modal-close{position:absolute;right:16px;top:15px;color:#9aab9c;width:30px;height:30px}.modal-close .icon{width:20px}.modal-heading .eyebrow{font-size:9px;letter-spacing:4px;color:var(--gold)}.modal-heading h2{font:29px/1.4 var(--serif);letter-spacing:3px;margin-top:13px;color:#e9dfc5}.modal-heading p{font-size:11px;color:#9daa9d;line-height:1.9;margin:13px auto 0;max-width:540px}.modal h3{font-size:14px;letter-spacing:2px;margin:20px 0 7px}.muted{font-size:11px;color:#8f9e90;line-height:1.8}.modal-ornament{font-size:9px;color:#b2986455;letter-spacing:8px;margin-top:26px}.primary{display:inline-flex;align-items:center;justify-content:center;gap:20px;min-width:170px;max-width:100%;padding:14px 26px;border:1px solid #b49a69;background:linear-gradient(100deg,#64543799,#8c754b99,#64543799);font-size:13px;letter-spacing:2px;color:#efdfbd;margin-top:25px;box-shadow:inset 0 0 0 3px #14242a33}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:11px;padding:9px 12px;color:#b3b39b;border-bottom:1px solid #aa976333;margin-top:17px}.text-button.danger{color:#c59a89;border-color:#b9836544}.loot{display:flex;align-items:center;justify-content:center;gap:8px;color:var(--gold);margin:23px 0;font:19px Georgia}.loot span{font:10px var(--sans);color:#9eaa95}.loot .icon{width:19px;height:19px}.loot i{font-size:5px;font-style:normal;color:#8d805a;margin:0 15px}.reward-cards{display:flex;justify-content:center;align-items:center;gap:20px;margin:32px 0 9px;padding:5px 0}.reward-cards .card{width:174px;height:242px;--angle:0deg!important;--lift:0px!important}.reward-cards .card:hover,.deck-grid .card:hover{transform:translateY(-7px);border-color:#e5c28a;box-shadow:0 0 25px #d7b87922}.reward-cards .card-art{height:100px}.rest-emblem{display:flex;justify-content:center;margin:28px auto;color:#c4ad78}.rest-emblem .icon{width:90px;height:90px;stroke-width:1}.choices{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:25px auto 10px;max-width:560px}.choices>button{border:1px solid #a38c5f66;padding:24px 18px;background:#c9ba7e06;display:flex;align-items:center;flex-direction:column;gap:15px}.choices>button:hover:not(:disabled){background:#c9ba7e0f;transform:translateY(-3px);border-color:#bda574}.choices b{font:19px var(--serif);letter-spacing:2px}.choices span{font-size:11px;color:#a1ad9b;line-height:1.8}.choices .icon{width:30px;height:30px;color:var(--gold)}.choices button:disabled{opacity:.35}.deck-grid{display:grid;grid-template-columns:repeat(auto-fit,166px);gap:23px 18px;justify-content:center;margin:32px 0 0}.deck-grid .card{--angle:0deg!important;--lift:0px!important}.empty{padding:30px}.settings-list{margin-top:30px}.settings-list label{display:flex;justify-content:space-between;align-items:center;padding:17px 0;gap:20px;text-align:left;border-bottom:1px solid #b79c6522;font-size:13px}.settings-list select{border:1px solid #b79c6555;background:#203137;padding:8px 12px;min-width:140px}.toggle{border:1px solid #b79c6544;min-width:70px;padding:5px 10px;font-size:11px;color:#96a596;background:#182b30}.toggle.on{background:#7a896c33;color:#d9ccaa;border-color:#b79c65aa}.settings-list+.muted{margin-top:25px}.help-list{list-style:none;text-align:left;padding:0;margin:25px 0 0;display:grid;gap:17px}.help-list li{display:flex;gap:17px;align-items:flex-start}.help-list li>span{font:18px Georgia;color:#b59b69;margin-top:2px}.help-list p{font-size:12px;color:#b3bead;line-height:1.9}.confirm-actions{display:flex;flex-direction:column;align-items:center}.combat-log{text-align:left;max-height:52dvh;overflow:auto;margin:25px 0 0}.combat-log p{padding:10px 7px;border-bottom:1px solid #99a47915;font-size:12px;color:#acb8a8}.combat-log .log-turn,.combat-log .log-victory{color:var(--gold)}.combat-log .log-hit{color:#ce9e88}.run-results{display:flex;gap:40px;justify-content:center;margin:20px 0}.run-results span{display:flex;flex-direction:column;gap:7px;font-size:10px;color:#9caa96}.run-results b{font:30px Georgia;color:var(--gold)}.route-map{position:relative;height:460px;margin:16px auto 0;width:min(600px,100%)}.route-map>svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.route-map>svg path{fill:none;stroke:#7b886955;stroke-width:1.5;stroke-dasharray:4 6}.route-map path.traveled{stroke:#baa16d;stroke-dasharray:0}.route-row{position:absolute;bottom:calc(var(--row)*90px);height:85px;left:10%;right:10%;display:flex;justify-content:center;gap:26%}.map-node{width:120px;flex-shrink:0;display:flex;align-items:center;flex-direction:column;padding:0;position:relative;color:#788b80;opacity:.6}.map-node .node-icon{width:40px;height:40px;border:1px solid #85917766;border-radius:50%;background:#182a2e;display:grid;place-items:center;box-shadow:0 0 0 5px #15242a}.map-node .icon{width:21px;height:21px}.map-node strong{font-size:11px;letter-spacing:1px;font-weight:400;margin-top:5px;white-space:nowrap;background:#17272b;padding:0 4px}.map-node small{font-size:8px;white-space:nowrap;color:#7d8e7d;background:#17272b;padding:0 4px}.map-node.visited{opacity:1;color:#a3af98}.map-node.current{color:var(--gold)}.map-node.current .node-icon{border-color:#d6b97d;box-shadow:0 0 0 5px #15242a,0 0 18px #d6b97d22;background:#374035}.map-node.available{opacity:1;color:var(--gold)}.map-node.available .node-icon{border-color:#c6aa70;box-shadow:0 0 0 5px #15242a,0 0 18px #c6aa7022}.map-node.available small{color:#bbad87}.map-node.available:hover{transform:translateY(-4px)}#toast{position:fixed;top:85px;left:50%;transform:translate(-50%,-15px);max-width:90vw;padding:11px 22px;background:#233530f5;border:1px solid #b9a16e77;box-shadow:0 5px 25px #0005;font-size:12px;color:#e9d7b4;z-index:100;pointer-events:none;opacity:0;transition:opacity .2s,transform .2s;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}.dragging .card{cursor:grabbing}.reduce-motion *,.reduce-motion *:before,.reduce-motion *:after{animation:none!important;transition:none!important}
@media(min-width:1600px){.game-shell{grid-template-rows:80px minmax(350px,1fr) 310px 32px}.combatants{height:430px;bottom:55px;left:12%;right:12%}.hero{width:330px}.enemy{width:265px}.enemy.wisp{width:245px}.enemy.warden,.enemy.sovereign{width:330px}.hand-scroll{height:270px}.hand .card{width:185px;height:255px}.hand .card-art{height:105px}.hand .card-description{font-size:12px}.battle-controls{grid-template-columns:220px minmax(0,1fr) 250px}.energy-orb{width:95px;height:95px}}
@media(max-width:1100px){.topbar{padding:0 22px;gap:24px}.brand{min-width:160px}.brand b{font-size:19px;letter-spacing:3px}.run-stats{gap:22px}.topnav{gap:5px}.topnav button{padding:6px}.topnav button span{font-size:11px}.combatants{left:7%;right:5%}.enemy-side{gap:2px}.hero{width:250px}.enemy{width:205px}.enemy.wisp{width:195px}.battle-controls{grid-template-columns:130px minmax(0,1fr) 175px;padding-left:20px;padding-right:20px}.action-hint{left:140px;right:180px;font-size:10px;letter-spacing:0;gap:6px}.hand .card{width:148px;height:220px}.hand .card+.card{margin-left:-43px}.hand .card-art{height:85px}.hand .card-name{font-size:14px}.hand .card-description{font-size:10px;padding:7px 12px}.turn-actions{padding-left:15px}.end-turn{font-size:15px;letter-spacing:1px}.piles{gap:5px}.piles button{font-size:8px}.piles .icon{width:17px}.hint-ornament{display:none}footer{padding:0 22px;font-size:8px;letter-spacing:.5px}.location{left:25px}.relic{left:23px}.arena-bottom{left:25px;right:25px}}
@media(max-width:760px){.game-shell{grid-template-rows:64px minmax(320px,1fr) 295px 30px;min-height:710px}.topbar{padding:0 15px;gap:18px}.brand{min-width:unset;gap:8px}.brand b{font-size:17px;letter-spacing:2px}.brand small{font-size:7px;letter-spacing:2px}.brand-mark{width:24px;height:30px}.brand-mark .icon{width:21px}.run-stats{gap:14px}.top-health{min-width:83px;gap:6px}.top-health b{font-size:16px}.top-health em{font-size:11px}.top-health>.icon{width:17px}.top-health-line{left:24px}.top-gold{font-size:16px;gap:6px}.top-gold .icon{width:16px}.potion{width:25px;padding-left:9px}.potion .icon{width:23px}.topnav{gap:3px}.topnav button{padding:5px;width:33px;justify-content:center}.topnav button span{display:none}.topnav .icon{width:18px;height:18px}.topnav .icon-button{padding:5px;margin:0}.topnav button[data-action=help]{display:none}.location{top:19px;left:19px}.location h1{font-size:23px;margin-top:7px;letter-spacing:3px}.location>span{font-size:9px;letter-spacing:2px}.location p{font-size:9px}.prototype-badge{top:21px;right:18px;font-size:8px;letter-spacing:.5px}.relic{top:112px;left:17px;padding:0}.relic>span{width:30px;height:30px}.relic .icon{width:18px}.relic div{display:none}.turn-indicator{top:60px;right:20px;gap:8px}.turn-indicator small{font-size:8px;letter-spacing:1px}.turn-indicator b{font-size:11px}.turn-diamond{width:27px;height:27px;font-size:14px}.combatants{height:260px;bottom:30px;left:2%;right:2%}.hero-side{width:35%}.enemy-side{width:61%;gap:0}.hero{width:210px}.enemy{width:175px}.enemy.wisp{width:155px}.enemy.warden,.enemy.sovereign{width:228px}.actor-name{font-size:12px;letter-spacing:1px}.hp-track{width:105px;height:13px;margin-top:6px}.hp-track span{font-size:9px;line-height:11px}.statuses{height:22px;margin-top:3px;gap:3px}.status{font-size:10px;padding:2px 3px}.status .icon{width:11px;height:11px}.intention{top:13px;height:33px;gap:4px}.intention .icon{width:22px;height:22px}.intention strong{font-size:21px}.intent-label{top:34px;font-size:8px}.arena-bottom{left:18px;right:18px;bottom:9px}.chapter-symbol{display:none}.battle-tip{font-size:9px;gap:6px}.battle-tip .icon{width:14px}.log-button{font-size:9px}.log-button .icon{width:15px}.battle-controls{grid-template-columns:80px minmax(0,1fr) 118px;padding:35px 10px 0;align-items:center}.action-hint{left:15px;right:15px;top:7px;font-size:10px;min-height:26px}.energy-area{gap:8px;padding-bottom:10px}.energy-orb{width:61px;height:61px}.energy-orb>span{font-size:28px}.energy-orb small{font-size:13px;margin-left:2px}.energy-area>b{font-size:9px;letter-spacing:2px}.energy-pips{gap:5px}.energy-pips i{width:5px;height:5px}.turn-actions{padding:0 0 10px 9px}.end-turn{font-size:13px;min-height:48px;gap:5px;letter-spacing:0}.end-turn .icon{width:15px}.piles{flex-direction:column;margin-top:12px;gap:4px}.piles button{font-size:10px;gap:5px;justify-content:center}.piles .icon{width:17px}.piles b{font-size:14px}.end-key{display:none}.hand-scroll{overflow-x:auto;overflow-y:hidden;justify-content:flex-start;height:260px;scrollbar-width:none;margin-right:-5px;margin-left:-3px;padding:0 5px}.hand-scroll::-webkit-scrollbar{display:none}.hand{width:max-content;justify-content:flex-start;align-items:center;padding:26px 12px 0;height:100%;gap:7px;perspective:none}.hand .card{width:140px;height:214px;transform:none!important;box-shadow:0 4px 10px #0007;flex-shrink:0}.hand .card+.card,.hand.large-hand .card+.card{margin-left:0}.hand .card-name{font-size:13px;height:36px;padding-left:30px;letter-spacing:1px}.hand .card-cost{width:26px;height:29px;font-size:19px;top:5px;left:5px}.hand .card-art{height:82px;margin:0 8px}.hand .card-description{font-size:10px;padding:5px 10px;line-height:1.7}.hand .card-type{font-size:8px;height:20px;letter-spacing:2px}.hand .card-bottom{padding-bottom:8px;font-size:7px}.hand .card.selected{transform:translateY(-18px)!important;z-index:5}.hand .card:hover{transform:none}.hand .card.selected:hover{transform:translateY(-18px)!important}.hand .card-key{display:none}footer{padding:0 15px;font-size:8px;letter-spacing:0}.keyboard-hint{display:none}.touch-hint{display:block}.save-dot{display:none}.modal{padding:34px 25px 25px;width:94vw;max-height:92dvh}.modal-heading h2{font-size:24px;letter-spacing:2px}.modal-heading p{font-size:11px}.reward-cards{gap:10px;margin-top:25px;flex-wrap:wrap}.reward-cards .card{width:150px;height:225px}.reward-cards .card-name{font-size:13px;padding-left:30px;letter-spacing:1px}.reward-cards .card-cost{width:26px;height:30px;font-size:19px}.reward-cards .card-art{height:86px}.reward-cards .card-description{font-size:10px;padding:5px 12px}.reward-cards .card-bottom{font-size:8px}.reward-cards .card-type{font-size:8px}.choices{gap:12px}.choices>button{padding:20px 13px}.choices b{font-size:17px}.choices span{font-size:10px}.deck-grid{grid-template-columns:repeat(auto-fit,144px);gap:17px 12px;margin-top:25px}.deck-grid .card{width:144px;height:219px}.deck-grid .card-name{font-size:13px;letter-spacing:1px;padding-left:28px}.deck-grid .card-description{font-size:10px;padding:5px 10px}.deck-grid .card-cost{width:25px;height:29px;font-size:18px}.deck-grid .card-art{height:83px}.help-list{gap:13px}.help-list p{font-size:11px}.route-row{left:3%;right:3%;gap:15%}.route-map{height:440px}.route-row{bottom:calc(var(--row)*86px)}.map-node strong{font-size:10px}.map-node small{font-size:7px}.map-node{width:105px}.run-results{gap:30px}#toast{top:73px;padding:10px 17px;font-size:11px}}
@media(max-width:480px){.topbar{padding:0 10px;gap:10px}.brand b{font-size:15px;letter-spacing:1px}.brand small{font-size:6px;letter-spacing:1.6px}.brand-mark{display:none}.run-stats{gap:10px}.top-health{min-width:72px;gap:4px}.top-health b{font-size:14px}.top-health em{font-size:10px}.top-health>.icon{width:15px}.top-health-line{left:19px}.top-gold{font-size:14px;gap:4px}.top-gold .icon{width:14px}.topnav{gap:0}.topnav button,.topnav .icon-button{width:29px;padding:4px;min-height:36px}.topnav .icon{width:17px}.potion{width:20px;padding-left:7px;height:35px}.potion .icon{width:20px;height:24px}.potion small{font-size:10px}.prototype-badge{font-size:6px;letter-spacing:.5px}.combatants{bottom:34px;left:0;right:0}.hero{width:175px}.enemy{width:142px}.enemy.wisp{width:125px}.enemy.warden,.enemy.sovereign{width:210px}.hero-side{width:33%}.enemy-side{width:64%}.hp-track{width:86px}.actor-name{font-size:11px}.intention{top:13px}.intent-label{display:none}.enemy .actor-art{margin-top:24px}.location h1{font-size:21px}.battle-tip{max-width:72%;font-size:8px}.battle-tip .icon{display:none}.log-button{font-size:8px;gap:4px}.arena-bottom{left:15px;right:15px}.battle-controls{grid-template-columns:59px minmax(0,1fr) 89px;padding-left:7px;padding-right:9px}.energy-orb{width:48px;height:48px}.energy-orb>span{font-size:25px}.energy-orb small{font-size:11px}.energy-orb:before{inset:4px}.energy-orb:after{font-size:9px;top:-8px}.energy-area{gap:9px}.turn-actions{padding-left:5px}.end-turn{font-size:12px;gap:4px;padding:5px 7px;min-height:49px}.end-turn .icon{width:12px}.piles button{font-size:8px;gap:3px}.piles .icon{width:16px}.piles b{font-size:13px}.energy-area>b{font-size:8px}.action-hint{font-size:9px;gap:7px;letter-spacing:0}.cancel-select{font-size:8px}.damage-preview{right:3px;top:38%;font-size:14px;padding:3px 5px}.damage-preview .icon{width:12px}.modal{padding-left:17px;padding-right:17px}.reward-cards{gap:8px;flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;padding:10px 8px 15px;scroll-snap-type:x mandatory}.reward-cards .card{width:148px;height:222px;scroll-snap-align:center}.deck-grid{grid-template-columns:repeat(auto-fit,138px);gap:17px 10px}.deck-grid .card{width:138px}.deck-grid .card-description{font-size:10px;padding-left:10px;padding-right:10px}.modal-heading h2{font-size:22px}.modal-heading .eyebrow{font-size:8px;letter-spacing:3px}.modal-heading p{font-size:10px}.modal h3{font-size:13px}.choices>button{padding:20px 9px}.choices b{font-size:16px}.choices span{font-size:10px}.choices .icon{width:27px}.route-row{gap:10%;left:3%;right:3%}.map-node{width:100px}.route-map{margin-top:24px}.settings-list label{font-size:12px}.settings-list select{min-width:120px;font-size:12px}.run-results{gap:23px}.help-list{margin-top:22px}.help-list li{gap:11px}.help-list p{font-size:11px;line-height:1.8}footer>span:first-child{max-width:38%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}footer{padding:0 12px;font-size:7px}}
@media(max-height:650px) and (min-width:761px){.game-shell{min-height:540px;grid-template-rows:54px minmax(250px,1fr) 210px 24px}.topbar{padding:0 24px}.brand b{font-size:17px}.brand small{font-size:7px}.combatants{height:240px;bottom:18px;left:12%;right:11%}.hero{width:200px}.enemy{width:165px}.enemy.wisp{width:145px}.enemy.warden,.enemy.sovereign{width:200px}.location{top:14px}.location h1{font-size:23px;margin:5px 0}.relic{top:102px}.turn-indicator{top:66px}.arena-bottom{bottom:4px}.battle-tip{font-size:8px}.chapter-symbol{display:none}.battle-controls{grid-template-columns:130px minmax(0,1fr) 180px;padding-top:22px}.action-hint{top:3px;left:140px;right:190px;font-size:9px}.hand-scroll{height:188px}.hand .card{width:129px;height:177px}.hand .card+.card{margin-left:-23px}.hand .card-art{height:55px}.hand .card-name{height:31px;font-size:12px}.hand .card-cost{width:24px;height:26px;font-size:18px}.hand .card-description{font-size:9px;min-height:40px;padding:5px 10px}.hand .card-type{height:17px;font-size:7px}.hand .card-bottom{font-size:7px;padding-bottom:6px}.hand .card.selected{transform:translateY(-23px) rotate(0deg) scale(1.03)}.hand .card:hover{transform:translateY(-18px) rotate(0deg) scale(1.03)}.energy-orb{width:65px;height:65px}.energy-area{gap:8px;padding-bottom:8px}.energy-orb>span{font-size:30px}.end-turn{min-height:47px}.piles{margin-top:9px}.turn-actions{padding-bottom:6px}.end-key{display:none}.prototype-badge{top:20px}}
@media(max-width:760px) and (orientation:landscape){.game-shell{min-height:540px;grid-template-rows:52px 250px 210px 28px}.combatants{height:230px;bottom:18px}.hero{width:185px}.enemy{width:150px}.enemy.wisp{width:135px}.battle-controls{padding-top:24px;grid-template-columns:75px 1fr 110px}.hand-scroll{height:185px}.hand{padding-top:20px}.hand .card{height:168px;width:124px}.hand .card-art{height:50px}.hand .card-name{height:29px;font-size:12px}.hand .card-description{font-size:9px;padding:4px 10px;min-height:38px}.hand .card-type{height:17px}.hand .card-bottom{padding-bottom:5px}.action-hint{top:0;font-size:9px}.hand .card-cost{height:25px;width:23px;font-size:17px}.hand .card.selected{transform:translateY(-13px)!important}.energy-orb{height:52px;width:52px}.piles{margin-top:5px}.turn-actions{padding-bottom:0}.location h1{font-size:20px}.turn-indicator{top:54px}.relic{top:99px}}
.arena{container-type:size}.hero{--actor-size:280px}.enemy{--actor-size:225px}.enemy.wisp{--actor-size:210px}.enemy.warden,.enemy.sovereign{--actor-size:285px}.arena .hero{width:min(var(--actor-size),58cqh)}.arena .enemy{width:min(var(--actor-size),48cqh)}
.map-node:disabled{opacity:.8;color:#91a18f}.map-node.visited,.map-node.current{opacity:1}.map-node.current{color:var(--gold)}
@media(max-width:360px){.topbar{gap:7px;padding:0 8px}.brand b{font-size:13px}.brand small{font-size:5px;letter-spacing:1.4px}.run-stats{gap:7px}.top-gold .icon{display:none}.topnav button,.topnav .icon-button{width:25px}.top-health{min-width:68px}.potion{padding-left:6px}.hero{--actor-size:155px}.enemy{--actor-size:129px}.enemy.wisp{--actor-size:115px}.battle-controls{grid-template-columns:53px minmax(0,1fr) 81px}.end-turn{font-size:11px}.piles button{font-size:8px}.piles .icon{width:13px}.modal-heading h2{font-size:20px}.deck-grid{grid-template-columns:repeat(auto-fit,128px);gap:15px 9px}.deck-grid .card{width:128px}.deck-grid .card-name{font-size:12px}.route-row{gap:6%}.map-node{width:90px}}
@media(min-width:1600px){.hero{--actor-size:330px}.enemy{--actor-size:265px}.enemy.wisp{--actor-size:245px}.enemy.warden,.enemy.sovereign{--actor-size:330px}}
@media(max-width:1100px){.hero{--actor-size:250px}.enemy{--actor-size:205px}.enemy.wisp{--actor-size:195px}}
@media(max-width:760px){.hero{--actor-size:210px}.enemy{--actor-size:175px}.enemy.wisp{--actor-size:155px}.enemy.warden,.enemy.sovereign{--actor-size:228px}}
@media(max-width:480px){.hero{--actor-size:175px}.enemy{--actor-size:142px}.enemy.wisp{--actor-size:125px}.enemy.warden,.enemy.sovereign{--actor-size:210px}}
@media(max-height:650px) and (min-width:761px){.hero{--actor-size:190px}.enemy{--actor-size:160px}.enemy.wisp{--actor-size:145px}.enemy.warden,.enemy.sovereign{--actor-size:200px}}
:lang(en) .card-name{letter-spacing:.2px;font-size:14px;padding-right:7px;overflow-wrap:anywhere}:lang(en) .location h1{font-size:24px;letter-spacing:1.2px}:lang(en) .location p{letter-spacing:1.5px}:lang(en) .brand b{letter-spacing:2px}
@media(max-width:760px){:lang(en) .brand b{font-size:13px;letter-spacing:.5px}:lang(en) .brand small{letter-spacing:1px}:lang(en) .location h1{font-size:21px;letter-spacing:.5px}:lang(en) .card-name{font-size:12px;letter-spacing:0}:lang(en) .prototype-badge{font-size:6px}}
@media(max-width:360px){:lang(en) .brand b{font-size:11px;letter-spacing:0}.arena .hero{--actor-size:140px}.arena .enemy{--actor-size:110px}.arena .enemy.wisp{--actor-size:95px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

@media(max-width:480px){.actor-name{max-width:100%;letter-spacing:.3px;font-size:10px}}

/* Platform quality: focus and text remain independent of ornamental artwork. */
.game-shell{height:var(--viewport-height,100dvh)}
.card-name{overflow:hidden;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.modal{max-height:calc(var(--viewport-height,100dvh) - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));overflow:auto;overscroll-behavior:contain}
.modal .card-description{overflow-wrap:anywhere}
.art-slot>.actor-frame{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:1}
.art-slot.playing-frames>.art-fallback,.art-slot.playing-frames>img:not(.actor-frame){visibility:hidden}
.settings-list label,.choices>button{min-width:0}
.platform-settings{border:1px solid var(--line);border-radius:6px;padding:12px;margin:16px 0;min-width:0}
.platform-settings legend{padding:0 6px;color:var(--gold)}
.platform-settings label{display:flex;align-items:center;gap:12px;min-height:44px;flex-wrap:wrap}
.platform-settings label>span{flex:1;min-width:100px}.platform-settings input[type=range]{width:125px;max-width:45%;min-height:44px;accent-color:var(--gold)}
.platform-settings output{min-width:35px;font-variant-numeric:tabular-nums}
.platform-settings select,.platform-settings button{min-height:44px;max-width:100%;background:#1c2c30;border:1px solid var(--line);padding:6px 10px;border-radius:4px}
.platform-settings p{font-size:12px;color:var(--muted);margin:8px 0}
.platform-loading{position:fixed;z-index:500;top:max(12px,env(safe-area-inset-top,0px));left:50%;transform:translateX(-50%);width:min(380px,calc(100% - 24px));padding:14px;background:#14262af5;border:1px solid var(--gold);border-radius:8px;box-shadow:0 6px 25px #0008;font-size:13px}
.platform-loading progress{display:block;width:100%;margin:10px 0;accent-color:var(--gold)}
.platform-loading button{border:1px solid var(--line);padding:8px 12px;margin-right:8px;min-height:44px;border-radius:4px}
.choices span,.modal-heading p,.help-list p{overflow-wrap:anywhere}
.card:focus-visible{z-index:110!important;outline:3px solid #f4d9a2;outline-offset:3px}
.reduce-motion *,.reduce-motion *::before,.reduce-motion *::after{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
@media(pointer:coarse){
 .topnav button,.topnav .icon-button{min-height:44px;min-width:36px}
 .modal-close,.log-button{min-height:44px;min-width:44px}
 .settings-list button,.settings-list select,.text-button{min-height:44px}
}

.reward-receipt{padding:10px;border-radius:8px;background:#79948415;line-height:1.6}.compact-reward{margin:12px 0}.event-flavor{font-size:13px;margin:8px 0 14px;color:#abbcaf}.event-flavor summary{cursor:pointer;min-height:36px}.supply-choices{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))}.supply-choices button{min-height:110px;white-space:normal}@media(max-width:600px){.supply-choices{grid-template-columns:1fr}.supply-choices button{min-height:72px}}

.character-resource{display:flex;align-items:center;gap:6px;min-height:32px;padding:4px 8px;border:1px solid #bda46c55;border-radius:8px;background:#172c2bc9;font-size:11px;white-space:nowrap}.character-resource span{display:flex;gap:3px}.character-resource i{width:6px;height:6px;border-radius:50%;background:#82918533}.character-resource .filled{background:#e4c584}.hero-side>.character-resource{position:absolute;top:-30px;left:0;z-index:3}.portrait-player .character-resource{margin-left:auto}.nearby-route{display:grid;gap:8px;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));margin:16px 0}.nearby-route button{min-height:64px;border:1px solid #bda46c55;border-radius:9px;background:#223832;padding:12px}.nearby-route .icon{width:24px;height:24px}.full-route summary{min-height:44px;padding:10px;cursor:pointer}@media(max-width:360px){.character-resource{font-size:10px;gap:3px;padding:4px}.character-resource i{width:4px;height:4px}}

.portrait-player>.character-resource{margin-left:auto;flex-shrink:0}.portrait-player>.character-resource b{font-size:10px}@media(max-width:360px){.character-resource span{display:none}.portrait-player{gap:4px}}

.hero-side{position:relative}
.hero-side>.character-resource{top:auto;bottom:-20px;left:50%;transform:translateX(-50%);min-height:20px;padding:1px 6px;font-size:10px}

.advanced-resource{max-width:100%;flex-wrap:wrap;white-space:normal;justify-content:center}.advanced-resource span{display:inline}.equipment-button{font-size:10px;padding:4px;min-height:32px;border:1px solid #bda46c55;border-radius:6px;flex-shrink:0}.card-cost small{font-size:11px}.portrait-player .advanced-resource{max-width:45%;font-size:10px;gap:3px}
