:root {
  --bg: #08080a;
  --bg-2: #0d0d10;
  --surface: #121215;
  --surface-2: #19191d;
  --border: #212126;
  --border-2: #2e2e34;
  --text: #f1efe9;
  --muted: #a3a1a8;
  --dim: #6c6b72;
  --gold: #d8a54c;
  --gold-2: #e8bb64;
  --gold-dark: #8c6a35;
  --cream: #efe2c4;
  --gold-soft: rgba(216, 165, 76, 0.10);
  --green: #46c47a;
  --red: #e5484d;
  --radius: 10px;
  --radius-sm: 6px;
  --head: 'Barlow Condensed', 'Inter', sans-serif;
  --body: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --wrap: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--head); font-weight: 800; line-height: 1; text-transform: uppercase; letter-spacing: .3px; }

.label {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 2px;
  text-transform: uppercase; color: var(--dim);
  display: inline-flex; align-items: center; gap: 12px;
}
.label b { color: var(--gold); font-weight: 600; }
.label .line { width: 36px; height: 1px; background: var(--border-2); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 44px; padding: 0 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-2);
  background: rgba(25, 25, 29, .8);
  color: var(--text);
  font-family: var(--body); font-weight: 700; font-size: 12.5px; letter-spacing: 1px; text-transform: uppercase;
  transition: background .15s, border-color .15s, color .15s;
  white-space: nowrap;
}
.btn:hover { background: #222227; border-color: #45454c; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #1a1206; }
.btn-gold:hover { background: var(--gold-2); border-color: var(--gold-2); }
.btn-discord { background: #5865f2; border-color: #5865f2; color: #fff; }
.btn-discord:hover { background: #6b77f5; border-color: #6b77f5; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 11.5px; }
.arrow::after { content: '→'; font-size: 15px; margin-left: 2px; }

/* ---------- navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 8, 10, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav .wrap { display: flex; align-items: center; height: 70px; gap: 32px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { height: 34px; width: auto; }
.brand span { display: grid; line-height: 1.15; }
.brand strong { font-family: var(--head); font-size: 17px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.brand small { font-family: var(--mono); font-size: 9.5px; letter-spacing: 2px; color: var(--dim); text-transform: uppercase; }
.nav-links { display: flex; gap: 2px; margin-right: auto; }
.nav-links a {
  padding: 8px 12px; border-radius: 6px; color: var(--muted);
  font-size: 12.5px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase;
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 38px; height: 38px; display: grid; place-items: center; flex: none;
  border-radius: 6px; border: 1px solid var(--border); color: var(--muted); background: transparent;
}
.icon-btn:hover { color: var(--text); border-color: var(--border-2); }
.icon-btn svg { width: 17px; height: 17px; }
.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero { padding: 24px 0 0; }
.hero-card {
  position: relative; overflow: hidden;
  border: 1px solid var(--border); border-radius: 14px;
  min-height: 640px; display: flex; align-items: stretch;
  background: #000 url('/img/hero.jpg') center / cover;
}
.hero-card video, .hero-card .hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-card::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,8,10,.97) 0%, rgba(8,8,10,.88) 32%, rgba(8,8,10,.35) 65%, rgba(8,8,10,.15) 100%),
    linear-gradient(0deg, rgba(8,8,10,.9) 0%, transparent 35%);
}
.hero-inner { position: relative; z-index: 1; padding: 44px 52px; display: flex; flex-direction: column; width: 100%; }
.hero-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.live {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 6px; border: 1px solid var(--border-2); background: rgba(8,8,10,.6);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 1px; color: var(--muted);
}
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(70,196,122,.18); }
.hero-main { margin: auto 0; max-width: 560px; padding: 40px 0 30px; }
.hero-logo { width: 250px; margin-bottom: 26px; filter: drop-shadow(0 12px 30px rgba(0,0,0,.6)); }
.hero-kicker { font-family: var(--head); font-size: 26px; font-weight: 600; color: var(--cream); text-transform: uppercase; letter-spacing: .5px; }
.hero h1 { font-size: clamp(46px, 6vw, 82px); font-style: italic; margin-top: 2px; }
.hero h1 em { color: var(--gold); font-style: italic; }
.hero p.lead { color: var(--muted); font-size: 15.5px; margin-top: 18px; max-width: 500px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; }
.hero-stats strong { display: block; font-family: var(--head); font-size: 34px; font-weight: 800; line-height: 1; }
.hero-stats span { font-family: var(--mono); color: var(--dim); font-size: 10.5px; letter-spacing: 1.5px; text-transform: uppercase; }
.connect {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; color: var(--dim);
  background: rgba(8,8,10,.7); border: 1px solid var(--border-2); border-radius: 6px; padding: 6px 6px 6px 14px;
}
.connect code { color: var(--text); font-family: var(--mono); }
.connect button { height: 28px; padding: 0 10px; border-radius: 4px; border: 1px solid var(--border-2); background: var(--surface-2); color: var(--gold); font-family: var(--mono); font-size: 11px; letter-spacing: 1px; }

/* ---------- page header (subpages) ---------- */
.page-head { padding: 24px 0 0; }
.page-head .ph {
  position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: 14px;
  padding: 64px 52px 52px; background: #000 url('/img/hero.jpg') center 40% / cover;
}
.page-head .ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,10,.97) 25%, rgba(8,8,10,.75) 60%, rgba(8,8,10,.55)); }
.page-head .ph > * { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(44px, 5.5vw, 72px); font-style: italic; margin-top: 18px; }
.page-head h1 em { color: var(--gold); font-style: italic; }
.page-head p { color: var(--muted); margin-top: 14px; max-width: 600px; font-size: 15.5px; }

