/* ROS2026 — Static HTML kit
   Shared styles for all standalone HTML pages.
   Lives under assets/css/. Imports the design tokens beside it. */

@import url('./colors_and_type.css');
@import url('./layout.css');

* { box-sizing: border-box; margin: 0; padding: 0; }

html { height: 100%; }
body {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-void);
  color: var(--fg-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}
body > main {
  flex: 1;
}
body > .site-footer {
  flex-shrink: 0;
  margin-top: auto;
}
.login-box{
    color: rgba(0,0,0,.9);
}
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
a:hover{text-decoration: none !important; }
svg { display: inline-block; vertical-align: middle; }

/* ============== BACKGROUND ============== */
.bg-stage { position: fixed; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.bg-art {
  position: absolute; inset: -10% -5%;
  background: url('../reference/existing-register-page.svg') center/cover no-repeat;
  filter: saturate(115%) contrast(105%) blur(2px) brightness(0.9);
  opacity: 0.55; transform: scale(1.05);
  mask-image: radial-gradient(ellipse 75% 95% at 50% 45%, black 0%, black 50%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 75% 95% at 50% 45%, black 0%, black 50%, transparent 95%);
}
.bg-scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 40%, rgba(255,184,28,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 50% 50%, transparent 0%, rgba(7,7,12,0.78) 75%),
    linear-gradient(180deg, rgba(7,7,12,0.55) 0%, rgba(7,7,12,0.85) 60%, rgba(7,7,12,1) 100%);
}
.bg-grain {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.012) 0, rgba(255,255,255,0.012) 1px, transparent 1px, transparent 3px);
  mix-blend-mode: overlay;
}
.bg-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 40%, transparent 40%, rgba(7,7,12,0.55) 100%);
}

/* ============== APP LAYOUT ============== */
.app {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  width: 100%; min-height: 100vh;
}

/* ============== TOP BAR ============== */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 16px;
  padding: 16px 32px;
  background: rgba(7,7,12,0.65);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
/*  border-bottom: 1px solid var(--line-soft);*/
}
.topbar .brand { display: flex; align-items: center; gap: 14px; }
.topbar .brand img { height: 36px; }
.topbar .spacer { flex: 1; }
.topbar .crumbs { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.20em; text-transform: uppercase; color: var(--fg-muted); }
.topbar .crumbs b { color: var(--gold-500); font-weight: 700; }

/* ============== LANG TOGGLE ============== */
.lang-toggle { display: inline-flex; padding: 3px; gap: 3px; background: var(--bg-elevated); border: 1px solid var(--line-default); border-radius: 999px; }
.lang-toggle button { height: 28px; padding: 0 14px; border-radius: 999px; font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-secondary); }
.lang-toggle button.on { background: var(--gold-500); color: var(--fg-on-gold); }

/* ============== STAGE ============== */
.stage {
  flex: 1;
  display: flex; flex-direction: column; align-items: center;
  padding: 40px 24px 80px;
}
.stage-inner { width: 100%; max-width: 900px; display: flex; flex-direction: column; gap: 28px; align-items: stretch; }

