:root {
      /* Dark palette */
      --tko-bg: #000000;
      --tko-bg-2: #0b0b0d;
      --tko-card: #111114;
      --tko-card-2: #16161a;
      --tko-border: #232327;
      --tko-border-2: #2c2c33;
      --tko-text: #f5f5f7;
      --tko-text-2: #d8d8de;
      --tko-muted: #9da3ad;
      --tko-muted-2: #6b7280;
      --tko-accent: #ff5f6d;
      --tko-accent-strong: #ff3b4f;
      --tko-orange: #fb923c;
      --tko-link: #60a5fa;
      --tko-yellow: #fbbf24;
      --tko-green: #34d399;
      --tko-bar-bg: #1f1f24;
      --tko-card-shadow: 0 1px 0 rgba(255,255,255,.02), 0 8px 24px rgba(0,0,0,.45);
    }
    * { box-sizing: border-box; }
    html { color-scheme: dark; }
    body.tko-body {
      background: var(--tko-bg);
      color: var(--tko-text);
      font-family: 'Space Grotesk', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
      min-height: 100vh;
      margin: 0;
      font-size: 14px;
      font-feature-settings: "cv11","ss01","ss03";
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      letter-spacing: -0.005em;
      overflow-x: clip !important;
    }
    body.tko-body h1, body.tko-body h2, body.tko-body h3 {
      font-family: 'Space Grotesk', system-ui, sans-serif;
      letter-spacing: -0.02em;
    }
    body.tko-body ::selection { background: rgba(255,95,109,.35); color: #fff; }

    /* Keep store navbar stacking aligned with order_gamekey.php. */
    .nx-nav-wrap { z-index: 50; }
    body.tko-body .overlay { z-index: 60; }
    body.tko-body .drawer { z-index: 70; }

    .tko-wrap { max-width: 1200px; margin: 0 auto; padding: 22px 20px 60px; }

    /* ── Header card 3-column (Itemku-style) ─────────────────── */
    .tko-header-card {
      background: var(--tko-card);
      border-radius: 14px;
      padding: 24px 28px;
      box-shadow: var(--tko-card-shadow);
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr) minmax(0, 1.15fr);
      gap: 28px;
      margin-bottom: 18px;
      align-items: stretch;
    }
    @media (max-width: 1024px) {
      .tko-header-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
      .tko-hd-rating { grid-column: 1 / -1; }
    }
    @media (max-width: 720px) {
      .tko-header-card { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
    }

    /* ── Seller banner (cover) ───────────────────────────────── */
    .tko-banner {
      position: relative;
      width: 100%;
      aspect-ratio: 1200 / 220;
      max-height: 220px;
      border-radius: 16px;
      overflow: hidden;
      margin-bottom: 18px;
      background: linear-gradient(135deg, var(--tko-card-2), var(--tko-card));
      border: 1px solid var(--tko-border);
      box-shadow: var(--tko-card-shadow);
    }
    .tko-banner img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    .tko-banner::after {
      content: '';
      position: absolute;
      inset: 0;
      pointer-events: none;
      background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.45) 100%);
    }
    @media (max-width: 720px) {
      .tko-banner { aspect-ratio: 1200 / 300; max-height: 150px; border-radius: 12px; margin-bottom: 14px; }
    }

    /* Column 1: shop info */
    .tko-hd-shop { display: flex; gap: 14px; align-items: flex-start; }
    .tko-hd-shop-avatar {
      width: 70px; height: 70px; border-radius: 14px; flex-shrink: 0;
      background: linear-gradient(135deg, #6366f1, #4338ca);
      display: flex; align-items: center; justify-content: center;
      color: #fff; font-size: 28px;
      overflow: hidden;
    }
    .tko-hd-shop-avatar img { width: 100%; height: 100%; object-fit: cover; }
    .tko-hd-shop-meta { flex: 1; min-width: 0; }
    .tko-hd-shop-name-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
    .tko-hd-status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tko-green); display: inline-block; flex-shrink: 0; box-shadow: 0 0 0 3px rgba(52,211,153,.18); }
    .tko-hd-shop-name { font-size: 20px; font-weight: 800; margin: 0; color: var(--tko-text); letter-spacing: -.02em; }
    .tko-hd-share { color: var(--tko-muted-2); cursor: pointer; font-size: 14px; transition: color .15s; }
    .tko-hd-share:hover { color: var(--tko-link); }
    .tko-hd-line { font-size: 12.5px; color: var(--tko-muted); margin-bottom: 5px; line-height: 1.5; }
    .tko-hd-line.online,
    .tko-hd-line.offline { display: inline-flex; align-items: center; gap: 6px; }
    .tko-hd-line.online { color: #10b981; font-weight: 600; }
    .tko-hd-line.offline { color: var(--tko-muted); }
    .tko-hd-line.online::before,
    .tko-hd-line.offline::before { content: ""; width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
    .tko-hd-line.online::before { background: #10b981; box-shadow: 0 0 0 2px rgba(16,185,129,.25); }
    .tko-hd-line.offline::before { background: #9ca3af; }

    /* Column 2: transaksi */
    .tko-hd-section-title { font-size: 14px; font-weight: 800; color: var(--tko-text); margin-bottom: 10px; letter-spacing: -.01em; }
    .tko-hd-trx { background: var(--tko-card-2); border-radius: 12px; padding: 14px 18px; }
    .tko-hd-trx-row { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 0; font-size: 13px; }
    .tko-hd-trx-row + .tko-hd-trx-row { border-top: 1px solid var(--tko-border); }
    .tko-hd-trx-row i { color: var(--tko-muted); font-size: 14px; width: 18px; text-align: center; }
    .tko-hd-trx-row .lbl { color: var(--tko-muted); font-weight: 500; }
    .tko-hd-trx-row .val { color: var(--tko-text); font-weight: 700; text-align: right; white-space: nowrap; }
    .tko-hd-trx-row .val small { display: block; color: var(--tko-muted); font-size: 11.5px; font-weight: 500; margin-top: 1px; }

    /* Column 3: rating */
    .tko-hd-rating-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
    .tko-hd-rating-title { font-size: 14px; font-weight: 700; color: var(--tko-text); display: inline-flex; align-items: center; gap: 8px; }
    .tko-hd-rating-title i { color: var(--tko-yellow); font-size: 14px; }
    .tko-hd-rating-link { color: var(--tko-link); font-size: 12.5px; font-weight: 600; text-decoration: none; }
    .tko-rating-bars { display: flex; flex-direction: column; gap: 5px; }
    .tko-rating-bar-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 12px; }
    .tko-rating-bar-stars { color: var(--tko-yellow); font-size: 11px; min-width: 76px; }
    .tko-rating-bar-stars i { font-size: 11px; }
    .tko-rating-bar-stars i.dim { color: #2a2a30; }
    .tko-rating-bar-track { background: var(--tko-bar-bg); height: 8px; border-radius: 999px; overflow: hidden; }
    .tko-rating-bar-fill { background: linear-gradient(90deg, var(--tko-yellow), #f59e0b); height: 100%; border-radius: 999px; transition: width .3s ease; }
    .tko-rating-bar-count { color: var(--tko-text); font-weight: 700; font-size: 12.5px; text-align: right; min-width: 40px; }

    /* ── Filter dropdown ──────────────────────────────────── */
    .tko-filter-wrap { margin-bottom: 18px; }
    .tko-filter-dropdown { position: relative; max-width: 200px; }
    .tko-filter-trigger {
      display: flex;
      align-items: center;
      gap: 8px;
      width: 100%;
      height: 46px;
      padding: 0 14px;
      border: 1px solid rgba(255, 255, 255, 0);
      border-radius: 8px;
      background: #0b1118;
      color: #f8fafc;
      font-family: inherit;
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
      transition: border-color .15s ease, box-shadow .15s ease;
      user-select: none;
    }
    .tko-filter-trigger:hover {
      border-color: rgba(255, 140, 0, .45);
    }
    .tko-filter-trigger.open {
      border-color: rgba(255, 140, 0, .72);
      box-shadow: 0 0 0 3px rgba(255, 140, 0, .10);
    }
    .tko-filter-trigger i.fa-filter {
      color: #64748b;
      font-size: 12px;
      flex-shrink: 0;
    }
    .tko-filter-trigger .tko-filter-label-text {
      flex: 1;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .tko-filter-chev {
      flex-shrink: 0;
      color: #64748b;
      font-size: 11px;
      transition: transform .15s ease;
    }
    .tko-filter-trigger.open .tko-filter-chev {
      transform: rotate(180deg);
    }
    .tko-filter-menu {
      position: absolute;
      top: calc(100% + 6px);
      left: 0;
      right: 0;
      margin: 0;
      padding: 6px;
      list-style: none;
      background: #0d1219;
      border: 1px solid rgba(255, 255, 255, .10);
      border-radius: 10px;
      box-shadow: 0 16px 48px rgba(0, 0, 0, .55);
      z-index: 100;
      max-height: 320px;
      overflow-y: auto;
      opacity: 0;
      visibility: hidden;
      transform: translateY(4px) scale(.97);
      transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
    }
    .tko-filter-menu.is-open {
      opacity: 1;
      visibility: visible;
      transform: translateY(0) scale(1);
    }
    .tko-filter-option {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      padding: 10px 12px;
      border-radius: 6px;
      color: rgba(248, 250, 252, .78);
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
      transition: background .12s ease, color .12s ease;
    }
    .tko-filter-option:hover {
      background: rgba(255, 255, 255, .06);
      color: #f8fafc;
    }
    .tko-filter-option.is-active {
      background: rgba(255, 140, 0, .10);
      color: #ff8c00;
    }
    .tko-filter-option i {
      font-size: 10px;
      color: #ff8c00;
    }
    .tko-filter-group {
      padding: 9px 12px 5px;
      font-size: 10.5px;
      font-weight: 800;
      letter-spacing: .06em;
      text-transform: uppercase;
      color: var(--tko-muted-2);
      cursor: default;
      margin-top: 4px;
      border-top: 1px solid rgba(255, 255, 255, .07);
    }

    /* ── Product grid — same visual language as vch-product-grid ─────────── */
    .tko-prod-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(154px, 1fr));
      gap: 16px;
      align-items: start;
    }
    @media (max-width: 480px) { .tko-prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

    .tko-prod-card {
      position: relative;
      display: block;
      min-width: 0;
      min-height: 240px;
      background: #0f172a;
      border-radius: 12px;
      overflow: hidden;
      text-decoration: none !important;
      color: #fff;
      box-shadow: 0 12px 24px rgba(15, 23, 42, .14);
      transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
    }
    .tko-prod-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 18px 34px rgba(0,0,0,.38);
      color: #fff;
    }
    .tko-prod-card:focus-visible {
      outline: 2px solid var(--tko-link);
      outline-offset: 2px;
    }

    .tko-prod-img-wrap {
      position: absolute;
      inset: 0;
      width: auto;
      height: auto;
      background: #111827;
      overflow: hidden;
    }
    .tko-prod-img-wrap img {
      width: 100%; height: 100%;
      object-fit: cover; display: block;
      transition: transform .3s ease;
    }
    .tko-prod-card:hover .tko-prod-img-wrap img { transform: scale(1.04); }
    .tko-prod-img-fallback {
      position: absolute; inset: 0;
      display: flex; align-items: center; justify-content: center;
      color: rgba(255,255,255,.32); font-size: 52px;
    }

    .tko-prod-body {
      position: absolute;
      inset: auto 0 0;
      min-height: 124px;
      padding: 44px 13px 12px;
      display: flex;
      flex-direction: column;
      background: linear-gradient(180deg, rgba(0,0,0,0), rgba(5,8,13,.92) 43%, rgba(5,8,13,.99));
    }
    .tko-prod-card .tko-prod-title {
      font-size: 15px;
      font-weight: 900;
      color: #fff;
      margin: 0 0 7px;
      line-height: 1.08;
      min-height: 32px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      letter-spacing: 0;
      font-family: 'Space Grotesk', 'Roboto', system-ui, sans-serif;
    }

    .tko-prod-meta {
      display: flex;
      align-items: center;
      gap: 22px;
      min-height: 18px;
      margin: 0;
    }
    .tko-prod-badge-new {
      display: inline-flex; align-items: center;
      flex: 0 0 auto;
      padding: 3px 6px;
      border-radius: 999px;
      background: transparent;
      color: #22c55e;
      border: 1px solid #22c55e;
      font-size: 9px;
      font-weight: 900;
      letter-spacing: 0;
      line-height: 1;
      text-transform: uppercase;
    }
    .tko-prod-type-text {
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      font-size: 12px;
      color: rgba(255,255,255,.58);
      font-weight: 500;
    }

    .tko-prod-disc {
      position: absolute;
      top: 8px;
      left: 8px;
      z-index: 3;
      display: inline-flex;
      align-items: center;
      padding: 4px 9px;
      border-radius: 999px;
      font-size: 9px;
      font-weight: 900;
      letter-spacing: .04em;
      line-height: 1;
      text-transform: uppercase;
      color: #fff;
      background: linear-gradient(135deg, #ef4444, #f97316);
      border: 1px solid rgba(249,115,22,.55);
      box-shadow: 0 4px 12px rgba(239,68,68,.4), inset 0 1px 0 rgba(255,255,255,.3);
    }
    .tko-prod-oldprice {
      font-size: 12px;
      font-weight: 600;
      color: rgba(255,255,255,.45);
      margin-left: 5px;
    }
    .tko-col-price .tko-prod-oldprice { color: rgba(17,24,39,.4); }
    .tko-prod-price {
      font-size: 15px;
      font-weight: 900;
      color: #ff5a00;
      letter-spacing: 0;
      margin-top: 7px;
      line-height: 1.1;
      font-family: 'Space Grotesk', 'Roboto', system-ui, sans-serif;
      font-variant-numeric: tabular-nums;
    }
    .tko-prod-sold {
      font-size: 12px;
      color: var(--tko-muted);
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      margin-top: 4px;
    }
    .tko-prod-sold i {
      color: #ff8c00;
      font-size: 11px;
    }
    /* Empty + 404 (kept) */
    .tko-empty {
      grid-column: 1 / -1;
      background: var(--tko-card); padding: 60px 20px; text-align: center;
      color: var(--tko-muted); border-radius: 14px;
    }
    .tko-empty i { font-size: 48px; opacity: .3; display: block; margin-bottom: 12px; color: var(--tko-muted-2); }

    .tko-404 { text-align: center; padding: 80px 20px; background: var(--tko-card); border-radius: 14px; border: 1px solid var(--tko-border); }
    .tko-404 i { font-size: 64px; opacity: .35; color: var(--tko-muted-2); display: block; margin-bottom: 16px; }
    .tko-404 h1 { font-size: 22px; margin: 0 0 8px; color: var(--tko-text); }
    .tko-404 p { color: var(--tko-muted); margin: 0 0 20px; }
    .tko-404 a { color: var(--tko-link); font-weight: 600; text-decoration: none; }

    /* ── Reviews section ──────────────────────────────────── */
    .tko-reviews-wrap {
      margin-top: 36px;
      background: var(--tko-card);
      border-radius: 18px;
      padding: 28px 28px 32px;
    }
    .tko-reviews-head {
      display: flex; align-items: flex-end; justify-content: space-between;
      gap: 12px; margin-bottom: 20px; flex-wrap: wrap;
    }
    .tko-reviews-title {
      font-size: 20px; font-weight: 800; margin: 0 0 6px;
      color: var(--tko-text); letter-spacing: -.02em;
      display: flex; align-items: center; gap: 10px;
    }
    .tko-reviews-title::before {
      content: ""; width: 4px; height: 22px; border-radius: 4px;
      background: linear-gradient(180deg, #ff8c00, #ff5a00);
      flex-shrink: 0;
    }
    .tko-reviews-sub { font-size: 13px; color: var(--tko-muted); display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
    .tko-reviews-avg {
      color: #fff; font-weight: 800; display: inline-flex; align-items: center; gap: 5px;
      background: rgba(255,140,0,.12); padding: 4px 10px; border-radius: 8px;
      border: 1px solid rgba(255,140,0,.25);
    }
    .tko-reviews-avg i { color: #ff8c00; font-size: 13px; }
    .tko-reviews-count { color: var(--tko-muted); font-weight: 500; }
    .tko-reviews-more {
      color: #ff8c00; font-size: 13px; font-weight: 700;
      text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
      padding: 8px 14px; border-radius: 8px;
      border: 1px solid rgba(255,140,0,.25); background: rgba(255,140,0,.06);
      transition: background .15s, border-color .15s;
    }
    .tko-reviews-more:hover { background: rgba(255,140,0,.12); border-color: rgba(255,140,0,.4); text-decoration: none; }

    .tko-reviews-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
    }
    @media (max-width: 880px) { .tko-reviews-grid { grid-template-columns: 1fr; } }
    @media (max-width: 720px) { .tko-reviews-wrap { padding: 20px 16px 24px; } }

    .tko-review-card {
      background: var(--tko-card-2);
      border-radius: 14px;
      padding: 18px 20px;
      transition: border-color .18s, box-shadow .18s, transform .18s;
    }
    .tko-review-card:hover {
      border-color: rgba(255,140,0,.25);
      box-shadow: 0 8px 28px rgba(0,0,0,.4);
      transform: translateY(-2px);
    }
    .tko-review-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
    .tko-review-avatar {
      width: 40px; height: 40px; border-radius: 50%;
      background: linear-gradient(135deg, #ff8c00, #ff5a00);
      color: #fff; font-weight: 800; font-size: 15px;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
      box-shadow: 0 4px 12px rgba(255,140,0,.2);
    }
    .tko-review-meta { flex: 1; min-width: 0; }
    .tko-review-name { font-size: 14px; font-weight: 700; color: var(--tko-text); margin-bottom: 4px; }
    .tko-review-stars { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; }
    .tko-review-stars i { font-size: 12px; color: #ff8c00; }
    .tko-review-stars i.dim { color: #2a2a30; }
    .tko-review-time { color: var(--tko-muted); font-weight: 500; font-size: 11.5px; margin-left: 8px; }
    .tko-review-text {
      font-size: 13.5px; line-height: 1.65; color: var(--tko-text-2);
      margin: 0; word-break: break-word;
      padding: 10px 14px;
      background: rgba(255,255,255,.02);
      border-radius: 10px;
      border: 1px solid rgba(255,255,255,.04);
    }
    .tko-review-text--empty {
      color: var(--tko-muted-2); font-style: italic;
      background: transparent; border-color: transparent;
      padding: 0;
    }

    .tko-review-reply {
      margin-top: 10px;
      padding: 12px 14px;
      border-left: 3px solid #ff8c00;
      background: rgba(255,140,0,.06);
      border-radius: 0 10px 10px 0;
    }
    .tko-review-reply-head {
      display: flex; align-items: center; gap: 7px; margin-bottom: 6px;
    }
    .tko-review-reply-head i { color: #ff8c00; font-size: 12px; }
    .tko-review-reply-name { font-size: 12.5px; font-weight: 800; color: var(--tko-text); }
    .tko-review-reply-tag {
      font-size: 10px; font-weight: 700; color: var(--tko-muted);
      text-transform: uppercase; letter-spacing: .04em;
    }
    .tko-review-reply-text {
      margin: 0; font-size: 13px; line-height: 1.6; color: var(--tko-text-2); word-break: break-word;
    }

    .tko-reviews-empty {
      background: var(--tko-card-2); padding: 56px 20px; text-align: center;
      color: var(--tko-muted); border-radius: 14px;
      border: 1px dashed var(--tko-border-2);
    }
    .tko-reviews-empty i { font-size: 44px; opacity: .4; display: block; margin-bottom: 12px; color: #ff8c00; }
    .tko-reviews-empty p { margin: 0; font-size: 14px; font-weight: 500; }

    /* ── Legacy unused styles (kept harmless) ─────────────── */
    .tko-top-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
      gap: 14px;
      margin-bottom: 14px;
    }
    @media (max-width: 880px) { .tko-top-row { grid-template-columns: 1fr; } }

    .tko-card {
      background: var(--tko-card);
      border: 1px solid var(--tko-border);
      border-radius: 14px;
      box-shadow: var(--tko-card-shadow);
    }

    .tko-profile-card { padding: 22px 24px; display: flex; gap: 18px; align-items: center; }
    @media (max-width: 640px) { .tko-profile-card { flex-wrap: wrap; } }

    .tko-shop-avatar {
      width: 96px; height: 96px; border-radius: 18px; flex-shrink: 0;
      background: linear-gradient(135deg, #ff5b6c, #ff8b3d);
      display: flex; align-items: center; justify-content: center;
      color: #fff; font-size: 38px; font-weight: 800;
      overflow: hidden;
      box-shadow: 0 6px 18px rgba(255,91,108,.18);
    }
    .tko-shop-avatar img { width: 100%; height: 100%; object-fit: cover; }

    .tko-shop-info { flex: 1; min-width: 0; }
    .tko-shop-headline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
    .tko-shop-name { font-size: 22px; font-weight: 800; margin: 0; color: var(--tko-text); letter-spacing: -.01em; display: inline-flex; align-items: center; gap: 8px; }
    .tko-shop-name::before { content: ""; width: 8px; height: 8px; background: var(--tko-text); border-radius: 2px; }
    .tko-share-icon { color: var(--tko-muted-2); cursor: pointer; font-size: 14px; transition: color .15s; }
    .tko-share-icon:hover { color: var(--tko-text); }

    .tko-power-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 6px; background: linear-gradient(135deg, #fff8d4, #ffeaa7); color: #8a6500; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; border: 1px solid rgba(255,193,7,.35); }
    .tko-power-badge i { color: #f59e0b; }

    .tko-status-line { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--tko-primary); font-weight: 600; margin-bottom: 8px; }
    .tko-status-line::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--tko-primary); display: inline-block; }

    .tko-meta-row { display: flex; flex-wrap: wrap; gap: 14px 18px; font-size: 12.5px; color: var(--tko-muted); align-items: center; }
    .tko-meta-row span { display: inline-flex; align-items: center; gap: 5px; }
    .tko-meta-row i.fa-circle-check { color: var(--tko-primary); }

    .tko-profile-actions { display: flex; gap: 8px; flex-shrink: 0; align-items: center; }
    @media (max-width: 640px) { .tko-profile-actions { width: 100%; margin-top: 4px; } }

    .tko-btn {
      display: inline-flex; align-items: center; gap: 7px;
      padding: 9px 14px; border-radius: 9px; font-size: 13px; font-weight: 700;
      text-decoration: none; cursor: pointer; border: 1px solid var(--tko-border-2);
      background: #fff; color: var(--tko-text); transition: .15s;
      white-space: nowrap;
    }
    .tko-btn:hover { background: #f7f8fa; color: var(--tko-text); }
    .tko-btn-primary { background: var(--tko-primary); color: #fff; border-color: var(--tko-primary); }
    .tko-btn-primary:hover { background: var(--tko-primary-dark); color: #fff; border-color: var(--tko-primary-dark); }

    /* Bio side card */
    .tko-bio-card { padding: 20px 22px; display: flex; align-items: center; justify-content: center; text-align: center; min-height: 130px; color: var(--tko-muted); font-size: 13.5px; line-height: 1.55; }

    /* ── Stats bar card ──────────────────────────────────────── */
    .tko-stats-card { padding: 18px 24px; margin-bottom: 14px; }
    .tko-stats-row { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 28px 38px; }
    .tko-stat-block .lbl { font-size: 11.5px; color: var(--tko-muted); display: inline-flex; align-items: center; gap: 5px; margin-bottom: 4px; font-weight: 500; }
    .tko-stat-block .val { font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
    .tko-stat-block .val.green { color: var(--tko-primary); }
    .tko-stat-block .val.red { color: var(--tko-danger); }
    .tko-stats-spacer { flex: 1 1 auto; }
    .tko-stats-pills { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
    .tko-stat-pill { display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 999px; background: #f4f5f8; color: var(--tko-muted); font-size: 11.5px; font-weight: 600; border: 1px solid var(--tko-border); }
    .tko-stat-pill b { color: var(--tko-text); font-weight: 800; }

    .tko-stats-divider { height: 1px; background: var(--tko-border); margin: 14px -24px; }

    .tko-mini-stats { display: flex; flex-wrap: wrap; gap: 18px 22px; align-items: center; font-size: 12.5px; color: var(--tko-muted); }
    .tko-mini-stats > span { display: inline-flex; align-items: center; gap: 6px; }
    .tko-mini-stats > span i { color: var(--tko-muted-2); }
    .tko-mini-stats b { color: var(--tko-text); font-weight: 700; }

    /* ── Tabs ────────────────────────────────────────────────── */
    .tko-tabs-card { padding: 12px 16px 0; margin-bottom: 14px; border-radius: 14px 14px 0 0; }
    .tko-tabs { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--tko-border); margin: 0 -16px 0; padding: 0 16px; }
    .tko-tab {
      padding: 12px 14px;
      color: var(--tko-muted);
      text-decoration: none;
      font-size: 13px;
      font-weight: 600;
      display: inline-flex; align-items: center; gap: 7px;
      border: 0; background: transparent;
      border-bottom: 2px solid transparent;
      margin-bottom: -1px;
      transition: .15s;
    }
    .tko-tab:hover { color: var(--tko-text); }
    .tko-tab.active { color: var(--tko-text); border-bottom-color: var(--tko-text); }
    .tko-tab i { font-size: 13px; opacity: .8; }
    .tko-tab-count { color: var(--tko-muted-2); font-weight: 600; font-size: 12px; }
    .tko-tab.active .tko-tab-count { color: var(--tko-muted); }

    /* Filter bar di bawah tabs */
    .tko-filter-bar { padding: 14px 18px; border-top: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
    .tko-toggle-group { display: inline-flex; gap: 6px; }
    .tko-toggle {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 8px 13px; border-radius: 8px; font-size: 12.5px; font-weight: 700;
      border: 1px solid var(--tko-border-2); background: #fff; color: var(--tko-text);
      text-decoration: none; cursor: pointer;
    }
    .tko-toggle.active { background: var(--tko-primary); color: #fff; border-color: var(--tko-primary); }
    .tko-toggle .badge {
      background: rgba(0,0,0,.12); color: inherit; padding: 1px 7px;
      border-radius: 999px; font-size: 11px; font-weight: 800;
    }
    .tko-toggle.active .badge { background: rgba(255,255,255,.22); }
    .tko-sort {
      display: inline-flex; align-items: center; gap: 6px;
      font-size: 12.5px; color: var(--tko-muted); cursor: pointer; font-weight: 600;
    }
    .tko-sort:hover { color: var(--tko-text); }

    /* ── Product list (row style mirip offers list) ─────────── */
    .tko-prod-list { display: flex; flex-direction: column; gap: 1px; background: var(--tko-border); border-radius: 14px; overflow: hidden; border: 1px solid var(--tko-border); }
    .tko-prod-row {
      background: #fff; padding: 16px 20px;
      display: grid;
      grid-template-columns: 44px minmax(0, 1.4fr) minmax(0, 1.2fr) minmax(0, 1fr) auto;
      gap: 16px; align-items: center;
      text-decoration: none; color: var(--tko-text);
      transition: background .12s;
    }
    .tko-prod-row:hover { background: #fafbfc; color: var(--tko-text); }
    @media (max-width: 880px) {
      .tko-prod-row { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; }
      .tko-prod-row .col-pay, .tko-prod-row .col-receive { display: none; }
    }

    .tko-prod-icon {
      width: 44px; height: 44px; border-radius: 10px;
      background: #f4f5f8;
      display: flex; align-items: center; justify-content: center;
      color: var(--tko-muted); font-size: 18px;
      overflow: hidden; flex-shrink: 0;
    }
    .tko-prod-icon.topup    { background: rgba(255,91,20,.10); color: var(--tko-accent); }
    .tko-prod-icon.gamekey  { background: rgba(59,130,246,.10); color: var(--tko-info); }
    .tko-prod-icon.giftcard { background: rgba(139,92,246,.10); color: var(--tko-violet); }
    .tko-prod-icon img { width: 100%; height: 100%; object-fit: cover; }

    .tko-col-name strong { display: block; font-size: 14px; font-weight: 700; color: var(--tko-text); margin-bottom: 2px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .tko-col-name small { display: block; font-size: 11.5px; color: var(--tko-muted); font-weight: 500; }

    .tko-col-price { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
    .tko-col-price .price { font-size: 14.5px; font-weight: 800; color: var(--tko-text); display: inline-flex; align-items: center; gap: 6px; }
    .tko-col-price .price i { color: var(--tko-accent); font-size: 12px; }
    .tko-col-price small { font-size: 11.5px; color: var(--tko-muted); }

    .tko-col-cell { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
    .tko-col-cell .lbl { font-size: 11.5px; color: var(--tko-muted); }
    .tko-col-cell .val { font-size: 13.5px; color: var(--tko-text); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

    .tko-buy-btn {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 8px 16px; border-radius: 8px;
      background: var(--tko-primary); color: #fff;
      font-size: 13px; font-weight: 800;
      text-decoration: none;
      transition: background .15s, transform .15s;
    }
    .tko-buy-btn:hover { background: var(--tko-primary-dark); color: #fff; }
    .tko-buy-btn .badge {
      background: rgba(0,0,0,.18); color: #fff; padding: 1px 6px;
      border-radius: 999px; font-size: 10.5px; font-weight: 800;
    }
    .tko-info-icon {
      width: 28px; height: 28px; border-radius: 50%;
      background: #f4f5f8; color: var(--tko-muted-2);
      display: inline-flex; align-items: center; justify-content: center;
      font-size: 13px; cursor: pointer;
      margin-right: 6px;
    }
    .tko-row-actions { display: inline-flex; align-items: center; }

    .tko-empty {
      background: var(--tko-card); padding: 60px 20px; text-align: center;
      color: var(--tko-muted); border-radius: 14px;
    }
    .tko-empty i { font-size: 48px; opacity: .3; display: block; margin-bottom: 12px; color: var(--tko-muted-2); }

    .tko-404 { text-align: center; padding: 80px 20px; background: var(--tko-card); border-radius: 14px; border: 1px solid var(--tko-border); }
    .tko-404 i { font-size: 64px; opacity: .35; color: var(--tko-muted-2); display: block; margin-bottom: 16px; }
    .tko-404 h1 { font-size: 22px; margin: 0 0 8px; color: var(--tko-text); }
    .tko-404 p { color: var(--tko-muted); margin: 0 0 20px; }
    .tko-404 a { color: var(--tko-link); font-weight: 600; text-decoration: none; }