/* ---------- sections ---------- */
section.block { padding: 88px 0 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.sec-head h2 { font-size: clamp(32px, 3.6vw, 46px); margin-top: 14px; }
.sec-head h2 em { color: var(--gold); font-style: normal; }
.sec-head p { color: var(--muted); max-width: 440px; font-size: 14.5px; }

/* banner showcase */
.showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.show {
  position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border);
  aspect-ratio: 3 / 4; background: var(--surface); display: flex; flex-direction: column; justify-content: flex-end;
}
.show img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .5s ease; }
.show::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(8,8,10,.95)); }
.show:hover img { transform: scale(1.035); }
.show-body { position: relative; z-index: 1; padding: 22px; }
.show-body h3 { font-size: 28px; font-style: italic; margin: 10px 0 6px; }
.show-body p { color: var(--muted); font-size: 13.5px; }
.show-body .more { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); }

/* stat strip */
.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.stat-strip > div { padding: 24px 26px; border-right: 1px solid var(--border); }
.stat-strip > div:last-child { border-right: none; }
.stat-strip .k { font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dim); }
.stat-strip strong { display: block; font-family: var(--head); font-size: 40px; font-weight: 800; margin: 6px 0 2px; line-height: 1; }
.stat-strip .s { font-size: 13px; color: var(--muted); }

/* numbered rows (features) */
.rows { border-top: 1px solid var(--border); }
.row {
  display: grid; grid-template-columns: 90px 1fr 1.2fr; gap: 24px; align-items: baseline;
  padding: 26px 4px; border-bottom: 1px solid var(--border);
}
.row .n { font-family: var(--mono); font-size: 13px; color: var(--gold); }
.row h3 { font-size: 26px; }
.row p { color: var(--muted); font-size: 14.5px; }

/* split block */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
.panel-img { border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; background: var(--surface); }
.panel-img img { width: 100%; height: 100%; object-fit: cover; }
.panel-txt { border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.panel-txt h2 { font-size: 40px; font-style: italic; margin: 14px 0 12px; }
.panel-txt p { color: var(--muted); }
.panel-txt ul { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.panel-txt li { display: flex; gap: 12px; color: var(--text); font-size: 14.5px; }
.panel-txt li::before { content: ''; width: 14px; height: 1px; background: var(--gold); margin-top: 11px; flex: none; }

/* job tiles */
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filters button {
  height: 34px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--border); background: none;
  color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase;
}
.filters button.on { background: var(--surface-2); color: var(--text); border-color: var(--border-2); }
.jobs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.job { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; min-height: 200px; display: flex; flex-direction: column; transition: border-color .2s; }
.job:hover { border-color: var(--border-2); }
.job-top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; }
.job-top span:first-child { color: var(--gold); }
.job-top span:last-child { color: var(--dim); }
.job h3 { font-size: 26px; margin-top: auto; padding-top: 30px; }
.job p { color: var(--muted); font-size: 13.5px; margin-top: 6px; }

