/* ═══════════════════════════════════════════════════════════════════════
   Exo AC — platform components  (ADDITIVE to style.css)
   ═══════════════════════════════════════════════════════════════════════

   Loaded AFTER /style.css on the platform pages only (/owners, /account, /app,
   /demo). It defines nothing that style.css already defines and overrides
   nothing the existing dashboard uses — the live panel never loads this file,
   so it cannot be affected by anything here.

   Every colour, radius, font and easing below comes from the tokens style.css
   already declares (--red, --bg-3, --r-lg, --disp, --ease, …). That is what
   keeps the new pages in the same design language rather than merely near it:
   there are no new colour values in this file.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── LOADING SKELETONS ─────────────────────────────────────────────────── */
/* A sweep rather than a pulse: it reads as "content is arriving" instead of
   "something is broken", and it matches the panel's existing motion feel. */
.skel{
  position:relative;overflow:hidden;border-radius:8px;
  background:linear-gradient(90deg,rgba(255,255,255,.045) 0%,rgba(255,255,255,.085) 50%,rgba(255,255,255,.045) 100%);
  background-size:220% 100%;animation:skelSweep 1.5s var(--ease) infinite;
}
.skel-wrap{display:flex;flex-direction:column;gap:11px}
.skel-card{border-radius:var(--r-lg);border:1px solid var(--line)}
@keyframes skelSweep{0%{background-position:120% 0}100%{background-position:-20% 0}}
@media (prefers-reduced-motion:reduce){.skel{animation:none;opacity:.5}}
.tbl-wrap.is-loading{opacity:.45;transition:opacity .2s;pointer-events:none}
.spin{animation:spin 1s linear infinite}

/* ── ERROR STATE ───────────────────────────────────────────────────────── */
.err-state svg{color:var(--red-2);opacity:.75}
.err-state b{color:var(--red-2)}

/* ── PLATFORM SHELL ────────────────────────────────────────────────────── */
/* Same two-column geometry as the dashboard (.sb + .dash-main) so a page
   rendered here feels like the same product, but as its own root so the panel's
   #dash rules are never touched. */
.pf{display:none;min-height:100vh}
.pf.on{display:grid;grid-template-columns:auto 1fr;grid-template-rows:100vh}
.pf-main{display:flex;flex-direction:column;overflow:hidden}
.pf-content{flex:1;overflow-y:auto;padding:28px;scroll-behavior:smooth}
.pf-page{max-width:1320px;margin:0 auto;animation:pageIn .45s var(--ease)}

.pf-top{flex:none;display:flex;align-items:center;gap:14px;padding:14px 26px;
  border-bottom:1px solid var(--line);background:rgba(10,10,15,.7);backdrop-filter:blur(16px);z-index:40}
.pf-top .tb-crumb{min-width:0}
.pf-top .tb-crumb b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:38vw;display:inline-block;vertical-align:bottom}
.pf-spacer{margin-left:auto}

/* Owner shell gets a subtle warm edge — a standing reminder that this is the
   super-admin surface, not a customer view. */
.pf.is-owner .sb{border-right-color:rgba(255,43,61,.16)}
.pf.is-owner .sb-head{position:relative}
.pf.is-owner .sb-head::after{content:"";position:absolute;left:18px;right:18px;bottom:0;height:1px;
  background:linear-gradient(90deg,var(--red),transparent)}
.owner-tag{font-family:var(--mono);font-size:9px;letter-spacing:.18em;padding:2px 7px;border-radius:5px;
  background:var(--red-soft);color:var(--red-2);border:1px solid rgba(255,43,61,.3)}

/* ── AUTH / GATE CARDS ─────────────────────────────────────────────────── */
.gate{position:fixed;inset:0;z-index:8000;display:grid;place-items:center;padding:24px;overflow-y:auto;
  background:radial-gradient(ellipse 80% 60% at 50% 0%,rgba(255,43,61,.10),transparent 60%),var(--bg)}
.gate.hidden{display:none!important}
.gate-flare{position:absolute;top:-20%;left:50%;transform:translateX(-50%);width:900px;height:600px;
  background:radial-gradient(ellipse,rgba(255,43,61,.12),transparent 70%);filter:blur(30px);
  pointer-events:none;animation:flarePulse 7s ease-in-out infinite}
