:root{
  --bg:#07080b;--bg2:#0b0d12;--panel:#10131a;--panel2:#141821;--line:rgba(255,255,255,.09);
  --text:#f7f8fb;--muted:#8f97a8;--accent:#8b5cf6;--accent2:#c084fc;--success:#36d487;--danger:#ff5d6c;
  --shadow:0 18px 55px rgba(0,0,0,.38);--r:20px;--max:680px;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Segoe UI",Roboto,Arial,sans-serif;
  color-scheme:dark;
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html{background:var(--bg);font-size:16px;scroll-behavior:smooth}
body{margin:0;min-height:100vh;background:
  radial-gradient(800px 420px at 15% -8%,rgba(139,92,246,.24),transparent 62%),
  radial-gradient(650px 380px at 105% 15%,rgba(192,132,252,.10),transparent 65%),var(--bg);color:var(--text);overflow-x:hidden}
button,input{font:inherit}button{cursor:pointer;color:inherit}button:focus-visible,input:focus-visible{outline:2px solid var(--accent2);outline-offset:2px}
.app{width:min(100%,var(--max));min-height:100vh;margin:0 auto;padding:calc(14px + env(safe-area-inset-top)) 14px calc(94px + env(safe-area-inset-bottom));position:relative}
.hero{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:5px 2px 18px;position:sticky;top:0;z-index:30;background:linear-gradient(var(--bg) 72%,transparent);backdrop-filter:blur(8px)}
.brand{display:flex;align-items:center;gap:10px;min-width:0}.brand-mark{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;overflow:hidden;background:linear-gradient(145deg,#1e1539,#0e1017);border:1px solid rgba(192,132,252,.24);box-shadow:0 8px 24px rgba(139,92,246,.18);flex:none}
.logo{width:100%;height:100%;object-fit:contain;padding:5px}.brand b{display:block;font-size:15px;line-height:1.1;letter-spacing:-.2px;white-space:nowrap}.brand small{display:block;margin-top:4px;color:var(--muted);font-size:9px;font-weight:700;letter-spacing:1.7px}
.live{display:flex;align-items:center;gap:6px;padding:7px 9px;border:1px solid var(--line);border-radius:999px;background:rgba(16,19,26,.78);font-size:10px;font-weight:800;letter-spacing:.6px;flex:none}.live i{width:7px;height:7px;border-radius:50%;background:var(--success);box-shadow:0 0 10px rgba(54,212,135,.8)}
.screen{display:none;animation:screenIn .22s ease both}.screen.active{display:block}@keyframes screenIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
.home-hero{padding:25px 4px 20px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:2px;color:#a99bff;margin-bottom:11px}.home-hero h1{font-size:clamp(32px,8.5vw,50px);line-height:.98;letter-spacing:-1.9px;margin:0;font-weight:850}.home-hero h1 em{font-style:normal;background:linear-gradient(90deg,#fff,#c5a7ff);-webkit-background-clip:text;background-clip:text;color:transparent}.home-hero p{max-width:480px;color:var(--muted);font-size:14px;line-height:1.5;margin:14px 0 0}
.primary,.secondary,.danger{border-radius:16px;min-height:48px;padding:13px 15px;border:1px solid transparent;font-weight:800;transition:transform .16s,filter .16s,background .16s}.primary{background:linear-gradient(135deg,#9a6cff,#7044e8);box-shadow:0 13px 30px rgba(112,68,232,.26)}.primary:active,.secondary:active,.danger:active,.card:active,.date:active,.duration:active,.slot:active,.map-node:active{transform:scale(.98)}.secondary{background:rgba(255,255,255,.045);border-color:var(--line);color:#e6e8ef}.danger{background:rgba(255,93,108,.10);border-color:rgba(255,93,108,.25);color:#ff9da7}
.primary.big{width:100%;display:flex;align-items:center;justify-content:space-between;text-align:left;padding:17px 17px 17px 18px}.primary.big span:first-child{display:flex;flex-direction:column;gap:3px}.primary.big small{font-size:9px;letter-spacing:1.4px;opacity:.72}.primary.big b{font-size:16px}.arrow{font-size:23px;line-height:1}
.home-info{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:11px}.home-stat{min-width:0;padding:13px;border:1px solid var(--line);border-radius:16px;background:rgba(16,19,26,.82);box-shadow:0 8px 28px rgba(0,0,0,.14)}.home-stat small,.home-stat span{display:block;color:var(--muted);font-size:10px}.home-stat b{display:block;font-size:20px;letter-spacing:-.5px;margin:5px 0 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.promo-card{grid-column:1/-1;border:1px solid rgba(192,132,252,.18);background:linear-gradient(135deg,rgba(139,92,246,.12),rgba(255,255,255,.025));border-radius:16px;padding:13px}.promo-card b{display:block;font-size:13px}.promo-card span{display:block;color:var(--muted);font-size:12px;line-height:1.4;margin-top:4px}
.grid-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:11px}.card{min-height:118px;text-align:left;padding:14px;border-radius:17px;border:1px solid var(--line);background:linear-gradient(145deg,rgba(20,24,33,.96),rgba(12,14,19,.96));box-shadow:0 8px 26px rgba(0,0,0,.14);transition:transform .16s,border-color .16s}.card strong{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:rgba(139,92,246,.12);font-size:17px;margin-bottom:17px}.card b{font-size:13px;line-height:1.15}.card small{display:block;color:var(--muted);font-size:10px;line-height:1.3;margin-top:5px}.info{display:flex;flex-direction:column;gap:5px;padding:14px;border-radius:16px;border:1px solid var(--line);background:rgba(14,16,22,.75);margin-top:10px;font-size:12px}.info span{color:var(--muted);line-height:1.45}
.back{border:0;background:none;padding:5px 0;margin:0 0 15px;color:#aeb4c1;font-size:13px;font-weight:700}.back::first-letter{font-size:20px}h2{font-size:clamp(25px,7vw,32px);letter-spacing:-1px;line-height:1.05;margin:0}.muted{color:var(--muted);font-size:13px;line-height:1.45;margin:5px 0 0}.section-title{font-size:16px;margin:25px 0 9px}.refresh-row{display:flex;justify-content:flex-end;margin:-2px 0 10px}.refresh-row .secondary{min-height:38px;padding:8px 12px;border-radius:12px;font-size:12px}
.booking-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:3px}.booking-head>div{min-width:0}.map-badge{font-size:10px;font-weight:800;color:#cfc2ff;background:rgba(139,92,246,.11);border:1px solid rgba(139,92,246,.25);border-radius:12px;padding:8px 9px;white-space:nowrap}.label{font-size:11px;font-weight:800;letter-spacing:.8px;text-transform:uppercase;color:var(--muted);margin:18px 0 8px}
.dates{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:15px 0}.date,.duration,.slot{border:1px solid var(--line);background:rgba(16,19,26,.9);border-radius:14px;color:var(--text);min-height:53px;padding:10px 5px;transition:.16s}.date b,.date small{display:block}.date b{font-size:12px}.date small{color:var(--muted);font-size:10px;margin-top:3px}.date.selected,.duration.selected,.slot.available.selected{border-color:rgba(159,122,255,.9);background:rgba(139,92,246,.15);box-shadow:0 0 0 1px rgba(139,92,246,.18) inset}.durations{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.duration{font-size:12px;font-weight:800}.slots{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.slot{font-size:12px;font-weight:750}.slot.disabled{opacity:.28;cursor:not-allowed}.booking,.host-item{border:1px solid var(--line);background:linear-gradient(145deg,rgba(17,20,27,.96),rgba(11,13,18,.96));border-radius:16px;padding:14px;margin-bottom:9px;box-shadow:0 7px 24px rgba(0,0,0,.12)}.booking b{display:block;font-size:13px;margin-bottom:6px}.booking span,.host-item small{color:var(--muted);font-size:11px;line-height:1.5}.booking-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:11px}.booking-actions button{min-height:42px;padding:9px;font-size:11px}.history-item{opacity:.75}
.map-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:13px 0 8px;padding:11px 12px;border:1px solid var(--line);border-radius:15px;background:rgba(17,20,27,.82)}.map-toolbar b,.map-toolbar small{display:block}.map-toolbar b{font-size:12px}.map-toolbar small{font-size:10px;color:var(--muted);margin-top:3px}.map-legend{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end;color:var(--muted);font-size:9px}.map-legend span{display:flex;align-items:center;gap:4px}.dot{width:6px;height:6px;border-radius:50%;display:inline-block}.dot.free{background:var(--success);box-shadow:0 0 7px rgba(54,212,135,.55)}.dot.busy{background:var(--danger)}.map-tip{font-size:10px;color:var(--muted);padding:9px 11px;border-radius:12px;background:rgba(255,255,255,.025);border:1px solid var(--line);text-align:center;margin-bottom:8px}.club-map-wrap{overflow:auto;max-width:100%;border-radius:17px;border:1px solid var(--line);background:#080a0e;scrollbar-width:none;-webkit-overflow-scrolling:touch}.club-map-wrap::-webkit-scrollbar{display:none}.club-map{position:relative;width:760px;height:430px;overflow:hidden;background:#090b10}.club-map>img{width:100%;height:100%;object-fit:cover;display:block;filter:brightness(.78) contrast(1.04)}#mapNodes{position:absolute;inset:0}.map-node{position:absolute;transform:translate(-50%,-50%);width:42px;height:42px;border-radius:12px;border:1px solid rgba(255,255,255,.14);background:rgba(13,15,21,.94);font-size:12px;font-weight:850;box-shadow:0 7px 18px rgba(0,0,0,.55);touch-action:manipulation}.map-node.free{border-color:rgba(54,212,135,.75);box-shadow:0 0 0 2px rgba(54,212,135,.08),0 0 17px rgba(54,212,135,.12)}.map-node.busy{border-color:rgba(255,93,108,.35);opacity:.62}.map-node.selected{border-color:#a78bfa;background:#281b50;box-shadow:0 0 0 3px rgba(139,92,246,.25),0 0 25px rgba(139,92,246,.45)}.map-node .node-dot{position:absolute;right:4px;top:4px;width:6px;height:6px;border-radius:50%;background:var(--danger)}.map-node.free .node-dot{background:var(--success)}.map-hint{display:none}.pc-details{position:fixed;z-index:60;left:50%;bottom:0;width:min(100%,680px);transform:translateX(-50%);padding:11px 14px calc(13px + env(safe-area-inset-bottom));margin:0;border:1px solid rgba(255,255,255,.12);border-bottom:0;border-radius:23px 23px 0 0;background:linear-gradient(180deg,#171a24,#0d0f15);box-shadow:0 -18px 55px rgba(0,0,0,.65)}.sheet-grab{width:38px;height:4px;border-radius:99px;background:#555c69;margin:0 auto 10px}.sheet-close{position:absolute;right:13px;top:11px;width:30px;height:30px;border:0;border-radius:10px;background:rgba(255,255,255,.06);color:#c5c9d2;font-size:20px;line-height:1}.pc-sheet-head{display:flex;justify-content:space-between;gap:10px}.pc-kicker{font-size:9px;color:var(--muted);text-transform:uppercase;letter-spacing:1.1px}.pc-sheet-head h3{font-size:23px;margin:2px 0}.pc-room{font-size:10px;color:var(--muted)}.pc-status{display:flex;align-items:center;gap:5px;align-self:flex-start;font-size:10px;font-weight:800;padding:6px 8px;border-radius:9px}.pc-status.free{color:#6de5a1;background:rgba(54,212,135,.09)}.pc-status i{width:6px;height:6px;border-radius:50%;background:currentColor}.pc-sheet-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:11px 0}.pc-sheet-grid>div{min-width:0;background:rgba(255,255,255,.035);padding:8px;border-radius:11px}.pc-sheet-grid small{display:block;color:var(--muted);font-size:8px;margin-bottom:3px}.pc-sheet-grid b{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.pc-actions{display:grid;grid-template-columns:1.35fr 1fr;gap:7px}.pc-actions button{min-height:43px;padding:9px;font-size:11px}.host-filter{display:flex;gap:6px;overflow:auto;padding:4px 1px 2px;margin:10px 0 3px;scrollbar-width:none}.host-filter::-webkit-scrollbar{display:none}.filter-btn{white-space:nowrap;border:1px solid var(--line);background:rgba(255,255,255,.035);border-radius:999px;padding:8px 11px;color:var(--muted);font-size:10px;font-weight:750}.filter-btn.active{color:#fff;border-color:rgba(139,92,246,.55);background:rgba(139,92,246,.13)}.host-item{display:flex;justify-content:space-between;align-items:center;gap:10px}.host-item b{font-size:13px}.favorite{width:38px;height:38px;border:1px solid var(--line);border-radius:11px;background:rgba(255,255,255,.04);font-size:17px;flex:none}
.price-board{display:block;width:100%;height:auto;border-radius:18px;border:1px solid var(--line);margin-top:14px;box-shadow:var(--shadow)}.price-note{margin-top:9px;padding:11px 12px;border-radius:14px;border:1px solid var(--line);color:var(--muted);font-size:10px;line-height:1.4}.stats-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin-top:14px}.stat-card{padding:14px;border-radius:16px;border:1px solid var(--line);background:linear-gradient(145deg,rgba(20,24,33,.95),rgba(12,14,19,.95))}.stat-card small,.stat-card span{display:block;color:var(--muted);font-size:10px}.stat-card b{display:block;font-size:22px;letter-spacing:-.5px;margin:5px 0 2px}.account-wrap{display:grid;gap:9px}.profile-card{border:1px solid rgba(255,255,255,.09);border-radius:20px;padding:17px;background:linear-gradient(145deg,rgba(28,24,46,.95),rgba(14,16,22,.96));box-shadow:var(--shadow)}.profile-card .avatar{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:rgba(139,92,246,.15);font-size:25px;margin-bottom:11px}.profile-card h3{font-size:21px;letter-spacing:-.5px;margin:0 0 3px}.profile-card p{margin:4px 0;color:var(--muted);font-size:11px}.smart-link-status{display:inline-flex;align-items:center;gap:5px;margin-top:10px;padding:6px 8px;border-radius:9px;background:rgba(54,212,135,.08);color:#72e6a6;font-size:9px;font-weight:800}.smart-person{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:13px}.smart-person div{padding:9px;border-radius:11px;background:rgba(255,255,255,.035)}.smart-person small{display:block;color:var(--muted);font-size:8px}.smart-person b{display:block;font-size:11px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.form-row{display:grid;gap:7px;margin-top:13px}.form-row input,.admin-input{width:100%;min-height:46px;padding:12px 13px;border-radius:13px;border:1px solid var(--line);background:#0b0e13;color:var(--text);font-size:15px}.profile-actions{display:grid;gap:7px;margin-top:12px}.account-section{border:1px solid var(--line);border-radius:17px;overflow:hidden;background:rgba(15,18,24,.84)}.account-section-head{display:flex;align-items:center;justify-content:space-between;padding:13px 14px;border-bottom:1px solid var(--line)}.account-section-head h3{font-size:12px;margin:0}.account-section-head span{font-size:9px;color:var(--muted)}.account-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;padding:9px}.account-stat{padding:10px;border-radius:12px;background:rgba(255,255,255,.035)}.account-stat small,.account-stat span{display:block;color:var(--muted);font-size:8px}.account-stat b{display:block;font-size:16px;margin:4px 0 2px}.link-smart{display:flex;gap:10px;padding:13px}.link-smart-icon{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:rgba(139,92,246,.12);flex:none}.link-smart b{display:block;font-size:12px}.link-smart span{display:block;color:var(--muted);font-size:10px;line-height:1.4;margin-top:3px}.payment-row,.visit-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 13px;border-bottom:1px solid rgba(255,255,255,.05)}.payment-row:last-child,.visit-row:last-child{border-bottom:0}.payment-row b,.visit-row b{display:block;font-size:11px}.payment-row small,.visit-row small{display:block;color:var(--muted);font-size:8px;margin-top:3px}.payment-row strong,.visit-row strong{font-size:11px;white-space:nowrap}.empty-account{padding:13px;color:var(--muted);font-size:10px;line-height:1.45}.notification-section{display:flex;justify-content:space-between;align-items:center;padding:12px 13px}.notification-section h3{font-size:11px;margin:0}.notification-section p{color:var(--muted);font-size:9px;margin:3px 0 0}.toggle{display:flex;align-items:center;gap:5px;border:1px solid var(--line);background:rgba(255,255,255,.04);border-radius:999px;padding:6px 8px;color:var(--muted);font-size:9px}.toggle span{width:8px;height:8px;border-radius:50%;background:#666}.toggle.on{color:#72e6a6}.toggle.on span{background:var(--success);box-shadow:0 0 8px rgba(54,212,135,.6)}
.bottom-nav{position:fixed;z-index:40;left:50%;bottom:calc(9px + env(safe-area-inset-bottom));transform:translateX(-50%);width:min(calc(100% - 20px),640px);display:grid;grid-template-columns:repeat(4,1fr);padding:6px;border:1px solid rgba(255,255,255,.11);border-radius:18px;background:rgba(12,14,20,.88);backdrop-filter:blur(20px);box-shadow:0 15px 45px rgba(0,0,0,.55)}.bottom-nav button{border:0;background:none;color:#7f8797;padding:8px 4px;border-radius:13px;font-size:9px;font-weight:750;min-width:0}.bottom-nav button:first-child{color:#fff;background:rgba(139,92,246,.13)}.bottom-nav button span{display:block;font-size:16px;margin-bottom:2px}.toast{position:fixed;z-index:100;left:50%;bottom:calc(82px + env(safe-area-inset-bottom));transform:translate(-50%,18px);width:min(calc(100% - 28px),600px);padding:12px 14px;border:1px solid rgba(255,255,255,.12);border-radius:14px;background:#f5f6f9;color:#101116;font-size:12px;font-weight:700;box-shadow:0 14px 35px rgba(0,0,0,.35);opacity:0;pointer-events:none;transition:.22s}.toast.show{opacity:1;transform:translate(-50%,0)}.toast.error{background:#211014;color:#ffb3ba;border-color:rgba(255,93,108,.35)}.hidden{display:none!important}
@media(min-width:700px){.app{padding-left:20px;padding-right:20px}.hero{padding-top:8px}.grid-actions{grid-template-columns:repeat(4,1fr)}.card{min-height:128px}.home-info{grid-template-columns:repeat(4,1fr)}.promo-card{grid-column:auto}.home-hero{padding-top:35px}}
@media(max-width:390px){.app{padding-left:11px;padding-right:11px}.brand b{font-size:14px}.home-hero h1{letter-spacing:-1.5px}.grid-actions{gap:7px}.card{min-height:110px;padding:12px}.card strong{margin-bottom:14px}.slots{grid-template-columns:repeat(3,1fr)}.durations{grid-template-columns:repeat(2,1fr)}.pc-sheet-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:330px){html{font-size:15px}.live{display:none}.home-info,.grid-actions,.stats-grid,.account-stats{grid-template-columns:1fr}.primary.big b{font-size:14px}.dates{grid-template-columns:repeat(2,1fr)}.smart-person{grid-template-columns:1fr}.pc-actions{grid-template-columns:1fr}.pc-sheet-grid{grid-template-columns:1fr 1fr}}
@media(orientation:landscape) and (max-height:520px){.app{padding-bottom:78px}.home-hero{padding-top:12px}.bottom-nav{bottom:6px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