/* news (patch note style) */
.news { display: grid; gap: 10px; }
.news-item {
  display: grid; grid-template-columns: 150px 1fr; gap: 28px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 26px;
}
.news-item .when { font-family: var(--mono); font-size: 11.5px; color: var(--dim); letter-spacing: 1px; text-transform: uppercase; }
.news-item .when b { display: block; color: var(--gold); font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.news-item h3 { font-size: 24px; }
.news-item p { color: var(--muted); font-size: 14.5px; margin-top: 8px; white-space: pre-line; }
.news-item.clamp p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.empty-box { border: 1px dashed var(--border-2); border-radius: var(--radius); padding: 48px 20px; text-align: center; color: var(--dim); font-size: 14px; }

/* gallery */
.gallery { columns: 3 280px; column-gap: 12px; }
.gallery figure { break-inside: avoid; margin-bottom: 12px; position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); cursor: zoom-in; }
.gallery img { width: 100%; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(0,0,0,.85)); font-size: 13px; font-weight: 600; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.92); display: none; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox.show { display: grid; }
.lightbox img { max-height: 90vh; width: auto; border-radius: 8px; }

/* packs */
.packs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pack { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.pack-head { padding: 22px 26px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 10px; background: linear-gradient(90deg, var(--gold-soft), transparent); }
.pack-head h3 { font-size: 28px; font-style: italic; }
.pack-head h3 em { color: var(--gold); font-style: italic; }
.pack ul { list-style: none; }
.pack li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 26px; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.pack li:last-child { border-bottom: none; }
.pack li span { color: var(--muted); }
.pack li b { font-weight: 600; font-variant-numeric: tabular-nums; }

/* faq */
.faq { display: grid; gap: 8px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 15.5px;
  display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .n { font-family: var(--mono); font-size: 12px; color: var(--gold); font-weight: 500; }
.faq summary::after { content: '+'; font-size: 20px; color: var(--dim); font-weight: 400; }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 24px 22px 80px; color: var(--muted); font-size: 14.5px; }
.faq a { color: var(--gold); }

/* cta */
.cta {
  margin-top: 88px; position: relative; overflow: hidden;
  border: 1px solid var(--border); border-radius: 14px;
  background: #000 url('/img/banner-2.jpg') center 62% / cover;
  padding: 64px 52px; display: flex; align-items: center; justify-content: space-between; gap: 30px;
}
.cta::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,10,.96) 30%, rgba(8,8,10,.6)); }
.cta > * { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(34px, 4vw, 54px); font-style: italic; margin-top: 14px; }
.cta h2 em { color: var(--gold); font-style: italic; }
.cta p { color: var(--muted); margin-top: 10px; }
.cta .hero-actions { margin-top: 0; }

/* footer */
footer { margin-top: 88px; border-top: 1px solid var(--border); background: var(--bg-2); }
.foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding: 56px 24px 40px; }
.foot p { color: var(--dim); font-size: 13.5px; margin-top: 16px; max-width: 320px; }
.foot h4 { font-family: var(--mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); margin-bottom: 16px; }
.foot ul { list-style: none; display: grid; gap: 10px; }
.foot ul a { color: var(--dim); font-size: 14px; }
.foot ul a:hover { color: var(--text); }
.foot-bottom { border-top: 1px solid var(--border); padding: 20px 24px; display: flex; justify-content: space-between; gap: 16px; font-size: 12.5px; color: var(--dim); }

