/* Test-only slate and gold theme. No layout or calculation changes. */html[data-app-route="battle"]{--text:#f5ecd8;--muted:#c3baa6;--accent:#e6c37b;--border:#897047;--panel:rgba(24,25,25,.66)}html[data-app-route="battle"] body,html[data-app-route="battle"] button,html[data-app-route="battle"] input,html[data-app-route="battle"] select,html[data-app-route="battle"] textarea{font-family:"Noto Serif JP","Yu Mincho",serif!important}#battle{color:#f5ecd8}#battle .panel,html[data-app-route="battle"] dialog{position:relative;background:linear-gradient(125deg,rgba(255,245,218,.035),transparent 45%,rgba(0,0,0,.12)),rgba(24,25,25,.66) !important;border:1px solid #d3ae68!important;border-radius:4px!important;box-shadow:inset 0 0 0 3px rgba(17,17,15,.55),inset 0 0 0 4px rgba(213,176,106,.35),0 5px 18px #0005!important;color:#f5ecd8!important}#battle .panel:after,html[data-app-route="battle"] dialog:after{content:"";position:absolute;inset:5px;pointer-events:none;background-image:url("gold-panel-corners.svg");background-size:100% 100%;background-repeat:no-repeat;opacity:.85;z-index:2}#battle h1,#battle h2,#battle h3,#battle .result-summary-heading{color:#f5e7c7!important;font-family:"Noto Serif JP",serif!important;font-weight:600;letter-spacing:.045em}#battle .eyebrow{color:#d8b977!important;letter-spacing:.17em}#battle .formula-note,#battle small,#battle label,#battle legend,#battle .formation-label{color:#d2c8b3!important}#battle .battle-settings-heading,#battle .roster-fold-heading,#battle .result-top-tools{border-bottom:1px solid #ad8d4a88;padding-bottom:12px}#battle button,html[data-app-route="battle"] dialog button{background:linear-gradient(180deg,rgba(72,66,52,.65),rgba(25,26,25,.8)) !important;border:1px solid #af8b4e!important;border-radius:4px!important;color:#f6e9c9!important;box-shadow:inset 0 0 0 2px #0c0d0b80,0 2px 4px #0004;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s}#battle button:hover,html[data-app-route="battle"] dialog button:hover{background:linear-gradient(180deg,rgba(126,101,53,.85),rgba(56,47,29,.85)) !important;border-color:#f0d394!important;box-shadow:inset 0 0 0 2px #21180780,0 0 9px #d6ae4b33}#battle button.active,#battle button[aria-pressed="true"],#battle button[aria-selected="true"],#battle .formation-slot.is-attacker{background:linear-gradient(150deg,rgba(130,100,46,.68),rgba(42,35,22,.8)) !important;border-color:#f3cc72!important;color:#ffe5a5!important}#battle button:disabled{cursor:default;opacity:.5}#battle input,#battle select,#battle textarea,html[data-app-route="battle"] dialog input,html[data-app-route="battle"] dialog select{background:rgba(15,17,17,.75) !important;border-color:#9f8453!important;border-radius:4px!important;color:#f4ecd9!important;accent-color:#d6b36c}#battle option,html[data-app-route="battle"] dialog option{background:#202321;color:#f4ecd9}#battle :focus-visible,html[data-app-route="battle"] dialog :focus-visible{outline:2px solid #f4d38d!important;outline-offset:2px}#battle .formation-board,#battle .roster-filter-panel,#battle fieldset,#battle .battle-card-footer,#battle .enemy-card-footer{background:rgba(14,17,18,.32) !important;border-color:#8f754a!important;color:#f5ecd8!important;border-radius:4px}#battle .roster-sticky{background:transparent!important}#battle .formation-slot,#battle .hero-card,#battle .enemy-slot{background:rgba(22,24,24,.48) !important}#battle .damage-number,#battle .damage-value,#battle .result-value,#battle #damage-avg,#battle #damage-min,#battle #damage-max{color:#edcb83!important;text-shadow:0 2px 4px #0008}html[data-app-route="battle"] dialog::backdrop{background:#0009}@media(max-width:760px){#battle .panel:after{inset:4px}#battle h2{letter-spacing:.015em}#battle .result-summary-heading{font-size:13px!important}}#battle *,html[data-app-route="battle"] dialog *{font-family:"Noto Serif JP","Yu Mincho",serif!important}#battle .panel:after,html[data-app-route="battle"] dialog:after{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cg%20transform%3D%22%22%20fill%3D%22none%22%20stroke%3D%22%23d6b36c%22%20stroke-width%3D%221%22%3E%3Cpath%20d%3D%22M0%2030V0H30%20M2%2020L12%202L23%2011L2%2024%20M6%200L9%209L0%206%20M13%200Q13%2017%200%2017%20M3%2031V26L10%2018%22/%3E%3C/g%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cg%20transform%3D%22translate%2832%200%29%20scale%28-1%201%29%22%20fill%3D%22none%22%20stroke%3D%22%23d6b36c%22%20stroke-width%3D%221%22%3E%3Cpath%20d%3D%22M0%2030V0H30%20M2%2020L12%202L23%2011L2%2024%20M6%200L9%209L0%206%20M13%200Q13%2017%200%2017%20M3%2031V26L10%2018%22/%3E%3C/g%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cg%20transform%3D%22translate%280%2032%29%20scale%281%20-1%29%22%20fill%3D%22none%22%20stroke%3D%22%23d6b36c%22%20stroke-width%3D%221%22%3E%3Cpath%20d%3D%22M0%2030V0H30%20M2%2020L12%202L23%2011L2%2024%20M6%200L9%209L0%206%20M13%200Q13%2017%200%2017%20M3%2031V26L10%2018%22/%3E%3C/g%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cg%20transform%3D%22translate%2832%2032%29%20scale%28-1%20-1%29%22%20fill%3D%22none%22%20stroke%3D%22%23d6b36c%22%20stroke-width%3D%221%22%3E%3Cpath%20d%3D%22M0%2030V0H30%20M2%2020L12%202L23%2011L2%2024%20M6%200L9%209L0%206%20M13%200Q13%2017%200%2017%20M3%2031V26L10%2018%22/%3E%3C/g%3E%3C/svg%3E");background-size:28px 28px;background-position:left top,right top,left bottom,right bottom}#battle .ui-centered-symbol,#battle .formation-slot.is-empty,#battle .formation-slot .slot-add,#battle .roster-filter-toggle-symbol{color:#e5c78c!important}#battle .simple-buffs,#battle .battle-chain-panel fieldset,#battle .battle-stat-group,#battle .enemy-search-panel{background:rgba(20,23,23,.5) !important;border-color:#8f754a!important;color:#eee3cc!important}#battle .simple-buffs-heading{border-color:#9c804c!important}#battle .simple-info-button,#battle .fold-text-control{color:#e5c78c!important}/* Bevelled slate buttons matching the reference; card and disclosure layouts stay intact. */#battle button:not(.formation-slot):not(.enemy-slot):not(.hero-card):not(.battle-settings-heading):not(.roster-fold-heading),html[data-app-route="battle"] dialog button{border:5px solid transparent!important;border-image:url("battle-button-silver.svg") 8 fill/8px/1px stretch!important;background:radial-gradient(ellipse at 30% 0,rgba(220,220,206,.12),transparent 70%),repeating-linear-gradient(127deg,#ffffff03 0 1px,transparent 1px 4px),linear-gradient(#313331,#151818) !important;color:#f4efdd!important;border-radius:5px!important;box-shadow:0 3px 5px #0009,inset 0 2px 2px #ffffff1c,inset 0 -2px 3px #0008!important;text-shadow:0 1px 2px #000;letter-spacing:.05em}#battle .battle-tools .battle-tool-button:first-of-type,#battle .battle-tools .battle-tool-button:nth-child(2),#battle button.active:not(.formation-slot),#battle button[aria-pressed="true"]:not(.formation-slot){border-image-source:url("battle-button-gold.svg") !important;background:radial-gradient(ellipse at 35% 0,#b38a3a55,transparent 70%),repeating-linear-gradient(127deg,#ffe4a008 0 1px,transparent 1px 4px),linear-gradient(#665029,#302718) !important;color:#ffe7ae!important}#battle button:not(.formation-slot):not(.enemy-slot):not(.hero-card):not(.battle-settings-heading):not(.roster-fold-heading):hover,html[data-app-route="battle"] dialog button:hover{filter:brightness(1.2);box-shadow:0 3px 5px #0009,0 0 7px #ecd9a333!important}#battle button:active{filter:brightness(.95);box-shadow:inset 0 2px 5px #0009!important}#battle #battle-tools-buttons .battle-tool-button:nth-child(2){border-image-source:url("battle-button-gold.svg") !important;background:radial-gradient(ellipse at 35% 0,#b38a3a55,transparent 70%),repeating-linear-gradient(127deg,#ffe4a008 0 1px,transparent 1px 4px),linear-gradient(#665029,#302718) !important;color:#ffe7ae!important}#battle button.active:not(.formation-slot):not(.enemy-slot):not(.hero-card):not(.battle-settings-heading):not(.roster-fold-heading),#battle button[aria-pressed="true"]:not(.formation-slot):not(.enemy-slot):not(.hero-card):not(.battle-settings-heading):not(.roster-fold-heading){border-image-source:url("battle-button-gold.svg") !important;background:linear-gradient(#665029,#302718) !important}/* Unframed disclosure, information, and roster search controls. */#battle button.ui-centered-symbol,#battle button.simple-info-button,#battle button#roster-filter-toggle,html[data-app-route="battle"] dialog button.simple-info-button,#battle button.ui-centered-symbol:hover,#battle button.simple-info-button:hover,#battle button#roster-filter-toggle:hover{border:0!important;border-image:none!important;background:transparent!important;box-shadow:none!important;filter:none!important;color:#e5c78c!important;text-shadow:none!important}#battle button.ui-centered-symbol::before,#battle button.ui-centered-symbol::after,#battle #roster-filter-toggle .roster-filter-toggle-symbol::before,#battle #roster-filter-toggle .roster-filter-toggle-symbol::after{color:#e5c78c!important;border-color:#e5c78c!important}#battle button.ui-centered-symbol,#battle #roster-filter-toggle .roster-filter-toggle-symbol{color:#e5c78c!important}#battle button.ui-centered-symbol:hover,#battle #roster-filter-toggle:hover{color:#ffe6b0!important}#battle button.simple-info-button:hover{opacity:.8}#battle#battle button.ui-centered-symbol,#battle#battle button.simple-info-button,#battle#battle button#roster-filter-toggle,#battle#battle button.ui-centered-symbol:hover,#battle#battle button.simple-info-button:hover,#battle#battle button#roster-filter-toggle:hover,html[data-app-route="battle"] dialog button.simple-info-button.simple-info-button.simple-info-button.simple-info-button.simple-info-button.simple-info-button{border:0!important;border-image:none!important;background:none!important;box-shadow:none!important;color:#e5c78c!important;filter:none!important}#battle#battle .ui-minus-symbol::before,#battle#battle .ui-minus-symbol::after{color:#e5c78c!important}#battle#battle #roster-filter-toggle .roster-filter-toggle-symbol{border:0!important;box-shadow:none!important;background:none!important;color:#e5c78c!important}#battle#battle .battle-save-fold>summary::after,#battle#battle summary::after{color:#e5c78c!important;border:0!important;background:none!important;box-shadow:none!important}#battle#battle .party-skills-fold>summary,#battle#battle details:has(.skill-fold-title)>summary{background:linear-gradient(120deg,rgba(89,74,45,.65),rgba(33,34,29,.75)) !important;border:1px solid #a88b52!important;color:#f3e2bb!important;border-radius:4px!important}#battle#battle .skill-fold-title,#battle#battle .skill-fold-notice,#battle#battle .skills-fold-label{color:#e8d9b8!important}#battle#battle .party-skills-fold>summary::before,#battle#battle details:has(.skill-fold-title)>summary::before{color:#e5c78c!important;border-color:#b59a64!important}#battle#battle .battle-result{position:sticky!important;top:var(--battle-follow-top,225px) !important;align-self:start;margin-top:0!important}#battle#battle .roster-panel{margin-bottom:16px!important}@media(max-width:1100px){#battle#battle .battle-result{position:relative!important;top:auto!important}}#battle#battle #roster-filter-toggle .roster-filter-toggle-symbol{font-size:0!important;position:relative;display:inline-flex;align-items:center;justify-content:center}#battle#battle #roster-filter-toggle .roster-filter-toggle-symbol::before{content:'△'!important;font-size:14px!important;position:static!important;transform:none!important;width:auto!important;height:auto!important;color:#e5c78c!important;background:none!important;border:0!important}#battle#battle #roster-filter-toggle[aria-expanded="true"] .roster-filter-toggle-symbol::before{content:'▽'!important}#battle#battle #roster-filter-toggle .roster-filter-toggle-symbol::after{display:none!important}#battle #battle-title{display:flex;align-items:center;gap:12px}#battle .battle-title-icon{display:block;flex:none;width:40px;height:40px;object-fit:contain}@media(max-width:760px){#battle .battle-title-icon{width:30px;height:30px}#battle #battle-title{gap:8px}}#battle#battle .battle-save-fold>summary{position:relative;padding-right:34px}#battle#battle .battle-save-fold>summary::after{display:none!important}#battle#battle .battle-save-toggle{position:absolute;right:0;top:50%;transform:translateY(-50%);width:28px;height:28px;padding:0;font-size:22px!important;line-height:1!important;color:#e5c78c!important}#battle#battle .panel:after,html[data-app-route="battle"] dialog:after{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2044%2044%22%3E%3Cg%20transform%3D%22%22%20fill%3D%22none%22%20stroke%3D%22%23cba760%22%20stroke-width%3D%22.85%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M1%2042V1H42%20M5%2036V5H36%20M2%202L29%2029%20M3%203L15%206L10%2013L6%2015Z%20M11%207Q24%200%2023%209Q23%2015%2016%2017Q8%2020%207%2028Q6%2035%2013%2035Q18%2034%2016%2029Q14%2026%2011%2029%20M7%2012Q1%2023%208%2025%20M17%2016Q29%2013%2031%205%20M24%2020Q34%2018%2039%203%20M5%2033L2%2042%20M32%205L42%202%22/%3E%3C/g%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2044%2044%22%3E%3Cg%20transform%3D%22translate%2844%200%29%20scale%28-1%201%29%22%20fill%3D%22none%22%20stroke%3D%22%23cba760%22%20stroke-width%3D%22.85%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M1%2042V1H42%20M5%2036V5H36%20M2%202L29%2029%20M3%203L15%206L10%2013L6%2015Z%20M11%207Q24%200%2023%209Q23%2015%2016%2017Q8%2020%207%2028Q6%2035%2013%2035Q18%2034%2016%2029Q14%2026%2011%2029%20M7%2012Q1%2023%208%2025%20M17%2016Q29%2013%2031%205%20M24%2020Q34%2018%2039%203%20M5%2033L2%2042%20M32%205L42%202%22/%3E%3C/g%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2044%2044%22%3E%3Cg%20transform%3D%22translate%280%2044%29%20scale%281%20-1%29%22%20fill%3D%22none%22%20stroke%3D%22%23cba760%22%20stroke-width%3D%22.85%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M1%2042V1H42%20M5%2036V5H36%20M2%202L29%2029%20M3%203L15%206L10%2013L6%2015Z%20M11%207Q24%200%2023%209Q23%2015%2016%2017Q8%2020%207%2028Q6%2035%2013%2035Q18%2034%2016%2029Q14%2026%2011%2029%20M7%2012Q1%2023%208%2025%20M17%2016Q29%2013%2031%205%20M24%2020Q34%2018%2039%203%20M5%2033L2%2042%20M32%205L42%202%22/%3E%3C/g%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2044%2044%22%3E%3Cg%20transform%3D%22translate%2844%2044%29%20scale%28-1%20-1%29%22%20fill%3D%22none%22%20stroke%3D%22%23cba760%22%20stroke-width%3D%22.85%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M1%2042V1H42%20M5%2036V5H36%20M2%202L29%2029%20M3%203L15%206L10%2013L6%2015Z%20M11%207Q24%200%2023%209Q23%2015%2016%2017Q8%2020%207%2028Q6%2035%2013%2035Q18%2034%2016%2029Q14%2026%2011%2029%20M7%2012Q1%2023%208%2025%20M17%2016Q29%2013%2031%205%20M24%2020Q34%2018%2039%203%20M5%2033L2%2042%20M32%205L42%202%22/%3E%3C/g%3E%3C/svg%3E");background-size:38px 38px;opacity:.95}#battle#battle *{border-color:#987d4d!important}#battle#battle .formation-board,#battle#battle .simple-buffs,#battle#battle .battle-chain-slot,#battle#battle .battle-chain-entry{background-color:rgba(24,25,23,.45) !important;border-color:#987d4d!important}#battle#battle .battle-settings-heading,#battle#battle .roster-fold-heading,#battle#battle .result-top-tools,#battle#battle .simple-buffs-heading{border-bottom:0!important;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22800%22%20height%3D%228%22%20viewBox%3D%220%200%20800%208%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M10%204H790%22%20fill%3D%22none%22%20stroke%3D%22%23b08e50%22%20stroke-width%3D%22.8%22/%3E%3Cg%20fill%3D%22%23b08e50%22%3E%3Cpath%20d%3D%22M2%204L7%202L12%204L7%206Z%20M788%204L793%202L798%204L793%206Z%22/%3E%3C/g%3E%3C/svg%3E") !important;background-repeat:no-repeat!important;background-size:100% 8px!important;background-position:center bottom!important;padding-bottom:14px}#battle#battle hr{height:8px;border:0!important;background:transparent url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22800%22%20height%3D%228%22%20viewBox%3D%220%200%20800%208%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M10%204H790%22%20fill%3D%22none%22%20stroke%3D%22%23b08e50%22%20stroke-width%3D%22.8%22/%3E%3Cg%20fill%3D%22%23b08e50%22%3E%3Cpath%20d%3D%22M2%204L7%202L12%204L7%206Z%20M788%204L793%202L798%204L793%206Z%22/%3E%3C/g%3E%3C/svg%3E") center/100% 8px no-repeat!important}#battle#battle .battle-save-fold>summary{display:block!important;width:100%!important;box-sizing:border-box!important;min-height:28px}#battle#battle #battle-save-toggle{right:0!important;top:50%!important;transform:translateY(-50%) !important}#battle#battle #battle-save-toggle{position:absolute!important;left:auto!important;right:0!important;top:50%!important}#battle#battle .panel:after,html[data-app-route="battle"] dialog:after{background-image:url('original-corner-tl.webp'),url('original-corner-tr.webp'),url('original-corner-bl.webp'),url('original-corner-br.webp') !important;background-size:43px 43px!important;background-position:left top,right top,left bottom,right bottom!important;opacity:1!important;inset:0!important}#battle#battle .battle-settings-heading,#battle#battle .roster-fold-heading,#battle#battle .result-top-tools,#battle#battle .simple-buffs-heading{background-image:url('original-line.webp') !important;background-size:100% 15px!important;background-position:center bottom!important}#battle#battle hr{background-image:url('original-line.webp') !important;height:15px!important;background-size:100% 15px!important}#battle#battle button:not(.formation-slot):not(.enemy-slot):not(.hero-card):not(.battle-settings-heading):not(.roster-fold-heading):not(.ui-centered-symbol):not(.simple-info-button):not(#roster-filter-toggle),html[data-app-route="battle"] dialog button:not(.simple-info-button){border:5px solid transparent!important;border-image:url('original-button-silver.webp') 10 fill/8px/0 stretch!important;background:none!important;box-shadow:0 2px 4px #0008!important}#battle#battle #battle-tools-buttons .battle-tool-button:nth-child(2),#battle#battle button.active:not(.formation-slot):not(.enemy-slot):not(.hero-card):not(.battle-settings-heading):not(.roster-fold-heading):not(.ui-centered-symbol):not(.simple-info-button):not(#roster-filter-toggle),#battle#battle button[aria-pressed="true"]:not(.formation-slot):not(.enemy-slot):not(.hero-card):not(.battle-settings-heading):not(.roster-fold-heading):not(.ui-centered-symbol):not(.simple-info-button):not(#roster-filter-toggle){border-image-source:url('original-button-gold.webp') !important;background:none!important}#battle#battle select,html[data-app-route="battle"] dialog select{border:5px solid transparent!important;border-image:url("original-button-silver.webp") 10 fill/8px/0 stretch!important;background-color:transparent!important;color:#f5ecd8!important;box-shadow:0 2px 4px #0006!important;border-radius:4px!important}#battle#battle .panel,html[data-app-route="battle"] dialog{border-color:transparent!important;box-shadow:0 5px 18px #0005!important}#battle#battle .panel:after,html[data-app-route="battle"] dialog:after{background-image:url('clean-corner-tl.webp?v=2'),url('clean-corner-tr.webp?v=2'),url('clean-corner-bl.webp?v=2'),url('clean-corner-br.webp?v=2'),url('original-frame-top.webp'),url('original-frame-bottom.webp'),url('original-frame-left.webp'),url('original-frame-right.webp') !important;background-size:43px 43px,43px 43px,43px 43px,43px 43px,calc(100% - 86px) 8px,calc(100% - 86px) 8px,8px calc(100% - 86px),8px calc(100% - 86px) !important;background-position:left top,right top,left bottom,right bottom,center top,center bottom,left center,right center!important;background-repeat:no-repeat!important}/* Match the formation-save disclosure glyphs and placement. */#battle#battle button.ui-centered-symbol:not(.formation-slot):not(.enemy-slot){font-family:"Noto Serif JP","Yu Mincho",serif!important;font-size:22px!important;font-weight:600!important;letter-spacing:0!important;width:28px!important;height:28px!important;padding:0!important;color:#e5c78c!important;line-height:1!important}#battle#battle button.ui-centered-symbol:not(.formation-slot):not(.enemy-slot)::before{font-family:"Noto Serif JP","Yu Mincho",serif!important;font-size:22px!important;font-weight:600!important;line-height:1!important;color:#e5c78c!important}#battle#battle .battle-settings-heading,#battle#battle .roster-fold-heading{position:relative!important}#battle#battle .battle-settings-heading>button[data-fold-action],#battle#battle .roster-fold-heading>button.ui-centered-symbol{position:absolute!important;left:auto!important;right:0!important;top:0!important;transform:none!important;margin:0!important}#battle#battle .simple-switch-track{background:linear-gradient(#252827,#111414) !important;border:1px solid #91784b!important;box-shadow:inset 0 2px 4px #0009,0 1px 1px #ffffff12!important}#battle#battle .simple-switch-track::before,#battle#battle .simple-switch-track::after{background:linear-gradient(135deg,#dad7ca,#858a87) !important;border-color:#c0bba9!important;box-shadow:0 1px 3px #0008!important}#battle#battle #simple-buffs-enabled:checked+.simple-switch-track{background:linear-gradient(#8c713b,#4f3d1c) !important;border-color:#dab76c!important;box-shadow:inset 0 1px 3px #0006,0 0 5px #d4ad4d33!important}#battle#battle #simple-buffs-enabled:checked+.simple-switch-track::before,#battle#battle #simple-buffs-enabled:checked+.simple-switch-track::after{background:linear-gradient(135deg,#fff0bd,#d0ad60) !important;border-color:#f1d799!important}#battle#battle #simple-buffs-status{color:#dfd5bc!important}#battle#battle .simple-switch-label:has(#simple-buffs-enabled:checked) #simple-buffs-status{color:#efd49c!important}#battle#battle #simple-buffs-enabled:focus-visible+.simple-switch-track{outline:2px solid #f1d18a!important;outline-offset:3px}/* Anchor disclosure controls to the panel, rather than variable-height headings. */#battle#battle .battle-settings-heading,#battle#battle .roster-fold-heading,#battle#battle .roster-sticky,#battle#battle .battle-save-fold>summary{position:static!important}#battle#battle button[data-fold-action],#battle#battle #roster-fold-toggle,#battle#battle #battle-save-toggle{position:absolute!important;left:auto!important;right:16px!important;top:16px!important;transform:none!important;margin:0!important;width:28px!important;height:28px!important;padding:0!important}#battle#battle .battle-fold-actions{position:static!important;transform:none!important}/* Ten attributes in four rows, with a two-cell all-attributes control. */#battle#battle .roster-filter-panel>.roster-attribute-panel{height:auto!important;grid-template-columns:repeat(3,minmax(0,1fr)) !important;grid-template-rows:repeat(4,31px) !important;gap:3px!important}#battle#battle .roster-attribute-panel button[data-roster-attribute=all]{grid-column:span 2!important;height:31px!important}#battle#battle .battle-card-footer strong.classic-protagonist-name{font-size:10px!important;white-space:nowrap!important;letter-spacing:-.4px!important;line-height:1.4!important}#battle#battle #battle-title{align-items:center!important}#battle#battle .battle-title-icon{width:1.3em!important;height:1.3em!important;align-self:center!important}#battle#battle .roster-attribute-panel button[data-roster-attribute=all]{display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;line-height:1!important;box-sizing:border-box!important}#battle#battle #battle-configs{height:36px!important;min-height:36px!important;padding:0 12px!important;line-height:1.4!important;box-sizing:border-box!important}@media(min-width:1101px){#battle#battle>.page-heading{display:grid!important;grid-template-columns:max-content minmax(0,1fr) !important;column-gap:32px!important;row-gap:0!important;align-items:center!important}#battle#battle>.page-heading>div{display:contents!important}#battle#battle>.page-heading .eyebrow{grid-column:1;grid-row:1}#battle#battle #battle-title{grid-column:1;grid-row:2;margin:0!important}#battle#battle>.page-heading>p{grid-column:2;grid-row:2;max-width:none!important;width:100%!important;margin:0!important;font-size:14px!important;line-height:1.6!important}#battle#battle>.page-heading .page-save-note{display:block!important;margin-top:5px!important;font-size:12px!important;line-height:1.6!important}}#battle#battle #battle-enemy-type{height:40px!important;min-height:40px!important;padding:0 12px!important;line-height:1.4!important;box-sizing:border-box!important}#battle#battle .party-effect-skill-name{color:#f4cc70!important;font-weight:700!important;text-shadow:0 1px 2px #0008!important}#battle#battle #battle-values-reset{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:36px!important;height:36px!important;padding:0 12px!important;line-height:1!important;box-sizing:border-box!important}#battle#battle select:not([multiple]):not([size]),html[data-app-route="battle"] dialog select:not([multiple]):not([size]){appearance:none!important;-webkit-appearance:none!important;padding-right:30px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M0 1h12L6 7z' fill='%23ead3a1'/%3E%3C/svg%3E") !important;background-position:right 10px center!important;background-size:12px 8px!important;background-repeat:no-repeat!important}#battle#battle #battle-title{display:flex!important;align-items:center!important;line-height:1.2!important}#battle#battle .battle-title-icon{align-self:center!important;margin:0!important;vertical-align:middle!important;transform:translateY(.06em) !important}#battle#battle .battle-title-icon{transform:translateY(calc(.06em + 2px)) !important}