.gate-card{position:relative;width:min(440px,100%);border:1px solid var(--line-2);border-radius:var(--r-xl);
  background:linear-gradient(160deg,rgba(255,255,255,.05),rgba(255,255,255,.012) 60%);
  backdrop-filter:blur(18px);padding:38px 34px;
  box-shadow:0 40px 100px -30px rgba(0,0,0,.8),inset 0 1px 0 rgba(255,255,255,.09)}
.gate-card.wide{width:min(620px,100%)}
.gate-logo{display:flex;align-items:center;gap:12px;font-family:var(--disp);font-weight:700;font-size:20px;margin-bottom:6px}
.gate-card .sub{color:var(--mut);font-size:13.5px;margin-bottom:26px;line-height:1.55}
.gate-card label{display:block;font-size:12.5px;font-weight:600;color:var(--mut);margin:0 0 7px}
.gate-card input[type=text],.gate-card input[type=password],.gate-card input[type=email]{
  width:100%;background:var(--bg-3);border:1px solid var(--line);border-radius:11px;
  padding:12px 14px;font-size:14px;margin-bottom:16px;transition:border-color .2s}
.gate-card input:focus{outline:none;border-color:rgba(255,43,61,.45)}
.gate-card .btn{width:100%;justify-content:center;padding:13px}
.gate-err{color:var(--red-2);font-size:13px;margin-top:14px;min-height:18px;text-align:center;line-height:1.5}
.gate-note{margin-top:22px;padding:12px 14px;border-radius:11px;border:1px solid var(--line);
  background:var(--bg-3);color:var(--mut);font-size:12px;line-height:1.55}
.gate-note b{color:var(--txt)}
.gate-note code{font-family:var(--mono);font-size:11.5px;color:var(--red-2)}
.gate-foot{margin-top:24px;text-align:center;font-family:var(--mono);font-size:10.5px;
  letter-spacing:.14em;color:var(--dim)}
.gate-back{display:inline-flex;align-items:center;gap:6px;margin-bottom:22px;font-size:12.5px;color:var(--dim)}
.gate-back:hover{color:var(--txt)}
.gate-back svg{width:13px;height:13px}

/* ── OAUTH BUTTONS ─────────────────────────────────────────────────────── */
.oauth-list{display:flex;flex-direction:column;gap:11px;margin-bottom:8px}
.oauth-btn{display:flex;align-items:center;gap:13px;width:100%;padding:13px 16px;border-radius:12px;
  border:1px solid var(--line-2);background:var(--glass);font-size:14px;font-weight:600;color:var(--txt);
  transition:border-color .22s var(--ease),background .22s,transform .22s var(--ease);text-align:left}