/* ============== STEPPER ============== */
.stepper {
  align-self: center; width: 100%; max-width: 720px;
  display: flex; align-items: center;
  padding: 18px 24px;
  background: rgba(22,22,32,0.75);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255,184,28,0.16);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.40);
}
.step { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.step-dot {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.step-dot.done   { background: linear-gradient(180deg,#FFD23F,#FFB81C); color: var(--fg-on-gold); box-shadow: 0 0 0 4px rgba(255,184,28,0.15), 0 4px 12px rgba(255,184,28,0.35); }
.step-dot.active { background: var(--bg-elevated); color: var(--gold-300); border: 1.5px solid var(--gold-500); box-shadow: 0 0 0 4px rgba(255,184,28,0.18), 0 0 24px rgba(255,184,28,0.55); }
.step-dot.todo   { background: transparent; color: var(--fg-muted); border: 1.5px solid var(--line-default); }
.step-label { font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.step-label.done   { color: var(--gold-300); }
.step-label.active { color: var(--gold-500); }
.step-label.todo   { color: var(--fg-muted); }
.step-bar { flex: 0 1 60px; height: 2px; background: var(--line-default); margin: 0 10px; }
.step-bar.done { background: linear-gradient(90deg, var(--gold-500), var(--gold-300)); box-shadow: 0 0 8px rgba(255,184,28,0.30); }

/* ============== PANEL ============== */
.panel {
  align-self: center; width: 100%; max-width: 600px;
  background:
    linear-gradient(180deg, rgba(255,184,28,0.06) 0%, rgba(255,184,28,0) 30%),
    rgba(18,18,26,0.94);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(255,184,28,0.20);
  border-radius: 20px; padding: 36px;
  position: relative; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.50), 0 0 0 1px rgba(255,184,28,0.06), inset 0 1px 0 rgba(255,184,28,0.10);
}
.panel.wide { max-width: 760px; }
.panel::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent 0%, var(--gold-500) 50%, transparent 100%); box-shadow: 0 0 12px rgba(255,184,28,0.45); }
.panel-corner { position: absolute; width: 28px; height: 28px; border-color: var(--gold-500); border-style: solid; border-width: 0; pointer-events: none; opacity: 0.55; }
.panel-corner.tl { top: 12px; left: 12px; border-top-width: 1.5px; border-left-width: 1.5px; border-top-left-radius: 6px; }
.panel-corner.tr { top: 12px; right: 12px; border-top-width: 1.5px; border-right-width: 1.5px; border-top-right-radius: 6px; }
.panel-corner.bl { bottom: 12px; left: 12px; border-bottom-width: 1.5px; border-left-width: 1.5px; border-bottom-left-radius: 6px; }
.panel-corner.br { bottom: 12px; right: 12px; border-bottom-width: 1.5px; border-right-width: 1.5px; border-bottom-right-radius: 6px; }
.panel-eyebrow { font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 0.30em; text-transform: uppercase; color: var(--gold-500); margin-bottom: 8px; }
.panel-title { font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1.15; letter-spacing: -0.01em; }
.panel-sub { font-family: var(--font-body); font-size: 14px; line-height: 1.55; color: var(--fg-secondary); margin-top: 8px; }
.panel-body { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.panel-actions { margin-top: 28px; display: flex; gap: 12px; align-items: center; }
.panel-section { margin-top: 18px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.panel-section-eyebrow { font-family: var(--font-display); font-size: 10px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 10px; }

/* ============== FIELDS ============== */
.field { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-secondary); display: flex; align-items: center; gap: 6px; }
.field-label .req { color: var(--gold-500); }
.field-row { display: flex; gap: 10px; }
.field-row > .field { flex: 1; }
.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap > svg.lead { position: absolute; left: 12px; width: 16px; height: 16px; color: var(--fg-muted); }
.input {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 10px;
  background: var(--bg-input); border: 1px solid var(--line-default);
  color: var(--fg-primary); font-family: var(--font-body); font-size: 15px;
  outline: none;
}
.input-wrap.has-lead .input { padding-left: 38px; }
.input::placeholder { color: var(--fg-muted); }
.input.focused { border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(255,184,28,0.22), 0 0 16px rgba(255,184,28,0.18); }
.input[readonly] { background: rgba(255,255,255,0.02); }
.field-hint { font-family: var(--font-body); font-size: 12px; color: var(--fg-muted); line-height: 1.45; }

/* ============== SELECT ============== */
.select-trigger {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 10px;
  background: var(--bg-input); border: 1px solid var(--line-default);
  color: var(--fg-primary); font-family: var(--font-body); font-size: 15px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.select-trigger > span:not(.chev) { white-space: nowrap; min-width: 0; flex: 1; }
.select-trigger .chev { color: var(--fg-muted); }
.select-trigger.readonly { background: rgba(255,255,255,0.02); cursor: default; }

/* ============== BUTTONS ============== */
.btn {
  height: 46px; padding: 0 22px; border-radius: 10px; border: none;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  letter-spacing: 0.14em; text-transform: uppercase;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  white-space: nowrap; cursor: pointer;
}
.btn.primary { background: linear-gradient(180deg,#FFC72E,#FFB81C); color: var(--fg-on-gold); box-shadow: 0 4px 16px rgba(255,184,28,0.35), 0 0 0 1px rgba(255,184,28,0.30); }
.btn.primary:disabled { background: #2A2A38; color: #4A4A5A; box-shadow: none; }
.btn.outline { background: transparent; color: var(--gold-500); border: 1px solid rgba(255,184,28,0.40); }
.btn.ghost { background: rgba(255,255,255,0.04); color: var(--fg-primary); border: 1px solid var(--line-default); }
.btn.block { width: 100%; }
.btn svg { width: 16px; height: 16px; }

/* ============== CHECKBOX ============== */
.check { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 12px; background: rgba(31,31,44,0.55); border: 1px solid var(--line-default); }
.check .box { width: 20px; height: 20px; border-radius: 6px; flex-shrink: 0; margin-top: 1px; background: var(--bg-input); border: 1.5px solid var(--line-strong); display: flex; align-items: center; justify-content: center; }
.check.on .box { background: var(--gold-500); border-color: var(--gold-500); }
.check.on .box svg { color: var(--fg-on-gold); width: 14px; height: 14px; }
.check p { font-family: var(--font-body); font-size: 13px; line-height: 1.5; color: var(--fg-secondary); }

/* ============== VERIFY FIELD ============== */
.verify-row { display: flex; gap: 10px; align-items: stretch; }
.verify-row .input-wrap { flex: 1; }
.verify-btn {
  height: 46px; padding: 0 18px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(180deg,#FFC72E,#FFB81C); color: var(--fg-on-gold);
  font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
  box-shadow: 0 4px 14px rgba(255,184,28,0.30);
}
.verify-btn.done { background: rgba(43,212,125,0.14); color: var(--success); box-shadow: inset 0 0 0 1px rgba(43,212,125,0.35); }
.verify-btn svg { width: 14px; height: 14px; }

/* ============== LANDING ============== */
.landing { display: flex; flex-direction: column; gap: 32px; align-items: center; text-align: center; padding-top: 24px; width: 100%; max-width: 900px; margin: 0 auto; }
.landing-hero .eb { font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.30em; text-transform: uppercase; color: var(--gold-500); }
.landing-hero h1 { font-family: var(--font-display); font-weight: 700; font-size: 64px; line-height: 1; letter-spacing: -0.02em; text-transform: uppercase; margin-top: 14px; }
.landing-hero h1 .g { color: var(--gold-500); }
.landing-hero .tag { margin-top: 16px; font-family: var(--font-body); font-size: 15px; color: var(--fg-secondary); max-width: 520px; margin-left: auto; margin-right: auto; }
.choose { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: 100%; }
.choose-card { padding: 28px 26px; border-radius: 18px; text-align: left; background: rgba(22,22,32,0.72); backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%); border: 1px solid var(--line-default); display: flex; flex-direction: column; gap: 14px; cursor: pointer; transition: all 200ms cubic-bezier(0.16,1,0.30,1); }
.choose-card:hover { border-color: var(--line-gold); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,0.45), 0 0 24px rgba(255,184,28,0.20); }
.choose-card .role-ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,184,28,0.12); border: 1px solid rgba(255,184,28,0.30); display: flex; align-items: center; justify-content: center; color: var(--gold-500); }
.choose-card .role-ico svg { width: 22px; height: 22px; }
.choose-card h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.choose-card .sub { font-family: var(--font-body); font-size: 13px; color: var(--fg-secondary); line-height: 1.5; }
.choose-card .cta { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-500); margin-top: auto; }
.choose-card .cta svg { width: 14px; height: 14px; }

/* ============== LOGO UPLOAD ============== */
.upload { display: flex; gap: 16px; align-items: stretch; }
.upload-drop { flex: 1; min-height: 156px; border: 1.5px dashed rgba(255,184,28,0.40); border-radius: 14px; background: linear-gradient(180deg, rgba(255,184,28,0.04), transparent); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 16px; cursor: pointer; }
.upload-drop .icon { width: 36px; height: 36px; color: var(--gold-500); }
.upload-drop .lbl { font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; }
.upload-drop .hint { font-family: var(--font-body); font-size: 11px; color: var(--fg-muted); }
.upload-preview { width: 156px; height: 156px; border-radius: 14px; flex-shrink: 0; position: relative; overflow: hidden; border: 1px solid rgba(255,184,28,0.50); box-shadow: 0 8px 24px rgba(0,0,0,0.45), inset 0 0 0 1px rgba(255,184,28,0.20); }
.upload-preview .img { position: absolute; inset: 0; background: linear-gradient(135deg, #9E1B2C, #FF7A1A); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; color: #FFD23F; letter-spacing: 0.08em; font-size: 14px; text-shadow: 0 2px 6px rgba(0,0,0,0.6); }
.upload-preview .badge { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,0.60); color: var(--gold-300); font-family: var(--font-mono); font-size: 9px; padding: 3px 6px; border-radius: 4px; letter-spacing: 0.08em; }

/* ============== SUCCESS BANNER ============== */
.success-banner { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; background: rgba(43,212,125,0.08); border: 1px solid rgba(43,212,125,0.30); color: var(--success); font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.success-banner svg { width: 16px; height: 16px; }

/* ============== RULES BOX ============== */
.rules { padding: 18px 20px; border-radius: 12px; background: rgba(255,184,28,0.05); border: 1px solid rgba(255,184,28,0.20); }
.rules h4 { font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 0.20em; text-transform: uppercase; color: var(--gold-500); display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.rules h4 svg { width: 14px; height: 14px; }
.rules ol { padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.rules ol li { font-family: var(--font-body); font-size: 12px; line-height: 1.55; color: var(--fg-secondary); }

/* ============== DASHBOARD ============== */
.dashboard { width: 100%; max-width: 960px; display: flex; flex-direction: column; gap: 20px; }
.team-hero { display: grid; grid-template-columns: 120px 1fr auto; gap: 24px; align-items: center; padding: 22px 26px; border-radius: 18px; background: linear-gradient(135deg, rgba(255,184,28,0.10) 0%, rgba(255,184,28,0) 60%), rgba(18,18,26,0.92); border: 1px solid rgba(255,184,28,0.30); box-shadow: 0 0 0 1px rgba(255,184,28,0.06), 0 12px 32px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,184,28,0.15); position: relative; overflow: hidden; }
.team-hero::before { content: ''; position: absolute; top: 0; left: 20%; right: 20%; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-500), transparent); box-shadow: 0 0 12px rgba(255,184,28,0.45); }
.team-hero-logo { width: 120px; height: 120px; border-radius: 18px; overflow: hidden; background: linear-gradient(135deg, #9E1B2C, #FF7A1A); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: #FFD23F; text-shadow: 0 2px 8px rgba(0,0,0,0.55); border: 1.5px solid var(--gold-500); box-shadow: 0 0 24px rgba(255,184,28,0.25); }
.team-hero-meta { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.team-hero-eyebrow { font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-500); }
.team-hero-name { font-family: var(--font-display); font-weight: 700; font-size: 36px; line-height: 1.05; letter-spacing: -0.01em; }
.team-hero-stats { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; font-family: var(--font-body); font-size: 13px; color: var(--fg-secondary); }
.team-hero-stats > span { white-space: nowrap; }
.team-hero-stats .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--fg-muted); }
.team-hero-stats b { color: var(--gold-300); font-family: var(--font-mono); font-weight: 700; letter-spacing: 0.06em; }
.team-hero-code-block { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.team-hero-code-lbl { font-family: var(--font-display); font-size: 10px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--fg-muted); }
.team-hero-code { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 10px; background: rgba(255,184,28,0.10); border: 1px solid var(--line-gold); font-family: var(--font-mono); font-weight: 700; font-size: 17px; letter-spacing: 0.16em; color: var(--gold-300); white-space: nowrap; }
.team-hero-code svg { width: 14px; height: 14px; }

.dash-toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.dash-bottom-actions { display: flex; align-items: center; gap: 12px; padding: 16px 0 8px; margin-top: 8px; }

.member-card-list { display: flex; flex-direction: column; gap: 14px; }
.member-card { background: rgba(18,18,26,0.86); border: 1px solid var(--line-default); border-radius: 16px; position: relative;     overflow: visible; }
.member-card.me { border-color: rgba(255,184,28,0.50); background: rgba(255,184,28,0.04); }
.member-card.is-captain { border-color: rgba(255,184,28,0.45); }
.member-card.is-captain::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-500), transparent); box-shadow: 0 0 10px rgba(255,184,28,0.5); }
.member-card-header { display: flex; align-items: center; gap: 12px; padding: 12px 18px; background: linear-gradient(180deg, rgba(255,184,28,0.06) 0%, rgba(255,184,28,0) 100%); border-bottom: 1px solid var(--line-soft); }
.member-card-num { display: flex; align-items: baseline; gap: 8px; font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-500); white-space: nowrap; }
.member-card-num .num { font-family: var(--font-mono); font-size: 16px; letter-spacing: 0.06em; color: var(--fg-primary); }
.member-card-tags { display: flex; gap: 6px; flex: 1; }
.captain-tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: var(--gold-500); color: var(--fg-on-gold); font-family: var(--font-display); font-size: 9px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }
.captain-tag svg { width: 10px; height: 10px; }
.me-tag { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 999px; background: var(--cyan-500); color: var(--bg-deep); font-family: var(--font-display); font-size: 9px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }
.row-menu { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line-default); background: transparent; color: var(--fg-secondary); display: flex; align-items: center; justify-content: center; }
.row-menu:hover { background: rgba(255,59,92,0.10); border-color: rgba(255,59,92,0.40); color: var(--danger); }
.row-menu svg { width: 14px; height: 14px; }
.member-card-body { display: grid; grid-template-columns: 1fr; gap: 18px; padding: 18px; }

