/* ShowLink — page stylesheet: login.html */

/* ShowLink — shared theme, display controls and global glass/holographic system. */
:root{
  --sl-pink:#6366f1;
  --sl-magenta:#7c3aed;
  --sl-purple:#4f46e5;
  --sl-blue:#2563eb;
  --sl-cyan:#0891b2;
  --sl-green:#10b981;
  --sl-orange:#f97316;
  --sl-yellow:#f59e0b;
  --sl-red:#ef4444;

  --sl-gradient:linear-gradient(135deg,#4f46e5 0%,#4338ca 52%,#2563eb 100%);
  --sl-gradient-reverse:linear-gradient(135deg,#2563eb 0%,#4338ca 52%,#4f46e5 100%);
  --sl-gradient-soft:linear-gradient(135deg,rgba(79,70,229,.08),rgba(37,99,235,.06));
  --sl-gradient-border:linear-gradient(90deg,#4f46e5,#2563eb);

  --sl-bg:#f8fafc;
  --sl-bg-2:#f1f5f9;
  --sl-surface:rgba(255,255,255,.96);
  --sl-surface-strong:#ffffff;
  --sl-surface-soft:#f8fafc;
  --sl-text:#172033;
  --sl-muted:#64748b;
  --sl-border:rgba(148,163,184,.28);
  --sl-border-strong:rgba(79,70,229,.34);
  --sl-hover:rgba(79,70,229,.06);
  --sl-shadow:0 16px 40px rgba(15,23,42,.08);
  --sl-shadow-sm:0 4px 16px rgba(15,23,42,.05);
  --sl-glass-blur:12px;
}

html[data-theme="dark"]{
  --sl-bg:#0b1220;
  --sl-bg-2:#111c2e;
  --sl-surface:rgba(17,28,46,.94);
  --sl-surface-strong:#111c2e;
  --sl-surface-soft:#172338;
  --sl-text:#f8fafc;
  --sl-muted:#a8b4c7;
  --sl-border:rgba(148,163,184,.20);
  --sl-border-strong:rgba(129,140,248,.45);
  --sl-hover:rgba(129,140,248,.12);
  --sl-shadow:0 18px 48px rgba(0,0,0,.24);
  --sl-shadow-sm:0 6px 20px rgba(0,0,0,.18);
}

html{
  background:var(--sl-bg);
  color-scheme:light;
}
html[data-theme="dark"]{
  color-scheme:dark;
  background:var(--sl-bg);
}

body{
  color:var(--sl-text);
  background:var(--sl-bg);
}

/* Existing page surfaces inherit one visual language without introducing another stylesheet. */
button,input,select,textarea{font:inherit}
button:not(.fa):not([class*="icon"]),input,select,textarea{accent-color:var(--sl-purple)}

.showlink-tools{display:flex;align-items:center;justify-content:flex-end;gap:8px}
.showlink-tool{position:relative;display:inline-flex;align-items:center}
.showlink-tool-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;min-width:92px;padding:0 12px;
  border:1px solid var(--sl-border);border-radius:12px;background:var(--sl-surface);color:var(--sl-text);
  cursor:pointer;font:inherit;font-size:12px;font-weight:800;backdrop-filter:blur(var(--sl-glass-blur));-webkit-backdrop-filter:blur(var(--sl-glass-blur));
  box-shadow:var(--sl-shadow-sm);transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.showlink-tool-btn:hover{transform:translateY(-1px);border-color:var(--sl-border-strong);box-shadow:0 10px 32px rgba(124,58,237,.16)}
.showlink-tool-btn .sl-tool-icon{width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center}
.showlink-tool-text,.showlink-lang-label{white-space:nowrap}
.showlink-lang-label{min-width:22px;text-align:center}
.showlink-tool-menu{
  position:absolute;top:calc(100% + 8px);right:0;min-width:158px;padding:6px;
  border:1px solid var(--sl-border);border-radius:14px;background:var(--sl-surface-strong);color:var(--sl-text);
  box-shadow:var(--sl-shadow);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);z-index:10050;
  opacity:0;visibility:hidden;transform:translateY(-5px);transition:opacity .16s ease,transform .16s ease,visibility .16s ease;
}
.showlink-tool.is-open .showlink-tool-menu{opacity:1;visibility:visible;transform:translateY(0)}
.showlink-tool-option{
  width:100%;min-height:40px;display:flex;align-items:center;gap:9px;padding:9px 10px;border:0;border-radius:9px;
  background:transparent;color:var(--sl-text);cursor:pointer;font:inherit;font-size:13px;text-align:left;
}
.showlink-tool-option:hover,.showlink-tool-option.is-active{background:var(--sl-gradient-soft)}
.showlink-tool-option .sl-check{margin-left:auto;width:18px;min-width:18px;text-align:center;color:var(--sl-purple)}
.sl-option-icon{width:19px;min-width:19px;display:inline-flex;align-items:center;justify-content:center}
.sl-option-sun{color:#f59e0b}.sl-option-moon{color:#8b5cf6}

/* Shared glass utility classes already used by the project. */
.glass,.card,.panel,.surface,.section-card,.metric-card,.auth-card,.pf-card{
  border-color:var(--sl-border);
}

/* Recolor common existing gradient/button treatments to the ShowLink crystal spectrum. */
.btn-primary,.fake-pay,.primary-btn,.btn-gradient,.action-primary{
  background:var(--sl-gradient) !important;
  border-color:transparent !important;
  color:#fff !important;
  box-shadow:0 10px 30px rgba(124,58,237,.22),0 0 24px rgba(6,214,255,.08);
}
.btn-primary:hover,.fake-pay:hover,.primary-btn:hover,.btn-gradient:hover,.action-primary:hover{box-shadow:0 13px 38px rgba(124,58,237,.30),0 0 30px rgba(6,214,255,.12)}

/* Common glass cards, where those classes exist, share the same material. */
.card,.panel,.surface,.section-card,.metric-card,.auth-card,.pf-card,.content-card,.stat-card,.feature-card{
  background:var(--sl-surface) !important;
  color:var(--sl-text);
  border:1px solid var(--sl-border);
  box-shadow:var(--sl-shadow-sm);
  backdrop-filter:blur(var(--sl-glass-blur));
  -webkit-backdrop-filter:blur(var(--sl-glass-blur));
}

/* Crystal spectrum text helpers used by existing pages. */
.c-purple,.icon-purple,.purple{color:var(--sl-purple)}
.c-pink,.icon-pink,.pink{color:var(--sl-pink)}
.c-blue,.icon-blue,.blue{color:var(--sl-blue)}
.c-green,.icon-green,.green{color:var(--sl-green)}
.c-orange,.icon-orange,.orange{color:var(--sl-orange)}
.c-yellow,.icon-yellow,.yellow{color:var(--sl-yellow)}

@media(max-width:820px){
  .showlink-tools{gap:6px}
  .showlink-tool-btn{width:40px;min-width:40px;padding:0}
  .showlink-tool-text,.showlink-lang-label{display:none}
}

/* ============================================================
   SHOWLINK CRYSTAL MATERIAL — CARDS + FORMS
   Uses the existing shared stylesheet; no additional CSS file.
   ============================================================ */
:root{
  --bg:var(--sl-bg);
  --bg2:var(--sl-bg-2);
  --surface:var(--sl-surface);
  --surface2:var(--sl-surface-soft);
  --surface-strong:var(--sl-surface-strong);
  --text:var(--sl-text);
  --muted:var(--sl-muted);
  --line:var(--sl-border);
  --border:var(--sl-border);
  --primary:var(--sl-purple);
  --primary2:var(--sl-blue);
  --purple:var(--sl-purple);
  --pink:var(--sl-pink);
  --blue:var(--sl-blue);
  --cyan:var(--sl-cyan);
  --shadow:var(--sl-shadow);
}

html[data-theme="dark"]{
  --bg:var(--sl-bg);
  --bg2:var(--sl-bg-2);
  --surface:var(--sl-surface);
  --surface2:var(--sl-surface-soft);
  --surface-strong:var(--sl-surface-strong);
  --text:var(--sl-text);
  --muted:var(--sl-muted);
  --line:var(--sl-border);
  --border:var(--sl-border);
  --primary:var(--sl-purple);
  --primary2:var(--sl-blue);
  --purple:var(--sl-purple);
  --pink:var(--sl-pink);
  --blue:var(--sl-blue);
  --cyan:var(--sl-cyan);
  --shadow:var(--sl-shadow);
}

/* Page-specific cards: normalize them into the same translucent crystal material. */
.sl-main-card,
.sl-card,
.auth-card,
.auth-alert,
.form-card,
.form-section,
.form-panel,
.form-card-section,
.create-card,
.create-form,
.editor-card,
.settings-card,
.profile-card,
.payment-card,
.payment-box,
.payment-panel,
.preview-card,
.preview-window,
.pf-card,
.pf-content,
.content-card,
.content-panel,
.content-box,
.link-card,
.link-item,
.list-card,
.list-item,
.dash-card,
.metric-card,
.chart-card,
.cpm-card,
.donut-card,
.info-card,
.wrapped-card,
.stat-card,
.feature-card,
.price-card,
.plan-card,
.table-card,
.modal-card,
.dropdown-panel{
  background:
    #ffffff !important;
  border:1px solid var(--sl-border) !important;
  box-shadow:
    0 8px 24px rgba(15,23,42,.06) !important;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  color:var(--sl-text);
}

html[data-theme="dark"] .sl-main-card,
html[data-theme="dark"] .sl-card,
html[data-theme="dark"] .auth-card,
html[data-theme="dark"] .auth-alert,
html[data-theme="dark"] .form-card,
html[data-theme="dark"] .form-section,
html[data-theme="dark"] .form-panel,
html[data-theme="dark"] .form-card-section,
html[data-theme="dark"] .create-card,
html[data-theme="dark"] .create-form,
html[data-theme="dark"] .editor-card,
html[data-theme="dark"] .settings-card,
html[data-theme="dark"] .profile-card,
html[data-theme="dark"] .payment-card,
html[data-theme="dark"] .payment-box,
html[data-theme="dark"] .payment-panel,
html[data-theme="dark"] .preview-card,
html[data-theme="dark"] .preview-window,
html[data-theme="dark"] .pf-card,
html[data-theme="dark"] .pf-content,
html[data-theme="dark"] .content-card,
html[data-theme="dark"] .content-panel,
html[data-theme="dark"] .content-box,
html[data-theme="dark"] .link-card,
html[data-theme="dark"] .link-item,
html[data-theme="dark"] .list-card,
html[data-theme="dark"] .list-item,
html[data-theme="dark"] .dash-card,
html[data-theme="dark"] .metric-card,
html[data-theme="dark"] .chart-card,
html[data-theme="dark"] .cpm-card,
html[data-theme="dark"] .donut-card,
html[data-theme="dark"] .info-card,
html[data-theme="dark"] .wrapped-card,
html[data-theme="dark"] .stat-card,
html[data-theme="dark"] .feature-card,
html[data-theme="dark"] .price-card,
html[data-theme="dark"] .plan-card,
html[data-theme="dark"] .table-card,
html[data-theme="dark"] .modal-card,
html[data-theme="dark"] .dropdown-panel{
  background:
    linear-gradient(135deg,rgba(13,19,50,.78),rgba(17,13,50,.60) 45%,rgba(5,31,60,.66)) !important;
  border-color:rgba(129,151,255,.28) !important;
  box-shadow:
    0 22px 75px rgba(0,0,0,.38),
    inset 0 1px 0 rgba(255,255,255,.10),
    0 0 35px rgba(80,150,255,.055) !important;
}

/* Holographic edge highlight for cards. */
.sl-main-card::before,
.auth-card::before,
.form-card::before,
.form-panel::before,
.create-card::before,
.editor-card::before,
.settings-card::before,
.profile-card::before,
.payment-card::before,
.payment-panel::before,
.preview-card::before,
.pf-card::before,
.content-card::before,
.link-card::before,
.dash-card::before,
.metric-card::before,
.feature-card::before,
.plan-card::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius:inherit;
  padding:1px;
  background:linear-gradient(120deg,rgba(255,47,179,.34),rgba(124,58,237,.12),rgba(37,99,235,.22),rgba(6,214,255,.34));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
}
.sl-main-card,.auth-card,.form-card,.form-panel,.create-card,.editor-card,.settings-card,.profile-card,.payment-card,.payment-panel,.preview-card,.pf-card,.content-card,.link-card,.dash-card,.metric-card,.feature-card,.plan-card{position:relative;overflow:hidden}

/* Inputs and textareas: translucent crystal fields, not flat white boxes. */
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea,
.auth-input,
.form-input,
.input,
.field-input,
.text-input,
.search-input,
textarea.form-control,
input.form-control,
select.form-control{
  color:var(--sl-text) !important;
  background:#ffffff !important;
  border:1px solid var(--sl-border) !important;
  box-shadow:0 1px 2px rgba(15,23,42,.025) !important;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
html[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]),
html[data-theme="dark"] select,
html[data-theme="dark"] textarea,
html[data-theme="dark"] .auth-input,
html[data-theme="dark"] .form-input,
html[data-theme="dark"] .input,
html[data-theme="dark"] .field-input,
html[data-theme="dark"] .text-input,
html[data-theme="dark"] .search-input,
html[data-theme="dark"] textarea.form-control,
html[data-theme="dark"] input.form-control,
html[data-theme="dark"] select.form-control{
  color:var(--sl-text) !important;
  background:linear-gradient(135deg,rgba(7,14,39,.78),rgba(22,13,53,.60),rgba(4,35,57,.62)) !important;
  border-color:rgba(148,163,184,.30) !important;
  box-shadow:0 1px 2px rgba(0,0,0,.12) !important;
}
input::placeholder,textarea::placeholder{color:var(--sl-muted) !important;opacity:.82}
input:focus,select:focus,textarea:focus,.auth-input:focus,.form-input:focus,.input:focus,.field-input:focus,.text-input:focus,.search-input:focus{
  outline:none !important;
  border-color:rgba(124,58,237,.58) !important;
  box-shadow:0 0 0 3px rgba(79,70,229,.12) !important;
}

/* Form labels and field helpers follow the crystal palette. */
label,.field-label,.form-label,.auth-field label{color:var(--sl-text);font-weight:750}
.form-help,.field-help,.form-hint,.auth-help,.auth-subtitle,.form-description{color:var(--sl-muted)}

/* Common inner rows / chips also receive the same glass treatment. */
.plan-chip,.email-chip,.period-chip,.cpm-badge,.badge,.chip,.tag,.filter-chip,.status-pill,.section-chip,
.chart-summary span,.sub-mini-stats div,.wrapped-item,.welcome-note,.preview-url,.payment-url,.mini-card{
  background:var(--sl-gradient-soft) !important;
  border-color:var(--sl-border) !important;
  color:var(--sl-text);
}

/* Secondary buttons remain glass; primary actions retain the gem spectrum. */
.btn-ghost,.btn-outline,.secondary-btn,.outline-btn,.btn-secondary,.action-secondary{
  color:var(--sl-text) !important;
  background:rgba(255,255,255,.42) !important;
  border:1px solid var(--sl-border) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.72),0 7px 22px rgba(65,55,135,.06) !important;
  backdrop-filter:blur(14px);
}
html[data-theme="dark"] .btn-ghost,html[data-theme="dark"] .btn-outline,html[data-theme="dark"] .secondary-btn,html[data-theme="dark"] .outline-btn,html[data-theme="dark"] .btn-secondary,html[data-theme="dark"] .action-secondary{
  background:rgba(13,22,53,.52) !important;
  border-color:rgba(105,164,255,.27) !important;
}

/* Preserve semantic colors but add holographic glow to service icons. */
.stat-icon,.list-icon,.why-icon,.step-icon,.auth-icon,.info-icon,.section-icon,.icon-link{
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 8px 24px rgba(74,59,170,.10);
}

/* Additional real project surfaces found in the existing page styles. */
.sl-card,.sl-main-card,.task-card,.checkout-card,.final-card,.auth-art-card,.auth-receipt-card,
.payment-create-card,.pf-choice-card,.sl-info-panel,.sl-mobile-panel,.faq-section,.why-section,
.settings-row,.create-field,.payment-field,.auth-row,.auth-receipt-row,.price-row{
  background:#ffffff !important;
  border-color:var(--sl-border) !important;
  box-shadow:0 8px 24px rgba(15,23,42,.05) !important;
  color:var(--sl-text);
  backdrop-filter:blur(18px) saturate(130%);
  -webkit-backdrop-filter:blur(18px) saturate(130%);
}
html[data-theme="dark"] .sl-card,html[data-theme="dark"] .sl-main-card,html[data-theme="dark"] .task-card,html[data-theme="dark"] .checkout-card,html[data-theme="dark"] .final-card,html[data-theme="dark"] .auth-art-card,html[data-theme="dark"] .auth-receipt-card,html[data-theme="dark"] .payment-create-card,html[data-theme="dark"] .pf-choice-card,html[data-theme="dark"] .sl-info-panel,html[data-theme="dark"] .sl-mobile-panel,html[data-theme="dark"] .faq-section,html[data-theme="dark"] .why-section,html[data-theme="dark"] .settings-row,html[data-theme="dark"] .create-field,html[data-theme="dark"] .payment-field,html[data-theme="dark"] .auth-row,html[data-theme="dark"] .auth-receipt-row,html[data-theme="dark"] .price-row{
  background:#111c2e !important;
  border-color:rgba(148,163,184,.22) !important;
  box-shadow:0 12px 32px rgba(0,0,0,.20) !important;
}

/* Forms themselves are part of the crystal surface, not just their inputs. */
.auth-form,.create-form,.payment-form,.form,.settings-form,.profile-form,.withdraw-form,.topup-form{
  color:var(--sl-text);
}
.auth-field,.create-field,.payment-field,.form-field,.field-group{
  color:var(--sl-text);
}

/* Ensure hard-coded white form controls from page CSS cannot flatten the theme. */
.auth-input-wrap,.input-wrap,.field-wrap,.form-control-wrap,.payment-input-wrap{
  background:rgba(255,255,255,.24) !important;
  border-color:var(--sl-border) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.48);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
html[data-theme="dark"] .auth-input-wrap,html[data-theme="dark"] .input-wrap,html[data-theme="dark"] .field-wrap,html[data-theme="dark"] .form-control-wrap,html[data-theme="dark"] .payment-input-wrap{
  background:rgba(5,13,37,.40) !important;
  border-color:rgba(100,160,255,.24) !important;
}


/* ============================================================
   SHOWLINK INDEX — PAGE-ONLY RESPONSIVE STYLES
   Navbar / footer styling intentionally lives in their own CSS.
============================================================ */

.index-page {
  --idx-bg: #f7f8fc;
  --idx-surface: rgba(255,255,255,.88);
  --idx-surface-solid: #fff;
  --idx-text: #10152b;
  --idx-muted: #68708a;
  --idx-line: rgba(18,24,54,.10);
  --idx-purple: #7c3aed;
  --idx-pink: #f029b5;
  --idx-blue: #1677ff;
  --idx-cyan: #13c8ff;
  --idx-shadow: 0 24px 80px rgba(33,30,76,.12);
  --idx-shadow-sm: 0 12px 34px rgba(33,30,76,.08);
  background:
    radial-gradient(circle at 10% 4%, rgba(124,58,237,.10), transparent 25%),
    radial-gradient(circle at 90% 10%, rgba(19,200,255,.09), transparent 24%),
    var(--idx-bg);
  color: var(--idx-text);
  overflow-x: hidden;
}

html[data-theme="dark"] .index-page {
  --idx-bg: #070a17;
  --idx-surface: rgba(17,22,43,.86);
  --idx-surface-solid: #11162b;
  --idx-text: #f5f7ff;
  --idx-muted: #a5aec8;
  --idx-line: rgba(255,255,255,.105);
  --idx-shadow: 0 30px 100px rgba(0,0,0,.38);
  --idx-shadow-sm: 0 16px 45px rgba(0,0,0,.26);
  background:
    radial-gradient(circle at 10% 3%, rgba(124,58,237,.18), transparent 27%),
    radial-gradient(circle at 92% 9%, rgba(19,200,255,.12), transparent 24%),
    var(--idx-bg);
}

.index-page .sl-main {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.index-page .sl-container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.index-page *,
.index-page *::before,
.index-page *::after {
  box-sizing: border-box;
}

.index-page img,
.index-page svg,
.index-page video {
  max-width: 100%;
}

/* ---------- Shared typography ---------- */
.index-page .section-head { max-width: 800px; margin-bottom: 38px; }
.index-page .section-head.centered { margin-inline: auto; text-align: center; }
.index-page .section-kicker,
.index-page .eyebrow,
.index-page .mini-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--idx-purple);
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.index-page .section-kicker i,
.index-page .eyebrow i,
.index-page .mini-label i { font-size: 11px; }
.index-page .section-head h2 {
  margin: 13px 0 12px;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.02;
  letter-spacing: -2.8px;
}
.index-page .section-head p {
  margin: 0;
  color: var(--idx-muted);
  font-size: 14px;
  line-height: 1.8;
}
.index-page .gradient-text {
  background: linear-gradient(100deg, #a855f7, #f029b5 45%, #168bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Hero ---------- */
.index-page .hero-section {
  position: relative;
  isolation: isolate;
  min-height: 720px;
  padding: 78px 0 88px;
  background: linear-gradient(180deg, rgba(124,58,237,.045), transparent 42%);
}
.index-page .hero-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(8px);
}
.index-page .hero-glow-one { width: 420px; height: 420px; left: -190px; top: 50px; background: rgba(240,41,181,.10); }
.index-page .hero-glow-two { width: 480px; height: 480px; right: -220px; top: 130px; background: rgba(22,119,255,.10); }
.index-page .hero-layout {
  display: grid;
  grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr);
  gap: 48px;
  align-items: center;
}
.index-page .hero-copy { min-width: 0; padding-top: 20px; }
.index-page .hero-copy h1 {
  max-width: 650px;
  margin: 20px 0 18px;
  font-size: clamp(46px, 6vw, 78px);
  line-height: .98;
  letter-spacing: -5px;
  overflow-wrap: anywhere;
}
.index-page .hero-copy > p { max-width: 650px; margin: 0; color: var(--idx-muted); font-size: 16px; line-height: 1.85; }
.index-page .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.index-page .hero-actions .btn {
  min-height: 50px;
  padding: 0 20px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 850;
}
.index-page .btn-glass {
  color: var(--idx-text);
  background: var(--idx-surface);
  border: 1px solid var(--idx-line);
  box-shadow: var(--idx-shadow-sm);
}
.index-page .hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 24px;
  color: var(--idx-muted);
  font-size: 10px;
  font-weight: 800;
}
.index-page .hero-points span { display: inline-flex; align-items: center; gap: 7px; }
.index-page .hero-points i { color: #16b87a; }
.index-page .hero-art { position: relative; min-width: 0; }
.index-page .hero-art-frame {
  position: relative;
  padding: 12px;
  border: 1px solid var(--idx-line);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255,255,255,.70), rgba(255,255,255,.18));
  box-shadow: var(--idx-shadow);
  backdrop-filter: blur(22px);
}
html[data-theme="dark"] .index-page .hero-art-frame { background: linear-gradient(145deg, rgba(21,27,54,.88), rgba(11,15,34,.58)); }
.index-page .hero-art-frame::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 33px;
  padding: 1px;
  background: linear-gradient(120deg, rgba(240,41,181,.45), rgba(22,119,255,.30), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.index-page .hero-art-frame img { display: block; width: 100%; height: auto; border-radius: 23px; }
.index-page .hero-art-badge {
  position: absolute;
  z-index: 2;
  left: 26px;
  top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: calc(100% - 52px);
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 999px;
  background: rgba(7,10,23,.72);
  color: #fff;
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
  backdrop-filter: blur(14px);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
}
.index-page .hero-art-badge i { color: #44d7ff; }
.index-page .hero-floating {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: 210px;
  padding: 12px 14px;
  border: 1px solid var(--idx-line);
  border-radius: 17px;
  background: var(--idx-surface);
  box-shadow: var(--idx-shadow-sm);
  backdrop-filter: blur(18px);
}
.index-page .hero-floating i { width: 35px; height: 35px; display: grid; place-items: center; flex: 0 0 35px; border-radius: 11px; color: #fff; background: linear-gradient(135deg,#f029b5,#7c3aed); }
.index-page .hero-floating b,
.index-page .hero-floating small { display: block; overflow-wrap: anywhere; }
.index-page .hero-floating b { font-size: 10px; }
.index-page .hero-floating small { margin-top: 3px; color: var(--idx-muted); font-size: 8px; }
.index-page .hero-floating-a { left: -30px; bottom: 14%; }
.index-page .hero-floating-b { right: -25px; bottom: 5%; }

/* ---------- About / detail ---------- */
.index-page .about-section { padding: 105px 0; }
.index-page .anime-detail-card {
  display: grid;
  grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr);
  gap: 22px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid var(--idx-line);
  border-radius: 30px;
  background: var(--idx-surface);
  box-shadow: var(--idx-shadow);
  overflow: hidden;
}
.index-page .anime-copy { min-width: 0; padding: 42px 28px 42px 35px; display: flex; flex-direction: column; justify-content: center; }
.index-page .anime-copy h3 { margin: 15px 0 12px; font-size: clamp(28px,3.4vw,46px); line-height: 1.03; letter-spacing: -2px; overflow-wrap: anywhere; }
.index-page .anime-copy > p { color: var(--idx-muted); line-height: 1.8; font-size: 13px; margin: 0; }
.index-page .detail-list { display: grid; gap: 11px; margin: 24px 0 28px; }
.index-page .detail-list div { display: flex; align-items: flex-start; gap: 10px; color: var(--idx-text); font-size: 11px; line-height: 1.55; font-weight: 750; }
.index-page .detail-list i { flex: 0 0 28px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; background: linear-gradient(135deg,rgba(124,58,237,.16),rgba(19,200,255,.13)); color: var(--idx-purple); }
.index-page .text-link { display: inline-flex; align-items: center; gap: 8px; width: fit-content; max-width: 100%; color: var(--idx-text); font-size: 11px; font-weight: 900; text-decoration: none; }
.index-page .text-link i { color: var(--idx-purple); transition: transform .2s ease; }
.index-page .text-link:hover i { transform: translateX(4px); }
.index-page .anime-media { position: relative; min-height: 440px; overflow: hidden; border-radius: 23px; background: #090d24; }
.index-page .anime-media img { width: 100%; height: 100%; min-height: 440px; display: block; object-fit: cover; }
.index-page .anime-shine { position: absolute; z-index: 1; width: 45%; height: 45%; top: -20%; right: -10%; border-radius: 50%; background: rgba(22,119,255,.28); filter: blur(55px); pointer-events: none; }

/* ---------- Workflow ---------- */
.index-page .workflow-section { padding: 105px 0; background: linear-gradient(180deg,transparent,rgba(124,58,237,.045),transparent); }
.index-page .workflow-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr) minmax(0,.8fr); gap: 17px; }
.index-page .showcase-card { margin: 0; min-width: 0; overflow: hidden; border: 1px solid var(--idx-line); border-radius: 23px; background: var(--idx-surface); box-shadow: var(--idx-shadow-sm); }
.index-page .showcase-card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.index-page .showcase-card.showcase-main { grid-row: span 2; }
.index-page .showcase-card.showcase-main img { height: calc(100% - 50px); min-height: 380px; aspect-ratio: auto; }
.index-page .showcase-card.showcase-wide { grid-column: 2 / -1; }
.index-page .showcase-card figcaption { min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 15px; font-size: 10px; }
.index-page .showcase-card figcaption b { color: var(--idx-text); }
.index-page .showcase-card figcaption span { color: var(--idx-muted); text-align: right; }

/* ---------- Payment logos ---------- */
.index-page .payments-section { padding: 105px 0 100px; overflow: hidden; }
.index-page .payment-head { max-width: 820px; }
.index-page .logo-block { margin-top: 28px; }
.index-page .logo-block-wallet { margin-top: 32px; }
.index-page .logo-title { display: flex; align-items: center; gap: 12px; margin-bottom: 11px; }
.index-page .logo-title > span { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 13px; color: var(--idx-purple); background: linear-gradient(135deg,rgba(124,58,237,.14),rgba(19,200,255,.10)); border: 1px solid var(--idx-line); }
.index-page .logo-title b,.index-page .logo-title small { display: block; }
.index-page .logo-title b { font-size: 13px; }
.index-page .logo-title small { margin-top: 4px; color: var(--idx-muted); font-size: 9px; }
.index-page .logo-marquee { width: 100%; overflow: hidden; padding: 8px 0 17px; mask-image: linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent); -webkit-mask-image: linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent); }
.index-page .logo-track { display: flex; width: max-content; gap: 13px; align-items: center; }
.index-page .marquee-left .logo-track { animation: showlink-left 52s linear infinite; }
.index-page .marquee-right .logo-track { animation: showlink-right 52s linear infinite; }
.index-page .logo-card { width: 174px; height: 84px; flex: 0 0 174px; display: grid; place-items: center; padding: 12px; border: 1px solid var(--idx-line); border-radius: 18px; background: var(--idx-surface); box-shadow: var(--idx-shadow-sm); transition: transform .2s ease,box-shadow .2s ease; }
.index-page .logo-card:hover { transform: translateY(-4px); box-shadow: var(--idx-shadow); }
.index-page .logo-card img { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 8px 15px rgba(30,35,60,.08)); }
@keyframes showlink-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes showlink-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.index-page .logo-marquee:hover .logo-track { animation-play-state: paused; }

