/* نُظُم برو — ملف التصميم (اتنضف: اتشالت السطور اللي كانت بتتلغي) */
:root { --green-line: #2A6B55; color-scheme: dark; }
:root[data-theme="light"] { --cyan-soft: #EFE8FF; --cyan-line: #CDBBF5; --green-line: #B8E6D2; --red: #C42757; --red-soft: #FFE8F0; --red-line: #F5C2D4; --shadow: 0 6px 20px rgba(27,22,64,.08); color-scheme: light; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.35; margin: 0; }
img { max-width: 100%; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-sm { display: flex; flex-direction: column; gap: 10px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.top { position: sticky; top: 0; z-index: 20; }
.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.logo { display: flex; align-items: baseline; gap: 5px; color: var(--text); }
.logo:hover { text-decoration: none; }
.logo .cursor { font-family: var(--mono); animation: blink 1.1s steps(1) infinite; }
.logo .pro { font-size: 13px; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .logo .cursor { animation: none; }
}
.topnav { display: none; gap: 4px; margin-inline-start: 12px; }
.topnav a { color: var(--muted); padding: 8px 12px; font-weight: 500; }
.topnav a:hover, .topnav a.on { color: var(--text); background: var(--card); text-decoration: none; }
.top-actions { margin-inline-start: auto; display: flex; gap: 8px; align-items: center; }
.icon-btn { width: 44px; height: 44px; color: var(--text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.icon-btn:hover { text-decoration: none; }
@media (min-width: 900px) {
  .topnav { display: flex; }
  body { padding-bottom: 32px; }
}
.bottomnav { position: fixed; z-index: 30; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); padding-bottom: env(safe-area-inset-bottom); }
.bottomnav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--muted); }
.bottomnav a:hover { text-decoration: none; }
@media (min-width: 900px) {
  .bottomnav { display: none; }
}
main.wrap { padding-top: 20px; padding-bottom: 24px; }
.pad { padding: 16px; }
.hero-exam { background: var(--primary-soft); border: 1px solid var(--primary-line); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.hero-exam .label { color: var(--primary-text); font-weight: 600; font-size: 13px; }
.countdown { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.countdown div { background: var(--bg); padding: 8px 0; text-align: center; }
.countdown b { display: block; font-family: var(--mono); }
.countdown span { font-size: 12px; color: var(--muted); }
.grid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .grid.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.tile { display: flex; flex-direction: column; gap: 8px; padding: 14px; color: var(--text); min-height: 100%; }
.tile:hover { text-decoration: none; border-color: var(--primary-line); }
.tile .foot { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); margin-top: auto; }
.badge { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 12px; background: var(--card2); color: var(--muted); flex: none; }
.chip-new { padding: 0 8px; font-weight: 600; font-size: 12px; }
:root[data-theme="light"] .chip-new { color: #FFFFFF; }
.chip { display: inline-block; font-size: 12px; border: 1px solid var(--line); padding: 1px 10px; color: var(--muted); }
.reviewed { font-size: 12px; }
:root[data-theme="light"] .c-violet { --c: #5A3BE0; --cbg: #EEE9FF; }
:root[data-theme="light"] .c-cyan { --c: #0B7F93; --cbg: #E0F6FA; }
:root[data-theme="light"] .c-green { --c: #0F8A57; --cbg: #E2F6EC; }
:root[data-theme="light"] .c-pink { --c: #C42747; --cbg: #FFE8EC; }
:root[data-theme="light"] .c-amber { --c: #9A5B00; --cbg: #FFF1DA; }
:root[data-theme="light"] .c-blue { --c: #1F5FD1; --cbg: #E5EEFF; }
[class*="c-"] .badge { background: var(--cbg); color: var(--c); }
.list { display: flex; flex-direction: column; }
.frow { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--line2); }
.frow:first-child { border-top: 0; }
.frow .info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.frow .t { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frow .t:hover { color: var(--link); }
.frow .m { font-size: 12px; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; }
.ficon { width: 42px; height: 42px; background: var(--red-soft); color: var(--red); font-family: var(--mono); font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
details.lec { background: var(--card); border: 1px solid var(--line); overflow: hidden; }
details.lec[open] { border-color: var(--primary-line); }
details.lec summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 14px; cursor: pointer; }
details.lec summary::-webkit-details-marker { display: none; }
details.lec summary .num { width: 38px; height: 38px; border-radius: 10px; background: var(--card2); color: var(--muted); font-family: var(--mono); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
details.lec .list { border-top: 1px solid var(--line); }
.subject-head { background: var(--primary-soft); border: 1px solid var(--primary-line); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.doc { display: flex; gap: 12px; align-items: center; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--cbg, var(--card2)); color: var(--c, var(--text)); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; height: 40px; padding: 0 16px; border: 1px solid var(--line); background: var(--card); color: var(--muted); font-family: inherit; font-size: 14px; cursor: pointer; }
.tab.on { font-weight: 600; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: inherit; cursor: pointer; }
.btn:hover { text-decoration: none; }
.btn-primary { border-color: var(--primary); }
.btn-green { border-color: var(--green); }
.btn-sm { font-size: 13px; }
.btn-block { width: 100%; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.input, select.input, textarea.input { width: 100%; min-height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font-family: inherit; font-size: 15px; padding: 10px 14px; }
textarea.input { min-height: 110px; resize: vertical; }
.input:focus { outline-offset: 1px; }
.searchbox { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 14px; background: var(--card); border: 1px solid var(--line); }
.searchbox input { flex: 1; border: 0; outline: 0; background: transparent; color: var(--text); font-family: inherit; font-size: 15px; min-width: 0; }
.alert { border-radius: 12px; padding: 12px 14px; font-size: 14px; border: 1px solid var(--red-line); background: var(--red-soft); color: var(--red); }
.ok { border-radius: 12px; padding: 12px 14px; font-size: 14px; border: 1px solid var(--green-line); color: var(--green); }
.auth { max-width: 420px; margin: 24px auto; }
.empty { text-align: center; color: var(--muted); padding: 28px 16px; }
.news-item { padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.news-item.pinned { border-color: var(--cyan-line); background: var(--cyan-soft); }
.news-body { white-space: pre-line; }
.viewer { width: 100%; height: 75vh; border: 1px solid var(--line); background: #fff; }
.sched-day { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.slot { display: flex; gap: 12px; align-items: baseline; }
.slot .mono { color: var(--green); font-weight: 700; min-width: 54px; }
mark { color: inherit; border-radius: 3px; }
footer.foot { text-align: center; color: var(--muted); font-size: 12px; padding: 24px 0 8px; }
h1, h2, h3 { font-weight: 800; }
.tile { transition: transform .15s ease, border-color .15s ease; }
.tile:hover { transform: translateY(-3px); }
.logo { font-weight: 900; font-size: 26px; }
.logo .pro { font-weight: 800; }
.topnav a.on { font-weight: 700; }
.icon-btn { border-width: 2px; }
.btn { border-width: 2px; }
.chip-new { border-radius: 999px; }
.chip { border-radius: 999px; }
.tab { border-radius: 999px; font-weight: 700; }
.input { border-radius: 16px; border-width: 2px; }
.searchbox { border-radius: 18px; border-width: 2px; }
.badge { border-radius: 14px; font-weight: 800; }
.ficon { border-radius: 14px; }
details.lec { border-radius: 22px; }
details.lec[open] summary .num { background: var(--primary); color: var(--primary-ink); }
.subject-head, .hero-exam { border-radius: 26px; border-width: 2px; }
.countdown div { border-radius: 16px; }
.countdown b { font-size: 28px; font-weight: 900; }
.bottomnav { left: 10px; right: 10px; bottom: 10px; height: 68px; }
.bottomnav a { margin: 6px; }
body { padding-bottom: calc(108px + env(safe-area-inset-bottom)); }
.sched-day.today { border-color: var(--primary); }
.viewer { border-radius: 20px; }
.hello { font-weight: 900; line-height: 1.3; }
.hello em { font-style: normal; }
.video-wrap { background: #000; border-radius: 22px; overflow: hidden; border: 2px solid var(--line); }
.video-wrap video { width: 100%; max-height: 70vh; display: block; background: #000; }
:root { --ease: cubic-bezier(.2,.7,.2,1); }
html { scroll-behavior: smooth; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 10px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
body { background-attachment: fixed, scroll; }
.top { padding-top: env(safe-area-inset-top); }
.card { transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.tile .badge { transition: transform .2s var(--ease); }
.tile:hover .badge { transform: scale(1.08) rotate(-3deg); }
.list .frow { transition: background .15s; }
.list .frow:hover { background: color-mix(in srgb, var(--primary) 6%, transparent); }
.dot { position: absolute; top: 8px; inset-inline-end: 9px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--card); }
.bell { position: relative; }
.bottomnav a { position: relative; }
.bottomnav a .dot { top: 8px; inset-inline-end: calc(50% - 18px); border-color: var(--bg2); }
.bottomnav a:active { transform: scale(.94); }
.sb-wrap { position: relative; }
.suggest { position: absolute; z-index: 15; top: calc(100% + 6px); inset-inline: 0; background: var(--card); border: 2px solid var(--line); border-radius: 18px; box-shadow: 0 16px 40px rgba(0,0,0,.4); overflow: hidden; }
.sg { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; color: var(--text); border-top: 1px solid var(--line2); }
.sg:first-child { border-top: 0; }
.sg:hover, .sg.on { background: var(--primary-soft); text-decoration: none; }
.sg-t { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg-s { font-size: 12px; color: var(--muted); flex: none; }
.searchbox:focus-within { border-color: var(--primary); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips .chip { padding: 6px 14px; font-size: 14px; color: var(--text); }
.chips .chip:hover { border-color: var(--primary-line); text-decoration: none; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 120px; }
.bar { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.bar i { display: block; width: 100%; min-height: 3px; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--primary), var(--primary-line)); }
.bar span { font-size: 10px; color: var(--muted); font-family: var(--mono); }
.list .frow, details.lec { content-visibility: auto; contain-intrinsic-size: auto 64px; }
@media (max-width: 480px) {
  h1 { font-size: 24px; }
  .hello { font-size: 25px; }
  .bell { display: none; }
}
@media (min-width: 900px) {
  .bottomnav a .dot { display: none; }
}
@media (display-mode: standalone) {
  footer.foot { display: none; }
}
.btn { position: relative; overflow: hidden; border-radius: 999px; min-height: 46px; padding: 0 24px; border: 1px solid var(--line); color: var(--text); background: linear-gradient(180deg, color-mix(in srgb, var(--card2) 92%, #fff 8%), var(--card)); box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 6px 16px rgba(0,0,0,.25); transition: transform .18s var(--ease), box-shadow .25s var(--ease), border-color .2s, filter .2s; }
.btn:hover { border-color: var(--primary-line); transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 10px 24px rgba(0,0,0,.32); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: inset 0 2px 6px rgba(0,0,0,.3); }
.btn-primary { border: 0; text-shadow: 0 1px 0 rgba(255,255,255,.35); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 -2px 0 rgba(0,0,0,.14), 0 8px 22px var(--glow); }
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.75), inset 0 -2px 0 rgba(0,0,0,.14), 0 12px 30px var(--glow); }
.btn-primary::after, .btn-green::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; inset-inline-start: -60%; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); transition: inset-inline-start .6s var(--ease); pointer-events: none; }
.btn-primary:hover::after, .btn-green:hover::after { inset-inline-start: 130%; }
.btn-green { color: #06251A; border: 0; }
.btn-danger { background: transparent; box-shadow: none; color: var(--red); border-color: var(--red-line); }
.btn-danger:hover { background: var(--red-soft); }
.btn-sm { min-height: 38px; padding: 0 16px; border-radius: 999px; }
.icon-btn { border: 1px solid var(--line); background: linear-gradient(180deg, color-mix(in srgb, var(--card2) 92%, #fff 8%), var(--card)); box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 4px 12px rgba(0,0,0,.22); transition: transform .18s var(--ease), border-color .2s, box-shadow .2s; }
.icon-btn:hover { transform: translateY(-2px); border-color: var(--primary-line); box-shadow: 0 8px 20px var(--glow); color: var(--primary-text); }
.tab { border-width: 1px; transition: all .2s var(--ease); }
.tab:hover { border-color: var(--primary-line); }
.tab.on { background: linear-gradient(180deg, var(--gold-1), var(--gold-2) 55%, var(--gold-3)); border-color: transparent; color: var(--primary-ink); box-shadow: 0 6px 16px var(--glow); }
.logo .pro { box-shadow: 0 4px 14px var(--glow); padding: 0 12px; }
.topnav a { border-radius: 999px; transition: background .2s, color .2s; }
.topnav a.on { background: linear-gradient(180deg, var(--gold-1), var(--gold-2) 55%, var(--gold-3)); color: var(--primary-ink); box-shadow: 0 4px 14px var(--glow); }
.card { border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(160deg, color-mix(in srgb, var(--card2) 55%, var(--card)), var(--card)); box-shadow: var(--shadow); }
.subject-head, .hero-exam { border: 1px solid var(--primary-line); background: radial-gradient(500px 200px at 100% 0%, color-mix(in srgb, var(--primary) 18%, transparent), transparent 70%), linear-gradient(145deg, var(--card2), var(--card)); }
.countdown b { background: linear-gradient(180deg, var(--gold-1), var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hello { background: linear-gradient(90deg, var(--text) 30%, var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hello em { background: linear-gradient(90deg, var(--gold-1), var(--gold-2), var(--gold-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
details.lec { border-width: 1px; }
details.lec[open] summary .num, .chip-new { background: linear-gradient(180deg, var(--gold-1), var(--gold-2)); color: var(--primary-ink) !important; }
.input, .searchbox { border-width: 1px; background: color-mix(in srgb, var(--card) 85%, #000 15%); }
:root[data-theme="light"] .input, :root[data-theme="light"] .searchbox { background: #fff; }
.input:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 22%, transparent); }
.searchbox:focus-within { box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 22%, transparent); }
mark { background: color-mix(in srgb, var(--primary) 35%, transparent); }
.bottomnav { border: 1px solid color-mix(in srgb, var(--primary) 22%, var(--line)); }
.bottomnav a { transition: background .25s var(--ease), color .2s, transform .15s; }
.bottomnav a.on { background: linear-gradient(180deg, var(--gold-1), var(--gold-2) 55%, var(--gold-3)); color: var(--primary-ink); box-shadow: 0 6px 16px var(--glow); }
.bottomnav a.on svg { filter: drop-shadow(0 1px 0 rgba(255,255,255,.4)); }
.c-violet { --c: #B7A6FF; --cbg: #2B2570; }
.c-cyan { --c: #6FD8F0; --cbg: #103A52; }
.c-green { --c: #6FE3B0; --cbg: #0F3F3A; }
.c-pink { --c: #FF9DB8; --cbg: #4A1B3F; }
.c-amber { --c: #FFC964; --cbg: #4A3510; }
.c-blue { --c: #86B6FF; --cbg: #17306B; }
:root[data-theme="light"] { --glow: rgba(20,184,166,.3); }
body { background-image: radial-gradient(700px 380px at 90% -10%, rgba(31,200,180,.16), transparent 60%), radial-gradient(600px 360px at 0% 30%, rgba(255,107,94,.08), transparent 60%), linear-gradient(rgba(111,200,230,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(111,200,230,.04) 1px, transparent 1px); background-size: auto, auto, 28px 28px, 28px 28px; }
:root[data-theme="light"] body { background-image: radial-gradient(700px 380px at 90% -10%, rgba(20,184,166,.18), transparent 60%), linear-gradient(rgba(11,30,46,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(11,30,46,.04) 1px, transparent 1px); background-size: auto, 28px 28px, 28px 28px; }
.logo .cursor { display: inline; }
.hello em, .grad { background: linear-gradient(90deg, var(--primary), var(--cyan) 50%, var(--sun)); -webkit-background-clip: text; background-clip: text; }
.dot { background: var(--coral); }
.land { display: grid; gap: 22px; align-items: center; padding: 10px 0 4px; }
@media (min-width: 860px) {
  .land { grid-template-columns: 1.05fr 1fr; gap: 36px; padding: 30px 0 10px; }
}
.land-txt { display: flex; flex-direction: column; gap: 14px; }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 999px; border: 1px solid var(--primary-line); }
.pill i { width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 0 0 var(--glow); }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px transparent; } }
.land-h { font-size: clamp(32px, 8vw, 54px); font-weight: 900; }
.land p { margin: 0; font-size: 16px; max-width: 46ch; }
.land-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.caret { color: var(--coral); -webkit-text-fill-color: var(--coral); animation: blink 1s steps(1) infinite; }
.term { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #0D1B28; border-bottom: 1px solid #1A3349; }
.term-bar b { width: 11px; height: 11px; border-radius: 50%; background: var(--coral); }
.term-bar b:nth-child(2) { background: var(--sun); }
.term-bar b:nth-child(3) { background: var(--primary); }
.term-bar span { margin-inline-start: auto; font: 12px ui-monospace, monospace; color: #6E8BA0; }
.term pre { margin: 0; padding: 16px 18px; font: 13.5px/1.75 ui-monospace, "Cascadia Code", Menlo, monospace; color: #D6E6F0; overflow-x: auto; text-align: left; }
.term .c { font-style: italic; }
.feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 860px) {
  .feats { grid-template-columns: repeat(4, 1fr); }
}
.feat { display: flex; flex-direction: column; gap: 3px; padding: 16px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(160deg, var(--card2), var(--card)); transition: transform .2s var(--ease), border-color .2s; }
.feat:hover { border-color: var(--c); }
.feat b { font: 800 18px ui-monospace, monospace; color: var(--c); width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 15%, transparent); margin-bottom: 6px; }
.feat span { font-size: 12px; color: var(--muted); }
:root { --cyan-soft: #1A2A2A; --cyan-line: #2F5C57; --gold-1: #F2B134; --gold-2: #F2B134; --gold-3: #F2B134; --glow: transparent; --shadow: none; }
:root[data-theme="light"] { --gold-1: #1C2027; --gold-2: #1C2027; --gold-3: #1C2027; }
body, :root[data-theme="light"] body { background-image: none; }
.card, .feat, .subject-head, .hero-exam { background: var(--card); box-shadow: none; }
a.card:hover { box-shadow: none; }
.hello, .hello em, .grad, .countdown b { background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--text); -webkit-text-fill-color: currentColor; }
.hello em, .grad, .countdown b { color: var(--primary-text); }
.btn, .icon-btn { background: var(--card); box-shadow: none; border-radius: 12px; }
.btn:hover, .icon-btn:hover { transform: none; box-shadow: none; border-color: var(--text); color: var(--text); }
.btn-primary, .tab.on, .topnav a.on, .bottomnav a.on, .logo .pro, details.lec[open] summary .num, .chip-new { background: var(--primary); color: var(--primary-ink); box-shadow: none; text-shadow: none; }
.btn-primary:hover { filter: none; color: var(--primary-ink); }
.btn-primary::after, .btn-green::after { display: none; }
.btn-green { background: var(--green); box-shadow: none; }
.logo .pro { border-radius: 6px; }
.icon-btn { border-radius: 12px; }
.bottomnav { box-shadow: none; border-color: var(--line); background: var(--bg2); backdrop-filter: none; border-radius: 20px; }
.bottomnav a { border-radius: 14px; }
.top { background: var(--bg); backdrop-filter: none; border-bottom: 1px solid var(--line2); }
.term { transform: none; box-shadow: none; background: #101318; }
.term .k { color: #E0533D; }
.term .s { color: #F2B134; }
.term .n { color: #5FA8A0; }
.term .f { color: #ECE6DA; }
.term .c { color: #6B717B; }
.pill { background: transparent; border-color: var(--line); color: var(--muted); }
.pill i { animation: none; background: var(--coral); }
.feat:hover { transform: none; }
.input:focus, .searchbox:focus-within { box-shadow: none; border-color: var(--text); }
:root { --font: "Almarai", system-ui, sans-serif; --mono: "Almarai", system-ui, sans-serif; --head: "Marhey", "Almarai", sans-serif; --fun: "Lemonada", "Almarai", sans-serif; }
body { font-family: var(--font); font-weight: 400; }
h1, h2, h3, .hello, .land-h, .logo, .tile .name, .feat strong { font-family: var(--head); font-weight: 600; }
.btn, .tab, .topnav a, .bottomnav a, .pill, .chip-new, .logo .pro { font-family: var(--fun); font-weight: 600; }
.countdown b, .badge { font-family: var(--fun); }
.splash { display: none; }
html.intro .splash { display: flex; }
html.intro body { overflow: hidden; }
.splash { position: fixed; inset: 0; z-index: 100; color: #ECE6DA; flex-direction: column; align-items: center; justify-content: center; padding: 24px; overflow: hidden; }
.splash.out { opacity: 0; visibility: hidden; transform: scale(1.06); }
.splash::before { content: ""; position: absolute; inset: 0; background-size: 26px 26px; }
.sp-sky span { position: absolute; font: 700 15px var(--fun, monospace); opacity: 0; animation: sym 5s ease-in-out forwards; }
.sp-sky span:nth-child(1) { top: 8%; right: 10%; animation-delay: .1s; font-size: 22px; }
.sp-sky span:nth-child(2) { top: 14%; left: 8%; animation-delay: .4s; }
.sp-sky span:nth-child(3) { top: 30%; right: 4%; animation-delay: .7s; }
.sp-sky span:nth-child(4) { top: 36%; left: 5%; animation-delay: .2s; }
.sp-sky span:nth-child(5) { bottom: 30%; right: 9%; animation-delay: 1s; font-size: 26px; }
.sp-sky span:nth-child(6) { bottom: 24%; left: 12%; animation-delay: .5s; }
.sp-sky span:nth-child(7) { bottom: 10%; right: 22%; animation-delay: .8s; }
.sp-sky span:nth-child(8) { bottom: 14%; left: 30%; animation-delay: 1.2s; font-size: 24px; }
.sp-sky span:nth-child(9) { top: 6%; left: 40%; animation-delay: .9s; }
.sp-sky span:nth-child(10) { top: 22%; left: 24%; animation-delay: 1.4s; }
.sp-sky span:nth-child(11) { bottom: 40%; left: 2%; animation-delay: 1.1s; }
.sp-sky span:nth-child(12) { top: 46%; right: 20%; animation-delay: 1.6s; font-size: 22px; }
@keyframes sym { 0% { opacity: 0; transform: translateY(40px) rotate(-20deg) scale(.6); } 25% { opacity: .9; } 100% { opacity: .35; transform: translateY(-30px) rotate(15deg) scale(1); } }
.sp-scene { width: min(380px, 94vw); height: auto; overflow: visible; }
.sp-scene .d { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.6s ease forwards; }
.sp-scene .net .d { animation-delay: .2s; }
.sp-scene .laptop .d { animation-delay: .5s; }
.sp-scene .chart .d { animation-delay: 1.4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.sp-scene .nodes circle { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: pop .5s cubic-bezier(.3,1.6,.5,1) forwards; }
.sp-scene .nodes circle:nth-child(1) { animation-delay: .3s; }
.sp-scene .nodes circle:nth-child(2) { animation-delay: .5s; }
.sp-scene .nodes circle:nth-child(3) { animation-delay: .7s; }
.sp-scene .nodes circle:nth-child(4) { animation-delay: .9s; }
.sp-scene .nodes circle:nth-child(5) { animation-delay: 1.1s; }
@keyframes pop { to { transform: scale(1); } }
.sp-scene .db { opacity: 0; animation: drop .8s cubic-bezier(.3,1.5,.5,1) 1s forwards; }
@keyframes drop { from { opacity: 0; transform: translate(42px, 90px); } to { opacity: 1; transform: translate(42px, 128px); } }
.sp-scene .code rect { transform-box: fill-box; transform-origin: left; transform: scaleX(0); animation: grow .4s ease forwards; }
.sp-scene .code rect:nth-child(1) { animation-delay: 1.5s; }
.sp-scene .code rect:nth-child(2) { animation-delay: 1.8s; }
.sp-scene .code rect:nth-child(3) { animation-delay: 2.1s; }
.sp-scene .code rect:nth-child(4) { animation-delay: 2.4s; }
.sp-scene .code rect:nth-child(5) { animation-delay: 2.7s; }
@keyframes grow { to { transform: scaleX(1); } }
.sp-scene .chart rect { transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); }
.sp-scene .b1 { animation: bar1 .9s ease 1.6s forwards; }
.sp-scene .b2 { animation: bar2 .9s ease 1.8s forwards; }
.sp-scene .b3 { animation: bar3 .9s ease 2s forwards; }
@keyframes bar1 { to { transform: scaleY(.45); } }
@keyframes bar2 { to { transform: scaleY(.75); } }
@keyframes bar3 { to { transform: scaleY(1); } }
.sp-scene .gear { opacity: 0; animation: fade .4s ease .9s forwards; }
.sp-scene .gear circle:first-child { transform-origin: 0 0; animation: spin 3s linear infinite; }
@keyframes fade { to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
.sp-brand { position: relative; display: flex; align-items: baseline; gap: 6px; font: 700 clamp(46px, 13vw, 80px)/1.1 var(--head); }
.sp-brand span { display: inline-block; opacity: 0; transform: translateY(30px) scale(.8); animation: brand .7s cubic-bezier(.3,1.5,.5,1) forwards; }
.sp-brand .c { animation-name: brand, blink2; animation-duration: .7s, 1s; animation-iteration-count: 1, infinite; }
.sp-brand .p { font: 700 .34em var(--fun); padding: 4px 14px; border-radius: 10px; transform: rotate(-8deg); }
@keyframes brand { to { opacity: 1; transform: none; } }
@keyframes blink2 { 50% { opacity: 0; } }
.sp-tag { position: relative; margin: 0; font: 500 16px var(--fun); color: #9BA1AB; opacity: 0; animation: brand .7s ease 3.7s forwards; }
.sp-tag b { color: #F2B134; font-weight: 700; }
.sp-tag b + b, .sp-tag b:last-child { color: #7DBE8A; }
.splash .bar { height: 4px; border-radius: 4px; overflow: hidden; margin-top: 8px; }
.splash .bar i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); animation: fill 5s linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
.splash .skip { position: absolute; z-index: 2; top: calc(18px + env(safe-area-inset-top)); left: 18px; color: #ECE6DA; border: 1px solid #2E343E; border-radius: 999px; padding: 8px 18px; font: 600 13px var(--fun); cursor: pointer; }
.splash .skip:hover { border-color: #F2B134; color: #F2B134; }
@media (prefers-reduced-motion: reduce) {
  html.intro .splash { display: none; }
  html.intro body { overflow: auto; }
}
body { font-size: 15.5px; line-height: 1.75; letter-spacing: .1px; }
h1, h2, h3, .hello, .land-h { font-weight: 600; letter-spacing: 0; line-height: 1.45; }
h1 { font-size: 26px; }
h2 { font-size: 18px; }
.hello { font-size: 28px; }
.land-h { line-height: 1.35; }
.tile .name { font-size: 15px; font-weight: 500; line-height: 1.5; }
.frow .t { font-weight: 700; }
.btn { font-size: 13px; font-weight: 600; letter-spacing: 0; }
.bottomnav a { font-size: 10px; font-weight: 500; }
.bottomnav a.on { font-weight: 600; }
.topnav a { font-size: 13px; }
.muted, .small { line-height: 1.7; }
.input, .searchbox input { font-family: var(--font); }
.splash { gap: 0; transition: opacity .8s ease, transform .8s ease, visibility .8s; }
.splash::before { background-image: radial-gradient(#ffffff0d 1px, transparent 1px); z-index: 1; }
.sp-aurora i { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; filter: blur(70px); opacity: .45; animation: blob 9s ease-in-out infinite alternate; }
.sp-aurora i:nth-child(1) { top: -35vmax; right: -25vmax; }
.sp-aurora i:nth-child(2) { bottom: -40vmax; left: -25vmax; animation-delay: -3s; }
.sp-aurora i:nth-child(3) { top: 20%; left: 30%; width: 50vmax; height: 50vmax; animation-delay: -6s; }
@keyframes blob { to { transform: translate(6vmax, 5vmax) scale(1.15); } }
.sp-sky, .sp-scene, .sp-msg, .splash .bar, .splash .skip { z-index: 2; }
.sp-sky span { text-shadow: 0 0 18px currentColor; }
.sp-scene { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -55%); animation: scene-out .7s ease 2.7s forwards; }
@keyframes scene-out { to { opacity: 0; transform: translate(-50%, -75%) scale(.85); filter: blur(4px); } }
.sp-msg { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; max-width: 520px; }
.sp-brand { font-size: clamp(50px, 15vw, 86px); }
.sp-brand .l { color: transparent; }
.sp-hi { margin: 4px 0 0; font: 600 clamp(22px, 6vw, 30px)/1.4 var(--head); color: #FFF6E5; opacity: 0; animation: brand .7s ease 3.5s forwards; }
.sp-hi em { font-style: normal; }
.sp-inst { margin: 0; font: 600 13px var(--fun); padding: 4px 14px; border: 1px solid rgba(127,209,199,.35); border-radius: 999px; opacity: 0; animation: brand .7s ease 3.75s forwards; }
.sp-desc { margin: 4px 0 0; font: 400 15px/1.85 var(--font); color: #C9C3D6; opacity: 0; animation: brand .8s ease 4s forwards; }
.sp-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 4px; }
.sp-chips span { font: 600 12px var(--fun); padding: 6px 14px; border-radius: 999px; color: #0D1018; opacity: 0; transform: scale(.6); animation: pop .5s cubic-bezier(.3,1.6,.5,1) forwards; }
.splash .bar { position: absolute; bottom: calc(36px + env(safe-area-inset-bottom)); width: min(240px, 60vw); background: rgba(255,255,255,.12); }
.splash .skip { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); backdrop-filter: blur(8px); }
.sp-tag { display: none; }
:root { --bg: #160D1A; --bg2: #1C1121; --card: #22152A; --card2: #2C1B36; --line: #3D2849; --line2: #2E1D38; --text: #FFF3EA; --muted: #BFA9C4; --primary: #FF9F1C; --primary-ink: #1A0B10; --primary-soft: #3A2018; --primary-line: #8A5418; --primary-text: #FFB347; --link: #FFB347; --berry: #E62E6B; --mint: #2EC4B6; --coral: #E62E6B; --cyan: #2EC4B6; --sun: #FF9F1C; --green: #2EC4B6; --red: #FF5C8A; --red-soft: #3A1426; --red-line: #7A2448; }
:root[data-theme="light"] { --bg: #FFF7F0; --bg2: #FFFFFF; --card: #FFFFFF; --card2: #FFEFE3; --line: #F1D9CB; --line2: #F7E6DB; --text: #2A0F22; --muted: #7A5A6E; --primary: #FF8A00; --primary-ink: #2A0F22; --primary-soft: #FFEAD2; --primary-line: #FFC27A; --primary-text: #C2185B; --link: #C2185B; --berry: #D81B60; --mint: #0FA597; --coral: #D81B60; --cyan: #0FA597; --green: #0FA597; }
.btn-primary { background: var(--primary); color: var(--primary-ink); }
.btn-primary:hover { background: #FFB347; }
:root[data-theme="light"] .btn-primary:hover { background: #FF9F1C; }
.bottomnav a.on, .topnav a.on, .tab.on { background: var(--primary); color: var(--primary-ink); }
.logo .pro { background: var(--berry); color: #fff; }
.logo .cursor { color: var(--mint); }
.hello em, .grad { color: var(--primary-text); }
.dot, .pill i { background: var(--berry); }
.f1 { --c: var(--primary); }
.f2 { --c: var(--berry); }
.f3 { --c: var(--mint); }
.f4 { --c: var(--primary-text); }
.chip-new { background: var(--mint); color: #08201E !important; }
.reviewed { color: var(--mint); }
a.card:hover { border-color: var(--primary); }
.c-violet,.c-pink { --c: #FF6B9A; --cbg: #3E1630; }
.c-cyan,.c-green { --c: #2EC4B6; --cbg: #123A38; }
.c-amber,.c-blue { --c: #FFB347; --cbg: #3E2614; }
.splash { background: #12091A; }
.sp-aurora i:nth-child(1) { background: #E62E6B; }
.sp-aurora i:nth-child(2) { background: #FF9F1C; }
.sp-aurora i:nth-child(3) { background: #2EC4B6; opacity: .3; }
.sp-scene { animation-delay: 4.2s; }
.sp-brand .l { animation-delay: 4.5s; background: linear-gradient(180deg, #FFF3EA, #FFB347); -webkit-background-clip: text; background-clip: text; }
.sp-brand .c { animation-delay: 4.7s, 5.4s; color: #2EC4B6; }
.sp-brand .p { animation-delay: 4.9s; background: #E62E6B; color: #fff; box-shadow: 0 6px 22px rgba(230,46,107,.5); }
.sp-hi { animation-delay: 5.4s; }
.sp-hi em { color: #FF9F1C; }
.sp-inst { animation-delay: 5.9s; color: #2EC4B6; border-color: rgba(46,196,182,.4); background: rgba(46,196,182,.12); }
.sp-desc { animation-delay: 6.4s; }
.sp-chips span:nth-child(1) { background: #FF9F1C; animation-delay: 7s; }
.sp-chips span:nth-child(2) { background: #E62E6B; color: #fff; animation-delay: 7.2s; }
.sp-chips span:nth-child(3) { background: #2EC4B6; animation-delay: 7.4s; }
.sp-chips span:nth-child(4) { background: #FFB347; animation-delay: 7.6s; }
.splash .bar i { background: linear-gradient(90deg, #E62E6B, #FF9F1C, #2EC4B6); animation-duration: 10s; }
.sp-sky span:nth-child(3n) { color: #FF9F1C; }
.sp-sky span:nth-child(3n/**/+1) { color: #E62E6B; }
.sp-sky span:nth-child(3n/**/+2) { color: #2EC4B6; }
.sp-sky span { animation-duration: 8s; }
.acc { max-width: 640px; margin: 0 auto; }
.acc-head { display: flex; gap: 16px; align-items: center; padding: 20px; border-color: var(--primary-line); }
.acc-av { width: 72px; height: 72px; flex: none; border-radius: 22px; display: grid; place-items: center; font: 700 32px var(--head); color: #fff; background: var(--berry); box-shadow: 8px 8px 0 var(--primary); }
.acc-id { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.acc-id h1 { font-size: 22px; overflow: hidden; text-overflow: ellipsis; }
.acc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.acc-tags span { font: 600 11px var(--fun); padding: 2px 10px; border-radius: 999px; background: var(--card2); color: var(--muted); }
.acc-tags span:first-child { background: var(--primary); color: var(--primary-ink); }
.acc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.acc-stats a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 6px; color: var(--text); text-align: center; }
.acc-stats a:hover { text-decoration: none; }
.acc-stats b { font: 700 24px var(--fun); color: var(--primary-text); height: 30px; display: grid; place-items: center; }
.acc-stats a:nth-child(2) b { color: var(--mint); }
.acc-stats a:nth-child(3) b { color: var(--berry); }
.acc-stats span { font-size: 12px; color: var(--muted); }
.acc-menu { display: flex; flex-direction: column; padding: 6px; }
.acc-menu a { display: flex; align-items: center; gap: 14px; padding: 13px 12px; border-radius: 14px; color: var(--text); font-weight: 700; }
.acc-menu a:hover { background: var(--card2); text-decoration: none; }
.acc-menu a svg { color: var(--primary-text); }
.acc-menu a span { flex: 1; }
.acc-menu a i { font-style: normal; color: var(--muted); font-size: 20px; }
.acc-sub { border-top: 1px solid var(--line2); padding-top: 14px; margin-top: 6px; }
.acc-sub h3 { font-size: 15px; }
.acc-set { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line2); }
.acc-set:first-of-type { border-top: 0; }
.acc-out { border-color: var(--red-line); }
.acc :target { scroll-margin-top: 80px; }
.hi { display: flex; align-items: center; gap: 10px; }
.hic { width: 34px; height: 34px; flex: none; border-radius: 11px; display: inline-grid; place-items: center; font-style: normal; color: var(--ic, var(--primary)); background: color-mix(in srgb, var(--ic, var(--primary)) 16%, transparent); }
.ic-heart, .ic-flame, .ic-logout, .ic-trash, .ic-bell { --ic: var(--berry); }
.ic-clock, .ic-calendar, .ic-history, .ic-file, .ic-moon, .ic-phone { --ic: var(--mint); }
.ic-sparkle, .ic-layers, .ic-cap, .ic-book, .ic-user, .ic-gear { --ic: var(--primary); }
.acc-set { justify-content: flex-start; }
.acc-set .grow { flex: 1; }
.acc-set > .btn, .acc-set > .switch { flex: none; }
.acc-mail { display: inline-flex; align-items: center; gap: 6px; }
.topnav a { display: inline-flex; align-items: center; gap: 6px; }
.btn svg { flex: none; }
.switch { width: 54px; height: 32px; flex: none; border-radius: 999px; border: 1px solid var(--line); background: var(--card2); position: relative; cursor: pointer; transition: background .25s; }
.switch i { position: absolute; top: 3px; inset-inline-start: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--muted); transition: inset-inline-start .25s cubic-bezier(.3,1.4,.5,1), background .25s; }
.switch.on { background: var(--mint); border-color: var(--mint); }
.switch.on i { inset-inline-start: 25px; background: #fff; }
.switch:disabled { opacity: .5; cursor: not-allowed; }
.acc-cta { display: grid; gap: 10px; }
.gsi { display: flex; flex-direction: column; align-items: center; gap: 8px; min-height: 44px; }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.authx { display: grid; gap: 22px; max-width: 980px; margin: 8px auto; align-items: start; }
@media (min-width: 860px) {
  .authx { grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 30px; }
}
.authx-perks { display: flex; flex-direction: column; gap: 14px; }
.authx-h { font-size: clamp(26px, 7vw, 38px); line-height: 1.4; }
.authx-h em { font-style: normal; color: var(--primary); }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.perks li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.perks b { width: 42px; height: 42px; flex: none; border-radius: 13px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); }
.perks span { display: flex; flex-direction: column; font-size: 13px; color: var(--muted); line-height: 1.6; }
.perks strong { font: 600 15px var(--head); color: var(--text); }
.p1 { --c: var(--primary); }
.p2 { --c: var(--mint); }
.p3 { --c: var(--berry); }
.p4 { --c: var(--primary); }
.p5 { --c: var(--mint); }
.authx-box { display: flex; flex-direction: column; border-color: var(--primary-line); }
@media (min-width: 860px) {
  .authx-box { position: sticky; top: 90px; }
}
@media (max-width: 859px) {
  .authx-box { order: -1; }
  .perks li { padding: 10px 12px; }
}
.authx-google { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 14px; border-radius: 18px; background: var(--card2); }
.authx-google .gsi { margin-top: 8px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 16px; background: var(--card2); }
.seg a { display: flex; align-items: center; justify-content: center; gap: 6px; height: 42px; border-radius: 12px; color: var(--muted); font: 600 13px var(--fun); }
.seg a:hover { text-decoration: none; color: var(--text); }
.seg a.on { background: var(--primary); color: var(--primary-ink); }
.inp { position: relative; display: block; }
.inp svg { position: absolute; top: 50%; inset-inline-end: 14px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.inp .input { padding-inline-end: 44px; }
.inp:focus-within svg { color: var(--primary); }
.authx-t { font-size: 22px; text-align: center; }
.authx-box .gsi { padding: 6px 0; }
.authx-box { align-items: stretch; gap: 18px; padding: 26px 20px; overflow: hidden; position: relative; }
.gl-art { position: relative; width: 96px; height: 96px; margin: 0 auto; }
.gl-art span { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed var(--line); animation: spin 14s linear infinite; }
.gl-art span:nth-child(2) { inset: 12px; border: 2px solid transparent; border-top-color: var(--primary); border-left-color: var(--berry); animation-duration: 3s; }
.gl-art span:nth-child(3) { inset: -8px; border: 0; animation-duration: 6s; animation-direction: reverse; background: radial-gradient(circle at 50% 0, var(--mint) 0 5px, transparent 6px), radial-gradient(circle at 0 70%, var(--primary) 0 4px, transparent 5px), radial-gradient(circle at 100% 70%, var(--berry) 0 4px, transparent 5px); }
.gl-art b { position: absolute; inset: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: var(--primary-ink); }
.gbtn { position: relative; border-radius: 22px; padding: 2px; background: linear-gradient(120deg, #4285F4, #34A853, #FBBC05, #EA4335, #4285F4); background-size: 300% 300%; animation: gflow 5s linear infinite; transition: transform .2s cubic-bezier(.3,1.4,.5,1); }
@keyframes gflow { to { background-position: 300% 0; } }
.gbtn:hover { transform: translateY(-2px) scale(1.01); }
.gbtn:active { transform: scale(.98); }
.gbtn-face { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 20px; background: var(--card); }
.g-logo { width: 48px; height: 48px; flex: none; border-radius: 15px; display: grid; place-items: center; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.gbtn-txt { flex: 1; display: flex; flex-direction: column; line-height: 1.5; }
.gbtn-txt strong { font: 600 17px var(--head); color: var(--text); }
.gbtn-txt small { font-size: 12px; color: var(--muted); }
.gbtn-arrow { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: var(--primary-ink); font-weight: 800; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(-5px); } }
.gbtn-real { position: absolute; inset: 0; opacity: .01; overflow: hidden; border-radius: 22px; display: flex; align-items: center; justify-content: center; }
.gbtn-real > div, .gbtn-real iframe { width: 100% !important; height: 100% !important; transform: scale(1.6); }
.gl-safe { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.gl-safe span { font: 600 11px var(--fun); padding: 4px 12px; border-radius: 999px; background: var(--card2); color: var(--muted); }
.snd .off-i { display: none; }
.snd.muted .off-i { display: inline-flex; }
.snd .on-i, .snd .off-i { display: inline-flex; }
.snd.muted .on-i { display: none; }
.snd:not(.muted) .off-i { display: none; }
.snd:not(.muted) { color: var(--primary); }
html, body { max-width: 100%; overflow-x: clip; }
.land > *, .authx > *, .feats > *, .grid > * { min-width: 0; }
.term, .term pre { max-width: 100%; }
.top .wrap { min-width: 0; }
.top-actions { min-width: 0; flex-shrink: 1; }
.top-actions > * { flex-shrink: 0; }
@media (max-width: 480px) {
  .wrap { padding: 0 12px; }
  .top .wrap { gap: 6px; height: 56px; }
  .logo { font-size: 20px; gap: 3px; }
  .logo .cursor { display: none; }
  .logo .pro { font-size: 11px; padding: 1px 6px; }
  .top-actions { gap: 5px; }
  .icon-btn { width: 36px; height: 36px; }
  .icon-btn svg { width: 18px; height: 18px; }
  .top-actions .btn-sm { min-height: 36px; padding: 0 12px; font-size: 12.5px; }
  .bottomnav { left: 6px; right: 6px; bottom: 6px; height: 64px; }
  .bottomnav a { margin: 4px 2px; gap: 1px; font-size: 10px; white-space: nowrap; line-height: 1.3; }
  .bottomnav a svg { width: 20px; height: 20px; }
}
@media (max-width: 360px) {
  .top-actions .snd { display: none; }
  .top-actions .btn-sm svg { display: none; }
}
.gsi-main { min-height: 48px; justify-content: center; }
.abtn { -webkit-appearance: none; appearance: none; width: 100%; height: 56px; border: 0; border-radius: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 0 20px; background: var(--text); color: var(--bg); font: 600 16px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", var(--font); letter-spacing: -.01em; box-shadow: 0 1px 2px rgba(0,0,0,.2), 0 8px 24px rgba(0,0,0,.18); transition: transform .15s ease, box-shadow .2s ease, opacity .2s; }
.abtn:hover { box-shadow: 0 1px 2px rgba(0,0,0,.2), 0 12px 30px rgba(0,0,0,.26); }
.abtn:active { transform: scale(.97); }
.abtn-g { width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; }
.abtn.busy { opacity: .6; pointer-events: none; }
.abtn.busy .abtn-g { animation: spin 1s linear infinite; }
.abtn-hint { margin: -8px 0 0; text-align: center; font-size: 12.5px; color: var(--muted); }
