/* Native art, native tooltip hierarchy; layout adapts without cropping the board. */
.native-ui{background:#272522}.native-ui .ambient{background:radial-gradient(ellipse at center,#0000 35%,#060707b8)}
.native-ui:has([data-view=run]){background-image:var(--original-board);background-size:cover;background-position:center;background-attachment:fixed}
.native-ui:has([data-view=run]) .app-header{height:54px;background:#171c21dc;border-bottom:1px solid #ba95654a;padding-inline:24px}
.native-ui .app-header .brand{font-size:17px}.native-ui .app-header .brand img{height:35px;width:29px}
.native-ui:has([data-view=run]) .app-header .brand small{display:none}
.native-ui .run-shell{max-width:1600px;padding:12px 24px 12px;position:relative;min-height:calc(100dvh - 54px);background:linear-gradient(#070d1280,#090c1540 45%,#080a1099)}
.native-ui .run-topline{margin-bottom:8px;padding:0 10px}.native-ui .run-content{display:block}
.native-ui .play-column{display:grid;grid-template-columns:130px minmax(0,1fr);grid-template-areas:"hero choice" "hand hand" "storage storage";gap:10px 18px}
.native-ui .market-layout{display:contents}.native-ui .hero-panel{grid-area:hero;min-height:0;max-height:285px;border:0;background:transparent;overflow:visible;align-self:center;filter:drop-shadow(0 3px 8px #000a)}
.native-ui .market-panel{grid-area:choice;min-height:0;padding:13px 20px 16px;background:transparent;border:0;box-shadow:none;align-self:center}
.native-ui .market-panel:before,.native-ui .inventory-panel:before{display:none}
.native-ui .market-heading{min-height:34px;margin-bottom:12px}.native-ui .market-heading h2{text-shadow:0 2px 4px #000;font-size:23px}
.native-ui .market-heading .eyebrow{display:none}.native-ui .market-choice-description{font-size:12px;color:#ded4b3;text-shadow:0 1px 2px #000}
.native-ui .hero-name{font-size:16px}.native-ui .hero-id-block{background:#101922c9;padding:8px 5px;border:1px solid #9c784f;clip-path:polygon(0 5px,5px 0,calc(100% - 5px) 0,100% 5px,100% calc(100% - 5px),calc(100% - 5px) 100%,5px 100%,0 calc(100% - 5px))}
.native-ui .hero-level{font-size:10px}.native-ui .run-hero-portrait{height:115px;overflow:hidden}.native-ui .run-hero-portrait .hero-portrait{height:125px}
.native-ui .hero-economy{display:flex;gap:8px;justify-content:center;align-items:center}.native-ui .hero-gold{font-size:28px;margin:4px 0}.native-ui .hero-income{font-size:11px}
.native-ui .hero-vitals{margin-top:0;padding-top:4px;border:0;gap:11px;font-size:12px}
.native-ui .encounter-grid{gap:20px;max-width:1000px;margin:auto;justify-content:center}
.native-ui .encounter-offer{border:0;box-shadow:none;background:linear-gradient(transparent 36%,#16232edf 75%);border-radius:4px;position:relative}
.native-ui .encounter-image{height:clamp(105px,18dvh,210px);overflow:visible}
.native-ui .encounter-image:after{background:linear-gradient(transparent 70%,#16232e)}
.native-ui .encounter-background{opacity:.65;mask-image:linear-gradient(#000,#0000)}
.native-ui .encounter-portrait{object-fit:contain;object-position:bottom}
.native-ui .encounter-type{top:auto;bottom:0;background:#171f2ae3;color:#decba4;border:1px solid #9c7a4c;font-size:10px}
.native-ui .encounter-info{padding:7px 12px 12px;text-align:center}.native-ui .encounter-info h3{font-size:17px;margin:2px 0;color:#f1e3be;text-shadow:0 2px 3px #000}
.native-ui .encounter-info small{font-size:9px;opacity:.65}.native-ui .encounter-info button{margin-top:9px}
.native-ui .is-reward-art .encounter-portrait{object-fit:contain;max-height:100%;width:100%}
.native-ui .text-choice{align-self:center;border:1px solid #9d7c50;background:#17232de6;min-width:130px}
.native-ui .text-choice .encounter-image{display:none}
.native-ui .offer-grid{min-height:0;gap:16px;padding-top:10px;padding-bottom:8px}
.native-ui .item-offer .offer-art,.native-ui .item-offer .card-component{height:clamp(95px,18dvh,195px)}
.native-ui .item-offer{padding-inline:0}.native-ui .offer-name{font-size:12px;margin-top:8px;text-shadow:0 1px 3px #000}.native-ui .offer-tier{font-size:10px}
.native-ui .primary-button,.native-ui .offer-buy{background:var(--native-gold-button) center/100% 100%;border:0;border-radius:0;color:#2b261c;box-shadow:none;min-height:34px;font-size:12px}
.native-ui .secondary-button,.native-ui .quiet-button{background:#142029d9;border:1px solid #b39160;clip-path:polygon(0 4px,4px 0,calc(100% - 4px) 0,100% 4px,100% calc(100% - 4px),calc(100% - 4px) 100%,4px 100%,0 calc(100% - 4px));color:#ecdfba}
.native-ui button:disabled{filter:grayscale(1);opacity:.45}
.native-ui .inventory-panel{grid-area:hand;background:transparent;border:0;padding:0 34px 7px;box-shadow:none;min-width:0}
.native-ui .section-label{padding:0 10px;color:#e7d6a8;text-shadow:0 1px 3px #000}.native-ui .section-label h2{font-size:12px}
.native-ui .board-wrap{padding:18px 10px 0;overflow:visible}
.native-ui .board{min-width:0;grid-template-rows:clamp(80px,20dvh,225px);gap:3px;min-height:0;padding:6px 17px 42px;background:var(--original-carpet) center top/100% calc(100% - 31px) no-repeat}
.native-ui .board-slot{background:#10253638;border:1px solid #b8ae7c27;border-radius:0;min-height:0}
.native-ui .board-slot.is-locked{background:#0e1927c7;border:0;backdrop-filter:blur(1px);opacity:.9}
.native-ui .board-slot.is-locked .utility-icon{color:#baab83;opacity:.5}
.native-ui .slot-number{color:#f0e7be80;bottom:7px}.native-ui .board-token .card-caption{margin-top:4px}
.native-ui .board-token .card-caption small{display:none}.native-ui .board-token .card-caption strong{font-size:11px}
.native-ui .board-help{border:0;padding:0;margin:0;font-size:10px;color:#e0cfa0;text-shadow:0 1px 2px #000}
.native-ui .sell-drop{background:#2c1721d9;border:1px solid #c09871;color:#edcda4;min-width:110px}
.native-ui .storage-layout{grid-area:storage;display:grid;grid-template-columns:minmax(0,1fr) 160px;margin:0 130px 0 165px;gap:15px;min-width:0}
.native-ui .storage-panel{background:#121c27d4;border:1px solid #8b7858;padding:9px 15px;min-width:0;position:relative}
.native-ui .skills-panel{background:#121c27d4;border:1px solid #8b7858;padding:9px;min-width:0}
.native-ui .stash-drop{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));grid-template-rows:clamp(44px,9dvh,90px);gap:2px;min-height:0;padding:10px 2px 24px;background:var(--original-carpet) center 9px/100% calc(100% - 21px) no-repeat;position:relative}
.native-ui .stash-slot{grid-row:1;border:1px solid #cfbc7a22;background:#13233340;min-width:0;pointer-events:none}
.native-ui .stash-item{grid-row:1;position:relative;min-width:0;width:100%;height:100%;margin:0;align-self:stretch}
.native-ui .stash-item .card-component{height:100%;width:100%}
.native-ui .stash-item .card-caption{top:100%;margin-top:4px}.native-ui .stash-item .card-caption strong{font-size:9px}.native-ui .stash-item .card-caption small{display:none}
.native-ui .empty-stash{position:absolute;inset:0;font-size:11px;color:#e3d5b4;pointer-events:none;opacity:.65}
.native-ui .empty-stash svg{display:none}.native-ui .skill-list{gap:7px;min-height:0;padding-top:10px}.native-ui .skill-button,.native-ui .skill-button .card-component{width:36px;height:36px}
.native-ui .native-chest-toggle{position:absolute;left:24px;bottom:20px;width:130px;background:transparent;border:0;padding:0;z-index:5;color:#f1dcae;text-shadow:0 2px 3px #000}
.native-chest-toggle img{width:90px;height:85px;object-fit:contain;filter:drop-shadow(0 4px 5px #000)}.native-chest-toggle span{display:block;font-size:12px}
.native-ui .stash-closed .storage-panel{visibility:hidden}
.native-journal-toggle{position:absolute;right:20px;bottom:20px;width:112px;min-height:37px;background:#19222ce6;border:1px solid #9e825c;color:#ebd5ab;font-size:12px;z-index:6}
.native-ui .journal{display:none;position:fixed;z-index:115;right:18px;top:65px;bottom:65px;width:min(325px,85vw);background:#14212cf5;border:1px solid #a28b66;border-radius:0;padding:15px;overflow:auto;box-shadow:0 10px 45px #000c}
.native-ui .journal-open .journal{display:block}.native-journal-close{display:block;margin-left:auto;background:transparent;border:1px solid #9f8f6c;color:#ddcc9c;padding:4px 10px}
.native-ui .journal-section{background:transparent;border:0;border-bottom:1px solid #b3a67b44;border-radius:0;padding:13px 0}
.native-ui .card-popover{padding:0;background:transparent;border:0;border-radius:0;box-shadow:0 10px 35px #0008;width:340px;max-width:calc(100vw - 20px);z-index:360}
.native-tooltip{padding:19px 23px 15px;background:#1c2020f5;color:#ede2c7;border:14px solid transparent;border-image:var(--native-tooltip-frame) 60 fill / 14px / 0 stretch;position:relative;font:12px/1.85 BazaarText,serif;box-shadow:0 4px 15px #0008}
.native-tooltip h3{font:600 22px/1.4 BazaarTitle;text-align:center;color:#f0dcc0;margin:0 0 8px;text-shadow:0 1px 3px #000}
.native-tooltip .tooltip-tags{text-align:center;margin-bottom:5px;font-size:10px;color:#c1b38c}.native-tooltip .tooltip-quality{text-align:center;font-size:10px;opacity:.7}
.native-enchant-name{display:block;font-size:.62em;margin-bottom:4px;color:#e4d7b3}
.ench-Fiery{color:#ff873c}.ench-Toxic{color:#9be266}.ench-Icy{color:#86d8fa}.ench-Heavy{color:#96b5dc}.ench-Turbo{color:#e8d99d}.ench-Deadly{color:#ce8de1}.ench-Shielded{color:#efd58a}.ench-Restorative{color:#9add95}.ench-Golden{color:#ffd65e}.ench-Radiant{color:#f5f1b4}.ench-Shiny{color:#e5c6ff}
.native-effect{margin:0;padding:10px 0;line-height:1.85;color:#f0e7cf;overflow-wrap:anywhere}.native-effect+.native-effect{border-top:1px solid #bba67d33}
.native-active{background:#74654625;border:5px solid transparent;border-image:var(--native-tooltip-active) 64 fill / 5px;padding:9px 8px;margin:8px -8px}
.native-passive{color:#ece4d2}.native-ench-effect{border-left:2px solid #cfb271;padding-left:10px}
.native-number{font:700 1.15em BazaarNumbers;color:#f4d8a0}.attr-DamageAmount{color:#ff9a74}.attr-BurnApplyAmount{color:#ffb14e}.attr-PoisonApplyAmount{color:#a5df6a}.attr-HealAmount,.attr-RegenApplyAmount{color:#a8e399}.attr-ShieldApplyAmount{color:#f1d77b}.attr-FreezeAmount{color:#89d9ff}
.native-cooldown{text-align:center;border-block:1px solid #af93694a;padding:8px;margin:7px 0;color:#ead8b4;display:flex;justify-content:center;align-items:center;gap:5px}.native-cooldown b{font:700 20px BazaarNumbers}
.native-tooltip .tooltip-foot{font-size:10px;color:#b4a88c;margin-top:10px;border-top:1px solid #a794672e;padding-top:7px}
.conditional-note{display:block;color:#b6aa8e;font-size:9px}.native-level-rewards{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}.native-level-rewards span{font-size:9px;line-height:1.5;text-align:center}.native-level-rewards img{width:100%;height:48px;object-fit:contain;display:block}
.native-ui .detail-effects{background:#1b2020;border:8px solid transparent;border-image:var(--native-tooltip-frame) 60 fill/8px;padding:5px 14px;color:#ecdec1}
.native-ui .card-detail{background:#15212a;border-left-color:#a58962}
.native-ui .detail-title{text-align:center}.native-ui .detail-alias{text-align:center}.native-ui .detail-meta{justify-content:center}
.native-ui .replay-overlay{background:linear-gradient(#050a1399,#050a1340),var(--original-board) center/cover;padding:12px 24px 0;overflow:hidden}
.native-ui .replay-header{flex:none;padding-bottom:8px;min-height:55px;border-color:#c6ad7770}.native-ui .replay-header h2{font-size:20px}
.native-ui .replay-layout{min-height:0;flex:1;gap:0}.native-ui .replay-scene{padding:4px 0;gap:5px;justify-content:space-evenly;min-height:0}
.native-ui .combat-scroll{overflow:visible;padding:0;flex:none}.native-ui .battle-arena{min-width:0;max-width:1350px;padding:0 12px;margin:auto}
.native-ui .battle-board{grid-template-rows:min(19dvh,calc((100vw - 70px)*.198));gap:3px;padding:5px 16px 30px;background:var(--original-carpet) center top/100% calc(100% - 20px) no-repeat}
.native-ui .battle-slot{border-radius:0;border-color:#b7b47b22;background:#192d3b33}
.native-ui .fight-token .card-caption{margin-top:4px}.native-ui .fight-token .card-caption small{display:none}
.native-ui .battle-skills{height:27px;margin-top:-5px}.native-ui .fight-skill,.native-ui .fight-skill .card-component{height:24px;width:24px}
.native-ui .duel-separator{height:13px;margin:1px 0 5px;font-size:11px}
.native-ui .combatant{min-height:65px;max-width:900px;padding:0 20px;gap:12px;flex:none}
.native-ui .combat-avatar{height:65px;width:67px;border:0;overflow:visible}.native-ui .combat-avatar .hero-portrait{height:75px;object-fit:contain;filter:drop-shadow(0 3px 4px #000)}
.native-ui .combat-name{margin-bottom:3px}.native-ui .combat-name strong{font-size:12px}
.native-ui .combat-vitals{position:relative}.native-ui .health-track{height:33px;border:1px solid #453b2a;border-radius:1px;overflow:visible;background:#232622;box-shadow:0 2px 5px #0009;isolation:isolate}
.native-ui .health-fill{background:linear-gradient(#ead793,#c19a4e 36%,#a8813b 52%,#d6b76a);height:100%;box-shadow:inset 0 1px 1px #fff8;z-index:0}
.native-ui .combatant-1 .health-fill{background:linear-gradient(#c78d66,#9f593a 45%,#6f3a2c 52%,#b07451)}
.native-ui .health-track>span{font:700 16px/31px BazaarNumbers;color:#fff2c4;text-shadow:0 2px 2px #000;z-index:5}
.native-health-dividers{position:absolute;inset:0;z-index:2;pointer-events:none;display:flex;justify-content:space-evenly}.native-health-divider{height:100%;width:2px;background:#171b1899;box-shadow:1px 0 #fff1}
.native-shield-fill{position:absolute;left:0;top:-5px;height:5px;min-width:0;background:linear-gradient(#fff2bc,#e9d29a);border:1px solid #645b42;box-shadow:0 0 6px #f9e3ac44;z-index:6}
.native-poison-fill{position:absolute;inset:0 auto 0 0;background:#5a9d75;opacity:.65;z-index:1;max-width:100%}
.native-burn-fill{position:absolute;inset:0 0 0 auto;width:0;max-width:100%;background:#e8802e99;z-index:2}
.native-ui .health-track.invulnerable{outline:2px solid #fff2af;box-shadow:0 0 18px #fff4d5a0}.native-ui .health-track.invulnerable .health-fill{background:linear-gradient(100deg,#e3deac,#f9f4dd,#c6c9b3)}
.native-bar-statuses{position:absolute;inset:auto 0 -17px;display:flex;justify-content:center;gap:17px;z-index:7;font:700 12px BazaarNumbers;text-shadow:0 1px 3px #000}.native-bar-statuses span{display:flex;gap:3px;align-items:center}
.native-bar-statuses .game-icon{width:16px;height:17px;object-fit:contain}
.native-ui .combat-statuses{min-height:22px;padding-top:4px;justify-content:flex-end}.native-ui .shield-counter{display:none}
.native-ui .replay-controls{position:static;flex:none;background:#101a22c9;border:1px solid #ad956540;padding:8px 12px 10px;margin:0 0 10px;border-radius:0;max-width:none;gap:12px}
.native-ui .battle-log{position:absolute;right:0;top:0;bottom:0;z-index:30;width:280px;background:#15212af7;padding:15px;max-height:none;border-color:#b29d6a}
.native-ui .combat-float{font-size:27px;text-shadow:0 2px 3px #000,1px 0 #000,-1px 0 #000}.native-ui .battle-result{background:#141d29f5;border-color:#ba9b64}
@media(max-height:740px) and (min-width:700px){.native-ui .run-shell{padding-block:7px}.native-ui .run-topline{margin-bottom:0}.native-ui .market-panel{padding-block:3px}.native-ui .encounter-image{height:14dvh}.native-ui .encounter-info{padding-block:3px}.native-ui .encounter-info h3{font-size:14px}.native-ui .hero-panel{max-height:225px}.native-ui .run-hero-portrait{height:77px}.native-ui .run-hero-portrait .hero-portrait{height:90px}.native-ui .hero-name{font-size:12px;margin:1px}.native-ui .hero-id-block{padding:3px}.native-ui .hero-gold{font-size:24px}.native-ui .board{grid-template-rows:18dvh}.native-ui .board-wrap{padding-top:11px}.native-ui .stash-drop{grid-template-rows:8dvh}.native-ui .market-heading{margin-bottom:1px;min-height:28px}.native-ui .market-heading h2{font-size:19px}.native-ui .item-offer .offer-art,.native-ui .item-offer .card-component{height:16dvh}.native-ui .offer-grid{gap:12px;padding-block:3px}.native-ui .storage-panel,.native-ui .skills-panel{padding:5px 10px}.native-ui .play-column{gap:5px 14px}.native-ui .offer-tier{display:none}.native-ui .offer-buy{min-height:28px}.native-ui .combat-avatar{height:50px}.native-ui .combat-avatar .hero-portrait{height:59px}.native-ui .combatant{min-height:57px}.native-ui .replay-header{min-height:43px}.native-ui .replay-header .eyebrow{display:none}.native-ui .battle-board{grid-template-rows:min(18dvh,calc((100vw - 70px)*.198));padding-bottom:23px}.native-ui .battle-skills{height:21px}.native-ui .fight-skill,.native-ui .fight-skill .card-component{height:20px;width:20px}}
@media(max-width:1000px){.native-ui .run-shell{padding-inline:12px}.native-ui .play-column{grid-template-columns:100px minmax(0,1fr);gap:8px}.native-ui .market-panel{padding-inline:12px}.native-ui .encounter-grid{gap:10px}.native-ui .storage-layout{margin:0 110px 0 125px;grid-template-columns:minmax(0,1fr) 115px}.native-ui .native-chest-toggle{left:10px;width:105px}.native-ui .inventory-panel{padding-inline:12px}.native-ui .native-journal-toggle{right:12px;width:97px;font-size:10px}.native-ui .hero-income{font-size:9px}.native-ui .board-token .card-caption strong{font-size:9px}}
@media(max-width:640px){.native-ui:has([data-view=run]) .app-header{height:48px;padding-inline:12px}.native-ui .run-shell{padding:9px 8px 110px;min-height:calc(100dvh - 48px)}.native-ui .run-topline{gap:8px;padding:0 4px}.native-ui .run-score{gap:5px;font-size:9px}.native-ui .run-score strong{font-size:14px}.native-ui .day-label{gap:8px}.native-ui .day-label h1{font-size:16px}.native-ui .day-label h1 span{font-size:19px}.native-ui .hour-dot{width:11px}.native-ui .day-label small{font-size:8px}.native-ui .play-column{grid-template-columns:1fr;grid-template-areas:"hero" "choice" "hand" "storage";gap:10px}.native-ui .hero-panel{display:flex;max-height:74px;min-height:60px;margin:0 5px;gap:8px}.native-ui .run-hero-portrait{height:62px;width:48px}.native-ui .run-hero-portrait .hero-portrait{height:70px;max-width:55px}.native-ui .hero-id-block{padding:6px 9px;flex:1}.native-ui .hero-name{font-size:12px}.native-ui .hero-economy{flex-direction:column;gap:0;min-width:52px}.native-ui .hero-gold{font-size:25px;margin:0}.native-ui .hero-vitals{font-size:11px;min-width:64px;padding-left:6px}.native-ui .market-panel{padding:5px 6px 10px}.native-ui .market-heading h2{font-size:19px}.native-ui .market-heading{margin-bottom:8px}.native-ui .encounter-grid{gap:6px}.native-ui .encounter-image{height:105px}.native-ui .encounter-info{padding:5px}.native-ui .encounter-info h3{font-size:12px;min-height:0}.native-ui .encounter-info small{font-size:8px}.native-ui .encounter-info>button{min-height:29px;font-size:10px}.native-ui .encounter-type{font-size:8px}.native-ui .item-offer .offer-art,.native-ui .item-offer .card-component{height:110px}.native-ui .offer-grid{gap:10px 7px}.native-ui .offer-name{font-size:10px}.native-ui .offer-tier{font-size:9px}.native-ui .offer-buy{font-size:10px;min-height:28px}.native-ui .inventory-panel{padding:0}.native-ui .board{grid-template-rows:calc((100vw - 68px)*.198);padding:5px 10px 25px;gap:2px;background-size:100% calc(100% - 18px)}.native-ui .board-wrap{padding:13px 0 0}.native-ui .board-token .card-caption strong{font-size:8px}.native-ui .board-token .card-gem{font-size:11px;min-width:24px;height:17px}.native-ui .board-help{font-size:8px;padding-inline:2px}.native-ui .sell-drop{min-width:80px;padding:5px;font-size:9px}.native-ui .storage-layout{margin:0;grid-template-columns:minmax(0,1fr) 78px;gap:7px}.native-ui .storage-panel,.native-ui .skills-panel{padding:7px}.native-ui .section-label{padding:0 1px}.native-ui .section-label h2{font-size:10px}.native-ui .section-label small{font-size:8px}.native-ui .stash-drop{grid-template-rows:calc((100vw - 140px)*.17);padding-bottom:19px}.native-ui .stash-item .card-caption strong{font-size:7px}.native-ui .empty-stash{font-size:9px}.native-ui .skill-button,.native-ui .skill-button .card-component{width:26px;height:26px}.native-ui .skill-list{gap:4px}.native-ui .native-chest-toggle{position:absolute;left:12px;bottom:10px;width:95px}.native-chest-toggle img{height:64px;width:70px}.native-chest-toggle span{font-size:10px}.native-ui .native-journal-toggle{bottom:21px;right:12px}.native-ui .card-popover{display:block!important}.native-ui .card-popover[hidden]{display:none!important}.native-ui .replay-overlay{padding:8px 8px 0}.native-ui .replay-header{min-height:49px}.native-ui .replay-header h2{font-size:16px}.native-ui .combatant{padding:0 2px;gap:7px;min-height:67px}.native-ui .combat-avatar{height:52px;width:42px}.native-ui .combat-avatar .hero-portrait{height:62px}.native-ui .combat-name strong{font-size:10px}.native-ui .combat-name span{font-size:8px}.native-ui .health-track{height:25px}.native-ui .health-track>span{font-size:13px;line-height:23px}.native-ui .native-bar-statuses{font-size:10px;gap:11px;bottom:-15px}.native-bar-statuses .game-icon{width:13px;height:14px}.native-ui .combat-statuses{min-height:18px}.native-ui .combat-status{font-size:9px}.native-ui .battle-arena{padding:0}.native-ui .battle-board{grid-template-rows:calc((100vw - 48px)*.198);padding:3px 6px 19px;gap:1px;background-size:100% calc(100% - 13px)}.native-ui .fight-token .card-caption strong{font-size:7px}.native-ui .fight-token .card-gem{min-width:20px;height:14px;font-size:10px}.native-ui .cooldown-track{height:3px;bottom:5%;border-width:.5px}.native-ui .fight-card-flags .game-icon{height:11px;width:11px}.native-ui .battle-skills{height:20px}.native-ui .fight-skill,.native-ui .fight-skill .card-component{width:18px;height:18px}.native-ui .duel-separator{margin:0;height:12px}.native-ui .replay-controls{gap:8px;padding:8px;margin-bottom:6px}.native-ui .replay-progress{margin:5px 0 0}.native-ui .combat-float{font-size:22px}}

.native-vfx-canvas{position:absolute;inset:0;width:100%;height:100%;z-index:11;pointer-events:none}
.native-ui .primary-button,.native-ui .offer-buy{color:#f6e3b9;text-shadow:0 1px 2px #000}
.native-ui .is-dragging .board-slot.drop-valid{background:#82b47460;border:2px solid #d0ebaa}
.native-ui .is-dragging .board-slot.drop-invalid{background:#d56b5145;border:2px solid #e08b70}
.native-ui .bar-stat-burn{color:#ffb057}.native-ui .bar-stat-poison{color:#97e376}.native-ui .bar-stat-healthregen{color:#a8e8ad}.native-ui .bar-stat-shield{color:#fff0c1}
.native-ui .native-bar-statuses{min-height:17px}
@media(max-height:540px){
 .native-ui .replay-overlay{padding:4px 10px 0}
 .native-ui .replay-header{min-height:33px;padding-bottom:3px}.native-ui .replay-header h2{font-size:14px;margin:0}
 .native-ui .replay-header .eyebrow{display:none}.native-ui .replay-header button{min-height:25px;font-size:9px;padding:3px 6px}
 .native-ui .combatant{min-height:43px;gap:8px;max-width:660px}.native-ui .combat-avatar{height:33px;width:36px}
 .native-ui .combat-avatar .hero-portrait{height:43px}.native-ui .combat-name{margin-bottom:1px}.native-ui .combat-name strong{font-size:9px}
 .native-ui .health-track{height:17px}.native-ui .health-track>span{line-height:15px;font-size:11px}
 .native-ui .native-bar-statuses{font-size:8px;bottom:-12px;gap:9px;min-height:12px}.native-ui .native-bar-statuses .game-icon{width:10px;height:11px}
 .native-ui .combat-statuses{min-height:12px;padding-top:0;font-size:8px}.native-ui .combat-status{font-size:8px}.native-ui .combat-status .game-icon{width:10px;height:10px}
 .native-ui .battle-board{grid-template-rows:min(13dvh,calc((100vw - 70px)*.198));padding:3px 13px 16px}
 .native-ui .battle-skills{height:16px;margin:0}.native-ui .fight-skill,.native-ui .fight-skill .card-component{height:15px;width:15px}
 .native-ui .duel-separator{height:8px;line-height:8px;margin:0 0 2px}.native-ui .fight-token .card-caption strong{font-size:7px}.native-ui .card-caption{line-height:1}
 .native-ui .replay-controls{flex-wrap:nowrap;min-height:32px;padding:4px 7px;gap:8px;margin-bottom:4px}
 .native-ui .replay-progress{order:0;flex:1 1 auto;margin:0;height:4px}.native-ui .replay-time{font-size:8px;min-width:92px}.native-ui .play-button{height:25px;width:28px}
 .native-ui .speed-label{font-size:8px;gap:3px}.native-ui .replay-speed{font-size:9px;padding:2px}
}

.native-ready{text-align:center;color:#ead8b6;text-shadow:0 2px 3px #000}.native-ready h2{font:600 23px BazaarTitle;margin:3px 0}
.native-opponent{display:flex;align-items:center;justify-content:center;gap:18px}.native-opponent .hero-portrait{height:150px;width:120px;object-fit:contain;filter:drop-shadow(0 5px 8px #000)}
.native-opponent h3{font:600 21px BazaarTitle}.native-ready>p{font-size:12px}.native-ready>button{width:200px;font-size:15px}
@media(max-height:740px){.native-opponent .hero-portrait{height:100px}.native-ready h2{font-size:19px}.native-ready>p{margin:5px}}

/* Keep a cell's physical width proportional to its height, as on the native carpet. */
.native-ui .run-shell{--native-hand-h:clamp(80px,20dvh,225px);--native-stash-h:clamp(44px,9dvh,90px)}
.native-ui .board{grid-template-rows:var(--native-hand-h);max-width:calc(var(--native-hand-h)*5.04 + 34px);margin-inline:auto}
.native-ui .stash-drop{grid-template-rows:var(--native-stash-h);max-width:calc(var(--native-stash-h)*5.04 + 18px);margin-inline:auto}
.native-ui .replay-overlay{--native-battle-h:min(19dvh,calc((100vw - 70px)*.198))}
.native-ui .battle-board{grid-template-rows:var(--native-battle-h);max-width:calc(var(--native-battle-h)*5.04 + 32px);margin-inline:auto}
.native-number>.game-icon{height:1.15em;width:1.15em;display:inline-block;vertical-align:-.2em;margin-right:3px;object-fit:contain}
@media(max-height:740px) and (min-width:700px){.native-ui .run-shell{--native-hand-h:18dvh;--native-stash-h:8dvh}.native-ui .replay-overlay{--native-battle-h:min(18dvh,calc((100vw - 70px)*.198))}}
@media(max-width:640px){.native-ui .run-shell{--native-hand-h:calc((100vw - 68px)*.198);--native-stash-h:calc((100vw - 140px)*.17)}.native-ui .replay-overlay{--native-battle-h:calc((100vw - 48px)*.198)}}
@media(max-height:540px){.native-ui .replay-overlay{--native-battle-h:min(13dvh,calc((100vw - 70px)*.198))}}

.native-ui .native-health-dividers{display:block;overflow:visible}
.native-ui .native-health-divider{position:absolute;top:-12%;height:125%;width:3px;background:var(--original-health-div-small) center/100% 100%;box-shadow:none;transform:translateX(-50%)}
.native-ui .native-health-divider.major{height:160%;top:-29%;width:4px;background-image:var(--original-health-div-large)}

.native-ui .card-art{object-fit:cover}.native-ui .native-size-mismatch .card-art{object-fit:contain}
/* The original uses the same CardAssetData material with its _ISTINY_ON variant.
   Preserve the illustration's aspect ratio, with a soft echo and the original _TinyBlocks atlas. */
.is-tiny-art .card-art-inset{container-type:size}
.tiny-art-plane{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:min(100cqw,calc(100cqh * var(--tiny-art-ratio)));aspect-ratio:var(--tiny-art-ratio)}
.native-ui .is-tiny-art .tiny-art-plane .card-art{object-fit:fill!important}
.tiny-art-echo{position:absolute;inset:-5%;width:110%;height:110%;object-fit:cover;filter:blur(5px) brightness(.56);pointer-events:none}
.tiny-art-fx{position:absolute;inset:0;pointer-events:none;mix-blend-mode:screen}
.tiny-art-fx i{position:absolute;width:clamp(13px,23%,34px);aspect-ratio:1;background:url(assets/vfx/FX_TinyArcade_Mask_T.png) 57.1429% 0/800% 400% no-repeat;opacity:.55;animation:tiny-cube-drift 4s ease-in-out infinite alternate}
.tiny-art-fx i:nth-child(1){left:4%;top:14%}
.tiny-art-fx i:nth-child(2){right:4%;top:46%;background-position:71.4286% 33.3333%;animation-delay:-1.4s}
.tiny-art-fx i:nth-child(3){left:16%;bottom:9%;background-position:85.7143% 66.6667%;animation-delay:-2.5s}
@keyframes tiny-cube-drift{to{transform:translateY(-18%);opacity:.26}}
@media(prefers-reduced-motion:reduce){.tiny-art-fx i{animation:none}}

.native-ui{background-image:var(--original-board);background-position:center;background-size:cover;background-attachment:fixed}
.native-ui .detail-alias,.native-ui .encounter-info>small{display:none}
.native-ui .welcome{background:#101b26e6;border-inline:1px solid #b49b6555;min-height:calc(100dvh - 54px)}
.native-ui .welcome .eyebrow,.native-ui .welcome-step{display:none}
.native-ui .hero-select{background:radial-gradient(ellipse at 50% 35%,#aca37c24,transparent 75%),#17232ce8;border-color:#917f5e;box-shadow:inset 0 0 0 1px #253037}
.native-ui .hero-select[aria-pressed=true]{background:radial-gradient(ellipse at 50% 40%,#dcb96a38,transparent 75%),#273139;border-color:#e9c77c}
.native-ui .hero-select .hero-art:after{background:linear-gradient(transparent,#17232c)}
.native-ui .new-run-panel{background:#17232cec;border-color:#a88e60}.native-ui .welcome-bottom{color:#d6c9a6}
