    :root {
      --accent-cyan: #11e6ff;
      --accent-orange: #f59e0b;
      --panel: #0d1627;
      --panel-2: #101c31;
      --glow: rgba(17, 230, 255, 0.25);
    }

    html,
    body {
      max-width: 100%;
      overflow-x: hidden;
    }

    body {
      background:
        radial-gradient(circle at top left, rgba(10, 132, 255, 0.1), transparent 36%),
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.08), transparent 35%),
        var(--bg);
      min-height: 100vh;
    }

    .page-wrap {
      max-width: 1500px;
      margin: 0 auto;
      padding: 14px 18px 28px;
    }

    .topbar {
      display: flex;
      align-items: center;
      gap: 14px;
      flex-wrap: wrap;
      padding: 10px 14px;
      border-radius: 14px;
      border: 1px solid var(--border);
      background: linear-gradient(180deg, rgba(15, 24, 42, 0.92), rgba(10, 16, 28, 0.92));
      backdrop-filter: blur(6px);
      margin-bottom: 14px;
    }

    .topbar .navbar-logo {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 42px;
      padding: 4px 0;
      color: #f8fafc;
      text-decoration: none;
      letter-spacing: 0;
    }

    .topbar .brand-mark {
      display: inline-grid;
      width: 34px;
      height: 34px;
      place-items: center;
      border-radius: 10px;
      background:
        radial-gradient(circle at 74% 24%, rgba(255, 255, 255, 0.28), transparent 21%),
        linear-gradient(135deg, #ff2d55 0%, #e11d48 48%, #0b0d10 100%);
      box-shadow: 0 0 0 1px rgba(255, 45, 85, 0.34), 0 10px 24px rgba(225, 29, 72, 0.26);
      color: #fff;
      font-size: 21px;
      font-weight: 700;
      line-height: 1;
    }

    .topbar .brand-word {
      display: inline-flex;
      align-items: baseline;
      gap: 1px;
      color: #fff;
      font-size: 24px;
      font-weight: 700;
      line-height: 1;
      text-transform: uppercase;
    }

    .topbar .brand-word span {
      color: #cbd5e1;
      font-size: 20px;
      font-weight: 700;
      text-transform: none;
    }

    .topbar .navbar-links {
      display: flex;
      align-items: center;
      gap: 16px;
      flex: 1;
      min-width: 280px;
    }

    .topbar .navbar-links a {
      font-size: 14px;
      color: #b7c6df;
      position: relative;
      padding: 6px 0;
    }

    .topbar .navbar-links a.active,
    .topbar .navbar-links a:hover {
      color: #e9f7ff;
    }

    .topbar .navbar-links a.active::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: -5px;
      height: 2px;
      border-radius: 999px;
      background: linear-gradient(90deg, var(--accent-cyan), #4cc9f0);
    }

    .search-box {
      display: flex;
      align-items: center;
      gap: 8px;
      flex: 1;
      min-width: 240px;
      max-width: 360px;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 999px;
      padding: 9px 12px;
      background: rgba(0, 0, 0, 0.28);
      position: relative;
    }

    .search-box input {
      background: transparent;
      border: none;
      color: var(--text-1);
      width: 100%;
      outline: none;
      font-size: 14px;
      font-family: 'Kanit', sans-serif;
    }

    .search-box button {
      border: none;
      background: transparent;
      color: #8ac7ff;
      cursor: pointer;
      font-size: 16px;
      line-height: 1;
      padding: 0;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .search-suggestions {
      position: absolute;
      left: 0;
      right: 0;
      top: calc(100% + 8px);
      border-radius: 14px;
      border: 1px solid rgba(148, 163, 184, 0.22);
      background: linear-gradient(180deg, rgba(14, 22, 36, 0.98), rgba(9, 15, 26, 0.98));
      box-shadow: 0 18px 34px rgba(0, 0, 0, 0.42);
      padding: 6px;
      z-index: 100;
    }

    .search-suggestions[hidden] {
      display: none;
    }

    .search-suggestion {
      display: grid;
      grid-template-columns: 34px minmax(0, 1fr);
      gap: 9px;
      align-items: center;
      padding: 7px;
      border-radius: 10px;
      color: #dbeafe;
      text-decoration: none;
    }

    .search-suggestion:hover,
    .search-suggestion:focus-visible {
      background: rgba(17, 230, 255, 0.09);
    }

    .search-suggestion-cover {
      width: 34px;
      aspect-ratio: 3 / 4;
      border-radius: 7px;
      overflow: hidden;
      background: linear-gradient(135deg, #26374f, #111d30);
    }

    .search-suggestion-cover img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      position: relative;
      z-index: 1;
    }

    .search-suggestion-title {
      font-size: 13px;
      font-weight: 700;
      color: #f3f8ff;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .search-suggestion-meta {
      margin-top: 2px;
      font-size: 11px;
      color: #93a9c7;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .coin-chip {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 14px;
      border-radius: 999px;
      border: 1px solid rgba(245, 158, 11, 0.35);
      color: #ffdd99;
      background: rgba(245, 158, 11, 0.12);
      font-weight: 700;
      font-size: 14px;
    }

    .navbar-auth {
      position: relative;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .user-menu-wrap {
      position: relative;
    }

    .user-trigger {
      width: 40px;
      height: 40px;
      border-radius: 999px;
      border: 2px solid rgba(17, 230, 255, 0.35);
      background: linear-gradient(135deg, #1f2d44, #0f1828);
      overflow: hidden;
      cursor: pointer;
      padding: 0;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #dff3ff;
      font-weight: 700;
      font-size: 13px;
    }

    .user-trigger img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .user-dropdown {
      position: absolute;
      top: calc(100% + 10px);
      right: 0;
      width: 284px;
      background: linear-gradient(180deg, #101824, #0c1320);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 14px;
      padding: 10px;
      box-shadow: 0 20px 32px rgba(0, 0, 0, 0.45);
      display: none;
      z-index: 50;
    }

    .user-dropdown.open {
      display: block;
    }

    .user-head {
      display: flex;
      gap: 10px;
      align-items: center;
      padding: 8px;
      border-radius: 10px;
      background: rgba(255, 255, 255, 0.03);
      margin-bottom: 8px;
    }

    .user-head-avatar {
      width: 34px;
      height: 34px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.18);
      overflow: hidden;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #dff0ff;
      font-size: 12px;
      font-weight: 700;
      background: linear-gradient(135deg, #253651, #172436);
    }

    .user-head-avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .user-head-name {
      margin: 0;
      font-size: 14px;
      color: #edf6ff;
      line-height: 1.3;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .user-head-email {
      margin: 2px 0 0;
      font-size: 12px;
      color: #96aeca;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .user-menu-list {
      display: grid;
      gap: 4px;
    }

    .user-menu-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      padding: 10px 10px;
      border-radius: 10px;
      color: #d6e6fb;
      text-decoration: none;
      font-size: 14px;
      border: 1px solid transparent;
      background: rgba(255, 255, 255, 0.01);
    }

    .user-menu-item:hover {
      background: rgba(17, 230, 255, 0.08);
      border-color: rgba(17, 230, 255, 0.2);
    }

    .user-menu-item .left {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-width: 0;
    }

    .user-menu-item .left span:last-child {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .user-menu-item .value {
      color: #ffd37e;
      font-weight: 700;
      font-size: 13px;
    }

    .user-menu-sep {
      height: 1px;
      background: rgba(255, 255, 255, 0.08);
      margin: 4px 2px;
    }

    .layout {
      display: grid;
      grid-template-columns: minmax(0, 2.3fr) 390px;
      gap: 14px;
      align-items: start;
    }

    .left-stack {
      display: grid;
      gap: 14px;
      min-width: 0;
    }

    .right-stack {
      display: block;
    }

    .panel {
      border: 1px solid rgba(93, 116, 157, 0.24);
      border-radius: 16px;
      background: linear-gradient(180deg, var(--panel), var(--panel-2));
      box-shadow: 0 12px 26px rgba(3, 8, 18, 0.55);
      min-width: 0;
    }

    .hero-panel {
      position: relative;
      display: grid;
      grid-template-columns: minmax(132px, 190px) minmax(0, 1fr);
      align-items: end;
      gap: 22px;
      padding: 24px;
      min-height: 360px;
      overflow: hidden;
      border-color: rgba(17, 230, 255, 0.25);
    }

    .home-status-strip {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 10px 12px;
      border-radius: 14px;
      border: 1px solid rgba(17, 230, 255, 0.18);
      background: linear-gradient(135deg, rgba(17, 230, 255, 0.08), rgba(245, 158, 11, 0.06));
      color: #b8cbe4;
      font-size: 12px;
    }

    .home-status-main {
      display: flex;
      align-items: center;
      gap: 8px;
      min-width: 0;
      flex-wrap: wrap;
    }

    .home-status-dot {
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: #f59e0b;
      box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
    }

    .home-status-strip.is-ready .home-status-dot {
      background: #22c55e;
      box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
    }

    .home-status-strip.is-error .home-status-dot {
      background: #ef4444;
      box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
    }

    .home-status-action {
      border: 1px solid rgba(17, 230, 255, 0.32);
      background: rgba(17, 230, 255, 0.08);
      color: #9ff7ff;
      border-radius: 999px;
      padding: 6px 10px;
      font: inherit;
      font-weight: 700;
      cursor: pointer;
      white-space: nowrap;
    }

    .update-toast {
      position: fixed;
      right: 18px;
      bottom: 18px;
      z-index: 130;
      display: none;
      align-items: center;
      gap: 10px;
      max-width: min(420px, calc(100vw - 28px));
      padding: 12px;
      border: 1px solid rgba(17, 230, 255, 0.28);
      border-radius: 16px;
      background: rgba(10, 15, 26, 0.96);
      box-shadow: 0 18px 44px rgba(0, 0, 0, 0.36);
      color: #dbeafe;
    }

    .update-toast.is-visible {
      display: flex;
    }

    .update-toast strong {
      display: block;
      font-size: 13px;
      color: #f4fbff;
    }

    .update-toast span {
      display: block;
      margin-top: 2px;
      font-size: 12px;
      color: #9fb4d0;
    }

    .update-toast button {
      flex-shrink: 0;
      border: 0;
      border-radius: 999px;
      padding: 8px 12px;
      background: linear-gradient(135deg, #22d3ee, #34d399);
      color: #04111f;
      font: inherit;
      font-weight: 700;
      cursor: pointer;
    }

    .quick-continue {
      display: none;
      padding: 12px;
      gap: 10px;
    }

    .quick-continue.is-visible {
      display: grid;
    }

    .quick-continue-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }

    .quick-continue-head h2 {
      margin: 0;
      font-size: 18px;
      color: #e9f6ff;
    }

    .quick-continue-list {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 10px;
    }

    .quick-link {
      border: 1px solid rgba(17, 230, 255, 0.28);
      background: rgba(17, 230, 255, 0.08);
      border-radius: 999px;
      padding: 6px 10px;
      color: #8de9ff;
      font-size: 12px;
      font-weight: 700;
      font-family: 'Kanit', sans-serif;
      cursor: pointer;
    }

    .hero-bg {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center;
      filter: brightness(0.58) saturate(1.2);
      transform: scale(1.04);
    }

    .hero-overlay {
      position: absolute;
      inset: 0;
      background:
        linear-gradient(90deg, rgba(6, 16, 28, 0.9) 0%, rgba(6, 16, 28, 0.68) 38%, rgba(6, 16, 28, 0.35) 100%),
        linear-gradient(180deg, transparent, rgba(6, 10, 18, 0.65));
    }

    .hero-content {
      position: relative;
      z-index: 1;
      min-width: 0;
      height: auto;
      display: flex;
      flex-direction: column;
      justify-content: end;
      gap: 10px;
    }

    .hero-cover-card {
      position: relative;
      z-index: 1;
      width: 100%;
      max-width: 190px;
      aspect-ratio: 3 / 4;
      align-self: end;
      overflow: hidden;
      border-radius: 14px;
      border: 1px solid rgba(255, 255, 255, 0.18);
      background: linear-gradient(135deg, #1c3148, #111827);
      box-shadow: 0 18px 40px rgba(0, 0, 0, 0.36);
    }

    .hero-cover-card img {
      position: relative;
      z-index: 1;
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .hero-badge {
      align-self: flex-start;
      font-size: 12px;
      letter-spacing: .03em;
      padding: 6px 10px;
      border-radius: 999px;
      border: 1px solid rgba(17, 230, 255, 0.42);
      background: rgba(17, 230, 255, 0.14);
      color: #9ff7ff;
      font-weight: 600;
    }

    .hero-title {
      --hero-title-preferred-size: 52px;
      --hero-title-min-size: 24px;
      font-size: var(--hero-title-fit-size, var(--hero-title-preferred-size));
      font-weight: 700;
      line-height: 1.02;
      margin: 0;
      color: #eff8ff;
      width: 100%;
      max-width: 100%;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: clip;
      overflow-wrap: normal;
      word-break: normal;
      letter-spacing: 0;
      text-shadow: 0 12px 26px rgba(0, 0, 0, 0.45);
    }

    .hero-desc {
      max-width: 70ch;
      color: #c2d4ea;
      font-size: 15px;
      line-height: 1.5;
    }

    .hero-meta {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
      color: #c9dcf3;
      font-size: 12px;
    }

    .hero-meta span {
      display: inline-flex;
      align-items: center;
      min-height: 28px;
      border-radius: 999px;
      padding: 5px 10px;
      border: 1px solid rgba(255, 255, 255, 0.16);
      background: rgba(6, 12, 22, 0.5);
      white-space: nowrap;
    }

    .hero-actions {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin-top: 4px;
    }

    .btn-cyan {
      border: 1px solid rgba(17, 230, 255, 0.55);
      background: rgba(17, 230, 255, 0.14);
      color: #b7fcff;
      padding: 10px 18px;
      border-radius: 10px;
      font-weight: 700;
      cursor: pointer;
    }

    .btn-dark {
      border: 1px solid rgba(255, 255, 255, 0.2);
      background: rgba(8, 12, 21, 0.56);
      color: #d4dff1;
      padding: 10px 18px;
      border-radius: 10px;
      font-weight: 600;
      cursor: pointer;
    }

    .tags {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin-top: 4px;
    }

    .tag {
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 999px;
      font-size: 12px;
      color: #c4d2e8;
      padding: 4px 10px;
      background: rgba(0, 0, 0, 0.25);
    }

    .home-genre-chips {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      padding: 0 12px 12px;
    }

    .home-genre-chip {
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.045);
      color: #c8dcf5;
      padding: 7px 11px;
      font: inherit;
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
      white-space: nowrap;
      transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
    }

    .home-genre-chip:hover,
    .home-genre-chip.active {
      border-color: rgba(34, 211, 238, 0.48);
      background: rgba(34, 211, 238, 0.12);
      color: #a8fbff;
    }

    .block-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
      padding: 14px 16px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .block-head h2 {
      font-size: 24px;
      margin: 0;
      color: #e9f6ff;
    }

    .block-head p {
      margin: 0;
      color: #9fb4d0;
      font-size: 13px;
    }

    .block-head a {
      font-size: 13px;
      color: #8de9ff;
      border: 1px solid rgba(17, 230, 255, 0.35);
      border-radius: 999px;
      padding: 6px 11px;
    }

    .card-row {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
      gap: 10px;
      padding: 12px;
      min-width: 0;
    }

    .all-series-grid {
      grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .all-series-grid .unlock-body {
      padding: 8px;
      gap: 5px;
    }

    .all-series-grid .unlock-title {
      font-size: 14px;
    }

    .all-series-grid .unlock-title.is-long {
      font-size: 12.5px;
    }

    .all-series-grid .unlock-translator {
      gap: 6px;
      min-height: 20px;
    }

    .all-series-grid .unlock-avatar {
      width: 20px;
      height: 20px;
    }

    .all-series-grid .unlock-translator-name {
      font-size: 12px;
    }

    .all-series-grid .unlock-meta {
      display: grid;
      gap: 2px;
      font-size: 11px;
    }

    .card-row.continue-mode {
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .latest-chapter-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 10px;
      padding: 10px 12px 12px;
      min-width: 0;
    }

    .latest-chapter-card {
      display: grid;
      grid-template-columns: 58px minmax(0, 1fr);
      gap: 10px;
      min-height: 86px;
      align-items: center;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 10px;
      padding: 8px;
      background: rgba(255, 255, 255, 0.035);
      color: inherit;
      overflow: hidden;
      transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
    }

    .latest-chapter-card:hover {
      transform: translateY(-1px);
      border-color: rgba(34, 211, 238, 0.4);
      background: rgba(34, 211, 238, 0.07);
    }

    .latest-chapter-cover {
      width: 58px;
      min-width: 58px;
      aspect-ratio: 3 / 4;
      border-radius: 8px;
      overflow: hidden;
      background: linear-gradient(135deg, #27384d, #132237);
      border: 1px solid rgba(255, 255, 255, 0.12);
    }

    .latest-chapter-cover img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      position: relative;
      z-index: 1;
    }

    .latest-chapter-info {
      min-width: 0;
      max-width: 100%;
      display: grid;
      gap: 3px;
      overflow: hidden;
    }

    .latest-chapter-series {
      color: #f1f7ff;
      font-size: 15px;
      font-weight: 700;
      line-height: 1.25;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .latest-chapter-title {
      color: #ffd166;
      font-size: 12px;
      font-weight: 700;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .latest-chapter-meta {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 2px;
      align-items: center;
      color: #98abc7;
      font-size: 10.5px;
      min-width: 0;
      overflow: hidden;
    }

    .latest-chapter-meta span {
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .chapter-price-pill {
      border-radius: 999px;
      padding: 2px 8px;
      background: rgba(34, 197, 94, 0.12);
      color: #86efac;
      border: 1px solid rgba(34, 197, 94, 0.22);
      font-weight: 700;
    }

    .chapter-price-pill.is-premium {
      background: rgba(245, 158, 11, 0.12);
      color: #fde68a;
      border-color: rgba(245, 158, 11, 0.28);
    }

    .creator-box {
      display: grid;
      gap: 4px;
      margin-top: 12px;
      padding: 12px;
      border-radius: 14px;
      border: 1px solid rgba(17, 230, 255, 0.18);
      background: linear-gradient(135deg, rgba(17, 230, 255, 0.08), rgba(168, 85, 247, 0.08));
      color: #dbeafe;
    }

    .creator-box strong {
      color: #f3f8ff;
      font-size: 15px;
    }

    .creator-box span {
      color: #9fb4d0;
      font-size: 12px;
    }

    .creator-box.success {
      border-color: rgba(34, 197, 94, 0.26);
      background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(17, 230, 255, 0.07));
    }

    .skeleton-card {
      min-height: 220px;
      border-radius: 12px;
      background:
        linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.1), rgba(255,255,255,0.04)),
        rgba(255, 255, 255, 0.035);
      background-size: 220% 100%;
      animation: skeletonPulse 1.2s ease-in-out infinite;
      border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .latest-chapter-grid .skeleton-card {
      min-height: 98px;
    }

    .home-empty-state {
      display: grid;
      gap: 8px;
      align-content: center;
      min-height: 110px;
      padding: 16px;
      border-radius: 12px;
      border: 1px dashed rgba(148, 163, 184, 0.24);
      color: #a9b9d1;
      background: rgba(255, 255, 255, 0.025);
      grid-column: 1 / -1;
    }

    .home-empty-state strong {
      color: #eaf3ff;
      font-size: 15px;
    }

    @keyframes skeletonPulse {
      0% { background-position: 120% 0; }
      100% { background-position: -120% 0; }
    }

    .tab-switch {
      display: inline-flex;
      gap: 6px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 999px;
      padding: 4px;
    }

    .tab-btn {
      border: none;
      border-radius: 999px;
      background: transparent;
      color: #b6c8e1;
      font-size: 13px;
      font-weight: 600;
      padding: 7px 12px;
      cursor: pointer;
    }

    .tab-btn.active {
      background: rgba(17, 230, 255, 0.14);
      color: #9df8ff;
      box-shadow: inset 0 0 0 1px rgba(17, 230, 255, 0.35);
    }

    .unlock-card {
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: 12px;
      overflow: hidden;
      background: rgba(10, 15, 26, 0.8);
      display: flex;
      flex-direction: column;
      min-width: 0;
      transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    }

    .unlock-card:hover {
      transform: translateY(-2px);
      border-color: rgba(17, 230, 255, 0.35);
      box-shadow: 0 10px 20px rgba(5, 16, 29, 0.45);
    }

    .unlock-cover {
      aspect-ratio: 3/4;
      width: 100%;
      background: linear-gradient(130deg, #18324d, #0d233b);
      overflow: hidden;
      position: relative;
    }

    .unlock-cover img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      position: relative;
      z-index: 1;
    }

    .unlock-cover-badge {
      position: absolute;
      left: 8px;
      bottom: 8px;
      z-index: 2;
      max-width: calc(100% - 16px);
      border-radius: 999px;
      padding: 4px 8px;
      background: rgba(0, 0, 0, 0.7);
      color: #fff;
      font-size: 10.5px;
      font-weight: 700;
      line-height: 1;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      backdrop-filter: blur(8px);
    }

    .cover-fallback {
      position: absolute;
      inset: 0;
      display: grid;
      place-items: center;
      padding: 8px;
      background:
        radial-gradient(circle at 35% 20%, rgba(34, 211, 238, 0.18), transparent 34%),
        linear-gradient(135deg, #1c3148, #111827);
      color: #9defff;
      font-size: 18px;
      font-weight: 700;
      letter-spacing: 0;
      text-align: center;
    }

    .latest-chapter-cover,
    .continue-mini-cover,
    .hot-board-cover,
    .search-suggestion-cover {
      position: relative;
    }

    .latest-chapter-cover .cover-fallback,
    .search-suggestion-cover .cover-fallback {
      font-size: 12px;
    }

    .continue-mini-cover .cover-fallback,
    .hot-board-cover .cover-fallback {
      font-size: 14px;
    }

    .unlock-body {
      padding: 10px;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .unlock-title {
      font-size: 16px;
      line-height: 1.2;
      color: #ecf4ff;
      margin: 0;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .unlock-title.is-long {
      font-size: 14px;
    }

    .unlock-translator {
      display: flex;
      align-items: center;
      gap: 8px;
      min-height: 22px;
    }

    .unlock-avatar {
      width: 22px;
      height: 22px;
      border-radius: 999px;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.2);
      background: linear-gradient(135deg, #303f5b, #1e293b);
      flex-shrink: 0;
    }

    .unlock-avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .unlock-translator-name {
      color: #c084fc;
      font-size: 13px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .unlock-stats {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      color: #a7bddc;
      font-size: 12px;
    }

    .unlock-stat {
      display: inline-flex;
      align-items: center;
      gap: 5px;
    }

    .unlock-stat-star {
      color: #facc15;
      font-weight: 700;
    }

    .unlock-meta {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 8px;
      color: #94aacc;
      font-size: 12px;
      margin-top: 1px;
    }

    .unlock-status-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 6px;
      min-width: 0;
    }

    .unlock-status {
      min-width: 0;
      border-radius: 999px;
      padding: 3px 8px;
      color: #86efac;
      background: rgba(34, 197, 94, 0.12);
      border: 1px solid rgba(34, 197, 94, 0.18);
      font-size: 10.5px;
      font-weight: 700;
      line-height: 1.1;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .unlock-status.done {
      color: #93c5fd;
      background: rgba(59, 130, 246, 0.12);
      border-color: rgba(59, 130, 246, 0.22);
    }

    .unlock-status.hiatus {
      color: #fde68a;
      background: rgba(245, 158, 11, 0.12);
      border-color: rgba(245, 158, 11, 0.24);
    }

    .unlock-genre {
      min-width: 0;
      color: #94aacc;
      font-size: 11px;
      font-weight: 700;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .continue-mini-card {
      display: grid;
      grid-template-columns: 62px minmax(0, 1fr);
      align-items: center;
      gap: 10px;
      border: 1px solid rgba(255, 209, 104, 0.45);
      border-radius: 12px;
      padding: 8px;
      background: linear-gradient(135deg, rgba(35, 41, 58, 0.94), rgba(24, 29, 43, 0.94));
      min-height: 92px;
      min-width: 0;
      color: inherit;
      text-decoration: none;
    }

    .continue-mini-cover {
      width: 62px;
      aspect-ratio: 3/4;
      border-radius: 8px;
      overflow: hidden;
      background: linear-gradient(120deg, #2a3043, #191f2e);
      flex-shrink: 0;
    }

    .continue-mini-cover img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      position: relative;
      z-index: 1;
    }

    .continue-mini-info {
      min-width: 0;
      display: grid;
      gap: 4px;
      align-content: center;
    }

    .continue-mini-title {
      font-size: 14px;
      font-weight: 700;
      color: #eaf3ff;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .continue-mini-chapter {
      font-size: 13px;
      color: #ffd166;
      font-weight: 700;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .continue-mini-time {
      font-size: 12px;
      color: #93a9c7;
      line-height: 1.25;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .continue-strip {
      padding: 12px 14px;
      display: flex;
      flex-wrap: wrap;
      gap: 9px;
    }

    .continue-pill {
      border: 1px solid rgba(255, 255, 255, 0.16);
      border-radius: 999px;
      color: #c4d2e6;
      padding: 8px 12px;
      font-size: 12px;
      background: rgba(0, 0, 0, 0.22);
      min-width: 0;
    }

    .hot-board {
      padding: 14px;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 14px;
      background: linear-gradient(180deg, rgba(14, 21, 34, 0.98), rgba(9, 14, 24, 0.98));
      box-shadow: 0 14px 30px rgba(2, 8, 16, 0.6);
    }

    .hot-board-head {
      margin-bottom: 12px;
    }

    .hot-board-title {
      margin: 0;
      font-size: 38px;
      letter-spacing: -0.01em;
      color: #f1f7ff;
      line-height: 1;
    }

    .hot-board-sub {
      margin: 8px 0 0;
      color: #99afcc;
      font-size: 12px;
    }

    .hot-board-tabs {
      display: inline-flex;
      gap: 6px;
      margin-bottom: 12px;
      padding: 4px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.12);
      background: rgba(255, 255, 255, 0.04);
    }

    .hot-tab-btn {
      border: none;
      border-radius: 999px;
      background: transparent;
      color: #c5d4e9;
      padding: 6px 12px;
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
      font-family: 'Kanit', sans-serif;
    }

    .hot-tab-btn.active {
      background: rgba(168, 85, 247, 0.25);
      color: #f2e8ff;
      box-shadow: inset 0 0 0 1px rgba(192, 132, 252, 0.45);
    }

    .hot-board-list {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      gap: 8px;
    }

    .hot-board-item {
      display: grid;
      grid-template-columns: 24px 58px minmax(0, 1fr);
      gap: 10px;
      align-items: center;
      padding: 8px;
      border-radius: 10px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(255, 255, 255, 0.03);
      color: inherit;
      transition: border-color 0.16s ease, transform 0.16s ease, background 0.16s ease;
    }

    .hot-board-item:hover {
      border-color: rgba(167, 139, 250, 0.5);
      background: rgba(168, 85, 247, 0.08);
      transform: translateY(-1px);
    }

    .hot-board-no {
      text-align: center;
      font-size: 24px;
      color: #ffffff;
      font-weight: 700;
      line-height: 1;
      font-family: 'Kanit', sans-serif;
    }

    .hot-board-cover {
      width: 58px;
      aspect-ratio: 3 / 4;
      border-radius: 8px;
      overflow: hidden;
      background: linear-gradient(140deg, #27384d, #1a2638);
      border: 1px solid rgba(255, 255, 255, 0.12);
      flex-shrink: 0;
    }

    .hot-board-cover img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      position: relative;
      z-index: 1;
    }

    .hot-board-main {
      min-width: 0;
      display: grid;
      gap: 2px;
    }

    .hot-board-name {
      margin: 0;
      font-size: 16px;
      line-height: 1.25;
      color: #f5f9ff;
      font-weight: 700;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .hot-board-meta {
      margin: 0;
      font-size: 12px;
      color: #a4b7d1;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .hot-board-translator {
      margin: 0;
      font-size: 13px;
      color: #d8a7ff;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .hot-board-foot {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 8px;
      margin-top: 2px;
      font-size: 12px;
    }

    .hot-board-rate {
      color: #ffc94c;
      font-weight: 700;
      white-space: nowrap;
    }

    .hot-board-views {
      color: #9ec9ff;
      white-space: nowrap;
    }

    .hot-board-empty {
      padding: 10px 12px;
      border-radius: 10px;
      border: 1px dashed rgba(255, 255, 255, 0.18);
      color: #9fb1cb;
      font-size: 13px;
      text-align: center;
    }

    [data-theme="light"] {
      --accent-cyan: #008fb3;
      --accent-orange: #d97706;
      --panel: #ffffff;
      --panel-2: #f7fbff;
      --glow: rgba(14, 165, 233, 0.18);
    }

    [data-theme="light"] body {
      background:
        radial-gradient(circle at 8% 0%, rgba(14, 165, 233, 0.16), transparent 34%),
        radial-gradient(circle at 92% 5%, rgba(245, 158, 11, 0.13), transparent 30%),
        linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%);
    }

    [data-theme="light"] .topbar {
      background: rgba(255, 255, 255, 0.86);
      border-color: rgba(30, 64, 105, 0.14);
      box-shadow: 0 18px 42px rgba(30, 64, 105, 0.12);
      backdrop-filter: blur(16px);
    }

    [data-theme="light"] .topbar .navbar-links a {
      color: #516882;
    }

    [data-theme="light"] .topbar .navbar-links a.active,
    [data-theme="light"] .topbar .navbar-links a:hover,
    [data-theme="light"] .navbar-logo {
      color: #102238;
    }

    [data-theme="light"] .search-box {
      background: #ffffff;
      border-color: rgba(30, 64, 105, 0.16);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 24px rgba(30, 64, 105, 0.08);
    }

    [data-theme="light"] .search-box button {
      color: #0284c7;
    }

    [data-theme="light"] .search-suggestions {
      background: linear-gradient(180deg, #ffffff, #f5fbff);
      border-color: rgba(30, 64, 105, 0.14);
      box-shadow: 0 18px 36px rgba(30, 64, 105, 0.14);
    }

    [data-theme="light"] .search-suggestion {
      color: #122033;
    }

    [data-theme="light"] .search-suggestion:hover,
    [data-theme="light"] .search-suggestion:focus-visible {
      background: #eaf8ff;
    }

    [data-theme="light"] .search-suggestion-title {
      color: #122033;
    }

    [data-theme="light"] .search-suggestion-meta {
      color: #6b7f99;
    }

    [data-theme="light"] .coin-chip {
      color: #8a4b00;
      background: #fff6dc;
      border-color: rgba(217, 119, 6, 0.28);
      box-shadow: 0 8px 22px rgba(217, 119, 6, 0.12);
    }

    [data-theme="light"] .bell-btn {
      color: #334155;
    }

    [data-theme="light"] .user-trigger,
    [data-theme="light"] .user-head-avatar {
      background: linear-gradient(135deg, #e6f6ff, #ffffff);
      border-color: rgba(14, 165, 233, 0.38);
      color: #0f2745;
      box-shadow: 0 10px 24px rgba(14, 165, 233, 0.12);
    }

    [data-theme="light"] .user-dropdown {
      background: linear-gradient(180deg, #ffffff, #f6fbff);
      border-color: rgba(30, 64, 105, 0.14);
      box-shadow: 0 22px 44px rgba(30, 64, 105, 0.16);
    }

    [data-theme="light"] .user-head,
    [data-theme="light"] .user-menu-item {
      background: rgba(241, 248, 255, 0.86);
      border-color: rgba(30, 64, 105, 0.08);
    }

    [data-theme="light"] .user-head-name,
    [data-theme="light"] .user-menu-item {
      color: #122033;
    }

    [data-theme="light"] .user-head-email {
      color: #6b7f99;
    }

    [data-theme="light"] .user-menu-item:hover {
      background: #e9f8ff;
      border-color: rgba(14, 165, 233, 0.28);
    }

    [data-theme="light"] .user-menu-sep {
      background: rgba(30, 64, 105, 0.1);
    }

    [data-theme="light"] .panel,
    [data-theme="light"] .hot-board {
      background: linear-gradient(180deg, #ffffff, #f7fbff);
      border-color: rgba(30, 64, 105, 0.14);
      box-shadow: 0 18px 42px rgba(30, 64, 105, 0.12);
    }

    [data-theme="light"] .hero-panel {
      border-color: rgba(14, 165, 233, 0.24);
      background: linear-gradient(135deg, #eaf8ff, #fff8e8);
    }

    [data-theme="light"] .hero-bg {
      filter: brightness(0.88) saturate(1.05);
    }

    [data-theme="light"] .hero-overlay {
      background:
        linear-gradient(90deg, rgba(248, 252, 255, 0.96) 0%, rgba(248, 252, 255, 0.78) 36%, rgba(248, 252, 255, 0.28) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(238, 246, 255, 0.76));
    }

    [data-theme="light"] .hero-badge {
      background: rgba(14, 165, 233, 0.12);
      border-color: rgba(14, 165, 233, 0.28);
      color: #036985;
    }

    [data-theme="light"] .hero-title {
      color: #102238;
      text-shadow: 0 8px 22px rgba(255, 255, 255, 0.68);
    }

    [data-theme="light"] .hero-desc,
    [data-theme="light"] .block-head p,
    [data-theme="light"] .unlock-meta,
    [data-theme="light"] .unlock-stats,
    [data-theme="light"] .continue-mini-time,
    [data-theme="light"] .hot-board-sub,
    [data-theme="light"] .hot-board-meta {
      color: #60758f;
    }

    [data-theme="light"] .btn-cyan {
      background: linear-gradient(135deg, #0ea5e9, #22d3ee);
      border-color: transparent;
      color: #ffffff;
      box-shadow: 0 12px 24px rgba(14, 165, 233, 0.22);
    }

    [data-theme="light"] .btn-dark {
      background: #ffffff;
      border-color: rgba(30, 64, 105, 0.18);
      color: #25435f;
      box-shadow: 0 10px 22px rgba(30, 64, 105, 0.08);
    }

    [data-theme="light"] .tag,
    [data-theme="light"] .continue-pill {
      background: rgba(255, 255, 255, 0.72);
      border-color: rgba(30, 64, 105, 0.16);
      color: #405a78;
    }

    [data-theme="light"] .home-status-strip {
      background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(245, 158, 11, 0.08));
      border-color: rgba(14, 165, 233, 0.2);
      color: #516882;
    }

    [data-theme="light"] .home-status-action,
    [data-theme="light"] .quick-link {
      color: #036985;
      background: #f0fbff;
      border-color: rgba(14, 165, 233, 0.28);
    }

    [data-theme="light"] .update-toast {
      background: rgba(255, 255, 255, 0.96);
      border-color: rgba(14, 165, 233, 0.22);
      box-shadow: 0 18px 44px rgba(30, 64, 105, 0.16);
      color: #122033;
    }

    [data-theme="light"] .update-toast strong {
      color: #122033;
    }

    [data-theme="light"] .update-toast span {
      color: #60758f;
    }

    [data-theme="light"] .block-head {
      border-bottom-color: rgba(30, 64, 105, 0.1);
    }

    [data-theme="light"] .block-head h2,
    [data-theme="light"] .hot-board-title,
    [data-theme="light"] .hot-board-name,
    [data-theme="light"] .unlock-title,
    [data-theme="light"] .continue-mini-title {
      color: #122033;
    }

    [data-theme="light"] .block-head a {
      color: #036985;
      border-color: rgba(14, 165, 233, 0.32);
      background: #f0fbff;
    }

    [data-theme="light"] .tab-switch,
    [data-theme="light"] .hot-board-tabs {
      background: #eef6ff;
      border-color: rgba(30, 64, 105, 0.13);
    }

    [data-theme="light"] .tab-btn,
    [data-theme="light"] .hot-tab-btn {
      color: #526b89;
    }

    [data-theme="light"] .tab-btn.active {
      background: #dff7ff;
      color: #036985;
      box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.28);
    }

    [data-theme="light"] .hot-tab-btn.active {
      background: #efe6ff;
      color: #6d28d9;
      box-shadow: inset 0 0 0 1px rgba(109, 40, 217, 0.2);
    }

    [data-theme="light"] .unlock-card,
    [data-theme="light"] .continue-mini-card,
    [data-theme="light"] .hot-board-item,
    [data-theme="light"] .latest-chapter-card {
      background: #ffffff;
      border-color: rgba(30, 64, 105, 0.13);
      box-shadow: 0 12px 26px rgba(30, 64, 105, 0.08);
    }

    [data-theme="light"] .unlock-card:hover,
    [data-theme="light"] .hot-board-item:hover,
    [data-theme="light"] .latest-chapter-card:hover {
      background: #f2fbff;
      border-color: rgba(14, 165, 233, 0.32);
      box-shadow: 0 16px 32px rgba(14, 165, 233, 0.14);
    }

    [data-theme="light"] .unlock-cover,
    [data-theme="light"] .continue-mini-cover,
    [data-theme="light"] .hot-board-cover,
    [data-theme="light"] .latest-chapter-cover,
    [data-theme="light"] .search-suggestion-cover {
      background: linear-gradient(140deg, #dff4ff, #fff0c6);
      border-color: rgba(30, 64, 105, 0.12);
    }

    [data-theme="light"] .cover-fallback {
      background:
        radial-gradient(circle at 35% 20%, rgba(14, 165, 233, 0.16), transparent 34%),
        linear-gradient(135deg, #dff4ff, #fff7db);
      color: #036985;
    }

    [data-theme="light"] .unlock-avatar {
      background: linear-gradient(135deg, #d9f3ff, #ffffff);
      border-color: rgba(30, 64, 105, 0.14);
    }

    [data-theme="light"] .unlock-translator-name,
    [data-theme="light"] .hot-board-translator {
      color: #7c3aed;
    }

    [data-theme="light"] .hot-board-no {
      color: #22354f;
    }

    [data-theme="light"] .hot-board-views {
      color: #2563eb;
    }

    [data-theme="light"] .hot-board-empty {
      color: #6b7f99;
      border-color: rgba(30, 64, 105, 0.18);
      background: #f8fbff;
    }

    [data-theme="light"] .quick-continue-head h2,
    [data-theme="light"] .latest-chapter-series,
    [data-theme="light"] .home-empty-state strong,
    [data-theme="light"] .creator-box strong {
      color: #122033;
    }

    [data-theme="light"] .latest-chapter-title {
      color: #b45309;
    }

    [data-theme="light"] .latest-chapter-meta,
    [data-theme="light"] .creator-box span,
    [data-theme="light"] .home-empty-state {
      color: #60758f;
    }

    [data-theme="light"] .creator-box {
      background: linear-gradient(135deg, #eefbff, #f7f0ff);
      border-color: rgba(14, 165, 233, 0.16);
      color: #122033;
    }

    [data-theme="light"] .creator-box.success {
      background: linear-gradient(135deg, #ecfdf3, #eefbff);
      border-color: rgba(34, 197, 94, 0.18);
    }

    [data-theme="light"] .home-empty-state,
    [data-theme="light"] .skeleton-card {
      background-color: #f8fbff;
      border-color: rgba(30, 64, 105, 0.13);
    }

    .bell-btn {
      position: relative;
      background: none;
      border: none;
      cursor: pointer;
      font-size: 20px;
      padding: 4px;
      display: flex;
      align-items: center;
      color: #d2e8ff;
    }

    #noti-badge {
      position: absolute;
      top: -4px;
      right: -4px;
      background: #ec4899;
      color: #fff;
      border-radius: 999px;
      font-size: 10px;
      font-weight: 700;
      min-width: 18px;
      height: 18px;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 0 4px;
    }

    @media (max-width: 1280px) {
      .layout {
        grid-template-columns: 1fr;
      }

      .card-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }

      .all-series-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
      }

      .hot-board {
        margin-top: 0;
      }
    }

    @media (max-width: 880px) {
      .topbar {
        padding: 10px;
        position: sticky;
        top: 8px;
        z-index: 80;
      }

      .topbar .navbar-links {
        order: 3;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
      }

      .search-box {
        max-width: none;
        order: 2;
        min-width: min(100%, 260px);
      }

      .search-suggestions {
        left: -2px;
        right: -2px;
      }

      .hero-panel {
        grid-template-columns: minmax(112px, 150px) minmax(0, 1fr);
        gap: 16px;
        padding: 18px;
        min-height: 300px;
      }

      .hero-title {
        --hero-title-preferred-size: 42px;
        --hero-title-min-size: 20px;
      }

      .card-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .all-series-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }

      .hot-board-title {
        font-size: 32px;
      }
    }

    @media (max-width: 560px) {
      body {
        background:
          radial-gradient(circle at 50% -12%, rgba(34,211,238,0.16), transparent 34%),
          var(--bg);
      }

      .page-wrap {
        padding: 10px 10px 18px;
      }

      .topbar {
        position: sticky;
        top: 0;
        z-index: 90;
        margin: -10px -10px 12px;
        padding: 9px 12px 10px;
        gap: 7px;
        border-radius: 0 0 16px 16px;
        border-left: 0;
        border-right: 0;
      }

      .topbar .navbar-links,
      .coin-chip,
      .navbar-auth .btn-outline {
        display: none;
      }

      .navbar-logo {
        font-size: 20px;
      }

      .navbar-auth {
        margin-left: auto;
        width: auto;
        justify-content: flex-end;
        gap: 6px;
        overflow: visible;
      }

      .search-box {
        order: 4;
        width: 100%;
        flex: 1 0 100%;
        min-width: 0;
        padding: 7px 10px;
      }

      .layout {
        gap: 12px;
      }

      .home-status-strip {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
      }

      .home-status-action {
        width: 100%;
      }

      .main-stack {
        gap: 12px;
      }

      .hero-panel {
        grid-template-columns: 92px minmax(0, 1fr);
        align-items: center;
        gap: 10px;
        padding: 12px;
        min-height: clamp(210px, 32vh, 260px);
        border-radius: 18px;
      }

      .hero-cover-card {
        max-width: 92px;
        aspect-ratio: 3 / 4;
        height: auto;
        min-height: 0;
        border-radius: 12px;
        align-self: center;
      }

      .hero-overlay {
        background:
          linear-gradient(90deg, rgba(2,6,23,0.88) 0%, rgba(2,6,23,0.68) 52%, rgba(2,6,23,0.56) 100%),
          linear-gradient(180deg, rgba(2,6,23,0.06) 0%, rgba(2,6,23,0.74) 100%);
      }

      .hero-content {
        min-height: 0;
        align-items: flex-start;
        justify-content: center;
        text-align: left;
        gap: 7px;
      }

      .hero-badge {
        align-self: flex-start;
        padding: 5px 10px;
        font-size: 11px;
      }

      .hero-title {
        max-width: none;
        --hero-title-preferred-size: 28px;
        --hero-title-min-size: 16px;
        line-height: 1.08;
      }

      .hero-desc {
        max-width: none;
        font-size: 11.5px;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
      }

      .hero-meta {
        gap: 5px;
      }

      .hero-meta span {
        min-height: 24px;
        max-width: 100%;
        padding: 4px 8px;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      .hero-actions {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
      }

      .btn-cyan,
      .btn-dark {
        justify-content: center;
        padding: 10px 8px;
        border-radius: 14px;
      }

      .tags {
        justify-content: flex-start;
      }

      .tag {
        font-size: 11px;
        padding: 3px 8px;
      }

      .update-toast {
        left: 10px;
        right: 10px;
        bottom: calc(72px + env(safe-area-inset-bottom));
        max-width: none;
        padding: 10px;
      }

      .update-toast button {
        padding: 8px 10px;
      }

      .panel:not(.hero-panel) {
        border: 0;
        background: transparent;
        box-shadow: none;
      }

      .block-head {
        display: block;
        padding: 10px 0 12px;
        border-bottom: 0;
      }

      .block-head h2 {
        font-size: 22px;
      }

      .block-head p {
        margin-top: 2px;
        font-size: 12px;
      }

      .block-head > div[style] {
        margin-top: 10px;
        overflow-x: auto;
        scrollbar-width: none;
      }

      .block-head > div[style]::-webkit-scrollbar {
        display: none;
      }

      .card-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding: 0 0 8px;
      }

      .all-series-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
      }

      .card-row.continue-mode {
        grid-template-columns: 1fr;
      }

      .quick-continue {
        padding: 10px 0 4px;
      }

      .quick-continue-head {
        padding: 0 2px;
      }

      .quick-continue-list {
        grid-template-columns: 1fr;
        padding: 0 0 8px;
      }

      .home-genre-chips {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 0 0 10px;
        scrollbar-width: none;
      }

      .home-genre-chips::-webkit-scrollbar {
        display: none;
      }

      .latest-chapter-grid {
        display: flex;
        gap: 8px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 0 8px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-inline: contain;
      }

      .latest-chapter-grid::-webkit-scrollbar {
        display: none;
      }

      .latest-chapter-card {
        flex: 0 0 min(84vw, 306px);
        width: min(84vw, 306px);
        min-width: 256px;
        min-height: 84px;
        padding: 10px;
        scroll-snap-align: start;
      }

      .latest-chapter-info {
        min-width: 0;
      }

      .latest-chapter-series,
      .latest-chapter-title {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      .latest-chapter-series {
        font-size: 14px;
      }

      .latest-chapter-title {
        font-size: 12.8px;
      }

      .latest-chapter-meta {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 6px;
        flex-wrap: nowrap;
      }

      .latest-chapter-meta span {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .latest-chapter-card,
      .continue-mini-card {
        border-radius: 14px;
      }

      .card-row.continue-mode,
      .quick-continue-list {
        gap: 8px;
      }

      .continue-mini-card {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 10px;
        min-height: 82px;
        padding: 9px;
        overflow: hidden;
      }

      .continue-mini-cover {
        width: 56px;
        border-radius: 10px;
      }

      .continue-mini-info {
        gap: 3px;
        min-width: 0;
      }

      .continue-mini-title,
      .continue-mini-chapter {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        white-space: normal;
        overflow: hidden;
      }

      .continue-mini-title {
        -webkit-line-clamp: 1;
        font-size: 13.5px;
        line-height: 1.25;
      }

      .continue-mini-chapter {
        -webkit-line-clamp: 2;
        font-size: 12.5px;
        line-height: 1.25;
      }

      .continue-mini-time {
        font-size: 11.5px;
      }

      .continue-pill {
        width: 100%;
        border-radius: 14px;
        line-height: 1.4;
      }

      .unlock-card {
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
      }

      .unlock-cover {
        border-radius: 12px;
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
      }

      .unlock-body {
        padding: 7px 0 0;
      }

      .unlock-title {
        font-size: 12.5px;
        line-height: 1.28;
      }

      .unlock-title.is-long {
        font-size: 11.5px;
      }

      .unlock-translator {
        display: none;
      }

      .unlock-meta {
        margin-top: 3px;
        font-size: 10.5px;
        line-height: 1.25;
      }

      .unlock-cover-badge {
        left: 6px;
        bottom: 6px;
        padding: 3px 7px;
        font-size: 9.5px;
      }

      .unlock-status-row {
        justify-content: flex-start;
      }

      .unlock-status {
        max-width: 100%;
        padding: 3px 7px;
        font-size: 9.5px;
      }

      .unlock-genre {
        display: none;
      }

      .unlock-meta span:first-child {
        display: none;
      }

      .right-stack {
        display: none;
      }

      .user-dropdown {
        width: min(86vw, 300px);
        right: -6px;
      }
    }

    @media (max-width: 640px) {
      body[data-page-slug="index"] .hero-panel,
      .hero-panel {
        grid-template-columns: minmax(112px, 34%) minmax(0, 1fr);
        align-items: center;
        gap: 10px;
        min-height: 206px;
        padding: 10px;
        border-radius: 20px;
      }

      body[data-page-slug="index"] .hero-cover-card,
      .hero-cover-card {
        width: 100%;
        max-width: none;
        aspect-ratio: 3 / 4;
        height: auto;
        min-height: 0;
        align-self: center;
        border-radius: 16px;
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34);
      }

      body[data-page-slug="index"] .hero-content,
      .hero-content {
        justify-content: center;
        gap: 8px;
        padding: 6px 0;
      }

      body[data-page-slug="index"] .hero-badge,
      .hero-badge {
        min-height: 31px;
        padding: 6px 11px;
        font-size: 11.5px;
      }

      body[data-page-slug="index"] .hero-title,
      .hero-title {
        --hero-title-preferred-size: 24px;
        --hero-title-min-size: 16px;
        line-height: 1.09;
      }

      body[data-page-slug="index"] .hero-desc,
      .hero-desc {
        width: 100%;
        font-size: 12.2px;
        line-height: 1.36;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        white-space: normal;
        overflow: hidden;
      }

      body[data-page-slug="index"] .hero-meta,
      .hero-meta {
        gap: 6px;
        max-height: 60px;
        overflow: hidden;
      }

      body[data-page-slug="index"] .hero-meta span,
      .hero-meta span {
        min-height: 28px;
        padding: 5px 10px;
        border-radius: 999px;
        font-size: 11.5px;
      }

      body[data-page-slug="index"] .hero-actions,
      .hero-actions {
        grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
        gap: 8px;
        margin-top: 2px;
      }

      body[data-page-slug="index"] .btn-cyan,
      body[data-page-slug="index"] .btn-dark,
      .btn-cyan,
      .btn-dark {
        min-height: 46px;
        padding: 10px 9px;
        border-radius: 14px;
        font-size: 13.5px;
        line-height: 1.15;
      }

      body[data-page-slug="index"] .tags,
      .tags {
        gap: 6px;
        max-height: 28px;
        overflow: hidden;
      }

      body[data-page-slug="index"] .tag,
      .tag {
        min-height: 26px;
        padding: 5px 10px;
        font-size: 11px;
      }
    }

    @media (max-width: 420px) {
      body[data-page-slug="index"] .hero-panel,
      .hero-panel {
        grid-template-columns: minmax(104px, 34%) minmax(0, 1fr);
        gap: 10px;
        min-height: 198px;
        padding: 9px;
      }

      body[data-page-slug="index"] .hero-cover-card,
      .hero-cover-card {
        aspect-ratio: 3 / 4;
        height: auto;
        min-height: 0;
        border-radius: 15px;
      }

      body[data-page-slug="index"] .hero-title,
      .hero-title {
        --hero-title-preferred-size: 24px;
        --hero-title-min-size: 16px;
      }

      body[data-page-slug="index"] .hero-actions,
      .hero-actions {
        gap: 7px;
      }

      body[data-page-slug="index"] .btn-cyan,
      body[data-page-slug="index"] .btn-dark,
      .btn-cyan,
      .btn-dark {
        min-height: 46px;
        font-size: 13px;
      }
    }

    @media (max-width: 380px) {
      .continue-mini-card {
        grid-template-columns: 50px minmax(0, 1fr);
        gap: 8px;
        min-height: 76px;
        padding: 8px;
      }

      .continue-mini-cover {
        width: 50px;
      }

      .continue-mini-title {
        font-size: 13px;
      }

      .continue-mini-chapter,
      .continue-mini-time {
        font-size: 11.5px;
      }
    }
    /* Latest Releases: HiveToons-inspired release board backed by live home data. */
    .latest-releases-panel {
      padding: 18px;
      background: linear-gradient(155deg, #0b0d10, #090a0c 70%);
      border-color: rgba(255, 255, 255, 0.14);
    }

    .latest-releases-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      margin-bottom: 5px;
    }

    .latest-releases-title-wrap {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 14px;
      min-width: 0;
    }

    .latest-releases-title-wrap h2 {
      margin: 0;
      color: #f8fafc;
      font-size: clamp(20px, 2vw, 28px);
      font-weight: 700;
      letter-spacing: -0.04em;
    }

    .release-switch {
      display: inline-flex;
      gap: 4px;
      padding: 4px;
      border-radius: 9px;
      background: #11151b;
    }

    .release-mode-btn {
      border: 0;
      border-radius: 6px;
      padding: 8px 13px;
      background: transparent;
      color: #89919d;
      cursor: pointer;
      font-size: 17px;
      font-weight: 700;
      white-space: nowrap;
    }

    .release-mode-btn:hover,
    .release-mode-btn:focus-visible {
      color: #fff;
      outline: 2px solid rgba(255, 45, 145, 0.35);
      outline-offset: 1px;
    }

    .release-mode-btn.active {
      background: #273142;
      color: #ff4aa6;
    }

    .latest-releases-more {
      display: inline-grid;
      width: 36px;
      height: 36px;
      place-items: center;
      flex: 0 0 auto;
      border: 1px solid rgba(255, 255, 255, 0.16);
      border-radius: 50%;
      color: #c9ced7;
      font-size: 19px;
      text-decoration: none;
      transition: border-color .18s ease, color .18s ease, transform .18s ease;
    }

    .latest-releases-more:hover,
    .latest-releases-more:focus-visible {
      border-color: rgba(255, 45, 145, 0.65);
      color: #ff4aa6;
      transform: translate(1px, -1px);
    }

    .latest-releases-subtitle {
      margin: 0 0 14px;
      color: #858d99;
      font-size: 17px;
    }

    .release-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
    }

    .release-card {
      display: grid;
      grid-template-columns: minmax(180px, 0.88fr) minmax(0, 1.12fr);
      gap: 13px;
      min-width: 0;
      min-height: 0;
      padding: 9px;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: 15px;
      background: linear-gradient(140deg, #0b0d10, #090a0c);
      transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
    }

    .release-card:hover {
      border-color: rgba(255, 45, 145, 0.5);
      box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
      transform: translateY(-2px);
    }

    .release-poster {
      position: relative;
      align-self: start;
      width: 100%;
      height: auto;
      aspect-ratio: 3 / 4;
      min-height: 0;
      overflow: hidden;
      border-radius: 9px;
      background: linear-gradient(145deg, #2a3040, #0d1014);
      isolation: isolate;
    }

    .release-poster::after {
      content: "";
      position: absolute;
      inset: auto -42px -48px auto;
      width: 155px;
      height: 155px;
      border: 1px solid rgba(255, 255, 255, 0.3);
      border-radius: 50%;
      box-shadow: 0 0 0 15px rgba(255, 255, 255, 0.08), 0 0 0 31px rgba(255, 255, 255, 0.04);
      pointer-events: none;
    }

    .release-poster img {
      position: absolute;
      inset: 0;
      z-index: 1;
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .release-poster .cover-fallback {
      position: absolute;
      inset: 0;
      z-index: 0;
      display: grid;
      place-items: end start;
      padding: 12px;
      color: #fff;
      background: linear-gradient(145deg, #9d263e, #1a2233);
      font-size: 21px;
      font-weight: 700;
      line-height: 0.98;
      letter-spacing: -0.04em;
      text-shadow: 0 2px 8px rgba(0, 0, 0, 0.38);
    }

    .release-body {
      display: flex;
      min-width: 0;
      flex-direction: column;
      padding: 3px 2px 3px 0;
    }

    .release-title {
      display: -webkit-box;
      margin: 5px 0 6px;
      overflow: hidden;
      color: #f8fafc;
      font-size: 21px;
      font-weight: 700;
      line-height: 1.18;
      letter-spacing: -0.025em;
      overflow-wrap: anywhere;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }

    .release-meta {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      align-items: center;
      gap: 8px;
      margin-bottom: 10px;
      color: #f4f6f8;
      font-size: 15px;
    }

    .release-rating b {
      margin-left: 2px;
      color: #ffae3d;
      font-size: 20px;
    }

    .release-status {
      display: inline-flex;
      align-items: center;
      justify-self: end;
      gap: 5px;
      min-width: 0;
      max-width: 100%;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      color: #e4e9ef;
      font-size: 14px;
    }

    .release-status::before {
      content: "";
      flex: 0 0 auto;
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: #11d36f;
      box-shadow: 0 0 0 3px rgba(17, 211, 111, 0.08);
    }

    .release-status.done::before {
      background: #ffae3d;
      box-shadow: 0 0 0 3px rgba(255, 174, 61, 0.08);
    }

    .release-status.hiatus::before {
      background: #9ca3af;
      box-shadow: 0 0 0 3px rgba(156, 163, 175, 0.08);
    }

    .release-chapter-list {
      display: grid;
      gap: 4px;
    }

    .release-chapter {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      gap: 6px;
      min-width: 0;
      padding: 4px 8px;
      border: 1px solid #2a3038;
      border-radius: 7px;
      background: #0c0f13;
      color: #f1f2f4;
      font-size: 16px;
      text-decoration: none;
      transition: border-color .18s ease, background .18s ease;
    }

    .release-chapter:hover,
    .release-chapter:focus-visible {
      border-color: rgba(255, 45, 145, 0.62);
      background: #12161c;
    }

    .release-chapter strong {
      min-width: 0;
      overflow: hidden;
      color: #f7f8fa;
      font-size: 16px;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .release-chapter-meta {
      display: inline-flex;
      align-items: center;
      justify-content: flex-end;
      gap: 6px;
      min-width: 0;
    }

    .release-access {
      font-size: 14px;
      font-weight: 700;
      white-space: nowrap;
    }

    .release-access.paid {
      color: #ffb23e;
    }

    .release-access.free {
      color: #39d98a;
    }

    .release-chapter.latest strong,
    .release-chapter.latest time {
      color: #ffae3d;
    }

    .release-chapter.new time::before {
      content: "♨";
      margin-right: 4px;
      color: #ff314d;
      font-size: 16px;
    }

    .release-chapter time {
      flex: 0 0 auto;
      color: #a0a6af;
      font-size: 14px;
      white-space: nowrap;
    }

    .release-card .home-empty-state,
    #latest-releases-grid > .skeleton-card {
      grid-column: 1 / -1;
    }

    @media (max-width: 1360px) and (min-width: 1161px) {
      .release-card {
        grid-template-columns: minmax(170px, 0.9fr) minmax(0, 1.1fr);
        gap: 10px;
      }

      .release-title {
        font-size: 20px;
      }
    }

    @media (max-width: 1160px) {
      .release-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 720px) {
      .latest-releases-panel {
        padding: 14px;
      }

      .latest-releases-head {
        align-items: flex-start;
      }

      .latest-releases-title-wrap {
        display: grid;
        gap: 8px;
      }

      .latest-releases-title-wrap h2 {
        font-size: 25px;
      }

      .release-grid {
        grid-template-columns: 1fr;
        gap: 10px;
      }

      .release-card {
        grid-template-columns: 112px minmax(0, 1fr);
        min-height: 0;
        gap: 11px;
        padding: 8px;
      }

      .release-poster {
        align-self: start;
        width: 100%;
        height: auto;
        aspect-ratio: 2 / 3;
        min-height: 0;
      }

      .release-title {
        margin: 2px 0 4px;
        font-size: 18px;
        line-height: 1.2;
      }

      .release-meta {
        gap: 5px;
        margin-bottom: 5px;
        font-size: 13px;
      }

      .release-chapter {
        min-height: 34px;
        gap: 4px;
        padding: 3px 6px;
        font-size: 14px;
      }

      .release-chapter strong {
        font-size: 14px;
      }

      .release-access,
      .release-chapter time {
        font-size: 12px;
      }

      .release-chapter-meta {
        gap: 4px;
      }

      .release-chapter-list .release-chapter:nth-child(n + 4) {
        display: none;
      }
    }

    /* Approved mockup shell: spotlight, novel rail, releases and popularity. */
    body.ts-page-public {
      background: #08090b;
    }

    body.ts-page-public .page-wrap {
      max-width: 1500px;
      background: #08090b;
    }

    body.ts-page-public .topbar {
      margin-bottom: 0;
      border-color: #15181d;
      border-radius: 0;
      background: #08090b;
      box-shadow: none;
    }

    .mockup-home-shell {
      display: grid;
      gap: 0;
      margin-top: 0;
      padding: 0 0 24px;
      color: #f5f6f8;
    }

    .mockup-home-shell .spotlight {
      margin: 0;
      padding: 0 0 9px;
      overflow: hidden;
    }

    .mockup-home-shell .spot-track {
      display: grid;
      grid-template-columns: 24% 52% 24%;
      align-items: stretch;
      height: 310px;
    }

    .mockup-home-shell .spot-card {
      position: relative;
      overflow: hidden;
      border: 1px solid #20252c;
      background: #0d1015;
    }

    .mockup-home-shell .spot-card:first-child {
      border-radius: 14px 0 0 14px;
    }

    .mockup-home-shell .spot-card:last-child {
      border-radius: 0 14px 14px 0;
    }

    .mockup-home-shell .spot-card::after {
      content: "";
      position: absolute;
      inset: 48% 0 0;
      z-index: 1;
      background: linear-gradient(transparent, rgba(0, 0, 0, .92));
      pointer-events: none;
    }

    .mockup-home-shell .spot-art {
      position: absolute;
      inset: 0;
      overflow: hidden;
      background: linear-gradient(145deg, #30394b, #0d1015);
    }

    .mockup-home-shell .spot-art img,
    .mockup-home-shell .spot-art .cover-fallback {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      border-radius: 0;
      object-fit: cover;
    }

    .mockup-home-shell .spot-art img {
      display: block;
      filter: saturate(.82) brightness(.78);
    }

    .mockup-home-shell .spot-art .cover-fallback {
      display: grid;
      place-items: center;
      padding: 16px;
      color: #fff;
      background: linear-gradient(145deg, #9d263e, #17233a);
      font-size: 22px;
      font-weight: 700;
      line-height: .95;
      text-align: center;
    }

    .mockup-home-shell .spot-art::before {
      content: "";
      position: absolute;
      inset: -12% -20% 45%;
      z-index: 1;
      background: linear-gradient(135deg, rgba(255, 255, 255, .2), transparent 52%);
      transform: rotate(-10deg);
    }

    .mockup-home-shell .spot-art::after {
      content: "";
      position: absolute;
      right: -80px;
      bottom: -80px;
      z-index: 1;
      width: 250px;
      height: 250px;
      border: 1px solid rgba(255, 255, 255, .3);
      border-radius: 50%;
      box-shadow: 0 0 0 24px rgba(255, 255, 255, .07), 0 0 0 48px rgba(255, 255, 255, .04);
    }

    .mockup-home-shell .spot-copy {
      position: absolute;
      right: 18px;
      bottom: 20px;
      left: 22px;
      z-index: 3;
    }

    .mockup-home-shell .spot-copy h2 {
      margin: 0 0 7px;
      color: #fff;
      font-size: 18px;
      line-height: 1.1;
    }

    .mockup-home-shell .spot-copy p {
      margin: 0;
      color: #bbc0c9;
      font-size: 11px;
    }

    .mockup-home-shell .spot-side .spot-copy h2 {
      font-size: 15px;
    }

    .mockup-home-shell .spot-main {
      z-index: 2;
      border-color: #3a275b;
      border-radius: 16px;
      box-shadow: 0 0 0 1px rgba(255, 45, 145, .08), 0 14px 35px rgba(0, 0, 0, .25);
    }

    .mockup-home-shell .spot-main .spot-copy {
      bottom: 21px;
      left: 25px;
    }

    .mockup-home-shell .spot-main .spot-copy h2 {
      font-size: 26px;
    }

    .mockup-home-shell .spot-main .spot-copy p {
      font-size: 12px;
    }

    .mockup-home-shell .spot-badge {
      display: inline-flex;
      margin-bottom: 8px;
      padding: 4px 8px;
      border-radius: 999px;
      background: rgba(255, 45, 145, .9);
      color: #fff;
      font-size: 10px;
      font-weight: 700;
    }

    .mockup-home-shell .spot-cta {
      display: inline-flex;
      margin-top: 10px;
      padding: 8px 12px;
      border: 0;
      border-radius: 999px;
      background: #f12a37;
      color: #fff;
      font-size: 11px;
      font-weight: 700;
      text-decoration: none;
    }

    .mockup-home-shell .spot-nav {
      display: flex;
      justify-content: flex-end;
      gap: 7px;
      margin-top: 10px;
    }

    .mockup-home-shell .spot-nav button {
      width: 29px;
      height: 29px;
      border: 1px solid #252a30;
      border-radius: 50%;
      background: #0d1014;
      color: #c8cdd4;
      cursor: pointer;
    }

    .mockup-home-shell .latest-releases-panel {
      margin-top: 5px;
      border-color: #252a30;
      border-radius: 16px;
      background: #08090b;
      box-shadow: none;
    }

    .mockup-home-shell .release-grid {
      gap: 16px;
    }

    .mockup-home-shell .most-popular {
      margin-top: 0;
      padding-bottom: 17px;
    }

    .mockup-home-shell .most-popular-head {
      display: flex;
      align-items: center;
      gap: 9px;
      padding: 10px 12px;
      border-radius: 10px;
      background: #10151f;
      color: #f5f6f8;
      font-size: 25px;
      font-weight: 700;
    }

    .mockup-home-shell .most-popular-head::before {
      content: "♨";
      color: #fff;
      font-size: 25px;
    }

    .mockup-home-shell .most-popular-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 17px 28px;
      padding: 11px 13px 2px;
    }

    .mockup-home-shell .popular-item {
      display: grid;
      grid-template-columns: 31px 68px minmax(0, 1fr);
      align-items: center;
      gap: 10px;
      min-width: 0;
      min-height: 128px;
    }

    .mockup-home-shell .popular-item.is-featured {
      padding: 8px;
      border: 1px solid #151a22;
      border-radius: 14px;
      background: #0c0e12;
    }

    .mockup-home-shell .popular-rank {
      color: #fff;
      font-size: 25px;
      font-weight: 700;
      line-height: 1;
      text-align: center;
    }

    .mockup-home-shell .popular-poster {
      position: relative;
      height: 96px;
      overflow: hidden;
      border-radius: 13px;
      background: linear-gradient(145deg, #30394b, #0d1015);
      box-shadow: 0 7px 18px rgba(0, 0, 0, .2);
    }

    .mockup-home-shell .popular-poster img,
    .mockup-home-shell .popular-poster .cover-fallback {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .mockup-home-shell .popular-poster .cover-fallback {
      display: grid;
      place-items: center;
      padding: 6px;
      color: #fff;
      background: linear-gradient(145deg, #9d263e, #17233a);
      font-size: 25px;
      font-weight: 700;
      line-height: .95;
      text-align: center;
    }

    .mockup-home-shell .popular-info {
      min-width: 0;
      padding-left: 10px;
      border-left: 1px solid #3a2a16;
    }

    .mockup-home-shell .popular-info h3 {
      display: -webkit-box;
      margin: 0 0 8px;
      overflow: hidden;
      color: #fff;
      font-size: 25px;
      font-weight: 700;
      line-height: 1.12;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }

    .mockup-home-shell .popular-info-title {
      display: -webkit-box;
      margin: 0 0 8px;
      overflow: hidden;
      color: #fff;
      font-size: 25px;
      font-weight: 700;
      line-height: 1.12;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }

    .mockup-home-shell .popular-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .mockup-home-shell .popular-tags span {
      display: inline-flex;
      padding: 4px 8px;
      border: 1px solid #24405a;
      border-radius: 999px;
      background: #0d1722;
      color: #e7eef8;
      font-size: 25px;
      line-height: 1;
    }

    .mockup-home-shell .mockup-utility {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      margin-top: 18px;
    }

    .mockup-home-shell .mockup-utility .utility-card {
      padding: 18px;
      border: 1px solid #252a30;
      border-radius: 14px;
      background: #0d1014;
    }

    .mockup-home-shell .mockup-utility .utility-card h2 {
      margin: 0 0 5px;
      color: #f5f6f8;
      font-size: 15px;
    }

    .mockup-home-shell .mockup-utility .utility-card p {
      margin: 0;
      color: #8f97a4;
      font-size: 12px;
    }

    .mockup-home-shell .mockup-utility .utility-card a,
    .mockup-home-shell .mockup-utility .utility-card button {
      display: inline-block;
      margin-top: 11px;
      padding: 0;
      border: 0;
      background: transparent;
      color: #ff4aa6;
      cursor: pointer;
      font-size: 12px;
      font-weight: 700;
      text-decoration: none;
    }

    .mockup-footer {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      padding-top: 20px;
      margin-top: 20px;
      border-top: 1px solid #15181d;
      color: #707884;
      font-size: 11px;
    }

    .mockup-footer nav {
      display: flex;
      gap: 14px;
    }

    .mockup-footer a {
      color: inherit;
      text-decoration: none;
    }

    .home-shell-placeholder {
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.08);
      background: #11151b;
    }

    .home-shell-placeholder::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(100deg, transparent 18%, rgba(255, 255, 255, 0.055) 42%, transparent 66%);
      transform: translateX(-100%);
      animation: home-shell-shimmer 1.4s ease-in-out infinite;
    }

    .placeholder-hero {
      height: 310px;
      border-radius: 13px;
    }

    .placeholder-hero-main {
      border-radius: 16px;
      background: #16151d;
    }

    .placeholder-popular {
      min-height: 108px;
      border-radius: 12px;
    }

    .placeholder-release {
      min-height: 278px;
      border-radius: 15px;
    }

    @keyframes home-shell-shimmer {
      to { transform: translateX(100%); }
    }

    @media (max-width: 1160px) {
      .mockup-home-shell .most-popular-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 720px) {
      .mockup-home-shell,
      .mockup-home-shell .spotlight,
      .mockup-home-shell .spot-track,
      .mockup-home-shell .latest-releases-panel,
      .mockup-home-shell .release-grid,
      .mockup-home-shell .most-popular {
        width: 100%;
        max-width: 100%;
        min-width: 0;
      }

      .mockup-home-shell {
        overflow-x: hidden;
      }

      .mockup-home-shell .spot-track {
        display: block;
        height: 250px;
        overflow: hidden;
      }

      .placeholder-hero {
        display: none;
      }

      .placeholder-hero-main {
        display: block;
        height: 250px;
      }

      .mockup-home-shell .spot-side {
        display: none;
      }

      .mockup-home-shell .spot-main {
        height: 250px;
        min-width: 0;
        border-radius: 13px;
      }

      .mockup-home-shell .spot-main .spot-copy {
        bottom: 16px;
        left: 17px;
      }

      .mockup-home-shell .spot-main .spot-copy h2 {
        font-size: 22px;
      }

      .mockup-home-shell .most-popular {
        margin-top: 0;
        padding-bottom: 12px;
      }

      .mockup-home-shell .most-popular-head {
        font-size: 20px;
      }

      .mockup-home-shell .most-popular-head::before {
        font-size: 20px;
      }

      .mockup-home-shell .most-popular-grid {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 9px 5px 0;
      }

      .mockup-home-shell .popular-item {
        grid-template-columns: 32px 64px minmax(0, 1fr);
        gap: 9px;
        min-height: 98px;
      }

      .mockup-home-shell .popular-rank {
        font-size: 18px;
      }

      .mockup-home-shell .popular-poster {
        height: 82px;
        border-radius: 11px;
      }

      .mockup-home-shell .popular-info {
        padding-left: 9px;
      }

      .mockup-home-shell .popular-info h3 {
        font-size: 18px;
      }

      .mockup-home-shell .popular-info-title {
        font-size: 18px;
      }

      .mockup-home-shell .popular-tags span {
        font-size: 14px;
      }

      .placeholder-popular {
        min-height: 98px;
      }

      .placeholder-release {
        min-height: 176px;
      }

      .mockup-home-shell .mockup-utility {
        grid-template-columns: 1fr;
        gap: 9px;
        margin-top: 12px;
      }

      .mockup-footer {
        display: block;
      }

      .mockup-footer nav {
        flex-wrap: wrap;
        margin-top: 8px;
      }

    }

    @media (prefers-reduced-motion: reduce) {
      .home-shell-placeholder::after {
        animation: none;
      }
    }
