/* PlayChat public site. Same wood, cloth and brass as the game; nothing from a template. */

@font-face { font-family: 'Cormorant Garamond'; font-weight: 500; font-display: swap; src: url(fonts/cormorant-garamond-cyrillic-500-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 500; font-display: swap; src: url(fonts/cormorant-garamond-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 600; font-display: swap; src: url(fonts/cormorant-garamond-cyrillic-600-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 600; font-display: swap; src: url(fonts/cormorant-garamond-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Manrope'; font-weight: 400; font-display: swap; src: url(fonts/manrope-cyrillic-400-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-weight: 400; font-display: swap; src: url(fonts/manrope-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Manrope'; font-weight: 600; font-display: swap; src: url(fonts/manrope-cyrillic-600-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-weight: 600; font-display: swap; src: url(fonts/manrope-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Manrope'; font-weight: 800; font-display: swap; src: url(fonts/manrope-cyrillic-800-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-weight: 800; font-display: swap; src: url(fonts/manrope-latin-800-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }

:root {
  --bg: #0e0906;
  --bg-2: #150e0a;
  --panel: rgba(27, 18, 12, 0.72);
  --line: rgba(216, 189, 134, 0.16);
  --line-2: rgba(216, 189, 134, 0.34);
  --brass: #d3ad6a;
  --brass-2: #a97f3c;
  --brass-hi: #f0d49b;
  --cream: #f3e8d3;
  --muted: #b3a48c;
  --cloth: #173a2a;
  --ruby: #c8483c;
  --ok: #7fbf7f;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1180px;
  --gut: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(169, 127, 60, 0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 40%, rgba(23, 58, 42, 0.18), transparent 60%),
    var(--bg);
  color: var(--cream);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--brass); text-underline-offset: 3px; }
a:hover { color: var(--brass-hi); }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: 0.005em; }
h2 { font-size: clamp(32px, 4.4vw, 52px); }
h3 { font-size: 24px; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; justify-content: center; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 6px; }
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 10px 20px; border-radius: 12px; border: 1px solid transparent;
  background: linear-gradient(180deg, var(--brass-hi), var(--brass) 45%, var(--brass-2));
  color: #1c120a; font: 700 15px/1.2 var(--sans); text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 30px -12px rgba(211, 173, 106, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn:hover { color: #1c120a; transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 16px 36px -14px rgba(211, 173, 106, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: 0.6; cursor: default; }
.btn-ghost { background: rgba(14, 9, 6, 0.35); color: var(--cream); border-color: var(--line-2); box-shadow: none; backdrop-filter: blur(6px); }
.btn-ghost:hover { color: var(--cream); border-color: var(--brass); box-shadow: none; }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 16px; border-radius: 14px; }
.btn-sm { min-height: 38px; padding: 8px 16px; font-size: 14px; }
.btn .ic { width: 20px; height: 20px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; font-size: 15px; }
.more .ic { transition: transform 0.15s ease; }
a:hover .more .ic, .more:hover .ic { transform: translateX(3px); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--brass); font-size: 13px; font-weight: 600; white-space: nowrap; }
.kicker { font: 600 13px/1.2 var(--sans); text-transform: uppercase; letter-spacing: 0.16em; color: var(--brass); margin-bottom: 18px; }

/* Header */
.hd {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 24px;
  padding: 12px var(--gut); background: rgba(14, 9, 6, 0.72); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--brass); text-decoration: none; font: 600 26px/1 var(--serif); }
.logo:hover { color: var(--brass-hi); }
.logo-mark { width: 28px; height: 28px; }
.hd-nav { display: flex; gap: 24px; margin-left: 12px; }
.hd-nav a { color: var(--cream); text-decoration: none; font-size: 15px; opacity: 0.85; display: inline-flex; align-items: center; gap: 6px; }
.hd-nav a:hover { opacity: 1; color: var(--brass-hi); }
.hd-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.hd-user { display: inline-flex; align-items: center; gap: 7px; color: var(--cream); text-decoration: none; font-size: 15px; max-width: 180px; }
.hd-user span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hd-user .ic { color: var(--brass); }
.hd-menu { display: none; position: relative; }
.hd-menu summary { list-style: none; width: 40px; height: 40px; display: grid; place-content: center; gap: 5px; cursor: pointer; border: 1px solid var(--line-2); border-radius: 10px; }
.hd-menu summary::-webkit-details-marker { display: none; }
.hd-menu summary span { display: block; width: 18px; height: 1.5px; background: var(--cream); border-radius: 2px; }
.hd-menu[open] summary { border-color: var(--brass); }
.hd-menu nav {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(280px, calc(100vw - 32px)); display: flex; flex-direction: column;
  padding: 8px; background: #17100b; border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}
.hd-menu nav a { padding: 12px 14px; color: var(--cream); text-decoration: none; border-radius: 10px; display: flex; align-items: center; gap: 8px; }
.hd-menu nav a:hover { background: rgba(211, 173, 106, 0.1); }

main { display: block; }
section, .page-head, .prose, .page-hero-in, .cab { padding-left: var(--gut); padding-right: var(--gut); }
.sec-head { max-width: var(--wrap); margin: 0 auto 36px; display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.sec-head p { margin: 0; color: var(--muted); max-width: 520px; }

/* Hero */
.hero { position: relative; min-height: calc(100svh - 65px); display: flex; align-items: center; padding-top: 72px; padding-bottom: 96px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; display: block; animation: drift 26s ease-in-out infinite alternate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 9, 6, 0.97) 0%, rgba(14, 9, 6, 0.9) 40%, rgba(14, 9, 6, 0.55) 66%, rgba(14, 9, 6, 0.2) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(14, 9, 6, 0) 28%); }
@keyframes drift { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); } }
.hero-in { width: 100%; max-width: var(--wrap); margin: 0 auto; }
.hero h1 { font-size: clamp(44px, 7.2vw, 96px); line-height: 0.98; max-width: 11.5em; margin-bottom: 26px; text-wrap: balance; }
.hero h1 em, .page-hero h1 em { font-style: normal; background: linear-gradient(180deg, var(--brass-hi), var(--brass) 60%, var(--brass-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(17px, 1.6vw, 20px); color: #e4d6bd; max-width: 34em; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-facts { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px 24px; flex-wrap: wrap; color: var(--muted); font-size: 15px; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts .ic { color: var(--brass); }
.hero-facts .live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(127, 191, 127, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(127, 191, 127, 0); } 100% { box-shadow: 0 0 0 0 rgba(127, 191, 127, 0); } }
.hero-cams { position: absolute; right: var(--gut); bottom: 64px; display: flex; gap: 12px; }
.cam {
  position: relative; width: 168px; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden;
  background: radial-gradient(circle at 50% 38%, #3a2a1d, #1a120c 70%); border: 1px solid var(--line-2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55); display: grid; place-items: center; transform: rotate(-2deg);
}
.cam-you { width: 132px; transform: rotate(2.5deg) translateY(14px); border-color: var(--brass); }
.cam-face .ic { width: 46px; height: 46px; color: rgba(243, 232, 211, 0.35); }
.cam-tag { position: absolute; left: 8px; bottom: 7px; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: rgba(14, 9, 6, 0.7); }
.cam-rec { position: absolute; right: 8px; top: 7px; font: 800 10px/1 var(--sans); letter-spacing: 0.1em; color: #fff; background: var(--ruby); padding: 4px 6px; border-radius: 5px; }

/* Steps */
.steps { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding-top: 40px; padding-bottom: 100px; }
.steps h2 { margin-bottom: 40px; }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding: 28px 26px 22px; border-radius: 18px; background: linear-gradient(180deg, rgba(36, 24, 16, 0.75), rgba(22, 15, 10, 0.6)); border: 1px solid var(--line); }
.steps li b { display: block; font: 600 72px/0.9 var(--serif); color: transparent; -webkit-text-stroke: 1.2px var(--brass); margin-bottom: 14px; }
.steps li h3 { margin-bottom: 8px; }
.steps li p { color: var(--muted); margin: 0; }

/* Game hall */
.hall { padding-top: 20px; padding-bottom: 110px; }
.gcards { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gcard { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.gcard:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.gcard-img { aspect-ratio: 4 / 3; background: #1a120c url(still-wide.webp) no-repeat; background-size: 320% auto; background-position: var(--cx) var(--cy); position: relative; }
.gcard-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg-2), rgba(21, 14, 10, 0) 45%); }
.gcard-body { padding: 4px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.gcard-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gcard h3 { font-size: 28px; }
.gcard p { color: var(--muted); margin: 0; font-size: 15px; flex: 1; }
.gcard-btns { display: flex; gap: 8px; margin-top: 6px; }
.gcard-btns .btn { flex: 1; min-height: 42px; padding: 8px 12px; }
.gcard .more { margin-top: 4px; font-size: 14px; }

.crop-long { --cx: 6%; --cy: 14%; }
.crop-short { --cx: 22%; --cy: 34%; }
.crop-durak { --cx: 76%; --cy: 24%; }
.crop-domino { --cx: 80%; --cy: 82%; }
.crop-poker { --cx: 43%; --cy: 55%; }

/* Trust */
.trust { padding-top: 10px; padding-bottom: 110px; }
.tgrid { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.tgrid > div { background: var(--bg); padding: 30px 28px; }
.tgrid .ic { width: 30px; height: 30px; color: var(--brass); margin-bottom: 16px; }
.tgrid h3 { font-size: 24px; margin-bottom: 8px; }
.tgrid p { color: var(--muted); margin: 0; font-size: 15px; }

/* Media and partner */
.media { padding-top: 0; padding-bottom: 24px; }
.media-in, .partner-in {
  max-width: var(--wrap); margin: 0 auto; border-radius: 24px; padding: clamp(28px, 5vw, 56px);
  background:
    linear-gradient(115deg, rgba(14, 9, 6, 0.93), rgba(14, 9, 6, 0.7) 55%, rgba(14, 9, 6, 0.45)),
    url(still-wide.webp) 30% 70% / 160% auto no-repeat;
  border: 1px solid var(--line);
}
.media-in > div { max-width: 600px; }
.media h2, .partner h2 { margin-bottom: 14px; }
.media p, .partner p { color: #ddd0b8; }
.media-links { display: flex; gap: 10px; flex-wrap: wrap; }
.media-links a, .ft-social a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line-2); color: var(--cream); text-decoration: none; font-weight: 600; font-size: 15px; background: rgba(14, 9, 6, 0.4); }
.media-links a:hover, .ft-social a:hover { border-color: var(--brass); color: var(--brass-hi); }
.partner { padding-top: 0; padding-bottom: 110px; }
.partner-in { background: repeating-linear-gradient(135deg, rgba(211, 173, 106, 0.04) 0 2px, transparent 2px 14px), var(--bg-2); border-style: dashed; border-color: var(--line-2); text-align: center; }
.partner-in p { max-width: 640px; margin-left: auto; margin-right: auto; }

/* Article cards */
.latest { padding-top: 0; padding-bottom: 100px; }
.acards { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.acard { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); text-decoration: none; color: var(--cream); transition: border-color 0.2s ease, transform 0.2s ease; }
.acard:hover { color: var(--cream); border-color: var(--line-2); transform: translateY(-3px); }
.acard h2, .acard h3 { font-size: 25px; line-height: 1.12; }
.acard p { color: var(--muted); font-size: 15px; margin: 0; flex: 1; }
.acard .more { color: var(--brass); }
.acards-list { grid-template-columns: repeat(2, 1fr); padding: 0 var(--gut) 100px; max-width: calc(var(--wrap) + 2 * var(--gut)); }

/* FAQ */
.faq { max-width: calc(860px + 2 * var(--gut)); margin: 0 auto; padding-top: 10px; padding-bottom: 100px; }
.faq h2 { margin-bottom: 26px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font: 600 18px/1.4 var(--sans); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 1.5px solid var(--brass); border-bottom: 1.5px solid var(--brass); transform: rotate(45deg); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.faq details p { color: #d8cbb2; margin: 0 0 22px; max-width: 760px; }

.final { text-align: center; padding-top: 30px; padding-bottom: 120px; }
.final h2 { font-size: clamp(40px, 6vw, 72px); margin-bottom: 14px; }
.final p { color: var(--muted); margin-bottom: 28px; }

/* Inner pages */
.page-hero { position: relative; isolation: isolate; padding: 64px 0 56px; background-image: linear-gradient(90deg, rgba(14, 9, 6, 0.97) 0%, rgba(14, 9, 6, 0.85) 48%, rgba(14, 9, 6, 0.45) 100%), url(still-wide.webp); background-size: 100% 100%, 190% auto; background-position: 0 0, var(--cx) var(--cy); background-repeat: no-repeat; border-bottom: 1px solid var(--line); }
.page-hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 80px; background: linear-gradient(0deg, var(--bg), transparent); z-index: -1; }
.page-hero-in { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; }
.page-hero h1 { font-size: clamp(40px, 6vw, 76px); max-width: 13em; margin: 14px 0 20px; text-wrap: balance; }
.page-hero .lead { max-width: 40em; }
.page-head { max-width: calc(860px + 2 * var(--gut)); margin: 0 auto; padding-top: 48px; padding-bottom: 20px; }
.page-head h1 { font-size: clamp(38px, 5.6vw, 64px); margin: 14px 0 18px; text-wrap: balance; }
.page-head.center { padding-top: 120px; padding-bottom: 140px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: #e6d9c1; line-height: 1.6; }
.lead.answer { padding: 18px 22px; border-left: 3px solid var(--brass); background: rgba(211, 173, 106, 0.06); border-radius: 0 12px 12px 0; }
.meta { color: var(--muted); font-size: 14px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brass); }

.prose { max-width: calc(860px + 2 * var(--gut)); margin: 0 auto; padding-top: 24px; padding-bottom: 60px; font-size: 17px; line-height: 1.75; color: #eadfc9; }
.prose h2 { font-size: clamp(28px, 3.4vw, 38px); margin: 46px 0 16px; color: var(--cream); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose li::marker { color: var(--brass); }
.prose b { color: var(--cream); }
.prose ol.rules { counter-reset: r; list-style: none; padding: 0; }
.prose ol.rules li { counter-increment: r; position: relative; padding: 14px 16px 14px 58px; border: 1px solid var(--line); border-radius: 14px; background: rgba(27, 18, 12, 0.5); margin-bottom: 10px; }
.prose ol.rules li::before { content: counter(r); position: absolute; left: 16px; top: 10px; font: 600 30px/1 var(--serif); color: var(--brass); }
.prose ol.tips li { margin-bottom: 1em; }
.table { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: 14px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.prose th, .prose td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--brass); font-weight: 600; background: rgba(211, 173, 106, 0.05); }
.prose tr:last-child td { border-bottom: 0; }
.cta-inline { margin-top: 34px; }
.article .faq { padding-bottom: 40px; }
.aside-play { max-width: calc(860px - 0px); margin: 0 auto 80px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line-2); background-image: linear-gradient(90deg, rgba(14, 9, 6, 0.94), rgba(14, 9, 6, 0.6)), url(still-wide.webp); background-size: 100% 100%, 220% auto; background-position: 0 0, var(--cx) var(--cy); background-repeat: no-repeat; }
.aside-play > div { padding: 34px 32px; max-width: 520px; }
.aside-play h2 { font-size: 38px; margin-bottom: 8px; }
.aside-play p { color: #ddd0b8; }
@media (max-width: 900px) { .aside-play { margin-left: var(--gut); margin-right: var(--gut); } }

/* Account */
.cab-page main { background: radial-gradient(ellipse at 50% 0%, rgba(169, 127, 60, 0.14), transparent 60%); }
.cab { padding-top: 56px; padding-bottom: 110px; }
.cab-card { max-width: 620px; margin: 0 auto; padding: clamp(24px, 5vw, 44px); border-radius: 24px; background: var(--panel); border: 1px solid var(--line-2); backdrop-filter: blur(12px); box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.9); }
.cab-card h1 { font-size: clamp(36px, 6vw, 52px); margin-bottom: 12px; }
.cab-card h2 { font-size: 28px; margin: 32px 0 12px; }
.cab-login { margin: 22px 0 18px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: 15px; color: #e2d5bc; cursor: pointer; }
.check input { accent-color: var(--brass); width: 18px; height: 18px; margin-top: 3px; flex: none; }
.cab-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.btn-provider { flex: 1 1 200px; min-height: 52px; background: #f3e8d3; color: #1c120a; box-shadow: none; }
.btn-provider:hover { background: #fff6e4; }
.note { font-size: 14px; color: var(--muted); }
.note.bad { color: #f0a097; }
.cab-who { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.cab-who h1 { margin: 0; }
.cab-who p { margin: 2px 0 0; }
.cab-ava { width: 64px; height: 64px; flex: none; border-radius: 50%; display: grid; place-items: center; font: 600 32px/1 var(--serif); color: #1c120a; background: linear-gradient(180deg, var(--brass-hi), var(--brass-2)); }
.cab-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-bottom: 24px; }
.cab-stats div { background: #160f0a; padding: 14px 10px; text-align: center; }
.cab-stats b { display: block; font: 600 30px/1.1 var(--serif); color: var(--brass); }
.cab-stats span { font-size: 12px; color: var(--muted); }
.cab-link { margin-top: 8px; }
.cab-games { list-style: none; padding: 0; margin: 0; }
.cab-games li { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.cab-games .win { color: var(--ok); }
.cab-games time { color: var(--muted); }
.cab-foot { display: flex; gap: 22px; flex-wrap: wrap; margin: 28px 0 12px; }
.cab-foot a, .cab-foot .link { display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; padding: 0; color: var(--brass); font: 600 15px var(--sans); cursor: pointer; text-decoration: none; }

/* Footer */
.ft { border-top: 1px solid var(--line); background: #0b0705; padding: 64px var(--gut) 34px; }
.ft-cols { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 1.2fr; gap: 34px; }
.ft h3 { font: 600 13px/1 var(--sans); text-transform: uppercase; letter-spacing: 0.14em; color: var(--brass); margin-bottom: 16px; }
.ft ul { list-style: none; margin: 0; padding: 0; }
.ft li { margin-bottom: 10px; font-size: 15px; }
.ft li a { color: #d5c7ad; text-decoration: none; }
.ft li a:hover { color: var(--brass-hi); }
.ft-brand p { color: var(--muted); font-size: 15px; margin: 16px 0; max-width: 320px; }
.ft-social { display: flex; flex-wrap: wrap; gap: 8px; }
.ft-social a { padding: 8px 12px; font-size: 14px; }
.ft-note { max-width: var(--wrap); margin: 44px auto 0; padding-top: 22px; border-top: 1px solid var(--line); color: #8d806b; font-size: 13px; }

/* Layout steps */
@media (max-width: 1080px) {
  .gcards { grid-template-columns: repeat(2, 1fr); }
  .hd-nav { gap: 18px; }
}
@media (max-width: 900px) {
  .hd-nav { display: none; }
  .hd-menu { display: block; }
  .hd-user span { display: none; }
  .steps ol, .tgrid, .acards { grid-template-columns: 1fr 1fr; }
  .ft-cols { grid-template-columns: 1fr 1fr; }
  .hero-cams { display: none; }
}
@media (max-width: 760px) {
  .hd { gap: 12px; padding-top: 10px; padding-bottom: 10px; }
  .logo { font-size: 23px; }
  .hero { min-height: calc(100svh - 61px); align-items: flex-end; padding-top: 120px; padding-bottom: 40px; }
  .hero::before { background: linear-gradient(0deg, rgba(14, 9, 6, 0.98) 0%, rgba(14, 9, 6, 0.92) 50%, rgba(14, 9, 6, 0.6) 80%, rgba(14, 9, 6, 0.4) 100%); }
  .hero-bg img { object-position: 50% 30%; }
  .hero h1 { font-size: clamp(40px, 11.5vw, 56px); }
  .hero-cta .btn { flex: 1 1 100%; }
  .steps ol, .tgrid, .acards, .acards-list, .gcards { grid-template-columns: 1fr; }
  .steps { padding-bottom: 72px; }
  .hall, .trust, .partner, .latest, .faq { padding-bottom: 72px; }
  .gcard-img { aspect-ratio: 16 / 9; background-size: 260% auto; }
  .page-hero { background-size: 100% 100%, 320% auto; padding-top: 40px; }
  .cab-stats { grid-template-columns: repeat(3, 1fr); }
  .ft-cols { grid-template-columns: 1fr; gap: 26px; }
  .prose { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none; }
  .btn, .gcard, .acard { transition: none; }
  html { scroll-behavior: auto; }
}

/* Scrollbars in the house colours: a slim brass thumb on no track, no arrows. */
* { scrollbar-width: thin; scrollbar-color: rgba(211, 173, 106, 0.42) transparent; }
*:hover { scrollbar-color: rgba(211, 173, 106, 0.62) transparent; }
html { scrollbar-color: rgba(211, 173, 106, 0.42) #120c08; }

/* Founders' club: the offer, the seats as they fill, and the pieces a founder keeps. */
.founders { padding-top: 0; padding-bottom: 110px; }
.fd-in {
  max-width: var(--wrap); margin: 0 auto; border-radius: 24px; padding: clamp(26px, 5vw, 56px);
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  background:
    radial-gradient(700px 360px at 85% 0%, rgba(211, 173, 106, 0.16), transparent 70%),
    repeating-linear-gradient(135deg, rgba(211, 173, 106, 0.035) 0 2px, transparent 2px 16px),
    var(--bg-2);
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px -50px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(240, 212, 155, 0.08);
}
.fd-text h2 { margin-bottom: 16px; }
.fd-text h2 em { font-style: normal; background: linear-gradient(180deg, var(--brass-hi), var(--brass) 60%, var(--brass-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fd-text > p { color: #ddd0b8; margin: 0 0 20px; }
.fd-perks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.fd-perks li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.fd-perks .ic { width: 22px; height: 22px; flex: none; color: var(--brass); }
.fd-you { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 12px 18px; border-radius: 14px; border: 1px solid var(--brass-2); background: rgba(211, 173, 106, 0.1); color: var(--brass-hi); font-weight: 700; }
.fd-you .ic { width: 22px; height: 22px; }
.fd-side { display: grid; gap: 18px; }
.fd-count { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.fd-count b { font: 600 clamp(56px, 8vw, 84px)/0.9 var(--serif); background: linear-gradient(180deg, var(--brass-hi), var(--brass) 60%, var(--brass-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fd-count span { color: var(--muted); font-size: 15px; }
.fd-seats { display: grid; grid-template-columns: repeat(20, 1fr); gap: 4px; }
.fd-seats i { aspect-ratio: 1; border-radius: 3px; background: rgba(216, 189, 134, 0.09); border: 1px solid rgba(216, 189, 134, 0.12); }
.fd-seats i.part { background: rgba(211, 173, 106, 0.4); border-color: rgba(211, 173, 106, 0.5); }
.fd-seats i.on { background: linear-gradient(180deg, var(--brass-hi), var(--brass-2)); border-color: transparent; box-shadow: 0 0 8px -2px rgba(240, 212, 155, 0.55); }
.fd-seats i.you { background: var(--cream); border-color: var(--cream); box-shadow: 0 0 0 2px var(--brass), 0 0 14px rgba(240, 212, 155, 0.8); }
.fd-items { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.fd-items img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: #120c08; }
.fd-hint { display: flex; align-items: center; gap: 10px; color: var(--brass-hi); font-weight: 600; font-size: 15px; }
.fd-hint .ic { width: 20px; height: 20px; flex: none; }
.fd-badge { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; padding: 5px 12px 5px 9px; border-radius: 999px; font: 700 13px/1.2 var(--sans); letter-spacing: 0.02em; color: #1c120a; background: linear-gradient(180deg, var(--brass-hi), var(--brass) 70%, var(--brass-2)); box-shadow: 0 6px 18px -8px rgba(240, 212, 155, 0.8); }
.fd-badge .ic { width: 16px; height: 16px; }
.cab-page .founders { padding-top: 0; }

/* The account: the collection and the history under the stats. */
.cab-card.wide { max-width: 920px; }
.cab-card h3 { font-size: 22px; margin: 22px 0 12px; }
.cab-card h3 .muted { font: 600 14px var(--sans); }
.cab-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; }
.cab-item { display: grid; gap: 6px; padding: 8px 8px 10px; border-radius: 14px; border: 1px solid var(--line); background: #160f0a; }
.cab-item.on { border-color: var(--brass); box-shadow: 0 0 0 1px var(--brass) inset; }
.cab-item img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 9px; background: #120c08; }
.cab-item b { font-size: 14px; line-height: 1.25; }
.tag-src { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); }
.tag-src .ic { width: 14px; height: 14px; }
.cab-item.on .tag-src { color: var(--brass-hi); font-weight: 700; }
.tag-src.src-founder { color: var(--brass); }
.cab-per li, .cab-buys li { grid-template-columns: 1fr auto auto; }
.cab-how { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); }
.cab-how .ic { width: 15px; height: 15px; color: var(--brass); }
@media (max-width: 900px) {
  .fd-in { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .founders { padding-bottom: 72px; }
  .fd-seats { gap: 3px; }
  .fd-items { grid-template-columns: repeat(3, 1fr); }
  .cab-items { grid-template-columns: repeat(2, 1fr); }
  .cab-per li { grid-template-columns: 1fr auto; }
  .cab-per li > span:nth-child(2) { grid-column: 1 / -1; order: 3; color: var(--muted); font-size: 14px; }
}
.cab-fd span:first-child { color: var(--brass-hi); font-weight: 600; }
@media (max-width: 760px) {
  .cab-stats div:last-child:nth-child(3n + 2) { grid-column: span 2; }
  .cab-buys li { grid-template-columns: 1fr auto; row-gap: 4px; }
  .cab-buys li > span:first-child { grid-column: 1 / -1; }
}

/* The founder's badge: a gold plate with the crown and the number; rare numbers have a sheen. */
.fd-no {
  display: inline-flex; align-items: center; gap: 5px; flex: none; padding: 3px 9px 3px 7px; border-radius: 999px;
  font: 800 12.5px/1.2 var(--sans); letter-spacing: 0.04em; color: #241707; white-space: nowrap; vertical-align: middle;
  background: linear-gradient(180deg, #f6dfaa, var(--brass) 62%, #9c7333);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 4px 12px -6px rgba(240, 212, 155, 0.8);
}
.fd-no .ic { width: 14px; height: 14px; }
.fd-no i { font-style: normal; font-weight: 700; letter-spacing: 0.02em; }
.fd-no.rare {
  background: linear-gradient(115deg, #fff3cf 0%, #e9c27b 30%, #fff6dc 48%, #c99543 66%, #f3d79c 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 0 0 1px rgba(255, 236, 190, 0.6), 0 6px 18px -6px rgba(255, 220, 150, 0.95);
}
.cab-who .fd-no { margin-top: 8px; padding: 5px 12px 5px 9px; font-size: 13.5px; }
.fd-you { gap: 12px; }

.fd-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fd-tg { display: inline-flex; align-items: center; gap: 8px; min-height: 54px; padding: 12px 20px; border-radius: 14px; border: 1px solid var(--line-2); color: var(--cream); text-decoration: none; font-weight: 600; }
.fd-tg:hover { border-color: var(--brass); color: var(--brass-hi); }
.fd-tg .ic { width: 20px; height: 20px; color: #6fb6e8; }
.fd-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.fd-nums div { background: rgba(14, 9, 6, 0.55); padding: 14px 10px 12px; text-align: center; }
.fd-nums b { display: block; font: 600 clamp(34px, 4.4vw, 46px)/1 var(--serif); color: var(--cream); }
.fd-nums .free b { background: linear-gradient(180deg, var(--brass-hi), var(--brass) 60%, var(--brass-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fd-nums span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.fd-wall p { margin: 0 0 10px; font: 600 12px/1 var(--sans); text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.fd-wall ul { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fd-wall li, .fd-all li { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; border: 1px solid var(--line); background: rgba(14, 9, 6, 0.45); font-size: 14px; }
.fd-wall li a, .fd-all li a { color: var(--cream); text-decoration: none; max-width: 14ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fd-wall li a:hover, .fd-all li a:hover { color: var(--brass-hi); }
.fd-wall .more { font-size: 14px; }
.fd-all { padding-bottom: 110px; }
.fd-all ul { max-width: var(--wrap); margin: 0 auto; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.fd-page .founders { padding-top: 10px; }

/* The rating table. */
.rt { padding-bottom: 110px; }
.rt-tabs, .rt-list { max-width: 820px; margin-left: auto; margin-right: auto; }
.rt-tabs { display: flex; gap: 6px; padding: 5px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2); margin-bottom: 18px; width: max-content; max-width: 100%; }
.rt-tabs a { padding: 9px 16px; border-radius: 10px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.rt-tabs a.on { background: rgba(211, 173, 106, 0.16); color: var(--cream); }
.rt-list { list-style: none; padding: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.rt-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto 70px; gap: 12px; align-items: center; padding: 12px 18px; border-top: 1px solid var(--line); background: #140d09; }
.rt-list li:first-child { border-top: 0; }
.rt-list li.me { background: rgba(211, 173, 106, 0.1); }
.rt-place { font: 600 22px/1 var(--serif); color: var(--muted); text-align: center; }
.rt-list li:nth-child(-n + 3) .rt-place { color: var(--brass-hi); }
.rt-name { color: var(--cream); font-weight: 600; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rt-name:hover { color: var(--brass-hi); }
.rt-games { color: var(--muted); font-size: 13px; }
.rt-rating { font: 600 24px/1 var(--serif); color: var(--brass); text-align: right; }

/* Friends on the account page. */
.cab-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.fr-list { list-style: none; padding: 0; margin: 0 0 12px; }
.fr-list li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--line); }
.fr-name { color: var(--cream); font-weight: 600; text-decoration: none; }
.fr-name:hover { color: var(--brass-hi); }
.fr-meta { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; }
.fr-on, .fr-off { font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.fr-on { color: var(--ok); }
.fr-on::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.fr-on.play { color: var(--brass); }
.fr-off { color: var(--muted); }
.fr-rating { font: 600 18px/1 var(--serif); color: var(--brass); min-width: 3.2em; text-align: right; }
@media (max-width: 760px) {
  .rt-list li { grid-template-columns: 30px minmax(0, 1fr) auto 52px; padding: 11px 12px; gap: 8px; }
  .rt-games { display: none; }
  .fd-nums b { font-size: 32px; }
  .fd-actions > * { flex: 1 1 100%; justify-content: center; }
}