.oauth-btn:hover:not([disabled]){background:var(--glass-2);border-color:rgba(255,255,255,.24);transform:translateY(-1px)}
.oauth-btn[disabled]{opacity:.45;cursor:not-allowed}
.oauth-btn svg{width:19px;height:19px;flex:none}
.oauth-btn .ob-sub{display:block;font-size:11.5px;font-weight:400;color:var(--dim);margin-top:1px}
.oauth-btn .ob-go{margin-left:auto;color:var(--dim)}
.oauth-btn .ob-go svg{width:15px;height:15px}
.oauth-btn.discord:hover:not([disabled]){border-color:rgba(88,101,242,.5)}
.oauth-btn.discord svg{color:#8b93f8}
.oauth-btn.google:hover:not([disabled]){border-color:rgba(234,240,246,.34)}
.oauth-divider{display:flex;align-items:center;gap:12px;margin:22px 0;color:var(--dim);
  font-family:var(--mono);font-size:10px;letter-spacing:.2em}
.oauth-divider::before,.oauth-divider::after{content:"";flex:1;height:1px;background:var(--line)}

/* ── DEMO BADGE ────────────────────────────────────────────────────────── */
/* Fixed, always visible, never covering a control. Small enough not to fight
   the UI, unmistakable enough that nobody mistakes the demo for their server. */
.demo-badge{position:fixed;bottom:20px;left:20px;z-index:7000;display:flex;align-items:center;gap:9px;
  padding:9px 15px 9px 12px;border-radius:99px;border:1px solid rgba(255,43,61,.34);
  background:rgba(20,7,10,.9);backdrop-filter:blur(14px);
  box-shadow:0 18px 44px -18px rgba(0,0,0,.8),inset 0 1px 0 rgba(255,255,255,.07);
  font-family:var(--mono);font-size:11px;font-weight:700;letter-spacing:.13em;color:var(--red-2)}
.demo-badge .db-pulse{width:8px;height:8px;border-radius:50%;background:var(--red);
  box-shadow:0 0 10px var(--red);animation:pulse 2s infinite;flex:none}
.demo-badge a{margin-left:5px;padding-left:11px;border-left:1px solid rgba(255,43,61,.28);
  color:var(--mut);letter-spacing:.06em;font-weight:500;transition:color .2s}
.demo-badge a:hover{color:var(--txt)}
@media (max-width:640px){
  .demo-badge{left:12px;right:12px;bottom:12px;justify-content:center}
  /* The badge spans the full width on a phone, so the last card would sit under
     it. Reserve the space rather than letting content hide behind it. */
  body:has(.demo-badge) .pf-content{padding-bottom:80px}
}

/* A read-only control still renders, so the demo shows the real interface
   rather than a stripped-down one — it just cannot be operated. */
.demo-locked{opacity:.55;cursor:not-allowed!important;position:relative}
.demo-ribbon{display:flex;align-items:flex-start;gap:11px;padding:13px 15px;margin-bottom:20px;
  border-radius:var(--r-md);border:1px solid rgba(255,43,61,.22);background:var(--red-soft);
  font-size:12.5px;color:#e8b9bf;line-height:1.55}
.demo-ribbon svg{width:15px;height:15px;flex:none;margin-top:2px;color:var(--red-2)}
.demo-ribbon b{color:var(--txt)}

/* ── SERVER CARDS (fleet grid) ─────────────────────────────────────────── */
.srv-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:16px}
.srv-card{position:relative;border:1px solid var(--line);border-radius:var(--r-lg);padding:20px;
  background:linear-gradient(180deg,rgba(255,255,255,.028),rgba(255,255,255,.008));
  cursor:pointer;overflow:hidden;text-align:left;width:100%;
  transition:border-color .3s var(--ease),transform .3s var(--ease),box-shadow .3s var(--ease)}
.srv-card:hover{border-color:rgba(255,43,61,.34);transform:translateY(-3px);
  box-shadow:0 22px 50px -26px rgba(0,0,0,.8)}
.srv-card.is-offline{opacity:.72}
.srv-card.is-offline:hover{opacity:1}
/* A thin live edge, green when reporting and red when not — readable at a
   glance across a wall of cards without reading a single label. */
.srv-card::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;
  background:var(--dim);transition:background .3s}
.srv-card.is-online::before{background:var(--green);box-shadow:0 0 14px var(--green)}
.srv-card.is-offline::before{background:var(--red-deep)}
.srv-head{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px}
.srv-ico{width:40px;height:40px;flex:none;border-radius:12px;display:grid;place-items:center;
  background:var(--red-soft);border:1px solid rgba(255,43,61,.2);color:var(--red-2)}