/* ---------- Withdraw ---------- */
.index-page .withdraw-section { padding: 105px 0; background: linear-gradient(135deg,rgba(124,58,237,.08),rgba(19,200,255,.045)); }
.index-page .withdraw-layout { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 48px; align-items: center; }
.index-page .withdraw-visual { position: relative; min-height: 390px; padding-right: 70px; }
.index-page .withdraw-visual > img:first-child { display: block; width: 100%; max-width: 610px; margin-left: 0; border: 1px solid var(--idx-line); border-radius: 25px; box-shadow: var(--idx-shadow); background: var(--idx-surface); }
.index-page .withdraw-global { position: absolute; right: 0; bottom: -20px; width: 52%; border: 1px solid var(--idx-line); border-radius: 21px; box-shadow: var(--idx-shadow); background: var(--idx-surface); }
.index-page .withdraw-copy { min-width: 0; }
.index-page .withdraw-copy h2 { margin: 14px 0 13px; font-size: clamp(32px,4.4vw,55px); line-height: 1.02; letter-spacing: -2.7px; overflow-wrap: anywhere; }
.index-page .withdraw-copy > p { color: var(--idx-muted); line-height: 1.8; font-size: 13px; }
.index-page .withdraw-chips { display: flex; flex-wrap: wrap; gap: 9px; margin: 24px 0 18px; }
.index-page .withdraw-chips span { display: inline-flex; align-items: center; gap: 7px; padding: 9px 11px; border: 1px solid var(--idx-line); border-radius: 999px; background: var(--idx-surface); font-size: 9px; font-weight: 850; }
.index-page .withdraw-chips i { color: var(--idx-purple); }
.index-page .withdraw-note { display: flex; align-items: flex-start; gap: 9px; color: var(--idx-muted); font-size: 10px; line-height: 1.6; }
.index-page .withdraw-note i { color: var(--idx-purple); margin-top: 2px; }