/* rules */
.rule-meta { display: flex; gap: 22px; margin-top: 22px; font-family: var(--mono); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--dim); }
.rule-meta b { color: var(--text); font-size: 15px; margin-right: 4px; }
.rule-notice { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: baseline; margin-bottom: 20px; padding: 18px 22px; border: 1px solid rgba(216,165,76,.28); border-left: 3px solid var(--gold); border-radius: var(--radius); background: linear-gradient(90deg, var(--gold-soft), transparent 70%); }
.rule-notice b { font-family: var(--mono); font-size: 11.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.rule-notice p { color: var(--cream); font-size: 14.5px; }
.rules-layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.rules-side { position: sticky; top: 94px; display: grid; gap: 14px; }
.rule-search { position: relative; }
.rule-search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--dim); }
.rule-search input { width: 100%; height: 44px; padding: 0 14px 0 38px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-size: 14px; outline: none; }
.rule-search input:focus { border-color: #5a4a26; }
.rules-nav { display: grid; gap: 2px; padding: 8px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.rules-nav a { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 6px; padding: 9px 10px; border-radius: 6px; color: var(--muted); font-size: 13.5px; font-weight: 600; transition: background .15s, color .15s; }
.rules-nav a .n { font-family: var(--mono); font-size: 11px; color: var(--dim); font-weight: 500; }
.rules-nav a em { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--dim); }
.rules-nav a:hover { color: var(--text); background: var(--surface-2); }
.rules-nav a.on { color: var(--text); background: var(--surface-2); box-shadow: inset 2px 0 0 var(--gold); }
.rules-nav a.on .n { color: var(--gold); }
.rule-group { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; scroll-margin-top: 94px; overflow: hidden; }
.rg-head { display: flex; gap: 18px; align-items: flex-start; padding: 22px 26px; border-bottom: 1px solid var(--border); background: linear-gradient(90deg, rgba(255,255,255,.015), transparent); }
.rg-n { font-family: var(--head); font-style: italic; font-weight: 800; font-size: 34px; line-height: 1; color: var(--gold); min-width: 42px; }
.rg-head h2 { font-size: 28px; font-style: italic; }
.rg-head p { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.rule-group ol { list-style: none; }
.rule-group li { display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: start; padding: 16px 26px; border-bottom: 1px solid var(--border); scroll-margin-top: 100px; transition: background .3s; }
.rule-group li:last-child { border-bottom: none; }
.rule-group li[hidden], .rule-group[hidden] { display: none; }
.rule-group li:hover { background: rgba(255,255,255,.012); }
.rule-group li.flash { background: var(--gold-soft); }
.rn { font-family: var(--mono); font-size: 12.5px; color: var(--dim); padding-top: 3px; }
.rn:hover { color: var(--gold); }
.rb h3 { font-family: var(--body); text-transform: none; font-weight: 600; font-size: 15px; letter-spacing: 0; line-height: 1.4; }
.rb p { color: var(--muted); font-size: 14.5px; margin-top: 3px; }
.rb p b { color: var(--text); font-weight: 600; }
.pen { white-space: nowrap; font-family: var(--mono); font-size: 11px; letter-spacing: .5px; padding: 4px 9px; border-radius: 5px; border: 1px solid var(--border-2); color: var(--muted); margin-top: 1px; }
.pen.mid { color: var(--gold); border-color: rgba(216,165,76,.35); background: var(--gold-soft); }
.pen.high { color: #ff8b8f; border-color: rgba(229,72,77,.35); background: rgba(229,72,77,.08); }

/* gallery tags */
.g-tags { position: absolute; left: 10px; top: 10px; display: flex; z-index: 1; }
.g-tags img { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -8px; background: var(--surface); }
.g-tags img:first-child { margin-left: 0; }
.lb-inner { display: grid; gap: 14px; justify-items: center; max-width: min(1100px, 100%); cursor: default; }
.lb-inner > img { max-height: 76vh; width: auto; border-radius: 8px; }
.lb-info { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: center; }
.lb-info .cap { font-family: var(--head); font-size: 22px; font-weight: 700; font-style: italic; text-transform: uppercase; width: 100%; text-align: center; }
.player { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 4px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border-2); font-size: 13.5px; font-weight: 600; }
.lightbox .player img, .player img { width: 28px; height: 28px; max-height: none; border-radius: 50%; }
.fc-tags { display: block; font-weight: 500; font-size: 12px; color: var(--muted); margin-top: 2px; }
.player:hover { border-color: #5865f2; }

.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--surface-2); border: 1px solid var(--border-2); color: var(--text);
  padding: 11px 18px; border-radius: 8px; font-size: 14px; opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s; z-index: 300;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--border); padding: 10px 16px 16px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .nav-toggle { display: grid; }
  .nav .wrap { justify-content: space-between; }
  .nav-actions { margin-left: auto; }
  .jobs { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .showcase { grid-template-columns: 1fr 1fr; }
  .showcase .show:last-child { display: none; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .stat-strip > div:nth-child(2) { border-right: none; }
  .stat-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .row { grid-template-columns: 60px 1fr; }
  .row p { grid-column: 2; }
  .split, .packs { grid-template-columns: 1fr; }
  .jobs { grid-template-columns: 1fr 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .rules-layout { grid-template-columns: 1fr; }
  .rules-side { position: static; }
  .rules-nav { display: none; }
  .news-item { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav .wrap { gap: 10px; }
  .nav-actions .hide-sm { display: none; }
  .brand small { display: none; }
  .hero { padding-top: 16px; }
  .hero-card { min-height: 0; }
  .hero-card::after { background: linear-gradient(0deg, rgba(8,8,10,.97) 30%, rgba(8,8,10,.6)); }
  .hero-inner { padding: 24px 20px; }
  .hero-main { padding: 36px 0 26px; }
  .hero-logo { width: 190px; }
  .hero-kicker { font-size: 20px; }
  .hero-stats { gap: 24px; }
  .hero-stats strong { font-size: 28px; }
  .connect { width: 100%; justify-content: space-between; }
  .page-head .ph { padding: 40px 22px 32px; }
  .showcase { grid-template-columns: 1fr; }
  .showcase .show:last-child { display: flex; }
  .show { aspect-ratio: 4 / 3; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .jobs { grid-template-columns: 1fr; }
  .job { min-height: 0; }
  .panel-txt { padding: 26px 22px; }
  .cta { flex-direction: column; align-items: flex-start; padding: 40px 22px; }
  .foot { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; }
  .faq summary { grid-template-columns: 34px 1fr auto; padding: 18px; }
  .faq details p { padding: 0 18px 20px 64px; }
  .rg-head { padding: 18px; gap: 12px; }
  .rg-n { font-size: 28px; min-width: 34px; }
  .rule-group li { padding: 14px 18px; grid-template-columns: 40px 1fr; gap: 10px; }
  .rule-group li .pen { grid-column: 2; justify-self: start; }
  .rule-notice { grid-template-columns: 1fr; gap: 6px; }
  .pack li { padding: 12px 20px; }
}

/* ---------- galeri akışı ---------- */
.stories { display: flex; gap: 16px; overflow-x: auto; padding: 4px 2px 18px; margin-bottom: 8px; scrollbar-width: none; }
.stories:empty { display: none; }
.story { display: grid; justify-items: center; gap: 6px; flex: none; width: 74px; }
.story .ring { padding: 3px; border-radius: 50%; background: conic-gradient(from 210deg, #8c6a35, var(--gold-2), #f6dfa7, var(--gold), #8c6a35); }
.story img { width: 62px; height: 62px; border-radius: 50%; border: 3px solid var(--bg); display: block; object-fit: cover; background: var(--surface); }
.story small { font-size: 11.5px; color: var(--muted); max-width: 74px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.feed-right { display: flex; align-items: center; gap: 14px; }
.feed-count { font-family: var(--mono); font-size: 11.5px; letter-spacing: 1px; color: var(--dim); text-transform: uppercase; }
.feed { columns: 3 320px; column-gap: 18px; }
.post { break-inside: avoid; margin-bottom: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: border-color .2s; }
.post:hover { border-color: var(--border-2); }
.post-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.post-av { width: 36px; height: 36px; border-radius: 50%; background: var(--surface-2); object-fit: cover; flex: none; }
.post-av.letter { display: grid; place-items: center; font-family: var(--head); font-weight: 800; font-size: 17px; color: var(--gold); background: var(--gold-soft); }
.post-head > div { flex: 1; min-width: 0; line-height: 1.25; }
.post-head b { font-size: 14px; font-weight: 600; }
.post-head time { display: block; font-size: 12px; color: var(--dim); }
.post-badge { margin-left: 6px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(216,165,76,.35); border-radius: 4px; padding: 1px 5px; vertical-align: 1px; font-weight: 500; }
.post-src { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; color: var(--dim); }
.post-src:hover { color: #fff; background: #5865f2; }
.post-src svg { width: 16px; height: 16px; }
.post-img, .lb-media { position: relative; cursor: pointer; background: #000; user-select: none; }
.post-img img { width: 100%; display: block; }
.burst { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; opacity: 0; }
.burst svg { width: 96px; height: 96px; fill: #fff; filter: drop-shadow(0 6px 24px rgba(0,0,0,.5)); }
.burst.go { animation: burst .8s ease-out; }
@keyframes burst { 0% { opacity: 0; transform: scale(.4); } 25% { opacity: 1; transform: scale(1.1); } 45% { transform: scale(.95); } 80% { opacity: 1; } 100% { opacity: 0; transform: scale(1); } }
.post-body { padding: 8px 14px 14px; }
.post-actions { display: flex; align-items: center; gap: 2px; margin-left: -8px; }
.act { width: 40px; height: 40px; display: grid; place-items: center; border: none; background: none; color: var(--text); border-radius: 10px; }
.act svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.act:hover { color: var(--muted); }
.act.like.on { color: #ff3b5c; }
.act.like.on svg { fill: currentColor; }
.act.pop svg { animation: pop .35s ease; }
@keyframes pop { 50% { transform: scale(1.3); } }
.post-tags { display: flex; margin-left: auto; }
.post-tags img { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--surface); margin-left: -7px; }
.post-likes { font-size: 13.5px; margin: 2px 0 6px; }
.post-likes b { font-weight: 700; }
.post-cap, .post-last { font-size: 14px; color: var(--muted); }
.post-cap b, .post-last b { color: var(--text); font-weight: 600; }
.post-cap.clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-last { margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post-more { display: block; background: none; border: none; padding: 0; margin-top: 6px; color: var(--dim); font-size: 13.5px; }
.post-more:hover { color: var(--muted); }
.quick { display: flex; gap: 8px; align-items: center; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.quick input { flex: 1; min-width: 0; background: none; border: none; outline: none; color: var(--text); font: inherit; font-size: 14px; }
.quick input::placeholder { color: var(--dim); }
.quick button { background: none; border: none; color: var(--gold); font-weight: 700; font-size: 13.5px; }
.quick button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: block; }
.quick:has(input:placeholder-shown) button { opacity: .45; }
.quick-login { display: block; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); font-size: 13px; color: var(--dim); }
.quick-login:hover { color: var(--gold); }

.lightbox { padding: 20px; }
.lb-post { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 380px; width: min(1240px, 100%); height: min(88vh, 860px); background: var(--surface); border: 1px solid var(--border-2); border-radius: 14px; overflow: hidden; cursor: default; }
.lb-media { display: grid; place-items: center; min-height: 0; }
.lightbox .lb-media img { max-height: 100%; max-width: 100%; width: auto; border-radius: 0; object-fit: contain; }
.lb-side { display: flex; flex-direction: column; border-left: 1px solid var(--border); min-height: 0; }
.lb-side .post-head { border-bottom: 1px solid var(--border); padding-right: 52px; }
.lb-scroll { flex: 1; overflow-y: auto; padding: 14px 16px; display: grid; align-content: start; gap: 14px; }
.lb-cap { padding: 12px 16px; border-top: 1px solid var(--border); font-size: 14px; color: var(--muted); }
.lb-cap b { color: var(--text); }
.lb-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 12px; }
.lightbox .player img { width: 28px; height: 28px; border-radius: 50%; }
.lb-actions { padding: 4px 16px 10px; border-top: 1px solid var(--border); }
.lb-date { font-family: var(--mono); font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--dim); }
.lb-quick { margin: 0; padding: 12px 16px; }
.lb-side .quick-login { margin: 0; padding: 14px 16px; }
.cmt { display: grid; grid-template-columns: 32px 1fr auto; gap: 10px; align-items: start; }
.lightbox .cmt img.post-av { width: 32px; height: 32px; border-radius: 50%; }
.cmt .post-av { width: 32px; height: 32px; font-size: 15px; }
.cmt p { font-size: 14px; color: var(--muted); word-break: break-word; }
.cmt p b { color: var(--text); font-weight: 600; }
.cmt time { font-size: 11.5px; color: var(--dim); }
.cmt-del { width: 28px; height: 28px; display: grid; place-items: center; border: none; background: none; color: var(--dim); border-radius: 6px; opacity: .6; }
.cmt:hover .cmt-del { opacity: 1; }
.cmt-del:hover { color: #ff8b8f; background: rgba(229,72,77,.1); }
.cmt-del svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.cmt-empty { color: var(--dim); font-size: 14px; text-align: center; padding: 30px 0; }
.lb-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: none; background: rgba(0,0,0,.55); color: #fff; font-size: 22px; line-height: 1; }
.lightbox .post-head img.post-av { width: 36px; height: 36px; border-radius: 50%; }
@media (max-width: 860px) {
  .lightbox { padding: 0; }
  .lb-post { grid-template-columns: 1fr; grid-template-rows: auto 1fr; height: 100vh; border-radius: 0; border: none; }
  .lb-media { height: 46vh; }
  .lightbox .lb-media img { max-height: 100%; height: 100%; object-fit: contain; }
  .lb-side { border-left: none; border-top: 1px solid var(--border); }
  .feed-right { width: 100%; justify-content: space-between; }
}

.post.is-pinned { border-color: rgba(216,165,76,.45); }
.pin-label { display: flex; align-items: center; gap: 6px; padding: 8px 14px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); background: var(--gold-soft); border-bottom: 1px solid rgba(216,165,76,.2); }
.pin-label svg, .pinned svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pinned { color: var(--gold); display: grid; place-items: center; }
.post-head .pinned { display: none; }
.lb-side .post-head .pinned { display: grid; }
.act.pin-btn.on { color: var(--gold); }
.post-body { padding: 4px 14px 12px; }
