    :root {
      --bg: #ffffff;
      --bg-soft: #fdfdfd;
      --panel: rgba(255, 255, 255, 0.98);
      --panel-2: rgba(255, 255, 255, 1);
      --text: #251111;
      --muted: #755d5d;
      --line: rgba(220, 24, 41, 0.12);
      --primary: #ef233c;
      --primary-dark: #c1121f;
      --white-soft: #ffffff;
      --shadow: 0 18px 42px rgba(171, 33, 49, 0.08);
      --shadow-red: 0 14px 30px rgba(239, 35, 60, 0.22);
      --max: 1240px;
      --radius: 24px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      font-family: Inter, system-ui, Arial, sans-serif;
      color: var(--text);
      background:
        radial-gradient(circle at top left, rgba(239, 35, 60, 0.08), transparent 24%),
        radial-gradient(circle at 86% 10%, rgba(255, 232, 235, 0.55), transparent 14%),
        linear-gradient(180deg, #ffffff 0%, #fffefe 52%, #ffffff 100%);
      overflow-x: hidden;
    }

    main {
      flex: 1 0 auto;
      width: 100%;
    }

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

    img {
      display: block;
      max-width: 100%;
    }

    [data-reveal] {
      opacity: 0;
      transform: translateY(28px) scale(0.985);
      transition:
        opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
      transition-delay: var(--reveal-delay, 0ms);
    }

    [data-reveal].is-visible {
      opacity: 1;
      transform: translateY(0) scale(1);
    }

    .container {
      width: min(var(--max), calc(100% - 32px));
      margin: 0 auto;
    }

    .header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255, 255, 255, 0.94);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--line);
      box-shadow: 0 10px 24px rgba(171, 33, 49, 0.05);
    }

    .nav {
      min-height: 78px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }

    .brand {
      position: relative;
      display: inline-flex;
      align-items: center;
      gap: 16px;
      padding: 8px 18px 8px 8px;
      border-radius: 28px;
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 244, 246, 0.94));
      border: 1px solid rgba(173, 22, 33, 0.1);
      box-shadow:
        0 14px 30px rgba(171, 33, 49, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
      font-weight: 950;
      font-size: 22px;
      letter-spacing: -0.04em;
      color: #2c1719;
      transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    }

    .brand-logo {
      width: 64px;
      height: 64px;
      padding: 3px;
      border-radius: 20px;
      object-fit: cover;
      object-position: center;
      background: linear-gradient(180deg, #ffffff 0%, #fff6f7 100%);
      border: 1px solid rgba(173, 22, 33, 0.14);
      box-shadow:
        0 0 0 8px rgba(239, 35, 60, 0.06),
        0 16px 28px rgba(217, 31, 46, 0.18);
      flex-shrink: 0;
    }

    .brand span {
      display: block;
      line-height: 1;
      text-wrap: balance;
    }

    .brand:hover {
      transform: translateY(-1px);
      border-color: rgba(193, 18, 31, 0.18);
      box-shadow:
        0 18px 34px rgba(171, 33, 49, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
    }

    .menu {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 8px;
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.96);
      border: 1px solid rgba(220, 24, 41, 0.08);
      box-shadow: 0 8px 20px rgba(171, 33, 49, 0.04);
    }

    .menu a,
    .menu-link,
    .menu-toggle {
      padding: 12px 18px;
      border-radius: 14px;
      color: #7e2a31;
      font-weight: 700;
      transition: 0.2s ease;
      white-space: nowrap;
      background: transparent;
      border: 0;
      font: inherit;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .menu a.active,
    .menu a:hover,
    .menu-link.active,
    .menu-link:hover,
    .menu-toggle.active,
    .menu-toggle:hover,
    .menu-dropdown.open .menu-toggle {
      background: linear-gradient(135deg, var(--primary), var(--primary-dark));
      color: #fff;
      box-shadow: 0 10px 24px rgba(229, 9, 20, 0.22);
    }

    .menu-item {
      position: relative;
    }

    .menu-toggle-icon {
      width: 10px;
      height: 10px;
      border-right: 2px solid currentColor;
      border-bottom: 2px solid currentColor;
      transform: rotate(45deg) translateY(-1px);
      transition: transform 0.2s ease;
      opacity: 0.9;
    }

    .menu-dropdown.open .menu-toggle-icon {
      transform: rotate(-135deg) translateY(-1px);
    }

    .dropdown-panel {
      position: absolute;
      top: calc(100% + 12px);
      left: 0;
      min-width: 280px;
      padding: 18px;
      border-radius: 24px;
      background: linear-gradient(180deg, #fff4f5 0%, #ffdfe3 100%);
      border: 1px solid rgba(193, 18, 31, 0.14);
      box-shadow: 0 26px 46px rgba(193, 18, 31, 0.16);
      display: grid;
      gap: 8px;
      opacity: 0;
      visibility: hidden;
      transform: translateY(8px);
      pointer-events: none;
      transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    }

    .menu-dropdown.open .dropdown-panel,
    .menu-dropdown:hover .dropdown-panel,
    .menu-dropdown:focus-within .dropdown-panel {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      pointer-events: auto;
    }

    .dropdown-label {
      margin-bottom: 8px;
      font-size: 13px;
      font-weight: 800;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: #9f1422;
    }

    .dropdown-link {
      display: block;
      padding: 12px 14px;
      border-radius: 16px;
      color: #5d1f24;
      font-weight: 700;
      transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
    }

    .dropdown-link:hover,
    .dropdown-link.active {
      background: rgba(193, 18, 31, 0.1);
      color: #b10f1d;
      transform: translateX(3px);
    }

    .user-box {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      min-width: 170px;
      gap: 12px;
    }

    .btn {
      border: 0;
      cursor: pointer;
      padding: 13px 18px;
      border-radius: 14px;
      font-weight: 800;
      color: white;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      transition: 0.22s ease;
    }

    .btn:hover {
      transform: translateY(-2px);
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--primary), #ff2b36);
      box-shadow: var(--shadow-red);
    }

    .btn-outline {
      background: rgba(255, 255, 255, 0.92);
      border: 1px solid rgba(173, 22, 33, 0.18);
      color: var(--primary);
    }

    .btn-outline:hover {
      border-color: rgba(217, 31, 46, 0.4);
      background: rgba(217, 31, 46, 0.08);
    }

    .profile {
      display: none;
      align-items: center;
      gap: 12px;
      padding: 8px 12px 8px 8px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.88);
      border: 1px solid rgba(173, 22, 33, 0.12);
    }

    .profile img {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      object-fit: cover;
    }

    .profile-name {
      font-weight: 800;
    }

    .profile-sub {
      font-size: 12px;
      color: var(--muted);
    }

    .hero {
      position: relative;
      min-height: calc(100vh - 78px);
      display: flex;
      align-items: center;
      padding: 80px 0 70px;
      overflow: hidden;
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at 50% 20%, rgba(229, 9, 20, 0.16), transparent 20%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.04), transparent 15%);
      pointer-events: none;
    }

    .hero-grid {
      position: relative;
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 28px;
      align-items: center;
    }

    .hero-left {
      max-width: 720px;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 12px 18px;
      border-radius: 999px;
      background: #fff;
      border: 1px solid rgba(239, 35, 60, 0.24);
      color: #b50f1d;
      font-weight: 800;
      margin-bottom: 22px;
      box-shadow: 0 10px 24px rgba(239, 35, 60, 0.08);
    }

    h1 {
      margin: 0;
      font-size: clamp(44px, 6vw, 82px);
      line-height: 1.02;
      letter-spacing: -0.04em;
      font-weight: 900;
      text-transform: uppercase;
    }

    .accent-text {
      background: linear-gradient(90deg, #b30f20, #ef4251);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .hero p {
      margin: 24px 0 0;
      max-width: 700px;
      color: #695555;
      font-size: clamp(18px, 2vw, 21px);
      line-height: 1.75;
    }

    .hero-actions {
      margin-top: 32px;
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
    }

    .trust-badges {
      margin-top: 18px;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .trust-badges span {
      padding: 10px 14px;
      border-radius: 999px;
      background: #fff;
      border: 1px solid rgba(239, 35, 60, 0.16);
      font-size: 13px;
      font-weight: 700;
      color: #9f1422;
      box-shadow: 0 8px 18px rgba(239, 35, 60, 0.06);
    }

    .hero-metrics {
      margin-top: 38px;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
      max-width: 720px;
    }

    .metric,
    .panel,
    .card,
    .hero-card {
      transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
    }

    .metric {
      background: #fff;
      border: 1px solid rgba(239, 35, 60, 0.14);
      border-radius: 22px;
      padding: 22px 18px;
      box-shadow: 0 18px 34px rgba(239, 35, 60, 0.08);
    }

    .metric:hover,
    .panel:hover,
    .hero-card:hover {
      transform: translateY(-4px);
      border-color: rgba(229, 9, 20, 0.24);
    }

    .metric strong {
      display: block;
      font-size: clamp(28px, 4vw, 48px);
      font-weight: 900;
      background: linear-gradient(90deg, #ef233c, #c1121f);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      line-height: 1;
      text-shadow: 0 10px 22px rgba(239, 35, 60, 0.16);
    }

    .metric span {
      display: block;
      margin-top: 10px;
      color: #8f2a33;
      font-size: 14px;
      letter-spacing: 0.08em;
    }

    .hero-card {
      background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.98));
      border: 1px solid rgba(220, 24, 41, 0.08);
      border-radius: 28px;
      padding: 26px;
      box-shadow: var(--shadow);
      position: relative;
      overflow: hidden;
    }

    .hero-card::before {
      content: "";
      position: absolute;
      inset: auto -50px -50px auto;
      width: 180px;
      height: 180px;
      background: radial-gradient(circle, rgba(229, 9, 20, 0.28), transparent 65%);
      pointer-events: none;
    }

    .hero-card-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 18px;
    }

    .status-badge {
      padding: 8px 12px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 800;
      color: var(--primary);
      background: rgba(217, 31, 46, 0.10);
      border: 1px solid rgba(217, 31, 46, 0.22);
    }

    .panel-title {
      font-size: 22px;
      font-weight: 900;
      margin: 0;
    }

    .hero-user {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 16px;
      border-radius: 18px;
      background: rgba(255, 255, 255, 1);
      border: 1px solid rgba(220, 24, 41, 0.08);
      margin-bottom: 18px;
    }

    .hero-user img {
      width: 62px;
      height: 62px;
      border-radius: 50%;
      object-fit: cover;
    }

    .hero-user-name {
      font-size: 18px;
      font-weight: 800;
    }

    .hero-user-sub {
      color: var(--muted);
      font-size: 14px;
      margin-top: 4px;
    }

    .quick-list {
      display: grid;
      gap: 12px;
      margin-top: 14px;
    }

    .quick-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 14px 16px;
      border-radius: 18px;
      background: rgba(255, 255, 255, 1);
      border: 1px solid rgba(220, 24, 41, 0.08);
    }

    .quick-item strong {
      display: block;
      font-size: 15px;
    }

    .quick-item span {
      color: var(--muted);
      font-size: 13px;
      margin-top: 4px;
      display: block;
    }

    .quick-price {
      font-weight: 900;
      color: var(--primary);
      white-space: nowrap;
    }

    .section {
      padding: 84px 0;
    }

    .section-head {
      text-align: center;
      max-width: 860px;
      margin: 0 auto 42px;
    }

    .eyebrow {
      color: #d63a46;
      text-transform: uppercase;
      letter-spacing: 0.15em;
      font-weight: 900;
      margin-bottom: 14px;
      font-size: 13px;
    }

    .section-head h2 {
      margin: 0;
      font-size: clamp(34px, 4vw, 60px);
      line-height: 1.08;
      text-transform: uppercase;
      font-weight: 900;
    }

    .section-head h2 .accent {
      background: linear-gradient(90deg, #b30f20, #ef4251);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .section-head p {
      color: #6e4f4f;
      font-size: 19px;
      line-height: 1.75;
      margin: 18px auto 0;
      max-width: 760px;
    }

    .home-ticker {
      padding: 24px 0 0;
    }

    .ticker-shell {
      position: relative;
      overflow: hidden;
      border-radius: 26px;
      border: 1px solid rgba(220, 24, 41, 0.08);
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 249, 0.96));
      box-shadow: 0 18px 38px rgba(171, 33, 49, 0.08);
    }

    .ticker-shell::before,
    .ticker-shell::after {
      content: "";
      position: absolute;
      top: 0;
      bottom: 0;
      width: 80px;
      z-index: 2;
      pointer-events: none;
    }

    .ticker-shell::before {
      left: 0;
      background: linear-gradient(90deg, rgba(255, 248, 249, 1), rgba(255, 248, 249, 0));
    }

    .ticker-shell::after {
      right: 0;
      background: linear-gradient(270deg, rgba(255, 248, 249, 1), rgba(255, 248, 249, 0));
    }

    .ticker-track {
      display: flex;
      align-items: center;
      gap: 16px;
      width: max-content;
      padding: 16px;
      animation: homeTicker 28s linear infinite;
    }

    .ticker-item {
      display: inline-flex;
      align-items: center;
      gap: 14px;
      padding: 12px 16px;
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.96);
      border: 1px solid rgba(220, 24, 41, 0.08);
      white-space: nowrap;
      color: #5d4848;
      font-weight: 800;
      box-shadow: 0 10px 26px rgba(171, 33, 49, 0.06);
    }

    .ticker-chip,
    .ticker-amount {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 38px;
      padding: 8px 12px;
      border-radius: 12px;
      font-weight: 900;
      letter-spacing: -0.02em;
    }

    .ticker-chip {
      background: linear-gradient(135deg, #ffcc2a, #ffb100);
      color: #4f3100;
      min-width: 60px;
      max-width: 140px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .ticker-amount {
      background: linear-gradient(135deg, #156ef2, #2f8fff);
      color: #fff;
      box-shadow: 0 12px 20px rgba(21, 110, 242, 0.22);
    }

    .ticker-amount-soft {
      background: linear-gradient(135deg, #1a1d24, #2a2f39);
      box-shadow: 0 12px 20px rgba(18, 18, 18, 0.18);
    }

    .ticker-time {
      color: #7c6767;
      font-weight: 700;
      font-size: 14px;
    }

    .home-hero {
      min-height: auto;
      padding: 56px 0 92px;
    }

    .home-hero::after {
      content: "";
      position: absolute;
      right: 8%;
      top: 12%;
      width: 280px;
      height: 280px;
      background: radial-gradient(circle, rgba(239, 35, 60, 0.16), transparent 72%);
      filter: blur(12px);
      pointer-events: none;
    }

    .home-hero-grid {
      gap: 40px;
      align-items: start;
    }

    .home-hero .hero-left {
      padding-top: 16px;
      max-width: 760px;
    }

    .home-hero h1 {
      max-width: 820px;
      text-transform: none;
      font-size: clamp(48px, 5.4vw, 78px);
      line-height: 0.98;
    }

    .home-hero .accent-text {
      display: block;
      margin-top: 8px;
    }

    .home-hero-metrics {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      max-width: 780px;
    }

    .home-hero-metrics .metric {
      position: relative;
      min-height: 148px;
      overflow: hidden;
    }

    .home-hero-metrics .metric::after {
      content: "";
      position: absolute;
      right: -48px;
      bottom: -56px;
      width: 140px;
      height: 140px;
      background: radial-gradient(circle, rgba(239, 35, 60, 0.12), transparent 70%);
      pointer-events: none;
    }

    .home-hero-visual {
      position: relative;
      padding: 12px 10px 24px;
    }

    .hero-console {
      padding: 30px;
      box-shadow: 0 30px 60px rgba(171, 33, 49, 0.12);
      animation: floatPanel 6.2s ease-in-out infinite;
    }

    .console-subtitle {
      margin: 6px 0 0;
      color: var(--muted);
      line-height: 1.65;
      font-size: 14px;
      max-width: 360px;
    }

    .status-badge-live {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: #0e8b43;
      background: rgba(31, 214, 111, 0.12);
      border-color: rgba(31, 214, 111, 0.2);
    }

    .status-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: #16c768;
      box-shadow: 0 0 0 0 rgba(22, 199, 104, 0.42);
      animation: pulseDot 1.9s infinite;
      flex-shrink: 0;
    }

    .console-service-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
      margin-top: 22px;
    }

    .console-service-card {
      position: relative;
      display: block;
      padding: 18px;
      border-radius: 22px;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 249, 250, 0.96));
      border: 1px solid rgba(220, 24, 41, 0.08);
      box-shadow: 0 16px 30px rgba(171, 33, 49, 0.06);
      overflow: hidden;
      transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    }

    .console-service-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.56), transparent);
      transform: translateX(-120%);
      transition: transform 0.6s ease;
      pointer-events: none;
    }

    .console-service-card:hover {
      transform: translateY(-4px);
      border-color: rgba(220, 24, 41, 0.2);
      box-shadow: 0 22px 36px rgba(171, 33, 49, 0.1);
    }

    .console-service-card:hover::before {
      transform: translateX(120%);
    }

    .console-service-label {
      display: inline-flex;
      font-size: 11px;
      font-weight: 900;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: #9f1422;
    }

    .console-service-card strong {
      display: block;
      margin-top: 8px;
      font-size: 18px;
      line-height: 1.35;
    }

    .console-service-card span {
      display: block;
      margin-top: 8px;
      color: #6e5252;
      line-height: 1.7;
      font-size: 14px;
    }

    .console-service-card .console-service-label {
      display: inline-flex;
      margin-top: 0;
      color: #9f1422;
      line-height: 1;
      font-size: 11px;
    }

    .console-service-card.tone-primary {
      background: linear-gradient(180deg, rgba(255, 243, 245, 0.98), rgba(255, 255, 255, 0.98));
    }

    .console-service-card.tone-neutral {
      background: linear-gradient(180deg, rgba(245, 248, 252, 0.98), rgba(255, 255, 255, 0.98));
    }

    .console-service-card.tone-soft {
      background: linear-gradient(180deg, rgba(255, 249, 241, 0.98), rgba(255, 255, 255, 0.98));
    }

    .console-service-card.tone-outline {
      background: linear-gradient(180deg, rgba(251, 250, 255, 0.98), rgba(255, 255, 255, 0.98));
    }

    .console-checklist {
      display: grid;
      gap: 12px;
      margin-top: 20px;
    }

    .console-check {
      display: grid;
      grid-template-columns: 46px 1fr;
      gap: 14px;
      align-items: start;
      padding: 14px 16px;
      border-radius: 18px;
      background: rgba(255, 251, 251, 0.92);
      border: 1px solid rgba(220, 24, 41, 0.08);
    }

    .console-check strong {
      display: grid;
      place-items: center;
      width: 46px;
      height: 46px;
      border-radius: 14px;
      background: linear-gradient(135deg, #ef233c, #c1121f);
      color: #fff;
      font-size: 14px;
      line-height: 1;
      box-shadow: 0 12px 24px rgba(239, 35, 60, 0.24);
    }

    .console-check span {
      display: block;
      padding-top: 9px;
      color: #684f4f;
      line-height: 1.7;
      font-size: 14px;
    }

    .floating-note {
      position: absolute;
      max-width: 220px;
      padding: 14px 16px;
      border-radius: 18px;
      background: rgba(26, 22, 24, 0.92);
      border: 1px solid rgba(255, 255, 255, 0.08);
      color: rgba(255, 237, 239, 0.92);
      font-size: 13px;
      line-height: 1.65;
      box-shadow: 0 22px 34px rgba(12, 12, 12, 0.24);
      backdrop-filter: blur(12px);
      animation: floatNote 6s ease-in-out infinite;
    }

    .floating-note-a {
      top: 14px;
      right: -6px;
    }

    .floating-note-b {
      bottom: -4px;
      left: -8px;
      animation-delay: -3s;
    }

    .home-hub {
      padding-top: 20px;
    }

    .home-hub .section-head h2 {
      text-transform: none;
      letter-spacing: -0.05em;
      font-size: clamp(38px, 5vw, 64px);
    }

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

    .home-feature-card {
      position: relative;
      display: flex;
      flex-direction: column;
      min-height: 360px;
      padding: 28px;
      border-radius: 30px;
      background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(255, 252, 252, 0.98));
      border: 1px solid rgba(220, 24, 41, 0.08);
      box-shadow: 0 22px 42px rgba(171, 33, 49, 0.08);
      overflow: hidden;
      transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    }

    .home-feature-card::before {
      content: "";
      position: absolute;
      inset: auto -40px -50px auto;
      width: 160px;
      height: 160px;
      background: radial-gradient(circle, rgba(239, 35, 60, 0.16), transparent 70%);
      pointer-events: none;
    }

    .home-feature-card:hover {
      transform: translateY(-8px);
      border-color: rgba(220, 24, 41, 0.2);
      box-shadow: 0 28px 54px rgba(171, 33, 49, 0.14);
    }

    .home-feature-card.tone-charge {
      background: linear-gradient(180deg, rgba(255, 243, 245, 1), rgba(255, 255, 255, 0.98));
    }

    .home-feature-card.tone-ticket {
      background: linear-gradient(180deg, rgba(246, 248, 255, 1), rgba(255, 255, 255, 0.98));
    }

    .home-feature-card.tone-dashboard {
      background: linear-gradient(180deg, rgba(255, 249, 241, 1), rgba(255, 255, 255, 0.98));
    }

    .home-feature-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 26px;
    }

    .feature-badge {
      display: inline-flex;
      align-items: center;
      padding: 8px 12px;
      border-radius: 999px;
      background: rgba(217, 31, 46, 0.08);
      border: 1px solid rgba(217, 31, 46, 0.14);
      color: #b10f1d;
      font-size: 12px;
      font-weight: 900;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .feature-icon {
      width: 48px;
      height: 48px;
      border-radius: 16px;
      display: grid;
      place-items: center;
      background: rgba(255, 255, 255, 0.9);
      border: 1px solid rgba(220, 24, 41, 0.1);
      font-size: 20px;
      font-weight: 900;
      color: #9f1422;
      box-shadow: 0 12px 20px rgba(171, 33, 49, 0.08);
    }

    .home-feature-card h3 {
      margin: 0;
      font-size: 30px;
      line-height: 1.18;
      font-weight: 900;
      max-width: 320px;
    }

    .home-feature-card p {
      margin: 16px 0 0;
      color: #6f5353;
      line-height: 1.82;
      font-size: 15px;
    }

    .feature-points {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 22px;
    }

    .feature-points span {
      display: inline-flex;
      align-items: center;
      padding: 10px 12px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.84);
      border: 1px solid rgba(220, 24, 41, 0.08);
      color: #814747;
      font-size: 13px;
      font-weight: 700;
    }

    .feature-cta {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-top: auto;
      padding-top: 26px;
      font-size: 15px;
      font-weight: 900;
      color: #b10f1d;
    }

    .feature-cta::after {
      content: "↗";
      font-size: 18px;
      line-height: 1;
    }

    .home-band {
      position: relative;
      overflow: hidden;
      background:
        radial-gradient(circle at top left, rgba(239, 35, 60, 0.18), transparent 24%),
        linear-gradient(180deg, #121417 0%, #171a1f 100%);
      color: #fff;
    }

    .home-band::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
      transform: translateX(-100%);
      animation: sheenSweep 7s linear infinite;
      pointer-events: none;
    }

    .home-band-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 24px;
      padding: 42px 0 54px;
      position: relative;
      z-index: 1;
    }

    .band-stat {
      padding: 26px 22px;
      border-radius: 24px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
      box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
      backdrop-filter: blur(10px);
    }

    .band-stat strong {
      display: block;
      font-size: clamp(28px, 3vw, 42px);
      line-height: 1;
      font-weight: 900;
      color: #fff;
    }

    .band-stat span {
      display: block;
      margin-top: 12px;
      color: rgba(255, 235, 237, 0.72);
      line-height: 1.8;
      font-size: 15px;
    }

    @keyframes homeTicker {
      from {
        transform: translateX(0);
      }
      to {
        transform: translateX(-50%);
      }
    }

    @keyframes floatPanel {
      0%,
      100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(-10px);
      }
    }

    @keyframes floatNote {
      0%,
      100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(-8px);
      }
    }

    @keyframes pulseDot {
      0% {
        box-shadow: 0 0 0 0 rgba(22, 199, 104, 0.42);
      }
      70% {
        box-shadow: 0 0 0 12px rgba(22, 199, 104, 0);
      }
      100% {
        box-shadow: 0 0 0 0 rgba(22, 199, 104, 0);
      }
    }

    @keyframes sheenSweep {
      from {
        transform: translateX(-100%);
      }
      to {
        transform: translateX(100%);
      }
    }

    .service-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 22px;
    }

    .card {
      background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.99));
      border: 1px solid rgba(220, 24, 41, 0.08);
      border-radius: 26px;
      padding: 26px;
      box-shadow: var(--shadow);
      position: relative;
      overflow: hidden;
    }

    .card:hover {
      transform: translateY(-6px);
      border-color: rgba(229, 9, 20, 0.45);
      box-shadow: 0 20px 50px rgba(229, 9, 20, 0.12);
    }

    .card::after {
      content: "";
      position: absolute;
      right: -50px;
      top: -50px;
      width: 130px;
      height: 130px;
      background: radial-gradient(circle, rgba(229, 9, 20, 0.12), transparent 70%);
      pointer-events: none;
    }

    .service-tag {
      display: inline-flex;
      padding: 8px 12px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 800;
      background: rgba(217, 31, 46, 0.08);
      border: 1px solid rgba(217, 31, 46, 0.14);
      margin-bottom: 16px;
      color: var(--primary);
    }

    .icon {
      width: 68px;
      height: 68px;
      border-radius: 20px;
      display: grid;
      place-items: center;
      font-size: 30px;
      margin-bottom: 18px;
      background: linear-gradient(180deg, rgba(217, 31, 46, 0.14), rgba(255, 255, 255, 0.95));
      border: 1px solid rgba(173, 22, 33, 0.10);
    }

    .card h3 {
      margin: 0 0 10px;
      font-size: 22px;
      font-weight: 900;
    }

    .card p {
      margin: 0;
      color: #725252;
      line-height: 1.75;
      font-size: 15px;
    }

    .card-bottom {
      margin-top: 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .price {
      font-size: 18px;
      font-weight: 900;
      color: var(--primary);
    }

    .pill-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 10px 14px;
      border-radius: 999px;
      font-size: 14px;
      font-weight: 800;
      background: rgba(217, 31, 46, 0.10);
      border: 1px solid rgba(217, 31, 46, 0.22);
      color: var(--primary);
    }

    .dashboard-panel {
      margin-top: 44px;
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 22px;
    }

    .panel {
      background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.99));
      border: 1px solid rgba(220, 24, 41, 0.08);
      border-radius: 28px;
      padding: 28px;
      box-shadow: var(--shadow);
    }

    .panel h3 {
      margin: 0 0 12px;
      font-size: 28px;
      font-weight: 900;
    }

    .panel p {
      margin: 0 0 20px;
      color: #6d4d4d;
      line-height: 1.8;
    }

    .panel-actions {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }

    .mini-user {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 16px;
      border-radius: 18px;
      background: rgba(255, 251, 251, 0.92);
      border: 1px solid rgba(173, 22, 33, 0.10);
      margin-top: 20px;
    }

    .mini-user img {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      object-fit: cover;
    }

    .lookup-card {
      margin-top: 22px;
      padding-top: 22px;
      border-top: 1px solid rgba(220, 24, 41, 0.12);
    }

    .lookup-head strong {
      display: block;
      font-size: 18px;
      font-weight: 900;
    }

    .lookup-head span {
      display: block;
      margin-top: 8px;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.7;
    }

    .lookup-form {
      margin-top: 16px;
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }

    .lookup-field {
      flex: 1;
      min-width: 220px;
      height: 52px;
      padding: 0 16px;
      border-radius: 14px;
      border: 1px solid rgba(220, 24, 41, 0.12);
      background: rgba(255, 255, 255, 0.98);
      color: var(--text);
      outline: none;
      font-size: 15px;
    }

    .lookup-field:focus {
      border-color: rgba(229, 9, 20, 0.45);
      box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.10);
    }

    .lookup-message,
    .lookup-note {
      margin-top: 14px;
      padding: 14px 16px;
      border-radius: 16px;
      font-size: 14px;
      line-height: 1.7;
    }

    .lookup-message {
      background: rgba(255, 247, 247, 0.96);
      border: 1px solid rgba(220, 24, 41, 0.08);
      color: #7b4646;
    }

    .lookup-message.is-error {
      background: rgba(255, 235, 235, 0.96);
      border-color: rgba(220, 24, 41, 0.18);
      color: #aa1827;
    }

    .lookup-message.is-success {
      background: rgba(236, 255, 241, 0.96);
      border-color: rgba(18, 140, 71, 0.18);
      color: #12653a;
    }

    .lookup-note {
      background: rgba(255, 255, 255, 0.82);
      border: 1px dashed rgba(220, 24, 41, 0.18);
      color: var(--muted);
    }

    .lookup-actions {
      margin-top: 14px;
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }

    .transcript-list {
      margin-top: 16px;
      display: grid;
      gap: 12px;
    }

    .account-stats {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
      margin-top: 20px;
    }

    .account-stat {
      padding: 16px;
      border-radius: 18px;
      background: rgba(255, 251, 251, 0.92);
      border: 1px solid rgba(173, 22, 33, 0.10);
    }

    .account-stat strong {
      display: block;
      font-size: 22px;
      font-weight: 900;
      color: #b11626;
    }

    .account-stat span {
      display: block;
      margin-top: 6px;
      font-size: 13px;
      color: var(--muted);
    }

    .lookup-input,
    .chat-input,
    .review-input,
    .review-textarea {
      flex: 1;
      min-width: 260px;
      height: 52px;
      padding: 0 16px;
      border-radius: 14px;
      border: 1px solid rgba(255,255,255,.12);
      background: rgba(255,255,255,.04);
      color: #fff;
      outline: none;
      font-size: 15px;
    }

    .review-textarea,
    .chat-input {
      min-height: 52px;
      height: auto;
      padding: 14px 16px;
      resize: vertical;
      font-family: inherit;
    }

    .lookup-input:focus,
    .chat-input:focus,
    .review-input:focus,
    .review-textarea:focus {
      border-color: rgba(229, 9, 20, 0.6);
      box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.12);
    }

    .muted {
      color: var(--muted);
    }

    .hidden {
      display: none !important;
    }

    .transcript-item {
      padding: 16px;
      border-radius: 18px;
      border: 1px solid rgba(220, 24, 41, 0.10);
      background: rgba(255, 255, 255, 0.96);
    }

    .transcript-name {
      font-weight: 800;
      margin-bottom: 8px;
      word-break: break-all;
    }

    .transcript-actions {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin-top: 12px;
    }

    .contact-list {
      display: grid;
      gap: 14px;
      margin-top: 22px;
    }

    .contact-item {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 16px;
      border-radius: 18px;
      background: rgba(255, 255, 255, 1);
      border: 1px solid rgba(220, 24, 41, 0.08);
    }

    .contact-icon {
      width: 52px;
      height: 52px;
      border-radius: 16px;
      display: grid;
      place-items: center;
      font-size: 22px;
      background: linear-gradient(180deg, rgba(217, 31, 46, 0.12), rgba(255, 255, 255, 0.95));
      border: 1px solid rgba(173, 22, 33, 0.10);
      flex-shrink: 0;
    }

    .contact-item strong {
      display: block;
      font-size: 16px;
      font-weight: 800;
      margin-bottom: 4px;
    }

    .contact-item span {
      color: var(--muted);
      font-size: 14px;
      word-break: break-word;
    }

    .review-card .review-stars {
      color: #ffb347;
      margin-bottom: 10px;
      font-size: 14px;
      letter-spacing: 2px;
    }

    .review-meta {
      margin-top: 16px;
      color: var(--muted);
      font-size: 14px;
      font-weight: 700;
    }

    .review-form {
      margin-top: 28px;
      display: grid;
      gap: 14px;
      max-width: 760px;
      margin-left: auto;
      margin-right: auto;
      background: linear-gradient(180deg, rgba(18,18,18,.96), rgba(8,8,8,.98));
      border: 1px solid rgba(255,255,255,.08);
      border-radius: 24px;
      padding: 24px;
      box-shadow: var(--shadow);
    }

    .review-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
    }

    .chat-grid {
      display: grid;
      grid-template-columns: 1fr 0.95fr;
      gap: 22px;
      margin-top: 34px;
    }

    .chat-box {
      background: linear-gradient(180deg, rgba(18,18,18,.96), rgba(8,8,8,.98));
      border: 1px solid rgba(255,255,255,.08);
      border-radius: 28px;
      padding: 24px;
      box-shadow: var(--shadow);
    }

    .chat-messages {
      height: 420px;
      overflow-y: auto;
      border-radius: 20px;
      background: rgba(255,255,255,.03);
      border: 1px solid rgba(255,255,255,.06);
      padding: 18px;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .msg {
      max-width: 82%;
      padding: 14px 16px;
      border-radius: 18px;
      line-height: 1.6;
      font-size: 14px;
      word-break: break-word;
    }

    .msg.user {
      align-self: flex-end;
      background: linear-gradient(135deg, var(--primary), #ff2b36);
      color: white;
      border-bottom-right-radius: 8px;
      box-shadow: 0 8px 24px rgba(229, 9, 20, 0.24);
    }

    .msg.admin {
      align-self: flex-start;
      background: rgba(255,255,255,.05);
      border: 1px solid rgba(255,255,255,.08);
      color: #f0f0f0;
      border-bottom-left-radius: 8px;
    }

    .msg-meta {
      font-size: 11px;
      opacity: .75;
      margin-top: 6px;
    }

    .chat-form {
      margin-top: 16px;
      display: grid;
      gap: 12px;
    }

    .chat-actions {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }

    .support-chat-root {
      position: fixed;
      right: 22px;
      bottom: 22px;
      z-index: 96;
      display: grid;
      justify-items: end;
      gap: 14px;
      pointer-events: none;
    }

    .support-chat-panel,
    .support-chat-launcher {
      pointer-events: auto;
    }

    .support-chat-panel {
      width: min(390px, calc(100vw - 28px));
      max-height: min(76vh, 720px);
      padding: 18px;
      display: flex;
      flex-direction: column;
      border-radius: 28px;
      background:
        radial-gradient(circle at top right, rgba(255, 216, 222, 0.95), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 245, 247, 0.97));
      border: 1px solid rgba(193, 18, 31, 0.12);
      box-shadow:
        0 30px 70px rgba(88, 16, 24, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.86);
      opacity: 0;
      visibility: hidden;
      transform: translateY(18px) scale(0.965);
      transform-origin: bottom right;
      transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
      overflow: hidden;
    }

    .support-chat-root.is-open .support-chat-panel {
      opacity: 1;
      visibility: visible;
      transform: translateY(0) scale(1);
    }

    .support-chat-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
    }

    .support-chat-kicker {
      margin: 0 0 6px;
      color: #cc3445;
      font-size: 12px;
      font-weight: 900;
      letter-spacing: 0.16em;
      text-transform: uppercase;
    }

    .support-chat-head h3 {
      margin: 0;
      font-size: 28px;
      line-height: 1.08;
      letter-spacing: -0.04em;
      color: #2c1719;
    }

    .support-chat-close {
      width: 40px;
      height: 40px;
      border: 0;
      border-radius: 14px;
      background: rgba(130, 41, 49, 0.08);
      color: #7b3f45;
      font-size: 24px;
      line-height: 1;
      cursor: pointer;
      transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
      flex-shrink: 0;
    }

    .support-chat-close:hover {
      background: rgba(193, 18, 31, 0.12);
      color: #57161d;
      transform: translateY(-1px);
    }

    .support-chat-status {
      margin-top: 14px;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 10px 14px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.72);
      border: 1px solid rgba(173, 22, 33, 0.1);
      color: #6d5050;
      font-size: 14px;
      font-weight: 600;
    }

    .support-chat-status-dot {
      width: 9px;
      height: 9px;
      border-radius: 999px;
      background: #2fb86e;
      box-shadow: 0 0 0 8px rgba(47, 184, 110, 0.16);
      animation: supportStatusPulse 2.1s ease-in-out infinite;
      flex-shrink: 0;
    }

    .support-chat-shortcuts {
      margin-top: 16px;
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .support-chat-shortcut,
    .support-chat-action {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 38px;
      padding: 9px 14px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.84);
      border: 1px solid rgba(173, 22, 33, 0.12);
      color: #7b2e36;
      font-size: 13px;
      font-weight: 800;
      transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    }

    .support-chat-shortcut:hover,
    .support-chat-action:hover {
      transform: translateY(-1px);
      border-color: rgba(193, 18, 31, 0.2);
      box-shadow: 0 10px 18px rgba(193, 18, 31, 0.12);
    }

    .support-chat-question-list {
      margin-top: 16px;
      display: grid;
      gap: 10px;
      max-height: 156px;
      overflow-y: auto;
      padding-right: 4px;
    }

    .support-chat-question {
      width: 100%;
      padding: 13px 15px;
      border-radius: 18px;
      border: 1px solid rgba(173, 22, 33, 0.1);
      background: rgba(255, 255, 255, 0.88);
      color: #3b2124;
      font: inherit;
      font-size: 14px;
      font-weight: 700;
      text-align: left;
      cursor: pointer;
      transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    }

    .support-chat-question:hover {
      transform: translateX(2px);
      border-color: rgba(193, 18, 31, 0.18);
      box-shadow: 0 12px 22px rgba(193, 18, 31, 0.08);
    }

    .support-chat-messages {
      margin-top: 16px;
      min-height: 178px;
      max-height: 228px;
      flex: 1 1 auto;
      overflow-y: auto;
      display: flex;
      flex-direction: column;
      gap: 10px;
      padding-right: 4px;
    }

    .support-chat-message {
      display: flex;
      width: 100%;
      animation: supportChatMessageIn 0.22s ease;
    }

    .support-chat-message.is-user {
      justify-content: flex-end;
    }

    .support-chat-bubble {
      max-width: 90%;
      padding: 13px 15px;
      border-radius: 18px;
      line-height: 1.62;
      font-size: 14px;
      box-shadow: 0 10px 22px rgba(113, 24, 34, 0.07);
    }

    .support-chat-bubble.is-bot {
      background: rgba(255, 255, 255, 0.96);
      border: 1px solid rgba(173, 22, 33, 0.1);
      color: #4b3436;
      border-bottom-left-radius: 10px;
    }

    .support-chat-bubble.is-user {
      background: linear-gradient(135deg, #ff6b00, #ef233c 82%);
      color: #fff;
      border-bottom-right-radius: 10px;
    }

    .support-chat-bubble p {
      margin: 0;
    }

    .support-chat-bubble p + p,
    .support-chat-bullet-list,
    .support-chat-action-row {
      margin-top: 10px;
    }

    .support-chat-bubble a {
      color: #ba1220;
      text-decoration: underline;
      text-decoration-thickness: 1px;
      text-underline-offset: 2px;
      font-weight: 800;
    }

    .support-chat-bubble.is-user a {
      color: inherit;
    }

    .support-chat-bullet-list {
      margin-bottom: 0;
      padding-left: 18px;
    }

    .support-chat-bullet-list li + li {
      margin-top: 6px;
    }

    .support-chat-action-row {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .support-chat-bubble-typing {
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .support-chat-bubble-typing span {
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: rgba(193, 18, 31, 0.38);
      animation: supportTypingDot 1.1s ease-in-out infinite;
    }

    .support-chat-bubble-typing span:nth-child(2) {
      animation-delay: 0.12s;
    }

    .support-chat-bubble-typing span:nth-child(3) {
      animation-delay: 0.24s;
    }

    .support-chat-form {
      margin-top: 16px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 10px;
    }

    .support-chat-input {
      height: 50px;
      padding: 0 16px;
      border-radius: 16px;
      border: 1px solid rgba(173, 22, 33, 0.12);
      background: rgba(255, 255, 255, 0.92);
      color: #2c1719;
      outline: none;
      font: inherit;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }

    .support-chat-input:focus {
      border-color: rgba(193, 18, 31, 0.3);
      box-shadow: 0 0 0 4px rgba(239, 35, 60, 0.1);
    }

    .support-chat-send {
      min-width: 84px;
      border: 0;
      border-radius: 16px;
      background: linear-gradient(135deg, #ff6b00, #ef233c 82%);
      color: #fff;
      font: inherit;
      font-weight: 800;
      cursor: pointer;
      box-shadow: 0 18px 26px rgba(239, 35, 60, 0.2);
      transition: transform 0.18s ease, box-shadow 0.18s ease;
    }

    .support-chat-send:hover {
      transform: translateY(-1px);
      box-shadow: 0 22px 30px rgba(239, 35, 60, 0.24);
    }

    .support-chat-launcher {
      min-width: 72px;
      height: 72px;
      padding: 0 20px;
      border: 0;
      border-radius: 24px;
      background: linear-gradient(135deg, #ff6b00, #ef233c 82%);
      color: #fff;
      font: inherit;
      font-size: 15px;
      font-weight: 900;
      letter-spacing: 0.02em;
      cursor: pointer;
      box-shadow:
        0 24px 38px rgba(239, 35, 60, 0.22),
        0 0 0 10px rgba(255, 137, 78, 0.12);
      transition: transform 0.18s ease, box-shadow 0.18s ease;
      animation: supportLauncherFloat 4.2s ease-in-out infinite;
    }

    .support-chat-launcher:hover {
      transform: translateY(-2px);
      box-shadow:
        0 28px 42px rgba(239, 35, 60, 0.26),
        0 0 0 12px rgba(255, 137, 78, 0.14);
    }

    .support-chat-root.is-open .support-chat-launcher {
      border-radius: 20px;
      min-width: 88px;
    }

    @keyframes supportStatusPulse {
      0%,
      100% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(47, 184, 110, 0.16);
      }
      50% {
        transform: scale(1.08);
        box-shadow: 0 0 0 12px rgba(47, 184, 110, 0.08);
      }
    }

    @keyframes supportTypingDot {
      0%,
      80%,
      100% {
        transform: translateY(0);
        opacity: 0.5;
      }
      40% {
        transform: translateY(-4px);
        opacity: 1;
      }
    }

    @keyframes supportLauncherFloat {
      0%,
      100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(-4px);
      }
    }

    @keyframes supportChatMessageIn {
      from {
        opacity: 0;
        transform: translateY(6px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .footer-pro {
      padding: 56px 0 22px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      background:
        radial-gradient(circle at top right, rgba(239, 35, 60, 0.18), transparent 28%),
        linear-gradient(135deg, #120d0f 0%, #231014 52%, #34141a 100%);
      color: #fff7f8;
      margin-top: auto;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    }

    .footer-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0,1fr));
      gap: 24px;
    }

    .footer-grid h3,
    .footer-grid h4 {
      margin-top: 0;
      margin-bottom: 14px;
      color: #fff7f8;
    }

    .footer-grid a,
    .footer-grid p {
      color: rgba(255, 232, 235, 0.76);
      line-height: 1.9;
    }

    .footer-grid a {
      transition: color 0.2s ease, opacity 0.2s ease;
    }

    .footer-grid a:hover {
      color: #ffffff;
      opacity: 1;
    }

    .footer-pro .muted {
      color: rgba(255, 232, 235, 0.72);
    }

    .footer-bottom {
      text-align: center;
      color: rgba(255, 232, 235, 0.68);
      margin-top: 24px;
      padding-top: 20px;
      border-top: 1px solid rgba(255, 255, 255, 0.12);
      font-size: 14px;
    }

    .legal-title {
      font-size: clamp(34px, 4vw, 60px);
      line-height: 1.08;
      margin: 0;
      font-weight: 900;
      text-transform: uppercase;
    }

    .legal-stack {
      display: grid;
      gap: 24px;
    }

    .legal-section-title {
      margin: 0 0 18px;
      font-size: 30px;
      font-weight: 900;
      color: var(--primary-dark);
    }

    .legal-box-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 22px;
      margin-top: 28px;
    }

    .legal-box {
      background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(255, 251, 251, 1));
      border: 1px solid rgba(220, 24, 41, 0.10);
      border-radius: 24px;
      padding: 24px;
      box-shadow: var(--shadow);
    }

    .legal-box h3 {
      margin: 0 0 16px;
      font-size: 22px;
      line-height: 1.35;
      color: var(--primary-dark);
    }

    .legal-label {
      margin: 18px 0 10px;
      font-size: 14px;
      font-weight: 900;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: var(--primary);
    }

    .legal-list {
      margin: 0;
      padding-left: 20px;
      color: #6d4d4d;
      line-height: 1.8;
    }

    .legal-list li + li {
      margin-top: 10px;
    }

    .floating-contact {
      position: fixed;
      right: 20px;
      bottom: 20px;
      z-index: 60;
      padding: 14px 18px;
      border-radius: 999px;
      background: linear-gradient(135deg, var(--primary), #ff2b36);
      color: #fff;
      font-weight: 800;
      box-shadow: 0 16px 36px rgba(229, 9, 20, 0.35);
    }

    .profile-menu {
      position: relative;
    }

    .profile-trigger {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 8px 12px 8px 8px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.92);
      border: 1px solid rgba(173, 22, 33, 0.12);
      cursor: pointer;
      font: inherit;
      color: inherit;
      transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }

    .profile-trigger::after {
      content: "";
      width: 10px;
      height: 10px;
      margin-left: 6px;
      margin-right: 4px;
      border-right: 2px solid #9f1422;
      border-bottom: 2px solid #9f1422;
      transform: rotate(45deg) translateY(-1px);
      transform-origin: center;
      transition: transform 0.2s ease, opacity 0.2s ease;
      opacity: 0.88;
      flex-shrink: 0;
    }

    .profile-trigger:hover,
    .profile-trigger:focus-visible,
    .profile-menu.open .profile-trigger {
      border-color: rgba(177, 15, 29, 0.22);
      background: rgba(255, 255, 255, 0.98);
      box-shadow: 0 12px 24px rgba(171, 33, 49, 0.08);
    }

    .profile-menu.open .profile-trigger::after {
      transform: rotate(-135deg) translateY(-1px);
    }

    .profile-trigger img {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      object-fit: cover;
    }

    .profile-wallet-pill {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 52px;
      padding: 7px 12px;
      border-radius: 999px;
      background: linear-gradient(135deg, #1d72ff, #3f8cff);
      color: #fff;
      font-size: 13px;
      font-weight: 900;
      letter-spacing: 0.01em;
      box-shadow: 0 10px 20px rgba(29, 114, 255, 0.2);
    }

    .profile-panel {
      position: absolute;
      top: calc(100% + 12px);
      right: 0;
      min-width: 220px;
      padding: 8px;
      border-radius: 18px;
      background: #fff;
      border: 1px solid rgba(173, 22, 33, 0.12);
      box-shadow: 0 18px 34px rgba(171, 33, 49, 0.12);
      display: none;
      z-index: 90;
    }

    .profile-menu.open .profile-panel {
      display: block;
    }

    .profile-panel-link {
      display: flex;
      align-items: center;
      gap: 10px;
      width: 100%;
      padding: 12px 14px;
      border-radius: 14px;
      color: #5d1f24;
      font-weight: 700;
      text-align: left;
      background: transparent;
      border: 0;
      cursor: pointer;
      font: inherit;
    }

    .profile-panel-link::before {
      content: "";
      width: 18px;
      height: 18px;
      min-width: 18px;
      background-position: center;
      background-repeat: no-repeat;
      background-size: 18px 18px;
      opacity: 0.84;
    }

    .profile-panel-link[href="/tai-khoan"]::before {
      background-image: url("https://img.icons8.com/?size=100&id=11730&format=png&color=5D1F24");
    }

    .profile-panel-link[href="/rut-tien"]::before {
      background-image: url("https://img.icons8.com/?size=100&id=48778&format=png&color=000000");
    }

    .profile-panel-link[href="/nap-tien"]::before {
      background-image: url("https://img.icons8.com/?size=100&id=115331&format=png&color=000000");
    }

    .profile-panel-link[href="/card-charge"]::before {
      background-image: url("https://img.icons8.com/?size=100&id=22128&format=png&color=000000");
    }

    .profile-panel-link[href="/lich-su"]::before {
      background-image: url("https://img.icons8.com/?size=100&id=86136&format=png&color=000000");
    }

    .profile-panel-link[data-admin-link]::before {
      background-image: url("https://img.icons8.com/?size=100&id=52233&format=png&color=000000");
    }

    .profile-panel-link[href="/tai-khoan"] {
      margin-bottom: 7px;
      padding-bottom: 13px;
      border-bottom: 1px solid rgba(173, 22, 33, 0.12);
      border-radius: 12px 12px 0 0;
    }

    .profile-panel-button {
      margin-top: 7px;
      padding-top: 13px;
      border-top: 1px solid rgba(173, 22, 33, 0.12);
      color: #d7263d;
    }

    .profile-panel-button::before {
      background-image: url("https://img.icons8.com/?size=100&id=2445&format=png&color=D7263D");
      opacity: 1;
    }

    .profile-panel-link:hover {
      background: rgba(193, 18, 31, 0.08);
      color: #b10f1d;
    }

    .dashboard-stats,
    .dashboard-grid,
    .profile-layout {
      display: grid;
      gap: 20px;
    }

    .dashboard-stats {
      grid-template-columns: repeat(4, minmax(0, 1fr));
      margin-bottom: 28px;
    }

    .dashboard-grid,
    .profile-layout {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-empty {
      text-align: left;
    }

    .panel-topline {
      font-size: 13px;
      font-weight: 900;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #b10f1d;
      margin-bottom: 10px;
    }

    .info-stack {
      display: grid;
      gap: 12px;
    }

    .info-row {
      display: flex;
      justify-content: space-between;
      gap: 14px;
      padding: 12px 14px;
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.8);
      border: 1px solid rgba(173, 22, 33, 0.1);
    }

    .info-row span {
      text-align: right;
      color: #6b4a4a;
    }

    .tag-cloud,
    .ticket-code-list {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .tag-pill,
    .ticket-code-pill {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 10px 14px;
      border-radius: 999px;
      font-weight: 800;
      border: 1px solid rgba(193, 18, 31, 0.12);
      background: rgba(255, 255, 255, 0.92);
      color: #8d1a26;
      transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    }

    .ticket-code-pill:hover {
      transform: translateY(-1px);
      border-color: rgba(193, 18, 31, 0.28);
      background: rgba(193, 18, 31, 0.08);
    }

    .order-list {
      display: grid;
      gap: 14px;
    }

    .card-charge-form,
    .card-request-list {
      display: grid;
      gap: 14px;
    }

    .card-charge-form {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      margin-top: 18px;
    }

    .card-charge-field-wide {
      grid-column: 1 / -1;
    }

    .card-charge-form select,
    .card-charge-form input {
      width: 100%;
      padding: 14px 16px;
      border-radius: 16px;
      border: 1px solid rgba(173, 22, 33, 0.16);
      background: rgba(255, 255, 255, 0.92);
      color: #5d1f24;
      font: inherit;
    }

    .card-charge-form select:focus,
    .card-charge-form input:focus {
      outline: none;
      border-color: rgba(177, 15, 29, 0.45);
      box-shadow: 0 0 0 4px rgba(193, 18, 31, 0.08);
    }

    .card-charge-actions {
      grid-column: 1 / -1;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
    }

    .wallet-page-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.8fr);
      gap: 22px;
      align-items: start;
    }

    .wallet-page-aside {
      display: grid;
      gap: 20px;
    }

    .wallet-request-form {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
      margin-top: 18px;
    }

    .wallet-field-wide {
      grid-column: 1 / -1;
    }

    .wallet-request-form input,
    .wallet-request-form textarea,
    .wallet-history-search {
      width: 100%;
      padding: 14px 16px;
      border-radius: 16px;
      border: 1px solid rgba(173, 22, 33, 0.16);
      background: rgba(255, 255, 255, 0.94);
      color: #5d1f24;
      font: inherit;
    }

    .wallet-request-form input:focus,
    .wallet-request-form textarea:focus,
    .wallet-history-search:focus {
      outline: none;
      border-color: rgba(177, 15, 29, 0.45);
      box-shadow: 0 0 0 4px rgba(193, 18, 31, 0.08);
    }

    .wallet-form-actions {
      grid-column: 1 / -1;
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
    }

    .wallet-active-request {
      margin-top: 18px;
      padding: 18px;
      border-radius: 22px;
      border: 1px solid rgba(173, 22, 33, 0.12);
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 248, 0.94));
      box-shadow: 0 16px 30px rgba(171, 33, 49, 0.06);
    }

    .wallet-active-grid {
      display: grid;
      grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
      gap: 18px;
      align-items: start;
    }

    .wallet-qr-box {
      display: grid;
      gap: 12px;
      justify-items: center;
      padding: 16px;
      border-radius: 20px;
      background: rgba(255, 255, 255, 0.92);
      border: 1px solid rgba(173, 22, 33, 0.1);
    }

    .wallet-qr-box img {
      width: min(220px, 100%);
      border-radius: 18px;
      border: 1px solid rgba(173, 22, 33, 0.12);
      background: #fff;
      padding: 8px;
    }

    .wallet-request-detail {
      display: grid;
      gap: 12px;
    }

    .wallet-request-card {
      padding: 15px 16px;
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.92);
      border: 1px solid rgba(173, 22, 33, 0.1);
      display: grid;
      gap: 10px;
    }

    .wallet-request-code {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 10px 12px;
      border-radius: 14px;
      background: rgba(193, 18, 31, 0.08);
      color: #8d1a26;
      font-family: Consolas, monospace;
      font-weight: 800;
      width: fit-content;
      max-width: 100%;
      word-break: break-all;
    }

    .wallet-note-list {
      display: grid;
      gap: 12px;
    }

    .wallet-note-item {
      padding: 14px 16px;
      border-radius: 18px;
      border: 1px dashed rgba(173, 22, 33, 0.18);
      background: rgba(255, 247, 247, 0.9);
      color: #6a3a3a;
      line-height: 1.65;
    }

    .wallet-history-filter-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .wallet-history-filter {
      border: 1px solid rgba(173, 22, 33, 0.14);
      background: rgba(255, 255, 255, 0.94);
      color: #8d1a26;
      font: inherit;
      font-weight: 800;
      padding: 10px 16px;
      border-radius: 999px;
      cursor: pointer;
      transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
    }

    .wallet-history-filter:hover,
    .wallet-history-filter.is-active {
      transform: translateY(-2px);
      border-color: rgba(177, 15, 29, 0.26);
      background: rgba(193, 18, 31, 0.08);
    }

    .card-charge-message {
      margin-top: 16px;
      padding: 14px 16px;
      border-radius: 18px;
      border: 1px solid rgba(173, 22, 33, 0.12);
      background: rgba(255, 255, 255, 0.92);
      color: #5d1f24;
    }

    .card-charge-message-info {
      background: rgba(255, 248, 236, 0.96);
    }

    .card-charge-message-success {
      background: rgba(237, 251, 242, 0.96);
      border-color: rgba(31, 124, 68, 0.18);
      color: #226241;
    }

    .card-charge-message-error {
      background: rgba(255, 240, 240, 0.96);
      border-color: rgba(177, 15, 29, 0.18);
      color: #8d1a26;
    }

    .card-request-item {
      display: grid;
      gap: 10px;
      padding: 16px 18px;
      border-radius: 18px;
      border: 1px solid rgba(173, 22, 33, 0.1);
      background: rgba(255, 255, 255, 0.86);
    }

    .card-request-top,
    .card-request-meta {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      align-items: center;
      flex-wrap: wrap;
    }

    .card-request-meta {
      color: #7b6464;
      font-size: 14px;
    }

    .card-request-summary {
      display: grid;
      gap: 8px;
      color: #5d1f24;
    }

    .card-system-status {
      display: grid;
      gap: 12px;
    }

    .system-status-banner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      padding: 16px 18px;
      border-radius: 18px;
      background: linear-gradient(135deg, #ff0042, #ff6464);
      color: #fff;
    }

    .system-status-banner strong {
      font-size: 18px;
    }

    .system-status-note {
      color: rgba(255, 255, 255, 0.84);
      font-size: 14px;
    }

    .fee-board-header {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 18px 20px;
      margin: -24px -24px 0;
      border-radius: 24px 24px 0 0;
      background: #ff3b43;
      color: #fff;
      font-weight: 900;
      font-size: 18px;
    }

    .fee-board-icon {
      font-size: 20px;
    }

    .fee-tabs {
      display: flex;
      flex-wrap: wrap;
      gap: 4px 18px;
      padding: 18px 8px 14px;
      border-bottom: 1px solid rgba(173, 22, 33, 0.08);
    }

    .fee-tab {
      appearance: none;
      border: 0;
      background: transparent;
      color: #000000;
      padding: 10px 6px 12px;
      font: inherit;
      font-weight: 500;
      cursor: pointer;
      border-bottom: 3px solid transparent;
    }

    .fee-tab.active {
      color: #111;
      border-bottom-color: #ff0000;
    }

    .fee-table-wrap,
    .history-table-wrap {
      overflow-x: auto;
    }

    .fee-table,
    .history-table {
      width: 100%;
      border-collapse: collapse;
      min-width: 900px;
      background: rgba(255, 255, 255, 0.92);
    }

    .fee-table th,
    .fee-table td,
    .history-table th,
    .history-table td {
      padding: 14px 12px;
      border: 1px solid rgba(173, 22, 33, 0.1);
      text-align: center;
    }

    .fee-table th,
    .history-table th {
      font-size: 16px;
      font-weight: 900;
      color: #1a1a1a;
      background: rgba(246, 249, 255, 0.98);
      white-space: nowrap;
    }

    .fee-table td:first-child {
      font-weight: 900;
      color: #0c8d2c;
    }

    .fee-rate {
      color: #0c8d2c;
      font-weight: 500;
    }

    .history-board-head,
    .history-toolbar,
    .history-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap;
    }

    .history-toolbar {
      margin: 18px 0 14px;
    }

    .history-toolbar-left,
    .history-search {
      display: flex;
      align-items: center;
      gap: 10px;
      color: #2a2a2a;
    }

    .history-select {
      min-width: 78px;
      padding: 10px 12px;
      border-radius: 12px;
      border: 1px solid rgba(173, 22, 33, 0.12);
      background: rgba(255, 255, 255, 0.94);
      font: inherit;
    }

    .history-footer {
      margin-top: 16px;
    }

    .history-pagination {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .history-page-btn,
    .history-page-indicator {
      min-width: 38px;
      height: 38px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 10px;
      border: 1px solid rgba(173, 22, 33, 0.12);
      background: rgba(255, 255, 255, 0.94);
      font: inherit;
    }

    .history-page-btn {
      cursor: pointer;
    }

    .history-page-btn:disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }

    .history-page-indicator {
      background: #1f6deb;
      color: #fff;
      font-weight: 900;
      border-color: #1f6deb;
    }

    .history-code {
      color: #d8317e;
      font-family: Consolas, monospace;
      font-size: 14px;
    }

    .activity-list {
      display: grid;
      gap: 14px;
    }

    .activity-item {
      display: grid;
      gap: 10px;
      padding: 16px 18px;
      border-radius: 18px;
      border: 1px solid rgba(173, 22, 33, 0.1);
      background: rgba(255, 255, 255, 0.86);
    }

    .activity-head,
    .activity-meta {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: center;
      flex-wrap: wrap;
    }

    .activity-meta {
      color: #6d4d4d;
    }

    .status-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 8px 12px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 900;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .status-success {
      background: rgba(19, 234, 112, 0.12);
      color: #1fff78;
    }

    .status-warning {
      background: rgba(215, 139, 32, 0.14);
      color: #9a5d11;
    }

    .status-pending {
      background: rgba(34, 113, 200, 0.12);
      color: #1f5f9f;
    }

    .status-error {
      background: rgba(193, 18, 31, 0.12);
      color: #9f1422;
    }

    .status-muted {
      background: rgba(89, 80, 80, 0.1);
      color: #6e5757;
    }

    .admin-log-list {
      display: grid;
      gap: 12px;
      margin-top: 18px;
    }

    .admin-log-header,
    .admin-log-row {
      display: grid;
      grid-template-columns: 1.2fr 0.9fr 1.4fr 1.2fr 1.3fr;
      gap: 12px;
      align-items: start;
      padding: 14px 16px;
      border-radius: 18px;
    }

    .admin-log-header {
      background: rgba(193, 18, 31, 0.08);
      color: #9f1422;
      font-weight: 900;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      font-size: 12px;
    }

    .admin-log-row {
      border: 1px solid rgba(173, 22, 33, 0.1);
      background: rgba(255, 255, 255, 0.86);
      color: #5d1f24;
    }

    .admin-log-row small {
      color: #7b6464;
    }

    .admin-audit-shell {
      display: grid;
      gap: 24px;
    }

    .admin-audit-hero {
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(193, 18, 31, 0.14);
      background:
        radial-gradient(circle at top right, rgba(255, 92, 122, 0.22), transparent 34%),
        linear-gradient(135deg, rgba(255, 247, 248, 0.98), rgba(255, 255, 255, 0.96));
    }

    .admin-audit-hero::before {
      content: "";
      position: absolute;
      inset: auto -12% -40% auto;
      width: 280px;
      height: 280px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(193, 18, 31, 0.14), transparent 70%);
      pointer-events: none;
    }

    .admin-audit-hero > * {
      position: relative;
      z-index: 1;
    }

    .admin-audit-hero-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 24px;
      flex-wrap: wrap;
    }

    .admin-audit-hero-copy {
      max-width: 760px;
      display: grid;
      gap: 10px;
    }

    .admin-audit-hero-copy h2 {
      margin: 0;
      font-size: clamp(28px, 4vw, 42px);
      line-height: 1.02;
      letter-spacing: -0.03em;
      color: #4b1118;
    }

    .admin-audit-hero-copy p,
    .admin-log-panel-copy {
      margin: 0;
      color: #6d4d4d;
      line-height: 1.75;
    }

    .admin-audit-hero-actions {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      justify-content: flex-end;
    }

    .admin-log-insight-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 16px;
      margin-top: 22px;
    }

    .admin-log-insight {
      display: grid;
      gap: 10px;
      padding: 18px;
      border-radius: 22px;
      border: 1px solid rgba(173, 22, 33, 0.1);
      background: rgba(255, 255, 255, 0.8);
      box-shadow: 0 16px 32px rgba(173, 22, 33, 0.06);
      backdrop-filter: blur(12px);
    }

    .admin-log-insight span {
      font-size: 12px;
      font-weight: 900;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #8d1a26;
    }

    .admin-log-insight strong {
      font-size: clamp(28px, 3vw, 40px);
      line-height: 1;
      color: #4b1118;
    }

    .admin-log-insight small {
      color: #7b6464;
      line-height: 1.5;
    }

    .admin-log-chip-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 18px;
    }

    .admin-log-chip {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 10px 14px;
      border-radius: 999px;
      border: 1px solid rgba(173, 22, 33, 0.12);
      background: rgba(255, 255, 255, 0.88);
      color: #8d1a26;
      cursor: pointer;
      font: inherit;
      font-weight: 800;
      transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
    }

    .admin-log-chip:hover,
    .admin-log-chip.is-active {
      transform: translateY(-2px);
      border-color: rgba(177, 15, 29, 0.26);
      background: rgba(193, 18, 31, 0.08);
    }

    .admin-log-chip strong {
      padding: 4px 10px;
      border-radius: 999px;
      background: rgba(193, 18, 31, 0.08);
      color: #7f1220;
      font-size: 12px;
      line-height: 1;
    }

    .admin-log-filter-panel {
      display: grid;
      gap: 16px;
    }

    .admin-log-toolbar {
      display: grid;
      grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
      gap: 12px;
    }

    .admin-log-search,
    .admin-log-select {
      width: 100%;
    }

    .admin-log-select {
      appearance: none;
      cursor: pointer;
      background:
        linear-gradient(45deg, transparent 50%, #b10f1d 50%) calc(100% - 20px) calc(50% - 2px) / 8px 8px no-repeat,
        linear-gradient(135deg, #b10f1d 50%, transparent 50%) calc(100% - 14px) calc(50% - 2px) / 8px 8px no-repeat,
        rgba(255, 255, 255, 0.98);
      padding-right: 48px;
    }

    .admin-log-range-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .admin-log-range {
      border: 1px solid rgba(173, 22, 33, 0.14);
      background: rgba(255, 255, 255, 0.92);
      color: #8d1a26;
      font: inherit;
      font-weight: 800;
      padding: 10px 16px;
      border-radius: 999px;
      cursor: pointer;
      transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
    }

    .admin-log-range:hover,
    .admin-log-range.is-active {
      transform: translateY(-2px);
      border-color: rgba(177, 15, 29, 0.28);
      background: rgba(193, 18, 31, 0.08);
    }

    .admin-log-filter-status {
      margin-top: 0;
    }

    .admin-log-feed-head {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 18px;
      flex-wrap: wrap;
    }

    .admin-log-feed-meta {
      font-size: 14px;
      font-weight: 700;
      color: #7b6464;
    }

    .admin-log-empty {
      margin-top: 6px;
    }

    .audit-log-card {
      display: grid;
      gap: 16px;
      padding: 20px;
      border-radius: 24px;
      border: 1px solid rgba(173, 22, 33, 0.1);
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 250, 0.94));
      box-shadow: 0 18px 34px rgba(173, 22, 33, 0.06);
    }

    .audit-log-card-top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap;
    }

    .audit-log-pill-group {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .audit-log-source,
    .audit-log-meta-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 9px 12px;
      border-radius: 999px;
      background: rgba(193, 18, 31, 0.06);
      color: #8d1a26;
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.02em;
    }

    .audit-log-time {
      min-width: 180px;
      display: grid;
      gap: 4px;
      text-align: right;
    }

    .audit-log-time strong {
      color: #4b1118;
      font-size: 15px;
    }

    .audit-log-time span {
      color: #7b6464;
      font-size: 13px;
    }

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

    .audit-log-cell {
      display: grid;
      gap: 6px;
      padding: 15px 16px;
      border-radius: 20px;
      border: 1px solid rgba(173, 22, 33, 0.08);
      background: rgba(255, 255, 255, 0.82);
    }

    .audit-log-label {
      font-size: 11px;
      font-weight: 900;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #a14752;
    }

    .audit-log-cell strong {
      color: #4b1118;
      font-size: 17px;
      line-height: 1.35;
    }

    .audit-log-cell small {
      color: #7b6464;
      line-height: 1.55;
      word-break: break-word;
    }

    .audit-log-note {
      padding: 15px 16px;
      border-radius: 18px;
      background: rgba(255, 247, 247, 0.92);
      border: 1px dashed rgba(173, 22, 33, 0.16);
      color: #633434;
      line-height: 1.7;
    }

    .audit-log-meta-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .audit-log-details {
      border-top: 1px dashed rgba(173, 22, 33, 0.14);
      padding-top: 14px;
    }

    .audit-log-details summary {
      cursor: pointer;
      font-weight: 800;
      color: #8d1a26;
      list-style: none;
    }

    .audit-log-details summary::-webkit-details-marker {
      display: none;
    }

    .audit-log-raw {
      margin: 12px 0 0;
      padding: 16px;
      border-radius: 18px;
      border: 1px solid rgba(173, 22, 33, 0.1);
      background: #fff;
      color: #5d1f24;
      white-space: pre-wrap;
      word-break: break-word;
      font-size: 13px;
      line-height: 1.7;
      overflow: auto;
    }

    .order-item {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      padding: 16px 18px;
      border-radius: 18px;
      border: 1px solid rgba(173, 22, 33, 0.1);
      background: rgba(255, 255, 255, 0.86);
    }

    .order-meta {
      display: grid;
      gap: 8px;
      text-align: right;
      font-weight: 800;
      color: #9f1422;
    }

    .order-status {
      font-size: 12px;
      padding: 8px 10px;
      border-radius: 999px;
      background: rgba(193, 18, 31, 0.08);
    }

    .settings-form {
      display: grid;
      gap: 14px;
    }

    .settings-label {
      display: grid;
      gap: 8px;
      font-weight: 700;
      color: #5d1f24;
    }

    .auth-shell {
      min-height: 0;
      flex: 1 0 auto;
      display: grid;
      place-items: center;
      padding: 32px 16px;
      position: relative;
      overflow: hidden;
      background:
        linear-gradient(rgba(18, 14, 14, 0.45), rgba(18, 14, 14, 0.55)),
        url("https://images.unsplash.com/photo-1511512578047-dfb367046420?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
    }

    .auth-card {
      position: relative;
      z-index: 1;
      width: min(560px, 100%);
      padding: 34px;
      border-radius: 30px;
      background: rgba(255, 255, 255, 0.18);
      backdrop-filter: blur(18px);
      border: 1px solid rgba(255, 255, 255, 0.22);
      box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
      color: #fff;
    }

    .auth-back {
      display: inline-flex;
      margin-bottom: 18px;
      font-weight: 700;
      color: rgba(255, 255, 255, 0.9);
    }

    .auth-logo-wrap {
      display: flex;
      justify-content: center;
      margin-bottom: 18px;
    }

    .auth-logo {
      width: 120px;
      height: 120px;
      object-fit: contain;
    }

    .auth-title {
      margin: 0;
      font-size: clamp(30px, 4vw, 44px);
      text-transform: none;
      letter-spacing: -0.02em;
    }

    .auth-subtitle {
      margin: 12px 0 0;
      color: rgba(255, 255, 255, 0.86);
      line-height: 1.7;
    }

    .auth-tabs {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
      margin: 24px 0 18px;
    }

    .auth-tab,
    .auth-provider {
      padding: 14px 16px;
      border-radius: 16px;
      border: 1px solid rgba(255, 255, 255, 0.14);
      background: rgba(255, 255, 255, 0.08);
      color: #fff;
      font-weight: 800;
      cursor: pointer;
      text-align: center;
    }

    .auth-tab.active {
      background: rgba(255, 255, 255, 0.18);
    }

    .auth-form {
      display: grid;
      gap: 14px;
    }

    .auth-input {
      width: 100%;
      padding: 16px 18px;
      border-radius: 16px;
      border: 1px solid rgba(255, 255, 255, 0.14);
      background: rgba(255, 255, 255, 0.28);
      color: #fff;
      font: inherit;
    }

    .auth-input::placeholder {
      color: rgba(255, 255, 255, 0.78);
    }

    .auth-submit {
      width: 100%;
      margin-top: 8px;
    }

    .auth-divider {
      margin: 24px 0 18px;
      text-align: center;
      color: rgba(255, 255, 255, 0.84);
      position: relative;
    }

    .auth-divider::before,
    .auth-divider::after {
      content: "";
      position: absolute;
      top: 50%;
      width: calc(50% - 90px);
      height: 1px;
      background: rgba(255, 255, 255, 0.22);
    }

    .auth-divider::before {
      left: 0;
    }

    .auth-divider::after {
      right: 0;
    }

    .auth-provider-list {
      display: grid;
      gap: 12px;
    }

    .auth-provider.is-google {
      color: #211919;
      background: #fff;
    }

    .auth-provider.is-discord {
      background: linear-gradient(135deg, #5865f2, #6f7bff);
      color: #fff;
      border: 0;
    }

    .auth-provider-badge {
      display: inline-block;
      margin-left: 8px;
      font-size: 12px;
      color: #7f5f5f;
    }

    .auth-note {
      margin-top: 20px;
      color: rgba(255, 255, 255, 0.84);
      line-height: 1.7;
    }

    .toast-container {
      position: fixed;
      top: 22px;
      right: 22px;
      z-index: 9999;
      display: grid;
      gap: 12px;
    }

    .toast {
      min-width: 320px;
      max-width: 420px;
      padding: 18px 48px 18px 18px;
      border-radius: 18px;
      color: #fff;
      font-weight: 800;
      position: relative;
      box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
      animation: toastEnter 0.18s ease;
    }

    .toast-success {
      background: linear-gradient(135deg, #39c96a, #26a954);
    }

    .toast-info {
      background: linear-gradient(135deg, #1aa7f2, #1492da);
    }

    .toast-error {
      background: linear-gradient(135deg, #f25b5b, #d83c3c);
    }

    .toast-close {
      position: absolute;
      top: 10px;
      right: 12px;
      border: 0;
      background: transparent;
      color: rgba(255, 255, 255, 0.9);
      font-size: 28px;
      cursor: pointer;
    }

    .toast.is-leaving {
      opacity: 0;
      transform: translateY(-6px);
      transition: opacity 0.18s ease, transform 0.18s ease;
    }

    @keyframes toastEnter {
      from {
        opacity: 0;
        transform: translateY(-8px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Compact layout: make account, wallet, card-charge and history forms easier to scan. */
    .nav {
      min-height: 66px;
      gap: 14px;
    }

    .brand {
      gap: 11px;
      padding: 6px 13px 6px 6px;
      border-radius: 20px;
      font-size: 18px;
    }

    .brand-logo {
      width: 54px;
      height: 54px;
      border-radius: 16px;
      box-shadow:
        0 0 0 5px rgba(239, 35, 60, 0.05),
        0 12px 22px rgba(217, 31, 46, 0.14);
    }

    .menu {
      gap: 5px;
      padding: 5px;
      border-radius: 14px;
    }

    .menu a,
    .menu-link,
    .menu-toggle {
      padding: 9px 12px;
      border-radius: 11px;
      font-size: 14px;
      gap: 7px;
    }

    .menu-toggle-icon {
      width: 8px;
      height: 8px;
      border-width: 1.7px;
    }

    .user-box {
      min-width: 128px;
      gap: 8px;
    }

    .profile-trigger {
      gap: 9px;
      padding: 5px 9px 5px 5px;
    }

    .profile-trigger img {
      width: 38px;
      height: 38px;
    }

    .profile-wallet-pill {
      min-width: 44px;
      padding: 6px 10px;
      font-size: 12px;
    }

    .profile-name {
      font-size: 14px;
    }

    .section {
      padding: 46px 0;
    }

    .section-head {
      margin-bottom: 28px;
    }

    .section-head p,
    .panel p,
    .muted {
      font-size: 14px;
      line-height: 1.58;
    }

    .legal-title {
      font-size: clamp(28px, 3vw, 44px);
      line-height: 1.08;
      letter-spacing: -0.02em;
    }

    .panel {
      padding: 18px;
      border-radius: 18px;
      box-shadow: 0 12px 28px rgba(171, 33, 49, 0.07);
    }

    .panel h3 {
      margin-bottom: 8px;
      font-size: 20px;
      line-height: 1.25;
    }

    .panel-topline,
    .eyebrow {
      font-size: 11px;
      letter-spacing: 0.08em;
    }

    .dashboard-stats,
    .dashboard-grid,
    .card-charge-grid,
    .wallet-page-grid,
    .admin-log-insight-grid,
    .audit-log-grid {
      gap: 16px;
    }

    .dashboard-empty {
      padding: 22px;
    }

    .metric {
      padding: 16px;
      border-radius: 18px;
    }

    .metric strong {
      font-size: clamp(24px, 3vw, 34px);
    }

    .metric span {
      font-size: 11px;
    }

    .card-charge-form,
    .wallet-request-form,
    .settings-form,
    .auth-form,
    .lookup-form,
    .chat-form,
    .review-form,
    .support-chat-form {
      gap: 12px;
    }

    .settings-label {
      gap: 6px;
      font-size: 13px;
    }

    .card-charge-form select,
    .card-charge-form input,
    .wallet-request-form input,
    .wallet-request-form textarea,
    .wallet-history-search,
    .lookup-input,
    .chat-input,
    .review-input,
    .review-textarea,
    .auth-input,
    .history-select,
    .admin-log-search,
    .admin-log-select {
      min-height: 42px;
      padding: 10px 12px;
      border-radius: 10px;
      font-size: 14px;
    }

    .wallet-request-form textarea,
    .review-textarea {
      min-height: 86px;
    }

    .btn {
      min-height: 42px;
      padding: 10px 15px;
      border-radius: 11px;
      font-size: 14px;
    }

    .panel-actions,
    .wallet-form-actions,
    .card-charge-actions,
    .history-board-head,
    .history-toolbar {
      gap: 10px;
    }

    .wallet-page-grid {
      grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.7fr);
      gap: 16px;
      align-items: start;
    }

    .wallet-page-aside,
    .wallet-request-detail,
    .info-stack,
    .card-system-status,
    .activity-list {
      gap: 12px;
    }

    .wallet-active-grid {
      grid-template-columns: minmax(190px, 220px) minmax(0, 1fr);
      gap: 14px;
    }

    .wallet-qr-box,
    .wallet-request-card,
    .wallet-note-item,
    .activity-item,
    .card-request-item,
    .audit-log-cell,
    .audit-log-note {
      padding: 12px 14px;
      border-radius: 14px;
    }

    .wallet-qr-box img {
      width: min(100%, 180px);
    }

    .info-row {
      padding: 9px 0;
      font-size: 14px;
    }

    .status-badge {
      padding: 6px 9px;
      font-size: 11px;
    }

    .fee-board-header {
      margin: -18px -18px 0;
      padding: 13px 16px;
      border-radius: 18px 18px 0 0;
      font-size: 15px;
    }

    .fee-table th,
    .fee-table td,
    .history-table th,
    .history-table td {
      padding: 10px 9px;
      font-size: 13px;
    }

    .fee-table th,
    .history-table th {
      font-size: 13px;
    }

    .history-code {
      font-size: 12px;
    }

    .profile-panel {
      min-width: 210px;
      padding: 7px;
      border-radius: 16px;
    }

    .profile-panel-link {
      padding: 10px 12px;
      border-radius: 12px;
      font-size: 14px;
    }

    .profile-panel-link[href="/tai-khoan"] {
      margin-bottom: 7px;
      padding-bottom: 12px;
      border-bottom: 1px solid rgba(173, 22, 33, 0.12);
      border-radius: 11px 11px 0 0;
    }

    .profile-panel-button {
      margin-top: 7px;
      padding-top: 12px;
      border-top: 1px solid rgba(173, 22, 33, 0.12);
      color: #d7263d;
    }

    .profile-panel-button:hover {
      color: #c1121f;
      background: rgba(215, 38, 61, 0.09);
    }

    .dropdown-panel {
      min-width: 245px;
      padding: 12px;
      border-radius: 16px;
      gap: 5px;
    }

    .dropdown-link {
      padding: 9px 11px;
      border-radius: 11px;
      font-size: 14px;
    }

    body[data-page="home"] .home-ticker {
      padding: 18px 0 10px;
    }

    body[data-page="home"] .ticker-shell {
      min-height: 44px;
      border-radius: 12px;
    }

    body[data-page="home"] .ticker-item {
      gap: 9px;
      padding: 9px 12px;
      font-size: 13px;
    }

    body[data-page="home"] .ticker-chip,
    body[data-page="home"] .ticker-amount {
      min-width: 0;
      padding: 5px 9px;
      border-radius: 8px;
      font-size: 12px;
    }

    body[data-page="home"] .ticker-time {
      font-size: 12px;
    }

    body[data-page="home"] .home-hero {
      padding: 34px 0 42px;
    }

    body[data-page="home"] .home-hero-grid {
      gap: 24px;
      align-items: center;
    }

    body[data-page="home"] .home-hero .hero-left {
      max-width: 660px;
      padding-top: 0;
    }

    body[data-page="home"] .hero-badge {
      margin-bottom: 14px;
      padding: 8px 13px;
      font-size: 13px;
    }

    body[data-page="home"] .home-hero h1 {
      max-width: 660px;
      font-size: clamp(34px, 4vw, 56px);
      line-height: 1.02;
      letter-spacing: -0.025em;
    }

    body[data-page="home"] .home-hero .accent-text {
      margin-top: 4px;
    }

    body[data-page="home"] .home-hero p {
      margin-top: 16px;
      max-width: 620px;
      font-size: 16px;
      line-height: 1.65;
    }

    body[data-page="home"] .hero-actions {
      margin-top: 20px;
      gap: 10px;
    }

    body[data-page="home"] .trust-badges {
      margin-top: 14px;
      gap: 7px;
    }

    body[data-page="home"] .trust-badges span {
      padding: 7px 10px;
      font-size: 12px;
    }

    body[data-page="home"] .home-hero-metrics {
      margin-top: 22px;
      gap: 12px;
      max-width: 620px;
    }

    body[data-page="home"] .home-hero-metrics .metric {
      min-height: 100px;
    }

    body[data-page="home"] .home-hero-metrics .metric strong {
      font-size: clamp(20px, 2.4vw, 30px);
    }

    body[data-page="home"] .home-hero-metrics .metric span {
      font-size: 12px;
      line-height: 1.45;
    }

    body[data-page="home"] .home-hero-visual {
      padding: 0;
    }

    body[data-page="home"] .hero-console {
      padding: 18px;
      border-radius: 18px;
      box-shadow: 0 16px 34px rgba(171, 33, 49, 0.1);
    }

    body[data-page="home"] .console-service-grid {
      gap: 10px;
      margin-top: 14px;
    }

    body[data-page="home"] .console-service-card {
      padding: 13px;
      border-radius: 14px;
    }

    body[data-page="home"] .console-service-card strong {
      margin-top: 6px;
      font-size: 15px;
      line-height: 1.28;
    }

    body[data-page="home"] .console-service-card span {
      margin-top: 6px;
      font-size: 12px;
      line-height: 1.45;
    }

    body[data-page="home"] .console-checklist {
      gap: 8px;
      margin-top: 12px;
    }

    body[data-page="home"] .console-check {
      grid-template-columns: 34px 1fr;
      gap: 10px;
      padding: 10px 12px;
      border-radius: 13px;
    }

    body[data-page="home"] .console-check strong {
      width: 34px;
      height: 34px;
      border-radius: 10px;
      font-size: 12px;
    }

    body[data-page="home"] .console-check span {
      padding-top: 3px;
      font-size: 12px;
      line-height: 1.45;
    }

    body[data-page="home"] .floating-note {
      display: none;
    }

    body[data-page="home"] .home-hub {
      padding-top: 14px;
      padding-bottom: 34px;
    }

    body[data-page="home"] .home-hub .section-head {
      margin-bottom: 18px;
      text-align: center;
    }

    body[data-page="home"] .home-hub .section-head h2 {
      font-size: clamp(28px, 3vw, 42px);
      letter-spacing: -0.03em;
    }

    body[data-page="home"] .home-feature-grid {
      gap: 16px;
    }

    body[data-page="home"] .home-feature-card {
      min-height: 0;
      padding: 18px;
      border-radius: 18px;
      box-shadow: 0 12px 26px rgba(171, 33, 49, 0.07);
    }

    body[data-page="home"] .home-feature-top {
      margin-bottom: 14px;
    }

    body[data-page="home"] .feature-badge {
      padding: 6px 9px;
      font-size: 10px;
    }

    body[data-page="home"] .feature-icon {
      width: 34px;
      height: 34px;
      border-radius: 11px;
      font-size: 15px;
    }

    body[data-page="home"] .home-feature-card h3 {
      max-width: none;
      font-size: 20px;
      line-height: 1.25;
    }

    body[data-page="home"] .home-feature-card p {
      margin-top: 10px;
      font-size: 13px;
      line-height: 1.55;
    }

    body[data-page="home"] .feature-points {
      gap: 7px;
      margin-top: 13px;
    }

    body[data-page="home"] .feature-points span {
      padding: 7px 9px;
      font-size: 11px;
    }

    body[data-page="home"] .feature-cta {
      padding-top: 14px;
      font-size: 13px;
    }

    body[data-page="home"] .home-band-grid {
      gap: 14px;
      padding: 28px 0 34px;
    }

    body[data-page="home"] .band-stat {
      padding: 16px;
      border-radius: 16px;
    }

    body[data-page="home"] .band-stat strong {
      font-size: clamp(20px, 2.4vw, 30px);
    }

    body[data-page="home"] .band-stat span {
      margin-top: 8px;
      font-size: 13px;
      line-height: 1.5;
    }

    .wallet-breadcrumb {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 18px;
      color: #6c5b5b;
      font-size: 13px;
    }

    .wallet-breadcrumb a {
      color: #c1121f;
      text-decoration: underline;
    }

    .wallet-withdraw-page .panel {
      border-radius: 8px;
      box-shadow: 0 8px 18px rgba(20, 20, 20, 0.06);
      border-color: rgba(30, 58, 90, 0.1);
    }

    .wallet-withdraw-notice {
      margin-bottom: 18px;
      padding: 0;
      overflow: hidden;
    }

    .wallet-notice-head {
      padding: 12px 16px;
      border-bottom: 1px solid rgba(30, 58, 90, 0.1);
      background: #f8fafc;
      font-weight: 800;
      color: #0f172a;
    }

    .wallet-alert-danger {
      margin: 16px;
      padding: 10px 12px;
      border-radius: 6px;
      background: #fff1f2;
      color: #d01826;
      font-weight: 700;
      font-size: 13px;
    }

    .wallet-alert-info {
      margin: 16px;
      padding: 10px 12px;
      border-radius: 6px;
      background: #fff1f2;
      color: #c1121f;
      font-weight: 700;
      font-size: 13px;
    }

    .wallet-notice-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
      padding: 0 16px;
    }

    .wallet-notice-grid > div {
      padding: 11px 12px;
      border: 1px dashed #cbd5e1;
      border-radius: 6px;
      display: grid;
      gap: 4px;
    }

    .wallet-notice-grid span {
      color: #64748b;
      font-size: 12px;
    }

    .wallet-notice-grid strong {
      color: #0f172a;
      font-size: 13px;
    }

    .wallet-notice-head + .wallet-alert-danger + .wallet-notice-grid + p,
    .wallet-withdraw-notice p {
      margin: 12px 16px;
      color: #475569;
      font-size: 13px;
      line-height: 1.55;
    }

    .wallet-notice-links {
      display: flex;
      gap: 18px;
      margin: 0 16px;
      padding: 13px 0 16px;
      border-top: 1px solid rgba(30, 58, 90, 0.1);
      font-size: 13px;
    }

    .wallet-notice-links a {
      color: #c1121f;
    }

    .wallet-withdraw-layout {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 350px;
      gap: 18px;
      align-items: start;
    }

    .wallet-withdraw-main {
      padding: 0;
      overflow: hidden;
    }

    .wallet-withdraw-tabs {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0;
      padding: 14px;
      border-bottom: 1px solid rgba(30, 58, 90, 0.1);
      background: #f8fafc;
    }

    .wallet-withdraw-tab {
      display: grid;
      place-items: center;
      border: 0;
      background: transparent;
      color: #9f1d2b;
      padding: 10px 12px;
      border-radius: 6px;
      cursor: pointer;
      font: inherit;
      font-weight: 700;
      text-align: center;
    }

    .wallet-withdraw-tab.is-active {
      background: linear-gradient(135deg, #ef233c, #c1121f);
      color: #fff;
    }

    .wallet-tab-panel {
      padding: 18px;
    }

    .wallet-withdraw-form,
    .wallet-bank-form {
      display: grid;
      gap: 13px;
    }

    .wallet-radio-row {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px;
      font-size: 13px;
    }

    .wallet-radio-row > span {
      flex-basis: 100%;
      color: #0f172a;
      font-weight: 500;
    }

    .wallet-radio-row label {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: #334155;
    }

    .wallet-withdraw-account-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(220px, 0.92fr);
      gap: 12px;
    }

    .wallet-withdraw-form input,
    .wallet-withdraw-form select,
    .wallet-bank-form input,
    .wallet-bank-form select,
    .wallet-saved-bank-row select {
      width: 100%;
      min-height: 38px;
      border: 1px solid #cbd5e1;
      border-radius: 5px;
      padding: 8px 10px;
      color: #0f172a;
      background: #fff;
      font: inherit;
      font-size: 13px;
    }

    .wallet-amount-field {
      display: grid;
      gap: 7px;
      color: #0f172a;
      font-size: 13px;
    }

    .wallet-amount-input {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 34px;
    }

    .wallet-amount-input input {
      border-radius: 5px 0 0 5px;
    }

    .wallet-amount-input span {
      display: grid;
      place-items: center;
      border: 1px solid #cbd5e1;
      border-left: 0;
      border-radius: 0 5px 5px 0;
      background: #f8fafc;
    }

    .wallet-quick-amounts {
      display: flex;
      flex-wrap: wrap;
      gap: 7px;
    }

    .wallet-quick-amounts button {
      border: 1px solid rgba(193, 18, 31, 0.7);
      border-radius: 5px;
      background: #fff;
      color: #c1121f;
      padding: 7px 10px;
      cursor: pointer;
      font: inherit;
      font-size: 13px;
    }

    .wallet-full-button {
      width: 100%;
      background: linear-gradient(135deg, #ef233c, #c1121f);
      box-shadow: none;
      border-radius: 5px;
    }

    .wallet-withdraw-aside {
      display: grid;
      gap: 14px;
    }

    .wallet-balance-card {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 18px;
      border-radius: 8px;
      background: linear-gradient(135deg, #ef233c, #8f101a);
      color: #fff;
      box-shadow: 0 10px 24px rgba(193, 18, 31, 0.2);
    }

    .wallet-deposit-balance-card {
      background: linear-gradient(135deg, #ef233c, #8f101a);
      box-shadow: 0 10px 24px rgba(193, 18, 31, 0.2);
    }

    .wallet-balance-card span {
      display: block;
      font-weight: 800;
      opacity: 0.9;
    }

    .wallet-balance-card strong {
      display: block;
      margin-top: 6px;
      font-size: 24px;
    }

    .wallet-balance-icon {
      font-size: 34px;
      opacity: 0.55;
    }

    .wallet-transaction-info h3 {
      font-size: 16px;
      margin-bottom: 14px;
    }

    .wallet-limit-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
      margin-bottom: 14px;
    }

    .wallet-limit-card {
      display: grid;
      justify-items: center;
      gap: 5px;
      padding: 16px 10px;
      border-radius: 6px;
      background: #f8fafc;
      text-align: center;
      color: #0f172a;
    }

    .wallet-limit-card span {
      display: grid;
      place-items: center;
      width: 24px;
      height: 24px;
      border: 1px solid #c1121f;
      border-radius: 999px;
      color: #c1121f;
    }

    .wallet-limit-card:nth-child(2) span {
      border-color: #c1121f;
      color: #c1121f;
    }

    .wallet-limit-card strong {
      font-size: 13px;
    }

    .wallet-limit-card em {
      color: #c1121f;
      font-style: normal;
      font-size: 13px;
    }

    .wallet-info-line {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      padding: 11px 0;
      border-top: 1px solid #e2e8f0;
      font-size: 13px;
    }

    .wallet-info-line span {
      color: #64748b;
    }

    .wallet-info-line strong {
      color: #0f172a;
      text-align: right;
    }

    .wallet-bank-list-wrap {
      display: grid;
      gap: 12px;
      margin-top: 20px;
      padding-top: 14px;
      border-top: 1px solid #cbd5e1;
    }

    .wallet-bank-list {
      display: grid;
      gap: 10px;
    }

    .wallet-bank-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      padding: 12px 14px;
      border: 1px solid #cbd5e1;
      border-radius: 6px;
      background: #fff;
    }

    .wallet-bank-item div {
      display: grid;
      gap: 4px;
    }

    .wallet-bank-item span {
      color: #475569;
      font-size: 13px;
    }

    .wallet-bank-item button {
      width: 34px;
      height: 34px;
      border: 1px solid #ef4444;
      border-radius: 5px;
      background: #fff;
      color: #ef4444;
      cursor: pointer;
    }

    .wallet-withdraw-history-panel {
      margin-top: 18px;
    }

    @media (max-width: 980px) {
      .wallet-withdraw-layout,
      .wallet-withdraw-account-grid,
      .wallet-notice-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 1100px) {
      .hero-grid,
      .dashboard-panel,
      .chat-grid {
        grid-template-columns: 1fr;
      }

      .service-grid,
      .dashboard-stats,
      .dashboard-grid,
      .wallet-page-grid,
      .profile-layout,
      .home-feature-grid,
      .home-band-grid,
      .home-hero-metrics,
      .admin-log-insight-grid,
      .audit-log-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .admin-log-toolbar {
        grid-template-columns: 1fr 1fr;
      }

      .admin-log-search {
        grid-column: 1 / -1;
      }
    }
    
    @media (max-width: 780px) {
      .nav {
        min-height: auto;
        padding: 14px 0;
        flex-wrap: wrap;
      }

      .home-ticker {
        padding-top: 18px;
      }

      .ticker-track {
        gap: 12px;
        padding: 12px;
      }

      .ticker-item {
        gap: 10px;
        padding: 10px 12px;
        font-size: 14px;
      }

      .ticker-chip,
      .ticker-amount {
        min-height: 32px;
        padding: 7px 10px;
      }

      .brand {
        gap: 12px;
        padding: 7px 14px 7px 7px;
        border-radius: 24px;
        font-size: 19px;
      }

      .brand-logo {
        width: 56px;
        height: 56px;
        padding: 2px;
        border-radius: 17px;
      }

      .menu {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        overflow: auto;
        padding-bottom: 12px;
      }

      .menu-item {
        position: static;
      }

      .dropdown-panel {
        position: fixed;
        left: 16px;
        right: 16px;
        top: 96px;
        min-width: 0;
        z-index: 80;
      }

      .user-box {
        margin-left: auto;
      }

      .hero {
        min-height: auto;
        padding: 56px 0 50px;
      }

      .home-hero {
        padding: 38px 0 64px;
      }

      .hero-metrics,
      .service-grid,
      .dashboard-stats,
      .dashboard-grid,
      .wallet-page-grid,
      .home-feature-grid,
      .home-band-grid,
      .home-hero-metrics,
      .console-service-grid,
      .profile-layout,
      .account-stats,
      .footer-grid,
      .review-grid,
      .legal-box-grid,
      .admin-log-insight-grid,
      .audit-log-grid,
      .admin-log-toolbar {
        grid-template-columns: 1fr;
      }

      .home-feature-card {
        min-height: auto;
      }

      .home-feature-card h3 {
        font-size: 25px;
      }

      .hero-console {
        padding: 22px;
        animation-duration: 5.2s;
      }

      .floating-note {
        position: static;
        max-width: none;
        margin-top: 14px;
      }

      .console-check {
        grid-template-columns: 1fr;
      }

      .console-check strong {
        width: 50px;
        height: 50px;
      }

      .console-check span {
        padding-top: 0;
      }

      .section {
        padding: 68px 0;
      }

      .hero p,
      .section-head p {
        font-size: 17px;
      }

      .chat-messages {
        height: 340px;
      }

      .auth-card {
        padding: 24px;
      }

      .profile-panel {
        right: 0;
        left: auto;
      }

      .admin-audit-hero-head,
      .admin-log-feed-head,
      .audit-log-card-top {
        align-items: flex-start;
      }

      .admin-audit-hero-actions {
        width: 100%;
        justify-content: flex-start;
      }

      .order-item,
      .info-row,
      .admin-log-header,
      .admin-log-row {
        flex-direction: column;
      }

      .card-charge-form {
        grid-template-columns: 1fr;
      }

      .wallet-request-form,
      .wallet-active-grid {
        grid-template-columns: 1fr;
      }

      .order-meta,
      .info-row span {
        text-align: left;
      }

      .admin-log-header,
      .admin-log-row {
        grid-template-columns: 1fr;
      }

      .audit-log-time {
        min-width: 0;
        text-align: left;
      }

      .toast-container {
        left: 16px;
        right: 16px;
      }

      .toast {
        min-width: 0;
        max-width: none;
      }

      .support-chat-root {
        right: 12px;
        bottom: 12px;
        left: 12px;
        justify-items: stretch;
      }

      .support-chat-panel {
        width: 100%;
        max-height: min(72vh, 680px);
        padding: 16px;
        border-radius: 24px;
      }

      .support-chat-head h3 {
        font-size: 24px;
      }

      .support-chat-status {
        width: 100%;
        justify-content: flex-start;
        border-radius: 18px;
      }

      .support-chat-question-list {
        gap: 8px;
        max-height: 132px;
      }

      .support-chat-question {
        padding: 12px 13px;
      }

      .support-chat-messages {
        min-height: 148px;
        max-height: 188px;
      }

      .support-chat-form {
        grid-template-columns: 1fr;
      }

      .support-chat-send {
        min-height: 48px;
      }

      .support-chat-launcher {
        justify-self: end;
        min-width: 78px;
        height: 66px;
        border-radius: 22px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      html {
        scroll-behavior: auto;
      }

      [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
      }

      .ticker-track,
      .hero-console,
      .floating-note,
      .status-dot,
      .home-band::before,
      .support-chat-status-dot,
      .support-chat-launcher,
      .support-chat-bubble-typing span {
        animation: none !important;
      }
    }

    /* Compact pass for all non-home pages. */
    body:not([data-page="home"]) .container {
      width: min(1120px, calc(100% - 32px));
    }

    body:not([data-page="home"]) .section {
      padding: 30px 0 36px;
    }

    body:not([data-page="home"]) .section-head {
      max-width: 720px;
      margin-bottom: 20px;
    }

    body:not([data-page="home"]) .section-head h2,
    body:not([data-page="home"]) .legal-title,
    body:not([data-page="home"]) .admin-audit-hero-copy h2 {
      font-size: clamp(24px, 2.6vw, 36px);
      line-height: 1.08;
      letter-spacing: -0.025em;
    }

    body:not([data-page="home"]) .section-head p,
    body:not([data-page="home"]) .panel p,
    body:not([data-page="home"]) .admin-audit-hero-copy p,
    body:not([data-page="home"]) .admin-log-panel-copy,
    body:not([data-page="home"]) .muted {
      font-size: 13px;
      line-height: 1.52;
    }

    body:not([data-page="home"]) .eyebrow,
    body:not([data-page="home"]) .panel-topline {
      margin-bottom: 7px;
      font-size: 10px;
      letter-spacing: 0.08em;
    }

    body:not([data-page="home"]) .panel,
    body:not([data-page="home"]) .dashboard-panel,
    body:not([data-page="home"]) .admin-audit-hero,
    body:not([data-page="home"]) .audit-log-card {
      padding: 14px;
      border-radius: 14px;
      box-shadow: 0 10px 22px rgba(171, 33, 49, 0.06);
    }

    body:not([data-page="home"]) .panel h3 {
      margin-bottom: 7px;
      font-size: 17px;
      line-height: 1.2;
    }

    body:not([data-page="home"]) .btn {
      min-height: 38px;
      padding: 8px 13px;
      border-radius: 10px;
      font-size: 13px;
    }

    body:not([data-page="home"]) .dashboard-stats,
    body:not([data-page="home"]) .dashboard-grid,
    body:not([data-page="home"]) .profile-layout,
    body:not([data-page="home"]) .card-charge-grid,
    body:not([data-page="home"]) .wallet-page-grid,
    body:not([data-page="home"]) .wallet-withdraw-layout,
    body:not([data-page="home"]) .admin-log-insight-grid,
    body:not([data-page="home"]) .audit-log-grid,
    body:not([data-page="home"]) .admin-audit-shell {
      gap: 12px;
    }

    body:not([data-page="home"]) .dashboard-stats {
      margin-bottom: 14px;
    }

    body:not([data-page="home"]) .metric {
      min-height: 0;
      padding: 12px;
      border-radius: 14px;
    }

    body:not([data-page="home"]) .metric strong {
      font-size: clamp(20px, 2.4vw, 28px);
    }

    body:not([data-page="home"]) .metric span {
      margin-top: 6px;
      font-size: 10px;
      letter-spacing: 0.06em;
    }

    body:not([data-page="home"]) .card-charge-form,
    body:not([data-page="home"]) .wallet-request-form,
    body:not([data-page="home"]) .wallet-withdraw-form,
    body:not([data-page="home"]) .wallet-bank-form,
    body:not([data-page="home"]) .settings-form,
    body:not([data-page="home"]) .auth-form,
    body:not([data-page="home"]) .lookup-form,
    body:not([data-page="home"]) .chat-form,
    body:not([data-page="home"]) .review-form,
    body:not([data-page="home"]) .support-chat-form {
      gap: 10px;
      margin-top: 10px;
    }

    body:not([data-page="home"]) .card-charge-form select,
    body:not([data-page="home"]) .card-charge-form input,
    body:not([data-page="home"]) .wallet-request-form input,
    body:not([data-page="home"]) .wallet-request-form textarea,
    body:not([data-page="home"]) .wallet-withdraw-form input,
    body:not([data-page="home"]) .wallet-withdraw-form select,
    body:not([data-page="home"]) .wallet-bank-form input,
    body:not([data-page="home"]) .wallet-bank-form select,
    body:not([data-page="home"]) .wallet-saved-bank-row select,
    body:not([data-page="home"]) .wallet-history-search,
    body:not([data-page="home"]) .lookup-input,
    body:not([data-page="home"]) .chat-input,
    body:not([data-page="home"]) .review-input,
    body:not([data-page="home"]) .review-textarea,
    body:not([data-page="home"]) .auth-input,
    body:not([data-page="home"]) .history-select,
    body:not([data-page="home"]) .admin-log-search,
    body:not([data-page="home"]) .admin-log-select {
      min-height: 36px;
      padding: 8px 10px;
      border-radius: 8px;
      font-size: 13px;
    }

    body:not([data-page="home"]) .wallet-request-form textarea,
    body:not([data-page="home"]) .review-textarea {
      min-height: 72px;
    }

    body:not([data-page="home"]) .panel-actions,
    body:not([data-page="home"]) .wallet-form-actions,
    body:not([data-page="home"]) .card-charge-actions,
    body:not([data-page="home"]) .history-board-head,
    body:not([data-page="home"]) .history-toolbar,
    body:not([data-page="home"]) .admin-log-toolbar,
    body:not([data-page="home"]) .admin-audit-hero-actions {
      gap: 8px;
    }

    body:not([data-page="home"]) .info-stack,
    body:not([data-page="home"]) .wallet-page-aside,
    body:not([data-page="home"]) .wallet-withdraw-aside,
    body:not([data-page="home"]) .wallet-request-detail,
    body:not([data-page="home"]) .card-system-status,
    body:not([data-page="home"]) .activity-list,
    body:not([data-page="home"]) .order-list,
    body:not([data-page="home"]) .card-request-list {
      gap: 10px;
    }

    body:not([data-page="home"]) .info-row,
    body:not([data-page="home"]) .wallet-qr-box,
    body:not([data-page="home"]) .wallet-request-card,
    body:not([data-page="home"]) .wallet-note-item,
    body:not([data-page="home"]) .activity-item,
    body:not([data-page="home"]) .card-request-item,
    body:not([data-page="home"]) .audit-log-cell,
    body:not([data-page="home"]) .audit-log-note,
    body:not([data-page="home"]) .admin-log-insight {
      padding: 10px 12px;
      border-radius: 12px;
    }

    body:not([data-page="home"]) .tag-cloud,
    body:not([data-page="home"]) .ticket-code-list,
    body:not([data-page="home"]) .wallet-history-filter-row,
    body:not([data-page="home"]) .admin-log-chip-row,
    body:not([data-page="home"]) .admin-log-range-row {
      gap: 7px;
    }

    body:not([data-page="home"]) .tag-pill,
    body:not([data-page="home"]) .ticket-code-pill,
    body:not([data-page="home"]) .wallet-history-filter,
    body:not([data-page="home"]) .admin-log-chip,
    body:not([data-page="home"]) .admin-log-range {
      padding: 7px 11px;
      border-radius: 999px;
      font-size: 12px;
    }

    body:not([data-page="home"]) .fee-board-header {
      margin: -14px -14px 0;
      padding: 11px 13px;
      border-radius: 14px 14px 0 0;
      font-size: 14px;
    }

    body:not([data-page="home"]) .fee-tabs {
      padding: 10px 4px 8px;
      gap: 4px 12px;
    }

    body:not([data-page="home"]) .fee-tab {
      padding: 7px 4px 8px;
      font-size: 13px;
    }

    body:not([data-page="home"]) .fee-table th,
    body:not([data-page="home"]) .fee-table td,
    body:not([data-page="home"]) .history-table th,
    body:not([data-page="home"]) .history-table td {
      padding: 8px 8px;
      font-size: 12px;
    }

    body:not([data-page="home"]) .fee-table th,
    body:not([data-page="home"]) .history-table th {
      font-size: 12px;
    }

    body:not([data-page="home"]) .history-toolbar {
      margin: 10px 0;
    }

    body:not([data-page="home"]) .history-page-btn,
    body:not([data-page="home"]) .history-page-indicator {
      min-width: 32px;
      height: 32px;
      border-radius: 8px;
      font-size: 12px;
    }

    body:not([data-page="home"]) .wallet-breadcrumb {
      margin-bottom: 14px;
      font-size: 12px;
    }

    body:not([data-page="home"]) .wallet-withdraw-page .panel {
      border-radius: 10px;
      box-shadow: 0 8px 18px rgba(20, 20, 20, 0.05);
    }

    body:not([data-page="home"]) .wallet-withdraw-notice {
      margin-bottom: 12px;
    }

    body:not([data-page="home"]) .wallet-notice-head {
      padding: 9px 12px;
      font-size: 13px;
    }

    body:not([data-page="home"]) .wallet-alert-danger,
    body:not([data-page="home"]) .wallet-alert-info {
      margin: 12px;
      padding: 8px 10px;
      font-size: 12px;
    }

    body:not([data-page="home"]) .wallet-notice-grid {
      gap: 8px;
      padding: 0 12px;
    }

    body:not([data-page="home"]) .wallet-notice-grid > div {
      padding: 8px 10px;
      border-radius: 5px;
    }

    body:not([data-page="home"]) .wallet-withdraw-notice p {
      margin: 10px 12px;
      font-size: 12px;
      line-height: 1.45;
    }

    body:not([data-page="home"]) .wallet-notice-links {
      margin: 0 12px;
      padding: 10px 0 12px;
      font-size: 12px;
    }

    body:not([data-page="home"]) .wallet-withdraw-tabs {
      padding: 10px;
    }

    body:not([data-page="home"]) .wallet-withdraw-tab {
      padding: 8px 10px;
      border-radius: 6px;
      font-size: 13px;
    }

    body:not([data-page="home"]) .wallet-tab-panel {
      padding: 14px;
    }

    body:not([data-page="home"]) .wallet-radio-row,
    body:not([data-page="home"]) .wallet-amount-field {
      gap: 7px;
      font-size: 12px;
    }

    body:not([data-page="home"]) .wallet-quick-amounts {
      gap: 6px;
    }

    body:not([data-page="home"]) .wallet-quick-amounts button {
      padding: 6px 9px;
      font-size: 12px;
    }

    body:not([data-page="home"]) .wallet-full-button {
      min-height: 36px;
      border-radius: 7px;
    }

    body:not([data-page="home"]) .wallet-balance-card {
      padding: 13px 14px;
      border-radius: 10px;
    }

    body:not([data-page="home"]) .wallet-balance-card strong {
      margin-top: 4px;
      font-size: 20px;
    }

    body:not([data-page="home"]) .wallet-balance-icon {
      font-size: 28px;
    }

    body:not([data-page="home"]) .wallet-transaction-info h3 {
      margin-bottom: 10px;
      font-size: 14px;
    }

    body:not([data-page="home"]) .wallet-limit-grid {
      gap: 8px;
      margin-bottom: 10px;
    }

    body:not([data-page="home"]) .wallet-limit-card {
      padding: 11px 8px;
      border-radius: 6px;
    }

    body:not([data-page="home"]) .wallet-info-line {
      padding: 7px 0;
      font-size: 12px;
    }

    body:not([data-page="home"]) .wallet-bank-list-wrap {
      margin-top: 14px;
      padding-top: 12px;
    }

    body:not([data-page="home"]) .wallet-bank-item {
      padding: 10px 12px;
      border-radius: 8px;
    }

    body:not([data-page="home"]) .admin-audit-hero-head,
    body:not([data-page="home"]) .admin-log-feed-head {
      gap: 12px;
    }

    body:not([data-page="home"]) .admin-log-insight-grid {
      margin-top: 14px;
    }

    body:not([data-page="home"]) .admin-log-insight {
      gap: 6px;
    }

    body:not([data-page="home"]) .admin-log-insight strong {
      font-size: clamp(20px, 2.4vw, 28px);
    }

    body:not([data-page="home"]) .admin-log-filter-panel {
      gap: 10px;
    }

    body:not([data-page="home"]) .admin-log-header,
    body:not([data-page="home"]) .admin-log-row {
      gap: 8px;
      padding: 10px 12px;
      border-radius: 12px;
      font-size: 12px;
    }

    body:not([data-page="home"]) .auth-card {
      max-width: 420px;
      padding: 20px;
      border-radius: 18px;
    }

    body:not([data-page="home"]) .support-chat-panel {
      padding: 14px;
      border-radius: 18px;
    }

    @media (min-width: 981px) {
      body:not([data-page="home"]) .wallet-withdraw-layout {
        grid-template-columns: minmax(0, 1fr) 310px;
      }

      body:not([data-page="home"]) .wallet-withdraw-account-grid {
        grid-template-columns: minmax(0, 1fr) minmax(190px, 0.85fr);
      }
    }

    @media (min-width: 781px) {
      body:not([data-page="home"]) .dashboard-stats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
      }

      body:not([data-page="home"]) .admin-log-insight-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
      }
    }

    @media (max-width: 780px) {
      body:not([data-page="home"]) .container {
        width: min(100% - 24px, 1120px);
      }

      body:not([data-page="home"]) .section {
        padding: 24px 0 30px;
      }

      body:not([data-page="home"]) .section-head {
        margin-bottom: 16px;
      }

      body:not([data-page="home"]) .panel,
      body:not([data-page="home"]) .dashboard-panel,
      body:not([data-page="home"]) .admin-audit-hero,
      body:not([data-page="home"]) .audit-log-card {
        padding: 12px;
        border-radius: 12px;
      }

      body:not([data-page="home"]) .dashboard-stats,
      body:not([data-page="home"]) .dashboard-grid,
      body:not([data-page="home"]) .profile-layout,
      body:not([data-page="home"]) .wallet-page-grid,
      body:not([data-page="home"]) .wallet-withdraw-layout,
      body:not([data-page="home"]) .wallet-withdraw-account-grid,
      body:not([data-page="home"]) .wallet-notice-grid,
      body:not([data-page="home"]) .admin-log-insight-grid,
      body:not([data-page="home"]) .audit-log-grid,
      body:not([data-page="home"]) .admin-log-toolbar {
        grid-template-columns: 1fr;
      }
    }

    /* Focused compact read mode for account, history and admin log pages. */
    body[data-page="dashboard"] .container,
    body[data-page="history"] .container,
    body[data-page="admin-auth-logs"] .container {
      width: min(1060px, calc(100% - 28px));
    }

    body[data-page="dashboard"] .section,
    body[data-page="history"] .section,
    body[data-page="admin-auth-logs"] .section {
      padding-top: 24px;
      padding-bottom: 30px;
    }

    body[data-page="dashboard"] .section-head,
    body[data-page="history"] .section-head,
    body[data-page="admin-auth-logs"] .section-head {
      max-width: 680px;
      margin-bottom: 16px;
      text-align: left;
    }

    body[data-page="dashboard"] .legal-title,
    body[data-page="history"] .legal-title,
    body[data-page="admin-auth-logs"] .legal-title {
      font-size: clamp(22px, 2.4vw, 32px);
      text-transform: none;
    }

    body[data-page="dashboard"] .section-head p,
    body[data-page="history"] .section-head p,
    body[data-page="admin-auth-logs"] .section-head p {
      margin-top: 8px;
      max-width: 640px;
      font-size: 12.5px;
      line-height: 1.5;
    }

    body[data-page="dashboard"] .panel,
    body[data-page="history"] .panel,
    body[data-page="admin-auth-logs"] .panel {
      padding: 12px;
      border-radius: 12px;
      border-color: rgba(173, 22, 33, 0.09);
      box-shadow: 0 8px 18px rgba(171, 33, 49, 0.045);
    }

    body[data-page="dashboard"] .panel h3,
    body[data-page="history"] .panel h3,
    body[data-page="admin-auth-logs"] .panel h3 {
      margin-bottom: 6px;
      font-size: 15px;
      line-height: 1.22;
    }

    body[data-page="dashboard"] .panel-topline,
    body[data-page="history"] .panel-topline,
    body[data-page="admin-auth-logs"] .panel-topline {
      margin-bottom: 5px;
      font-size: 9.5px;
      letter-spacing: 0.07em;
    }

    body[data-page="dashboard"] #dashboardStats,
    body[data-page="history"] #walletHistoryStats,
    body[data-page="admin-auth-logs"] #adminOverviewStats,
    body[data-page="dashboard"] .dashboard-stats,
    body[data-page="history"] .dashboard-stats,
    body[data-page="admin-auth-logs"] .dashboard-stats {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 10px;
      margin-bottom: 12px;
    }

    body[data-page="dashboard"] .metric,
    body[data-page="history"] .metric,
    body[data-page="admin-auth-logs"] .metric {
      padding: 10px 11px;
      border-radius: 12px;
      box-shadow: none;
    }

    body[data-page="dashboard"] .metric strong,
    body[data-page="history"] .metric strong,
    body[data-page="admin-auth-logs"] .metric strong {
      font-size: clamp(18px, 2vw, 25px);
    }

    body[data-page="dashboard"] .metric span,
    body[data-page="history"] .metric span,
    body[data-page="admin-auth-logs"] .metric span {
      margin-top: 5px;
      font-size: 9.5px;
      line-height: 1.35;
    }

    body[data-page="dashboard"] .dashboard-grid,
    body[data-page="dashboard"] #dashboardContent > .tÃ i khoáº£n-grid,
    body[data-page="dashboard"] #dashboardContent > .tai-khoan-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }

    body[data-page="dashboard"] .info-stack,
    body[data-page="dashboard"] .order-list,
    body[data-page="admin-auth-logs"] .info-stack,
    body[data-page="admin-auth-logs"] .card-request-list,
    body[data-page="admin-auth-logs"] .activity-list {
      gap: 7px;
    }

    body[data-page="dashboard"] .info-row,
    body[data-page="admin-auth-logs"] .info-row {
      padding: 8px 10px;
      border-radius: 9px;
      font-size: 12px;
      line-height: 1.35;
    }

    body[data-page="dashboard"] .info-row span,
    body[data-page="admin-auth-logs"] .info-row span {
      color: #5f4a4a;
      word-break: break-word;
    }

    body[data-page="dashboard"] .tag-cloud,
    body[data-page="dashboard"] .ticket-code-list {
      gap: 6px;
    }

    body[data-page="dashboard"] .tag-pill,
    body[data-page="dashboard"] .ticket-code-pill {
      padding: 7px 10px;
      border-radius: 999px;
      font-size: 12px;
    }

    body[data-page="dashboard"] .panel-actions {
      margin-top: 10px !important;
      gap: 7px;
    }

    body[data-page="dashboard"] #dashboardContent > .panel {
      margin-top: 12px !important;
    }

    body[data-page="dashboard"] .order-item {
      padding: 10px 12px;
      border-radius: 10px;
      font-size: 12px;
      line-height: 1.4;
    }

    body[data-page="dashboard"] .order-meta {
      gap: 5px;
      font-size: 12px;
    }

    body[data-page="history"] .history-board-head {
      align-items: center;
      gap: 10px;
    }

    body[data-page="history"] .history-search {
      width: min(360px, 100%);
    }

    body[data-page="history"] #walletHistoryFilters {
      margin-top: 10px !important;
      gap: 6px;
    }

    body[data-page="history"] .wallet-history-filter {
      padding: 6px 10px;
      border-radius: 999px;
      font-size: 11.5px;
      font-weight: 750;
    }

    body[data-page="history"] #walletHistorySummary {
      margin: 10px 0 0 !important;
      font-size: 12px;
    }

    body[data-page="history"] .history-table-wrap {
      margin-top: 10px !important;
      border: 1px solid rgba(173, 22, 33, 0.1);
      border-radius: 10px;
    }

    body[data-page="history"] .history-table {
      min-width: 760px;
      font-size: 12px;
    }

    body[data-page="history"] .history-table th,
    body[data-page="history"] .history-table td {
      padding: 7px 8px;
      text-align: left;
      vertical-align: middle;
      line-height: 1.35;
    }

    body[data-page="history"] .history-table th {
      position: sticky;
      top: 0;
      z-index: 1;
      background: #fff6f7;
      color: #7f1220;
    }

    body[data-page="history"] .history-table tbody tr:nth-child(even) {
      background: rgba(255, 247, 248, 0.55);
    }

    body[data-page="history"] .history-table td:nth-child(2),
    body[data-page="history"] .history-table td:nth-child(5) {
      max-width: 240px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    body[data-page="dashboard"] .status-badge,
    body[data-page="history"] .status-badge,
    body[data-page="admin-auth-logs"] .status-badge {
      padding: 4px 7px;
      border-radius: 999px;
      font-size: 10px;
      letter-spacing: 0.02em;
    }

    body[data-page="dashboard"] .status-success,
    body[data-page="history"] .status-success,
    body[data-page="admin-auth-logs"] .status-success {
      background: rgba(22, 163, 74, 0.12);
      color: #166534;
    }

    body[data-page="admin-auth-logs"] .admin-audit-shell {
      gap: 10px;
    }

    body[data-page="admin-auth-logs"] .admin-audit-hero {
      padding: 12px;
      background: linear-gradient(135deg, rgba(255, 250, 250, 0.98), rgba(255, 255, 255, 0.96));
    }

    body[data-page="admin-auth-logs"] .admin-audit-hero::before {
      display: none;
    }

    body[data-page="admin-auth-logs"] .admin-audit-hero-head,
    body[data-page="admin-auth-logs"] .admin-log-feed-head {
      gap: 10px;
      align-items: center;
    }

    body[data-page="admin-auth-logs"] .admin-audit-hero-copy {
      gap: 5px;
      max-width: 620px;
    }

    body[data-page="admin-auth-logs"] .admin-audit-hero-copy h2 {
      font-size: clamp(18px, 2.1vw, 24px);
      line-height: 1.15;
    }

    body[data-page="admin-auth-logs"] .admin-audit-hero-copy p,
    body[data-page="admin-auth-logs"] .admin-log-panel-copy {
      font-size: 12px;
      line-height: 1.45;
    }

    body[data-page="admin-auth-logs"] .admin-audit-hero-actions {
      gap: 6px;
    }

    body[data-page="admin-auth-logs"] .admin-log-insight-grid {
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 8px;
      margin-top: 10px;
    }

    body[data-page="admin-auth-logs"] .admin-log-insight {
      gap: 4px;
      padding: 9px 10px;
      border-radius: 10px;
      box-shadow: none;
    }

    body[data-page="admin-auth-logs"] .admin-log-insight span {
      font-size: 9px;
      letter-spacing: 0.06em;
    }

    body[data-page="admin-auth-logs"] .admin-log-insight strong {
      font-size: clamp(17px, 1.9vw, 24px);
    }

    body[data-page="admin-auth-logs"] .admin-log-insight small {
      font-size: 11px;
      line-height: 1.35;
    }

    body[data-page="admin-auth-logs"] .admin-log-chip-row,
    body[data-page="admin-auth-logs"] .admin-log-range-row {
      gap: 6px;
      margin-top: 10px;
    }

    body[data-page="admin-auth-logs"] .admin-log-chip,
    body[data-page="admin-auth-logs"] .admin-log-range {
      gap: 6px;
      padding: 6px 9px;
      font-size: 11.5px;
      font-weight: 750;
    }

    body[data-page="admin-auth-logs"] .admin-log-chip strong {
      padding: 2px 7px;
      font-size: 10px;
    }

    body[data-page="admin-auth-logs"] .admin-log-toolbar {
      grid-template-columns: minmax(0, 1.4fr) minmax(150px, 0.8fr) minmax(150px, 0.8fr);
      gap: 8px;
    }

    body[data-page="admin-auth-logs"] .lookup-message,
    body[data-page="admin-auth-logs"] .admin-log-filter-status {
      padding: 8px 10px;
      border-radius: 9px;
      font-size: 12px;
      line-height: 1.45;
    }

    body[data-page="admin-auth-logs"] .lookup-form {
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 8px;
    }

    body[data-page="admin-auth-logs"] .card-request-item,
    body[data-page="admin-auth-logs"] .activity-item {
      gap: 6px;
      padding: 9px 10px;
      border-radius: 10px;
      font-size: 12px;
    }

    body[data-page="admin-auth-logs"] .card-request-meta,
    body[data-page="admin-auth-logs"] .activity-meta {
      gap: 8px;
      font-size: 11.5px;
    }

    body[data-page="admin-auth-logs"] .admin-log-list {
      gap: 8px;
      margin-top: 10px;
    }

    body[data-page="admin-auth-logs"] .audit-log-card {
      gap: 8px;
      padding: 10px;
      border-radius: 11px;
      box-shadow: none;
    }

    body[data-page="admin-auth-logs"] .audit-log-card-top {
      gap: 8px;
      align-items: center;
    }

    body[data-page="admin-auth-logs"] .audit-log-pill-group {
      gap: 5px;
    }

    body[data-page="admin-auth-logs"] .audit-log-source,
    body[data-page="admin-auth-logs"] .audit-log-meta-pill {
      gap: 5px;
      padding: 4px 7px;
      font-size: 10.5px;
      font-weight: 750;
    }

    body[data-page="admin-auth-logs"] .audit-log-time {
      min-width: 138px;
      gap: 2px;
    }

    body[data-page="admin-auth-logs"] .audit-log-time strong {
      font-size: 12px;
    }

    body[data-page="admin-auth-logs"] .audit-log-time span {
      font-size: 10.5px;
    }

    body[data-page="admin-auth-logs"] .audit-log-grid {
      gap: 7px;
    }

    body[data-page="admin-auth-logs"] .audit-log-cell {
      gap: 3px;
      padding: 8px 9px;
      border-radius: 9px;
    }

    body[data-page="admin-auth-logs"] .audit-log-label {
      font-size: 9px;
      letter-spacing: 0.06em;
    }

    body[data-page="admin-auth-logs"] .audit-log-cell strong {
      font-size: 12.5px;
      line-height: 1.25;
    }

    body[data-page="admin-auth-logs"] .audit-log-cell small {
      font-size: 11px;
      line-height: 1.35;
    }

    body[data-page="admin-auth-logs"] .audit-log-note {
      padding: 8px 9px;
      border-radius: 9px;
      font-size: 12px;
      line-height: 1.45;
    }

    body[data-page="admin-auth-logs"] .audit-log-meta-row {
      gap: 5px;
    }

    body[data-page="admin-auth-logs"] .audit-log-details {
      padding-top: 8px;
      font-size: 12px;
    }

    body[data-page="admin-auth-logs"] .audit-log-raw {
      margin-top: 8px;
      padding: 10px;
      border-radius: 10px;
      font-size: 11px;
      line-height: 1.45;
      max-height: 220px;
    }

    @media (max-width: 980px) {
      body[data-page="dashboard"] #dashboardStats,
      body[data-page="history"] #walletHistoryStats,
      body[data-page="admin-auth-logs"] #adminOverviewStats,
      body[data-page="admin-auth-logs"] .admin-log-insight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      body[data-page="dashboard"] .dashboard-grid,
      body[data-page="dashboard"] #dashboardContent > .tÃ i khoáº£n-grid,
      body[data-page="dashboard"] #dashboardContent > .tai-khoan-grid,
      body[data-page="admin-auth-logs"] .audit-log-grid,
      body[data-page="admin-auth-logs"] .admin-log-toolbar,
      body[data-page="admin-auth-logs"] .lookup-form {
        grid-template-columns: 1fr;
      }

      body[data-page="history"] .history-search {
        width: 100%;
      }
    }

    @media (max-width: 560px) {
      body[data-page="dashboard"] #dashboardStats,
      body[data-page="history"] #walletHistoryStats,
      body[data-page="admin-auth-logs"] #adminOverviewStats,
      body[data-page="admin-auth-logs"] .admin-log-insight-grid {
        grid-template-columns: 1fr;
      }

      body[data-page="dashboard"] .info-row,
      body[data-page="admin-auth-logs"] .info-row,
      body[data-page="admin-auth-logs"] .audit-log-card-top {
        align-items: flex-start;
        flex-direction: column;
      }

      body[data-page="dashboard"] .info-row span,
      body[data-page="admin-auth-logs"] .info-row span,
      body[data-page="admin-auth-logs"] .audit-log-time {
        text-align: left;
      }
    }

    /* Login page aligned with the red-white site theme. */
    body[data-page="login"] {
      background:
        radial-gradient(circle at 18% 8%, rgba(239, 35, 60, 0.14), transparent 28%),
        radial-gradient(circle at 88% 16%, rgba(255, 225, 229, 0.82), transparent 22%),
        linear-gradient(180deg, #fff 0%, #fff7f8 48%, #fff 100%);
    }

    body[data-page="login"] .auth-shell {
      min-height: 100vh;
      padding: 28px 16px;
      background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.92), rgba(255, 245, 247, 0.92)),
        radial-gradient(circle at top left, rgba(239, 35, 60, 0.12), transparent 34%);
    }

    body[data-page="login"] .auth-shell::before,
    body[data-page="login"] .auth-shell::after {
      content: "";
      position: absolute;
      border-radius: 999px;
      pointer-events: none;
    }

    body[data-page="login"] .auth-shell::before {
      width: 280px;
      height: 280px;
      top: -120px;
      right: -80px;
      background: rgba(239, 35, 60, 0.1);
    }

    body[data-page="login"] .auth-shell::after {
      width: 220px;
      height: 220px;
      left: -80px;
      bottom: -90px;
      background: rgba(193, 18, 31, 0.08);
    }

    body[data-page="login"] .auth-backdrop {
      display: none;
    }

    body[data-page="login"] .auth-card {
      width: min(430px, 100%);
      padding: 22px;
      border-radius: 20px;
      color: #2b1115;
      background: rgba(255, 255, 255, 0.96);
      border: 1px solid rgba(193, 18, 31, 0.12);
      box-shadow: 0 18px 42px rgba(171, 33, 49, 0.12);
      backdrop-filter: blur(12px);
    }

    body[data-page="login"] .auth-back {
      margin-bottom: 14px;
      color: #9f1422;
      font-size: 13px;
    }

    body[data-page="login"] .auth-back:hover {
      color: #c1121f;
      text-decoration: underline;
    }

    body[data-page="login"] .auth-logo-wrap {
      justify-content: flex-start;
      margin-bottom: 12px;
    }

    body[data-page="login"] .auth-logo {
      width: 68px;
      height: 68px;
      padding: 5px;
      border-radius: 18px;
      object-fit: contain;
      background: #fff7f8;
      border: 1px solid rgba(193, 18, 31, 0.12);
      box-shadow: 0 10px 22px rgba(193, 18, 31, 0.1);
    }

    body[data-page="login"] .auth-title {
      font-size: clamp(24px, 3vw, 32px);
      line-height: 1.08;
      letter-spacing: -0.03em;
      color: #2b1115;
    }

    body[data-page="login"] .auth-subtitle {
      margin-top: 9px;
      color: #6d4d4d;
      font-size: 13px;
      line-height: 1.55;
    }

    body[data-page="login"] .auth-provider-list {
      gap: 9px;
      margin-top: 18px !important;
    }

    body[data-page="login"] .auth-provider,
    body[data-page="login"] .auth-tab {
      min-height: 40px;
      padding: 9px 12px;
      border-radius: 11px;
      font-size: 13px;
      border: 1px solid rgba(193, 18, 31, 0.14);
      background: #fff;
      color: #7f1220;
    }

    body[data-page="login"] .auth-provider.is-discord {
      background: linear-gradient(135deg, #ef233c, #c1121f);
      color: #fff;
      border-color: transparent;
      box-shadow: 0 10px 22px rgba(193, 18, 31, 0.18);
    }

    body[data-page="login"] .auth-provider.is-google {
      color: #5d1f24;
      background: #fff;
      opacity: 0.72;
    }

    body[data-page="login"] .auth-provider-badge {
      color: #9f1422;
      font-size: 10px;
    }

    body[data-page="login"] .auth-divider {
      margin: 17px 0 13px;
      color: #8a6064;
      font-size: 12px;
    }

    body[data-page="login"] .auth-divider::before,
    body[data-page="login"] .auth-divider::after {
      background: rgba(193, 18, 31, 0.14);
    }

    body[data-page="login"] .auth-tabs {
      gap: 8px;
      margin: 0 0 12px;
      padding: 4px;
      border-radius: 13px;
      background: #fff4f5;
      border: 1px solid rgba(193, 18, 31, 0.08);
    }

    body[data-page="login"] .auth-tab {
      border: 0;
      background: transparent;
      box-shadow: none;
    }

    body[data-page="login"] .auth-tab.active {
      background: #fff;
      color: #c1121f;
      box-shadow: 0 8px 16px rgba(193, 18, 31, 0.08);
    }

    body[data-page="login"] .auth-form {
      gap: 9px;
      margin-top: 0;
    }

    body[data-page="login"] .auth-input {
      min-height: 40px;
      padding: 9px 12px;
      border-radius: 10px;
      border: 1px solid rgba(173, 22, 33, 0.16);
      background: #fff;
      color: #2b1115;
      font-size: 13px;
    }

    body[data-page="login"] .auth-input::placeholder {
      color: #9b777a;
    }

    body[data-page="login"] .auth-input:focus {
      outline: none;
      border-color: rgba(193, 18, 31, 0.42);
      box-shadow: 0 0 0 4px rgba(193, 18, 31, 0.08);
    }

    body[data-page="login"] .auth-submit {
      min-height: 40px;
      margin-top: 2px;
      border-radius: 10px;
      background: linear-gradient(135deg, #ef233c, #c1121f);
      box-shadow: 0 12px 24px rgba(193, 18, 31, 0.18);
    }

    body[data-page="login"] .auth-note {
      margin-top: 14px;
      padding: 10px 12px;
      border-radius: 12px;
      background: #fff7f8;
      border: 1px solid rgba(193, 18, 31, 0.1);
      color: #6d4d4d;
      font-size: 12px;
      line-height: 1.5;
    }

    @media (max-width: 560px) {
      body[data-page="login"] .auth-shell {
        padding: 18px 12px;
        align-items: start;
      }

      body[data-page="login"] .auth-card {
        padding: 18px;
        border-radius: 17px;
      }
    }

  
