/* Riftwise local UX study. Compact workbench, restrained emphasis, readable detail. */
:root{--bg:#101317;--panel:#181d23;--line:#30363e;--text:#eef1f4;--muted:#a2abb6;--mint:#a5e0c1;--gold:#dfc28c}
body{font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;background:var(--bg);color:var(--text)}
button,input,select{font-family:inherit}button:disabled{opacity:.5;cursor:not-allowed}a{color:var(--mint)}
.skip-link{position:fixed;top:-80px;left:20px;z-index:100;background:var(--mint);color:#15251d;padding:10px}.skip-link:focus{top:8px}
.ux-shell>header,.guide-page>header{height:64px;padding:0 28px;background:#15191e;gap:36px;border-bottom:1px solid var(--line)}
.ux-shell .brand,.guide-page .brand{font:750 23px inherit;letter-spacing:-.7px;gap:8px;white-space:nowrap}.mark{transform:none;border-radius:4px;background:#d4e4db;color:#16251c}
.ux-shell .page-nav{align-self:stretch;align-items:stretch;gap:24px;border:0;padding:0;margin:0;flex:1}
.ux-shell .page-nav button,.ux-shell .page-nav a{display:flex;align-items:center;border:0;border-bottom:2px solid transparent;border-radius:0;background:none!important;color:var(--muted);font-size:14px;padding:0 2px;text-decoration:none;font-weight:600;white-space:nowrap}
.ux-shell .page-nav button[aria-current=page]{border-bottom-color:var(--mint);color:var(--text)}
.ux-shell .header-right{gap:14px;font-size:12px}.ux-shell .language-control select{background:transparent;border:0;padding:6px}
.ux-shell main{max-width:1540px;padding:22px 28px 32px}
.ux-shell .heading{margin-bottom:16px;align-items:center}.ux-shell .heading h1{font:650 25px inherit;letter-spacing:-.7px;line-height:1.2}
.ux-shell .heading p{font-size:13px;color:var(--muted);margin:7px 0 0}.ux-shell .heading .eyebrow{display:none}
.session-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.ux-shell .quiet{border-radius:5px;border-color:var(--line);padding:8px 10px;font-size:12px;line-height:1.3}.session-actions #example{border-color:transparent;color:var(--muted)}
.ux-shell .mode-row{margin:0 0 12px;font-size:12px}.ux-shell .mode-switch{background:none;padding:0;border:0;gap:6px}.ux-shell .mode-switch span{padding:7px 12px;border:1px solid var(--line);border-radius:4px;font-size:12px}.ux-shell .mode-switch input:checked+span{background:#2a3932;color:var(--text);border-color:#56705e}
.ux-shell .live-link{background:none;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:0 0 12px;margin:0 0 16px}
.ux-shell #live-link>.build-tabs{gap:8px}.ux-shell .build-tabs button{padding:7px 12px;border-radius:4px;font-size:13px}.ux-shell .build-tabs button[aria-pressed=true]{color:var(--text);background:#2b333c;border-color:#4b5663}
.ux-shell .workspace{grid-template-columns:minmax(240px,.9fr) minmax(370px,1.4fr) minmax(280px,1fr);gap:16px;align-items:start}
.ux-shell .panel{padding:16px;border-radius:6px;background:var(--panel);border:1px solid var(--line);box-shadow:none}
.ux-shell .advice{border-top:2px solid #a5e0c1;background:#1b2322;position:static}
.ux-shell .section-title h2{font:650 14px inherit;letter-spacing:.1px}.ux-shell .section-title{margin-bottom:16px}.ux-shell .section-title .muted{font-size:11px}
.ux-shell .champion-main{background:#222830;border:1px solid #404a56;border-radius:5px;min-height:64px;font-size:14px}.ux-shell .champion-main strong{font-size:17px}.ux-shell .champion-main small{font-size:11px}
.ux-shell select,.ux-shell .gold-input{background:#10151a;border-color:#39424c;border-radius:4px}.ux-shell .field{font-size:12px;margin-top:14px}.ux-shell select{font-size:13px;min-height:36px}
.ux-shell .inventory{gap:5px}.ux-shell .inventory .slot{min-height:34px;max-height:52px;border-radius:4px;background:#10151a}.ux-shell .gold-input input{font-size:17px}
.ux-shell .tip{font-size:12px;line-height:1.5;margin-top:12px;color:#a2abb6}
.advice-context{font-size:11px;font-weight:650;letter-spacing:.8px;text-transform:uppercase;padding:0 0 14px;color:#b4c9bc}
.ux-shell .rec-label{font-size:10px;color:#a5c4b1;letter-spacing:1px;margin:0 0 12px}.ux-shell .rec-top{gap:12px}.primary-item{padding:0;border:0;background:none;border-radius:5px;cursor:pointer}.ux-shell .rec-top img{width:52px;height:52px;border-color:#557563}.ux-shell .rec-top h3{font-size:23px;letter-spacing:-.5px;margin:0 0 7px}.ux-shell .price{font-size:13px}.ux-shell .reason{font-size:14px;line-height:1.6;margin:16px 0}.ux-shell .tag{background:#2d3a34;color:#c1d5c8;font-size:11px;border-radius:3px}.ux-shell .buy{background:#c4e6d1;color:#18251e;font-size:13px;min-height:38px;border-radius:4px;margin-top:12px}.ux-shell .buy:disabled{background:#333e39;color:#a8bab0;opacity:1}
.ux-shell .component{background:#26302b;padding:10px;border-radius:4px;line-height:1.5}
.more-options{margin-top:14px;border-top:1px solid #3c4943;padding-top:12px}.more-options summary,.advisor-matchup-details summary,.library-matchups summary{font-size:13px;color:#c8d4cd;cursor:pointer;padding:4px 0}
.ux-shell .counter-picks{margin:16px 0 0;padding-top:14px;border-top-color:#3c4943}.ux-shell .counter-picks h3{font-size:13px;color:var(--text)}.ux-shell .counter-picks .section-note{font-size:12px;margin-top:8px}.ux-shell .counter-pick{padding:8px 0;margin:0;gap:10px}.ux-shell .counter-pick strong{font-size:13px}.ux-shell .counter-pick small{font-size:11px}.ux-shell .counter-pick p{font-size:12px;line-height:1.5;color:#b2bfb7}
.ux-shell .advice-footer{font-size:11px;line-height:1.5;color:#a9b6ae}.ux-shell .advisor-matchup-details{margin-top:12px;padding-top:10px}
.ux-shell .empty{padding:24px 10px;text-align:left}.ux-shell .empty-icon{font-size:28px;color:var(--mint)}.ux-shell .empty h3{font-size:24px;letter-spacing:-.5px;margin:14px 0 8px}.ux-shell .empty p{font-size:14px;line-height:1.6}.empty-steps{display:flex;flex-direction:column;gap:12px;font-size:12px;margin-top:26px;color:#b6c4bc}
.ux-shell .enemy{padding:10px 0}.ux-shell .enemy-champ img,.ux-shell .avatar-empty{width:34px;height:34px;border-radius:4px}.ux-shell .enemy-champ strong{font-size:13px}.ux-shell .enemy-champ small{font-size:10px;letter-spacing:.6px}.ux-shell .enemy-items{margin-left:44px;gap:4px}.ux-shell .threat{padding:5px 7px;font-size:10px;min-height:28px}.ux-shell .remove-champ{min-width:24px;min-height:28px}.ux-shell .enemies .section-note{font-size:12px;line-height:1.5}.ux-shell .comp{background:none;border:0;border-top:1px solid var(--line);padding:12px 0 0;color:#aab3bd}
.ux-shell .editorial-nav{margin-top:32px;margin-bottom:14px;font-size:12px}.ux-shell .editorial-intro{border:0;padding:0;margin:0;max-width:860px;font-size:14px;color:var(--muted)}.ux-shell .editorial-intro h2{font-size:16px;color:var(--text)}
.live-short{display:flex;flex-direction:column;gap:5px;margin:16px 0 10px;font-size:14px}.live-short span{font-size:12px;color:var(--muted)}.ux-shell [data-live-instructions]{border-top:1px solid var(--line);margin-top:14px;padding-top:4px}.ux-shell [data-live-instructions] summary{font-size:13px}.ux-shell [data-live-instructions] p{font-size:14px}.ux-shell [data-live-connect]{background:var(--mint);color:#14251b;border-color:transparent;font-weight:650}
.demo-notice{display:flex;align-items:center;gap:14px;border:1px solid #7a6748;background:#28231c;padding:10px 12px;margin-bottom:14px;border-radius:4px;font-size:12px}.demo-notice strong{color:#e6ce9e}.demo-notice span{color:#c7bba7}.demo-notice button{margin-left:auto}
.ux-shell.live-focus .live-short,.ux-shell.live-focus #preview-live,.ux-shell.live-focus .session-actions,.ux-shell.live-focus .heading{display:none}.ux-shell.demo-live #live-link{display:none}.ux-shell.demo-live .buy{display:none}.ux-shell.demo-live .workspace button:disabled{opacity:1}.ux-shell.live-focus>header{height:54px}.ux-shell.live-focus main{padding-top:12px}.ux-shell.live-focus .advice{position:static}
.ux-shell.live-focus .counter-pick p{display:block}.ux-shell.live-focus .more-options{margin-top:10px}
.ux-shell.library-view .mode-row{border-bottom:1px solid var(--line);padding-bottom:14px}
.ux-shell .library-heading{margin:18px 0 16px}.ux-shell .library-heading h1{font-size:28px;letter-spacing:-.7px}.ux-shell .library-heading .eyebrow{font-size:10px;letter-spacing:1px;color:var(--muted)}.ux-shell .library-heading p{font-size:14px}
.ux-shell .library-toolbar{margin:16px 0 12px}.ux-shell .library-toolbar .search{max-width:520px;background:#191f26;padding:12px;border-color:#4b5663}.ux-shell .library-toolbar span{font-size:12px}
.library-filters{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 22px}.library-filters button{background:none;border:1px solid var(--line);color:var(--muted);padding:8px 14px;border-radius:4px;font-size:13px}.library-filters button[aria-pressed=true]{background:#2c3932;color:var(--text);border-color:#607a68}
.ux-shell .champion-grid{grid-template-columns:repeat(auto-fill,minmax(142px,1fr));gap:8px}.ux-shell .champion-card{display:grid;grid-template-columns:42px 1fr;gap:4px 10px;padding:10px;text-align:left;border-radius:4px;background:#191e24;align-items:center}.ux-shell .champion-card img{width:42px;height:42px;grid-row:1/3;border-radius:3px}.ux-shell .champion-card strong{font-size:13px;margin:0}.ux-shell .champion-card span{font-size:10px}.ux-shell .champion-card:hover{transform:none;background:#242d32}
.ux-shell .champion-hero{margin:18px 0 12px;gap:14px}.ux-shell .champion-hero img{border-radius:5px}.ux-shell .champion-hero h1{font-size:30px}.ux-shell .champion-hero p{font-size:13px}.ux-shell .champion-hero .eyebrow{font-size:10px;letter-spacing:1px}
.champion-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:12px 0 18px}.ux-shell .champion-actions .buy{width:auto;margin:0;padding:9px 14px;min-height:34px}.ux-shell .champion-actions .quiet{min-height:34px}
.ux-shell .library-build-controls{max-width:600px;margin:12px 0}.ux-shell .library-build-controls .field{margin:0}
.ux-shell .source-strip{background:#191e24;border:1px solid var(--line);border-radius:4px;padding:10px 12px;margin:14px 0;font-size:11px;gap:6px 14px;justify-content:flex-start;align-items:center}.ux-shell .source-strip>p{width:auto;font-size:11px}.source-strip .patch-freshness:empty{display:none}
.ux-shell .build-panel{padding:18px;border-radius:6px;background:var(--panel)}.ux-shell .primary-build-route{border-bottom:1px solid var(--line);padding-bottom:4px;margin-bottom:18px}.ux-shell .build-order{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.ux-shell .build-item{min-height:100px;background:#12171c;border-color:#303a43;padding:22px 8px 10px;gap:8px}.ux-shell .build-item img{width:40px;height:40px}.ux-shell .build-item span{font-size:12px}.ux-shell .start-items .build-item{min-height:82px;padding-top:12px}.ux-shell .build-explainer{font-size:12px}.library-matchups{border:1px solid var(--line);border-radius:5px;padding:12px 16px;margin:14px 0}.library-matchups .matchup-panel{border:0;padding:0;background:none;margin-top:12px}
.ux-shell dialog{border-radius:8px;border-color:#45515b;background:#191f26}.ux-shell .results{grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}.ux-shell .pick{background:#222a33;border-radius:4px}.ux-shell .pick:hover{background:#2f3e37}.ux-shell .pick img{width:44px;height:44px}.ux-shell .search{border-color:#46535f;border-radius:4px}
.guide-page main{max-width:1120px}.guide-page .editorial-page{max-width:920px}.guide-page .editorial-nav{margin-bottom:24px}.guide-page .guide-quick{background:#191f24;padding:18px;border:1px solid var(--line);border-radius:5px}.guide-page .guide-heading h1{font-family:inherit;font-size:30px}.guide-page .guide-order strong{font-size:14px}.guide-page .guide-grid a{padding:16px 0}.guide-search{width:100%;max-width:480px;padding:12px;border:1px solid #46535f;border-radius:4px;background:#191f26;color:var(--text);font:inherit;margin:10px 0 18px}.guide-page .editorial-page h2{font-family:inherit;font-size:19px}.guide-page .editorial-page{font-size:16px;line-height:1.65}
@media(min-width:1101px){.ux-shell.library-view #champion-library{max-width:1160px;margin:auto}}
@media(max-width:1100px) and (min-width:701px){.ux-shell .workspace{grid-template-columns:minmax(230px,.8fr) minmax(350px,1.2fr)}.ux-shell .enemies{grid-column:1/-1;grid-row:2}.ux-shell #enemies{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.ux-shell .enemy-top{flex-wrap:wrap}.ux-shell .enemy-champ{flex-basis:100%}.ux-shell .enemy-items{margin-left:0}.ux-shell .header-right #mode-name,.ux-shell .header-right .divider{display:none}.ux-shell .session-actions{max-width:300px;justify-content:flex-end}}
@media(max-width:700px){.ux-shell>header,.guide-page>header{height:auto;min-height:64px;flex-wrap:wrap;padding:12px 16px;gap:12px}.ux-shell .brand{font-size:21px}.ux-shell .page-nav{order:3;flex-basis:100%;height:38px;gap:24px}.ux-shell .header-right{margin-left:auto}.ux-shell .heading{align-items:flex-start;flex-direction:column;gap:12px}.ux-shell main{padding:18px 14px}.ux-shell .session-actions{gap:4px}.ux-shell .session-actions .quiet{min-height:36px}.ux-shell .workspace{display:flex;gap:12px}.ux-shell .advice{order:0}.ux-shell .enemies{order:1}.ux-shell.live-focus .advice{order:-1}.ux-shell .panel{padding:14px}.ux-shell #enemies{display:block}.ux-shell .enemy-top{flex-wrap:nowrap}.ux-shell .enemy-champ{flex-basis:auto}.ux-shell .inventory .slot{min-height:38px}.ux-shell .champion-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ux-shell .build-order{grid-template-columns:repeat(3,minmax(0,1fr))}.ux-shell .results{grid-template-columns:repeat(3,minmax(0,1fr))}.ux-shell .library-toolbar{gap:8px}.ux-shell .library-toolbar input{min-width:0}.ux-shell .champion-actions .buy{order:-1;width:100%}.demo-notice{flex-wrap:wrap;gap:8px}.demo-notice span{flex-basis:100%}.demo-notice button{margin-left:0}.ux-shell.live-focus>header{height:auto}.guide-page main{padding:16px}.guide-page .guide-heading h1{font-size:26px}.guide-page .guide-quick{padding:12px}.guide-page .guide-order{grid-template-columns:1fr}.ux-shell .mode-row #mode-description{font-size:11px}}
.ux-shell .heading h1,.ux-shell .section-title h2{font-family:inherit;font-weight:650}.ux-shell .heading h1{font-size:25px}
.ux-shell .brand,.guide-page .brand{font-family:inherit;font-weight:750;font-size:23px}
.workbench-controls{display:flex;gap:24px;align-items:flex-start;flex-wrap:wrap;border-bottom:1px solid var(--line);margin-bottom:16px;padding-bottom:10px}
.ux-shell .workbench-controls .mode-row{margin:0;min-height:34px}.ux-shell .workbench-controls #mode-description{display:none}.ux-shell .workbench-controls #status:empty{display:none}
.ux-shell .workbench-controls #live-link{flex:1;min-width:300px;margin:0;padding:0;border:0}
.ux-shell .workbench-controls #status:not(:empty){flex-basis:100%;order:5;margin:0;font-size:13px}
.ux-shell.library-view .workbench-controls{padding-bottom:10px;margin-bottom:14px}.ux-shell.library-view .mode-row{border:0;padding:0}
.ux-shell .library-queue{display:inline-flex;vertical-align:middle;margin:0 16px 10px 0}.ux-shell [data-library-back]{vertical-align:middle;margin-bottom:10px}
.champion-overview{display:grid;grid-template-columns:1fr minmax(300px,500px);column-gap:24px;align-items:center}
.ux-shell .champion-overview .champion-hero{margin:8px 0}.ux-shell .champion-overview .library-build-controls{margin:0;max-width:none}
.ux-shell .champion-overview .champion-actions{grid-column:1/-1;margin:8px 0}.ux-shell .single-build-label{display:none}
.ux-shell .source-strip{margin:10px 0 16px}.ux-shell .source-strip>p:last-child{display:none}
.ux-shell.live-focus .workbench-controls{margin-bottom:10px;padding-bottom:0;border:0}.ux-shell.demo-live .workbench-controls{display:none}
.ux-shell .more-options[open]~.counter-picks{margin-top:14px}
@media(max-width:700px){.workbench-controls{gap:10px}.ux-shell .workbench-controls #live-link{min-width:0;flex-basis:100%}.champion-overview{grid-template-columns:1fr;gap:8px}.ux-shell .champion-overview .champion-actions{grid-column:auto}.ux-shell .champion-overview .library-build-controls{order:2}.ux-shell .champion-overview .champion-actions{order:3}}
.shop-filters{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:-8px 0 18px}.shop-filters>div{display:flex;gap:6px;flex-wrap:wrap}.shop-filters button{padding:7px 12px;border:1px solid var(--line);background:transparent;color:var(--muted);border-radius:4px;font-size:13px}.shop-filters button[aria-pressed=true]{background:#334039;color:var(--text);border-color:#5a7564}.shop-filters label{font-size:13px;display:flex;align-items:center;gap:6px}
.mobile-workspace-nav{display:none}
@media(max-width:700px){.ux-shell.has-champion:not(.library-view) .advice{order:-1}.ux-shell.has-champion:not(.library-view) main{padding-bottom:88px}.ux-shell.has-champion:not(.library-view) .mobile-workspace-nav{position:fixed;bottom:0;inset-inline:0;z-index:40;display:flex;justify-content:space-around;gap:4px;padding:10px 8px max(10px,env(safe-area-inset-bottom));background:#1d252b;border-top:1px solid #49534b}.mobile-workspace-nav a{font-size:13px;padding:9px 14px;color:var(--text);text-decoration:none;border-radius:4px}.mobile-workspace-nav a:first-child{background:#33463b;color:#d1e9da}.ux-shell .workspace>.panel{scroll-margin-top:12px}.ux-shell.live-focus .session-actions{display:none}}
.guide-page h1{font-family:inherit;font-size:clamp(26px,3vw,32px);letter-spacing:-.6px;line-height:1.2}.guide-page .privacy-page{padding-top:24px;line-height:1.65}.guide-page .privacy-page h2{font-size:19px}.guide-page header a:last-child{color:var(--muted)}
/* Explain the product only before a visitor starts their build. */
.first-visit{display:grid;grid-template-columns:1fr 1.2fr;gap:24px;padding:18px 20px;margin:0 0 18px;border:1px solid #35423e;border-radius:6px;background:#171e21;font-size:14px}.first-visit p{color:#b2bfb7;line-height:1.5;margin:8px 0}.first-visit a{color:#bce6d1}.first-visit small{display:block;color:#aab5b0;margin-top:8px}.scenario-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.has-champion .first-visit,.library-view .first-visit,.library-view #discovery-status,.library-view .advice-feedback-row{display:none}#discovery-status:empty{display:none}#discovery-status{font-size:13px;color:#bce6d1}.advice-feedback-row{display:flex;align-items:center;gap:12px;font-size:12px;color:#9caaa4;margin:16px 0}.advice-feedback-row:has(button[hidden]){display:none}#share-fallback{max-width:100%;box-sizing:border-box}@media(max-width:700px){.first-visit{grid-template-columns:1fr;gap:16px;padding:14px}.advice-feedback-row{align-items:flex-start;flex-direction:column}}
