/* ==========================================================================
   Atlas · estilo de Capitales del mundo
   Guía visual: docs/estilo/estilo_atlas.html
   Los mismos tokens se usan en la app Android (colors.xml) y en los mapas.
   ========================================================================== */

:root {
  /* Marca */
  --oceano: #1b6fd8;
  --oceano-hondo: #1459b0;
  --tinta: #0b2545;
  --mar: #dcebff;
  --tierra: #f4f6f9;
  --frontera: #e3e8ef;
  --marcador: #f5a524;
  --marcador-hondo: #c47f0a;
  --acierto: #22a06b;
  --acierto-hondo: #17784f;
  --fallo: #e5484d;
  --fallo-hondo: #b8343a;

  /* Superficies y texto (cambian en modo oscuro) */
  --bg: var(--tierra);
  --surface: #ffffff;
  --surface-2: #eef2f7;
  --fg: var(--tinta);
  --muted: #56677f;
  --line: var(--frontera);
  --line-strong: #cfd8e3;
  --link: var(--oceano-hondo);
  --ok-bg: #e3f6ec;
  --ok-fg: #0f5236;
  --ko-bg: #fdeaea;
  --ko-fg: #7d1f23;
  --info-bg: var(--mar);
  --info-fg: #0e3f7d;
  --hero-from: var(--mar);

  --f-display: "Baloo 2", "Arial Rounded MT Bold", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --radius: 16px;
  --radius-sm: 12px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --maxw: 1120px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1626;
    --surface: #111f33;
    --surface-2: #16273f;
    --fg: #e8eef7;
    --muted: #9aabc2;
    --line: #22324a;
    --line-strong: #2d405c;
    --link: #7db6ff;
    --ok-bg: #0f3426;
    --ok-fg: #b5ecd2;
    --ko-bg: #3d1517;
    --ko-fg: #ffc9cb;
    --info-bg: #10284a;
    --info-fg: #cfe3ff;
    --hero-from: #0f2747;
    color-scheme: dark;
  }
}