/* ---------- CTA ---------- */
.index-page .cta-section { padding: 90px 0 20px; }
.index-page .cta-card { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; overflow: hidden; padding: 35px; border: 1px solid var(--idx-line); border-radius: 29px; background: var(--idx-surface); box-shadow: var(--idx-shadow); }
.index-page .cta-card::after { content: ""; position: absolute; width: 330px; height: 330px; right: -130px; top: -160px; border-radius: 50%; background: radial-gradient(circle,rgba(19,200,255,.18),transparent 70%); pointer-events: none; }
.index-page .cta-card > div { min-width: 0; }
.index-page .cta-card h2 { margin: 12px 0 9px; font-size: clamp(28px,3.7vw,46px); line-height: 1.04; letter-spacing: -2.2px; overflow-wrap: anywhere; }
.index-page .cta-card p { max-width: 690px; margin: 0; color: var(--idx-muted); line-height: 1.75; font-size: 13px; }
.index-page .cta-card .btn { position: relative; z-index: 1; white-space: nowrap; }
.index-page .disclaimer { margin: 13px 0 0; color: var(--idx-muted); text-align: center; font-size: 9px; line-height: 1.6; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .index-page .sl-container { width: min(100% - 36px, 1180px); }
  .index-page .hero-section { min-height: auto; }
  .index-page .hero-layout { grid-template-columns: 1fr; gap: 38px; }
  .index-page .hero-copy { max-width: 820px; margin-inline: auto; text-align: center; }
  .index-page .hero-copy > p { margin-inline: auto; }
  .index-page .hero-actions, .index-page .hero-points { justify-content: center; }
  .index-page .hero-art { width: min(100%, 860px); margin-inline: auto; }
  .index-page .hero-floating-a { left: 8px; }
  .index-page .hero-floating-b { right: 8px; }
  .index-page .anime-detail-card, .index-page .withdraw-layout { grid-template-columns: 1fr; }
  .index-page .anime-media, .index-page .anime-media img { min-height: 420px; }
  .index-page .withdraw-visual { width: min(100%,780px); margin-inline: auto; }
}

@media (max-width: 820px) {
  .index-page .sl-container { width: min(100% - 28px, 1180px); }
  .index-page .hero-section { padding: 50px 0 68px; }
  .index-page .hero-copy h1 { font-size: clamp(42px,9vw,64px); letter-spacing: -3.8px; }
  .index-page .hero-art-frame { padding: 8px; border-radius: 24px; }
  .index-page .hero-art-frame img { border-radius: 17px; }
  .index-page .hero-art-badge { left: 18px; top: 18px; }
  .index-page .hero-floating { padding: 10px 12px; }
  .index-page .workflow-grid { grid-template-columns: 1fr 1fr; }
  .index-page .showcase-card.showcase-main { grid-column: 1 / -1; grid-row: auto; }
  .index-page .showcase-card.showcase-main img { height: auto; min-height: 0; aspect-ratio: 16 / 10; object-fit: contain; }
  .index-page .showcase-card.showcase-wide { grid-column: 1 / -1; }
  .index-page .withdraw-visual { min-height: 350px; padding-right: 48px; }
  .index-page .withdraw-global { width: 48%; bottom: -8px; }
  .index-page .cta-card { flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .index-page .sl-container { width: calc(100% - 24px); }
  .index-page .hero-section { padding: 36px 0 58px; }
  .index-page .hero-copy { padding-top: 0; }
  .index-page .hero-copy h1 { margin-top: 15px; font-size: clamp(36px,11.5vw,52px); line-height: 1.02; letter-spacing: -2.7px; }
  .index-page .hero-copy > p { font-size: 13px; line-height: 1.75; }
  .index-page .hero-actions { display: grid; grid-template-columns: 1fr; width: 100%; gap: 9px; }
  .index-page .hero-actions .btn { width: 100%; min-height: 48px; }
  .index-page .hero-points { display: grid; grid-template-columns: 1fr; justify-items: center; gap: 8px; margin-top: 18px; }
  .index-page .hero-art { width: 100%; }
  .index-page .hero-art-frame { padding: 6px; border-radius: 20px; }
  .index-page .hero-art-frame img { border-radius: 15px; }
  .index-page .hero-art-badge { left: 12px; top: 12px; max-width: calc(100% - 24px); padding: 7px 9px; font-size: 6.5px; letter-spacing: .06em; }
  .index-page .hero-floating { display: none; }
  .index-page .section-head { margin-bottom: 27px; }
  .index-page .section-head h2 { font-size: clamp(29px,8.5vw,42px); letter-spacing: -2px; }
  .index-page .section-head p { font-size: 13px; line-height: 1.7; }
  .index-page .about-section, .index-page .workflow-section, .index-page .payments-section, .index-page .withdraw-section { padding: 70px 0; }
  .index-page .anime-detail-card { padding: 8px; border-radius: 22px; }
  .index-page .anime-copy { padding: 26px 17px 24px; }
  .index-page .anime-copy h3 { font-size: clamp(27px,8vw,39px); letter-spacing: -1.8px; }
  .index-page .anime-media, .index-page .anime-media img { min-height: 250px; height: 250px; }
  .index-page .workflow-grid { grid-template-columns: 1fr; gap: 12px; }
  .index-page .showcase-card, .index-page .showcase-card.showcase-main, .index-page .showcase-card.showcase-wide { grid-column: auto; }
  .index-page .showcase-card img, .index-page .showcase-card.showcase-main img { width: 100%; height: auto; min-height: 0; aspect-ratio: 16 / 10; object-fit: contain; }
  .index-page .showcase-card figcaption { min-height: 48px; align-items: flex-start; flex-direction: column; gap: 3px; }
  .index-page .showcase-card figcaption span { text-align: left; }
  .index-page .logo-title { padding-inline: 2px; }
  .index-page .logo-card { width: 132px; height: 68px; flex-basis: 132px; border-radius: 14px; padding: 10px; }
  .index-page .logo-track { gap: 8px; }
  .index-page .logo-marquee { padding-bottom: 12px; mask-image: linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent); -webkit-mask-image: linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent); }
  .index-page .withdraw-visual { min-height: 250px; padding-right: 22px; }
  .index-page .withdraw-visual > img:first-child { width: 100%; border-radius: 19px; }
  .index-page .withdraw-global { width: 54%; right: 0; bottom: -7px; border-radius: 16px; }
  .index-page .withdraw-copy h2 { font-size: clamp(30px,9vw,42px); letter-spacing: -2px; }
  .index-page .withdraw-chips { display: grid; grid-template-columns: 1fr 1fr; }
  .index-page .withdraw-chips span:last-child { grid-column: 1 / -1; }
  .index-page .cta-section { padding: 65px 0 18px; }
  .index-page .cta-card { flex-direction: column; align-items: stretch; padding: 25px 19px; border-radius: 23px; }
  .index-page .cta-card h2 { font-size: clamp(27px,8vw,40px); }
  .index-page .cta-card .btn { width: 100%; justify-content: center; }
}

@media (max-width: 380px) {
  .index-page .sl-container { width: calc(100% - 18px); }
  .index-page .hero-copy h1 { font-size: 34px; letter-spacing: -2.2px; }
  .index-page .hero-art-badge { display: none; }
  .index-page .logo-card { width: 118px; height: 62px; flex-basis: 118px; }
  .index-page .withdraw-chips { grid-template-columns: 1fr; }
  .index-page .withdraw-chips span:last-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .index-page .marquee-left .logo-track,
  .index-page .marquee-right .logo-track { animation: none !important; }
  .index-page .text-link i { transition: none; }
}

/* ============================================================
   INDEX FINAL POLISH / LAYOUT SAFETY
   Prevent the fixed navbar from covering hero content and
   remove browser-default spacing that caused visible gaps.
============================================================ */
html:has(body.index-page){scroll-behavior:smooth}
body.index-page{
  margin:0;
  min-width:0;
  overflow-x:hidden;
  background:var(--idx-bg);
}
body.index-page .sl-main{margin:0;}
.index-page .hero-section{
  padding-top:calc(78px + var(--sl-nav-height, 72px));
}
.index-page .hero-art-frame{
  overflow:hidden;
}
.index-page .hero-art-frame img{
  width:100%;
  max-width:100%;
  height:auto;
  object-fit:contain;
}
.index-page .anime-media img{
  max-width:none;
}
.index-page .showcase-card img,
.index-page .withdraw-visual img,
.index-page .logo-card img{
  max-width:100%;
}
.index-page a,
.index-page button{
  -webkit-tap-highlight-color:transparent;
}
.index-page :focus-visible{
  outline:3px solid rgba(124,58,237,.28);
  outline-offset:3px;
}

@media (max-width:820px){
  .index-page .hero-section{
    padding-top:calc(50px + var(--sl-nav-height, 72px));
  }
}

@media (max-width:600px){
  .index-page .hero-section{
    padding-top:calc(36px + var(--sl-nav-height, 72px));
  }
}

/* ============================================================
   CTA PREMIUM FINAL
   A dedicated CTA treatment so the final conversion block
   feels like part of the product experience, not a generic card.
============================================================ */
.index-page .cta-section { position: relative; }
.index-page .cta-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 42px;
  overflow: hidden;
  min-height: 300px;
  padding: 48px 52px;
  border: 1px solid rgba(124,58,237,.20);
  border-radius: 32px;
  background:
    radial-gradient(circle at 82% 18%, rgba(19,200,255,.17), transparent 25%),
    radial-gradient(circle at 12% 100%, rgba(240,41,181,.13), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(247,245,255,.95));
  box-shadow: 0 30px 90px rgba(54,39,120,.14);
}
html[data-theme="dark"] .index-page .cta-card {
  border-color: rgba(168,85,247,.28);
  background:
    radial-gradient(circle at 82% 18%, rgba(19,200,255,.13), transparent 25%),
    radial-gradient(circle at 12% 100%, rgba(240,41,181,.11), transparent 32%),
    linear-gradient(135deg, rgba(19,23,45,.98), rgba(13,17,34,.98));
  box-shadow: 0 32px 100px rgba(0,0,0,.34);
}
.index-page .cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .32;
  background-image: linear-gradient(rgba(124,58,237,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(124,58,237,.07) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 78%);
}
.index-page .cta-card::after { display:none; }
.index-page .cta-content { position: relative; z-index: 2; min-width: 0; }
.index-page .cta-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid rgba(124,58,237,.18);
  border-radius: 999px;
  color: var(--idx-purple);
  background: rgba(124,58,237,.07);
  font-size: 9px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .13em;
}
.index-page .cta-kicker i { font-size: 9px; }
.index-page .cta-kicker em {
  padding-left: 8px;
  border-left: 1px solid currentColor;
  opacity: .55;
  font-style: normal;
}
.index-page .cta-card h2 {
  max-width: 760px;
  margin: 17px 0 11px;
  font-size: clamp(34px, 4.2vw, 57px);
  line-height: 1.01;
  letter-spacing: -3px;
}
.index-page .cta-card h2 span {
  background: linear-gradient(100deg, #a855f7, #f029b5 48%, #168bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.index-page .cta-card p {
  max-width: 660px;
  margin: 0;
  color: var(--idx-muted);
  line-height: 1.75;
  font-size: 13px;
}
.index-page .cta-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 17px;
  margin-top: 22px;
}
.index-page .cta-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--idx-muted);
  font-size: 9px;
  font-weight: 800;
}
.index-page .cta-trust i { color: var(--idx-purple); font-size: 10px; }
.index-page .cta-button {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 245px;
  padding: 10px 13px 10px 10px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 19px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #7c3aed, #a855f7 48%, #168bff);
  box-shadow: 0 18px 40px rgba(102,63,205,.28), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.index-page .cta-button:hover {
  transform: translateY(-3px);
  filter: saturate(1.08);
  box-shadow: 0 23px 48px rgba(102,63,205,.36), inset 0 1px 0 rgba(255,255,255,.25);
}
.index-page .cta-button:active { transform: translateY(-1px); }
.index-page .cta-button-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255,255,255,.17);
  border: 1px solid rgba(255,255,255,.18);
  font-size: 17px;
}
.index-page .cta-button-copy { min-width: 0; flex: 1; }
.index-page .cta-button-copy small,
.index-page .cta-button-copy strong { display:block; }
.index-page .cta-button-copy small { margin-bottom: 4px; opacity: .75; font-size: 7px; line-height: 1; font-weight: 900; letter-spacing: .14em; }
.index-page .cta-button-copy strong { font-size: 12px; line-height: 1.2; font-weight: 900; }
.index-page .cta-button-arrow { margin-right: 4px; font-size: 13px; transition: transform .2s ease; }
.index-page .cta-button:hover .cta-button-arrow { transform: translateX(4px); }
.index-page .cta-glow { position:absolute; z-index:-1; border-radius:50%; filter:blur(5px); pointer-events:none; }
.index-page .cta-glow-one { width:260px;height:260px;right:-100px;bottom:-150px;background:rgba(22,119,255,.18); }
.index-page .cta-glow-two { width:220px;height:220px;left:35%;top:-180px;background:rgba(240,41,181,.12); }

