/* Rune Level Calculator only. The Weapon Upgrade Calculator keeps its own styles. */
.rl-page{--rl-gold:#d7bf85;--rl-text:#ede7d7;--rl-muted:#aaa28d;--rl-line:#c4a46a26;max-width:1440px;color:var(--rl-text)}
.rl-page.as-info-page{padding-top:30px}.rl-page [hidden]{display:none}.rl-page .as-breadcrumbs{margin:0 0 16px;font-size:12px;color:var(--rl-muted)}
.rl-page .rl-hero{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:24px 0 30px}.rl-page .rl-kicker{font:400 10px/1.4 'Source Sans 3',sans-serif;letter-spacing:.2em;text-transform:uppercase;color:var(--rl-gold);margin:0 0 10px}
.rl-page .rl-hero h1{font:400 clamp(34px,3.6vw,52px)/1.15 Cinzel,serif;letter-spacing:-.025em;margin:0 0 14px;color:#f2ead7}.rl-page .rl-hero h1 span{color:var(--rl-gold)}.rl-page .rl-hero p:last-child{color:#bcb5a3;font-size:16px;line-height:1.6;margin:0;max-width:630px}
.rl-page .rl-level-cap{display:flex;flex-direction:column;gap:6px;border-left:1px solid var(--rl-line);padding-left:26px;flex-shrink:0}.rl-page .rl-level-cap b{font:400 32px/1.1 Cinzel,serif;color:#d6c8a3}.rl-page .rl-level-cap span{color:var(--rl-muted);font-size:11px}
.rl-page .rl-steps{display:flex;gap:18px;align-items:center;padding:16px 0 24px;margin-bottom:12px;border-top:1px solid var(--rl-line);font-size:12px;color:#bbb29e}.rl-page .rl-steps span{display:flex;align-items:center;gap:9px}.rl-page .rl-steps b{font-size:10px;letter-spacing:.07em;color:var(--rl-gold);font-weight:400}.rl-page .rl-steps i{height:1px;width:36px;background:linear-gradient(90deg,#c4a46a55,transparent)}
.rl-page .rl-layout{display:grid;grid-template-columns:minmax(0,1fr) 336px;gap:28px;align-items:start}.rl-page .rl-workspace{min-width:0;display:flex;flex-direction:column;gap:32px;margin:0}.rl-page .rl-panel{min-width:0;border:1px solid var(--rl-line);border-radius:10px;background:linear-gradient(140deg,#1a1812bd,#0e0e0bcc);box-shadow:0 8px 28px #00000014}
.rl-page h2{font:400 25px/1.2 Cinzel,serif;color:#e7d6a9;margin:0}.rl-page .rl-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 20px}.rl-page .rl-level-count,.rl-page .rl-inventory-count{font-size:12px;color:#bca974;font-variant-numeric:tabular-nums;text-align:right}
.rl-page .rl-plan{padding:26px}.rl-page .rl-level-fields{display:grid;grid-template-columns:1fr 1fr 1.15fr;gap:18px}.rl-page .rl-field{display:flex;flex-direction:column;gap:8px;min-width:0}.rl-page label>span:first-child{font-size:12px;color:#aaa08a}
.rl-page input{box-sizing:border-box;min-width:0;max-width:100%;height:46px;border:1px solid #c4a46a35;border-radius:5px;background:#090a08;color:#f1ebdd;font:400 18px 'Source Sans 3',sans-serif;padding:8px 12px}.rl-page .rl-field input{width:100%;font-size:24px;font-variant-numeric:tabular-nums}.rl-page .rl-target input{background:linear-gradient(115deg,#c4a46a12,#c4a46a05);color:#e9d39a;border-color:#c4a46a65}
.rl-page :is(input,button,a,summary):focus-visible{outline:2px solid #e2cc91;outline-offset:4px}.rl-page input[aria-invalid="true"]{border-color:#d78f70}.rl-page .rl-plan-foot{display:flex;justify-content:space-between;align-items:center;gap:18px;border-top:1px solid var(--rl-line);padding-top:20px;margin-top:23px}.rl-page .rl-plan-foot p{max-width:330px;font-size:12px;line-height:1.5;color:#a59e88;margin:0}.rl-page .rl-plan-foot .as-button{min-height:44px;flex-shrink:0;font-size:11px;padding:12px 20px;letter-spacing:.13em}
.rl-page .rl-message{font-size:12px;color:#bca974;line-height:1.5;margin:16px 0 0}.rl-page .rl-help{font-size:13px;line-height:1.6;color:#a8a08a;margin:0 0 18px}
.rl-page .rl-inventory-tools{display:flex;align-items:center;gap:16px;margin:18px 0}.rl-page .rl-search{display:flex;align-items:center;gap:10px;border:1px solid var(--rl-line);border-radius:5px;background:#090a08;padding:0 13px;flex:1;max-width:420px;min-width:0}.rl-page .rl-search svg{width:17px;height:17px;color:#b59e65;flex-shrink:0}.rl-page .rl-search input{background:none;border:0;width:100%;font-size:14px;outline-offset:0}.rl-page .rl-reset{border:0;background:none;color:#b7a77f;text-decoration:underline;text-underline-offset:3px;font:12px 'Source Sans 3',sans-serif;min-height:44px;cursor:pointer;padding:8px 0;flex-shrink:0}.rl-page .rl-reset:hover{color:#e9d39a}
.rl-page .rl-item-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.rl-page .rl-item{padding:18px;transition:border-color .15s,background .15s}.rl-page .rl-item-owned{border-color:#bba16865;background:linear-gradient(145deg,#30271c66,#12130ecc)}.rl-page .rl-item-top{min-height:62px;display:flex;align-items:center;margin-bottom:18px}.rl-page .rl-item-top>a{display:flex;align-items:center;gap:10px;text-decoration:none;color:#e8dab6;font-size:14px;line-height:1.4;font-weight:500;min-width:0}.rl-page .rl-item-top a:hover{color:#ffe6aa}.rl-page .rl-item-top img{width:48px;height:48px;object-fit:contain;flex:0 0 48px}
.rl-page .rl-item-values{display:grid;grid-template-columns:minmax(0,1fr) 86px;align-items:end;gap:12px}.rl-page .rl-item-values>div,.rl-page .rl-item-values>label{display:flex;flex-direction:column;gap:8px;min-width:0}.rl-page .rl-item-values span{font-size:11px;color:#a89d81}.rl-page .rl-item-values strong{font:400 24px/46px 'Source Sans 3',sans-serif;color:#dfc98c;font-variant-numeric:tabular-nums}.rl-page .rl-item-values input{width:86px;text-align:center;font-size:16px;padding:8px}.rl-page .rl-item-subtotal{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid var(--rl-line);padding-top:14px;margin-top:16px;font-size:11px;color:#9d947b}.rl-page .rl-item-subtotal strong{font-weight:400;font-size:14px;color:#d9c68d;font-variant-numeric:tabular-nums}
.rl-page .rl-breakdown>header{margin-bottom:13px}.rl-page .rl-breakdown>details{border-top:1px solid var(--rl-line);border-bottom:1px solid var(--rl-line)}.rl-page .rl-breakdown summary{display:flex;align-items:center;gap:12px;list-style:none;cursor:pointer;padding:19px 0;font-size:14px;color:#e3c88e}.rl-page .rl-breakdown summary::-webkit-details-marker{display:none}.rl-page .rl-breakdown summary>b{margin-left:auto;font:400 17px 'Source Sans 3',sans-serif;color:#dcc38b;font-variant-numeric:tabular-nums}.rl-page .rl-breakdown summary small{font:10px 'Source Sans 3',sans-serif;color:#9f9479}.rl-page .rl-chevron{display:inline-block;font-size:22px;line-height:14px;transform:rotate(0deg);color:#a7976a}.rl-page .rl-breakdown details[open] .rl-chevron{transform:rotate(90deg)}
.rl-page .rl-table-scroll{overflow-x:auto;overscroll-behavior:auto;padding-bottom:9px;margin-bottom:12px}.rl-page .rl-table-scroll table{width:100%;min-width:440px;border-collapse:collapse;font-size:12px;color:#d4c8ac;font-variant-numeric:tabular-nums}.rl-page .rl-table-scroll caption{text-align:left;font-size:11px;line-height:1.5;color:#a3987b;padding:0 0 12px}.rl-page .rl-table-scroll th{font-weight:400;text-transform:uppercase;font-size:10px;letter-spacing:.07em;color:#bfa775;background:#c4a46a05}.rl-page .rl-table-scroll :is(th,td){padding:13px 12px;border-bottom:1px solid #c4a46a1e;text-align:center;white-space:nowrap}.rl-page .rl-table-scroll :is(th,td):first-child{text-align:left}.rl-page .rl-table-scroll tbody tr:hover{background:#c4a46a08}
.rl-page .rl-budget{position:sticky;top:var(--rl-budget-top,96px);overflow:visible;padding:26px;background:radial-gradient(ellipse at 90% 0,#a68b3d12,transparent 60%),linear-gradient(150deg,#1c1b14,#10110d);border-color:#c4a46a50;box-shadow:0 14px 40px #0003}.rl-page .rl-budget-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 25px}.rl-page .rl-budget-head .rl-kicker{margin:0}.rl-page .rl-live-dot{width:5px;height:5px;border-radius:50%;background:#bba675;box-shadow:0 0 9px #bba67555}
.rl-page .rl-budget-label{font-size:13px;color:#c1bba9;margin:0 0 8px}.rl-page .rl-budget-amount{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.rl-page .rl-budget-amount>span{font:400 clamp(30px,3.5vw,48px)/1.2 'Source Sans 3',sans-serif;color:#e6ce8e;letter-spacing:-.035em;overflow-wrap:anywhere;min-width:0}.rl-page .rl-budget-amount small{font-size:12px;color:#b5a784}.rl-page .rl-budget-context{font-size:12px;color:#9c9784;line-height:1.5;margin:8px 0 24px}.rl-page .rl-cost-lines{border-top:1px solid var(--rl-line);margin:0;padding:14px 0}.rl-page .rl-cost-lines>div,.rl-page .rl-extra-lines>div{display:flex;justify-content:space-between;gap:14px;align-items:baseline;font-size:12px;padding:8px 0}.rl-page .rl-cost-lines dt,.rl-page .rl-extra-lines dt{color:#a9a38f}.rl-page .rl-cost-lines dd,.rl-page .rl-extra-lines dd{margin:0;color:#dbd3bd;font-size:14px;font-variant-numeric:tabular-nums;text-align:right;overflow-wrap:anywhere;min-width:0}
.rl-page .rl-meter{height:3px;background:#c4a46a1b;margin:4px 0 10px}.rl-page .rl-meter>span{display:block;height:100%;max-width:100%;background:linear-gradient(90deg,#8c784b,#e3c77c)}.rl-page .rl-balance{font-size:14px;color:#e0bd6c;line-height:1.5;margin:0 0 22px}.rl-page .rl-balance.rl-covered{color:#abd1b1}.rl-page .rl-budget-reach{display:grid;grid-template-columns:1fr auto;gap:9px 12px;border:1px solid var(--rl-line);border-radius:5px;padding:15px;margin:0 0 15px;background:#c4a46a04}.rl-page .rl-budget-reach>span{color:#b7ab8d;font-size:12px;align-self:center}.rl-page .rl-budget-reach>strong{font:400 29px/1.1 'Source Sans 3',sans-serif;color:#e4cf97}.rl-page .rl-budget-reach small{grid-column:1/-1;color:#938b75;font-size:11px;line-height:1.5}.rl-page .rl-extra-lines{margin:0 0 12px}.rl-page .rl-extra-lines>div{font-size:11px}.rl-page .rl-extra-lines dd{font-size:12px}
.rl-page .rl-budget-note{border-top:1px solid var(--rl-line);padding:14px 0}.rl-page .rl-budget-note summary{cursor:pointer;color:#bcae8e;font-size:12px}.rl-page .rl-budget-note p{font-size:12px;line-height:1.6;color:#a59e88;margin:12px 0 0}.rl-page .rl-budget-link{display:flex;justify-content:space-between;gap:14px;border-top:1px solid var(--rl-line);padding-top:16px;margin-top:8px;color:#d2bb80;font-size:12px;text-decoration:none}.rl-page .rl-budget-link:hover{color:#ffdfa0}.rl-page .rl-empty{border:1px solid var(--rl-line);border-radius:6px;padding:24px;text-align:center;color:#b7ab8b}
@media(max-width:1200px){.rl-page .rl-layout{grid-template-columns:minmax(0,1fr) 300px;gap:22px}.rl-page .rl-item-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rl-page .rl-plan,.rl-page .rl-budget{padding:22px}.rl-page .rl-level-fields{gap:12px}.rl-page .rl-plan-foot{flex-wrap:wrap}.rl-page .rl-plan-foot p{max-width:none}}
@media(max-width:900px){.rl-page .rl-layout{display:flex;flex-direction:column;gap:28px}.rl-page .rl-workspace{display:contents}.rl-page .rl-plan{order:0;width:100%;box-sizing:border-box}.rl-page .rl-budget{order:1;position:static;max-height:none;overflow:visible;width:100%;box-sizing:border-box}.rl-page .rl-inventory{order:2;width:100%}.rl-page .rl-breakdown{order:3;width:100%}.rl-page .rl-item-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.rl-page .rl-budget-amount>span{font-size:46px}.rl-page .rl-level-cap{padding-left:18px}}
@media(max-width:700px){.rl-page .rl-item-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rl-page .rl-hero h1{font-size:36px}.rl-page .rl-steps{gap:10px;justify-content:space-between}.rl-page .rl-steps span{font-size:11px}.rl-page .rl-steps i{display:none}}
@media(max-width:500px){.rl-page.as-info-page{padding-top:22px}.rl-page .rl-hero{display:block;padding:16px 0 22px}.rl-page .rl-hero h1{font-size:32px;line-height:1.2}.rl-page .rl-hero p:last-child{font-size:14px}.rl-page .rl-level-cap{display:flex;flex-direction:row;align-items:baseline;gap:10px;border:0;padding:0;margin-top:18px}.rl-page .rl-level-cap b{font-size:21px}.rl-page .rl-level-cap span{font-size:10px}.rl-page .rl-steps{gap:12px;font-size:10px;align-items:flex-start}.rl-page .rl-steps span{gap:5px;align-items:flex-start;font-size:10px;line-height:1.5}.rl-page .rl-steps b{font-size:9px}.rl-page h2{font-size:22px}.rl-page .rl-plan{padding:20px 17px}.rl-page .rl-section-head{gap:12px;align-items:flex-start;flex-wrap:wrap}.rl-page .rl-level-count,.rl-page .rl-inventory-count{text-align:left;font-size:11px}.rl-page .rl-level-fields{grid-template-columns:1fr 1fr;gap:16px 12px}.rl-page .rl-held{grid-column:1/-1}.rl-page .rl-field input{font-size:24px;height:48px}.rl-page .rl-plan-foot{gap:14px;padding-top:16px;margin-top:18px}.rl-page .rl-plan-foot .as-button{width:100%;justify-content:center}.rl-page .rl-message{font-size:12px;margin-top:14px}.rl-page .rl-budget{padding:22px}.rl-page .rl-inventory-tools{flex-wrap:wrap;gap:6px}.rl-page .rl-search{max-width:none;flex-basis:100%}.rl-page .rl-reset{font-size:12px}.rl-page .rl-item-grid{grid-template-columns:1fr;gap:12px}.rl-page .rl-item{padding:17px 19px}.rl-page .rl-item-top{min-height:48px;margin-bottom:13px}.rl-page .rl-item-top a{font-size:15px;gap:12px}.rl-page .rl-item-values{grid-template-columns:1fr 105px;gap:20px}.rl-page .rl-item-values input{width:105px}.rl-page .rl-item-values strong{font-size:25px}.rl-page .rl-item-subtotal{font-size:12px}.rl-page .rl-item-subtotal strong{font-size:15px}.rl-page .rl-breakdown summary{gap:8px;font-size:13px}.rl-page .rl-breakdown summary>b{font-size:15px}.rl-page .rl-breakdown summary small{display:block;text-align:right}.rl-page .rl-help{font-size:13px}.rl-page .rl-table-scroll table{font-size:12px}}

/* The jump remains a normal anchor when JavaScript is unavailable. */
.rl-page .rl-plan-actions{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex-shrink:0}.rl-page :is(.rl-breakdown-jump,.rl-return-plan){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;font-size:12px;color:#d2bb80;text-decoration:underline;text-underline-offset:3px}.rl-page :is(.rl-breakdown-jump,.rl-return-plan):hover{color:#ffdfa0}.rl-page :is(.rl-breakdown,.rl-plan){scroll-margin-top:100px}
@media(max-width:500px){.rl-page .rl-plan-actions{width:100%;align-items:stretch}}

.rl-page .rl-return-plan{flex-shrink:0}.rl-page .rl-suggestion{border:1px solid var(--rl-line);border-radius:5px;padding:14px;margin:0 0 20px;background:#c4a46a06}.rl-page .rl-suggestion summary{color:#dec68c;font-size:13px;cursor:pointer;line-height:1.5}.rl-page .rl-suggestion p{font-size:12px;color:#b7ad92;line-height:1.6;margin:12px 0 0}.rl-page .rl-suggestion ul{list-style:none;padding:0;margin:12px 0 0}.rl-page .rl-suggestion li{display:flex;flex-direction:column;gap:5px;padding:12px 0;border-top:1px solid var(--rl-line)}.rl-page .rl-suggestion a{font-size:13px;color:#dfc98f;text-decoration:none;line-height:1.5}.rl-page .rl-suggestion strong{font-weight:400;font-size:13px;color:#e6ddc4;font-variant-numeric:tabular-nums}.rl-page .rl-suggestion small{font-size:11px;color:#9d947d}

/* Inventory views reuse the same inputs and totals; only their placement changes. */
.rl-page .rl-inventory-controls{display:flex;align-items:center;justify-content:flex-end;gap:18px;flex-wrap:wrap}.rl-page .rl-view-toggle{display:inline-flex;align-items:center;gap:8px;border:0;background:transparent;color:#c4b184;font-size:12px;padding:6px 0;min-height:44px;white-space:nowrap;cursor:pointer}.rl-page .rl-view-switch{position:relative;width:32px;height:18px;border:1px solid #8e7c504d;background:#090a08;display:block;box-sizing:border-box}.rl-page .rl-view-switch i{position:absolute;width:8px;height:8px;left:4px;top:4px;transform:rotate(45deg);background:#726950}.rl-page .rl-view-toggle[aria-checked="true"] .rl-view-switch{border-color:#b69c64;background:#b69c6412}.rl-page .rl-view-toggle[aria-checked="true"] .rl-view-switch i{left:18px;background:#d5bd80}
.rl-page .rl-inventory-table-scroll{overflow-x:auto;overscroll-behavior:auto;padding-bottom:8px}.rl-page .rl-inventory-table{width:100%;min-width:580px;border-collapse:collapse;font-size:13px;color:#d4c8ac;font-variant-numeric:tabular-nums}.rl-page .rl-inventory-table :is(th,td){border-bottom:1px solid var(--rl-line);padding:12px;text-align:center;vertical-align:middle}.rl-page .rl-inventory-table th{font-weight:400;font-size:10px;letter-spacing:.07em;text-transform:uppercase;color:#bfa775;background:#c4a46a05;white-space:nowrap}.rl-page .rl-inventory-table :is(th,td):first-child{text-align:left;width:43%}.rl-page .rl-inventory-table .rl-table-item{display:flex;align-items:center;gap:12px;color:#e8dab6;text-decoration:none;line-height:1.4;min-height:40px}.rl-page .rl-table-item img{width:40px;height:40px;object-fit:contain;flex:0 0 40px}.rl-page .rl-inventory-table .rl-table-item:hover{color:#ffe6aa}.rl-page .rl-inventory-table input{width:90px;height:44px;text-align:center;font-size:16px;padding:8px}.rl-page .rl-inventory-table strong{font-size:14px;font-weight:400;color:#dfc98c;white-space:nowrap}.rl-page .rl-inventory-table tbody tr:hover{background:#c4a46a08}.rl-page .rl-inventory-table .rl-item-owned{background:#c4a46a0b}
@media(max-width:500px){.rl-page .rl-inventory-controls{width:100%;justify-content:space-between;gap:12px}.rl-page .rl-inventory-table :is(th,td){padding:10px}.rl-page .rl-inventory-table{min-width:570px}}

.rl-page :is(.rl-item-grid,.rl-inventory-table-scroll,.rl-view-toggle)[hidden]{display:none}
