/* ===== Agent Mobile-frame Layout ===== */
body.agent-body {
  background:
    radial-gradient(circle at 20% 20%, rgba(212,175,55,.18), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(30,58,138,.18), transparent 50%),
    var(--navy-900);
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 24px 12px;
}

.phone {
  width: 100%; max-width: 420px;
  background: #fff;
  border-radius: 38px;
  box-shadow:
    0 60px 80px -30px rgba(0,0,0,.5),
    0 0 0 10px #1e293b,
    0 0 0 12px #0f172a;
  overflow: hidden;
  position: relative;
  height: min(880px, 92vh);
  display: flex; flex-direction: column;
}

.status-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 28px 4px;
  font-size: 12px; font-weight: 600;
  color: var(--text);
  z-index: 4;
}
.status-bar .icons { display: flex; gap: 6px; align-items: center; }
.status-bar .notch {
  position: absolute; left: 50%; top: 8px; transform: translateX(-50%);
  width: 90px; height: 22px;
  background: #0f172a;
  border-radius: 999px;
}

/* hero / app-bar */
.app-bar {
  padding: 14px 20px 18px;
  background: var(--surface);
  display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 3;
}
.app-bar.gradient {
  background: var(--grad-navy);
  color: #fff;
  padding: 16px 20px 22px;
}
.app-bar.gradient h1, .app-bar.gradient .greet { color: #fff; }
.app-bar .greet { font-size: 12px; color: var(--text-2); }
.app-bar h1 { font-size: 17px; font-weight: 700; }
.app-bar .av {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--grad-gold);
  display: grid; place-items: center;
  color: var(--navy-800); font-weight: 800;
  border: 2px solid rgba(255,255,255,.3);
}
.app-bar .bell {
  position: relative;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(255,255,255,.1);
  color: #fff;
}
.app-bar .bell .dot {
  position: absolute; top: 8px; right: 9px;
  width: 7px; height: 7px;
  background: var(--gold-400);
  border-radius: 50%;
  border: 2px solid var(--navy-700);
}

.scroll-area {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 90px;
  background: var(--bg);
}
.scroll-area::-webkit-scrollbar { display: none; }

.section-pad { padding: 18px 20px; }

/* hero card on home */
.hero-card {
  margin: 14px 20px 0;
  background: var(--surface);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 20px 40px -20px rgba(15,23,42,.18);
  display: grid; grid-template-columns: 1fr auto; gap: 10px;
  position: relative; z-index: 2;
}
.hero-card .lvl-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.hero-card .xp-num { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.hero-card .xp-num span { font-size: 12px; color: var(--text-3); font-weight: 500; margin-left: 4px; }
.hero-card .next { font-size: 11px; color: var(--text-2); margin-bottom: 8px; }
.hero-card .progress-bar {
  height: 6px; background: var(--bg);
  border-radius: 999px; overflow: hidden;
}
.hero-card .progress-bar > div { height: 100%; background: var(--grad-gold); border-radius: 999px; }
.hero-card .right-ring { display: grid; place-items: center; }

.section-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; margin-bottom: 12px;
}
.section-head h3 { font-size: 14px; font-weight: 700; }
.section-head a { font-size: 12px; color: var(--navy-700); font-weight: 600; }

