@font-face { font-family: "Sequel"; src: url("/assets/fonts/sequel-black-head.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Sequel"; src: url("/assets/fonts/sequel-medium-body.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Sequel"; src: url("/assets/fonts/sequel-book-body.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --ink: #0B0B12;
  --ink-2: #12121B;
  --ink-3: #191924;
  --line: #24243A;
  --text: #F4F2FA;
  --soft: #CFCBDD;
  --muted: #9893AD;
  --purple: #A855FF;
  --purple-2: #C690FF;
  --red: #FF3B3B;
  --radius: 16px;
  --wrap: 1280px;
  --pad: clamp(20px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 16px/1.6 "Sequel", system-ui, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: "Sequel", system-ui, sans-serif; font-weight: 900; line-height: 1.04; margin: 0; }
p, ul, ol { margin: 0; }
ul[role="list"], ol { list-style: none; padding: 0; }
.wrap { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--purple); color: var(--ink); padding: 10px 16px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }

/* small shared pieces */
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--purple); flex: none; display: inline-block; }
.dot--red, .dot--live { background: var(--red); }
.dot--live { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.label { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; color: var(--soft); }
.label--light { color: var(--text); }
.link { display: inline-flex; gap: 8px; color: var(--text); text-decoration: none; font-weight: 500; padding-bottom: 4px; border-bottom: 1px solid var(--line); white-space: nowrap; transition: border-color .2s; }
.link:hover { border-color: var(--text); }
.badge { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; margin-left: 10px; border-radius: 999px; background: var(--purple); color: var(--ink); font: 900 14px/1 "Sequel", sans-serif; vertical-align: top; position: relative; top: .25em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--purple); color: var(--ink); font-weight: 900; font-size: 15px; text-decoration: none; border: 1px solid var(--purple); cursor: pointer; font-family: inherit; transition: background .2s, border-color .2s; }
.btn:hover { background: var(--purple-2); border-color: var(--purple-2); }
.btn--ghost { background: rgba(11, 11, 18, .45); color: var(--text); border-color: rgba(244, 242, 250, .35); }
.btn--ghost:hover { background: rgba(11, 11, 18, .7); border-color: var(--text); }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: .55; cursor: wait; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--ink-3); color: var(--text); font-weight: 500; font-size: 14px; text-decoration: none; transition: border-color .2s; }
.pill:hover { border-color: var(--purple); }
.pill--live { border-color: var(--red); }
.pill--live .dot { background: var(--red); animation: pulse 1.6s ease-in-out infinite; }

/* header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(11, 11, 18, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.top__in { display: flex; align-items: center; gap: 32px; min-height: 68px; padding: 0 var(--pad); border-bottom: 1px solid var(--line); }
.top__brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.top__logo { width: 104px; height: auto; }
.top__rule { width: 1px; height: 22px; background: var(--line); }
.top__word { font-size: 12px; font-weight: 500; letter-spacing: .14em; color: var(--soft); min-width: 46px; }
.top__nav { display: flex; gap: 30px; margin-left: auto; }
.top__nav a { text-decoration: none; color: var(--soft); font-weight: 500; font-size: 15px; transition: color .2s; }
.top__nav a:hover { color: var(--text); }
@media (max-width: 860px) { .top__nav { display: none; } .top .pill { margin-left: auto; } .top__in { gap: 16px; } }

/* hero */
.hero { position: relative; min-height: calc(100svh - 68px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; z-index: -2; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 11, 18, .1) 35%, rgba(11, 11, 18, .72) 82%, rgba(11, 11, 18, .9)); }
.hero__in { padding: 0 var(--pad) 56px; }
.hero__title { font-size: clamp(52px, 9.5vw, 148px); line-height: .96; margin: 22px 0 36px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(244, 242, 250, .18); margin: 0 var(--pad); }
.hero__strip li + li { border-left: 1px solid rgba(244, 242, 250, .18); }
.hero__strip a { display: grid; gap: 2px; padding: 20px 20px 26px; text-decoration: none; transition: background .2s; }
.hero__strip li:first-child a { padding-left: 0; }
.hero__strip a:hover { background: rgba(244, 242, 250, .05); }
.hero__strip-k { font-weight: 900; font-size: 17px; }
.hero__strip-v { color: var(--soft); font-size: 14px; }
@media (max-width: 760px) {
  .hero__strip { grid-template-columns: 1fr 1fr; }
  .hero__strip li:nth-child(3) { border-left: 0; }
  .hero__strip li:nth-child(n+3) { border-top: 1px solid rgba(244, 242, 250, .18); }
  .hero__strip li:nth-child(3) a { padding-left: 0; }
}