.srv-ico svg{width:18px;height:18px}
.srv-title{flex:1;min-width:0}
.srv-title b{display:block;font-size:14.5px;font-weight:650;letter-spacing:-.01em;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.srv-title span{display:block;font-family:var(--mono);font-size:11px;color:var(--dim);margin-top:2px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.srv-meta{display:grid;grid-template-columns:repeat(2,1fr);gap:10px 14px;margin-bottom:14px}
.srv-meta div{min-width:0}
.srv-meta span{display:block;font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--dim)}
.srv-meta b{display:block;font-family:var(--mono);font-size:13px;font-weight:600;margin-top:2px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.srv-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding-top:13px;border-top:1px solid var(--line);font-size:11.5px;color:var(--dim)}
.srv-players{display:flex;align-items:baseline;gap:5px}
.srv-players b{font-family:var(--mono);font-size:19px;font-weight:700;color:var(--txt)}
.srv-players i{font-style:normal;color:var(--dim);font-family:var(--mono);font-size:12px}
.srv-open{display:inline-flex;align-items:center;gap:5px;color:var(--red-2);font-weight:600}
.srv-open svg{width:13px;height:13px}

/* ── LICENSE KEY UI ────────────────────────────────────────────────────── */
.key-cell{display:flex;align-items:center;gap:8px}
/* A key must never wrap: broken across two lines it is much harder to read back
   to somebody, and it is the column operators scan down. */
.key-cell code{font-family:var(--mono);font-size:12.5px;letter-spacing:.03em;color:var(--txt);white-space:nowrap}
.key-cell button{color:var(--dim);display:grid;place-items:center;padding:3px;border-radius:6px;
  transition:color .2s,background .2s}
.key-cell button:hover{color:var(--red-2);background:var(--glass-2)}
.key-cell button svg{width:13px;height:13px}
.key-reveal{font-family:var(--mono);font-size:12.5px;color:var(--dim);cursor:pointer;
  border-bottom:1px dashed var(--line-2)}
.key-reveal:hover{color:var(--red-2)}

/* The freshly-generated key panel: big, copyable, impossible to lose. */
.keys-out{display:flex;flex-direction:column;gap:9px;max-height:44vh;overflow-y:auto;margin-top:4px}
.key-new{display:flex;align-items:center;gap:12px;padding:13px 15px;border-radius:12px;
  border:1px solid rgba(43,217,124,.26);background:rgba(43,217,124,.055)}
.key-new code{flex:1;font-family:var(--mono);font-size:14px;font-weight:700;letter-spacing:.06em;
  color:#8ff0be;word-break:break-all}
.key-new .btn{flex:none}

.dur-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:8px;margin-bottom:6px}
.dur-btn{border:1px solid var(--line);border-radius:11px;padding:11px 10px;text-align:center;
  font-size:12.5px;font-weight:600;color:var(--mut);transition:all .2s var(--ease)}
.dur-btn:hover{color:var(--txt);border-color:var(--line-2);background:var(--glass)}
.dur-btn.active{color:#fff;border-color:rgba(255,43,61,.45);background:var(--red-soft);
  box-shadow:inset 0 0 0 1px rgba(255,43,61,.22)}
.dur-btn small{display:block;font-family:var(--mono);font-size:9.5px;color:var(--dim);
  margin-top:3px;font-weight:400;letter-spacing:.06em}
.dur-btn.active small{color:var(--red-2)}

.dev-list{display:flex;flex-direction:column;gap:7px}
.dev-row{display:flex;align-items:center;gap:11px;padding:10px 12px;border-radius:10px;
  border:1px solid var(--line);background:var(--glass);font-size:12.5px}
.dev-row .dev-dot{width:7px;height:7px;border-radius:50%;background:var(--dim);flex:none}
.dev-row.on .dev-dot{background:var(--green);box-shadow:0 0 8px var(--green)}
.dev-row b{font-family:var(--mono);font-size:12px}
.dev-row span{margin-left:auto;color:var(--dim);font-size:11.5px;font-family:var(--mono)}

/* ── PRICING ───────────────────────────────────────────────────────────── */
.price-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(258px,1fr));gap:16px}
.price-card{position:relative;border:1px solid var(--line);border-radius:var(--r-lg);padding:26px 24px;
  background:linear-gradient(180deg,rgba(255,255,255,.028),rgba(255,255,255,.008));
  display:flex;flex-direction:column;transition:border-color .3s,transform .3s var(--ease)}
.price-card:hover{border-color:var(--line-2);transform:translateY(-2px)}
.price-card.hl{border-color:rgba(255,43,61,.36);
  background:radial-gradient(ellipse 120% 80% at 50% 0%,rgba(255,43,61,.09),transparent 60%),
             linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.008))}
.price-card.hl::after{content:"BEST VALUE";position:absolute;top:16px;right:16px;
  font-family:var(--mono);font-size:9px;font-weight:700;letter-spacing:.13em;padding:3px 8px;
  border-radius:5px;background:var(--red-soft);color:var(--red-2);border:1px solid rgba(255,43,61,.3)}
