/* roLERbot · Mod carieră
   Sistem vizual: tokeni semantici (luminos implicit, întunecat după sistem sau la alegere), un singur accent pe sezon,
   tipografia sistemului, grilă de 8 px, suprafețe pline pentru conținut și material translucid doar pentru bare. */

/* ───────── tokeni ───────── */
:root {
  color-scheme: light;
  --bg: #f2f2f7;            /* fundalul paginii (grouped background) */
  --bg2: #ffffff;           /* carduri */
  --bg3: #f2f2f7;           /* elemente în interiorul cardurilor */
  --inset: rgba(118, 118, 128, .08);
  --fill: rgba(120, 120, 128, .2);
  --fill2: rgba(120, 120, 128, .16);
  --fill3: rgba(118, 118, 128, .12);
  --label: #1d1d1f;
  --label2: rgba(60, 60, 67, .66);
  --label3: rgba(60, 60, 67, .36);
  --sep: rgba(60, 60, 67, .16);
  --sep-strong: rgba(60, 60, 67, .29);
  --material: rgba(246, 246, 248, .78);
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 4px 16px rgba(0, 0, 0, .03);
  --shadow-pop: 0 12px 40px rgba(0, 0, 0, .14), 0 2px 8px rgba(0, 0, 0, .06);
  --ok: #248a3d; --ok-fill: rgba(52, 199, 89, .14);
  --warn: #c93400; --warn-fill: rgba(255, 149, 0, .14);
  --danger: #d70015; --danger-fill: rgba(255, 59, 48, .12);
  --red: #ff3b30; --blue: #007aff;
  --accent: #e8045f;
  --on-accent: #ffffff;
  --seg-on: #ffffff;
  /* nume vechi folosite în cod */
  --pink: var(--accent); --pink-hi: color-mix(in srgb, var(--accent) 82%, #fff);
  --ink: var(--label); --dim: var(--label2); --line: var(--sep); --gold: var(--warn); --card: var(--bg2);
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;
  --display: var(--font); --body: var(--font);
  --r: 12px; --r-lg: 16px;
  --spring: cubic-bezier(.2, .8, .2, 1);
}
:root[data-season="2"] { --accent: #0071e3; }
:root[data-season="3"] { --accent: #008577; }
:root[data-season="4"] { --accent: #c25e00; }
:root[data-season="5"] { --accent: #8944ab; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #000000; --bg2: #1c1c1e; --bg3: #2c2c2e;
    --inset: rgba(118, 118, 128, .18);
    --fill: rgba(120, 120, 128, .36); --fill2: rgba(120, 120, 128, .32); --fill3: rgba(118, 118, 128, .24);
    --label: #f5f5f7; --label2: rgba(235, 235, 245, .62); --label3: rgba(235, 235, 245, .32);
    --sep: rgba(84, 84, 88, .55); --sep-strong: rgba(84, 84, 88, .8);
    --material: rgba(28, 28, 30, .72);
    --shadow: none; --shadow-pop: 0 16px 48px rgba(0, 0, 0, .6);
    --ok: #30d158; --ok-fill: rgba(48, 209, 88, .16);
    --warn: #ff9f0a; --warn-fill: rgba(255, 159, 10, .16);
    --danger: #ff453a; --danger-fill: rgba(255, 69, 58, .16);
    --red: #ff453a; --blue: #0a84ff;
    --accent: #ff375f; --seg-on: #636366;
  }
  :root:not([data-theme="light"])[data-season="2"] { --accent: #0a84ff; }
  :root:not([data-theme="light"])[data-season="3"] { --accent: #30c9b0; }
  :root:not([data-theme="light"])[data-season="4"] { --accent: #ff9f0a; }
  :root:not([data-theme="light"])[data-season="5"] { --accent: #bf5af2; }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #000000; --bg2: #1c1c1e; --bg3: #2c2c2e;
  --inset: rgba(118, 118, 128, .18);
  --fill: rgba(120, 120, 128, .36); --fill2: rgba(120, 120, 128, .32); --fill3: rgba(118, 118, 128, .24);
  --label: #f5f5f7; --label2: rgba(235, 235, 245, .62); --label3: rgba(235, 235, 245, .32);
  --sep: rgba(84, 84, 88, .55); --sep-strong: rgba(84, 84, 88, .8);
  --material: rgba(28, 28, 30, .72);
  --shadow: none; --shadow-pop: 0 16px 48px rgba(0, 0, 0, .6);
  --ok: #30d158; --ok-fill: rgba(48, 209, 88, .16);
  --warn: #ff9f0a; --warn-fill: rgba(255, 159, 10, .16);
  --danger: #ff453a; --danger-fill: rgba(255, 69, 58, .16);
  --red: #ff453a; --blue: #0a84ff;
  --accent: #ff375f; --seg-on: #636366;
}
:root[data-theme="dark"][data-season="2"] { --accent: #0a84ff; }
:root[data-theme="dark"][data-season="3"] { --accent: #30c9b0; }
:root[data-theme="dark"][data-season="4"] { --accent: #ff9f0a; }
:root[data-theme="dark"][data-season="5"] { --accent: #bf5af2; }
@media (prefers-contrast: more) {
  :root { --label2: rgba(60, 60, 67, .85); --sep: rgba(60, 60, 67, .45); --inset: rgba(118, 118, 128, .16); }
}

/* ───────── bază ───────── */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--label); font-family: var(--font); font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; color: inherit; }
.hidden { display: none !important; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 2px; }
.ico { width: 18px; height: 18px; flex: none; display: block; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; scroll-behavior: auto !important; } }

/* ───────── structură: bară laterală + conținut ───────── */
.cr-shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.cr-side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 16px; padding: 20px 12px 16px; background: var(--material); -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px); border-right: .5px solid var(--sep-strong); overflow-y: auto; z-index: 30; }
.sd-top { display: flex; align-items: center; min-height: 28px; padding: 0 8px; }
.cr-brand { font-size: 19px; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.cr-brand span { color: var(--accent); }
.sd-back { display: inline-flex; align-items: center; gap: 4px; padding: 6px 8px 6px 4px; border: 0; border-radius: 8px; background: none; color: var(--accent); font-size: 14px; font-weight: 500; cursor: pointer; }
.sd-back:hover { background: var(--fill3); }
.sd-team { display: flex; gap: 12px; align-items: center; padding: 4px 8px 8px; }
.sd-av { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 15px; font-weight: 600; }
.sd-team b { display: block; font-size: 15px; font-weight: 600; line-height: 1.2; }
.sd-team small { display: block; margin-top: 2px; color: var(--label2); font-size: 12px; line-height: 1.3; }
.sd-nav { display: grid; gap: 2px; }
.sd-it { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 36px; padding: 0 10px; border: 0; border-radius: 8px; background: none; color: var(--label); font-size: 14px; font-weight: 500; text-align: left; cursor: pointer; transition: background .15s; }
.sd-it .ico { width: 19px; height: 19px; color: var(--accent); }
.sd-it:hover { background: var(--fill3); }
.sd-it.on { background: var(--accent); color: var(--on-accent); }
.sd-it.on .ico { color: var(--on-accent); }
.sd-it .lb { flex: 1; }
.sd-it .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.sd-it.on .dot { background: var(--on-accent); }
.sd-it.more { display: none; }
.sd-foot { display: grid; gap: 10px; margin-top: auto; padding-top: 12px; border-top: .5px solid var(--sep); }
.sd-row { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 36px; padding: 0 10px; border: 0; border-radius: 8px; background: none; color: var(--label); font-size: 14px; font-weight: 500; text-align: left; cursor: pointer; }
.sd-row .ico { color: var(--accent); }
.sd-row span { flex: 1; }
.sd-row:hover { background: var(--fill3); }
.badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 600; font-style: normal; line-height: 1; }
.sd-set { display: grid; gap: 6px; padding: 0 10px; }
.sd-set small, .sheet-foot small { color: var(--label2); font-size: 12px; }
.sd-links { display: flex; gap: 4px; padding: 0 4px; }
.cr-link { padding: 6px 8px; border-radius: 8px; color: var(--label2); font-size: 13px; }
.cr-link:hover { color: var(--label); background: var(--fill3); }
button.cr-link { border: 0; background: none; cursor: pointer; }
.cr-chip.cloud { display: block; width: 100%; padding: 6px 10px; border: 0; border-radius: 8px; background: none; color: var(--label2); font-size: 12.5px; text-align: left; cursor: pointer; }
.cr-chip.cloud:hover { background: var(--fill3); }
.cr-chip.cloud.ok { color: var(--ok); } .cr-chip.cloud.saving { color: var(--warn); } .cr-chip.cloud.error, .cr-chip.cloud.nosetup { color: var(--danger); }

/* segmented control */
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 2px; border-radius: 9px; background: var(--fill3); }
.seg button { min-height: 28px; padding: 0 8px; border: 0; border-radius: 7px; background: none; color: var(--label); font-size: 12.5px; font-weight: 500; cursor: pointer; transition: background .2s var(--spring); }
.seg button.on { background: var(--seg-on); box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 1px 1px rgba(0, 0, 0, .06); font-weight: 600; }

.cr-body { display: flex; flex-direction: column; min-width: 0; }
.cr-tb { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; flex-wrap: wrap; gap: 24px; padding: 16px 32px; background: var(--material); -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px); border-bottom: .5px solid var(--sep-strong); }
.tb-title { min-width: 0; margin-right: auto; }
.tb-title h1 { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -.022em; line-height: 1.15; }
.tb-title small { color: var(--label2); font-size: 13px; }
.tb-res { display: flex; gap: 24px; }
.tb-stat { display: grid; gap: 1px; min-width: 0; }
.tb-stat small { color: var(--label2); font-size: 12px; }
.tb-stat b { font-size: 15px; font-weight: 600; white-space: nowrap; }
.tb-stat b.ok { color: var(--ok); }
.cr-main { width: 100%; max-width: 1240px; margin: 0 auto; padding: 24px 32px 96px; }

/* ───────── grilă și carduri ───────── */
.cr-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; align-items: start; }
.cr-card { grid-column: span 12; min-width: 0; padding: 20px; border-radius: var(--r-lg); background: var(--bg2); box-shadow: var(--shadow); }
.cr-card.s4 { grid-column: span 4; } .cr-card.s5 { grid-column: span 5; } .cr-card.s6 { grid-column: span 6; } .cr-card.s7 { grid-column: span 7; } .cr-card.s8 { grid-column: span 8; }
.cr-col { grid-column: span 5; display: grid; gap: 16px; align-content: start; min-width: 0; }
.cr-col.c4 { grid-column: span 4; }
.cr-col .cr-card { grid-column: auto; }
@media (max-width: 1100px) { .cr-card.s4, .cr-col.c4 { grid-column: span 6; } .cr-card.s8 { grid-column: span 12; } }
@media (max-width: 900px) { .cr-card.s4, .cr-card.s5, .cr-card.s6, .cr-card.s7, .cr-card.s8, .cr-col, .cr-col.c4 { grid-column: span 12; } }
.cr-card h2 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -.012em; line-height: 1.25; }
.cr-card h3 { margin: 0 0 12px; font-size: 17px; font-weight: 600; }
.ch-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.cr-eyebrow { margin-bottom: 2px; color: var(--label2); font-size: 13px; font-weight: 500; }
.cr-sub { margin: 0 0 16px; color: var(--label2); font-size: 14.5px; line-height: 1.5; }
.cr-note { color: var(--label2); font-size: 13px; line-height: 1.45; }
.cr-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.warn { margin: 12px 0 0; padding: 10px 12px; border-radius: var(--r); background: var(--warn-fill); color: var(--label); font-size: 13.5px; }
.foot-note { grid-column: span 12; margin: 8px 0 0; text-align: center; }

/* ───────── butoane și câmpuri ───────── */
.cr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 14px; border: 0; border-radius: 10px; background: var(--fill3); color: var(--label); font-size: 14px; font-weight: 600; line-height: 1.2; text-align: center; cursor: pointer; transition: background .15s, transform .2s var(--spring), filter .15s; }
.cr-btn .ico { width: 17px; height: 17px; }
.cr-btn:hover:not(:disabled) { background: var(--fill2); }
.cr-btn:active:not(:disabled) { transform: scale(.97); }
.cr-btn.pri { background: var(--accent); color: var(--on-accent); }
.cr-btn.pri:hover:not(:disabled) { background: var(--accent); filter: brightness(1.07); }
.cr-btn.sm { min-height: 30px; padding: 0 12px; border-radius: 8px; font-size: 13px; }
.cr-btn.big { min-height: 44px; padding: 0 20px; font-size: 15px; }
.cr-btn:disabled { opacity: .4; cursor: default; }
.cr-btn.danger { color: var(--danger); }
.cr-btn.cta { min-height: 40px; padding: 0 16px; }
.cr-btn.cta .sub { font-weight: 500; opacity: .8; }
@media (pointer: coarse) { .cr-btn { min-height: 44px; } .cr-btn.sm { min-height: 36px; } }
.cr-in { width: 100%; min-height: 38px; padding: 8px 12px; border: 0; border-radius: 10px; background: var(--fill3); color: var(--label); font-size: 15px; outline: none; }
.cr-in:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); }
.cr-in::placeholder { color: var(--label3); }
.cr-sel { appearance: auto; padding: 8px 10px; font-size: 14px; }
.ap-f { display: grid; gap: 6px; color: var(--label2); font-size: 13px; }
.cr-card > .ap-f { margin-bottom: 14px; }
.cr-card > .ap-f + .cr-row { margin-top: 18px; }