/* event mini cards */
.event-mini-list { padding: 0 20px; display: flex; flex-direction: column; gap: 12px; }
.event-mini {
  display: flex; gap: 12px;
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all .15s;
}
.event-mini:hover { border-color: var(--navy-500); }
.event-mini .thumb {
  width: 64px; height: 64px;
  border-radius: 12px;
  flex-shrink: 0;
  background-size: cover; background-position: center;
  position: relative;
}
.event-mini .thumb .day {
  position: absolute; bottom: 4px; left: 4px;
  background: rgba(255,255,255,.95); color: var(--navy-800);
  padding: 1px 6px; font-size: 9.5px; border-radius: 4px;
  font-weight: 700;
}
.event-mini .info { flex: 1; min-width: 0; }
.event-mini h4 {
  font-size: 13px; font-weight: 700; margin-bottom: 4px;
  line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.event-mini .meta { font-size: 11px; color: var(--text-2); display: flex; gap: 8px; margin-bottom: 4px; }
.event-mini .meta span { display: flex; align-items: center; gap: 3px; }
.event-mini .row-bot { display: flex; align-items: center; justify-content: space-between; }

/* category strip */
.cat-strip {
  padding: 0 20px;
  display: flex; gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-strip::-webkit-scrollbar { display: none; }
.cat-chip {
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 12px; font-weight: 500;
  cursor: pointer;
}
.cat-chip.active { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

/* date strip */
.date-strip {
  display: flex; gap: 8px;
  padding: 0 20px;
  overflow-x: auto;
  scrollbar-width: none;
}
.date-strip::-webkit-scrollbar { display: none; }
.date-pill {
  flex-shrink: 0;
  width: 50px; padding: 10px 0;
  text-align: center;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
  cursor: pointer;
}
.date-pill .d { font-size: 10px; color: var(--text-3); font-weight: 600; text-transform: uppercase; }
.date-pill .num { font-size: 18px; font-weight: 700; margin-top: 2px; }
.date-pill.active { background: var(--grad-navy); color: #fff; border-color: transparent; }
.date-pill.active .d { color: var(--gold-400); }
.date-pill.has-event { position: relative; }
.date-pill.has-event::after {
  content: ''; position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px;
  background: var(--gold-500); border-radius: 50%;
}

/* view toggle (strip <-> month) */
.view-toggle {
  display: inline-flex;
  background: var(--bg);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.view-toggle button {
  padding: 5px 12px;
  font-size: 11px; font-weight: 600;
  color: var(--text-2);
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 4px;
}
.view-toggle button.active {
  background: var(--navy-800); color: #fff;
  box-shadow: 0 4px 10px -4px rgba(10,31,68,.4);
}

/* month calendar */
.month-cal { padding: 0 20px; }
.month-cal .nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 2px 12px;
}
.month-cal .nav .lbl {
  font-size: 13px; font-weight: 700;
}
.month-cal .nav button {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--text-2);
}
.month-cal .nav button:hover { color: var(--navy-800); border-color: var(--navy-500); }
.month-cal .dow {
  display: grid; grid-template-columns: repeat(7, 1fr);
  font-size: 10px; font-weight: 600;
  color: var(--text-3);
  text-align: center;
  padding-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.month-cal .grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 6px;
}
.month-cal .cell {
  aspect-ratio: 1;
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600;
  color: var(--text);
  border-radius: 10px;
  cursor: pointer;
  transition: background .12s;
  min-height: 38px;
}
.month-cal .cell:hover { background: var(--bg); }
.month-cal .cell.other-month { color: var(--text-3); opacity: .55; }
.month-cal .cell.today { color: var(--gold-600); }
.month-cal .cell.today::before {
  content: ''; position: absolute; inset: 4px;
  border: 1.5px dashed var(--gold-500);
  border-radius: 8px;
}
.month-cal .cell.selected {
  background: var(--grad-navy);
  color: #fff;
}
.month-cal .cell.selected.today { color: var(--gold-300); }
.month-cal .cell.selected::before { display: none; }
.month-cal .cell .dots {
  display: flex; gap: 2px;
  position: absolute; bottom: 4px;
  left: 50%; transform: translateX(-50%);
}
.month-cal .cell .dots i {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--navy-500);
  display: block;
}
.month-cal .cell.selected .dots i { background: var(--gold-400); }

/* selected-day events panel */
.day-panel {
  margin: 14px 20px 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
}
.day-panel .head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.day-panel .head h4 { font-size: 13px; font-weight: 700; }
.day-panel .head .count {
  font-size: 11px; color: var(--text-3); font-weight: 600;
}
.day-panel .empty {
  text-align: center;
  padding: 18px 8px;
  color: var(--text-3);
  font-size: 12px;
}
.day-panel .empty i { display: block; margin: 0 auto 6px; opacity: .6; }
.day-panel .ev {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--border-2);
  cursor: pointer;
}
.day-panel .ev + .ev { margin-top: 8px; }
.day-panel .ev:hover { border-color: var(--navy-500); }
.day-panel .ev .thumb {
  width: 44px; height: 44px;
  border-radius: 10px;
  background-size: cover; background-position: center;
  flex-shrink: 0;
}
.day-panel .ev .info { flex: 1; min-width: 0; }
.day-panel .ev h5 {
  font-size: 12.5px; font-weight: 700;
  margin-bottom: 3px;
  line-height: 1.3;
}
.day-panel .ev .row {
  font-size: 11px; color: var(--text-2);
  display: flex; align-items: center; gap: 8px;
}
.day-panel .ev .row span { display: inline-flex; align-items: center; gap: 3px; }

/* status pill */
.status-pill {
  font-size: 9.5px; font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: .03em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 3px;
  flex-shrink: 0;
  margin-top: 4px;
}
.status-pill.registered { background: var(--info-bg); color: var(--info); }
.status-pill.available { background: var(--gold-100); color: var(--gold-600); }
.status-pill.attended { background: var(--success-bg); color: var(--success); }
.status-pill.late { background: var(--warn-bg); color: var(--warn); }
.status-pill.missed { background: var(--danger-bg); color: var(--danger); }
.status-pill.past { background: var(--bg); color: var(--text-3); }

/* bottom tabs */
.tab-bar {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 8px 4px 14px;
  z-index: 10;
}
.tab-bar a {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 6px 4px;
  color: var(--text-3);
  font-size: 10px; font-weight: 600;
  border-radius: 10px;
}
.tab-bar a.active { color: var(--navy-800); }
.tab-bar a.center {
  position: relative;
  margin-top: -22px;
}
.tab-bar a.center .ico {
  width: 50px; height: 50px;
  background: var(--grad-gold);
  border-radius: 16px;
  display: grid; place-items: center;
  color: var(--navy-800);
  box-shadow: 0 10px 24px -6px rgba(212,175,55,.5);
  border: 4px solid #fff;
}
.tab-bar a.center .lbl { color: var(--gold-600); margin-top: 2px; }

/* event detail page */
.detail-cover {
  height: 220px;
  background-size: cover; background-position: center;
  position: relative;
}
.detail-cover::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,.6));
}
.detail-cover .top-overlay {
  position: relative; z-index: 2;
  padding: 16px 20px;
  display: flex; justify-content: space-between;
  color: #fff;
}
.detail-cover .icon-r {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  display: grid; place-items: center;
  color: #fff;
}
.detail-card {
  margin: -28px 16px 0;
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  position: relative; z-index: 2;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.2);
}
.detail-card h2 { font-size: 18px; font-weight: 700; margin: 8px 0 12px; line-height: 1.3; }
.detail-meta-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  padding-top: 14px; margin-top: 14px;
  border-top: 1px solid var(--border-2);
}
.detail-meta-grid .item .l { font-size: 10.5px; color: var(--text-3); margin-bottom: 2px; font-weight: 600; }
.detail-meta-grid .item .v { font-size: 13px; font-weight: 600; }