.price-card h3{font-size:15px;font-weight:650;margin-bottom:5px}
.price-card .pc-blurb{font-size:12.5px;color:var(--mut);margin-bottom:20px;min-height:34px;line-height:1.5}
.pc-amount{display:flex;align-items:baseline;gap:6px;margin-bottom:20px}
.pc-amount b{font-family:var(--mono);font-size:32px;font-weight:700;letter-spacing:-.02em}
.pc-amount span{font-size:12.5px;color:var(--dim)}
.pc-feat{list-style:none;display:flex;flex-direction:column;gap:9px;margin-bottom:22px;flex:1}
.pc-feat li{display:flex;align-items:flex-start;gap:9px;font-size:13px;color:#cfcfd6}
.pc-feat svg{width:14px;height:14px;flex:none;margin-top:3px;color:var(--green)}
.price-card .btn{width:100%;justify-content:center}
.pc-unavail{font-size:11.5px;color:var(--amber);text-align:center;margin-top:9px;line-height:1.5}

/* ── ENTITLEMENT GATE ──────────────────────────────────────────────────── */
.ent-hero{border:1px solid var(--line-2);border-radius:var(--r-xl);padding:34px;margin-bottom:22px;
  background:radial-gradient(ellipse 90% 70% at 20% 0%,rgba(255,43,61,.11),transparent 55%),
             linear-gradient(180deg,rgba(255,255,255,.032),rgba(255,255,255,.008))}
.ent-hero h1{font-family:var(--disp);font-size:24px;font-weight:650;letter-spacing:-.01em;margin-bottom:9px}
.ent-hero p{font-size:14px;color:var(--mut);max-width:620px;line-height:1.6}
.redeem-row{display:flex;gap:10px;margin-top:24px;flex-wrap:wrap}
.redeem-row input{flex:1;min-width:220px;background:var(--bg-3);border:1px solid var(--line-2);
  border-radius:12px;padding:13px 15px;font-family:var(--mono);font-size:14px;letter-spacing:.08em;
  text-transform:uppercase;transition:border-color .2s}
.redeem-row input:focus{outline:none;border-color:rgba(255,43,61,.45)}
.redeem-row input::placeholder{letter-spacing:.04em;text-transform:none;font-family:var(--body)}

/* ── ACCOUNT IDENTITY ──────────────────────────────────────────────────── */
.acct-head{display:flex;align-items:center;gap:16px;margin-bottom:22px;flex-wrap:wrap}
.acct-avatar{width:56px;height:56px;border-radius:16px;flex:none;display:grid;place-items:center;
  font-weight:700;font-size:18px;color:#fff;border:1px solid var(--line-2);overflow:hidden;
  background:linear-gradient(135deg,#2a2a34,#17171e)}
.acct-avatar img{width:100%;height:100%;object-fit:cover}
.acct-who b{display:block;font-family:var(--disp);font-size:19px;font-weight:650}
.acct-who span{display:block;font-size:13px;color:var(--mut);margin-top:2px}
.acct-tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:8px}

.prov-list{display:flex;flex-direction:column;gap:9px}
.prov-item{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:11px;
  border:1px solid var(--line);background:var(--glass);font-size:13px}
.prov-item svg{width:17px;height:17px;flex:none;color:var(--mut)}
.prov-item b{font-weight:600}
.prov-item span{margin-left:auto;font-size:11.5px;color:var(--dim);font-family:var(--mono)}

/* ── TABS (server dashboard) ───────────────────────────────────────────── */
.pf-tabs{display:flex;gap:4px;padding:5px;margin-bottom:22px;border:1px solid var(--line);
  border-radius:14px;background:rgba(255,255,255,.015);overflow-x:auto;scrollbar-width:none}
.pf-tabs::-webkit-scrollbar{display:none}
.pf-tab{display:flex;align-items:center;gap:8px;padding:9px 15px;border-radius:10px;
  font-size:13px;font-weight:600;color:var(--mut);white-space:nowrap;transition:all .2s var(--ease)}
.pf-tab svg{width:15px;height:15px}
.pf-tab:hover{color:var(--txt);background:var(--glass-2)}
.pf-tab.active{color:#fff;background:linear-gradient(180deg,rgba(255,43,61,.2),rgba(255,43,61,.07));
  box-shadow:inset 0 0 0 1px rgba(255,43,61,.28)}
.pf-tab .tab-n{font-family:var(--mono);font-size:10px;padding:1px 6px;border-radius:99px;
  background:rgba(255,255,255,.07);color:var(--mut)}
.pf-tab.active .tab-n{background:var(--red-soft);color:var(--red-2)}

/* ── SERVER HEADER STRIP ───────────────────────────────────────────────── */
.srv-hero{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:20px 22px;margin-bottom:20px;
  border:1px solid var(--line);border-radius:var(--r-lg);
  background:radial-gradient(ellipse 70% 100% at 0% 50%,rgba(255,43,61,.08),transparent 60%),
             linear-gradient(180deg,rgba(255,255,255,.028),rgba(255,255,255,.008))}
.srv-hero-ico{width:48px;height:48px;flex:none;border-radius:14px;display:grid;place-items:center;
  background:var(--red-soft);border:1px solid rgba(255,43,61,.22);color:var(--red-2)}
.srv-hero-ico svg{width:21px;height:21px}
.srv-hero-t{flex:1;min-width:180px}
.srv-hero-t h1{font-family:var(--disp);font-size:20px;font-weight:650;letter-spacing:-.01em;
  display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.srv-hero-t p{font-family:var(--mono);font-size:11.5px;color:var(--dim);margin-top:4px}
.srv-hero-kv{display:flex;gap:26px;flex-wrap:wrap}
.srv-hero-kv div span{display:block;font-size:9.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--dim)}
.srv-hero-kv div b{display:block;font-family:var(--mono);font-size:14px;font-weight:700;margin-top:3px}

/* ── PLAYER / GENERIC ROW LISTS ────────────────────────────────────────── */
.ply-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(232px,1fr));gap:10px}
.ply-card{display:flex;align-items:center;gap:11px;padding:11px 13px;border:1px solid var(--line);
  border-radius:12px;background:var(--glass);transition:border-color .2s}