.mc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; align-items: start; }
.mc-fields > .field:nth-child(1) { grid-column: 1 / 2; }
.mc-fields > .field:nth-child(2) { grid-column: 2 / 3; }
.mc-fields > .mc-ids { grid-column: 1 / -1; }
.mc-ids { display: flex; flex-direction: column; gap: 6px; }
.mc-ids-list { display: flex; flex-direction: column; gap: 8px; }
.mc-id-row { display: grid; grid-template-columns: 1fr 140px; gap: 10px; align-items: center; }
.mc-id-cls { font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase; color: var(--gold-300); padding: 0 12px; height: 46px; display: flex; align-items: center; border-radius: 10px; background: rgba(255,184,28,0.08); border: 1px solid rgba(255,184,28,0.20); }

/* ============== MODAL ============== */
.modal-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(7,7,12,0.78); backdrop-filter: blur(10px) saturate(120%); -webkit-backdrop-filter: blur(10px) saturate(120%); display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal { width: 100%; max-width: 460px; background: linear-gradient(180deg, rgba(255,184,28,0.08) 0%, rgba(255,184,28,0) 30%), rgba(18,18,26,0.98); border: 1px solid rgba(255,184,28,0.30); border-radius: 20px; padding: 32px 32px 28px; position: relative; overflow: hidden; box-shadow: 0 32px 80px rgba(0,0,0,0.65), 0 0 60px rgba(255,184,28,0.15); }
.modal::before { content: ''; position: absolute; top: 0; left: 20%; right: 20%; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-500), transparent); box-shadow: 0 0 12px rgba(255,184,28,0.45); }
.modal-personal { max-width: 520px; }
.modal-icon { width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 18px; background: rgba(255,184,28,0.12); border: 1px solid var(--line-gold); display: flex; align-items: center; justify-content: center; color: var(--gold-500); }
.modal-icon svg { width: 28px; height: 28px; }
.modal-icon.warn { background: rgba(255,184,28,0.14); }
.modal-icon.danger { background: rgba(255,59,92,0.14); border-color: rgba(255,59,92,0.40); color: var(--danger); }
.modal-icon.success { background: rgba(43,212,125,0.14); border-color: rgba(43,212,125,0.45); color: var(--success); }
.modal-title { font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.2; text-align: center; margin-bottom: 8px; }
.modal-sub { font-family: var(--font-body); font-size: 14px; line-height: 1.5; text-align: center; color: var(--fg-secondary); margin-bottom: 24px; }
.modal-actions { display: flex; gap: 10px; }
.modal-actions .btn { flex: 1; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line-default); background: rgba(255,255,255,0.04); color: var(--fg-secondary); display: flex; align-items: center; justify-content: center; }

