:root{color-scheme: dark;--bg: #10161d;--panel: #18222c;--panel-strong: #202c38;--line: #344351;--text: #edf3f7;--muted: #b0bdc8;--accent: #76d6c4;--accent-soft: #173d3b;--gold: #f2ca78;--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 24px;--space-6: 32px;font-family: system-ui, -apple-system, "Segoe UI", "Microsoft JhengHei UI", "Noto Sans TC", sans-serif;font-size: 14px;line-height: 1.5;background: var(--bg);color: var(--text);}*{box-sizing: border-box;}body{margin: 0;min-width: 320px;background: radial-gradient(ellipse at 70% -20%, #1c3440 0, transparent 48%), var(--bg);}button, input{font: inherit;}.app-shell{max-width: 1440px;margin: 0 auto;padding: 0 30px 42px;}footer{color: var(--muted);font-size: 12px;}.layout{padding-top: 32px;}.hero{display: flex;justify-content: space-between;align-items: end;gap: 22px;margin-bottom: 26px;}.eyebrow{color: var(--accent);font-size: 11px;font-weight: 750;letter-spacing: .12em;}h1, h2, h3, p{margin-top: 0;}.hero h1{margin: 8px 0;font-size: clamp(26px, 3vw, 34px);line-height: 1.2;letter-spacing: -.035em;}.hero p{color: var(--muted);margin: 0;font-size: 14px;line-height: 1.6;}.mode-switch{flex: none;display: flex;padding: 4px;background: #0d1218;border: 1px solid var(--line);border-radius: 12px;}.mode-switch button{color: var(--muted);background: transparent;border: 0;border-radius: 9px;padding: 11px 15px;cursor: pointer;font-size: 13px;}.mode-switch button[aria-selected="true"]{color: var(--text);background: var(--panel-strong);box-shadow: 0 1px 5px #0005;}.workspace{display: grid;gap: 18px;align-items: start;}.single-workspace{grid-template-columns: minmax(0, 1fr) 250px;}.challenge-workspace{grid-template-columns: minmax(0, 1fr);gap: 12px;}.challenge-workspace .member-grid{grid-template-columns: repeat(4, minmax(0, 1fr));}.challenge-workspace .team-panel{padding: 14px 16px;}.challenge-workspace .panel-heading{margin-bottom: 10px;}.challenge-workspace .member-grid{gap: 7px;}.challenge-workspace .member-slot{padding: 6px 8px;}.challenge-workspace .option-disclosure{margin-top: 10px;padding-top: 8px;}.challenge-workspace .option-list{gap: 6px;margin-top: 8px;}.challenge-workspace .loadout-controls{gap: 7px;margin-top: 8px;}.challenge-workspace .option-list{margin-top: 0;}.panel, .result-card, .error-card, .loading-card{background: var(--panel);border: 1px solid var(--line);border-radius: 14px;box-shadow: 0 8px 24px #0002;}.team-panel{padding: 20px;}.panel-heading, .results-heading, .result-heading{display: flex;align-items: center;justify-content: space-between;gap: 12px;}.panel-heading{margin-bottom: 17px;}.panel-heading h2, .results-heading h2{margin: 5px 0 0;font-size: 17px;}.member-grid{display: grid;grid-template-columns: repeat(2, minmax(0, 1fr));gap: 9px;}.member-slot{display: flex;align-items: center;gap: 10px;min-width: 0;background: #121a22;border: 1px solid #354552;border-radius: 9px;padding: 9px 11px;}.slot-index{color: #718393;font-family: ui-monospace, monospace;font-size: 10px;}.member-slot input{width: 100%;min-width: 0;color: var(--text);background: transparent;border: 0;outline: 0;font-size: 15px;font-weight: 650;padding: 3px 0;}.member-slot:focus-within{border-color: var(--accent);box-shadow: 0 0 0 2px #70d5c018;}input::placeholder{color: #9cabb8;font-weight: 400;}.option-disclosure{border-top: 1px solid var(--line);margin-top: 17px;padding-top: 13px;}.option-disclosure summary, .calculation-details summary{cursor: pointer;font-size: 12px;font-weight: 700;}.loadout-controls{display: grid;gap: 9px;margin-top: 10px;}.option-editors{display: grid;grid-template-columns: repeat(2, minmax(150px, 190px));gap: 8px;}.option-editor{min-width: 0;display: grid;grid-template-columns: minmax(0, 1fr) auto;align-items: center;gap: 10px;padding: 6px 9px;border: 1px solid #354552;border-radius: 8px;background: #121a22;}.option-editor-heading{min-width: 0;display: grid;line-height: 1.25;}.option-editor-heading strong{font-size: 12px;font-weight: 650;}.option-editor-heading small{margin-top: 3px;color: var(--muted);font-size: 12px;overflow-wrap: anywhere;}.option-editor-input{display: flex;align-items: center;gap: 4px;color: var(--muted);font-size: 12px;}.option-editor-input input{width: 5.2em;min-width: 0;padding: 4px 5px;color: var(--text);background: #0d151d;border: 1px solid #3b5262;border-radius: 5px;font: inherit;text-align: right;font-variant-numeric: tabular-nums;}.option-editor-input input:focus{outline: 2px solid #76d6c455;border-color: var(--accent);}.background-option-note{margin: 0;padding: 7px 9px;color: #d7e4e8;background: #14252a;border-left: 2px solid var(--accent);border-radius: 0 6px 6px 0;font-size: 12px;line-height: 1.45;}.background-option-note strong{color: var(--accent);}.option-list{display: flex;flex-wrap: wrap;gap: 7px;}.option-chip{display: flex;align-items: center;gap: 7px;color: #d1dbe2;background: #121a22;border: 1px solid #354552;border-radius: 7px;padding: 7px 9px;font-size: 12px;cursor: pointer;}.option-chip:has(input:checked){color: #c4f1e7;border-color: #397f78;background: #122b2c;}.option-chip input{accent-color: var(--accent);margin: 0;}#results{margin-top: 32px;}.results-heading{margin-bottom: 13px;}.results-heading h2{font-size: 19px;}.result-context{color: var(--muted);font-size: 12px;}.result-stack{display: grid;gap: 10px;}.result-card{overflow: hidden;}.result-heading{align-items: start;padding: 18px 20px;border-bottom: 1px solid var(--line);background: #1d2a35;}.result-stack .result-heading{padding: 12px 16px;}.result-heading h3{margin: 5px 0 0;font-size: 15px;}.total-multiplier{text-align: right;}.total-multiplier span, .total-multiplier small{display: block;color: var(--muted);font-size: 12px;}.total-multiplier strong{display: block;color: var(--gold);font-size: clamp(25px, 3vw, 30px);line-height: 1.15;letter-spacing: -.035em;font-variant-numeric: tabular-nums;}.total-multiplier small{margin-top: 3px;color: #efdaa6;}.metric-grid{display: grid;grid-template-columns: repeat(5, minmax(0, 1fr));}.metric{display: flex;flex-direction: column;justify-content: space-between;min-height: 72px;padding: 12px 15px;border-right: 1px solid #2b3945;border-bottom: 1px solid #2b3945;}.metric span{color: var(--muted);font-size: 12px;line-height: 1.35;}.metric strong{margin-top: 9px;font-size: 15px;line-height: 1.25;font-weight: 650;font-variant-numeric: tabular-nums;}.metric-emphasis strong{color: var(--accent);}.result-stack .metric{min-height: 62px;padding: 9px 12px;}.result-stack .metric strong{margin-top: 6px;}.calculation-details{padding: 13px 20px 17px;}.result-stack .calculation-details{padding: 10px 16px 12px;}.calculation-details summary{color: #d3dde5;font-size: 13px;}.detail-grid{margin-top: 10px;}.detail-row{display: grid;grid-template-columns: 145px minmax(0, 1fr) 110px;gap: 14px;align-items: center;padding: 9px 0;border-top: 1px solid #2c3a46;font-size: 12px;}.detail-row span{color: var(--muted);}.detail-row code{overflow-wrap: anywhere;color: #abbcc9;font-family: ui-monospace, monospace;}.detail-row b{color: var(--text);text-align: right;font-variant-numeric: tabular-nums;}.control-times{padding: 13px 20px 16px;border-top: 1px solid #2c3a46;}.result-stack .control-times{padding: 10px 16px 12px;}.control-times summary{cursor: pointer;color: #d3dde5;font-size: 13px;font-weight: 700;}.control-time-grid{display: grid;grid-template-columns: repeat(5, minmax(0, 1fr));gap: 9px;margin-top: 12px;}.control-time-grid div{display: grid;gap: 6px;padding: 11px 12px;border: 1px solid #354552;border-radius: 8px;background: #121a22;}.control-time-grid span{color: var(--muted);font-size: 12px;line-height: 1.35;}.control-times p{color: var(--muted);font-size: 12px;}.control-time-grid strong{color: var(--text);font-size: 15px;font-variant-numeric: tabular-nums;}.control-times p{margin: 11px 0 0;}.skill-reference{margin-top: 18px;padding: 15px 18px;}.skill-reference summary{cursor: pointer;list-style-position: inside;font-size: 15px;}.skill-search-controls{display: grid;grid-template-columns: minmax(0, 1fr);gap: 9px;margin: 13px 0;}.skill-search-controls input{width: 100%;color: var(--text);background: #111820;border: 1px solid var(--line);border-radius: 8px;padding: 9px 11px;}.skill-results{display: grid;gap: 8px;}.skill-result{min-width: 0;padding: 11px 12px;border: 1px solid #2b3946;border-radius: 9px;background: #111820;}.skill-role-heading{display: flex;justify-content: space-between;align-items: baseline;gap: 10px;padding-bottom: 8px;}.skill-role-heading strong{font-size: 14px;}.skill-role-heading span{color: var(--muted);font-size: 11px;white-space: nowrap;}.skill-role-skills{display: grid;}.skill-entry{display: grid;grid-template-columns: 48px minmax(0, 1fr);gap: 12px;align-items: start;padding: 9px 0;border-top: 1px solid #2b3946;}.skill-entry:last-child{padding-bottom: 0;}.skill-entry > img, .skill-icon-placeholder{width: 48px;height: 48px;object-fit: cover;border: 1px solid #3d4a55;border-radius: 7px;background: #18232d;}.skill-result-copy{min-width: 0;}.skill-result-copy header{display: flex;justify-content: space-between;align-items: start;gap: 10px;}.skill-result strong{font-size: 14px;}.skill-result span, .skill-empty{color: var(--muted);font-size: 12px;}.skill-result p{margin: 8px 0;color: #d1dbe2;font-size: 13px;line-height: 1.6;}.skill-empty{padding: 8px;}.sr-only{position: absolute;width: 1px;height: 1px;padding: 0;margin: -1px;overflow: hidden;clip: rect(0, 0, 0, 0);white-space: nowrap;border: 0;}.validation-note{padding: 15px;color: #ffba98;background: #42271d;border-radius: 9px;font-size: 12px;}.error-card, .loading-card{padding: 32px;text-align: center;}.error-card p{color: #ffb5a6;}.spinner{width: 24px;height: 24px;display: inline-block;border: 2px solid #36514f;border-top-color: var(--accent);border-radius: 50%;animation: spin .85s linear infinite;}.loading-card h1{margin: 12px 0 0;font-size: 17px;}button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible{outline: 2px solid var(--accent);outline-offset: 2px;}@keyframes spin{to{transform: rotate(360deg);}}footer{padding: 24px 0;text-align: center;}@media (max-width: 900px){.single-workspace{grid-template-columns: minmax(0, 1fr);}.metric-grid{grid-template-columns: repeat(3, minmax(0, 1fr));}.control-time-grid{grid-template-columns: repeat(3, minmax(0, 1fr));}}@media (max-width: 600px){.app-shell{padding: 0 14px 28px;}.layout{padding-top: 24px;}.hero{align-items: stretch;flex-direction: column;}.mode-switch{align-self: stretch;}.mode-switch button{flex: 1;}.team-panel{padding: 13px;}.challenge-workspace .team-panel{padding: 12px;}.option-editors{grid-template-columns: minmax(0, 1fr);}.option-chip{min-height: 40px;}.member-grid{gap: 7px;}.challenge-workspace .member-grid{grid-template-columns: repeat(2, minmax(0, 1fr));}.member-slot{padding: 7px;}.challenge-workspace .member-slot{padding: 7px;}.metric-grid{grid-template-columns: repeat(2, minmax(0, 1fr));}.control-time-grid{grid-template-columns: repeat(2, minmax(0, 1fr));}.detail-row{grid-template-columns: 90px minmax(0, 1fr);}.detail-row b{grid-column: 2;text-align: left;}.result-heading{padding: 14px;}.total-multiplier strong{font-size: 21px;}.app-shell{padding-bottom: 32px;}.metric{min-height: 68px;padding: 11px 12px;}.metric strong{font-size: 14px;}.result-heading{gap: 8px;}.total-multiplier span, .total-multiplier small{font-size: 11px;}}/* Visual system: a calm, high-contrast raid planning instrument */ :root{--bg: #0b1114;--panel: #131d22;--panel-strong: #1b2a30;--line: #2a3d43;--text: #f0f5f2;--muted: #a9bbb8;--accent: #83e7cf;--accent-soft: #163a37;--gold: #ffc178;--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 24px;--space-6: 32px;font-family: "Aptos", "Noto Sans TC", "Microsoft JhengHei UI", system-ui, sans-serif;}body{background: radial-gradient(ellipse at 78% -7%, rgba(41, 93, 92, .27), transparent 42%), radial-gradient(ellipse at 4% 38%, rgba(39, 64, 67, .13), transparent 32%), var(--bg);}body::before{position: fixed;z-index: -1;inset: 0;background-image: linear-gradient(rgba(151, 211, 195, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(151, 211, 195, .025) 1px, transparent 1px);background-size: 52px 52px;content: "";mask-image: linear-gradient(to bottom, black, transparent 70%);pointer-events: none;}.app-shell{width: 100%;max-width: none;margin: 0;padding: 0 0 42px;}.layout{width: min(100%, 1440px);margin-inline: auto;padding-inline: clamp(18px, 4vw, 56px);}.hero{position: relative;min-height: 320px;align-items: center;margin: 22px 0 34px;padding: clamp(28px, 5vw, 58px);overflow: hidden;border: 1px solid rgba(134, 205, 187, .24);border-radius: 24px;background: linear-gradient(118deg, rgba(25, 48, 50, .98), rgba(17, 30, 36, .96) 57%, rgba(22, 32, 37, .98)), var(--panel);box-shadow: 0 22px 70px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .04);}.hero::before{position: absolute;top: -188px;right: 15%;width: 390px;height: 390px;border: 1px solid rgba(137, 231, 205, .15);border-radius: 50%;box-shadow: 0 0 0 42px rgba(137, 231, 205, .025), 0 0 0 84px rgba(137, 231, 205, .02);content: "";pointer-events: none;}.hero::after{position: absolute;right: 10%;bottom: 0;width: 1px;height: 78%;background: linear-gradient(transparent, rgba(137, 231, 205, .17), transparent);content: "";}.hero-console{position: relative;z-index: 1;}.section-label small{font-size: 10px;font-weight: 750;letter-spacing: .17em;}.hero h1{margin: 23px 0 16px;font-size: clamp(38px, 5.4vw, 70px);font-weight: 850;line-height: 1.09;letter-spacing: -.065em;}.hero h1 em{color: var(--accent);font-style: normal;}.hero-console{width: min(100%, 320px);justify-self: end;padding: 18px;border: 1px solid rgba(167, 218, 205, .2);border-radius: 17px;background: rgba(6, 16, 19, .46);box-shadow: 0 14px 40px rgba(0, 0, 0, .17), inset 0 1px 0 rgba(255, 255, 255, .04);backdrop-filter: blur(12px);}.mode-switch{margin-top: 13px;padding: 4px;border-color: rgba(146, 192, 182, .23);border-radius: 12px;background: #0c1417;}.mode-switch button{display: flex;justify-content: center;align-items: baseline;gap: 5px;flex: 1;padding: 11px 9px;border-radius: 9px;color: #b1c0bd;font-size: 12px;transition: color .18s ease, background .18s ease, transform .18s ease;}.mode-switch button small{color: inherit;font-size: 12px;}.mode-switch button[aria-selected="true"]{color: #071c18;background: var(--accent);box-shadow: 0 5px 16px rgba(95, 207, 174, .17);font-weight: 800;}.mode-switch button:hover{transform: translateY(-1px);}.section-label{display: flex;align-items: center;gap: 11px;margin: 0 0 12px 2px;}.section-label > span, .metric-section-heading > span{display: grid;width: 28px;height: 28px;place-items: center;border: 1px solid rgba(131, 231, 207, .28);border-radius: 9px;color: var(--accent);background: rgba(24, 61, 57, .55);font-family: ui-monospace, monospace;font-size: 10px;font-weight: 700;}.section-label strong{font-size: 15px;}.section-label small{margin-left: 3px;color: #78908b;font-size: 9px;}.workspace{gap: 14px;}.single-workspace{grid-template-columns: minmax(0, 1fr) 238px;}.challenge-workspace{gap: 10px;}.single-workspace .member-grid{grid-template-columns: repeat(3, minmax(0, 1fr));}.panel, .result-card{border-color: rgba(144, 180, 174, .2);border-radius: 17px;}.team-panel{padding: 19px 21px;background: linear-gradient(145deg, rgba(24, 37, 42, .97), rgba(18, 28, 33, .97));transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;}.team-panel:focus-within{border-color: rgba(131, 231, 207, .5);box-shadow: 0 12px 36px rgba(0, 0, 0, .2), 0 0 0 1px rgba(131, 231, 207, .06);}.panel-heading{margin-bottom: 14px;}.panel-heading h2{font-size: 18px;letter-spacing: -.02em;}.member-grid{gap: 9px;}.member-slot{min-height: 48px;padding: 7px 10px;border-color: #30464b;border-radius: 10px;background: rgba(8, 17, 21, .55);transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;}.member-slot:hover{border-color: #56766f;background: rgba(14, 29, 32, .85);}.member-slot:focus-within{border-color: var(--accent);background: #10221f;box-shadow: 0 0 0 3px rgba(131, 231, 207, .1);}.slot-index{color: #85a09a;font-size: 10px;}.member-slot input{font-size: 15px;}input::placeholder{color: #7d928e;}.option-disclosure{border-color: rgba(144, 180, 174, .18);}.option-disclosure summary, .calculation-details summary, .control-times summary{transition: color .15s ease;}.option-disclosure summary:hover, .calculation-details summary:hover, .control-times summary:hover{color: var(--accent);}.option-editors{grid-template-columns: repeat(2, minmax(0, 1fr));}.option-editor{min-height: 52px;border-color: #30464b;border-radius: 10px;background: rgba(8, 17, 21, .5);}.option-editor-input input{min-height: 36px;border-color: #3e5e60;border-radius: 7px;}.option-chip{min-height: 38px;border-color: #30464b;border-radius: 9px;transition: color .16s ease, border-color .16s ease, background .16s ease, transform .16s ease;}.option-chip:hover{transform: translateY(-1px);border-color: #688d83;}.option-chip:has(input:checked){border-color: rgba(131, 231, 207, .56);background: rgba(23, 62, 56, .62);}.background-option-note{border-left-color: var(--accent);background: rgba(21, 53, 49, .55);line-height: 1.6;}.percent-input{display: flex;align-items: center;border: 1px solid #365157;border-radius: 10px;background: #0d171b;}.percent-input input{width: 100%;min-width: 0;border: 0;background: transparent;padding: 10px 11px;color: var(--text);font-variant-numeric: tabular-nums;text-align: right;}.percent-input span{padding-right: 12px;color: var(--accent);font-size: 13px;font-weight: 750;}.percent-input:focus-within{border-color: var(--accent);box-shadow: 0 0 0 3px rgba(131, 231, 207, .1);}#results{margin-top: 34px;scroll-margin-top: 20px;}.results-heading{align-items: center;margin-bottom: 16px;}.results-heading h2{font-size: clamp(20px, 2.2vw, 25px);letter-spacing: -.03em;}.result-context{padding: 7px 10px;border: 1px solid #33464a;border-radius: 99px;color: #b5c6c2;background: rgba(18, 31, 35, .65);font-size: 11px;}.result-stack{gap: 16px;}.result-card{background: linear-gradient(148deg, #17232a, #121c21);box-shadow: 0 16px 42px rgba(0, 0, 0, .19);}.result-heading{position: relative;min-height: 132px;align-items: center;padding: 23px 27px;overflow: hidden;background: radial-gradient(ellipse at 100% 0%, rgba(255, 193, 120, .12), transparent 37%), linear-gradient(105deg, rgba(32, 53, 58, .97), rgba(23, 37, 43, .96));}.result-heading::after{position: absolute;top: -70px;right: 205px;width: 220px;height: 220px;border: 1px solid rgba(255, 193, 120, .09);border-radius: 50%;content: "";pointer-events: none;}.result-title{position: relative;z-index: 1;}.result-title h3{margin: 7px 0 3px;font-size: 19px;letter-spacing: -.02em;}.result-title > small{color: #91a6a1;font-size: 11px;}.result-title .eyebrow{color: var(--accent);letter-spacing: .16em;}.total-multiplier{position: relative;z-index: 1;min-width: 190px;}.total-multiplier span{color: #b6c8c1;font-size: 9px;font-weight: 750;letter-spacing: .16em;}.total-multiplier strong{margin: 2px 0;color: var(--gold);font-size: clamp(35px, 4vw, 50px);font-weight: 780;line-height: 1.05;letter-spacing: -.06em;text-shadow: 0 4px 26px rgba(255, 193, 120, .13);}.total-multiplier small{color: #f1d3a8;font-size: 11px;}.metric-section{padding: 18px 24px 20px;}.metric-section + .metric-section{border-top: 1px solid rgba(143, 177, 170, .14);}.metric-section-heading{display: flex;align-items: center;gap: 10px;margin-bottom: 12px;}.metric-section-heading > span{width: 25px;height: 25px;border-radius: 8px;font-size: 9px;}.metric-section-heading > div{display: grid;gap: 2px;}.metric-section-heading strong{font-size: 13px;}.metric-section-heading small{color: #8fa4a0;font-size: 10px;}.metric-grid{gap: 8px;}.primary-grid{grid-template-columns: repeat(4, minmax(0, 1fr));}.primary-grid .metric, .support-grid .metric{min-height: 78px;padding: 12px 14px;border: 1px solid rgba(138, 177, 169, .18);border-radius: 11px;background: rgba(7, 17, 20, .35);}.primary-grid .metric{min-height: 92px;background: linear-gradient(145deg, rgba(30, 65, 60, .47), rgba(13, 27, 30, .58));}.primary-grid .metric span, .support-grid .metric span{color: #a9bfba;font-size: 11px;}.primary-grid .metric strong{color: #e9f4ee;font-size: 19px;}.primary-grid .metric:nth-child(1) strong, .primary-grid .metric:nth-child(2) strong{color: var(--accent);}.support-grid{display: grid;grid-template-columns: repeat(6, minmax(0, 1fr));gap: 8px;}.support-grid .metric strong{margin-top: 7px;font-size: 14px;}.support-grid .metric:nth-child(3), .support-grid .metric:nth-child(4){background: rgba(24, 48, 53, .5);}.support-grid .metric:nth-child(9), .support-grid .metric:nth-child(10), .support-grid .metric:nth-child(11){background: rgba(35, 38, 32, .45);}.result-stack .metric-section{padding: 16px 20px 18px;}.result-stack .primary-grid .metric{min-height: 86px;}.result-stack .support-grid .metric{min-height: 70px;padding: 10px 11px;}.metric-emphasis strong{color: var(--accent);}.control-times, .calculation-details{padding-inline: 22px;border-color: rgba(143, 177, 170, .14);}.control-times summary{display: flex;align-items: center;gap: 9px;color: #e0ebe6;font-size: 12px;}.control-times summary small{color: #8fa4a0;font-size: 10px;font-weight: 450;}.control-time-grid div{min-height: 66px;border-color: rgba(138, 177, 169, .2);border-radius: 10px;background: rgba(7, 17, 20, .38);}.control-time-grid strong{color: var(--accent);}.calculation-details{border-top: 1px solid rgba(143, 177, 170, .14);}.detail-row{border-color: rgba(143, 177, 170, .13);}.detail-row code{color: #aec1bb;}.detail-row b{color: var(--gold);}.validation-note{border: 1px solid rgba(255, 163, 124, .27);background: rgba(85, 42, 28, .58);color: #ffc0a4;}.skill-reference{margin-top: 24px;padding: 17px 20px;border-color: rgba(144, 180, 174, .22);background: linear-gradient(140deg, #152127, #111a1e);}.skill-reference > summary{display: flex;align-items: center;gap: 10px;list-style: none;font-size: 14px;font-weight: 600;}.skill-reference > summary::-webkit-details-marker{display: none;}.skill-reference > summary::before{content: "+";display: grid;width: 25px;height: 25px;place-items: center;border-radius: 8px;color: var(--accent);background: rgba(24, 61, 57, .58);font-size: 17px;}.skill-reference[open] > summary::before{content: "−";}.skill-search-controls{margin: 15px 0;}.skill-search-controls input{min-height: 44px;border-color: #354d50;border-radius: 11px;background: #0c1519;}.skill-results{gap: 11px;}.skill-result{padding: 13px 15px;border-color: rgba(144, 180, 174, .18);border-radius: 13px;background: rgba(8, 17, 21, .42);}.skill-role-heading{align-items: center;padding-bottom: 10px;}.skill-role-heading strong{color: var(--accent);font-size: 13px;}.skill-role-heading span{padding: 4px 8px;border: 1px solid #31484a;border-radius: 99px;font-size: 10px;}.skill-entry{padding: 12px 0;grid-template-columns: 44px minmax(0, 1fr);gap: 12px;}.skill-entry > img, .skill-icon-placeholder{width: 44px;height: 44px;border-color: #45605d;border-radius: 10px;}.skill-result strong{font-size: 13px;}.skill-result p{color: #c5d2ce;line-height: 1.65;}button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible{outline: 2px solid #b0ffe7;outline-offset: 3px;}@media (hover: hover){.team-panel:hover{border-color: rgba(144, 205, 190, .31);}.result-card{transition: border-color .2s ease, transform .2s ease;}.result-card:hover{border-color: rgba(142, 193, 180, .32);transform: translateY(-1px);}}@media (max-width: 900px){.hero{min-height: 285px;padding: 34px;}.hero-console{width: 280px;}.single-workspace{grid-template-columns: minmax(0, 1fr) 205px;}.support-grid{grid-template-columns: repeat(4, minmax(0, 1fr));}}@media (max-width: 700px){.app-shell{padding-inline: 16px;}.layout{padding-top: 18px;}.hero{display: grid;grid-template-columns: minmax(0, 1fr);gap: 24px;min-height: 0;margin: 14px 0 25px;padding: 27px 24px 23px;border-radius: 19px;}.hero::before{top: -160px;right: -120px;width: 320px;height: 320px;}.hero::after{display: none;}.hero h1{margin: 17px 0 10px;font-size: clamp(36px, 10vw, 54px);}.hero-console{width: 100%;justify-self: stretch;padding: 13px;}.section-label{margin-bottom: 10px;}.single-workspace{grid-template-columns: minmax(0, 1fr);}.single-workspace .member-grid{grid-template-columns: repeat(2, minmax(0, 1fr));}.team-panel, .challenge-workspace .team-panel{padding: 15px;}.challenge-workspace .member-grid{grid-template-columns: repeat(2, minmax(0, 1fr));}.member-slot, .challenge-workspace .member-slot{min-height: 46px;padding: 6px 8px;}.option-editors{grid-template-columns: repeat(2, minmax(0, 1fr));gap: 7px;}.option-editor{grid-template-columns: minmax(0, 1fr);gap: 7px;}.option-editor-heading small{white-space: normal;}.option-editor-input{justify-content: flex-start;}.option-editor-input input{width: 7em;text-align: left;}.option-chip{min-height: 44px;padding-inline: 10px;}#results{margin-top: 27px;}.result-stack{gap: 12px;}.result-heading, .result-stack .result-heading{min-height: 112px;padding: 18px;}.total-multiplier{min-width: 0;}.total-multiplier strong{font-size: 34px;}.total-multiplier span{font-size: 8px;}.result-title h3{font-size: 16px;}.result-title > small{font-size: 10px;}.metric-section, .result-stack .metric-section{padding: 13px 14px 15px;}.primary-grid{grid-template-columns: repeat(2, minmax(0, 1fr));}.primary-grid .metric, .result-stack .primary-grid .metric{min-height: 75px;padding: 10px;}.primary-grid .metric strong{font-size: 16px;}.support-grid{grid-template-columns: repeat(2, minmax(0, 1fr));gap: 7px;}.support-grid .metric, .result-stack .support-grid .metric{min-height: 65px;padding: 9px 10px;}.support-grid .metric strong{font-size: 13px;}.control-times, .result-stack .control-times, .calculation-details, .result-stack .calculation-details{padding: 12px 14px;}.control-time-grid{grid-template-columns: repeat(2, minmax(0, 1fr));}.detail-row{grid-template-columns: minmax(90px, .7fr) minmax(0, 1fr);gap: 8px;}.skill-reference{margin-top: 18px;padding: 14px;}.skill-result{padding: 10px;}}@media (max-width: 390px){.app-shell{padding-inline: 12px;}.hero{padding-inline: 18px;}.option-editors{grid-template-columns: minmax(0, 1fr);}.result-heading, .result-stack .result-heading{align-items: flex-end;gap: 8px;padding: 15px 13px;}.total-multiplier strong{font-size: 30px;}.total-multiplier span{letter-spacing: .08em;}.metric-section-heading small{max-width: 210px;}.support-grid .metric span{font-size: 10px;}}@media (prefers-reduced-motion: reduce){*, *::before, *::after{scroll-behavior: auto !important;transition-duration: .01ms !important;animation-duration: .01ms !important;}}.results-heading .section-label{margin: 0;}/* Design pass 2: neutral dark palette aligned with Damage Calculator */ :root{--bg: #15171c;--panel: #1e2229;--panel-strong: #242a34;--line: #303640;--text: #e5e8ee;--muted: #aebbd0;--accent: #c3d0ff;--accent-soft: #252c3a;--gold: #f0b66d;}body, .app-shell{background: #15171c;color: var(--text);}.hero{display: flex;justify-content: flex-end;min-height: 0;margin: 12px 0 20px;padding: 0;overflow: visible;border: 0;border-radius: 0;background: transparent;box-shadow: none;}.hero::before, .hero::after{display: none;}.hero-console{width: auto;padding: 0;border: 0;border-radius: 12px;background: transparent;box-shadow: none;backdrop-filter: none;}.mode-switch{display: flex;width: min(100%, 330px);margin: 0;border-color: #3c414c;border-radius: 9px;background: #191d24;}.mode-switch button{min-height: 40px;padding: 9px 15px;color: #aebbd0;}.mode-switch button[aria-selected="true"]{color: #171b21;background: #c3d0ff;box-shadow: none;}.section-label{margin: 0 0 10px 2px;}.section-label strong{font-size: 17px;}.section-label > span, .metric-section-heading > span{border-color: #596b9c;color: #c3d0ff;background: #252c3a;}.workspace{gap: 12px;}.single-workspace{grid-template-columns: minmax(0, 1fr);}.panel, .result-card, .skill-reference{border-color: #303640;border-radius: 13px;}.team-panel{padding: 15px 18px;background: #1e2229;box-shadow: none;}.team-panel:focus-within{border-color: #596b9c;box-shadow: 0 0 0 1px #596b9c33;}.panel-heading{align-items: center;margin-bottom: 12px;}.panel-heading h2{font-size: 17px;}.boss-control{display: flex;flex: 0 0 min(260px, 42%);align-items: center;justify-content: flex-end;gap: 12px;color: #aebbd0;font-size: 12px;}.boss-control .percent-input{width: 128px;flex: none;border-color: #3c414c;border-radius: 8px;background: linear-gradient(145deg,#19212b,#151c25);}.boss-control .percent-input input{min-height: 36px;padding: 7px 8px;color: #e4e9f1;}.boss-control .percent-input span{color: #c3d0ff;}.percent-input:focus-within{border-color: #596b9c;box-shadow: 0 0 0 2px #596b9c33;}.member-grid{gap: 8px;}.member-slot{min-height: 44px;border-color: #3c414c;border-radius: 8px;background: #171b21;}.member-slot:hover{border-color: #596b9c;background: #1c2027;}.member-slot:focus-within{border-color: #8c9ed4;background: #1c2027;box-shadow: 0 0 0 2px #596b9c44;}.slot-index{color: #858e9f;}input::placeholder{color: #858e9f;}.option-disclosure{border-color: #303640;}.option-disclosure summary:hover, .calculation-details summary:hover, .control-times summary:hover{color: #c3d0ff;}.option-editor, .option-chip{border-color: #343b46;background: #191d24;}.option-editor-input input, .skill-search-controls input{border-color: #3c414c;background: #171b21;}.option-chip:has(input:checked){border-color: #596b9c;background: #252c3a;}.background-option-note{border-left-color: #c3d0ff;background: #252c3a;}#results{margin-top: 24px;}.result-heading, .result-stack .result-heading{background: linear-gradient(105deg, #242a34, #1e2229);}.result-heading::after{display: none;}.result-card{background: #1e2229;box-shadow: 0 12px 30px #0003;}.result-title .eyebrow{color: #aebbd0;}.total-multiplier{text-align: right;}.total-multiplier span{color: #aebbd0;font-size: 11px;letter-spacing: .04em;}.total-multiplier strong{color: #f0b66d;text-shadow: none;}.total-multiplier small{color: #cbd5e5;}.metric-section + .metric-section, .calculation-details, .control-times{border-color: #303640;}.primary-grid .metric, .support-grid .metric, .control-time-grid div{border-color: #343b46;border-radius: 8px;background: #191d24;}.primary-grid .metric{background: #1c2027;}.primary-grid .metric span, .support-grid .metric span{color: #aab5c6;}.primary-grid .metric strong{color: #e5e8ee;}.primary-grid .metric:nth-child(1) strong, .primary-grid .metric:nth-child(2) strong, .metric-emphasis strong, .control-time-grid strong{color: #c3d0ff;}.support-grid .metric:nth-child(3), .support-grid .metric:nth-child(4), .support-grid .metric:nth-child(9), .support-grid .metric:nth-child(10), .support-grid .metric:nth-child(11){background: #1c2027;}.control-times summary{color: #d5dbe6;}.detail-row code{color: #aebbd0;}.detail-row b{color: #f0b66d;}.result-context{border-color: #343b46;color: #aebbd0;background: #1e2229;}.skill-reference{background: #1e2229;}.skill-reference > summary::before{color: #c3d0ff;background: #252c3a;}.skill-result{border-color: #343b46;background: #191d24;}.skill-role-heading strong{color: #c3d0ff;}.skill-role-heading span{border-color: #3c414c;}.skill-entry > img, .skill-icon-placeholder{border-color: #3c414c;}button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible{outline-color: #c3d0ff;}@media (max-width: 700px){.hero{justify-content: stretch;margin: 10px 0 16px;}.hero-console{width: 100%;}.mode-switch{width: 100%;}.mode-switch button{padding-inline: 8px;}.panel-heading{align-items: flex-start;}.boss-control{flex-basis: auto;flex-direction: column;align-items: flex-end;gap: 4px;font-size: 11px;}.boss-control .percent-input{width: 112px;}.result-heading, .result-stack .result-heading{align-items: center;}}@media (max-width: 390px){.boss-control .percent-input{width: 96px;}.boss-control .percent-input input{padding-inline: 5px;font-size: 13px;}.total-multiplier strong{font-size: 28px;}}/* Design pass 3: tighten the information rhythm and interaction states */ .layout{padding-top: 22px;}.section-label{min-height: 30px;padding-left: 10px;border-left: 2px solid #596b9c;}.results-heading{padding-bottom: 10px;border-bottom: 1px solid #303640;}#results{margin-top: 28px;}.result-heading, .result-stack .result-heading{min-height: 100px;padding: 17px 22px;}.result-title h3{margin-top: 4px;font-size: 18px;}.total-multiplier{min-width: 0;}.total-multiplier strong{white-space: nowrap;font-size: clamp(32px, 3.6vw, 44px);}.total-multiplier small{margin-top: 5px;line-height: 1.45;}.metric-section{padding: 16px 20px 18px;}.metric-section-heading{margin-bottom: 10px;}.metric-section-heading small, .result-title > small, .control-times summary small{color: #929baa;}.primary-grid .metric, .support-grid .metric{transition: border-color .16s ease, background-color .16s ease;}.primary-grid .metric:hover, .support-grid .metric:hover{border-color: #48505e;background-color: #20242c;}.team-panel:hover{border-color: #424956;}.result-card:hover{border-color: #424956;}.option-chip:hover{border-color: #596b9c;background: #252c3a;}.team-panel:focus-within{border-color: #596b9c;}.option-editor-input input:focus, .member-slot:focus-within{outline-color: #c3d0ff;}body::before{background-image: linear-gradient(rgb(180 190 210 / 2%) 1px, transparent 1px), linear-gradient(90deg, rgb(180 190 210 / 2%) 1px, transparent 1px);}@media (max-width: 700px){.layout{padding-top: 16px;}.section-label{margin-bottom: 8px;}.result-heading, .result-stack .result-heading{min-height: 88px;padding: 13px 14px;}.result-title h3{font-size: 16px;}.total-multiplier strong{font-size: clamp(25px, 7vw, 32px);}.metric-section, .result-stack .metric-section{padding: 12px;}.primary-grid .metric, .support-grid .metric{min-height: 66px;}}@media (max-width: 390px){.app-shell{padding-inline: 12px;}.team-panel{padding-inline: 12px;}.boss-control{max-width: 104px;}.boss-control > span:first-child{white-space: nowrap;}.boss-control .percent-input{width: 94px;}.result-heading, .result-stack .result-heading{gap: 6px;}.total-multiplier small{max-width: 160px;font-size: 10px;}}@media (prefers-reduced-motion: reduce){.primary-grid .metric, .support-grid .metric{transition: none;}}/* Design pass 4: stable mode selector and inset brand alignment */ .hero-console{width: 330px;flex: 0 0 330px;}.mode-switch{width: 100%;}.mode-switch button{align-items: center;white-space: nowrap;}.mode-switch button small{flex: none;}.roster-note{margin: 0 0 12px;padding: 9px 12px;border: 1px solid #343b46;border-left: 2px solid #596b9c;border-radius: 7px;background: #1b1f26;color: #aebbd0;font-size: 12px;line-height: 1.5;}@media (max-width: 700px){.hero-console{width: 100%;flex: 0 1 auto;}.mode-switch{width: 100%;}}/* Pass 7: give native suggestions and disclosure arrows a centered, consistent hit area. */ .member-slot input[list]{appearance: auto;align-self: stretch;height: auto;line-height: 1.4;padding-block: 5px;}.option-editor-input input{width: 7.2em;min-width: 7.2em;box-sizing: border-box;padding-inline: 7px;}details > summary{display: flex;align-items: center;gap: 8px;}details > summary::-webkit-details-marker{display: none;}details:not(.skill-reference) > summary{list-style: none;}details:not(.skill-reference) > summary::before{content: "";flex: 0 0 7px;width: 7px;height: 7px;border-right: 1.5px solid currentColor;border-bottom: 1.5px solid currentColor;transform: rotate(-45deg);transition: transform .16s ease;}details:not(.skill-reference)[open] > summary::before{transform: rotate(45deg);}@media (max-width: 700px){.member-slot{padding-right: 30px;}.option-editor-input input{width: 7.2em;min-width: 7.2em;}}/* Design pass 5: compact result headers across both team modes */ .team-panel{padding-block: 12px 13px;}.panel-heading{margin-bottom: 8px;}.metric-section{padding-block: 13px 15px;}.metric-section-heading{margin-bottom: 7px;}.metric-section-heading > span{width: 22px;height: 22px;border-radius: 7px;}.metric-section-heading > div{gap: 0;}.result-stack .metric-section{padding-block: 12px 14px;}@media (max-width: 700px){.team-panel, .challenge-workspace .team-panel{padding-block: 11px 12px;}.metric-section, .result-stack .metric-section{padding-block: 10px 12px;}}/* Keep primary metric cards compact and identical in both team modes. */ .primary-grid .metric, .result-stack .primary-grid .metric{min-height: 78px;padding: 10px 12px;}@media (max-width: 700px){.primary-grid .metric, .result-stack .primary-grid .metric{min-height: 68px;padding: 9px 10px;}}/* Pass 9: keep the native role-picker arrow singular and move Boss text clear of the stepper. */ .member-slot{padding-right: 10px;}.boss-control .percent-input input{text-align: left;padding-left: 14px;padding-right: 6px;}@media (max-width: 700px){.member-slot{padding-right: 8px;}}@media (max-width: 390px){.boss-control .percent-input input{padding-left: 8px;padding-right: 6px;}}/* Pass 11: align editable gear percentages like the Boss control. */ .option-editor-input input{width: 8.4em;min-width: 8.4em;text-align: left;padding-left: 8px;padding-right: 5px;}@media (max-width: 700px){.option-editor-input input{width: 8.4em;min-width: 8.4em;text-align: left;}}.configuration-heading{justify-content: space-between;gap: 16px;}.configuration-heading .boss-control{flex: 0 1 260px;}@media (max-width: 700px){.configuration-heading .boss-control{flex: none;flex-direction: row;align-items: center;gap: 8px;font-size: 11px;}.configuration-heading .boss-control .percent-input{width: 112px;}}@media (max-width: 390px){.configuration-heading .boss-control{max-width: none;}.configuration-heading .boss-control .percent-input{width: 94px;}.configuration-heading .boss-control .percent-input input{padding-inline: 5px;font-size: 13px;}}/* Local visual refinement: align header and result palette with Damage Calculator. */ /* Refined card hierarchy: neutral surfaces with restrained brand accents. */ .metric-section-heading > span{border-color: #596b9c;background: #252c3a;color: #c3d0ff;}.metric-section-heading strong{color: #d5dbe6;letter-spacing: .015em;}.primary-grid .metric, .support-grid .metric{position: relative;overflow: hidden;border-color: #343b46;border-radius: 9px;background: linear-gradient(145deg, #1c2027, #191d24 78%);box-shadow: inset 0 1px 0 rgb(255 255 255 / 2%);}.primary-grid .metric{min-height: 78px;}.primary-grid .metric span, .support-grid .metric span{color: #aebbd0;}.primary-grid .metric strong, .support-grid .metric strong{color: #e5e8ee;font-variant-numeric: tabular-nums;}.primary-grid .metric:nth-child(1), .primary-grid .metric:nth-child(2){border-color: #414d68;background: linear-gradient(145deg, #222a38, #1c2027 82%);}.primary-grid .metric:nth-child(1) strong, .primary-grid .metric:nth-child(2) strong, .primary-grid .metric-emphasis strong{color: #c3d0ff;}.support-grid .metric:nth-child(3), .support-grid .metric:nth-child(4){border-color: #48443d;background: linear-gradient(145deg, #282720, #1d1f23 82%);}.support-grid .metric:nth-child(3) strong, .support-grid .metric:nth-child(4) strong{color: #f0b66d;}.support-grid .metric:nth-child(5){border-color: #414d68;}.support-grid .metric:nth-child(5) strong{color: #c3d0ff;}.support-grid .metric:nth-child(9), .support-grid .metric:nth-child(10), .support-grid .metric:nth-child(11){background: linear-gradient(145deg, #22262d, #1b1f25 82%);}.primary-grid .metric:hover, .support-grid .metric:hover{border-color: #596b9c;background-color: #20242c;}.background-option-note{border-color: #303640;border-left: 2px solid #8c9ed4;border-radius: 7px;background: #252c3a;color: #cbd5e5;}.background-option-note strong{color: #c3d0ff;font-weight: 700;}.option-editor-chip:has(input:checked), .option-chip:has(input:checked){border-color: #596b9c;background: #252c3a;}/* Neutralize the former cooldown highlight and standardize selected-chip text. */ .support-grid .metric:nth-child(3), .support-grid .metric:nth-child(4){border-color: #343b46;background: linear-gradient(145deg, #1c2027, #191d24 78%);}.support-grid .metric:nth-child(3) strong, .support-grid .metric:nth-child(4) strong{color: #e5e8ee;}.option-chip{color: #aebbd0;}.option-chip:has(input:checked){color: #e5e8ee;}/* Header: final desktop geometry and visual defaults; mobile layout follows below. */ .developer-mobile{display: none;}@media (max-width: 700px){.app-shell{padding-inline: 0;}.layout{padding-inline: 16px;}}@media (max-width: 440px){.app-shell{padding-inline: 0;}.layout{padding-inline: 12px;}}/* Align page surfaces and controls with the damage calculator's base palette. */ body.site-page-buff{--panel: #191f29;--panel-strong: #263449;--line: #344153;--text: #e8edf5;--muted: #a9b7cc;--accent: #9fc8ff;--accent-soft: #263449;}.site-page-buff .team-panel, .site-page-buff .result-card, .site-page-buff .skill-reference{border-color: #344153;background: #191f29;}.site-page-buff .result-heading, .site-page-buff .result-stack .result-heading{background: linear-gradient(105deg, #263449, #191f29);}.site-page-buff .mode-switch{border-color: #3c4a5e;background: #141b27;}.site-page-buff .mode-switch button[aria-selected="true"]{color: #f2f6fc;background: #263c59;box-shadow: inset 0 0 0 1px #6c91c5;}.site-page-buff .member-slot, .site-page-buff .option-editor, .site-page-buff .option-chip, .site-page-buff .skill-result{border-color: #344153;background: #151d28;}.site-page-buff .primary-grid .metric, .site-page-buff .support-grid .metric, .site-page-buff .control-time-grid div{border-color: #344153;background: #17202c;}.site-page-buff .total-multiplier strong{color: #f0b66d;}/* Support magazines reuse option-chip state colours and the existing responsive editor grid. */ .support-magazine{display: grid;grid-template-columns: minmax(0, 1fr) auto;min-width: 0;cursor: default;}.support-magazines{grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));}.support-magazine label{display: grid;cursor: pointer;}.support-magazine-title{display: flex;align-items: center;gap: var(--space-2);}.support-magazine select{min-width: 0;padding: .4em;border: 1px solid var(--border-control, var(--line));border-radius: .4em;background: var(--control, var(--panel));color: var(--text-input, var(--text));font: inherit;}.support-magazine select:disabled{opacity: .55;}