  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --bg:        #070B14;
    --surface:   #101827;
    --surface2:  #162033;
    --border:    #1E2D47;
    --border2:   #243149;
    --text:      #EAF0FF;
    --muted:     #9AA7BD;
    --dim:       #576880;
    --cyan:      #38BDF8;
    --violet:    #A78BFA;
    --green:     #22C55E;
    --amber:     #F59E0B;
    --red:       #EF4444;
    --lime:      #84CC16;
    --nav-bg:    #0D1525;
    --footer-bg: #060C18;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 13px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
  }

  a { text-decoration: none; color: inherit; }

  /* ── NAV ── */
  .nav {
    background: var(--nav-bg);
    border-bottom: 1px solid var(--border);
    padding: 0 24px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
  }
  .nav-logo {
    font-family: 'Syne', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--cyan);
    letter-spacing: 0.4px;
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
  }
  .nav-logo i { font-size: 18px; }
  .nav-links { display: flex; gap: 2px; }
  .nav-link {
    font-size: 11px;
    color: var(--muted);
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: color .15s, background .15s;
    font-weight: 500;
  }
  .nav-link:hover { color: var(--text); background: var(--surface2); }
  .nav-link.active { color: var(--cyan); background: var(--surface2); }
  .nav-right { display: flex; align-items: center; gap: 8px; }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .nav-search-form {
    width: 184px;
    height: 30px;
    background: var(--surface2);
    border: 1px solid var(--border2);
    border-radius: 8px;
    display: grid;
    grid-template-columns: 1fr 30px;
    align-items: center;
    overflow: hidden;
    transition: border-color .15s, background .15s, box-shadow .15s;
  }
  .nav-search-form:focus-within {
    border-color: rgba(56,189,248,0.58);
    background: var(--surface);
    box-shadow: 0 0 0 2px rgba(56,189,248,0.08);
  }
  .nav-search-input {
    width: 100%;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    padding: 0 8px 0 10px;
  }
  .nav-search-input::placeholder { color: var(--dim); }
  .nav-search-btn {
    width: 30px;
    height: 30px;
    border: 0;
    border-left: 1px solid rgba(36,49,73,0.72);
    background: transparent;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: color .15s, background .15s;
  }
  .nav-search-btn:hover { color: var(--cyan); background: rgba(56,189,248,0.06); }

  /* ── PAGE LAYOUT ── */
  .page-wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
  .post-layout {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 16px;
    padding: 20px 0 0;
    align-items: start;
  }

  /* ── BREADCRUMB ── */
  .breadcrumb {
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
  }
  .breadcrumb i { font-size: 10px; color: var(--border2); }
  .breadcrumb a { color: var(--muted); transition: color .15s; }
  .breadcrumb a:hover { color: var(--cyan); }
  .breadcrumb-cur { color: var(--cyan); }

  /* ── ARTICLE HEADER ── */
  .art-type-row {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
  }
  .type-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 5px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    border: 1px solid;
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }
  .tb-codes  { color: var(--green);  background: rgba(34,197,94,0.08);   border-color: rgba(34,197,94,0.25);   }
  .tb-live   { color: var(--cyan);   background: rgba(56,189,248,0.08);  border-color: rgba(56,189,248,0.25);  }
  .tb-guide  { color: var(--violet); background: rgba(167,139,250,0.08); border-color: rgba(167,139,250,0.25); }
  .tb-patch  { color: var(--amber);  background: rgba(245,158,11,0.08);  border-color: rgba(245,158,11,0.25);  }
  .tb-news   { color: var(--cyan);   background: rgba(56,189,248,0.08);  border-color: rgba(56,189,248,0.25);  }
  .tb-review { color: var(--red);    background: rgba(239,68,68,0.08);   border-color: rgba(239,68,68,0.25);   }

  .art-title {
    font-family: 'Syne', sans-serif;
    font-size: 21px;
    font-weight: 700;
    color: #F0F6FF;
    line-height: 1.25;
    margin-bottom: 3px;
  }
  .art-subline {
    font-size: 11px;
    color: var(--muted);
    font-weight: 500;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    line-height: 1.35;
  }
  .art-subline a {
    color: var(--muted);
    font-weight: 500;
    transition: color .15s;
  }
  .art-subline a:hover { color: var(--cyan); }
  .art-subline .sub-dot { color: var(--dim); }
  .genre-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 600;
    color: var(--muted);
    background: var(--nav-bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 3px 8px;
    transition: color .15s, border-color .15s, background .15s;
  }
  .genre-pill:hover {
    border-color: currentColor;
    filter: brightness(1.12);
    text-decoration: none;
  }
  .genre-pill-open { color: var(--green); background: rgba(34,197,94,.07); border-color: rgba(34,197,94,.24); }
  .genre-pill-rpg { color: var(--violet); background: rgba(167,139,250,.07); border-color: rgba(167,139,250,.24); }
  .genre-pill-gacha { color: var(--amber); background: rgba(245,158,11,.07); border-color: rgba(245,158,11,.24); }
  .genre-pill-anime { color: #F472B6; background: rgba(244,114,182,.07); border-color: rgba(244,114,182,.24); }

  .model-link {
    display: inline-flex;
    align-items: center;
    font-size: 10px;
    font-weight: 700;
    border-radius: 6px;
    padding: 3px 8px;
    border: 1px solid currentColor;
    transition: filter .15s, background .15s;
  }
  .model-link:hover { filter: brightness(1.12); text-decoration: none; }
  .model-free { color: var(--lime); background: rgba(132,204,22,.08); border-color: rgba(132,204,22,.25); }
  .model-iap { color: var(--violet); background: rgba(167,139,250,.08); border-color: rgba(167,139,250,.25); }
  .model-paid { color: var(--amber); background: rgba(245,158,11,.08); border-color: rgba(245,158,11,.25); }
  .model-sep { color: var(--dim); padding: 0 4px; font-weight: 600; }
  .status-link {
    display: inline-flex;
    align-items: center;
    font-size: 10px;
    font-weight: 700;
    border-radius: 6px;
    padding: 3px 8px;
    border: 1px solid currentColor;
    transition: filter .15s, background .15s;
  }
  .status-link:hover { filter: brightness(1.12); text-decoration: none; }
  .status-released { color: var(--cyan); background: rgba(56,189,248,.08); border-color: rgba(56,189,248,.25); }
  .table-pill-row { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
  .platform-link-row { margin-top: 10px; gap: 6px; }

  .art-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
    font-size: 11px;
    color: var(--muted);
  }
  .art-meta i { font-size: 12px; }
  .art-meta a {
    color: #C8D8EC;
    font-weight: 600;
    transition: color .15s;
  }
  .art-meta a:hover { color: var(--cyan); }
  .meta-sep { color: var(--border2); }

  /* Platform pills */
  .plat-row { display: flex; gap: 5px; margin-bottom: 14px; flex-wrap: wrap; }
  .plat-pill {
    font-size: 9px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 5px;
    border: 1px solid;
    display: inline-flex;
    align-items: center;
    transition: color .15s, border-color .15s, background .15s;
  }
  a.plat-pill:hover { border-color: currentColor; filter: brightness(1.12); }
  .pp-pc      { color: var(--cyan);   background: rgba(56,189,248,0.07);   border-color: rgba(56,189,248,0.22);  }
  .pp-android { color: var(--lime);   background: rgba(132,204,22,0.07);   border-color: rgba(132,204,22,0.22);  }
  .pp-ios     { color: #F472B6;       background: rgba(244,114,182,0.07);  border-color: rgba(244,114,182,0.22); }
  .pp-ps      { color: #6EA8FE;       background: rgba(110,168,254,0.07);  border-color: rgba(110,168,254,0.22); }
  .pp-xb      { color: #4ADE80;       background: rgba(74,222,128,0.07);   border-color: rgba(74,222,128,0.22);  }
  .pp-mb      { color: var(--violet); background: rgba(167,139,250,0.07);  border-color: rgba(167,139,250,0.22); }

  /* ── HERO IMAGE ── */
  .hero-img {
    width: 100%;
    min-height: 260px;
    aspect-ratio: 16 / 9;
    height: auto;
    background: linear-gradient(135deg, #0D1E38 0%, #162845 55%, #0D1E38 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-bottom: 14px;
    display: flex;
    align-items: flex-end;
    padding: 14px;
    position: relative;
    overflow: hidden;
  }
  .hero-img-art {
    position: absolute; top: 0; right: 0;
    width: 50%; height: 100%;
    background: linear-gradient(to left, rgba(22,40,69,0.5), transparent);
  }
  .hero-label {
    font-size: 10px;
    color: var(--muted);
    position: relative;
    z-index: 1;
  }

  /* ── TOC ── */
  .toc-card {
    background: var(--nav-bg);
    border-left: 3px solid var(--cyan);
    border-radius: 0 8px 8px 0;
    border-top: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 10px 13px;
    margin-bottom: 12px;
    position: relative;
  }
  .toc-head {
    font-size: 10px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .toc-head i { font-size: 12px; color: var(--cyan); }
  .toc-list {
    max-height: 178px;
    overflow-y: auto;
    padding-right: 4px;
    padding-bottom: 6px;
    scrollbar-width: thin;
    scrollbar-color: var(--border2) transparent;
  }
  .toc-list::-webkit-scrollbar { width: 5px; }
  .toc-list::-webkit-scrollbar-track { background: transparent; }
  .toc-list::-webkit-scrollbar-thumb {
    background: var(--border2);
    border-radius: 999px;
  }
  .toc-list::after { display: none; }
  .toc-item {
    font-size: 11px;
    color: var(--muted);
    padding: 4px 0;
    display: flex;
    gap: 8px;
    align-items: baseline;
    cursor: pointer;
    transition: color .15s;
  }
  .toc-item:hover { color: var(--cyan); }
  .toc-n { font-size: 10px; color: var(--border2); min-width: 16px; }

  /* ── ARTICLE SECTIONS ── */
  .section { margin-bottom: 14px; }
  .section-h[id], .source-block-head[id] { scroll-margin-top: 72px; }
  .section-h {
    font-family: 'Syne', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    padding-bottom: 7px;
    border-bottom: 1px solid var(--surface2);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .section-h::before {
    content: '';
    width: 3px; height: 16px;
    background: var(--cyan);
    border-radius: 2px;
    flex-shrink: 0;
  }
  .section-p { font-size: 12px; color: var(--muted); line-height: 1.8; }

  /* ── CODES TABLE ── */
  .codes-table { width: 100%; border-collapse: collapse; margin-bottom: 10px; }
  .codes-scroll {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border2) transparent;
  }
  .codes-scroll::-webkit-scrollbar { height: 6px; width: 6px; }
  .codes-scroll::-webkit-scrollbar-track { background: transparent; }
  .codes-scroll::-webkit-scrollbar-thumb {
    background: var(--border2);
    border-radius: 999px;
  }
  .codes-scroll-active,
  .codes-scroll-expired {
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 10px;
  }
  .codes-scroll-active { max-height: 374px; }
  .codes-scroll-expired { max-height: 286px; }
  .codes-scroll-active .codes-table,
  .codes-scroll-expired .codes-table { margin-bottom: 0; }
  .codes-scroll-active .codes-table thead th,
  .codes-scroll-expired .codes-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
  }
  .codes-table th {
    font-size: 10px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 7px 10px;
    background: var(--nav-bg);
    border-bottom: 1px solid var(--border);
    text-align: left;
  }
  .codes-table td {
    font-size: 12px;
    color: #C8D8EC;
    padding: 7px 10px;
    border-bottom: 1px solid var(--surface2);
    vertical-align: middle;
  }
  .codes-table tr:last-child td { border-bottom: none; }
  .codes-table tr:hover td { background: var(--surface2); }
  .codes-table th:nth-child(3),
  .codes-table td.status-cell {
    width: 112px;
    white-space: nowrap;
  }
  .code-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    line-height: 1.2;
  }
  .code-pill {
    font-family: monospace;
    background: var(--nav-bg);
    color: var(--cyan);
    border: 1px solid rgba(56,189,248,0.25);
    border-radius: 4px;
    padding: 2px 7px;
    font-size: 11px;
    letter-spacing: 0.3px;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    white-space: nowrap;
  }
  button.code-pill {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: color .15s, border-color .15s, background .15s;
  }
  button.code-pill:hover,
  button.code-pill:focus-visible {
    color: #EAF6FF;
    border-color: rgba(56,189,248,0.58);
  }
  button.code-pill:focus-visible {
    outline: 2px solid rgba(56,189,248,0.45);
    outline-offset: 3px;
  }
  .expired .code-pill { color: var(--dim); border-color: var(--border2); }
  .expired td { color: var(--dim); }
  button.code-pill.is-copied,
  .expired button.code-pill.is-copied {
    color: var(--green);
    border-color: rgba(34,197,94,0.38);
    background: rgba(34,197,94,0.08);
  }
  .status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0;
    flex: 0 0 6px;
  }
  .dot-active  { background: var(--green); }
  .dot-expired { background: var(--red); opacity: .85; }

  /* ── BACA JUGA ── */
  .baca-juga {
    background: var(--nav-bg);
    border-left: 3px solid var(--violet);
    border-radius: 0 8px 8px 0;
    border-top: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 10px 13px;
    margin: 12px 0;
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    transition: border-color .15s;
  }
  .baca-juga:hover { border-color: var(--violet); }
  .bj-label {
    font-size: 9px;
    font-weight: 700;
    color: var(--violet);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    white-space: nowrap;
  }
  .bj-title { font-size: 11px; color: #C8D8EC; line-height: 1.4; }
  .bj-arrow { margin-left: auto; color: var(--border2); font-size: 13px; }

  /* ── SOURCE BLOCK ── */
  .source-block {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 11px 14px;
    margin-top: 4px;
  }
  .source-block-head {
    font-size: 10px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 9px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .source-block-head i { font-size: 12px; color: var(--dim); }
  .source-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--muted);
    padding: 4px 0;
    border-bottom: 1px solid var(--surface2);
  }
  .source-row:last-child { border-bottom: none; }
  .source-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--border2); flex-shrink: 0; }
  .source-link { color: var(--cyan); cursor: pointer; }
  .source-link:hover { text-decoration: underline; }
  .source-date { font-size: 10px; color: var(--dim); margin-left: auto; white-space: nowrap; }

  /* ── FAQ ── */
  .faq-head {
    font-size: 10px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 9px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .faq-head i { font-size: 12px; color: var(--cyan); }
  .faq-item {
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 6px;
    overflow: hidden;
  }
  .faq-q {
    font-size: 12px;
    color: #C8D8EC;
    font-weight: 500;
    padding: 9px 13px;
    background: var(--surface);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    gap: 10px;
  }
  .faq-q i { font-size: 13px; color: var(--cyan); flex-shrink: 0; transition: transform .18s ease; }
  .faq-a {
    display: none;
    font-size: 11px;
    color: var(--muted);
    padding: 9px 13px;
    background: var(--nav-bg);
    line-height: 1.7;
  }
  .faq-item.is-open .faq-a { display: block; }
  .faq-item.is-open .faq-q i { transform: rotate(180deg); }

  /* ── RELATED POSTS ── */
  .related-stack { margin-top: 16px; }
  .related-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
  }
  .related-panel-head {
    padding: 10px 12px 8px;
    border-bottom: 1px solid var(--surface2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .related-title {
    font-family: 'Syne', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .related-title::before {
    content: '';
    width: 3px; height: 14px;
    background: var(--cyan);
    border-radius: 2px;
  }
  .related-sub { display: none; }
  .related-list { display: flex; flex-direction: column; }
  .related-row {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 9px 12px;
    border-bottom: 1px solid var(--surface2);
    transition: background .15s, border-color .15s;
  }
  .related-row:last-child { border-bottom: none; }
  .related-row:hover { background: var(--surface2); }
  .related-row:focus-visible { outline: 2px solid rgba(56,189,248,0.45); outline-offset: -2px; }
  .related-thumb {
    width: 48px;
    height: 34px;
    border-radius: 7px;
    border: 1px solid var(--border2);
    background-position: center;
    background-size: cover;
    background-color: var(--nav-bg);
    flex-shrink: 0;
  }
  .related-kind,
  .related-reason { display: none; }
  .related-main { min-width: 0; }
  .related-item-title {
    display: block;
    font-size: 12px;
    color: #DCE8F8;
    line-height: 1.35;
    font-weight: 600;
  }
  .related-arrow {
    color: var(--border2);
    font-size: 14px;
    transition: color .15s, transform .15s;
  }
  .related-row:hover .related-arrow { color: var(--cyan); transform: translateX(2px); }

  /* ── SIDEBAR ── */
  .sidebar { display: flex; flex-direction: column; gap: 10px; position: sticky; top: 64px; }
  .sb-card {
    --sb-accent: var(--cyan);
    --sb-accent-rgb: 56,189,248;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
  }
  .sb-official { --sb-accent: var(--cyan);   --sb-accent-rgb: 56,189,248; }
  .sb-download { --sb-accent: var(--green);  --sb-accent-rgb: 34,197,94; }
  .sb-latest   { --sb-accent: var(--violet); --sb-accent-rgb: 167,139,250; }
  .sb-similar  { --sb-accent: var(--amber);  --sb-accent-rgb: 245,158,11; }
  .sb-tags     { --sb-accent: #6EA8FE;       --sb-accent-rgb: 110,168,254; }
  .sb-head {
    font-size: 10px;
    font-weight: 800;
    color: var(--sb-accent);
    padding: 9px 12px 8px;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    border-bottom: 1px solid rgba(var(--sb-accent-rgb),0.16);
    background: linear-gradient(90deg, rgba(var(--sb-accent-rgb),0.105), rgba(13,21,37,0) 72%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .sb-head-title {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    line-height: 1.2;
  }
  .sb-head-title i {
    font-size: 13px;
    color: var(--sb-accent);
    flex-shrink: 0;
  }
  .sb-head-link {
    color: var(--sb-accent);
    background: rgba(var(--sb-accent-rgb),0.08);
    border: 1px solid rgba(var(--sb-accent-rgb),0.22);
    border-radius: 999px;
    padding: 2px 7px;
    font-size: 9px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
  }
  .sb-head-arrow {
    width: auto;
    height: auto;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
  }
  .sb-head-arrow:hover { color: var(--text); }
  .sb-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--surface2);
    cursor: pointer;
    transition: background .15s;
  }
  .sb-item:last-child { border-bottom: none; }
  .sb-item:hover { background: var(--surface2); }
  .sb-thumb {
    width: 32px; height: 32px;
    border-radius: 7px;
    flex-shrink: 0;
  }
  .sbt1 { background: linear-gradient(135deg,#1A3050,#0F2040); }
  .sbt2 { background: linear-gradient(135deg,#1F2D40,#142030); }
  .sbt3 { background: linear-gradient(135deg,#162438,#0F1A28); }
  .sbt4 { background: linear-gradient(135deg,#1C1428,#241830); }
  .sb-title { font-size: 11px; color: #C8D8EC; font-weight: 500; line-height: 1.2; }
  .sb-sub   { font-size: 10px; color: var(--muted); margin-top: 1px; }

  .tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 10px 12px 12px;
    max-height: 132px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--sb-accent-rgb), .32) transparent;
  }
  .tag-cloud::-webkit-scrollbar { width: 5px; }
  .tag-cloud::-webkit-scrollbar-track { background: transparent; }
  .tag-cloud::-webkit-scrollbar-thumb {
    background: rgba(var(--sb-accent-rgb), .32);
    border-radius: 999px;
  }
  .tag-pill {
    display: inline-flex;
    align-items: center;
    font-size: 10px;
    color: var(--muted);
    background: var(--nav-bg);
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 3px 8px;
    cursor: pointer;
    transition: color .15s, border-color .15s;
  }
  .tag-pill:hover { border-color: currentColor; filter: brightness(1.12); }
  .tag-game { color: #C8D8EC; border-color: rgba(200,216,236,.20); }
  .tag-dev { color: var(--amber); border-color: rgba(245,158,11,.24); }
  .tag-open { color: var(--green); border-color: rgba(34,197,94,.24); }
  .tag-rpg { color: var(--violet); border-color: rgba(167,139,250,.24); }
  .tag-gacha { color: #F59E0B; border-color: rgba(245,158,11,.24); }
  .tag-anime { color: #F472B6; border-color: rgba(244,114,182,.24); }
  .tag-coop { color: #38BDF8; border-color: rgba(56,189,248,.24); }
  .tag-free { color: var(--lime); border-color: rgba(132,204,22,.24); }
  .tag-iap { color: var(--violet); border-color: rgba(167,139,250,.24); }
  .tag-more {
    display: flex;
    justify-content: flex-end;
    padding: 0 12px 10px;
    font-size: 10px;
    font-weight: 700;
    color: var(--sb-accent);
    line-height: 1.2;
  }
  .tag-more:hover { color: var(--text); }

  .upcoming-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 12px;
    border-bottom: 1px solid var(--surface2);
    font-size: 11px;
    cursor: pointer;
    transition: background .15s;
  }
  .upcoming-row:last-child { border-bottom: none; }
  .upcoming-row:hover { background: var(--surface2); }
  .up-name { color: #C8D8EC; font-weight: 500; }
  .up-date { color: var(--amber); font-size: 10px; }
  .up-confirmed { color: var(--green); font-size: 10px; }

  /* ── FOOTER ── */
  .footer {
    background: var(--footer-bg);
    border-top: 1px solid var(--surface2);
    margin-top: 40px;
    padding: 28px 0 0;
  }
  .footer-inner { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
  .footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 0.9fr 0.9fr 0.9fr 0.9fr;
    gap: 20px;
    margin-bottom: 20px;
  }
  .footer-logo {
    font-family: 'Syne', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--cyan);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 7px;
  }
  .footer-logo i { font-size: 17px; }
  .footer-desc { font-size: 11px; color: var(--muted); line-height: 1.65; margin-bottom: 12px; }
  .footer-social { display: flex; gap: 6px; }
  .social-btn {
    width: 28px; height: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--muted); font-size: 14px;
    transition: color .15s, border-color .15s;
  }
  .social-btn:hover { color: var(--cyan); border-color: var(--cyan); }
  .footer-col-title {
    font-size: 10px; font-weight: 600; color: var(--text);
    text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 10px;
  }
  .footer-link {
    font-size: 11px; color: var(--muted);
    display: block; margin-bottom: 6px; cursor: pointer;
    transition: color .15s;
  }
  .footer-link:hover { color: var(--cyan); }
  .footer-bottom {
    border-top: 1px solid var(--surface2);
    padding: 12px 0;
    display: flex; align-items: center;
    justify-content: space-between; flex-wrap: wrap; gap: 8px;
  }
  .footer-copy { font-size: 10px; color: var(--dim); }
  .footer-legal { display: flex; gap: 14px; flex-wrap: wrap; }
  .legal-link {
    font-size: 10px; color: var(--dim);
    cursor: pointer; transition: color .15s;
  }
  .legal-link:hover { color: var(--muted); }
  .footer-disclaimer { padding: 12px 0 20px; border-top: 1px solid rgba(26,40,64,0.5); }
  .disclaimer-text { font-size: 10px; color: #3A4A60; line-height: 1.65; }

  .tb-profile { color: var(--cyan); background: rgba(56,189,248,0.08); border-color: rgba(56,189,248,0.25); }
  .info-table { width: 100%; border-collapse: collapse; margin-bottom: 10px; }
  .info-table th {
    font-size: 10px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 7px 10px;
    background: var(--nav-bg);
    border-bottom: 1px solid var(--border);
    text-align: left;
  }
  .info-table td {
    font-size: 12px;
    color: #C8D8EC;
    padding: 7px 10px;
    border-bottom: 1px solid var(--surface2);
    vertical-align: top;
  }
  .info-table tr:last-child td { border-bottom: none; }
  .media-grid, .download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 10px;
  }
  .media-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
  }
  .download-card {
    background: linear-gradient(180deg, rgba(22,32,51,0.92), rgba(16,24,39,0.92));
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    min-height: 52px;
    padding: 9px 11px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
    position: relative;
    cursor: pointer;
    transition: border-color .15s, background .15s, transform .15s, box-shadow .15s;
  }
  .download-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    bottom: 9px;
    width: 2px;
    border-radius: 0 2px 2px 0;
    background: rgba(56,189,248,0.55);
    opacity: .65;
    transition: opacity .15s, background .15s;
  }
  .download-card:hover {
    border-color: rgba(56,189,248,0.45);
    background: linear-gradient(180deg, rgba(22,32,51,1), rgba(20,31,50,1));
    box-shadow: 0 0 0 1px rgba(56,189,248,0.08), 0 8px 22px rgba(0,0,0,0.18);
    transform: translateY(-1px);
  }
  .download-card:hover::before { opacity: 1; background: var(--cyan); }
  .download-card:hover .download-title { color: #F0F6FF; }
  .download-card:hover .download-action { color: var(--cyan); border-color: rgba(56,189,248,0.35); background: rgba(56,189,248,0.08); }
  .download-card:focus-visible {
    outline: 2px solid rgba(56,189,248,0.55);
    outline-offset: 2px;
  }
  .download-main { min-width: 0; }
  .media-thumb {
    height: 86px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--surface2);
  }
  .media-body {
    padding: 9px 10px;
  }
  .media-title, .download-title {
    font-size: 11px;
    color: #C8D8EC;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 3px;
  }
  .media-sub, .download-sub {
    font-size: 10px;
    color: var(--muted);
    line-height: 1.45;
  }
  .download-action {
    font-size: 10px;
    color: var(--muted);
    border: 1px solid var(--border2);
    border-radius: 999px;
    padding: 3px 8px;
    white-space: nowrap;
    line-height: 1.2;
    transition: color .15s, border-color .15s, background .15s;
  }
  .real-link { color: var(--cyan); }
  .real-link:hover { text-decoration: underline; }
  .text-link {
    color: #C8D8EC;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(56,189,248,0.35);
    text-underline-offset: 3px;
    transition: color .15s, text-decoration-color .15s;
  }
  .text-link:hover { color: var(--cyan); text-decoration-color: var(--cyan); }
  .note-box {
    background: var(--nav-bg);
    border-left: 3px solid var(--amber);
    border-radius: 0 8px 8px 0;
    border-top: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 10px 13px;
    margin: 12px 0;
    font-size: 11px;
    color: var(--muted);
    line-height: 1.7;
  }

  @media (max-width: 760px) {
    .nav {
      height: auto;
      padding: 8px 0;
    }
    .nav .page-wrap {
      flex-wrap: wrap;
      gap: 8px;
      padding: 0 12px !important;
    }
    .nav-logo { font-size: 16px; }
    .nav-right { margin-left: auto; }
    .nav-search-form { width: min(46vw, 180px); }
    .nav-search-input { font-size: 10px; padding-left: 9px; }
    .nav-links {
      order: 3;
      width: 100%;
      overflow-x: auto;
      gap: 4px;
      padding: 2px 0 1px;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
    }
    .nav-links::-webkit-scrollbar { display: none; }
    .nav-link {
      flex: 0 0 auto;
      padding: 5px 9px;
      white-space: nowrap;
    }
    .post-layout {
      grid-template-columns: 1fr;
      gap: 16px;
    }
    .sidebar {
      position: static;
      top: auto;
    }
    .hero-img {
      min-height: 190px;
      border-radius: 10px;
    }
    .toc-list { max-height: 148px; }

    .codes-table th:first-child,
    .codes-table td:first-child { min-width: 170px; }
    .req-card-grid { grid-template-columns: 1fr; }
    .req-block-head { align-items: flex-start; flex-direction: column; gap: 5px; }
    .req-table { min-width: 560px; }
    .req-block { overflow-x: auto; }
    .req-list li { grid-template-columns: 68px 1fr; }
    .related-row { grid-template-columns: 44px 1fr auto; padding: 9px 10px; }
    .related-thumb { width: 44px; height: 32px; }
    .related-row .related-main { grid-column: 2; grid-row: 1; }
    .related-row .related-arrow { grid-column: 3; grid-row: 1; }
    .related-panel-head { align-items: flex-start; flex-direction: column; gap: 3px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 18px 16px; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
    .footer-bottom { align-items: flex-start; flex-direction: column; }
  }

  @media (max-width: 480px) {
    .nav-right {
      width: 100%;
      margin-left: 0;
      order: 2;
    }
    .nav-search-form { width: 100%; }
  }


  /* ── SYSTEM / DEVICE REQUIREMENTS ── */
  .req-intro {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 10px;
  }
  .req-block {
    background: linear-gradient(180deg, rgba(16,24,39,0.98), rgba(13,21,37,0.98));
    border: 1px solid rgba(56,189,248,0.18);
    border-radius: 11px;
    overflow: hidden;
    margin-top: 10px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
  }
  .req-block-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(56,189,248,0.14);
    background: rgba(56,189,248,0.045);
  }
  .req-title {
    font-family: 'Syne', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #F0F6FF;
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
    gap: 7px;
  }
  .req-title::before {
    content: '';
    width: 3px;
    height: 14px;
    border-radius: 2px;
    background: var(--cyan);
    box-shadow: 0 0 10px rgba(56,189,248,0.35);
  }
  .req-chip {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.45px;
    text-transform: uppercase;
    color: #7DD3FC;
    background: rgba(56,189,248,0.08);
    border: 1px solid rgba(56,189,248,0.25);
    border-radius: 999px;
    padding: 3px 9px;
    white-space: nowrap;
  }
  .req-table {
    width: 100%;
    border-collapse: collapse;
  }
  .req-table th {
    font-size: 9px;
    font-weight: 800;
    color: #7DD3FC;
    text-transform: uppercase;
    letter-spacing: 0.65px;
    padding: 9px 10px;
    border-bottom: 1px solid rgba(36,49,73,0.85);
    background: rgba(6,12,24,0.18);
    text-align: left;
  }
  .req-table td {
    font-size: 11px;
    color: #DCE8F8;
    padding: 9px 10px;
    border-bottom: 1px solid rgba(36,49,73,0.55);
    vertical-align: top;
    line-height: 1.55;
  }
  .req-table tr:last-child td { border-bottom: none; }
  .req-table tbody tr:hover td { background: rgba(56,189,248,0.025); }
  .req-table td:first-child {
    width: 22%;
    color: #93A9C8;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.45px;
  }
  .req-table td:nth-child(2) { color: #C8D8EC; }
  .req-table td:nth-child(3) { color: #EAF0FF; font-weight: 500; }
  .req-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin-top: 10px;
  }
  .req-card {
    background: linear-gradient(180deg, rgba(16,24,39,0.96), rgba(13,21,37,0.96));
    border: 1px solid rgba(36,49,73,0.95);
    border-radius: 11px;
    padding: 11px 12px;
    position: relative;
    overflow: hidden;
  }
  .req-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 2px;
    background: rgba(56,189,248,0.55);
  }
  .req-card:nth-child(2)::before { background: rgba(167,139,250,0.62); }
  .req-card:nth-child(3)::before { background: rgba(245,158,11,0.62); }
  .req-card-title {
    font-family: 'Syne', sans-serif;
    font-size: 12px;
    color: #EAF0FF;
    font-weight: 700;
    margin-bottom: 8px;
  }
  .req-card:nth-child(1) .req-card-title { color: #7DD3FC; }
  .req-card:nth-child(2) .req-card-title { color: #C4B5FD; }
  .req-card:nth-child(3) .req-card-title { color: #FBBF24; }
  .req-list {
    list-style: none;
    display: flex;
    flex-direction: column;
  }
  .req-list li {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 8px;
    font-size: 11px;
    color: #DCE8F8;
    line-height: 1.45;
    padding: 5px 0;
    border-bottom: 1px solid rgba(36,49,73,0.42);
  }
  .req-list li:last-child { border-bottom: none; }
  .req-list span {
    color: #93A9C8;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.35px;
  }
  .req-note {
    font-size: 11px;
    color: #AFC0D8;
    line-height: 1.7;
    margin-top: 10px;
    background: rgba(56,189,248,0.045);
    border: 1px solid rgba(56,189,248,0.16);
    border-left: 3px solid rgba(56,189,248,0.55);
    border-radius: 0 9px 9px 0;
    padding: 9px 11px;
  }



  /* ── GAME PROFILE MEDIA: ISOLATED ── */
  .profile-media-copy { margin-bottom: 10px; }
  .profile-video-frame {
    width: 100%;
    min-height: 260px;
    aspect-ratio: 16 / 9;
    background: var(--nav-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin: 10px 0 12px;
  }
  .profile-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
  }
  .profile-media-subhead {
    font-size: 10px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 4px 0 8px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .profile-media-subhead i { font-size: 12px; color: var(--cyan); }
  .profile-shot-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin-top: 8px;
  }
  .profile-shot-card {
    height: 96px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;
    display: block;
  }
  .profile-shot-card:hover { border-color: var(--cyan); }
  @media (max-width: 760px) {
    .profile-video-frame { min-height: 190px; border-radius: 10px; }
    .profile-shot-row { grid-template-columns: 1fr; }
    .profile-shot-card { height: 160px; }
  }


  /* ── PROFILE IMAGE LIGHTBOX: ISOLATED ── */
  .profile-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(3, 7, 15, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
    z-index: 999;
  }
  .profile-lightbox.is-open { display: flex; }
  .profile-lightbox-inner {
    width: min(1060px, 96vw);
    height: min(680px, 88vh);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .profile-lightbox-figure {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: 100%;
  }
  .profile-lightbox-img {
    max-width: 100%;
    max-height: 88vh;
    object-fit: contain;
    display: block;
    border-radius: 12px;
    border: 1px solid rgba(36,49,73,0.72);
    background: #050913;
    box-shadow: 0 22px 80px rgba(0,0,0,0.58);
    user-select: none;
    -webkit-user-drag: none;
  }
  .profile-lightbox-close,
  .profile-lightbox-nav {
    position: absolute;
    border: 1px solid rgba(36,49,73,0.82);
    background: rgba(7,11,20,0.72);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: color .15s, border-color .15s, background .15s;
    z-index: 3;
  }
  .profile-lightbox-close {
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    font-size: 16px;
  }
  .profile-lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 54px;
    border-radius: 10px;
    font-size: 22px;
  }
  .profile-lightbox-prev { left: 10px; }
  .profile-lightbox-next { right: 10px; }
  .profile-lightbox-close:hover,
  .profile-lightbox-nav:hover {
    color: var(--cyan);
    border-color: rgba(56,189,248,0.65);
    background: rgba(13,21,37,0.9);
  }
  .profile-shot-card { cursor: zoom-in; }
  @media (max-width: 760px) {
    .profile-lightbox { padding: 12px; }
    .profile-lightbox-inner { width: 100%; height: 84vh; }
    .profile-lightbox-img { max-height: 84vh; }
    .profile-lightbox-close { top: 8px; right: 8px; width: 32px; height: 32px; }
    .profile-lightbox-nav { width: 34px; height: 48px; font-size: 20px; }
    .profile-lightbox-prev { left: 6px; }
    .profile-lightbox-next { right: 6px; }
  }

  /* ── GUIDE CARDS ── */
  .quick-answer-card {
    background: linear-gradient(135deg, rgba(56,189,248,0.10), rgba(167,139,250,0.06));
    border: 1px solid rgba(56,189,248,0.24);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 12px;
  }
  .quick-answer-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.75px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .quick-answer-text { font-size: 12px; color: #DCE8F8; line-height: 1.8; }
  .guide-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: rgba(13,21,37,0.35);
    margin-bottom: 10px;
  }
  .guide-table { width: 100%; border-collapse: collapse; min-width: 520px; }
  .guide-table th {
    font-size: 10px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 10px;
    background: var(--nav-bg);
    border-bottom: 1px solid var(--border);
    text-align: left;
  }
  .guide-table td {
    font-size: 12px;
    color: #C8D8EC;
    padding: 9px 10px;
    border-bottom: 1px solid var(--surface2);
    vertical-align: top;
  }
  .guide-table tr:last-child td { border-bottom: none; }
  .step-list { display: grid; gap: 8px; margin: 10px 0; }
  .step-item {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 10px;
    align-items: start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 10px 12px;
  }
  .step-n {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(56,189,248,0.10);
    border: 1px solid rgba(56,189,248,0.25);
    color: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
  }
  .step-title { font-size: 12px; color: #DCE8F8; font-weight: 700; margin-bottom: 3px; }
  .step-text { font-size: 11px; color: var(--muted); line-height: 1.7; }
  .guide-note {
    font-size: 11px;
    color: var(--muted);
    background: rgba(13,21,37,0.58);
    border: 1px solid var(--surface2);
    border-radius: 8px;
    padding: 9px 10px;
    line-height: 1.7;
    margin: 9px 0;
  }
  .inline-link { color: var(--cyan); font-weight: 600; }
  .inline-link:hover { text-decoration: underline; }


.site-brand-logo{width:22px;height:22px;object-fit:contain;display:block;flex:0 0 auto}.footer-logo .site-brand-logo{width:21px;height:21px}
