/* ════════════════════════════════════════════════════════════════════
   VTechOTP — Desktop Layout  (screen ≥ 1024 px)
   ─────────────────────────────────────────────────────────────────────
   PURE ADDITIVE: zero existing styles are overridden outside this file.
   Every rule lives inside @media (min-width:1024px) so mobile, tablet,
   PWA and WebView are completely unaffected.
   ════════════════════════════════════════════════════════════════════ */

/* ── Desktop auth panel: hidden on ALL screens by default ── */
#dsk-auth-panel { display: none; }

@media (min-width:1024px) {

/* ══════════════════════════════════════════════════════════════════
   AUTH STATE  (body.dsk-auth)
   Full-screen two-column: branding left + form right.
   Authenticated UI (sidebar, right panel) is fully hidden.
   ══════════════════════════════════════════════════════════════════ */

  /* Show the branding panel */
  body.dsk-auth #dsk-auth-panel {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    z-index: 200;
    /* Biru muda gradient — light-to-medium blue */
    background: linear-gradient(140deg, #1e3a8a 0%, #2563eb 45%, #3b82f6 75%, #60a5fa 100%);
    overflow: hidden;
  }

  /* Decorative blobs for depth */
  body.dsk-auth #dsk-auth-panel::before,
  body.dsk-auth #dsk-auth-panel::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
  }
  body.dsk-auth #dsk-auth-panel::before {
    width: 500px; height: 500px;
    top: -120px; left: -100px;
    background: radial-gradient(circle, rgba(147,197,253,0.18) 0%, transparent 70%);
  }
  body.dsk-auth #dsk-auth-panel::after {
    width: 400px; height: 400px;
    bottom: -80px; left: 200px;
    background: radial-gradient(circle, rgba(96,165,250,0.14) 0%, transparent 70%);
  }

  /* ─── Top bar ─── */
  .dap-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 44px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
  }
  .dap-topbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .dap-topbar-logo img {
    width: 38px; height: 38px;
    border-radius: 10px;
    object-fit: contain;
  }
  .dap-topbar-logo span {
    font-size: 19px;
    font-weight: 800;
    color: white;
    letter-spacing: -0.3px;
  }
  .dap-topbar-logo b { color: #BAD6FF; font-weight: 900; }
  .dap-topbar-tag {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    font-weight: 500;
  }

  /* ─── Left branding column ─── */
  .dap-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 60px 60px 60px;
    /* Stay in left half — right is covered by #app */
    max-width: calc(100% - 500px);
    position: relative;
    z-index: 1;
  }
  .dap-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    color: #BAD6FF;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 50px;
    margin-bottom: 28px;
    width: fit-content;
    backdrop-filter: blur(6px);
  }
  .dap-headline {
    font-size: clamp(44px, 4.5vw, 64px);
    font-weight: 900;
    color: white;
    line-height: 1.02;
    margin-bottom: 16px;
    letter-spacing: -1.5px;
  }
  .dap-headline span { color: #BAD6FF; }
  .dap-subline {
    font-size: clamp(18px, 1.8vw, 24px);
    font-weight: 700;
    color: rgba(255,255,255,0.92);
    line-height: 1.38;
    margin-bottom: 16px;
  }
  .dap-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.62);
    line-height: 1.7;
    max-width: 380px;
    margin: 0 0 40px;
  }

  /* ─── Feature cards ─── */
  .dap-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 380px;
  }
  .dap-feat {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 14px;
    padding: 14px 18px;
    backdrop-filter: blur(6px);
    transition: background 0.2s, border-color 0.2s;
  }
  .dap-feat:hover {
    background: rgba(255,255,255,0.13);
    border-color: rgba(255,255,255,0.24);
  }
  .dap-feat-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(147,197,253,0.15);
    border: 1px solid rgba(147,197,253,0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .dap-feat-name {
    font-size: 14px;
    font-weight: 700;
    color: white;
    margin-bottom: 2px;
  }
  .dap-feat-desc {
    font-size: 12px;
    color: rgba(255,255,255,0.58);
    line-height: 1.4;
  }

  /* ─── #app as right column in auth state ─── */
  body.dsk-auth #app {
    position: fixed;
    right: 0;
    top: 0;
    width: 500px;
    max-width: 500px;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    border-radius: 0;
    z-index: 201;
    background: white;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: -12px 0 48px rgba(15,30,80,0.22);
  }

  /* Auth pages inside the right panel */
  body.dsk-auth .auth-page,
  body.dsk-auth .auth-standalone {
    background: white;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 32px 28px;
  }
  body.dsk-auth .auth-card {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    box-shadow: none;
    border: none;
    padding: 28px 20px 24px;
  }

  /* ─── Hide dashboard elements in auth state ─── */
  body.dsk-auth #desktop-sidebar    { display: none !important; }
  body.dsk-auth #desktop-right-panel { display: none !important; }