.confirm-summary { display: flex; flex-direction: column; background: rgba(11,11,18,0.55); border: 1px solid var(--line-soft); border-radius: 12px; overflow: hidden; margin-bottom: 24px; text-align: left; }
.confirm-row { display: grid; grid-template-columns: 140px 1fr; gap: 12px; align-items: baseline; padding: 10px 14px; border-bottom: 1px solid var(--line-soft); }
.confirm-row:last-child { border-bottom: none; }
.confirm-row-k { font-family: var(--font-display); font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); }
.confirm-row-v { font-family: var(--font-body); font-size: 13px; color: var(--fg-primary); word-break: break-word; }

.personal-grid { display: flex; flex-direction: column; background: rgba(11,11,18,0.55); border: 1px solid var(--line-soft); border-radius: 12px; overflow: hidden; margin-bottom: 24px; }
.personal-row { display: grid; grid-template-columns: 160px 1fr; gap: 14px; align-items: baseline; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); }
.personal-row:last-child { border-bottom: none; }
.personal-row-lbl { font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); }
.personal-row-val { font-family: var(--font-body); font-size: 14px; color: var(--fg-primary); word-break: break-all; }

.success-code-block { margin: 0 0 22px; padding: 18px 20px; border-radius: 14px; background: linear-gradient(180deg, rgba(255,184,28,0.08), rgba(255,184,28,0.02)); border: 1px solid var(--line-gold); box-shadow: 0 0 24px rgba(255,184,28,0.18), inset 0 1px 0 rgba(255,184,28,0.18); text-align: center; }
.success-code-mono { font-family: var(--font-mono); font-weight: 700; font-size: 36px; letter-spacing: 0.18em; color: var(--gold-300); text-shadow: 0 0 18px rgba(255,184,28,0.50); }
.success-copy { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; height: 32px; padding: 0 14px; border-radius: 999px; background: transparent; border: 1px solid rgba(255,184,28,0.40); color: var(--gold-500); font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.success-copy svg { width: 13px; height: 13px; }

/* ============== ID CLAIM (page 11) ============== */
.claim-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 8px; }
.claim-card {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center;
  padding: 16px 18px; border-radius: 14px;
  background: rgba(18,18,26,0.86); border: 1px solid var(--line-default);
  transition: border-color 200ms ease, background 200ms ease, transform 150ms ease;
}
.claim-card.claimed { border-color: var(--line-gold); background: linear-gradient(180deg, rgba(255,184,28,0.06), rgba(18,18,26,0.86)); }
.claim-card-avatar {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, #9E1B2C, #FF7A1A);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: #FFD23F;
  border: 1px solid var(--line-gold);
  box-shadow: 0 0 16px rgba(255,184,28,0.20);
  font-size: 18px;
}
.claim-card-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.claim-card-id { font-family: var(--font-mono); font-weight: 700; font-size: 16px; color: var(--gold-300); letter-spacing: 0.06em; }
.claim-card-cls { font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-secondary); }
.claim-card-server { font-family: var(--font-body); font-size: 12px; color: var(--fg-muted); }
.claim-card-status { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.claim-card-status.pending { background: rgba(255,184,28,0.12); border: 1px solid var(--line-gold); color: var(--gold-300); }
.claim-card-status.claimed { background: rgba(43,212,125,0.14); border: 1px solid rgba(43,212,125,0.45); color: var(--success); }
.claim-card-status svg { width: 12px; height: 12px; }

.cred-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-top: 14px; padding: 14px; border-radius: 12px;
  background: rgba(11,11,18,0.65); border: 1px solid var(--line-soft);
  grid-column: 1 / -1;
}
.cred-field { display: flex; flex-direction: column; gap: 6px; }
.cred-label { font-family: var(--font-display); font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-muted); }
.cred-row {
  display: flex; align-items: stretch;
  background: var(--bg-input); border: 1px solid var(--line-default); border-radius: 10px;
  overflow: hidden;
}
.cred-row > input {
  flex: 1; height: 42px; padding: 0 12px; background: transparent; border: none; outline: none;
  font-family: var(--font-mono); font-weight: 700; font-size: 14px; color: var(--fg-primary);
  letter-spacing: 0.06em;
}
.cred-row > input[type="password"] { letter-spacing: 0.30em; }
.cred-action {
  width: 42px; height: 42px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04); border-left: 1px solid var(--line-default);
  color: var(--fg-secondary); cursor: pointer; transition: all 150ms ease;
}
.cred-action:hover { background: rgba(255,184,28,0.10); color: var(--gold-300); }
.cred-action svg { width: 16px; height: 16px; }