/* ───────── elemente comune ───────── */
.tile { --c: var(--accent); display: inline-grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 22.5%; background: var(--c); color: #fff; }
.tile .ico { width: 18px; height: 18px; }
.tile.sm { width: 28px; height: 28px; } .tile.sm .ico { width: 16px; height: 16px; }
.tile.fi { --c: var(--ok); }
.dblk { display: grid; justify-items: center; align-content: center; width: 56px; padding: 8px 0; border-radius: 12px; background: var(--bg2); border: .5px solid var(--sep-strong); color: var(--label); }
.dblk small { color: var(--accent); font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.dblk b { font-size: 22px; font-weight: 600; line-height: 1.1; }
.dblk small:last-child { color: var(--label2); font-weight: 500; }
.prog { height: 6px; border-radius: 3px; background: var(--fill3); overflow: hidden; }
.prog i { display: block; height: 100%; border-radius: 3px; background: var(--accent); transition: width .4s var(--spring); }
.log { display: grid; color: var(--label2); font-size: 13.5px; }
.log div { padding: 8px 0; border-bottom: .5px solid var(--sep); line-height: 1.4; }
.log div:last-child { border-bottom: 0; }
.banner { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 16px; padding: 12px 16px; border-radius: var(--r-lg); background: var(--warn-fill); font-size: 14px; }
.cr-bars { display: grid; gap: 10px; }
.cr-bar { display: grid; grid-template-columns: 120px 1fr 48px; gap: 10px; align-items: center; font-size: 13.5px; }
.cr-bar .track { height: 6px; border-radius: 3px; background: var(--fill3); overflow: hidden; }
.cr-bar .track i { display: block; height: 100%; border-radius: 3px; background: var(--accent); transition: width .5s var(--spring); }
.cr-bar b { color: var(--label2); font-size: 13px; font-weight: 500; text-align: right; }

/* ───────── Acasă ───────── */
.hero { padding: 24px; }
.hero-top { display: flex; gap: 16px; align-items: flex-start; }
.hero .dblk { width: 64px; padding: 10px 0; }
.hero .dblk b { font-size: 26px; }
.hero-txt { min-width: 0; }
.hero-k { color: var(--label2); font-size: 13px; font-weight: 500; }
.hero h2 { margin: 2px 0 0; font-size: 28px; font-weight: 700; letter-spacing: -.022em; line-height: 1.15; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 8px 0 0; color: var(--label2); font-size: 13.5px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 4px; }
.hero-meta .ico { width: 15px; height: 15px; }
.hero-meta .hc { padding: 2px 10px; border-radius: 999px; background: var(--warn-fill); color: var(--warn); font-weight: 600; }
.hero-meta .hc.now { background: var(--accent); color: var(--on-accent); }
.hero-status { margin: 16px 0 0; }
.hero-act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.setup { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: .5px solid var(--sep); }
.buffs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.buffs span { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: var(--warn-fill); font-size: 12.5px; }
.buffs .ico { width: 14px; height: 14px; color: var(--warn); }
.fld { display: flex; gap: 12px; align-items: center; margin: 12px 0; padding: 12px; border-radius: var(--r); background: var(--inset); }
.fld > div { flex: 1; min-width: 0; }
.fld b { display: block; font-size: 14px; font-weight: 600; }
.fld small { display: block; margin-top: 1px; color: var(--label2); font-size: 12.5px; }
.fld.no .tile { --c: var(--danger); } .fld.wait .tile { --c: var(--warn); }
.fld.mini { margin: 16px 0 0; }
.mini-list { display: grid; gap: 8px; }
.mini { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; padding: 8px; border-radius: var(--r); background: var(--inset); }
.mini img { width: 36px; height: 36px; padding: 3px; border-radius: 8px; background: #fff; object-fit: contain; }
.mini b { font-size: 13.5px; font-weight: 600; }
.mini small { display: block; color: var(--label2); font-size: 12px; line-height: 1.35; }
.mini em { color: var(--ok); font-size: 13px; font-weight: 600; font-style: normal; }
.strip { padding: 20px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.step { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: var(--r); background: var(--inset); }
.step .ic { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--fill2); color: var(--label2); font-size: 13px; font-weight: 600; }
.step .ic .ico { width: 15px; height: 15px; }
.step b { display: block; font-size: 14px; font-weight: 600; }
.step small { display: block; color: var(--label2); font-size: 12px; }
.step.now { background: color-mix(in srgb, var(--accent) 10%, var(--bg2)); box-shadow: inset 0 0 0 1.5px var(--accent); }
.step.now .ic { background: var(--accent); color: var(--on-accent); }
.step.done .ic { background: var(--ok); color: #fff; }
.step.lock { opacity: .5; }
.goals { display: grid; gap: 8px; }
.goal { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: var(--r); background: var(--inset); }
.goal .ck { display: grid; place-items: center; width: 20px; height: 20px; flex: none; margin-top: 1px; border: 1.5px solid var(--label3); border-radius: 50%; color: transparent; font-size: 11px; }
.goal.got .ck { border-color: var(--ok); background: var(--ok); color: #fff; }
.goal b { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.goal small { color: var(--label2); font-size: 12px; }

/* ───────── Sezon ───────── */
.cal { display: grid; border-radius: var(--r); background: var(--inset); overflow: hidden; }
.cal-row { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 12px; border-bottom: .5px solid var(--sep); font-size: 14px; }
.cal-row:last-child { border-bottom: 0; }
.cal-row b { min-width: 64px; color: var(--label2); font-size: 13px; font-weight: 500; }
.cal-row span { flex: 1; font-weight: 500; }
.cal-row em { color: var(--label2); font-size: 12px; font-style: normal; }
.cal-row.next { background: color-mix(in srgb, var(--accent) 9%, transparent); }
.cal-row.next span { color: var(--accent); font-weight: 600; }
.cal-row.done span { color: var(--label2); }
.cal-row.done em { color: var(--ok); }
.cal-row.off { opacity: .45; }
.rules { margin-top: 16px; }
.rules summary { color: var(--accent); font-size: 14px; font-weight: 500; cursor: pointer; }
.rules p { color: var(--label2); font-size: 13.5px; line-height: 1.55; }
.prize { display: grid; border-radius: var(--r); background: var(--inset); overflow: hidden; }
.prize > div { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: baseline; padding: 10px 12px; border-bottom: .5px solid var(--sep); }
.prize > div:last-child { border-bottom: 0; }
.prize span { font-size: 14px; }
.prize b { font-size: 14px; font-weight: 600; }
.prize em { color: var(--label2); font-size: 12.5px; font-style: normal; }
table.st { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.st th { position: sticky; top: 0; padding: 8px; border-bottom: .5px solid var(--sep-strong); background: var(--bg2); color: var(--label2); font-size: 12px; font-weight: 500; text-align: left; }
table.st td { padding: 9px 8px; border-bottom: .5px solid var(--sep); }
table.st td.n { width: 32px; color: var(--label2); }
table.st tr.me td { background: color-mix(in srgb, var(--accent) 10%, transparent); font-weight: 600; }
.st-scroll { max-height: 440px; overflow: auto; }
.vs, .vs2 { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; margin: 4px 0 16px; padding: 16px; border-radius: var(--r); background: var(--inset); }
.vs .side, .vs2 .side { display: grid; gap: 2px; min-width: 0; }
.vs .side.r, .vs2 .side.r { text-align: right; }
.vs2 .side b { font-size: 17px; font-weight: 600; }
.vs b { font-size: 26px; font-weight: 700; }
.vs small, .vs2 .side small { color: var(--label2); font-size: 12px; }
.vs .mid, .vs2 .mid { color: var(--label3); font-size: 13px; font-weight: 600; }
.al-red { color: var(--red); } .al-blue { color: var(--blue); }
.hist { display: grid; border-radius: var(--r); background: var(--inset); overflow: hidden; }
.hist .h { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; padding: 10px 12px; border-bottom: .5px solid var(--sep); font-size: 14px; }
.hist .h:last-child { border-bottom: 0; }
.hist .h small { display: block; margin-top: 2px; color: var(--label2); font-size: 12px; }
.hist .h b { font-size: 13.5px; font-weight: 600; }
.hist .h.now { background: color-mix(in srgb, var(--accent) 9%, transparent); }
.hist .h.now b { color: var(--accent); }
.judge { margin: 16px 0; padding: 14px; border-radius: var(--r); background: var(--warn-fill); }
.judge .cr-eyebrow { color: var(--warn); font-weight: 600; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.pick-card { display: grid; gap: 2px; padding: 12px 14px; border: 0; border-radius: var(--r); background: var(--inset); text-align: left; cursor: pointer; transition: background .15s, transform .2s var(--spring); }
.pick-card:hover { background: color-mix(in srgb, var(--accent) 10%, var(--bg2)); }
.pick-card:active { transform: scale(.98); }
.pick-card b { font-size: 15px; font-weight: 600; }
.pick-card small { color: var(--label2); font-size: 12.5px; }
.pick-card em { color: var(--accent); font-size: 12px; font-weight: 600; font-style: normal; }

/* ───────── Robot ───────── */
.cfg { margin-top: 20px; padding-top: 16px; border-top: .5px solid var(--sep); }
.cfg .cr-eyebrow { margin-bottom: 8px; }
.seg2 { display: grid; grid-template-columns: 1fr 1fr; padding: 2px; border-radius: 9px; background: var(--fill3); }
.seg2 button { min-height: 30px; border: 0; border-radius: 7px; background: none; color: var(--label); font-size: 13px; font-weight: 500; cursor: pointer; }
.seg2 button.on { background: var(--seg-on); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); font-weight: 600; }
.seg2 button:disabled { opacity: .4; cursor: default; }
.orders { display: grid; gap: 8px; margin-top: 12px; }
.order { display: grid; gap: 10px; padding: 12px; border-radius: var(--r); background: var(--inset); }
.ord-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 12px; }
.ord-h b { font-size: 14px; font-weight: 600; }
.ord-h small { color: var(--label2); font-size: 12.5px; }
.ord-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.ord-steps span { position: relative; padding-top: 10px; color: var(--label3); font-size: 11.5px; text-align: center; }
.ord-steps span::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 2px; background: var(--fill2); }
.ord-steps span.done { color: var(--label2); } .ord-steps span.done::before { background: var(--ok); }
.ord-steps span.now { color: var(--accent); font-weight: 600; } .ord-steps span.now::before { background: var(--accent); }
.order .cr-btn { justify-self: start; }
.hw-grid { display: grid; gap: 16px; }
.hw + .hw { padding-top: 16px; border-top: .5px solid var(--sep); }
.hw-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.hw-head h3 { margin: 0; font-size: 17px; font-weight: 600; }
.hw-cur { color: var(--label2); font-size: 12.5px; }
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tier { display: flex; flex-direction: column; gap: 6px; min-height: 168px; padding: 12px; border-radius: var(--r); background: var(--inset); font-size: 13px; }
.tier b { font-size: 14px; font-weight: 600; }
.tier p { flex: 1; margin: 0; color: var(--label2); line-height: 1.4; }
.tier .fx { color: var(--label2); font-size: 12px; }
.tier .tag { color: var(--label3); font-size: 11.5px; font-weight: 600; }
.tier.installed .tag { color: var(--ok); }
.tier.building { box-shadow: inset 0 0 0 1.5px var(--warn); } .tier.building .tag { color: var(--warn); }
.tier.next { background: color-mix(in srgb, var(--accent) 7%, var(--bg2)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 45%, transparent); }
.tier.next .tag { color: var(--accent); }
.tier.locked { opacity: .5; }
.tier .cr-btn { margin-top: 4px; }

/* ───────── Echipă ───────── */
.crew-grid, .pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.shop-card { display: grid; gap: 8px; align-content: start; padding: 14px; border-radius: var(--r); background: var(--inset); }
.shop-card b { font-size: 14.5px; font-weight: 600; }
.shop-card p { margin: 0; color: var(--label2); font-size: 13px; line-height: 1.45; }
.shop-card .cat { display: block; color: var(--label2); font-size: 12px; }
.shop-card .st { color: var(--warn); font-size: 12.5px; font-weight: 600; font-style: normal; }
.shop-card.done { opacity: .6; }
.shop-card .cr-btn { justify-self: start; }
.cw-top { display: flex; gap: 12px; align-items: center; }
.cw-top b { display: block; }
.av-i { --c: var(--accent); display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--c); color: #fff; font-size: 16px; font-weight: 600; }
.ring { --v: 0; display: grid; place-items: center; width: 56px; height: 56px; flex: none; border-radius: 50%; background: conic-gradient(var(--accent) calc(var(--v) * 1%), var(--fill3) 0); }
.ring b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bg2); font-size: 13px; font-weight: 600; }

/* ───────── Sponsori ───────── */
.sp-list { display: grid; gap: 8px; }
.sp { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: var(--r); background: var(--inset); }
.sp img { width: 52px; height: 52px; padding: 5px; border-radius: 10px; background: #fff; object-fit: contain; }
.sp h4 { margin: 0 0 2px; font-size: 15px; font-weight: 600; }
.sp p { margin: 0; color: var(--label2); font-size: 13px; line-height: 1.4; }
.sp .meta { margin-top: 4px; color: var(--label2); font-size: 12px; }
.sp.done { box-shadow: inset 0 0 0 1.5px var(--ok); }
.sp.failed { opacity: .5; }
.sp .prog { margin-top: 8px; }
.sp-on { color: var(--ok); font-size: 12px; font-weight: 600; font-style: normal; }
.sp-empty { display: grid; gap: 2px; place-content: center; min-height: 76px; border: 1.5px dashed var(--sep-strong); border-radius: var(--r); color: var(--label2); text-align: center; }
.sp-empty b { color: var(--label); font-size: 14px; font-weight: 600; }
.sp-empty small { font-size: 12.5px; }

/* ───────── Statistici ───────── */
.stats { display: grid; gap: 12px; }
.stiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.stile { display: grid; gap: 2px; padding: 12px; border-radius: var(--r); background: var(--inset); }
.stile small { color: var(--label2); font-size: 12px; }
.stile b { font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.stile em { font-size: 12px; font-weight: 600; font-style: normal; }
.stile em.up { color: var(--ok); } .stile em.down { color: var(--danger); }
.schart-card { display: grid; gap: 2px; padding: 16px; border-radius: var(--r); background: var(--inset); }
.schart-card b { font-size: 15px; font-weight: 600; }
.schart-card small { color: var(--label2); font-size: 12.5px; }
.schart { width: 100%; height: auto; margin-top: 8px; }
.schart .gl { stroke: var(--sep); stroke-width: 1; }
.schart .ax { fill: var(--label2); font: 500 11px var(--font); }
.schart .reg { fill: var(--label3); }
.schart .ln { fill: none; stroke: var(--label); stroke-width: 1.75; opacity: .7; }
.schart circle.win { fill: var(--ok); } .schart circle.loss { fill: var(--danger); } .schart circle.tie { fill: var(--warn); }
.slegend { display: flex; gap: 16px; margin-top: 4px; color: var(--label2); font-size: 12.5px; }
.slegend span { display: inline-flex; align-items: center; gap: 6px; }
.slegend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.slegend i.regc { background: var(--label3); }
.awd { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.awd span { padding: 4px 12px; border-radius: 999px; background: var(--warn-fill); font-size: 13px; }
.kv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kv-grid > div { padding: 12px; border-radius: var(--r); background: var(--inset); }
.kv-grid small { display: block; color: var(--label2); font-size: 12px; }
.kv-grid b { font-size: 18px; font-weight: 600; }

/* ───────── ferestre ───────── */
.cr-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, .32); animation: fadeIn .2s ease; }
.cr-modal .box { width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 24px; border-radius: 20px; background: var(--bg2); box-shadow: var(--shadow-pop); animation: popIn .32s var(--spring); }
.cr-modal h2 { margin: 0 0 8px; font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.cr-modal .choices { display: grid; gap: 8px; margin-top: 16px; }
.cr-modal .choices .cr-btn { justify-content: flex-start; min-height: 44px; padding: 10px 14px; font-weight: 500; text-align: left; }
.cr-modal .vs { margin: 12px 0 16px; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: scale(.96) translateY(8px); } }
.cr-toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 14px; background: var(--material); -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px); box-shadow: var(--shadow-pop); font-size: 14px; font-weight: 500; transform: translateX(-50%); }
.sheet-ov { align-items: flex-end; padding: 0; }
.sheet { width: 100%; max-width: 560px; padding: 8px 16px calc(24px + env(safe-area-inset-bottom)); border-radius: 16px 16px 0 0; background: var(--bg); box-shadow: var(--shadow-pop); animation: sheetUp .35s var(--spring); }
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } }
.sheet .grabber { width: 36px; height: 5px; margin: 0 auto 12px; border-radius: 3px; background: var(--fill); }
.sheet h3 { margin: 0 0 12px; font-size: 20px; font-weight: 700; }
.sheet .group { border-radius: var(--r); background: var(--bg2); overflow: hidden; }
.sheet .row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 0 14px; border: 0; border-bottom: .5px solid var(--sep); background: none; font-size: 16px; text-align: left; cursor: pointer; }
.sheet .row:last-child { border-bottom: 0; }
.sheet .row > .ico:first-child { width: 20px; height: 20px; color: var(--accent); }
.sheet .row span { flex: 1; }
.sheet .row .chev { width: 16px; height: 16px; color: var(--label3); }
.sheet .row .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.sheet-foot { display: grid; gap: 6px; margin-top: 16px; }
.rp-ov { z-index: 110; }
.rp-box { width: min(780px, 100%) !important; }
.rp-cv { display: block; width: 100%; max-width: 720px; margin: 12px auto; border-radius: var(--r); }
.rp-lab { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; }
.rp-lab span { color: var(--label2); font-size: 13px; font-weight: 500; }

