/* Medical Awareness — identity from the logo: navy field, gold "MEDICAL", sky heartbeat, white "AWARENESS".
   Light and dark themes share one set of tokens. */
:root {
  color-scheme: light;
  --navy-950: #050f24;
  --navy-900: #0a1c3f;
  --navy-800: #11305f;
  --navy-700: #1b4178;
  --navy-600: #245293;
  --gold-300: #ffe18c;
  --gold-400: #f6cf5a;
  --gold-500: #e9b73a;
  --gold-600: #c99623;
  --sky-300: #93d5ff;
  --sky-400: #4cb4f5;
  --sky-500: #2397e6;

  --bg: #f5f8fd;
  --panel: #ffffff;
  --panel-2: #edf2fa;
  --panel-3: #e3eaf6;
  --line: #e1e8f3;
  --line-strong: #cbd6e8;
  --ink: #0b1c3c;
  --dim: #56688a;
  --brand: var(--navy-700);
  --on-brand: #fff;
  --link: var(--sky-500);
  --hero: radial-gradient(700px 420px at 100% 0%, rgba(76,180,245,.28), transparent 60%), radial-gradient(600px 420px at 0% 100%, rgba(233,183,58,.18), transparent 60%), linear-gradient(150deg, #071634, #12336a 60%, #1b4178);
  --shadow: 0 1px 2px rgba(10,28,63,.05), 0 18px 44px -24px rgba(10,28,63,.35);
  --shadow-lg: 0 30px 60px -28px rgba(10,28,63,.45);
  --gold-grad: linear-gradient(180deg, var(--gold-300), var(--gold-400) 45%, var(--gold-600));
  --radius: 30px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --spring: cubic-bezier(.2, 1.4, .4, 1);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --body: 'Readex Pro', 'Manrope', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  --display: 'Readex Pro', system-ui, sans-serif;
  --latin: 'Manrope', 'Readex Pro', system-ui, sans-serif;
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #040b19;
  --panel: #0a1630;
  --panel-2: #0f1f3f;
  --panel-3: #15284d;
  --line: #172a4e;
  --line-strong: #263d68;
  --ink: #edf3fc;
  --dim: #9db0d0;
  --brand: var(--gold-400);
  --on-brand: var(--navy-950);
  --link: var(--sky-300);
  --hero: radial-gradient(700px 420px at 100% 0%, rgba(76,180,245,.22), transparent 60%), radial-gradient(600px 420px at 0% 100%, rgba(233,183,58,.12), transparent 60%), linear-gradient(150deg, #030a1a, #0a1f45 60%, #122f60);
  --shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 20px 50px -26px #000;
  --shadow-lg: 0 30px 60px -24px #000;
}
:lang(en) { --body: 'Manrope', 'Readex Pro', system-ui, sans-serif; --display: 'Unbounded', 'Manrope', system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16.5px/1.75 var(--body); overflow-x: hidden; transition: background .35s, color .35s; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; line-height: 1.3; }
:lang(en) h1, :lang(en) h2 { font-weight: 800; letter-spacing: -.02em; line-height: 1.12; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--sky-400); outline-offset: 3px; border-radius: 8px; }
.i { width: 20px; height: 20px; flex: none; }
.wrap { width: min(1280px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: -999px; }
.skip:focus { inset-inline-start: 12px; top: 12px; z-index: 100; background: var(--gold-400); color: var(--navy-950); padding: 8px 14px; border-radius: 10px; font-weight: 700; }
.latin { font-family: var(--latin); direction: ltr; unicode-bidi: isolate; }
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 80; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--sky-400), var(--gold-400)); }
html[dir='rtl'] .progress { transform-origin: 100% 50%; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: 16px; border: 0;
  font: 600 15.5px/1.3 var(--body); white-space: nowrap; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .2s var(--spring), box-shadow .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn .i { transition: transform .25s var(--spring); }
.btn:hover .i.arrow { transform: translateX(4px); }
html[dir='rtl'] .btn .i.arrow { transform: scaleX(-1); }
html[dir='rtl'] .btn:hover .i.arrow { transform: scaleX(-1) translateX(4px); }
.btn::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn-gold { background: var(--gold-grad); color: var(--navy-950); box-shadow: 0 14px 30px -14px rgba(233,183,58,.8), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-brand { background: var(--brand); color: var(--on-brand); box-shadow: 0 12px 26px -14px rgba(10,28,63,.6); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-soft { background: var(--panel-2); color: var(--ink); }
.btn-soft:hover { background: var(--panel-3); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-danger { background: rgba(217,64,43,.1); color: #e0533f; }
.btn-discord { background: #5865f2; color: #fff; }
.btn-google { background: #fff; color: #1f1f1f; box-shadow: inset 0 0 0 1px #dadce0; }
.btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 12px; }
.btn-lg { padding: 16px 28px; font-size: 16.5px; border-radius: 18px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; border: 0; background: transparent; color: var(--ink); transition: background .15s, transform .25s var(--spring); }
.icon-btn:hover { background: var(--panel-2); }
.icon-btn:active { transform: scale(.9); }
.soon-badge { font-size: 11px; background: #eef1f6; color: #5d6b82; padding: 2px 8px; border-radius: 999px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(0,0,0,.4); }
.nav-in { display: flex; align-items: center; gap: 14px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 11px; direction: ltr; }
.brand img { width: 44px; height: 44px; border-radius: 13px; box-shadow: 0 0 0 1px var(--line); transition: transform .4s var(--spring); }
.brand:hover img { transform: rotate(-8deg) scale(1.07); }
.brand-txt { display: flex; flex-direction: column; line-height: 1.02; font-family: var(--latin); }
.brand-txt b { font-size: 15px; font-weight: 800; letter-spacing: .1em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-txt span { font-size: 10.5px; letter-spacing: .3em; color: var(--dim); font-weight: 700; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0 auto; padding: 4px; border-radius: 16px; background: var(--panel-2); }
.nav-links a { display: block; padding: 7px 14px; border-radius: 12px; font-size: 14.5px; font-weight: 500; color: var(--dim); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--ink); background: var(--panel); }
.nav-end { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
@media (min-width: 961px) { .nav-links + .nav-end { margin-inline-start: 0; } }
.lang-btn { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 14px; border: 0; background: var(--panel-2); font: 700 14px var(--latin); color: var(--ink); transition: background .2s, transform .25s var(--spring); }
.lang-btn:hover { background: var(--panel-3); }
.lang-btn:active { transform: scale(.92); }
.theme-btn { background: var(--panel-2); }
.theme-btn .sun, :root[data-theme='dark'] .theme-btn .moon { display: none; }
:root[data-theme='dark'] .theme-btn .sun { display: block; }
.theme-btn .i { animation: spin-in .5s var(--spring); }
@keyframes spin-in { from { transform: rotate(-90deg) scale(.4); opacity: 0; } }
.user-chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px; padding-inline-end: 14px; border-radius: 999px; background: var(--panel-2); font-weight: 600; font-size: 14px; transition: background .2s; }
.user-chip:hover { background: var(--panel-3); }
.user-chip img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.menu-btn { display: none; background: var(--panel-2); }
.mobile-menu { display: none; }

/* ---------- hero (bento) ---------- */
.bento { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 16px; padding-top: 22px; }
.hero-panel { grid-row: 1 / 3; position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius); background: var(--hero); color: #fff; padding: clamp(28px, 4.4vw, 56px); min-height: 560px; display: flex; flex-direction: column; justify-content: center; }
.hero-panel::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%); }
.hero-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 9px; padding: 6px 15px; border-radius: 99px; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); font-size: 13.5px; font-weight: 600; color: var(--sky-300); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--sky-400); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(76,180,245,.7); } 70% { box-shadow: 0 0 0 10px rgba(76,180,245,0); } 100% { box-shadow: 0 0 0 0 rgba(76,180,245,0); } }
.hero-panel h1 { font-size: clamp(34px, 5vw, 64px); margin: 22px 0 18px; max-width: 13em; }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rotator { display: block; color: var(--sky-400); min-height: 1.3em; perspective: 700px; }
.rotator span { display: inline-block; transform-origin: 50% 80%; transition: transform .38s cubic-bezier(.5, 0, .75, 0), opacity .38s; }
.rotator .flip-out { transform: rotateX(90deg); opacity: 0; }
.rotator .flip-in { transform: rotateX(-90deg); opacity: 0; transition: none; }
.hero-panel .lead { font-size: clamp(16px, 1.6vw, 19px); color: #c5d5f0; max-width: 34em; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.ecg { position: absolute; inset-inline: 0; bottom: 18px; width: 100%; height: 120px; z-index: -1; pointer-events: none; }
.ecg path { fill: none; stroke: var(--sky-400); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(76,180,245,.9)); stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: draw 4.5s ease-in-out infinite; }
@keyframes draw { 0% { stroke-dashoffset: 2600; opacity: 1; } 70% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.particles { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.particles i { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); opacity: 0; animation: drift var(--d) linear infinite; animation-delay: var(--delay); }
.particles i::before, .particles i::after { content: ''; position: absolute; background: currentColor; border-radius: 2px; }
.particles i::before { inset: 35% 0; }
.particles i::after { inset: 0 35%; }
.particles i:nth-child(odd) { color: rgba(147,213,255,.5); }
.particles i:nth-child(even) { color: rgba(246,207,90,.45); }
@keyframes drift { 0% { transform: translateY(30px) rotate(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(-160px) rotate(180deg); opacity: 0; } }

.side-card { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 22px; transition: transform .3s var(--spring), box-shadow .3s; }
.side-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.logo-card { display: grid; place-items: center; padding: 0; background: #224475; border: 0; min-height: 272px; perspective: 900px; }
.logo-card img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 6% 8%; object-fit: contain; transition: transform .2s ease-out; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(1.02); }
.logo-card::after { content: ''; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.18), transparent 45%); pointer-events: none; }
.stats-card { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: center; }
.stat { padding: 16px; border-radius: 18px; background: var(--panel-2); transition: transform .3s var(--spring), background .2s; }
.stat:hover { transform: translateY(-3px) rotate(-1deg); background: var(--panel-3); }
.stat b { display: block; font: 800 28px/1.1 var(--latin); direction: ltr; color: var(--ink); }
html[dir='rtl'] .stat b { text-align: right; }
.stat span { font-size: 13px; color: var(--dim); }
.stat.wide { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; background: linear-gradient(120deg, color-mix(in srgb, var(--gold-400) 22%, transparent), color-mix(in srgb, var(--sky-400) 14%, transparent)); }
.stat.wide b { font: 600 15px/1.4 var(--body); direction: inherit; }
.stat.wide .ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--gold-grad); color: var(--navy-950); flex: none; }

