:root {
      --bg-dark: #070507;
      --bg-light: #13080b;
      --bg-card: rgba(24, 8, 12, 0.74);
      --accent-green: #ff2b42;
      --accent-green-glow: rgba(255, 43, 66, 0.34);
      --accent-gold: #ff4057;
      --accent-red: #ff1f38;
      --text-main: #ffffff;
      --text-muted: #b3b0b1;
      --select-popup-bg: #10070a;
      --select-popup-text: #ffffff;
      --select-popup-hover-bg: #2a0d13;
      --select-popup-selected-bg: var(--accent-green);
      --select-popup-selected-text: #121010;
      --border-radius: 4px;
      --border-radius-lg: 8px;
      --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    [data-theme="light"] {
      --bg-dark: #fbfbfe;
      --bg-light: #ffffff;
      --bg-card: rgba(255, 255, 255, 0.75);
      --bg-dark: #070507;
      --bg-light: #13080b;
      --bg-card: rgba(24, 8, 12, 0.74);
      --accent-green: #ff2b42;
      --accent-green-glow: rgba(255, 43, 66, 0.34);
      --accent-red: #ff1f38;
      --text-main: #fff7f8;
      --text-muted: #bda8ac;
      --select-popup-bg: #10070a;
      --select-popup-text: #fff7f8;
      --select-popup-hover-bg: #2a0d13;
      --select-popup-selected-bg: #ff2b42;
      --select-popup-selected-text: #070507;
    }

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

    html {
      scroll-behavior: smooth;
    }

    body {
      min-height: 100vh;
      max-width: 100vw;
      overflow-x: hidden;
      background: var(--bg-dark);
      color: var(--text-main);
      font-family: Outfit, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      line-height: 1.7;
    }

    body.modal-locked {
      overflow: hidden;
    }

    [hidden] {
      display: none !important;
    }

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

    button {
      font: inherit;
      border: 0;
    }

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

    .container {
      width: min(1300px, calc(100% - 4rem));
      margin: 0 auto;
    }

    .global-entrance {
      position: fixed;
      inset: 0;
      z-index: 99999;
      pointer-events: none;
      background: #050505;
      animation: slide-reveal 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
    }

    @keyframes slide-reveal {
      to {
        transform: translateX(100%);
        visibility: hidden;
      }
    }

    .premium-navbar {
      position: fixed;
      top: 0;
      left: 0;
      z-index: 999;
      width: 100%;
      height: 80px;
      display: flex;
      align-items: center;
      background-color: #2d2627;
      background-image: url("../image/bar.png");
      background-position: center;
      background-size: cover;
      border-bottom: 1px solid rgba(255, 255, 255, 0.04);
      transition: var(--transition);
    }

    .premium-navbar.scrolled {
      height: 70px;
      border-bottom-color: rgba(255, 255, 255, 0.08);
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(45, 38, 39, 0.3);
    }

    .nav-container {
      display: flex;
      width: 100%;
      align-items: center;
      justify-content: space-between;
      gap: 1.25rem;
    }

    .logo {
      display: inline-flex;
      align-items: center;
      flex: 0 0 auto;
    }

    .logo img {
      height: 34px;
      width: auto;
    }

    .links {
      display: flex;
      align-items: center;
      gap: 2.5rem;
      height: 100%;
    }

    .nav-link {
      position: relative;
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.5rem 0;
      color: rgba(255, 255, 255, 0.55);
      font-size: 0.9rem;
      font-weight: 500;
      letter-spacing: 0.02em;
      transition: color 0.25s ease;
    }

    button.nav-link {
      background: transparent;
      cursor: pointer;
    }

    .nav-link:hover,
    .nav-link.active {
      color: #ffffff;
    }

    .nav-link.active::before {
      content: "";
      position: absolute;
      top: -8px;
      left: 50%;
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: var(--accent-gold);
      transform: translateX(-50%);
    }

    #manage-nav,
    #permissions-nav,
    #discounts-nav {
      display: none !important;
    }

    .no-ai-badge {
      display: flex;
      align-items: center;
      justify-content: center;
      padding-left: 1rem;
      margin-left: 1rem;
      border-left: 1px solid rgba(255, 255, 255, 0.1);
    }

    .no-ai-badge img {
      height: 34px;
      width: auto;
      filter: drop-shadow(0 0 8px rgba(255, 77, 77, 0.3));
    }

    .actions {
      display: flex;
      align-items: center;
      gap: 1rem;
      flex: 0 0 auto;
    }

    .icon-button,
    .avatar-button {
      position: relative;
      display: inline-flex;
      width: 42px;
      height: 42px;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(255, 255, 255, 0.05);
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.03);
      color: rgba(255, 255, 255, 0.75);
      cursor: pointer;
      transition: var(--transition);
    }

    .icon-button:hover,
    .avatar-button:hover {
      transform: translateY(-2px);
      border-color: rgba(255, 255, 255, 0.15);
      background: rgba(255, 255, 255, 0.08);
      color: #ffffff;
    }

    .icon-button svg {
      width: 20px;
      height: 20px;
      stroke: currentColor;
    }

    .avatar-button {
      overflow: hidden;
      padding: 0;
      background: transparent;
    }

    .avatar-button img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 50%;
    }

    .cart-badge {
      position: absolute;
      top: -4px;
      right: -4px;
      display: grid;
      width: 18px;
      height: 18px;
      place-items: center;
      border-radius: 50%;
      background: var(--accent-gold);
      color: #050505;
      font-size: 0.7rem;
      font-weight: 800;
      box-shadow: 0 2px 10px rgba(255, 64, 87, 0.4);
    }

    .cart-badge.is-empty {
      display: none;
    }

    .member-chip {
      display: inline-flex;
      max-width: 150px;
      min-height: 38px;
      align-items: center;
      gap: 0.5rem;
      padding: 0.35rem 0.75rem;
      border: 1px solid rgba(255, 43, 66, 0.18);
      border-radius: 999px;
      background: rgba(255, 43, 66, 0.07);
      color: var(--text-main);
      font-size: 0.8rem;
      font-weight: 700;
    }

    .member-chip::before {
      content: "";
      width: 7px;
      height: 7px;
      flex: 0 0 auto;
      border-radius: 50%;
      background: var(--accent-green);
      box-shadow: 0 0 10px rgba(255, 43, 66, 0.45);
    }

    .member-chip span {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .member-chip.is-admin {
      border-color: rgba(255, 64, 87, 0.32);
      background: rgba(255, 64, 87, 0.08);
    }

    .member-chip.is-admin::before {
      background: var(--accent-gold);
      box-shadow: 0 0 12px rgba(255, 64, 87, 0.5);
    }

    .member-chip.is-pending {
      border-color: rgba(255, 64, 87, 0.28);
      background: rgba(255, 64, 87, 0.07);
    }

    .member-chip.is-pending::before {
      background: var(--accent-gold);
      box-shadow: 0 0 12px rgba(255, 64, 87, 0.42);
    }

    .mobile-menu-button {
      display: none;
    }

    .hero-canvas {
      position: relative;
      display: flex;
      min-height: 650px;
      height: 75vh;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      background: #0a0a0a;
    }

    .hero-bg {
      position: absolute;
      inset: -10%;
      z-index: 0;
      animation: bg-pan 30s ease-in-out infinite alternate;
    }

    .hero-bg img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: brightness(0.6) contrast(1.1) saturate(0.8);
    }

    @keyframes bg-pan {
      0% { transform: scale(1.05) translate(0, 0); }
      50% { transform: scale(1.1) translate(-2%, 2%); }
      100% { transform: scale(1.05) translate(2%, -2%); }
    }

    .hero-overlay {
      position: absolute;
      inset: 0;
      z-index: 1;
      background: radial-gradient(circle at center, rgba(10, 10, 10, 0.4) 0%, rgba(10, 10, 10, 0.85) 100%);
    }

    .particles {
      position: absolute;
      inset: 0;
      z-index: 2;
      pointer-events: none;
      overflow: hidden;
    }

    .particles::before,
    .particles::after {
      content: "";
      position: absolute;
      width: 3px;
      height: 3px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.55);
      box-shadow:
        10vw 20vh rgba(255,255,255,0.35), 30vw 50vh rgba(255,255,255,0.35),
        50vw 80vh rgba(255,255,255,0.35), 70vw 10vh rgba(255,255,255,0.35),
        90vw 40vh rgba(255,255,255,0.35), 20vw 80vh rgba(255,255,255,0.35),
        40vw 10vh rgba(255,255,255,0.35), 60vw 60vh rgba(255,255,255,0.35),
        80vw 30vh rgba(255,255,255,0.35), 10vw 90vh rgba(255,255,255,0.35);
      animation: float-up 20s linear infinite;
    }

    .particles::after {
      width: 2px;
      height: 2px;
      animation-duration: 15s;
      animation-delay: -7s;
      opacity: 0.75;
    }

    @keyframes float-up {
      0% { transform: translateY(100vh); opacity: 0; }
      10%, 90% { opacity: 1; }
      100% { transform: translateY(-20vh); opacity: 0; }
    }

    .hero-content {
      position: relative;
      z-index: 10;
      display: flex;
      width: 100%;
      margin-top: 80px;
      align-items: center;
      justify-content: center;
      text-align: center;
    }

    .hero-center {
      display: flex;
      max-width: 820px;
      align-items: center;
      flex-direction: column;
    }

    .hero-ticker {
      display: inline-flex;
      align-items: center;
      gap: 0.75rem;
      margin-bottom: 2rem;
      padding: 0.4rem 1.25rem 0.4rem 0.4rem;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(8px);
      animation: fade-slide-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
      animation-delay: 0.2s;
    }

    .ticker-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.25rem;
      padding: 0.25rem 0.75rem;
      border-radius: 999px;
      background: #ffffff;
      color: #050505;
      font-size: 0.75rem;
      font-weight: 800;
      letter-spacing: 0.05em;
    }

    .ticker-text {
      color: #ffffff;
      font-size: 0.9rem;
      font-weight: 500;
    }

    .balanced-title {
      margin-bottom: 1.5rem;
      color: #ffffff;
      font-size: clamp(2.5rem, 6vw, 4.5rem);
      font-weight: 900;
      letter-spacing: 0;
      line-height: 1.1;
      text-transform: uppercase;
      animation: fade-slide-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
      animation-delay: 0.4s;
    }

    .soft-accent {
      color: #ff4057;
      font-weight: 800;
    }

    .balanced-sub {
      max-width: 620px;
      margin-bottom: 2.5rem;
      color: #aaaaaa;
      font-size: 1.15rem;
      line-height: 1.6;
      animation: fade-slide-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
      animation-delay: 0.6s;
    }

    .hero-actions {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1.25rem;
      margin-bottom: 3rem;
      animation: fade-slide-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
      animation-delay: 0.8s;
    }

    .btn-balanced-primary,
    .btn-balanced-secondary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.6rem;
      min-height: 52px;
      padding: 1rem 2rem;
      border-radius: 4px;
      font-size: 1.05rem;
      font-weight: 700;
      transition: var(--transition);
    }

    .btn-balanced-primary {
      background: #ffffff;
      color: #050505;
      box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
    }

    .btn-balanced-primary:hover {
      transform: translateY(-2px);
      background: #f0f0f0;
      box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
    }

    .btn-balanced-secondary {
      border: 1px solid rgba(255, 255, 255, 0.3);
      background: transparent;
      color: #ffffff;
      font-weight: 600;
    }

    .btn-balanced-secondary:hover {
      transform: translateY(-2px);
      border-color: #ffffff;
      background: rgba(255, 255, 255, 0.1);
    }

    .hero-metrics {
      display: flex;
      align-items: center;
      gap: 2rem;
      animation: fade-slide-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
      animation-delay: 1s;
    }

    .metric-item {
      display: flex;
      align-items: center;
      flex-direction: column;
      gap: 0.25rem;
      color: #aaaaaa;
      font-size: 0.9rem;
    }

    .metric-item strong {
      color: #ffffff;
      font-size: 1.4rem;
      font-weight: 700;
      line-height: 1;
    }

    .metric-dot {
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.2);
    }

    @keyframes fade-slide-up {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .section-solid {
      padding: 5rem 0;
      border-top: 2px solid rgba(255, 255, 255, 0.05);
      border-bottom: 2px solid rgba(255, 255, 255, 0.05);
      background: var(--bg-light);
    }

    .section-standout {
      padding: 5rem 0;
      background: var(--bg-dark);
    }

    .section-header {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 1.25rem;
      margin-bottom: 3rem;
    }

    .section-heading {
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .section-heading svg {
      width: 28px;
      height: 28px;
      stroke-width: 2.4;
    }

    .section-title {
      color: var(--text-main);
      font-size: 2.5rem;
      font-weight: 900;
      line-height: 1.1;
      text-transform: uppercase;
    }

    .link-blocky {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding-bottom: 0.2rem;
      border-bottom: 2px solid currentColor;
      background: transparent;
      color: var(--text-muted);
      cursor: pointer;
      font-size: 0.9rem;
      font-weight: 700;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      transition: var(--transition);
    }

    .link-blocky:hover {
      color: var(--text-main);
    }

    .link-blocky:disabled {
      cursor: default;
      opacity: 0.45;
    }

    .promoted-marketplace {
      background: var(--bg-dark);
    }

    .promoted-controls {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
    }

    .promoted-nav-button {
      display: inline-grid;
      width: 42px;
      height: 42px;
      place-items: center;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.04);
      color: var(--text-main);
      cursor: pointer;
      transition: var(--transition);
    }

    .promoted-nav-button:hover {
      transform: translateY(-2px);
      border-color: rgba(255, 64, 87, 0.36);
      color: var(--accent-gold);
    }

    .promoted-nav-button svg {
      width: 20px;
      height: 20px;
      stroke: currentColor;
      stroke-width: 2.2;
    }

    .promoted-track {
      display: flex;
      gap: 1rem;
      overflow-x: auto;
      padding: 0.15rem 0 0.8rem;
      scroll-padding-inline: 0.15rem;
      scroll-snap-type: x mandatory;
      scrollbar-width: thin;
    }

    .promoted-card {
      position: relative;
      display: grid;
      min-height: 390px;
      overflow: hidden;
      flex: 0 0 min(380px, 82vw);
      grid-template-rows: 190px minmax(0, 1fr);
      border: 1px solid rgba(255, 64, 87, 0.18);
      border-radius: var(--border-radius);
      background: rgba(255, 255, 255, 0.035);
      scroll-snap-align: start;
    }

    .promoted-media {
      position: relative;
      display: block;
      overflow: hidden;
      background:
        linear-gradient(135deg, rgba(255, 64, 87, 0.14), rgba(255, 43, 66, 0.08)),
        url("../image/bg_start.jpg") center / cover;
    }

    .promoted-media .product-tag {
      z-index: 3;
    }

    .sponsored-badge {
      position: absolute;
      right: 0.9rem;
      bottom: 0.9rem;
      z-index: 4;
      padding: 0.32rem 0.62rem;
      border: 1px solid rgba(255, 64, 87, 0.36);
      border-radius: 999px;
      background: rgba(9, 10, 8, 0.82);
      color: var(--accent-gold);
      font-size: 0.72rem;
      font-weight: 900;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .sale-badge {
      position: absolute;
      top: 0.9rem;
      right: 0.9rem;
      z-index: 5;
      display: inline-flex;
      min-height: 28px;
      align-items: center;
      justify-content: center;
      padding: 0.25rem 0.62rem;
      border: 1px solid rgba(250, 204, 21, 0.45);
      border-radius: 999px;
      background: rgba(20, 12, 4, 0.86);
      color: #fde68a;
      font-size: 0.7rem;
      font-weight: 950;
      letter-spacing: 0.04em;
      line-height: 1;
      text-transform: uppercase;
      box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
      backdrop-filter: blur(12px);
    }

    .promoted-data {
      display: flex;
      min-width: 0;
      flex-direction: column;
      gap: 0.72rem;
      padding: 1.05rem;
    }

    .promoted-title {
      display: block;
      overflow: hidden;
      color: var(--text-main);
      font-size: 1.18rem;
      font-weight: 900;
      line-height: 1.2;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .promoted-meta,
    .promoted-desc {
      color: var(--text-muted);
      font-size: 0.84rem;
      line-height: 1.45;
    }

    .promoted-desc {
      display: -webkit-box;
      overflow: hidden;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }

    .creator-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
    }

    .creator-empty {
      grid-column: 1 / -1;
      margin-top: 0;
    }

    .creator-block {
      display: flex;
      align-items: center;
      gap: 1.5rem;
      padding: 1.5rem;
      border: 1px solid rgba(255, 255, 255, 0.05);
      border-radius: var(--border-radius-lg);
      background: rgba(255, 255, 255, 0.02);
      transition: var(--transition);
    }

    .creator-block:hover {
      transform: translateY(-4px);
      border-color: rgba(255, 64, 87, 0.3);
      background: rgba(255, 255, 255, 0.05);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .creator-avatar {
      width: 60px;
      height: 60px;
      flex: 0 0 auto;
      overflow: hidden;
      border: 2px solid rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      background: var(--bg-dark);
    }

    .creator-avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .creator-name {
      display: block;
      margin-bottom: 0.25rem;
      color: var(--text-main);
      font-size: 1.125rem;
      font-weight: 700;
    }

    .creator-meta {
      display: flex;
      gap: 1rem;
      color: var(--text-muted);
      font-size: 0.85rem;
    }

    .creator-bio {
      display: -webkit-box;
      overflow: hidden;
      margin-top: 0.45rem;
      color: var(--text-muted);
      font-size: 0.82rem;
      line-height: 1.45;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }

    .creator-rating {
      color: var(--accent-gold);
      font-weight: 700;
    }

    .creator-profile-hero {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      gap: 1.25rem;
      align-items: center;
      padding: 1.25rem 0 2rem;
    }

    .creator-profile-avatar {
      width: 86px;
      height: 86px;
    }

    .creator-profile-actions {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 0.6rem;
      flex-wrap: wrap;
    }

    .creator-profile-products {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 1.5rem;
    }

    .creator-profile-link {
      width: fit-content;
      transition: var(--transition);
    }

    .creator-profile-link:hover {
      color: var(--accent-gold);
    }

    .solid-filters {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
    }

    .filter-button {
      padding: 0.5rem 1rem;
      border: 2px solid rgba(255, 255, 255, 0.05);
      background: var(--bg-light);
      color: var(--text-muted);
      cursor: pointer;
      font-weight: 700;
      transition: var(--transition);
    }

    .filter-button:hover,
    .filter-button.active {
      border-color: var(--text-main);
      background: var(--text-main);
      color: var(--bg-dark);
    }

    .product-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1.5rem;
    }

    .product-block {
      display: flex;
      height: 100%;
      min-width: 0;
      overflow: hidden;
      flex-direction: column;
      border: 1px solid rgba(255, 255, 255, 0.05);
      border-radius: var(--border-radius-lg);
      background: rgba(255, 255, 255, 0.02);
      transition: var(--transition);
    }

    .product-block:hover {
      transform: translateY(-5px);
      border-color: rgba(255, 43, 66, 0.3);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 43, 66, 0.1);
    }

    .product-block[data-product-id],
    .promoted-card[data-product-id],
    .discover-big[data-product-id],
    .product-row[data-product-id] {
      cursor: pointer;
    }

    .product-block:hover .view-pill {
      background: var(--text-main);
      color: var(--bg-dark);
    }

    .product-image,
    .feature-image,
    .row-image {
      position: relative;
      overflow: hidden;
      background:
        linear-gradient(135deg, rgba(255, 43, 66, 0.12), rgba(255, 64, 87, 0.08)),
        url("../image/bg_start.jpg") center / cover;
    }

    .product-image {
      height: 180px;
    }

    .product-image::before,
    .feature-image::before,
    .row-image::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
      background-size: 24px 24px;
      mix-blend-mode: screen;
      opacity: 0.6;
    }

    .asset-mark {
      position: absolute;
      right: 1rem;
      bottom: 1rem;
      display: grid;
      width: 52px;
      height: 52px;
      place-items: center;
      border: 1px solid rgba(255, 255, 255, 0.16);
      border-radius: 12px;
      background: rgba(18, 16, 16, 0.72);
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    }

    .asset-mark span {
      width: 26px;
      height: 26px;
      border-radius: 5px;
      background: var(--accent-green);
      box-shadow:
        12px 8px 0 rgba(255, 64, 87, 0.85),
        -9px 10px 0 rgba(255, 255, 255, 0.26);
    }

    .product-tag {
      position: absolute;
      top: 1rem;
      left: 1rem;
      z-index: 2;
      padding: 0.25rem 0.75rem;
      border-radius: 999px;
      background: var(--accent-red);
      color: #ffffff;
      font-size: 0.75rem;
      font-weight: 800;
    }

    .preview-count-badge {
      position: absolute;
      right: 1rem;
      bottom: 1rem;
      z-index: 3;
      display: inline-flex;
      min-height: 30px;
      align-items: center;
      justify-content: center;
      padding: 0.25rem 0.65rem;
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: 999px;
      background: rgba(18, 16, 16, 0.78);
      color: var(--text-main);
      font-size: 0.72rem;
      font-weight: 900;
      line-height: 1;
      backdrop-filter: blur(12px);
    }

    .product-image .preview-count-badge + .asset-mark {
      display: none;
    }

    .product-data {
      display: flex;
      flex: 1;
      flex-direction: column;
      padding: 1.25rem;
    }

    .product-title {
      margin-bottom: 0.25rem;
      color: var(--text-main);
      font-size: 1.125rem;
      font-weight: 700;
      line-height: 1.35;
    }

    .product-creator,
    .row-creator {
      color: var(--text-muted);
      font-size: 0.85rem;
    }

    .product-bottom {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      flex-wrap: wrap;
      margin-top: auto;
      padding-top: 1.5rem;
    }

    .price {
      display: inline-flex;
      align-items: baseline;
      gap: 0.45rem;
      flex-wrap: wrap;
      color: var(--accent-green);
      font-size: 1.25rem;
      font-weight: 800;
      white-space: nowrap;
    }

    .price.is-sale,
    .seller-product-price.is-sale,
    .cart-item-price.is-sale,
    .product-detail-price.is-sale,
    .product-page-price.is-sale {
      color: #fde68a;
    }

    .sale-price-current {
      color: inherit;
      font-weight: 950;
    }

    .sale-price-original {
      color: rgba(255, 255, 255, 0.48);
      font-size: 0.75em;
      font-weight: 750;
      text-decoration: line-through;
      text-decoration-thickness: 2px;
    }

    .seller-product-price,
    .cart-item-price {
      display: inline-flex;
      align-items: baseline;
      gap: 0.35rem;
      white-space: nowrap;
    }

    .view-pill {
      display: inline-flex;
      min-height: 36px;
      align-items: center;
      justify-content: center;
      padding: 0.4rem 1rem;
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 999px;
      color: var(--text-main);
      font-size: 0.8rem;
      font-weight: 700;
      transition: var(--transition);
    }

    .product-actions {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      flex-wrap: wrap;
      justify-content: flex-end;
    }

    .add-cart-button,
    .mini-cart-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.45rem;
      min-height: 36px;
      border-radius: 999px;
      border: 1px solid rgba(255, 43, 66, 0.24);
      background: rgba(255, 43, 66, 0.1);
      color: var(--text-main);
      cursor: pointer;
      font-size: 0.8rem;
      font-weight: 800;
      letter-spacing: 0.02em;
      transition: var(--transition);
    }

    .add-cart-button {
      padding: 0.45rem 0.95rem;
    }

    .mini-cart-button {
      width: 36px;
      flex: 0 0 36px;
      padding: 0;
    }

    .owned-product-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 36px;
      padding: 0.45rem 0.95rem;
      border: 1px solid rgba(16, 185, 129, 0.5);
      background: rgba(16, 185, 129, 0.14);
      color: #d1fae5;
      cursor: default;
      font-size: 0.78rem;
      font-weight: 900;
      letter-spacing: 0.02em;
      text-transform: uppercase;
      white-space: nowrap;
    }

    .owned-product-badge-large {
      min-height: 44px;
      padding: 0.75rem 1.25rem;
    }

    .add-cart-button svg,
    .mini-cart-button svg {
      width: 15px;
      height: 15px;
      stroke: currentColor;
      stroke-width: 2;
    }

    .add-cart-button:hover,
    .mini-cart-button:hover {
      transform: translateY(-2px);
      border-color: rgba(255, 43, 66, 0.55);
      background: var(--accent-green);
      color: #050505;
      box-shadow: 0 8px 24px rgba(255, 43, 66, 0.18);
    }

    .load-more-wrap {
      display: flex;
      justify-content: center;
      margin-top: 2rem;
    }

    .btn-blocky-secondary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 46px;
      padding: 0.8rem 2rem;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: var(--border-radius);
      background: rgba(255, 255, 255, 0.05);
      color: var(--text-main);
      font-size: 1rem;
      font-weight: 700;
      transition: var(--transition);
    }

    .btn-blocky-secondary:hover {
      background: rgba(255, 255, 255, 0.1);
    }

    .catalog-empty {
      display: grid;
      min-height: 160px;
      place-items: center;
      margin-top: 1.5rem;
      border: 1px dashed rgba(255, 255, 255, 0.12);
      border-radius: var(--border-radius-lg);
      color: var(--text-muted);
      text-align: center;
    }

    .catalog-empty strong {
      display: block;
      margin-bottom: 0.25rem;
      color: var(--text-main);
    }

    .access-panel {
      padding: 1.25rem;
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: var(--border-radius-lg);
      background: rgba(255, 255, 255, 0.025);
    }

    .access-panel + .access-panel {
      margin-top: 1rem;
    }

    .panel-title {
      margin-bottom: 0.25rem;
      color: var(--text-main);
      font-size: 1.15rem;
      font-weight: 900;
      line-height: 1.2;
    }

    .panel-copy {
      color: var(--text-muted);
      font-size: 0.9rem;
    }

    .management-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
      gap: 1.5rem;
      align-items: start;
    }

    .upload-page {
      position: relative;
    }

    .upload-hero {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(320px, 0.68fr);
      gap: 1.5rem;
      align-items: end;
      margin-bottom: 1.5rem;
      padding: 1.35rem;
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: var(--border-radius-lg);
      background:
        linear-gradient(135deg, rgba(255, 43, 66, 0.07), rgba(255, 64, 87, 0.045)),
        rgba(255, 255, 255, 0.025);
    }

    .upload-eyebrow {
      display: inline-flex;
      margin-bottom: 0.75rem;
      color: var(--accent-gold);
      font-size: 0.75rem;
      font-weight: 900;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .upload-hero-copy {
      max-width: 720px;
      color: var(--text-muted);
    }

    .upload-stat-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0.75rem;
    }

    .upload-stat {
      min-width: 0;
      padding: 0.9rem;
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: var(--border-radius);
      background: rgba(18, 16, 16, 0.34);
    }

    .upload-stat strong,
    .upload-stat span {
      display: block;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .upload-stat strong {
      color: var(--text-main);
      font-size: 1.05rem;
      font-weight: 900;
    }

    .upload-stat span {
      color: var(--text-muted);
      font-size: 0.78rem;
      font-weight: 750;
    }

    .upload-page-grid {
      display: grid;
      grid-template-columns: 260px minmax(0, 1fr) 320px;
      gap: 1.5rem;
      align-items: start;
    }

    .upload-main-column {
      display: grid;
      min-width: 0;
      gap: 1rem;
    }

    .upload-sidebar,
    .upload-preview-panel {
      position: sticky;
      top: 96px;
    }

    .upload-step-list,
    .upload-checklist {
      display: grid;
      gap: 0.75rem;
      list-style: none;
    }

    .upload-step {
      display: grid;
      grid-template-columns: 34px minmax(0, 1fr);
      gap: 0.75rem;
      align-items: start;
      padding: 0.85rem;
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: var(--border-radius);
      background: rgba(255, 255, 255, 0.035);
    }

    .upload-step-index {
      display: grid;
      width: 34px;
      height: 34px;
      place-items: center;
      border-radius: 10px;
      background: var(--accent-green);
      color: #050505;
      font-size: 0.8rem;
      font-weight: 950;
    }

    .upload-step strong,
    .upload-checklist strong {
      display: block;
      color: var(--text-main);
      font-size: 0.9rem;
      font-weight: 900;
      line-height: 1.25;
    }

    .upload-step span,
    .upload-checklist span {
      display: block;
      color: var(--text-muted);
      font-size: 0.78rem;
      line-height: 1.45;
    }

    .upload-form-card {
      margin: 0;
    }

    .upload-form-top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 1rem;
      margin-bottom: 1rem;
    }

    .upload-form-title {
      margin-bottom: 0.2rem;
      color: var(--text-main);
      font-size: 1.25rem;
      font-weight: 950;
      line-height: 1.15;
    }

    .seller-form-actions {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      flex-wrap: wrap;
      margin-top: 1rem;
    }

    .seller-form-actions .auth-submit {
      flex: 1 1 220px;
    }

    .seller-products-panel {
      display: grid;
      gap: 1rem;
    }

    .seller-products-top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 1rem;
    }

    .seller-product-list {
      display: grid;
      gap: 0.8rem;
    }

    .seller-product-row {
      display: grid;
      grid-template-columns: 64px minmax(0, 1fr) minmax(210px, auto);
      gap: 0.9rem;
      align-items: center;
      padding: 0.85rem;
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: var(--border-radius);
      background: rgba(255, 255, 255, 0.035);
      transition: var(--transition);
    }

    .seller-product-row.is-active {
      border-color: rgba(255, 43, 66, 0.42);
      background: rgba(255, 43, 66, 0.07);
      box-shadow: 0 0 0 2px rgba(255, 43, 66, 0.08);
    }

    .seller-product-thumb {
      display: grid;
      width: 64px;
      height: 64px;
      overflow: hidden;
      place-items: center;
      border-radius: 12px;
      background:
        linear-gradient(135deg, rgba(255, 43, 66, 0.12), rgba(255, 64, 87, 0.08)),
        url("../image/bg_start.jpg") center / cover;
    }

    .seller-product-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .seller-product-thumb span {
      width: 24px;
      height: 24px;
      border-radius: 5px;
      background: var(--accent-green);
      box-shadow: 10px 7px 0 rgba(255, 64, 87, 0.82);
    }

    .seller-product-info {
      display: grid;
      min-width: 0;
      gap: 0.2rem;
    }

    .seller-product-actions {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 0.5rem;
      flex-wrap: wrap;
    }

    .seller-product-name,
    .seller-product-meta {
      display: block;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .seller-product-name {
      color: var(--text-main);
      font-weight: 900;
      line-height: 1.25;
    }

    .seller-product-meta {
      color: var(--text-muted);
      font-size: 0.8rem;
    }

    .product-status-badge {
      display: inline-flex;
      width: fit-content;
      align-items: center;
      justify-content: center;
      padding: 0.22rem 0.55rem;
      border-radius: 999px;
      font-size: 0.72rem;
      font-weight: 900;
      text-transform: uppercase;
    }

    .product-status-badge.is-active {
      border: 1px solid rgba(255, 43, 66, 0.28);
      background: rgba(255, 43, 66, 0.1);
      color: var(--accent-green);
    }

    .product-status-badge.is-paused {
      border: 1px solid rgba(255, 64, 87, 0.28);
      background: rgba(255, 64, 87, 0.08);
      color: var(--accent-gold);
    }

    .danger-button {
      border-color: rgba(255, 86, 86, 0.34) !important;
      color: #ffb4b4 !important;
    }

    .danger-button:hover {
      background: rgba(255, 86, 86, 0.12) !important;
      color: #ffffff !important;
    }

    .manage-page-grid {
      grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    }

    .seller-product-empty {
      margin-top: 0;
    }

    .upload-preview-panel {
      display: grid;
      gap: 1rem;
    }

    .upload-access-card {
      padding: 1rem;
      border: 1px solid rgba(255, 64, 87, 0.14);
      border-radius: var(--border-radius);
      background: rgba(255, 64, 87, 0.055);
    }

    .upload-checklist li {
      padding: 0.8rem;
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: var(--border-radius);
      background: rgba(255, 255, 255, 0.035);
    }

    .form-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1rem;
    }

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

    .field-group input,
    .field-group select,
    .field-group textarea {
      min-height: 48px;
      width: 100%;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: var(--border-radius);
      background: rgba(255, 255, 255, 0.04);
      color: var(--text-main);
      font: inherit;
      padding: 0 1rem;
      outline: none;
      transition: var(--transition);
    }

    .field-group textarea {
      min-height: 104px;
      padding-top: 0.8rem;
      resize: vertical;
    }

    .field-group select {
      appearance: none;
      color-scheme: dark;
    }

    [data-theme="light"] .field-group select {
      color-scheme: light;
    }

    .field-group select option,
    .rich-editor-select option {
      background-color: var(--select-popup-bg);
      color: var(--select-popup-text);
    }

    .field-group select option:hover,
    .field-group select option:focus,
    .rich-editor-select option:hover,
    .rich-editor-select option:focus {
      background: var(--select-popup-hover-bg);
      background-color: var(--select-popup-hover-bg);
      color: var(--select-popup-text);
    }

    .field-group select option:checked,
    .rich-editor-select option:checked {
      background: var(--select-popup-selected-bg);
      background-color: var(--select-popup-selected-bg);
      color: var(--select-popup-selected-text);
      box-shadow: 0 0 0 100vmax var(--select-popup-selected-bg) inset;
    }

    .field-group input:focus,
    .field-group select:focus,
    .field-group textarea:focus {
      border-color: rgba(255, 43, 66, 0.45);
      box-shadow: 0 0 0 3px rgba(255, 43, 66, 0.08);
    }

    .rich-description-field {
      gap: 0.55rem;
    }

    .rich-editor-shell {
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: var(--border-radius);
      background: rgba(255, 255, 255, 0.035);
      transition: var(--transition);
    }

    .rich-editor-shell:focus-within {
      border-color: rgba(255, 43, 66, 0.45);
      box-shadow: 0 0 0 3px rgba(255, 43, 66, 0.08);
    }

    .rich-editor-toolbar {
      display: flex;
      align-items: center;
      gap: 0.35rem;
      flex-wrap: wrap;
      padding: 0.55rem;
      border-bottom: 1px solid rgba(255, 255, 255, 0.07);
      background: rgba(18, 16, 16, 0.58);
    }

    .rich-editor-select,
    .rich-editor-button,
    .rich-editor-swatch {
      min-height: 36px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.055);
      color: var(--text-main);
    }

    .rich-editor-select {
      width: auto;
      min-width: 116px;
      padding: 0 0.65rem;
      font-size: 0.78rem;
      font-weight: 850;
      outline: none;
    }

    .rich-editor-size {
      min-width: 62px;
    }

    .rich-editor-button,
    .rich-editor-swatch {
      display: inline-flex;
      width: 36px;
      align-items: center;
      justify-content: center;
      flex: 0 0 auto;
      padding: 0;
      cursor: pointer;
      transition: var(--transition);
    }

    .rich-editor-button:hover,
    .rich-editor-swatch:hover {
      border-color: rgba(255, 43, 66, 0.38);
      background: rgba(255, 43, 66, 0.09);
      color: #ffffff;
    }

    .rich-editor-button svg {
      width: 18px;
      height: 18px;
      stroke: currentColor;
      stroke-width: 2;
    }

    .rich-editor-underline {
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .rich-editor-swatch {
      position: relative;
      overflow: hidden;
      font-size: 0.82rem;
      font-weight: 950;
    }

    .rich-editor-swatch input {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      padding: 0;
      border: 0;
      opacity: 0;
      cursor: pointer;
    }

    .rich-editor-highlight {
      padding: 0 0.18rem;
      border-radius: 3px;
      background: rgba(255, 43, 66, 0.28);
    }

    .rich-editor-canvas {
      min-height: 210px;
      max-height: 520px;
      overflow: auto;
      padding: 1rem;
      color: var(--text-main);
      font: inherit;
      line-height: 1.7;
      outline: none;
    }

    .rich-editor-canvas:empty::before {
      content: attr(data-placeholder);
      color: rgba(255, 255, 255, 0.38);
      pointer-events: none;
    }

    .rich-editor-canvas :where(p, div, h2, h3, blockquote, ul, ol) {
      margin: 0 0 0.75rem;
    }

    .rich-editor-canvas :where(h2, h3) {
      color: var(--text-main);
      line-height: 1.18;
    }

    .rich-editor-canvas h2 {
      font-size: 1.45rem;
    }

    .rich-editor-canvas h3 {
      font-size: 1.18rem;
    }

    .rich-editor-canvas blockquote {
      padding: 0.6rem 0.8rem;
      border-left: 3px solid var(--accent-green);
      background: rgba(255, 43, 66, 0.06);
      color: var(--text-muted);
    }

    .rich-editor-canvas :where(ul, ol) {
      padding-left: 1.35rem;
    }

    .rich-editor-canvas a,
    .product-detail-description a,
    .product-page-description a {
      color: var(--accent-green);
      font-weight: 850;
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .rich-editor-canvas img,
    .product-detail-description img,
    .product-page-description img {
      display: inline-block;
      max-width: min(100%, 420px);
      max-height: 360px;
      margin: 0.45rem 0.35rem;
      vertical-align: middle;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: var(--border-radius);
      object-fit: contain;
      background: rgba(18, 16, 16, 0.68);
      box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
    }

    .rich-editor-canvas.drag-over {
      background: rgba(255, 43, 66, 0.055);
      box-shadow: inset 0 0 0 1px rgba(255, 43, 66, 0.24);
    }

    .upload-buttons {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1rem;
      margin-top: 1rem;
    }

    .file-picker input {
      position: absolute;
      width: 1px;
      height: 1px;
      overflow: hidden;
      clip: rect(0 0 0 0);
      clip-path: inset(50%);
      white-space: nowrap;
    }

    .file-picker-label {
      display: flex;
      min-height: 116px;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 0.4rem;
      padding: 1rem;
      border: 1px dashed rgba(255, 43, 66, 0.28);
      border-radius: var(--border-radius);
      background: rgba(255, 43, 66, 0.055);
      color: var(--text-main);
      cursor: pointer;
      text-align: center;
      transition: var(--transition);
    }

    .file-picker-label:hover {
      border-color: rgba(255, 43, 66, 0.55);
      background: rgba(255, 43, 66, 0.09);
    }

    .file-picker-label svg {
      width: 26px;
      height: 26px;
      stroke: currentColor;
      stroke-width: 2;
    }

    .file-name {
      display: block;
      max-width: 100%;
      overflow: hidden;
      color: var(--text-muted);
      font-size: 0.8rem;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .product-file-editor {
      display: grid;
      gap: 0.75rem;
      margin-top: 1rem;
    }

    .wallet-split-field {
      align-content: start;
    }

    .wallet-split-builder {
      display: grid;
      gap: 0.65rem;
      padding: 0.85rem;
      border: 1px solid rgba(255, 255, 255, 0.09);
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.035);
    }

    .wallet-split-head,
    .wallet-split-row {
      display: grid;
      grid-template-columns: minmax(220px, 1fr) minmax(110px, 0.28fr) auto;
      gap: 0.65rem;
      align-items: center;
    }

    .wallet-split-rows {
      display: grid;
      gap: 0.55rem;
    }

    .wallet-split-head {
      color: var(--text-muted);
      font-size: 0.76rem;
      font-weight: 900;
      text-transform: uppercase;
    }

    .wallet-split-row select,
    .wallet-split-row input {
      width: 100%;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 8px;
      background: rgba(10, 10, 12, 0.68);
      color: var(--text-main);
      font: inherit;
      font-size: 0.86rem;
      padding: 0.58rem 0.65rem;
    }

    .wallet-split-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.65rem;
      align-items: center;
      justify-content: space-between;
    }

    .wallet-split-actions strong {
      color: #ffffff;
      font-size: 0.88rem;
    }

    .wallet-split-actions strong.is-error {
      color: #f87171;
    }

    .product-file-row {
      display: grid;
      grid-template-columns: minmax(180px, 1.15fr) repeat(3, minmax(130px, 0.75fr)) auto;
      gap: 0.65rem;
      align-items: end;
      padding: 0.85rem;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.035);
    }

    .product-file-row.is-archived {
      opacity: 0.58;
    }

    .product-file-row-title {
      display: grid;
      gap: 0.2rem;
      min-width: 0;
    }

    .product-file-row-title strong,
    .product-file-row-title span {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .product-file-row-title span,
    .product-file-row small {
      color: var(--text-muted);
      font-size: 0.78rem;
    }

    .product-file-row label {
      display: grid;
      gap: 0.3rem;
      color: var(--text-muted);
      font-size: 0.76rem;
    }

    .product-file-row input,
    .product-file-row select {
      width: 100%;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 8px;
      background: rgba(10, 10, 12, 0.68);
      color: var(--text-main);
      font: inherit;
      font-size: 0.84rem;
      padding: 0.52rem 0.58rem;
    }

    .product-file-summary {
      display: flex;
      flex-wrap: wrap;
      gap: 0.35rem;
      margin-top: 0.25rem;
    }

    .product-file-pill {
      display: inline-flex;
      align-items: center;
      max-width: 100%;
      padding: 0.22rem 0.48rem;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 999px;
      color: var(--text-muted);
      font-size: 0.72rem;
    }

    @media (max-width: 760px) {
      .wallet-split-head {
        display: none;
      }

      .wallet-split-row {
        grid-template-columns: 1fr;
      }

      .product-file-row {
        grid-template-columns: 1fr;
      }
    }

    .role-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      margin-top: 0.75rem;
      padding: 0.35rem 0.7rem;
      border: 1px solid rgba(255, 64, 87, 0.22);
      border-radius: 999px;
      background: rgba(255, 64, 87, 0.07);
      color: var(--accent-gold);
      font-size: 0.78rem;
      font-weight: 900;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .library-grid,
    .permission-list,
    .promotion-list,
    .discount-list {
      display: grid;
      gap: 0.8rem;
    }

    .library-item,
    .permission-row,
    .promotion-row,
    .discount-row {
      display: grid;
      grid-template-columns: 56px minmax(0, 1fr) auto;
      gap: 0.9rem;
      align-items: center;
      padding: 0.9rem;
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: var(--border-radius);
      background: rgba(255, 255, 255, 0.035);
    }

    .permission-row,
    .discount-row {
      grid-template-columns: minmax(0, 1fr) auto;
    }

    .promotion-row {
      grid-template-columns: 72px minmax(0, 1fr) auto;
    }

    .permission-toolbar {
      display: grid;
      grid-template-columns: minmax(220px, 1fr) auto auto;
      gap: 0.75rem;
      align-items: end;
      margin-bottom: 1rem;
    }

    .permission-toolbar .field-group {
      margin: 0;
    }

    .permission-count {
      display: block;
      margin-bottom: 1rem;
      color: var(--text-muted);
      font-size: 0.86rem;
      font-weight: 700;
    }

    .permission-actions,
    .promotion-actions,
    .discount-actions {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 0.55rem;
      flex-wrap: wrap;
    }

    .discount-admin-grid {
      display: grid;
      grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
      gap: 1rem;
      align-items: start;
    }

    .discount-form {
      display: grid;
      gap: 1rem;
    }

    .product-sale-panel {
      display: grid;
      gap: 1rem;
      margin-top: 1rem;
    }

    .product-sale-form {
      display: grid;
      gap: 1rem;
      padding: 0.95rem;
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: var(--border-radius);
      background: rgba(255, 255, 255, 0.03);
    }

    .product-sale-form .discount-actions {
      justify-content: flex-start;
    }

    .product-sale-row {
      border-color: rgba(250, 204, 21, 0.16);
      background: rgba(250, 204, 21, 0.035);
    }

    #product-sale-products {
      min-height: 9rem;
    }

    .discount-form-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.85rem;
    }

    .discount-form-grid .field-group:first-child,
    .discount-form-grid .field-group:nth-child(2) {
      grid-column: span 2;
    }

    .discount-active-toggle {
      display: inline-flex;
      min-height: 48px;
      align-items: center;
      gap: 0.55rem;
      align-self: end;
      padding: 0 0.95rem;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: var(--border-radius);
      background: rgba(255, 255, 255, 0.04);
      color: var(--text-main);
      font-size: 0.86rem;
      font-weight: 850;
    }

    .discount-active-toggle input {
      width: 16px;
      height: 16px;
      accent-color: var(--accent-green);
    }

    .field-help {
      margin: 0.1rem 0 0;
      color: var(--text-muted);
      font-size: 0.78rem;
      line-height: 1.45;
    }

    .discount-tag-choices {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 0.45rem;
      max-height: 11.5rem;
      overflow: auto;
      padding: 0.55rem;
      border: 1px solid rgba(255, 43, 66, 0.24);
      border-radius: 0;
      background:
        linear-gradient(145deg, rgba(255, 43, 66, 0.08), rgba(5, 3, 4, 0.58)),
        rgba(255, 255, 255, 0.035);
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
    }

    .discount-tag-choice {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      align-items: center;
      column-gap: 0.5rem;
      row-gap: 0.1rem;
      min-height: 46px;
      padding: 0.55rem 0.75rem;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 0;
      -webkit-clip-path: var(--orz-button-cut-small);
      clip-path: var(--orz-button-cut-small);
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 43, 66, 0.055));
      color: var(--text-main);
      cursor: pointer;
      transition: var(--transition);
    }

    .discount-tag-choice:has(input:checked) {
      border-color: rgba(255, 43, 66, 0.72);
      background: linear-gradient(135deg, rgba(255, 43, 66, 0.28), rgba(80, 5, 16, 0.42));
      box-shadow: 0 0 0 1px rgba(255, 43, 66, 0.18), 0 14px 28px rgba(255, 43, 66, 0.12);
    }

    .discount-tag-choice input {
      grid-row: span 2;
      width: 16px;
      height: 16px;
      accent-color: var(--accent-green);
    }

    .discount-tag-choice span,
    .discount-tag-choice small {
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .discount-tag-choice span {
      font-size: 0.85rem;
      font-weight: 850;
    }

    .discount-tag-choice small,
    .discount-scope-empty {
      color: var(--text-muted);
      font-size: 0.74rem;
      font-weight: 750;
    }

    .discount-scope-empty {
      padding: 0.45rem 0.2rem;
    }

    .discount-row small {
      display: inline-block;
      margin-left: 0.35rem;
      color: var(--text-muted);
      font-size: 0.78rem;
      font-weight: 750;
    }

    .settings-grid {
      display: grid;
      grid-template-columns: minmax(320px, 1.1fr) minmax(260px, 0.75fr);
      gap: 1rem;
      align-items: start;
    }

    .payment-settings-grid {
      display: grid;
      grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
      gap: 1rem;
      align-items: start;
    }

    .payment-settings-summary {
      display: grid;
      gap: 0.45rem;
      margin-top: 0.85rem;
      padding: 0.9rem;
      border: 1px solid var(--border-soft);
      background: color-mix(in srgb, var(--surface-strong) 78%, transparent);
    }

    .payment-settings-summary:empty {
      display: none;
    }

    .payment-method-options {
      display: flex;
      flex-wrap: wrap;
      gap: 0.55rem;
    }

    .payment-method-option {
      display: inline-flex;
      min-height: 46px;
      align-items: center;
      gap: 0.55rem;
      padding: 0 0.85rem;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.04);
      color: var(--text-main);
      font-size: 0.86rem;
      font-weight: 850;
      cursor: pointer;
      transition: var(--transition);
    }

    .payment-method-option:has(input:checked) {
      border-color: rgba(255, 43, 66, 0.52);
      background: rgba(255, 43, 66, 0.12);
      box-shadow: 0 0 0 2px rgba(255, 43, 66, 0.08);
    }

    .payment-method-option input {
      width: 16px;
      height: 16px;
      accent-color: var(--accent-green);
    }

    .settings-form {
      display: grid;
      gap: 1rem;
    }

    .settings-form .form-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.85rem;
    }

    .settings-form .field-group.wide,
    .password-settings-form {
      grid-column: 1 / -1;
    }

    .settings-form textarea {
      min-height: 132px;
      resize: vertical;
    }

    .settings-form input[type="file"] {
      min-height: 48px;
      padding: 0.72rem 0.8rem;
      color: var(--text-main);
      cursor: pointer;
    }

    .field-help {
      margin: 0.42rem 0 0;
      color: var(--text-muted);
      font-size: 0.8rem;
      font-weight: 700;
      line-height: 1.45;
    }

    .profile-crop-editor {
      display: grid;
      gap: 0.78rem;
      margin-top: 0.78rem;
      padding: 0.78rem;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 8px;
      background: rgba(0, 0, 0, 0.18);
    }

    .profile-crop-editor[hidden] {
      display: none;
    }

    .profile-crop-stage {
      position: relative;
      width: min(320px, 100%);
      aspect-ratio: 1;
      overflow: hidden;
      border: 1px solid rgba(83, 255, 168, 0.32);
      border-radius: 8px;
      background:
        linear-gradient(45deg, rgba(255, 255, 255, 0.06) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255, 255, 255, 0.06) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.06) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.06) 75%),
        rgba(4, 8, 12, 0.72);
      background-position: 0 0, 0 10px, 10px -10px, -10px 0;
      background-size: 20px 20px;
      box-shadow: inset 0 0 0 999px rgba(0, 0, 0, 0.02);
      cursor: grab;
      touch-action: none;
      user-select: none;
    }

    .profile-crop-stage:active {
      cursor: grabbing;
    }

    .profile-crop-stage:focus-visible {
      outline: 2px solid rgba(83, 255, 168, 0.72);
      outline-offset: 3px;
    }

    .profile-crop-stage::after {
      position: absolute;
      inset: 0;
      border: 1px solid rgba(255, 255, 255, 0.36);
      box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.36);
      content: "";
      pointer-events: none;
    }

    .profile-crop-stage img {
      position: absolute;
      top: 0;
      left: 0;
      max-width: none;
      transform-origin: top left;
      user-select: none;
      -webkit-user-drag: none;
    }

    .profile-crop-controls {
      display: grid;
      grid-template-columns: auto minmax(120px, 1fr) auto auto;
      align-items: center;
      gap: 0.62rem;
      max-width: 520px;
    }

    .profile-crop-controls label {
      margin: 0;
      color: var(--text-muted);
      font-size: 0.78rem;
      font-weight: 900;
      letter-spacing: 0;
      text-transform: uppercase;
    }

    .profile-crop-controls input[type="range"] {
      width: 100%;
      accent-color: var(--accent);
      cursor: pointer;
    }

    .auth-submit.compact,
    .profile-crop-controls .ghost-button {
      min-height: 38px;
      padding: 0.62rem 0.82rem;
      white-space: nowrap;
    }

    .profile-crop-preview {
      display: flex;
      align-items: center;
      gap: 0.8rem;
      margin-top: 0.72rem;
      padding: 0.72rem;
      border: 1px solid rgba(83, 255, 168, 0.18);
      border-radius: 8px;
      background: rgba(83, 255, 168, 0.07);
    }

    .profile-crop-preview[hidden] {
      display: none;
    }

    .profile-crop-frame {
      display: block;
      width: 64px;
      height: 64px;
      flex: 0 0 64px;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.16);
      border-radius: 6px;
      background: rgba(0, 0, 0, 0.24);
    }

    .profile-crop-frame img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .profile-crop-preview strong,
    .profile-crop-preview small {
      display: block;
    }

    .profile-crop-preview strong {
      color: var(--text-main);
      font-size: 0.86rem;
      font-weight: 900;
    }

    .profile-crop-preview small {
      margin-top: 0.18rem;
      color: var(--text-muted);
      font-size: 0.78rem;
      font-weight: 750;
      line-height: 1.4;
    }

    .profile-background-preview {
      position: relative;
      display: grid;
      min-height: clamp(150px, 20vw, 230px);
      margin-top: 0.78rem;
      overflow: hidden;
      place-items: center;
      border: 1px solid rgba(var(--orz-accent-rgb), 0.34);
      background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 28%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 18px),
        rgba(5, 5, 7, 0.88);
      background-position: center;
      background-size: cover;
      -webkit-clip-path: polygon(22px 0, 100% 0, calc(100% - 22px) 100%, 0 100%);
      clip-path: polygon(22px 0, 100% 0, calc(100% - 22px) 100%, 0 100%);
      box-shadow: inset 0 0 32px rgba(0, 0, 0, 0.58);
    }

    .profile-background-preview span {
      padding: 0.42rem 0.7rem;
      color: var(--text-muted);
      font-size: 0.78rem;
      font-weight: 850;
      letter-spacing: 0;
      text-transform: uppercase;
      background: rgba(3, 3, 4, 0.72);
      border: 1px solid rgba(255, 255, 255, 0.12);
    }

    .profile-background-preview.has-background span {
      color: var(--text-main);
      background: rgba(3, 3, 4, 0.46);
    }

    .profile-background-meta:empty {
      display: none;
    }

    .profile-background-remove {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      margin-top: 0.65rem;
      color: var(--text-muted);
      font-size: 0.82rem;
      font-weight: 760;
      cursor: pointer;
    }

    .profile-background-remove input {
      width: 16px;
      height: 16px;
      accent-color: var(--accent-green);
    }

    .profile-preview-card {
      position: sticky;
      top: 96px;
      display: grid;
      gap: 0.7rem;
    }

    .profile-preview-avatar {
      width: 82px;
      height: 82px;
    }

    .profile-preview-email {
      overflow: hidden;
      color: var(--text-muted);
      font-size: 0.86rem;
      font-weight: 750;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .danger-button {
      border-color: rgba(255, 154, 146, 0.24);
      color: #ffb0aa;
    }

    .danger-button:hover {
      border-color: rgba(255, 154, 146, 0.42);
      background: rgba(244, 67, 54, 0.12);
    }

    .promotion-info {
      display: grid;
      min-width: 0;
      gap: 0.18rem;
    }

    .promotion-days-select {
      min-width: 112px;
      min-height: 40px;
      padding: 0.55rem 0.7rem;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 6px;
      background: rgba(255, 255, 255, 0.06);
      color: var(--text-main);
      font-weight: 800;
    }

    .promotion-days-select:disabled {
      opacity: 0.48;
    }

    .library-thumb {
      display: grid;
      width: 56px;
      height: 56px;
      overflow: hidden;
      place-items: center;
      border-radius: 12px;
      background:
        linear-gradient(135deg, rgba(255, 43, 66, 0.12), rgba(255, 64, 87, 0.08)),
        url("../image/bg_start.jpg") center / cover;
    }

    .library-thumb span {
      width: 22px;
      height: 22px;
      border-radius: 5px;
      background: var(--accent-green);
      box-shadow: 9px 6px 0 rgba(255, 64, 87, 0.82);
    }

    .library-name,
    .permission-name {
      display: block;
      overflow: hidden;
      color: var(--text-main);
      font-weight: 850;
      line-height: 1.25;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .library-meta,
    .permission-meta {
      display: block;
      overflow: hidden;
      color: var(--text-muted);
      font-size: 0.82rem;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .library-actions {
      display: flex;
      min-width: 210px;
      justify-content: flex-end;
      gap: 0.55rem;
      flex-wrap: wrap;
    }

    .library-actions .ghost-button {
      min-height: 40px;
      padding-inline: 0.85rem;
      white-space: nowrap;
    }

    .library-item-blocked {
      opacity: 0.82;
    }

    .refund-status {
      color: var(--accent-gold);
      font-weight: 900;
    }

    .refund-status.is-success,
    .refund-admin-row.is-success .wallet-row-title {
      color: #2ddf8a;
    }

    .refund-status.is-warning,
    .refund-admin-row.is-warning .wallet-row-title {
      color: #f6c453;
    }

    .refund-status.is-danger,
    .refund-admin-row.is-danger .wallet-row-title {
      color: #ff8a8a;
    }

    .permission-status {
      color: var(--accent-green);
      font-size: 0.78rem;
      font-weight: 900;
      text-transform: uppercase;
    }

    .permission-status.is-member {
      color: var(--text-muted);
    }

    .custom-product-preview {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: center;
      opacity: 0.92;
      padding: 0.85rem;
      box-sizing: border-box;
      background: radial-gradient(circle at center, rgba(255, 255, 255, 0.035), rgba(0, 0, 0, 0.18));
    }

    .custom-product-preview + .asset-mark {
      z-index: 2;
    }

    .product-font-serif .product-title {
      font-family: Georgia, "Times New Roman", serif;
      font-weight: 800;
    }

    .product-font-serif .price {
      font-family: Georgia, "Times New Roman", serif;
    }

    .product-font-mono .product-title,
    .product-font-mono .product-creator,
    .product-font-mono .price {
      font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
    }

    .product-font-mono .product-title {
      font-size: 1rem;
      font-weight: 800;
    }

    .product-font-display .product-title {
      font-size: 1.18rem;
      font-weight: 950;
      line-height: 1.15;
      text-transform: uppercase;
    }

    .product-block[data-product-layout="text-first"] {
      flex-direction: column-reverse;
    }

    .product-block[data-product-layout="text-first"] .product-data {
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .product-block[data-product-layout="split"] {
      min-height: 220px;
      flex-direction: row;
    }

    .product-block[data-product-layout="split"] .product-image {
      width: 44%;
      height: auto;
      min-height: 100%;
      flex: 0 0 44%;
    }

    .product-block[data-product-layout="split"] .product-data {
      min-width: 0;
      padding: 1rem;
    }

    .product-block[data-product-layout="split"] .product-bottom {
      align-items: flex-start;
      flex-direction: column;
      gap: 0.75rem;
      padding-top: 1rem;
    }

    .product-block[data-product-layout="split"] .product-actions {
      justify-content: flex-start;
    }

    .product-block[data-product-layout="overlay"] .product-image {
      height: 250px;
    }

    .product-block[data-product-layout="overlay"] .product-data {
      position: relative;
      z-index: 4;
      margin: -76px 0.85rem 0.9rem;
      padding: 0.9rem;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: var(--border-radius);
      background: rgba(18, 16, 16, 0.78);
      backdrop-filter: blur(16px);
    }

    .product-block[data-product-layout="overlay"] .product-bottom {
      padding-top: 1rem;
    }

    .discover-grid {
      display: grid;
      grid-template-columns: 3fr 2fr;
      gap: 1.5rem;
    }

    .discover-grid.single-item {
      grid-template-columns: 1fr;
    }

    .discover-big {
      display: flex;
      overflow: hidden;
      flex-direction: column;
      border: 1px solid rgba(255, 255, 255, 0.05);
      border-radius: var(--border-radius-lg);
      background: rgba(255, 255, 255, 0.02);
      transition: var(--transition);
    }

    .discover-big:hover {
      transform: translateY(-4px);
      border-color: rgba(255, 64, 87, 0.4);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .feature-image {
      min-height: 350px;
      background-image:
        linear-gradient(135deg, rgba(255, 64, 87, 0.16), rgba(244, 67, 54, 0.08)),
        url("../public/image/products.png");
    }

    .discover-info {
      padding: 2rem;
    }

    .discover-title {
      display: block;
      margin-bottom: 0.75rem;
      color: var(--text-main);
      font-size: 1.75rem;
      font-weight: 800;
      line-height: 1.2;
    }

    .discover-desc {
      display: block;
      margin-bottom: 1.5rem;
      color: var(--text-muted);
      line-height: 1.6;
    }

    .discover-small-col {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }

    .product-row {
      display: flex;
      min-height: 154px;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.05);
      border-radius: var(--border-radius-lg);
      background: rgba(255, 255, 255, 0.02);
      transition: var(--transition);
    }

    .product-row:hover {
      transform: translateX(4px);
      border-color: var(--accent-green);
      background: rgba(255, 255, 255, 0.04);
    }

    .row-image {
      width: 150px;
      flex: 0 0 auto;
    }

    .row-data {
      display: flex;
      flex: 1;
      flex-direction: column;
      padding: 1rem;
    }

    .row-title {
      margin-bottom: 0.25rem;
      color: var(--text-main);
      font-weight: 700;
      line-height: 1.35;
    }

    .row-data .price {
      margin-top: auto;
    }

    .row-purchase {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      margin-top: auto;
    }

    .row-purchase .price {
      margin-top: 0;
    }

    .row-actions {
      display: inline-flex;
      align-items: center;
      gap: 0.65rem;
    }

    .auth-backdrop,
    .product-detail-backdrop,
    .product-preview-lightbox,
    .cart-overlay {
      position: fixed;
      inset: 0;
      z-index: 1200;
      background: rgba(5, 5, 5, 0.72);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.22s ease;
      backdrop-filter: blur(10px);
    }

    .auth-backdrop.open,
    .product-detail-backdrop.open,
    .product-preview-lightbox.open,
    .cart-overlay.open {
      opacity: 1;
      pointer-events: auto;
    }

    .auth-backdrop[hidden],
    .product-detail-backdrop[hidden],
    .product-preview-lightbox[hidden],
    .cart-overlay[hidden],
    .cart-drawer[hidden],
    .toast[hidden] {
      display: none;
    }

    .auth-shell {
      position: fixed;
      top: 50%;
      left: 50%;
      z-index: 1201;
      width: min(92vw, 470px);
      max-height: min(88vh, 760px);
      overflow: auto;
      padding: 1.35rem;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: var(--border-radius-lg);
      background: rgba(18, 16, 16, 0.96);
      box-shadow: 0 30px 90px rgba(0, 0, 0, 0.62);
      transform: translate(-50%, -48%) scale(0.98);
      transition: transform 0.22s ease;
    }

    .auth-backdrop.open .auth-shell {
      transform: translate(-50%, -50%) scale(1);
    }

    .auth-topline,
    .cart-topline {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 1rem;
      margin-bottom: 1rem;
    }

    .auth-kicker,
    .cart-kicker {
      display: block;
      color: var(--accent-gold);
      font-size: 0.75rem;
      font-weight: 900;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .auth-title,
    .cart-title {
      margin-top: 0.15rem;
      color: var(--text-main);
      font-size: 1.75rem;
      font-weight: 900;
      line-height: 1.1;
    }

    .auth-close,
    .product-detail-close,
    .cart-close {
      display: inline-flex;
      width: 40px;
      height: 40px;
      flex: 0 0 auto;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.04);
      color: var(--text-main);
      cursor: pointer;
      transition: var(--transition);
    }

    .auth-close:hover,
    .product-detail-close:hover,
    .cart-close:hover {
      transform: translateY(-2px);
      border-color: rgba(255, 255, 255, 0.18);
      background: rgba(255, 255, 255, 0.1);
    }

    .auth-close svg,
    .product-detail-close svg,
    .cart-close svg {
      width: 18px;
      height: 18px;
      stroke: currentColor;
      stroke-width: 2;
    }

    .auth-reason {
      margin-bottom: 1rem;
      padding: 0.85rem 1rem;
      border: 1px solid rgba(255, 64, 87, 0.14);
      border-radius: var(--border-radius);
      background: rgba(255, 64, 87, 0.06);
      color: var(--text-muted);
      font-size: 0.9rem;
    }

    .auth-verification-panel {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      margin: -0.35rem 0 1rem;
      padding: 0.85rem 1rem;
      border: 1px solid rgba(255, 64, 87, 0.2);
      border-radius: var(--border-radius);
      background: rgba(255, 64, 87, 0.08);
      color: var(--text-muted);
      font-size: 0.85rem;
    }

    .auth-verification-panel[hidden] {
      display: none;
    }

    .auth-verification-panel p {
      margin: 0;
      line-height: 1.45;
    }

    .auth-verification-panel.error {
      border-color: rgba(255, 154, 146, 0.28);
      background: rgba(255, 154, 146, 0.08);
      color: #ffd5d1;
    }

    .auth-verification-panel.success {
      border-color: rgba(255, 43, 66, 0.28);
      background: rgba(255, 43, 66, 0.08);
      color: var(--accent-green);
    }

    .auth-verification-panel .ghost-button {
      flex: 0 0 auto;
      min-height: 38px;
      padding: 0 0.85rem;
      font-size: 0.78rem;
    }

    .auth-tabs {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.5rem;
      margin-bottom: 1rem;
      padding: 0.35rem;
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.035);
    }

    .auth-tab {
      min-height: 40px;
      border-radius: 999px;
      background: transparent;
      color: var(--text-muted);
      cursor: pointer;
      font-size: 0.85rem;
      font-weight: 800;
      transition: var(--transition);
    }

    .auth-tab.active {
      background: var(--text-main);
      color: var(--bg-dark);
    }

    .auth-form {
      display: none;
      flex-direction: column;
      gap: 0.9rem;
    }

    .auth-form.active {
      display: flex;
    }

    .field-group {
      display: flex;
      flex-direction: column;
      gap: 0.35rem;
    }

    .field-group label,
    .field-group .field-label {
      color: var(--text-muted);
      font-size: 0.82rem;
      font-weight: 800;
    }

    .field-group input,
    .field-group select,
    .field-group textarea {
      min-height: 48px;
      width: 100%;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: var(--border-radius);
      background: rgba(255, 255, 255, 0.04);
      color: var(--text-main);
      font: inherit;
      padding: 0 1rem;
      outline: none;
      transition: var(--transition);
    }

    .field-group input:focus,
    .field-group select:focus,
    .field-group textarea:focus {
      border-color: rgba(255, 43, 66, 0.45);
      box-shadow: 0 0 0 3px rgba(255, 43, 66, 0.08);
    }

    .rich-editor-toolbar .rich-editor-select {
      min-height: 36px;
      width: auto;
      min-width: 116px;
      padding: 0 0.65rem;
      border-radius: 8px;
      font-size: 0.78rem;
      font-weight: 850;
    }

    .rich-editor-toolbar .rich-editor-size {
      min-width: 62px;
    }

    .rich-editor-toolbar .rich-editor-button,
    .rich-editor-toolbar .rich-editor-swatch {
      width: 36px;
      min-height: 36px;
      padding: 0;
      border-radius: 8px;
    }

    .rich-editor-toolbar .rich-editor-swatch input {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      min-height: 0;
      padding: 0;
      border: 0;
      opacity: 0;
    }

    .auth-submit,
    .checkout-button {
      display: inline-flex;
      min-height: 48px;
      align-items: center;
      justify-content: center;
      border-radius: var(--border-radius);
      background: var(--text-main);
      color: var(--bg-dark);
      cursor: pointer;
      font-weight: 900;
      transition: var(--transition);
    }

    .auth-submit:hover,
    .checkout-button:hover {
      transform: translateY(-2px);
      background: var(--accent-green);
      box-shadow: 0 10px 30px rgba(255, 43, 66, 0.18);
    }

    .auth-submit:disabled,
    .checkout-button:disabled,
    .ghost-button:disabled {
      cursor: not-allowed;
      opacity: 0.55;
      transform: none;
      box-shadow: none;
    }

    .auth-message {
      min-height: 1.35rem;
      color: var(--text-muted);
      font-size: 0.85rem;
    }

    .auth-message.error {
      color: #ff9a92;
    }

    .auth-message.success {
      color: var(--accent-green);
    }

    .auth-account {
      display: none;
      padding: 1rem;
      border: 1px solid rgba(255, 43, 66, 0.18);
      border-radius: var(--border-radius);
      background: rgba(255, 43, 66, 0.07);
    }

    .auth-account.active {
      display: block;
    }

    .auth-account strong {
      display: block;
      color: var(--text-main);
      font-size: 1.05rem;
    }

    .auth-account span {
      color: var(--text-muted);
      font-size: 0.88rem;
    }

    .auth-account-actions {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 0.65rem;
      margin-top: 1rem;
    }

    .auth-account-actions .ghost-button {
      width: 100%;
      min-height: 44px;
      justify-content: center;
      text-align: center;
    }

    .auth-account-actions #logout-button {
      margin-top: 0.25rem;
    }

    .ghost-button {
      display: inline-flex;
      min-height: 40px;
      align-items: center;
      justify-content: center;
      padding: 0.6rem 1rem;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: var(--border-radius);
      background: rgba(255, 255, 255, 0.04);
      color: var(--text-main);
      cursor: pointer;
      font-size: 0.85rem;
      font-weight: 800;
      transition: var(--transition);
    }

    .ghost-button:hover {
      border-color: rgba(255, 255, 255, 0.24);
      background: rgba(255, 255, 255, 0.09);
    }

    .product-detail-shell {
      position: fixed;
      top: 50%;
      left: 50%;
      z-index: 1201;
      display: grid;
      grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
      width: min(94vw, 980px);
      height: min(88vh, 820px);
      max-height: min(88vh, 820px);
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: var(--border-radius-lg);
      background: rgba(18, 16, 16, 0.97);
      box-shadow: 0 30px 90px rgba(0, 0, 0, 0.62);
      transform: translate(-50%, -48%) scale(0.98);
      transition: transform 0.22s ease;
    }

    .product-detail-backdrop.open .product-detail-shell {
      transform: translate(-50%, -50%) scale(1);
    }

    .product-detail-media {
      position: relative;
      min-height: 520px;
      overflow: hidden;
      background:
        linear-gradient(135deg, rgba(255, 43, 66, 0.16), rgba(255, 64, 87, 0.1)),
        url("../image/bg_start.jpg") center / cover;
    }

    .product-detail-media::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
      background-size: 28px 28px;
      mix-blend-mode: screen;
      opacity: 0.6;
    }

    .product-detail-main-image {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: center;
      opacity: 0.96;
      padding: 1rem;
      box-sizing: border-box;
      background: radial-gradient(circle at center, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.24));
    }

    .product-detail-media .asset-mark {
      z-index: 2;
    }

    .product-detail-media.has-gallery .asset-mark {
      bottom: 5.6rem;
    }

    .product-detail-thumbs {
      position: absolute;
      right: 0.85rem;
      bottom: 0.85rem;
      left: 0.85rem;
      z-index: 4;
      display: flex;
      gap: 0.5rem;
      overflow-x: auto;
      padding: 0.35rem;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: var(--border-radius);
      background: rgba(18, 16, 16, 0.76);
      backdrop-filter: blur(16px);
    }

    .product-detail-thumb {
      position: relative;
      display: block;
      width: 66px;
      height: 48px;
      flex: 0 0 66px;
      overflow: hidden;
      padding: 0;
      border: 1px solid rgba(255, 255, 255, 0.16);
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.06);
      cursor: pointer;
      opacity: 0.72;
      transition: var(--transition);
    }

    .product-detail-thumb:hover,
    .product-detail-thumb.active {
      border-color: rgba(255, 43, 66, 0.64);
      opacity: 1;
      box-shadow: 0 0 0 2px rgba(255, 43, 66, 0.12);
    }

    .product-detail-thumb img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: contain;
      background: rgba(0, 0, 0, 0.22);
    }

    .product-detail-body {
      display: flex;
      flex-direction: column;
      height: 100%;
      min-height: 0;
      max-height: 100%;
      box-sizing: border-box;
      overflow: auto;
      padding: 1.35rem;
      overscroll-behavior: contain;
      scrollbar-gutter: stable;
      scrollbar-color: rgba(255, 43, 66, 0.7) rgba(255, 255, 255, 0.08);
      scrollbar-width: thin;
    }

    .product-detail-topline {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 1rem;
      margin-bottom: 1rem;
    }

    .product-detail-kicker {
      display: block;
      color: var(--accent-gold);
      font-size: 0.75rem;
      font-weight: 900;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .product-detail-title {
      margin-top: 0.15rem;
      color: var(--text-main);
      font-size: clamp(1.65rem, 4vw, 2.35rem);
      font-weight: 950;
      line-height: 1.05;
    }

    .product-detail-creator {
      display: block;
      margin-top: 0.45rem;
      color: var(--text-muted);
      font-size: 0.95rem;
    }

    .product-detail-price {
      display: inline-flex;
      align-items: baseline;
      gap: 0.55rem;
      flex-wrap: wrap;
      margin: 0.25rem 0 1.1rem;
      color: var(--accent-green);
      font-size: 1.45rem;
      font-weight: 950;
    }

    .product-detail-description {
      margin-bottom: 1.1rem;
      max-height: none;
      overflow: visible;
      padding: 0;
      color: var(--text-muted);
      line-height: 1.65;
    }

    .product-detail-description :where(p, div, h2, h3, blockquote, ul, ol) {
      margin: 0 0 0.8rem;
    }

    .product-detail-description :where(p:last-child, div:last-child, h2:last-child, h3:last-child, blockquote:last-child, ul:last-child, ol:last-child) {
      margin-bottom: 0;
    }

    .product-detail-description :where(h2, h3) {
      color: var(--text-main);
      line-height: 1.18;
    }

    .product-detail-description h2 {
      font-size: 1.45rem;
    }

    .product-detail-description h3 {
      font-size: 1.15rem;
    }

    .product-detail-description blockquote {
      padding: 0.65rem 0.85rem;
      border-left: 3px solid var(--accent-green);
      background: rgba(255, 43, 66, 0.06);
      color: var(--text-muted);
    }

    .product-detail-description :where(ul, ol) {
      padding-left: 1.35rem;
    }

    .product-detail-meta {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.75rem;
      margin-bottom: 1.1rem;
    }

    .detail-field {
      min-width: 0;
      padding: 0.8rem;
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: var(--border-radius);
      background: rgba(255, 255, 255, 0.035);
    }

    .detail-field span,
    .detail-field strong {
      display: block;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .detail-field span {
      color: var(--text-muted);
      font-size: 0.74rem;
      font-weight: 850;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    .detail-field strong {
      color: var(--text-main);
      font-size: 0.92rem;
      font-weight: 900;
    }

    .product-detail-list {
      display: grid;
      gap: 0.5rem;
      margin: 0 0 1.2rem;
      list-style: none;
    }

    .product-detail-list li {
      display: flex;
      align-items: center;
      gap: 0.55rem;
      color: var(--text-muted);
      font-size: 0.88rem;
    }

    .product-detail-list li::before {
      content: "";
      display: inline-flex;
      width: 7px;
      height: 7px;
      flex: 0 0 auto;
      border-radius: 50%;
      background: var(--accent-green);
      box-shadow: 0 0 12px rgba(255, 43, 66, 0.45);
    }

    .product-detail-actions {
      position: sticky;
      bottom: 0;
      z-index: 5;
      display: flex;
      gap: 0.75rem;
      flex-wrap: wrap;
      margin: auto -1.35rem -1.35rem;
      padding: 0.95rem 1.35rem 1.1rem;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      background:
        linear-gradient(180deg, rgba(18, 16, 16, 0), rgba(18, 16, 16, 0.95) 18%),
        rgba(18, 16, 16, 0.98);
      backdrop-filter: blur(14px);
    }

    .product-detail-actions .auth-submit,
    .product-detail-actions .ghost-button {
      padding: 0.75rem 1.25rem;
    }

    .product-page-section {
      padding-top: calc(var(--nav-height) + 2.5rem);
    }

    .product-page-layout {
      display: grid;
      grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1fr);
      gap: clamp(1.2rem, 2.2vw, 2rem);
      align-items: start;
      margin-top: clamp(1rem, 1.6vw, 1.35rem);
    }

    .product-page-media-panel,
    .product-page-info-panel,
    .product-review-panel {
      min-width: 0;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: var(--border-radius-lg);
      background: rgba(18, 16, 16, 0.72);
      box-shadow: 0 22px 54px rgba(0, 0, 0, 0.34);
    }

    .product-page-media-panel {
      position: sticky;
      top: calc(var(--nav-height) + 1rem);
      overflow: hidden;
    }

    .product-page-media-panel.has-model-viewer {
      position: static;
    }

    .product-page-media {
      position: relative;
      min-height: clamp(380px, 42vw, 560px);
      overflow: hidden;
      background:
        linear-gradient(135deg, rgba(255, 43, 66, 0.16), rgba(255, 64, 87, 0.08)),
        url("../image/bg_start.jpg") center / cover;
    }

    .product-page-media::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
      background-size: 30px 30px;
      mix-blend-mode: screen;
      opacity: 0.62;
    }

    .product-page-main-image {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: center;
      padding: 1.35rem;
      box-sizing: border-box;
      background: radial-gradient(circle at center, rgba(255, 255, 255, 0.045), rgba(0, 0, 0, 0.2));
    }

    .product-page-thumbs {
      display: flex;
      gap: 0.65rem;
      overflow-x: auto;
      padding: 0.85rem;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      scrollbar-color: rgba(255, 43, 66, 0.7) rgba(255, 255, 255, 0.08);
      scrollbar-width: thin;
    }

    .product-page-thumbs:empty {
      display: none;
    }

    .product-page-thumb {
      position: relative;
      display: block;
      width: 84px;
      height: 62px;
      flex: 0 0 84px;
      overflow: hidden;
      padding: 0;
      border: 1px solid rgba(255, 255, 255, 0.16);
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.06);
      cursor: pointer;
      opacity: 0.74;
      transition: var(--transition);
    }

    .product-page-thumb:hover,
    .product-page-thumb.active {
      border-color: rgba(255, 43, 66, 0.64);
      opacity: 1;
      box-shadow: 0 0 0 2px rgba(255, 43, 66, 0.12);
    }

    .product-page-thumb img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: contain;
      background: rgba(0, 0, 0, 0.22);
    }

    .product-preview-actions {
      display: flex;
      justify-content: stretch;
      padding: 0.85rem;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .product-preview-expand-button {
      width: 100%;
      justify-content: center;
    }

    .product-model-viewer {
      display: grid;
      gap: 0.85rem;
      padding: 1rem;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .product-model-viewer[hidden] {
      display: none;
    }

    .product-model-topline {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 0.9rem;
    }

    .product-model-topline h2 {
      margin-top: 0.15rem;
      color: var(--text-main);
      font-size: 1.05rem;
      font-weight: 950;
      line-height: 1.18;
    }

    .product-model-topline span:last-child {
      color: var(--text-muted);
      font-size: 0.78rem;
      font-weight: 850;
      text-align: right;
      white-space: nowrap;
    }

    .product-model-canvas {
      display: block;
      width: 100%;
      min-height: 280px;
      aspect-ratio: 16 / 10;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 8px;
      background:
        radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.08), transparent 44%),
        linear-gradient(135deg, rgba(255, 43, 66, 0.12), rgba(3, 3, 4, 0.76));
      cursor: grab;
      touch-action: none;
    }

    .product-model-canvas:active {
      cursor: grabbing;
    }

    .product-model-controls {
      display: flex;
      gap: 0.65rem;
      flex-wrap: wrap;
    }

    .product-model-controls .ghost-button {
      padding: 0.62rem 0.9rem;
      font-size: 0.78rem;
    }

    .product-model-controls .ghost-button.active {
      border-color: rgba(255, 43, 66, 0.62);
      color: var(--accent-green);
      box-shadow: 0 0 0 2px rgba(255, 43, 66, 0.12);
    }

    .product-model-controls .ghost-button:disabled {
      cursor: not-allowed;
      opacity: 0.48;
      box-shadow: none;
    }

    .product-model-list {
      display: grid;
      grid-auto-flow: column;
      grid-auto-columns: minmax(112px, 1fr);
      gap: 0.55rem;
      overflow-x: auto;
      padding-bottom: 0.1rem;
      scrollbar-color: rgba(255, 43, 66, 0.7) rgba(255, 255, 255, 0.08);
      scrollbar-width: thin;
    }

    .product-model-option {
      display: flex;
      min-height: 58px;
      flex-direction: column;
      justify-content: center;
      gap: 0.15rem;
      padding: 0.65rem 0.7rem;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.055);
      color: var(--text-main);
      cursor: pointer;
      text-align: left;
      transition: var(--transition);
    }

    .product-model-option span {
      overflow: hidden;
      font-size: 0.82rem;
      font-weight: 900;
      line-height: 1.15;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .product-model-option small {
      color: var(--text-muted);
      font-size: 0.72rem;
      font-weight: 800;
    }

    .product-model-option:hover,
    .product-model-option.active {
      border-color: rgba(255, 43, 66, 0.64);
      background: rgba(255, 43, 66, 0.12);
      color: #fff;
      box-shadow: 0 0 0 2px rgba(255, 43, 66, 0.1);
    }

    .product-preview-lightbox-shell {
      position: fixed;
      top: 50%;
      left: 50%;
      z-index: 1201;
      display: grid;
      grid-template-rows: auto auto minmax(0, 1fr) auto auto;
      width: min(96vw, 1280px);
      height: min(92vh, 860px);
      min-height: 0;
      padding: clamp(0.85rem, 1.6vw, 1.25rem);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 8px;
      background: rgba(14, 13, 14, 0.98);
      box-shadow: 0 34px 110px rgba(0, 0, 0, 0.68);
      transform: translate(-50%, -47%) scale(0.985);
      transition: transform 0.22s ease;
    }

    .product-preview-lightbox.open .product-preview-lightbox-shell {
      transform: translate(-50%, -50%) scale(1);
    }

    .product-preview-lightbox-topline {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 1rem;
      margin-bottom: 0.75rem;
    }

    .product-preview-lightbox-topline h2 {
      margin-top: 0.16rem;
      color: var(--text-main);
      font-size: clamp(1.25rem, 2vw, 1.7rem);
      font-weight: 950;
      line-height: 1.1;
    }

    .product-preview-lightbox-tabs {
      display: flex;
      gap: 0.5rem;
      margin-bottom: 0.75rem;
      overflow-x: auto;
      scrollbar-width: thin;
    }

    .product-preview-lightbox-tabs button {
      min-height: 38px;
      padding: 0.58rem 0.85rem;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.055);
      color: var(--text-muted);
      cursor: pointer;
      font-weight: 900;
      transition: var(--transition);
      white-space: nowrap;
    }

    .product-preview-lightbox-tabs button.active {
      border-color: rgba(255, 43, 66, 0.62);
      background: rgba(255, 43, 66, 0.16);
      color: #fff;
    }

    .product-preview-lightbox-tabs button:disabled {
      cursor: not-allowed;
      opacity: 0.42;
    }

    .product-preview-lightbox-stage {
      position: relative;
      min-height: 0;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 8px;
      background:
        radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.08), transparent 44%),
        linear-gradient(135deg, rgba(255, 43, 66, 0.12), rgba(5, 5, 6, 0.84));
    }

    .product-preview-lightbox-pane {
      width: 100%;
      height: 100%;
      min-height: 0;
    }

    .product-preview-lightbox-pane[hidden] {
      display: none;
    }

    .product-preview-lightbox-pane[data-preview-pane="image"] {
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: auto;
      padding: clamp(0.8rem, 1.5vw, 1.2rem);
      scrollbar-color: rgba(255, 43, 66, 0.7) rgba(255, 255, 255, 0.08);
      scrollbar-width: thin;
    }

    .product-preview-lightbox-image {
      display: block;
      width: 100%;
      max-width: none;
      max-height: 100%;
      object-fit: contain;
      object-position: center;
      image-rendering: auto;
      transition: width 0.14s ease, max-height 0.14s ease;
    }

    .product-preview-lightbox-model-pane {
      display: grid;
      grid-template-rows: minmax(0, 1fr) auto;
      gap: 0.75rem;
      padding: clamp(0.65rem, 1.2vw, 1rem);
    }

    .product-preview-lightbox-pane[hidden] {
      display: none;
    }

    .product-preview-model-canvas {
      display: block;
      width: 100%;
      height: 100%;
      min-height: 420px;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 8px;
      background:
        radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.08), transparent 44%),
        linear-gradient(135deg, rgba(255, 43, 66, 0.12), rgba(3, 3, 4, 0.76));
      cursor: grab;
      touch-action: none;
    }

    .product-preview-model-canvas:active {
      cursor: grabbing;
    }

    .product-preview-model-list {
      max-height: 86px;
      padding-bottom: 0.1rem;
    }

    .product-preview-lightbox-toolbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.85rem;
      flex-wrap: wrap;
      padding-top: 0.8rem;
    }

    .product-preview-image-nav,
    .product-preview-zoom-controls {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      flex-wrap: wrap;
    }

    .product-preview-lightbox-toolbar .ghost-button {
      padding: 0.58rem 0.82rem;
      font-size: 0.78rem;
    }

    .product-preview-zoom-controls input[type="range"] {
      width: min(220px, 38vw);
      accent-color: var(--accent-red);
    }

    .product-preview-zoom-controls span {
      min-width: 48px;
      color: var(--text-muted);
      font-size: 0.78rem;
      font-weight: 900;
      text-align: right;
    }

    .product-preview-lightbox-thumbs {
      display: flex;
      gap: 0.55rem;
      overflow-x: auto;
      padding-top: 0.75rem;
      scrollbar-color: rgba(255, 43, 66, 0.7) rgba(255, 255, 255, 0.08);
      scrollbar-width: thin;
    }

    .product-preview-lightbox-thumbs[hidden],
    .product-preview-lightbox-thumbs:empty {
      display: none;
    }

    .product-preview-lightbox-thumb {
      width: 92px;
      height: 64px;
      flex: 0 0 92px;
      overflow: hidden;
      padding: 0;
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.055);
      cursor: pointer;
      opacity: 0.74;
      transition: var(--transition);
    }

    .product-preview-lightbox-thumb:hover,
    .product-preview-lightbox-thumb.active {
      border-color: rgba(255, 43, 66, 0.66);
      opacity: 1;
      box-shadow: 0 0 0 2px rgba(255, 43, 66, 0.12);
    }

    .product-preview-lightbox-thumb img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: contain;
      background: rgba(0, 0, 0, 0.28);
    }

    .product-page-info-panel,
    .product-review-panel {
      padding: clamp(1.1rem, 2.2vw, 1.75rem);
    }

    .product-page-topline,
    .product-review-heading {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 1rem;
      margin-bottom: 1rem;
    }

    .product-page-kicker {
      display: block;
      color: var(--accent-gold);
      font-size: 0.75rem;
      font-weight: 900;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .product-page-title {
      margin-top: 0.15rem;
      color: var(--text-main);
      font-size: clamp(2rem, 4vw, 3.4rem);
      font-weight: 950;
      line-height: 1.02;
    }

    .product-page-creator {
      display: inline-flex;
      margin-top: 0.55rem;
      color: var(--text-muted);
      font-weight: 850;
      transition: var(--transition);
    }

    .product-page-creator:hover {
      color: var(--accent-green);
    }

    .product-page-price {
      display: inline-flex;
      align-items: baseline;
      gap: 0.6rem;
      flex-wrap: wrap;
      margin: 0.15rem 0 1.1rem;
      color: var(--accent-green);
      font-size: 1.65rem;
      font-weight: 950;
    }

    .product-page-description {
      color: var(--text-muted);
      line-height: 1.7;
    }

    .product-page-description :where(p, div, h2, h3, blockquote, ul, ol) {
      margin: 0 0 0.85rem;
    }

    .product-page-description :where(h2, h3) {
      color: var(--text-main);
      line-height: 1.18;
    }

    .product-page-description :where(ul, ol) {
      padding-left: 1.35rem;
    }

    .product-page-meta {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.75rem;
      margin: 1.2rem 0;
    }

    .product-page-includes {
      display: grid;
      gap: 0.5rem;
      margin: 0 0 1.2rem;
      list-style: none;
    }

    .product-page-includes li {
      display: flex;
      align-items: center;
      gap: 0.55rem;
      color: var(--text-muted);
      font-size: 0.9rem;
    }

    .product-page-includes li::before {
      content: "";
      display: inline-flex;
      width: 7px;
      height: 7px;
      flex: 0 0 auto;
      border-radius: 50%;
      background: var(--accent-green);
      box-shadow: 0 0 12px rgba(255, 43, 66, 0.45);
    }

    .product-page-actions {
      display: flex;
      gap: 0.75rem;
      flex-wrap: wrap;
    }

    .product-page-actions .auth-submit,
    .product-page-actions .ghost-button {
      padding: 0.75rem 1.25rem;
    }

    .product-review-panel {
      margin-top: 1.5rem;
    }

    .product-review-heading h2 {
      color: var(--text-main);
      font-size: 1.45rem;
      font-weight: 950;
    }

    .product-review-summary {
      color: var(--accent-gold);
      font-size: 0.85rem;
      font-weight: 900;
      text-align: right;
    }

    .product-review-form {
      display: grid;
      grid-template-columns: 120px minmax(0, 1fr);
      gap: 0.75rem;
      margin-bottom: 1rem;
    }

    .product-review-gate {
      display: grid;
      gap: 0.35rem;
      margin-bottom: 1rem;
      padding: 0.95rem 1rem;
      border: 1px solid rgba(255, 43, 66, 0.24);
      border-radius: var(--border-radius);
      background:
        linear-gradient(135deg, rgba(255, 43, 66, 0.08), rgba(0, 0, 0, 0.24)),
        rgba(255, 255, 255, 0.035);
    }

    .product-review-gate[hidden] {
      display: none;
    }

    .product-review-gate strong {
      color: var(--text-main);
      font-size: 0.95rem;
      font-weight: 950;
    }

    .product-review-gate span {
      color: var(--text-muted);
      line-height: 1.55;
    }

    .product-review-form textarea {
      min-height: 120px;
      padding: 0.85rem 1rem;
      resize: vertical;
    }

    .product-review-form .wide {
      grid-column: 1 / -1;
    }

    .product-review-form .auth-submit {
      width: fit-content;
      min-width: 160px;
    }

    .product-review-message {
      min-height: 1.25rem;
      color: var(--text-muted);
      font-size: 0.85rem;
    }

    .product-review-message.error {
      color: #ff9a92;
    }

    .product-review-message.success {
      color: var(--accent-green);
    }

    .product-review-list {
      display: grid;
      gap: 0.75rem;
      margin-top: 1rem;
    }

    .product-review-item {
      padding: 0.95rem;
      border: 1px solid rgba(255, 255, 255, 0.07);
      border-radius: var(--border-radius);
      background: rgba(255, 255, 255, 0.035);
    }

    .product-review-topline {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      margin-bottom: 0.45rem;
    }

    .product-review-topline strong {
      color: var(--text-main);
      font-size: 0.95rem;
      font-weight: 900;
    }

    .product-review-stars {
      color: var(--accent-gold);
      font-size: 0.9rem;
      letter-spacing: 0;
      white-space: nowrap;
    }

    .product-review-item p {
      margin: 0;
      color: var(--text-muted);
      line-height: 1.6;
    }

    .product-review-item time {
      display: block;
      margin-top: 0.55rem;
      color: rgba(255, 255, 255, 0.45);
      font-size: 0.78rem;
      font-weight: 750;
    }

    .cart-drawer {
      position: fixed;
      top: 0;
      right: 0;
      z-index: 1202;
      display: flex;
      width: min(92vw, 430px);
      height: 100vh;
      flex-direction: column;
      border-left: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(18, 16, 16, 0.98);
      box-shadow: -30px 0 80px rgba(0, 0, 0, 0.56);
      transform: translateX(100%);
      transition: transform 0.24s ease;
    }

    .cart-drawer.open {
      transform: translateX(0);
    }

    .cart-header {
      padding: 1.35rem;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .cart-member {
      color: var(--text-muted);
      font-size: 0.88rem;
    }

    .cart-items {
      display: flex;
      min-height: 0;
      flex: 1;
      flex-direction: column;
      gap: 0.8rem;
      overflow: auto;
      padding: 1rem 1.35rem;
    }

    .cart-empty {
      display: grid;
      min-height: 260px;
      place-items: center;
      text-align: center;
      color: var(--text-muted);
    }

    .cart-empty strong {
      display: block;
      margin-bottom: 0.35rem;
      color: var(--text-main);
      font-size: 1.1rem;
    }

    .cart-item {
      display: grid;
      grid-template-columns: 58px 1fr auto;
      gap: 0.8rem;
      align-items: center;
      padding: 0.8rem;
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: var(--border-radius);
      background: rgba(255, 255, 255, 0.035);
    }

    .cart-thumb {
      display: grid;
      width: 58px;
      height: 58px;
      place-items: center;
      border-radius: 12px;
      background:
        linear-gradient(135deg, rgba(255, 43, 66, 0.12), rgba(255, 64, 87, 0.08)),
        url("../image/bg_start.jpg") center / cover;
    }

    .cart-thumb span {
      width: 24px;
      height: 24px;
      border-radius: 5px;
      background: var(--accent-green);
      box-shadow: 10px 7px 0 rgba(255, 64, 87, 0.8);
    }

    .cart-item-name {
      color: var(--text-main);
      font-weight: 800;
      line-height: 1.25;
    }

    .cart-item-meta {
      color: var(--text-muted);
      font-size: 0.82rem;
    }

    .remove-cart-button {
      display: inline-flex;
      width: 34px;
      height: 34px;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      background: rgba(244, 67, 54, 0.08);
      color: #ff9a92;
      cursor: pointer;
      transition: var(--transition);
    }

    .remove-cart-button:hover {
      background: rgba(244, 67, 54, 0.18);
      color: #ffffff;
    }

    .remove-cart-button svg {
      width: 15px;
      height: 15px;
      stroke: currentColor;
      stroke-width: 2;
    }

    .cart-footer {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      padding: 1.35rem;
      border-top: 1px solid rgba(255, 255, 255, 0.06);
      background: rgba(255, 255, 255, 0.025);
    }

    .cart-discount-panel {
      display: grid;
      gap: 0.75rem;
      padding: 0.85rem;
      border: 1px solid rgba(255, 255, 255, 0.07);
      border-radius: var(--border-radius);
      background: rgba(255, 255, 255, 0.03);
    }

    .cart-discount-panel[hidden] {
      display: none;
    }

    .cart-discount-field {
      display: grid;
      gap: 0.45rem;
    }

    .cart-discount-field label {
      color: var(--text-muted);
      font-size: 0.78rem;
      font-weight: 850;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .cart-discount-entry {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto auto;
      gap: 0.5rem;
      align-items: center;
    }

    .cart-discount-entry input {
      min-height: 40px;
      min-width: 0;
      border: 1px solid rgba(255, 255, 255, 0.09);
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.04);
      color: var(--text-main);
      font: inherit;
      font-weight: 850;
      padding: 0 0.75rem;
      text-transform: uppercase;
    }

    .cart-discount-entry .ghost-button {
      min-height: 40px;
      padding: 0.5rem 0.8rem;
    }

    .cart-discount-message {
      min-height: 1.15rem;
      color: var(--text-muted);
      font-size: 0.8rem;
    }

    .cart-discount-message.error {
      color: #ff9a92;
    }

    .cart-discount-message.success {
      color: var(--accent-green);
    }

    .cart-summary-rows {
      display: grid;
      gap: 0.35rem;
    }

    .cart-summary-rows div,
    .cart-total,
    .subtotal {
      display: flex;
      justify-content: space-between;
      gap: 1rem;
      color: var(--text-main);
      font-weight: 900;
    }

    .cart-summary-rows span,
    .cart-total span:first-child,
    .subtotal span:first-child {
      color: var(--text-muted);
      font-weight: 700;
    }

    .cart-summary-discount strong {
      color: var(--accent-green);
    }

    .cart-payment-panel {
      display: grid;
      gap: 0.75rem;
      padding: 0.85rem;
      border: 1px solid rgba(255, 255, 255, 0.07);
      border-radius: var(--border-radius);
      background: rgba(255, 255, 255, 0.03);
    }

    .cart-payment-panel[hidden] {
      display: none;
    }

    .cart-payment-header {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 0.8rem;
    }

    .cart-payment-header span {
      color: var(--text-muted);
      font-size: 0.78rem;
      font-weight: 850;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .cart-payment-header small {
      color: var(--text-muted);
      font-size: 0.76rem;
      text-align: right;
    }

    .cart-payment-options {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.55rem;
    }

    .cart-payment-option {
      position: relative;
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      gap: 0.65rem;
      min-height: 68px;
      padding: 0.72rem;
      border: 1px solid rgba(236, 242, 247, 0.16);
      background: rgba(255, 255, 255, 0.035);
      color: var(--text-main);
      cursor: pointer;
      transition: var(--transition);
    }

    .cart-payment-option input {
      position: absolute;
      opacity: 0;
      pointer-events: none;
    }

    .cart-payment-option.active {
      border-color: rgba(255, 43, 66, 0.72);
      background: rgba(255, 43, 66, 0.12);
      box-shadow: inset 0 0 0 1px rgba(255, 43, 66, 0.18);
    }

    .cart-payment-option.disabled {
      cursor: not-allowed;
      opacity: 0.62;
    }

    .cart-payment-mark {
      position: relative;
      width: 16px;
      height: 16px;
      margin-top: 0.12rem;
      border: 1px solid rgba(236, 242, 247, 0.42);
      background: rgba(0, 0, 0, 0.24);
    }

    .cart-payment-option.active .cart-payment-mark {
      border-color: rgba(255, 43, 66, 0.9);
      background: #ff2b42;
    }

    .cart-payment-option.active .cart-payment-mark::after {
      content: "";
      position: absolute;
      inset: 4px;
      background: #ffffff;
    }

    .cart-payment-copy {
      display: grid;
      gap: 0.2rem;
      min-width: 0;
    }

    .cart-payment-copy strong {
      color: var(--text-main);
      font-size: 0.88rem;
      font-weight: 900;
      line-height: 1.1;
    }

    .cart-payment-copy small {
      color: var(--text-muted);
      font-size: 0.76rem;
      line-height: 1.25;
    }

    @media (max-width: 520px) {
      .cart-payment-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.25rem;
      }

      .cart-payment-header small {
        text-align: left;
      }

      .cart-payment-options {
        grid-template-columns: 1fr;
      }
    }

    .toast {
      position: fixed;
      right: 1.25rem;
      bottom: 1.25rem;
      z-index: 1300;
      max-width: min(92vw, 360px);
      padding: 0.9rem 1rem;
      border: 1px solid rgba(255, 43, 66, 0.18);
      border-radius: var(--border-radius);
      background: rgba(18, 16, 16, 0.96);
      color: var(--text-main);
      box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
      opacity: 0;
      transform: translateY(12px);
      transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .toast.open {
      opacity: 1;
      transform: translateY(0);
    }

    .premium-footer {
      position: relative;
      overflow: hidden;
      border-top: 1px solid rgba(255, 255, 255, 0.04);
      background: #0a0a0a;
    }

    .premium-footer::before {
      content: "";
      position: absolute;
      top: 0;
      left: 50%;
      width: 100vw;
      height: 1px;
      transform: translateX(-50%);
      background: radial-gradient(circle at center, rgba(255, 64, 87, 0.15) 0%, transparent 70%);
      box-shadow: 0 0 100px 30px rgba(255, 64, 87, 0.05);
    }

    .footer-grid {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: 2.5fr 1fr 1fr 1fr;
      gap: 4rem;
      padding: 6rem 0 5rem;
    }

    .footer-logo {
      display: inline-flex;
      margin-bottom: 1.5rem;
    }

    .footer-logo img {
      height: 48px;
      width: auto;
    }

    .footer-desc {
      max-width: 390px;
      color: rgba(255, 255, 255, 0.5);
      font-size: 0.95rem;
      line-height: 1.7;
    }

    .footer-heading {
      margin-bottom: 1.5rem;
      color: #ffffff;
      font-size: 0.85rem;
      font-weight: 700;
      letter-spacing: 0.05em;
    }

    .footer-links {
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
      list-style: none;
    }

    .footer-links a {
      display: inline-block;
      color: #888888;
      font-size: 0.9rem;
      font-weight: 500;
      transition: color 0.2s ease;
    }

    .footer-links a:hover {
      color: #ffffff;
    }

    .copyright {
      position: relative;
      z-index: 1;
      border-top: 1px solid rgba(255, 255, 255, 0.03);
      padding: 2.5rem 0;
    }

    .copy-flex {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      flex-wrap: wrap;
      color: #666666;
      font-size: 0.85rem;
      font-weight: 500;
    }

    .status-block {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      color: #888888;
    }

    .status-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--accent-green);
      box-shadow: 0 0 10px rgba(255, 43, 66, 0.5);
    }

    @media (max-width: 1024px) {
      .links {
        gap: 1.4rem;
      }

      .creator-grid,
      .product-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .management-grid {
        grid-template-columns: 1fr;
      }

      .product-page-layout {
        grid-template-columns: 1fr;
      }

      .product-page-media-panel {
        position: static;
      }

      .product-page-media {
        min-height: 380px;
      }

      .product-model-canvas {
        min-height: 260px;
      }

      .upload-hero,
      .upload-page-grid {
        grid-template-columns: 1fr;
      }

      .upload-sidebar,
      .upload-preview-panel {
        position: static;
      }

      .discover-grid,
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }

      .discover-big {
        grid-column: 1 / -1;
      }
    }

    @media (max-width: 768px) {
      .container {
        width: min(100% - 2rem, 1300px);
      }

      .mobile-menu-button {
        display: inline-flex;
      }

      .links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        align-items: flex-start;
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem 2rem 6rem;
        overflow-y: auto;
        background: rgba(35, 30, 31, 0.98);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: var(--transition);
      }

      .links.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
      }

      .nav-link {
        width: 100%;
        justify-content: space-between;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-bottom: 1rem;
        font-size: 1.2rem;
      }

      .nav-link.active::before {
        display: none;
      }

      .no-ai-badge {
        justify-content: flex-start;
        padding-left: 0;
        margin-left: 0;
        border-left: 0;
      }

      .actions {
        gap: 0.5rem;
      }

      .auth-verification-panel {
        align-items: stretch;
        flex-direction: column;
      }

      .auth-verification-panel .ghost-button {
        width: 100%;
      }

      .icon-button,
      .avatar-button {
        width: 40px;
        height: 40px;
      }

      .hero-actions {
        width: 100%;
        flex-direction: column;
      }

      .btn-balanced-primary,
      .btn-balanced-secondary {
        width: 100%;
      }

      .hero-metrics {
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
      }

      .section-header {
        align-items: flex-start;
        flex-direction: column;
      }

      .section-title {
        font-size: 2rem;
      }

      .creator-grid,
      .product-grid,
      .discover-grid,
      .footer-grid,
      .form-grid,
      .upload-buttons,
      .upload-stat-grid,
      .product-detail-meta,
      .product-page-meta {
        grid-template-columns: 1fr;
      }

      .product-page-section {
        padding-top: calc(var(--nav-height) + 1.5rem);
      }

      .product-page-media {
        min-height: 320px;
      }

      .product-model-canvas {
        min-height: 240px;
      }

      .product-model-topline {
        flex-direction: column;
      }

      .product-model-topline span:last-child {
        text-align: left;
        white-space: normal;
      }

      .product-preview-lightbox-shell {
        width: min(100vw - 1rem, 760px);
        height: min(94vh, 860px);
        padding: 0.8rem;
      }

      .product-preview-lightbox-toolbar {
        align-items: stretch;
        flex-direction: column;
      }

      .product-preview-image-nav,
      .product-preview-zoom-controls {
        width: 100%;
        justify-content: stretch;
      }

      .product-preview-image-nav .ghost-button,
      .product-preview-zoom-controls .ghost-button {
        flex: 1 1 auto;
      }

      .product-preview-zoom-controls input[type="range"] {
        width: 100%;
        flex: 1 1 180px;
      }

      .product-preview-model-canvas {
        min-height: 320px;
      }

      .product-page-topline,
      .product-review-heading {
        flex-direction: column;
      }

      .product-review-summary {
        text-align: left;
      }

      .product-review-form {
        grid-template-columns: 1fr;
      }

      .product-detail-shell {
        grid-template-columns: 1fr;
        overflow: auto;
      }

      .product-detail-media {
        min-height: 280px;
      }

      .product-detail-media.has-gallery .asset-mark {
        display: none;
      }

      .product-detail-thumbs {
        right: 0.65rem;
        bottom: 0.65rem;
        left: 0.65rem;
      }

      .product-detail-thumb {
        width: 58px;
        height: 42px;
        flex-basis: 58px;
      }

      .product-detail-body {
        overflow: visible;
      }

      .library-item,
      .permission-row,
      .promotion-row,
      .discount-row,
      .seller-product-row {
        grid-template-columns: 1fr;
      }

      .permission-toolbar,
      .discount-admin-grid,
      .discount-form-grid,
      .payment-settings-grid,
      .settings-grid,
      .settings-form .form-grid {
        grid-template-columns: 1fr;
      }

      .profile-preview-card {
        position: static;
      }

      .profile-crop-stage {
        width: min(300px, 100%);
      }

      .profile-crop-controls {
        grid-template-columns: 1fr 1fr;
      }

      .profile-crop-controls label,
      .profile-crop-controls input[type="range"] {
        grid-column: 1 / -1;
      }

      .permission-actions,
      .promotion-actions,
      .discount-actions {
        justify-content: stretch;
      }

      .permission-actions .ghost-button,
      .promotion-actions .ghost-button,
      .discount-actions .ghost-button,
      .promotion-days-select {
        width: 100%;
      }

      .discount-form-grid .field-group:first-child,
      .discount-form-grid .field-group:nth-child(2) {
        grid-column: auto;
      }

      .cart-discount-entry {
        grid-template-columns: 1fr;
      }

      .cart-discount-entry .ghost-button {
        width: 100%;
      }

      .promoted-controls {
        width: 100%;
        justify-content: flex-start;
      }

      .promoted-card {
        flex-basis: min(330px, 86vw);
      }

      .library-thumb {
        width: 100%;
      }

      .seller-product-thumb {
        width: 100%;
        height: 150px;
      }

      .seller-form-actions .auth-submit,
      .seller-form-actions .ghost-button {
        width: 100%;
      }

      .product-block[data-product-layout="split"] {
        flex-direction: column;
      }

      .product-block[data-product-layout="split"] .product-image {
        width: 100%;
        height: 180px;
        min-height: 180px;
        flex-basis: auto;
      }

      .product-block[data-product-layout="overlay"] .product-data {
        margin: -58px 0.75rem 0.85rem;
      }

      .product-row {
        min-height: 140px;
      }

      .row-image {
        width: 118px;
      }
    }

    @media (max-width: 480px) {
      .logo img {
        height: 28px;
      }

      .actions {
        gap: 0.35rem;
      }

      .theme-button,
      .member-chip {
        display: none;
      }

      .cart-button,
      .mailbox-action,
      .avatar-button {
        width: 40px;
        height: 40px;
      }

      .balanced-title {
        font-size: 2.45rem;
      }

      .product-page-title {
        font-size: 2rem;
      }

      .product-page-media {
        min-height: 260px;
      }

      .product-model-canvas {
        min-height: 220px;
      }

      .product-model-list {
        grid-auto-columns: minmax(118px, 68%);
      }

      .product-preview-lightbox-shell {
        height: calc(100vh - 0.75rem);
      }

      .product-preview-lightbox-tabs button,
      .product-preview-lightbox-toolbar .ghost-button {
        flex: 1 1 auto;
      }

      .product-preview-lightbox-stage {
        min-height: 280px;
      }

      .product-preview-model-canvas {
        min-height: 260px;
      }

      .product-preview-lightbox-thumb {
        width: 76px;
        height: 54px;
        flex-basis: 76px;
      }

      .product-page-actions .auth-submit,
      .product-page-actions .ghost-button,
      .product-model-controls .ghost-button,
      .product-review-form .auth-submit {
        width: 100%;
      }

      .hero-ticker {
        align-items: flex-start;
        flex-direction: column;
        border-radius: 12px;
        padding: 0.8rem;
      }

      .creator-block {
        gap: 1rem;
        padding: 1rem;
      }

      .creator-meta {
        flex-direction: column;
        gap: 0.15rem;
      }
    }

    html {
      scroll-padding-top: 96px;
    }

    body:not([data-page="home"]) main {
      padding-top: 80px;
    }

    .page-lede {
      max-width: 680px;
      margin-top: 0.6rem;
      color: var(--text-muted);
      font-size: 1rem;
      line-height: 1.6;
    }

    .page-directory {
      padding-bottom: 6rem;
    }

    .directory-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1.25rem;
    }

    .directory-card {
      display: flex;
      min-height: 220px;
      flex-direction: column;
      justify-content: space-between;
      gap: 1.5rem;
      padding: 1.5rem;
      border: 1px solid rgba(255, 255, 255, 0.07);
      border-radius: var(--border-radius);
      background: rgba(255, 255, 255, 0.025);
      color: var(--text-main);
      transition: var(--transition);
    }

    .directory-card:hover {
      transform: translateY(-4px);
      border-color: rgba(255, 64, 87, 0.28);
      background: rgba(255, 255, 255, 0.05);
      box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
    }

    .directory-card strong {
      color: var(--text-main);
      font-size: 1.55rem;
      font-weight: 900;
      line-height: 1.1;
      text-transform: uppercase;
    }

    .directory-card span:last-child {
      color: var(--text-muted);
      font-size: 0.95rem;
      line-height: 1.55;
    }

    .directory-kicker {
      color: var(--accent-gold);
      font-size: 0.72rem;
      font-weight: 900;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .about-hero {
      position: relative;
      display: grid;
      min-height: min(720px, 82vh);
      align-items: end;
      overflow: hidden;
      padding: 8rem 0 5rem;
      isolation: isolate;
    }

    .about-hero-media {
      position: absolute;
      inset: 0;
      z-index: -2;
      background: #0d0f0c;
    }

    .about-hero-media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: saturate(1.05) contrast(1.02);
    }

    .about-hero::after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      background:
        linear-gradient(90deg, rgba(8, 9, 7, 0.9), rgba(8, 9, 7, 0.55) 48%, rgba(8, 9, 7, 0.82)),
        linear-gradient(0deg, var(--bg-dark), transparent 38%);
    }

    .about-hero-content {
      max-width: 880px;
    }

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

    .about-panel {
      padding: 1.25rem;
      border: 1px solid rgba(255, 255, 255, 0.07);
      border-radius: var(--border-radius);
      background: rgba(255, 255, 255, 0.035);
    }

    .workspace-intro {
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .workspace-intro-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.75fr);
      gap: 3rem;
      align-items: center;
    }

    .workspace-login-card {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .account-hint {
      margin-top: 0.5rem;
      font-size: 0.85rem;
    }

    @media (max-width: 1024px) {
      .creator-profile-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .about-grid {
        grid-template-columns: 1fr;
      }

      .directory-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .workspace-intro-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 640px) {
      body:not([data-page="home"]) main {
        padding-top: 80px;
      }

      .directory-grid {
        grid-template-columns: 1fr;
      }

      .creator-profile-hero {
        grid-template-columns: 1fr;
      }

      .creator-profile-actions {
        justify-content: flex-start;
      }

      .creator-profile-products {
        grid-template-columns: 1fr;
      }

      .seller-product-row {
        grid-template-columns: 1fr;
      }

      .seller-product-actions {
        justify-content: stretch;
      }

      .seller-product-actions .ghost-button {
        flex: 1 1 140px;
      }

      .about-hero {
        min-height: 680px;
        padding: 7rem 0 4rem;
      }

      .directory-card {
        min-height: 180px;
      }
    }

    select[multiple] {
      min-height: 7.5rem;
      padding: 0.55rem;
    }

    select[multiple] option {
      padding: 0.45rem 0.5rem;
      border-radius: 6px;
      margin-bottom: 0.2rem;
    }

    .product-tag-list {
      display: flex;
      flex-wrap: wrap;
      gap: 0.35rem;
      margin-top: 0.45rem;
    }

    .product-tag-list span {
      display: inline-flex;
      align-items: center;
      min-height: 1.45rem;
      padding: 0 0.5rem;
      border-radius: 999px;
      color: var(--text-main);
      background: rgba(255, 43, 66, 0.12);
      border: 1px solid rgba(255, 43, 66, 0.24);
      font-size: 0.74rem;
      line-height: 1;
    }

    :root,
    [data-theme="light"] {
      --bg-dark: #070507;
      --bg-light: #13080b;
      --bg-card: rgba(24, 8, 12, 0.74);
      --accent-green: #ff2b42;
      --accent-green-glow: rgba(255, 43, 66, 0.34);
      --accent-gold: #ff4057;
      --accent-red: #ff1f38;
      --text-main: #fff7f8;
      --text-muted: #bda8ac;
      --select-popup-bg: #10070a;
      --select-popup-text: #fff7f8;
      --select-popup-hover-bg: #2a0d13;
      --select-popup-selected-bg: #ff2b42;
      --select-popup-selected-text: #070507;
      --border-radius: 4px;
      --border-radius-lg: 8px;
      --metal-button-cut: polygon(16px 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
      --metal-button-cut-small: polygon(11px 0, 100% 0, calc(100% - 11px) 100%, 0 100%);
      --metal-icon-cut: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
      --metal-button-edge: rgba(255, 65, 87, 0.7);
      --metal-button-dark-edge: rgba(0, 0, 0, 0.72);
      --metal-button-face:
        linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 76, 95, 0.12) 42%, rgba(0, 0, 0, 0.42) 100%),
        linear-gradient(135deg, #53111a 0%, #111014 22%, #7f1826 48%, #ff3048 70%, #140609 100%);
      --metal-button-face-dark:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 48, 72, 0.08) 42%, rgba(0, 0, 0, 0.5) 100%),
        linear-gradient(135deg, #22080d 0%, #080709 42%, #45111a 70%, #110407 100%);
      --metal-button-face-active:
        linear-gradient(180deg, rgba(255, 255, 255, 0.26) 0%, rgba(255, 54, 78, 0.22) 44%, rgba(0, 0, 0, 0.42) 100%),
        linear-gradient(135deg, #ff6a7b 0%, #7b1724 24%, #11090c 48%, #ff2b42 74%, #2a060c 100%);
    }

    body {
      background:
        radial-gradient(circle at 18% 0%, rgba(255, 43, 66, 0.16), transparent 34rem),
        radial-gradient(circle at 80% 12%, rgba(150, 16, 34, 0.13), transparent 30rem),
        #070507;
    }

    .premium-navbar {
      background-color: #10070a;
      background-image:
        linear-gradient(90deg, rgba(7, 5, 7, 0.92), rgba(62, 11, 20, 0.54), rgba(7, 5, 7, 0.92)),
        url("../image/bar.png");
      border-bottom-color: rgba(255, 43, 66, 0.18);
    }

    .premium-navbar.scrolled {
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.82), 0 0 30px rgba(255, 43, 66, 0.14);
    }

    .nav-link.active::before {
      width: 7px;
      height: 7px;
      border-radius: 0;
      background: #ff2b42;
      transform: translateX(-50%) rotate(45deg);
      box-shadow: 0 0 12px rgba(255, 43, 66, 0.7);
    }

    .btn-balanced-primary,
    .btn-balanced-secondary,
    .auth-submit,
    .checkout-button,
    .ghost-button,
    .filter-button,
    .link-blocky,
    .btn-blocky-secondary,
    .add-cart-button,
    .mini-cart-button,
    .owned-product-badge,
    .auth-tab,
    .rich-editor-button,
    .rich-editor-swatch,
    .icon-button,
    .avatar-button,
    .promoted-nav-button,
    .remove-cart-button,
    .cart-badge {
      border-radius: 0 !important;
      text-shadow: 0 1px 0 rgba(0, 0, 0, 0.64);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.42),
        inset 0 -1px 0 var(--metal-button-dark-edge),
        0 10px 24px rgba(0, 0, 0, 0.28);
    }

    .btn-balanced-primary,
    .auth-submit,
    .checkout-button,
    .add-cart-button {
      clip-path: var(--metal-button-cut);
      border: 1px solid var(--metal-button-edge);
      background: var(--metal-button-face);
      color: #f8fbff;
    }

    .btn-balanced-secondary,
    .ghost-button,
    .filter-button,
    .link-blocky,
    .btn-blocky-secondary,
    .auth-tab,
    .rich-editor-button,
    .rich-editor-swatch {
      clip-path: var(--metal-button-cut);
      border: 1px solid rgba(236, 242, 247, 0.22);
      background: var(--metal-button-face-dark);
      color: #edf2f6;
    }

    .link-blocky {
      min-height: 40px;
      padding: 0.65rem 1.1rem;
      border-bottom: 1px solid rgba(236, 242, 247, 0.22);
    }

    .icon-button,
    .avatar-button,
    .promoted-nav-button,
    .mini-cart-button,
    .remove-cart-button {
      clip-path: var(--metal-icon-cut);
      border: 1px solid rgba(236, 242, 247, 0.3);
      background: var(--metal-button-face-dark);
      color: #eef3f6;
    }

    .avatar-button img {
      border-radius: 0 !important;
    }

    .cart-badge {
      top: -6px;
      right: -6px;
      width: 20px;
      height: 18px;
      clip-path: var(--metal-button-cut-small);
      background: var(--metal-button-face-active);
      color: #08090b;
      text-shadow: none;
    }

    .auth-tabs {
      border-radius: 0;
      background: rgba(255, 255, 255, 0.025);
      clip-path: var(--metal-button-cut);
    }

    .filter-button:hover,
    .filter-button.active,
    .auth-tab.active,
    .btn-balanced-primary:hover,
    .btn-balanced-secondary:hover,
    .auth-submit:hover,
    .checkout-button:hover,
    .ghost-button:hover,
    .btn-blocky-secondary:hover,
    .link-blocky:hover,
    .add-cart-button:hover,
    .mini-cart-button:hover,
    .promoted-nav-button:hover,
    .rich-editor-button:hover,
    .remove-cart-button:hover {
      border-color: rgba(255, 43, 66, 0.78);
      background: var(--metal-button-face-active);
      color: #ffffff;
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.52),
        inset 0 -1px 0 rgba(0, 0, 0, 0.68),
        0 12px 28px rgba(0, 0, 0, 0.34),
        0 0 18px rgba(255, 43, 66, 0.28);
    }

    .auth-tab.active,
    .filter-button.active {
      color: #07090c;
      text-shadow: none;
    }

    .auth-submit:disabled,
    .checkout-button:disabled,
    .ghost-button:disabled,
    .link-blocky:disabled {
      background: var(--metal-button-face-dark);
      color: rgba(237, 242, 246, 0.55);
      filter: grayscale(1);
    }

    .product-tag-list span,
    .cart-thumb span,
    .product-card-media span,
    .profile-avatar-fallback {
      background: rgba(255, 43, 66, 0.16);
      border-color: rgba(255, 43, 66, 0.34);
    }

    @media (max-width: 480px) {
      .btn-balanced-primary,
      .btn-balanced-secondary,
      .auth-submit,
      .checkout-button,
      .ghost-button,
      .filter-button,
      .link-blocky,
      .btn-blocky-secondary,
      .add-cart-button,
      .auth-tab {
        clip-path: var(--metal-button-cut-small);
      }
    }

    /* OrzShop final black-red metal theme pass. Keep this at the end so it overrides the older skin. */
    :root,
    html[data-theme="dark"],
    html[data-theme="light"] {
      --bg-dark: #030304;
      --bg-light: #090507;
      --bg-card: rgba(16, 5, 8, 0.92);
      --accent-green: #ff263d;
      --accent-green-glow: rgba(var(--orz-accent-rgb), 0.34);
      --accent-gold: #ff4a5f;
      --accent-red: #c90022;
      --text-main: #fff6f7;
      --text-muted: #c7a8ad;
      --select-popup-bg: #0a0406;
      --select-popup-text: #fff6f7;
      --select-popup-hover-bg: #29070e;
      --select-popup-selected-bg: #ff263d;
      --select-popup-selected-text: #050304;
      --border-radius: 2px;
      --border-radius-lg: 2px;
      --orz-red: #ff263d;
      --orz-red-soft: #ff4a5f;
      --orz-red-dark: #5a0813;
      --orz-accent-rgb: 255, 38, 61;
      --orz-accent-soft-rgb: 255, 74, 95;
      --orz-metal-low: #2a050b;
      --orz-metal-mid: #8b1020;
      --orz-metal-end: #210509;
      --orz-metal-dark-mid: #27060b;
      --orz-metal-dark-peak: #65111b;
      --orz-metal-hot-start: #ff6677;
      --orz-metal-hot-mid: #8d1020;
      --orz-metal-hot-end: #27040a;
      --orz-black: #030304;
      --orz-surface-rgb: 15, 5, 8;
      --orz-surface-strong-rgb: 24, 5, 10;
      --orz-field-bg: #090507;
      --orz-panel: rgba(var(--orz-surface-rgb), 0.92);
      --orz-panel-strong: rgba(var(--orz-surface-strong-rgb), 0.96);
      --orz-line: rgba(var(--orz-accent-rgb), 0.34);
      --orz-line-strong: rgba(var(--orz-accent-rgb), 0.78);
      --orz-steel-1: #f4f7fa;
      --orz-steel-2: #8a929b;
      --orz-steel-3: #171b20;
      --orz-button-cut: polygon(17px 0, 100% 0, calc(100% - 17px) 100%, 0 100%);
      --orz-button-cut-small: polygon(11px 0, 100% 0, calc(100% - 11px) 100%, 0 100%);
      --orz-diamond-cut: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
      --orz-metal-red:
        linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(var(--orz-accent-soft-rgb), 0.14) 38%, rgba(0, 0, 0, 0.54)),
        linear-gradient(135deg, var(--orz-metal-low) 0%, #0a080a 18%, var(--orz-metal-mid) 48%, var(--orz-red) 68%, var(--orz-metal-end) 100%);
      --orz-metal-dark:
        linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(var(--orz-accent-rgb), 0.08) 42%, rgba(0, 0, 0, 0.62)),
        linear-gradient(135deg, #160508 0%, #050405 30%, var(--orz-metal-dark-mid) 58%, var(--orz-metal-dark-peak) 82%, #080405 100%);
      --orz-metal-hot:
        linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(var(--orz-accent-soft-rgb), 0.22) 44%, rgba(0, 0, 0, 0.5)),
        linear-gradient(135deg, var(--orz-metal-hot-start) 0%, var(--orz-metal-hot-mid) 24%, #090708 47%, var(--orz-red) 74%, var(--orz-metal-hot-end) 100%);
    }

    html[data-theme="light"] body,
    html[data-theme="dark"] body,
    body {
      background:
        linear-gradient(135deg, rgba(var(--orz-accent-rgb), 0.13), transparent 28%),
        linear-gradient(315deg, rgba(var(--orz-accent-rgb), 0.08), transparent 34%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.032) 0 1px, transparent 1px 18px),
        linear-gradient(180deg, #030304 0%, #050607 45%, #080b10 100%) !important;
      color: var(--text-main);
    }

    .premium-navbar {
      height: 86px;
      background-color: #040506 !important;
      background-image:
        linear-gradient(90deg, rgba(3, 3, 4, 0.98), rgba(var(--orz-accent-rgb), 0.28) 48%, rgba(3, 3, 4, 0.98)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 13px),
        url("../image/bar.png") !important;
      border-bottom: 1px solid var(--orz-line);
      box-shadow: 0 10px 34px rgba(0, 0, 0, 0.56), 0 0 28px rgba(var(--orz-accent-rgb), 0.14);
    }

    .premium-navbar.scrolled {
      height: 78px;
      box-shadow: 0 14px 42px rgba(0, 0, 0, 0.78), 0 0 34px rgba(var(--orz-accent-rgb), 0.2);
    }

    .logo,
    .footer-logo {
      position: relative;
    }

    .logo img {
      height: 52px;
      filter: drop-shadow(0 0 14px rgba(var(--orz-accent-rgb), 0.28)) drop-shadow(0 8px 14px rgba(0, 0, 0, 0.58));
    }

    .footer-logo img {
      height: 60px;
    }

    .logo::after,
    .footer-logo::after {
      content: "";
      position: absolute;
      left: 32%;
      right: 14%;
      bottom: 11%;
      height: 3px;
      pointer-events: none;
      background: var(--orz-red);
      box-shadow: 0 0 16px rgba(var(--orz-accent-rgb), 0.72);
      opacity: 0.78;
    }

    .nav-link {
      color: rgba(255, 246, 247, 0.66);
      text-transform: uppercase;
    }

    .nav-link:hover,
    .nav-link.active {
      color: #ffffff;
      text-shadow: 0 0 13px rgba(var(--orz-accent-rgb), 0.54);
    }

    .nav-link.active::before {
      top: -10px;
      width: 8px;
      height: 8px;
      border-radius: 0;
      background: var(--orz-red);
      box-shadow: 0 0 16px rgba(var(--orz-accent-rgb), 0.9);
      transform: translateX(-50%) rotate(45deg);
    }

    .links.open {
      background:
        linear-gradient(180deg, rgba(4, 5, 6, 0.99), rgba(var(--orz-accent-rgb), 0.2)),
        repeating-linear-gradient(135deg, rgba(var(--orz-accent-rgb), 0.08) 0 1px, transparent 1px 13px);
      border-bottom: 1px solid var(--orz-line);
    }

    .hero-canvas,
    .section-solid,
    .section-standout,
    .premium-footer {
      background:
        linear-gradient(135deg, rgba(var(--orz-accent-rgb), 0.08), transparent 34%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.024) 0 1px, transparent 1px 19px),
        #040506 !important;
      border-color: rgba(var(--orz-accent-rgb), 0.15);
    }

    .hero-bg img {
      filter: brightness(0.72) contrast(1.08) saturate(1.05);
    }

    .about-hero-media img {
      filter: grayscale(0.78) brightness(0.36) contrast(1.35) saturate(1.18);
    }

    .hero-overlay {
      background:
        radial-gradient(ellipse at center, rgba(3, 3, 4, 0.02) 0%, rgba(3, 3, 4, 0.12) 42%, rgba(3, 3, 4, 0.7) 100%),
        linear-gradient(90deg, rgba(3, 3, 4, 0.92) 0%, rgba(3, 3, 4, 0.16) 22%, rgba(3, 3, 4, 0.08) 50%, rgba(3, 3, 4, 0.16) 78%, rgba(3, 3, 4, 0.92) 100%),
        linear-gradient(0deg, #030304 0%, rgba(3, 3, 4, 0.34) 18%, transparent 48%) !important;
    }

    .about-hero::after {
      background:
        linear-gradient(90deg, rgba(3, 3, 4, 0.94), rgba(var(--orz-accent-rgb), 0.2) 48%, rgba(3, 3, 4, 0.92)),
        linear-gradient(0deg, #030304, transparent 42%) !important;
    }

    .particles {
      opacity: 0.2;
    }

    .balanced-title,
    .section-title,
    .upload-title,
    .auth-title,
    .cart-title,
    .product-detail-title,
    .product-page-title,
    .product-review-heading h2,
    .panel-title {
      color: #ffffff;
      text-shadow: 0 0 22px rgba(var(--orz-accent-rgb), 0.22), 0 8px 20px rgba(0, 0, 0, 0.58);
    }

    .soft-accent,
    .directory-kicker,
    .auth-kicker,
    .cart-kicker,
    .upload-eyebrow,
    .creator-rating,
    .product-price,
    .product-detail-price,
    .product-page-price,
    .footer-links a:hover,
    .creator-profile-link:hover {
      color: var(--orz-red-soft) !important;
    }

    .section-heading svg {
      stroke: var(--orz-red-soft) !important;
      filter: drop-shadow(0 0 10px rgba(var(--orz-accent-rgb), 0.38));
    }

    .btn-balanced-primary,
    .btn-balanced-secondary,
    .auth-submit,
    .checkout-button,
    .ghost-button,
    .filter-button,
    .link-blocky,
    .btn-blocky-secondary,
    .add-cart-button,
    .mini-cart-button,
    .danger-button,
    .auth-tab,
    .rich-editor-button,
    .rich-editor-swatch,
    .promotion-days-select,
    .cart-discount-entry .ghost-button,
    .seller-form-actions .ghost-button,
    .permission-actions .ghost-button,
    .promotion-actions .ghost-button,
    .discount-actions .ghost-button {
      position: relative;
      isolation: isolate;
      overflow: hidden;
      border-radius: 0 !important;
      -webkit-clip-path: var(--orz-button-cut) !important;
      clip-path: var(--orz-button-cut) !important;
      border: 1px solid rgba(255, 246, 247, 0.2) !important;
      background: var(--orz-metal-dark) !important;
      color: #fff6f7 !important;
      text-shadow: 0 1px 0 rgba(0, 0, 0, 0.82);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 -1px 0 rgba(0, 0, 0, 0.82),
        0 11px 24px rgba(0, 0, 0, 0.36),
        0 0 0 1px rgba(0, 0, 0, 0.52);
    }

    .btn-balanced-primary,
    .auth-submit,
    .checkout-button,
    .add-cart-button,
    .filter-button.active,
    .auth-tab.active {
      border-color: var(--orz-line-strong) !important;
      background: var(--orz-metal-red) !important;
      color: #ffffff !important;
    }

    .btn-balanced-primary::before,
    .btn-balanced-secondary::before,
    .auth-submit::before,
    .checkout-button::before,
    .ghost-button::before,
    .filter-button::before,
    .link-blocky::before,
    .btn-blocky-secondary::before,
    .add-cart-button::before,
    .mini-cart-button::before,
    .danger-button::before,
    .auth-tab::before,
    .rich-editor-button::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      background: linear-gradient(120deg, transparent 0 23%, rgba(255, 255, 255, 0.24) 36%, transparent 50%);
      transform: translateX(-125%);
      transition: transform 0.32s ease;
    }

    .btn-balanced-primary:hover::before,
    .btn-balanced-secondary:hover::before,
    .auth-submit:hover::before,
    .checkout-button:hover::before,
    .ghost-button:hover::before,
    .filter-button:hover::before,
    .link-blocky:hover::before,
    .btn-blocky-secondary:hover::before,
    .add-cart-button:hover::before,
    .mini-cart-button:hover::before,
    .danger-button:hover::before,
    .auth-tab:hover::before,
    .rich-editor-button:hover::before {
      transform: translateX(125%);
    }

    .btn-balanced-primary:hover,
    .btn-balanced-secondary:hover,
    .auth-submit:hover,
    .checkout-button:hover,
    .ghost-button:hover,
    .filter-button:hover,
    .link-blocky:hover,
    .btn-blocky-secondary:hover,
    .add-cart-button:hover,
    .mini-cart-button:hover,
    .danger-button:hover,
    .auth-tab:hover,
    .promoted-nav-button:hover,
    .rich-editor-button:hover,
    .remove-cart-button:hover {
      transform: translateY(-2px);
      border-color: var(--orz-line-strong) !important;
      background: var(--orz-metal-hot) !important;
      color: #ffffff !important;
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.36),
        inset 0 -1px 0 rgba(0, 0, 0, 0.84),
        0 14px 30px rgba(0, 0, 0, 0.44),
        0 0 24px rgba(var(--orz-accent-rgb), 0.34);
    }

    .icon-button,
    .avatar-button,
    .promoted-nav-button,
    .remove-cart-button,
    .auth-close,
    .cart-close,
    .product-detail-close {
      border-radius: 0 !important;
      -webkit-clip-path: var(--orz-diamond-cut) !important;
      clip-path: var(--orz-diamond-cut) !important;
      border: 1px solid rgba(255, 246, 247, 0.24) !important;
      background: var(--orz-metal-dark) !important;
      color: #fff6f7 !important;
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.24),
        inset 0 -1px 0 rgba(0, 0, 0, 0.8),
        0 8px 18px rgba(0, 0, 0, 0.38);
    }

    .avatar-button img,
    .creator-avatar,
    .creator-avatar img,
    .profile-avatar-fallback,
    .profile-preview-avatar img {
      border-radius: 0 !important;
    }

    .avatar-button {
      overflow: hidden;
    }

    .avatar-button img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      -webkit-clip-path: var(--orz-diamond-cut);
      clip-path: var(--orz-diamond-cut);
    }

    .avatar-button.has-profile-avatar {
      padding: 2px;
      border-color: var(--orz-line-strong) !important;
      background:
        linear-gradient(135deg, rgba(var(--orz-accent-rgb), 0.72), rgba(255, 255, 255, 0.18) 46%, rgba(0, 0, 0, 0.9)) !important;
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.32),
        inset 0 -1px 0 rgba(0, 0, 0, 0.86),
        0 10px 22px rgba(0, 0, 0, 0.42),
        0 0 20px rgba(var(--orz-accent-rgb), 0.28);
    }

    .member-chip::before,
    .status-dot {
      border-radius: 0 !important;
      transform: rotate(45deg);
      background: var(--orz-red) !important;
      box-shadow: 0 0 14px rgba(var(--orz-accent-rgb), 0.72);
    }

    .member-chip,
    .role-badge,
    .view-pill,
    .product-tag,
    .sponsored-badge,
    .product-tag-list span,
    .cart-thumb span,
    .product-card-media span,
    .profile-avatar-fallback {
      border-radius: 0 !important;
      -webkit-clip-path: var(--orz-button-cut-small);
      clip-path: var(--orz-button-cut-small);
      border-color: var(--orz-line) !important;
      background: linear-gradient(135deg, rgba(var(--orz-accent-rgb), 0.18), rgba(var(--orz-surface-rgb), 0.86)) !important;
      color: #fff6f7 !important;
    }

    .product-block,
    .promoted-card,
    .creator-block,
    .directory-card,
    .about-panel,
    .auth-shell,
    .cart-drawer,
    .product-detail-shell,
    .product-page-media-panel,
    .product-page-info-panel,
    .product-review-panel,
    .product-review-gate,
    .workspace-login-card,
    .catalog-empty,
    .library-item,
    .permission-row,
    .promotion-row,
    .discount-row,
    .seller-product-row,
    .upload-card,
    .upload-panel,
    .upload-preview-panel,
    .settings-card,
    .settings-panel,
    .profile-preview-card,
    .payment-card,
    .payment-settings-card,
    .detail-field,
    .cart-item,
    .auth-account,
    .auth-verification-panel,
    .toast {
      border-radius: 2px !important;
      border: 1px solid rgba(var(--orz-accent-rgb), 0.2) !important;
      background:
        linear-gradient(145deg, rgba(var(--orz-accent-rgb), 0.09), transparent 34%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.024) 0 1px, transparent 1px 14px),
        var(--orz-panel) !important;
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.045),
        0 18px 42px rgba(0, 0, 0, 0.34);
    }

    .product-block:hover,
    .promoted-card:hover,
    .creator-block:hover,
    .directory-card:hover,
    .library-item:hover,
    .seller-product-row:hover {
      border-color: rgba(var(--orz-accent-rgb), 0.62) !important;
      background:
        linear-gradient(145deg, rgba(var(--orz-accent-rgb), 0.16), transparent 36%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.032) 0 1px, transparent 1px 14px),
        var(--orz-panel-strong) !important;
      box-shadow: 0 20px 44px rgba(0, 0, 0, 0.42), 0 0 22px rgba(var(--orz-accent-rgb), 0.16);
    }

    .promoted-media,
    .product-image,
    .product-detail-media,
    .product-page-media,
    .product-model-canvas,
    .row-image,
    .library-thumb,
    .seller-product-thumb {
      background:
        linear-gradient(135deg, rgba(var(--orz-accent-rgb), 0.18), rgba(3, 3, 4, 0.88)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 13px),
        url("../image/bg_start.jpg") center / cover !important;
      border-color: rgba(var(--orz-accent-rgb), 0.24) !important;
    }

    .field-group input,
    .field-group select,
    .field-group textarea,
    .cart-discount-entry input,
    .rich-editor-select {
      border-radius: 2px !important;
      border: 1px solid rgba(var(--orz-accent-rgb), 0.24) !important;
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(0, 0, 0, 0.28)),
        var(--orz-field-bg) !important;
      color: #fff6f7 !important;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    }

    .field-group input:focus,
    .field-group select:focus,
    .field-group textarea:focus,
    .cart-discount-entry input:focus,
    .rich-editor-select:focus {
      border-color: var(--orz-line-strong) !important;
      box-shadow: 0 0 0 3px rgba(var(--orz-accent-rgb), 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
    }

    .product-block::before,
    .promoted-card::before,
    .directory-card::before,
    .creator-block::before {
      background: var(--orz-red) !important;
      box-shadow: 10px 7px 0 rgba(var(--orz-accent-soft-rgb), 0.72) !important;
    }

    .asset-mark {
      border-radius: 0 !important;
      -webkit-clip-path: var(--orz-diamond-cut);
      clip-path: var(--orz-diamond-cut);
      border-color: rgba(var(--orz-accent-rgb), 0.26) !important;
      background: rgba(var(--orz-surface-rgb), 0.76) !important;
    }

    .asset-mark span {
      border-radius: 0 !important;
      background: var(--orz-red) !important;
      box-shadow:
        12px 8px 0 rgba(var(--orz-accent-soft-rgb), 0.82),
        -9px 10px 0 rgba(255, 255, 255, 0.26) !important;
    }

    .premium-footer::before {
      background: linear-gradient(90deg, transparent, rgba(var(--orz-accent-rgb), 0.52), transparent) !important;
      box-shadow: 0 0 60px 14px rgba(var(--orz-accent-rgb), 0.12) !important;
    }

    .toast {
      border-color: rgba(var(--orz-accent-rgb), 0.42) !important;
    }

    .theme-picker {
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .theme-button {
      color: #fff6f7 !important;
    }

    .theme-button-swatch {
      width: 13px;
      height: 13px;
      display: block;
      -webkit-clip-path: var(--orz-diamond-cut);
      clip-path: var(--orz-diamond-cut);
      background: var(--orz-red);
      box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.62),
        0 0 14px rgba(var(--orz-accent-rgb), 0.78);
    }

    .theme-palette {
      position: absolute;
      top: calc(100% + 12px);
      right: -4px;
      z-index: 80;
      display: grid;
      grid-template-columns: repeat(3, 34px);
      gap: 0.45rem;
      padding: 0.8rem;
      border: 1px solid var(--orz-line);
      background:
        linear-gradient(145deg, rgba(var(--orz-accent-rgb), 0.12), transparent 42%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 12px),
        rgba(6, 3, 5, 0.98);
      box-shadow: 0 18px 38px rgba(0, 0, 0, 0.5), 0 0 22px rgba(var(--orz-accent-rgb), 0.2);
      -webkit-clip-path: var(--orz-button-cut-small);
      clip-path: var(--orz-button-cut-small);
    }

    .theme-palette[hidden] {
      display: none !important;
    }

    .theme-settings-row {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 0.65rem;
    }


    .theme-settings-name {
      color: var(--text-muted);
      font-size: 0.88rem;
      text-transform: uppercase;
      letter-spacing: 0;
    }

    .theme-hex-panel {
      width: min(286px, calc(100vw - 2rem));
      grid-template-columns: minmax(0, 1fr);
      gap: 0.65rem;
      padding: 0.9rem;
    }

    .theme-hex-picker,
    .theme-hex-row {
      display: flex;
      align-items: center;
      gap: 0.65rem;
      min-width: 0;
    }

    .theme-hex-picker {
      justify-content: space-between;
      color: var(--text-muted);
      font-size: 0.78rem;
      font-weight: 800;
      letter-spacing: 0;
    }

    .theme-color-wheel {
      width: 48px;
      height: 38px;
      flex: 0 0 auto;
      padding: 0;
      border: 1px solid rgba(255, 246, 247, 0.28);
      background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(0, 0, 0, 0.72));
      cursor: pointer;
      -webkit-clip-path: var(--orz-button-cut-small);
      clip-path: var(--orz-button-cut-small);
      box-shadow: 0 0 18px rgba(var(--orz-accent-rgb), 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }

    .theme-color-wheel::-webkit-color-swatch-wrapper {
      padding: 4px;
    }

    .theme-color-wheel::-webkit-color-swatch {
      border: 0;
      -webkit-clip-path: var(--orz-button-cut-small);
      clip-path: var(--orz-button-cut-small);
    }

    .theme-color-wheel::-moz-color-swatch {
      border: 0;
    }

    .theme-hex-input {
      width: 100%;
      min-width: 0;
      height: 38px;
      padding: 0 0.85rem;
      border: 1px solid rgba(var(--orz-accent-rgb), 0.34);
      border-radius: 0;
      color: var(--text-main);
      background:
        linear-gradient(145deg, rgba(var(--orz-accent-rgb), 0.08), transparent 45%),
        var(--orz-field-bg);
      font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
      font-size: 0.92rem;
      font-weight: 800;
      letter-spacing: 0;
      text-transform: uppercase;
      outline: none;
      -webkit-clip-path: var(--orz-button-cut-small);
      clip-path: var(--orz-button-cut-small);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }

    .theme-hex-input:focus {
      border-color: rgba(var(--orz-accent-rgb), 0.82);
      box-shadow: 0 0 0 3px rgba(var(--orz-accent-rgb), 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .theme-hex-input.invalid {
      border-color: #ff6677;
      box-shadow: 0 0 0 3px rgba(255, 38, 61, 0.2);
    }

    .theme-hex-apply {
      min-width: 72px;
      height: 38px;
      padding: 0 0.9rem;
      border: 1px solid rgba(255, 246, 247, 0.22);
      color: #fff6f7;
      background: var(--orz-metal-red);
      font-size: 0.78rem;
      font-weight: 900;
      letter-spacing: 0;
      text-transform: uppercase;
      cursor: pointer;
      -webkit-clip-path: var(--orz-button-cut-small);
      clip-path: var(--orz-button-cut-small);
      box-shadow: 0 10px 22px rgba(0, 0, 0, 0.36), 0 0 18px rgba(var(--orz-accent-rgb), 0.22);
    }

    .theme-hex-apply:hover {
      background: var(--orz-metal-hot);
      box-shadow: 0 12px 28px rgba(0, 0, 0, 0.44), 0 0 22px rgba(var(--orz-accent-rgb), 0.34);
    }

    .profile-theme-hex-input {
      max-width: 220px;
      margin-bottom: 0.65rem;
    }

    .profile-theme-color-wheel {
      width: 58px;
    }

    .upload-page > .container {
      width: min(100% - 3rem, 1540px);
    }

    .upload-page-grid-expanded,
    .manage-page-grid.upload-page-grid-expanded {
      grid-template-columns: minmax(0, 1fr);
    }

    .upload-page-grid-expanded .upload-main-column {
      gap: 1.25rem;
    }

    .upload-page-grid-expanded .upload-form-card {
      padding: clamp(1.25rem, 2vw, 2rem);
    }

    .upload-page-grid-expanded .upload-form-top {
      margin-bottom: 1.25rem;
    }

    .upload-page-grid-expanded .form-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1.1rem;
    }

    .upload-page-grid-expanded .rich-description-field {
      grid-column: 1 / -1;
    }

    .upload-page-grid-expanded .rich-description-field > label {
      color: #ffffff;
      font-size: 1rem;
      font-weight: 950;
    }

    .upload-page-grid-expanded .rich-editor-shell {
      border-color: rgba(var(--orz-accent-rgb), 0.32);
      background:
        linear-gradient(145deg, rgba(var(--orz-accent-rgb), 0.065), transparent 34%),
        rgba(4, 3, 4, 0.84);
    }

    .upload-page-grid-expanded .rich-editor-toolbar {
      gap: 0.45rem;
      padding: 0.7rem;
    }

    .upload-page-grid-expanded .rich-editor-canvas {
      min-height: clamp(380px, 44vh, 720px);
      max-height: min(74vh, 860px);
      padding: 1.15rem 1.25rem;
      font-size: 1rem;
      line-height: 1.78;
    }

    .upload-page-grid-expanded .upload-buttons {
      grid-template-columns: repeat(2, minmax(260px, 1fr));
      gap: 1.1rem;
    }

    .upload-page-grid-expanded .file-picker-label {
      min-height: 128px;
    }

    @media (max-width: 1024px) {
      .upload-page-grid-expanded .form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 680px) {
      .upload-page > .container {
        width: min(100% - 2rem, 1540px);
      }

      .upload-page-grid-expanded .form-grid,
      .upload-page-grid-expanded .upload-buttons {
        grid-template-columns: 1fr;
      }

      .upload-page-grid-expanded .rich-editor-canvas {
        min-height: 340px;
      }
    }

    .creator-wallet-section {
      position: relative;
    }

    .wallet-grid {
      display: grid;
      grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
      gap: 1.25rem;
      align-items: stretch;
    }

    .wallet-history-grid {
      margin-top: 1.25rem;
    }

    .wallet-balance-card,
    .wallet-payout-form,
    .wallet-history-card,
    .wallet-admin-panel {
      border-color: rgba(var(--orz-accent-rgb), 0.26);
      background:
        linear-gradient(135deg, rgba(var(--orz-accent-rgb), 0.12), transparent 36%),
        linear-gradient(180deg, rgba(19, 18, 19, 0.96), rgba(5, 5, 6, 0.94));
      box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
    }

    .wallet-balance {
      margin: 0.35rem 0 0.8rem;
      color: #ffffff;
      font-size: clamp(2.3rem, 6vw, 4.8rem);
      line-height: 0.95;
      letter-spacing: 0;
    }

    .wallet-stat-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 0.65rem;
      margin-top: 1rem;
    }

    .wallet-stat-grid span {
      display: grid;
      gap: 0.25rem;
      min-height: 78px;
      padding: 0.85rem;
      border: 1px solid rgba(var(--orz-accent-rgb), 0.22);
      background: rgba(255, 255, 255, 0.04);
      -webkit-clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
      clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
    }

    .wallet-stat-grid strong {
      color: #ffffff;
      font-size: 1.15rem;
    }

    .wallet-pocket-list {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
      gap: 0.55rem;
      margin-top: 0.85rem;
    }

    .wallet-pocket {
      display: grid;
      gap: 0.18rem;
      min-height: 74px;
      padding: 0.7rem 0.85rem;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(var(--orz-accent-rgb), 0.05)),
        rgba(0, 0, 0, 0.24);
      color: var(--text-main);
      text-align: left;
      cursor: pointer;
      -webkit-clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
      clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
      transition: var(--transition);
    }

    .wallet-pocket.active,
    .wallet-pocket:hover {
      border-color: rgba(var(--orz-accent-rgb), 0.45);
      background:
        linear-gradient(135deg, rgba(var(--orz-accent-rgb), 0.18), rgba(255, 255, 255, 0.055)),
        rgba(0, 0, 0, 0.3);
    }

    .wallet-pocket span {
      font-size: 0.82rem;
      font-weight: 900;
    }

    .wallet-pocket strong {
      color: #ffffff;
      font-size: 1.04rem;
      line-height: 1;
    }

    .wallet-pocket small {
      color: rgba(246, 247, 251, 0.52);
      font-size: 0.74rem;
      font-weight: 800;
    }

    .wallet-pocket-management {
      align-self: start;
    }

    .wallet-pocket-form {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0.75rem;
      align-items: end;
      margin-top: 0.85rem;
    }

    .wallet-pocket-form > .auth-submit {
      justify-self: start;
      min-width: 140px;
    }

    .wallet-pocket-form .auth-message {
      grid-column: 1 / -1;
      margin: 0;
    }

    .wallet-pocket-bank-fields {
      grid-column: 1 / -1;
    }

    .wallet-pocket-management-card {
      display: grid;
      gap: 0.75rem;
      padding: 0.75rem;
      border: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(255, 255, 255, 0.025);
      border-radius: 8px;
    }

    .wallet-pocket-management-row {
      grid-template-columns: minmax(0, 1fr) auto;
    }

    .wallet-pocket-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.55rem;
      justify-content: flex-end;
    }

    .wallet-pocket-methods {
      display: grid;
      gap: 0.55rem;
      padding: 0.75rem;
      border: 1px solid rgba(255, 255, 255, 0.07);
      background: rgba(0, 0, 0, 0.18);
      border-radius: 8px;
    }

    .wallet-pocket-method-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto auto;
      gap: 0.7rem;
      align-items: center;
      padding: 0.7rem;
      border: 1px solid rgba(255, 255, 255, 0.075);
      background: rgba(255, 255, 255, 0.035);
      border-radius: 8px;
    }

    .wallet-pocket-method-row > span:first-child,
    .wallet-pocket-method-empty {
      display: grid;
      min-width: 0;
      gap: 0.2rem;
    }

    .wallet-pocket-method-empty {
      padding: 0.7rem;
      color: rgba(246, 247, 251, 0.62);
      font-size: 0.84rem;
      border: 1px dashed rgba(255, 255, 255, 0.14);
      border-radius: 8px;
    }

    .wallet-pocket-method-empty strong {
      color: #ffffff;
    }

    .wallet-team-panel {
      align-self: start;
    }

    .wallet-team-form {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 0.75rem;
      align-items: end;
      margin-top: 0.85rem;
    }

    .wallet-team-form .auth-message {
      grid-column: 1 / -1;
      margin: 0;
    }

    .wallet-team-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.85rem;
      margin-top: 1rem;
    }

    .wallet-team-grid h4 {
      margin: 0;
      color: #ffffff;
      font-size: 0.92rem;
    }

    .wallet-team-row {
      grid-template-columns: minmax(0, 1fr) auto auto;
    }

    .wallet-team-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      justify-content: flex-end;
    }

    .wallet-stat-grid small,
    .wallet-row-meta {
      color: rgba(246, 247, 251, 0.62);
      font-size: 0.82rem;
    }

    .wallet-pending-meta {
      color: #facc15;
      font-weight: 800;
    }

    .wallet-list {
      display: grid;
      gap: 0.7rem;
      margin-top: 1rem;
    }

    .wallet-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 0.9rem;
      align-items: center;
      padding: 0.9rem;
      border: 1px solid rgba(255, 255, 255, 0.09);
      background:
        linear-gradient(135deg, rgba(var(--orz-accent-rgb), 0.08), transparent 42%),
        rgba(255, 255, 255, 0.035);
      -webkit-clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
      clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
    }

    .wallet-row > span:first-child {
      display: grid;
      min-width: 0;
      gap: 0.22rem;
    }

    .wallet-row-title {
      color: #ffffff;
      font-weight: 900;
    }

    .admin-order-row {
      display: block;
    }

    .admin-order-row summary {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 0.85rem;
      align-items: start;
      cursor: pointer;
      list-style: none;
    }

    .admin-order-row summary::-webkit-details-marker {
      display: none;
    }

    .admin-order-row summary > span:first-child {
      display: grid;
      min-width: 0;
      gap: 0.22rem;
    }

    .admin-order-detail {
      display: grid;
      gap: 0.45rem;
      margin-top: 0.85rem;
      padding-top: 0.85rem;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      color: rgba(246, 247, 251, 0.72);
      font-size: 0.86rem;
    }

    .admin-order-detail span {
      display: grid;
      gap: 0.12rem;
      min-width: 0;
      overflow-wrap: anywhere;
    }

    .admin-order-detail strong {
      color: rgba(255, 255, 255, 0.88);
      font-size: 0.76rem;
      text-transform: uppercase;
    }

    .wallet-positive {
      color: rgb(var(--orz-accent-rgb));
    }

    .wallet-negative {
      color: #fca5a5;
    }

    .wallet-admin-panel {
      margin-top: 1.25rem;
    }

    .wallet-admin-toolbar {
      display: grid;
      grid-template-columns: minmax(240px, 1fr) auto auto;
      gap: 0.75rem;
      align-items: end;
      margin: 1rem 0 0.75rem;
    }

    .wallet-admin-toolbar .field-group,
    .wallet-admin-toolbar .permission-count {
      margin: 0;
    }

    .wallet-admin-transfer-form {
      display: grid;
      grid-template-columns: minmax(220px, 1.15fr) minmax(220px, 1fr) minmax(220px, 1fr) minmax(120px, 0.42fr) minmax(180px, 0.75fr) auto;
      gap: 0.75rem;
      align-items: end;
      margin: 0.9rem 0 1rem;
      padding: 0.9rem;
      border: 1px solid rgba(255, 255, 255, 0.08);
      background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.055), transparent 48%),
        rgba(0, 0, 0, 0.18);
      border-radius: 8px;
    }

    .wallet-admin-funding-form {
      grid-template-columns: minmax(220px, 1.15fr) minmax(240px, 1.1fr) minmax(120px, 0.42fr) minmax(170px, 0.72fr) minmax(190px, 0.78fr) auto;
      border-color: rgba(68, 201, 162, 0.22);
      background:
        linear-gradient(135deg, rgba(68, 201, 162, 0.1), transparent 46%),
        rgba(0, 0, 0, 0.18);
    }

    .wallet-admin-transfer-copy {
      display: grid;
      gap: 0.22rem;
      align-self: center;
    }

    .wallet-admin-transfer-copy h4 {
      color: #ffffff;
      font-size: 0.98rem;
      font-weight: 950;
    }

    .wallet-admin-transfer-copy p {
      margin: 0;
      color: rgba(246, 247, 251, 0.58);
      font-size: 0.8rem;
      font-weight: 750;
      line-height: 1.45;
    }

    .wallet-admin-transfer-form .field-group,
    .wallet-admin-transfer-form .auth-message {
      margin: 0;
    }

    .wallet-admin-transfer-form select,
    .wallet-admin-transfer-form input {
      min-width: 0;
    }

    .wallet-transfer-note-field {
      min-width: 0;
    }

    .wallet-admin-transfer-form .auth-submit {
      min-height: 48px;
      padding-inline: 1rem;
      white-space: nowrap;
    }

    .wallet-admin-transfer-form .auth-message {
      grid-column: 2 / -1;
      min-height: 1rem;
    }

    .wallet-admin-summary {
      display: grid;
      gap: 0.85rem;
      margin: 1rem 0;
      padding: 0.9rem;
      border: 1px solid rgba(var(--orz-accent-rgb), 0.18);
      background:
        linear-gradient(135deg, rgba(var(--orz-accent-rgb), 0.1), transparent 34%),
        rgba(255, 255, 255, 0.035);
      border-radius: 8px;
    }

    .wallet-admin-summary-copy {
      display: grid;
      gap: 0.25rem;
    }

    .wallet-admin-summary-copy strong {
      color: #ffffff;
      font-size: 0.98rem;
      font-weight: 950;
    }

    .wallet-admin-summary-copy span,
    .wallet-admin-summary-note {
      margin: 0;
      color: rgba(246, 247, 251, 0.58);
      font-size: 0.82rem;
      font-weight: 750;
      line-height: 1.45;
    }

    .wallet-admin-summary-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 0.55rem;
    }

    .wallet-admin-summary-grid span {
      display: grid;
      gap: 0.22rem;
      min-height: 68px;
      padding: 0.75rem;
      border: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(0, 0, 0, 0.22);
      border-radius: 8px;
    }

    .wallet-admin-summary-grid strong {
      color: #ffffff;
      font-size: 1.05rem;
      line-height: 1;
    }

    .wallet-admin-summary-grid small {
      color: rgba(246, 247, 251, 0.54);
      font-size: 0.75rem;
      font-weight: 850;
      text-transform: uppercase;
    }

    .wallet-admin-wallet-list {
      margin-bottom: 1rem;
      padding-bottom: 1rem;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .wallet-admin-subhead {
      display: grid;
      gap: 0.25rem;
      margin: 1.1rem 0 0.35rem;
      padding-top: 1rem;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .wallet-admin-subhead h4 {
      color: #ffffff;
      font-size: 1rem;
      font-weight: 950;
    }

    .wallet-admin-subhead p {
      max-width: 760px;
      color: rgba(246, 247, 251, 0.6);
      font-size: 0.88rem;
    }

    .admin-wallet-overview-row {
      grid-template-columns: minmax(0, 1fr) auto auto;
    }

    .wallet-chart-row {
      width: 100%;
      color: var(--text-main);
      font: inherit;
      text-align: left;
      cursor: pointer;
    }

    .wallet-row-action {
      min-height: 42px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 0.9rem;
      border: 1px solid rgba(var(--orz-accent-rgb), 0.34);
      background:
        linear-gradient(135deg, rgba(var(--orz-accent-rgb), 0.16), rgba(255, 255, 255, 0.05)),
        rgba(8, 8, 10, 0.72);
      color: #ffffff;
      font-size: 0.8rem;
      font-weight: 900;
      white-space: nowrap;
      -webkit-clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
      clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
    }

    .wallet-chart-row:hover {
      border-color: rgba(var(--orz-accent-rgb), 0.42);
      background:
        linear-gradient(135deg, rgba(var(--orz-accent-rgb), 0.14), transparent 42%),
        rgba(255, 255, 255, 0.055);
    }

    .wallet-admin-row {
      grid-template-columns: minmax(0, 1fr) auto minmax(260px, 0.75fr);
    }

    .payout-method-row {
      grid-template-columns: minmax(0, 1fr) auto auto;
    }

    .refund-admin-row {
      border-left: 3px solid rgba(246, 196, 83, 0.72);
    }

    .refund-admin-row.is-success {
      border-left-color: #2ddf8a;
    }

    .refund-admin-row.is-danger {
      border-left-color: #ff6b6b;
    }

    .wallet-admin-actions {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto auto;
      gap: 0.55rem;
      align-items: center;
    }

    .wallet-admin-actions input {
      min-width: 0;
    }

    .refund-admin-row .wallet-admin-actions {
      grid-template-columns: minmax(96px, 0.42fr) minmax(0, 1fr) auto auto;
    }

    .payout-method-admin-row .wallet-admin-actions {
      grid-template-columns: minmax(0, 1fr) auto auto auto;
    }

    .refund-dialog {
      width: min(640px, calc(100vw - 2rem));
    }

    .refund-dialog-warning {
      padding: 0.75rem 0.85rem;
      border: 1px solid rgba(246, 196, 83, 0.22);
      background: rgba(246, 196, 83, 0.08);
      color: rgba(255, 246, 247, 0.78);
    }

    .policy-page {
      padding-top: clamp(8rem, 14vw, 11rem);
    }

    .policy-layout {
      display: grid;
      gap: 1rem;
      max-width: 980px;
      margin: 0 auto;
    }

    .policy-panel {
      display: grid;
      gap: 1rem;
      padding: clamp(1.1rem, 2.4vw, 1.75rem);
      border: 1px solid rgba(var(--orz-accent-rgb), 0.22);
      background:
        linear-gradient(135deg, rgba(var(--orz-accent-rgb), 0.09), transparent 36%),
        rgba(255, 255, 255, 0.035);
      -webkit-clip-path: polygon(16px 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
      clip-path: polygon(16px 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
    }

    .policy-panel h3 {
      color: #ffffff;
      font-size: clamp(1.05rem, 1.5vw, 1.32rem);
      font-weight: 950;
      line-height: 1.25;
    }

    .policy-panel p,
    .policy-panel li {
      color: rgba(246, 247, 251, 0.72);
      font-size: 0.96rem;
      line-height: 1.72;
    }

    .policy-panel ul {
      display: grid;
      gap: 0.45rem;
      padding-left: 1.1rem;
    }

    .policy-updated {
      color: rgba(246, 247, 251, 0.58);
      font-size: 0.86rem;
      font-weight: 800;
    }

    @media (max-width: 1024px) {
      .wallet-grid,
      .wallet-admin-toolbar,
      .wallet-admin-transfer-form,
      .wallet-admin-summary-grid,
      .admin-wallet-overview-row,
      .wallet-admin-row,
      .payout-method-row,
      .wallet-pocket-management-row,
      .wallet-pocket-method-row,
      .wallet-team-form,
      .wallet-team-grid,
      .wallet-team-row,
      .wallet-pocket-form {
        grid-template-columns: 1fr;
      }

      .wallet-pocket-actions,
      .wallet-team-actions {
        justify-content: flex-start;
      }

      .wallet-admin-actions,
      .payout-method-admin-row .wallet-admin-actions {
        grid-template-columns: 1fr;
      }

      .wallet-admin-transfer-form .auth-message {
        grid-column: 1;
      }

      .wallet-row-action {
        width: 100%;
      }

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

    @media (max-width: 680px) {
      .wallet-stat-grid {
        grid-template-columns: 1fr;
      }

      .wallet-row {
        grid-template-columns: 1fr;
      }
    }

    .sales-chart-section {
      position: relative;
    }

    .sales-stat-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1rem;
      margin-bottom: 1.25rem;
    }

    .sales-stat-card {
      display: grid;
      gap: 0.25rem;
      min-height: 170px;
      border-color: rgba(var(--orz-accent-rgb), 0.28);
      background:
        linear-gradient(135deg, rgba(var(--orz-accent-rgb), 0.14), transparent 42%),
        linear-gradient(180deg, rgba(18, 17, 19, 0.98), rgba(4, 4, 5, 0.96));
      -webkit-clip-path: polygon(18px 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
      clip-path: polygon(18px 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
    }

    .sales-stat-label {
      color: rgba(246, 247, 251, 0.62);
      font-size: 0.78rem;
      font-weight: 900;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .sales-stat-card strong {
      color: #ffffff;
      font-size: clamp(2.5rem, 7vw, 5.1rem);
      line-height: 0.9;
    }

    .sales-stat-card small {
      color: rgba(246, 247, 251, 0.6);
      font-size: 0.82rem;
      text-transform: uppercase;
    }

    .sales-stat-card span:last-child {
      color: rgb(var(--orz-accent-rgb));
      font-size: 1.25rem;
      font-weight: 950;
    }

    .sales-chart-panel,
    .sales-list-panel {
      border-color: rgba(var(--orz-accent-rgb), 0.26);
      background:
        linear-gradient(135deg, rgba(var(--orz-accent-rgb), 0.1), transparent 36%),
        linear-gradient(180deg, rgba(18, 18, 20, 0.97), rgba(5, 5, 6, 0.94));
      box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
    }

    .sales-list-panel {
      margin-top: 1.25rem;
    }

    .sales-chart-toolbar {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 1rem;
      margin-bottom: 1rem;
    }

    .sales-chart-toolbar > div:first-child {
      display: grid;
      gap: 0.3rem;
    }

    .sales-chart-admin-filter {
      display: grid;
      grid-template-columns: minmax(210px, 320px) auto;
      gap: 0.55rem;
      align-items: end;
      margin-left: auto;
    }

    .sales-chart-admin-filter label {
      grid-column: 1 / -1;
      color: rgba(246, 247, 251, 0.62);
      font-size: 0.76rem;
      font-weight: 900;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .sales-chart-admin-filter select {
      min-height: 42px;
      width: 100%;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: var(--border-radius);
      background: rgba(255, 255, 255, 0.045);
      color: var(--text-main);
      font: inherit;
      padding: 0 0.8rem;
      outline: none;
      color-scheme: dark;
    }

    [data-theme="light"] .sales-chart-admin-filter select {
      color-scheme: light;
    }

    .sales-chart-admin-filter select option {
      background-color: var(--select-popup-bg);
      color: var(--select-popup-text);
    }

    .sales-period-tabs {
      display: inline-flex;
      flex-wrap: wrap;
      gap: 0.55rem;
      justify-content: flex-end;
    }

    .sales-period-tabs .ghost-button {
      min-height: 42px;
      padding-inline: 1rem;
    }

    .sales-period-tabs .ghost-button.active {
      border-color: rgba(var(--orz-accent-rgb), 0.7);
      background:
        linear-gradient(135deg, rgba(var(--orz-accent-rgb), 0.34), rgba(255, 255, 255, 0.08)),
        rgba(10, 10, 11, 0.92);
      color: #ffffff;
      box-shadow: 0 0 0 1px rgba(var(--orz-accent-rgb), 0.22), 0 12px 28px rgba(var(--orz-accent-rgb), 0.18);
    }

    .sales-chart-canvas {
      min-height: 330px;
      overflow-x: auto;
      overflow-y: hidden;
      border: 1px solid rgba(255, 255, 255, 0.08);
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
        rgba(0, 0, 0, 0.2);
      -webkit-clip-path: polygon(16px 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
      clip-path: polygon(16px 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
    }

    .sales-line-chart {
      display: block;
      width: 100%;
      min-width: 760px;
      height: auto;
    }

    .sales-chart-gridline line {
      stroke: rgba(255, 255, 255, 0.08);
      stroke-width: 1;
    }

    .sales-chart-gridline text,
    .sales-chart-x {
      fill: rgba(246, 247, 251, 0.52);
      font-size: 12px;
      font-weight: 800;
    }

    .sales-chart-area {
      fill: rgba(var(--orz-accent-rgb), 0.16);
    }

    .sales-chart-line {
      fill: none;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .revenue-line {
      stroke: rgb(var(--orz-accent-rgb));
      stroke-width: 4;
      filter: drop-shadow(0 0 10px rgba(var(--orz-accent-rgb), 0.4));
    }

    .count-line {
      stroke: rgba(255, 255, 255, 0.72);
      stroke-width: 2;
      stroke-dasharray: 7 8;
    }

    .sales-chart-point {
      fill: #ffffff;
      stroke: rgb(var(--orz-accent-rgb));
      stroke-width: 2;
    }

    .sales-entry-row {
      grid-template-columns: minmax(0, 1fr) minmax(96px, auto);
    }

    .creator-store-profile {
      position: relative;
      overflow: hidden;
      padding: 0 0 clamp(3rem, 6vw, 6rem);
      background:
        linear-gradient(180deg, rgba(3, 3, 4, 0.2), #030304 36%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.024) 0 1px, transparent 1px 120px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 120px),
        #030304 !important;
    }

    .creator-store-cover {
      position: relative;
      min-height: clamp(250px, 31vw, 430px);
      background:
        linear-gradient(90deg, rgba(3, 3, 4, 0.9), rgba(var(--orz-accent-rgb), 0.18) 50%, rgba(3, 3, 4, 0.92)),
        linear-gradient(0deg, rgba(3, 3, 4, 0.96), rgba(3, 3, 4, 0.12) 55%, rgba(3, 3, 4, 0.54)),
        url("../image/bg_start.jpg") center / cover;
      border-bottom: 1px solid rgba(var(--orz-accent-rgb), 0.34);
      box-shadow: inset 0 -70px 90px rgba(3, 3, 4, 0.96), 0 22px 60px rgba(0, 0, 0, 0.48);
      isolation: isolate;
    }

    .creator-store-cover.has-cover-image {
      background-position: center;
      background-size: cover;
    }

    .creator-store-cover.has-profile-background {
      box-shadow: inset 0 -54px 78px rgba(3, 3, 4, 0.84), 0 22px 60px rgba(0, 0, 0, 0.44);
    }

    .creator-store-cover::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
      background-size: 120px 120px;
      opacity: 0.46;
      mask-image: linear-gradient(180deg, black, transparent 86%);
    }

    .creator-store-cover.has-profile-background::before {
      opacity: 0.18;
    }

    .creator-cover-grid {
      position: absolute;
      inset: 0;
      background:
        linear-gradient(135deg, transparent 0 44%, rgba(var(--orz-accent-rgb), 0.22) 45% 46%, transparent 47%),
        linear-gradient(315deg, transparent 0 62%, rgba(255, 255, 255, 0.09) 63% 64%, transparent 65%);
      opacity: 0.75;
      pointer-events: none;
    }

    .creator-store-cover.has-profile-background .creator-cover-grid {
      opacity: 0.16;
    }

    .creator-cover-mark {
      position: absolute;
      right: clamp(1.25rem, 6vw, 7rem);
      bottom: clamp(2.5rem, 7vw, 6rem);
      color: rgba(255, 255, 255, 0.05);
      font-size: clamp(4.5rem, 15vw, 14rem);
      font-weight: 950;
      line-height: 0.75;
      pointer-events: none;
      text-shadow: 0 0 44px rgba(var(--orz-accent-rgb), 0.22);
    }

    .creator-store-cover.has-profile-background .creator-cover-mark {
      color: rgba(255, 255, 255, 0.035);
      text-shadow: 0 0 28px rgba(0, 0, 0, 0.24);
    }

    .creator-store-container {
      position: relative;
      z-index: 2;
      margin-top: clamp(-7.4rem, -9vw, -4.75rem);
    }

    .creator-store-bar {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      align-items: end;
      gap: clamp(1rem, 2.2vw, 2rem);
      min-height: 172px;
      padding: clamp(1rem, 2vw, 1.45rem);
      border: 1px solid rgba(var(--orz-accent-rgb), 0.34);
      background:
        linear-gradient(100deg, rgba(5, 5, 7, 0.96), rgba(var(--orz-accent-rgb), 0.18) 52%, rgba(6, 5, 6, 0.94)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 15px);
      -webkit-clip-path: polygon(28px 0, 100% 0, calc(100% - 28px) 100%, 0 100%);
      clip-path: polygon(28px 0, 100% 0, calc(100% - 28px) 100%, 0 100%);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 26px 64px rgba(0, 0, 0, 0.44),
        0 0 34px rgba(var(--orz-accent-rgb), 0.15);
    }

    .creator-store-profile .creator-profile-avatar {
      width: clamp(124px, 13vw, 168px);
      height: clamp(124px, 13vw, 168px);
      padding: 5px;
      border: 1px solid rgba(255, 255, 255, 0.26);
      background:
        linear-gradient(135deg, rgba(var(--orz-accent-rgb), 0.88), rgba(255, 255, 255, 0.24) 46%, rgba(0, 0, 0, 0.9));
      -webkit-clip-path: polygon(12% 0, 100% 0, 100% 82%, 82% 100%, 0 100%, 0 12%);
      clip-path: polygon(12% 0, 100% 0, 100% 82%, 82% 100%, 0 100%, 0 12%);
      box-shadow: 0 18px 42px rgba(0, 0, 0, 0.44), 0 0 28px rgba(var(--orz-accent-rgb), 0.22);
    }

    .creator-store-profile .creator-profile-avatar img {
      -webkit-clip-path: polygon(12% 0, 100% 0, 100% 82%, 82% 100%, 0 100%, 0 12%);
      clip-path: polygon(12% 0, 100% 0, 100% 82%, 82% 100%, 0 100%, 0 12%);
    }

    .creator-store-identity {
      display: grid;
      min-width: 0;
      gap: 0.55rem;
    }

    .creator-store-identity .section-title {
      margin: 0;
      font-size: clamp(2.15rem, 5vw, 5rem);
      line-height: 0.96;
    }

    .creator-store-identity .page-lede {
      max-width: 760px;
      margin: 0;
      color: rgba(255, 246, 247, 0.72);
      font-size: clamp(0.98rem, 1.4vw, 1.12rem);
    }

    .creator-profile-stats {
      display: grid;
      grid-template-columns: repeat(4, minmax(112px, 1fr));
      gap: 0.65rem;
      max-width: 760px;
      margin-top: 0.3rem;
    }

    .creator-profile-stats span {
      display: grid;
      gap: 0.2rem;
      min-height: 64px;
      padding: 0.7rem 0.9rem;
      border: 1px solid rgba(var(--orz-accent-rgb), 0.22);
      background:
        linear-gradient(145deg, rgba(var(--orz-accent-rgb), 0.12), rgba(255, 255, 255, 0.025)),
        rgba(0, 0, 0, 0.28);
      -webkit-clip-path: var(--orz-button-cut-small);
      clip-path: var(--orz-button-cut-small);
    }

    .creator-profile-stats strong {
      color: #ffffff;
      font-size: clamp(1.1rem, 2vw, 1.45rem);
      line-height: 1;
      white-space: nowrap;
    }

    .creator-profile-stats small {
      color: rgba(255, 246, 247, 0.56);
      font-size: 0.72rem;
      font-weight: 900;
      letter-spacing: 0;
      text-transform: uppercase;
    }

    .creator-store-profile .creator-profile-actions {
      align-self: center;
      min-width: min(100%, 360px);
    }

    .creator-store-profile .creator-profile-actions > * {
      min-height: 44px;
      white-space: nowrap;
    }

    .creator-follow-button.is-following {
      border-color: rgba(255, 255, 255, 0.42) !important;
      background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(var(--orz-accent-rgb), 0.12)),
        rgba(7, 8, 10, 0.96) !important;
    }

    .creator-products-head {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 1.25rem;
      margin: clamp(2rem, 4vw, 3.5rem) 0 1.25rem;
      padding-bottom: 1rem;
      border-bottom: 1px solid rgba(var(--orz-accent-rgb), 0.22);
    }

    .creator-products-head .panel-title {
      margin: 0.2rem 0 0;
      font-size: clamp(1.75rem, 3.2vw, 3.2rem);
    }

    .creator-products-head .panel-copy {
      max-width: 760px;
      margin: 0.35rem 0 0;
    }

    .creator-store-products {
      grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
      gap: clamp(1rem, 2vw, 1.45rem);
    }

    .creator-store-products .product-block {
      min-height: 410px;
      background:
        linear-gradient(145deg, rgba(var(--orz-accent-rgb), 0.09), transparent 32%),
        rgba(8, 8, 10, 0.94) !important;
    }

    .creator-store-products .product-image {
      height: clamp(210px, 17vw, 280px);
    }

    .creator-store-products .product-title {
      font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    }

    .creator-store-profile .catalog-empty {
      margin-top: 1.25rem;
    }

    @media (max-width: 900px) {
      .sales-stat-grid {
        grid-template-columns: 1fr;
      }

      .sales-chart-toolbar {
        display: grid;
      }

      .sales-chart-admin-filter {
        grid-template-columns: minmax(0, 1fr) auto;
        margin-left: 0;
      }

      .sales-period-tabs {
        justify-content: flex-start;
      }
    }

    @media (max-width: 680px) {
      .sales-stat-card {
        min-height: 138px;
      }

      .sales-chart-canvas {
        min-height: 280px;
      }

      .sales-line-chart {
        min-width: 680px;
      }

      .sales-entry-row {
        grid-template-columns: 1fr;
      }

      .creator-store-container {
        margin-top: -4.5rem;
      }

      .creator-store-bar {
        grid-template-columns: 1fr;
        align-items: start;
        -webkit-clip-path: polygon(18px 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
        clip-path: polygon(18px 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
      }

      .creator-store-profile .creator-profile-actions {
        justify-content: flex-start;
        min-width: 0;
      }

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

      .creator-products-head {
        align-items: flex-start;
        flex-direction: column;
      }
    }

    @media (max-width: 768px) {
      .premium-navbar,
      .premium-navbar.scrolled {
        height: 80px;
      }

      .logo img {
        height: 44px;
      }
    }

    @media (max-width: 480px) {
      .btn-balanced-primary,
      .btn-balanced-secondary,
      .auth-submit,
      .checkout-button,
      .ghost-button,
      .filter-button,
      .link-blocky,
      .btn-blocky-secondary,
      .add-cart-button,
      .mini-cart-button,
      .danger-button,
      .auth-tab,
      .promotion-days-select {
        -webkit-clip-path: var(--orz-button-cut-small) !important;
        clip-path: var(--orz-button-cut-small) !important;
      }

      .logo img {
        height: 38px;
      }
    }

    .mailbox-nav-link {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
    }

    .mailbox-action {
      flex: 0 0 auto;
    }

    .mailbox-action.has-unread {
      border-color: rgba(var(--orz-accent-rgb), 0.52);
      color: #ffffff;
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 0 18px rgba(var(--orz-accent-rgb), 0.28);
    }

    .mailbox-action.active {
      border-color: rgba(255, 43, 66, 0.42) !important;
      color: #ffffff !important;
      background:
        radial-gradient(circle at 50% 50%, rgba(255, 43, 66, 0.22), transparent 58%),
        var(--orz-metal-dark, var(--metal-button-face-dark)) !important;
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 -1px 0 rgba(0, 0, 0, 0.8),
        0 8px 18px rgba(0, 0, 0, 0.38),
        0 0 18px rgba(255, 43, 66, 0.34) !important;
    }

    .mailbox-action svg {
      pointer-events: none;
    }

    .mailbox-count {
      display: inline-flex;
      min-width: 1.35rem;
      height: 1.35rem;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      background: var(--accent-green);
      color: #13080b;
      font-size: 0.72rem;
      font-weight: 950;
      line-height: 1;
      box-shadow: 0 0 18px rgba(255, 43, 66, 0.42);
      z-index: 4;
    }

    .mailbox-action .mailbox-count {
      position: absolute;
      top: -7px;
      right: -7px;
      min-width: 20px;
      width: auto;
      height: 20px;
      padding: 0 0.32rem;
      border: 2px solid rgba(19, 8, 11, 0.9);
      font-size: 0.68rem;
      line-height: 1;
      pointer-events: none;
    }

    .mailbox-toolbar {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 0.75rem;
      flex-wrap: wrap;
    }

    .mailbox-list {
      display: grid;
      gap: 0.85rem;
    }

    .mailbox-item {
      display: grid;
      grid-template-columns: 46px minmax(0, 1fr) auto;
      gap: 0.9rem;
      align-items: start;
      padding: 1rem;
      border: 1px solid rgba(255, 255, 255, 0.07);
      border-left: 3px solid rgba(255, 255, 255, 0.18);
      border-radius: var(--border-radius-lg);
      background: rgba(255, 255, 255, 0.035);
    }

    .mailbox-item.unread {
      background:
        linear-gradient(135deg, rgba(255, 43, 66, 0.1), rgba(255, 255, 255, 0.035)),
        rgba(255, 255, 255, 0.04);
    }

    .mailbox-item.is-success {
      border-left-color: #2ddf8a;
    }

    .mailbox-item.is-warning {
      border-left-color: #f6c453;
    }

    .mailbox-item.is-danger {
      border-left-color: #ff6b6b;
    }

    .mailbox-icon {
      display: inline-grid;
      width: 42px;
      height: 42px;
      place-items: center;
      border: 1px solid rgba(255, 43, 66, 0.28);
      border-radius: 8px;
      background: rgba(255, 43, 66, 0.1);
      color: var(--text-main);
      font-weight: 950;
    }

    .mailbox-copy {
      min-width: 0;
    }

    .mailbox-topline {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      margin-bottom: 0.35rem;
    }

    .mailbox-topline strong {
      color: var(--text-main);
      font-size: 1rem;
      font-weight: 950;
      line-height: 1.25;
    }

    .mailbox-status {
      flex: 0 0 auto;
      color: var(--accent-gold);
      font-size: 0.72rem;
      font-weight: 950;
      text-transform: uppercase;
    }

    .mailbox-item.read .mailbox-status {
      color: rgba(255, 255, 255, 0.45);
    }

    .mailbox-copy p {
      margin: 0;
      color: var(--text-muted);
      line-height: 1.55;
    }

    .mailbox-meta {
      display: block;
      margin-top: 0.45rem;
      color: rgba(255, 255, 255, 0.48);
      font-size: 0.8rem;
      font-weight: 750;
    }

    .mailbox-actions {
      display: flex;
      min-width: 170px;
      justify-content: flex-end;
      gap: 0.55rem;
      flex-wrap: wrap;
    }

    .mailbox-action-link {
      text-align: center;
    }

    @media (max-width: 760px) {
      .mailbox-item {
        grid-template-columns: 40px minmax(0, 1fr);
      }

      .mailbox-actions {
        grid-column: 1 / -1;
        min-width: 0;
        justify-content: flex-start;
      }

      .mailbox-toolbar {
        justify-content: flex-start;
      }
    }

    .compact-section-header {
      align-items: flex-start;
      margin-bottom: 1rem;
    }

    .catalog-search-toolbar {
      display: grid;
      grid-template-columns: minmax(220px, 1.4fr) minmax(130px, 0.7fr) minmax(130px, 0.7fr) minmax(120px, 0.55fr) auto auto;
      gap: 0.85rem;
      align-items: end;
      margin: 0 0 1.2rem;
      padding: 1rem;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.035);
    }

    .wallet-payout-method-panel {
      margin-top: 1rem;
    }

    .wallet-payout-method-form,
    .admin-settings-form {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
      gap: 0.9rem;
      align-items: end;
    }

    .wallet-bank-fields {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0.9rem;
      grid-column: 1 / -1;
    }

    .wallet-bank-fields[hidden] {
      display: none;
    }

    .admin-settings-form {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .settings-check-row {
      display: flex;
      align-items: center;
      gap: 0.65rem;
      min-height: 44px;
      color: var(--text-muted);
      font-weight: 750;
      line-height: 1.35;
    }

    .settings-check-row input {
      width: 18px;
      height: 18px;
      accent-color: var(--accent-green);
      flex: 0 0 auto;
    }

    .status-chip {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 88px;
      padding: 0.45rem 0.65rem;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 6px;
      background: rgba(255, 255, 255, 0.06);
      color: var(--text-muted);
      font-size: 0.74rem;
      font-weight: 950;
      text-transform: uppercase;
    }

    .status-chip.is-success,
    .permission-status.is-success {
      border-color: rgba(45, 223, 138, 0.34);
      background: rgba(45, 223, 138, 0.11);
      color: #bdf9d7;
    }

    .status-chip.is-warning,
    .permission-status.is-warning {
      border-color: rgba(246, 196, 83, 0.34);
      background: rgba(246, 196, 83, 0.12);
      color: #ffe3a0;
    }

    .status-chip.is-danger,
    .permission-status.is-danger {
      border-color: rgba(255, 107, 107, 0.34);
      background: rgba(255, 107, 107, 0.12);
      color: #ffb4b4;
    }

    .readiness-summary,
    #admin-readiness-summary {
      display: flex;
      align-items: center;
      gap: 0.55rem;
      flex-wrap: wrap;
      margin: 0.3rem 0 1rem;
    }

    .readiness-pill {
      display: inline-flex;
      align-items: center;
      min-height: 32px;
      padding: 0.35rem 0.6rem;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 6px;
      background: rgba(255, 255, 255, 0.05);
      color: var(--text-muted);
      font-size: 0.76rem;
      font-weight: 900;
      text-transform: uppercase;
    }

    .readiness-pill.is-success {
      border-color: rgba(45, 223, 138, 0.28);
      background: rgba(45, 223, 138, 0.1);
      color: #bdf9d7;
    }

    .readiness-pill.is-warning {
      border-color: rgba(246, 196, 83, 0.3);
      background: rgba(246, 196, 83, 0.11);
      color: #ffe3a0;
    }

    .readiness-pill.is-danger {
      border-color: rgba(255, 107, 107, 0.32);
      background: rgba(255, 107, 107, 0.11);
      color: #ffb4b4;
    }

    .readiness-meta {
      color: var(--text-muted);
      font-size: 0.82rem;
      font-weight: 750;
    }

    .env-check-category {
      margin: 0.95rem 0 0.35rem;
      color: var(--accent-gold);
      font-size: 0.78rem;
      font-weight: 950;
      letter-spacing: 0;
      text-transform: uppercase;
    }

    .env-check-row.blocker {
      border-color: rgba(255, 107, 107, 0.18);
    }

    .env-check-row.warning {
      border-color: rgba(246, 196, 83, 0.16);
    }

    .admin-ops-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1rem;
      margin-bottom: 1rem;
    }

    .admin-ops-card {
      margin-bottom: 1rem;
    }

    .admin-ops-toolbar {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 1rem;
      margin-bottom: 1rem;
      flex-wrap: wrap;
    }

    .admin-export-actions {
      display: flex;
      gap: 0.65rem;
      flex-wrap: wrap;
    }

    .admin-stat-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 0.75rem;
    }

    .admin-stat {
      display: grid;
      gap: 0.25rem;
      min-height: 72px;
      padding: 0.85rem;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.04);
    }

    .admin-stat small {
      color: var(--text-muted);
      font-size: 0.76rem;
      font-weight: 850;
      text-transform: uppercase;
    }

    .admin-stat strong {
      color: var(--text-main);
      font-size: 1.05rem;
      font-weight: 950;
      overflow-wrap: anywhere;
    }

    .admin-security-row {
      margin-bottom: 1rem;
      padding: 0.9rem;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.04);
    }

    .admin-security-row span,
    .admin-security-row small {
      display: block;
    }

    .admin-security-row strong {
      color: var(--text-main);
      font-weight: 950;
    }

    .admin-security-row small {
      margin-top: 0.35rem;
      color: var(--text-muted);
      line-height: 1.45;
    }

    .permission-role-select {
      min-width: 118px;
      height: 42px;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 6px;
      background: rgba(8, 8, 10, 0.86);
      color: var(--text-main);
      font-weight: 850;
      padding: 0 0.65rem;
    }

    .product-review-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      margin-top: 0.75rem;
      flex-wrap: wrap;
    }

    .report-inline-button {
      min-height: 34px;
      padding: 0.35rem 0.7rem;
      font-size: 0.74rem;
    }

    .report-dialog textarea,
    .refund-dialog textarea {
      resize: vertical;
    }

    .admin-two-factor-panel {
      margin-top: 1rem;
    }

    @media (max-width: 980px) {
      .admin-ops-grid,
      .admin-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .wallet-payout-method-form,
      .wallet-bank-fields,
      .admin-settings-form,
      .catalog-search-toolbar {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 680px) {
      .admin-ops-grid,
      .admin-stat-grid,
      .wallet-payout-method-form,
      .wallet-bank-fields,
      .admin-settings-form,
      .catalog-search-toolbar {
        grid-template-columns: 1fr;
      }

      .admin-ops-toolbar {
        align-items: stretch;
      }

      .admin-export-actions,
      .admin-export-actions .ghost-button {
        width: 100%;
      }
    }