/* --- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.1; margin: 0; text-wrap: balance; color: var(--fg); }
h1 { font-size: clamp(34px, 6vw, 56px); font-weight: 800; }
h2 { font-size: clamp(26px, 4vw, 34px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 700; }
h4 { font-size: 18px; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--marcador); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}
.page { padding-block: 28px 56px; display: grid; gap: 28px; }
.page-head { display: grid; gap: 8px; }
.eyebrow { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: 18px; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.stack { display: grid; gap: 16px; }
.row-wrap { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* --- Navegación ------------------------------------------------------------ */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--surface); z-index: 40; }
.site-nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 30;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.site-nav .wrap { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 800; font-size: 22px; color: var(--fg); text-decoration: none; margin-right: auto; }
.brand svg, .brand-logo { flex: 0 0 auto; }
.brand-logo { border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--fg); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-links a:hover { background: var(--surface-2); }
/* El botón del menú («Crear cuenta») conserva su estilo: la regla anterior es más específica */
.nav-links a.button, .nav-links a.button:hover { background: var(--oceano); color: #fff; padding: 9px 14px 7px; }
.nav-links a[aria-current="page"] { color: var(--oceano); }
.nav-user { font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.nav-toggle { display: none; border: 2px solid var(--line); background: var(--surface); color: var(--fg); border-radius: 12px; width: 44px; height: 44px; cursor: pointer; place-items: center; position: relative; }
.nav-toggle .badge { position: absolute; top: -6px; right: -6px; }
@media (max-width: 760px) {
  .nav-toggle { display: grid; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px var(--gutter-r) 14px var(--gutter); gap: 2px; }
  .site-nav.is-open .nav-links { display: flex; }
  .nav-links a { padding: 12px; font-size: 16px; }
  .nav-links .button { margin-top: 6px; text-align: center; }
}
.badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--fallo); color: #fff; font-size: 12px; font-weight: 700; }

/* --- Botones ----------------------------------------------------------------- */
.button, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--f-display); font-weight: 700; font-size: 18px; line-height: 1;
  border: 0; border-radius: var(--radius); padding: 14px 22px 12px; cursor: pointer;
  background: var(--oceano); color: #fff; text-decoration: none;
  box-shadow: 0 4px 0 var(--oceano-hondo);
  transition: transform .08s ease, box-shadow .08s ease, filter .15s ease;
}
.button:hover, .btn:hover { filter: brightness(1.05); color: #fff; }
.button:active, .btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--oceano-hondo); }
.button--amber { background: var(--marcador); color: var(--tinta); box-shadow: 0 4px 0 var(--marcador-hondo); }
.button--amber:hover { color: var(--tinta); }
.button--amber:active { box-shadow: 0 1px 0 var(--marcador-hondo); }
.button--ghost, .btn-default { background: var(--surface); color: var(--oceano); border: 2px solid var(--line); box-shadow: 0 4px 0 var(--line); }
.button--ghost:hover, .btn-default:hover { color: var(--oceano); }
.button--danger { background: var(--fallo); box-shadow: 0 4px 0 var(--fallo-hondo); }
.button--small { font-size: 15px; padding: 9px 14px 7px; border-radius: var(--radius-sm); }
.button--block { width: 100%; }
@media (prefers-color-scheme: dark) {
  .button--ghost, .btn-default { color: #9ccaff; }
  .button--ghost:hover, .btn-default:hover { color: #9ccaff; }
}

/* --- Tarjetas, chips, alertas ---------------------------------------------- */
.card { background: var(--surface); border: 2px solid var(--line); border-radius: 20px; padding: 20px; }
.card--lift { box-shadow: 0 5px 0 var(--line); }
.chip { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; border-radius: 999px; padding: 6px 12px; border: 2px solid var(--line); background: var(--surface); color: var(--fg); text-decoration: none; }
.chip.is-on, .chip[aria-current="page"] { background: var(--tinta); border-color: var(--tinta); color: #fff; }
@media (prefers-color-scheme: dark) { .chip.is-on, .chip[aria-current="page"] { background: var(--oceano); border-color: var(--oceano); } }
.stat { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 14px; font-variant-numeric: tabular-nums; background: var(--surface); border: 2px solid var(--line); border-radius: 999px; padding: 4px 12px 4px 8px; }

.alert { border-radius: var(--radius-sm); padding: 12px 16px; font-weight: 500; border: 2px solid transparent; }
.alert-danger { background: var(--ko-bg); color: var(--ko-fg); border-color: color-mix(in srgb, var(--fallo) 45%, transparent); }
.alert-success { background: var(--ok-bg); color: var(--ok-fg); border-color: color-mix(in srgb, var(--acierto) 45%, transparent); }
.alert-info { background: var(--info-bg); color: var(--info-fg); border-color: color-mix(in srgb, var(--oceano) 35%, transparent); }

/* --- Formularios ------------------------------------------------------------- */
.form-control, .field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--fg); background: var(--surface);
  border: 2px solid var(--line-strong); border-radius: var(--radius-sm); padding: 12px 14px;
}
.form-control:focus { outline: none; border-color: var(--oceano); box-shadow: 0 0 0 3px color-mix(in srgb, var(--oceano) 25%, transparent); }
.form-card { max-width: 420px; width: 100%; margin: 0 auto; display: grid; gap: 14px; }
.form-card form { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 14px; }

/* --- Tablas y paginación --------------------------------------------------- */
.table-scroll { overflow-x: auto; border: 2px solid var(--line); border-radius: 18px; background: var(--surface); }
.table, .data-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.data-table th { text-align: left; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding: 12px 14px; border-bottom: 2px solid var(--line); white-space: nowrap; }
.data-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); }
.data-table tr:last-child td { border-bottom: 0; }
.data-table .num { text-align: right; font-family: var(--f-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.data-table .pos { font-family: var(--f-display); font-weight: 800; font-size: 18px; color: var(--marcador-hondo); width: 1%; }
.data-table tr.is-me td { background: var(--ok-bg); color: var(--ok-fg); font-weight: 700; }
.table td, .table th { padding: 8px 12px; border-bottom: 1px solid var(--line); }
.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; list-style: none; padding: 0; margin: 0; }
.pagination a { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: 12px; border: 2px solid var(--line); background: var(--surface); color: var(--fg); text-decoration: none; font-family: var(--f-mono); }
.pagination a[aria-current="page"] { background: var(--oceano); border-color: var(--oceano); color: #fff; }
.pagination span { display: grid; place-items: center; min-width: 30px; height: 42px; color: var(--muted); }

/* --- Anuncios ---------------------------------------------------------------- */
.ad-slot { display: grid; gap: 6px; }
.ad-slot::before { content: "Publicidad"; font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* --- Diálogos ------------------------------------------------------------------ */
dialog.dialog { border: 0; border-radius: 22px; padding: 0; width: min(440px, calc(100vw - 32px)); background: var(--surface); color: var(--fg); box-shadow: 0 24px 60px rgba(11, 37, 69, .35); }
dialog.dialog::backdrop { background: rgba(11, 37, 69, .45); }
.dialog-body { padding: 24px; display: grid; gap: 16px; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

/* --- Pie y aviso de cookies ---------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.site-footer .wrap { padding-block: 24px calc(24px + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer a { color: var(--muted); text-decoration: none; font-size: 14px; }
.site-footer a:hover { color: var(--fg); }
.site-footer small { color: var(--muted); }
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 0 var(--gutter-r) env(safe-area-inset-bottom, 0px) var(--gutter); pointer-events: none; }
.cookie-bar .card { pointer-events: auto; max-width: 760px; margin: 0 auto 12px; display: flex; gap: 14px; align-items: center; padding: 14px 16px; box-shadow: 0 10px 30px rgba(11, 37, 69, .18); font-size: 14px; }
.cookie-bar p { flex: 1; min-width: 0; }

/* --- Portada ------------------------------------------------------------------- */
.hero { background: linear-gradient(180deg, var(--hero-from), var(--bg)); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-block: 48px 40px; }
.hero h1 { font-size: clamp(36px, 5.6vw, 60px); line-height: 1.02; }
.hero .lead { margin-top: 14px; color: var(--fg); opacity: .85; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-card { display: grid; gap: 12px; }
.hero-card img { border-radius: 14px; width: 100%; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; padding-block: 28px; } }

.modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.mode { display: grid; gap: 8px; align-content: start; text-decoration: none; color: var(--fg); background: var(--surface); border: 2px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: 0 5px 0 var(--line); transition: transform .1s ease, box-shadow .1s ease; }
.mode:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--line); }
.mode .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; }
.mode p { color: var(--muted); font-size: 15px; }
.mode--main { background: var(--oceano); border-color: var(--oceano); color: #fff; box-shadow: 0 5px 0 var(--oceano-hondo); }
.mode--main h3 { color: #fff; }
.mode--main p { color: #dcebff; }
.mode--main:hover { box-shadow: 0 7px 0 var(--oceano-hondo); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; counter-reset: paso; }
.step { display: grid; gap: 8px; align-content: start; border-top: 3px solid var(--oceano); padding-top: 14px; }
.step::before { counter-increment: paso; content: counter(paso); font-family: var(--f-display); font-weight: 800; font-size: 28px; color: var(--marcador-hondo); line-height: 1; }
.step p { color: var(--muted); }

.share { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.share a { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 2px solid var(--line); background: var(--surface); color: var(--fg); text-decoration: none; font-weight: 700; }

/* --- Salas ---------------------------------------------------------------------- */
.rooms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .rooms { grid-template-columns: minmax(0, 1fr); } }
.room { display: grid; gap: 12px; }
.room-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.room-msg { font-size: 13px; color: var(--acierto-hondo); font-weight: 600; min-height: 0; }
.seats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seat { min-height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--surface-2); font-size: 14px; overflow: hidden; }
.seat p { margin: 0; padding: 0 8px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.seat a { display: grid; place-items: center; width: 100%; height: 100%; min-height: 40px; border-radius: 12px; border: 2px dashed var(--line-strong); color: var(--oceano); font-weight: 700; text-decoration: none; }
.seat a:hover { border-style: solid; border-color: var(--oceano); background: var(--surface); }
.chat { display: grid; gap: 10px; }
.chat-log { height: 12em; overflow-y: auto; background: var(--surface-2); border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.chat-form { display: flex; gap: 8px; }
.chat-form textarea { flex: 1; resize: none; }

/* --- Partida --------------------------------------------------------------------- */
.game { width: 100%; max-width: 720px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.game-bar { display: flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 14px; font-variant-numeric: tabular-nums; }
.game-bar .round { margin-left: auto; }
.countdown { font-family: var(--f-display); font-weight: 800; font-size: 34px; line-height: 1; color: var(--marcador-hondo); min-width: 2ch; text-align: center; }
.question { font-family: var(--f-display); font-weight: 800; font-size: clamp(26px, 5vw, 36px); line-height: 1.05; text-align: center; text-wrap: balance; }
.q-media { display: grid; place-items: center; }
.q-media img { max-height: 280px; width: auto; border-radius: 12px; box-shadow: 0 0 0 1px rgba(11, 37, 69, .12); }
.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.opt {
  font-family: var(--f-body); font-weight: 700; font-size: 17px; color: var(--fg);
  background: var(--surface); border: 2px solid var(--line-strong); box-shadow: 0 4px 0 var(--line-strong);
  border-radius: 16px; padding: 16px 10px; text-align: center; cursor: pointer; min-height: 60px; overflow-wrap: anywhere;
  display: grid; place-items: center; transition: transform .08s ease, box-shadow .08s ease;
}
.opt:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--line-strong); }
.opt img { max-height: 120px; width: auto; border-radius: 8px; }
.opt.is-selected { border-color: var(--oceano); box-shadow: 0 4px 0 var(--oceano-hondo); }
.opt.is-correct { background: var(--ok-bg); border-color: var(--acierto); box-shadow: 0 4px 0 var(--acierto-hondo); color: var(--ok-fg); }
.opt.is-wrong { background: var(--ko-bg); border-color: var(--fallo); box-shadow: 0 4px 0 var(--fallo-hondo); color: var(--ko-fg); }
.between { text-align: center; color: var(--muted); display: grid; gap: 4px; justify-items: center; }
.standings { display: grid; gap: 6px; }
.container_player { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; background: var(--surface); border: 2px solid var(--line); border-radius: 12px; padding: 0 12px; height: 46px; overflow: hidden; transition: transform .5s ease; position: relative; }
.container_player .p_name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.container_player .c_points { font-family: var(--f-mono); color: var(--acierto-hondo); font-weight: 600; min-width: 3ch; text-align: right; line-height: 1; }
.container_player .p_points { font-family: var(--f-mono); font-variant-numeric: tabular-nums; min-width: 4ch; text-align: right; }
@media (prefers-color-scheme: dark) { .container_player .c_points { color: #6fd3a5; } .countdown { color: var(--marcador); } .data-table .pos { color: var(--marcador); } .step::before { color: var(--marcador); } }

/* --- Capitales --------------------------------------------------------------------- */
.continent-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.capitals { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.capital-card { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; text-decoration: none; color: var(--fg); background: var(--surface); border: 2px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.capital-card:hover { border-color: var(--oceano); }
.capital-card img { grid-row: span 2; width: 44px; border-radius: 4px; box-shadow: 0 0 0 1px rgba(11, 37, 69, .12); }
.capital-card b { font-size: 16px; }
.capital-card span { font-family: var(--f-display); font-weight: 700; font-size: 18px; color: var(--oceano-hondo); }
@media (prefers-color-scheme: dark) { .capital-card span { color: #7db6ff; } }
.country { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.country-media { display: grid; gap: 14px; }
.country-media img { width: 100%; border-radius: 16px; border: 2px solid var(--line); background: var(--surface); }
.country-media .flag { max-width: 220px; border-radius: 8px; border: 0; box-shadow: 0 0 0 1px rgba(11, 37, 69, .12); }
.facts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fact { background: var(--surface); border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; display: grid; gap: 2px; }
.fact dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fact dd { margin: 0; font-weight: 700; }
.prose { max-width: 70ch; display: grid; gap: 14px; }
.prose h2, .prose h3, .prose h4 { margin-top: 12px; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
@media (max-width: 760px) { .country { grid-template-columns: 1fr; } }

/* --- Perfil ------------------------------------------------------------------------- */
.profile { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; align-items: start; }
.kv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }

/* ==========================================================================
   Compatibilidad con plantillas antiguas (rejilla de Bootstrap 3).
   Solo para páginas aún no rediseñadas (torneos, sorteos, parejas).
   ========================================================================== */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.content-section-a { padding-block: 28px 48px; }
.row { display: flex; flex-wrap: wrap; margin-left: -8px; margin-right: -8px; }
.row > * { padding-left: 8px; padding-right: 8px; }
[class*="col-"] { width: 100%; min-width: 0; padding-left: 8px; padding-right: 8px; float: none; }
.col-xs-2 { width: 16.66%; } .col-xs-3 { width: 25%; } .col-xs-4 { width: 33.33%; } .col-xs-6 { width: 50%; } .col-xs-8 { width: 66.66%; } .col-xs-10 { width: 83.33%; }
@media (min-width: 768px) { .col-sm-3 { width: 25%; } .col-sm-4 { width: 33.33%; } .col-sm-6 { width: 50%; } .col-sm-8 { width: 66.66%; } .col-sm-12 { width: 100%; } }
@media (min-width: 992px) { .col-md-2 { width: 16.66%; } .col-md-4 { width: 33.33%; } .col-md-6 { width: 50%; } .col-md-8 { width: 66.66%; } .col-md-12 { width: 100%; } }
@media (min-width: 1200px) { .col-lg-2 { width: 16.66%; } .col-lg-4 { width: 33.33%; } .col-lg-6 { width: 50%; } .col-lg-12 { width: 100%; } }
.text-center { text-align: center; } .text-right { text-align: right; } .text-justify { text-align: justify; }
.pull-right { float: right; } .hidden { display: none !important; }
.img-responsive { display: block; max-width: 100%; height: auto; } .center-block { margin-left: auto; margin-right: auto; }
.panel { background: var(--surface); border: 2px solid var(--line); border-radius: 16px; overflow: hidden; margin-bottom: 16px; }
.panel-heading { padding: 10px 14px; border-bottom: 1px solid var(--line); font-weight: 700; }
.panel-body { padding: 14px; }
.top-buffer { margin-top: 14px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
