:root {
  --bg: #092348;
  --surface: #0b2a4b;
  --surface-2: #10375d;
  --line: rgba(202, 230, 242, .13);
  --ink: #eff9ff;
  --muted: #8295a6;
  --cyan: #229dc1;
  --cyan-bright: #7ddcf4;
  --red: #d90014;
  --gold: #f2bd41;
  --green: #6bc47f;
  --shadow: 0 24px 60px rgba(0, 0, 0, .34);
  font-family: "Segoe UI", Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
* { box-sizing: border-box; }
body { min-width: 1120px; min-height: 100vh; margin: 0; overflow-x: auto; background: radial-gradient(ellipse at 84% 4%, rgba(52, 225, 188, .34), transparent 27%), radial-gradient(ellipse at 55% -14%, rgba(62, 139, 255, .38), transparent 39%), radial-gradient(ellipse at 13% 56%, rgba(57, 105, 235, .22), transparent 38%), linear-gradient(145deg, #0a315e 0%, #0b2b53 43%, #061b38 100%); }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; opacity: .68; background: radial-gradient(ellipse at 76% 8%, rgba(120, 255, 208, .43), transparent 20%), radial-gradient(ellipse at 91% 25%, rgba(70, 189, 255, .34), transparent 25%), radial-gradient(ellipse at 35% 2%, rgba(112, 142, 255, .24), transparent 32%); filter: blur(16px); pointer-events: none; }
body::after { content: ""; position: fixed; inset: 0; z-index: -1; opacity: .27; background-image: linear-gradient(30deg, transparent 49%, rgba(178,242,255,.24) 50%, transparent 51%), linear-gradient(150deg, transparent 49%, rgba(131,216,255,.16) 50%, transparent 51%); background-size: 110px 94px; mask-image: linear-gradient(to bottom, black, transparent 84%); pointer-events: none; }
button, input, select { font: inherit; }
button { border: 0; cursor: pointer; }
.desktop-shell { display: grid; grid-template: 74px minmax(1014px, calc(100vh - 74px)) / 278px minmax(842px, 1fr); min-height: 1088px; }
.topbar { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding: 0 31px 0 28px; border-bottom: 1px solid var(--line); background: rgba(6, 11, 20, .89); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: 13px; color: var(--ink); text-decoration: none; }
.brand strong { display: block; font-size: 23px; font-weight: 900; letter-spacing: .16em; line-height: .9; }
.brand small { display: block; margin-top: 7px; color: var(--cyan-bright); font-size: 8px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.brand-mark { position: relative; display: grid; width: 34px; height: 34px; grid-template: 1fr 1fr / 1fr 1fr; gap: 2px; padding: 2px; border: 1px solid rgba(255,255,255,.55); transform: rotate(45deg); }
.brand-mark i:nth-child(1) { background: var(--red); }.brand-mark i:nth-child(2) { background: var(--green); }.brand-mark i:nth-child(3) { background: var(--cyan); }.brand-mark i:nth-child(4) { background: #e7d500; }
.topbar-status { display: flex; align-items: center; gap: 18px; }
.icon-button { position: relative; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.04); color: var(--cyan-bright); font-size: 20px; }
.icon-button b { position: absolute; top: -5px; right: -5px; display: grid; width: 16px; height: 16px; place-items: center; border-radius: 50%; background: var(--red); color: white; font-size: 9px; }
.profile-chip { display: flex; align-items: center; gap: 9px; padding: 4px 8px 4px 5px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.04); color: var(--ink); text-align: left; }
.profile-chip small { display: block; color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }.profile-chip strong { display: block; font-size: 12px; }.profile-chip em { color: var(--cyan); font-style: normal; }
.avatar { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid rgba(125,220,244,.52); border-radius: 7px; background: linear-gradient(135deg, #224d69, #102432); color: var(--cyan-bright); font-weight: 900; }
.sidebar { position: relative; display: flex; min-height: 0; flex-direction: column; padding: 29px 16px 18px; border-right: 1px solid var(--line); background: rgba(8, 15, 25, .78); }
.sidebar::after { content: ""; position: absolute; right: -1px; bottom: 0; width: 1px; height: 38%; background: linear-gradient(transparent, var(--cyan), transparent); opacity: .5; }
.nav-label { margin: 0 11px 12px; color: #5f7385; font-size: 9px; font-weight: 900; letter-spacing: .2em; }.nav-label--lower { margin-top: 29px; }
.main-nav { display: grid; gap: 5px; }.nav-item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 43px; padding: 0 12px; border-left: 2px solid transparent; border-radius: 0 7px 7px 0; background: transparent; color: #9fb2c1; font-size: 13px; font-weight: 700; text-align: left; transition: .2s ease; }.nav-item span { display: grid; width: 18px; place-items: center; color: var(--cyan); font-size: 16px; }.nav-item:hover, .nav-item.active { border-left-color: var(--cyan); background: linear-gradient(90deg, rgba(34,157,193,.2), transparent); color: white; }.nav-item.active span { color: var(--cyan-bright); text-shadow: 0 0 15px var(--cyan); }.main-nav--small .nav-item { min-height: 37px; font-size: 12px; }
.sidebar-bottom { margin-top: auto; }.signout { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 13px; padding: 12px; border: 1px solid rgba(34,157,193,.25); background: rgba(34,157,193,.08); color: var(--cyan-bright); font-size: 10px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }.signout span { font-size: 16px; }.legal-links { display: grid; gap: 5px; margin: 17px 4px 0; }.legal-links button { padding: 0; background: transparent; color: #7d94a7; font-size: 10px; text-align: left; text-decoration: underline; text-decoration-color: rgba(125,220,244,.32); text-underline-offset: 3px; }.legal-links button:hover { color: var(--cyan-bright); }
.app-view { min-width: 0; min-height: 0; overflow: auto; padding: 38px 50px 48px; }.view-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 27px; }.eyebrow { margin: 0 0 8px; color: var(--cyan); font-size: 10px; font-weight: 900; letter-spacing: .22em; text-transform: uppercase; }.view-title { margin: 0; font-size: clamp(29px, 2.4vw, 42px); font-weight: 950; letter-spacing: -.045em; line-height: 1; text-transform: uppercase; }.view-subtitle { max-width: 560px; margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.loading-fallback { display: grid; min-height: 380px; place-content: center; border: 1px solid rgba(34,157,193,.3); background: radial-gradient(circle at 50% 0, rgba(34,157,193,.16), transparent 56%), rgba(9,20,32,.78); text-align: center; }.loading-fallback h1 { margin: 2px 0 10px; font-size: 28px; }.loading-fallback p:last-child { margin: 0; color: var(--muted); font-size: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 18px; border: 1px solid rgba(125,220,244,.47); background: linear-gradient(135deg, #1c9fc7, #136c8a); box-shadow: 0 9px 24px rgba(34,157,193,.18); color: white; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; transition: transform .2s ease, filter .2s ease; }.button:hover { filter: brightness(1.18); transform: translateY(-2px); }.button--ghost { background: rgba(255,255,255,.04); box-shadow: none; color: var(--cyan-bright); }.button--red { border-color: rgba(217,0,20,.55); background: linear-gradient(135deg, #ed2534, #a90010); }
.grid { display: grid; gap: 18px; }.dashboard-grid { grid-template-columns: 1.45fr .9fr .9fr; }.dashboard-grid .wide { grid-column: span 2; }.card { position: relative; overflow: hidden; min-width: 0; padding: 21px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(17,34,51,.91), rgba(8,16,26,.82)); box-shadow: var(--shadow); }.card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, rgba(255,255,255,.045), transparent 25%); }.card-title { position: relative; margin: 0; font-size: 15px; font-weight: 900; letter-spacing: -.01em; }.card-kicker { position: relative; margin: 3px 0 17px; color: var(--muted); font-size: 10px; font-weight: 700; }.quick-card { min-height: 265px; padding: 30px; background: radial-gradient(circle at 83% 28%, rgba(34,157,193,.31), transparent 28%), linear-gradient(135deg, #102c41, #091420 66%); }.quick-card::after { content: "△"; position: absolute; right: 7%; bottom: -31%; color: rgba(125,220,244,.14); font-size: 250px; font-weight: 900; transform: rotate(14deg); }.quick-card > * { position: relative; z-index: 1; }.quick-card h2 { max-width: 400px; margin: 0; font-size: 31px; letter-spacing: -.04em; }.quick-card p { max-width: 390px; color: #b3cad8; font-size: 13px; line-height: 1.55; }.quick-actions { display: flex; gap: 10px; margin-top: 24px; }
.stat-card { display: flex; min-height: 125px; flex-direction: column; justify-content: space-between; }.stat-card strong { font-size: 29px; letter-spacing: -.06em; }.stat-card .trend { color: var(--green); font-size: 11px; font-weight: 800; }.progress { height: 6px; margin-top: 17px; overflow: hidden; border-radius: 8px; background: rgba(255,255,255,.08); }.progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--cyan-bright)); box-shadow: 0 0 14px var(--cyan); }
.battle-list { display: grid; gap: 0; }.battle-row { display: grid; grid-template-columns: 42px 1fr auto auto; align-items: center; gap: 14px; min-height: 59px; border-bottom: 1px solid var(--line); }.battle-row:last-child { border: 0; }.result { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 50%; background: rgba(107,196,127,.13); color: var(--green); font-size: 12px; font-weight: 900; }.result.loss { background: rgba(217,0,20,.13); color: #ff6b74; }.battle-row strong { font-size: 12px; }.battle-row small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }.battle-row em { color: var(--gold); font-size: 12px; font-style: normal; font-weight: 900; }.battle-row time { color: var(--muted); font-size: 10px; }
.ranking-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 21px; }.filter-row { display: flex; gap: 8px; }.filter { padding: 9px 12px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--muted); font-size: 10px; font-weight: 800; }.filter.active { border-color: rgba(34,157,193,.55); background: rgba(34,157,193,.16); color: var(--cyan-bright); }.rank-table { width: 100%; border-collapse: collapse; }.rank-table th { padding: 0 13px 12px; color: var(--muted); font-size: 9px; letter-spacing: .14em; text-align: left; text-transform: uppercase; }.rank-table td { padding: 13px; border-top: 1px solid var(--line); font-size: 12px; }.rank-table tr.me { background: rgba(34,157,193,.11); }.rank-number { color: var(--cyan-bright); font-weight: 900; }.player-cell { display: flex; align-items: center; gap: 10px; font-weight: 900; }.avatar--small { width: 28px; height: 28px; font-size: 11px; }.rank-point { color: var(--gold); font-weight: 900; }.rank-change { color: var(--green); font-weight: 800; }.rank-change.down { color: #ff7077; }
.side-profile { display: grid; gap: 17px; align-content: start; }.commander-card { text-align: center; }.commander-avatar { display: grid; width: 79px; height: 79px; margin: 2px auto 13px; place-items: center; border: 1px solid rgba(125,220,244,.6); background: radial-gradient(circle at 35% 28%, #3e7995, #102535 68%); color: white; font-size: 36px; font-weight: 900; box-shadow: 0 0 31px rgba(34,157,193,.2); }.commander-card h3 { margin: 0; font-size: 18px; }.commander-card p { color: var(--cyan); font-size: 10px; font-weight: 800; }.mini-stat { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; }.mini-stat strong { color: var(--ink); }
.mode-grid { grid-template-columns: repeat(3, 1fr); }.mode-card { display: flex; min-height: 238px; flex-direction: column; padding: 23px; border: 1px solid var(--line); background: linear-gradient(145deg, #122538, #0a1420); text-align: left; transition: .2s ease; }.mode-card:hover { border-color: rgba(125,220,244,.55); transform: translateY(-4px); }.mode-symbol { display: grid; width: 47px; height: 47px; margin-bottom: auto; place-items: center; border: 1px solid rgba(125,220,244,.35); background: rgba(34,157,193,.1); color: var(--cyan-bright); font-size: 26px; }.mode-card h2 { margin: 22px 0 7px; font-size: 20px; }.mode-card p { min-height: 36px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }.mode-card small { margin-top: 16px; color: var(--gold); font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.game-stage { display: grid; grid-template-columns: minmax(0, 1fr) 292px; gap: 18px; min-height: 760px; }.board-window { overflow: hidden; border: 1px solid rgba(125,220,244,.3); background: #bcd2db; box-shadow: var(--shadow); }.board-window iframe { display: block; width: 100%; height: 742px; border: 0; }.game-side { display: grid; align-content: start; gap: 17px; }.turn-card { padding: 22px; border: 1px solid rgba(34,157,193,.43); background: radial-gradient(circle at 30% 0, rgba(34,157,193,.22), transparent 55%), var(--surface); text-align: center; }.turn-card .turn-color { margin: 4px 0 9px; color: var(--cyan-bright); font-size: 26px; font-weight: 950; }.turn-card strong { display: block; color: var(--cyan); font-size: 13px; letter-spacing: .14em; }.game-side .card { padding: 17px; }.compact-list { display: grid; gap: 10px; margin-top: 12px; }.compact-list div { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; }.compact-list b { color: var(--ink); }
.profile-layout { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 21px; }.profile-hero { text-align: center; }.profile-hero .commander-avatar { width: 120px; height: 120px; font-size: 54px; }.profile-hero h2 { margin: 0; }.profile-hero p { color: var(--muted); font-size: 12px; }.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }.field { display: grid; gap: 7px; }.field label { color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }.field input, .field select { min-height: 42px; padding: 0 12px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--ink); outline: none; }.field input:focus, .field select:focus { border-color: var(--cyan); }.span-2 { grid-column: span 2; }
.collection-grid { grid-template-columns: repeat(4, 1fr); }.collection-card { min-height: 194px; text-align: center; }.collection-card .token { display: grid; width: 69px; height: 69px; margin: 7px auto 15px; place-items: center; border: 1px solid rgba(125,220,244,.3); background: linear-gradient(135deg, #1e485d, #102230); color: var(--cyan-bright); font-size: 34px; }.collection-card h3 { margin: 0; font-size: 14px; }.collection-card p { color: var(--muted); font-size: 10px; }.locked { filter: grayscale(.8); opacity: .55; }
.empty-state { display: grid; min-height: 450px; place-items: center; border: 1px dashed rgba(125,220,244,.28); color: var(--muted); text-align: center; }.empty-state strong { display: block; margin: 12px 0 6px; color: var(--ink); font-size: 20px; }.empty-state span { color: var(--cyan); font-size: 45px; }
.legal-document { max-width: 900px; padding: 34px 38px; line-height: 1.65; }.legal-document h2 { margin: 35px 0 9px; color: var(--cyan-bright); font-size: 17px; }.legal-document h2:first-of-type { margin-top: 5px; }.legal-document h3 { margin: 23px 0 8px; color: var(--ink); font-size: 14px; }.legal-document p, .legal-document li { color: #c1d1da; font-size: 13px; }.legal-document ul { padding-left: 20px; }.legal-document a, .inline-link { color: var(--cyan-bright); }.inline-link { padding: 0; border: 0; background: transparent; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }.legal-document strong { color: #f2fbff; }.legal-notice { margin-bottom: 25px; padding: 13px 16px; border-left: 3px solid var(--gold); background: rgba(242,189,65,.1); color: #f5d98d; font-size: 12px; line-height: 1.5; }.legal-meta { margin: 0 0 23px; color: var(--muted); font-size: 11px; }.legal-table { width: 100%; margin: 15px 0 25px; border-collapse: collapse; font-size: 11px; }.legal-table th, .legal-table td { padding: 10px; border: 1px solid var(--line); color: #c1d1da; text-align: left; vertical-align: top; }.legal-table th { color: var(--cyan-bright); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.modal-layer { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; padding: 28px; background: rgba(1,5,10,.76); backdrop-filter: blur(13px); }.modal-layer[hidden] { display: none; }.auth-modal { display: grid; grid-template-columns: .95fr 1.05fr; width: min(900px, 100%); min-height: 500px; overflow: hidden; border: 1px solid rgba(125,220,244,.26); background: #0b1522; box-shadow: 0 30px 100px rgba(0,0,0,.6); }.auth-art { position: relative; display: flex; padding: 42px; flex-direction: column; justify-content: flex-end; overflow: hidden; background: radial-gradient(circle at 50% 22%, rgba(34,157,193,.42), transparent 28%), linear-gradient(145deg, #123c55, #07111b); }.auth-art::after { content: "△"; position: absolute; top: -80px; right: -49px; color: rgba(125,220,244,.14); font-size: 400px; }.auth-art > * { position: relative; z-index: 1; }.auth-art h2 { margin: 0; font-size: 38px; line-height: .95; }.auth-art p { max-width: 320px; color: #b2cfdb; font-size: 12px; line-height: 1.55; }.auth-form { padding: 43px; }.auth-form h2 { margin: 0; font-size: 25px; }.auth-form p { color: var(--muted); font-size: 11px; }.close { float: right; background: transparent; color: var(--muted); font-size: 24px; }.auth-form form { display: grid; gap: 15px; margin-top: 25px; }.auth-form .button { margin-top: 5px; }.check-line { display: flex; align-items: flex-start; gap: 9px; color: #c1d1da; font-size: 11px; line-height: 1.4; }.check-line input { width: 15px; height: 15px; margin: 0; accent-color: var(--cyan); }.field small { color: var(--gold); font-size: 9px; line-height: 1.35; }.auth-switch { margin-top: 18px; color: var(--muted); font-size: 11px; text-align: center; }.auth-switch button { background: transparent; color: var(--cyan-bright); font-weight: 800; }
.toast { position: fixed; z-index: 20; right: 28px; bottom: 28px; max-width: 350px; padding: 14px 18px; transform: translateY(25px); opacity: 0; border: 1px solid rgba(125,220,244,.35); background: #102334; box-shadow: var(--shadow); color: var(--ink); font-size: 12px; font-weight: 700; pointer-events: none; transition: .25s ease; }.toast.show { transform: translateY(0); opacity: 1; }
.text-action { margin-top: 14px; padding: 0; background: transparent; color: var(--cyan-bright); font-size: 11px; font-weight: 800; text-align: left; }.home-rules-card { min-height: 180px; }.home-shop-card { min-height: 180px; background: radial-gradient(circle at 80% 15%, rgba(242,189,65,.2), transparent 35%), linear-gradient(135deg, rgba(29,51,67,.96), rgba(8,16,26,.86)); }.home-shop-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 15px; }.home-shop-actions .button { padding: 0 12px; font-size: 10px; }
.rules-layout { display: grid; max-width: 1220px; gap: 20px; }.rules-intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(310px, .75fr); gap: 26px; min-height: 250px; padding: 31px; background: radial-gradient(circle at 82% 20%, rgba(34,157,193,.3), transparent 26%), linear-gradient(135deg, #102f47, #081827 66%); }.rules-intro h2, .rules-board-card h2 { margin: 0; font-size: 29px; letter-spacing: -.04em; }.rules-intro p, .rules-copy p, .rules-lead, .rules-two-column p, .rules-recovery p { color: #c1d1da; font-size: 14px; line-height: 1.65; }.territory-schema { position: relative; display: grid; min-height: 180px; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; overflow: hidden; border: 1px solid rgba(255,255,255,.25); background: #0d263b; box-shadow: inset 0 0 32px rgba(0,0,0,.42); }.territory-schema span { display: grid; place-items: center; color: rgba(255,255,255,.86); font-size: 10px; font-weight: 900; letter-spacing: .1em; }.schema-red { background: linear-gradient(135deg, #ee3941, #7b0b16); }.schema-green { background: linear-gradient(225deg, #61ca91, #135a3e); }.schema-blue { background: linear-gradient(45deg, #51c6ed, #114f88); }.schema-yellow { background: linear-gradient(315deg, #ffe772, #a78200); }.territory-schema b { position: absolute; top: 50%; left: 50%; display: grid; width: 58px; height: 58px; place-items: center; transform: translate(-50%, -50%) rotate(45deg); border: 4px solid rgba(255,255,255,.75); background: #0f2230; color: white; font-size: 23px; box-shadow: 0 0 24px rgba(125,220,244,.55); }.territory-schema b::first-letter { transform: rotate(-45deg); }.rules-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }.rule-stat { min-height: 136px; padding: 21px; }.rule-stat b { display: block; color: var(--cyan-bright); font-size: 36px; font-weight: 950; letter-spacing: -.07em; }.rule-stat span { display: block; margin-top: 2px; font-size: 14px; font-weight: 850; }.rule-stat small { display: block; margin-top: 8px; color: var(--muted); font-size: 11px; }.rules-board-card { display: grid; grid-template-columns: minmax(280px, .76fr) minmax(430px, 1.24fr); gap: 28px; align-items: center; padding: 27px; }.rules-copy ul { display: grid; gap: 7px; padding-left: 18px; color: #c1d1da; font-size: 13px; line-height: 1.45; }.rules-board-figure { margin: 0; overflow: hidden; border: 1px solid rgba(125,220,244,.32); background: #b7d2dc; }.rules-board-figure img { display: block; width: 100%; max-height: 420px; object-fit: cover; object-position: center; }.rules-board-figure figcaption { padding: 11px 14px; background: rgba(5,17,29,.93); color: #c1d1da; font-size: 12px; }.rules-section-title { margin: 0; font-size: 22px; letter-spacing: -.03em; }.rules-lead { max-width: 900px; margin: 9px 0 21px; }.piece-rule-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }.piece-rule { min-height: 190px; padding: 22px; border: 1px solid var(--line); background: rgba(255,255,255,.035); }.piece-rule span { display: block; margin-bottom: 18px; font-size: 42px; line-height: .7; }.piece-rule h3 { margin: 0 0 7px; font-size: 17px; }.piece-rule p, .mode-rule-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }.piece-rule--hetman span { color: #ff8188; }.piece-rule--king span { color: var(--gold); }.piece-rule--knight span { color: var(--cyan-bright); }.rule-note { margin-top: 16px; padding: 15px 17px; border-left: 3px solid var(--gold); background: rgba(242,189,65,.1); color: #e5d9b0; font-size: 13px; line-height: 1.55; }.rules-two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }.teleport-diagram { display: grid; grid-template-columns: 48px 1fr 30px 48px 1fr; align-items: center; gap: 9px; margin: 20px 0 11px; color: #b9ccd7; font-size: 12px; }.teleport-diagram i { display: grid; width: 43px; height: 43px; place-items: center; clip-path: polygon(50% 0, 100% 100%, 0 100%); background: linear-gradient(150deg, var(--cyan-bright), #20567c); color: white; font-style: normal; }.teleport-diagram b { color: var(--gold); font-size: 25px; text-align: center; }.rules-caption { margin: 0; color: var(--muted) !important; font-size: 12px !important; }.strategic-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 19px 0 11px; }.strategic-mini-grid span { display: grid; min-height: 98px; place-content: center; justify-items: center; gap: 5px; border: 1px solid rgba(242,189,65,.35); background: linear-gradient(135deg, rgba(242,189,65,.15), rgba(255,255,255,.03)); color: var(--gold); font-size: 25px; }.strategic-mini-grid b { color: var(--ink); font-size: 12px; }.strategic-mini-grid small { color: #e5d9b0; font-size: 10px; font-weight: 800; }.rules-recovery { background: radial-gradient(circle at 88% 30%, rgba(107,196,127,.2), transparent 28%), linear-gradient(135deg, rgba(20,54,53,.94), rgba(7,19,26,.9)); }.mode-rule-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }.mode-rule-grid article { padding: 5px 18px 5px 0; border-right: 1px solid var(--line); }.mode-rule-grid article:last-child { border: 0; }.mode-rule-grid b { display: block; margin-bottom: 8px; color: var(--cyan-bright); font-size: 14px; }.rules-score-table { width: 100%; max-width: 720px; border-collapse: collapse; }.rules-score-table td { padding: 12px 4px; border-bottom: 1px solid var(--line); color: #c1d1da; font-size: 14px; }.rules-score-table td:last-child { color: var(--gold); font-weight: 900; text-align: right; }
.rules-timer { background: radial-gradient(circle at 85% 50%, rgba(242,189,65,.16), transparent 23%), linear-gradient(135deg, rgba(38,47,57,.95), rgba(9,20,31,.93)); }.rules-timer > p:not(.eyebrow) { max-width: 770px; color: #c1d1da; font-size: 14px; line-height: 1.65; }.timer-rule-values { display: flex; gap: 10px; margin: 20px 0 13px; }.timer-rule-values b { min-width: 96px; padding: 11px 14px; border: 1px solid rgba(125,220,244,.25); border-radius: 999px; background: rgba(255,255,255,.04); color: #c1d1da; font-size: 13px; text-align: center; }.timer-rule-values b.active { border-color: rgba(34,157,193,.55); background: rgba(34,157,193,.18); color: var(--cyan-bright); }
.options-layout { display: grid; max-width: 1030px; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; }.options-card { padding: 12px 25px; }.options-card > .eyebrow { margin-top: 18px; }.option-row { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 22px 0; border-bottom: 1px solid var(--line); }.option-row:last-child { border: 0; }.option-row h3 { margin: 0 0 4px; font-size: 16px; }.option-row p { margin: 0; color: var(--muted); font-size: 13px; }.setting-toggle { display: flex; min-width: 130px; align-items: center; justify-content: center; gap: 8px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(255,255,255,.04); color: var(--muted); font-size: 11px; font-weight: 800; }.setting-toggle i { width: 25px; height: 14px; border-radius: 20px; background: #40515d; }.setting-toggle i::after { content: ''; display: block; width: 10px; height: 10px; margin: 2px; border-radius: 50%; background: white; transition: transform .2s ease; }.setting-toggle.on { border-color: rgba(34,157,193,.5); background: rgba(34,157,193,.12); color: var(--cyan-bright); }.setting-toggle.on i { background: var(--cyan); }.setting-toggle.on i::after { transform: translateX(11px); }.time-choices { display: flex; overflow: hidden; border: 1px solid rgba(125,220,244,.3); border-radius: 999px; }.time-choice { min-width: 67px; padding: 9px 10px; border-right: 1px solid rgba(125,220,244,.2); background: rgba(255,255,255,.035); color: var(--muted); font-size: 11px; font-weight: 800; }.time-choice:last-child { border-right: 0; }.time-choice.active { background: linear-gradient(135deg, #239fc7, #176d8b); color: white; box-shadow: inset 0 0 14px rgba(255,255,255,.16); }.options-help { display: flex; min-height: 360px; flex-direction: column; align-items: flex-start; justify-content: center; background: radial-gradient(circle at 50% 20%, rgba(34,157,193,.25), transparent 28%), linear-gradient(145deg, #102a40, #091621); }.options-help > span { margin: 8px 0 15px; color: var(--cyan-bright); font-size: 43px; }.options-help h2 { margin: 0; font-size: 24px; }.options-help p { color: #bfd0da; font-size: 13px; line-height: 1.6; }
.ranking-podium { display: grid; max-width: 790px; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 21px; }.podium-card { display: grid; min-height: 126px; place-content: center; justify-items: center; border: 1px solid var(--line); background: rgba(8,20,31,.65); }.podium-card span { display: grid; width: 34px; height: 34px; margin-bottom: 7px; place-items: center; border-radius: 50%; background: rgba(125,220,244,.13); color: var(--cyan-bright); font-weight: 900; }.podium-card b { font-size: 13px; }.podium-card small { margin-top: 4px; color: var(--gold); font-size: 11px; font-weight: 800; }.podium-card--first { min-height: 146px; border-color: rgba(242,189,65,.46); background: radial-gradient(circle at 50% 0, rgba(242,189,65,.18), transparent 58%), rgba(8,20,31,.68); }.podium-card--first span { background: rgba(242,189,65,.2); color: var(--gold); }
@media (max-width: 1320px) { .app-view { padding: 30px; }.dashboard-grid { grid-template-columns: 1fr 1fr; }.dashboard-grid .wide { grid-column: span 1; }.mode-grid { grid-template-columns: 1fr; }.collection-grid { grid-template-columns: repeat(2, 1fr); }.rules-stat-grid { grid-template-columns: repeat(2, 1fr); }.rules-intro, .rules-board-card, .rules-two-column, .options-layout { grid-template-columns: 1fr; }.options-help { min-height: 240px; }.ranking-podium { max-width: none; } }