.speaker-row {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 0;
}
.speaker-row .av {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--grad-navy); color: #fff;
  display: grid; place-items: center; font-weight: 700;
  flex-shrink: 0;
}
.speaker-row .nm { font-size: 13px; font-weight: 700; }
.speaker-row .ttl { font-size: 11px; color: var(--text-2); }

/* sticky CTA */
.sticky-cta {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  padding: 12px 20px 22px;
  display: flex; gap: 10px; align-items: center;
  z-index: 10;
}
.sticky-cta .price { flex: 1; }
.sticky-cta .price .l { font-size: 10px; color: var(--text-3); font-weight: 600; }
.sticky-cta .price .v {
  font-size: 18px; font-weight: 800; color: var(--gold-600);
  display: flex; align-items: center; gap: 4px;
}
.sticky-cta .btn { flex: 1.3; }

/* checkin page */
.checkin-hero {
  background: var(--grad-navy);
  color: #fff;
  padding: 24px 20px 36px;
  text-align: center;
  position: relative;
}
.checkin-hero::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 30px;
  background: var(--bg);
  border-radius: 30px 30px 0 0;
}
.checkin-hero h2 { color: #fff; font-size: 18px; margin-bottom: 6px; }
.checkin-hero p { color: rgba(255,255,255,.7); font-size: 12px; }
.qr-box {
  background: #fff; border-radius: 22px;
  padding: 22px;
  margin: -18px 20px 0;
  position: relative; z-index: 2;
  box-shadow: 0 24px 40px -20px rgba(0,0,0,.18);
  text-align: center;
}
.qr-img {
  width: 200px; height: 200px;
  margin: 0 auto 16px;
  background:
    repeating-conic-gradient(var(--navy-800) 0% 25%, #fff 25% 50%) 0 0/24px 24px;
  border-radius: 16px;
  border: 6px solid var(--navy-800);
  position: relative;
  display: grid; place-items: center;
}
.qr-img::after {
  content: ''; position: absolute; inset: 16px;
  background:
    radial-gradient(circle at 20% 20%, var(--navy-800) 8%, transparent 9%) 0 0,
    radial-gradient(circle at 80% 20%, var(--navy-800) 8%, transparent 9%) 0 0,
    radial-gradient(circle at 20% 80%, var(--navy-800) 8%, transparent 9%) 0 0,
    repeating-linear-gradient(90deg, var(--navy-800) 0 6px, transparent 6px 12px),
    repeating-linear-gradient(0deg, var(--navy-800) 0 6px, transparent 6px 12px),
    #fff;
  background-size: 100% 100%;
  border-radius: 8px;
  mask: radial-gradient(circle, transparent 14%, #000 15%);
}
.qr-corner {
  position: absolute;
  width: 22px; height: 22px;
  border: 4px solid var(--gold-500);
}
.qr-corner.tl { top: -6px; left: -6px; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.qr-corner.tr { top: -6px; right: -6px; border-left: 0; border-bottom: 0; border-radius: 0 6px 0 0; }
.qr-corner.bl { bottom: -6px; left: -6px; border-right: 0; border-top: 0; border-radius: 0 0 0 6px; }
.qr-corner.br { bottom: -6px; right: -6px; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }

.code-input {
  display: flex; justify-content: center; gap: 8px;
  margin-bottom: 16px;
}
.code-input input {
  width: 44px; height: 52px;
  border: 2px solid var(--border);
  border-radius: 12px;
  text-align: center;
  font-size: 22px; font-weight: 700;
  color: var(--navy-800);
  background: #fff;
}
.code-input input:focus { outline: none; border-color: var(--gold-500); }

/* progress / level page */
.profile-hero {
  background: var(--grad-navy);
  color: #fff;
  padding: 22px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.profile-hero::before {
  content: ''; position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, var(--gold-500), transparent 70%);
  opacity: .25;
}
.profile-hero .av-big {
  width: 84px; height: 84px;
  margin: 8px auto 12px;
  border-radius: 24px;
  background: var(--grad-gold);
  display: grid; place-items: center;
  color: var(--navy-800); font-weight: 800; font-size: 28px;
  border: 3px solid rgba(255,255,255,.3);
}
.profile-hero h2 { color: #fff; font-size: 18px; margin-bottom: 4px; }
.profile-hero .id-tag { color: rgba(255,255,255,.6); font-size: 11px; }

.lvl-card {
  margin: -56px 20px 16px;
  background: #fff;
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 24px 48px -24px rgba(0,0,0,.2);
  position: relative; z-index: 2;
  overflow: hidden;
}
.lvl-card::after {
  content: ''; position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, var(--gold-100), transparent);
}
.lvl-card .grid { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.lvl-card .it { padding: 6px 0; text-align: center; border-right: 1px solid var(--border-2); }
.lvl-card .it:last-child { border-right: 0; }
.lvl-card .v { font-size: 18px; font-weight: 800; }
.lvl-card .l { font-size: 10.5px; color: var(--text-2); margin-top: 2px; }

.history-list { display: flex; flex-direction: column; gap: 10px; }
.history-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border);
}
.history-item .dot {
  width: 38px; height: 38px;
  border-radius: 12px;
  display: grid; place-items: center;
  flex-shrink: 0;
  background: var(--success-bg);
  color: #047857;
}
.history-item .dot.late { background: var(--warn-bg); color: #92400e; }
.history-item .dot.miss { background: var(--danger-bg); color: #991b1b; }
.history-item .info { flex: 1; min-width: 0; }
.history-item .nm { font-size: 13px; font-weight: 700; }
.history-item .dt { font-size: 11px; color: var(--text-2); }
.history-item .pts { font-size: 13px; font-weight: 800; color: var(--gold-600); }

/* leaderboard */
.podium {
  display: grid; grid-template-columns: 1fr 1.2fr 1fr;
  align-items: end;
  padding: 24px 20px 12px;
  background: var(--grad-navy);
  position: relative;
  overflow: hidden;
}
.podium::before {
  content: ''; position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--gold-500) 0%, transparent 60%);
  opacity: .2;
}
.podium .col {
  position: relative; z-index: 2;
  text-align: center;
}
.podium .av {
  width: 56px; height: 56px;
  margin: 0 auto 8px;
  border-radius: 16px;
  background: var(--grad-gold);
  display: grid; place-items: center;
  color: var(--navy-800); font-weight: 800;
  border: 3px solid rgba(255,255,255,.3);
}
.podium .col.first .av { width: 72px; height: 72px; font-size: 22px; }
.podium .nm { color: #fff; font-size: 12px; font-weight: 700; }
.podium .pts { color: var(--gold-400); font-size: 11px; font-weight: 700; margin-top: 2px; }
.podium .crown {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  font-size: 22px;
}
.podium .pillar {
  height: 60px;
  background: rgba(255,255,255,.06);
  margin-top: 12px;
  border-radius: 12px 12px 0 0;
  display: grid; place-items: center;
  color: rgba(255,255,255,.4);
  font-size: 22px; font-weight: 800;
  border: 1px solid rgba(255,255,255,.08);
  border-bottom: none;
}
.podium .col.first .pillar { height: 90px; background: rgba(212,175,55,.18); border-color: var(--gold-500); color: var(--gold-300); }
.podium .col.second .pillar { height: 70px; }

.lb-list { padding: 16px 20px; display: flex; flex-direction: column; gap: 8px; }
.lb-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
}
.lb-item.me { background: var(--navy-50); border-color: var(--navy-500); }
.lb-item .rk { width: 26px; font-weight: 800; color: var(--text-3); text-align: center; }
.lb-item .av {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--grad-navy); color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: 12px;
}
.lb-item .nm { flex: 1; font-size: 13px; font-weight: 700; }
.lb-item .nm .lvl { font-size: 10.5px; color: var(--text-2); font-weight: 500; margin-top: 2px; }
.lb-item .pts { font-size: 13px; font-weight: 800; color: var(--gold-600); }

/* prizes */
.prize-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 20px; }
.prize-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all .15s;
}
.prize-card:hover { border-color: var(--gold-500); transform: translateY(-2px); }
.prize-card .img {
  height: 110px;
  background-size: cover; background-position: center;
  position: relative;
}
.prize-card .img .save {
  position: absolute; top: 8px; right: 8px;
  width: 28px; height: 28px;
  background: rgba(255,255,255,.95);
  border-radius: 8px;
  display: grid; place-items: center;
  color: var(--text-2);
}
.prize-card .body { padding: 10px 12px; }
.prize-card h4 { font-size: 12.5px; font-weight: 700; line-height: 1.3; margin-bottom: 6px; min-height: 32px; }
.prize-card .pts {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px;
}
.prize-card .pts strong { color: var(--gold-600); font-size: 13px; font-weight: 800; }

