/* Fonts first (were fonts.css, merged 16 Nov 2026: one stylesheet less blocks the first paint). */
/* Onest and Unbounded (SIL Open Font License 1.1, see fonts/OFL-*.txt), served from this site. */
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/onest-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/onest-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/onest-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 500 800; font-display: swap; src: url(/fonts/unbounded-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 500 800; font-display: swap; src: url(/fonts/unbounded-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 500 800; font-display: swap; src: url(/fonts/unbounded-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --coal: #120a09;
  --panel: #1c1211;
  --panel-hi: #251816;
  --line: #33231f;
  --text: #f4ede8;
  --muted: #a39189;
  --red: #ff3b21;
  --flame: #ff8a1f;
  --blue: #5b8cff;
  --up: #4fd18b;
  --display: "Unbounded", "Arial Black", sans-serif;
  --body: "Onest", "Segoe UI", Arial, sans-serif;
  --spring: cubic-bezier(.22, 1, .36, 1);
  --page: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { background: var(--coal); }
body { margin: 0; background: var(--coal); color: var(--text); font: 400 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--flame); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Top bar */
.bar { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px max(24px, calc((100% - 1180px) / 2)); background: rgba(18, 10, 9, .72); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid rgba(255, 255, 255, .05); }
.wordmark { font: 800 22px/1 var(--display); color: var(--text); text-decoration: none; letter-spacing: -.02em; white-space: nowrap; flex-shrink: 0; }
.wordmark::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 3px; background: var(--red); border-radius: 50%; vertical-align: super; }
.bar-status { margin: 0; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.bar-status.live .pulse { background: var(--up); box-shadow: 0 0 0 0 rgba(79, 209, 139, .6); animation: pulse 2.4s infinite; }

/* Poster */
.poster { position: relative; overflow: hidden; min-height: min(78vh, 760px); display: grid; align-items: center; border-bottom: 1px solid var(--line); isolation: isolate; }
.blades { position: absolute; inset: -20%; z-index: -1; pointer-events: none; }
.blades i { position: absolute; left: 30%; top: 10%; width: 22%; height: 140%; border-radius: 40%; filter: blur(38px); opacity: .55; transform: rotate(28deg); background: linear-gradient(180deg, transparent, var(--red) 35%, var(--flame) 55%, transparent); animation: drift 14s var(--spring) infinite alternate; }
.blades i:nth-child(2) { left: 52%; width: 12%; opacity: .45; filter: blur(22px); animation-duration: 18s; animation-delay: -6s; }
.blades i:nth-child(3) { left: 12%; width: 9%; opacity: .25; filter: blur(16px); background: linear-gradient(180deg, transparent, var(--blue) 50%, transparent); animation-duration: 22s; }
.poster::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 80% at 50% 120%, var(--coal) 30%, transparent 70%), linear-gradient(90deg, var(--coal), transparent 20% 80%, var(--coal)); }
.poster-inner { width: var(--page); margin: auto; padding: 72px 0 64px; will-change: transform, opacity; }
.poster-kicker { margin: 0 0 22px; color: var(--muted); font-size: 15px; }
.poster-title { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: 24px; font: 800 clamp(34px, 7.4vw, 104px)/.9 var(--display); letter-spacing: -.045em; text-transform: uppercase; }
.corner { min-width: 0; }  /* lets fitNames shrink a long name instead of widening the grid */
.corner.blue { text-align: right; }
.mask { display: block; overflow: hidden; padding-bottom: .06em; }
.name { display: block; white-space: nowrap; word-spacing: .22em; transform: translateY(105%); transition: transform 1.1s var(--spring); }
.corner.red .name { color: var(--text); }
.corner.blue .name { color: var(--text); transition-delay: .12s; }
.ready .name { transform: none; }
.corner .latin { display: block; margin-top: 10px; font: 500 15px/1.2 var(--body); letter-spacing: 0; text-transform: none; color: var(--muted); }
.corner .latin:empty { display: none; }
.versus { font: 500 14px/1 var(--body); letter-spacing: 0; text-transform: none; color: var(--muted); padding-bottom: 1.2em; }
.poster-odds { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; opacity: 0; transform: translateY(18px); transition: opacity .9s var(--spring) .35s, transform .9s var(--spring) .35s; }
.ready .poster-odds { opacity: 1; transform: none; }
.poster-side { background: rgba(28, 18, 17, .78); backdrop-filter: blur(10px); padding: 22px 26px; display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.poster-side.blue { flex-direction: row-reverse; text-align: right; }
.poster-side .who { color: var(--muted); font-size: 14px; }
.poster-side .who strong { display: block; color: var(--text); font-size: 17px; font-weight: 600; }
.poster-side .big { font: 800 clamp(40px, 6vw, 72px)/1 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.poster-side.red .big { color: var(--red); background: linear-gradient(180deg, var(--flame), var(--red)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.poster-side.blue .big { color: var(--blue); }
.poster-time { margin: 18px 0 0; color: var(--muted); font-size: 14px; }

/* Fight card */
.card { width: var(--page); margin: 72px auto 40px; }
.card-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.card-head h2 { margin: 0; font: 700 clamp(28px, 4vw, 44px)/1 var(--display); letter-spacing: -.035em; }
.search input { width: min(320px, 80vw); padding: 12px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); transition: border-color .3s, background .3s; }
.search input:focus { border-color: var(--flame); background: var(--panel-hi); outline: none; }
/* "Моя контора" next to the search; on phones both take the full width. */
.card-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mybook { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.mybook select { padding: 11px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font: 500 14px/1.2 var(--body); cursor: pointer; }
.mybook select:focus { border-color: var(--flame); outline: none; }
.loss-hint.mine { color: var(--text); }
.loss-hint.mine .loss-sum { color: var(--flame); }
.mine-tag { margin-left: 6px; padding: 1px 6px; border-radius: 999px; background: var(--flame); color: #fff; font: 700 10px/1.4 var(--body); text-transform: uppercase; letter-spacing: .04em; vertical-align: 1px; }
@media (max-width: 560px) {
  .card-tools, .mybook, .search, .search input { width: 100%; }
  .mybook select { flex: 1; }
}
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 20px 0 28px; color: var(--muted); font-size: 14px; }
.legend .dot { width: 10px; height: 10px; border-radius: 50%; margin-left: 8px; }
.legend .dot:first-child { margin-left: 0; }
.dot.red { background: var(--red); }
.dot.blue { background: var(--blue); }
.legend-note { flex-basis: 100%; }

.event { margin-bottom: 36px; }
.event-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 0 4px 10px; border-bottom: 1px solid var(--line); }
.event-head h3 { margin: 0; font: 700 18px/1.2 var(--display); letter-spacing: -.02em; }
.event-head span { color: var(--muted); font-size: 14px; white-space: nowrap; }

.bout { border-bottom: 1px solid var(--line); }
.bout-row { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 84px 84px minmax(0, 1fr) 28px; align-items: center; gap: 12px; padding: 18px 4px; background: none; border: 0; text-align: left; cursor: pointer; border-radius: 12px; transition: background .35s var(--spring); }
.bout-row:hover { background: rgba(255, 255, 255, .03); }
.fighter { font-weight: 600; font-size: 17px; overflow-wrap: anywhere; }
.fighter.blue { text-align: right; }
.fighter small { display: block; color: var(--muted); font-weight: 400; font-size: 13px; }
.price { font: 700 20px/1 var(--display); letter-spacing: -.03em; text-align: center; padding: 10px 0; border-radius: 10px; font-variant-numeric: tabular-nums; }
.price.red { color: var(--red); background: rgba(255, 59, 33, .09); }
.price.blue { color: var(--blue); background: rgba(91, 140, 255, .09); }
.price.none { color: var(--muted); background: none; font-size: 16px; }
.chev { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: transform .5s var(--spring), color .3s; }
.chev::before { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.bout.open .chev { transform: rotate(180deg); color: var(--text); }
.loss-hint { grid-column: 2 / 4; justify-self: center; white-space: nowrap; margin-top: -4px; font: 500 13px/1.35 var(--body); color: var(--flame); font-variant-numeric: tabular-nums; }  /* centred under the two prices; wider than them, it spills evenly to both sides */
.loss-sum { font-weight: 800; font-size: 14px; letter-spacing: .01em;
  /* The same running glint as the Cloudbet bonus: the sum is what makes a reader open the bout. */
  color: var(--flame); background: linear-gradient(90deg, var(--flame) 0 30%, #fff1d6 50%, var(--flame) 70% 100%) 0 0 / 200% 100% repeat-x;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: bonus-glint 2.4s linear infinite; }
.loss-hint-stake { color: var(--muted); font-weight: 400; white-space: nowrap; }
.bout.open .loss-hint { display: none; }  /* the open bout shows the full breakdown */

.bout-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--spring); }
.bout.open .bout-detail { grid-template-rows: 1fr; }
.bout-detail > div { overflow: hidden; }
.books { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 4px 4px 22px; opacity: 0; transform: translateY(-8px); transition: opacity .45s var(--spring), transform .6s var(--spring); }
.bout.open .books { opacity: 1; transform: none; transition-delay: .08s; }
.book-col { background: var(--panel); border-radius: 16px; padding: 8px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.book-col h4 { margin: 8px 10px 6px; font-size: 13px; font-weight: 500; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.book-col h4::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.book-col.blue h4::before { background: var(--blue); }
.book { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; }
.book + .book { border-top: 1px solid var(--line); }
.book .p { font: 700 18px/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.book .age { color: var(--muted); font-size: 12px; }
.book.best { background: var(--panel-hi); box-shadow: inset 0 0 0 1px rgba(255, 59, 33, .35), inset 0 -2px 0 rgba(0, 0, 0, .35); }
.book-col.blue .book.best { box-shadow: inset 0 0 0 1px rgba(91, 140, 255, .35), inset 0 -2px 0 rgba(0, 0, 0, .35); }
.book.best .p { color: var(--red); }
.book-col.blue .book.best .p { color: var(--blue); }
.book .tag { font-size: 12px; color: var(--muted); }
/* Welcome-offer line: flame text with a light glint that keeps running across it. */
.book .bonus, .draw-strip .bonus { display: table; margin: 2px 0 1px; font: 500 12px/1.3 var(--body); cursor: pointer; border-radius: 4px;
  /* The gradient tiles across the text and moves exactly one tile per loop, so every letter
     always has colour under it and the loop has no jump (a single tile used to slide off
     the text and leave letters transparent). */
  color: var(--flame); background: linear-gradient(90deg, var(--flame) 0 30%, #fff1d6 50%, var(--flame) 70% 100%) 0 0 / 200% 100% repeat-x;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: bonus-glint 2.4s linear infinite; }
.book .bonus:hover, .book .bonus:focus-visible, .draw-strip .bonus:hover, .draw-strip .bonus:focus-visible { -webkit-text-fill-color: #ffc178; }
@keyframes bonus-glint { from { background-position: 200% 0; } to { background-position: 0 0; } }
/* Running bouts: a red LIVE badge with a pulsing dot above the regular cards. */
.event.live .event-head { flex-wrap: wrap; row-gap: 4px; align-items: center; }
.event.live .event-head h3 { display: flex; align-items: center; gap: 10px; }
.event.live .event-head > span { white-space: normal; }
.live-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: rgba(255, 59, 33, .14);
  color: var(--red); font: 700 12px/1 var(--body); letter-spacing: .08em; }
.live-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: live-dot 1.4s ease-in-out infinite; }
@keyframes live-dot { 50% { opacity: .25; } }
.book .draw-tag, .draw-strip .draw-tag { display: inline-flex; align-items: center; gap: 5px; margin: 3px 0 1px 6px; padding: 1px 4px 1px 8px; border-radius: 999px;
  font: 500 11px/1.5 var(--body); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; }
.book .draw-tag:hover, .book .draw-tag[aria-expanded="true"], .draw-strip .draw-tag:hover, .draw-strip .draw-tag[aria-expanded="true"] { color: var(--text); box-shadow: inset 0 0 0 1px #5b4a45; }
.draw-i { display: inline-grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; background: var(--line);
  color: var(--text); font: 700 9px/1 var(--body); font-style: italic; }
.draw-note { margin: 2px 4px 8px; padding: 10px 12px; border-radius: 10px; background: var(--coal); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 12px; line-height: 1.5; color: var(--muted); }
.draw-note strong { color: var(--text); font-weight: 600; }
.draw-note[hidden] { display: none; }
/* "How much you miss": the amount is the loudest thing in the card, the stake stays visible. */
.book .lost-small { font: 500 12px/1 var(--body); letter-spacing: 0; color: var(--flame); }
.loss { margin: 8px 4px 4px; padding: 12px 14px; border-radius: 12px; background: var(--coal); box-shadow: inset 0 0 0 1px var(--line); }
.loss-label { font-size: 12px; color: var(--muted); }
.loss-big { display: block; margin: 4px 0 6px; font: 700 30px/1.05 var(--display); letter-spacing: -.03em; color: var(--flame); font-variant-numeric: tabular-nums; }
.loss-stake { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
select.stake { appearance: none; -webkit-appearance: none; border: 0; border-radius: 999px; padding: 4px 26px 4px 10px; font: 500 12px/1.3 var(--body); color: var(--text); cursor: pointer;
  background: var(--line) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23a39189' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 10px center; }
select.stake:hover { background-color: #3d2a25; }
select.stake option { background: var(--panel); color: var(--text); }

a.linked { color: inherit; text-decoration: none; transition: background .3s var(--spring), transform .3s var(--spring); }
a.book.linked:hover { background: var(--panel-hi); }
a.book.linked:active, a.poster-side.linked:active { transform: scale(.985); }
a.poster-side.linked:hover { background: rgba(37, 24, 22, .9); }
.book .p { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.book .go { font: 500 12px/1 var(--body); letter-spacing: 0; color: var(--muted); opacity: 0; transform: translateX(-4px); transition: opacity .3s var(--spring), transform .3s var(--spring); }
a.book:hover .go, a.book:focus-visible .go { opacity: 1; transform: none; }
@media (hover: none) { .book .go { opacity: 1; transform: none; } }

.flash-up { animation: flash-up 1.6s var(--spring); }
.flash-down { animation: flash-down 1.6s var(--spring); }

.empty { color: var(--muted); padding: 28px 4px; }
.foot { width: var(--page); margin: 0 auto; padding: 28px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot p { margin: 0; max-width: 60ch; }

@keyframes drift { from { transform: rotate(28deg) translate3d(-6%, -4%, 0); } to { transform: rotate(22deg) translate3d(8%, 5%, 0); } }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(79, 209, 139, 0); } 100% { box-shadow: 0 0 0 0 rgba(79, 209, 139, 0); } }
@keyframes flash-up { 0% { background-color: rgba(79, 209, 139, .35); } 100% { background-color: transparent; } }
@keyframes flash-down { 0% { background-color: rgba(255, 59, 33, .35); } 100% { background-color: transparent; } }

@media (max-width: 720px) {
  :root { --page: calc(100% - 32px); }
  .bar { padding: 12px 16px; }
  .bar-status { font-size: 13px; text-align: right; }
  /* Room for the main bout before the script fills it in (the poster grew from 296 to about
     520 px on phones and pushed the line down: layout shift, 16 Nov 2026). */
  .poster { min-height: 520px; align-items: start; }
  .poster-inner { margin: 0 auto; padding: 48px 0 40px; }  /* from the top: no jump while it fills */
  .poster-title { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .corner.blue { text-align: left; }
  .versus { padding: 4px 0; }
  .poster-odds { grid-template-columns: 1fr; }
  .poster-side.blue { flex-direction: row; text-align: left; }
  .card { margin-top: 48px; }
  .bout-row { grid-template-columns: minmax(0, 1fr) 64px 64px 22px; grid-template-areas: "a pa pb c" "b pa pb c" "h h h h"; row-gap: 4px; padding: 14px 2px; }
  .loss-hint { grid-area: h; justify-self: start; white-space: normal; margin-top: 4px; }
  .fighter.red { grid-area: a; }
  .fighter.blue { grid-area: b; text-align: left; }
  .price.red { grid-area: pa; }
  .price.blue { grid-area: pb; }
  .chev { grid-area: c; width: 22px; }
  .fighter { font-size: 15px; }
  .price { font-size: 17px; }
  .books { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; transition-delay: 0s !important; }
  .name { transform: none; }
  .poster-odds { opacity: 1; transform: none; }
  /* Owner's choice (15 Nov 2026): the small, slow bonus glint stays on even here. */
  .book .bonus, .draw-strip .bonus { animation: bonus-glint 2.4s linear infinite !important; }
}

/* Server-rendered card for crawlers and the first paint; the script replaces it. */
.prerender h3 { margin: 24px 0 8px; font: 600 15px/1.3 var(--body); color: var(--muted); }
.prerender ul { margin: 0; padding: 0; list-style: none; }
.prerender li { padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); overflow-wrap: anywhere; }
.prerender time { color: var(--muted); font-size: 13px; margin-right: 8px; }

/* Card and bout pages: links between the pages, for readers and crawlers. */
.card-head .back { flex-basis: 100%; color: var(--muted); font-size: 14px; text-decoration: none; }
.card-head .back:hover, .bout-page:hover { color: var(--text); }
.event-head h3 a, .prerender h3 a, .prerender li a { color: inherit; text-decoration: none; }
.event-head h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.bout-page { display: inline-block; margin: 12px 4px 4px; color: var(--muted); font-size: 14px; text-decoration: none; }
.prerender-back a { color: var(--muted); font-size: 14px; }

/* Results of finished cards, with the prices bookmakers gave before each bout. */
.results { width: var(--page); margin: 40px auto; }
.results h2 { margin: 0 0 8px; font: 700 clamp(26px, 3.6vw, 40px)/1.05 var(--display); letter-spacing: -.035em; }
.results .back { display: block; margin-bottom: 14px; color: var(--muted); font-size: 14px; text-decoration: none; }
.results-note { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.results ul { margin: 0; padding: 0; list-style: none; }
.results li { padding: 14px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.results li a { color: var(--text); font-weight: 600; text-decoration: none; }
.results li a:hover { text-decoration: underline; text-underline-offset: 4px; }
.results p a { color: var(--flame); font-weight: 600; text-decoration: none; }
.result-tag { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; font-size: 12px; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.result-tag.hot { color: var(--flame); box-shadow: inset 0 0 0 1px rgba(255, 138, 31, .45); }
.card[hidden], .poster[hidden] { display: none; }
.guides li p { margin: 6px 0 0; color: var(--muted); font-size: 15px; font-weight: 400; }

/* Card articles (content/articles/*.html, filled by src/articles.py). */
.article { width: min(760px, var(--page)); margin: 56px auto 24px; }
.article-kicker { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.article h2 { margin: 0 0 16px; font: 700 clamp(28px, 4.2vw, 46px)/1.05 var(--display); letter-spacing: -.035em; }
.article-lead { margin: 0 0 28px; font-size: 19px; line-height: 1.6; color: var(--text); }
.article h3 { margin: 36px 0 10px; font: 600 21px/1.3 var(--body); }
.article p, .article li { font-size: 17px; line-height: 1.7; color: #d9ccc5; }
.article ul { padding-left: 20px; }
.article a { color: var(--flame); }
.article-callout { margin: 8px 0 12px; padding: 22px 24px; border-radius: 18px; background: linear-gradient(135deg, rgba(255, 59, 33, .14), rgba(255, 138, 31, .06)); box-shadow: inset 0 0 0 1px rgba(255, 138, 31, .28); }
.article-callout-label { margin: 0 0 6px !important; font-size: 13px !important; text-transform: uppercase; letter-spacing: .08em; color: var(--flame) !important; }
.article-callout-main { margin: 0 0 16px !important; font: 600 20px/1.35 var(--body) !important; color: var(--text) !important; }
.article-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.article-prices div { padding: 14px 16px; border-radius: 14px; background: rgba(0, 0, 0, .25); }
.article-prices span { display: block; color: var(--muted); font-size: 14px; }
.article-prices strong { display: block; margin: 4px 0; font: 700 34px/1 var(--display); letter-spacing: -.03em; }
.article-prices div:first-child strong { color: var(--flame); }
.article-prices em { font-style: normal; color: var(--muted); font-size: 14px; }
.article-callout-note { margin: 14px 0 0 !important; font-size: 15px !important; }
.article-next { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.article-disclaimer { font-size: 13px !important; color: var(--muted) !important; }

/* Article charts: bars and stacks drawn with CSS only; widths are .wNN classes, as inline styles are blocked by the CSP. */
.ig { margin: 22px 0; padding: 20px 22px; border-radius: 18px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.ig figcaption { margin-bottom: 16px; font: 600 16px/1.4 var(--body); color: var(--text); }
.ig-row { display: grid; grid-template-columns: 120px minmax(0, 1fr) 76px; align-items: center; gap: 12px; margin: 10px 0; }
.ig-label { font-size: 14px; color: var(--text); overflow-wrap: anywhere; }
.ig-track { height: 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.ig-bar { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #6b4a40, #a07a6c); }
.ig-bar.hot { background: linear-gradient(90deg, var(--red), var(--flame)); }
.ig-value { font: 700 15px/1 var(--display); text-align: right; font-variant-numeric: tabular-nums; }
.ig-note { grid-column: 2 / -1; margin-top: -6px; font-size: 12px; color: var(--muted); }
.ig-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ig-grid .ig { margin: 0; }
.ig-stack { display: flex; height: 44px; border-radius: 12px; overflow: hidden; }
.ig-seg { display: grid; place-items: center; font: 700 16px/1 var(--display); color: #120a09; }
.ig-seg.dec, .ig-key.dec::before { background: #c9b2a8; }
.ig-seg.ko, .ig-key.ko::before { background: var(--red); }
.ig-seg.sub, .ig-key.sub::before { background: var(--flame); }
.ig-seg.draw, .ig-key.draw::before { background: #5f4b45; }
.ig-seg.fav, .ig-key.fav::before { background: var(--blue); }
.ig-seg.dog, .ig-key.dog::before { background: var(--flame); }
.ig-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; }
.ig-key { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.ig-key::before { content: ""; width: 10px; height: 10px; border-radius: 3px; }
.ig-foot { margin: 12px 0 0 !important; font-size: 13px !important; color: var(--muted) !important; }
@media (max-width: 720px) {
  .ig { padding: 16px; }
  .ig-grid { grid-template-columns: 1fr; }
  .ig-row { grid-template-columns: 96px minmax(0, 1fr) 64px; gap: 8px; }
}
.ig .w0{width:0%}.ig .w1{width:1%}.ig .w2{width:2%}.ig .w3{width:3%}.ig .w4{width:4%}.ig .w5{width:5%}.ig .w6{width:6%}.ig .w7{width:7%}.ig .w8{width:8%}.ig .w9{width:9%}.ig .w10{width:10%}.ig .w11{width:11%}.ig .w12{width:12%}.ig .w13{width:13%}.ig .w14{width:14%}.ig .w15{width:15%}.ig .w16{width:16%}.ig .w17{width:17%}.ig .w18{width:18%}.ig .w19{width:19%}.ig .w20{width:20%}.ig .w21{width:21%}.ig .w22{width:22%}.ig .w23{width:23%}.ig .w24{width:24%}.ig .w25{width:25%}.ig .w26{width:26%}.ig .w27{width:27%}.ig .w28{width:28%}.ig .w29{width:29%}.ig .w30{width:30%}.ig .w31{width:31%}.ig .w32{width:32%}.ig .w33{width:33%}.ig .w34{width:34%}.ig .w35{width:35%}.ig .w36{width:36%}.ig .w37{width:37%}.ig .w38{width:38%}.ig .w39{width:39%}.ig .w40{width:40%}.ig .w41{width:41%}.ig .w42{width:42%}.ig .w43{width:43%}.ig .w44{width:44%}.ig .w45{width:45%}.ig .w46{width:46%}.ig .w47{width:47%}.ig .w48{width:48%}.ig .w49{width:49%}.ig .w50{width:50%}.ig .w51{width:51%}.ig .w52{width:52%}.ig .w53{width:53%}.ig .w54{width:54%}.ig .w55{width:55%}.ig .w56{width:56%}.ig .w57{width:57%}.ig .w58{width:58%}.ig .w59{width:59%}.ig .w60{width:60%}.ig .w61{width:61%}.ig .w62{width:62%}.ig .w63{width:63%}.ig .w64{width:64%}.ig .w65{width:65%}.ig .w66{width:66%}.ig .w67{width:67%}.ig .w68{width:68%}.ig .w69{width:69%}.ig .w70{width:70%}.ig .w71{width:71%}.ig .w72{width:72%}.ig .w73{width:73%}.ig .w74{width:74%}.ig .w75{width:75%}.ig .w76{width:76%}.ig .w77{width:77%}.ig .w78{width:78%}.ig .w79{width:79%}.ig .w80{width:80%}.ig .w81{width:81%}.ig .w82{width:82%}.ig .w83{width:83%}.ig .w84{width:84%}.ig .w85{width:85%}.ig .w86{width:86%}.ig .w87{width:87%}.ig .w88{width:88%}.ig .w89{width:89%}.ig .w90{width:90%}.ig .w91{width:91%}.ig .w92{width:92%}.ig .w93{width:93%}.ig .w94{width:94%}.ig .w95{width:95%}.ig .w96{width:96%}.ig .w97{width:97%}.ig .w98{width:98%}.ig .w99{width:99%}.ig .w100{width:100%}
/* Live price chart (src/charts.py): geometry in the SVG, colours here. */
.live-chart svg.lc { display: block; width: 100%; height: auto; }
.lc-band { fill: rgba(255, 255, 255, .025); }
.lc-band.alt { fill: rgba(255, 255, 255, .06); }
.lc-grid { stroke: rgba(255, 255, 255, .08); stroke-width: 1; }
.lc-label { fill: var(--muted); font: 500 11px var(--body); }
.lc-line { fill: none; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.lc-line.a { stroke: var(--red); }
.lc-line.b { stroke: var(--blue); }
@media (max-width: 720px) {
  /* The chart is drawn at 640 units and shown at about 300 px: scale its text and lines up. */
  .lc-label { font-size: 24px; }
  .lc-line { stroke-width: 5; }
}
.history-change { margin: -6px 0 12px; font-size: 14px; color: var(--text); }
.results .live-chart { max-width: 760px; }

/* Sections in the header and the hub (src/hub.py), the owner's design of 15 Nov 2026. */
.bar { justify-content: flex-start; }
.bar .bar-status { margin-left: auto; }
.sections { display: flex; gap: 4px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.sections::-webkit-scrollbar { display: none; }
.sections a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font: 500 15px/1 var(--body); text-decoration: none; white-space: nowrap; transition: color .3s, background .3s; }
.sections a:hover { color: var(--text); }
.sections a.on { color: var(--text); background: var(--panel-hi); box-shadow: inset 0 0 0 1px var(--line); }
.sections .soon { margin-left: 4px; font-size: 11px; color: var(--flame); }
.hub { width: var(--page); margin: 0 auto 48px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; padding: 56px 0 8px; }
.hero h1 { margin: 0 0 16px; font: 800 clamp(30px, 4.6vw, 56px)/1.02 var(--display); letter-spacing: -.04em; }
.hero-text p { margin: 0 0 24px; max-width: 520px; color: #d9ccc5; font-size: 18px; }
.bar-status[hidden] { display: none; }
.continue, .start { display: inline-flex; align-items: center; padding: 13px 20px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.continue { color: #120a09; background: linear-gradient(90deg, var(--red), var(--flame)); }
.start { color: var(--text); box-shadow: inset 0 0 0 1px rgba(255, 138, 31, .55); }
.continue[hidden], .start[hidden] { display: none; }
.case { position: relative; overflow: hidden; padding: 26px 28px; border-radius: 22px; background: var(--panel); box-shadow: inset 0 0 0 1px rgba(255, 138, 31, .3); isolation: isolate; }
.case::before { content: ""; position: absolute; z-index: -1; inset: -40% -20% auto auto; width: 70%; height: 140%; background: radial-gradient(circle, rgba(255, 59, 33, .35), transparent 65%); }
.case-k { margin: 0 0 6px; color: var(--flame); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.case-big { margin: 0; font: 800 clamp(44px, 6vw, 72px)/1 var(--display); letter-spacing: -.04em; color: var(--red); background: linear-gradient(180deg, var(--flame), var(--red)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.case-what { margin: 10px 0 18px; font-size: 17px; }
.case-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.case-pair div { padding: 12px 14px; border-radius: 14px; background: rgba(0, 0, 0, .25); }
.case-pair span { display: block; color: var(--muted); font-size: 13px; }
.case-pair b { display: block; font: 700 24px/1.2 var(--display); }
.case-pair div:first-child b { color: var(--red); }
.case-pair em { display: block; margin-top: 2px; font-style: normal; font-weight: 600; }
.case-more { color: var(--flame); font-weight: 600; text-decoration: none; }
.hub-h { margin: 44px 0 16px; font: 700 22px/1.2 var(--display); letter-spacing: -.02em; }
.tiles { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; }
.tile { display: flex; flex-direction: column; min-height: 200px; padding: 22px; border-radius: 20px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); text-decoration: none; }
.tile h3 { margin: 0 0 4px; font: 800 26px/1 var(--display); letter-spacing: -.03em; }
.tile-meta { margin-bottom: auto; color: var(--muted); font-size: 14px; }
.tile.ufc { box-shadow: inset 0 0 0 1px rgba(255, 59, 33, .4); background: linear-gradient(135deg, rgba(255, 59, 33, .12), var(--panel) 55%); }
.tile-next { display: block; margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: rgba(0, 0, 0, .28); }
.tile-t { display: block; color: var(--muted); font-size: 13px; }
.tile-m { display: flex; justify-content: space-between; gap: 12px; margin-top: 4px; font-weight: 600; font-size: 17px; }
.tile-prices { font: 700 18px/1.2 var(--display); white-space: nowrap; }
.tile-prices .r { color: var(--red); }
.tile-prices .b { color: var(--blue); }
.tile-go { margin-top: 14px; color: var(--flame); font-weight: 600; text-decoration: none; }
.tile.soon .badge { align-self: flex-start; margin-bottom: 12px; padding: 3px 10px; border-radius: 999px; font-size: 12px; color: var(--flame); box-shadow: inset 0 0 0 1px rgba(255, 138, 31, .4); }
.tile.soon .tile-go { color: var(--text); font-weight: 500; font-size: 14px; }
.arts, .archive { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.art, .arch { display: block; padding: 18px; border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); text-decoration: none; }
.art-k, .arch-when { display: block; margin-bottom: 6px; color: var(--muted); font-size: 12px; }
.art b, .arch b { font-weight: 600; font-size: 16px; line-height: 1.35; }
.arch-hook { display: block; margin-top: 6px; color: var(--up); font-size: 14px; }
.about { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 44px; }
.about div { padding: 18px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); color: #d9ccc5; font-size: 15px; }
.about b { display: block; margin-bottom: 6px; color: var(--text); font: 700 17px/1.2 var(--display); }
.about a { color: var(--flame); }
.soon-page { padding: 72px 0 24px; max-width: 720px; }
.soon-page h1 { margin: 0 0 14px; font: 800 clamp(30px, 5vw, 52px)/1.05 var(--display); letter-spacing: -.04em; }
.soon-page p { color: #d9ccc5; font-size: 18px; }
.soon-back a { color: var(--flame); text-decoration: none; font-weight: 600; }
.ufc-more { margin-top: 8px; }

/* Express on card pages: prices are buttons; the panel sits under the bouts and sticks to the bottom. */
.price.pick { border: 0; cursor: pointer; font: 700 20px/1 var(--display); transition: box-shadow .25s, transform .2s; }
.price.pick:hover { transform: translateY(-1px); }
.price.pick.red.picked { box-shadow: inset 0 0 0 2px var(--red); }
.price.pick.blue.picked { box-shadow: inset 0 0 0 2px var(--blue); }
.express { scroll-margin-top: 80px; margin-top: 18px; padding: 20px 22px; border-radius: 22px; background: var(--panel-hi); box-shadow: inset 0 0 0 1px rgba(255, 59, 33, .45), 0 12px 40px rgba(0, 0, 0, .5); }
.express[hidden] { display: none; }
.express-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.express-k { margin: 0; color: var(--flame); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.express-legs { margin: 4px 0 0; color: #d9ccc5; font-size: 15px; }
.express-best { text-align: right; }
.express-x { display: block; font: 800 38px/1 var(--display); letter-spacing: -.03em; color: var(--red); }
.express-by { color: var(--muted); font-size: 13px; }
.express-books { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.express-book { display: block; padding: 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, .28); color: var(--text); text-decoration: none; font-size: 14px; }
.express-book b { display: block; font: 700 18px/1.2 var(--display); }
.express-book small { color: var(--muted); }
.express-book.top { box-shadow: inset 0 0 0 1px rgba(255, 59, 33, .6); }
.express-book.top b { color: var(--red); }
.express-loss { margin: 12px 0 0; color: var(--flame); font-weight: 600; }
.express-note { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.express-clear { margin-top: 10px; padding: 6px 12px; border-radius: 999px; border: 0; background: none; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); font: 500 13px/1 var(--body); cursor: pointer; }
.bout-row:focus-visible { outline: 2px solid var(--flame); outline-offset: 2px; }

@media (max-width: 760px) {
  .bar { gap: 12px; }
  .bar .bar-status { display: none; }
  .sections a { padding: 7px 10px; font-size: 14px; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding-top: 28px; }
  .tiles, .arts, .archive, .about { grid-template-columns: 1fr; }
  .express { padding: 16px; }
  .express-head { flex-direction: column; gap: 8px; }
  .express-best { text-align: left; }
  .express-books { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.express-chip { position: fixed; left: 50%; bottom: 16px; z-index: 20; transform: translateX(-50%); padding: 12px 20px; border-radius: 999px; background: linear-gradient(90deg, var(--red), var(--flame)); color: #120a09; font: 700 15px/1 var(--body); text-decoration: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); white-space: nowrap; }
.express-chip[hidden] { display: none; }

/* UFC tabs: all bouts, one per upcoming card, results, articles (owner, 15 Nov 2026). */
.subnav { position: sticky; top: 61px; z-index: 9; background: rgba(18, 10, 9, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.subnav-in { display: flex; gap: 22px; width: var(--page); margin: 0 auto; overflow-x: auto; scrollbar-width: none; }
.subnav-in::-webkit-scrollbar { display: none; }
.subnav a { flex-shrink: 0; padding: 14px 0 12px; color: var(--muted); font: 500 15px/1 var(--body); text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; transition: color .3s, border-color .3s; }
.subnav a:hover { color: var(--text); }
.subnav a.on { color: var(--text); border-bottom-color: var(--red); }
.section-h { margin: 40px 0 20px; font: 800 clamp(28px, 4vw, 44px)/1.05 var(--display); letter-spacing: -.035em; }
.arch-gap { display: block; margin-top: 4px; color: var(--flame); font-size: 14px; font-weight: 600; }
.sport-more a { color: var(--flame); font-weight: 600; text-decoration: none; }
.soon-tag { margin-left: 6px; padding: 2px 9px; border-radius: 999px; font: 500 12px/1.4 var(--body); letter-spacing: 0; color: var(--flame); box-shadow: inset 0 0 0 1px rgba(255, 138, 31, .4); vertical-align: middle; }
@media (max-width: 760px) {
  .subnav { top: 57px; }
  .subnav-in { gap: 18px; }
  .subnav a { font-size: 14px; }
}

/* Bookmaker margin: a quiet line in the open bout, and the card's generous and greedy bookmaker
   as two tiles under the card's title. */
.margins { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.margins-k { color: var(--text); }
.margin-rating { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 14px 0 6px; }
.mr { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.mr-k { color: var(--muted); font-size: 12px; }
.mr b { font: 700 17px/1.2 var(--display); letter-spacing: -.01em; }
.mr-v { font-size: 13px; font-variant-numeric: tabular-nums; }
.mr.good .mr-v { color: #3ecf8e; }
.mr.bad .mr-v { color: var(--flame); }
.mr-note { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 12px; }

/* "Следить за ценой в Telegram" under each corner's bookmakers. */
.follow { display: block; margin-top: 10px; padding: 10px 12px; border-radius: 10px; border: 1px dashed var(--line); color: var(--text); font-size: 13px; text-align: center; text-decoration: none; transition: border-color .2s, background .2s; }
.follow:hover { border-color: var(--flame); background: var(--panel-hi); }
.express.empty { background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
/* Lighter bout card (owner, 15 Nov 2026): the loss as one line, the stake chosen once in the header. */
.loss { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding: 10px 14px; }
.loss .loss-big { display: inline; margin: 0; font-size: 22px; }
.loss-note { flex-basis: 100%; font-size: 12px; color: var(--muted); }
.gain-small { display: block; color: #3ecf8e; font: 600 12px/1 var(--body); font-variant-numeric: tabular-nums; }
.loss.own-best { box-shadow: inset 0 0 0 1px rgba(62, 207, 142, .35); }
.loss-good { color: #3ecf8e; font: 700 18px/1.2 var(--display); }
.follow { display: inline-block; margin: 8px 4px 0; padding: 0; border: 0; color: var(--muted); font-size: 13px; text-align: left; text-decoration: none; }
.follow:hover { color: var(--text); background: none; text-decoration: underline; text-underline-offset: 3px; }
.stake-pick { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.stake-pick select.stake { padding: 11px 30px 11px 14px; font-size: 14px; border: 1px solid var(--line); background-color: var(--panel); }
.tour-again { padding: 0; border: 0; background: none; color: var(--muted); font: 500 14px/1.2 var(--body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.tour-again:hover { color: var(--text); }
.express-chip.empty { background: var(--panel-hi); color: var(--text); box-shadow: inset 0 0 0 1px var(--line), 0 8px 24px rgba(0, 0, 0, .5); }
/* The first-visit tour: the page dims around one element, a card explains it. */
.tour { position: fixed; inset: 0; z-index: 50; }
.tour-spot { position: fixed; border-radius: 14px; box-shadow: 0 0 0 9999px rgba(8, 4, 3, .72); pointer-events: none; transition: top .25s, left .25s, width .25s, height .25s; }
.tour-card { position: fixed; padding: 16px 18px; border-radius: 16px; background: var(--panel-hi); box-shadow: inset 0 0 0 1px rgba(255, 59, 33, .45), 0 16px 40px rgba(0, 0, 0, .6); }
.tour-step { margin: 0 0 6px; color: var(--flame); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.tour-text { margin: 0; font-size: 15px; line-height: 1.45; }
.tour-buttons { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; }
.tour-next { padding: 10px 18px; border: 0; border-radius: 999px; background: linear-gradient(90deg, var(--red), var(--flame)); color: #120a09; font: 700 14px/1 var(--body); cursor: pointer; }
.tour-skip { padding: 10px 6px; border: 0; background: none; color: var(--muted); font: 500 14px/1 var(--body); cursor: pointer; }
@media (max-width: 560px) {
  .stake-pick { width: 100%; }
  .stake-pick select.stake { flex: 1; }
}
.book.mine { background: rgba(255, 138, 31, .06); }
/* The floating express bar is now a link plus a cross that empties the express. */
.express-chip { display: flex; align-items: center; gap: 2px; padding: 0; }
.express-chip-go { padding: 12px 8px 12px 20px; color: inherit; text-decoration: none; }
.express-chip.empty .express-chip-go { padding-right: 20px; }
.express-chip-x { width: 34px; height: 34px; margin-right: 6px; border: 0; border-radius: 50%; background: rgba(18, 10, 9, .18); color: inherit; font: 700 20px/1 var(--body); cursor: pointer; }
.express-chip-x:hover { background: rgba(18, 10, 9, .32); }
.express-chip-x[hidden] { display: none; }
.express-head .express-clear { display: block; margin-top: 10px; }
/* Pages without the live line (class set by the server on <html>): hidden before the first
   paint, so nothing jumps when the page script loads. */
.no-line #poster, .no-line .card, .no-status .bar-status, .finished .card { display: none; }
.express-draw { color: var(--muted); font-weight: 400; }
/* A bookmaker with 1X2 prices only (PARI), before the bout: one compact line under the columns. */
.draw-strip { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; margin: 10px 4px 0; padding: 10px 14px; border-radius: 12px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.ds-name { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.ds-prices { display: flex; gap: 8px; margin-left: auto; }
.ds-price { min-width: 64px; padding: 6px 10px; border-radius: 8px; text-align: center; text-decoration: none; font: 700 17px/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; background: var(--panel-hi); }
.ds-price.red { color: var(--red); }
.ds-price.blue { color: var(--blue); }
.ds-price.linked:hover { box-shadow: inset 0 0 0 1px var(--line); }
.ds-price.none { color: var(--muted); }
.draw-strip .bonus { display: inline-block; margin: 0; font: 500 12px/1.3 var(--body); cursor: pointer; }
.book .bonus.on-row { cursor: inherit; }
.draw-extra { display: block; margin-top: 6px; color: var(--text); }
@media (max-width: 560px) { .ds-prices { margin-left: 0; } .draw-strip .bonus { flex-basis: 100%; } }
.draw-strip .draw-tag { font-weight: 500; }
.follow-card { display: inline-block; margin: 0 4px 12px; padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); color: var(--text); text-decoration: none; }
.follow-card:hover { box-shadow: inset 0 0 0 1px var(--flame); text-decoration: none; }
/* "Поделиться экспрессом" under the calculator. */
.express-share { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-top: 14px; }
.express-share-main { padding: 11px 18px; border: 0; border-radius: 999px; background: linear-gradient(90deg, var(--red), var(--flame)); color: #120a09; font: 700 14px/1 var(--body); cursor: pointer; }
.express-share-tg { color: var(--text); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 4px 12px; }
.card-actions .follow-card { margin: 0; }
.game-link { box-shadow: inset 0 0 0 1px rgba(255, 138, 31, .55); }
.share-card { width: min(720px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); color: var(--text); box-sizing: border-box; overflow: auto; }
.share-card::backdrop { background: rgba(8, 4, 3, .78); backdrop-filter: blur(4px); }
.share-card[open] { animation: share-in .35s var(--spring); }
@keyframes share-in { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.share-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.share-card-title { margin: 0; font: 800 18px/1.2 var(--display); }
.share-card-close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--panel-hi); color: var(--text); font-size: 22px; line-height: 1; cursor: pointer; }
.share-card-img { display: block; width: 100%; height: auto; border-radius: 12px; background: var(--coal); aspect-ratio: 1200 / 630; }
.share-card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.share-card-btn { flex: 1 1 auto; padding: 11px 16px; border: 0; border-radius: 999px; background: var(--panel-hi); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); font: 600 14px/1.2 var(--body); text-align: center; text-decoration: none; cursor: pointer; }
.share-card-btn:hover { box-shadow: inset 0 0 0 1px var(--flame); text-decoration: none; }
.share-card-btn.primary { background: linear-gradient(90deg, var(--red), var(--flame)); box-shadow: none; color: #120a09; font-weight: 700; }
.share-card-status { min-height: 1.4em; margin: 10px 0 0; color: var(--muted); font-size: 13px; word-break: break-all; }
@media (max-width: 560px) { .share-card { padding: 14px; } .share-card-btn { flex-basis: calc(50% - 4px); padding: 10px 8px; font-size: 13px; } }

/* The card's two invitations: a light sweeps across them now and then, the game one also glows,
   so they are noticed without a blinking banner (owner's request, 16 Nov 2026). */
.card-actions .follow-card { position: relative; overflow: hidden; isolation: isolate; transition: box-shadow .2s, transform .2s var(--spring); }
.card-actions .follow-card:hover { transform: translateY(-1px); }
.card-actions .follow-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255, 138, 31, .22) 50%, transparent 65%); transform: translateX(-120%); animation: invite-sweep 6s ease-in-out infinite; }
.card-actions .game-link::after { animation-delay: 3s; }
.card-actions .game-link { animation: invite-glow 3s ease-in-out infinite; }
@keyframes invite-sweep { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes invite-glow { 0%, 100% { box-shadow: inset 0 0 0 1px rgba(255, 138, 31, .55), 0 0 0 0 rgba(255, 138, 31, 0); } 50% { box-shadow: inset 0 0 0 1px rgba(255, 138, 31, .9), 0 0 18px 0 rgba(255, 138, 31, .28); } }
@media (prefers-reduced-motion: reduce) { .card-actions .follow-card, .card-actions .follow-card::after, .share-card[open] { animation: none; } }
.bout-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.share-link { padding: 0; border: 0; background: none; color: var(--flame); font: 600 13px/1.4 var(--body); cursor: pointer; }
.share-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.card-actions .share-card-link { border: 0; background: none; font: inherit; font-size: 13px; cursor: pointer; }
.card-actions .share-card-link::after { display: none; }  /* the light sweeps only over the two invitations */
.bout-links .share-link { margin: 12px 4px 4px; }