.claim-summary {
  padding: 14px 16px; border-radius: 12px;
  background: linear-gradient(180deg, rgba(43,212,125,0.10), rgba(43,212,125,0.02));
  border: 1px solid rgba(43,212,125,0.30);
  color: var(--success);
  font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
}
.claim-summary svg { width: 16px; height: 16px; }

.claim-stage-pick .claim-card,
.claim-stage-claimed .claim-card { cursor: default; }

.claim-empty {
  padding: 32px 16px; text-align: center; color: var(--fg-muted);
  border: 1px dashed var(--line-default); border-radius: 14px;
  font-family: var(--font-body); font-size: 13px;
}

/* ============== INTERACTIVITY STATES ============== */
.btn { transition: transform 120ms ease, box-shadow 200ms ease, background 200ms ease, opacity 200ms ease; }
.btn:hover:not(:disabled) { transform: translateY(-1px); }
.btn:active:not(:disabled) { transform: translateY(0); }
.btn.primary:hover:not(:disabled) { box-shadow: 0 6px 22px rgba(255,184,28,0.55), 0 0 0 1px rgba(255,184,28,0.40); }
.btn.outline:hover { background: rgba(255,184,28,0.10); border-color: var(--gold-500); }
.btn.ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--line-strong); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }

.input { transition: border-color 150ms ease, box-shadow 200ms ease, background 200ms ease; }
.input:focus, .input.focused { border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(255,184,28,0.22), 0 0 16px rgba(255,184,28,0.18); }
.input.error, .input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(255,59,92,0.20); }
.field-error { font-family: var(--font-body); font-size: 12px; color: var(--danger); margin-top: 2px; display: flex; align-items: center; gap: 6px; }
.field-error::before { content: '!'; display: inline-flex; align-items: center; justify-content: center; width: 14px; height: 14px; border-radius: 50%; background: var(--danger); color: var(--bg-deep); font-family: var(--font-display); font-size: 10px; font-weight: 700; }