.ply-card:hover{border-color:var(--line-2)}
.ply-av{width:32px;height:32px;flex:none;border-radius:9px;display:grid;place-items:center;
  font-size:11.5px;font-weight:700;color:#0a0a0e}
.ply-main{min-width:0;flex:1}
.ply-main b{display:block;font-size:12.5px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ply-main span{display:block;font-family:var(--mono);font-size:10.5px;color:var(--dim);margin-top:1px}
.ply-flags{font-family:var(--mono);font-size:11px;font-weight:700;color:var(--red-2);flex:none}

/* ── SCREENSHOT / CLIP TILES ───────────────────────────────────────────── */
.shot-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(248px,1fr));gap:14px}
.shot-card{border:1px solid var(--line);border-radius:var(--r-md);overflow:hidden;
  background:rgba(255,255,255,.018);transition:border-color .3s}
.shot-card:hover{border-color:rgba(255,43,61,.34)}
.shot-thumb{position:relative;aspect-ratio:16/9;background:#0a0a0f;display:grid;place-items:center;overflow:hidden}
.shot-thumb img{width:100%;height:100%;object-fit:cover;display:block}
/* No frame stored: say so, rather than showing a broken-image glyph. */
.shot-ph{display:flex;flex-direction:column;align-items:center;gap:7px;color:var(--dim);
  font-family:var(--mono);font-size:10px;letter-spacing:.13em;text-align:center;padding:14px}
.shot-ph svg{width:24px;height:24px;opacity:.55}
.shot-badge{position:absolute;top:8px;left:8px;font-family:var(--mono);font-size:9px;font-weight:700;
  letter-spacing:.1em;padding:2px 7px;border-radius:5px;background:var(--red-soft);color:var(--red-2);
  border:1px solid rgba(255,43,61,.3)}
.shot-meta{padding:12px 14px}
.shot-meta b{display:block;font-size:12.5px;font-weight:600}
.shot-meta span{display:block;font-size:11.5px;color:var(--mut);margin-top:4px;line-height:1.45;
  overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.shot-meta time{display:block;font-family:var(--mono);font-size:10.5px;color:var(--dim);margin-top:7px}

/* ── ID / IDENTIFIER CHIPS ─────────────────────────────────────────────── */
.id-chips{display:flex;flex-wrap:wrap;gap:7px}
.id-chip{display:inline-flex;align-items:center;gap:7px;font-family:var(--mono);font-size:11px;
  padding:5px 10px;border-radius:8px;background:var(--bg-3);border:1px solid var(--line-2);
  color:var(--mut);max-width:100%}
.id-chip b{color:var(--txt);font-weight:600}
.id-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.id-chip button{color:var(--dim);flex:none}
.id-chip button:hover{color:var(--red-2)}
.id-chip button svg{width:11px;height:11px}

/* ── DEFINITION LISTS ──────────────────────────────────────────────────── */
.dl{display:grid;grid-template-columns:auto 1fr;gap:11px 20px;font-size:13px;align-items:baseline}
.dl dt{color:var(--dim);font-size:12px;white-space:nowrap}
.dl dd{font-family:var(--mono);font-size:12.5px;text-align:right;word-break:break-word}

/* ── AUDIT FEED ────────────────────────────────────────────────────────── */
.aud-row{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-bottom:1px solid var(--line)}
.aud-row:last-child{border-bottom:none}
.aud-ico{width:30px;height:30px;flex:none;border-radius:9px;display:grid;place-items:center;
  background:var(--glass);border:1px solid var(--line);color:var(--mut)}
.aud-ico svg{width:14px;height:14px}
.aud-ico.bad{background:var(--red-soft);border-color:rgba(255,43,61,.24);color:var(--red-2)}
.aud-ico.ok{background:rgba(43,217,124,.1);border-color:rgba(43,217,124,.24);color:var(--green)}
.aud-ico.warn{background:rgba(255,178,36,.1);border-color:rgba(255,178,36,.24);color:var(--amber)}
.aud-body{flex:1;min-width:0}
.aud-body b{font-size:13px;font-weight:600}
.aud-body p{font-size:11.5px;color:var(--mut);margin-top:2px;font-family:var(--mono);word-break:break-word}
.aud-t{font-family:var(--mono);font-size:10.5px;color:var(--dim);flex:none;text-align:right}

/* ── SETUP / INTEGRATION SNIPPET ───────────────────────────────────────── */
.setup-steps{counter-reset:step;display:flex;flex-direction:column;gap:18px}
.setup-step{position:relative;padding-left:38px}
.setup-step::before{counter-increment:step;content:counter(step);position:absolute;left:0;top:0;
  width:26px;height:26px;border-radius:9px;display:grid;place-items:center;
  font-family:var(--mono);font-size:12px;font-weight:700;color:var(--red-2);
  background:var(--red-soft);border:1px solid rgba(255,43,61,.26)}
.setup-step b{display:block;font-size:13.5px;font-weight:600;margin-bottom:5px}
.setup-step p{font-size:12.5px;color:var(--mut);line-height:1.55}
pre.snippet{background:var(--bg-3);border:1px solid var(--line);border-radius:11px;padding:13px 15px;
  font-family:var(--mono);font-size:11.5px;line-height:1.65;color:#cfcfd6;overflow-x:auto;margin-top:9px}
pre.snippet .c{color:var(--dim)}
pre.snippet .s{color:#8ff0be}

/* ── UTILITIES ─────────────────────────────────────────────────────────── */
.row-between{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.row-gap{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.mt-16{margin-top:16px}.mt-22{margin-top:22px}.mb-16{margin-bottom:16px}.mb-22{margin-bottom:22px}
.muted{color:var(--mut)}
.dimmed{color:var(--dim)}
.nowrap{white-space:nowrap}
.g-5{display:grid;gap:16px;grid-template-columns:repeat(5,1fr)}
.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.right{text-align:right}

/* ── RESPONSIVE ────────────────────────────────────────────────────────── */
@media (max-width:1180px){
  .g-5{grid-template-columns:repeat(3,1fr)}
  .srv-hero-kv{gap:18px}
}
@media (max-width:1080px){
  .srv-grid{grid-template-columns:1fr}
  .dl{grid-template-columns:1fr;gap:4px 0}
  .dl dd{text-align:left;margin-bottom:9px}
}
@media (max-width:860px){
  .pf .sb{position:fixed;inset:0 auto 0 0;transform:translateX(-100%);width:248px!important;z-index:60}
  .pf .sb.mobile-open{transform:none;box-shadow:40px 0 80px rgba(0,0,0,.6)}
  .pf.on{grid-template-columns:1fr}
  .pf-content{padding:18px}
  .pf-top{padding:12px 16px}
  .pf-top .tb-crumb b{max-width:46vw}
}
@media (max-width:640px){
  .g-5{grid-template-columns:1fr 1fr}
  .srv-meta{grid-template-columns:1fr}
  .gate-card{padding:28px 22px}
  .ent-hero{padding:24px 20px}
  .srv-hero{padding:16px}
}
