/* Finance Rift — first visual pass. Champion splash art is loaded from Riot's
   public Data Dragon CDN for this private prototype and has a gradient fallback. */
:root{
  color-scheme:dark;
  --bg:#050b0f;
  --sidebar:#071117;
  --panel:#0b171d;
  --raised:#102129;
  --line:#263c43;
  --line-strong:#45626a;
  --text:#eef3f1;
  --muted:#9aa9aa;
  --purple:#5e75b8;
  --pink:#b75e68;
  --aqua:#0ac8b9;
  --yellow:#c89b3c;
  --danger:#d85c5c;
  --success-bg:#0c2825;
  --warning-bg:#2a2111;
  --danger-bg:#291417;
  --shadow:0 28px 70px #0008;
  color:var(--text);
  background:var(--bg);
  font-family:"Segoe UI Variable Text","Segoe UI",Arial,sans-serif
}
body{
  min-height:100vh;
  font-size:16px;
  line-height:1.58;
  color:var(--text);
  background:
    linear-gradient(90deg,#0ac8b906 1px,transparent 1px),
    linear-gradient(#0ac8b904 1px,transparent 1px),
    radial-gradient(circle at 72% -10%,#123b46 0,transparent 31%),
    radial-gradient(circle at 18% 34%,#3b2a111c 0,transparent 24%),
    var(--bg);
  background-size:72px 72px,72px 72px,auto,auto,auto
}
main{max-width:1640px;padding:30px clamp(22px,3.7vw,58px) 72px}
small{font-size:12px!important;line-height:1.4!important}
.topbar h1,.section-intro h2,.panel-head h2,.payments-hero h2,.cockpit-head h2,.planning-nav h2,.pane-toolbar h3,.strategy-next h2,.rift-rank-center h2,.rift-command-grid h3{
  font-family:Constantia,"Palatino Linotype",Georgia,serif;
  letter-spacing:-.025em
}
.eyebrow{font:700 11px/1.4 Bahnschrift,"Cascadia Mono",monospace;color:var(--yellow);letter-spacing:.16em}
.eyebrow.aqua{color:var(--aqua)}

/* Navigation becomes the quiet command rail around the rank hall. */
.app-shell{grid-template-columns:268px 1fr}
.sidebar{
  background:linear-gradient(180deg,#09161d 0,#060c10 72%);
  border-right:1px solid #31484e;
  box-shadow:inset -4px 0 22px #0008;
  padding:27px 19px
}
.sidebar:before{content:"";position:absolute;inset:0 0 auto;height:150px;background:linear-gradient(180deg,#0ac8b90c,transparent);pointer-events:none}
.sidebar:after{content:"";position:absolute;right:11px;top:22px;bottom:22px;width:1px;background:linear-gradient(transparent,#c89b3c88,transparent);pointer-events:none}
.brand{position:relative;font:700 15px Constantia,Georgia,serif;letter-spacing:.1em;color:#f4ead4}
.brand b{color:var(--yellow)}
.brand-mark{border-radius:2px 13px 2px 13px;background:linear-gradient(145deg,#b8892e,#73551d);color:#061014;border:1px solid #e0bb62;box-shadow:0 0 0 3px #c89b3c12,0 8px 25px #0008}
.household,.level-card{background:linear-gradient(145deg,#0d1a21,#091319);border-color:#2a4148;border-radius:3px;box-shadow:none}
.household span,.level-card span,.level-card>strong,.privacy-note{color:#849696}
.household strong,.level-card b{color:#e9eeeb}
.nav-item{border:1px solid transparent;border-radius:2px;color:#94a3a4;font-size:14px;letter-spacing:.01em}
.nav-item:hover{background:#0f2027;color:#fff;border-color:#263e45}
.nav-item.active{background:linear-gradient(90deg,#163039,#0b1a20);color:#fff;border-color:#35515a;box-shadow:inset 3px 0 var(--yellow)}
.nav-item.active i{color:var(--yellow)}
.xp-track{background:#1e3036;border-radius:0}.xp-track i{background:linear-gradient(90deg,#8e6821,var(--yellow))}
.privacy-note i{background:var(--aqua);box-shadow:0 0 8px #0ac8b9}
.sidebar-help{margin-top:auto;padding:14px 13px;background:linear-gradient(145deg,#0d1a21,#091319);border:1px solid #2a4148;border-left:2px solid #c89b3c;color:#8ea0a1}.sidebar-help>span{font:700 9px Bahnschrift,"Cascadia Mono",monospace;letter-spacing:.12em;color:#c6a75e}.sidebar-help p{margin:7px 0 0;font-size:11px;line-height:1.5}.sidebar-help b{color:#e9ece7}

.topbar{margin-bottom:25px;padding-bottom:19px;border-bottom:1px solid #22363c}
.topbar h1{font-size:clamp(34px,3.5vw,50px);color:#f2eee4}
.primary,.secondary,.quest-action,.rift-action{font-size:13px;border-radius:2px;padding:12px 17px;letter-spacing:.02em}
.primary,.rift-action{border:1px solid #e1bd67;background:linear-gradient(180deg,#d0a441,#9d7428);color:#071116;box-shadow:inset 0 1px #fff4,0 8px 25px #0005}
.primary:hover,.rift-action:hover{background:linear-gradient(180deg,#e1b953,#ae812d)}
.secondary{background:#0e1c22;border-color:#3a535b;color:var(--text)}
.secondary:hover{background:#14272f;border-color:#57717a}
input,select{background:#0b171d;color:var(--text);border:1px solid #3b535b;border-radius:3px}
input::placeholder{color:#6f8082}
input:focus,select:focus,button:focus-visible,summary:focus-visible{outline:3px solid #0ac8b94a;outline-offset:3px}

/* Signature: a single theatrical rank hall, surrounded by calmer finance UI. */
#overview>.dashboard-grid,#overview>.career-card,#overview>.facts-strip{display:none}
.rift-overview{display:grid;gap:14px;margin-bottom:14px}
.rift-rank-hall{
  isolation:isolate;
  min-height:430px;
  position:relative;
  display:grid;
  place-items:center;
  overflow:hidden;
  border:1px solid #755e2d;
  border-radius:3px;
  background:
    radial-gradient(circle at 50% 43%,#134653aa 0,transparent 21%),
    linear-gradient(180deg,#07131abb,#050a0ef2),
    #071117;
  box-shadow:var(--shadow),inset 0 0 90px #000a
}
.rift-rank-hall:before,.rift-rank-hall:after{content:"";position:absolute;z-index:-1;inset:0 auto 0;width:48%;background-repeat:no-repeat;background-size:cover;filter:saturate(.65) contrast(1.08);opacity:.52;pointer-events:none}
.rift-rank-hall:before{left:0;background-image:linear-gradient(90deg,#05101722 35%,#061017 100%),var(--rift-champion-left,url("https://ddragon.leagueoflegends.com/cdn/img/champion/splash/Zed_0.jpg"));background-position:34% center;mask-image:linear-gradient(90deg,#000 54%,transparent 100%)}
.rift-rank-hall:after{right:0;background-image:linear-gradient(270deg,#05101722 35%,#061017 100%),var(--rift-champion-right,url("https://ddragon.leagueoflegends.com/cdn/img/champion/splash/Gangplank_0.jpg"));background-position:64% center;mask-image:linear-gradient(270deg,#000 54%,transparent 100%)}
.rift-rank-hall>.rift-rank-center:before,.rift-rank-hall>.rift-rank-center:after{content:"";position:absolute;left:50%;transform:translateX(-50%) rotate(45deg);border:1px solid #c89b3c22;pointer-events:none}
.rift-rank-hall>.rift-rank-center:before{width:330px;height:330px;top:-80px}.rift-rank-hall>.rift-rank-center:after{width:255px;height:255px;top:-42px}
.rift-rank-center{position:relative;z-index:2;width:min(580px,58%);padding:38px 25px 98px;text-align:center;text-shadow:0 2px 18px #000}
.rift-overline{margin:0 0 15px;font:700 10px Bahnschrift,"Cascadia Mono",monospace;letter-spacing:.2em;color:#d3b365}
.rift-crest{width:118px;height:118px;margin:0 auto 14px;position:relative;display:grid;place-items:center;filter:drop-shadow(0 13px 24px #000a)}
.rift-crest:before,.rift-crest:after{content:"";position:absolute;inset:7px;transform:rotate(45deg);background:linear-gradient(145deg,#d4ad50,#5a4219);border:2px solid #e0bf6d;clip-path:polygon(16% 0,84% 0,100% 16%,100% 84%,84% 100%,16% 100%,0 84%,0 16%)}
.rift-crest:after{inset:19px;background:radial-gradient(circle at 35% 30%,color-mix(in srgb,var(--rank-color) 78%,#fff),color-mix(in srgb,var(--rank-color) 45%,#071820) 60%,#041317);border-color:var(--rank-color);box-shadow:inset 0 0 22px #000}
.rift-crest i{position:absolute;inset:-3px;border:1px solid #8e6b2d;transform:rotate(45deg);z-index:-1}
.rift-crest span{position:relative;z-index:2;font:700 23px Constantia,Georgia,serif;color:#ecdfbd;letter-spacing:.08em}
.rift-tier-label{margin:0;color:#82999d;font:700 9px Bahnschrift,monospace;letter-spacing:.18em}
.rift-rank-center h2{margin:4px 0 5px;font-size:clamp(31px,4vw,50px);font-weight:600;color:color-mix(in srgb,var(--rank-color) 72%,#fff);letter-spacing:.06em}
.rift-rank-center>strong{display:block;font-size:14px;color:#d5ddd9}
.rift-rank-center>p:not(.rift-overline):not(.rift-tier-label){max-width:520px;margin:8px auto 17px;color:#a8b7b6;font-size:13px;line-height:1.5}
.rift-rank-track{width:min(410px,100%);height:26px;margin:auto;position:relative;overflow:hidden;border:1px solid #40565b;background:#071216;text-align:left}
.rift-rank-track i{display:block;height:100%;background:linear-gradient(90deg,color-mix(in srgb,var(--rank-color) 56%,#253238),var(--rank-color));opacity:.58}
.rift-rank-track span{position:absolute;inset:0;display:grid;place-items:center;font:700 8px Bahnschrift,monospace;letter-spacing:.12em;color:#e7e7df}
.rift-champion-tag{position:absolute;z-index:2;bottom:92px;display:grid;text-shadow:0 2px 10px #000}
.rift-champion-tag span{font:700 8px Bahnschrift,monospace;letter-spacing:.2em;color:#baa369}.rift-champion-tag b{font:600 17px Constantia,Georgia,serif;letter-spacing:.16em;color:#e2e5df}
.rift-zed{left:25px}.rift-gangplank{right:25px;text-align:right}
.rift-rank-facts{position:absolute;z-index:3;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(4,1fr);background:#061015e8;border-top:1px solid #3f523e;backdrop-filter:blur(8px)}
.rift-rank-facts>div,.rift-rank-facts>label{min-height:70px;padding:14px 18px;border-left:1px solid #22373c;margin:0}.rift-rank-facts>:first-child{border-left:0}
.rift-rank-facts span,.rift-rank-facts b{display:block}.rift-rank-facts span{font:700 8px Bahnschrift,monospace;letter-spacing:.14em;color:#748b8e}.rift-rank-facts b{margin-top:6px;font:600 15px Constantia,Georgia,serif;color:#e7e8df}.rift-rank-facts b small{color:#7f9396;margin-left:2px}.rift-rank-facts select{width:100%;margin-top:4px;padding:2px 4px;border:0;border-bottom:1px solid #40565b;border-radius:0;background:transparent;color:#e7e8df;font:600 15px Constantia,Georgia,serif}

/* Home has one operational action. The theatrical rank hall stays untouched above it. */
.rift-home-action{display:grid;grid-template-columns:62px minmax(0,1fr) minmax(190px,auto);gap:20px;align-items:center;padding:22px 24px;background:linear-gradient(105deg,#211b0f 0,#101b1d 45%,#091419 100%);border:1px solid #725d31;border-left:3px solid #c89b3c;box-shadow:0 15px 38px #0004}.rift-home-action-index{align-self:stretch;display:grid;place-items:center;border-right:1px solid #584b2d;color:#e0bd67;font:600 32px Constantia,Georgia,serif}.rift-home-action-copy>span{font:700 9px Bahnschrift,"Cascadia Mono",monospace;letter-spacing:.15em;color:#caa951}.rift-home-action-copy h2{margin:5px 0 4px;color:#f0ede4;font:600 clamp(23px,2.2vw,31px) Constantia,Georgia,serif}.rift-home-action-copy>p{max-width:850px;margin:0;color:#a5b2b1;font-size:13px;line-height:1.55}.rift-home-action dl{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:13px 0 0}.rift-home-action dl>div{padding:8px 10px;background:#071216;border:1px solid #273a3f}.rift-home-action dt{color:#6f888a;font:700 8px Bahnschrift,monospace;letter-spacing:.1em;text-transform:uppercase}.rift-home-action dd{margin:3px 0 0;color:#bec8c5;font-size:10px;line-height:1.45}.rift-home-action-button{width:auto;min-width:190px;margin:0}
.rift-home-context{padding:18px 20px;background:#09151a;border:1px solid #294047}.rift-home-context>header{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.rift-home-context>header span,.overview-secondary-head span{font:700 9px Bahnschrift,monospace;letter-spacing:.14em;color:#78aaa6}.rift-home-context h3,.overview-secondary-head h2{margin:4px 0 0;color:#e7e9e3;font:600 20px Constantia,Georgia,serif}.rift-home-context>div{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:13px}.rift-home-context article{display:grid;grid-template-columns:38px 1fr;gap:10px;align-items:center;min-width:0;padding:11px;background:#071216;border:1px solid #22373c}.rift-home-context article>i{width:37px;height:37px;display:grid;place-items:center;border:1px solid #5b5033;color:#d4b25e;font:700 11px Bahnschrift,monospace;font-style:normal}.rift-home-context article b,.rift-home-context article small{display:block}.rift-home-context article b{overflow:hidden;color:#d8ded9;font-size:11px;white-space:nowrap;text-overflow:ellipsis}.rift-home-context article small{margin-top:3px;color:#74888a;font-size:9px!important;line-height:1.4}
.home-finance-summary{margin:14px 0;padding:19px 20px;background:#09151a;border:1px solid #294047}.home-finance-summary>header{display:flex;justify-content:space-between;align-items:flex-end;gap:20px}.home-finance-summary h2{margin:4px 0 0;color:#e9ebe5;font:600 23px Constantia,Georgia,serif}.home-finance-summary>header>p{max-width:480px;margin:0;color:#7f9294;font-size:11px;text-align:right}.home-finance-summary .metric-grid{margin:14px 0 0}
.view-guide{display:flex;align-items:center;gap:18px;margin:0 0 18px;padding:12px 15px;background:#081419;border:1px solid #294047;border-left:2px solid #0ac8b9}.view-guide span{flex:0 0 auto;color:#70bdb5;font:700 9px Bahnschrift,monospace;letter-spacing:.13em}.view-guide p{margin:0;color:#8fa1a1;font-size:11px;line-height:1.5}
.journey-key{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin:0 0 14px}.journey-key article{display:grid;grid-template-columns:38px 1fr;gap:10px;align-items:center;min-width:0;padding:12px;background:#09151a;border:1px solid #294047}.journey-key article>i{width:37px;height:37px;display:grid;place-items:center;background:#111b1d;border:1px solid #75612f;color:#dfbd68;font:700 11px Bahnschrift,monospace;font-style:normal}.journey-key b,.journey-key small{display:block}.journey-key b{color:#dce1dc;font-size:11px}.journey-key small{margin-top:2px;color:#74888a;font-size:9px!important;line-height:1.35}
.overview-secondary{display:grid;gap:8px;margin-top:14px}.overview-secondary-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;padding:15px 18px 7px}.overview-secondary-head>p{max-width:560px;margin:0;color:#7d9092;font-size:11px;text-align:right}.overview-secondary .disclosure-body>*{margin-left:0;margin-right:0}

.rift-command-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.35fr);gap:10px}
.rift-objective,.rift-mastery-board,.rift-runes{min-width:0;background:linear-gradient(145deg,#0d1b21,#091319);border:1px solid #294047;border-radius:3px;padding:20px;box-shadow:0 14px 35px #0003}
.rift-objective{border-color:#735d2f;background:linear-gradient(145deg,#211b0f,#0d181a)}
.rift-runes{grid-column:1/-1;overflow:hidden}
.rift-command-grid header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.rift-command-grid header span,.rift-command-grid header>small{font:700 9px Bahnschrift,monospace;letter-spacing:.13em;color:#87999a}.rift-objective header span{color:#d2b05f}.rift-objective header b{font:700 10px Bahnschrift,monospace;color:var(--aqua)}
.rift-command-grid h3{margin:7px 0 6px;font-size:21px;font-weight:600;color:#ece9df}.rift-objective p,.rift-runes>p{margin:0;color:#9babab;font-size:12px;line-height:1.55}
.rift-action{display:flex;justify-content:space-between;align-items:center;width:100%;margin-top:18px;font-weight:800;cursor:pointer}.rift-action i{font-style:normal;font-size:18px}
.rift-mastery-board>div{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:14px}
.rift-mastery{display:flex;align-items:center;gap:10px;min-width:0;padding:11px 9px;background:#071216;border:1px solid #21363d}.rift-mastery-ring{--ring:#0ac8b9;flex:0 0 43px;width:43px;height:43px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--ring) var(--mastery),#1c2e34 0);position:relative}.rift-mastery-ring:after{content:"";position:absolute;inset:4px;border-radius:50%;background:#09171c}.rift-mastery-ring span{position:relative;z-index:1;font:700 11px Bahnschrift,monospace}.rift-gold .rift-mastery-ring{--ring:#c89b3c}.rift-blue .rift-mastery-ring{--ring:#647fc4}.rift-mastery b,.rift-mastery small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rift-mastery b{font-size:12px}.rift-mastery small{margin-top:3px;color:#798d90;font-size:9px!important}
.rift-rune-loadout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(310px,.8fr);gap:10px;margin-top:14px}
.rift-rune-paths{display:grid;grid-template-columns:1fr 1fr;gap:8px;min-width:0}.rift-rune-paths>section,.rift-allocation-preview,.rift-inspiration{min-width:0;padding:13px;background:#071216;border:1px solid #21363d}.rift-rune-paths>section>header,.rift-allocation-preview>header,.rift-inspiration>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.rift-rune-paths>section>header span,.rift-allocation-preview>header span,.rift-inspiration>header span{font:700 8px Bahnschrift,monospace;letter-spacing:.14em;color:#71878a}.rift-rune-paths>section>header>b{font:700 10px Bahnschrift,monospace;color:#d4b35f}.rift-rune-options{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:10px}
.rift-rune{--path-color:#8c6d2e;display:grid;grid-template-columns:35px 1fr;gap:9px;align-items:center;min-width:0;width:100%;padding:8px;border:1px solid #263d44;background:#081419;color:var(--text);text-align:left;cursor:pointer}.rift-rune[data-rift-rune="resolve"]{--path-color:#6f91b5}.rift-rune[data-rift-rune="precision"]{--path-color:#c7a24b}.rift-rune[data-rift-rune="domination"]{--path-color:#a85b68}.rift-rune[data-rift-rune="inspiration"]{--path-color:#8d76bc}.rift-rune i{width:35px;height:35px;display:grid;place-items:center;border:1px solid #3c555c;color:#9ba9a9;font-style:normal}.rift-rune b,.rift-rune small{display:block;overflow:hidden;text-overflow:ellipsis}.rift-rune b{font-size:11px;color:#dfe4df}.rift-rune small{margin-top:2px;color:#778a8c;font-size:9px!important;white-space:nowrap}.rift-rune.active{border-color:var(--path-color);background:linear-gradient(90deg,color-mix(in srgb,var(--path-color) 18%,#081419),#0d1a1d)}.rift-rune.active i{border-color:var(--path-color);color:color-mix(in srgb,var(--path-color) 72%,#fff);box-shadow:inset 0 0 12px color-mix(in srgb,var(--path-color) 28%,transparent)}.rift-rune:focus-visible{outline:2px solid #e0bd68;outline-offset:2px}
.rift-allocation-preview>header h4,.rift-inspiration h4{margin:4px 0 0;font:600 24px Constantia,Georgia,serif;color:#ece9df}.rift-allocation-preview>header>small{max-width:150px;color:#768b8e;text-align:right;font-size:9px!important;line-height:1.4}.rift-allocation-track{display:flex;height:7px;margin:13px 0 8px;background:#203137;overflow:hidden}.rift-allocation-track i{display:block;height:100%}.rift-allocation-track i:last-child{background:#56666a}.rift-allocation-rows{display:grid;gap:2px}.rift-allocation-rows>div{display:grid;grid-template-columns:8px 1fr auto;gap:9px;align-items:center;padding:8px 0;border-top:1px solid #192d33}.rift-allocation-rows>div>i{width:7px;height:24px;background:var(--item-color,#56666a)}.rift-allocation-rows b,.rift-allocation-rows small{display:block}.rift-allocation-rows b{font-size:11px}.rift-allocation-rows small{margin-top:2px;color:#72878a;font-size:9px!important}.rift-allocation-rows strong{font:600 13px Constantia,Georgia,serif;color:#e5e4dc}.rift-rune-warning{margin:10px 0 0;padding:9px 10px;background:#241f13;border-left:2px solid #c7a24b;color:#cfbd88;font-size:10px;line-height:1.5}.rift-rune-warning.danger{background:#26151a;border-color:#a85b68;color:#d7a3aa}.rift-rune-warning b{color:#edc3c8}
.rift-inspiration{grid-column:1/-1;border-color:#52456d;background:linear-gradient(145deg,#151324,#0a1419)}.rift-inspiration>header>b{font:600 18px Constantia,Georgia,serif;color:#b5a3d8}.rift-inspiration>header>b small{margin-left:2px;color:#776b8e;font:700 9px Bahnschrift,monospace}.rift-inspiration-goals{display:grid;gap:5px;margin-top:10px}.rift-inspiration-goals>p{margin:0;padding:10px;background:#0a121b;color:#8f91a7;font-size:10px}.rift-inspiration-goals>div{display:grid;grid-template-columns:1fr 88px 30px;gap:7px;align-items:center;padding:7px 8px;background:#0a121b;border:1px solid #2e2c45}.rift-inspiration-goals b,.rift-inspiration-goals small{display:block}.rift-inspiration-goals b{font-size:11px}.rift-inspiration-goals small{color:#817b96;font-size:9px!important}.rift-inspiration-goals input,.rift-inspiration-add input{min-width:0;background:#071216;color:#e7e7df;border:1px solid #3a4050}.rift-inspiration-goals label{display:grid;grid-template-columns:1fr auto;align-items:center}.rift-inspiration-goals input{width:68px;padding:6px}.rift-inspiration-goals label>i{color:#80778e;font-style:normal}.rift-inspiration-goals button{width:30px;height:30px;padding:0;border:1px solid #533a45;background:#24151a;color:#d69aa5;cursor:pointer}.rift-inspiration-add{display:grid;grid-template-columns:minmax(150px,1fr) 90px auto;gap:7px;margin-top:8px}.rift-inspiration-add>input{padding:8px}.rift-inspiration-add>label{display:grid;grid-template-columns:1fr auto;align-items:center;border:1px solid #3a4050;background:#071216}.rift-inspiration-add>label input{width:100%;padding:8px;border:0}.rift-inspiration-add>label span{padding-right:8px;color:#827b91}.rift-inspiration-add button{padding:8px 12px}.rift-inspiration>small{display:block;margin-top:7px;color:#7c758d;font-size:9px!important}
.rift-explain{grid-column:1/-1;border-top:1px solid #263b42}.rift-explain summary{padding:11px 2px 3px;color:#9fb0b0;font:700 9px Bahnschrift,monospace;letter-spacing:.08em;cursor:pointer}.rift-explain>div{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:8px}.rift-explain p{margin:0;padding:10px;background:#071216;color:#809396;font-size:10px;line-height:1.55}.rift-explain b{color:#d9ddd8}

/* Objective raid map: fixed rules travel through a rune-directed campaign. */
.rift-objective-live{position:relative;overflow:hidden}.rift-objective-live:before{content:"";position:absolute;inset:0 0 auto;height:2px;background:linear-gradient(90deg,#c89b3c,transparent)}.rift-objective-live.ready{border-color:#ad8a3c;box-shadow:inset 0 0 30px #c89b3c12,0 14px 35px #0003}.rift-objective-pin{padding:4px 7px;background:transparent;border:1px solid #4b4936;color:#908568;font:700 8px Bahnschrift,monospace;letter-spacing:.08em;cursor:pointer}.rift-objective-pin.active{border-color:#c89b3c;color:#e0bd67;background:#2a2212}.rift-objective-progress{position:relative;height:25px;margin-top:13px;background:#071216;border:1px solid #263a3f;overflow:hidden}.rift-objective-progress>i{display:block;height:100%;background:linear-gradient(90deg,#6d5425,#c89b3c55);border-right:1px solid #d3ae57}.rift-objective-progress>span{position:absolute;inset:0;display:grid;place-items:center;color:#d5d8d2;font:700 8px Bahnschrift,monospace;letter-spacing:.06em;text-shadow:0 1px 3px #000}.rift-objective-suggestion{display:block;margin-top:8px;padding:7px 9px;background:#0a171b;border-left:2px solid #52747b;color:#809598;font-size:9px!important}.rift-objective-suggestion b{color:#b7c5c4}.rift-claim{background:linear-gradient(180deg,#ddba60,#a67b2c);box-shadow:inset 0 1px #fff6,0 0 22px #c89b3c2b}
.rift-campaign{position:relative;overflow:hidden;padding:20px;background:linear-gradient(145deg,#0d1a20,#071116 70%);border:1px solid #34474a;border-radius:3px;box-shadow:0 15px 36px #0004}.rift-campaign:before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 51% 0,#0ac8b910,transparent 34%),linear-gradient(90deg,transparent,#c89b3c08 50%,transparent)}.rift-campaign-head{position:relative;display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding-bottom:15px;border-bottom:1px solid #304145}.rift-campaign-head>div:first-child>span,.rift-side-objectives>header span,.rift-herald-principal>header span,.rift-campaign>footer>span{font:700 9px Bahnschrift,monospace;letter-spacing:.14em;color:#c5a75e}.rift-campaign-head h3{margin:5px 0 3px;color:#efede5;font:600 24px Constantia,Georgia,serif}.rift-campaign-head p{max-width:760px;margin:0;color:#829598;font-size:10px;line-height:1.55}.rift-campaign-head>div:last-child{text-align:right}.rift-campaign-head>div:last-child b{display:block;color:#e3be62;font:600 29px Constantia,Georgia,serif}.rift-campaign-head>div:last-child b small{margin-left:3px;color:#7b725a;font:700 8px Bahnschrift,monospace}.rift-campaign-head>div:last-child>span{color:#708589;font:700 8px Bahnschrift,monospace;letter-spacing:.1em}.rift-campaign-head>div:last-child>span:first-letter{color:#0ac8b9}
.rift-campaign-route{position:relative;display:grid;grid-template-columns:repeat(9,minmax(104px,1fr));gap:7px;margin:15px 0 0;padding:0 0 8px;list-style:none;overflow-x:auto;scrollbar-color:#5a4a2a #0a1418}.rift-campaign-node{position:relative;min-width:0}.rift-campaign-node:after{content:"";position:absolute;z-index:0;left:58px;right:-9px;top:28px;height:1px;background:#344449}.rift-campaign-node:last-child:after{display:none}.rift-campaign-node>button,.rift-campaign-node>div{position:relative;z-index:1;width:100%;min-height:112px;display:flex;flex-direction:column;align-items:flex-start;padding:0 5px 8px;background:transparent;border:0;color:inherit;text-align:left}.rift-campaign-node>button{cursor:pointer}.rift-campaign-node>button:focus-visible{outline:2px solid #e0bd68;outline-offset:2px}.rift-campaign-node>button>i,.rift-campaign-node>div>i{width:56px;height:56px;display:grid;place-items:center;clip-path:polygon(50% 0,91% 21%,100% 64%,72% 100%,28% 100%,0 64%,9% 21%);background:#293b40;color:#809194;font:700 12px Bahnschrift,monospace;font-style:normal;box-shadow:inset 0 0 0 2px #5f7072}.rift-campaign-node>button>span,.rift-campaign-node>div>span{display:block;min-width:0;margin-top:8px}.rift-campaign-node b,.rift-campaign-node small{display:block;overflow:hidden;text-overflow:ellipsis}.rift-campaign-node b{color:#b8c1bd;font:600 11px Constantia,Georgia,serif;white-space:nowrap}.rift-campaign-node small{min-height:25px;margin-top:2px;color:#647a7d;font-size:8px!important;line-height:1.35}.rift-campaign-node.active>button>i{background:#0f706b;color:#b9fff7;box-shadow:0 0 18px #0ac8b966,inset 0 0 0 2px #36b7ae}.rift-campaign-node.active b{color:#bfe9e4}.rift-campaign-node.ready>button>i{background:#876b2e;color:#ffe4a0;box-shadow:0 0 17px #c89b3c66,inset 0 0 0 2px #d8b45c}.rift-campaign-node.claimed>div>i{background:#9c7a32;color:#ffe7a5;box-shadow:0 0 16px #c89b3c55,inset 0 0 0 2px #d9b65b}.rift-campaign-node.claimed b{color:#d8bc76}.rift-campaign-node.claimed:after{background:#8c6e31}.rift-campaign-node.upcoming{filter:saturate(.72)}
.rift-campaign-lower{position:relative;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:8px;margin-top:5px}.rift-side-objectives,.rift-herald-principal{padding:14px;background:#081418;border:1px solid #293e43}.rift-side-objectives>header,.rift-herald-principal>header{display:flex;justify-content:space-between;gap:12px}.rift-side-objectives>header small,.rift-herald-principal>header small{color:#708386;font-size:8px!important}.rift-side-objectives>div{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:10px}.rift-side-objectives article{min-width:0;padding:9px;background:#071216;border:1px solid #21363b}.rift-side-objectives article.ready{border-color:#8c7135;background:#17170f}.rift-side-objectives article header{display:flex;justify-content:space-between;gap:7px}.rift-side-objectives article header span,.rift-side-objectives article header b{color:#8c9c9d;font:700 8px Bahnschrift,monospace;letter-spacing:.07em}.rift-side-objectives article.ready header b{color:#d4b45e}.rift-side-objectives article h4{min-height:32px;margin:6px 0 3px;color:#d5dbd5;font:600 13px Constantia,Georgia,serif}.rift-side-objectives article p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;min-height:39px;margin:0;color:#6f8386;font-size:8px;line-height:1.45}.rift-side-objectives article>div{height:3px;margin:8px 0;background:#1e3034}.rift-side-objectives article>div i{display:block;height:100%;background:#907034}.rift-side-objectives article button{width:100%;padding:6px;background:transparent;border:1px solid #34494e;color:#92a3a3;font:700 8px Bahnschrift,monospace;cursor:pointer}.rift-side-objectives>div>p{grid-column:1/-1;margin:0;padding:12px;background:#071216;color:#708386;font-size:9px}
.rift-herald-principal form{display:grid;gap:8px;margin-top:10px}.rift-herald-principal form>label{display:grid;gap:7px}.rift-herald-principal form>label>span:first-child{color:#c4ccc6;font-size:10px}.rift-herald-principal form label small{display:block;margin-top:2px;color:#667b7e;font-size:8px!important}.rift-herald-principal form>label>span:last-child{display:grid;grid-template-columns:1fr auto;align-items:center;background:#071216;border:1px solid #3a5057}.rift-herald-principal input{min-width:0;width:100%;padding:8px;border:0}.rift-herald-principal form i{padding-right:8px;color:#75878a;font-size:9px;font-style:normal}.rift-herald-principal form button{padding:8px}.rift-herald-principal>p{margin:9px 0 0;color:#718689;font-size:9px;line-height:1.45}
.rift-campaign-history{position:relative;margin-top:8px;border-top:1px solid #293d42}.rift-campaign-history>summary{padding:11px 2px 3px;color:#9eafb0;font:700 9px Bahnschrift,monospace;letter-spacing:.08em;cursor:pointer}.rift-campaign-history>div{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}.rift-campaign-history section{padding:12px;background:#071216;border:1px solid #22363b}.rift-campaign-history h4{margin:0 0 8px;color:#d7dbd5;font:600 14px Constantia,Georgia,serif}.rift-campaign-history ul{display:grid;gap:4px;margin:0;padding:0;list-style:none}.rift-campaign-history li{display:flex;gap:8px;padding:6px;border-top:1px solid #1d3035}.rift-campaign-history li i{color:#c4a352;font-style:normal}.rift-campaign-history li b,.rift-campaign-history li small{display:block}.rift-campaign-history li b{color:#cbd2cc;font-size:9px}.rift-campaign-history li small{margin-top:2px;color:#687d80;font-size:8px!important}.rift-campaign-history p{margin:0 0 7px;color:#72878a;font-size:9px;line-height:1.5}.rift-campaign>footer{position:relative;display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;margin-top:8px;padding:10px 12px;background:linear-gradient(90deg,#241e10,#0d181b);border-left:2px solid #c89b3c}.rift-campaign>footer>b{color:#e0d9c7;font:600 14px Constantia,Georgia,serif}.rift-campaign>footer>small{color:#766f5e;font-size:8px!important;text-align:right}

/* Vision is a quiet control layer. It qualifies the rank without competing with the raid map. */
.rift-rank-confidence{display:inline-flex;align-items:center;gap:6px;margin-top:9px;padding:5px 8px;border:1px solid #53686b;background:#0a171bcc;color:#9eacad;font:700 8px Bahnschrift,monospace;letter-spacing:.08em;text-transform:uppercase}.rift-rank-confidence:before{content:"";width:6px;height:6px;border-radius:50%;background:#71878a}.rift-rank-confidence.rift-confidence-fog{border-color:#7b573d;color:#d3a478}.rift-rank-confidence.rift-confidence-fog:before{background:#c77b4c;box-shadow:0 0 8px #c77b4c}.rift-rank-confidence.rift-confidence-preliminary{border-color:#746334;color:#d0b56f}.rift-rank-confidence.rift-confidence-preliminary:before{background:#c89b3c}.rift-rank-confidence.rift-confidence-credible{border-color:#316861;color:#84cfc7}.rift-rank-confidence.rift-confidence-credible:before,.rift-rank-confidence.rift-confidence-high:before{background:#0ac8b9;box-shadow:0 0 8px #0ac8b9}.rift-rank-confidence.rift-confidence-high{border-color:#36827a;color:#9be4dc}.rift-rank-vision-fog .rift-rank-center:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#06101499,transparent 22%,transparent 78%,#06101499),radial-gradient(circle at 50% 42%,transparent 20%,#07111655 66%)}
.rift-vision{position:relative;overflow:hidden;padding:20px;background:linear-gradient(145deg,#0b181d,#071116 72%);border:1px solid #34494e;border-radius:3px;box-shadow:0 14px 34px #0004}.rift-vision:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 48%,#0ac8b907 50%,transparent 52%)}.rift-vision-head{position:relative;display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding-bottom:14px;border-bottom:1px solid #2c4247}.rift-vision-head>div:first-child>span,.rift-vision-components span,.rift-vision-recommendations>header span,.rift-vision-map>summary span{font:700 9px Bahnschrift,monospace;letter-spacing:.13em;color:#78b8b1}.rift-vision-head h3{margin:5px 0 3px;color:#e8ebe5;font:600 23px Constantia,Georgia,serif}.rift-vision-head p{max-width:720px;margin:0;color:#839597;font-size:10px;line-height:1.55}.rift-vision-score{display:grid;grid-template-columns:auto auto;align-items:baseline;justify-content:end;text-align:right}.rift-vision-score>b{color:#8bddd4;font:600 34px Constantia,Georgia,serif}.rift-vision-score>small{color:#637d7e;font:700 9px Bahnschrift,monospace}.rift-vision-score>span{grid-column:1/-1;color:#82999a;font:700 8px Bahnschrift,monospace;letter-spacing:.08em;text-transform:uppercase}
.rift-vision-components{position:relative;display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin-top:12px}.rift-vision-components article{min-width:0;padding:10px;background:#071216;border:1px solid #22383e}.rift-vision-components header{display:flex;justify-content:space-between;gap:8px}.rift-vision-components span{overflow:hidden;color:#738d8e;font-size:8px;white-space:nowrap;text-overflow:ellipsis}.rift-vision-components b{color:#ccd7d3;font:700 10px Bahnschrift,monospace}.rift-vision-components b small{color:#667d7e;font-size:8px!important}.rift-vision-components div{height:3px;margin:8px 0 6px;background:#1c3035}.rift-vision-components div i{display:block;height:100%;background:linear-gradient(90deg,#357b75,#0ac8b9)}.rift-vision-components p{margin:0;color:#6c8082;font-size:8px;line-height:1.4}
.rift-vision-recommendations{position:relative;margin-top:9px}.rift-vision-recommendations>header{display:flex;justify-content:space-between;align-items:center}.rift-vision-recommendations>header small{color:#687e80;font-size:8px!important}.rift-vision-recommendations>div{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:7px}.rift-vision-recommendations article{display:grid;grid-template-columns:25px 1fr auto;gap:8px;align-items:center;min-width:0;padding:9px;background:#0a171b;border-left:2px solid #50767a}.rift-vision-recommendations article>i{width:24px;height:24px;display:grid;place-items:center;border:1px solid #446168;color:#77aaa8;font-style:normal}.rift-vision-recommendations b,.rift-vision-recommendations small{display:block}.rift-vision-recommendations b{color:#c7d1cd;font-size:9px}.rift-vision-recommendations small{margin-top:2px;color:#708486;font-size:8px!important;line-height:1.35}.rift-vision-recommendations button{padding:5px 7px;background:transparent;border:1px solid #3b555b;color:#8da6a7;font:700 8px Bahnschrift,monospace;cursor:pointer}
.rift-vision-map{position:relative;margin-top:9px;border-top:1px solid #293f44}.rift-vision-map>summary{display:flex;justify-content:space-between;gap:12px;padding:11px 2px 3px;cursor:pointer}.rift-vision-map>summary small{color:#667d7f;font-size:8px!important}.rift-vision-map>div{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:8px}.rift-vision-map section{min-width:0;padding:11px;background:#071216;border:1px solid #22373c}.rift-vision-map section>header{display:flex;justify-content:space-between;padding-bottom:8px;border-bottom:1px solid #1d3035}.rift-vision-map section>header span{color:#88a6a5;font:700 8px Bahnschrift,monospace;letter-spacing:.1em}.rift-vision-map section>header b{color:#c2cfca;font:700 10px Bahnschrift,monospace}.rift-vision-map section>header b small{color:#627678;font-size:8px!important}.rift-vision-map section>div{display:grid;gap:5px;margin-top:7px}.rift-vision-source{display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:7px;align-items:center;padding:7px;border:1px solid #24393e;background:#09161a}.rift-vision-source>span,.rift-vision-source b,.rift-vision-source small{display:block;min-width:0}.rift-vision-source b{overflow:hidden;color:#c5cfca;font-size:9px;white-space:nowrap;text-overflow:ellipsis}.rift-vision-source small{margin-top:2px;color:#687d7f;font-size:8px!important}.rift-vision-source select{min-width:0;width:100%;padding:5px;background:#071216;color:#aebcba;border:1px solid #385057;font-size:9px}.rift-vision-source>button{grid-column:1/-1;padding:5px;background:transparent;border:1px solid #3c5d5c;color:#7fb5b0;font:700 8px Bahnschrift,monospace;cursor:pointer}.rift-vision-source.imported{border-left:2px solid #0ac8b9}.rift-vision-source.manual{border-left:2px solid #c89b3c}.rift-vision-source.missing{border-left:2px solid #a85b68}.rift-vision-source.none{opacity:.67}.rift-vision-source.stale{background:#1d1810}.rift-vision-source.stale small{color:#c19b5a}.rift-vision-explain{position:relative;margin:9px 0 0;padding:9px 11px;background:#081519;border-left:2px solid #48666c;color:#788c8e;font-size:9px;line-height:1.5}.rift-vision-explain b{color:#b7c5c2}

/* Match history is a restrained scoreboard: monthly decisions, not a second rank system. */
.rift-match-history{position:relative;padding:20px;background:linear-gradient(145deg,#0c181d,#071116 72%);border:1px solid #3c4b4e;border-radius:3px;box-shadow:0 14px 34px #0004}.rift-match-history:before{content:"";position:absolute;inset:0 auto 0 0;width:2px;background:linear-gradient(#0ac8b9,#c89b3c)}.rift-match-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding-bottom:14px;border-bottom:1px solid #304247}.rift-match-head>div:first-child>span,.rift-match-list>header span,.rift-match-events section>header span{font:700 9px Bahnschrift,monospace;letter-spacing:.14em;color:#c2a65f}.rift-match-head h3{margin:5px 0 3px;color:#eceae2;font:600 24px Constantia,Georgia,serif}.rift-match-head p{max-width:760px;margin:0;color:#829597;font-size:10px;line-height:1.55}.rift-match-head>div:last-child{text-align:right}.rift-match-head>div:last-child b{display:block;color:#d6ddd8;font:600 22px Constantia,Georgia,serif}.rift-match-head>div:last-child b small{color:#77918f;font:700 9px Bahnschrift,monospace}.rift-match-head>div:last-child span{color:#6c8284;font:700 8px Bahnschrift,monospace;letter-spacing:.08em}
.rift-match-featured{display:grid;grid-template-columns:minmax(180px,1.2fr) 105px 245px minmax(170px,.8fr);align-items:stretch;margin-top:12px;background:#081418;border:1px solid #2e4348;border-left:4px solid #63777a}.rift-match-featured.win{border-left-color:#c89b3c;background:linear-gradient(90deg,#211b0f,#0a171a 42%)}.rift-match-featured.loss{border-left-color:#a85b68;background:linear-gradient(90deg,#241318,#0a171a 42%)}.rift-match-featured.pending{border-left-color:#0ac8b9}.rift-match-featured>div{min-width:0;padding:13px 15px;border-left:1px solid #263a3f}.rift-match-featured>div:first-child{border-left:0}.rift-match-result>span,.rift-match-economy>span{color:#71888a;font:700 8px Bahnschrift,monospace;letter-spacing:.12em}.rift-match-result h4{margin:4px 0 2px;color:#d8deda;font:600 20px Constantia,Georgia,serif}.rift-match-featured.win .rift-match-result h4{color:#e0bd67}.rift-match-featured.loss .rift-match-result h4{color:#d78b95}.rift-match-result p{margin:0;color:#6f8385;font-size:9px;line-height:1.4}.rift-match-score{display:grid;grid-template-columns:auto auto;align-content:center;justify-content:center;align-items:baseline;text-align:center}.rift-match-score>b{color:#e2e5df;font:600 30px Constantia,Georgia,serif}.rift-match-score>small{color:#6e8182;font:700 8px Bahnschrift,monospace}.rift-match-score>span{grid-column:1/-1;color:#8aa09f;font:700 8px Bahnschrift,monospace;white-space:nowrap}.rift-match-kda{display:flex;align-items:center;justify-content:center;gap:10px}.rift-match-kda>span{display:grid;justify-items:center}.rift-match-kda b{color:#d8ded9;font:600 28px Constantia,Georgia,serif}.rift-match-kda small{color:#6d8585;font:700 8px Bahnschrift,monospace;letter-spacing:.08em}.rift-match-kda>span:first-child b{color:#d9b75f}.rift-match-kda>span:nth-of-type(2) b{color:#62bdb4}.rift-match-kda>span:last-child b{color:#c87984}.rift-match-kda>i{color:#40575c;font-style:normal}.rift-match-economy{display:grid;align-content:center}.rift-match-economy>b{margin-top:3px;color:#d9dfda;font:600 18px Constantia,Georgia,serif}.rift-match-economy>b.negative{color:#d07984}.rift-match-economy>small{margin-top:2px;color:#6e8385;font-size:8px!important}
.rift-match-detail{margin-top:8px;border-top:1px solid #293e43}.rift-match-detail>summary{display:flex;justify-content:space-between;gap:12px;padding:11px 2px 3px;cursor:pointer}.rift-match-detail>summary span{color:#a9b9b7;font:700 9px Bahnschrift,monospace;letter-spacing:.08em}.rift-match-detail>summary small{color:#687d7f;font-size:8px!important}.rift-match-components{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:8px}.rift-match-components article{min-width:0;padding:10px;background:#071216;border:1px solid #22383d}.rift-match-components article>header{display:flex;justify-content:space-between;gap:8px}.rift-match-components span{overflow:hidden;color:#8a9d9d;font:700 8px Bahnschrift,monospace;white-space:nowrap;text-overflow:ellipsis}.rift-match-components b{color:#d0d8d3;font:700 10px Bahnschrift,monospace}.rift-match-components b small{color:#647b7c;font-size:8px!important}.rift-match-components article>div{height:3px;margin:8px 0 6px;background:#1c3035}.rift-match-components article>div i{display:block;height:100%;background:#5d7778}.rift-match-components article.complete>div i{background:linear-gradient(90deg,#2d756f,#0ac8b9)}.rift-match-components article.warning>div i{background:linear-gradient(90deg,#755c29,#c89b3c)}.rift-match-components article.danger>div i{background:linear-gradient(90deg,#64323b,#a85b68)}.rift-match-components p{margin:0;color:#6d8183;font-size:8px;line-height:1.45}.rift-match-events{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(250px,.65fr);gap:7px;margin-top:7px}.rift-match-events>section,.rift-match-events>aside{padding:11px;background:#071216;border:1px solid #22373c}.rift-match-events section>header{display:flex;justify-content:space-between;gap:10px}.rift-match-events section>header small{color:#657b7c;font-size:8px!important}.rift-match-events ul{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:8px 0 0;padding:0;list-style:none}.rift-match-events li{display:grid;grid-template-columns:25px 1fr auto;gap:8px;align-items:center;min-width:0;padding:7px;background:#09161a;border-left:2px solid #52666a}.rift-match-events li.kill{border-color:#c89b3c}.rift-match-events li.assist{border-color:#0ac8b9}.rift-match-events li.death{border-color:#a85b68}.rift-match-events li>i{width:24px;height:24px;display:grid;place-items:center;background:#13252a;color:#9cafae;font:700 9px Bahnschrift,monospace;font-style:normal}.rift-match-events li b,.rift-match-events li small{display:block;overflow:hidden;text-overflow:ellipsis}.rift-match-events li b{color:#c8d1cc;font-size:9px;white-space:nowrap}.rift-match-events li small{margin-top:2px;color:#667c7e;font-size:8px!important}.rift-match-events li strong{color:#b8c3be;font-size:9px}.rift-match-events li.empty{grid-column:1/-1;display:block;color:#6f8385;font-size:9px}.rift-match-events section>p{margin:7px 0 0;color:#b09355;font-size:8px;line-height:1.4}.rift-match-events aside>b{color:#cad3ce;font:600 14px Constantia,Georgia,serif}.rift-match-events aside p{margin:6px 0 0;color:#718587;font-size:9px;line-height:1.5}.rift-match-events aside button{width:100%;margin-top:9px;padding:7px;background:transparent;border:1px solid #3a5359;color:#8fa5a5;font:700 8px Bahnschrift,monospace;cursor:pointer}
.rift-match-list{margin-top:9px}.rift-match-list>header{display:flex;justify-content:space-between;gap:10px;padding:8px 2px}.rift-match-list>header small{color:#647a7c;font-size:8px!important}.rift-match-row{display:grid;grid-template-columns:6px minmax(125px,1fr) 90px 55px 95px minmax(110px,.7fr);gap:10px;align-items:center;padding:9px 11px;border-top:1px solid #24383d;background:#081418}.rift-match-row>i{width:5px;height:28px;background:#c89b3c}.rift-match-row.loss>i{background:#a85b68}.rift-match-row time{color:#8fa2a2;font-size:9px}.rift-match-row>b{color:#d2d8d3;font:600 13px Constantia,Georgia,serif}.rift-match-row>span,.rift-match-row>em{color:#819596;font:700 9px Bahnschrift,monospace;font-style:normal}.rift-match-row>strong{text-align:right;color:#c7d0cb;font-size:10px}.rift-match-row>strong.negative{color:#c97983}.rift-match-empty>button{margin-top:12px}.close-match-result{grid-column:1/-1;display:grid;grid-template-columns:minmax(160px,1fr) auto;gap:8px 20px;margin-top:14px;padding:12px 14px;background:#0a171b;border:1px solid #31474d;border-left:3px solid #0ac8b9}.close-match-result.win{border-left-color:#c89b3c;background:linear-gradient(90deg,#221c10,#0a171b)}.close-match-result.loss{border-left-color:#a85b68;background:linear-gradient(90deg,#241419,#0a171b)}.close-match-result>div:first-child>span,.close-match-kda small{display:block;color:#71888a;font:700 8px Bahnschrift,monospace;letter-spacing:.1em}.close-match-result>div:first-child>b{display:block;margin-top:3px;color:#e0e4df;font:600 18px Constantia,Georgia,serif}.close-match-result>div:first-child>small{color:#708486;font-size:8px!important}.close-match-kda{display:flex;align-items:center;gap:8px}.close-match-kda span{display:grid;justify-items:center}.close-match-kda b{color:#d5dcd7;font:600 18px Constantia,Georgia,serif}.close-match-kda i{color:#42575c;font-style:normal}.close-match-result>p{grid-column:1/-1;margin:0;color:#728688;font-size:9px}

/* The financial build is a separate progression layer. Items illuminate independently. */
.rift-build{position:relative;overflow:hidden;padding:22px;background:radial-gradient(circle at 50% -40%,#33424955,transparent 46%),linear-gradient(155deg,#101d22,#071116 68%);border:1px solid #5f522f;border-radius:3px;box-shadow:0 18px 44px #0005}.rift-build:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,transparent 20%,#c89b3c0b 50%,transparent 80%)}
.rift-build-head{position:relative;display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding-bottom:17px;border-bottom:1px solid #39463b}.rift-build-head>div>span,.rift-build-reserve header span,.rift-build-freedom header span,.rift-build-form header span,.rift-build-classification header span{font:700 9px Bahnschrift,monospace;letter-spacing:.14em;color:#c7a85f}.rift-build-head h3{margin:5px 0 4px;font:600 25px Constantia,Georgia,serif;color:#f0ede4}.rift-build-head p{max-width:720px;margin:0;color:#91a1a1;font-size:11px;line-height:1.55}.rift-build-head>strong{display:flex;align-items:baseline;gap:6px;color:#e3bf67;font:600 35px Constantia,Georgia,serif}.rift-build-head>strong small{color:#85795c;font:700 9px Bahnschrift,monospace;letter-spacing:.1em}
.rift-build-items{position:relative;display:grid;grid-template-columns:repeat(7,minmax(155px,1fr));gap:7px;margin-top:14px;overflow-x:auto;padding:2px 0 8px;scrollbar-color:#604f2c #0a1418}.rift-build-item{position:relative;min-height:232px;padding:13px 11px 11px;background:linear-gradient(160deg,#0b171c,#071014);border:1px solid #263b40;transition:border-color .2s,filter .2s,box-shadow .2s}.rift-build-item:after{content:"";position:absolute;top:39px;left:63px;right:-8px;height:1px;background:#2c3d40}.rift-build-item:last-child:after{display:none}.rift-build-icon{position:relative;z-index:1;width:52px;height:52px;display:grid;place-items:center;clip-path:polygon(50% 0,94% 23%,94% 74%,50% 100%,6% 74%,6% 23%);background:#28393d;color:#718184}.rift-build-icon:before{content:"";position:absolute;inset:2px;clip-path:inherit;background:#091318}.rift-build-icon i,.rift-build-icon span{position:relative;z-index:1;font-style:normal}.rift-build-icon i{font:700 10px Bahnschrift,monospace;letter-spacing:.08em}.rift-build-icon span{position:absolute;right:8px;bottom:7px;color:#607174;font:700 8px Bahnschrift,monospace}.rift-build-state{display:block;margin-top:12px;color:#697d80;font:700 8px Bahnschrift,monospace;letter-spacing:.1em}.rift-build-item h4{min-height:35px;margin:5px 0 4px;color:#d6dbd6;font:600 14px Constantia,Georgia,serif;line-height:1.25}.rift-build-item>b{display:block;color:#91a1a1;font-size:9px}.rift-build-progress{height:3px;margin:10px 0 8px;background:#1c2d31}.rift-build-progress i{display:block;height:100%;background:#66777a}.rift-build-item p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:4;margin:0;color:#718487;font-size:9px;line-height:1.45}.rift-build-item.complete{border-color:#9d7d37;background:radial-gradient(circle at 26px 25px,#c89b3c28,transparent 45%),linear-gradient(155deg,#171b17,#091215)}.rift-build-item.complete .rift-build-icon{background:#d0a94c;color:#f7e5af;filter:drop-shadow(0 0 9px #c89b3c88)}.rift-build-item.complete .rift-build-icon:before{background:#17251e}.rift-build-item.complete .rift-build-icon span{color:#e7c56f}.rift-build-item.complete .rift-build-state,.rift-build-item.complete>b{color:#d7b75e}.rift-build-item.complete .rift-build-progress i{background:linear-gradient(90deg,#8a6927,#e0bd67);box-shadow:0 0 9px #c89b3c}.rift-build-item.needs-data{border-style:dashed}.rift-build-item.needs-data .rift-build-state{color:#c09953}.rift-build-item.needs-data .rift-build-icon{background:#71582e;color:#d6b66d}
.rift-build-next{position:relative;display:flex;justify-content:space-between;align-items:center;gap:18px;margin-top:8px;padding:13px 15px;background:linear-gradient(90deg,#201b10,#101b1c);border-left:2px solid #c89b3c}.rift-build-next span{font:700 8px Bahnschrift,monospace;letter-spacing:.12em;color:#c4a353}.rift-build-next h4{margin:4px 0 2px;color:#e7e5dc;font:600 17px Constantia,Georgia,serif}.rift-build-next p{margin:0;color:#89999a;font-size:10px;line-height:1.45}.rift-build-next>b{flex:0 0 auto;color:#c7a85f;font:700 9px Bahnschrift,monospace;letter-spacing:.09em}
.rift-build-insights{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}.rift-build-reserve,.rift-build-freedom{padding:15px;background:#081418;border:1px solid #2b4045}.rift-build-reserve header,.rift-build-freedom header,.rift-build-form header,.rift-build-classification header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.rift-build-reserve h4,.rift-build-freedom h4,.rift-build-form h4,.rift-build-classification h4{margin:4px 0 0;color:#e5e5dc;font:600 18px Constantia,Georgia,serif}.rift-build-reserve header>b,.rift-build-freedom header>b{color:#a99566;font:700 8px Bahnschrift,monospace;letter-spacing:.1em}.rift-build-freedom header>b{font-size:20px;color:#c4a457}.rift-build-freedom header>b small{margin-left:3px;color:#756b50;font:700 8px Bahnschrift,monospace}.rift-build-reserve>p,.rift-build-freedom>p{margin:9px 0;color:#788d8f;font-size:10px;line-height:1.5}.rift-build-reserve ul{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:0;padding:0;list-style:none}.rift-build-reserve li{display:flex;gap:7px;align-items:center;padding:7px;background:#0b171b;border:1px solid #26383c;color:#728487;font-size:9px}.rift-build-reserve li i{width:21px;height:21px;display:grid;place-items:center;background:#16252a;color:#76888a;font:700 8px Bahnschrift,monospace;font-style:normal}.rift-build-reserve li.active{border-color:#746231;color:#cdbb83}.rift-build-reserve li.active i{background:#8f702f;color:#f6df9f}.rift-build-reserve li.unknown{border-style:dashed;color:#b19a68}.rift-build-freedom>div{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.rift-build-freedom button{padding:9px 7px;background:#091317;border:1px solid #2a3d42;color:#8b9a9c;text-align:left;cursor:pointer}.rift-build-freedom button span,.rift-build-freedom button b,.rift-build-freedom button small{display:block}.rift-build-freedom button span{font:700 9px Bahnschrift,monospace;color:#b49b64}.rift-build-freedom button b{margin:4px 0;color:#dce0db;font:600 13px Constantia,Georgia,serif}.rift-build-freedom button small{color:#667b7e;font-size:8px!important}.rift-build-freedom button.selected{border-color:#b48c38;background:#1c190f;box-shadow:inset 0 0 14px #c89b3c14}.rift-build-warning{position:relative;margin:8px 0 0;padding:10px 12px;background:#27171b;border-left:2px solid #a85b68;color:#d2a1a8;font-size:10px;line-height:1.5}.rift-build-warning b{color:#edc4ca}
.rift-build-settings{position:relative;margin-top:8px;background:#081318;border:1px solid #2b4045}.rift-build-settings>summary{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:13px 15px;color:#d4d8d3;font:700 10px Bahnschrift,monospace;letter-spacing:.06em;cursor:pointer}.rift-build-settings>summary small{color:#718588;font-size:9px!important;font-weight:500;letter-spacing:0}.rift-build-form{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 12px 12px}.rift-build-form>section,.rift-build-classification>section{padding:13px;background:#0a171c;border:1px solid #263a3f}.rift-build-fields{display:grid;gap:6px;margin-top:11px}.rift-build-fields>label{display:grid;grid-template-columns:minmax(0,1fr) minmax(125px,.55fr);gap:12px;align-items:center;padding-top:6px;border-top:1px solid #1e3035}.rift-build-fields>label>span:first-child{color:#c8cfca;font-size:10px}.rift-build-fields label small{display:block;margin-top:2px;color:#657a7d;font-size:8px!important}.rift-build-fields select,.rift-build-number{width:100%;min-width:0}.rift-build-number{display:grid;grid-template-columns:1fr auto;align-items:center;background:#071216;border:1px solid #3b535b}.rift-build-number input{min-width:0;width:100%;padding:8px;border:0}.rift-build-number i{padding-right:8px;color:#738487;font-size:9px;font-style:normal}.rift-build-confirm>input{justify-self:end;width:19px;height:19px;accent-color:#b58d39}.rift-build-classification{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 12px 12px}.rift-build-classification section>p{margin:10px 0 0;padding:9px;background:#071216;color:#708386;font-size:9px}.rift-build-record{display:grid;grid-template-columns:minmax(130px,1fr) minmax(140px,.8fr) minmax(150px,1fr);gap:8px;align-items:center;margin-top:7px;padding:8px;background:#071216;border:1px solid #20343a}.rift-build-record>span b,.rift-build-record>span small{display:block}.rift-build-record>span b{color:#d7dcd6;font-size:10px}.rift-build-record>span small{margin-top:2px;color:#718487;font-size:8px!important}.rift-build-record>label,.rift-build-debt{display:flex;gap:7px;align-items:center;color:#95a5a5;font-size:9px}.rift-build-record input,.rift-build-debt input{accent-color:#b68e3b}.rift-build-debt{margin-top:7px;padding:9px;background:#071216;border:1px solid #20343a}.rift-build-debt b,.rift-build-debt small{display:block}.rift-build-debt b{color:#d2d8d2;font-size:10px}.rift-build-debt small{margin-top:2px;color:#6f8385;font-size:8px!important}.rift-build-explain{position:relative;margin-top:8px}

/* Existing financial modules inherit the new materials without changing behavior. */
.metric,.readiness-card,.career-card,.facts-strip,.records-panel,.plan-info,.goal,.budget-snapshot,.budget-roles,.category-analysis,.monthly-overview,.monthly-close,.quick-balance,.planning-workspace,.finance-cockpit,.overview-secondary>details,.balance-hero,.liquidity-card,.history-card,.strategy-next,.strategy-facts,.strategy-roadmap{
  background:#0b171d;
  border-color:#294047;
  color:var(--text);
  box-shadow:0 15px 38px #0003
}
.metric{background:linear-gradient(145deg,#0d1b21,#081318);border-radius:3px}.metric.highlight{background:linear-gradient(145deg,#102832,#0a171d);border-color:#315b65}.metric span{color:#829597}.metric strong{font-family:Constantia,Georgia,serif;color:#f0eee6}.metric small{color:var(--aqua)}
.finance-cockpit{background:linear-gradient(145deg,#0d1a21,#071117);border-color:#314850;border-radius:3px}.review-inbox,.recurring-radar,.fund-card,.flex-bucket,.horizon-months>section,.managed-row,.overview-secondary>details{background:#081318;border-color:#263b42;color:var(--text)}
.planning-nav{background:#09151a;border-color:#293e45}.planning-tabs button{color:#839597}.planning-tabs button.active{color:#f1eee3;border-color:var(--yellow)}
.horizon-summary,.runway{background:#071820;border-color:#244550}.flex-track,.fund-track,.balance-bar,.close-track,.strategy-track{background:#1d3036}
.text-btn{color:var(--aqua)}
.record-tabs{border-color:#2d434a}.record-tab{color:#8e9d9e}.record-tab.active{color:#e6c063;border-color:var(--yellow)}
.goal.active{background:#11262d;border-color:#38606a}.goal.active>i{background:#9c762b;color:#071116}.unlock-box{background:#102229;border-color:#31505a}.unlock-box strong{color:#e3bd61}
dialog,dialog form{background:#0b171d;color:var(--text);border-color:#3a535b}.icon-btn{color:#a6b2b1}dialog::backdrop{background:#020607cc;backdrop-filter:blur(4px)}#toast{background:#0ac8b9;color:#041310}

/* Payments originally had a white operational skin; these overrides keep their hierarchy in the Rift shell. */
.payments-flow,.payments-tabs,.decision-focus,.decision-queue,.payments-done,.payments-filterbar,.payment-row,.payments-empty-filter,.review-kind-summary span,.payment-review-check{
  background:#0b171d!important;
  border-color:#294047!important;
  color:var(--text)!important;
  box-shadow:none!important
}
.payments-flow>div{color:#8ca0a1}.payments-flow>div>i,.payments-tabs b{background:#182b32;color:#9aabad}.payments-flow b,.decision-main h3,.decision-main>strong,.queue-row,.payment-row,.payment-row>div b,.payment-row>strong,.payments-tabs button.active,.review-kind-summary b{color:var(--text)}
.payments-flow>u,.decision-progress,.queue-row,.payment-row{border-color:#263b42}.payments-flow .done>i,.payments-tabs .active b{background:#103b37;color:#55d6c8}.payments-flow .current>i{background:#9d772c;color:#061014;box-shadow:0 0 0 5px #c89b3c1f}.payments-flow .current b{color:#e2bc61}
.payments-tabs{background:#071217!important}.payments-tabs button{color:#829596}.payments-tabs button.active{background:#14252b!important;box-shadow:inset 0 -2px var(--yellow)!important}.decision-card{background:#0b171d}.decision-progress span,.decision-main span,.decision-main p,.queue-row small,.payment-row time,.payment-row>span,.payment-row>div small,.payments-hero p:not(.eyebrow){color:#8da0a2}.decision-reason{background:#292211;color:#e2bd62}.decision-reason.rose{background:#2c161b;color:#e17e8c}.decision-reason.aqua{background:#0c302d;color:#54d4c6}.queue-row:hover{background:#102228}.payments-filterbar input,.payments-filterbar select{background:#071318;color:var(--text);border-color:#385159}.payment-review-dialog{background:#0b171d;color:var(--text);border-color:#385159}.payment-review-dialog form,.payment-review-dialog select{background:#0b171d;color:var(--text)}.payment-review-dialog select{border-color:#385159}.payment-kda-note{margin:10px 0 0;padding:10px 11px;background:#081519;border-left:2px solid #c89b3c;color:#809395;font-size:10px;line-height:1.5}.payment-kda-note b{color:#d4ba73}

/* Import dialogs are kept neutral and data-dense. */
.gateway-head,.gateway-body,.gateway-drop,.gateway-summary>div,.gateway-row,.gateway-actions{background:#0b171d;color:var(--text);border-color:#314850}.gateway-body{background:#071217}.gateway-drop:hover{background:#102128}.gateway-drop>i{background:#10332f;border-color:#32645e}.gateway-summary>div.auto{background:#0c2a26;border-color:#2d5b54}.gateway-summary>div.review,.gateway-message,.gateway-warning{background:#2a2111;border-color:#705b2e;color:#e0c37c}.gateway-row.needs-review{background:#17160f}.gateway-row.duplicate{background:#0a1216}.gateway-actions{box-shadow:0 -10px 25px #0005}.gateway-bank-check{background:#0c2825;border-color:#2d5b54}.gateway-bank-check>i{background:#123a35;color:#68d3c5}.gateway-bank-check.blocked{background:#2a2111;border-color:#705b2e}.gateway-bank-check.blocked>i{background:#4b3817;color:#e8c46e}

@media(max-width:1150px){
  .rift-command-grid{grid-template-columns:1fr 1fr}.rift-runes{grid-column:1/-1}.rift-rune-loadout{grid-template-columns:1fr}
  .rift-campaign-route{grid-template-columns:repeat(9,118px)}.rift-campaign-lower{grid-template-columns:1fr}
  .rift-build-items{grid-template-columns:repeat(7,165px)}.rift-build-reserve ul{grid-template-columns:repeat(2,1fr)}
  .rift-rank-center{width:min(620px,70%)}
}
@media(max-width:980px){.app-shell{grid-template-columns:92px 1fr}.sidebar:after{display:none}.sidebar-help{display:none}.rift-champion-tag{display:none}.rift-rank-center{width:80%}.journey-key{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){
  main{padding-inline:16px}.rift-rank-hall{min-height:485px}.rift-rank-hall:before,.rift-rank-hall:after{width:70%;opacity:.32}.rift-rank-center{width:100%;padding-inline:16px;padding-bottom:150px}.rift-rank-facts{grid-template-columns:1fr 1fr}.rift-rank-facts>div{min-height:62px}.rift-home-action{grid-template-columns:48px 1fr}.rift-home-action-button{grid-column:2;width:100%}.rift-home-action dl{grid-template-columns:1fr}.rift-home-context>div{grid-template-columns:1fr 1fr}.home-finance-summary>header,.overview-secondary-head{display:block}.home-finance-summary>header>p,.overview-secondary-head>p{max-width:none;margin-top:6px;text-align:left}.view-guide{display:block}.view-guide p{margin-top:5px}.rift-command-grid{grid-template-columns:1fr}.rift-runes{grid-column:auto}.rift-rune-paths,.rift-explain>div,.rift-build-insights,.rift-build-form,.rift-build-classification,.rift-campaign-history>div{grid-template-columns:1fr}.rift-mastery-board>div{grid-template-columns:1fr 1fr 1fr}.rift-build-record{grid-template-columns:1fr 1fr}.rift-build-record>label{grid-column:1/-1}.rift-campaign-head{display:block}.rift-campaign-head>div:last-child{margin-top:10px;text-align:left}.rift-side-objectives>div{grid-template-columns:1fr 1fr 1fr}.rift-campaign>footer{grid-template-columns:1fr}.rift-campaign>footer>small{text-align:left}
}
@media(max-width:680px){
  .app-shell{grid-template-columns:1fr}.sidebar{background:#071117;border-bottom:1px solid #31484e;box-shadow:0 4px 18px #0007}.sidebar:before{display:none}.topbar h1{font-size:32px}.rift-rank-hall{min-height:510px}.rift-rank-center{padding-top:30px}.rift-overline{font-size:9px}.rift-crest{width:100px;height:100px}.rift-rank-center h2{font-size:31px}.rift-mastery-board>div{grid-template-columns:1fr}.rift-rank-facts b{font-size:13px}.journey-key{grid-template-columns:1fr 1fr}
}
@media(max-width:460px){.rift-rank-facts>div{padding:11px 10px}.rift-rank-center{padding-bottom:160px}.rift-rank-center>p:not(.rift-overline):not(.rift-tier-label){font-size:12px}.rift-rank-track{height:33px}.rift-home-action{grid-template-columns:1fr;padding:17px}.rift-home-action-index{display:none}.rift-home-action-button{grid-column:1;min-width:0}.rift-home-context>header{display:block}.rift-home-context>header button{margin-top:5px}.rift-home-context>div,.journey-key{grid-template-columns:1fr}.rift-command-grid h3{font-size:19px}.rift-rune-options{grid-template-columns:1fr}.rift-inspiration-add{grid-template-columns:1fr}.rift-inspiration-goals>div{grid-template-columns:1fr 78px 30px}.rift-allocation-preview>header{display:block}.rift-allocation-preview>header>small{display:block;max-width:none;margin-top:5px;text-align:left}.rift-campaign{padding:14px}.rift-side-objectives>div{grid-template-columns:1fr}.rift-build{padding:14px}.rift-build-head{display:block}.rift-build-head>strong{margin-top:9px}.rift-build-next{display:block}.rift-build-next>b{display:block;margin-top:8px}.rift-build-reserve ul,.rift-build-freedom>div{grid-template-columns:1fr}.rift-build-fields>label,.rift-build-record{grid-template-columns:1fr}.rift-build-record>label{grid-column:auto}}
@media(max-width:1150px){.rift-vision-components{grid-template-columns:repeat(3,1fr)}.rift-vision-map>div{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.rift-vision-head{display:block}.rift-vision-score{justify-content:start;justify-items:start;margin-top:9px;text-align:left}.rift-vision-recommendations>div{grid-template-columns:1fr}}
@media(max-width:460px){.rift-vision{padding:14px}.rift-vision-components,.rift-vision-map>div{grid-template-columns:1fr}.rift-vision-recommendations article{grid-template-columns:25px 1fr}.rift-vision-recommendations article button{grid-column:1/-1}.rift-vision-source{grid-template-columns:1fr}.rift-vision-source>button{grid-column:auto}}
@media(max-width:1150px){.rift-match-featured{grid-template-columns:1fr 105px 220px}.rift-match-economy{grid-column:1/-1;border-top:1px solid #263a3f}.rift-match-components{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.rift-match-head{display:block}.rift-match-head>div:last-child{margin-top:9px;text-align:left}.rift-match-featured{grid-template-columns:1fr 100px}.rift-match-kda,.rift-match-economy{grid-column:1/-1;border-top:1px solid #263a3f}.rift-match-kda{justify-content:flex-start}.rift-match-events{grid-template-columns:1fr}.rift-match-row{grid-template-columns:6px 1fr auto auto}.rift-match-row>b{grid-column:2}.rift-match-row>span,.rift-match-row>em,.rift-match-row>strong{grid-row:1/3}.rift-match-row>span{grid-column:3}.rift-match-row>em{grid-column:4}.rift-match-row>strong{display:none}.close-match-result{grid-template-columns:1fr}.close-match-kda{justify-content:flex-start}}
@media(max-width:460px){.rift-match-history{padding:14px}.rift-match-featured,.rift-match-components,.rift-match-events ul{grid-template-columns:1fr}.rift-match-featured>div{border-left:0;border-top:1px solid #263a3f}.rift-match-featured>div:first-child{border-top:0}.rift-match-score{justify-content:start;text-align:left}.rift-match-kda,.rift-match-economy{grid-column:auto}.rift-match-detail>summary{display:block}.rift-match-detail>summary small{display:block;margin-top:3px}.rift-match-row{grid-template-columns:6px 1fr auto}.rift-match-row>span{grid-column:3}.rift-match-row>em{display:none}}
@media(prefers-reduced-motion:reduce){.rift-rank-track i,.rift-mastery-ring{transition:none!important}}
.rift-match-kda>span:nth-of-type(3) b{color:#c87984}.rift-match-kda>span.rift-match-cs b{color:#a8bec0}.rift-match-cs b small{display:inline;color:#657c7e;font-size:11px;letter-spacing:0}.close-match-kda .close-match-cs b{color:#a8bec0}.close-match-kda .close-match-cs b small{display:inline;color:#657c7e;font-size:9px;letter-spacing:0}

/* UX command layer: one active quest, exact monthly steps, quiet utility tools. */
.rift-rank-hall-with-quest{min-height:560px}
.rift-rank-hall-with-quest .rift-rank-center{padding-bottom:188px}
.rift-rank-hall-with-quest .rift-champion-tag{bottom:194px}
.rift-rank-hall-with-quest>.rift-hero-quest{position:absolute;z-index:4;left:50%;bottom:82px;width:min(850px,calc(100% - 150px));min-height:94px;transform:translateX(-50%);grid-template-columns:42px minmax(0,1fr) auto;gap:13px;padding:11px 13px;background:linear-gradient(105deg,#211b0fee,#101b1df2 48%,#071318f2);border-color:#806937;border-left-width:2px;box-shadow:0 13px 30px #0008;backdrop-filter:blur(9px);text-align:left;text-shadow:none}
.rift-rank-hall-with-quest>.rift-hero-quest .rift-home-action-index{border-right-color:#5b4b2b;font-size:23px}
.rift-rank-hall-with-quest>.rift-hero-quest .rift-home-action-copy>span{font-size:8px}
.rift-rank-hall-with-quest>.rift-hero-quest .rift-home-action-copy h3{margin:3px 0 2px;color:#f0ede4;font:600 18px Constantia,Georgia,serif;line-height:1.15}
.rift-rank-hall-with-quest>.rift-hero-quest .rift-home-action-copy>p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;margin:0;color:#98a9a8;font-size:10px;line-height:1.4}
.rift-rank-hall-with-quest>.rift-hero-quest .rift-home-action-copy>small{display:block;overflow:hidden;margin-top:4px;color:#72888a;font-size:8px!important;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.rift-rank-hall-with-quest>.rift-hero-quest .rift-home-action-copy>small b{color:#bfa35f}
.rift-rank-hall-with-quest>.rift-hero-quest .rift-home-action-button{min-width:170px;padding:10px 12px}
.rift-rank-hall-with-quest>.rift-hero-quest :focus-visible{outline:2px solid #e2bd68;outline-offset:3px}

.topbar{gap:22px}.topbar>div:first-child{min-width:0}.topbar-actions{display:flex;align-items:stretch;justify-content:flex-end;gap:8px;min-width:0}.quest-dock{display:grid;grid-template-columns:minmax(170px,1fr) auto;align-items:center;gap:12px;width:min(430px,39vw);min-height:51px;padding:7px 8px 7px 12px;background:linear-gradient(100deg,#1d190f,#0b171b);border:1px solid #65542f;border-left:2px solid #c89b3c;box-shadow:0 8px 22px #0004}.quest-dock[hidden]{display:none}.quest-dock>span{min-width:0}.quest-dock>span i,.quest-dock>span b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quest-dock>span i{color:#b99b54;font:700 7px Bahnschrift,monospace;letter-spacing:.1em;font-style:normal}.quest-dock>span b{margin-top:3px;color:#dce1dc;font:600 13px Constantia,Georgia,serif}.quest-dock>button{display:flex;align-items:center;gap:7px;padding:8px 9px;background:#8d6d2b;border:1px solid #d0ac54;color:#fff2c8;font:700 8px Bahnschrift,monospace;letter-spacing:.04em;white-space:nowrap;cursor:pointer}.quest-dock>button i{font-size:13px;font-style:normal}.quest-dock>button:focus-visible{outline:2px solid #e2bd68;outline-offset:2px}.topbar-actions .guide-open{flex:0 0 auto;border-radius:2px}

.cycle-route>button{position:relative;display:flex;gap:10px;align-items:center;min-width:0;padding:13px 17px;background:transparent;border:0;color:#60777b;text-align:left;cursor:pointer}.cycle-route>button+button{border-left:1px solid #21363b}.cycle-route>button:disabled{cursor:not-allowed;filter:saturate(.45);opacity:.55}.cycle-route>button:not(:disabled):hover{background:#102027}.cycle-route>button.selected{box-shadow:inset 0 -2px #0ac8b9}.cycle-route>button:focus-visible{z-index:2;outline:2px solid #e1bd68;outline-offset:-3px}.payments-workbench{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:10px;padding:9px 10px 9px 14px;background:#081419;border:1px solid #294047}.payments-workbench>div>span,.payments-workbench>div>b{display:block}.payments-workbench>div>span{color:#6e8588;font:700 7px Bahnschrift,monospace;letter-spacing:.13em}.payments-workbench>div>b{margin-top:3px;color:#dce1dc;font:600 15px Constantia,Georgia,serif}.payments-utility-tabs{display:flex;width:auto!important;margin:0!important;border:0!important}.payments-utility-tabs button{min-width:0!important;padding:9px 12px!important;font-size:9px!important;white-space:nowrap}.payments-done-actions{display:flex;align-items:center;gap:7px;margin-left:auto}.payments-done-actions button{margin-left:0}

@media(max-width:1150px){.rift-rank-hall-with-quest>.rift-hero-quest{width:calc(100% - 80px)}.quest-dock{width:min(370px,38vw)}.quest-dock>button{font-size:0}.quest-dock>button i{font-size:14px}}
@media(max-width:980px){.topbar{flex-wrap:wrap}.topbar-actions{width:100%;justify-content:flex-end}.quest-dock{flex:1;width:auto}}
@media(max-width:900px){.cycle-route>button:nth-child(3){border-left:0;border-top:1px solid #21363b}.cycle-route>button:nth-child(4){border-top:1px solid #21363b}}
@media(max-width:760px){.topbar{flex-wrap:wrap}.topbar-actions{width:100%;justify-content:stretch}.quest-dock{flex:1;width:auto}.rift-rank-hall-with-quest{min-height:680px}.rift-rank-hall-with-quest .rift-rank-center{padding-bottom:280px}.rift-rank-hall-with-quest .rift-champion-tag{bottom:272px}.rift-rank-hall-with-quest>.rift-hero-quest{bottom:137px;width:calc(100% - 24px);grid-template-columns:34px minmax(0,1fr);min-height:122px}.rift-rank-hall-with-quest>.rift-hero-quest .rift-home-action-button{grid-column:2;width:100%;min-width:0;padding:8px 10px}.payments-workbench{align-items:flex-start}.payments-utility-tabs{overflow-x:auto}.payments-done-actions{margin-left:0}}
@media(max-width:560px){.cycle-route>button+button,.cycle-route>button:nth-child(3){border-left:0;border-top:1px solid #21363b}.payments-workbench{display:grid}.payments-utility-tabs{width:100%!important}.payments-utility-tabs button{flex:1}.payments-done-actions{display:grid}.payments-done-actions button{width:100%}}
@media(max-width:460px){.quest-dock{grid-template-columns:minmax(0,1fr) auto}.quest-dock>span i{display:none}.quest-dock>span b{margin-top:0;font-size:12px}.rift-rank-hall-with-quest{min-height:735px}.rift-rank-hall-with-quest .rift-rank-center{padding-bottom:315px}.rift-rank-hall-with-quest .rift-champion-tag{bottom:312px}.rift-rank-hall-with-quest>.rift-hero-quest{bottom:139px;grid-template-columns:minmax(0,1fr);min-height:155px}.rift-rank-hall-with-quest>.rift-hero-quest .rift-home-action-index{display:none}.rift-rank-hall-with-quest>.rift-hero-quest .rift-home-action-copy>p{-webkit-line-clamp:2}.rift-rank-hall-with-quest>.rift-hero-quest .rift-home-action-copy>small{white-space:normal}.rift-rank-hall-with-quest>.rift-hero-quest .rift-home-action-button{grid-column:1}.topbar-actions .guide-open{padding:8px}}

/* Journey command map: four roles, never a fake sequence. */
.rift-command-map-shell{position:relative;overflow:hidden;background:radial-gradient(circle at 50% 0,#0ac8b90d,transparent 36%),linear-gradient(145deg,#0c1920,#071116);border:1px solid #40514a;box-shadow:0 18px 45px #0004}.rift-command-map-shell:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,transparent 49.9%,#c89b3c0d 50%,transparent 50.1%),linear-gradient(0deg,transparent 49.9%,#0ac8b90a 50%,transparent 50.1%)}.rift-command-map-shell>header{position:relative;display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding:18px 20px 16px;border-bottom:1px solid #2d4246}.rift-command-map-shell>header span,.rift-journey-section-head>span,.rift-command-profile>header>div>span{color:#c2a45c;font:700 8px Bahnschrift,monospace;letter-spacing:.14em}.rift-command-map-shell>header h3{margin:4px 0 3px;color:#ebe9e1;font:600 23px Constantia,Georgia,serif}.rift-command-map-shell>header p{max-width:760px;margin:0;color:#7e9294;font-size:10px;line-height:1.5}.rift-command-map-shell>header p b{color:#cbb16f}.rift-command-map-shell>header>strong{flex:0 0 auto;min-width:125px;padding:8px 10px;border-left:2px solid #0ac8b9;background:#0a191d;text-align:right}.rift-command-map-shell>header>strong small,.rift-command-map-shell>header>strong b{display:block}.rift-command-map-shell>header>strong small{color:#6f8588;font:700 7px Bahnschrift,monospace;letter-spacing:.1em}.rift-command-map-shell>header>strong b{margin-top:3px;color:#cfe3df;font:600 15px Constantia,Georgia,serif}
.rift-command-map{position:relative;display:grid;grid-template-columns:repeat(4,1fr);padding:7px}.rift-command-map>button{position:relative;display:grid;grid-template-columns:43px minmax(0,1fr);gap:10px;min-width:0;min-height:112px;padding:13px;background:#081419cc;border:1px solid transparent;color:#87999b;text-align:left;cursor:pointer}.rift-command-map>button+button{margin-left:5px}.rift-command-map>button:hover{background:#0d2025;border-color:#2f494f}.rift-command-map>button:focus-visible{z-index:2;outline:2px solid #e0bd68;outline-offset:-2px}.rift-command-map>button>i{width:43px;height:43px;display:grid;place-items:center;clip-path:polygon(50% 0,92% 22%,92% 76%,50% 100%,8% 76%,8% 22%);background:#213237;color:#879a9c;font:700 12px Bahnschrift,monospace;font-style:normal}.rift-command-map>button>span{min-width:0}.rift-command-map>button small,.rift-command-map>button b,.rift-command-map>button em,.rift-command-map>button u{display:block;overflow:hidden;text-overflow:ellipsis}.rift-command-map>button small{color:#788d8f;font:700 7px Bahnschrift,monospace;letter-spacing:.12em}.rift-command-map>button b{margin-top:3px;color:#d8ded9;font:600 14px Constantia,Georgia,serif}.rift-command-map>button em{margin-top:4px;color:#a78e56;font:700 8px Bahnschrift,monospace;font-style:normal;white-space:nowrap}.rift-command-map>button u{margin-top:7px;color:#657b7e;font-size:8px;line-height:1.35;text-decoration:none}.rift-command-map>button>strong{position:absolute;right:8px;bottom:7px;color:#c8aa5c;font:700 6px Bahnschrift,monospace;letter-spacing:.08em}.rift-command-map>button.recommended{border-color:#5d5030;background:#15170f}.rift-command-map>button.recommended>i{background:#70592b;color:#ffe4a0;box-shadow:0 0 15px #c89b3c45}.rift-command-map>button.active{z-index:1;border-color:#2e837a;background:linear-gradient(120deg,#0d2828,#0a181d);box-shadow:inset 0 -2px #0ac8b9}.rift-command-map>button.active>i{background:#12615c;color:#c8fff9;box-shadow:0 0 17px #0ac8b94d}.rift-command-map>button.active small,.rift-command-map>button.active b{color:#d6eee9}
.rift-journey-panel{outline:none}.rift-journey-panel[hidden]{display:none!important}.rift-journey-section-head{padding:17px 19px 13px;background:#081419;border:1px solid #294047;border-bottom:0}.rift-journey-section-head h3{margin:4px 0 3px;color:#e8e8e0;font:600 22px Constantia,Georgia,serif}.rift-journey-section-head p{max-width:900px;margin:0;color:#788d90;font-size:10px;line-height:1.5}.rift-journey-section-body{display:grid;gap:10px}.rift-journey-section-body>.rift-campaign,.rift-journey-section-body>.rift-build,.rift-journey-section-body>.rift-vision,.rift-journey-section-body>.rift-match-history,.rift-journey-section-body>.rift-mastery-board,.rift-journey-section-body>.rift-runes{margin:0}
.rift-headquarters-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(310px,.65fr);gap:10px}.rift-command-profile{position:relative;overflow:hidden;padding:19px;background:radial-gradient(circle at 82% 15%,color-mix(in srgb,var(--rank-color) 16%,transparent),transparent 28%),linear-gradient(145deg,#0d1b21,#071116);border:1px solid #4b543f}.rift-command-profile:after{content:"EU";position:absolute;right:-8px;bottom:-34px;color:#ffffff05;font:700 145px Constantia,Georgia,serif;pointer-events:none}.rift-command-profile>header{position:relative;z-index:1;display:grid;grid-template-columns:62px minmax(0,1fr);gap:15px;align-items:center}.rift-profile-crest{position:relative;width:58px;height:58px;display:grid;place-items:center;background:linear-gradient(145deg,#c7a34c,#564019);clip-path:polygon(50% 0,93% 24%,93% 76%,50% 100%,7% 76%,7% 24%)}.rift-profile-crest:before{content:"";position:absolute;inset:3px;background:#09171c;clip-path:inherit}.rift-profile-crest i{position:absolute;inset:8px;background:color-mix(in srgb,var(--rank-color) 55%,#13242a);clip-path:inherit}.rift-profile-crest span{position:relative;color:#f0deae;font:700 15px Constantia,Georgia,serif}.rift-command-profile>header h3{margin:4px 0 2px;color:color-mix(in srgb,var(--rank-color) 72%,#fff);font:600 27px Constantia,Georgia,serif;letter-spacing:.04em}.rift-command-profile>header p{margin:0;color:#96a6a6;font-size:10px}.rift-profile-stats{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:17px}.rift-profile-stats>div{min-width:0;padding:10px;background:#071318c7;border:1px solid #253a3f}.rift-profile-stats span,.rift-profile-stats b{display:block;overflow:hidden;text-overflow:ellipsis}.rift-profile-stats span{color:#657d80;font:700 7px Bahnschrift,monospace;letter-spacing:.09em;white-space:nowrap}.rift-profile-stats b{margin-top:5px;color:#d3dad5;font-size:10px;white-space:nowrap}.rift-command-profile>footer{position:relative;z-index:1;margin-top:10px;padding-top:10px;border-top:1px solid #293c40}.rift-command-profile>footer span{color:#bea258;font:700 8px Bahnschrift,monospace;letter-spacing:.08em}.rift-command-profile>footer p{margin:4px 0 0;color:#768b8e;font-size:9px;line-height:1.45}.rift-headquarters-grid>.rift-objective{height:100%}

@media(max-width:1100px){.rift-command-map{grid-template-columns:1fr 1fr}.rift-command-map>button:nth-child(3){margin-left:0}.rift-command-map>button:nth-child(n+3){margin-top:5px}.rift-headquarters-grid{grid-template-columns:1fr}.rift-headquarters-grid>.rift-objective{height:auto}}
@media(max-width:760px){.rift-command-map-shell>header{display:block}.rift-command-map-shell>header>strong{margin-top:10px;text-align:left}.rift-profile-stats{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.rift-command-map{grid-template-columns:1fr}.rift-command-map>button+button,.rift-command-map>button:nth-child(3){margin-left:0}.rift-command-map>button:nth-child(n+2){margin-top:5px}.rift-command-map>button{min-height:96px}.rift-journey-section-head{padding:14px}.rift-command-profile{padding:14px}.rift-command-profile>header{grid-template-columns:52px 1fr}.rift-profile-crest{width:50px;height:50px}.rift-command-profile>header h3{font-size:22px}.rift-profile-stats{grid-template-columns:1fr}.rift-command-map-shell>header{padding:15px}.rift-command-map-shell>header h3{font-size:20px}}

/* Local-first household profile and replaceable visual theme. */
.rift-profile-edit{margin-top:7px;padding:0;background:none;border:0;color:#62beb5;font:700 8px Bahnschrift,monospace;cursor:pointer}.rift-profile-edit:hover{text-decoration:underline}.rift-profile-edit:focus-visible{outline:2px solid #e0bd68;outline-offset:3px}
.finance-profile-dialog{width:min(760px,calc(100vw - 28px));max-height:calc(100vh - 28px);overflow:auto;border-radius:3px}.finance-profile-dialog form{padding:0}.finance-profile-dialog form>header{display:flex;justify-content:space-between;gap:20px;padding:20px 22px 17px;border-bottom:1px solid #31484e}.finance-profile-dialog h2{margin:3px 0 4px;color:#ecebe3;font:600 27px Constantia,Georgia,serif}.finance-profile-dialog header p:not(.eyebrow){max-width:590px;margin:0;color:#829598;font-size:10px;line-height:1.5}.finance-profile-fields{display:grid;grid-template-columns:1.4fr .6fr .6fr;gap:8px;padding:17px 20px 0}.finance-profile-fields label{margin:0;color:#a6b3b1}.finance-profile-fields label>span{font:700 8px Bahnschrift,monospace;letter-spacing:.08em}.finance-profile-fields input{border-radius:2px;background:#071318;border-color:#3a535a}.finance-profile-foundation{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding:13px 20px}.finance-profile-foundation>div{padding:11px;background:#081419;border:1px solid #263b40}.finance-profile-foundation span,.finance-profile-foundation b,.finance-profile-foundation small{display:block}.finance-profile-foundation span,.finance-profile-vault span{color:#b99c56;font:700 7px Bahnschrift,monospace;letter-spacing:.1em}.finance-profile-foundation b,.finance-profile-vault b{margin-top:4px;color:#d8ddd8;font-size:10px}.finance-profile-foundation small,.finance-profile-vault small{margin-top:4px;color:#718588;font-size:8px!important;line-height:1.45}.finance-profile-vault{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 20px;padding:13px 14px;background:#0b1c20;border:1px solid #315056}.finance-profile-vault>div{min-width:0}.finance-profile-vault span,.finance-profile-vault b,.finance-profile-vault small{display:block}.finance-profile-vault button{flex:0 0 auto}.finance-profile-dialog form>footer{display:flex;justify-content:flex-end;gap:8px;padding:15px 20px 20px}
@media(max-width:680px){.finance-profile-fields,.finance-profile-foundation{grid-template-columns:1fr}.finance-profile-vault{display:block}.finance-profile-vault button{width:100%;margin-top:10px}}

/* Confirmed-rank guard: monthly evidence changes the division, live wealth only moves the observation. */
.rift-rank-guard{display:flex;align-items:center;justify-content:center;gap:8px;width:max-content;max-width:100%;margin:7px auto 0;padding:6px 8px;background:#081419d9;border:1px solid #2c454a;text-align:left;text-shadow:none}.rift-rank-guard>i{width:22px;height:22px;display:grid;place-items:center;color:#6ec9c0;font:700 11px Bahnschrift,monospace;font-style:normal}.rift-rank-guard>span{min-width:0}.rift-rank-guard b,.rift-rank-guard small{display:block}.rift-rank-guard b{color:#cbd8d4;font-size:9px}.rift-rank-guard small{margin-top:1px;color:#6f8588;font-size:7px!important;white-space:nowrap}.rift-rank-guard.shield{border-color:#52718a;background:#0c1b27}.rift-rank-guard.shield>i,.rift-rank-guard.shield b{color:#85b5d2}.rift-rank-guard.promotion{border-color:#796331;background:#201b0f}.rift-rank-guard.promotion>i,.rift-rank-guard.promotion b{color:#dfbd68}.rift-rank-guard>button{padding:5px 7px;background:#192930;border:1px solid #536b72;color:#b8c8c6;font:700 7px Bahnschrift,monospace;white-space:nowrap;cursor:pointer}.rift-rank-guard>button:focus-visible{outline:2px solid #e0bd68;outline-offset:2px}
@media(max-width:560px){.rift-rank-guard{width:100%;flex-wrap:wrap}.rift-rank-guard small{white-space:normal}.rift-rank-guard>button{width:100%}}

/* Annual season: one deliberate scoreboard, while rank and monthly systems stay independent. */
.rift-journey-section-body>.rift-season{margin:0}.rift-season{position:relative;overflow:hidden;padding:20px;background:linear-gradient(145deg,#0d1a20,#071116 72%);border:1px solid #40514a;box-shadow:0 15px 36px #0004}.rift-season:before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 12% 0,#c89b3c13,transparent 27%),linear-gradient(90deg,transparent,#0ac8b908 50%,transparent)}
.rift-season-head{position:relative;display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding-bottom:15px;border-bottom:1px solid #304145}.rift-season-head>div>span,.rift-season-review span,.rift-season-facts span{color:#c5a75e;font:700 8px Bahnschrift,monospace;letter-spacing:.13em}.rift-season-head h3{margin:5px 0 3px;color:#efede5;font:600 25px Constantia,Georgia,serif}.rift-season-head p{max-width:780px;margin:0;color:#829598;font-size:10px;line-height:1.55}.rift-season-head>label{flex:0 0 170px;margin:0}.rift-season-head>label>span{display:block;color:#6f8588;font:700 7px Bahnschrift,monospace;letter-spacing:.1em}.rift-season-head select{width:100%;margin-top:5px;padding:7px 9px;background:#071318;border:1px solid #3a535a;color:#dce2dc;font:600 13px Constantia,Georgia,serif}
.rift-season-scoreboard{position:relative;display:grid;grid-template-columns:150px 1fr;gap:9px;margin-top:14px}.rift-season-grade{min-height:132px;display:grid;place-items:center;align-content:center;background:#17180f;border:1px solid #806a35;clip-path:polygon(12% 0,88% 0,100% 14%,100% 86%,88% 100%,12% 100%,0 86%,0 14%);text-align:center}.rift-season-grade>b{color:#e7c76f;font:600 52px Constantia,Georgia,serif;line-height:.9}.rift-season-grade>span{margin-top:5px;color:#d8c388;font:700 10px Bahnschrift,monospace}.rift-season-grade>span small{color:#766a4b}.rift-season-grade>em{margin-top:5px;color:#776d53;font:700 6px Bahnschrift,monospace;font-style:normal;letter-spacing:.12em}.rift-season-grade.unrated{background:#0a171b;border-color:#344b50;clip-path:none}.rift-season-grade.unrated>b{color:#687d80}.rift-season-grade.unrated>span{padding:0 10px;color:#8da0a1;font-size:8px}.rift-season-grade.unrated>em{color:#5e7376}
.rift-season-facts{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}.rift-season-facts article{min-width:0;padding:14px;background:#071318;border:1px solid #263b40}.rift-season-facts span,.rift-season-facts b,.rift-season-facts small{display:block;overflow:hidden;text-overflow:ellipsis}.rift-season-facts span{color:#697f82;white-space:nowrap}.rift-season-facts b{margin-top:7px;color:#dce1dc;font:600 17px Constantia,Georgia,serif;white-space:nowrap}.rift-season-facts b[style]{color:var(--season-rank)}.rift-season-facts b.negative{color:#c87984}.rift-season-facts small{margin-top:4px;color:#687d80;font-size:8px!important;white-space:nowrap}
.rift-season-timeline{display:grid;grid-template-columns:repeat(12,1fr);gap:4px;margin:10px 0 0;padding:0;list-style:none}.rift-season-timeline li{position:relative;min-width:0;padding:8px 3px;background:#071318;border:1px solid #20353a;text-align:center}.rift-season-timeline span,.rift-season-timeline i,.rift-season-timeline small{display:block}.rift-season-timeline span{color:#63797c;font:700 6px Bahnschrift,monospace;letter-spacing:.05em}.rift-season-timeline i{width:22px;height:22px;margin:5px auto 2px;display:grid;place-items:center;border:1px solid #31474c;color:#61777a;font:700 8px Bahnschrift,monospace;font-style:normal}.rift-season-timeline small{min-height:9px;color:#5c7275;font:700 7px Bahnschrift,monospace}.rift-season-timeline li.win{border-color:#22615c;background:#0a211f}.rift-season-timeline li.win i{border-color:#0ac8b9;color:#83ddd4}.rift-season-timeline li.loss{border-color:#5c343d;background:#211317}.rift-season-timeline li.loss i{border-color:#a85b68;color:#d58d98}.rift-season-timeline li.open{border-color:#705d31}.rift-season-timeline li.open i{color:#dfbd68}.rift-season-timeline li.future{opacity:.42}
.rift-season-review{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:8px}.rift-season-review article{padding:10px 12px;background:#0a171b;border-left:2px solid #42646a}.rift-season-review article:last-child{border-left-color:#7c4b54}.rift-season-review span,.rift-season-review b{display:block}.rift-season-review span{color:#70878a}.rift-season-review b{margin-top:4px;color:#cbd4d0;font-size:10px}
.rift-season-goal{margin-top:10px;background:#09161b;border:1px solid #30464b}.rift-season-goal>summary{display:flex;justify-content:space-between;gap:15px;padding:11px 13px;color:#d5ddd8;font:700 9px Bahnschrift,monospace;cursor:pointer}.rift-season-goal>summary small{color:#71878a;font-size:8px!important}.rift-season-goal>form{display:grid;grid-template-columns:1fr 1fr auto;gap:8px;align-items:end;padding:12px;border-top:1px solid #263c41}.rift-season-goal>form>label{margin:0}.rift-season-goal>form>label>span:first-child{display:block;color:#b6c1be;font:700 8px Bahnschrift,monospace}.rift-season-goal>form>label>span:first-child small{display:block;margin-top:3px;color:#657b7e;font-size:7px!important;font-weight:400;line-height:1.35}.rift-season-goal>form>label>span:last-child{display:grid;grid-template-columns:1fr auto;align-items:center;margin-top:6px;background:#071318;border:1px solid #354d53}.rift-season-goal input{width:100%;min-width:0;padding:8px;background:transparent;border:0;color:#e2e5df}.rift-season-goal label i{padding-right:9px;color:#6f8588;font:700 8px Bahnschrift,monospace;font-style:normal}.rift-season-goal button{height:35px;white-space:nowrap}.rift-season-goal-progress{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:0 12px 12px}.rift-season-goal-progress article{padding:9px;background:#071318}.rift-season-goal-progress span,.rift-season-goal-progress small{display:block}.rift-season-goal-progress span{color:#a68f56;font:700 7px Bahnschrift,monospace}.rift-season-goal-progress article>i{display:block;height:5px;margin:6px 0;background:#21353a;overflow:hidden}.rift-season-goal-progress u{display:block;height:100%;background:linear-gradient(90deg,#75602f,#c89b3c);text-decoration:none}.rift-season-goal-progress small{color:#657b7e;font-size:7px!important}.rift-season-explain{margin-top:8px}
@media(max-width:900px){.rift-season-scoreboard{grid-template-columns:120px 1fr}.rift-season-timeline{grid-template-columns:repeat(6,1fr)}.rift-season-goal>form{grid-template-columns:1fr 1fr}.rift-season-goal button{grid-column:1/-1}}
@media(max-width:620px){.rift-season{padding:14px}.rift-season-head{display:block}.rift-season-head>label{margin-top:11px}.rift-season-scoreboard{grid-template-columns:1fr}.rift-season-grade{min-height:105px;clip-path:none}.rift-season-grade>b{font-size:40px}.rift-season-facts,.rift-season-review,.rift-season-goal>form,.rift-season-goal-progress{grid-template-columns:1fr}.rift-season-goal button{grid-column:auto}.rift-season-timeline{grid-template-columns:repeat(4,1fr)}.rift-season-goal>summary{display:block}.rift-season-goal>summary small{display:block;margin-top:3px}}

/* Evidence-based Challenges: profile flair only, never a hidden finance score. */
.rift-profile-honor{display:flex;align-items:center;gap:8px;margin-top:7px}.rift-profile-honor>b{color:#d9bc70;font:600 12px Constantia,Georgia,serif}.rift-profile-honor>small{padding-left:8px;border-left:1px solid #4a4937;color:#6f8588;font:700 7px Bahnschrift,monospace;letter-spacing:.08em}
.rift-challenges{background:#09161b;border:1px solid #30464b}.rift-challenges>summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 14px;cursor:pointer}.rift-challenges>summary>span{display:grid;grid-template-columns:35px 1fr;grid-template-rows:auto auto;gap:1px 10px;align-items:center}.rift-challenges>summary>span>i{grid-row:1/3;width:35px;height:35px;display:grid;place-items:center;clip-path:polygon(50% 0,92% 22%,92% 76%,50% 100%,8% 76%,8% 22%);background:#604e27;color:#f0d68a;font:700 10px Bahnschrift,monospace;font-style:normal}.rift-challenges>summary b{color:#dce1dc;font:600 14px Constantia,Georgia,serif}.rift-challenges>summary small{color:#6d8386;font-size:8px!important}.rift-challenges>summary>strong{color:#9a895d;font:700 8px Bahnschrift,monospace;letter-spacing:.08em}.rift-challenges[open]>summary{border-bottom:1px solid #30464b}.rift-challenges>div{padding:14px}.rift-challenges>div>header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.rift-challenges>div>header>div>span{color:#c5a75e;font:700 8px Bahnschrift,monospace;letter-spacing:.13em}.rift-challenges h3{margin:4px 0 3px;color:#ebe9e1;font:600 21px Constantia,Georgia,serif}.rift-challenges header p{max-width:760px;margin:0;color:#748a8d;font-size:9px;line-height:1.5}.rift-challenges>div>header>strong{flex:0 0 150px;text-align:right}.rift-challenges>div>header>strong>b,.rift-challenges>div>header>strong>span,.rift-challenges>div>header>strong>i{display:block}.rift-challenges>div>header>strong>b{color:#e0bd68;font:600 20px Constantia,Georgia,serif}.rift-challenges>div>header>strong>span{margin-top:2px;color:#6f8588;font:700 7px Bahnschrift,monospace}.rift-challenges>div>header>strong>i{height:4px;margin-top:7px;background:#21353a;overflow:hidden}.rift-challenges>div>header>strong u{display:block;height:100%;background:#c89b3c;text-decoration:none}
.rift-challenge-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:12px}.rift-challenge-grid article{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:9px;align-items:center;min-width:0;padding:9px;background:#071318;border:1px solid #253a3f}.rift-challenge-grid article>i{width:36px;height:36px;display:grid;place-items:center;border:1px solid #3e555a;color:#71878a;font:700 9px Bahnschrift,monospace;font-style:normal}.rift-challenge-grid article>span{min-width:0}.rift-challenge-grid b,.rift-challenge-grid small,.rift-challenge-grid em{display:block;overflow:hidden;text-overflow:ellipsis}.rift-challenge-grid b{color:#a9b6b4;font-size:10px;white-space:nowrap}.rift-challenge-grid small{margin-top:2px;color:#62777a;font-size:7px!important;line-height:1.35}.rift-challenge-grid em{margin-top:4px;color:#596d70;font:700 6px Bahnschrift,monospace;font-style:normal;white-space:nowrap}.rift-challenge-grid article.unlocked{border-color:#5d5132;background:#13170f}.rift-challenge-grid article.unlocked>i{border-color:#8a7134;background:#292111;color:#e0bd68;box-shadow:inset 0 0 13px #c89b3c1c}.rift-challenge-grid article.unlocked b{color:#dbc783}.rift-challenge-grid article.selected{border-color:#0a9d91;background:#0b211e}.rift-challenge-grid button{padding:6px;background:#18282c;border:1px solid #486168;color:#aebdbb;font:700 7px Bahnschrift,monospace;cursor:pointer}.rift-challenge-grid button:disabled{border-color:#0a8c82;background:#123b37;color:#8bd1ca;cursor:default}.rift-challenge-grid article>u{color:#4f6366;font:700 6px Bahnschrift,monospace;text-decoration:none;letter-spacing:.07em}.rift-challenges>div>footer{margin-top:10px;padding-top:9px;border-top:1px solid #263a3f;color:#61777a;font-size:8px;line-height:1.5}
@media(max-width:1050px){.rift-challenge-grid{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.rift-challenges>div>header{display:block}.rift-challenges>div>header>strong{margin-top:10px;text-align:left}.rift-challenge-grid{grid-template-columns:1fr}.rift-challenges>summary>strong{display:none}.rift-challenge-grid article{grid-template-columns:36px minmax(0,1fr)}.rift-challenge-grid button,.rift-challenge-grid article>u{grid-column:2;width:max-content}.rift-profile-honor{display:block}.rift-profile-honor>small{display:block;margin-top:3px;padding-left:0;border:0}}
.rift-season :focus-visible,.rift-challenges :focus-visible{outline:2px solid #e0bd68;outline-offset:2px}

/* Workflow-first information architecture: one question per screen. */
.ux-section-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:5px;margin:0 0 10px;padding:6px;background:#071216;border:1px solid #294047}.ux-section-tabs>button{min-width:0;padding:12px 13px;background:#09161b;border:1px solid transparent;color:#71878a;text-align:left;cursor:pointer}.ux-section-tabs>button b,.ux-section-tabs>button small{display:block}.ux-section-tabs>button{font:600 14px Constantia,Georgia,serif}.ux-section-tabs>button small{margin-top:4px;color:#5f7578;font:700 7px Bahnschrift,monospace;letter-spacing:.06em}.ux-section-tabs>button:hover{background:#0d2025;border-color:#2d474d}.ux-section-tabs>button.active{background:linear-gradient(110deg,#102824,#0b191d);border-color:#29847b;color:#d9e9e5;box-shadow:inset 0 -2px #0ac8b9}.ux-section-tabs>button.active small{color:#79aaa6}.ux-section-tabs>button:focus-visible{outline:2px solid #e0bd68;outline-offset:-2px}.ux-workspace-pane{display:block;outline:none}.ux-workspace-pane[hidden]{display:none!important}.ux-workspace-pane>.rift-overview{margin:0}.results-detail-stack{display:grid;gap:10px}.results-detail-stack>*{margin:0!important}.rift-headquarters-grid.solo{grid-template-columns:1fr}.rift-headquarters-grid.solo .rift-command-profile{min-height:0}
#overview>.rift-overview,#overview>#homeOperations{margin-inline:0}#overview>#homeOperations:empty{display:none}.rift-journey-section-body>.rift-runes{margin:0}.ux-workspace-pane .planning-workspace{margin-top:10px}
.finance-base .base-compact{display:grid;grid-template-columns:minmax(220px,1.25fr) repeat(2,minmax(160px,.8fr)) auto;gap:7px;margin-top:15px}.finance-base .base-compact>article{min-width:0;padding:13px 14px;background:#071318d9;border:1px solid #263d43}.finance-base .base-compact span,.finance-base .base-compact strong,.finance-base .base-compact small{display:block;overflow:hidden;text-overflow:ellipsis}.finance-base .base-compact span{color:#6f8588;font:700 7px Bahnschrift,monospace;letter-spacing:.09em;white-space:nowrap}.finance-base .base-compact strong{margin-top:6px;color:#d7ded9;font:600 18px Constantia,Georgia,serif;white-space:nowrap}.finance-base .base-compact small{margin-top:4px;color:#6c8184;font-size:8px!important;white-space:nowrap}.finance-base .base-compact-primary{border-left:2px solid var(--base-state)!important}.finance-base .base-compact-primary strong{color:var(--base-state)}.finance-base .base-compact .needs-attention{border-color:#6e5830;background:#1c190f}.finance-base .base-compact .needs-attention strong{color:#dfbd68}.finance-base .base-compact>button{align-self:stretch;margin:0;padding-inline:14px;white-space:nowrap}.finance-cockpit.finance-base{padding:18px 20px}.finance-base .base-head h2{font-size:clamp(20px,2.2vw,28px)}.finance-base .base-head p:not(.eyebrow){margin-top:6px;font-size:9px}
.cycle-route.cycle-route-five{grid-template-columns:repeat(5,minmax(160px,1fr));overflow-x:auto}.cycle-route-five>button{min-width:160px;padding:12px}.cycle-route-five>button b{font-size:9px}.cycle-route-five>button small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.guide-loop-five article.waiting{opacity:.52}.guide-loop-five button:disabled{cursor:not-allowed}
.monthly-cycle.cycle-sources-complete .cycle-sources{display:none}.monthly-cycle:not(.cycle-show-result) .cycle-live{display:none}.monthly-cycle.cycle-sources-complete:not(.cycle-show-result) .cycle-board{display:none}.monthly-cycle.cycle-show-result .cycle-board{grid-template-columns:1fr}.monthly-cycle.cycle-show-result .cycle-live{max-width:850px;width:100%;margin:auto}
@media(max-width:900px){.cycle-route.cycle-route-five{grid-template-columns:repeat(5,minmax(170px,1fr))}.cycle-route-five>button:nth-child(n){border-top:0}.cycle-route-five>button+button{border-left:1px solid #21363b}.finance-base .base-compact{grid-template-columns:1fr 1fr}.finance-base .base-compact>button{grid-column:1/-1}.ux-section-tabs{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.ux-section-tabs{display:flex;overflow-x:auto}.ux-section-tabs>button{flex:0 0 150px}.finance-base .base-head-actions{align-items:stretch}.finance-base .base-compact{grid-template-columns:1fr}.finance-base .base-compact>button{grid-column:auto}.finance-base .base-compact small{white-space:normal}.section-intro{margin-bottom:15px}}

/* Unified V2 dark skin. Feature styles are inserted before this sheet so that
   operational screens cannot fall back to the former white daylight surfaces. */
:root{
  color-scheme:dark;
  --bg:#050b0f;
  --sidebar:#071117;
  --panel:#0b171d;
  --raised:#102129;
  --line:#294047;
  --line-strong:#45626a;
  --text:#eef3f1;
  --muted:#9aa9aa;
  --purple:#5e75b8;
  --pink:#b75e68;
  --aqua:#0ac8b9;
  --yellow:#c89b3c;
  --danger:#d85c5c;
  --success-bg:#0c2825;
  --warning-bg:#2a2111;
  --danger-bg:#291417
}
body{font-size:17px;color:var(--text)}
button,input,select,textarea{color-scheme:dark}
input,select,textarea{
  background:#08161b;
  color:var(--text);
  border-color:#3a535b
}
input::placeholder,textarea::placeholder{color:#718486}
option{background:#08161b;color:var(--text)}
.secondary,.cockpit-settings,.month-filter button,.owner-filter,.merchant-search,.close-month{
  background:#0e1c22;
  color:var(--text);
  border-color:#3a535b
}
.secondary:hover,.cockpit-settings:hover{background:#14272f;border-color:#57717a}

dialog,dialog form{
  background:#0b171d;
  color:var(--text)
}
dialog{border-color:#3a535b;box-shadow:0 35px 105px #000b}
dialog::backdrop{background:#020607d9;backdrop-filter:blur(6px)}
.dialog-head h2,.app-guide-head h2,.gateway-head h2,.rule-dialog-head h2,.close-header h2,.close-stage-head h3,.close-receipt h3{
  color:#f0eee6;
  font-family:Constantia,"Palatino Linotype",Georgia,serif
}

/* Balance sheet and planning: the same obsidian, teal and gold material system. */
.balance-hero{
  background:radial-gradient(circle at 12% 40%,#0ac8b912,transparent 30%),linear-gradient(125deg,#0d2429,#081419 64%,#111a17);
  border-color:#35565b
}
.balance-equation>div,.liquidity-card,.history-card,.strategy-facts>div,.strategy-roadmap{
  background:#08161b;
  border-color:#294047;
  box-shadow:none
}
.balance-equation .result{background:#10262c;border-color:#37616a}
.balance-hero>div:first-child>span{color:#87a0a1}
.liquidity-card header>b{background:#10332f;color:#66cfc1}
.liquidity-card>div,.history-bars>div,.strategy-track{background:#1d3036}
.record-kind{background:#10332f;color:#68d3c5}
.record-kind.debt{background:#32191e;color:#e5838d}
.strategy-next{background:linear-gradient(110deg,#0e2a29,#0a181c);border-color:#32635d}
.strategy-roadmap>article>i{background:#102027;border-color:#3a535b;color:#8fa1a2}
.strategy-roadmap>article.done>i{background:#0e4a43;border-color:#288a7e;color:#b7f0e8}
.strategy-roadmap>article.current>i{background:#8d6d2b;border-color:#d0ac54;color:#fff2c8;box-shadow:0 0 0 6px #c89b3c16}

/* Monthly close and review states. */
.close-steps,.close-kpis>div,.unclassified-row,.allocation-left,.next-plan-total,
.allocation-grid label,.next-budget-grid label,.deficit-actions>div,.receipt-decisions>div{
  background:#08161b;
  border-color:#294047
}
.close-steps{border-color:#294047}
.close-steps button i{background:#102027;border-color:#45626a;color:#9aa9aa}
.close-steps button.current i{background:#0e4a43;border-color:#2b8d83;color:#bdf3ec}
.close-steps button.done i{background:#2a2111;border-color:#7c6330;color:#e0bd68}
.close-kpis>div.result,.close-insight,.close-plan-note,.close-review-score.complete,.close-complete{
  background:#0c2825;
  border-color:#2d5b54
}
.close-kpis>div.negative{background:#291417}
.close-insight.warning,.close-review-score{background:#2a2111;border-color:#705b2e}
.close-review-group h4 b{background:#17282e;color:#aab9b9}
.unclassified-row select,.classification-actions .secondary{background:#071318;border-color:#385159;color:var(--text)}
.close-anomaly>i,.deficit-actions i{background:#32191e;color:#e5838d}

/* Import workspace, including the account-first and batch-import additions. */
.gateway-head,.gateway-drop,.gateway-summary>div,.gateway-row,.gateway-actions,
.gateway-batch-board,.gateway-account-setup,.gateway-quality{
  background:#0b171d;
  color:var(--text);
  border-color:#314850
}
.gateway-body{background:#071217}
.gateway-drop:hover{background:#102128}
.gateway-drop.locked,.gateway-drop.locked:hover{background:#0a1216;border-color:#30464c}
.gateway-drop>i,.gateway-step-index{background:#10332f;border-color:#32645e;color:#68d3c5}
.gateway-summary>div.auto,.gateway-bank-check,.gateway-internal-note{
  background:#0c2825;
  border-color:#2d5b54;
  color:#94d8cf
}
.gateway-summary>div.review,.gateway-message,.gateway-warning,.gateway-bank-check.blocked,
.gateway-batch-board article.blocked,.gateway-account-list article.incomplete{
  background:#2a2111;
  border-color:#705b2e;
  color:#e0c37c
}
.gateway-batch-board article,.gateway-account-list article{
  background:#08161b;
  border-color:#294047
}
.gateway-batch-board article>i,.gateway-account-list article>i,.gateway-account-setup>footer>i{
  background:#123a35;
  color:#68d3c5
}
.gateway-account-setup>footer{color:#6fc7bc}
.gateway-account-setup.attention>footer{color:#d8b867}
.gateway-file-status{background:#10332f;color:#7fd3c7}
.gateway-bank-check>i{background:#123a35;color:#68d3c5}
.gateway-bank-check.blocked>i,.gateway-batch-board article.blocked>i,
.gateway-batch-board article.blocked .gateway-file-status,.gateway-account-list article.incomplete>i{
  background:#4b3817;
  color:#e8c46e
}
.gateway-preview-head b i{background:#12302d;color:#62c8bd}
.gateway-quality-track{background:#142b31;box-shadow:inset 0 0 0 1px #29434b}
.gateway-row.needs-review,.gateway-row.unknown{background:#211e15}
.gateway-row.suggested{background:#171625}
.gateway-row.duplicate{background:#0a1216}
.gateway-actions{box-shadow:0 -10px 25px #0005}

/* Merchant automation and rule editor. */
.rules-summary>div,.recipient-directory,.automation-rules,.recipient-list>button,
.rule-dialog-body,.rule-switch,.rule-builder>section,.rule-dialog-actions{
  background:#0b171d;
  color:var(--text);
  border-color:#294047
}
.rules-summary>div:nth-child(2),.apply-history,.rule-impact{
  background:#10262c;
  border-color:#37616a
}
.recipient-directory>header,.automation-rules>header{background:#08161b;border-color:#294047}
.recipient-list>button:hover{background:#102128}
.recipient-list>button>i,.rule-card>i{background:#2a2111;color:#e0bd68}
.recipient-list>button>i.known,.rule-builder>section>header>i{background:#10332f;color:#68d3c5}
.rule-builder>section:last-child>header>i{background:#17243a;color:#8fa9dd}
#prImpactSamples{border-color:#294a4e}
#prImpactSamples>div{border-color:#294a4e}

/* In-app guide uses dark command cards instead of a white document sheet. */
.app-guide-body{background:#071217}
.guide-now{
  background:linear-gradient(110deg,#0d2a29,#0a181c);
  border-color:#32635d
}
.guide-status>div,.guide-section,.guide-rules-help article,.guide-faq{
  background:#0b171d;
  border-color:#294047
}
.guide-loop:before{background:#365159}
.guide-loop article>i{background:#102027;border-color:#45626a;color:#91a3a4}
.guide-loop article.done>i{background:#0e4a43;border-color:#288a7e;color:#b7f0e8}
.guide-rules-help article i{background:#10332f;color:#68d3c5}
.guide-rules-help aside{background:#2a2111;color:#e0c37c}
.guide-faq summary:hover{background:#102128}

@media(max-width:680px){
  body{font-size:16px}
}