/* intro statement */
.intro { padding: clamp(96px, 14vw, 180px) 0; }
.intro__in { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: start; }
.statement { font-size: clamp(28px, 3.6vw, 48px); line-height: 1.14; font-weight: 900; }
.intro__more { margin-top: 28px; max-width: 620px; color: var(--soft); font-size: 18px; }
@media (max-width: 860px) { .intro__in { grid-template-columns: 1fr; } }

/* section heads */
.block { padding: clamp(88px, 11vw, 140px) 0; }
.block--alt { background: var(--ink-2); border-block: 1px solid var(--line); }
.head { display: grid; grid-template-columns: 1fr 2fr auto; gap: 24px 40px; align-items: end; margin-bottom: 56px; }
.head .label { align-self: start; padding-top: 10px; }
.big { font-size: clamp(48px, 7.4vw, 112px); line-height: .94; }
.head__note { color: var(--soft); max-width: 340px; }
@media (max-width: 960px) { .head { grid-template-columns: 1fr; } .head .link { justify-self: start; } }

/* cards */
.card a { display: block; text-decoration: none; }
.card__thumb { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); border: 1px solid var(--line); }
.card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.card a:hover .card__thumb img { transform: scale(1.035); }
.card__title { margin-top: 14px; font-weight: 500; font-size: 16px; line-height: 1.4; }
.card__meta { margin-top: 4px; color: var(--muted); font-size: 13px; }
.card--empty { color: var(--muted); }
.tag { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(11, 11, 18, .82); border: 1px solid rgba(244, 242, 250, .16); font-size: 13px; font-weight: 500; }

.feature { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
.feature .card--lead { grid-column: 1 / -1; display: block; }
.feature .card--lead a { display: grid; grid-template-columns: 1.7fr 1fr; gap: 32px; align-items: end; }
.feature .card--lead .card__thumb { border-radius: 22px; }
.feature .card--lead .card__title { font: 900 clamp(24px, 2.6vw, 36px)/1.15 "Sequel", sans-serif; margin: 0; }
@media (max-width: 960px) { .feature { grid-template-columns: 1fr 1fr; } .feature .card--lead a { grid-template-columns: 1fr; gap: 18px; } }
@media (max-width: 600px) { .feature { grid-template-columns: 1fr; } }

.shelves { display: grid; gap: 64px; }
.shelf__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.shelf__head h3 { font-size: 22px; }
.shelf__sub { color: var(--muted); font-weight: 500; font-size: 15px; margin-left: 10px; }
.row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 300px); gap: 20px; overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x mandatory; scrollbar-color: var(--line) transparent; }
.row > li { scroll-snap-align: start; }
.row .card__title { font-size: 15px; }
.row--shorts { grid-auto-columns: minmax(190px, 210px); }
.row--shorts .card__thumb { aspect-ratio: 9 / 16; }

