.smoke-page {

  color-scheme: dark;

  margin: 0;

  background: radial-gradient(ellipse at 75% 0, #2b1a41, transparent 520px), #10111b;

  color: #f7f2ff;

  line-height: 1.5;

}

.smoke-page *, .smoke-page *::before, .smoke-page *::after { box-sizing: border-box; }

.smoke-page [hidden] { display: none !important; }

.smoke-page a { color: #e3cdff; text-decoration: none; }

.smoke-page button, .smoke-page select {

  color: #f7f2ff;

  border: 1px solid #4b4261;

  background: #232033;

  padding: 9px 13px;

  border-radius: 9px;

  font: inherit;

}

.smoke-page button { cursor: pointer; }

.smoke-page button:disabled { opacity: .48; cursor: default; }

.smoke-page :focus-visible { outline: 2px solid #dcbbff; outline-offset: 3px; }

.smoke-main { width: min(1130px, calc(100% - 32px)); margin: 0 auto; padding-bottom: 55px; }

.smoke-top { display: flex; align-items: center; justify-content: space-between; padding: 21px 0; font-size: 13px; }

.smoke-brand { font-weight: 800; }

.smoke-hero {

  display: grid;

  grid-template-columns: 1fr .85fr;

  align-items: center;

  gap: 18px;

  padding: clamp(22px, 5vw, 58px);

  border-radius: 25px;

  border: 1px solid #634886;

  background: radial-gradient(ellipse at 77% 37%, #71468e, transparent 57%), linear-gradient(130deg, #24213c, #191b32);

  overflow: hidden;

}

.smoke-kicker { margin: 0; color: #e2bcff; font-size: 11px; font-weight: 850; letter-spacing: .15em; }

.smoke-hero h1 { margin: 12px 0; font-size: clamp(36px, 6vw, 72px); line-height: .98; letter-spacing: -.065em; }

.smoke-hero h1 em { color: #d8f99d; font-style: normal; }

.smoke-hero p:not(.smoke-kicker) { max-width: 380px; margin: 16px 0 22px; color: #e0d7ef; }

.smoke-page .smoke-primary {

  display: inline-block;

  color: #151b0e;

  background: #d6f9a2;

  border: 1px solid #d6f9a2;

  border-radius: 10px;

  font-weight: 850;

  padding: 10px 16px;

}

.smoke-stack { display: flex; align-items: center; justify-content: center; isolation: isolate; padding: 9% 0; }

.smoke-stack img {

  width: 35%;

  border: 2px solid #eee2ff;

  border-radius: 13px;

  transform: translateX(12%) rotate(-13deg);

  box-shadow: 0 18px 35px #0a0615a0;

}

.smoke-stack img:nth-child(2) { transform: translateY(-8%); z-index: 1; border-color: #e1faab; }

.smoke-stack img:nth-child(3) { transform: translateX(-12%) rotate(13deg); }

.smoke-panel { margin-top: 22px; padding: clamp(15px, 3vw, 28px); border: 1px solid #403653; border-radius: 21px; background: #1a1929; }

.smoke-heading, .smoke-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }

.smoke-heading h2 { margin: 3px 0 5px; font-size: clamp(22px, 4vw, 34px); }

.smoke-switch { display: flex; gap: 6px; }

.smoke-switch button[aria-pressed="true"] { background: #493462; border-color: #b58be9; }

.smoke-sub { color: #c2b9d0; font-size: 13px; }

#draft-status, #battle-status { min-height: 1.4em; }

.smoke-pool { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }

.smoke-page .smoke-card { display: grid; align-content: start; gap: 5px; padding: 8px; text-align: left; min-width: 0; }

.smoke-card[aria-pressed="true"] { border-color: #b2f098; box-shadow: 0 0 0 1px #b2f098; background: #2a3831; }

.smoke-card[aria-disabled="true"] { opacity: .64; cursor: default; }

.smoke-card > span, .smoke-card small { color: #d4c9e1; font-size: 11px; }

.smoke-card > b { font-size: 12px; color: #e2c7ff; }

.smoke-card > strong { font-size: 13px; overflow-wrap: anywhere; }

.smoke-art {

  aspect-ratio: 1;

  display: grid;

  place-items: center;

  overflow: hidden;

  border-radius: 7px;

  background: radial-gradient(at top left, #775d9a, #30223f);

  color: #eadcff;

  font-size: 11px;

  width: 100%;

}

.smoke-art img { width: 100%; height: 100%; object-fit: cover; }

.smoke-setup, #battlefield { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }

.smoke-setup > div, .smoke-team { min-width: 0; border: 1px solid #483b5b; border-radius: 12px; padding: 12px; background: #211d31; }

.smoke-setup h3, .smoke-team h3 { margin: 0 0 5px; }

.smoke-setup label { display: block; margin-bottom: 8px; font-weight: 800; }

#squad { padding-left: 25px; margin: 0; }

#squad li { padding: 4px 0; }

#squad button { padding: 3px 8px; margin-left: 5px; }

#more-cards { margin-top: 12px; }

#turn { color: #ddc5fb; font-size: 13px; }

.smoke-fighters { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }

.smoke-fighter { min-width: 0; display: grid; gap: 4px; padding: 6px; border: 1px solid #4d4161; border-radius: 8px; background: #161521; }

.smoke-fighter strong { font-size: 12px; overflow-wrap: anywhere; }

.smoke-fighter small { color: #d4c9e1; font-size: 10px; }

.smoke-fighter progress { width: 100%; height: 8px; accent-color: #b3f486; }

.smoke-fighter.knocked-out { opacity: .42; filter: grayscale(.65); }

.smoke-fighter[data-fx="actor"] { animation: smoke-actor .45s ease-out; }

.smoke-fighter[data-fx="damage"] { animation: smoke-hit .45s ease-out; }

.smoke-fighter[data-fx="guard"], .smoke-fighter[data-fx="heal"] { animation: smoke-heal .45s ease-out; }

@keyframes smoke-actor { 40% { transform: translateY(-5px); box-shadow: 0 0 16px #c48fff; } }

@keyframes smoke-hit { 40% { transform: translateX(3px); box-shadow: 0 0 16px #ff8b8b; } }

@keyframes smoke-heal { 40% { box-shadow: 0 0 16px #b4fbb0; } }

.smoke-action { border-left: 3px solid #d5a8ff; background: #282138; padding: 12px; min-height: 3em; }

.smoke-controls { justify-content: flex-start; }

.smoke-page details { margin-top: 15px; }

#battle-log { max-height: 220px; overflow: auto; color: #d6cde1; font-size: 13px; }

@media (max-width: 900px) { .smoke-pool { grid-template-columns: repeat(3,minmax(0,1fr)); } }

@media (max-width: 600px) {

  .smoke-hero { grid-template-columns: 1fr; }

  .smoke-stack { max-width: 240px; margin: auto; padding: 7px 0; }

  .smoke-setup, #battlefield { grid-template-columns: 1fr; }

}

@media (max-width: 380px) { .smoke-pool { grid-template-columns: repeat(2,minmax(0,1fr)); } }

@media (prefers-reduced-motion: reduce) { .smoke-fighter[data-fx] { animation: none; } }

.smoke-score {

  margin-bottom: 8px;

  padding: 4px 9px;

  border: 1px solid #91bd67;

  border-radius: 999px;

  color: #dbf8a8;

  font-size: .8rem;

  font-variant-numeric: tabular-nums;

}

.smoke-fighter[data-fx="snack"] { animation: snack-run .6s ease-out; }

.smoke-fighter[data-fx="playlist"] { animation: playlist-shuffle .55s ease-out; }

.smoke-fighter[data-fx="pass"] { animation: smoke-heal .55s ease-out; }

.smoke-fighter[data-fx="rest"] { animation: couch-break .65s ease-out; }

@keyframes snack-run { 40% { transform: translateY(-5px) rotate(-2deg); box-shadow: 0 0 20px #ffc766; } }

@keyframes playlist-shuffle { 30% { transform: rotate(4deg); box-shadow: 0 0 17px #d18bff; } 60% { transform: rotate(-3deg); } }

@keyframes couch-break { 50% { opacity: .6; transform: scale(.97); } }

@media (prefers-reduced-motion: reduce) { .smoke-fighter[data-fx] { animation: none; } }



.smoke-leaderboard { width: 100%; border-collapse: collapse; text-align: left; margin-top: 12px; }

.smoke-leaderboard caption { text-align: left; padding: 4px 0; }

.smoke-leaderboard th, .smoke-leaderboard td { padding: 8px; border-bottom: 1px solid #483b5b; }

#battlefield[data-scene] { border-radius: 14px; transition: background-color .4s; }

#battlefield[data-scene="2"] .smoke-team, #battlefield[data-scene="5"] .smoke-team { background: #33263b; }

#battlefield[data-scene="3"] .smoke-team { background: #2b254d; }

#battlefield[data-scene="4"] .smoke-team { background: #25372e; }

#battlefield .smoke-team { transition: background-color .4s; }

.smoke-fighter { position: relative; }

.smoke-float { position: absolute; top: 8px; right: 8px; padding: 2px 8px; border-radius: 999px; background: #2b4220; color: #dbf8a8; font-weight: 850; animation: smoke-points .6s ease-out both; }

.smoke-fighter[data-fx="vibe"] { animation: smoke-heal .55s ease-out; }

@keyframes smoke-points { from { transform: translateY(8px) scale(.8); opacity: .4; } 35% { transform: translateY(-4px) scale(1.15); opacity: 1; } to { transform: translateY(-10px); opacity: .95; } }

#sesh-results { width: min(490px, calc(100% - 32px)); max-height: 85vh; padding: clamp(18px, 5vw, 32px); border: 1px solid #a583cf; border-radius: 20px; background: #211a31; color: #f7f2ff; }

#sesh-results::backdrop { background: #110e1bd9; }

#results-title { margin: 8px 0; }

#results-score { color: #dbf8a8; font-weight: 750; }

#results-moments { padding-left: 22px; }

#results-moments li { margin: 8px 0; }

@media (prefers-reduced-motion: reduce) {

  .smoke-float { animation: none; }

  #battlefield .smoke-team { transition: none; }

}



.smoke-hub .app-main { padding-bottom: 100px; }

.smoke-hub .smoke-panel { scroll-margin-top: 82px; }

.smoke-hub .smoke-setup { grid-template-columns: 1fr; }

.smoke-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; list-style: none; }

#squad.smoke-slots { padding: 0; margin: 0 0 16px; }

#squad.smoke-slots li { display: flex; align-items: stretch; gap: 4px; min-width: 0; padding: 0; }

#squad.smoke-slots button { margin: 0; }

#squad.smoke-slots button:first-child { display: flex; flex: 1; min-width: 0; gap: 8px; align-items: center; text-align: left; overflow-wrap: anywhere; padding: 6px; }

.smoke-slots .smoke-art { width: 42px; flex: 0 0 42px; }

.smoke-slots .smoke-art span { font-size: 7px; }

.smoke-slots button[aria-pressed="true"], .smoke-collections button[aria-pressed="true"] { border-color: #d2afff; background: #493462; }

.smoke-collections { flex-wrap: wrap; }

@media (max-width: 550px) {

  .smoke-slots { grid-template-columns: 1fr; }

}



.cup-champion { padding: 24px; margin: 20px 0; border: 1px solid #b4a25d; border-radius: 16px; background: radial-gradient(ellipse at top,#5d4b37,#252032); }

.cup-champion > small { display: block; margin-bottom: 14px; letter-spacing: .12em; color: #e1cf93; }

.cup-champion .cup-collector { font-size: 24px; }

.cup-champion img { width: 60px; height: 60px; }

.cup-rounds { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; align-items: start; margin-top: 20px; }

.cup-round h3 { margin: 0 0 14px; font-size: 14px; color: #bfa6df; }

.cup-match { padding: 14px; margin-bottom: 12px; border: 1px solid #4c415e; border-radius: 12px; background: #1b1928; }

.cup-collector { display: flex; align-items: center; gap: 10px; min-width: 0; color: #b7b5ca; text-decoration: none; padding: 7px 0; overflow-wrap: anywhere; }

.cup-collector img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }

.cup-winner { color: #cbed9c; font-weight: 600; }

.cup-match > small { display: block; margin: 10px 0; color: #a19caf; }

@media(max-width:700px) { .cup-rounds { grid-template-columns: 1fr; } }



.squad-home { border-color: #b6ef6880; }

.challenge-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr)); gap:16px; }

.challenge-crew,.challenge-result { padding:20px; border:1px solid #ffffff24; border-radius:16px; background:#ffffff04; }

.challenge-crew h3 { margin:10px 0; font-size:1.4rem; }

.challenge-crew small { color:#b6ef68; font-size:.8rem; }

.challenge-crew p { overflow-wrap:anywhere; }

.shared-crew { border-color:#b6ef68; }

.challenge-result + .challenge-result { margin-top:12px; }

.saved-lineup { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:20px 0; max-width:650px; }

.saved-card { min-width:0; padding:12px; border:1px solid #ffffff24; border-radius:12px; }

.saved-card strong { display:block; overflow-wrap:anywhere; font-size:.95rem; }

.saved-card .smoke-art { max-height:160px; }

#squad-settings { border:1px solid #ffffff24; border-radius:12px; padding:20px; margin:20px 0; }

#squad-settings label { display:block; margin:12px 0; }

#squad-name { width:min(100%,400px); box-sizing:border-box; background:#151b19; color:#fff; border:1px solid #ffffff50; border-radius:8px; padding:12px; font:inherit; }

.challenge-toggle input { accent-color:#b6ef68; width:20px; height:20px; vertical-align:middle; margin-right:8px; }

.smoke-controls a { display:inline-flex; align-items:center; padding:10px 14px; }

button:disabled { opacity:.5; cursor:wait; }


.waiting-lobby { margin:24px 0; }
.waiting-lobby h3 { font-size:1.05rem; margin-bottom:14px; }
.waiting-players { list-style:none; padding:0; margin:0; display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr)); gap:12px; }
.waiting-player { border:1px solid #4b4261; background:#ffffff04; border-radius:12px; padding:16px; display:flex; flex-direction:column; gap:10px; min-width:0; }
.waiting-identity { display:flex; gap:10px; align-items:center; min-width:0; }
.waiting-identity strong { overflow-wrap:anywhere; }
.waiting-identity img,.waiting-avatar { width:36px; height:36px; border-radius:50%; object-fit:cover; flex-shrink:0; }
.waiting-avatar { display:grid; place-items:center; background:#49335f; color:#fff; }
.waiting-you { font-size:.8rem; border:1px solid #9acf7c; color:#c3f29e; border-radius:20px; padding:2px 8px; }
.lineup-library { margin:20px 0 28px; }
.lineup-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.lineup-summary { padding:18px; border:1px solid #4b4261; border-radius:14px; background:#ffffff03; min-width:0; }
.lineup-summary.is-active { border-color:#b6ef68; background:#b6ef6808; }
.lineup-summary small,.captain-tag { color:#c3f29e; font-size:.8rem; }
.lineup-summary h3 { margin:10px 0; overflow-wrap:anywhere; }
.lineup-summary .smoke-controls { gap:8px; margin-top:16px; }
.lineup-summary .smoke-controls button { font-size:.9rem; }
.lineup-record { margin:14px 0; }
.lineup-record p { margin:8px 0; }
.recent-form { display:flex; flex-wrap:wrap; gap:6px; align-items:center; }
.form-result { display:inline-grid; place-items:center; min-width:28px; height:28px; border-radius:6px; font-size:.85rem; font-weight:700; }
.form-W { background:#28452b; color:#b6ef68; }.form-L { background:#512b3a; color:#ffc1d3; }.form-D { background:#3c3656; color:#e3cdff; }
.captain-tag { display:inline-block; padding:4px 8px; border:1px solid #b6ef6850; border-radius:8px; margin:6px 0; }
.rivalries { margin:20px 0; }
.rivalry-row { display:flex; flex-wrap:wrap; gap:12px; align-items:center; justify-content:space-between; padding:16px 0; border-bottom:1px solid #ffffff24; }
#squad-settings select { max-width:100%; }
@media(max-width:900px) { .lineup-grid { grid-template-columns:1fr; } }
.lineup-mini { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:14px 0; }
.lineup-mini img { width:100%; aspect-ratio:1; object-fit:cover; border-radius:8px; }
.lineup-mini small { display:block; color:inherit; overflow-wrap:anywhere; font-size:.8rem; }
.lineup-mini .captain-tag { font-size:.75rem; padding:2px 4px; }
.battle-intro { margin:18px 0; padding:26px; border:1px solid #b6ef6870; border-radius:16px; background:radial-gradient(ellipse at top,#b6ef6815,transparent 75%),#171821; text-align:center; }
.battle-intro h3 { margin:8px 0; font-size:clamp(1.35rem,3vw,2rem); }
.battle-intro button { margin-top:10px; }
.battle-momentum { min-height:38px; display:flex; align-items:center; justify-content:center; padding:8px 16px; border-radius:10px; background:#ffffff05; color:#cbb9e1; font-size:.9rem; letter-spacing:.06em; }
.battle-momentum.is-key-moment { color:#e6ffc6; background:#92cf5c20; border:1px solid #b6ef6855; font-weight:800; }
.smoke-fighter { position:relative; transition:border-color .2s,background .2s,box-shadow .2s; }
.smoke-fighter.is-active-fighter { border:2px solid #b6ef68; padding:5px; background:#263623; box-shadow:0 0 0 3px #b6ef6818; }
.smoke-fighter.is-target-fighter:not(.is-active-fighter) { border-color:#c59aef; background:#33223e; }
.fighter-turn { color:#d2ffaf; font-size:.8rem; font-weight:800; }
.smoke-score { font-variant-numeric:tabular-nums; color:#dcffb7; font-size:clamp(1.05rem,2vw,1.5rem); }
.battle-progress-label { display:block; font-size:.85rem; color:#c2b9d0; }
#battle-progress { display:block; width:100%; height:8px; accent-color:#b6ef68; margin:8px 0 20px; }
#sesh-results { width:min(680px,calc(100% - 24px)); }
.results-explanation { line-height:1.65; }
.results-mvp { margin:22px 0; padding:18px; background:#b6ef6808; border:1px solid #b6ef6845; border-radius:14px; }
.results-mvp:empty { display:none; }
.results-mvp h3 { margin:0; color:#d5ffaa; }
.mvp-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr)); gap:14px; }
.mvp-card { display:flex; flex-direction:column; gap:7px; min-width:0; }
.mvp-card .smoke-art { max-width:180px; }
.mvp-card strong { overflow-wrap:anywhere; }
.mvp-card small { color:#cbb9e1; font-size:.85rem; }
.mvp-card b { color:#dcffb7; }
.results-actions { justify-content:flex-start; margin:18px 0; }
#results-moments { padding-left:20px; line-height:1.65; }
#results-moments li + li { margin-top:12px; }
@media(prefers-reduced-motion:reduce) { .smoke-fighter { transition:none; }.smoke-float { animation:none; } }
@media(max-width:760px) { #battlefield { grid-template-columns:1fr; }.smoke-team { padding:14px; }.smoke-fighter .smoke-energy { font-size:.8rem; }.smoke-fighter>strong { font-size:.9rem; } }
.captain-setup { margin:20px 0; }.captain-setup label { display:block; margin-bottom:8px; font-weight:700; }
.squad-analysis { margin:22px 0; padding:20px; border:1px solid #65557b; border-radius:16px; background:#14131e; }
.tactics-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.tactic-card { padding:16px; border:1px solid #b6ef6835; border-radius:12px; background:#b6ef6805; }
.tactic-card small { color:#c9e9a9; font-size:.8rem; }.tactic-card h4 { margin:10px 0; font-size:1.15rem; }.tactic-card p { font-size:.95rem; line-height:1.6; }
.role-coverage { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin:22px 0; }.role-coverage strong { font-size:.85rem; }.role-coverage meter { display:block; width:100%; margin-top:8px; accent-color:#b6ef68; }
.squad-strength { color:#c4e7b1; font-size:.9rem; }.squad-weakness { color:#eacba7; font-size:.9rem; }
.bonus-activation { margin:10px 0; padding:14px 18px; border:1px solid #d9bd67; border-radius:10px; background:#d9bd6715; color:#fff0bb; font-weight:700; }
.bonus-total { padding:14px 0; border-bottom:1px solid #ffffff20; }.bonus-total strong { color:#d6ffc0; }
.lineup-tactics { margin:14px 0; }.lineup-tactics summary { color:#d0edba; cursor:pointer; }
@media(max-width:700px) {.tactics-grid,.role-coverage { grid-template-columns:1fr; }}
.season-table-wrap { overflow-x:auto; }.season-table-wrap table { min-width:470px; }
#season-milestones { margin:24px 0; }#season-milestones h4 { margin:12px 0; font-size:1.15rem; }#season-milestones progress { width:100%; accent-color:#b6ef68; }
.rules-nav { display:flex; flex-wrap:wrap; gap:12px; margin:24px 0; }.rules-nav a { padding:10px 14px; border:1px solid #66537d; border-radius:9px; }
.rules-copy { max-width:960px; }.rules-copy p,.rules-copy li { font-size:1rem; line-height:1.8; }.rules-copy h2 { margin-top:8px; }.rules-copy table { width:100%; border-collapse:collapse; }.rules-copy td,.rules-copy th { text-align:left; padding:12px; border-bottom:1px solid #ffffff20; vertical-align:top; }
.rules-copy section { scroll-margin-top:90px; }.rules-quickstart { counter-reset:step; padding-left:24px; }.rules-quickstart li { margin:12px 0; }
.smoke-workspace-nav { position:sticky; top:65px; z-index:20; display:flex; align-items:center; gap:12px; padding:12px; margin:24px 0; border:1px solid #4c405d; border-radius:14px; background:#171620f5; backdrop-filter:blur(12px); }
#smoke-workspace-tabs { display:flex; flex:1; gap:6px; }
#smoke-workspace-tabs button { flex:1; min-height:44px; font-size:.95rem; }
#smoke-workspace-tabs button[aria-selected="true"] { background:#d6f9a2; color:#151b0e; border-color:#d6f9a2; font-weight:800; }
.workspace-rules { padding:10px 14px; border:1px solid #6e5c83; border-radius:9px; font-weight:700; }
[role="tabpanel"]>.smoke-panel:first-child { margin-top:0; }
[role="tabpanel"] section { scroll-margin-top:150px; }
@media(max-width:650px) { .smoke-workspace-nav { align-items:stretch; gap:8px; padding:8px; top:62px; }#smoke-workspace-tabs { display:grid; grid-template-columns:1fr 1fr; gap:6px; }#smoke-workspace-tabs button { padding:10px 8px; font-size:.85rem; }.workspace-rules { align-self:center; padding:10px; }[role="tabpanel"] section { scroll-margin-top:205px; } }
[role="tabpanel"] { scroll-margin-top:150px; }
@media(max-width:650px) {[role="tabpanel"] {scroll-margin-top:205px;} }
