/* Ashen Vow 0.18 — a reliquary, a character folio and a keepsake deck.
   Functional frames are CSS; all representational art uses the original atlases. */
:root{--ink:#101110;--panel:#1b1c19;--paper:#eee8d5;--muted:#b8b3a5;--gold:#d9b77d;--line:#746348;--gilt:#c1a271;--recess:#111310}
.overlay{background:#080b0bd9;backdrop-filter:blur(3px);padding:max(18px,var(--safe-top)) max(18px,var(--safe-right)) max(18px,var(--safe-bottom)) max(18px,var(--safe-left))}
.overlay>.panel{position:relative;border:3px double #927b55;background:linear-gradient(110deg,#22241f,#191b18 50%,#20221d);box-shadow:0 0 0 3px #080b09,0 0 0 4px #594d36,0 24px 80px #000b,inset 0 0 60px #0004;scrollbar-color:#8a7755 #121510;scrollbar-width:thin;scroll-padding:20px}
.panel h2,.panel h3,.panel h4{word-break:keep-all;overflow-wrap:anywhere;letter-spacing:0}
.panel h2{font-family:Georgia,'Noto Serif KR',serif;font-size:clamp(24px,2.1vw,34px);font-weight:600;color:#f0e7d1}
.panel .subtext,.panel .card-desc,.panel .item-effect{font-size:1rem;line-height:1.75;color:#d3cebf}
.panel .panel-note,.ledger-note{font-size:.8125rem;line-height:1.75;color:#bab4a5;text-align:left}
.panel .eyebrow,.chapter-label{font-size:.8125rem;line-height:1.6;color:#c2ab81;letter-spacing:.04em}
.panel small{line-height:1.6}
.panel .btn-primary,.panel .btn-secondary{min-height:48px;min-width:0;font-size:.9375rem;padding:12px 18px;letter-spacing:.015em;white-space:normal;overflow-wrap:anywhere}
.btn-primary{border:1px solid #e3c18a;border-bottom:3px solid #6d5130;background:linear-gradient(#c5a472,#dfc391 44%,#b7945b);color:#231f17;box-shadow:inset 0 1px #f4dfb8,inset 0 0 0 3px #7c5f3640,0 3px 0 #080b09;font-weight:800}
.btn-primary:hover:not(:disabled){filter:brightness(1.1);transform:translateY(-1px)}
.btn-secondary,.icon-btn{background:linear-gradient(#30342c,#1b1e19);border:1px solid #89744f;border-bottom:3px solid #080c09;box-shadow:inset 0 1px #9d8a5533;color:#e6dbc4}
.text-btn{font-size:.875rem;min-height:44px;color:#d4c4a4}
button:disabled{opacity:.62}.panel button:disabled{cursor:default}.panel button:focus-visible,.town-hud button:focus-visible{outline:3px solid #f0dbad;outline-offset:3px}
.icon-btn{min-width:48px;min-height:48px;width:48px;height:48px;font-size:26px;flex-shrink:0}
.game-heading{display:flex;align-items:center;gap:18px;padding:0 0 18px;margin-bottom:24px;border-bottom:1px solid var(--line)}
.game-heading>div:first-child{flex:1;min-width:0}.game-heading h2{margin:3px 0 0}.game-heading .wallet{font-size:18px}.game-heading .wallet small{font-size:13px}.game-heading .wallet .game-icon{width:28px;height:28px}
.ledger-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:12px 0;margin:15px 0 10px}
.ledger-heading h3{margin:0;font-size:18px}.ledger-heading h3 small,.ledger-heading>span{font-size:13px;color:#b9ae97;font-weight:400}
.item-requirement{font-size:.875rem;line-height:1.6;color:#e3bd9d;margin:9px 0}
.game-tabs,.codex-tabs{gap:0;border-bottom:1px solid #84704b;flex-wrap:wrap}
.game-tabs button,.codex-tabs button{min-height:46px;min-width:48px;font-size:.875rem;padding:10px 14px;border:0;border-bottom:3px solid transparent;background:transparent;color:#bfb5a1;box-shadow:none}
.game-tabs button[aria-pressed=true],.codex-tabs button.active{background:linear-gradient(transparent,#9f7e3728);border-bottom-color:#e0bf82;color:#f7ddb0}

/* The merchant's cabinet: one inspector, never a wall of repeated descriptions. */
.overlay>.relic-panel{width:min(1180px,100%);padding:26px 30px}
.reliquary-layout{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(270px,.85fr);gap:30px;align-items:start}
.reliquary-cabinet{min-width:0}.merchant-counter{display:flex;align-items:center;gap:22px;min-height:138px;border-bottom:3px double #776444;margin-bottom:18px;padding:0 6px 12px}
.merchant-counter canvas{width:94px;height:126px;object-fit:contain;image-rendering:pixelated;flex-shrink:0;filter:drop-shadow(0 8px 6px #0008)}
.merchant-counter h3{font-size:21px;margin:0 0 7px}.merchant-counter p{font-size:16px;line-height:1.7;color:#ded2b9;margin:0 0 6px}.merchant-counter small{font-size:13px;color:#b2ac9c}
.relic-stock{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:8px 3px 16px;border-bottom:5px ridge #66543a}
.relic-slot{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-width:0;gap:4px;padding:9px 5px 8px;background:radial-gradient(ellipse at 50% 30%,#323b2d 0,transparent 72%),#10140f;border:1px solid #5c5e4d;border-bottom:3px solid #050805;box-shadow:inset 0 0 0 3px #050805,inset 0 0 0 4px #69745d28;text-align:center;transition:border-color .15s,background-color .15s}
.slot-art{display:grid;place-items:center;width:100%;height:64px}.slot-art>.game-icon{width:62px;height:62px;transition:transform .15s;filter:drop-shadow(0 3px 4px #000a)}
.slot-caption{display:flex;flex-direction:column;width:100%;gap:3px}.slot-caption b{font-size:.875rem;line-height:1.45;font-weight:500;color:#e0d6bf;word-break:keep-all;overflow-wrap:anywhere}.slot-caption small{font-size:.75rem;color:var(--relic-color);line-height:1.5}
.relic-slot.inspected{border-color:#efd49a;box-shadow:inset 0 0 0 2px #12160e,inset 0 0 0 3px #bfa471;background-color:#394130}.relic-slot.inspected .slot-art>.game-icon{transform:translateY(-2px)}
.relic-slot.uncollected .slot-art{opacity:.78;filter:saturate(.6)}.relic-slot.inspected .slot-art,.relic-stock .slot-art{opacity:1;filter:none}
.slot-mark{position:absolute;top:5px;right:4px;padding:2px 5px;background:#d4b477;color:#222619;font-size:12px;line-height:1.4;font-style:normal}.owned-mark{background:#283629;color:#c4d7af;border:1px solid #75865e}
.relic-slots{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.relic-stock .slot-art{height:96px}.relic-stock .slot-art>.game-icon{width:88px;height:88px}.relic-stock .slot-caption small{font-size:14px;color:#e1bf81}
.relic-inspector{position:sticky;top:0;min-width:0;text-align:center;border-left:1px solid #827048;padding:0 0 0 28px}
.relic-display{position:relative;display:grid;place-items:center;min-height:225px;background:radial-gradient(ellipse,color-mix(in srgb,var(--relic-color) 18%,transparent),transparent 65%);border-block:1px solid #5a61474a;margin-bottom:14px}
.relic-display>.game-icon{width:172px;height:172px;filter:drop-shadow(0 10px 10px #000a)}.display-index{position:absolute;right:6px;bottom:10px;font:13px Georgia,serif;letter-spacing:.12em;color:#b7a27d}
.relic-inspector .relic-rarity{font-size:14px}.relic-inspector h3{font-family:Georgia,'Noto Serif KR',serif;font-size:29px;margin:10px 0 12px}.relic-inspector .item-effect{min-height:56px;margin:0 0 22px}
.item-facts{margin:0 0 20px;border-block:1px solid #665a42;padding:8px 0;text-align:left;font-size:14px}.item-facts>div{display:flex;justify-content:space-between;gap:12px;padding:7px 0}.item-facts dt{color:#aaa795}.item-facts dd{margin:0;color:#ded3b8;text-align:right}
.item-actions{display:grid;gap:8px}.item-actions .item-requirement{margin:0}.relic-inspector>.ledger-note{text-align:center;margin-top:18px}
.relic-ledger{margin-top:24px;padding-top:8px;border-top:3px double #756344}.collector-ledger summary{cursor:pointer;min-height:48px;padding:12px 0;color:#e0cfac;font-size:16px}.collector-ledger summary>span{font-size:13px;color:#bfb49e;margin-left:12px}.collector-ledger>p{font-size:14px;line-height:1.6;color:#b8b3a4}
.relic-milestones{grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:12px;padding-bottom:18px}.relic-milestones>div{display:block;padding:12px 0;background:none;border:0;border-top:1px solid #514c38}.relic-milestones button{margin-top:10px;width:100%}
.relic-purchase-link{display:flex;align-items:center;gap:14px;border-top:1px solid #514c38;padding-top:16px}.relic-purchase-link>.game-icon{width:46px;height:46px;flex-shrink:0}.relic-purchase-link>span{flex:1}.relic-purchase-link b,.relic-purchase-link small{display:block}.relic-purchase-link b{font-size:15px;color:#d7bf8f}.relic-purchase-link small{font-size:13px;color:#b5af9e;margin-top:4px}

/* Character folio: full illustration, readable ability sheet, portrait roster. */
.overlay>.roster-panel{width:min(1360px,100%);max-width:1360px;padding:26px 30px}
.roster-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(290px,1fr);gap:26px}.roster-selected{display:grid;grid-template-columns:minmax(180px,.85fr) minmax(230px,1fr);gap:24px;min-width:0;align-items:start}
.roster-selected .roster-portrait{position:sticky;top:0;margin:0;height:530px;min-width:0;display:block;overflow:hidden;border:1px solid #72694c;background:linear-gradient(#0a100c66,#0b0e0bc9),url('./assets/title-scene.png') center/cover;box-shadow:inset 0 0 0 5px #090d08}
.roster-selected .roster-portrait canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 12%;image-rendering:auto;mask-image:linear-gradient(#000 70%,transparent)}
.roster-portrait figcaption{position:absolute;bottom:22px;left:10px;right:10px;z-index:3;text-align:center;font-size:15px;color:#e0cd9e;line-height:1.6;text-shadow:0 2px 5px #000}
.roster-dossier{min-width:0;padding:6px 0}.roster-dossier>h3{font-family:Georgia,'Noto Serif KR',serif;font-size:38px;margin:7px 0 18px;color:#f4e7cd}.roster-dossier>.btn-primary{width:100%;margin:16px 0 0}.roster-dossier .trait-box{border-top:0;border-bottom:1px solid #655b43;padding:0 0 17px}.roster-dossier .trait-box b{font-size:16px;color:#dbc496}.roster-dossier .trait-box p{font-size:16px;line-height:1.75;color:#cec8b7;min-height:0;margin:7px 0 0}
.roster-dossier .ultimate-detail{background:none;border:0;border-bottom:1px solid #655b43;padding:19px 0;margin:0;text-align:left}.roster-dossier .ultimate-detail b{display:block;font-size:18px;line-height:1.5;margin:8px 0;color:#dfc191}.roster-dossier .ultimate-detail p{font-size:15px;line-height:1.75;color:#d0cabb}.roster-dossier .ultimate-detail small{font-size:13px;color:#b0a890}.roster-dossier .ultimate-detail .game-icon{width:34px;height:34px;vertical-align:middle}
.starting-weapon{font-size:14px;line-height:1.7}.starting-weapon b{font-size:15px;display:block;margin:5px 0}.starting-weapon small{font-size:13px;line-height:1.7;color:#b0a890}
.hero-mastery{border-block:1px solid #655b43}.hero-mastery>summary{min-height:48px;padding:13px 0;font-size:15px;cursor:pointer}.hero-mastery>summary span{float:right;color:#d2b57f}.hero-mastery .mastery-panel{background:none;border:0;padding:8px 0;margin:0}.mastery-milestones{font-size:14px}.mastery-meter{background:#343a2c}.mastery-milestones li{color:#b5b7a5}.mastery-milestones .unlocked{color:#e4d2a7}
.roster-candidates{min-width:0;border-left:1px solid #665b43;padding-left:22px}.roster-candidates .ledger-heading{margin-top:0;padding-top:4px}.roster-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.hero-tile{min-height:115px;padding:5px 4px 9px;border:1px solid #6b715c;border-bottom:3px solid #050805;background:linear-gradient(#2e382b,#131b13);box-shadow:inset 0 0 0 3px #0b0f09;overflow:hidden}.hero-tile canvas{width:65px;max-width:100%;height:76px;object-fit:contain}.hero-tile b{font-size:14px;color:#e1d3b9;margin:0 0 3px}.hero-tile small{font-size:12px;color:#b9b399;line-height:1.4}.hero-tile.locked canvas{opacity:.62;filter:grayscale(.7)}.hero-tile.inspected{border-color:#f0ce8e;background:linear-gradient(#4a563e,#202619);box-shadow:inset 0 0 0 2px #080e07,inset 0 0 0 3px #c1a370}.selected-marker,.locked-marker{font-size:12px;padding:2px 5px;left:3px;top:3px}.locked-marker{position:absolute;color:#d0c5ad;background:#10170fdc;font-style:normal}.hero-tile .mastery-badge{font-size:12px}

/* Keepsakes use a card silhouette; their surrounding page stays quiet. */
.overlay>.collection-panel{width:min(1120px,100%);max-width:1120px;padding:26px 30px}
.collection-heading.illustrated-heading{border:0;border-bottom:1px solid #736243;min-height:140px;padding:8px 12px 20px;background:none}.collection-heading .illustrated-heading-copy{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:0 150px 0 0}.collection-heading h2{font-size:28px!important;margin:6px 0}.collection-heading .subtext{font-size:14px;max-width:480px}.collection-heading .menu-scene{background:transparent}.collection-heading .menu-scene--banner::after{background:linear-gradient(90deg,#20231ff0,#20231fe6 60%,#20231f55)}
.collection-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:32px;align-items:start}.collection-loadout{font-size:14px;padding:16px 0;margin:0 0 20px;background:none;border:0;border-bottom:1px solid #736243;gap:12px}.collection-loadout>span{font-size:13px}.collection-loadout b{font-size:14px;font-weight:500}.collection-loadout-actions{display:flex;align-items:center;flex:0 0 auto;gap:12px;margin-left:auto}.collection-loadout-actions button{margin-left:0;white-space:nowrap}.collection-loadout-actions .btn-secondary{min-width:0;padding:10px 14px}.collection-list{max-height:none;overflow:visible;padding-right:0}.carry-detail{display:block;position:sticky;top:0;border:0;background:none;padding:0;text-align:left}.keepsake-face{padding:20px 14px;background:radial-gradient(ellipse at 50% 35%,color-mix(in srgb,var(--rarity) 15%,transparent),transparent 65%),#171d15;border:3px double #9a865e;box-shadow:inset 0 0 0 6px #0b110b;text-align:center;min-height:288px}.keepsake-face .rarity-label{font-size:14px;color:var(--rarity);justify-content:center}.keepsake-face h3{font:26px Georgia,'Noto Serif KR',serif;color:#efe0bd;margin:8px 0}.carry-emblem{margin:12px auto;width:140px;height:140px;border:0;background:none}.carry-emblem .game-icon{width:134px;height:134px}.carry-detail .carry-effect{font-size:16px;line-height:1.75;min-height:0;margin:20px 0}.carry-detail .copy-meter{background:none;border-block:1px solid #665b43;padding:14px 0;margin-bottom:18px}.copy-meter b{font-size:14px}.copy-meter span{font-size:13px;line-height:1.75}.carry-detail>.btn-primary{width:100%}.rarity-group{margin-bottom:24px}.rarity-group>h3{font-size:16px;display:flex;align-items:center;gap:7px;margin:0 0 12px;padding:8px 0;border-bottom:1px solid #665b43}.rarity-group>h3 small{font-size:12px;margin-left:auto;color:#aaa897;font-weight:400}.carry-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}.carry-tile{position:relative;min-height:135px;padding:10px 4px;background:linear-gradient(#30392a,#141c13);border:3px double #7c7c5c;box-shadow:inset 0 0 0 3px #0b1108;border-radius:6px;display:flex;flex-direction:column;align-items:center;gap:4px;justify-content:center}.carry-tile.inspected{border-color:#ebd0a0;background:#37442a;box-shadow:inset 0 0 0 3px #131b0d}.carry-tile.unowned{opacity:1}.carry-tile.unowned .carry-glyph{filter:grayscale(.65);opacity:.62}.carry-tile b{font-size:13px;line-height:1.5;word-break:keep-all;overflow-wrap:anywhere;color:#ded3b8}.carry-tile small{font-size:12px;color:#b0b299;line-height:1.5}.carry-glyph{height:54px;width:54px}.carry-glyph .game-icon{height:52px;width:52px}.carry-selected{font-size:12px;background:#d6bb7e;color:#23291a;top:3px;right:3px}.collection-rules{border-top:1px solid #6d6248;margin-top:26px;padding-top:10px}.collection-rules summary{font-size:14px;min-height:48px;padding:12px 0}.collection-rules p{font-size:14px;line-height:1.8;color:#c7c3af}

/* Armory, sanctum, village ledger and combat menus share the material language. */
.armory-panel .town-panel-head,.town-panel .town-panel-head,.settlement-panel .town-panel-head{border-bottom:1px solid #766444;padding-bottom:18px;margin-bottom:22px}.armory-layout{grid-template-columns:320px minmax(0,1fr)}
.armory-detail{background:radial-gradient(ellipse at top,#747a3828,transparent 70%),#141b13;border:3px double #776b48;padding:24px}.armory-sigil{border:0;box-shadow:none;background:none;width:160px;height:160px}.armory-sigil>.game-icon{width:150px;height:150px}.armory-detail>p{font-size:16px;line-height:1.8}.armory-build{font-size:15px;border-block:1px solid #615a3c;padding:16px 0;text-align:left}.armory-build b,.armory-build small{font-size:13px;color:#c1b89e;letter-spacing:0}.armory-build span{font-size:15px}.armory-detail>.panel-note{font-size:13px;line-height:1.7}.armory-option{background:linear-gradient(110deg,#303a2b,#182116);border:1px solid #687052;box-shadow:inset 0 0 0 3px #0d140c;min-height:104px}.armory-option>.game-icon{width:58px;height:58px}.armory-option{grid-template-columns:58px minmax(0,1fr)}.armory-option>b{font-size:15px}.armory-option>small{font-size:13px;color:#b4b99e}.armory-number{font-size:12px;right:8px;color:#a1a287}.armory-option>em{font-size:12px}.armory-option.equipped{border-color:#e3c687;box-shadow:inset 0 0 0 2px #10180d,inset 0 0 0 3px #b79856}
.sanctuary-content{padding:30px}.sanctuary-content .talent{background:none;border:0;border-bottom:1px solid #655b43;padding:18px 0;grid-template-columns:40px minmax(0,1fr) auto}.talent h3{font-size:17px}.talent p{font-size:14px;line-height:1.7}.talent-pips i{height:6px;background:#444834}.talent-pips i.lit{background:#d5bb83}.sanctuary-content .panel-head{border-bottom:3px double #756444;padding-bottom:20px}.sanctuary-content .ember-total small{font-size:14px}.sanctuary-layout>.menu-scene{border-color:#756444}.town-prayer-status{font-size:15px;line-height:1.7;background:none;border:0;border-block:1px solid #706041;padding:15px 0}.town-blessing{border:3px double #7c714f;background:radial-gradient(ellipse at top,#84835729,transparent),#161e15;box-shadow:inset 0 0 0 4px #10160d}.town-blessing span{font-size:14px}.town-blessing small{font-size:13px}
.settlement-panel .settlement-resources{background:#121a10;border:1px solid #62704d;box-shadow:inset 0 0 0 3px #090e08}.settlement-resources small{font-size:13px}.settlement-resources b{font-size:17px}.settlement-guidance{font-size:15px;line-height:1.7}.settlement-toolbar{font-size:14px}.settlement-toolbar>span{font-size:14px}.facility-detail{background:none;border:0;border-left:1px solid #736444;padding-left:24px}.production-box{background:#3c50301a;border:1px solid #6b7950}.facility-heading .eyebrow,.facility-heading p,.build-confirmation p,.facility-upgrade p,.resource-cost{font-size:14px}.production-box>small,.facility-upgrade>small,.build-confirmation>small,.forge-detail>small{font-size:13px}.settlement-empty p{font-size:16px}.worker-option{background:#1b2618;border-color:#5a6846}.worker-option b{font-size:14px}.worker-option small{font-size:13px}.facility-choice{background:#1d2818;border:1px solid #697c4e;box-shadow:inset 0 0 0 3px #10190c}.facility-choice b{font-size:13px}.forge-detail{background:radial-gradient(ellipse at top,#82652b33,transparent),#171c12;border:3px double #7c744b}.forge-detail .eyebrow,.forge-detail>.panel-note{font-size:13px}.forge-detail>p{font-size:15px}.forge-weapon{background:#1d271a;border-color:#59664c}.forge-weapon b{font-size:15px}.forge-weapon small{font-size:13px}
.town-companion{background:none;border:0;border-bottom:1px solid #756444;min-height:82px}.town-companion canvas{height:66px;width:52px}.town-companion b{font-size:17px}.town-companion small,.town-companion em{font-size:14px}.town-dialogue small{font-size:14px;line-height:1.8}.town-dialogue>.illustration{border:3px double #89764f}.commerce-products{grid-template-columns:1fr 1fr}.commerce-product{border:0;border-top:3px double #8c794e;background:none;padding:20px 10px}.pack-item{background:none;border:0;border-bottom:1px solid #5e593f;padding:12px 0}.commerce-product p{font-size:16px}.bonus-reward{background:#36452a22;border-color:#6f7650}
.cards .card{background:radial-gradient(ellipse at 50% 10%,#6269442e,transparent 70%),#172015;border:3px double #9a865b;box-shadow:inset 0 0 0 4px #0a1208;border-radius:8px;padding:28px 24px;min-height:280px}.cards .card:hover{background-color:#28361f;border-color:#e7c68a}.card .card-icon{height:72px}.card-icon .game-icon{width:64px;height:64px}.card .card-name{font-size:20px}.card .card-type,.card .card-level{font-size:14px}.card .card-desc{font-size:16px}.card .card-shortcut{font-size:13px;color:#b8ab8e}.bestiary-item{background:#192116;border:1px solid #4c593e;padding:12px 6px}.bestiary-item.discovered{border-color:#a89961}.bestiary-name{font-size:14px}.bestiary-role,.bestiary-discovery{font-size:12px}.book-card{background:none;border:0;border-bottom:1px solid #6b6348}.book-card h3{font-size:17px}.book-card p{font-size:15px}.book-card small{font-size:13px}.settings-row{font-size:16px;border-color:#665d45}.event-choice{background:#222e1d;border-color:#77805b}.event-choice:hover:not(:disabled){background:#354328}.event-leave{background:transparent}.combat-report{border-color:#6b6148}.damage-row{border-color:#37462b}.death-report{background:#7b343421}.reward-strip,.card-reward,.mastery-result{background:#28301d55;border-color:#897c4e}

/* Village controls frame the world; controls stay in predictable edge bands. */
.town-header>div:first-child{border:0;border-left:3px double #d4b77a;background:linear-gradient(90deg,#10170cf2,#10170c00);padding:12px 16px}.town-header .eyebrow{font-size:12px;letter-spacing:.04em}.town-header h1{font-family:Georgia,'Noto Serif KR',serif;font-size:27px}.town-header h2{font-size:15px}.town-header h2 small{font-size:13px}.town-tools{background:#11190ded;border:1px solid #7a7750;box-shadow:inset 0 0 0 3px #091107}.town-tools .wallet{font-size:16px}.town-shortcuts{gap:0;background:#11180de8;border-block:1px solid #7a7750}.town-shortcuts button{background:none;border:0;border-right:1px solid #5b6242;min-height:48px;font-size:14px;padding:7px 12px}.town-shortcuts .game-icon{width:28px;height:28px}.town-shortcuts small{font-size:13px}.town-progress-line{font-size:12px;background:#11180db8}
.town-dock{max-width:880px;background:linear-gradient(#1d2719f5,#10190dfa);border:3px double #897c52;border-bottom:0;box-shadow:0 0 0 2px #070e05,inset 0 2px #b1a67133;padding:14px 18px 4px}.town-dock-toggle{font-size:13px;min-height:36px;background:#1b2616;border:1px solid #b6a16a;box-shadow:0 2px 0 #070b05}.town-interaction>span{font-size:13px;background:#10170de8;line-height:1.6}.town-interaction button{font-size:14px}.town-preparation{gap:10px;font-size:14px}.town-preparation>span{font-size:13px}.town-weapon{font-size:14px;min-height:44px;background:#27331c;border:1px solid #7f8050;padding:5px 9px}.town-weapon small{font-size:12px}.town-preparation .game-icon{width:24px;height:24px}.town-card-summary{font-size:14px}.town-departure small{font-size:12px}.town-departure>.btn-primary{min-height:54px;font-size:17px;min-width:190px}.town-nav{border-color:#81764b}.town-nav button{min-height:58px;gap:8px}.town-nav b{font-size:15px;font-weight:500}.town-nav small{font-size:12px;color:#b0b091}.town-nav .game-icon{width:34px;height:34px}.town-version{font-size:12px;color:#9da087}
.player-status{background:#10190ce8;border:1px solid #77774e;box-shadow:inset 0 0 0 2px #091006}.hud .bar{background:#303a24;height:7px}.hud .xp-bar{height:4px}.hud .status-label{font-size:14px}.wave-label,.kill-count{font-size:14px}.hud .time-value{color:#efe1bd}.slot{background:#151e11;border:1px solid #899060;box-shadow:inset 0 0 0 2px #090f05}.hud .dash-btn,.hud .ultimate-btn{box-shadow:inset 0 0 0 5px #0f190b,0 2px 0 #060c05}.guardian-hud{background:#111a0de8;border-color:#72794e}

@media(max-width:1100px){
 .roster-layout{grid-template-columns:minmax(0,1.6fr) minmax(250px,1fr);gap:20px}.roster-selected{grid-template-columns:minmax(130px,.7fr) minmax(200px,1fr);gap:16px}.roster-candidates{padding-left:16px}.roster-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.roster-selected .roster-portrait{height:440px}.relic-slots{grid-template-columns:repeat(4,minmax(0,1fr))}.carry-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.carry-tile{min-height:135px}.collection-layout{grid-template-columns:260px minmax(0,1fr)}
}
@media(max-width:800px){
 .overlay>.roster-panel,.overlay>.relic-panel,.overlay>.collection-panel{padding:20px}.roster-layout{grid-template-columns:1fr}.roster-selected{grid-template-columns:minmax(150px,.8fr) minmax(0,1fr)}.roster-selected .roster-portrait{height:420px}.roster-candidates{border-left:0;border-top:1px solid #665b43;padding:18px 0 0}.roster-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.reliquary-layout{grid-template-columns:minmax(0,1fr) minmax(220px,.8fr);gap:18px}.relic-inspector{padding-left:18px}.relic-slots{grid-template-columns:repeat(3,minmax(0,1fr))}.relic-stock{gap:7px}.slot-caption b{font-size:13px}.merchant-counter{gap:10px}.merchant-counter canvas{width:65px;height:100px}.merchant-counter h3{font-size:18px}.merchant-counter p{font-size:14px}.collection-heading .illustrated-heading-copy{padding-right:80px;gap:10px}.armory-layout{grid-template-columns:270px minmax(0,1fr)}.armory-grid{grid-template-columns:1fr}.commerce-products{grid-template-columns:1fr}
}
@media(max-width:600px){
 .overlay{padding:max(10px,var(--safe-top)) max(8px,var(--safe-right)) max(10px,var(--safe-bottom)) max(8px,var(--safe-left))}.overlay>.panel{padding:20px 15px;max-height:100%;border-width:3px}.overlay>.sanctuary-panel{padding:0}.overlay>.roster-panel,.overlay>.relic-panel,.overlay>.collection-panel{padding:17px 13px}.panel h2{font-size:25px}.game-heading{gap:9px;margin-bottom:18px;padding-bottom:14px;flex-wrap:wrap}.game-heading>div:first-child{flex-basis:calc(100% - 60px)}.game-heading>.icon-btn{order:2}.game-heading>.wallet{order:3;flex-basis:100%;font-size:16px}.game-heading>div:first-child{order:1}.chapter-label{font-size:12px}.panel .btn-primary,.panel .btn-secondary{font-size:14px;padding:12px}.panel .panel-note{font-size:13px}.panel .eyebrow{font-size:12px}
 .reliquary-layout{display:flex;flex-direction:column;gap:20px}.reliquary-cabinet{display:contents}.merchant-counter{order:0;width:100%;margin:0;padding:0;min-height:92px;border:0}.merchant-counter canvas{width:62px;height:90px}.merchant-counter p{font-size:14px}.merchant-counter small{font-size:12px}.relic-stock{order:1;width:100%;padding-bottom:13px}.relic-stock .slot-art{height:78px}.relic-stock .slot-art>.game-icon{width:72px;height:72px}.relic-inspector{order:2;position:static;border:0;border-block:3px double #7f7453;padding:16px 0;width:100%;display:grid;grid-template-columns:90px minmax(0,1fr);gap:6px 14px;text-align:left}.relic-display{grid-column:1;grid-row:1/4;min-height:105px;margin:0;border:0}.relic-display>.game-icon{width:96px;height:96px;max-width:100%}.display-index{display:none}.relic-inspector>.relic-rarity{grid-column:2;font-size:13px}.relic-inspector h3{grid-column:2;font-size:24px;margin:0;scroll-margin-top:15px}.relic-inspector .item-effect{grid-column:2;font-size:15px;margin:0;min-height:0}.relic-inspector .item-facts{grid-column:1/-1;margin:10px 0 6px}.item-facts>div{padding:4px 0}.relic-inspector .item-actions,.relic-inspector>.ledger-note{grid-column:1/-1}.relic-inspector>.ledger-note{margin:4px 0 0;text-align:left}.reliquary-cabinet>.ledger-heading{order:3;margin:0;width:100%;padding:3px 0 12px}.relic-filters{order:4;width:100%;margin:-9px 0 -5px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr))}.game-tabs button{min-width:0;font-size:13px;padding:9px 3px;min-height:46px}.relic-slots{order:5;width:100%;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.reliquary-cabinet>.ledger-note{order:6;margin:0}.slot-art{height:54px}.slot-art>.game-icon{width:52px;height:52px}.relic-slot{padding:8px 3px}.slot-caption b{font-size:12px;line-height:1.5}.relic-stock .slot-caption b{font-size:14px}.slot-caption small{font-size:12px}.slot-mark{font-size:12px;padding:1px 3px}.relic-purchase-link{gap:8px}.relic-purchase-link>.game-icon{width:32px;height:32px}.relic-purchase-link b{font-size:14px}.relic-purchase-link small{font-size:12px}.relic-ledger{margin-top:20px}.collector-ledger summary{font-size:15px}.collector-ledger summary>span{display:block;margin:6px 0 0 18px}.relic-milestones{grid-template-columns:1fr 1fr}
 .roster-selected{grid-template-columns:116px minmax(0,1fr);gap:14px}.roster-selected .roster-portrait{position:sticky;top:0;height:245px}.roster-selected .roster-portrait canvas{object-position:center top;object-fit:cover}.roster-portrait figcaption{font-size:13px;bottom:14px;left:7px;right:7px}.roster-dossier>h3{font-size:31px;margin:3px 0 10px}.roster-dossier .trait-box b{font-size:15px}.roster-dossier .trait-box p{font-size:15px;line-height:1.7}.roster-dossier .trait-box{padding-bottom:12px}.roster-dossier>.btn-primary{margin-top:12px;font-size:14px;padding:11px 7px}.roster-dossier .ultimate-detail{padding:14px 0}.roster-dossier .ultimate-detail b{font-size:16px}.roster-dossier .ultimate-detail p{font-size:14px}.roster-dossier .ultimate-detail small{font-size:12px}.roster-dossier .starting-weapon{font-size:13px}.roster-dossier .starting-weapon small{font-size:12px}.roster-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.hero-tile{min-height:120px}.hero-tile b{font-size:14px}.hero-tile small{font-size:12px}.hero-tile canvas{width:58px;height:70px}.hero-mastery>summary{font-size:14px}.hero-mastery>summary span{float:none;display:block;font-size:13px;margin:4px 0 0 16px}
 .collection-heading.illustrated-heading{min-height:125px;padding:3px 0 14px}.collection-heading .illustrated-heading-copy{padding-right:0;display:block}.collection-heading h2{font-size:24px!important}.collection-heading .subtext{font-size:14px}.collection-heading .menu-scene--banner .menu-scene-portrait{opacity:.35}.collection-loadout{display:flex;flex-wrap:wrap;gap:8px;padding:14px 0}.collection-loadout>span{flex-basis:100%}.collection-loadout>b{flex:1 1 100%}.collection-loadout .text-btn{padding:5px 2px}.collection-layout{display:block}.carry-detail{position:static;display:grid;grid-template-columns:112px minmax(0,1fr);gap:10px 14px;border-bottom:3px double #7f7453;padding-bottom:20px;margin-bottom:22px}.keepsake-face{grid-column:1;grid-row:1/4;min-height:190px;padding:12px 6px;align-self:start}.keepsake-face .rarity-label{font-size:13px;gap:3px}.keepsake-face .rarity-label .game-icon{width:20px;height:20px}.keepsake-face h3{font-family:inherit;font-size:16px;line-height:1.5;margin:4px 0}.carry-emblem{width:80px;height:80px;margin:10px auto}.carry-emblem .game-icon{width:78px;height:78px}.carry-detail .carry-effect{grid-column:2;font-size:15px;margin:0;min-height:0}.carry-detail .copy-meter{grid-column:2;margin:0;padding:9px 0}.copy-meter b,.copy-meter span{font-size:13px}.carry-detail>.btn-primary{grid-column:2;padding:10px 8px;font-size:14px}.carry-detail>.panel-note{grid-column:1/-1;margin:0}.carry-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.carry-tile{min-height:138px;padding:9px 5px}.carry-tile b{font-size:14px}.carry-tile small{font-size:12px}.carry-glyph,.carry-glyph .game-icon{width:60px;height:60px}.rarity-group>h3{flex-wrap:wrap}.rarity-group>h3 small{font-size:12px}
 .armory-layout{display:flex;flex-direction:column;gap:20px}.armory-detail{display:grid;grid-template-columns:86px minmax(0,1fr);padding:17px 12px;gap:9px 14px;text-align:left}.armory-sigil{width:86px;height:86px;grid-row:1/4;margin:0}.armory-sigil>.game-icon{width:82px;height:82px}.armory-detail h3{font-size:23px;margin:0}.armory-detail>p{font-size:15px;margin:0;min-height:0}.armory-detail .eyebrow{font-size:13px}.armory-build{grid-column:1/-1;margin:6px 0;padding:12px 0;font-size:14px}.armory-build b,.armory-build small{font-size:13px}.armory-detail>.btn-primary,.armory-detail>.panel-note{grid-column:1/-1}.armory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.armory-option{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center;min-height:148px;padding:18px 7px 20px}.armory-option>.game-icon{width:62px;height:62px}.armory-option>b{font-size:15px;align-self:auto}.armory-option>small{font-size:13px}.armory-option>em{font-size:12px}.armory-number{font-size:12px}
 .sanctuary-content{padding:22px 16px}.sanctuary-content .talent{grid-template-columns:30px minmax(0,1fr) auto;gap:9px}.talent h3{font-size:16px}.talent p{font-size:14px}.sanctuary-content .talent button{font-size:14px;min-width:58px;padding:10px 7px}.talent-pips{flex-wrap:wrap}.town-blessing{padding:15px 12px;grid-template-columns:58px minmax(0,1fr)}.town-blessing span{font-size:14px}.town-blessing small{font-size:13px}.facility-detail{border-left:0;border-top:1px solid #736444;padding:18px 0}.settlement-toolbar .btn-secondary{font-size:14px}.settlement-guidance{font-size:14px}.facility-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.facility-choice{min-height:112px}.facility-choice b{font-size:14px}.facility-choice .facility-art{height:78px}.worker-grid{grid-template-columns:1fr}.settlement-resources small{font-size:12px}.settlement-resources b{font-size:16px}.town-companion b{font-size:16px}.town-companion small,.town-companion em{font-size:13px}
 .cards .card{display:block;min-height:145px;padding:17px 15px 17px 88px;border-radius:6px}.cards .card-icon{position:absolute;left:13px;top:33px;height:60px}.cards .card-icon .game-icon{width:60px;height:60px}.card .card-name{font-size:18px;margin:4px 0}.card .card-type,.card .card-level{font-size:13px}.card .card-desc{font-size:14px;line-height:1.6;margin:4px 0 7px}.cards{gap:12px}.panel .cards+.panel-note{font-size:13px}.bestiary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .town-hud{padding:10px 9px max(4px,var(--safe-bottom))}.town-header{gap:6px}.town-header>div:first-child{padding:8px 10px}.town-header .eyebrow{display:none}.town-header h1{font-size:23px;margin:0 0 5px}.town-header h2{font-size:14px}.town-tools{padding:3px 5px;gap:4px}.town-tools .wallet{font-size:14px}.town-tools .wallet .game-icon{width:22px;height:22px}.town-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;max-width:420px;margin-top:8px}.town-shortcuts button{display:flex;flex-direction:column;justify-content:center;gap:2px;padding:7px 1px;min-height:62px;font-size:14px}.town-shortcuts small{display:none}.town-shortcuts .game-icon{width:28px;height:28px}.town-progress-line{font-size:12px;max-width:100%;line-height:1.5}.town-dock{padding:10px 10px 3px}.town-interaction{margin:-70px 0 25px;gap:6px}.town-interaction>span{font-size:12px;max-width:170px;line-height:1.6;padding:6px}.town-interaction button{font-size:13px;max-width:155px;min-height:48px;padding:9px}.town-dock-toggle{font-size:13px;min-height:36px;margin-top:-34px;margin-bottom:8px}.town-dock .town-preparation{max-height:none;overflow:visible;gap:6px;margin-bottom:9px}.town-weapon{font-size:14px;min-height:40px;max-width:100%}.town-weapon small{font-size:12px}.town-preparation>span{font-size:12px}.town-relic-prep{gap:5px 9px}.town-relic-prep>span{font-size:12px}.town-preparation .game-icon{width:22px;height:22px}.town-departure{gap:8px}.town-departure>div{flex-basis:105px}.town-card-summary{font-size:13px;line-height:1.5}.town-departure small{font-size:12px;line-height:1.5}.town-departure>.btn-primary{font-size:15px;min-width:123px;min-height:53px;padding:11px}.town-departure .text-btn{font-size:13px;min-height:44px}.town-nav{gap:0;margin-top:10px}.town-nav button{display:flex;flex-direction:column;gap:2px;min-height:67px;padding:6px 1px}.town-nav b{font-size:14px}.town-nav .game-icon{width:32px;height:32px}.town-nav small{display:none}.town-version{font-size:12px;margin:2px 0}.hud .status-label{font-size:13px}.wave-label,.kill-count{font-size:13px}
}
@media(max-width:360px){.relic-slots{grid-template-columns:repeat(3,minmax(0,1fr))}.roster-selected{grid-template-columns:92px minmax(0,1fr);gap:10px}.roster-selected .roster-portrait{height:215px}.roster-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.carry-detail{grid-template-columns:98px minmax(0,1fr);gap:10px}.keepsake-face{min-height:188px}.keepsake-face h3{font-size:15px}.town-tools .wallet .game-icon{display:none}.town-shortcuts button,.town-nav b{font-size:13px}.town-header h1{font-size:21px}.town-card-summary{font-size:12px}.town-departure>.btn-primary{min-width:116px}.relic-stock .slot-caption b{font-size:13px}.relic-purchase-link>.game-icon{display:none}}
@media(max-height:600px) and (min-width:601px){.town-hud{padding:8px 12px 2px}.town-header h1{font-size:20px}.town-header .eyebrow,.town-header h2 small,.town-progress-line,.town-version,.town-preparation{display:none}.town-header>div:first-child{padding:5px 10px}.town-shortcuts{margin-top:6px}.town-shortcuts button{min-height:44px;padding:4px 10px}.town-dock{max-width:700px;padding:5px 12px 0}.town-nav button{min-height:48px;padding:3px;flex-direction:row}.town-nav b{font-size:14px}.town-nav .game-icon{width:25px;height:25px}.town-nav small{display:none}.town-departure>.btn-primary{min-height:48px;font-size:15px}.town-interaction{margin:-51px 0 14px}.town-interaction>span{font-size:12px}.town-dock-toggle{font-size:13px;min-height:34px;margin-top:-30px}.roster-selected .roster-portrait{position:static}.relic-inspector,.carry-detail{position:static}}
@media(pointer:coarse){.btn-primary:hover:not(:disabled){transform:none}.relic-slot,.hero-tile,.carry-tile,.armory-option{touch-action:manipulation}.relic-filters button{min-height:48px}}
@media(prefers-reduced-motion:reduce){.slot-art>.game-icon,.relic-slot{transition:none}.living-portrait .illustration{animation:none!important}}

/* 0.18.2 — worn parchment, shadowed edges and fine interlocking metal lines.
   Static, locally tiled grain lives in backgrounds only; art and text stay sharp.
   Nine-slice frames preserve corner size on phones, tablets and scrolling panels. */
:root {
 --ui-grain:url('./assets/ui-grain.svg');
 --ui-frame:url('./assets/ui-frame.svg');
 --ui-panel-surface:
  var(--ui-grain) 0 0 / 256px 256px repeat,
  radial-gradient(ellipse at 2% 0%,#a69d6e28,transparent 48%),
  radial-gradient(ellipse at 100% 100%,#95815a2e,transparent 58%),
  linear-gradient(112deg,#292a21,#151812 37%,#141611 67%,#292a20);
 --ui-recess-surface:
  var(--ui-grain) 0 0 / 224px 224px repeat,
  radial-gradient(ellipse at 50% 0%,#9d956a18,transparent 65%),
  linear-gradient(105deg,#22251b,#10150f 34%,#10140e 68%,#24261b);
 --ui-slot-surface:
  var(--ui-grain) 0 0 / 224px 224px repeat,
  radial-gradient(ellipse at 50% 0%,#aba2721f,transparent 72%),
  linear-gradient(120deg,#25291e,#171d14 58%,#20251a);
}
.overlay {
 background:
  var(--ui-grain) 0 0 / 256px 256px repeat,
  radial-gradient(ellipse at 50% 100%,#74694720,transparent 75%),#090b08e8;
}
.overlay>.panel {
 border:3px solid #756f52;
 border-image:var(--ui-frame) 16 / 16px / 2px stretch;
 background:var(--ui-panel-surface);
 box-shadow:0 22px 72px #000a,inset 0 0 54px #c5b98b12,inset 0 0 5px #b1a6782b;
}
:is(.keepsake-face,.armory-detail,.forge-detail,.town-blessing),.cards .card {
 border:3px solid #777154;
 border-image:var(--ui-frame) 16 / 12px / 0 stretch;
 border-radius:0;
 background:var(--ui-recess-surface);
 box-shadow:inset 0 0 28px #aca2720d,0 3px 10px #0003;
}
.keepsake-face {
 background:
  radial-gradient(ellipse at 50% 38%,color-mix(in srgb,var(--rarity) 11%,transparent),transparent 63%),
  var(--ui-recess-surface);
}
.cards .card:hover {
 background-color:#343927;
 box-shadow:inset 0 0 34px #cabb7730,0 0 8px #aa955522;
}
:is(.relic-slot,.hero-tile,.carry-tile,.armory-option,.forge-weapon) {
 border-color:#72745b;
 background:var(--ui-slot-surface);
 box-shadow:inset 0 0 0 2px #0c120b,inset 0 0 0 3px #92916b26,inset 0 0 18px #b7a66b0d;
}
.carry-tile {border-radius:0}
:is(.relic-slot.inspected,.hero-tile.inspected,.carry-tile.inspected,.armory-option.equipped,.forge-weapon.equipped) {
 border-color:#d4c08b;
 background:
  var(--ui-grain) 0 0 / 224px 224px repeat,
  radial-gradient(ellipse at 50% 0%,#c8b57726,transparent 78%),
  linear-gradient(115deg,#373b29,#252b1d 58%,#313626);
 box-shadow:inset 0 0 0 2px #10160c,inset 0 0 0 3px #b9a77799,0 0 10px #b8a56814;
}
.relic-display {
 background:
  radial-gradient(ellipse at center,color-mix(in srgb,var(--relic-color) 14%,transparent),transparent 68%),
  var(--ui-recess-surface);
 border-color:#82795766;
 box-shadow:inset 0 0 30px #c7b58008;
}
.collection-heading .menu-scene--banner::after {
 background:linear-gradient(90deg,#25271fe6,#1d2018cc 60%,#1b1d174d);
}
.btn-secondary,.icon-btn {
 background:
  var(--ui-grain) 0 0 / 224px 224px repeat,
  linear-gradient(100deg,#33372a,#242a1e 48%,#303426);
 border-color:#8f8561;
 border-bottom-color:#0c100b;
 box-shadow:inset 0 1px #c2b98a2e,inset 0 0 13px #c8b9780d,0 1px 4px #0004;
}
.btn-primary {
 background:
  var(--ui-grain) 0 0 / 224px 224px repeat,
  radial-gradient(ellipse at 50% 0%,#efe1b22e,transparent 72%),
  linear-gradient(105deg,#a58e60,#c7b580 48%,#aa9263);
 border-color:#cfbf8d;
 border-bottom-color:#605033;
 box-shadow:inset 0 1px #f0dfb180,inset 0 0 0 3px #4e45253b,inset 0 0 20px #5b4d2233,0 3px 0 #080b09;
}
.town-dock:not(.compact) {
 background:var(--ui-panel-surface);
 border-color:#8c815d;
 box-shadow:0 0 0 2px #080d07,inset 0 2px #c1b78533,inset 0 0 36px #a1935912;
}
.town-tools,.town-shortcuts {
 background:var(--ui-recess-surface);
 border-color:#8d835e;
}

/* Rare expedition upgrades reuse each weapon's existing item illustration. */
.cards .card.arsenal-card{border-color:#dcc28c;background:radial-gradient(ellipse at 50% 8%,#9c78353d,transparent 70%),#201f13}
.arsenal-card .card-type,.arsenal-card .card-level{color:#f4d798}
.arsenal-card .card-icon .game-icon{filter:drop-shadow(0 2px 5px #0008)}
.arsenal-slot{border-color:#c7a66b}

/* Result priorities: what happened, two combat facts, earned loot, two destinations. */
.result-panel.compact-result{width:min(560px,94vw);padding:clamp(22px,5vw,42px)}.compact-result .result-crest{margin-bottom:18px}.compact-result h2{font-size:clamp(29px,7vw,42px);margin:10px 0 12px}.compact-result-note{text-align:center;color:#c5b8a1;font-size:14px;line-height:1.7}.compact-result-stats{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:25px 0;color:#b9aa90;text-align:center;font-size:13px}.compact-result-stats span{display:grid;gap:7px}.compact-result-stats b{font-family:Georgia,serif;font-size:30px;font-weight:400;color:#e2c895;font-variant-numeric:tabular-nums}.compact-result-rewards{border-block:1px solid #b69c6155;padding:14px 0;margin:20px 0}.compact-result-rewards>div{display:flex;align-items:center;gap:10px;margin:7px 0;color:#e3cb99;font-size:16px}.compact-result-rewards .game-icon{width:30px;height:30px}.compact-result-rewards b{margin-left:auto;font-weight:500}.compact-result-rewards>p{font-size:14px;line-height:1.8;color:#baaf99;margin:8px 0}.compact-result .panel-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:22px}.compact-result .panel-buttons button{font-size:15px;min-height:52px;padding:13px 8px;white-space:normal}

.compact-result-details{margin:16px 0;color:#b9aa90;font-size:13px}.compact-result-details>summary{padding:9px 0;cursor:pointer}.compact-result-details[open]{border-bottom:1px solid #a18b5140;padding-bottom:14px}