/* live */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.split .statement { margin-top: 22px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.platforms { display: grid; }
.platforms li { border-top: 1px solid var(--line); }
.platforms li:last-child { border-bottom: 1px solid var(--line); }
.platforms a { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 20px; padding: 26px 4px; text-decoration: none; }
.platforms__name { font: 900 clamp(26px, 3vw, 38px)/1 "Sequel", sans-serif; transition: color .2s; }
.platforms__handle { color: var(--muted); font-size: 14px; }
.platforms__go { font-size: 22px; transition: transform .2s; }
.platforms a:hover .platforms__name { color: var(--purple-2); }
.platforms a:hover .platforms__go { transform: translateX(4px); }

/* support */
.support { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 960px) { .support { grid-template-columns: 1fr; } }
.pay { display: grid; gap: 22px; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); border-radius: 24px; background: var(--ink-2); }
.pay__amount > label, .field > span { display: block; font-weight: 500; margin-bottom: 8px; }
.pay__hint { color: var(--muted); font-weight: 400; font-size: 13px; }
.pay__money { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 14px; padding: 0 16px; background: var(--ink); }
.pay__money:focus-within { border-color: var(--purple); }
.pay__sym { font-weight: 900; font-size: 26px; color: var(--muted); }
.pay__money input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font: 900 34px/1 "Sequel", sans-serif; padding: 16px 0; }
.pay__money input:focus { outline: none; }
.pay__money select { background: var(--ink-3); color: var(--text); border: 1px solid var(--line); border-radius: 10px; font: 500 15px "Sequel", sans-serif; padding: 8px 10px; }
.pay__via { margin-top: 10px; color: var(--muted); font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chips button { min-height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text); font: 500 14px "Sequel", sans-serif; cursor: pointer; }
.chips button[aria-pressed="true"], .chips button:hover { border-color: var(--purple); color: var(--purple-2); }
.field input { width: 100%; min-height: 50px; border: 1px solid var(--line); border-radius: 14px; background: var(--ink); color: var(--text); font: 400 16px "Sequel", sans-serif; padding: 0 16px; }
.field input:focus { outline: none; border-color: var(--purple); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; cursor: pointer; color: var(--soft); }
.check input { margin-top: 3px; accent-color: var(--purple); width: 18px; height: 18px; flex: none; }
.check a { color: var(--purple-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.pay__msg { min-height: 1.6em; font-weight: 500; }
.pay__msg.is-ok { color: #6EE7A8; }
.pay__msg.is-err { color: #FF8A8A; }
.pay__fine { color: var(--muted); font-size: 13px; }
[hidden] { display: none !important; }

.wall h3 { font-size: 20px; margin: 0 0 16px; display: flex; align-items: center; gap: 10px; }
.wall h3 + .board, .wall h3 + .recent { margin-bottom: 40px; }
.board, .recent { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.board li { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 16px 20px; border-top: 1px solid var(--line); }
.board li:first-child { border-top: 0; }
.board__rank { font-weight: 900; color: var(--muted); }
.board li:nth-child(1) { background: var(--ink-3); }
.board li:nth-child(1) .board__rank { color: var(--purple-2); }
.board__name { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board__amt { font-weight: 900; }
.board .board__empty, .recent .board__empty { display: block; color: var(--muted); padding: 16px 20px; }
.recent li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 20px; border-top: 1px solid var(--line); font-size: 15px; }
.recent li:first-child { border-top: 0; }
.recent__when { color: var(--muted); font-size: 13px; white-space: nowrap; }

/* footer, after The Open[n] Group site */
.foot { padding-top: clamp(72px, 9vw, 120px); }
.foot__wrap { padding: 0 var(--pad) 28px; }
.foot__top { display: grid; grid-template-columns: 1.1fr 2fr; gap: 56px; padding-bottom: 64px; }
@media (max-width: 960px) { .foot__top { grid-template-columns: 1fr; } }
.foot__logo img { width: 170px; }
.foot__tagline { margin-top: 20px; color: var(--soft); max-width: 340px; }
.foot__channels { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.foot__channel { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); color: var(--soft); transition: color .2s, border-color .2s; }
.foot__channel:hover { color: var(--text); border-color: var(--purple); }
.foot__channel svg { width: 17px; height: 17px; }
.foot__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 700px) { .foot__cols { grid-template-columns: 1fr 1fr; } }
.foot__label { font-weight: 900; font-size: 15px; margin-bottom: 18px; }
.foot__group ul { display: grid; gap: 10px; }
.foot__group a { color: var(--muted); text-decoration: none; font-size: 15px; overflow-wrap: anywhere; transition: color .2s; }
.foot__group a:hover { color: var(--text); }

.horizon { position: relative; container-type: inline-size; border-radius: 22px; overflow: hidden; isolation: isolate; aspect-ratio: 2400 / 1033; }
.horizon__field, .horizon__cut { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.horizon__mark { position: absolute; left: 47%; top: 62%; transform: translate(-50%, -100%); font: 900 16.6cqw/0.74 "Sequel", sans-serif; color: #fff; white-space: nowrap; pointer-events: none; user-select: none; }
.horizon__legal { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 0 clamp(16px, 2.4vw, 32px) clamp(14px, 2vw, 26px); font-size: 13px; color: var(--soft); }
.horizon__group { display: flex; align-items: center; gap: 10px; }
.horizon__endorse { display: block; color: #fff; }
.horizon__endorse svg { width: clamp(34px, 4vw, 50px); height: auto; display: block; }
@media (max-width: 600px) { .horizon { aspect-ratio: 4 / 3; } .horizon__field, .horizon__cut { object-position: 30% 50%; } .horizon__mark { left: 50%; top: 58%; font-size: 21cqw; } .horizon__legal { flex-direction: column; align-items: flex-start; } }
.foot__fine { margin-top: 18px; color: var(--muted); font-size: 13px; max-width: 820px; }

.totop { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--text); color: var(--ink); opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .25s, transform .25s; }
.totop svg { width: 20px; height: 20px; }
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }

/* legal pages */
.legal { padding: 88px 0 40px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(44px, 7vw, 80px); margin-bottom: 14px; }
.legal h2 { font-size: 24px; margin: 52px 0 14px; }
.legal p, .legal li { color: var(--soft); margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 20px; }
.legal a { color: var(--purple-2); }
.legal .updated { color: var(--muted); font-size: 14px; }

/* lead card: image spans both rows, title + date stacked on the right */
.feature .card--lead a { grid-template-rows: 1fr auto; row-gap: 8px; }
.feature .card--lead .card__thumb { grid-row: 1 / span 2; }
.feature .card--lead .card__title { align-self: end; }
.feature .card--lead .card__meta { grid-column: 2; align-self: start; margin: 0; }
@media (max-width: 960px) { .feature .card--lead .card__thumb { grid-row: auto; } .feature .card--lead .card__meta { grid-column: 1; } }
.intro { padding-bottom: clamp(40px, 6vw, 80px); }
.intro + .block { padding-top: clamp(40px, 6vw, 80px); }
.feature .card--lead .tag { left: auto; right: 16px; }
.check span { flex: 1; line-height: 1.5; }

/* grid children must be allowed to shrink, or the scrolling rows widen the page */
.shelves > *, .shelf, .support > *, .head > *, .split > *, .intro__in > *, .feature > *, .foot__top > * { min-width: 0; }
html, body { overflow-x: clip; }
@media (max-width: 600px) {
  .horizon { aspect-ratio: auto; height: auto; padding-top: 75%; }
  .horizon__mark { font-size: 15.5cqw; top: 34cqw; left: 50%; transform: translate(-50%, -100%); }
  .horizon__legal { position: relative; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 0 0; background: var(--ink); }
  .horizon { overflow: visible; border-radius: 0; }
  .horizon__field, .horizon__cut { height: auto; aspect-ratio: 4 / 3; border-radius: 18px; }
}
.pay > *, .pay__amount, .pay__money { min-width: 0; } .pay__money input { width: 100%; }