.select-trigger { cursor: pointer; transition: border-color 150ms ease, background 200ms ease; position: relative; }
.select-trigger:not(.readonly):hover { border-color: var(--line-gold); background: rgba(255,184,28,0.04); }
.select-trigger.open { border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(255,184,28,0.18); }
.select-trigger.open .chev { transform: rotate(180deg); }
.select-trigger .chev { transition: transform 180ms ease; }

/* Dropdown menu (JS-driven) */
.dropdown-menu {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  z-index: 50; max-height: 260px; overflow-y: auto;
  background: var(--bg-elevated); border: 1px solid var(--line-gold);
  border-radius: 10px; padding: 6px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.55);
  display: none;
}
.dropdown-menu.open { display: block; }
.dropdown-menu .opt {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px;
  font-family: var(--font-body); font-size: 14px; color: var(--fg-primary);
  cursor: pointer; transition: background 120ms ease;
}
.dropdown-menu .opt:hover { background: rgba(255,184,28,0.10); }
.dropdown-menu .opt.selected { background: rgba(255,184,28,0.18); color: var(--gold-300); }
.dropdown-menu .opt .opt-sub { color: var(--fg-muted); font-size: 12px; margin-left: auto; }

/* Checkbox click target */
.check { cursor: pointer; user-select: none; transition: border-color 150ms ease, background 200ms ease; }
.check:hover { border-color: var(--line-gold); }
.check.on { border-color: var(--line-gold); background: rgba(255,184,28,0.04); }