/* ══════════════════════════════════════════════════════════════════
   APP STATE  (body.dsk-app) — authenticated dashboard layout
   ══════════════════════════════════════════════════════════════════ */

  /* Auth panel is gone */
  body.dsk-app #dsk-auth-panel { display: none !important; }

  /* ─── Drop bottom nav — sidebar replaces it ─── */
  .bnav { display:none !important; }

  /* ─── Give the phone-column a subtle lift ─── */
  #app {
    box-shadow: 0 0 0 1px var(--border), 0 8px 40px rgba(0,0,0,0.10);
  }

  /* ─── Toast sits at top floating center ─── */
  #toast { top:24px; bottom:auto; }

  /* ─── Support FAB no longer needs to clear the bottom nav ─── */
  .sup-fab { bottom:24px; right:16px; }

  /* ─── Scroll area fills full height now that bnav is gone ─── */
  .page { height:100dvh; }

  /* ══════════════════════════════════════════════════════════════════
     DESKTOP SIDEBAR  (left, fixed, 260 px)
     ══════════════════════════════════════════════════════════════════ */
  #desktop-sidebar {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: calc(50% - 215px - 260px);
    width: 260px;
    height: 100vh;
    background: var(--white);
    border-right: 1px solid var(--border);
    z-index: 100;
    overflow: hidden;
  }

  /* Logo row */
  .dsk-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 22px 20px 18px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
  }
  .dsk-logo img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: contain;
  }
  .dsk-logo-name {
    font-size: 17px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.3px;
  }
  .dsk-logo-name span { color: var(--blue); }

  /* Nav list */
  .dsk-nav {
    flex: 1;
    padding: 10px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow-y: auto;
  }
  .dsk-nav::-webkit-scrollbar { display: none; }

  .dsk-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    color: var(--sub);
    font-size: 14px;
    font-weight: 500;
    -webkit-tap-highlight-color: transparent;
  }
  .dsk-nav-item:hover { background: var(--light); color: var(--text); }
  .dsk-nav-item.active {
    background: #EEF2FF;
    color: var(--blue);
    font-weight: 600;
  }
  .dsk-nav-item svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    flex-shrink: 0;
  }

  .dsk-nav-sep {
    height: 1px;
    background: var(--border);
    margin: 6px 4px;
  }

  /* Footer: balance + email */
  .dsk-footer {
    padding: 14px 14px 18px;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
  }
  .dsk-balance-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--light);
    border-radius: 12px;
    padding: 12px 13px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background 0.15s;
  }
  .dsk-balance-card:hover { background: var(--border); }
  .dsk-balance-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: linear-gradient(135deg,#5B8DFF,#3D6EE8);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .dsk-balance-icon svg {
    width: 18px;
    height: 18px;
    stroke: white;
    fill: none;
    stroke-width: 2;
  }
  .dsk-balance-info { flex: 1; min-width: 0; }
  .dsk-balance-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--sub);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
  }
  .dsk-balance-amount {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
  }
  /* Coin icon */
  .dsk-coin {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
    background: radial-gradient(circle at 32% 28%,#FFF3C4 0%,#FFD966 22%,#F3B62B 52%,#C4831A 82%,#96600E 100%);
    box-shadow: inset 0 1px 1.5px rgba(255,255,255,0.85), inset 0 -1.5px 2px rgba(120,70,0,0.45), 0 1px 2px rgba(150,90,10,0.35);
    position: relative;
  }
  .dsk-coin::after {
    content:'';
    position: absolute;
    inset: 14%;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.55);
    box-shadow: inset 0 0 0 1px rgba(150,90,10,0.25);
  }
  .dsk-email-line {
    font-size: 12px;
    color: var(--sub);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 2px;
    display: flex;
    align-items: center;
    gap: 5px;
  }
  .dsk-email-line svg {
    width: 13px;
    height: 13px;
    stroke: var(--sub);
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
  }

  /* ══════════════════════════════════════════════════════════════════
     DESKTOP RIGHT PANEL
     ══════════════════════════════════════════════════════════════════ */
  #desktop-right-panel {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: calc(50% + 215px);
    width: clamp(220px, calc(50vw - 215px - 4px), 300px);
    height: 100vh;
    background: var(--bg);
    border-left: 1px solid var(--border);
    z-index: 100;
    overflow-y: auto;
    padding: 20px 16px 28px;
    gap: 16px;
  }
  #desktop-right-panel::-webkit-scrollbar { display: none; }

  /* Right panel section label */
  .drp-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--sub);
    margin-bottom: 8px;
  }

  /* Balance card */
  .drp-balance-card {
    background: linear-gradient(135deg,#5B8DFF,#3D6EE8);
    border-radius: 16px;
    padding: 16px 16px 14px;
    color: white;
    flex-shrink: 0;
    cursor: default;
  }
  .drp-bc-tag {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.8;
    margin-bottom: 5px;
  }
  .drp-bc-amount {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 14px;
  }
  .drp-coin {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
    background: radial-gradient(circle at 32% 28%,#FFF3C4 0%,#FFD966 22%,#F3B62B 52%,#C4831A 82%,#96600E 100%);
    box-shadow: inset 0 1px 1.5px rgba(255,255,255,0.85), inset 0 -1.5px 2px rgba(120,70,0,0.45), 0 1px 2px rgba(150,90,10,0.35);
    position: relative;
  }
  .drp-coin::after {
    content:'';
    position: absolute;
    inset: 14%;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.55);
    box-shadow: inset 0 0 0 1px rgba(150,90,10,0.25);
  }
  .drp-bc-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 11px;
    opacity: 0.9;
  }
  .drp-bc-stat {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .drp-bc-stat svg {
    width: 13px;
    height: 13px;
    stroke: white;
    fill: none;
    stroke-width: 2;
  }
  .drp-topup-btn {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 8px;
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
    -webkit-tap-highlight-color: transparent;
  }
  .drp-topup-btn:hover { background: rgba(255,255,255,0.30); }

  /* Quick actions grid */
  .drp-actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    flex-shrink: 0;
  }
  .drp-action-btn {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 11px 6px 9px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: background 0.15s;
    -webkit-tap-highlight-color: transparent;
  }
  .drp-action-btn:hover { background: var(--light); }
  .drp-action-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .drp-action-icon svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke-width: 2;
  }
  .drp-action-icon.deposit { background: #DCFCE7; }
  .drp-action-icon.deposit svg { stroke: #22C55E; }
  .drp-action-icon.history  { background: #DBEAFE; }
  .drp-action-icon.history svg  { stroke: #3B82F6; }
  .drp-action-icon.txns    { background: #FEE2E2; }
  .drp-action-icon.txns svg    { stroke: #EF4444; }
  .drp-action-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--text);
    text-align: center;
    line-height: 1.2;
  }

  /* Recent activity */
  .drp-recent { flex: 1; min-height: 0; }
  .drp-act-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 0;
    border-bottom: 1px solid var(--light);
  }
  .drp-act-item:last-child { border-bottom: none; }
  .drp-act-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .drp-act-icon svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke-width: 2.5;
  }
  .drp-act-info { flex: 1; min-width: 0; }
  .drp-act-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .drp-act-date { font-size: 10px; color: var(--sub); margin-top: 1px; }
  .drp-act-amount {
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
  }
  .drp-mini-coin {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    background: radial-gradient(circle at 32% 28%,#FFF3C4 0%,#FFD966 22%,#F3B62B 52%,#C4831A 82%,#96600E 100%);
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.8), inset 0 -1px 1.5px rgba(120,70,0,0.4);
    position: relative;
  }

  /* Empty state for activity list */
  .drp-empty {
    font-size: 12px;
    color: var(--sub);
    padding: 12px 0;
    text-align: center;
  }

  /* ── Dark mode tweaks ── */
  [data-theme="dark"] #desktop-sidebar  { background:var(--white); border-right-color:var(--border); }
  [data-theme="dark"] #desktop-right-panel { background:var(--bg); border-left-color:var(--border); }
  [data-theme="dark"] .dsk-nav-item.active { background:#1E3A5F; }
  [data-theme="dark"] .dsk-balance-card { background:var(--light); }
  [data-theme="dark"] .dsk-balance-card:hover { background:var(--border); }
  [data-theme="dark"] .drp-action-btn { background:var(--light); }
  [data-theme="dark"] .drp-action-btn:hover { background:var(--border); }
  [data-theme="dark"] .drp-action-icon.deposit { background:var(--icon-credit); }
  [data-theme="dark"] .drp-action-icon.history  { background:var(--icon-blue);   }
  [data-theme="dark"] .drp-action-icon.txns    { background:var(--icon-debit);  }
  [data-theme="dark"] body.dsk-auth #app { background: var(--white); }


/* ════════════════════════════════════════════════════════════════════
   FULL-WIDTH AUTHENTICATED DESKTOP LAYOUT  (body.dsk-app)
   ─────────────────────────────────────────────────────────────────────
   Replaces the centred 430 px mobile column with a true three-column
   layout that fills 100 vw.  Every rule is body.dsk-app-scoped so
   mobile / tablet / PWA / WebView are completely unaffected.
   ════════════════════════════════════════════════════════════════════ */

  /* ── Sidebar: anchored to the LEFT edge of the viewport ── */
  body.dsk-app #desktop-sidebar {
    left: 0;
    width: 260px;
  }

  /* ── Right panel: anchored to the RIGHT edge of the viewport ── */
  body.dsk-app #desktop-right-panel {
    left: auto;
    right: 0;
    width: 340px;
  }

  /* ── Main #app: fills everything between sidebar and right panel ── */
  body.dsk-app #app {
    position: fixed;
    left: 260px;
    right: 340px;
    top: 0;
    bottom: 0;
    height: 100vh;
    height: 100dvh;
    max-width: none;
    width: auto;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
  }

  /* ── Pages fill the full content-area width ── */
  body.dsk-app .page,
  body.dsk-app .scroll {
    max-width: none;
    width: 100%;
  }

  /* ── FAB: clear the new right panel ── */
  body.dsk-app .sup-fab {
    right: 24px;
    bottom: 24px;
  }

  /* ── Toast: top floating center on desktop ── */
  body.dsk-app #toast {
    left: 50%;
    right: auto;
    top: 24px;
    bottom: auto;
  }

  /* ════════════════════════════════════════════════════════════════
     HOME PAGE  — maximize the wider content area
     ════════════════════════════════════════════════════════════════ */

  /* Top greeting row — more generous horizontal padding */
  body.dsk-app #pg-home .home-top {
    padding: 22px 32px 16px;
    border-bottom: 1px solid var(--border);
  }

  /* Balance card — stretch to fill with comfortable margins */
  body.dsk-app #pg-home .balance-card {
    margin: 20px 28px 20px;
    border-radius: 20px;
  }

  /* Section header — aligned with wider page padding */
  body.dsk-app #pg-home .section-header {
    padding: 4px 28px 10px;
  }

  /* Active-orders slider — wider padding & allow multi-card view */
  body.dsk-app #pg-home .ao-slider {
    padding: 0 28px 4px;
    gap: 16px;
  }
  body.dsk-app #pg-home .active-order-card {
    flex: 0 0 min(calc(50% - 20px), 440px);
  }

  /* Search bar — wider padding */
  body.dsk-app #pg-home .search-wrap {
    margin: 0 28px 16px;
  }

  /* Platform grid — multi-column responsive grid */
  body.dsk-app #pg-home .platforms-section {
    padding: 0 28px;
  }
  body.dsk-app #pg-home #platform-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 8px;
  }
  body.dsk-app #pg-home .platform-item {
    margin-bottom: 0;
  }

  /* ════════════════════════════════════════════════════════════════
     ORDERS PAGE  — responsive card grid
     ════════════════════════════════════════════════════════════════ */

  body.dsk-app #pg-orders .orders-header {
    padding: 20px 28px 14px;
    text-align: left;
  }
  body.dsk-app #pg-orders .order-tabs {
    padding: 0 24px 14px;
  }
  body.dsk-app #pg-orders .order-cards {
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 10px;
    align-items: start;
  }
  body.dsk-app #pg-orders .order-card {
    margin-bottom: 0;
  }

  /* ════════════════════════════════════════════════════════════════
     WALLET PAGE  — split balance + actions / history side-by-side
     ════════════════════════════════════════════════════════════════ */

  body.dsk-app #pg-wallet .orders-header {
    padding: 20px 28px 14px;
    text-align: left;
  }
  body.dsk-app #pg-wallet .wallet-content {
    padding: 16px 28px;
    display: grid;
    grid-template-columns: minmax(260px, 1.1fr) 1fr;
    gap: 20px 28px;
    align-items: start;
  }
  /* Balance card + actions stay in left column */
  body.dsk-app #pg-wallet .w-balance-card {
    grid-column: 1;
  }
  body.dsk-app #pg-wallet .w-actions {
    grid-column: 1;
  }
  /* Recent activity takes right column, spanning all rows */
  body.dsk-app #pg-wallet .w-section-row {
    grid-column: 2;
    grid-row: 1;
  }
  body.dsk-app #pg-wallet #recent-activity {
    grid-column: 2;
    grid-row: 2 / span 2;
  }

  /* ════════════════════════════════════════════════════════════════
     PROFILE PAGE  — two-column settings layout
     ════════════════════════════════════════════════════════════════ */

  body.dsk-app #pg-profile .pf-balance-card {
    margin: 20px 28px;
  }
  body.dsk-app #pg-profile .pf-scroll {
    padding: 0;
  }
  /* Section labels get wider padding */
  body.dsk-app #pg-profile .pf-section-label {
    padding-left: 28px;
    padding-right: 28px;
  }
  /* Groups placed in a 2-column grid */
  body.dsk-app #pg-profile .pf-group {
    margin-left: 28px;
    margin-right: 28px;
  }

  /* ════════════════════════════════════════════════════════════════
     TRANSACTIONS / DEPOSIT / DETAIL PAGES — wider padding
     ════════════════════════════════════════════════════════════════ */

  body.dsk-app #pg-transactions .detail-header,
  body.dsk-app #pg-deposit      .detail-header,
  body.dsk-app #pg-dep-history  .detail-header,
  body.dsk-app #pg-dep-detail   .detail-header {
    padding-left: 28px;
    padding-right: 28px;
  }
  body.dsk-app #pg-transactions .txn-content {
    padding: 0 28px;
  }
  body.dsk-app #pg-deposit .dep-content,
  body.dsk-app #pg-dep-history > .scroll > div {
    padding: 0 28px;
  }

  /* ════════════════════════════════════════════════════════════════
     DETAIL PAGES — wider content max-width for comfortable reading
     ════════════════════════════════════════════════════════════════ */

  body.dsk-app .detail-scroll > *,
  body.dsk-app .od-content,
  body.dsk-app .dd-content {
    max-width: 680px;
  }

  /* ── Dark-mode: border refinements for full-width layout ── */
  [data-theme="dark"] body.dsk-app #app {
    border-left-color: var(--border);
    border-right-color: var(--border);
  }

}