@media (max-width: 820px) {
  .index-page .cta-card { grid-template-columns: 1fr; gap: 25px; padding: 38px 30px; }
  .index-page .cta-button { width: min(100%, 360px); }
}
@media (max-width: 600px) {
  .index-page .cta-section { padding: 58px 0 18px; }
  .index-page .cta-card { min-height: 0; gap: 22px; padding: 27px 19px 19px; border-radius: 25px; }
  .index-page .cta-kicker { font-size: 7px; padding: 7px 9px; }
  .index-page .cta-card h2 { margin: 14px 0 10px; font-size: clamp(29px, 9vw, 42px); letter-spacing: -2.2px; }
  .index-page .cta-card p { font-size: 12px; line-height: 1.7; }
  .index-page .cta-trust { margin-top: 18px; gap: 8px 13px; }
  .index-page .cta-trust span { font-size: 8px; }
  .index-page .cta-button { width: 100%; min-width: 0; border-radius: 16px; }
  .index-page .cta-button-icon { width: 44px; height: 44px; flex-basis: 44px; }
}



/* ============================================================
   SHOWLINK AUTH — Login / Register
   Uses the same theme variables as the shared ShowLink system.
   ============================================================ */
.auth-page{min-height:100vh;background:var(--bg);color:var(--text);display:flex;flex-direction:column}
.auth-main{flex:1;display:grid;place-items:center;padding:58px 0 80px;position:relative;overflow:hidden}
.auth-main::before,.auth-main::after{content:"";position:absolute;border-radius:999px;filter:blur(4px);pointer-events:none;opacity:.55}
.auth-main::before{width:360px;height:360px;background:rgba(124,92,246,.20);left:-160px;top:-120px}
.auth-main::after{width:320px;height:320px;background:rgba(236,72,153,.14);right:-130px;bottom:-110px}
.auth-wrap{width:min(100%,1040px);display:grid;grid-template-columns:.88fr 1.12fr;gap:28px;align-items:stretch;position:relative;z-index:1}
.auth-intro{border-radius:30px;padding:42px;color:#fff;background:linear-gradient(145deg,#5d4be7 0%,#7c3aed 52%,#ec4899 100%);box-shadow:0 30px 80px rgba(79,61,180,.22);display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;position:relative}
.auth-intro::after{content:"";position:absolute;width:260px;height:260px;border:1px solid rgba(255,255,255,.18);border-radius:50%;right:-110px;bottom:-90px}
.auth-intro-top{position:relative;z-index:1}
.auth-brand{display:inline-flex;align-items:center;gap:10px;font-weight:900;font-size:20px}
.auth-brand .brand-mark{width:40px;height:40px}
.auth-kicker{display:inline-flex;align-items:center;gap:8px;margin-top:55px;font-size:10px;font-weight:900;letter-spacing:.14em;color:rgba(255,255,255,.76)}
.auth-intro h1{font-size:clamp(30px,4vw,47px);line-height:1.05;letter-spacing:-2px;margin:14px 0}
.auth-intro p{font-size:13px;line-height:1.75;color:rgba(255,255,255,.78);max-width:390px;margin:0}
.auth-points{display:grid;gap:12px;margin-top:30px}
.auth-point{display:flex;gap:11px;align-items:flex-start;font-size:11px;color:rgba(255,255,255,.86)}
.auth-point i{width:26px;height:26px;border-radius:9px;display:grid;place-items:center;background:rgba(255,255,255,.13);flex:none}
.auth-art{position:relative;height:150px;margin-top:30px}
.auth-art-card{position:absolute;border-radius:16px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);backdrop-filter:blur(10px);padding:14px}
.auth-art-card.main{width:230px;left:10px;bottom:0;transform:rotate(-4deg)}
.auth-art-card.small{width:145px;right:5px;top:12px;transform:rotate(6deg)}
.auth-art-line{height:7px;border-radius:99px;background:rgba(255,255,255,.22);margin:8px 0}
.auth-art-line.short{width:58%}.auth-art-line.long{width:88%}
.auth-art-icon{width:34px;height:34px;border-radius:10px;background:rgba(255,255,255,.14);display:grid;place-items:center;margin-bottom:10px}
.auth-card{background:var(--surface);border:1px solid var(--line);border-radius:30px;padding:38px;box-shadow:0 25px 70px rgba(30,25,70,.10)}
.auth-head{text-align:center;margin-bottom:26px}
.auth-head .auth-icon{width:54px;height:54px;border-radius:17px;display:grid;place-items:center;margin:0 auto 15px;color:#fff;background:linear-gradient(135deg,#a855f7,#ec4899);box-shadow:0 12px 25px rgba(109,93,252,.20)}
.auth-head h2{font-size:28px;line-height:1.1;letter-spacing:-1px;margin:0 0 7px}
.auth-head p{font-size:12px;color:var(--muted);margin:0}
.auth-form{display:grid;gap:16px}
.auth-field{display:grid;gap:7px}
.auth-field label{font-size:11px;font-weight:800;color:var(--text)}
.auth-input-wrap{position:relative}
.auth-input{width:100%;height:48px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--text);outline:none;padding:0 44px 0 43px;font:inherit;font-size:12px;transition:.2s}
.auth-input::placeholder{color:#9aa2b3}
.auth-input:focus{border-color:#8b7cff;box-shadow:0 0 0 4px rgba(79,70,229,.07)}
.auth-input-wrap>i:first-child{position:absolute;left:15px;top:50%;transform:translateY(-50%);color:#8991a5;font-size:13px;pointer-events:none}
.auth-password-toggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:34px;height:34px;border:0;border-radius:10px;background:transparent;color:#858da1;cursor:pointer}
.auth-password-toggle:hover{background:var(--surface-2);color:var(--primary)}
.auth-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.auth-check{display:flex;align-items:center;gap:8px;font-size:10px;color:var(--muted);cursor:pointer}
.auth-check input{accent-color:#a855f7}
.auth-link{color:#a855f7;font-size:10px;font-weight:800}
.auth-link:hover{text-decoration:underline}
.auth-submit{height:49px;border:0;border-radius:14px;color:#fff;background:linear-gradient(135deg,#ec4899,#a855f7 35%,#3b82f6 70%,#06b6d4);font-size:12px;font-weight:900;cursor:pointer;box-shadow:0 14px 28px rgba(109,93,252,.20);transition:.2s}
.auth-submit:hover{transform:translateY(-1px);box-shadow:0 17px 32px rgba(109,93,252,.26)}
.auth-divider{display:flex;align-items:center;gap:10px;color:#9299aa;font-size:9px;margin:1px 0}
.auth-divider::before,.auth-divider::after{content:"";height:1px;background:var(--line);flex:1}
.auth-google:hover{background:var(--surface-2)}
.auth-bottom{text-align:center;margin-top:20px;font-size:10px;color:var(--muted)}
.auth-terms{text-align:center;color:#9198aa;font-size:9px;line-height:1.6;margin:2px 0 0}
.auth-alert{display:none;border:1px solid #fecaca;background:#fff1f2;color:#be123c;border-radius:12px;padding:10px 12px;font-size:10px;line-height:1.5}
.auth-alert.is-visible{display:block}
.auth-success{border-color:#bbf7d0;background:#f0fdf4;color:#15803d}
.auth-hint{font-size:9px;color:var(--muted);margin-top:-2px}
.auth-strength{height:4px;background:var(--line);border-radius:99px;overflow:hidden;margin-top:-2px}
.auth-strength span{display:block;height:100%;width:0;border-radius:inherit;background:#a855f7;transition:.2s}
.auth-back{display:inline-flex;align-items:center;gap:7px;margin-top:20px;color:var(--muted);font-size:10px;font-weight:800}
.auth-back:hover{color:var(--primary)}
html[data-theme="dark"] .auth-card{box-shadow:0 30px 80px rgba(0,0,0,.28)}
html[data-theme="dark"] .auth-input,
html[data-theme="dark"] html[data-theme="dark"] .auth-alert{background:#321621;border-color:#6b2638;color:#fda4af}
html[data-theme="dark"] .auth-success{background:#102a22;border-color:#1d5b48;color:#86efac}
@media(max-width:820px){
  .auth-main{padding:35px 0 55px}
  .auth-wrap{grid-template-columns:1fr;max-width:570px}
  .auth-intro{display:none}
  .auth-card{padding:28px 22px;border-radius:24px}
}
@media(max-width:480px){
  .auth-main{padding:22px 0 40px}
  .auth-card{padding:24px 17px}
  .auth-head h2{font-size:25px}
  .auth-row{align-items:flex-start}
}


.auth-submit:disabled{opacity:.65;cursor:not-allowed;transform:none!important}

/* Auth UX update: Google OAuth + clearer Login/Register switch */
.auth-google{width:100%;height:49px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--text);font-size:12px;font-weight:800;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:9px;transition:.2s}
.auth-google i{font-size:15px}
.auth-google:hover{background:var(--surface-2);transform:translateY(-1px)}
.auth-bottom{margin-top:24px;font-size:14px;font-weight:700;color:var(--text);padding:14px 12px;border-radius:14px;background:var(--surface-2)}
.auth-bottom .auth-link{font-size:14px;font-weight:900;margin-left:5px}
@media(max-width:480px){.auth-bottom,.auth-bottom .auth-link{font-size:14px}}

/* Auth success receipt + clearer account switch links */
.auth-receipt-backdrop{position:fixed;inset:0;z-index:9999;background:rgba(9,8,20,.66);backdrop-filter:blur(8px);display:grid;place-items:center;padding:18px}
.auth-receipt-card{width:min(100%,430px);background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:26px;padding:28px;box-shadow:0 30px 90px rgba(0,0,0,.28);text-align:center}
.auth-receipt-icon{width:62px;height:62px;border-radius:20px;display:grid;place-items:center;margin:0 auto 12px;background:#dcfce7;color:#16a34a;font-size:27px}
.auth-receipt-card h3{font-size:24px;margin:0 0 6px}.auth-receipt-note{font-size:12px;color:var(--muted);margin:0 0 18px}
.auth-receipt-row{display:flex;justify-content:space-between;gap:15px;padding:11px 0;border-bottom:1px solid var(--line);font-size:12px;text-align:left}.auth-receipt-row span{color:var(--muted)}.auth-receipt-row strong{max-width:62%;overflow:hidden;text-overflow:ellipsis}
.auth-receipt-safe{font-size:10px;color:var(--muted);margin:13px 0}.auth-receipt-actions{display:grid;gap:9px;margin-top:16px}
.auth-secondary{height:45px;border:1px solid var(--line);border-radius:13px;background:var(--surface);color:var(--text);font-weight:800;cursor:pointer}
.auth-bottom{font-size:16px!important;font-weight:800!important}.auth-bottom .auth-link{font-size:16px!important;font-weight:950!important}
@media(max-width:480px){.auth-bottom,.auth-bottom .auth-link{font-size:16px!important}}

.auth-recent-users{display:flex;flex-wrap:wrap;gap:7px;margin-top:2px}.auth-user-chip{border:1px solid var(--line);background:var(--surface-2);color:var(--text);border-radius:10px;padding:7px 10px;font-size:10px;font-weight:800;cursor:pointer}.auth-user-chip:hover{border-color:#8b7cff}

/* Registration success receipt: password is shown only in the local, one-time success card. */
.auth-receipt-password strong{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;word-break:break-all;white-space:normal;color:var(--text)}
.auth-receipt-safe{line-height:1.55}


/* =========================================================
   SHOWLINK LUXURY PAGE POLISH
   ========================================================= */
:root{
  --sl-luxury-shadow:0 24px 70px rgba(36,28,86,.10);
  --sl-luxury-shadow-hover:0 30px 85px rgba(36,28,86,.16);
}
body{
  background:
    radial-gradient(circle at 8% 4%,rgba(109,93,252,.08),transparent 27%),
    radial-gradient(circle at 92% 12%,rgba(236,72,153,.065),transparent 25%),
    radial-gradient(circle at 50% 100%,rgba(59,130,246,.055),transparent 30%),
    var(--bg);
}
html[data-theme="dark"] body{
  background:
    radial-gradient(circle at 8% 4%,rgba(79,70,229,.08),transparent 27%),
    radial-gradient(circle at 92% 12%,rgba(236,72,153,.08),transparent 25%),
    radial-gradient(circle at 50% 100%,rgba(59,130,246,.07),transparent 30%),
    var(--bg);
}
.sl-main-card,.sl-card,.dash-card,.dash-stat,.dash-action{
  position:relative;
  overflow:hidden;
  box-shadow:var(--sl-luxury-shadow);
  border-color:rgba(120,113,180,.13);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.sl-main-card:hover,.sl-card:hover,.dash-card:hover,.dash-stat:hover,.dash-action:hover{
  transform:translateY(-3px);
  box-shadow:var(--sl-luxury-shadow-hover);
  border-color:rgba(109,93,252,.22);
}
.sl-main-card::before,.sl-card::before,.dash-card::before,.dash-stat::before{
  content:"";
  position:absolute;left:0;right:0;top:0;height:2px;
  background:linear-gradient(90deg,#3b82f6,#a855f7,#7c3aed,#ec4899,#f59e0b);
  opacity:.7;
}
.sl-placeholder>i{
  background:linear-gradient(135deg,rgba(59,130,246,.13),rgba(139,92,246,.14),rgba(236,72,153,.11));
  border:1px solid rgba(109,93,252,.13);
  box-shadow:0 12px 30px rgba(79,70,229,.07);
  color:#a855f7;
}
.sl-main-kicker i,.sl-kicker i,.dash-kicker i{color:#7c3aed}
.dash-stat:nth-child(1)>i{color:#3b82f6}
.dash-stat:nth-child(2)>i{color:#7c3aed}
.dash-stat:nth-child(3)>i{color:#ec4899}
.dash-big-icon{color:#f59e0b!important}
.dash-action:nth-child(1)>i:first-child{color:#10b981}
.dash-action:nth-child(2)>i:first-child{color:#f59e0b}
.settings-row i{color:#7c3aed}
.dash-avatar{
  background:linear-gradient(135deg,#a855f7,#ec4899)!important;
  box-shadow:0 10px 28px rgba(109,93,252,.24);
}


/* ============================================================
   SHOWLINK AUTH — UNIFIED LOGIN / REGISTER SYSTEM
   Final visual layer: same shell, spacing, controls and CTA.
   ============================================================ */
.auth-page{
  min-height:100svh;
  background:
    radial-gradient(900px 500px at 5% 0%,rgba(79,70,229,.07),transparent 62%),
    radial-gradient(800px 460px at 100% 20%,rgba(236,72,153,.08),transparent 60%),
    var(--bg);
}
.auth-main{
  min-height:calc(100svh - 64px);
  padding:44px 20px 64px;
}
.auth-wrap{
  width:min(100%,1080px);
  grid-template-columns:minmax(0,.92fr) minmax(420px,1.08fr);
  gap:22px;
  align-items:stretch;
}
.auth-intro,
.auth-card{
  min-height:650px;
}
.auth-intro{
  border-radius:28px;
  padding:38px;
  background:
    radial-gradient(500px 280px at 15% 5%,rgba(255,255,255,.14),transparent 65%),
    linear-gradient(145deg,#4f46e5 0%,#6d5dfc 48%,#c026d3 100%);
  box-shadow:0 28px 80px rgba(79,61,180,.20);
}
.auth-brand{
  color:#fff;
  text-decoration:none;
}
.auth-brand .brand-mark{
  width:40px;height:40px;border-radius:13px;
  display:grid;place-items:center;
  background:rgba(255,255,255,.15);
  border:1px solid rgba(255,255,255,.18);
}
.auth-kicker{
  margin-top:48px;
  padding:8px 11px;
  border-radius:999px;
  width:max-content;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.13);
}
.auth-intro h1{
  max-width:470px;
  margin:17px 0 12px;
}
.auth-points{gap:10px;margin-top:27px}
.auth-point{
  min-height:43px;
  align-items:center;
  padding:8px 10px;
  border-radius:13px;
  background:rgba(255,255,255,.075);
  border:1px solid rgba(255,255,255,.10);
}
.auth-point i{
  width:28px;height:28px;border-radius:9px;
  background:rgba(255,255,255,.14);
}
.auth-art{height:165px;margin-top:25px}
.auth-art-card{box-shadow:0 18px 40px rgba(28,20,90,.12)}

.auth-card{
  box-sizing:border-box;
  border-radius:28px;
  padding:38px 40px 32px;
  background:color-mix(in srgb,var(--surface) 96%,transparent);
  border:1px solid color-mix(in srgb,var(--line) 88%,transparent);
  box-shadow:0 28px 80px rgba(30,25,70,.11);
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.auth-head{
  margin-bottom:25px;
}
.auth-head .auth-icon{
  width:58px;height:58px;
  border-radius:18px;
  margin-bottom:14px;
  background:linear-gradient(135deg,#6d5dfc,#a855f7 55%,#ec4899);
  box-shadow:0 14px 30px rgba(109,93,252,.22);
}
.auth-head h2{
  font-size:30px;
  letter-spacing:-1.2px;
}
.auth-head p{
  font-size:12px;
  line-height:1.55;
}
.auth-form{gap:15px}
.auth-field{gap:7px}
.auth-field label{
  font-size:11px;
  letter-spacing:.01em;
}
.auth-input-wrap{height:50px}
.auth-input{
  box-sizing:border-box;
  height:50px;
  border-radius:14px;
  background:var(--surface-2);
  border-color:color-mix(in srgb,var(--line) 88%,transparent);
  padding-left:44px;
  font-size:12px;
}
.auth-input:focus{
  background:var(--surface);
  border-color:#7c6cff;
  box-shadow:0 0 0 4px rgba(109,93,252,.09),0 8px 22px rgba(79,70,229,.06);
}
.auth-input-wrap>i:first-child{left:15px}
.auth-password-toggle{
  width:34px;height:34px;right:8px;
}
.auth-row{
  min-height:28px;
}
.auth-check{
  font-size:10px;
  line-height:1.45;
}
.auth-link{
  color:#765cff;
}
.auth-submit,
.auth-google{
  height:50px;
  border-radius:14px;
}
.auth-submit{
  background:linear-gradient(135deg,#5b4ff0,#7c5cff 48%,#c04be7 100%);
  box-shadow:0 13px 28px rgba(109,93,252,.22);
  font-size:12px;
}
.auth-google{
  background:var(--surface-2);
  border-color:var(--line);
}
.auth-divider{
  margin:0;
  min-height:17px;
}
.auth-bottom{
  box-sizing:border-box;
  width:100%;
  margin-top:20px;
  padding:13px 14px;
  border:1px solid var(--line);
  background:var(--surface-2);
  border-radius:13px;
  text-align:center;
  font-size:12px!important;
  font-weight:700!important;
}
.auth-bottom .auth-link{
  font-size:12px!important;
  margin-left:4px;
}
.auth-terms{
  max-width:430px;
  align-self:center;
  font-size:9px;
  line-height:1.65;
  margin-top:11px;
}
.auth-back{
  align-self:center;
  margin-top:16px;
  font-size:10px;
  text-decoration:none;
}
.auth-hint{font-size:9px;line-height:1.45}
.auth-strength{height:4px;margin-top:-1px}

html[data-theme="dark"] .auth-card{
  background:rgba(20,19,32,.90);
  box-shadow:0 30px 90px rgba(0,0,0,.34);
}
html[data-theme="dark"] .auth-input{
  background:rgba(255,255,255,.035);
}
html[data-theme="dark"] .auth-input:focus{
  background:rgba(255,255,255,.055);
}
html[data-theme="dark"] .auth-google,
html[data-theme="dark"] .auth-bottom{
  background:rgba(255,255,255,.035);
}

@media(max-width:900px){
  .auth-wrap{
    max-width:620px;
    grid-template-columns:1fr;
  }
  .auth-intro{
    display:block;
    min-height:0;
    padding:28px;
  }
  .auth-intro .auth-art{display:none}
  .auth-kicker{margin-top:25px}
  .auth-intro h1{font-size:34px}
  .auth-points{
    grid-template-columns:repeat(3,minmax(0,1fr));
    margin-top:20px;
  }
  .auth-point{
    min-height:72px;
    flex-direction:column;
    justify-content:center;
    text-align:center;
    padding:9px 6px;
    font-size:10px;
  }
  .auth-card{
    min-height:0;
  }
}
@media(max-width:620px){
  .auth-main{
    padding:24px 14px 42px;
  }
  .auth-wrap{
    gap:14px;
  }
  .auth-intro{
    padding:23px 20px;
    border-radius:22px;
  }
  .auth-intro h1{
    font-size:29px;
    letter-spacing:-1.3px;
  }
  .auth-intro p{
    font-size:12px;
  }
  .auth-points{
    display:grid;
    grid-template-columns:1fr;
    gap:7px;
  }
  .auth-point{
    min-height:0;
    flex-direction:row;
    text-align:left;
    justify-content:flex-start;
    padding:8px 9px;
  }
  .auth-card{
    padding:27px 18px 24px;
    border-radius:22px;
  }
  .auth-head h2{font-size:27px}
  .auth-form{gap:14px}
}


/* ============================================================
   AUTH FINAL POLISH — NAVBAR SAFE + SMOOTH FORMS
   ============================================================ */

/* The global navbar is fixed; auth content must always start below it. */
.auth-page{
  padding-top:64px !important;
  box-sizing:border-box;
  overflow-x:hidden;
}
.auth-main{
  min-height:calc(100svh - 64px) !important;
  height:auto !important;
  box-sizing:border-box;
  padding:38px 20px 60px !important;
  display:flex;
  align-items:center;
  justify-content:center;
}
.auth-wrap{
  margin:0 auto !important;
  position:relative;
  z-index:1;
}

/* Keep the auth shell visually calm and prevent accidental overlap. */
.auth-intro,
.auth-card{
  position:relative;
  z-index:1;
  overflow:hidden;
}

/* Cleaner form rhythm */
.auth-card{
  justify-content:flex-start !important;
  padding-top:34px !important;
  padding-bottom:30px !important;
}
.auth-head{
  margin-bottom:22px !important;
}
.auth-head .auth-icon{
  width:54px;
  height:54px;
  margin-bottom:13px;
  border-radius:16px;
}
.auth-head h2{
  margin:0 0 7px !important;
  line-height:1.12;
}
.auth-head p{
  margin:0 !important;
}
.auth-form{
  width:100%;
  gap:13px !important;
}
.auth-field{
  width:100%;
  gap:6px !important;
}
.auth-field label{
  display:block;
  margin:0 0 1px !important;
}
.auth-input-wrap{
  width:100%;
  height:50px !important;
  position:relative;
}
.auth-input{
  box-sizing:border-box !important;
  width:100% !important;
  min-width:0 !important;
  height:50px !important;
  padding:0 44px 0 44px !important;
  border:1px solid color-mix(in srgb,var(--line) 82%,transparent) !important;
  border-radius:14px !important;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease,transform .18s ease !important;
}
.auth-input:hover{
  border-color:color-mix(in srgb,#7c6cff 28%,var(--line)) !important;
}
.auth-input:focus{
  outline:none !important;
  transform:translateY(-1px);
  border-color:#7565f6 !important;
  box-shadow:0 0 0 3px rgba(117,101,246,.09) !important;
}
.auth-input::placeholder{
  opacity:.52;
}
.auth-input-wrap>i:first-child{
  position:absolute;
  left:15px !important;
  top:50%;
  transform:translateY(-50%);
  z-index:2;
  pointer-events:none;
  transition:color .18s ease;
}
.auth-input-wrap:focus-within>i:first-child{
  color:#7565f6;
}

/* Validation/helper text never pushes controls awkwardly */
.auth-hint,
.auth-error,
.auth-success{
  margin-top:4px !important;
  line-height:1.4 !important;
  min-height:0 !important;
}
.auth-row{
  margin-top:2px !important;
  margin-bottom:2px !important;
  gap:10px;
}
.auth-submit{
  width:100%;
  height:50px !important;
  margin-top:3px !important;
  border:0 !important;
  border-radius:14px !important;
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease !important;
}
.auth-submit:hover{
  transform:translateY(-1px);
  filter:saturate(1.04);
}
.auth-submit:active{
  transform:translateY(0);
}
.auth-google{
  width:100%;
  height:50px !important;
  border-radius:14px !important;
  transition:transform .18s ease,border-color .18s ease,background .18s ease !important;
}
.auth-google:hover{
  transform:translateY(-1px);
  border-color:color-mix(in srgb,#7565f6 28%,var(--line));
}
.auth-divider{
  width:100%;
  margin:1px 0 !important;
}
.auth-bottom{
  margin-top:17px !important;
  min-height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:3px;
}
.auth-terms{
  margin-top:9px !important;
}
.auth-back{
  margin-top:13px !important;
}

/* Prevent long pages from being clipped by viewport-height assumptions. */
@media(min-width:901px){
  .auth-main{
    align-items:flex-start;
    padding-top:36px !important;
  }
  .auth-wrap{
    margin-top:0 !important;
  }
}

@media(max-width:900px){
  .auth-page{
    padding-top:60px !important;
  }
  .auth-main{
    min-height:calc(100svh - 60px) !important;
    padding:24px 16px 44px !important;
    align-items:flex-start;
  }
  .auth-intro{
    margin-bottom:0;
  }
  .auth-card{
    padding-top:28px !important;
  }
}

@media(max-width:620px){
  .auth-page{
    padding-top:58px !important;
  }
  .auth-main{
    min-height:calc(100svh - 58px) !important;
    padding:18px 12px 36px !important;
  }
  .auth-card{
    padding:25px 17px 22px !important;
  }
  .auth-head{
    margin-bottom:19px !important;
  }
  .auth-form{
    gap:12px !important;
  }
  .auth-input-wrap,
  .auth-input{
    height:49px !important;
  }
  .auth-submit,
  .auth-google{
    height:49px !important;
  }
}

/* Respect reduced-motion preferences. */
@media(prefers-reduced-motion:reduce){
  .auth-input,
  .auth-submit,
  .auth-google{
    transition:none !important;
  }
}

/* Dark mode: keep focus subtle rather than glowing too strongly. */
html[data-theme="dark"] .auth-input{
  border-color:rgba(255,255,255,.10) !important;
}
html[data-theme="dark"] .auth-input:focus{
  border-color:#8174ff !important;
  box-shadow:0 0 0 3px rgba(129,116,255,.12) !important;
}

/* SHOWLINK UNIFIED UI — embedded in this page's existing stylesheet.
   Keeps the admin panel's clean indigo/blue design without adding another CSS file. */
:root{
  --sl-bg:#f6f8fc;--sl-bg-2:#eef2f8;--sl-surface:#fff;--sl-surface-strong:#fff;
  --sl-surface-soft:#f8fafc;--sl-text:#172033;--sl-muted:#64748b;
  --sl-border:#e2e8f0;--sl-border-strong:#c7d2fe;--sl-primary:#4f46e5;
  --sl-primary-2:#2563eb;--sl-gradient:linear-gradient(135deg,#4f46e5,#2563eb);
  --sl-shadow:0 12px 32px rgba(15,23,42,.07);--sl-shadow-sm:0 3px 12px rgba(15,23,42,.045);
}
html[data-theme="dark"]{
  --sl-bg:#0b1220;--sl-bg-2:#111c2e;--sl-surface:#111c2e;--sl-surface-strong:#162237;
  --sl-surface-soft:#172338;--sl-text:#f1f5f9;--sl-muted:#a8b4c7;
  --sl-border:#2a3850;--sl-border-strong:#5967b7;--sl-shadow:0 12px 32px rgba(0,0,0,.18);
  --sl-shadow-sm:0 3px 12px rgba(0,0,0,.12);
}
body.app-page,body.dashboard-page,body.auth-page,body.index-page,body.payment-link-public-page-body{
  background:var(--sl-bg);color:var(--sl-text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
body.app-page *,body.dashboard-page *,body.auth-page *,body.index-page *,body.payment-link-public-page-body *{box-sizing:border-box}
.app-wrap{width:min(1120px,calc(100% - 32px));margin:0 auto;padding:118px 0 56px}
.app-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:24px}
.app-kicker{display:inline-flex;align-items:center;gap:8px;color:var(--sl-primary);font-size:11px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.app-hero h1,main h1{color:var(--sl-text);font-weight:850;letter-spacing:-.035em}
.app-hero h1{margin:8px 0 6px;font-size:clamp(28px,4vw,42px)}
.app-hero p{max-width:720px;margin:0;color:var(--sl-muted);line-height:1.7}
.app-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.app-card,.app-stat,.card,.panel,.section-card,.metric-card,.stat-card,.feature-card,.content-card,.content-panel,.form-card,.form-panel,.settings-card,.profile-card,.payment-card,.link-card,.table-card,.auth-card,.login-card,.register-card,.dashboard-card,.dash-card,.withdraw-card,.notification-card,.payment-box{
  background:var(--sl-surface)!important;color:var(--sl-text);border:1px solid var(--sl-border)!important;border-radius:18px;box-shadow:var(--sl-shadow-sm);backdrop-filter:none;-webkit-backdrop-filter:none;
}
.app-card{padding:24px}.app-card h2,.card h2,.panel h2{color:var(--sl-text);font-size:19px;font-weight:800;letter-spacing:-.02em}
.app-card p,.card p,.panel p{color:var(--sl-muted);line-height:1.7}
.app-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}
.app-stat{padding:18px}.app-stat span{display:block;color:var(--sl-muted);font-size:12px;font-weight:700}.app-stat strong{display:block;margin-top:7px;color:var(--sl-text);font-size:clamp(19px,2vw,25px);font-weight:850;overflow-wrap:anywhere}
.app-btn,button.btn-primary,button.primary-btn,.btn-primary,.button-primary,.action-primary{min-height:42px;border-radius:11px;font-weight:800;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.app-btn.primary,.btn-primary,.button-primary,.primary-btn,.action-primary{background:var(--sl-gradient)!important;border-color:transparent!important;color:#fff!important;box-shadow:0 7px 18px rgba(79,70,229,.18)}
.app-btn.primary:hover,.btn-primary:hover,.button-primary:hover,.primary-btn:hover,.action-primary:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(79,70,229,.25)}
.app-btn.secondary{background:var(--sl-surface-soft);border:1px solid var(--sl-border);color:var(--sl-text)}
.app-form,.settings-form,.account-form{gap:15px}
main input:not([type=checkbox]):not([type=radio]),main select,main textarea,main .form-control,main .form-input{
  width:100%;max-width:100%;min-height:42px;border:1px solid var(--sl-border)!important;border-radius:11px;background:var(--sl-surface-strong)!important;color:var(--sl-text)!important;padding:11px 13px;box-shadow:none!important;outline:none;
}
main input:focus,main select:focus,main textarea:focus{border-color:var(--sl-primary)!important;box-shadow:0 0 0 3px rgba(79,70,229,.12)!important}
main label{color:var(--sl-text);font-size:13px;font-weight:750}
.app-table{width:100%;border-collapse:collapse}.app-table th,.app-table td{padding:14px 12px;border-bottom:1px solid var(--sl-border);text-align:left;font-size:13px;color:var(--sl-text)}
.app-table th{color:var(--sl-muted);font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.06em;background:var(--sl-surface-soft)}
.app-table tr:hover td{background:rgba(79,70,229,.025)}
.app-empty{padding:30px;text-align:center;color:var(--sl-muted)}
.app-message,.settings-alert{border:1px solid var(--sl-border);border-radius:12px;background:var(--sl-surface-soft);color:var(--sl-text);padding:12px 14px}
.status,.badge,.pill{border-radius:999px;font-weight:800}
html[data-theme="dark"] .app-card,html[data-theme="dark"] .app-stat,html[data-theme="dark"] .card,html[data-theme="dark"] .panel,html[data-theme="dark"] .section-card,html[data-theme="dark"] .metric-card,html[data-theme="dark"] .stat-card,html[data-theme="dark"] .feature-card,html[data-theme="dark"] .content-card,html[data-theme="dark"] .form-card,html[data-theme="dark"] .form-panel,html[data-theme="dark"] .settings-card,html[data-theme="dark"] .profile-card,html[data-theme="dark"] .payment-card,html[data-theme="dark"] .link-card,html[data-theme="dark"] .auth-card,html[data-theme="dark"] .dashboard-card,html[data-theme="dark"] .dash-card,html[data-theme="dark"] .withdraw-card{background:var(--sl-surface)!important;color:var(--sl-text)}
@media(max-width:850px){.app-wrap{width:min(100% - 24px,1120px);padding:100px 0 36px}.app-grid,.app-row{grid-template-columns:1fr}.app-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.app-hero{align-items:flex-start;flex-direction:column}.app-card{padding:18px}.app-table{min-width:650px}.page-scroll-table{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}}
@media(max-width:420px){.app-wrap{width:calc(100% - 20px)}.app-stats{gap:10px}.app-stat{padding:13px}.app-stat strong{font-size:19px}.app-card{border-radius:15px}}



/* Auth page adjustments merged into the existing login.css; no extra stylesheet. */

/* ============================================================
   SHOWLINK AUTH — Login / Register
   Uses the same theme variables as the shared ShowLink system.
   ============================================================ */
.auth-page{min-height:100vh;background:var(--bg);color:var(--text);display:flex;flex-direction:column}
.auth-main{flex:1;display:grid;place-items:center;padding:58px 0 80px;position:relative;overflow:hidden}
.auth-main::before,.auth-main::after{content:"";position:absolute;border-radius:999px;filter:blur(4px);pointer-events:none;opacity:.55}
.auth-main::before{width:360px;height:360px;background:rgba(124,92,246,.20);left:-160px;top:-120px}
.auth-main::after{width:320px;height:320px;background:rgba(236,72,153,.14);right:-130px;bottom:-110px}
.auth-wrap{width:min(100%,1040px);display:grid;grid-template-columns:.88fr 1.12fr;gap:28px;align-items:stretch;position:relative;z-index:1}
.auth-intro{border-radius:30px;padding:42px;color:#fff;background:linear-gradient(145deg,#5d4be7 0%,#7c3aed 52%,#ec4899 100%);box-shadow:0 30px 80px rgba(79,61,180,.22);display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;position:relative}
.auth-intro::after{content:"";position:absolute;width:260px;height:260px;border:1px solid rgba(255,255,255,.18);border-radius:50%;right:-110px;bottom:-90px}
.auth-intro-top{position:relative;z-index:1}
.auth-brand{display:inline-flex;align-items:center;gap:10px;font-weight:900;font-size:20px}
.auth-brand .brand-mark{width:40px;height:40px}
.auth-kicker{display:inline-flex;align-items:center;gap:8px;margin-top:55px;font-size:10px;font-weight:900;letter-spacing:.14em;color:rgba(255,255,255,.76)}
.auth-intro h1{font-size:clamp(30px,4vw,47px);line-height:1.05;letter-spacing:-2px;margin:14px 0}
.auth-intro p{font-size:13px;line-height:1.75;color:rgba(255,255,255,.78);max-width:390px;margin:0}
.auth-points{display:grid;gap:12px;margin-top:30px}
.auth-point{display:flex;gap:11px;align-items:flex-start;font-size:11px;color:rgba(255,255,255,.86)}
.auth-point i{width:26px;height:26px;border-radius:9px;display:grid;place-items:center;background:rgba(255,255,255,.13);flex:none}
.auth-art{position:relative;height:150px;margin-top:30px}
.auth-art-card{position:absolute;border-radius:16px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);backdrop-filter:blur(10px);padding:14px}
.auth-art-card.main{width:230px;left:10px;bottom:0;transform:rotate(-4deg)}
.auth-art-card.small{width:145px;right:5px;top:12px;transform:rotate(6deg)}
.auth-art-line{height:7px;border-radius:99px;background:rgba(255,255,255,.22);margin:8px 0}
.auth-art-line.short{width:58%}.auth-art-line.long{width:88%}
.auth-art-icon{width:34px;height:34px;border-radius:10px;background:rgba(255,255,255,.14);display:grid;place-items:center;margin-bottom:10px}
.auth-card{background:var(--surface);border:1px solid var(--line);border-radius:30px;padding:38px;box-shadow:0 25px 70px rgba(30,25,70,.10)}
.auth-head{text-align:center;margin-bottom:26px}
.auth-head .auth-icon{width:54px;height:54px;border-radius:17px;display:grid;place-items:center;margin:0 auto 15px;color:#fff;background:linear-gradient(135deg,#a855f7,#ec4899);box-shadow:0 12px 25px rgba(109,93,252,.20)}
.auth-head h2{font-size:28px;line-height:1.1;letter-spacing:-1px;margin:0 0 7px}
.auth-head p{font-size:12px;color:var(--muted);margin:0}
.auth-form{display:grid;gap:16px}
.auth-field{display:grid;gap:7px}
.auth-field label{font-size:11px;font-weight:800;color:var(--text)}
.auth-input-wrap{position:relative}
.auth-input{width:100%;height:48px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--text);outline:none;padding:0 44px 0 43px;font:inherit;font-size:12px;transition:.2s}
.auth-input::placeholder{color:#9aa2b3}
.auth-input:focus{border-color:#8b7cff;box-shadow:0 0 0 4px rgba(79,70,229,.07)}
.auth-input-wrap>i:first-child{position:absolute;left:15px;top:50%;transform:translateY(-50%);color:#8991a5;font-size:13px;pointer-events:none}
.auth-password-toggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:34px;height:34px;border:0;border-radius:10px;background:transparent;color:#858da1;cursor:pointer}
.auth-password-toggle:hover{background:var(--surface-2);color:var(--primary)}
.auth-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.auth-check{display:flex;align-items:center;gap:8px;font-size:10px;color:var(--muted);cursor:pointer}
.auth-check input{accent-color:#a855f7}
.auth-link{color:#a855f7;font-size:10px;font-weight:800}
.auth-link:hover{text-decoration:underline}
.auth-submit{height:49px;border:0;border-radius:14px;color:#fff;background:linear-gradient(135deg,#ec4899,#a855f7 35%,#3b82f6 70%,#06b6d4);font-size:12px;font-weight:900;cursor:pointer;box-shadow:0 14px 28px rgba(109,93,252,.20);transition:.2s}
.auth-submit:hover{transform:translateY(-1px);box-shadow:0 17px 32px rgba(109,93,252,.26)}
.auth-divider{display:flex;align-items:center;gap:10px;color:#9299aa;font-size:9px;margin:1px 0}
.auth-divider::before,.auth-divider::after{content:"";height:1px;background:var(--line);flex:1}
.auth-google:hover{background:var(--surface-2)}
.auth-bottom{text-align:center;margin-top:20px;font-size:10px;color:var(--muted)}
.auth-terms{text-align:center;color:#9198aa;font-size:9px;line-height:1.6;margin:2px 0 0}
.auth-alert{display:none;border:1px solid #fecaca;background:#fff1f2;color:#be123c;border-radius:12px;padding:10px 12px;font-size:10px;line-height:1.5}
.auth-alert.is-visible{display:block}
.auth-success{border-color:#bbf7d0;background:#f0fdf4;color:#15803d}
.auth-hint{font-size:9px;color:var(--muted);margin-top:-2px}
.auth-strength{height:4px;background:var(--line);border-radius:99px;overflow:hidden;margin-top:-2px}
.auth-strength span{display:block;height:100%;width:0;border-radius:inherit;background:#a855f7;transition:.2s}
.auth-back{display:inline-flex;align-items:center;gap:7px;margin-top:20px;color:var(--muted);font-size:10px;font-weight:800}
.auth-back:hover{color:var(--primary)}
html[data-theme="dark"] .auth-card{box-shadow:0 30px 80px rgba(0,0,0,.28)}
html[data-theme="dark"] .auth-input,
html[data-theme="dark"] html[data-theme="dark"] .auth-alert{background:#321621;border-color:#6b2638;color:#fda4af}
html[data-theme="dark"] .auth-success{background:#102a22;border-color:#1d5b48;color:#86efac}
@media(max-width:820px){
  .auth-main{padding:35px 0 55px}
  .auth-wrap{grid-template-columns:1fr;max-width:570px}
  .auth-intro{display:none}
  .auth-card{padding:28px 22px;border-radius:24px}
}
@media(max-width:480px){
  .auth-main{padding:22px 0 40px}
  .auth-card{padding:24px 17px}
  .auth-head h2{font-size:25px}
  .auth-row{align-items:flex-start}
}


.auth-submit:disabled{opacity:.65;cursor:not-allowed;transform:none!important}

/* Auth UX update: Google OAuth + clearer Login/Register switch */
.auth-google{width:100%;height:49px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--text);font-size:12px;font-weight:800;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:9px;transition:.2s}
.auth-google i{font-size:15px}
.auth-google:hover{background:var(--surface-2);transform:translateY(-1px)}
.auth-bottom{margin-top:24px;font-size:14px;font-weight:700;color:var(--text);padding:14px 12px;border-radius:14px;background:var(--surface-2)}
.auth-bottom .auth-link{font-size:14px;font-weight:900;margin-left:5px}
@media(max-width:480px){.auth-bottom,.auth-bottom .auth-link{font-size:14px}}

/* Auth success receipt + clearer account switch links */
.auth-receipt-backdrop{position:fixed;inset:0;z-index:9999;background:rgba(9,8,20,.66);backdrop-filter:blur(8px);display:grid;place-items:center;padding:18px}
.auth-receipt-card{width:min(100%,430px);background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:26px;padding:28px;box-shadow:0 30px 90px rgba(0,0,0,.28);text-align:center}
.auth-receipt-icon{width:62px;height:62px;border-radius:20px;display:grid;place-items:center;margin:0 auto 12px;background:#dcfce7;color:#16a34a;font-size:27px}
.auth-receipt-card h3{font-size:24px;margin:0 0 6px}.auth-receipt-note{font-size:12px;color:var(--muted);margin:0 0 18px}
.auth-receipt-row{display:flex;justify-content:space-between;gap:15px;padding:11px 0;border-bottom:1px solid var(--line);font-size:12px;text-align:left}.auth-receipt-row span{color:var(--muted)}.auth-receipt-row strong{max-width:62%;overflow:hidden;text-overflow:ellipsis}
.auth-receipt-safe{font-size:10px;color:var(--muted);margin:13px 0}.auth-receipt-actions{display:grid;gap:9px;margin-top:16px}
.auth-secondary{height:45px;border:1px solid var(--line);border-radius:13px;background:var(--surface);color:var(--text);font-weight:800;cursor:pointer}
.auth-bottom{font-size:16px!important;font-weight:800!important}.auth-bottom .auth-link{font-size:16px!important;font-weight:950!important}
@media(max-width:480px){.auth-bottom,.auth-bottom .auth-link{font-size:16px!important}}

.auth-recent-users{display:flex;flex-wrap:wrap;gap:7px;margin-top:2px}.auth-user-chip{border:1px solid var(--line);background:var(--surface-2);color:var(--text);border-radius:10px;padding:7px 10px;font-size:10px;font-weight:800;cursor:pointer}.auth-user-chip:hover{border-color:#8b7cff}

/* Registration success receipt: password is shown only in the local, one-time success card. */
.auth-receipt-password strong{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;word-break:break-all;white-space:normal;color:var(--text)}
.auth-receipt-safe{line-height:1.55}


/* =========================================================
   SHOWLINK LUXURY PAGE POLISH
   ========================================================= */
:root{
  --sl-luxury-shadow:0 24px 70px rgba(36,28,86,.10);
  --sl-luxury-shadow-hover:0 30px 85px rgba(36,28,86,.16);
}
body{
  background:
    radial-gradient(circle at 8% 4%,rgba(109,93,252,.08),transparent 27%),
    radial-gradient(circle at 92% 12%,rgba(236,72,153,.065),transparent 25%),
    radial-gradient(circle at 50% 100%,rgba(59,130,246,.055),transparent 30%),
    var(--bg);
}
html[data-theme="dark"] body{
  background:
    radial-gradient(circle at 8% 4%,rgba(79,70,229,.08),transparent 27%),
    radial-gradient(circle at 92% 12%,rgba(236,72,153,.08),transparent 25%),
    radial-gradient(circle at 50% 100%,rgba(59,130,246,.07),transparent 30%),
    var(--bg);
}
.sl-main-card,.sl-card,.dash-card,.dash-stat,.dash-action{
  position:relative;
  overflow:hidden;
  box-shadow:var(--sl-luxury-shadow);
  border-color:rgba(120,113,180,.13);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.sl-main-card:hover,.sl-card:hover,.dash-card:hover,.dash-stat:hover,.dash-action:hover{
  transform:translateY(-3px);
  box-shadow:var(--sl-luxury-shadow-hover);
  border-color:rgba(109,93,252,.22);
}
.sl-main-card::before,.sl-card::before,.dash-card::before,.dash-stat::before{
  content:"";
  position:absolute;left:0;right:0;top:0;height:2px;
  background:linear-gradient(90deg,#3b82f6,#a855f7,#7c3aed,#ec4899,#f59e0b);
  opacity:.7;
}
.sl-placeholder>i{
  background:linear-gradient(135deg,rgba(59,130,246,.13),rgba(139,92,246,.14),rgba(236,72,153,.11));
  border:1px solid rgba(109,93,252,.13);
  box-shadow:0 12px 30px rgba(79,70,229,.07);
  color:#a855f7;
}
.sl-main-kicker i,.sl-kicker i,.dash-kicker i{color:#7c3aed}
.dash-stat:nth-child(1)>i{color:#3b82f6}
.dash-stat:nth-child(2)>i{color:#7c3aed}
.dash-stat:nth-child(3)>i{color:#ec4899}
.dash-big-icon{color:#f59e0b!important}
.dash-action:nth-child(1)>i:first-child{color:#10b981}
.dash-action:nth-child(2)>i:first-child{color:#f59e0b}
.settings-row i{color:#7c3aed}
.dash-avatar{
  background:linear-gradient(135deg,#a855f7,#ec4899)!important;
  box-shadow:0 10px 28px rgba(109,93,252,.24);
}


/* ============================================================
   SHOWLINK AUTH — UNIFIED LOGIN / REGISTER SYSTEM
   Final visual layer: same shell, spacing, controls and CTA.
   ============================================================ */
.auth-page{
  min-height:100svh;
  background:
    radial-gradient(900px 500px at 5% 0%,rgba(79,70,229,.07),transparent 62%),
    radial-gradient(800px 460px at 100% 20%,rgba(236,72,153,.08),transparent 60%),
    var(--bg);
}
.auth-main{
  min-height:calc(100svh - 64px);
  padding:44px 20px 64px;
}
.auth-wrap{
  width:min(100%,1080px);
  grid-template-columns:minmax(0,.92fr) minmax(420px,1.08fr);
  gap:22px;
  align-items:stretch;
}
.auth-intro,
.auth-card{
  min-height:650px;
}
.auth-intro{
  border-radius:28px;
  padding:38px;
  background:
    radial-gradient(500px 280px at 15% 5%,rgba(255,255,255,.14),transparent 65%),
    linear-gradient(145deg,#4f46e5 0%,#6d5dfc 48%,#c026d3 100%);
  box-shadow:0 28px 80px rgba(79,61,180,.20);
}
.auth-brand{
  color:#fff;
  text-decoration:none;
}
.auth-brand .brand-mark{
  width:40px;height:40px;border-radius:13px;
  display:grid;place-items:center;
  background:rgba(255,255,255,.15);
  border:1px solid rgba(255,255,255,.18);
}
.auth-kicker{
  margin-top:48px;
  padding:8px 11px;
  border-radius:999px;
  width:max-content;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.13);
}
.auth-intro h1{
  max-width:470px;
  margin:17px 0 12px;
}
.auth-points{gap:10px;margin-top:27px}
.auth-point{
  min-height:43px;
  align-items:center;
  padding:8px 10px;
  border-radius:13px;
  background:rgba(255,255,255,.075);
  border:1px solid rgba(255,255,255,.10);
}
.auth-point i{
  width:28px;height:28px;border-radius:9px;
  background:rgba(255,255,255,.14);
}
.auth-art{height:165px;margin-top:25px}
.auth-art-card{box-shadow:0 18px 40px rgba(28,20,90,.12)}

.auth-card{
  box-sizing:border-box;
  border-radius:28px;
  padding:38px 40px 32px;
  background:color-mix(in srgb,var(--surface) 96%,transparent);
  border:1px solid color-mix(in srgb,var(--line) 88%,transparent);
  box-shadow:0 28px 80px rgba(30,25,70,.11);
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.auth-head{
  margin-bottom:25px;
}
.auth-head .auth-icon{
  width:58px;height:58px;
  border-radius:18px;
  margin-bottom:14px;
  background:linear-gradient(135deg,#6d5dfc,#a855f7 55%,#ec4899);
  box-shadow:0 14px 30px rgba(109,93,252,.22);
}
.auth-head h2{
  font-size:30px;
  letter-spacing:-1.2px;
}
.auth-head p{
  font-size:12px;
  line-height:1.55;
}
.auth-form{gap:15px}
.auth-field{gap:7px}
.auth-field label{
  font-size:11px;
  letter-spacing:.01em;
}
.auth-input-wrap{height:50px}
.auth-input{
  box-sizing:border-box;
  height:50px;
  border-radius:14px;
  background:var(--surface-2);
  border-color:color-mix(in srgb,var(--line) 88%,transparent);
  padding-left:44px;
  font-size:12px;
}
.auth-input:focus{
  background:var(--surface);
  border-color:#7c6cff;
  box-shadow:0 0 0 4px rgba(109,93,252,.09),0 8px 22px rgba(79,70,229,.06);
}
.auth-input-wrap>i:first-child{left:15px}
.auth-password-toggle{
  width:34px;height:34px;right:8px;
}
.auth-row{
  min-height:28px;
}
.auth-check{
  font-size:10px;
  line-height:1.45;
}
.auth-link{
  color:#765cff;
}
.auth-submit,
.auth-google{
  height:50px;
  border-radius:14px;
}
.auth-submit{
  background:linear-gradient(135deg,#5b4ff0,#7c5cff 48%,#c04be7 100%);
  box-shadow:0 13px 28px rgba(109,93,252,.22);
  font-size:12px;
}
.auth-google{
  background:var(--surface-2);
  border-color:var(--line);
}
.auth-divider{
  margin:0;
  min-height:17px;
}
.auth-bottom{
  box-sizing:border-box;
  width:100%;
  margin-top:20px;
  padding:13px 14px;
  border:1px solid var(--line);
  background:var(--surface-2);
  border-radius:13px;
  text-align:center;
  font-size:12px!important;
  font-weight:700!important;
}
.auth-bottom .auth-link{
  font-size:12px!important;
  margin-left:4px;
}
.auth-terms{
  max-width:430px;
  align-self:center;
  font-size:9px;
  line-height:1.65;
  margin-top:11px;
}
.auth-back{
  align-self:center;
  margin-top:16px;
  font-size:10px;
  text-decoration:none;
}
.auth-hint{font-size:9px;line-height:1.45}
.auth-strength{height:4px;margin-top:-1px}

html[data-theme="dark"] .auth-card{
  background:rgba(20,19,32,.90);
  box-shadow:0 30px 90px rgba(0,0,0,.34);
}
html[data-theme="dark"] .auth-input{
  background:rgba(255,255,255,.035);
}
html[data-theme="dark"] .auth-input:focus{
  background:rgba(255,255,255,.055);
}
html[data-theme="dark"] .auth-google,
html[data-theme="dark"] .auth-bottom{
  background:rgba(255,255,255,.035);
}

@media(max-width:900px){
  .auth-wrap{
    max-width:620px;
    grid-template-columns:1fr;
  }
  .auth-intro{
    display:block;
    min-height:0;
    padding:28px;
  }
  .auth-intro .auth-art{display:none}
  .auth-kicker{margin-top:25px}
  .auth-intro h1{font-size:34px}
  .auth-points{
    grid-template-columns:repeat(3,minmax(0,1fr));
    margin-top:20px;
  }
  .auth-point{
    min-height:72px;
    flex-direction:column;
    justify-content:center;
    text-align:center;
    padding:9px 6px;
    font-size:10px;
  }
  .auth-card{
    min-height:0;
  }
}
@media(max-width:620px){
  .auth-main{
    padding:24px 14px 42px;
  }
  .auth-wrap{
    gap:14px;
  }
  .auth-intro{
    padding:23px 20px;
    border-radius:22px;
  }
  .auth-intro h1{
    font-size:29px;
    letter-spacing:-1.3px;
  }
  .auth-intro p{
    font-size:12px;
  }
  .auth-points{
    display:grid;
    grid-template-columns:1fr;
    gap:7px;
  }
  .auth-point{
    min-height:0;
    flex-direction:row;
    text-align:left;
    justify-content:flex-start;
    padding:8px 9px;
  }
  .auth-card{
    padding:27px 18px 24px;
    border-radius:22px;
  }
  .auth-head h2{font-size:27px}
  .auth-form{gap:14px}
}


/* ============================================================
   AUTH FINAL POLISH — NAVBAR SAFE + SMOOTH FORMS
   ============================================================ */

/* The global navbar is fixed; auth content must always start below it. */
.auth-page{
  padding-top:64px !important;
  box-sizing:border-box;
  overflow-x:hidden;
}
.auth-main{
  min-height:calc(100svh - 64px) !important;
  height:auto !important;
  box-sizing:border-box;
  padding:38px 20px 60px !important;
  display:flex;
  align-items:center;
  justify-content:center;
}
.auth-wrap{
  margin:0 auto !important;
  position:relative;
  z-index:1;
}

/* Keep the auth shell visually calm and prevent accidental overlap. */
.auth-intro,
.auth-card{
  position:relative;
  z-index:1;
  overflow:hidden;
}

/* Cleaner form rhythm */
.auth-card{
  justify-content:flex-start !important;
  padding-top:34px !important;
  padding-bottom:30px !important;
}
.auth-head{
  margin-bottom:22px !important;
}
.auth-head .auth-icon{
  width:54px;
  height:54px;
  margin-bottom:13px;
  border-radius:16px;
}
.auth-head h2{
  margin:0 0 7px !important;
  line-height:1.12;
}
.auth-head p{
  margin:0 !important;
}
.auth-form{
  width:100%;
  gap:13px !important;
}
.auth-field{
  width:100%;
  gap:6px !important;
}
.auth-field label{
  display:block;
  margin:0 0 1px !important;
}
.auth-input-wrap{
  width:100%;
  height:50px !important;
  position:relative;
}
.auth-input{
  box-sizing:border-box !important;
  width:100% !important;
  min-width:0 !important;
  height:50px !important;
  padding:0 44px 0 44px !important;
  border:1px solid color-mix(in srgb,var(--line) 82%,transparent) !important;
  border-radius:14px !important;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease,transform .18s ease !important;
}
.auth-input:hover{
  border-color:color-mix(in srgb,#7c6cff 28%,var(--line)) !important;
}
.auth-input:focus{
  outline:none !important;
  transform:translateY(-1px);
  border-color:#7565f6 !important;
  box-shadow:0 0 0 3px rgba(117,101,246,.09) !important;
}
.auth-input::placeholder{
  opacity:.52;
}
.auth-input-wrap>i:first-child{
  position:absolute;
  left:15px !important;
  top:50%;
  transform:translateY(-50%);
  z-index:2;
  pointer-events:none;
  transition:color .18s ease;
}
.auth-input-wrap:focus-within>i:first-child{
  color:#7565f6;
}

/* Validation/helper text never pushes controls awkwardly */
.auth-hint,
.auth-error,
.auth-success{
  margin-top:4px !important;
  line-height:1.4 !important;
  min-height:0 !important;
}
.auth-row{
  margin-top:2px !important;
  margin-bottom:2px !important;
  gap:10px;
}
.auth-submit{
  width:100%;
  height:50px !important;
  margin-top:3px !important;
  border:0 !important;
  border-radius:14px !important;
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease !important;
}
.auth-submit:hover{
  transform:translateY(-1px);
  filter:saturate(1.04);
}
.auth-submit:active{
  transform:translateY(0);
}
.auth-google{
  width:100%;
  height:50px !important;
  border-radius:14px !important;
  transition:transform .18s ease,border-color .18s ease,background .18s ease !important;
}
.auth-google:hover{
  transform:translateY(-1px);
  border-color:color-mix(in srgb,#7565f6 28%,var(--line));
}
.auth-divider{
  width:100%;
  margin:1px 0 !important;
}
.auth-bottom{
  margin-top:17px !important;
  min-height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:3px;
}
.auth-terms{
  margin-top:9px !important;
}
.auth-back{
  margin-top:13px !important;
}

/* Prevent long pages from being clipped by viewport-height assumptions. */
@media(min-width:901px){
  .auth-main{
    align-items:flex-start;
    padding-top:36px !important;
  }
  .auth-wrap{
    margin-top:0 !important;
  }
}

@media(max-width:900px){
  .auth-page{
    padding-top:60px !important;
  }
  .auth-main{
    min-height:calc(100svh - 60px) !important;
    padding:24px 16px 44px !important;
    align-items:flex-start;
  }
  .auth-intro{
    margin-bottom:0;
  }
  .auth-card{
    padding-top:28px !important;
  }
}

@media(max-width:620px){
  .auth-page{
    padding-top:58px !important;
  }
  .auth-main{
    min-height:calc(100svh - 58px) !important;
    padding:18px 12px 36px !important;
  }
  .auth-card{
    padding:25px 17px 22px !important;
  }
  .auth-head{
    margin-bottom:19px !important;
  }
  .auth-form{
    gap:12px !important;
  }
  .auth-input-wrap,
  .auth-input{
    height:49px !important;
  }
  .auth-submit,
  .auth-google{
    height:49px !important;
  }
}

/* Respect reduced-motion preferences. */
@media(prefers-reduced-motion:reduce){
  .auth-input,
  .auth-submit,
  .auth-google{
    transition:none !important;
  }
}

/* Dark mode: keep focus subtle rather than glowing too strongly. */
html[data-theme="dark"] .auth-input{
  border-color:rgba(255,255,255,.10) !important;
}
html[data-theme="dark"] .auth-input:focus{
  border-color:#8174ff !important;
  box-shadow:0 0 0 3px rgba(129,116,255,.12) !important;
}

/* Floating feedback and redirect loader shared by login/register. */
.sl-auth-toast{position:fixed;z-index:10050;top:calc(env(safe-area-inset-top,0px) + 88px);left:50%;width:min( calc(100% - 28px), 420px);display:flex;align-items:center;gap:11px;padding:14px 16px;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--text);box-shadow:0 18px 50px rgba(20,20,50,.2);font-size:13px;font-weight:700;opacity:0;pointer-events:none;transform:translate(-50%,-12px);transition:opacity .22s ease,transform .22s ease}.sl-auth-toast.is-visible{opacity:1;transform:translate(-50%,0)}.sl-auth-toast>i{font-size:19px;color:#ef4444}.sl-auth-toast.success>i{color:#16a34a}.sl-auth-toast span{min-width:0;overflow-wrap:anywhere}.sl-auth-loading{position:fixed;inset:0;z-index:10040;display:grid;place-items:center;padding:20px;background:rgba(12,15,32,.46);backdrop-filter:blur(8px);opacity:0;visibility:hidden;transition:.2s}.sl-auth-loading.is-visible{opacity:1;visibility:visible}.sl-auth-loading-card{display:grid;justify-items:center;gap:12px;min-width:210px;padding:28px 34px;border:1px solid var(--line);border-radius:22px;background:var(--surface);color:var(--text);box-shadow:0 24px 70px rgba(0,0,0,.2)}.sl-auth-loading-card strong{font-size:14px}.sl-auth-loading-card small{font-size:11px;color:var(--muted);letter-spacing:.12em}.sl-auth-spinner{width:35px;height:35px;border:3px solid var(--line);border-top-color:var(--primary,#7c3aed);border-radius:50%;animation:sl-auth-spin .7s linear infinite}@keyframes sl-auth-spin{to{transform:rotate(360deg)}}
.auth-page .auth-main{padding-top:calc(58px + var(--navbar-height,72px));}
@media(max-width:820px){.auth-page .auth-main{padding-top:calc(35px + var(--navbar-height,72px))}}
@media(max-width:480px){.auth-page .auth-main{padding-top:calc(22px + var(--navbar-height,72px))}.sl-auth-toast{top:calc(env(safe-area-inset-top,0px) + 76px)}}

/* Auth pages: polished responsive layout and form controls. */
.auth-page .auth-wrap{display:flex;flex-direction:column;align-items:stretch;width:min(100%,560px);max-width:100%;gap:16px;margin-inline:auto}
.auth-page .auth-card{width:100%;max-width:100%;min-width:0;box-sizing:border-box;padding:32px;overflow:hidden}
.auth-page .auth-head{margin:0 0 22px;text-align:center}
.auth-page .auth-head h2{margin:12px 0 7px;line-height:1.15;letter-spacing:-.035em}
.auth-page .auth-head p{margin:0;line-height:1.55}
.auth-page .auth-alert:empty{display:none}
.auth-page .auth-form{display:grid;grid-template-columns:minmax(0,1fr);gap:15px;width:100%;min-width:0}
.auth-page .auth-field{display:grid;gap:7px;min-width:0;width:100%}
.auth-page .auth-field label{font-size:12px;font-weight:750;line-height:1.4}
.auth-page .auth-input-wrap{position:relative;width:100%;min-width:0;height:50px}
.auth-page .auth-input{display:block;width:100%;height:50px;min-width:0;box-sizing:border-box;border-radius:13px;padding:0 45px 0 42px;font-size:14px;line-height:normal}
.auth-page .auth-input-wrap>i:first-child{left:14px;top:50%;transform:translateY(-50%)}
.auth-page .auth-password-toggle{position:absolute;right:5px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:10px;background:transparent;color:var(--muted);cursor:pointer}
.auth-page .auth-password-toggle:hover{background:var(--surface-2);color:var(--text)}
.auth-page .auth-hint{font-size:11px;line-height:1.45;overflow-wrap:anywhere}
.auth-page .auth-strength{width:100%;overflow:hidden;border-radius:99px}
.auth-page .auth-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}
.auth-page .auth-check{display:flex;align-items:flex-start;gap:9px;min-width:0;line-height:1.5}
.auth-page .auth-check input{flex:0 0 auto;margin-top:3px}
.auth-page .auth-check span{min-width:0;overflow-wrap:anywhere}
.auth-page .auth-submit,.auth-page .auth-google{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-width:0;min-height:49px;box-sizing:border-box;border-radius:13px;padding:12px 16px;font-size:13px;font-weight:800;line-height:1.35;white-space:normal;text-align:center}
.auth-page .auth-submit span,.auth-page .auth-google span{min-width:0;overflow-wrap:anywhere}
.auth-page .auth-divider{display:flex;align-items:center;gap:12px;width:100%;margin:0;color:var(--muted);font-size:11px}
.auth-page .auth-bottom{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px;margin-top:18px;text-align:center;font-size:12px;line-height:1.5}
.auth-page .auth-terms{font-size:11px;line-height:1.55;text-align:center;overflow-wrap:anywhere}
.auth-page .auth-back{display:flex;justify-content:center;align-items:center;gap:7px;line-height:1.5}
.auth-info-bottom{width:100%;box-sizing:border-box;padding:20px 22px 22px;border:1px solid var(--line);border-radius:22px;background:var(--surface-2);color:var(--text);text-align:left}
.auth-info-brand{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.auth-info-logo{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,#6155f5,#c044e7);color:#fff}
.auth-info-brand strong,.auth-info-brand small{display:block}.auth-info-brand strong{font-size:15px;font-weight:900}.auth-info-brand small{margin-top:2px;color:var(--muted);font-size:9px;letter-spacing:.13em;font-weight:800}
.auth-info-bottom h2{font-size:19px;line-height:1.3;margin:0 0 5px;letter-spacing:-.3px}.auth-info-bottom>p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}
.auth-info-points{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:16px}.auth-info-points span{display:flex;align-items:flex-start;gap:7px;min-width:0;padding:10px;border:1px solid var(--line);border-radius:12px;font-size:11px;line-height:1.45;color:var(--text)}.auth-info-points i{flex:0 0 auto;margin-top:2px;color:#8b70ff}.auth-info-points b{font-weight:700;overflow-wrap:anywhere}
.auth-page .auth-intro{display:none!important}
.auth-recent-accounts{margin:0 0 2px;min-width:0}.auth-recent-accounts>label{display:block;font-size:12px;font-weight:800;color:var(--muted);margin-bottom:9px}.auth-recent-accounts [data-recent-account-list]{display:grid;gap:8px;min-width:0}
.auth-account-chip{display:flex;align-items:center;gap:11px;width:100%;min-width:0;box-sizing:border-box;padding:11px 13px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2);color:var(--text);text-align:left;cursor:pointer}.auth-account-chip .account-avatar{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:12px;background:linear-gradient(135deg,#6155f5,#bd45e7);color:white;font-weight:900}.auth-account-chip .account-name{flex:1;min-width:0;font-size:13px;font-weight:800;overflow-wrap:anywhere}.auth-account-chip .account-email{display:block;color:var(--muted);font-size:11px;font-weight:500;overflow-wrap:anywhere}.auth-account-chip:hover,.auth-account-chip.is-selected{border-color:#8174ff;background:rgba(129,116,255,.10)}
html[data-theme="dark"] .auth-page .auth-input{border-color:rgba(255,255,255,.13)}
@media(max-width:620px){
 .auth-page .auth-wrap{width:100%;gap:12px}
 .auth-page .auth-main{padding-left:12px!important;padding-right:12px!important}
 .auth-page .auth-card{padding:23px 16px 21px!important;border-radius:22px}
 .auth-page .auth-head{margin-bottom:19px}
 .auth-page .auth-head h2{font-size:28px!important}
 .auth-page .auth-head p{font-size:13px!important;line-height:1.55}
 .auth-page .auth-form{gap:13px}
 .auth-page .auth-input,.auth-page .auth-input-wrap{height:49px}
 .auth-page .auth-submit,.auth-page .auth-google{min-height:48px;padding:11px 12px}
 .auth-info-bottom{padding:17px 15px}
 .auth-info-points{grid-template-columns:minmax(0,1fr)}
 .auth-info-points span{font-size:12px}
 .auth-page .auth-field label{font-size:12px}
 .auth-page .auth-terms{font-size:10.5px}
}
@media(max-width:360px){.auth-page .auth-card{padding-inline:13px!important}.auth-page .auth-row{align-items:flex-start}.auth-page .auth-row .auth-link{margin-left:auto}.auth-account-chip{padding:9px}.auth-info-points span{padding:9px}}
@media(prefers-reduced-motion:reduce){.auth-page .auth-input,.auth-page .auth-submit,.auth-page .auth-google{transition:none!important}}

/* Final auth polish: one clean input outline, consistent light/dark surfaces */
.auth-page .auth-field{border:0!important;outline:0!important;box-shadow:none!important;gap:8px!important}
.auth-page .auth-field label{border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;margin:0 0 1px!important}
.auth-page .auth-input-wrap{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;overflow:visible!important}
.auth-page .auth-input{appearance:none;-webkit-appearance:none;border:1px solid var(--line)!important;outline:0!important;box-shadow:none!important;background:var(--surface-2)!important;color:var(--text)!important;border-radius:14px!important;transform:none!important}
.auth-page .auth-input:focus{border-color:#7968f5!important;box-shadow:0 0 0 3px rgba(121,104,245,.14)!important;background:var(--surface)!important}
.auth-page .auth-input-wrap:before,.auth-page .auth-input-wrap:after,.auth-page .auth-field:before,.auth-page .auth-field:after{content:none!important;display:none!important}
.auth-page .auth-card{border:1px solid var(--line);box-shadow:0 18px 54px rgba(25,30,60,.10)}
html[data-theme="light"] .auth-page .auth-card{background:#fff;color:#172033}
html[data-theme="light"] .auth-page .auth-input{background:#f8f9ff!important;color:#172033!important;border-color:#dce1ee!important}
html[data-theme="light"] .auth-page .auth-input::placeholder{color:#7b8498}
html[data-theme="dark"] .auth-page .auth-card{background:#111a2b;color:#eef2ff;border-color:rgba(148,163,184,.22);box-shadow:0 22px 64px rgba(0,0,0,.30)}
html[data-theme="dark"] .auth-page .auth-input{background:#0d1628!important;color:#f1f5ff!important;border-color:#34415b!important}
html[data-theme="dark"] .auth-page .auth-input:focus{background:#111d32!important;border-color:#8878ff!important}
html[data-theme="dark"] .auth-page .auth-field label{color:#e8edfb}
.auth-page .auth-submit{box-shadow:0 9px 24px rgba(109,93,252,.18)}
@media(max-width:620px){.auth-page .auth-card{padding:24px 17px 22px!important}.auth-page .auth-form{gap:16px!important}.auth-page .auth-head p{max-width:34ch;margin-inline:auto!important}}

/* Auth polish: show one floating notification only and make account switch action a proper secondary button. */
.auth-page .auth-alert,
.auth-page .auth-alert.is-visible { display: none !important; }
.auth-page .auth-switch-account {
  display:flex; align-items:center; justify-content:center; gap:8px;
  width:100%; min-height:44px; margin:12px 0 18px; padding:11px 16px;
  box-sizing:border-box; border:1px solid var(--line, #344158);
  border-radius:12px; background:var(--surface-2, rgba(255,255,255,.05));
  color:var(--primary, #8b6cff); font:inherit; font-size:13px; font-weight:700;
  line-height:1.35; text-align:center; cursor:pointer;
  appearance:none; -webkit-appearance:none; box-shadow:none;
  transition:background .18s ease,border-color .18s ease,transform .18s ease;
}
.auth-page .auth-switch-account:hover { border-color:var(--primary, #8b6cff); background:rgba(129,116,255,.10); }
.auth-page .auth-switch-account:active { transform:scale(.99); }
.auth-page .auth-switch-account:focus-visible { outline:2px solid var(--primary, #8b6cff); outline-offset:3px; }