/* Language toggle */
.lang-toggle button { cursor: pointer; transition: all 150ms ease; }
.lang-toggle button:hover:not(.on) { color: var(--fg-primary); }

/* Nav cards / choose cards (preserve smooth motion) */
.choose-card, .nav-card { text-decoration: none; }

/* Topbar back / home button */
.topbar .home {
  display: inline-flex; align-items: center; gap: 8px;
  height: 32px; padding: 0 12px; border-radius: 999px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-default);
  color: var(--fg-secondary); font-family: var(--font-display); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer;
  text-decoration: none; transition: all 150ms ease;
}
.topbar .home:hover { background: rgba(255,184,28,0.10); border-color: var(--line-gold); color: var(--gold-300); }
.topbar .home svg { width: 14px; height: 14px; }

/* Modal toggle states (JS) */
.modal-overlay { transition: opacity 200ms ease; }
.modal-overlay[hidden] { display: none; }
.modal { animation: modalIn 240ms cubic-bezier(0.16, 1, 0.30, 1); }
@keyframes modalIn {
  from { transform: translateY(12px) scale(0.96); opacity: 0; }
  to   { transform: translateY(0)     scale(1.00); opacity: 1; }
}
.modal-close { cursor: pointer; transition: all 150ms ease; }
.modal-close:hover { background: rgba(255,59,92,0.15); border-color: rgba(255,59,92,0.40); color: var(--danger); }