/* marquee of topics */
.marquee { margin-top: 16px; border-radius: var(--radius-md); background: var(--panel); border: 1px solid var(--line); overflow: hidden; padding: 14px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 40s linear infinite; }
html[dir='rtl'] .marquee-track { animation-name: marquee-rtl; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 99px; background: var(--panel-2); font-size: 14px; font-weight: 500; white-space: nowrap; }
.marquee span::before { content: '✚'; color: var(--sky-500); font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* ---------- sections ---------- */
.section { padding-top: 96px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--link); font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.kicker .i { width: 18px; height: 18px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 44px); max-width: 18em; }
.section-head p { color: var(--dim); font-size: 17px; max-width: 36em; margin-top: 8px; }

/* about bento */
.about { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; }
.card { position: relative; overflow: hidden; border-radius: var(--radius-md); background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 28px; transition: transform .35s var(--spring), box-shadow .3s, border-color .3s; }
.card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, -100px) var(--my, -100px), color-mix(in srgb, var(--sky-400) 14%, transparent), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover::before { opacity: 1; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--sky-400) 35%, var(--line)); }
.card h3 { font-size: 20px; margin: 4px 0 8px; }
.card p { color: var(--dim); font-size: 15.5px; }
.about .mission { grid-row: span 2; background: var(--hero); color: #fff; border: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.about .mission p { color: #c5d5f0; font-size: 17px; }
.about .mission blockquote { margin: 0; font: 600 clamp(20px, 2vw, 26px)/1.5 var(--display); }
.about .mission blockquote::before { content: '“'; display: block; font: 800 64px/0.6 Georgia, serif; color: var(--gold-400); margin-bottom: 8px; }
.ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 14px; color: #fff; background: linear-gradient(135deg, var(--navy-600), var(--navy-900)); box-shadow: 0 12px 24px -12px rgba(17,48,95,.8); transition: transform .45s var(--spring); }
.ico .i { width: 26px; height: 26px; }
.card:hover .ico, .tile:hover .ico { transform: rotate(-8deg) scale(1.1); }
.ico.gold { background: var(--gold-grad); color: var(--navy-950); box-shadow: 0 12px 24px -12px rgba(233,183,58,.8); }
.ico.sky { background: linear-gradient(135deg, var(--sky-400), var(--sky-500)); }
.ico.rose { background: linear-gradient(135deg, #f472b6, #db2777); }
.ico.green { background: linear-gradient(135deg, #34d399, #059669); }
.ico.violet { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.ico.navy { background: linear-gradient(135deg, var(--navy-600), var(--navy-900)); }
:root[data-theme='dark'] .ico.navy { background: linear-gradient(135deg, #2c62ad, #15346a); }

/* services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.services .card .tag { display: inline-block; margin-top: 16px; font: 600 12.5px var(--latin); color: var(--link); background: color-mix(in srgb, var(--sky-400) 12%, transparent); padding: 4px 12px; border-radius: 99px; }

/* media */
.media { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 16px; }
.video { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius-md); overflow: hidden; background: #000; aspect-ratio: 16 / 9; color: #fff; text-align: start; box-shadow: var(--shadow); transition: transform .35s var(--spring), box-shadow .3s; }
.video.big { grid-row: span 2; aspect-ratio: auto; min-height: 100%; }
.video:hover { transform: translateY(-4px) scale(1.01); box-shadow: var(--shadow-lg); }
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .3s; opacity: .85; }
.video:hover img { transform: scale(1.07); opacity: 1; }
.video::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,15,36,.95), rgba(5,15,36,.05) 60%); z-index: 1; }
.video .meta { position: absolute; inset: auto 0 0 0; padding: 16px 18px; z-index: 2; }
.video small { display: inline-block; font-size: 12px; font-weight: 700; color: var(--navy-950); background: var(--gold-400); padding: 2px 10px; border-radius: 99px; margin-bottom: 6px; }
.video b { display: block; font-size: 15px; line-height: 1.5; font-weight: 600; }
.video.big b { font-size: 21px; }
.play { position: absolute; z-index: 2; top: 50%; left: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); transition: transform .35s var(--spring), background .25s, color .25s; }
.play .i { width: 24px; height: 24px; margin-left: 3px; }
.video:hover .play { transform: scale(1.15); background: var(--gold-400); color: var(--navy-950); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.yt-card { display: grid; place-items: center; text-align: center; background: var(--hero); padding: 16px; }
.yt-card::before { display: none; }

/* calendar */
.cal { display: grid; grid-template-columns: .9fr 1.1fr; gap: 16px; }
.next-day { border-radius: var(--radius); padding: 32px; color: #fff; background: var(--hero); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.next-day .label { color: var(--gold-400); font-weight: 600; font-size: 14px; }
.next-day h3 { font-size: clamp(24px, 2.6vw, 32px); margin: 8px 0 4px; }
.next-day p { color: #c5d5f0; margin-bottom: 26px; }
.countdown { display: flex; gap: 10px; margin-top: auto; }
.countdown div { flex: 1; text-align: center; padding: 14px 6px; border-radius: 16px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.countdown b { display: block; font: 800 30px/1.1 var(--latin); }
.countdown span { font-size: 13px; color: #a9bcdf; }
.cal-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cal-list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--panel); border-radius: var(--radius-sm); border: 1px solid var(--line); transition: transform .3s var(--spring); }
.cal-list li:hover { transform: translateX(-4px); }
html[dir='ltr'] .cal-list li:hover { transform: translateX(4px); }
.cal-list li.past { opacity: .5; }
.cal-list li.soon { border-color: var(--gold-500); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold-400) 22%, transparent); }
.date-pill { flex: none; width: 52px; text-align: center; border-radius: 12px; background: var(--panel-2); padding: 5px 0; font-family: var(--latin); }
.date-pill b { display: block; font-size: 19px; line-height: 1.1; }
.date-pill span { font-size: 11px; color: var(--dim); }
.cal-list strong { font-size: 14.5px; display: block; line-height: 1.4; font-weight: 600; }
.cal-list small { color: var(--dim); font-size: 12.5px; }

/* join band */
.join-band { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius); background: var(--hero); color: #fff; padding: clamp(28px, 5vw, 60px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; }
.join-band h2 { font-size: clamp(28px, 3.4vw, 42px); }
.join-band > div > p { color: #c5d5f0; margin-top: 10px; font-size: 17px; }
.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; counter-reset: s; }
.steps li { display: flex; gap: 12px; align-items: center; color: #dbe6f8; }
.steps li::before { counter-increment: s; content: counter(s); flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font: 800 15px var(--latin); color: var(--navy-950); background: var(--gold-grad); }
.auth-box { background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); backdrop-filter: blur(10px); border-radius: var(--radius-md); padding: 24px; display: grid; gap: 12px; }
.auth-box h3 { font-size: 19px; }
.auth-box p { font-size: 14.5px; margin: 0 0 6px; color: #c5d5f0; }

/* faq + contact */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 20px; margin-bottom: 10px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: color-mix(in srgb, var(--sky-400) 40%, var(--line)); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 17px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--link); transition: transform .3s var(--spring); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { margin: 0 0 18px; color: var(--dim); animation: rise .4s var(--ease); }
.form { display: grid; gap: 14px; }
.form label, .fld { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input, textarea, select { width: 100%; font: inherit; font-size: 15.5px; font-weight: 400; padding: 12px 14px; min-height: 48px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: var(--panel); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--sky-500); box-shadow: 0 0 0 4px color-mix(in srgb, var(--sky-400) 22%, transparent); }
input[type='checkbox'], input[type='radio'] { width: 18px; height: 18px; min-height: 0; accent-color: var(--sky-500); padding: 0; flex: none; }
.hp { position: absolute; inset-inline-start: -9999px; }
.note { font-size: 14px; min-height: 22px; }
.note.ok { color: #12a05a; }
.note.err { color: #e0533f; }
.disclaimer { display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--gold-400) 14%, transparent); border: 1px solid color-mix(in srgb, var(--gold-500) 40%, transparent); font-size: 14.5px; }
.disclaimer .i { color: var(--gold-600); margin-top: 3px; }

/* footer with platforms */
.footer { margin-top: 96px; background: var(--navy-950); color: #a9bcdf; padding: 60px 0 26px; position: relative; overflow: hidden; isolation: isolate; }
.footer .ecg { opacity: .22; top: 0; bottom: auto; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; position: relative; }
.footer h4 { color: #fff; margin: 0 0 14px; font-size: 15px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a:hover { color: var(--gold-400); }
.footer .brand-txt span { color: #8ea3c9; }
.footer p { margin-top: 14px; max-width: 360px; font-size: 14.5px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.socials a { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: #dbe6f8; transition: transform .35s var(--spring), background .2s, color .2s; }
.socials a:hover { transform: translateY(-4px) rotate(-6deg); background: var(--gold-400); color: var(--navy-950); }
.socials .i { width: 20px; height: 20px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13.5px; }

/* ---------- motion helpers ---------- */
.rise { opacity: 0; transform: translateY(22px); animation: rise .8s var(--ease) forwards; }
.rise-2 { animation-delay: .1s; } .rise-3 { animation-delay: .2s; } .rise-4 { animation-delay: .3s; } .rise-5 { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.pop { animation: pop-in .8s var(--spring) both; }
.pop-2 { animation-delay: .15s; } .pop-3 { animation-delay: .3s; }
@keyframes pop-in { from { opacity: 0; transform: translateY(24px) scale(.92); } }
.reveal { opacity: 0; transform: translateY(28px) scale(.98); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.in { opacity: 1; transform: none; }
.reveal.in.card:hover, .reveal.in.tile:hover { transition-delay: 0s; }
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: page-out .2s ease both; }
::view-transition-new(root) { animation: page-in .36s var(--ease) both; }
@keyframes page-out { to { opacity: 0; transform: scale(.99); } }
@keyframes page-in { from { opacity: 0; transform: translateY(14px); } }

/* ---------- inner pages ---------- */
.page-head { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius); background: var(--hero); color: #fff; padding: clamp(28px, 4vw, 48px); margin-top: 22px; }
.page-head h1 { font-size: clamp(28px, 3.6vw, 42px); }
.page-head p { color: #c5d5f0; margin-top: 8px; max-width: 40em; }
.page-head .ecg { height: 90px; opacity: .55; bottom: 0; }
.page-body { padding: 22px 0 40px; }

/* apply: icon tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: start; padding: 24px; border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow); transition: transform .35s var(--spring), box-shadow .3s, border-color .3s; min-height: 210px; width: 100%; }
.tile:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--sky-400) 40%, var(--line)); }
.tile .ico { width: 64px; height: 64px; border-radius: 20px; }
.tile .ico .i { width: 30px; height: 30px; }
.tile b { font-size: 17px; line-height: 1.45; font-weight: 600; }
.tile small { color: var(--dim); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile .state { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 4px 11px; border-radius: 99px; }
.state.open { background: rgba(18,160,90,.12); color: #12a05a; }
.state.closed { background: var(--panel-2); color: var(--dim); }
.state.open::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse-g 1.8s infinite; }
@keyframes pulse-g { 50% { box-shadow: 0 0 0 5px rgba(18,160,90,.18); } }
.tile.locked .ico { filter: grayscale(.85); opacity: .6; }
.tile .mine { position: absolute; top: 16px; inset-inline-end: 16px; }
.empty { text-align: center; color: var(--dim); padding: 50px 20px; border: 2px dashed var(--line); border-radius: var(--radius-md); }

/* dialog */
dialog.sheet { width: min(680px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 28px; background: var(--panel); color: var(--ink); box-shadow: 0 40px 100px -30px rgba(0,0,0,.6); overflow: hidden; }
dialog.sheet[open] { animation: sheet-in .5s var(--spring); }
dialog.sheet::backdrop { background: rgba(3,10,25,.6); backdrop-filter: blur(6px); animation: fade .3s; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(40px) scale(.94); } }
@keyframes fade { from { opacity: 0; } }
.sheet-head { position: relative; padding: 26px 26px 20px; background: var(--hero); color: #fff; display: flex; gap: 16px; align-items: center; }
.sheet-head .ico { margin: 0; flex: none; }
.sheet-head h2 { font-size: 21px; padding-inline-end: 36px; }
.sheet-head p { color: #c5d5f0; font-size: 14px; margin-top: 4px; white-space: pre-line; }
.sheet-head .icon-btn { position: absolute; top: 12px; inset-inline-end: 12px; color: #fff; }
.sheet-head .icon-btn:hover { background: rgba(255,255,255,.12); }
.sheet-body { padding: 22px 26px 26px; overflow-y: auto; max-height: calc(100dvh - 200px); }
.q { padding: 16px; border-radius: 18px; background: var(--panel-2); display: grid; gap: 8px; animation: rise .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 50ms); }
.q > span { font-weight: 600; font-size: 15px; }
.q > span em { color: #e0533f; font-style: normal; }
.q .help { color: var(--dim); font-size: 13px; font-weight: 400; display: block; }
.q.bad { box-shadow: inset 0 0 0 2px #e0533f; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; background: var(--panel); border: 1.5px solid var(--line-strong); cursor: pointer; font-weight: 500; font-size: 14.5px; transition: border-color .2s, background .2s, transform .2s var(--spring); }
.opts label:hover { transform: translateY(-1px); }
.opts label:has(input:checked) { border-color: var(--sky-500); background: color-mix(in srgb, var(--sky-400) 14%, var(--panel)); }
.success { text-align: center; padding: 30px 10px; }
.success .check { width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: rgba(18,160,90,.12); color: #12a05a; animation: pop-in .6s var(--spring); }
.success .check svg { width: 42px; height: 42px; stroke-dasharray: 40; stroke-dashoffset: 40; animation: tick .5s .25s ease forwards; }
@keyframes tick { to { stroke-dashoffset: 0; } }

/* status pills */
.status { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; padding: 4px 12px; border-radius: 999px; font-size: 13px; white-space: nowrap; }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.pending { background: color-mix(in srgb, var(--gold-400) 20%, transparent); color: #b7860b; }
:root[data-theme='dark'] .status.pending { color: var(--gold-300); }
.status.accepted { background: rgba(18,160,90,.12); color: #12a05a; }
.status.rejected { background: rgba(224,83,63,.12); color: #e0533f; }

/* login */
.auth-shell { min-height: calc(100vh - 76px); display: grid; place-items: center; padding: 30px 16px 60px; }
.auth-card { width: min(440px, 100%); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 38px 30px; box-shadow: var(--shadow-lg); text-align: center; }
.auth-card .logo { width: 96px; height: 96px; border-radius: 26px; margin: 0 auto 18px; box-shadow: 0 18px 34px -16px rgba(10,28,63,.7); animation: pop-in .8s var(--spring); }
.auth-card h1 { font-size: 24px; }
.auth-card > p { color: var(--dim); margin: 6px 0 24px; }
.auth-card .fine { font-size: 13px; color: var(--dim); margin-top: 20px; }
.auth-btns { display: grid; gap: 10px; }
.alert { padding: 12px 14px; border-radius: 12px; font-size: 14px; margin-bottom: 16px; background: rgba(224,83,63,.12); color: #e0533f; }

/* account */
.dash { display: grid; grid-template-columns: 320px 1fr; gap: 16px; align-items: start; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow); padding: 24px; }
.panel h3 { font-size: 19px; margin-bottom: 4px; }
.panel .sub { color: var(--dim); font-size: 14.5px; margin-bottom: 18px; }
.profile { text-align: center; }
.profile img { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 12px; object-fit: cover; box-shadow: 0 0 0 4px var(--panel), 0 0 0 6px var(--gold-400); }
.profile h2 { font-size: 21px; }
.via { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; color: var(--dim); background: var(--panel-2); padding: 4px 12px; border-radius: 99px; }
.via .i { width: 14px; height: 14px; }
.kv { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; font-size: 14px; text-align: start; }
.kv li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.kv span { color: var(--dim); }
.kv b { font-weight: 600; word-break: break-all; text-align: end; }
.list { display: grid; gap: 10px; }
.row-item { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 18px; background: var(--panel-2); transition: transform .3s var(--spring); }
.row-item:hover { transform: translateX(-3px); }
.row-item .ico { width: 46px; height: 46px; border-radius: 14px; margin: 0; }
.row-item .ico .i { width: 22px; height: 22px; }
.row-item .grow { flex: 1; min-width: 0; }
.row-item b { display: block; font-weight: 600; }
.row-item small { color: var(--dim); font-size: 13px; }

/* admin */
.admin-tabs { display: flex; gap: 6px; padding: 5px; border-radius: 16px; background: var(--panel-2); overflow-x: auto; margin-bottom: 16px; scrollbar-width: none; }
.admin-tabs button { border: 0; background: transparent; padding: 9px 16px; border-radius: 12px; font-weight: 600; font-size: 14.5px; color: var(--dim); white-space: nowrap; transition: background .2s, color .2s; }
.admin-tabs button.active { background: var(--panel); color: var(--ink); box-shadow: var(--shadow); }
.admin-tabs .count { font: 700 12px var(--latin); background: var(--panel-3); padding: 1px 7px; border-radius: 99px; margin-inline-start: 4px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.form-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.fcard { display: flex; flex-direction: column; gap: 12px; }
.fcard-top { display: flex; gap: 12px; align-items: center; }
.fcard-top .ico { margin: 0; width: 50px; height: 50px; flex: none; }
.fcard-top b { display: block; font-weight: 600; line-height: 1.4; }
.fcard-top small { color: var(--dim); font: 500 12.5px var(--latin); direction: ltr; display: block; text-align: start; }
html[dir='rtl'] .fcard-top small { text-align: right; }
.fcard-meta { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--dim); }
.fcard-meta span { background: var(--panel-2); padding: 3px 10px; border-radius: 99px; }
.fcard-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.switch, .form .switch { position: relative; display: inline-flex; justify-self: start; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; font-size: 14px; }
.switch input { appearance: none; -webkit-appearance: none; width: 46px; height: 26px; min-height: 0; border-radius: 99px; background: var(--line-strong); border: 0; padding: 0; position: relative; cursor: pointer; transition: background .25s; flex: none; }
.switch input::after { content: ''; position: absolute; top: 3px; inset-inline-start: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.25); transition: inset-inline-start .3s var(--spring); }
.switch input:checked { background: #12a05a; }
.switch input:checked::after { inset-inline-start: 23px; }
.switch input:focus { box-shadow: 0 0 0 4px color-mix(in srgb, var(--sky-400) 22%, transparent); }
.builder { display: grid; grid-template-columns: 1fr 340px; gap: 16px; align-items: start; }
.builder aside { position: sticky; top: 92px; display: grid; gap: 16px; }
.field-list { display: grid; gap: 10px; }
.field-card { border: 1px solid var(--line); border-radius: 18px; padding: 14px; background: var(--panel-2); display: grid; gap: 10px; animation: pop-in .45s var(--spring); }
.field-card .fc-top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.field-card .fc-top select { width: auto; min-width: 150px; flex: none; }
.field-card .fc-top .grow { flex: 1; min-width: 160px; }
.field-card .fc-tools { display: flex; gap: 4px; align-items: center; }
.field-card .fc-tools .icon-btn { width: 36px; height: 36px; border-radius: 10px; }
.field-card .switch { font-size: 13px; }
.icon-pick { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.icon-pick button { aspect-ratio: 1; border-radius: 12px; border: 1.5px solid var(--line); background: var(--panel-2); display: grid; place-items: center; transition: transform .2s var(--spring), border-color .2s; }
.icon-pick button:hover { transform: scale(1.08); }
.icon-pick button.sel { border-color: var(--sky-500); background: color-mix(in srgb, var(--sky-400) 16%, var(--panel)); }
.color-pick { display: flex; gap: 8px; flex-wrap: wrap; }
.color-pick button { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--panel); box-shadow: 0 0 0 1.5px var(--line-strong); transition: transform .2s var(--spring); }
.color-pick button.sel { box-shadow: 0 0 0 2.5px var(--sky-500); transform: scale(1.1); }
.preview-tile { pointer-events: none; }
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th, table.data td { padding: 11px 12px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data th { color: var(--dim); font-weight: 600; white-space: nowrap; }
table.data img { width: 28px; height: 28px; border-radius: 50%; display: inline-block; vertical-align: middle; margin-inline-end: 6px; }
.resp-list { display: grid; gap: 12px; }
.resp { border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: grid; gap: 12px; background: var(--panel); animation: rise .4s var(--ease) both; }
.resp-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.resp-head img { width: 38px; height: 38px; border-radius: 50%; }
.resp-head .grow { flex: 1; min-width: 0; }
.resp-head small { color: var(--dim); display: block; font-size: 12.5px; }
.resp dl { margin: 0; display: grid; grid-template-columns: minmax(120px, 220px) 1fr; gap: 6px 14px; font-size: 14px; }
.resp dt { color: var(--dim); }
.resp dd { margin: 0; white-space: pre-wrap; word-break: break-word; }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 99; background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 14px; font-weight: 600; font-size: 14px; box-shadow: var(--shadow-lg); animation: toast .35s var(--spring); }
@keyframes toast { from { opacity: 0; transform: translate(-50%, 16px); } }
.notfound { min-height: calc(100vh - 76px); display: grid; place-items: center; text-align: center; padding: 24px; }
.notfound b { font: 800 120px/1 var(--latin); }
.notfound h1 { margin: 10px 0 20px; }

/* /links page */
.links-page { min-height: 100vh; position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: 20px 16px 140px; background: var(--hero); }
.links-col { width: min(560px, 100%); margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.links-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 8px; }
.links-top .icon-btn, .links-top .lang-btn { color: #fff; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.links-logo { width: 120px; height: 120px; border-radius: 30px; margin: 0 auto 16px; box-shadow: 0 0 0 4px rgba(255,255,255,.08), 0 24px 50px -16px rgba(0,0,0,.6), 0 0 80px -10px rgba(76,180,245,.55); animation: pop-in .8s var(--spring); }
.links-page h1 { font: 800 26px var(--latin); }
.links-bio { color: #c9d8f2; margin: 6px auto 16px; max-width: 420px; }
.links-stats { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.links-stats > span { font-size: 13px; color: #c9d8f2; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); padding: 5px 12px; border-radius: 99px; }
.links-stats b { color: var(--gold-400); font-family: var(--latin); }
.links-list { display: grid; gap: 12px; }
.lk { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 18px; text-align: start; background: rgba(255,255,255,.96); color: var(--navy-900); box-shadow: 0 14px 30px -18px rgba(0,0,0,.7); transition: transform .3s var(--spring), box-shadow .2s; animation: rise .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
.lk:hover { transform: translateY(-3px) scale(1.015); }
.lk-ic { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; background: #edf2fa; color: var(--navy-700); }
.lk-ic svg { width: 24px; height: 24px; }
.lk-tx { flex: 1; min-width: 0; }
.lk-tx b { display: block; font-size: 15.5px; font-weight: 600; line-height: 1.4; }
.lk-tx small { display: block; color: #56688a; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[dir='rtl'] .lk-tx small[dir='ltr'] { text-align: right; }
.lk-go { width: 20px; height: 20px; flex: none; color: #56688a; }
html[dir='rtl'] .lk-go { transform: scaleX(-1); }
.lk.featured { background: var(--gold-grad); }
.lk.featured .lk-ic { background: rgba(5,15,36,.12); color: var(--navy-950); }
.lk.featured small, .lk.featured .lk-go { color: rgba(5,15,36,.7); }
.links-toast { margin: 16px auto 0; display: inline-block; background: rgba(255,255,255,.12); padding: 6px 14px; border-radius: 999px; font-size: 14px; }
.links-foot { color: #8ea3c9; font-size: 13px; margin-top: 30px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav-links a { padding: 7px 10px; font-size: 14px; }
  .about { grid-template-columns: 1fr 1fr; }
  .about .mission { grid-row: auto; grid-column: 1 / -1; }
  .services { grid-template-columns: 1fr 1fr; }
  .builder { grid-template-columns: 1fr; }
  .builder aside { position: static; }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; }
  .mobile-menu { display: grid; position: fixed; inset: 80px 12px auto 12px; z-index: 60; padding: 10px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow-lg); gap: 2px; transform-origin: top; animation: menu-in .3s var(--spring); }
  .mobile-menu a { padding: 13px 14px; border-radius: 14px; font-weight: 500; }
  .mobile-menu a:hover { background: var(--panel-2); }
  .bento { grid-template-columns: 1fr; }
  .hero-panel { grid-row: auto; min-height: 0; padding-bottom: 120px; }
  .logo-card { min-height: 0; aspect-ratio: 16 / 9; }
  .media { grid-template-columns: 1fr 1fr; }
  .video.big { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 9; }
  .cal, .join-band, .two, .dash { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-10px) scale(.97); } }
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .wrap { width: calc(100% - 24px); }
  .brand-txt { display: none; }
  .nav-in { gap: 6px; }
  .nav-end { gap: 4px; }
  .icon-btn, .lang-btn { width: 40px; min-width: 40px; height: 40px; }
  .user-chip span { display: none; }
  .user-chip { padding: 3px; }
  .nav .btn .lbl { display: none; }
  .nav .btn { padding: 10px 11px; }
  .section { padding-top: 70px; }
  .about, .services, .media, .cal-list, .form .row, .foot-grid { grid-template-columns: 1fr; }
  .stat b { font-size: 22px; }
  .countdown b { font-size: 24px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile { padding: 16px; min-height: 180px; }
  .tile .ico { width: 54px; height: 54px; }
  .tile b { font-size: 15px; }
  .resp dl { grid-template-columns: 1fr; }
  .resp dt { margin-top: 6px; }
  .panel, .card { padding: 20px; }
  .sheet-body { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .rise { opacity: 1; transform: none; }
  .ecg path { stroke-dashoffset: 0; }
  .marquee-track { animation: none; }
}

/* =====================================================================
   v3: LTR layout in both languages, mobile sheet, library, event teaser
   ===================================================================== */
/* The page is always laid out left-to-right. Arabic lines still read right-to-left (bidi plaintext)
   but start on the left, same as the team's other sites. */
:where(:lang(ar)) :where(p, li, h1, h2, h3, h4, dt, dd, label, summary, blockquote, td, th) { unicode-bidi: plaintext; text-align: left; }
:is(.auth-card, .empty, .success, .notfound, .links-col, .section-head.center, .profile, .yt-card, .countdown, .ev-hero, .ev-center) :where(p, h1, h2, h3, h4, b, small, span, label) { text-align: center; }
.cal-list li:hover, html[dir='ltr'] .cal-list li:hover { transform: translateX(4px); }
.row-item:hover { transform: translateX(3px); }

/* nav: desktop keeps pills; mobile gets one clean bar + a sheet */
.nav-links a.is-page { color: var(--ink); }
.nav-links a .dot-new { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); margin-inline-start: 6px; vertical-align: middle; animation: pulse-gold 1.8s infinite; }
@keyframes pulse-gold { 50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--gold-400) 30%, transparent); } }
.menu-pill { display: none; align-items: center; gap: 8px; height: 44px; padding: 0 8px 0 14px; border-radius: 99px; border: 0; background: var(--panel-2); color: var(--ink); font-weight: 600; font-size: 14px; }
.menu-pill .bars { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); transition: transform .35s var(--spring); }
.menu-pill[aria-expanded='true'] .bars { transform: rotate(90deg); }
.sheet-menu { position: fixed; inset: 0; z-index: 70; display: none; }
.sheet-menu.open { display: block; }
.sheet-menu .scrim { position: absolute; inset: 0; background: rgba(3,10,25,.45); backdrop-filter: blur(6px); animation: fade .25s; }
.sheet-menu .panel-m { position: absolute; inset: 10px 10px auto 10px; max-height: calc(100dvh - 20px); overflow: auto; border-radius: 28px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 14px; animation: sheet-drop .45s var(--spring); }
@keyframes sheet-drop { from { opacity: 0; transform: translateY(-24px) scale(.97); } }
.panel-m .m-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 12px; }
.m-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.m-grid a { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 18px; background: var(--panel-2); font-weight: 600; font-size: 14.5px; animation: rise .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); transition: transform .25s var(--spring), background .2s; }
.m-grid a:active { transform: scale(.96); }
.m-grid a .ico { width: 38px; height: 38px; border-radius: 12px; margin: 0; }
.m-grid a .ico .i { width: 20px; height: 20px; }
.m-row { display: flex; gap: 8px; margin-top: 10px; }
.m-row > * { flex: 1; height: 48px; border-radius: 16px; }
.m-row .lang-btn, .m-row .theme-btn { width: auto; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; }
.m-cta { margin-top: 10px; }
body.menu-open { overflow: hidden; }

/* home: event teaser strip */
.ev-strip { position: relative; overflow: hidden; isolation: isolate; margin-top: 16px; border-radius: var(--radius-md); padding: 18px 22px; display: flex; align-items: center; gap: 16px; color: #fff; background: linear-gradient(110deg, #0b1d42, #1b4178 55%, #0b1d42); background-size: 200% 100%; animation: sweep 8s ease-in-out infinite alternate; box-shadow: var(--shadow); }
@keyframes sweep { to { background-position: 100% 0; } }
.ev-strip::after { content: ''; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(255,255,255,.035) 22px 44px); }
.ev-strip .badge { flex: none; padding: 5px 12px; border-radius: 99px; background: var(--gold-grad); color: var(--navy-950); font: 800 12.5px var(--latin); letter-spacing: .06em; }
.ev-strip b { font-size: 16.5px; }
.ev-strip small { display: block; color: #c5d5f0; font-size: 13.5px; }
.ev-strip .grow { flex: 1; min-width: 0; }
.ev-strip .btn { flex: none; }
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; opacity: .7; pointer-events: none; }
.glitch::before { color: var(--sky-400); animation: glitch-a 3.2s infinite steps(1); }
.glitch::after { color: var(--gold-400); animation: glitch-b 3.2s infinite steps(1); }
@keyframes glitch-a { 0%, 88%, 100% { transform: none; clip-path: inset(0 0 100% 0); } 90% { transform: translate(-2px, 1px); clip-path: inset(10% 0 55% 0); } 93% { transform: translate(2px, -1px); clip-path: inset(60% 0 8% 0); } }
@keyframes glitch-b { 0%, 89%, 100% { transform: none; clip-path: inset(0 0 100% 0); } 91% { transform: translate(2px, 0); clip-path: inset(40% 0 30% 0); } 94% { transform: translate(-2px, 1px); clip-path: inset(5% 0 75% 0); } }

/* library */
.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.course-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.course-card .cover { position: relative; aspect-ratio: 16 / 8; background: var(--hero); overflow: hidden; }
.course-card .cover img { width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: transform .8s var(--ease), opacity .3s; }
.course-card:hover .cover img { transform: scale(1.06); opacity: .75; }
.course-card .c-ico { position: relative; z-index: 2; margin: -52px 0 6px; width: 60px; height: 60px; border-radius: 18px; box-shadow: 0 0 0 5px var(--panel), 0 14px 24px -12px rgba(0,0,0,.6); }
.course-card .cover .count { position: absolute; top: 14px; right: 14px; padding: 4px 11px; border-radius: 99px; background: rgba(5,15,36,.65); color: #fff; font-size: 12.5px; font-weight: 600; backdrop-filter: blur(6px); }
.course-card .body { padding: 0 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.course-card h3 { font-size: 19px; margin: 0; }
.ring-row { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 10px; font-size: 13px; color: var(--dim); }
.bar { flex: 1; height: 8px; border-radius: 99px; background: var(--panel-2); overflow: hidden; }
.bar > span { display: block; height: 100%; width: var(--p, 0%); border-radius: 99px; background: linear-gradient(90deg, var(--sky-400), var(--gold-400)); transition: width .8s var(--ease); }

.player-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 16px; align-items: start; }
.player { position: relative; border-radius: var(--radius-md); overflow: hidden; background: #000; aspect-ratio: 16 / 9; box-shadow: var(--shadow-lg); }
.player.short { aspect-ratio: auto; height: min(78vh, 720px); padding: 14px 0; background: radial-gradient(circle at 50% 30%, #1b4178, #050f24 70%); display: flex; justify-content: center; align-items: stretch; }
.player.short iframe { position: static; inset: auto; flex: none; height: 100%; width: auto; max-width: 100%; aspect-ratio: 9 / 16; border-radius: 16px; box-shadow: 0 20px 50px -20px #000; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.now { margin-top: 16px; display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
.now h2 { font-size: clamp(20px, 2.4vw, 26px); }
.now small { color: var(--dim); }
.now-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.curriculum { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow: auto; padding: 0; }
.curriculum .head { padding: 18px 18px 12px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--panel); z-index: 1; }
.curriculum .head b { display: block; font-size: 16px; }
.cur-sec { padding: 10px 10px 4px; }
.cur-sec > span { display: block; padding: 6px 8px; font-size: 12.5px; font-weight: 700; color: var(--dim); letter-spacing: .02em; }
.lesson { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 8px; border: 0; background: transparent; border-radius: 14px; text-align: left; transition: background .2s; }
.lesson:hover { background: var(--panel-2); }
.lesson.active { background: color-mix(in srgb, var(--sky-400) 14%, var(--panel)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--sky-400) 45%, transparent); }
.lesson .th { position: relative; flex: none; width: 92px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; }
.lesson .th img { width: 100%; height: 100%; object-fit: cover; }
.lesson .th .n { position: absolute; left: 6px; top: 6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 6px; display: grid; place-items: center; background: rgba(5,15,36,.75); color: #fff; font: 700 11px var(--latin); }
.lesson .t { flex: 1; min-width: 0; font-size: 14px; font-weight: 500; line-height: 1.45; }
.lesson .t small { display: block; color: var(--dim); font-size: 12px; }
.lesson .done { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line-strong); color: transparent; transition: all .3s var(--spring); }
.lesson.is-done .done { background: #12a05a; border-color: #12a05a; color: #fff; transform: scale(1.05); }
.lesson .done .i { width: 14px; height: 14px; }
.course-progress { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 13px; color: var(--dim); }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 95; overflow: hidden; }
.confetti i { position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; animation: fall var(--d) linear forwards; }
@keyframes fall { to { transform: translate(var(--dx), 110vh) rotate(var(--r)); } }

/* event page */
.ev-hero { position: relative; overflow: hidden; isolation: isolate; margin-top: 22px; border-radius: var(--radius); color: #fff; padding: clamp(36px, 7vw, 90px) clamp(20px, 5vw, 60px); text-align: center; background: radial-gradient(800px 400px at 50% -10%, rgba(76,180,245,.35), transparent 60%), radial-gradient(600px 400px at 50% 120%, rgba(233,183,58,.25), transparent 60%), #040b19; }
.ev-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(ellipse at center, #000 25%, transparent 70%); animation: grid-move 12s linear infinite; }
@keyframes grid-move { to { background-position: 0 40px, 40px 0; } }
.ev-kicker { display: inline-flex; gap: 8px; align-items: center; padding: 6px 16px; border-radius: 99px; background: rgba(246,207,90,.12); box-shadow: inset 0 0 0 1px rgba(246,207,90,.35); color: var(--gold-300); font: 700 13px var(--latin); letter-spacing: .14em; text-transform: uppercase; }
.ev-title { font: 800 clamp(40px, 8vw, 96px)/1.02 var(--latin); letter-spacing: -.03em; margin: 22px 0 12px; }
.ev-title .gold-text { display: block; padding-bottom: .08em; }
.ev-title .ev-sub { display: block; font-size: .32em; letter-spacing: .32em; font-weight: 700; color: #c5d5f0; margin-bottom: .35em; }
.ev-tag { font-size: clamp(16px, 2vw, 20px); color: #c5d5f0; max-width: 34em; margin: 0 auto; }
.ev-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 26px 0; }
.ev-meta span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 99px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); font-size: 14.5px; }
.ev-meta .i { width: 17px; height: 17px; color: var(--sky-300); }
.ev-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.scramble { font-family: var(--latin); }
.ev-count { display: flex; justify-content: center; gap: 10px; margin: 26px auto 0; max-width: 520px; }
.ev-count div { flex: 1; padding: 16px 6px; border-radius: 18px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.ev-count b { display: block; font: 800 clamp(26px, 4vw, 40px)/1.1 var(--latin); }
.ev-count span { font-size: 12.5px; color: #a9bcdf; }
.ev-count .soon b { letter-spacing: .1em; color: var(--gold-300); }
.topics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.topic { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; min-height: 240px; padding: 26px 24px; border-radius: var(--radius-md); background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .4s, border-color .4s; }
.topic::after { content: ''; position: absolute; left: 24px; right: 24px; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--gold-500), var(--sky-400)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .9s var(--ease) .2s; }
.topic.in::after { transform: scaleX(.35); }
.topic:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--gold-500) 35%, var(--line)); }
.topic:hover::after { transform: scaleX(1); transition-delay: 0s; }
.topic .t-num { font: 800 54px/1 var(--latin); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--gold-500) 70%, transparent); transition: color .5s; }
.topic:hover .t-num { color: color-mix(in srgb, var(--gold-400) 18%, transparent); }
.topic .t-title { font: 700 18px/1.35 var(--latin); color: var(--ink); }
.topic .t-hint { margin: 0; color: var(--dim); font-size: 14.5px; }
.topic .t-foot { margin-top: auto; font: 600 12px var(--latin); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.ev-soon { display: grid; justify-items: center; gap: 12px; margin: 26px auto 0; max-width: 420px; }
.ev-soon .pill { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 99px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); font-weight: 600; }
.ev-soon .pill .i { width: 18px; height: 18px; color: var(--gold-300); }
.ev-soon .load { width: 100%; height: 6px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.ev-soon .load span { display: block; width: 35%; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--sky-400), var(--gold-400)); animation: load 1.8s ease-in-out infinite; }
@keyframes load { 0% { transform: translateX(-110%); } 100% { transform: translateX(310%); } }
.ev-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ev-qr { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }
.ev-qr canvas, .ev-qr img { width: 150px; height: 150px; border-radius: 16px; background: #fff; padding: 10px; }

@media (max-width: 1100px) {
  .player-wrap { grid-template-columns: 1fr; }
  .curriculum { position: static; max-height: none; }
  .topics { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav-end > .lang-btn, .nav-end > .theme-btn, .nav-end > [data-auth-slot] .btn, .menu-btn { display: none !important; }
  .menu-pill { display: inline-flex; }
  .mobile-menu { display: none !important; }
  .nav-in { min-height: 68px; }
  .ev-strip { flex-wrap: wrap; }
  .ev-steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .brand-txt { display: flex; }
  .brand-txt b { font-size: 13px; }
  .brand-txt span { font-size: 9px; }
  .brand img { width: 40px; height: 40px; }
  .topics { grid-template-columns: 1fr; }
  .topic { min-height: 0; }
  .ev-count { gap: 6px; }
  .ev-count div { padding: 12px 4px; border-radius: 14px; }
  .lesson .th { width: 78px; }
  .ev-qr { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .player.short { height: 70vh; }
}
@media (prefers-reduced-motion: reduce) { .ev-soon .load span, .ev-strip, .ev-hero::before, .glitch::before, .glitch::after { animation: none; } }

.i.arrow.back, .btn .i.arrow.back { transform: scaleX(-1); }
.btn:hover .i.arrow.back { transform: scaleX(-1) translateX(-4px); }

/* profile editing */
.av-wrap { position: relative; width: 96px; margin: 0 auto 12px; }
.av-wrap img { margin: 0; }
.av-btn { position: absolute; right: -4px; bottom: -2px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: var(--navy-950); box-shadow: 0 0 0 3px var(--panel); cursor: pointer; transition: transform .3s var(--spring); }
.av-btn:hover { transform: scale(1.1); }
.av-btn .i { width: 16px; height: 16px; }
.av-wrap.busy img { opacity: .5; }
.link-btn { border: 0; background: none; color: var(--link); font-size: 12.5px; font-weight: 600; margin: -4px auto 6px; display: block; }
.name-row { display: flex; align-items: center; justify-content: center; gap: 4px; }
.icon-btn.sm { width: 32px; height: 32px; border-radius: 10px; }
.icon-btn.sm .i { width: 16px; height: 16px; }
.name-form { display: flex; gap: 6px; align-items: center; }
.name-form input { min-height: 40px; padding: 8px 12px; }
.role-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 99px; font-size: 13px; font-weight: 700; }
.role-badge.owner { background: var(--gold-grad); color: var(--navy-950); }
.role-badge.admin { background: color-mix(in srgb, var(--sky-400) 18%, transparent); color: var(--link); }

/* account menu (click your photo) */
.user-menu { position: relative; }
.user-chip { border: 0; cursor: pointer; color: var(--ink); }
.user-chip .chev { width: 14px; height: 14px; color: var(--dim); transition: transform .3s var(--spring); }
.user-chip[aria-expanded='true'] .chev { transform: rotate(180deg); }
.menu-pop { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; width: 250px; padding: 8px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow-lg); animation: menu-in .25s var(--spring); transform-origin: top right; }
.menu-pop .mp-head { display: flex; align-items: center; gap: 10px; padding: 8px 8px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.menu-pop .mp-head img, .menu-pop .mp-head .ph { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.menu-pop .mp-head .ph { display: grid; place-items: center; background: var(--panel-2); }
.menu-pop .mp-head b { display: block; font-size: 14.5px; line-height: 1.3; }
.menu-pop .mp-head small { display: block; color: var(--dim); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 160px; }
.menu-pop a, .menu-pop button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; border: 0; border-radius: 12px; background: transparent; font-size: 14.5px; font-weight: 500; color: var(--ink); text-align: left; transition: background .15s; }
.menu-pop a:hover, .menu-pop button:hover { background: var(--panel-2); }
.menu-pop .i { width: 18px; height: 18px; color: var(--dim); }
.menu-pop .mp-admin .i { color: var(--gold-500); }
.menu-pop .mp-out { color: #e0533f; }
.menu-pop .mp-out .i { color: #e0533f; }
.menu-pop hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.m-cta { display: grid; gap: 8px; }