/* lms */
.course-card {
  display: flex; gap: 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 12px;
}
.course-card .thumb {
  width: 90px; height: 90px;
  border-radius: 12px;
  flex-shrink: 0;
  background-size: cover;
}
.course-card .info { flex: 1; min-width: 0; }
.course-card .info h4 { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.course-card .info .meta { font-size: 11px; color: var(--text-2); margin-bottom: 8px; }
.course-card .progress-bar {
  height: 6px; background: var(--bg);
  border-radius: 999px; overflow: hidden;
  margin-bottom: 4px;
}
.course-card .progress-bar > div { height: 100%; background: var(--grad-navy); border-radius: 999px; }
.course-card .pp { font-size: 10.5px; color: var(--text-2); }

/* notification dot */
.float-msg {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: 100px;
  background: var(--navy-800); color: #fff;
  padding: 12px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  display: none;
  animation: slideUp .3s ease;
}
.float-msg.show { display: flex; align-items: center; gap: 8px; }
.float-msg.show.success { background: var(--success); }
.float-msg.show.gold { background: var(--gold-500); color: var(--navy-800); }
@keyframes slideUp { from { opacity: 0; transform: translate(-50%, 20px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* role switcher button (top right of phone frame) */
.role-switch {
  position: fixed; top: 20px; right: 20px;
  z-index: 100;
  display: flex; gap: 8px;
  background: rgba(255,255,255,.1);
  padding: 6px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
}
.role-switch a {
  padding: 6px 14px;
  font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,.7);
  border-radius: 999px;
}
.role-switch a:hover { color: #fff; }
.role-switch a.active { background: var(--gold-500); color: var(--navy-800); }
