/* Home V2 and the shared application shell. Replaces the former landing stylesheet. */
@font-face { font-family:Inter; src:url('/fonts/InterVariable.woff2') format('woff2'); font-weight:100 900; font-style:normal; font-display:swap; }
:root { --app-bg:#0e0e0e; --app-surface:#141414; --app-raised:#181818; --app-border:#2a2a2a; --app-border-hover:#3d3d3d; --app-muted:#a8a8a8; --app-text:#f0f0f0; --app-sidebar:224px; --app-header:72px; }
html { scrollbar-color:#444 transparent; scrollbar-width:thin; scroll-padding-top:88px; }
* { box-sizing:border-box; }
[hidden] { display:none !important; }
body.site-shell { margin:0; min-width:320px; min-height:100dvh; display:grid; grid-template-columns:var(--app-sidebar) minmax(0,1fr); grid-template-rows:var(--app-header) 1fr; grid-template-areas:'sidebar header' 'sidebar workspace'; background:var(--app-bg); color:var(--app-text); font:14px/1.5 Inter,system-ui,sans-serif; }
body.site-shell button,body.site-shell input,body.site-shell select,body.site-shell textarea { font-family:inherit; }
a,button,input,select { -webkit-tap-highlight-color:transparent; }
:focus-visible { outline:2px solid #dadada; outline-offset:4px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.app-sidebar { grid-area:sidebar; position:sticky; top:0; height:100dvh; padding:0 16px 24px; display:flex; flex-direction:column; gap:12px; background:#121212; border-right:1px solid #222222; overflow:auto; z-index:40; }
.app-brand { min-height:88px; display:flex; align-items:center; justify-content:center; color:var(--app-text); text-decoration:none; padding:12px 8px; position:relative; }
.app-brand img { width:auto; max-width:196px; height:auto; max-height:74px; object-fit:contain; flex-shrink:0; display:block; margin:0 auto; }
.app-brand span { display:none !important; }
.app-nav { display:flex; flex-direction:column; gap:6px; }
.app-nav a { display:flex; gap:14px; align-items:center; min-height:48px; padding:10px 14px; border-radius:10px; color:#ccc; text-decoration:none; font-weight:500; }
.app-nav svg { width:21px; height:21px; flex-shrink:0; }
.app-nav a:hover { background:#1c1c1c; color:white; }
.app-nav a[aria-current=page] { background:#252525; color:#fff; font-weight:600; }
.app-nav a.app-nav-donate svg { color:#ffd16b; }
.app-nav a.app-nav-donate:hover { background:rgba(255,209,107,.1); color:#fff; }
.app-nav a.app-nav-donate[aria-current=page] { background:rgba(255,209,107,.14); color:#ffd16b; }
.app-nav-title { display:grid; }
.app-nav-status { font-size:.75em; font-weight:500; color:var(--app-muted); }
.play-nav .app-nav-status,.play-menu .app-nav-status { margin-inline-start:5px; }
.app-header { grid-area:header; position:sticky; top:0; display:flex; align-items:center; gap:24px; height:var(--app-header); padding:12px clamp(16px,2.4vw,40px); background:#101010; border-bottom:1px solid #222222; z-index:30; min-width:0; }
.app-search { flex:1; min-width:0; max-width:700px; position:relative; display:flex; align-items:center; border:1px solid #333333; background:#1c1c1c; border-radius:10px; height:44px; }
.app-search>svg { width:20px; height:20px; color:#a0a0a0; margin-left:14px; flex-shrink:0; }
.app-search input { flex:1; min-width:0; height:100%; padding:8px 14px; border:0; border-radius:10px; color:#eee; background:transparent; font-size:14px; }
.app-search:focus-within { outline:2px solid var(--accent, #ff9f43); outline-offset:2px; }
.app-search input:focus-visible { outline:none; }
.app-search input::placeholder { color:#888; opacity:1; }
.app-search-results { position:absolute; top:calc(100% + 8px); left:0; right:0; border:1px solid #333; border-radius:10px; padding:8px; background:#1c1c1c; max-height:380px; overflow:auto; box-shadow:0 12px 32px #000a; }
.app-search-results a { display:flex; flex-direction:column; padding:10px 12px; border-radius:6px; text-decoration:none; color:#eee; }
.app-search-results a:hover,.app-search-results a:focus { background:#282828; }
.app-search-results small,.app-search-results p { color:var(--app-muted); font-size:12px; }
.app-search-results p { padding:6px 10px; }
.app-header-actions { display:flex; align-items:center; gap:12px; margin-left:auto; flex-shrink:0; }
.app-auth-controls { display:flex; align-items:center; justify-content:flex-end; gap:8px; inline-size:250px; }
.app-header-coins { display:inline-flex; align-items:center; gap:6px; padding:6px 14px; background:#181818; border:1px solid #2e2e2e; border-radius:10px; font-weight:600; color:#ffd16b; font-size:13px; }
.app-auth-controls .app-header-coins { min-inline-size:0; }
#header-coins-val { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.play-header .app-auth-controls { inline-size:90px; }
.play-header #header-account-retry { white-space:normal; }
.app-header-coins svg { width:16px; height:16px; flex-shrink:0; }
.app-account { position:relative; }
.app-account-loading { display:block; width:44px; height:44px; border:1px solid var(--app-border); border-radius:10px; background:var(--app-raised); }
.app-account-button.is-authenticated { min-height:44px; padding:4px 10px 4px 5px; display:inline-flex; gap:7px; align-items:center; }
.app-account-button.is-authenticated[aria-expanded=true] { background:var(--app-raised); border-color:var(--app-border-hover); }
.app-account-button.is-authenticated #account-label { overflow:hidden; text-overflow:ellipsis; max-width:11ch; }
.app-account-arrow { display:none; width:16px; height:16px; }
.app-account-button.is-authenticated .app-account-arrow { display:block; }
.app-account-avatar { display:flex; align-items:center; justify-content:center; width:30px; height:30px; border:1px solid var(--app-border-hover); border-radius:50%; overflow:hidden; }
.app-account-avatar img { width:100%; height:100%; object-fit:cover; }
.app-account-avatar svg { width:22px; height:22px; color:#ddd; }
.app-language select { min-width:66px; min-height:44px; background:#101010; border:1px solid #2a2a2a; color:var(--app-text); font-size:14px; padding:8px; border-radius:8px; }
.app-account-button { min-height:44px; padding:10px 20px; border:1px solid #333333; background:#202020; border-radius:10px; color:#f0f0f0; font-size:14px; font-weight:600; cursor:pointer; white-space:nowrap; }
.app-account-button:hover { background:#2a2a2a; border-color:#444444; }
.app-account-menu {
  position:absolute;
  z-index:45;
  inset-inline-end:0;
  top:calc(100% + 8px);
  width:min(204px, calc(100vw - 32px));
  padding:6px;
  background:var(--app-raised);
  border:1px solid var(--app-border-hover);
  border-radius:10px;
  box-shadow:0 8px 24px #0008;
}
.app-account-menu nav { display:grid; }
.app-account-menu a,.app-account-menu button {
  display:flex;
  align-items:center;
  min-height:42px;
  padding:7px 12px;
  border:0;
  border-radius:6px;
  background:transparent;
  color:var(--app-text);
  text-align:start;
  text-decoration:none;
  font:inherit;
  cursor:pointer;
}
.app-account-menu :is(a,button):hover,.app-account-menu [aria-current=page] { background:var(--app-border); }
.app-account-menu button:disabled { cursor:wait; opacity:.65; }
.app-account-menu p { margin:4px 8px; color:#ffaba5; font-size:.86em; }
@media(max-width:720px) { .app-account-button.is-authenticated #account-label { display:none; } }
@media(max-width:720px) {
    .app-header .app-auth-controls { inline-size:156px; }
    .app-header .app-auth-controls .app-account-button:not(.is-authenticated) { padding-inline:8px; }
}
@media(max-width:380px) {
    .app-header .app-header-actions:has(.local-dev-trigger) .app-auth-controls { inline-size:118px; gap:4px; }
    .app-header .app-header-actions:has(.local-dev-trigger) .app-language select { inline-size:52px; min-width:0; padding-inline:4px; }
    .app-header .app-header-actions .local-dev-trigger { inline-size:44px; padding-inline:0; }
    .app-header .app-header-actions:has(.local-dev-trigger) .app-auth-controls .app-account-button:not(.is-authenticated) { padding-inline:4px; font-size:12px; }
}
.play-header .app-account-button.is-authenticated #account-label { display:none; }
.app-signup { background:#f0f0f0; color:#121212; border-color:#f0f0f0; }
.app-signup:hover { background:#dadada; border-color:#dadada; }
.app-icon-button { display:none; min-width:44px; height:44px; background:transparent; border:1px solid #333; border-radius:8px; color:#eee; cursor:pointer; }
.app-icon-button svg { width:22px; height:22px; }
.site-shell .workspace { grid-area:workspace; display:flex; flex-direction:column; min-width:0; min-height:calc(100dvh - var(--app-header)); width:100%; margin:0; }
.site-shell main { flex:1; min-width:0; width:100%; padding:0 clamp(16px,2.4vw,40px) 32px; margin:0; }
.site-shell .page { width:100%; max-width:1440px; margin:0 auto; }
.site-shell .site-footer { min-height:44px; padding:12px clamp(16px,2.4vw,40px); gap:16px; flex-wrap:wrap; }
.site-footer .footer-center { display:none; }
.site-footer .footer-nav { gap:12px; flex-wrap:wrap; }
.communities-list {
  list-style:none;
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(min(100%, 300px), 380px));
  gap:14px;
  padding:0;
  margin:0;
}
.communities-list > li { min-width:0; }
.communities-list .communities-card {
  display:flex;
  align-items:center;
  gap:16px;
  min-height:84px;
  height:100%;
  margin:0;
  padding:16px 18px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.16);
  background:#141418;
  color:inherit;
  text-decoration:none;
  transition:border-color 0.16s ease, background-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}
.communities-list .communities-card:hover {
  border-color:rgba(255,255,255,0.78);
  background:#1b1b22;
  transform:translateY(-1px);
  box-shadow:0 10px 26px rgba(0,0,0,0.34);
}
.communities-list .communities-card:focus-visible {
  outline:2px solid #ffffff;
  outline-offset:2px;
  border-color:rgba(255,255,255,0.85);
}
.communities-icon {
  flex:0 0 52px;
  width:52px;
  height:52px;
  border-radius:10px;
  overflow:hidden;
  display:grid;
  place-items:center;
  background:#1c1c22;
  box-shadow:0 2px 10px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(255,255,255,0.08);
}
.communities-icon img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.communities-copy {
  flex:1 1 auto;
  min-width:0;
  display:grid;
  gap:3px;
  align-content:center;
}
.communities-list h2 {
  margin:0;
  font-size:16px;
  font-weight:700;
  line-height:1.3;
  letter-spacing:-0.01em;
  color:#f5f6f8;
  overflow-wrap:anywhere;
}
.communities-list p {
  margin:0;
  font-size:13px;
  line-height:1.45;
  color:var(--app-muted, #a1a1aa);
  overflow-wrap:anywhere;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.communities-list small {
  font-size:12px;
  line-height:1.35;
  color:rgba(255,255,255,0.48);
  overflow-wrap:anywhere;
}
.communities-arrow {
  flex:0 0 auto;
  width:20px;
  height:20px;
  display:grid;
  place-items:center;
  color:rgba(255,255,255,0.36);
  transition:color 0.16s ease, transform 0.16s ease;
}
.communities-arrow svg { width:18px; height:18px; }
.communities-list .communities-card:hover .communities-arrow {
  color:#ffffff;
  transform:translate(2px, -2px);
}
@media (max-width: 720px) {
  .communities-list {
    grid-template-columns:1fr;
    gap:10px;
  }
  .communities-list .communities-card {
    min-height:76px;
    padding:14px 16px;
    gap:14px;
  }
  .communities-icon {
    flex-basis:46px;
    width:46px;
    height:46px;
  }
}
.player-redeem-panel { max-width:560px; display:grid; }
.player-redeem-help { color:var(--accent); font-weight:600; text-decoration:none; }
.player-redeem-help:hover { text-decoration:underline; }
.player-info-route { width:min(100%, 760px); margin-inline:auto; }
.info-page { padding-block:clamp(16px, 4vw, 40px) 28px; }
html[lang="vi"] .info-page[lang="en"], html[lang="en"] .info-page[lang="vi"] { display:none; }
.info-page-heading { margin-bottom:24px; }
.info-page-heading h1 { margin:0; font-size:clamp(26px, 4vw, 36px); line-height:1.2; }
.info-page-note { padding:12px 16px; margin:16px 0 0; border:1px solid var(--line); border-radius:8px; background:var(--panel); color:var(--muted); }
.info-page-content { display:grid; gap:0; }
.info-page-topic { padding-block:20px; border-top:1px solid var(--line); min-width:0; }
.info-page-topic h2 { font-size:18px; line-height:1.35; margin:0 0 8px; }
.info-page-topic p { max-width:68ch; margin:0 0 12px; line-height:1.65; color:var(--muted); }
.info-page-links { display:grid; gap:4px; margin:0; padding:0; list-style:none; }
.info-page-links a { display:inline-flex; align-items:center; min-height:44px; color:var(--text); text-underline-offset:4px; }
.info-page-links a:hover { color:var(--accent); }
.info-page-sitemap li + li { border-top:1px solid var(--line); }

/* Roblox Redeem Page Layout (1:1 roblox.com/redeem hierarchy) */
.rbx-redeem-page { max-width:960px; margin-inline:auto; padding:clamp(36px,6vw,72px) 20px 64px; }
.rbx-redeem-shell {
  display:grid;
  grid-template-columns:minmax(0, 390px) minmax(0, 360px);
  justify-content:center;
  gap:clamp(36px, 6vw, 76px);
  align-items:start;
}
.rbx-redeem-left {
  display:flex;
  flex-direction:column;
  gap:16px;
  min-width:0;
  max-width:none;
}
.rbx-redeem-heading {
  margin:0;
  font-size:clamp(26px, 2.8vw, 32px);
  font-weight:800;
  line-height:1.2;
  letter-spacing:-0.5px;
  color:#ffffff;
}
.rbx-redeem-lead {
  margin:0 0 4px;
  font-size:16px;
  font-weight:700;
  line-height:1.45;
  color:#f2f4f5;
}
.player-redeem-panel form,.rbx-redeem-form { display:flex; flex-direction:column; gap:14px; }
.player-redeem-panel label,.rbx-redeem-label {
  margin:0 0 -6px;
  font-size:13px;
  font-weight:600;
  color:#d1d5db;
}
.rbx-redeem-input-wrap { position:relative; display:flex; align-items:center; }
.player-redeem-panel input,.rbx-redeem-input {
  width:100%;
  height:44px;
  min-height:44px;
  padding:8px 44px 8px 14px;
  border:1px solid #494d54;
  border-radius:8px;
  background:#1b1d21;
  color:#ffffff;
  font-size:15px;
  font-weight:500;
  box-sizing:border-box;
  transition:border-color .15s ease, background-color .15s ease;
}
.player-redeem-panel input:focus {
  outline:none;
  border-color:#ffffff;
  background:#202328;
}
.rbx-redeem-input-icon {
  position:absolute;
  right:14px;
  color:#b8bcc2;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  pointer-events:none;
}
.rbx-redeem-input-icon svg { width:20px; height:20px; }
.rbx-redeem-submit {
  width:100%;
  height:44px;
  min-height:44px;
  padding:0 18px;
  border-radius:8px;
  border:1px solid transparent;
  background:#ffffff;
  color:#111215;
  font-size:15px;
  font-weight:700;
  cursor:pointer;
  transition:background-color .15s ease, color .15s ease, opacity .15s ease;
}
.rbx-redeem-submit:hover:not(:disabled) { background:#e5e7eb; }
.rbx-redeem-submit:disabled {
  background:#27292e;
  border-color:#34373e;
  color:#7c8088;
  cursor:not-allowed;
}
.rbx-redeem-submit.is-signin {
  background:var(--accent);
  color:#17110a;
}
.rbx-redeem-submit.is-signin:hover { background:var(--accent-hover); }
#redeem-status {
  margin:0;
  padding:10px 14px;
  border-radius:8px;
  background:#1d1f24;
  border:1px solid #353841;
  color:#e5e7eb;
  font-size:13.5px;
  line-height:1.5;
}
#redeem-status:empty { display:none; min-height:0; margin:0; padding:0; border:0; }
#redeem-status[data-active] {
  background:rgba(16,185,129,.12);
  border-color:rgba(16,185,129,.42);
  color:#6ee7b7;
}
#redeem-status[data-error],#communities-status[data-error] {
  background:rgba(239,68,68,.12);
  border-color:rgba(239,68,68,.42);
  color:#fca5a5;
}
.rbx-redeem-actions { display:flex; flex-direction:column; }
.rbx-redeem-actions:has(> [hidden]) { display:none; }
#redeem-play { width:100%; min-height:42px; font-weight:700; border-radius:8px; margin:0; }
#communities-retry { margin-block-start:14px; }
.rbx-redeem-legal {
  margin:4px 0 0;
  font-size:12.5px;
  line-height:1.65;
  color:#b8bcc2;
}
.rbx-redeem-legal a {
  color:#ffffff;
  font-weight:700;
  text-decoration:none;
}
.rbx-redeem-legal a:hover { text-decoration:underline; }

/* Right Column: Additional Information Links & Rounded Gift Card Below */
.rbx-redeem-right {
  display:flex;
  flex-direction:column;
  padding-top:38px;
  min-width:0;
}
.rbx-redeem-info-title {
  margin:0 0 16px;
  font-size:17px;
  font-weight:700;
  line-height:1.35;
  color:#ffffff;
}
.rbx-redeem-info-list {
  list-style:none;
  margin:0 0 24px;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:11px;
}
.rbx-redeem-info-list li { margin:0; line-height:1.4; }
.rbx-redeem-info-list a {
  color:#f2f4f5;
  font-size:13.5px;
  font-weight:600;
  text-decoration:none;
  transition:color .14s ease;
}
.rbx-redeem-info-list a:hover {
  color:#ffffff;
  text-decoration:underline;
}
.rbx-giftcard {
  position:relative;
  width:100%;
  max-width:340px;
  aspect-ratio:16/10;
  border-radius:16px;
  overflow:hidden;
  background:#14161a;
  box-shadow:0 18px 40px rgba(0,0,0,.55);
  display:grid;
  place-items:center;
  isolation:isolate;
}
.rbx-giftcard-bg {
  position:absolute;
  inset:-8%;
  width:116%;
  height:116%;
  object-fit:cover;
  transform:rotate(-8deg);
  filter:brightness(.72) contrast(1.12) saturate(1.15);
  z-index:0;
}
.rbx-giftcard-overlay {
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 50% 50%,rgba(14,16,22,.2) 0%,rgba(10,11,15,.72) 100%);
  z-index:1;
}
.rbx-giftcard-brand {
  position:relative;
  z-index:2;
  width:68%;
  max-height:58%;
  object-fit:contain;
  filter:drop-shadow(0 8px 24px rgba(0,0,0,.9));
}
@media (max-width: 820px) {
  .rbx-redeem-shell { grid-template-columns:minmax(0, 440px); gap:36px; }
  .rbx-redeem-right { padding-top:0; }
}
.homev2-heading { margin:0 0 18px; }
/* The initial HTML uses the same Home V2 grid; no game loading screen is needed. */
.homev2-skeleton-line { display:block; width:66%; height:14px; margin:8px 0 16px; border-radius:5px; background:#222; }
.homev2-skeleton-title { width:42%; height:25px; margin-bottom:18px; }
.homev2-skeleton-pulse { background:#161616; animation:homev2-skeleton-pulse 1.8s ease-in-out infinite alternate; }
.portal-loading-preview { display:grid; gap:12px; }
.portal-loading-title { width:min(200px,60%); height:30px; border-radius:6px; }
.portal-loading-caption { width:min(300px,80%); height:16px; border-radius:5px; }
.portal-loading-panel { width:100%; height:clamp(136px,22vw,240px); border-radius:10px; margin-block-start:8px; }
.homev2-trial-notice { margin:0 0 16px; padding:12px 16px; border:1px solid var(--app-border); border-inline-start:3px solid var(--accent); border-radius:8px; background:var(--app-raised); color:var(--app-text); }
.homev2-trial-notice time { font-weight:700; }
.homev2-skeleton-portrait { aspect-ratio:3/4; width:100%; margin-bottom:46px; border:1px solid #343434; border-radius:10px; position:relative; }
.homev2-skeleton-portrait::after { content:''; position:absolute; top:calc(100% + 10px); left:0; width:70%; height:12px; border-radius:4px; background:#222; }
.homev2-skeleton-actions { display:flex; gap:12px; margin-top:20px; }
.homev2-skeleton-actions span { display:block; width:120px; max-width:45%; height:42px; border-radius:8px; background:#292929; }
.homev2-skeleton-account { padding-block:20px; }
.homev2-skeleton-account .homev2-skeleton-line { width:90%; margin-block:16px; }
[data-home-skeleton] .homev2-feature-copy { width:100%; }
[data-home-skeleton] .homev2-mode-image { background:#292929; }
[data-home-skeleton] .homev2-feature-copy::before { display:none; }
@keyframes homev2-skeleton-pulse { from { background-color:#161616; } to { background-color:#222222; } }
html[data-startup-failed="true"] .homev2-skeleton-pulse { animation:none; }
@media(prefers-reduced-motion:reduce) { .homev2-skeleton-pulse { animation:none; } }
.homev2-heading h1 { margin:0; font-size:clamp(28px,2.5vw,38px); font-weight:700; letter-spacing:-1.2px; line-height:1.25; }
.homev2-heading p { margin:5px 0 0; color:var(--app-muted); font-size:15px; }
.homev2-layout { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:32px; }
.homev2-content { min-width:0; display:flex; flex-direction:column; gap:24px; }
.homev2-announcement { display:flex; flex-direction:column; gap:4px; margin-block-end:-12px; padding:12px 16px; border:1px solid var(--app-border-hover); border-inline-start:3px solid var(--accent); border-radius:8px; background:var(--app-raised); color:var(--app-text); }
.homev2-announcement-title { font-size:14px; font-weight:700; line-height:1.35; overflow-wrap:anywhere; }
.homev2-announcement-text { font-size:13px; line-height:1.5; color:#d8d8d8; white-space:pre-wrap; overflow-wrap:anywhere; }
.homev2-announcement-dialog { box-sizing:border-box; width:min(480px,calc(100% - 32px)); max-height:calc(100dvh - 32px); margin:auto; padding:24px; border:1px solid var(--app-border-hover); border-radius:12px; background:var(--app-raised); color:var(--app-text); }
.homev2-announcement-dialog[open] { display:grid; grid-template-rows:auto minmax(0,1fr) auto; gap:16px; }
.homev2-announcement-dialog::backdrop { background:#000b; }
.homev2-announcement-dialog h2 { margin:0; font-size:22px; line-height:1.25; overflow-wrap:anywhere; }
.homev2-announcement-body { overflow:auto; overscroll-behavior:contain; white-space:pre-wrap; overflow-wrap:anywhere; }
.homev2-announcement-actions { display:flex; justify-content:flex-end; }
.homev2-aside { min-width:0; }
.homev2-feature { position:relative; min-height:196px; overflow:hidden; border:1px solid #343434; border-radius:12px; background:#232323; }
.homev2-feature-art { position:absolute; inset:0; height:100%; width:100%; object-fit:cover; object-position:60% 45%; }
.homev2-feature-copy { position:relative; isolation:isolate; max-width:70%; min-height:196px; padding:24px 30px; }
.homev2-feature-copy::before { content:''; position:absolute; z-index:-1; inset:0 -100px 0 0; background:linear-gradient(90deg,#151515f5 25%,#151515d9 60%,#15151500); }
.homev2-eyebrow { font-size:10px; font-weight:700; padding:3px 8px; background:#414141; color:#fff; border-radius:5px; }
.homev2-feature h2 { margin:10px 0 3px; font-size:clamp(22px,2vw,30px); font-weight:700; line-height:1.25; letter-spacing:-.7px; }
.homev2-feature p { margin:0 0 16px; color:#e1e1e1; font-size:14px; }
.homev2-actions { display:flex; gap:12px; flex-wrap:wrap; }
.homev2-button { min-height:42px; display:inline-flex; align-items:center; justify-content:center; gap:9px; padding:10px 18px; color:#181818; border:1px solid #f2f2f2; border-radius:8px; background:#f2f2f2; font-size:13px; font-weight:600; text-decoration:none; cursor:pointer; }
.homev2-button:hover { background:#ddd; }
.homev2-button-secondary { background:#303030; color:#f3f3f3; border-color:#414141; }
.homev2-button-secondary:hover { background:#3b3b3b; }
.homev2-button svg,.homev2-text-link svg { width:16px; height:16px; }
.homev2-section-head { display:flex; align-items:center; gap:16px; margin-bottom:14px; flex-wrap:wrap; }
.homev2-section-head h2 { font-size:21px; line-height:1.3; font-weight:700; margin:0; letter-spacing:-.5px; }
.homev2-section-head>.homev2-text-link { margin-left:auto; }
.homev2-text-link { display:inline-flex; align-items:center; gap:6px; color:#d4d4d4; font-size:12px; text-decoration:none; min-height:32px; }
.homev2-text-link:hover { color:white; }
.homev2-modes { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr)); gap:14px; }
.homev2-mode { min-width:0; display:flex; align-items:center; gap:12px; padding:12px 8px; border:1px solid #333; border-radius:11px; background:#202020; color:#f0f0f0; min-height:104px; text-align:left; cursor:pointer; }
.homev2-mode:hover { background:#292929; }
.homev2-mode-image { width:64px; height:56px; object-fit:cover; border-radius:7px; flex-shrink:0; }
.homev2-mode-copy { flex:1; min-width:0; display:flex; flex-direction:column; align-items:flex-start; gap:4px; overflow-wrap:anywhere; }
.homev2-mode-copy strong { font-size:14px; line-height:1.35; }
.homev2-mode-copy small { font-size:12px; color:#b4b4b4; line-height:1.5; }
.homev2-play-icon { margin-left:auto; display:grid; place-items:center; width:30px; height:30px; flex-shrink:0; border-radius:7px; background:#eee; color:#191919; }
.homev2-play-icon svg { width:14px; height:14px; }
.homev2-filters { display:flex; gap:5px; align-items:center; margin-left:8px; }
.homev2-filter { border:1px solid var(--app-border); border-radius:20px; padding:6px 14px; background:var(--app-raised); color:var(--app-muted); min-height:36px; font-size:12px; font-weight:600; cursor:pointer; }
.homev2-filter:hover { background:var(--panel-hover,#272727); color:var(--app-text); }
.homev2-filter[aria-pressed=true] { color:#111; background:#fff; border-color:#fff; }
/* Keep empty slots so one or two published fighters retain the normal card size. */
.homev2-fighters {
  --fighter-gap:14px;
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(0,min(180px,calc((100% - var(--fighter-gap)) / 2))));
  gap:var(--fighter-gap);
}
.homev2-fighter { width:100%; padding:0; cursor:pointer; text-align:left; font:inherit; }
.homev2-fighter-copy { width:100%; gap:6px; }
.homev2-fighter-name { display:block; font-size:14px; font-weight:700; line-height:1.4; min-height:2.8em; overflow-wrap:break-word; }
.homev2-fighter-picks { display:inline-flex; align-self:flex-start; align-items:center; gap:6px; max-width:100%; min-height:30px; margin-top:auto; padding:5px 8px; border:1px solid #784722; border-radius:6px; background:#302016; color:#ffb875; font-size:13px; font-weight:700; line-height:1.35; font-variant-numeric:tabular-nums; }
.homev2-fighter-picks svg { width:14px; height:14px; flex-shrink:0; }
.homev2-fighter-picks>span { min-width:0; overflow-wrap:anywhere; }
.homev2-ranking-toolbar { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px 16px; margin:0 0 14px; }
.homev2-ranking-note { flex:1 1 180px; color:var(--app-muted); font-size:12px; margin:0; line-height:1.5; }
.homev2-ranking-toolbar .v2-dropdown { max-width:100%; flex-shrink:0; }
.homev2-ranking-toolbar .v2-dropdown-btn { min-height:36px; }
.homev2-ranking-toolbar .v2-dropdown-menu { left:auto; right:0; width:240px; min-width:0; max-width:calc(100vw - 32px); }
@media(max-width:640px) { .homev2-ranking-toolbar { align-items:flex-start; } .homev2-ranking-note { flex-basis:100%; } .homev2-ranking-toolbar .v2-dropdown-menu { left:0; right:auto; } }
.homev2-fighter-state { max-width:calc(100% - 16px); white-space:nowrap; line-height:1.3; }
.homev2-fighter-state svg { width:11px; height:11px; flex-shrink:0; }
.homev2-fighter.is-unavailable { opacity:.6; cursor:default; }
.homev2-update { display:grid; grid-template-columns:1fr 1fr; border:1px solid #333; border-radius:12px; overflow:hidden; min-height:126px; background:#1e1e1e; }
.homev2-update-image { width:100%; height:100%; max-height:170px; object-fit:cover; }
.homev2-update-copy { padding:14px 24px; }
.homev2-update h3 { font-size:17px; font-weight:600; margin:3px 0 5px; }
.homev2-update p { margin:0 0 12px; color:#bbb; font-size:12px; }
.homev2-update time { font-size:12px; color:#b4b4b4; }
.homev2-update .homev2-button { min-height:40px; padding:8px 14px; font-size:13px; }
.homev2-account { background:#191919; border:1px solid #353535; border-radius:12px; padding:24px 20px; } .homev2-feature-controls { position:absolute; bottom:16px; right:20px; display:flex; align-items:center; gap:8px; z-index:2; } .homev2-feature-arrow { width:32px; height:32px; border-radius:50%; background:#000a; border:1px solid #555; color:#fff; display:grid; place-items:center; cursor:pointer; padding:0; } .homev2-feature-arrow:hover { background:#333; } .homev2-feature-dots { display:flex; gap:6px; align-items:center; } .homev2-feature-dot { width:8px; height:8px; border-radius:50%; background:#ffffff66; border:0; padding:0; cursor:pointer; } .homev2-feature-dot.active { background:#fff; width:18px; border-radius:4px; } .homev2-account-stats { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:16px 0; padding:12px; background:#202020; border-radius:8px; border:1px solid #2e2e2e; } .homev2-stat-label { font-size:11px; color:#aaa; margin:0 0 4px; text-transform:uppercase; letter-spacing:0.5px; } .homev2-stat-value { font-size:15px; font-weight:700; color:#fff; margin:0; display:flex; align-items:center; gap:6px; } .homev2-stat-value svg { width:15px; height:15px; } .homev2-account-links { display:flex; flex-direction:column; gap:6px; margin-top:14px; } .homev2-promo-card { margin-top:16px; border:1px solid #333; border-radius:10px; overflow:hidden; background:#1e1e1e; } .homev2-promo-art { width:100%; height:100px; object-fit:cover; display:block; } .homev2-promo-body { padding:10px 14px; } .homev2-promo-body h3 { font-size:13px; font-weight:600; margin:0 0 4px; }
.homev2-account-identity { display:flex; align-items:center; gap:12px; }
.homev2-account-identity h2 { font-size:19px; font-weight:700; margin:0 0 3px; }
.homev2-account-identity p { font-size:12px; color:#b9b9b9; margin:0; }
.homev2-avatar { display:grid; place-items:center; width:56px; height:56px; border-radius:50%; background:#252525; border:1px solid #3d3d3d; flex-shrink:0; overflow:hidden; }
.homev2-avatar svg { width:38px; height:38px; }
.homev2-avatar-img { width:100%; height:100%; max-width:100%; max-height:100%; object-fit:cover; border-radius:50%; display:block; }
.homev2-benefits { list-style:none; padding:20px 0; margin:0; display:flex; flex-direction:column; gap:15px; font-size:14px; color:#ddd; }
.homev2-benefits li { position:relative; padding-left:22px; }
.homev2-benefits li::before { content:''; position:absolute; left:0; top:5px; width:10px; height:10px; border:1px solid #aaa; border-radius:50%; }
.homev2-account>.homev2-button { display:flex; width:100%; margin-bottom:10px; }
.homev2-account>.homev2-text-link { display:flex; justify-content:center; }
.homev2-muted,.homev2-account-balance { color:#b4b4b4; font-size:13px; }
.homev2-state { padding:20px; background:#191919; border:1px dashed #444; border-radius:10px; color:#b4b4b4; display:flex; align-items:center; gap:12px; }
.homev2-state p { margin:0; }
@media(max-width:1250px) { .homev2-layout { grid-template-columns:minmax(0,1fr) 250px; gap:24px; } .homev2-modes { gap:8px; } .homev2-mode-image { width:48px; } .homev2-mode { gap:8px; } .homev2-play-icon { width:25px; } }
@media(max-width:1080px) { .homev2-layout { grid-template-columns:minmax(0,1fr); } .homev2-aside { max-width:520px; } .homev2-mode-image { width:64px; } }
@media(max-width:900px) { body.site-shell { grid-template-columns:minmax(0,1fr); grid-template-areas:'header' 'workspace'; } .app-sidebar { position:fixed; left:0; top:0; width:250px; transform:translateX(-100%); transition:transform .15s ease; } .drawer-open .app-sidebar { transform:translateX(0); } .app-drawer-backdrop { position:fixed; inset:0; width:100%; height:100%; border:0; background:#0009; z-index:35; } .app-icon-button { display:grid; place-items:center; flex-shrink:0; } .app-header { gap:12px; } .app-header-actions { gap:8px; } .app-account-button { padding:10px 13px; } }
@media(max-width:640px) { :root { --app-header:120px; } .app-header { display:grid; grid-template-columns:44px minmax(0,1fr); grid-template-rows:44px 44px; gap:10px 12px; padding:10px 16px; } .app-search { grid-column:1/-1; grid-row:2; max-width:none; width:100%; } .app-header-actions { grid-column:2; grid-row:1; justify-content:flex-end; } .app-menu-toggle { grid-column:1; grid-row:1; } .app-brand { min-height:72px; } .site-shell main { padding-top:12px; } .homev2-feature-copy { max-width:100%; padding:22px; } .homev2-feature-copy::before { right:0; background:#141414b8; } .homev2-feature h2 { font-size:25px; } .homev2-modes { grid-template-columns:minmax(0,1fr); gap:10px; } .homev2-mode-copy strong { font-size:14px; } .homev2-mode-copy small { font-size:12px; } .homev2-fighters { row-gap:16px; } .homev2-section-head { gap:8px; } .homev2-section-head h2 { width:100%; font-size:21px; } .homev2-filters { margin-left:0; } .homev2-filter { padding:6px 10px; } .homev2-update { grid-template-columns:minmax(0,1fr); } .homev2-update-image { height:120px; } .homev2-heading h1 { font-size:30px; } .homev2-layout { gap:24px; } .homev2-account { padding:20px; } .site-shell .site-footer { font-size:10px; } }
@media(max-width:440px) { .homev2-feature-copy { padding:16px; } .homev2-feature h2 { font-size:22px; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation-duration:.01ms !important; transition:none !important; scroll-behavior:auto !important; } }
.homev2-mode.is-unavailable .homev2-mode-image { filter:grayscale(1) brightness(.25); }
.homev2-mode.is-unavailable { opacity:1; background:#111; cursor:default; }
.homev2-mode-copy .mode-state-label { margin:0; padding:0; border:0; border-radius:0; background:transparent; color:var(--app-muted); font-size:12px; line-height:1.5; font-weight:500; white-space:normal; }
.homev2-mode.is-unavailable .homev2-play-icon { background:#202020; color:var(--app-muted); }