/* ============== TOAST ============== */
.toast-stack {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 1000; display: flex; flex-direction: column; gap: 10px;
  pointer-events: none; width: max-content; max-width: 92vw;
}
.toast {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px; border-radius: 12px;
  background: rgba(18,18,26,0.96); border: 1px solid var(--line-gold);
  color: var(--fg-primary); font-family: var(--font-body); font-size: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.55), 0 0 24px rgba(255,184,28,0.18);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  animation: toastIn 280ms cubic-bezier(0.16, 1, 0.30, 1);
  pointer-events: auto;
}
.toast.success { border-color: rgba(43,212,125,0.45); }
.toast.success svg { color: var(--success); }
.toast.error   { border-color: rgba(255,59,92,0.45); }
.toast.error svg { color: var(--danger); }
.toast.info svg  { color: var(--gold-500); }
.toast svg { width: 18px; height: 18px; flex-shrink: 0; }
.toast.leaving { animation: toastOut 200ms ease forwards; }
@keyframes toastIn  { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes toastOut { to   { transform: translateY(20px); opacity: 0; } }

/* ============== RESPONSIVE ============== */
@media (max-width: 720px) {
  .topbar { padding: 12px 16px; }
  .topbar .crumbs { display: none; }
  .stage { padding: 24px 16px 60px; }
  .panel { padding: 24px 20px; border-radius: 18px; }
  .panel-title { font-size: 24px; }
  .landing-hero h1 { font-size: 42px; }
  .choose { grid-template-columns: 1fr; }
  .field-row { flex-direction: column; }
  .upload { flex-direction: column; }
  .upload-preview { width: 100%; height: 180px; }
  .team-hero { grid-template-columns: 1fr; gap: 14px; text-align: center; }
  .team-hero-logo { margin: 0 auto; }
  .team-hero-meta { align-items: center; }
  .team-hero-code-block { align-items: center; }
  .mc-fields { grid-template-columns: 1fr; }
  .mc-fields > .field:nth-child(1),
  .mc-fields > .field:nth-child(2) { grid-column: 1 / -1; }
  .mc-id-row { grid-template-columns: 1fr; }
  .stepper { padding: 14px 12px; }
  .step-label { display: none; }
  .step-bar { flex: 1 1 auto; }
  .nav-grid { padding: 16px; grid-template-columns: 1fr; }
  .modal { padding: 28px 22px 24px; }
  .modal-title { font-size: 20px; }
  .success-code-mono { font-size: 26px; }
  .confirm-row, .personal-row { grid-template-columns: 1fr; gap: 4px; }
  .dash-bottom-actions { flex-wrap: wrap; }
  .claim-card { grid-template-columns: 48px 1fr; gap: 12px; }
  .claim-card-status { grid-column: 1 / -1; justify-self: start; }
  .cred-block { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ============== Navigator index ============== */
.nav-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; padding: 40px; }
.nav-card { display: flex; flex-direction: column; gap: 8px; padding: 22px 20px; border-radius: 14px; background: rgba(22,22,32,0.78); border: 1px solid var(--line-default); text-decoration: none; transition: all 200ms cubic-bezier(0.16,1,0.30,1); }
.nav-card:hover { border-color: var(--line-gold); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,0.45), 0 0 24px rgba(255,184,28,0.20); }
.nav-card .num { font-family: var(--font-mono); font-size: 12px; color: var(--gold-500); letter-spacing: 0.06em; }
.nav-card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--fg-primary); }
.nav-card .desc { font-family: var(--font-body); font-size: 12px; color: var(--fg-secondary); line-height: 1.5; }
