html {
      overflow-y: scroll;
      scrollbar-gutter: stable;
    }
    * {
      scrollbar-width: thin;
      scrollbar-color: #334155 #06080e;
    }
    ::-webkit-scrollbar {
      width: 8px;
      height: 8px;
    }
    ::-webkit-scrollbar-track {
      background: #06080e;
    }
    ::-webkit-scrollbar-thumb {
      background: #1e293b;
      border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
      background: #334155;
    }
    :root.is-embedded header, html.is-embedded header {
      display: block !important;
      position: sticky !important;
      top: 0 !important;
      z-index: 50 !important;
      padding: 8px 16px !important;
      background: rgba(8, 11, 17, 0.96) !important;
      backdrop-filter: blur(16px) !important;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }
    :root.is-embedded .border-b.border-slate-800\/60 {
      display: block !important;
    }
    :root.is-embedded .detail-floating-hud, html.is-embedded .detail-floating-hud {
      display: flex !important;
      width: max-content !important;
      max-width: calc(100vw - 24px) !important;
      white-space: nowrap !important;
    }
    .detail-floating-hud > div {
      display: inline-flex !important;
      flex-direction: row !important;
      flex-wrap: nowrap !important;
      align-items: center !important;
      white-space: nowrap !important;
    }
    .detail-floating-hud button,
    .detail-floating-hud a {
      display: inline-flex !important;
      flex-direction: row !important;
      flex-wrap: nowrap !important;
      align-items: center !important;
      white-space: nowrap !important;
      flex-shrink: 0 !important;
      line-height: 1.25 !important;
    }
    body {
      background-color: #080b11;
      color: #f1f5f9;
      font-family: 'Noto Sans KR', 'Noto Sans SC', 'Noto Sans JP', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      overflow-x: hidden;
      min-width: 320px;
    }
    .badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      line-height: 1;
    }
    .badge-up {
      background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
      color: #ffffff;
      box-shadow: 0 2px 8px rgba(244, 63, 94, 0.4);
    }
    .badge-new {
      background: #00dc64;
      color: #032510;
      font-weight: 900;
      box-shadow: 0 2px 8px rgba(0, 220, 100, 0.4);
    }
    .badge-completed {
      background: #f59e0b;
      color: #451a03;
      font-weight: 900;
    }
    .badge-status {
      background: rgba(6, 78, 59, 0.85);
      color: #34d399;
      border: 1px solid rgba(5, 150, 105, 0.5);
    }
    .btn-naver {
      background: #00dc64;
      color: #042612;
      font-weight: 900;
      transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .btn-naver:hover {
      background: #00f06c;
      box-shadow: 0 0 20px rgba(0, 220, 100, 0.45);
      transform: translateY(-2px);
    }
    .ep-card {
      transition: all 0.2s ease;
    }
    .ep-card:hover {
      background: rgba(30, 41, 59, 0.7);
      border-color: rgba(0, 220, 100, 0.4);
      transform: translateX(4px);
    }
    .heart-btn {
      transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .heart-btn:hover {
      transform: scale(1.1);
    }

    /* Seamless Portal Integration Mode */
    html.is-embedded header .group {
      display: none !important;
    }
    html.is-embedded header .flex.items-center.bg-slate-900\/90 {
      display: none !important;
    }
    html.is-embedded header a[href="/cartoon/"] {
      display: inline-flex !important;
    }

    /* Authoritative KOXLO Unified Single-Line Footer */
    .footer-unified {
      background: #080b12;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      padding: 1.25rem 1.5rem;
      color: #94a3b8;
      font-family: inherit;
      margin-top: 3.5rem;
      position: relative;
      z-index: 20;
      width: 100%;
      box-sizing: border-box;
    }

    .footer-unified-inner {
      max-width: 1400px;
      margin: 0 auto;
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
      flex-wrap: wrap;
      gap: 1.25rem;
      padding: 0;
      border-bottom: none;
    }

    .footer-left {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 14px;
      flex-wrap: wrap;
      font-size: 0.82rem;
      color: #64748b;
      text-align: center;
    }

    .footer-brand-name {
      display: inline-flex;
      align-items: center;
      font-size: 1.15rem;
      font-weight: 900;
      color: #ffffff;
      letter-spacing: -0.01em;
      line-height: 1;
    }

    .footer-copyright {
      color: #64748b;
      font-size: 0.8rem;
    }

    .footer-support-mail {
      color: #38bdf8;
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .footer-legal-links {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      text-align: center;
    }

    .footer-legal-links a {
      color: #94a3b8;
      text-decoration: none;
      font-weight: 600;
      font-size: 0.82rem;
      transition: color 0.15s ease;
      cursor: pointer;
    }

    .footer-legal-links a:hover {
      color: #38bdf8;
      text-decoration: underline;
    }

    .footer-legal-divider {
      color: #475569;
      font-size: 0.75rem;
    }

    @media (max-width: 768px) {
      .footer-unified {
        padding: 1rem 1rem;
        margin-top: 2rem;
      }
      .footer-unified-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        justify-content: center;
        gap: 0.6rem;
      }
      .footer-left {
        justify-content: center;
        text-align: center;
        gap: 6px;
      }
      .footer-legal-links {
        justify-content: center;
        text-align: center;
      }
    }
    .detail-char-avatar {
      width: 64px !important;
      height: 64px !important;
      min-width: 64px !important;
      max-width: 64px !important;
      min-height: 64px !important;
      max-height: 64px !important;
      border-radius: 14px !important;
      object-fit: cover !important;
      object-position: center 20% !important;
      border: 1px solid #334155 !important;
      flex-shrink: 0 !important;
      background: #0f172a !important;
      display: block !important;
    }
