    :root {
      /* Cafe Control cabinet ? modern shell (Master admin bilan bir tilda) */
      --ink: #05070f;
      --panel: rgba(17, 24, 43, 0.78);
      --panel-solid: #11182b;
      --line: rgba(255, 255, 255, 0.1);
      --line-strong: rgba(255, 255, 255, 0.16);
      --text: #eef2ff;
      --muted: #8b95b5;
      --amber: #ffc25c;
      --teal: #2fd8d0;
      --rose: #ff7a92;
      --ok: #34e0a1;
      --warn: #ffc25c;
      --blue: #6d8bff;
      --blue-dark: #4f6ef0;
      --accent: #6d8bff;
      --gate-bg: #eef1f8;
      --gate-card: #ffffff;
      --gate-text: #121826;
      --gate-muted: #66748c;
      --radius: 16px;
      --r: 14px;
      --r-lg: 20px;
      --font: "Manrope", "Segoe UI", system-ui, sans-serif;
      --display: "Outfit", "Manrope", sans-serif;
      --shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
      --glow: 0 0 0 1px rgba(109, 139, 255, 0.35), 0 12px 36px rgba(109, 139, 255, 0.22);
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      min-height: 100vh;
      font-family: var(--font);
      color: var(--text);
      background:
        radial-gradient(ellipse 80% 50% at 0% -10%, rgba(232, 165, 75, 0.18), transparent 55%),
        radial-gradient(ellipse 70% 45% at 100% 0%, rgba(62, 207, 190, 0.14), transparent 50%),
        radial-gradient(ellipse 50% 40% at 50% 100%, rgba(80, 120, 200, 0.08), transparent 60%),
        linear-gradient(165deg, #05080f 0%, var(--ink) 45%, #0c1420 100%);
      background-attachment: fixed;
    }
    body.gate-mode {
      background: var(--gate-bg);
      color: var(--gate-text);
      background-attachment: scroll;
    }
    a { color: var(--teal); text-decoration: none; }
    body.gate-mode a { color: var(--blue); }
    a:hover { text-decoration: underline; }
    .hidden { display: none !important; }

    /* ?? Gate (SmartShell-style / Cafe Control) ?? */
    .gate {
      min-height: 100vh;
      display: grid;
      grid-template-columns: 1fr min(400px, 100%);
    }
    @media (max-width: 960px) {
      .gate { grid-template-columns: 1fr; }
      .gate-aside { order: -1; min-height: auto; position: relative; }
    }
    .gate-feed {
      padding: 28px 32px 40px;
      overflow: auto;
    }
    .gate-feed-top {
      display: flex; align-items: center; justify-content: space-between;
      margin-bottom: 22px;
    }
    .gate-logo {
      display: flex; align-items: center; gap: 10px;
      font-family: var(--display); font-weight: 800; font-size: 1.35rem;
      letter-spacing: -0.03em; color: var(--gate-text);
    }
    .gate-mark {
      width: 36px; height: 36px; border-radius: 10px;
      background: #050608;
      display: grid; place-items: center;
      overflow: hidden;
      box-shadow: 0 8px 20px rgba(45, 212, 239, 0.28);
    }
    .gate-mark img { width: 100%; height: 100%; display: block; object-fit: cover; }
    .gate-mark svg { width: 20px; height: 20px; }
    .promo-grid {
      display: grid;
      grid-template-columns: 1.15fr 1fr;
      gap: 16px;
    }
    @media (max-width: 1100px) {
      .promo-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 700px) {
      .promo-grid { grid-template-columns: 1fr; }
      .gate-feed { padding: 18px 16px 28px; }
    }
    .promo {
      background: var(--gate-card);
      border-radius: 20px;
      padding: 22px 22px 18px;
      box-shadow: 0 10px 30px rgba(30, 50, 90, 0.08);
      border: 1px solid rgba(20, 40, 80, 0.06);
      min-height: 200px;
      display: flex; flex-direction: column;
      position: relative; overflow: hidden;
    }
    .promo.hero {
      background: linear-gradient(145deg, #1b1f2a 0%, #2a1848 55%, #3a2060 100%);
      color: #fff;
      grid-row: span 1;
    }
    .promo.hero .promo-kicker { color: rgba(255,255,255,.65); }
    .promo.hero p { color: rgba(255,255,255,.78); }
    .promo-kicker {
      font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em;
      text-transform: uppercase; color: var(--blue); margin-bottom: 8px;
    }
    .promo h3 {
      font-family: var(--display); font-size: 1.2rem; margin: 0 0 8px;
      letter-spacing: -0.02em; line-height: 1.25;
    }
    .promo p {
      margin: 0; color: var(--gate-muted); font-size: 0.92rem; line-height: 1.45;
      flex: 1;
    }
    .promo-visual {
      margin-top: 16px; border-radius: 14px; min-height: 88px;
      background: linear-gradient(120deg, rgba(47,107,255,.12), rgba(62,207,190,.1));
      border: 1px solid rgba(47,107,255,.12);
      display: flex; align-items: flex-end; padding: 12px; gap: 8px;
    }
    .promo.hero .promo-visual {
      background: linear-gradient(120deg, rgba(255,255,255,.08), rgba(120,90,255,.2));
      border-color: rgba(255,255,255,.1);
    }
    .chip {
      background: rgba(255,255,255,.92); color: #1a2333;
      font-size: 0.72rem; font-weight: 800; padding: 6px 10px; border-radius: 8px;
    }
    .promo.hero .chip { background: rgba(255,255,255,.14); color: #fff; }
    .stat-bars { display:flex; align-items:flex-end; gap:5px; height:54px; margin-left:auto; }
    .stat-bars i {
      display:block; width:10px; border-radius:4px 4px 0 0;
      background: linear-gradient(180deg, #2f6bff, #6ea0ff);
    }

    .gate-aside {
      background: #fff;
      border-left: 1px solid rgba(20,40,80,.08);
      padding: 28px 28px 36px;
      display: flex; flex-direction: column;
      box-shadow: -12px 0 40px rgba(20, 40, 80, 0.06);
    }
    .gate-aside-brand {
      display: flex; align-items: center; gap: 10px;
      margin-bottom: 36px;
      font-family: var(--display); font-weight: 800; font-size: 1.15rem;
      letter-spacing: -0.02em;
    }
    .gate-aside h1 {
      font-family: var(--display); font-size: 1.55rem; margin: 0 0 22px;
      letter-spacing: -0.03em; line-height: 1.2;
    }
    .gate-aside label {
      display: block; margin-top: 14px; color: var(--gate-muted);
      font-size: 0.82rem; font-weight: 600;
    }
    .gate-aside input {
      width: 100%; margin-top: 6px; padding: 13px 14px; border-radius: 12px;
      border: 1px solid #d5dde8; background: #f7f9fc; color: var(--gate-text);
      font-family: var(--font); font-size: 1rem;
    }
    .gate-aside input:focus {
      outline: 2px solid rgba(47,107,255,.28); border-color: transparent; background: #fff;
    }
    .pass-wrap { position: relative; }
    .pass-wrap button.eye {
      position: absolute; right: 10px; top: 50%; transform: translateY(-35%);
      border: 0; background: transparent; cursor: pointer; color: var(--gate-muted);
      font-size: 0.85rem; font-weight: 700; padding: 6px;
    }
    .link-row {
      display: flex; justify-content: flex-end; margin-top: 8px;
      font-size: 0.85rem;
    }
    .btn-gate {
      width: 100%; margin-top: 18px; padding: 14px; border: 0; border-radius: 12px;
      background: var(--blue); color: #fff; font-weight: 800; font-size: 1rem;
      font-family: var(--font); cursor: pointer;
      box-shadow: 0 10px 24px rgba(47,107,255,.28);
    }
    .btn-gate:hover { background: var(--blue-dark); }
    .btn-gate:disabled { opacity: .5; cursor: not-allowed; }
    .btn-gate.secondary {
      background: #fff; color: var(--gate-text); border: 1px solid #d5dde8;
      box-shadow: none; margin-top: 10px;
    }
    .gate-foot {
      margin-top: auto; padding-top: 28px; text-align: center;
      color: var(--gate-muted); font-size: 0.9rem;
    }
    .gate-tabs {
      display: flex; align-items: stretch; gap: 3px; margin-bottom: 8px;
      min-height: 40px; height: 40px; box-sizing: border-box;
      background: #f0f3f8; padding: 3px; border-radius: 12px;
    }
    .gate-tabs button {
      flex: 1; border: 0; background: transparent; padding: 0 12px;
      border-radius: 10px; font-weight: 700; cursor: pointer; color: var(--gate-muted);
      font-family: var(--font); font-size: 0.88rem; line-height: 1;
      display: inline-flex; align-items: center; justify-content: center;
      box-shadow: inset 0 0 0 1px transparent;
      transition: background .2s, color .2s, box-shadow .2s;
    }
    .gate-tabs button.on {
      background: #fff; color: var(--blue);
      box-shadow: 0 2px 8px rgba(20,40,80,.08);
    }
    .gate-face {
      position: relative; margin: 10px auto 0; max-width: 220px;
      border-radius: 16px; overflow: hidden; background: #0b1220; aspect-ratio: 3/4;
      border: 1px solid #d5dde8;
    }
    .gate-face.is-fs-scan {
      position: fixed !important; inset: 0 !important; z-index: 10050;
      width: 100vw !important; height: 100dvh !important; max-width: none !important;
      aspect-ratio: auto !important; margin: 0 !important; border-radius: 0 !important; border: 0;
    }
    .gate-face video, .gate-face canvas { width: 100%; height: 100%; object-fit: cover; object-position: center center; display: block; }
    .gate-face video { transform: scaleX(-1); }
    .gate-face canvas { position: absolute; inset: 0; pointer-events: none; }
    .gate-face .oval {
      position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%);
      width: 68%; height: 78%;
      border: 2.5px solid rgba(217,119,6,.95);
      border-radius: 50% 50% 46% 46% / 40% 40% 60% 60%;
      box-sizing: border-box; pointer-events: none;
      box-shadow: 0 0 0 9999px rgba(0,0,0,.55);
      transition: border-color .15s ease;
    }
    .gate-face .oval.far { width: 68%; height: 78%; border-color: rgba(217,119,6,.9); }
    .gate-face .oval.near { width: 86%; height: 90%; border-color: rgba(47,107,255,.95); }
    .gate-face.is-fs-scan .oval.far { width: min(72vw, 58vh); height: min(88vw, 70vh); }
    .gate-face.is-fs-scan .oval.near { width: min(90vw, 72vh); height: min(110vw, 86vh); }
    .gate-face .oval.wait { border-color: #16a34a; border-style: solid; }
    .gate-face .oval.ok { border-color: #16a34a; border-style: solid; box-shadow: 0 0 0 9999px rgba(0,0,0,.45), 0 0 0 3px rgba(22,163,74,.2); }
    .face-steps { display: flex; gap: 6px; margin: 8px 0 0; }
    .face-steps span {
      flex: 1; text-align: center; padding: 7px 4px; border-radius: 9px; font-size: 0.78rem; font-weight: 700;
      background: #f0f3f8; color: var(--gate-muted);
    }
    .face-steps span.on { background: var(--blue); color: #fff; }
    .face-steps span.done { background: #dcfce7; color: #166534; }
    .gate-err { color: #d64545; margin-top: 10px; font-size: 0.9rem; white-space: pre-wrap; }
    .gate-muted { color: var(--gate-muted); font-size: 0.88rem; }

    .app { max-width: 1100px; margin: 0 auto; padding: 20px 18px 64px; }
    body.gate-mode .app { display: none; }
    body:not(.gate-mode) #view-auth-gate { display: none !important; }

    .top {
      display: flex; flex-direction: column; align-items: stretch; gap: 10px;
      padding: 8px 4px 12px;
      overflow: visible;
    }
    .top-bar {
      display: flex;
      align-items: center;
      gap: 8px;
      min-width: 0;
      flex-wrap: nowrap;
    }
    .brand {
      font-family: var(--display);
      font-weight: 800;
      font-size: clamp(0.88rem, 3.4vw, 1.08rem);
      letter-spacing: -0.02em;
      line-height: 1.1;
      display: flex;
      align-items: center;
      gap: 8px;
      min-width: 0;
      flex: 1 1 auto;
      user-select: none;
    }
    .brand-logo,
    .brand-title {
      border: 0;
      background: transparent;
      color: inherit;
      padding: 0;
      cursor: pointer;
      font: inherit;
      text-align: left;
      border-radius: 10px;
      min-width: 0;
      max-width: 100%;
    }
    .brand-logo {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 2px;
    }
    .brand-logo:hover,
    .brand-logo:focus-visible {
      outline: 2px solid rgba(62, 207, 190, 0.55);
      outline-offset: 3px;
    }
    .brand-title:hover #brand-name,
    .brand-title:focus-visible #brand-name {
      color: var(--teal, #3ecfbe);
    }
    .brand-title:focus-visible {
      outline: 2px solid rgba(62, 207, 190, 0.35);
      outline-offset: 4px;
    }
    .brand-inline-mark {
      width: 96px;
      height: 96px;
      border-radius: 22px;
      display: block;
      flex: 0 0 auto;
    }
    .brand #brand-name {
      font-family: var(--display);
      font-weight: 800;
      font-size: inherit;
      letter-spacing: inherit;
      line-height: inherit;
      display: block;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .top-tools {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 6px;
      flex: 0 0 auto;
      min-width: 0;
    }
    .top-cash-pair {
      display: flex;
      align-items: stretch;
      gap: 8px;
      width: 100%;
    }
    .top-cash-pair[hidden] { display: none !important; }
    .top-cash-chip {
      flex: 1 1 0;
      width: 0;
      min-width: 0;
      min-height: 54px;
      padding: 10px 12px;
      border-radius: 14px;
      overflow: visible;
      position: relative;
      justify-content: center;
      box-sizing: border-box;
    }
    .top-cash-chip .cash-chip-k {
      font-size: .7rem;
      width: 100%;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .top-cash-chip .cash-chip-v {
      font-size: 1.05rem;
      line-height: 1.2;
      width: 100%;
      white-space: nowrap;
      overflow: visible;
      position: relative;
      z-index: 3;
      text-shadow: 0 0 8px rgba(7, 11, 18, 0.85);
    }
    .top-cash-chip:hover .cash-chip-v,
    .top-cash-chip:focus-visible .cash-chip-v {
      z-index: 6;
    }
    @media (max-width: 720px) {
      .top-cash-chip { min-height: 52px; padding: 8px 10px; }
      .top-cash-chip .cash-chip-v { font-size: 1rem; }
      .top-out-btn { padding: 7px 10px; font-size: 0.78rem; }
      .top-icon-btn { width: 36px; height: 36px; }
      #btn-lang.top-icon-btn { min-width: 36px; padding: 0 8px 0 6px; }
    }
    .top-dd { position: relative; }
    .top-icon-btn {
      position: relative;
      display: inline-flex; align-items: center; justify-content: center; gap: 5px;
      width: 40px; height: 40px; padding: 0;
      border-radius: 12px; border: 1px solid transparent;
      background: rgba(255,255,255,.05); color: var(--muted);
      cursor: pointer; font-weight: 800; font-family: var(--font); font-size: .68rem;
      transition: color .15s, background .15s, border-color .15s, transform .15s;
    }
    #btn-lang.top-icon-btn { width: auto; min-width: 40px; padding: 0 10px 0 8px; }
    .top-icon-btn:hover {
      color: var(--text);
      background: rgba(62,207,190,.12);
      border-color: rgba(62,207,190,.28);
    }
    .top-icon-btn:active { transform: scale(0.96); }
    .top-ico { display: block; flex-shrink: 0; }
    .top-lang-code {
      font-size: .68rem; letter-spacing: .04em; font-weight: 800; color: inherit;
    }
    .top-bell-badge {
      position: absolute; top: 4px; right: 4px; margin: 0;
      min-width: 15px; height: 15px; font-size: .6rem;
      pointer-events: none;
      box-shadow: 0 0 0 2px rgba(10,14,22,.9);
    }
    .top-drop {
      position: absolute; top: calc(100% + 8px); right: 0; z-index: 80;
      min-width: 220px; max-width: min(92vw, 360px);
      border: 1px solid var(--line); border-radius: 14px;
      background: rgba(10, 14, 22, 0.98);
      box-shadow: 0 16px 40px rgba(0,0,0,.45);
      overflow: hidden;
    }
    .top-drop-lang { min-width: 160px; padding: 6px; display: flex; flex-direction: column; gap: 2px; }
    .top-drop-lang button {
      text-align: left; border: 0; background: transparent; color: var(--text);
      padding: 10px 12px; border-radius: 10px; cursor: pointer; font-weight: 700;
      font-family: var(--font); font-size: .9rem;
    }
    .top-drop-lang button:hover, .top-drop-lang button.on {
      background: rgba(62,207,190,.14); color: var(--teal);
    }
    .top-drop-notify { width: min(92vw, 360px); }
    .top-drop-head {
      display: flex; align-items: center; justify-content: space-between; gap: 8px;
      padding: 10px 12px; border-bottom: 1px solid var(--line);
    }
    .top-drop-list { max-height: min(60vh, 420px); overflow: auto; padding: 8px; }
    .top-drop-empty {
      padding: 18px 12px; text-align: center; color: var(--muted); font-size: .9rem;
    }
    .top-drop-empty strong { display: block; color: var(--text); margin-bottom: 4px; }
    .top-drop .notify-row { margin-bottom: 6px; }
    .top-muddat {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 28px;
      padding: 0 2px;
      border: 0;
      background: transparent;
      white-space: nowrap;
      flex-shrink: 0;
    }
    .top-muddat[hidden] { display: none !important; }
    .top-muddat b {
      font-family: var(--display);
      font-size: 0.95rem;
      font-weight: 800;
      color: #fff;
      letter-spacing: -0.02em;
      line-height: 1;
    }
    .top-out-btn {
      flex-shrink: 0;
      white-space: nowrap;
    }

    .owner-scan-fab {
      position: fixed;
      right: max(14px, env(safe-area-inset-right));
      bottom: calc(102px + env(safe-area-inset-bottom, 0px));
      z-index: 9000;
      width: 64px;
      height: 64px;
      border: 1px solid rgba(125, 211, 252, 0.72);
      border-radius: 50%;
      display: grid;
      place-items: center;
      color: #06111b;
      background: linear-gradient(145deg, #67e8f9 0%, #38bdf8 48%, #22d3ee 100%);
      box-shadow: 0 16px 36px rgba(2, 132, 199, 0.42), 0 0 0 6px rgba(56, 189, 248, 0.10);
      cursor: grab;
      touch-action: none;
      user-select: none;
      -webkit-user-select: none;
      transition: box-shadow .2s ease, scale .2s ease;
    }
    .owner-scan-fab.hidden { display: none !important; }
    body.gate-mode .owner-scan-fab,
    body.bron-wiz-open .owner-scan-fab {
      visibility: hidden !important;
      pointer-events: none !important;
      opacity: 0 !important;
    }
    .owner-scan-fab svg { width: 28px; height: 28px; position: relative; z-index: 2; }
    .owner-scan-fab:active, .owner-scan-fab.is-dragging { cursor: grabbing; scale: .96; }
    .owner-scan-fab.is-dragging { box-shadow: 0 20px 46px rgba(2,132,199,.58), 0 0 0 8px rgba(56,189,248,.14); }
    .owner-scan-fab-ring {
      position: absolute; inset: -5px;
      border: 2px solid rgba(103,232,249,.5);
      border-radius: 50%;
      animation: ownerScanFabPulse 2.2s ease-out infinite;
    }
    .owner-scan-fab-dot {
      position: absolute; right: 7px; top: 7px;
      width: 9px; height: 9px; border-radius: 50%;
      background: #f8fafc; box-shadow: 0 0 12px #fff;
    }
    @keyframes ownerScanFabPulse {
      0%,100% { opacity:.25; transform:scale(.96) }
      55% { opacity:.8; transform:scale(1.08) }
    }
    .bar-order-list { display: flex; flex-direction: column; gap: 8px; }
    .bar-order {
      display: flex; align-items: center; justify-content: space-between; gap: 10px;
      padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px;
      background: rgba(7,11,18,.45);
    }
    .bar-order-main { min-width: 0; }
    .bar-order-sum { font-family: var(--display); white-space: nowrap; }

    .btn {
      appearance: none; border: 0; cursor: pointer;
      font-family: var(--font); font-weight: 700; font-size: 0.92rem;
      padding: 11px 16px; border-radius: 12px;
      background: linear-gradient(135deg, var(--amber), #d4893a);
      color: #1a1005; transition: transform .15s ease, filter .15s ease, opacity .15s;
    }
    .btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
    .btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
    .btn.ghost {
      background: transparent; color: var(--text);
      border: 1px solid var(--line);
    }
    .btn.teal { background: linear-gradient(135deg, var(--teal), #2aafa0); color: #04221e; }
    .btn.danger { background: linear-gradient(135deg, #e85d66, #c43d48); color: #fff; }
    .btn.sm { padding: 8px 12px; font-size: 0.82rem; border-radius: 10px; }
    .btn.block { width: 100%; }

    .panel {
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      backdrop-filter: blur(14px);
      box-shadow: var(--shadow);
      padding: 22px;
    }

    .tabs {
      display: flex; align-items: stretch; gap: 3px; margin-bottom: 16px;
      min-height: 40px; height: 40px; box-sizing: border-box;
      background: rgba(0,0,0,.25); padding: 3px; border-radius: 12px;
      border: 1px solid var(--line);
    }
    .tab {
      flex: 1; border: 0; background: transparent; color: var(--muted);
      padding: 0 12px; border-radius: 10px; font-weight: 700; cursor: pointer;
      font-family: var(--font); font-size: 0.9rem; line-height: 1;
      display: inline-flex; align-items: center; justify-content: center;
      box-shadow: inset 0 0 0 1px transparent;
      transition: background .2s, color .2s, box-shadow .2s;
    }
    .tab.on {
      background: rgba(232,165,75,.16); color: var(--amber);
      box-shadow: inset 0 0 0 1px rgba(232,165,75,.28);
    }

    label { display: block; margin-top: 12px; color: var(--muted); font-size: 0.82rem; font-weight: 600; }
    input, select {
      width: 100%; margin-top: 6px; padding: 12px 14px; border-radius: 12px;
      border: 1px solid var(--line); background: rgba(7, 11, 18, 0.85); color: var(--text);
      font-family: var(--font); font-size: 1rem;
    }
    input:focus, select:focus { outline: 2px solid rgba(62,207,190,.35); border-color: transparent; }
    .err { color: var(--rose); margin-top: 10px; white-space: pre-wrap; font-size: 0.9rem; }
    .ok { color: var(--ok); margin-top: 10px; white-space: pre-wrap; font-size: 0.9rem; }
    .muted { color: var(--muted); }
    .mono { font-family: ui-monospace, Consolas, monospace; font-size: 0.8rem; word-break: break-all; }

    .face-wrap {
      position: relative; margin: 8px auto 0; max-width: 280px;
      border-radius: 20px; overflow: hidden; background: #020617; aspect-ratio: 3/4;
      border: 1px solid var(--line);
    }
    .face-wrap.is-fs-scan {
      position: fixed !important; inset: 0 !important; z-index: 10050;
      width: 100vw !important; height: 100dvh !important; max-width: none !important;
      aspect-ratio: auto !important; margin: 0 !important; border-radius: 0 !important; border: 0;
    }
    .scan-fs-close {
      display: none;
      position: absolute;
      top: calc(12px + env(safe-area-inset-top, 0px));
      right: calc(12px + env(safe-area-inset-right, 0px));
      width: 44px;
      height: 44px;
      border: 1px solid rgba(148, 163, 184, 0.4);
      border-radius: 12px;
      background: rgba(15, 23, 42, 0.92);
      color: #e2e8f0;
      font-size: 18px;
      line-height: 1;
      cursor: pointer;
      z-index: 10070;
      align-items: center;
      justify-content: center;
    }
    .face-wrap.is-fs-scan > .scan-fs-close,
    body.face-scan-open .scan-fs-close {
      display: inline-flex;
    }
    .face-wrap video, .face-wrap canvas { width: 100%; height: 100%; object-fit: cover; object-position: center center; display: block; }
    .face-wrap video { transform: scaleX(-1); }
    .face-wrap canvas { position: absolute; inset: 0; pointer-events: none; }
    .face-tap {
      position: absolute; inset: 0; z-index: 4; display: none; cursor: pointer; background: transparent;
    }
    .face-hud {
      position: absolute; left: 12px; right: 12px; bottom: calc(14px + env(safe-area-inset-bottom, 0px));
      z-index: 5; pointer-events: none;
    }
    .face-hud #face-status {
      margin: 0; text-align: center; padding: 12px 14px; border-radius: 14px;
      background: rgba(8,12,24,.72); border: 1px solid rgba(255,255,255,.12);
      color: #e2e8f0; font-weight: 700; font-size: .92rem;
    }
    body.face-scan-open { overflow: hidden; }
    body.face-scan-open .gate-aside > h1,
    body.face-scan-open .gate-aside > .gate-aside-brand,
    body.face-scan-open .gate-aside > .gate-muted,
    body.face-scan-open .face-steps,
    body.face-scan-open #auth-face > label,
    body.face-scan-open #auth-face > input,
    body.face-scan-open #btn-face,
    body.face-scan-open #gate-foot-login { display: none !important; }
    body.face-scan-open #auth-face { margin: 0; padding: 0; }
    body.face-scan-open .gate-aside {
      max-width: none; width: 100%; padding: 0; background: #000; border: 0; box-shadow: none;
    }
    .face-oval {
      --ring: #fbbf24;
      --ring-glow: rgba(251, 191, 36, 0.42);
      --vignette: rgba(2, 6, 14, 0.62);
      position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%);
      width: 74%; aspect-ratio: 5 / 6; height: auto;
      border: none; border-radius: 50%;
      box-sizing: border-box; pointer-events: none; overflow: hidden; background: transparent;
      box-shadow:
        inset 0 0 0 1.5px rgba(255,255,255,.55),
        inset 0 0 24px rgba(255,255,255,.06),
        0 0 0 1.5px color-mix(in srgb, var(--ring) 88%, white),
        0 0 0 5px var(--ring-glow),
        0 0 36px 2px var(--ring-glow),
        0 0 0 9999px var(--vignette);
      transition: box-shadow .2s ease;
    }
    .face-oval::before {
      content: none; display: none; animation: none;
    }
    .face-oval::after {
      content: ''; position: absolute; left: -8%; right: -8%; height: 32%; top: -40%;
      background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,.05) 35%, color-mix(in srgb, var(--ring) 28%, transparent) 50%, rgba(255,255,255,.05) 65%, transparent 100%);
      animation: face-oval-sweep 2.4s ease-in-out infinite; pointer-events: none;
    }
    @keyframes face-oval-sweep {
      0% { top: -42%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: 110%; opacity: 0; }
    }
    .face-oval.far { width: 56%; aspect-ratio: 5 / 6; height: auto; --ring: #fbbf24; --ring-glow: rgba(251,191,36,.4); }
    .face-oval.near { width: 44%; aspect-ratio: 5 / 6; height: auto; --ring: #22d3ee; --ring-glow: rgba(34,211,238,.42); }
    .face-wrap.is-fs-scan .face-oval.far {
      width: min(56vw, 46vh); height: auto; aspect-ratio: 5 / 6; max-width: 78vw; max-height: 62vh;
    }
    .face-wrap.is-fs-scan .face-oval.near {
      width: min(44vw, 36vh); height: auto; aspect-ratio: 5 / 6; max-width: 70vw; max-height: 54vh;
    }
    .face-oval.wait { --ring: #4ade80; --ring-glow: rgba(74,222,128,.45); }
    .face-oval.ok {
      --ring: #22c55e; --ring-glow: rgba(34,197,94,.5); --vignette: rgba(2,6,14,.48);
      box-shadow:
        inset 0 0 0 1.5px rgba(255,255,255,.65),
        inset 0 0 28px rgba(34,197,94,.12),
        0 0 0 2px #22c55e,
        0 0 0 7px rgba(34,197,94,.28),
        0 0 44px 4px rgba(34,197,94,.35),
        0 0 0 9999px var(--vignette);
    }

    .dash-head {
      display: flex; justify-content: flex-end; gap: 16px; align-items: flex-start; flex-wrap: wrap;
      margin-bottom: 22px;
    }
    .who { display: flex; gap: 14px; align-items: center; }
    .avatar {
      width: 56px; height: 56px; border-radius: 16px;
      background: linear-gradient(145deg, rgba(232,165,75,.35), rgba(62,207,190,.25));
      display: grid; place-items: center;
      font-family: var(--display); font-weight: 800; font-size: 1.2rem; color: #fff;
      border: 1px solid var(--line);
    }
    .who h2 { margin: 0; font-family: var(--display); font-size: 1.45rem; letter-spacing: -0.03em; }
    .who p { margin: 4px 0 0; color: var(--muted); font-size: 0.9rem; }

    .stats {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 12px;
      margin-bottom: 22px;
    }
    @media (max-width: 720px) { .stats { grid-template-columns: 1fr 1fr; } }
    .stat {
      padding: 16px; border-radius: 16px;
      background: rgba(255,255,255,0.03);
      border: 1px solid var(--line);
    }
    .stat b {
      display: block; font-family: var(--display); font-size: 1.55rem;
      letter-spacing: -0.03em; margin-top: 4px;
    }
    .stat span { font-size: 0.78rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }

    .nav {
      display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px;
      padding: 4px; background: rgba(0,0,0,.22); border-radius: 14px; width: fit-content; max-width: 100%;
    }
    .nav button {
      border: 0; background: transparent; color: var(--muted); cursor: pointer;
      padding: 10px 14px; border-radius: 10px; font-weight: 700; font-family: var(--font); font-size: 0.88rem;
    }
    .nav button.on { background: rgba(62,207,190,.14); color: var(--teal); }

    .ptr-indicator {
      position: sticky;
      top: 0;
      z-index: 30;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      height: 0;
      overflow: hidden;
      opacity: 0;
      pointer-events: none;
      color: var(--muted);
      font-size: .82rem;
      font-weight: 700;
      transition: height .15s ease, opacity .15s ease;
    }
    .ptr-indicator.show {
      height: calc(28px + 28px * var(--ptr, 0));
      opacity: 1;
    }
    .ptr-indicator.ready { color: var(--teal); }
    .ptr-indicator.refreshing { color: var(--teal); height: 48px; opacity: 1; }
    .ptr-spinner {
      width: 18px; height: 18px;
      border: 2px solid rgba(62,207,190,.25);
      border-top-color: var(--teal);
      border-radius: 50%;
      transform: rotate(calc(var(--ptr, 0) * 360deg));
    }
    .ptr-indicator.refreshing .ptr-spinner {
      animation: ptr-spin .7s linear infinite;
    }
    @keyframes ptr-spin { to { transform: rotate(360deg); } }

    body.has-bottom-nav .app {
      padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
    }
    .nav.nav-bottom {
      position: fixed;
      left: 0; right: 0; bottom: 0;
      z-index: 45;
      width: 100%;
      max-width: none;
      margin: 0;
      border-radius: 0;
      border: 1px solid var(--line);
      border-left: 0; border-right: 0; border-bottom: 0;
      display: flex;
      flex-wrap: nowrap;
      justify-content: space-around;
      gap: 2px;
      padding: 8px 4px calc(8px + env(safe-area-inset-bottom, 0px));
      background: rgba(7, 11, 18, 0.94);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      box-shadow: 0 -8px 28px rgba(0,0,0,.35);
    }
    .nav.nav-bottom button {
      flex: 1;
      min-width: 0;
      padding: 10px 4px;
      border-radius: 12px;
      font-size: 0.72rem;
      letter-spacing: -0.01em;
    }
    .nav.nav-bottom button.nav-times-btn {
      display: inline-flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 3px;
      padding: 6px 4px;
    }
    .nav-times-logo {
      width: 26px;
      height: 26px;
      border-radius: 8px;
      display: block;
      flex: 0 0 auto;
    }
    body.has-bottom-nav .toast {
      bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    }

    .cam-toolbar {
      display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px;
    }
    .cam-wall {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 10px;
    }
    .cam-tile {
      position: relative;
      background: #05080f;
      border: 1px solid var(--line);
      border-radius: 12px;
      overflow: hidden;
      min-height: 160px;
      cursor: grab;
      user-select: none;
    }
    .cam-tile:active { cursor: grabbing; }
    .cam-tile.on { outline: 2px solid var(--teal); }
    .cam-tile.dragging { opacity: 0.55; }
    .cam-tile img {
      width: 100%; height: 170px; object-fit: cover; display: block; background: #000;
    }
    .cam-name {
      position: absolute; left: 0; right: 0; bottom: 0;
      padding: 8px 10px;
      background: linear-gradient(transparent, rgba(0,0,0,.88));
      font-weight: 800; font-size: 0.82rem;
    }
    .cam-pill {
      position: absolute; top: 8px; right: 8px;
      font-size: 10px; font-weight: 800;
      padding: 2px 7px; border-radius: 999px;
      background: #334155; color: #e2e8f0;
    }
    .cam-pill.live { background: #14532d; color: #86efac; }
    .cam-stage {
      margin-bottom: 12px;
      border: 1px solid var(--line);
      border-radius: 14px;
      overflow: hidden;
      background: #000;
    }
    .cam-stage-bar {
      display: flex; justify-content: space-between; align-items: center;
      gap: 8px; padding: 8px 12px; background: rgba(11,18,32,.95);
    }
    .cam-stage img {
      width: 100%; max-height: 62vh; object-fit: contain; display: block; background: #000;
    }

    .nav-badge {
      display: inline-flex; align-items: center; justify-content: center;
      min-width: 16px; height: 16px; padding: 0 4px; margin-left: 4px;
      border-radius: 999px; font-size: 0.65rem; font-weight: 800;
      background: #e11d48; color: #fff; vertical-align: middle;
    }
    .nav.nav-bottom button { position: relative; }
    .nav.nav-bottom .nav-badge {
      position: absolute; top: 2px; right: 6px; margin: 0;
      min-width: 18px; height: 18px; font-size: 0.62rem;
      box-shadow: 0 0 0 2px rgba(7,11,18,.94);
      animation: navBadgePulse 1.8s ease-in-out infinite;
    }
    @keyframes navBadgePulse {
      0%,100% { transform: scale(1); }
      50% { transform: scale(1.12); }
    }
    .bron-check { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .88rem; margin: 0 0 12px; }
    .bron-rooms { display: flex; flex-direction: column; gap: 8px; }
    .bron-slot { min-width: 0; }
    .bron-room {
      display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
      border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px;
      background: rgba(7,11,18,.45);
    }
    .bron-room.is-on { border-color: rgba(45,212,191,.65); box-shadow: 0 0 0 1px rgba(45,212,191,.25); }
    .bron-room.is-booked { border-color: rgba(248,113,113,.45); }
    .bron-room.is-edit { display: block; padding: 12px 14px; }
    .bron-card-hit {
      flex: 1; min-width: 80px; min-height: 44px; text-align: left; background: none; border: 0; color: inherit;
      font-family: inherit; cursor: pointer; padding: 2px 4px 2px 0;
      display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
    }
    .bron-tick {
      display: inline-flex; align-items: center; justify-content: center;
      width: 22px; height: 22px; flex: 0 0 22px; border-radius: 6px;
      border: 1.5px solid var(--line); font-size: .72rem; font-weight: 900; color: #04221e;
      background: rgba(255,255,255,.06);
    }
    .bron-room.is-on .bron-tick {
      background: #5eead4; border-color: #5eead4;
    }
    .bron-card-hit strong { font-size: 1.02rem; font-family: var(--display); }
    .bron-card-pcs { margin-left: 0; color: var(--muted); font-size: .82rem; font-weight: 700; }
    .bron-card-tools { display: flex; gap: 6px; padding: 0; justify-content: flex-end; flex-wrap: nowrap; margin-left: 8px; flex: 0 0 auto; position: relative; z-index: 2; }
    .bron-card-tools .btn { min-height: 40px; pointer-events: auto; }
    .bron-book-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 0; margin: 0; }
    .bron-book-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
    .bron-book-pill {
      display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px;
      font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
      background: rgba(248,113,113,.18); color: #fda4af;
    }
    .bron-book-guest { font-size: .82rem; font-weight: 700; }
    .bron-book-until { margin: 0; font-size: .78rem; color: var(--muted); font-weight: 650; }
    .bron-book-until span { color: var(--teal); font-weight: 800; margin-right: 4px; }
    .bron-book-acts { display: flex; gap: 8px; flex-wrap: wrap; width: 100%; }
    .bron-book-acts .btn { min-height: 36px; }
    .bron-room-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
    .bron-toolbar {
      display: flex;
      align-items: center;
      flex-wrap: nowrap;
      width: calc(100% + 12px);
      max-width: none;
      margin-right: -12px;
      padding: 0;
      gap: 8px;
    }
    #bron-dale {
      min-height: 40px; font-size: 1.02rem; font-weight: 800;
      padding: 8px 16px; border-radius: 12px;
      margin-left: auto;
      margin-right: 0;
      flex: 0 0 auto;
    }
    #bron-dale.hidden { display: none; }
    .bron-wiz {
      position: fixed; inset: 0; z-index: 80; display: flex;
      align-items: flex-end; justify-content: center;
      background: rgba(0,0,0,.45);
      box-sizing: border-box;
      padding: 12px 12px calc(14px + env(safe-area-inset-bottom, 0px));
    }
    .bron-wiz.hidden { display: none; }
    body.bron-wiz-open .nav.nav-bottom {
      display: none !important;
      pointer-events: none !important;
    }
    .bron-wiz-card {
      width: min(440px, 100%); max-height: 100%;
      display: flex; flex-direction: column;
      overflow: hidden;
      background: var(--panel, #101820); border: 1px solid var(--line); border-radius: 18px;
      padding: 14px 16px 16px;
      box-sizing: border-box;
    }
    .bron-wiz-body {
      flex: 1 1 auto;
      min-height: 0;
      overflow: auto;
      -webkit-overflow-scrolling: touch;
    }
    .bron-silent-row {
      display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
      margin: 10px 0 0; padding: 10px 12px;
      border: 1px solid var(--line); border-radius: 12px;
      font-size: .9rem; font-weight: 700; flex-shrink: 0;
    }
    .bron-silent-row.hidden { display: none !important; }
    .bron-silent-row input { width: 18px; height: 18px; accent-color: #2dd4bf; }
    .bron-silent-row em { font-style: normal; font-weight: 600; color: var(--muted); font-size: .78rem; }
    #bron-wiz-next {
      flex: 0 0 auto;
      margin-top: 12px;
      min-height: 48px;
      position: relative;
      z-index: 3;
    }
    .bron-wiz-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
    .bron-wiz-head h3 { flex: 1; margin: 0; font-size: 1.05rem; text-align: center; }
    .bron-wiz-step label { display: block; margin: 10px 0 4px; font-size: .86rem; color: var(--muted); }
    .bron-wiz-step input { width: 100%; }
    #bron-wiz-time {
      font-family: var(--display);
      font-size: 2.05rem;
      font-weight: 800;
      letter-spacing: .12em;
      text-align: center;
      padding: 16px 14px;
      min-height: 64px;
      border-radius: 14px;
      color: #f8fafc;
      -webkit-text-fill-color: #f8fafc;
      caret-color: #04221e;
      background: #071018;
    }
    #bron-wiz-time:focus,
    #bron-wiz-time:focus-visible {
      color: #04221e;
      -webkit-text-fill-color: #04221e;
      background: #5eead4;
      border-color: #99f6e4;
      outline: 3px solid rgba(45, 212, 191, .45);
    }
    #bron-wiz-time::selection {
      color: #04221e;
      -webkit-text-fill-color: #04221e;
      background: #99f6e4;
    }
    #bron-wiz-time::-moz-selection {
      color: #04221e;
      background: #99f6e4;
    }
    #bron-wiz-date {
      font-size: 1.05rem;
      font-weight: 700;
      min-height: 46px;
    }
    .bron-time-quick {
      display: flex;
      gap: 8px;
      margin-top: 10px;
    }
    .bron-time-quick .btn { flex: 1; min-height: 40px; font-weight: 800; }
    .bron-suggest-wrap { position: relative; }
    .bron-suggest {
      position: absolute; left: 0; right: 0; top: 100%; z-index: 4;
      max-height: 180px; overflow: auto; margin-top: 4px;
      background: #0d141c; border: 1px solid var(--line); border-radius: 10px;
    }
    .bron-suggest button {
      display: block; width: 100%; text-align: left; padding: 10px 12px;
      background: none; border: 0; border-bottom: 1px solid var(--line);
      color: inherit; font-family: inherit; cursor: pointer;
    }
    .bron-suggest button:last-child { border-bottom: 0; }
    .bron-suggest button:hover { background: rgba(45,212,191,.1); }
    .bron-suggest .muted { font-size: .8rem; }
    .bron-success {
      position: fixed; left: 50%; top: 18px; transform: translateX(-50%);
      z-index: 90; width: min(420px, calc(100% - 24px));
      padding: 14px 16px; border-radius: 14px; pointer-events: none;
      background: rgba(16, 185, 129, .95); color: #042; box-shadow: 0 8px 28px rgba(0,0,0,.35);
    }
    .bron-success.hidden { display: none; }
    .bron-success strong { display: block; font-size: 1.05rem; }
    .bron-success p { margin: 4px 0 0; font-size: .88rem; opacity: .92; }
    .room-badge {
      display: inline-flex; align-items: center; justify-content: center;
      min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
      background: #e11d48; color: #fff; font-size: 0.7rem; font-weight: 800;
    }
    .notify-row {
      width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center;
      gap: 12px; padding: 12px 14px; margin-bottom: 8px;
      border: 1px solid var(--line); border-radius: 12px;
      background: rgba(7,11,18,.45); color: var(--text); cursor: pointer; font-family: var(--font);
    }
    .notify-row.is-read { opacity: .72; }
    .notify-kassa { cursor: default; }
    .bron-detail { display: grid; gap: 8px; margin: 12px 0 16px; }
    .bron-kv {
      display: flex; justify-content: space-between; gap: 12px;
      padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .92rem;
    }
    .bron-kv span { color: var(--muted); }
    .bron-kv b { text-align: right; }

    .section-title {
      font-family: var(--display); font-size: 1.15rem; margin: 0 0 6px; letter-spacing: -0.02em;
    }
    .section-sub { color: var(--muted); margin: 0 0 16px; font-size: 0.92rem; }

    .club {
      border: 1px solid var(--line);
      border-radius: 16px;
      padding: 16px;
      margin-bottom: 12px;
      background: rgba(7, 11, 18, 0.35);
      transition: border-color .2s;
    }
    .club:hover { border-color: rgba(232,165,75,.35); }
    .club-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
    .club-top h3 { margin: 0; font-size: 1.05rem; font-family: var(--display); }
    .club-badges { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; }
    .club-name {
      margin: 0;
      font-family: var(--display);
      font-size: 1.15rem;
      font-weight: 700;
      letter-spacing: -0.02em;
    }
    .meta-k {
      display: inline-block;
      min-width: 4.2rem;
      color: var(--muted);
      font-size: 0.78rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }
    .profile-club-block {
      margin-top: 28px;
      padding-top: 22px;
      border-top: 1px solid var(--line);
    }
    .profile-club-block .section-title { margin-top: 0; }
    .badge {
      display: inline-flex; align-items: center; gap: 4px;
      padding: 4px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 800;
      text-transform: uppercase; letter-spacing: .03em;
    }
    .badge.ok { background: rgba(93,222,154,.15); color: var(--ok); }
    .badge.warn { background: rgba(240,193,74,.15); color: var(--warn); }
    .badge.bad { background: rgba(240,113,120,.15); color: var(--rose); }
    .badge.teal { background: rgba(62,207,190,.15); color: var(--teal); }
    .badge.amber { background: rgba(232,165,75,.15); color: var(--amber); }
    .meta { margin-top: 10px; display: grid; gap: 6px; color: var(--muted); font-size: 0.88rem; }
    .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
    .filial {
      margin-top: 10px; padding: 12px; border-radius: 12px;
      border: 1px dashed var(--line); background: rgba(255,255,255,0.02);
    }
    .filial strong { display: block; margin-bottom: 4px; }

    .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    @media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }

    .empty {
      text-align: center; padding: 36px 18px; color: var(--muted);
      border: 1px dashed var(--line); border-radius: 16px;
    }
    .empty h3 { color: var(--text); font-family: var(--display); margin: 0 0 8px; }

    .toast {
      position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%) translateY(20px);
      background: var(--panel-solid); border: 1px solid var(--line); color: var(--text);
      padding: 12px 18px; border-radius: 12px; opacity: 0; pointer-events: none;
      transition: .25s ease; z-index: 50; max-width: min(90vw, 420px); text-align: center;
      box-shadow: var(--shadow);
    }
    .toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

    .pay-row {
      display: flex; justify-content: space-between; gap: 12px; padding: 12px 0;
      border-bottom: 1px solid var(--line); font-size: 0.9rem;
    }
    .pay-row:last-child { border-bottom: 0; }

    .admin-bar { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-bottom:14px; }
    .admin-sub { display:flex; flex-wrap:wrap; gap:6px; margin: 0 0 14px; }
    .admin-sub button {
      border:1px solid var(--line); background:rgba(0,0,0,.2); color:var(--muted);
      padding:8px 12px; border-radius:10px; font-weight:700; cursor:pointer; font-family:var(--font); font-size:.82rem;
    }
    .admin-sub button.on { background:rgba(232,165,75,.16); color:var(--amber); border-color:transparent; }
    .pc-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:10px; }
    .pc-card {
      border:1px solid var(--line); border-radius:14px; padding:12px; background:rgba(7,11,18,.4);
    }
    .pc-card h4 { margin:0 0 6px; font-family:var(--display); font-size:1rem; }
    .pc-card .actions { margin-top:10px; }
    .pc-list { display:flex; flex-direction:column; gap:8px; }
    .pc-row {
      display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap;
      border:1px solid var(--line); border-radius:12px; padding:12px 14px; background:rgba(7,11,18,.45);
    }
    .pc-row-main { display:flex; flex-direction:column; gap:4px; min-width:0; flex:1; }
    .pc-row-id { display:flex; align-items:center; font-family:var(--display); font-size:1.05rem; gap:4px; }
    .pc-row-due { font-family:var(--display); font-size:1.55rem; font-weight:800; letter-spacing:.02em; line-height:1.1; color:#e8f4ff; }
    .pc-row-actions { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
    .pc-row-ended {
      border-color: rgba(240,113,120,.45);
      background: rgba(240,113,120,.08);
    }
    .pc-row-paused {
      border-color: rgba(240,193,74,.45);
      background: rgba(240,193,74,.06);
    }
    .pc-pause-tag {
      color: var(--warn);
      letter-spacing: .04em;
    }
    .pc-ended-label {
      color: #f87171;
      font-weight: 800;
      letter-spacing: .02em;
      text-transform: uppercase;
    }
    .pc-sum-input {
      width:110px; min-width:88px; padding:8px 10px; border-radius:10px; border:1px solid var(--line);
      background:rgba(0,0,0,.35); color:var(--text); font-family:var(--font); font-weight:700;
    }
    .pc-row-actions[data-idle] {
      flex-wrap: nowrap;
      margin-left: auto;
    }
    .pc-row-actions[data-idle] .pc-sum-input { flex: 0 1 110px; }
    .pc-row-actions[data-idle] .btn { flex: 0 0 auto; }
    @media (max-width: 720px) {
      .app { padding-left: 6px; padding-right: 6px; padding-top: 8px; }
      #pane-admin.panel {
        padding: 4px 0 8px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
      }
      .pc-list { gap: 5px; }
      .pc-row {
        flex-wrap: nowrap;
        gap: 8px;
        padding: 5px 6px;
        border-radius: 10px;
        min-height: 44px;
      }
      .pc-row-main { gap: 0; flex: 0 1 auto; min-width: 52px; }
      .pc-row-id { font-size: 0.92rem; }
      .pc-row-due { font-size: 1.05rem; }
      .pc-row-main .muted { font-size: 0.7rem !important; line-height: 1.15; }
      .pc-row-actions { gap: 6px; }
      .pc-row-actions[data-idle] {
        flex: 1 1 auto;
        margin-left: 0;
        min-width: 0;
      }
      .pc-row-actions[data-idle] .pc-sum-input {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        height: 34px;
        padding: 4px 8px;
        font-size: 0.82rem;
        border-radius: 8px;
        box-sizing: border-box;
      }
      .pc-row-actions[data-idle] .btn,
      .pc-row-actions .btn.sm {
        height: 34px;
        padding: 0 12px;
        font-size: 0.78rem;
        border-radius: 8px;
        line-height: 34px;
      }
    }
    .pc-bulk-bar {
      display:flex; align-items:center; gap:8px; flex-wrap:wrap;
      margin-bottom:12px; padding:10px 12px; border-radius:12px;
      border:1px solid rgba(62,207,190,.28); background:rgba(62,207,190,.06);
    }
    .pc-bulk-all-lbl {
      display:inline-flex; align-items:center; gap:6px; font-size:.82rem; font-weight:700; color:var(--muted);
      cursor:pointer; user-select:none;
    }
    .pc-bulk-meta {
      font-size:.78rem; font-weight:800; color:var(--teal); min-width:4.5rem;
    }
    .pc-bulk-pick {
      display:inline-flex; align-items:center; justify-content:center;
      flex:0 0 auto; margin-right:4px; cursor:pointer;
    }
    .pc-bulk-pick input {
      width:18px; height:18px; accent-color:var(--teal); cursor:pointer;
    }
    .pc-sel-dock {
      position: fixed; left: 12px; right: 86px;
      bottom: calc(72px + env(safe-area-inset-bottom, 0px));
      z-index: 42; display: grid; gap: 8px;
      padding: 10px 12px 12px; border-radius: 18px;
      background: rgba(8,14,22,.96); border: 1px solid rgba(45,212,191,.4);
      backdrop-filter: blur(14px); box-shadow: 0 14px 36px rgba(0,0,0,.4);
    }
    .pc-sel-dock.hidden { display: none; }
    .pc-sel-nums {
      display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-height: 28px;
    }
    .pc-sel-chip {
      appearance: none; border: 0; cursor: pointer; font-family: inherit; font-weight: 800;
      font-size: .82rem; padding: 5px 10px; border-radius: 999px;
      background: rgba(45,212,191,.2); color: #dffcf7;
    }
    .pc-sel-chip:active { transform: scale(.96); }
    .pc-sel-row { display: flex; gap: 8px; align-items: stretch; }
    .pc-sel-sum { flex: 1; min-width: 0; height: 46px; font-size: 1.05rem; font-weight: 800; }
    .pc-sel-row .btn { min-height: 46px; padding: 0 14px; font-weight: 800; }
    .pc-sel-acts { display: flex; gap: 6px; flex-wrap: wrap; }
    .pc-sel-acts .btn { flex: 1; min-width: 0; }
    .pc-num {
      appearance: none; border: 0; background: transparent; color: inherit;
      font: inherit; font-weight: 800; cursor: pointer; padding: 0 2px;
      border-radius: 8px; text-align: left;
    }
    .pc-num.is-on {
      color: #04221e; background: linear-gradient(135deg, #5eead4, #2dd4bf);
      padding: 2px 8px; box-shadow: 0 0 0 2px rgba(45,212,191,.35);
    }
    .pc-row-selected { border-color: rgba(45,212,191,.7); box-shadow: 0 0 0 1px rgba(45,212,191,.28); }
    .item-new {
      position: relative; box-shadow: 0 0 0 1px rgba(225,29,72,.45), 0 8px 22px rgba(225,29,72,.12);
    }
    .item-new-pill {
      display: inline-flex; align-items: center; margin-left: 6px;
      padding: 1px 7px; border-radius: 999px; font-size: .65rem; font-weight: 800;
      background: #e11d48; color: #fff; animation: navBadgePulse 1.8s ease-in-out infinite;
    }
    body.has-bottom-nav #pane-admin { padding-bottom: 132px; }
    body.has-bottom-nav #pane-bron {
      padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
      padding-left: 14px;
      padding-right: 14px;
    }
    .live-dot { width:8px; height:8px; border-radius:50%; display:inline-block; margin-right:6px; background:#475569; }
    .live-dot.on { background:var(--ok); box-shadow:0 0 8px rgba(93,222,154,.6); }
    .kpi-row { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-bottom:14px; }
    @media (max-width:720px){ .kpi-row { grid-template-columns:1fr 1fr; } }
    .kpi { padding:12px; border-radius:12px; border:1px solid var(--line); background:rgba(255,255,255,.03); }
    .kpi b { display:block; font-family:var(--display); font-size:1.25rem; margin-top:2px; }
    .kpi span { font-size:.72rem; color:var(--muted); text-transform:uppercase; letter-spacing:.04em; font-weight:700; }

/* ?? modern polish ?? */
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 10px;
  border-radius: var(--r-lg, 20px);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  box-shadow: var(--shadow);
}
.nav.nav-bottom {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 45;
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
  border-left: 0; border-right: 0; border-bottom: 0;
  flex-wrap: nowrap;
  justify-content: space-around;
  gap: 2px;
  padding: 8px 4px calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(7, 11, 18, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 -8px 28px rgba(0,0,0,.35);
}
.nav.nav-bottom button {
  flex: 1;
  min-width: 0;
  padding: 10px 4px;
  border-radius: 12px;
  font-size: 0.72rem;
}
.nav.nav-bottom button.nav-times-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 4px;
}
.nav button {
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--font);
  font-size: 0.86rem;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.nav button:hover { color: var(--text); transform: translateY(-1px); }
.nav.nav-bottom button:hover { transform: none; }
.nav button.on {
  color: var(--text);
  background: linear-gradient(160deg, rgba(109,139,255,0.28), rgba(47,216,208,0.12));
  border-color: rgba(109,139,255,0.4);
  box-shadow: var(--glow);
}
.panel {
  border-radius: var(--r-lg, 20px);
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  padding: 20px 22px;
}
.promo-grid { grid-template-columns: 1.2fr 0.9fr !important; }
@media (max-width: 900px) {
  .promo-grid { grid-template-columns: 1fr !important; }
}
.badge.teal {
  background: rgba(47, 216, 208, 0.16);
  color: var(--teal);
}


/* Club card ? inline location map */
.club-loc-block {
  margin-top: 14px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.1);
  background:
    linear-gradient(165deg, rgba(109,139,255,.08), transparent 55%),
    rgba(2, 8, 20, 0.45);
}
.club-loc-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.club-loc-kicker {
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 4px;
}
.club-loc-addr {
  font-size: .92rem;
  line-height: 1.35;
  color: var(--text);
  font-weight: 600;
}
.club-loc-map {
  height: min(42vh, 280px);
  min-height: 200px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  background: #0b1220;
}
.club-loc-map.is-empty {
  display: grid;
  place-items: center;
}
.club-loc-empty {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
}
.club-loc-hint {
  margin: 10px 0 0;
  font-size: .78rem;
  line-height: 1.4;
  color: var(--muted);
}

/* Owner Location picker ? large modern map */
.owner-loc-dlg {
  border: none;
  padding: 0;
  background: transparent;
  max-width: min(920px, 96vw);
  width: min(920px, 96vw);
}
.owner-loc-dlg::backdrop {
  background: rgba(2, 6, 16, .72);
  backdrop-filter: blur(6px);
}
.owner-loc-card {
  background:
    radial-gradient(ellipse 80% 50% at 10% -20%, rgba(47,216,208,.14), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(109,139,255,.12), transparent 50%),
    #0b1220;
  color: #e2e8f0;
  border-radius: 22px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(148,163,184,.22);
  box-shadow: 0 28px 80px rgba(0,0,0,.55);
}
.owner-loc-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.owner-loc-kicker {
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 4px;
}
.owner-loc-head h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -.03em;
}
.owner-loc-x {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  color: #94a3b8;
  font-size: 22px;
  cursor: pointer;
  flex: 0 0 auto;
}
.owner-loc-x:hover { background: rgba(255,255,255,.14); color: #fff; }
.owner-loc-help {
  margin: 0 0 12px;
  font-size: .88rem;
  line-height: 1.45;
  color: #94a3b8;
}
.owner-loc-map-wrap {
  position: relative;
  margin: 0 0 14px;
}
.owner-loc-map {
  height: min(62vh, 520px);
  min-height: 320px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}
.owner-loc-map-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 500;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(8, 14, 28, .82);
  border: 1px solid rgba(255,255,255,.12);
  color: #e2e8f0;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  backdrop-filter: blur(8px);
  pointer-events: none;
  max-width: calc(100% - 24px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.owner-loc-card label {
  display: block;
  font-size: .78rem;
  color: #94a3b8;
  margin-bottom: 6px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.owner-loc-card input[type=text] {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(148,163,184,.3);
  background: rgba(2,6,16,.55);
  color: #f8fafc;
  margin-bottom: 8px;
  font: inherit;
  font-size: .95rem;
}
.owner-loc-card input[type=text]:focus {
  outline: none;
  border-color: rgba(47,216,208,.55);
  box-shadow: 0 0 0 3px rgba(47,216,208,.15);
}
.owner-loc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.owner-loc-actions .btn { flex: 1 1 auto; min-height: 44px; }
.owner-loc-card .err {
  color: #fca5a5;
  min-height: 1.2em;
  margin: 4px 0;
  font-size: .85rem;
}

.cc-map-pin {
  background: transparent !important;
  border: none !important;
}
.cc-map-pin-dot {
  display: block;
  width: 18px;
  height: 18px;
  margin: 0 auto;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: linear-gradient(145deg, #2fd8d0, #4f6ef0);
  box-shadow: 0 4px 14px rgba(47,216,208,.45), 0 0 0 3px rgba(255,255,255,.85);
}
@media (max-width: 640px) {
  .owner-loc-map { height: min(55vh, 420px); min-height: 260px; }
  .club-loc-map { height: min(36vh, 220px); min-height: 160px; }
}

/* ?? Kassa chips / dialogs ?? */
.club-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.club-title-row h3 { margin: 0; }
.cash-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: inherit;
  cursor: pointer;
  text-align: left;
  font: inherit;
  transition: border-color .15s, background .15s;
}
.cash-chip:hover {
  border-color: rgba(62,207,190,.45);
  background: rgba(62,207,190,.08);
}
.cash-chip-k {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.cash-chip-v {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.cash-dlg {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0;
  background: #0f172a;
  color: #e2e8f0;
  max-width: min(560px, calc(100vw - 24px));
  width: 100%;
}
.cash-dlg::backdrop { background: rgba(2,6,16,.72); }
.cash-dlg-sm { max-width: min(400px, calc(100vw - 24px)); padding: 18px; }
.cash-dlg-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 18px 8px;
}
.cash-dlg-head h3 { margin: 0; font-family: var(--display); }
.cash-dlg-sub {
  margin: 0 18px 12px;
  color: var(--muted);
  font-size: .9rem;
}
.cash-list {
  max-height: min(50vh, 420px);
  overflow: auto;
  padding: 0 12px 16px;
}
.cash-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  margin: 6px 0;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
}
.cash-row.is-void {
  border-color: rgba(239,68,68,.55);
  box-shadow: 0 0 0 1px rgba(239,68,68,.25), 0 8px 24px rgba(239,68,68,.18);
  background: rgba(239,68,68,.08);
}
.cash-row-amt { font-weight: 800; white-space: nowrap; }
.cash-withdraw-box {
  margin: 0 18px 14px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(62,207,190,.3);
  background: rgba(62,207,190,.06);
}
.cash-withdraw-box label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  margin-bottom: 8px;
}
.cash-withdraw-box input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(2,6,16,.55);
  color: #fff;
  font: inherit;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.cash-preview { margin-bottom: 10px; color: var(--muted); font-size: .9rem; }
.cash-preview b { color: #fff; }
.cash-till-total {
  margin: 0 18px 8px;
  font-size: 1.05rem;
}
.cash-till-total b { font-family: var(--display); font-size: 1.25rem; }
.cash-hist-title {
  margin: 8px 18px 4px;
  font-size: .85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.cash-confirm-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.cash-confirm-actions .btn { flex: 1; }
.cash-dlg-sm label {
  display: block;
  font-size: .78rem;
  color: var(--muted);
  margin: 10px 0 6px;
}
.cash-dlg-sm input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(2,6,16,.55);
  color: #fff;
  font: inherit;
}

/* Owner activity log — chap devordagi yarim tugma + panel */
.owner-actlog {
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
}
.owner-actlog.hidden { display: none !important; }
.owner-actlog-tab-wrap {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 122;
  pointer-events: auto;
  touch-action: none;
}
.owner-actlog-tab {
  appearance: none;
  border: 1px solid rgba(62, 207, 190, 0.45);
  border-left: 0;
  border-radius: 0 16px 16px 0;
  background: linear-gradient(135deg, rgba(10, 18, 32, 0.98), rgba(6, 12, 22, 0.96));
  color: var(--teal, #3ecfbe);
  width: 34px;
  height: 76px;
  padding: 0 6px 0 10px;
  margin-left: 0;
  transform: translateX(-50%);
  cursor: grab;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 4px 0 22px rgba(0, 0, 0, 0.35);
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  user-select: none;
}
.owner-actlog-tab:active { cursor: grabbing; }
.owner-actlog-tab span { pointer-events: none; }
.owner-actlog-panel {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: min(360px, 88vw);
  max-width: 100%;
  background: rgba(8, 12, 20, 0.98);
  border-right: 1px solid rgba(62, 207, 190, 0.35);
  box-shadow: 12px 0 40px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  transform: translateX(-105%);
  transition: transform 0.22s ease;
  pointer-events: auto;
  z-index: 121;
}
.owner-actlog-panel.open { transform: translateX(0); }
.owner-actlog-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  flex: 0 0 auto;
}
.owner-actlog-head strong {
  flex: 1 1 auto;
  font-family: var(--display);
  font-size: 1rem;
}
.owner-actlog-list {
  flex: 1 1 auto;
  overflow: auto;
  padding: 10px 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  -webkit-overflow-scrolling: touch;
}
.owner-actlog-empty {
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
  padding: 24px 8px;
}
.owner-actlog-row {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.82rem;
  line-height: 1.35;
}
.owner-actlog-row time {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 3px;
}
.owner-actlog-kind {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-right: 6px;
  color: var(--teal);
}
.owner-actlog-row.is-stop .owner-actlog-kind { color: #f87171; }
.owner-actlog-row.is-free .owner-actlog-kind { color: #fbbf24; }
.owner-actlog-row.is-start .owner-actlog-kind { color: #4ade80; }
.owner-actlog-row.is-bulk .owner-actlog-kind { color: #38bdf8; }
.owner-actlog-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: auto;
  z-index: 120;
}
.owner-actlog-scrim.hidden { display: none !important; }
@media (max-width: 720px) {
  .pc-bulk-bar { flex-direction: column; align-items: stretch; }
  .pc-bulk-bar .pc-sum-input { width: 100%; }
  .owner-actlog-panel { width: min(92vw, 360px); }
}

/* Owner Scan */
.owner-scan-dlg {
  border: none;
  padding: 0;
  background: transparent;
  max-width: min(420px, 94vw);
  width: 100%;
}
.owner-scan-dlg::backdrop {
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(6px);
}
.owner-scan-card {
  background: #0f1520;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 16px 18px;
  color: var(--text);
  box-shadow: 0 18px 48px rgba(0,0,0,.45);
}
.owner-scan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.owner-scan-head h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.15rem;
}
.owner-scan-head .btn.ghost.sm {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.92);
  font-size: 18px;
  line-height: 1;
}
@media (max-width: 900px), (pointer: coarse) {
  .owner-scan-dlg {
    max-width: none;
    width: 100vw;
    height: 100dvh;
    max-height: none;
    margin: 0;
  }
  .owner-scan-dlg::backdrop {
    background: #000;
  }
  .owner-scan-card {
    min-height: 100dvh;
    border-radius: 0;
    border: 0;
    padding: calc(12px + env(safe-area-inset-top, 0px)) 14px calc(16px + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
  }
  .owner-scan-cam {
    flex: 1 1 auto;
    min-height: min(52dvh, 480px);
    aspect-ratio: auto;
    border-radius: 12px;
  }
}
.owner-scan-opt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  text-align: left;
  margin: 0 0 10px;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(232,165,75,.35);
  background: rgba(232,165,75,.1);
  color: inherit;
  cursor: pointer;
}
.owner-scan-opt strong { font-size: 0.98rem; }
.owner-scan-opt span { font-size: 0.8rem; color: var(--muted); line-height: 1.35; }
.owner-scan-opt-dep {
  border-color: rgba(62,207,190,.35);
  background: rgba(62,207,190,.1);
}
.owner-scan-opt-out {
  border-color: rgba(240,113,120,.4);
  background: rgba(240,113,120,.1);
}
.owner-scan-opt:hover { filter: brightness(1.08); }
.owner-scan-cam {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #05080f;
  border: 1px solid var(--line);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.owner-scan-cam.is-pending::after {
  content: "Kamera";
  color: var(--muted);
  font-size: 0.85rem;
}
.owner-scan-video {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  background: #000;
}
.owner-scan-preview {
  margin-top: 10px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
}
.owner-scan-who {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.9rem;
}
.owner-scan-manual { margin-top: 10px; }
.owner-scan-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.owner-scan-row input { flex: 1; margin: 0; }
.owner-scan-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.owner-scan-actions .btn { flex: 1; min-width: 120px; }
#owner-scan-amount-wrap { margin-top: 10px; }