/* ───────── prima pagină: alegerea echipei ───────── */
.welcome { max-width: 760px; margin: 6vh auto 0; padding: 32px; border-radius: 20px; background: var(--bg2); box-shadow: var(--shadow); }
.welcome h1 { margin: 4px 0 12px; font-size: clamp(32px, 5vw, 44px); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.welcome h1 span { color: var(--accent); }
.welcome .cr-eyebrow { color: var(--accent); font-weight: 600; }
.cr-back { display: inline-flex; align-items: center; gap: 4px; margin: 16px 0 0 16px; padding: 6px 10px; border: 0; border-radius: 8px; background: none; color: var(--accent); font-weight: 500; cursor: pointer; }
.tp { margin-top: 20px; }
.tp-regs { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 12px; }
.tp-reg { display: grid; padding: 8px 12px; border: 0; border-radius: 10px; background: var(--fill3); font-size: 13.5px; font-weight: 600; text-align: left; cursor: pointer; }
.tp-reg small { color: var(--label2); font-size: 11.5px; font-weight: 500; }
.tp-reg.on { background: var(--accent); color: var(--on-accent); }
.tp-reg.on small { color: color-mix(in srgb, var(--on-accent) 75%, transparent); }
.tp-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px; max-height: 300px; margin: 10px 0; padding: 2px; overflow: auto; }
.tp-team { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 40px; padding: 8px 12px; border: 0; border-radius: 10px; background: var(--inset); text-align: left; cursor: pointer; }
.tp-team b { overflow: hidden; font-size: 13.5px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.tp-team small { color: var(--label2); font-size: 12px; }
.tp-team:hover { background: var(--fill2); }
.tp-team.on { background: var(--accent); color: var(--on-accent); }
.tp-team.on small { color: color-mix(in srgb, var(--on-accent) 75%, transparent); }
.tp-manual { margin-top: 8px; }
.tp-mrow { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; margin-top: 8px; }
.ap-switch { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 14px; cursor: pointer; }
.ap-switch input { width: 18px; height: 18px; accent-color: var(--accent); }

/* ───────── editorul de autonom ───────── */
.ap-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0; }
.ap-tool { display: inline-grid; place-items: center; min-width: 36px; height: 36px; padding: 0 8px; border: 0; border-radius: 10px; background: var(--fill3); font-size: 15px; cursor: pointer; }
.ap-tool:hover { background: var(--fill2); }
.ap-tool.on { background: var(--accent); color: var(--on-accent); }
.ap-seg { display: inline-flex; padding: 2px; border-radius: 9px; background: var(--fill3); }
.ap-seg button { min-height: 30px; padding: 0 12px; border: 0; border-radius: 7px; background: none; color: var(--label); font-size: 13px; font-weight: 500; cursor: pointer; }
.ap-seg button.on { background: var(--seg-on); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); font-weight: 600; }
.ap-seg button.on.pink { background: var(--accent); color: var(--on-accent); }
.ap-seg button.on.red { background: var(--red); color: #fff; } .ap-seg button.on.blue { background: var(--blue); color: #fff; }
.ap-map { position: relative; max-width: 820px; margin: 0 auto; }
.ap-cv { display: block; width: 100%; max-width: 820px; margin: 0 auto; border-radius: var(--r); background: #262a33; cursor: crosshair; touch-action: none; }
.ap-tlrow { display: flex; gap: 10px; align-items: center; margin-top: 12px; }
.ap-tlrow input[type=range] { flex: 1; accent-color: var(--accent); }
.ap-tlrow span { min-width: 92px; color: var(--label2); font-size: 12.5px; text-align: right; }
.ap-tl { position: relative; height: 24px; margin-top: 8px; border-radius: 6px; background: var(--fill3); overflow: hidden; }
.ap-tl i { position: absolute; top: 3px; bottom: 3px; border-radius: 4px; background: #8e8e93; cursor: pointer; }
.ap-tl i.sel { outline: 2px solid var(--accent); }
.ap-tl i.over { opacity: .35; }
.ap-tl .tl-move { background: #34c759; } .ap-tl .tl-shoot { background: var(--accent); } .ap-tl .tl-intake { background: #ff9500; } .ap-tl .tl-take, .ap-tl .tl-deposit { background: #ffcc00; } .ap-tl .tl-wait { background: #5856d6; } .ap-tl .tl-settle { background: var(--fill); }
.ap-tl u { position: absolute; top: 0; bottom: 0; width: 0; border-left: 2px dashed var(--danger); }
.ap-tl s { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--label); text-decoration: none; }
.ap-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; color: var(--label2); font-size: 12.5px; }
.ap-legend span { display: inline-flex; align-items: center; gap: 6px; }
.ap-legend .lg-line { display: inline-block; width: 18px; height: 3px; border-radius: 2px; background: #34c759; }
.ap-legend .lg-line.bad { background: repeating-linear-gradient(90deg, #ff3b30 0 5px, transparent 5px 8px); }
.ap-legend .lg-sq { display: inline-block; width: 11px; height: 11px; border: 2px solid #ff3b30; }
.ap-legend .lg-tag { padding: 1px 6px; border-radius: 5px; background: var(--fill3); color: var(--label); font-size: 11px; font-weight: 600; font-style: normal; }
.ap-step { display: flex; gap: 12px; align-items: center; margin: 24px 0 12px; padding-top: 20px; border-top: .5px solid var(--sep); }
.ap-step:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.ap-step > b { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 13px; font-weight: 600; }
.ap-step h3 { margin: 0; font-size: 16px; font-weight: 600; }
.ap-step small { display: block; color: var(--label2); font-size: 12.5px; line-height: 1.4; }
.ap-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ap-slot { display: grid; gap: 2px; padding: 10px; border: 0; border-radius: var(--r); background: var(--inset); text-align: left; cursor: pointer; }
.ap-slot b { font-size: 13.5px; font-weight: 600; }
.ap-slot span { overflow: hidden; color: var(--label2); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.ap-slot small { color: var(--label2); font-size: 11.5px; }
.ap-slot em { color: var(--ok); font-size: 11px; font-weight: 600; font-style: normal; }
.ap-slot.on { background: color-mix(in srgb, var(--accent) 8%, var(--bg2)); box-shadow: inset 0 0 0 1.5px var(--accent); }
.ap-sub { margin: 12px 0 6px; color: var(--label2); font-size: 13px; font-weight: 500; }
.ap-newcmd { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; border: 0; border-radius: var(--r); background: color-mix(in srgb, var(--accent) 9%, var(--bg2)); text-align: left; cursor: pointer; }
.ap-newcmd .plus { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 20px; font-weight: 500; line-height: 1; }
.ap-newcmd b { font-size: 15px; font-weight: 600; }
.ap-newcmd small { margin-left: auto; color: var(--label2); font-size: 12.5px; }
.ap-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 8px 0; }
.ap-pk { display: grid; grid-template-columns: 28px 1fr; column-gap: 8px; align-items: center; padding: 10px; border: 0; border-radius: var(--r); background: var(--inset); text-align: left; cursor: pointer; }
.ap-pk:hover { background: var(--fill2); }
.ap-pk .ic { grid-row: 1 / 3; font-size: 20px; text-align: center; }
.ap-pk b { font-size: 13px; font-weight: 600; }
.ap-pk small { color: var(--label2); font-size: 11.5px; line-height: 1.3; }
.ap-presets { display: grid; gap: 6px; margin: 6px 0; }
.ap-preset { display: grid; gap: 1px; padding: 10px 12px; border: 0; border-radius: var(--r); background: var(--inset); text-align: left; cursor: pointer; }
.ap-preset:hover { background: var(--fill2); }
.ap-preset b { font-size: 13.5px; font-weight: 600; }
.ap-preset small { color: var(--label2); font-size: 12px; }
.ap-list { display: grid; max-height: 220px; overflow: auto; border-radius: var(--r); background: var(--inset); }
.ap-row { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 10px; border-bottom: .5px solid var(--sep); font-size: 13px; cursor: pointer; }
.ap-row:last-child { border-bottom: 0; }
.ap-row.on { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.ap-row.warn { margin: 0; border-radius: 0; background: var(--warn-fill); }
.ap-row > b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--fill2); font-size: 11.5px; font-weight: 600; }
.ap-row span:first-of-type { flex: 1; }
.ap-row em { color: var(--warn); font-weight: 700; font-style: normal; }
.ap-tags { display: flex; gap: 3px; }
.ap-tags i { padding: 1px 5px; border-radius: 5px; background: var(--fill3); font-size: 10.5px; font-weight: 600; font-style: normal; }
.ap-mv { display: flex; gap: 2px; }
.ap-mv button, .ap-act button { width: 26px; height: 26px; border: 0; border-radius: 7px; background: none; color: var(--label2); font-size: 11px; cursor: pointer; }
.ap-mv button:hover, .ap-act button:hover { background: var(--fill3); color: var(--label); }
.ap-edit { margin-top: 16px; padding-top: 12px; border-top: .5px solid var(--sep); }
.ap-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.ap-chip { display: inline-flex; gap: 6px; align-items: center; min-height: 30px; padding: 0 10px; border: 0; border-radius: 999px; background: var(--fill3); font-size: 12.5px; font-weight: 500; cursor: pointer; }
.ap-chip i { color: var(--accent); font-weight: 700; font-style: normal; }
.ap-chip:hover { background: var(--fill2); }
.ap-acts { display: grid; gap: 6px; margin: 8px 0; }
.ap-act { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r); background: var(--inset); font-size: 13px; }
.ap-act b { flex: 1; font-weight: 500; }
.ap-act input { width: 58px; min-height: 28px; padding: 2px 6px; border: 0; border-radius: 7px; background: var(--fill3); }
.ap-checks { margin: 12px 0; padding: 12px; border-radius: var(--r); background: var(--warn-fill); }
.ap-checks b { color: var(--warn); font-size: 13px; font-weight: 600; }
.ap-checks p { margin: 6px 0 0; font-size: 13px; cursor: pointer; }
.ap-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
.ap-stats > div { padding: 10px 12px; border-radius: var(--r); background: var(--inset); }
.ap-stats small { display: block; color: var(--label2); font-size: 12px; }
.ap-stats b { font-size: 17px; font-weight: 600; } .ap-stats b.bad { color: var(--danger); }
.ap-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 8px 0; }

/* ───────── tableta: stă jos în dreapta, se ridică la notificări, se deschide pe tot ecranul ───────── */
.phone-bd { position: fixed; inset: 0; z-index: 88; background: rgba(0, 0, 0, .35); opacity: 0; pointer-events: none; transition: opacity .3s; }
.phone-bd.on { opacity: 1; pointer-events: auto; }
.phone { --ph: var(--accent); position: fixed; z-index: 90; display: flex; flex-direction: column; overflow: hidden; border: 7px solid #1d1d1f; border-radius: 28px; background: var(--bg); color: var(--label); box-shadow: var(--shadow-pop); transition: transform .42s var(--spring), width .42s var(--spring), height .42s var(--spring), right .42s var(--spring), bottom .42s var(--spring), border-radius .42s; }
.phone.dock { right: 20px; bottom: 0; width: 320px; height: 500px; border-bottom: 0; border-radius: 28px 28px 0 0; transform: translateY(calc(100% - 48px)); cursor: pointer; }
.phone.dock:hover { transform: translateY(calc(100% - 72px)); }
.phone.dock.peek { transform: translateY(calc(100% - 164px)); }
.phone.dock.ring { animation: phShake .13s 8; }
@keyframes phShake { 0%, 100% { translate: 0 0; } 25% { translate: -3px 0; } 75% { translate: 3px 0; } }
.phone.full { right: 50%; bottom: 50%; width: min(1040px, 96vw); height: min(780px, 94vh); transform: translate(50%, 50%); }
.ph-handle { display: flex; flex: none; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border-bottom: .5px solid var(--sep); background: var(--material); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); font-size: 13px; }
.ph-handle .ph-ic { color: var(--ph); }
.ph-handle b { font-weight: 600; }
.ph-handle .ph-txt { flex: 1; color: var(--label2); text-align: right; }
.ph-badge { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--ph); color: #fff; font-size: 12px; font-weight: 600; font-style: normal; }
.ph-lock { display: grid; flex: 1; gap: 8px; align-content: start; padding: 12px; overflow: hidden; background: var(--bg); }
.ph-hint { margin-top: 4px; color: var(--label2); font-size: 12px; text-align: center; }
.ph-list { display: grid; gap: 6px; }
.ph-n { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: start; width: 100%; padding: 10px 12px; border-radius: 14px; background: var(--bg2); box-shadow: var(--shadow); text-align: left; cursor: pointer; }
.ph-n b { display: block; font-size: 13.5px; font-weight: 600; }
.ph-n small { display: block; margin-top: 1px; color: var(--label2); font-size: 12.5px; line-height: 1.35; }
.ph-n em { color: var(--label3); font-size: 11.5px; font-style: normal; }
.ph-n.new b::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 6px; border-radius: 50%; background: var(--ph); vertical-align: 2px; }
.ph-n.mini small { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tb-status { display: flex; flex: none; justify-content: space-between; align-items: center; padding: 6px 16px; background: var(--bg); font-size: 12px; font-weight: 600; }
.tb-status .bat { width: 20px; height: 20px; }
.tb-sys { display: flex; align-items: center; gap: 6px; }
.tb-mute { display: grid; place-items: center; width: 28px; height: 24px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--label2); cursor: pointer; }
.tb-mute:hover { background: var(--fill3); color: var(--label); }
.tb-mute .ico { width: 16px; height: 16px; }
.tb-bar { display: flex; flex: none; gap: 8px; align-items: center; padding: 8px 12px; border-bottom: .5px solid var(--sep); background: var(--material); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.tb-btn { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border: 0; border-radius: 10px; background: var(--fill3); color: var(--label); cursor: pointer; }
.tb-btn:hover { background: var(--fill2); }
.tb-url { flex: 1; min-width: 0; padding: 8px 14px; overflow: hidden; border-radius: 10px; background: var(--fill3); color: var(--label2); font-size: 13px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.tb-body { flex: 1; overflow: auto; background: var(--bg); }
.tb-body.light { background: #fff; color: #1d1d1f; }
.tb-home { display: grid; flex: 1; grid-template-columns: 280px minmax(0, 1fr); gap: 20px; align-items: start; padding: 20px; overflow: auto; background: var(--bg); }
.tb-wid { display: grid; gap: 12px; }
.tb-wid .w { display: grid; gap: 2px; padding: 16px; border-radius: 18px; background: var(--bg2); box-shadow: var(--shadow); }
.tb-wid small { color: var(--label2); font-size: 12px; }
.tb-wid .clock b { font-size: 44px; font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.tb-wid .team b, .tb-wid .next b { font-size: 17px; font-weight: 600; }
.tb-wid span { color: var(--label2); font-size: 13px; }
.tb-wid .kv { display: grid; grid-template-columns: repeat(3, auto); gap: 12px; margin-top: 8px; }
.tb-wid .kv b { display: block; font-size: 14px; font-weight: 600; }
.kv .ok { color: var(--ok); } .kv .gold { color: var(--warn); }
.tb-main { min-width: 0; }
.tb-apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 16px 8px; }
.tb-app { position: relative; display: grid; justify-items: center; gap: 6px; padding: 4px; border: 0; background: none; font-size: 12px; font-weight: 500; cursor: pointer; }
.tb-app .tile { width: 58px; height: 58px; box-shadow: 0 2px 6px rgba(0, 0, 0, .12); transition: transform .2s var(--spring); }
.tb-app .tile .ico { width: 28px; height: 28px; }
.tb-app:active .tile { transform: scale(.92); }
.tb-app .dot { position: absolute; top: 0; right: calc(50% - 34px); width: 16px; height: 16px; border: 2px solid var(--bg); border-radius: 50%; background: var(--danger); }
.tb-nh { display: flex; justify-content: space-between; align-items: center; margin: 24px 0 8px; }
.tb-nh .cr-eyebrow { margin: 0; color: var(--label); font-size: 15px; font-weight: 600; }
.tb-dock { display: flex; flex: none; justify-content: safe center; gap: 6px; padding: 8px 12px; overflow-x: auto; border-top: .5px solid var(--sep); background: var(--material); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.tb-dock .dk { position: relative; display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 0; border-radius: 12px; background: none; cursor: pointer; }
.tb-dock .dk:hover { background: var(--fill3); }
.tb-dock .dk.on { background: var(--fill2); }
.tb-dock .dk > .ico { width: 22px; height: 22px; color: var(--ph); }
.tb-dock .dot { position: absolute; top: 4px; right: 4px; width: 9px; height: 9px; border-radius: 50%; background: var(--danger); }
.srch-box { margin-bottom: 16px; }
.srch-res { display: grid; gap: 4px; margin-top: 8px; }
.srch-hit { display: flex; gap: 12px; align-items: center; width: 100%; padding: 8px 10px; border: 0; border-radius: 12px; background: var(--bg2); text-align: left; cursor: pointer; }
.srch-hit:hover { background: var(--fill3); }
.srch-hit b { display: block; font-size: 14px; font-weight: 600; }
.srch-hit small { color: var(--label2); font-size: 12px; }
/* aplicațiile interne ale tabletei: același sistem ca pagina */
.shopw { min-height: 100%; background: var(--bg); color: var(--label); }
.shop-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 20px 8px; }
.shop-head h2 { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.shop-head p { margin: 2px 0 0; color: var(--label2); font-size: 13.5px; }
.shop-bud { display: grid; justify-items: end; }
.shop-bud small { color: var(--label2); font-size: 12px; }
.shop-bud b { color: var(--ok); font-size: 20px; font-weight: 600; }
.sale-bar { margin: 8px 20px 0; padding: 10px 14px; border-radius: var(--r); background: color-mix(in srgb, var(--accent) 12%, var(--bg2)); font-size: 13.5px; font-weight: 500; }
.shop-tabs { display: inline-grid; grid-auto-flow: column; margin: 12px 20px 0; padding: 2px; border-radius: 9px; background: var(--fill3); }
.shop-tabs button { display: inline-flex; gap: 6px; align-items: center; min-height: 30px; padding: 0 14px; border: 0; border-radius: 7px; background: none; color: var(--label); font-size: 13px; font-weight: 500; cursor: pointer; }
.shop-tabs button.on { background: var(--seg-on); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); font-weight: 600; }
.shop-tabs em { color: var(--label2); font-size: 12px; font-style: normal; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; padding: 16px 20px 24px; }
.shopw .shop-card, .shopw .order { background: var(--bg2); box-shadow: var(--shadow); }
.shopw > .orders { margin: 12px 20px 0 !important; }
.msgs { display: grid; gap: 12px; padding: 16px 20px 24px; }
.msg { display: flex; gap: 10px; align-items: flex-start; }
.msg .av { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--fill3); font-size: 17px; }
.bub { max-width: 560px; padding: 10px 14px; border-radius: 4px 18px 18px 18px; background: var(--bg2); box-shadow: var(--shadow); }
.bub b { color: var(--label2); font-size: 12px; font-weight: 500; }
.bub p { margin: 2px 0 8px; font-size: 14.5px; line-height: 1.45; }
.bub em { color: var(--ok); font-size: 12px; font-weight: 600; font-style: normal; }
.msg.challenge .bub { box-shadow: inset 0 0 0 1.5px var(--accent); }
.spw { min-height: 100%; background: var(--bg); color: var(--label); }
.sp-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 20px 8px; }
.sp-head h2 { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.sp-head p { margin: 2px 0 0; color: var(--label2); font-size: 13.5px; }
.sp-slots { display: grid; justify-items: end; color: var(--label2); font-size: 12px; }
.sp-slots b { color: var(--label); font-size: 22px; font-weight: 600; }
.sp-body { padding: 0 20px 24px; }
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; }
.sp-card { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: var(--r); background: var(--bg2); box-shadow: var(--shadow); }
.sp-card img { width: 52px; height: 52px; padding: 5px; border-radius: 10px; background: #fff; object-fit: contain; }
.sp-card b { font-size: 15px; font-weight: 600; }
.sp-card p { margin: 2px 0 4px; color: var(--label2); font-size: 13px; line-height: 1.4; }
.sp-card small { color: var(--label2); font-size: 12px; }
.sp-card em { color: var(--ok); font-size: 12px; font-weight: 600; font-style: normal; }
.nt-sec { margin: 20px 0 8px; color: var(--label2); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.map-wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; padding: 12px 20px 24px; }
.map-box { padding: 8px; border-radius: var(--r-lg); background: var(--bg2); box-shadow: var(--shadow); }
.rmap { display: block; width: 100%; height: auto; }
.rmap .ro { fill: var(--inset); stroke: var(--sep-strong); stroke-width: 2.5; stroke-linejoin: round; }
.rmap .rcap { fill: var(--label3); font: 500 11px var(--font); }
.rmap .city { cursor: pointer; }
.rmap .city .dot { fill: var(--bg2); stroke: var(--label3); stroke-width: 2; }
.rmap .city.mine .dot { fill: var(--accent); stroke: var(--accent); }
.rmap .city.sel .dot { stroke: var(--accent); stroke-width: 4; }
.rmap .city text { fill: var(--label); font-family: var(--font); text-anchor: middle; pointer-events: none; }
.rmap .city .n { font-size: 11px; font-weight: 700; } .rmap .city.mine .n { fill: #fff; }
.rmap .city .lbl { font-size: 14px; font-weight: 600; }
.rmap .city .sub { fill: var(--label2); font-size: 11px; }
.map-info h3 { margin: 12px 0 2px; font-size: 18px; font-weight: 600; }
.map-info .tp-regs { margin-top: 0; }
.map-reg { margin: 10px 0; padding: 10px 12px; border-radius: var(--r); background: var(--warn-fill); font-size: 13.5px; }
.map-reg.dim { background: var(--inset); color: var(--label2); }
.map-meets { display: grid; gap: 8px; }
.map-meet { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: var(--r); background: var(--bg2); box-shadow: var(--shadow); }
.map-meet.on { box-shadow: inset 0 0 0 1.5px var(--ok); }
.map-meet b { font-size: 14px; font-weight: 600; }
.map-meet small { display: block; color: var(--label2); font-size: 12px; }
.map-meet em { color: var(--label2); font-size: 12px; font-style: normal; }
.cal-nav { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 12px 20px; }
.cal-nav b { min-width: 180px; font-size: 18px; font-weight: 600; text-align: center; }
.cgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; padding: 0 20px 8px; }
.ch { padding: 4px; color: var(--label2); font-size: 12px; font-weight: 500; text-align: center; }
.cd { display: flex; flex-direction: column; gap: 3px; min-height: 76px; padding: 6px; border-radius: 10px; background: var(--bg2); font-size: 12px; }
.cd.empty { background: none; }
.cd > span { color: var(--label2); font-size: 12px; font-weight: 500; }
.cd.today > span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--danger); color: #fff; font-weight: 600; }
.ev { padding: 2px 6px; border-radius: 6px; background: var(--fill3); font-size: 11px; font-weight: 600; }
.ev.on { background: var(--accent); color: var(--on-accent); }
.ev.main { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.ev.done { color: var(--label2); text-decoration: line-through; }
.ev.off { opacity: .45; }
.cal-list { display: grid; gap: 8px; padding: 8px 20px 24px; }
.cl-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: var(--r); background: var(--bg2); box-shadow: var(--shadow); }
.cl-row b { font-size: 14px; font-weight: 600; }
.cl-row small { display: block; color: var(--label2); font-size: 12px; }
/* „site-urile” din tabletă (FTC Events, natie.ro) își păstrează aspectul de pagină web, pe alb */
.ftc { color: var(--label); font-family: var(--font); }
.ftc.light { overflow: hidden; border-radius: var(--r); background: #fff; color: #1d1d1f; }
.ftc-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 18px; background: #003a70; color: #fff; }
.ftc-head h2 { margin: 0; font-size: 20px; font-weight: 700; }
.ftc-head p { margin: 4px 0 0; font-size: 13px; opacity: .85; }
.ftc-chips { display: flex; gap: 8px; }
.ftc-chips span { display: grid; justify-items: center; min-width: 72px; padding: 6px 10px; border-radius: 10px; background: rgba(255, 255, 255, .14); font-size: 11px; }
.ftc-chips b { font-size: 17px; font-weight: 700; }
.ftc-tabs { display: flex; gap: 2px; padding: 0 14px; border-bottom: 1px solid #c3cad6; background: #e9eef5; }
.ftc-tabs button { padding: 11px 16px; border: 0; border-bottom: 3px solid transparent; background: none; color: #345; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.ftc-tabs button.on { border-bottom-color: #003a70; background: #fff; color: #003a70; }
.ftc-chk { margin-left: auto; font-size: 12.5px; font-weight: 500; cursor: pointer; }
.ftc-empty { padding: 20px; }
.ftc-empty p { color: var(--label2); }
.ftc.light .ftc-empty p { color: #333; }
.dim-cal .cal { background: #f2f2f7; }
.dim-cal .cal-row { border-color: rgba(60, 60, 67, .16); color: #1d1d1f; }
.dim-cal .cal-row b, .dim-cal .cal-row em { color: rgba(60, 60, 67, .66); }
.ftc-panel { margin: 14px; overflow: hidden; border: 1px solid #003a70; border-radius: 8px; background: #fff; }
.ftc.light .ftc-panel { margin: 10px; }
.ftc-ph { display: flex; align-items: center; gap: 8px; padding: 9px 14px; background: #003a70; color: #fff; font-size: 14px; font-weight: 700; }
.ftc-ph em { padding: 1px 8px; border-radius: 5px; background: #fff; color: #003a70; font-style: normal; }
.ftc-scroll { overflow: auto; }
.ftc-scroll.sm { max-height: 300px; }
.ftc.light .ftc-scroll { max-height: 520px; }
.ftc-tbl { width: 100%; border-collapse: collapse; color: #1d1d1f; font-size: 13px; }
.ftc-tbl th { position: sticky; top: 0; padding: 9px 10px; border: 1px solid #bbb; background: #fff; font-weight: 700; text-align: center; }
.ftc-tbl th.r { background: #f00; color: #fff; } .ftc-tbl th.b { background: #00f; color: #fff; }
.ftc-tbl td { padding: 8px 10px; border: 1px solid #ccc; text-align: center; vertical-align: middle; }
.ftc-tbl td.mn { min-width: 150px; background: #f3f3f3; }
.ftc-tbl td.mn a { display: block; color: #0d6efd; font-weight: 600; }
.ftc-tbl td.mn small { color: #666; font-size: 11px; }
.ftc-tbl td.tm b { display: block; font-weight: 400; }
.ftc-tbl td.tm span { display: block; color: #222; font-size: 11.5px; font-style: italic; }
.ftc-tbl td.tm.win b, .ftc-tbl td.tm.win span { font-weight: 800; }
.ftc-tbl td.tm.me b, .ftc-tbl td.tm.me span { text-decoration: underline; }
.ftc-tbl:not(.plain) tr td:nth-child(2), .ftc-tbl:not(.plain) tr td:nth-child(3) { background: #ffc0c0; }
.ftc-tbl:not(.plain) tr td:nth-child(4), .ftc-tbl:not(.plain) tr td:nth-child(5) { background: #8888f0; }
.ftc-tbl td.sc { min-width: 90px; padding: 4px; background: #f3f3f3; }
.ftc-tbl td.sc div { padding: 6px 4px; border-radius: 2px; color: #fff; }
.ftc-tbl td.sc .r { background: #f00; } .ftc-tbl td.sc .b { background: #00f; } .ftc-tbl td.sc .w { font-weight: 800; }
.ftc-tbl tr.mine td.mn, .ftc-tbl tr.mine td.sc { background: #e0d870; }
.ftc-tbl tr.cur td.mn { outline: 2px solid #f9056c; outline-offset: -2px; }
.ftc-tbl.plain td { text-align: left; }
.ftc-tbl.plain tr:nth-child(even) td { background: #f2f2f2; }
.ftc-tbl.plain tr.mine td { background: #e0d870; }
.ftc-tbl.plain td.num a { color: #0d6efd; font-weight: 700; }
.ftc-tbl.plain td.nm { font-weight: 700; }
.natie { min-height: 100%; background: #fff; color: #111; }
.nt-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; border-bottom: 1px solid #e3e3e3; background: #fff; }
.nt-brand { display: flex; align-items: center; gap: 8px; color: #111; font-size: 20px; font-weight: 800; }
.nt-brand i { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: #ff5a36; }
.nt-head nav { display: flex; gap: 6px; }
.nt-head nav b, .nt-head nav button { padding: 7px 14px; border: 0; border-radius: 999px; background: none; color: #555; font-size: 13px; font-weight: 700; cursor: pointer; }
.nt-head nav b { background: #111; color: #fff; }
.nt-hero { padding: 24px 22px; background: linear-gradient(120deg, #ffe9df, #fff3c9); }
.nt-hero h2 { margin: 0 0 6px; color: #111; font-size: 24px; font-weight: 800; }
.nt-hero p { max-width: 720px; margin: 0; color: #444; font-size: 13.5px; line-height: 1.5; }
.nt-body { padding: 16px 20px 24px; }
.natie .nt-sec { color: #888; }
.mt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; }
.mt-card { display: grid; grid-template-columns: 62px 1fr auto; gap: 14px; align-items: center; padding: 12px; border: 1px solid #e0e0e0; border-radius: 16px; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .05); color: #111; }
.mt-card.on { border-color: #19b6a4; background: #f1fbf9; } .mt-card.done { opacity: .6; }
.natie .dblk { border: 0; background: #111; color: #fff; } .natie .dblk small { color: rgba(255, 255, 255, .7); }
.mt-info { display: grid; gap: 4px; min-width: 0; } .mt-info b { font-size: 15px; } .mt-info small { color: #666; font-size: 12px; }
.mt-cap { position: relative; display: flex; align-items: center; height: 20px; margin-top: 2px; overflow: hidden; border-radius: 10px; background: #eee; }
.mt-cap i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #ffb199, #ff5a36); }
.mt-cap span { position: relative; z-index: 1; padding: 0 10px; color: #222; font-size: 11px; font-weight: 600; line-height: 1; white-space: nowrap; }
.mt-side { display: grid; gap: 6px; justify-items: end; }
.mt-side em { padding: 3px 8px; border-radius: 999px; background: #eee; color: #555; font-size: 10.5px; font-weight: 700; font-style: normal; text-transform: uppercase; }
.mt-side em.on, .mt-side em.ok { background: #d9f5ee; color: #0b7a6c; } .mt-side em.open { background: #fff0c2; color: #8a6200; } .mt-side em.warn { background: #ffe0e0; color: #b00020; }
.natie .cr-btn { background: #f2f2f7; color: #111; } .natie .cr-btn.pri { background: #ff5a36; color: #fff; }
.nt-cities { display: flex; flex-wrap: wrap; gap: 8px; }
.nt-cities span { padding: 7px 14px; border: 1px solid #ddd; border-radius: 999px; background: #fafafa; color: #333; font-size: 13px; font-weight: 600; }
.nt-cities span.me { border-color: #111; background: #111; color: #fff; }
.nt-cities em { margin-left: 8px; color: #ffb199; font-size: 10px; font-style: normal; }
.tb-body.light .tp-regs { margin: 12px 14px; }
.tb-body.light .tp-reg { background: #f2f2f7; color: #111; }
.tb-body.light .tp-reg small { color: #666; }
.tb-body.light .tp-reg.on { background: #003a70; color: #fff; } .tb-body.light .tp-reg.on small { color: rgba(255, 255, 255, .75); }
.tb-body.light .cr-in { width: calc(100% - 28px); margin: 0 14px; background: #f2f2f7; color: #111; }

/* ───────── telefon: bara de jos cu 4 secțiuni + „Mai mult” ───────── */
@media (max-width: 900px) {
  .cr-shell { grid-template-columns: 1fr; }
  .cr-side { position: fixed; top: auto; left: 0; right: 0; bottom: 0; z-index: 85; flex-direction: row; gap: 0; height: auto; padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); overflow: visible; border-right: 0; border-top: .5px solid var(--sep-strong); }
  .sd-top, .sd-team, .sd-foot { display: none; }
  .sd-nav { display: flex; width: 100%; gap: 0; }
  .sd-it { position: relative; flex: 1; flex-direction: column; justify-content: center; gap: 2px; min-height: 50px; padding: 4px 2px; border-radius: 10px; color: var(--label2); font-size: 10.5px; font-weight: 500; text-align: center; }
  .sd-it .ico { width: 24px; height: 24px; color: currentColor; }
  .sd-it:hover { background: none; }
  .sd-it.on { background: none; color: var(--accent); }
  .sd-it.on .ico { color: var(--accent); }
  .sd-it .lb { flex: none; }
  .sd-it .dot { position: absolute; top: 4px; right: calc(50% - 16px); }
  .sd-it.on .dot { background: var(--accent); }
  .sd-it.extra { display: none; }
  .sd-it.more { display: flex; }
  .cr-tb { gap: 10px; padding: 12px 16px; }
  .tb-title h1 { font-size: 24px; }
  .tb-res { order: 3; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; }
  .tb-stat b { overflow: hidden; text-overflow: ellipsis; }
  .cr-tb .cta { order: 2; }
  .cr-main { padding: 16px 16px 120px; }
  .phone.dock { right: 8px; bottom: 64px; width: 250px; }
  .phone.full { width: 100vw; height: 100vh; border-width: 0; border-radius: 0; }
  .hero h2 { font-size: 24px; }
  .setup, .crew-grid, .pf-grid, .ap-pick, .tp-mrow, .tb-home, .map-wrap { grid-template-columns: 1fr; }
  .steps, .tiers { grid-template-columns: 1fr 1fr; }
  .stiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vs2 { grid-template-columns: 1fr; } .vs2 .side.r { text-align: left; }
  .welcome { margin: 0; padding: 24px 16px; border-radius: 0; }
}
@media (max-width: 560px) { .tiers { grid-template-columns: 1fr; } .sp { grid-template-columns: 44px 1fr; } .sp img { width: 44px; height: 44px; } .sp > :last-child { grid-column: 1 / -1; justify-self: start; } }
@media (max-width: 900px) { .phone.dock, .phone-bd:not(.on) { display: none; } .cr-toast { top: calc(12px + env(safe-area-inset-top)); bottom: auto; } }

/* listă derulantă proprie */
.dd-btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; cursor: pointer; transition: background .15s, box-shadow .15s; }
.dd-btn:hover { background: var(--fill2); }
.dd-btn .dd-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd-btn .dd-ch { flex: none; width: 16px; height: 16px; color: var(--label2); transition: transform .2s; }
.dd-btn.open { background: var(--fill2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); }
.dd-btn.open .dd-ch { transform: rotate(180deg); }
.dd-menu { position: fixed; z-index: 400; display: grid; align-content: start; gap: 2px; padding: 6px; overflow-y: auto; border-radius: 14px; background: var(--bg2); color: var(--label); box-shadow: 0 0 0 .5px var(--sep), 0 18px 48px -12px rgba(0, 0, 0, .55); animation: ddIn .14s ease-out; }
@keyframes ddIn { from { opacity: 0; transform: translateY(-4px); } }
.dd-opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 9px 12px; border: 0; border-radius: 9px; background: none; color: inherit; text-align: left; cursor: pointer; }
.dd-opt .dd-l { display: grid; gap: 1px; min-width: 0; }
.dd-opt b { font-size: 14px; font-weight: 500; }
.dd-opt small { color: var(--label2); font-size: 12px; line-height: 1.35; }
.dd-opt.hot, .dd-opt:hover { background: var(--fill3); }
.dd-opt.sel b { color: var(--accent); font-weight: 600; }
.dd-opt .dd-ck { flex: none; width: 17px; height: 17px; color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .dd-menu { animation: none; } }

/* ---- logo-uri de echipă ---- */
.tlogo { width: 22px; height: 22px; flex: none; object-fit: contain; border-radius: 6px; background: #fff; padding: 1px; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .15); vertical-align: middle; }
.tlogo.sm { width: 20px; height: 20px; border-radius: 5px; }
.tlogo.none { display: inline-grid; place-items: center; background: var(--inset, #e5e5ea); color: var(--label2, #666); font-size: 11px; font-weight: 700; box-shadow: none; }
.tcell { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.tmw { display: flex; align-items: center; gap: 7px; }
.tmw > div { min-width: 0; }
.sd-av.has-logo { background: #fff; overflow: hidden; }
.sd-av .sd-logo { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.pick-card .tcell b { font-size: 15px; }
.tp-team { display: flex; align-items: center; gap: 8px; }
.tp-team b { flex: 1; text-align: left; }

/* ---- interviu, premii, avansare, playoff ---- */
.iv-res { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 14px; margin: 12px 0 16px; }
.iv-res div { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 8px; background: var(--inset); font-size: 13px; }
.iv-res b { font-variant-numeric: tabular-nums; }
.awc { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px; margin: 4px 0 14px; }
.awc div { display: grid; gap: 1px; padding: 8px 10px; border-radius: 8px; background: var(--inset); font-size: 12.5px; }
.awc div span { color: var(--label2); }
.awc div.me { background: color-mix(in srgb, var(--gold, #f5b84b) 22%, transparent); }
.awc div.me b { color: var(--gold, #f5b84b); }
table.st.adv td, table.st.adv th { text-align: right; font-variant-numeric: tabular-nums; }
table.st.adv td:nth-child(1), table.st.adv td:nth-child(2), table.st.adv th:nth-child(1), table.st.adv th:nth-child(2) { text-align: left; }
table.st.adv tr.ok td { background: color-mix(in srgb, var(--ok, #3ecf8e) 10%, transparent); }
table.st.adv tr.me td { font-weight: 600; }
table.st.adv td.tot { font-weight: 700; }
table.st.bk td { font-size: 12.5px; padding: 7px 6px; }
table.st.bk td.u { color: var(--label2); width: 44px; }
table.st.bk td.sc { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.st.bk td.r { color: #d2323e; } table.st.bk td.b { color: #2c6fd8; }
table.st.bk td.w { font-weight: 700; }
table.st.bk td.me { text-decoration: underline; }
table.st.bk tr.cur td { background: color-mix(in srgb, var(--accent) 12%, transparent); }
