/* Public pages (home, about, contact, plans): same tokens as the app, wider marketing layout. */
body.public { padding-bottom: 0; background: var(--bg); }
.pub-wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.public .brandmark { color: var(--text); }
.public .brandmark .logo { background: var(--brand); color: var(--on-brand); }
.pub-head { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--surface) 88%, transparent);
            backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.pub-bar { display: flex; align-items: center; gap: 16px; height: 64px; }
.pub-nav { display: flex; gap: 4px; }
.pub-nav a { color: var(--muted); font-weight: 600; padding: 8px 12px; border-radius: 10px; white-space: nowrap; }
.pub-nav a:hover { color: var(--text); background: var(--surface-2); }
.pub-nav a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }
.pub-bar .pub-nav { margin-inline-start: 12px; }
.pub-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.pub-actions .btn { white-space: nowrap; }
@media (max-width: 420px) { .pub-actions { gap: 5px; } .pub-actions .btn.sm { padding-inline: 10px; font-size: .8rem; } }
.pub-menu { display: none; }
@media (max-width: 760px) {
  .pub-bar .pub-nav, .pub-actions .btn.ghost { display: none; }
  .pub-menu { display: block; }
  .pub-menu summary { list-style: none; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
                      display: grid; place-items: center; cursor: pointer; }
  .pub-menu summary::-webkit-details-marker { display: none; }
  .pub-menu summary span, .pub-menu summary span::before, .pub-menu summary span::after {
    display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); position: relative; transition: transform .2s, background .2s; }
  .pub-menu summary span::before, .pub-menu summary span::after { content: ""; position: absolute; inset-inline-start: 0; }
  .pub-menu summary span::before { top: -6px; } .pub-menu summary span::after { top: 6px; }
  .pub-menu[open] summary span { background: transparent; }
  .pub-menu[open] summary span::before { transform: translateY(6px) rotate(45deg); }
  .pub-menu[open] summary span::after { transform: translateY(-6px) rotate(-45deg); }
  .pub-menu summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
  .pub-menu nav { position: absolute; top: 64px; inset-inline: 0; background: var(--surface); border-bottom: 1px solid var(--line);
                  box-shadow: 0 16px 30px -12px rgba(14, 20, 38, .25); padding: 8px 16px 14px; display: grid; }
  .pub-menu nav a { color: var(--text); font-weight: 700; padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .pub-menu nav a:last-child { border-bottom: 0; color: var(--brand); }
  .pub-menu nav a[aria-current="page"] { color: var(--brand); }
}

.btn.lg { padding: 14px 24px; font-size: 1rem; border-radius: 14px; }
.btn.light { background: #fff; color: #070b1f; border-color: #fff; }

/* sections */
.pub-sec { padding: 36px 16px; }
.pub-h2 { font-size: clamp(1.3rem, 2.6vw, 1.75rem); font-weight: 900; margin: 0 0 20px; letter-spacing: -.01em; }
.pub-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-top: 8px; }
.pub-stats div { background: var(--surface); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.pub-stats b { display: block; font-size: 1.6rem; font-weight: 900; color: var(--brand); }
.pub-stats span { color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.features article { background: var(--surface); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.features h3 { margin: 12px 0 6px; font-size: 1.05rem; }
.features p { margin: 0; color: var(--muted); }
.ico { width: 44px; height: 44px; border-radius: 13px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { background: var(--surface); border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; font-weight: 600; }
.prose { max-width: 820px; } .prose h2 { font-size: 1.3rem; margin: 1.4em 0 .5em; } .prose h3 { margin: 1.2em 0 .4em; }
.prose p, .prose li { color: var(--text); line-height: 2; } .prose ul { padding-inline-start: 1.2em; }
.card-like { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 28px; }
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details div { color: var(--muted); padding-bottom: 14px; }
.cta-band { background: var(--hero); color: #fff; border-radius: 24px; padding: 32px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band h2 { font-size: 1.4rem; font-weight: 900; } .cta-band p { margin: 6px 0 0; opacity: .85; }
.pub-page-head { padding-top: 44px; padding-bottom: 8px; }
.pub-page-head h1 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 900; margin-bottom: 10px; }
.trial { display: inline-flex; gap: 6px; align-items: center; margin-top: 14px; background: var(--brand-soft); color: var(--brand); font-weight: 700; padding: 8px 14px; border-radius: 999px; }

/* plans */
.plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; align-items: stretch; }
.plan { position: relative; background: var(--surface); border-radius: 22px; padding: 24px; border: 1.5px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan.best { border-color: var(--brand); box-shadow: 0 20px 40px -18px rgba(47, 91, 255, .45); }
.plan .tag { position: absolute; top: -12px; inset-inline-start: 20px; background: var(--brand); color: var(--on-brand); font-size: .8rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.plan h3 { margin: 0; font-size: 1.1rem; }
.plan .price { font-size: 1.6rem; font-weight: 900; margin: 12px 0 2px; }
.plan .per, .plan .note { color: var(--muted); margin: 0; }
.plan .save { color: var(--r1); font-weight: 800; margin: 6px 0 0; }
.plan .btn { margin-top: auto; } .plan .btn.block { margin-top: 18px; }
.ticks { list-style: none; padding: 0; margin: 14px 0 0; color: var(--muted); }
.ticks li::before { content: "✓ "; color: var(--brand); font-weight: 900; }
.ad-table { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; max-width: 720px; }
.ad-table div { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; gap: 12px; }
.ad-table div + div { border-top: 1px solid var(--line); }
.ad-table small { display: block; color: var(--muted); }
.pay-note { display: flex; gap: 10px; align-items: center; color: var(--muted); padding-top: 0; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 20px; align-items: start; }
.contact-form { margin-top: 0; padding: 24px; } .contact-form h2 { font-size: 1.2rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.errorlist { list-style: none; padding: 0; margin: 4px 0 0; color: var(--danger); font-size: .88rem; }
.sent { text-align: center; padding: 30px 10px; } .sent .i { width: 44px; height: 44px; color: var(--r1); }
.contact-info { display: grid; gap: 10px; }
.ci { display: flex; gap: 12px; align-items: center; background: var(--surface); border-radius: var(--radius-sm); padding: 14px 16px; box-shadow: var(--shadow); color: var(--text); }
.ci .i { color: var(--brand); flex: none; } .ci span { color: var(--muted); font-size: .85rem; } .ci b { display: block; color: var(--text); font-size: 1rem; }
@media (max-width: 760px) { .contact-grid, .two { grid-template-columns: 1fr; } }

/* footer */
/* footer: the page's navy panel; local tokens so every rule below turns light-on-dark */
.pub-foot { --surface: rgba(255, 255, 255, .06); --surface-2: rgba(255, 255, 255, .05); --line: rgba(255, 255, 255, .12);
  --text: #fff; --muted: rgba(255, 255, 255, .66); --faint: rgba(255, 255, 255, .45); --brand: #9db1ff;
  color: #fff; border-radius: 32px 32px 0 0; margin-top: 80px; padding: 52px 0 0;
  background: #0e1426 radial-gradient(60% 120% at 100% 0%, rgba(47, 91, 255, .35), transparent 60%); }
.pub-foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px 40px; align-items: start; }
.pub-foot-brand p { color: var(--muted); font-size: .9rem; line-height: 1.9; margin: 12px 0 0; max-width: 340px; }
.pub-foot h3 { font-size: .9rem; font-weight: 800; color: var(--text); margin: 4px 0 14px; letter-spacing: 0; }
.pub-foot nav a, .pub-foot-grid > div:not(.pub-foot-brand) a { display: block; width: fit-content; color: var(--muted);
  font-size: .9rem; padding: 5px 0; text-decoration: none; transition: color .15s; }
.pub-foot nav a:hover, .pub-foot-grid > div a:hover { color: var(--brand); }
.pub-foot-addr { color: var(--muted); font-size: .85rem; line-height: 1.8; margin: 6px 0 0; }
.pub-social { display: flex; gap: 8px; margin-top: 16px; }
.pub-social a { color: var(--text); font-size: .82rem; font-weight: 600; padding: 6px 14px; border: 1.5px solid var(--line);
  border-radius: 999px; text-decoration: none; }
.pub-social a:hover { border-color: var(--brand); color: var(--brand); }
.pub-foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap;
  border-top: 1px solid var(--line); margin-top: 36px; padding: 18px 0 22px; }
.pub-foot-bottom p { margin: 0; color: var(--faint); font-size: .8rem; }
.pub-foot-bottom .enamad { margin-inline-start: auto; }
@media (max-width: 860px) {
  .pub-foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .pub-foot-brand { grid-column: 1 / -1; }
  .pub-foot-brand p { max-width: none; }
}
/* phones: the brand centred, link groups as two cards side by side, support as a card of pill links */
@media (max-width: 600px) {
  .pub-foot { padding-top: 34px; margin-top: 56px; border-radius: 24px 24px 0 0; }
  .pub-foot-grid { gap: 12px; }
  .pub-foot-brand { text-align: center; padding: 0 8px 12px; }
  .pub-foot-brand .brandmark { justify-content: center; }
  .pub-foot-brand p { margin: 10px auto 0; font-size: .86rem; }
  .pub-social { justify-content: center; }
  .pub-foot-grid > nav, .pub-foot-grid > div:not(.pub-foot-brand) {
    background: var(--surface-2, var(--bg)); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px 10px; }
  .pub-foot h3 { font-size: .85rem; margin: 0 0 6px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
  .pub-foot nav a { width: 100%; padding: 9px 0; font-size: .88rem; }
  .pub-foot nav a + a { border-top: 1px dashed var(--line); }
  .pub-foot-grid > div:last-child { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
  .pub-foot-grid > div:last-child h3 { width: 100%; }
  .pub-foot-grid > div:last-child a { width: auto; padding: 7px 14px; border: 1.5px solid var(--line); border-radius: 999px;
    background: var(--surface); color: var(--text); font-size: .84rem; }
  .pub-foot-addr { width: 100%; text-align: center; }
  .pub-foot-bottom { flex-direction: column; justify-content: center; text-align: center; margin-top: 22px; padding: 16px 0 calc(18px + env(safe-area-inset-bottom)); }
  .pub-foot-bottom p { font-size: .76rem; line-height: 1.8; }
  .pub-foot-bottom .enamad { margin: 4px auto 0; }
}
body.public main { max-width: none; margin: 0; padding: 0; }

/* همکاری در فروش */
.aff-form { max-width: 560px; }
.aff-form input:not([type=checkbox]) { width: 100%; }
.aff-table { width: 100%; border-collapse: collapse; margin: 8px 0 12px; font-size: .92rem; }
.aff-table th, .aff-table td { text-align: right; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.aff-table th { color: var(--muted); font-weight: 600; }
.aff-link .invite-link { display: flex; gap: 8px; margin: 12px 0; }
.aff-link .invite-link input { flex: 1; min-width: 0; }

/* app-like bottom tabs on phones */
.tabbar { display: none; }
@media (max-width: 760px) {
  /* floating frosted-white bar; the current tab gets a soft blue pill, search a blue button */
  .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; z-index: 30; inset: auto 10px calc(10px + env(safe-area-inset-bottom)) 10px;
    padding: 6px; border-radius: 22px; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
    box-shadow: 0 18px 40px -16px rgba(14, 20, 38, .35), inset 0 0 0 1px rgba(14, 20, 38, .08); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 0 6px; border-radius: 16px;
    color: #64708a; font-size: .7rem; font-weight: 700; text-decoration: none; transition: background .2s, color .2s; }
  .tabbar a .i { width: 22px; height: 22px; }
  .tabbar a[aria-current="page"] { color: var(--brand); background: #eef2ff; box-shadow: inset 0 0 0 1px rgba(47, 91, 255, .18); }
  .tabbar a[aria-current="page"] .i { color: var(--brand); }
  .tabbar .tab-search { color: #0e1426; }
  .tabbar .tab-search .i { width: 36px; height: 36px; padding: 8px; margin-top: -2px; border-radius: 12px; background: var(--brand); color: #fff;
    box-shadow: 0 8px 16px -6px rgba(47, 91, 255, .8); }
  .tabbar .tab-search { gap: 1px; padding-top: 2px; }
  body.public { padding-bottom: 0; } .pub-foot { padding-bottom: 84px; }   /* the navy footer runs under the bar, no light strip */
  .pub-head { position: relative; }                 /* scrolls away (the search box sticks instead); still holds the menu panel */
  .board-search { top: 0; }
}
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding-top: 14px; font-size: .82rem; color: var(--faint); }
.crumbs a { color: var(--muted); } .crumbs [aria-current] { color: var(--text); font-weight: 600; }

/* public price board */
.board-head { padding-top: 20px; padding-bottom: 6px; }
.board-head h1 { font-size: clamp(1.4rem, 3.4vw, 2.2rem); font-weight: 900; margin: 6px 0 8px; }
.board-day { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: .88rem; margin: 8px 0 0; }
.board-search { position: sticky; top: 64px; z-index: 15; background: var(--bg); padding-top: 10px; padding-bottom: 10px; }
.board-search form { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1.5px solid var(--line);
  border-radius: 16px; padding: 0 14px; box-shadow: var(--shadow); }
.board-search form:focus-within { border-color: var(--brand); }
.board-search input { flex: 1; min-width: 0; border: 0; background: none; padding: 14px 0; font: inherit; font-size: 1rem; color: var(--text); outline: none; box-shadow: none; }
.board-search .i { color: var(--muted); flex: none; }
.brand-chips { flex-wrap: nowrap; margin-top: 10px; }
.brand-chips .chip, .mag-tags .chip { flex-direction: row; min-height: 38px; padding: 0 14px; text-decoration: none; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-weight: 700; }
.brand-chips .chip.on { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.board-sec { padding-top: 14px; padding-bottom: 14px; }
.board-sec .pub-h2 { display: flex; gap: 8px; align-items: center; font-size: 1.15rem; margin-bottom: 12px; }
.hscroll { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.hscroll::-webkit-scrollbar { display: none; }
.mini { flex: none; scroll-snap-align: start; width: 168px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 12px; box-shadow: var(--shadow); color: var(--text); text-decoration: none; display: grid; gap: 4px; }
.mini b { font-size: .9rem; direction: ltr; text-align: right; } .mini span { color: var(--muted); font-size: .85rem; }
.movers { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .movers { grid-template-columns: 1fr; } }
.mover { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 14px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--text); text-decoration: none; margin-bottom: 8px; }
.mover small { color: var(--muted); }
.board { list-style: none; margin: 0; padding: 0; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.board li + li { border-top: 1px solid var(--line); }
.board a { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 13px 16px; color: var(--text); text-decoration: none; }
.board a:active { background: var(--surface-2); }
.b-name b { display: block; direction: ltr; text-align: right; font-size: .95rem; }
.b-name small, .b-price small { display: block; color: var(--muted); font-size: .76rem; }
.b-price { text-align: left; } .b-price b { font-size: 1.02rem; font-weight: 900; }
.b-price small.down { color: var(--r1); } .b-price small.up { color: var(--danger); }
.spark { width: 84px; height: 26px; } .spark polyline { fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linejoin: round; }
@media (max-width: 420px) { .spark { display: none; } .board a { grid-template-columns: 1fr auto; } }
.hero-price { display: grid; gap: 4px; background: var(--hero); color: #fff; border-radius: 22px; padding: 20px 22px; margin-top: 14px; }
.hero-price span { opacity: .85; } .hero-price b { font-size: clamp(1.7rem, 6vw, 2.4rem); font-weight: 900; }
.hero-price small.faint { color: rgba(255,255,255,.7); } .hero-price em { font-style: normal; font-weight: 700; }
.hero-price em.down { color: #7dffb3; } .hero-price em.up { color: #ffb4b0; }
.vtable { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.vrow { display: grid; grid-template-columns: 1.1fr 1.3fr 1fr .6fr; gap: 8px; padding: 12px 16px; align-items: center; }
.vrow + .vrow { border-top: 1px solid var(--line); } .vhead { color: var(--muted); font-size: .8rem; background: var(--surface-2); }
.tag-na { background: var(--warn-bg); color: var(--warn-text); padding: 1px 7px; border-radius: 999px; font-size: .72rem; }
.locked { position: relative; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.locked-rows { position: absolute; inset: 18px; display: grid; gap: 10px; filter: blur(5px); opacity: .45; }
.locked-rows span { border-radius: 12px; background: linear-gradient(90deg, var(--line), var(--surface-2)); }
.locked-text { position: relative; display: grid; justify-items: center; text-align: center; gap: 6px; padding: 32px 20px; }
.locked-text h2 { font-size: 1.1rem; margin: 0; } .locked-text p { margin: 0 0 6px; color: var(--muted); font-size: .9rem; }
.locked-text .i { color: var(--brand); width: 28px; height: 28px; }

/* مجله */
.mag-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.mag-grid.small { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.mag-card a { display: block; height: 100%; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; color: var(--text); text-decoration: none; border: 1px solid var(--line); }
.mag-card img, .mag-noimg { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; background: var(--brand-soft); }
.mag-card div { padding: 14px 16px 16px; } .mag-card h3 { margin: 4px 0 6px; font-size: 1.02rem; line-height: 1.7; }
.mag-card p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.9; }
.mag-cat { color: var(--brand); font-weight: 800; font-size: .8rem; text-decoration: none; }
.pager { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 22px; color: var(--muted); }
.mag-article { max-width: 820px; padding-top: 18px; padding-bottom: 10px; }
.mag-article h1 { font-size: clamp(1.5rem, 4vw, 2.3rem); font-weight: 900; line-height: 1.5; margin: 8px 0; }
.mag-meta { color: var(--muted); font-size: .88rem; margin: 0 0 16px; }
.mag-cover { width: 100%; height: auto; border-radius: var(--radius); aspect-ratio: 1200 / 630; object-fit: cover; }
.mag-draft { background: var(--warn-bg); color: var(--warn-text); padding: 10px 14px; border-radius: 12px; }
.mag-toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 18px; margin: 20px 0; }
.mag-toc summary { font-weight: 800; cursor: pointer; } .mag-toc ol { margin: 10px 0 0; padding-inline-start: 1.2em; line-height: 2.1; }
.mag-toc .l3 { margin-inline-start: 1.2em; list-style: circle; }
.mag-body { font-size: 1.05rem; } .mag-body h2, .mag-body h3 { scroll-margin-top: 80px; }
.mag-body img { max-width: 100%; height: auto; border-radius: 14px; }
.mag-body iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 14px; }
.mag-body blockquote { margin: 1em 0; padding: 10px 18px; border-inline-start: 4px solid var(--brand); background: var(--brand-soft); border-radius: 10px; }
.mag-body pre { direction: ltr; text-align: left; background: var(--surface-2); padding: 12px; border-radius: 10px; overflow-x: auto; }
.mag-body a { color: var(--brand); }
.mag-body .ql-align-center { text-align: center; } .mag-body .ql-align-left { text-align: left; } .mag-body .ql-align-justify { text-align: justify; }
.mag-body .ql-indent-1 { padding-inline-start: 2em; } .mag-body .ql-indent-2 { padding-inline-start: 4em; }
.mag-body table { width: 100%; border-collapse: collapse; } .mag-body td, .mag-body th { border: 1px solid var(--line); padding: 8px; }
.mag-prices { margin: 26px 0; } .mag-prices h2 { font-size: 1.15rem; }
.mag-tags { flex-wrap: wrap; margin: 20px 0; }
.mag-share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); margin: 18px 0; }

/* home: a centered column; the live price tape is the one loud element */
.h-intro { text-align: center; padding-block: 44px 0; position: relative; }
.h-intro::before { content: ""; position: absolute; inset: -64px 0 -40px; z-index: -1; pointer-events: none;
                   background: radial-gradient(var(--line) 1.2px, transparent 1.3px) 0 0 / 22px 22px;
                   mask-image: radial-gradient(ellipse 60% 70% at 50% 35%, #000 20%, transparent 75%);
                   -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 35%, #000 20%, transparent 75%); }
.h-chip { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 5px 14px; border: 1px solid var(--line);
          border-radius: 999px; background: var(--surface); font-size: .86rem; font-weight: 700; color: var(--muted); }
.h-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--r1); box-shadow: 0 0 0 0 color-mix(in srgb, var(--r1) 60%, transparent);
            animation: h-pulse 2s ease-out infinite; }
@keyframes h-pulse { to { box-shadow: 0 0 0 8px transparent; } }
.h-intro h1 { font-size: clamp(1.75rem, 4.2vw, 2.85rem); line-height: 1.3; font-weight: 900; letter-spacing: -.02em; max-width: 16em; margin: 16px auto 12px; text-wrap: balance; }
.h-lead { font-size: 1.06rem; line-height: 1.95; color: var(--muted); max-width: 36em; margin: 0 auto; text-wrap: pretty; }
.h-search { display: flex; align-items: center; gap: 8px; max-width: 620px; margin: 26px auto 0; padding: 6px; padding-inline-start: 16px;
            background: var(--surface); border: 1.5px solid var(--line); border-radius: 18px; box-shadow: 0 12px 32px -16px rgba(14, 20, 38, .25); }
.h-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.h-search .i { color: var(--muted); }
.h-search input { flex: 1; min-width: 0; border: 0; background: none; padding: 12px 0; font: inherit; font-size: 16px; color: var(--text); outline: none; box-shadow: none; }
.h-search .btn { padding: 12px 20px; border-radius: 13px; white-space: nowrap; }
.h-quick { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 14px 0 0; font-size: .88rem; }
.h-quick span { color: var(--faint); }
.h-quick a { color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-weight: 600; }
.h-quick a:hover { border-color: var(--brand); color: var(--brand); }
/* the one entrance moment: the hero builds up line by line */
.h-intro > * { animation: h-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.h-intro > :nth-child(2) { animation-delay: .08s; } .h-intro > :nth-child(3) { animation-delay: .16s; }
.h-intro > :nth-child(4) { animation-delay: .24s; } .h-intro > :nth-child(5) { animation-delay: .32s; }
@keyframes h-rise { from { opacity: 0; transform: translateY(14px); } }

/* price ticker: today's movers, scrolling like a market board */
.h-ticker { margin-top: 36px; overflow: hidden; background: var(--surface); border-block: 1px solid var(--line);
            mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
            -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.h-ticker-run { display: flex; width: max-content; animation: h-run 70s linear infinite; }
.h-ticker:hover .h-ticker-run, .h-ticker:focus-within .h-ticker-run { animation-play-state: paused; }
@keyframes h-run { to { transform: translateX(50%); } }
.h-ticker ul { display: flex; list-style: none; margin: 0; padding: 0; }
.h-ticker a { display: flex; align-items: baseline; gap: 10px; padding: 13px 24px; border-inline-start: 1px solid var(--line); color: var(--text); white-space: nowrap; }
.h-ticker b { font-weight: 800; direction: ltr; unicode-bidi: isolate; }
.h-ticker span { font-variant-numeric: tabular-nums; color: var(--muted); }
.h-ticker em { font-style: normal; font-size: .85rem; font-weight: 700; }
.h-ticker em.down { color: var(--r1); } .h-ticker em.up { color: var(--danger); }

/* what is TopTel24: three panels with real screens */
.h-what { padding-top: 72px; max-width: 1060px; }
.h-what-lead { text-align: center; color: var(--muted); font-size: 1.08rem; line-height: 2; max-width: 40em; margin: -12px auto 32px; text-wrap: pretty; }
.h-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.h-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; padding: 28px 28px 0;
           display: flex; flex-direction: column; text-align: center; }
.h-panel h3 { font-size: 1.15rem; font-weight: 900; margin: 0 0 6px; }
.h-panel p { color: var(--muted); margin: 0 auto; max-width: 26em; line-height: 1.9; }
.h-panel img { display: block; width: min(78%, 300px); height: 300px; object-fit: cover; object-position: top; margin: 24px auto 0;
               border: 7px solid #0e1426; border-bottom: 0; border-radius: 30px 30px 0 0; box-shadow: 0 20px 40px -20px rgba(14, 20, 38, .45); background: #fff; }
.h-panel.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px; padding: 0 40px; text-align: start;
                background: linear-gradient(135deg, var(--brand-soft), var(--surface) 70%); }
.h-panel.wide h3 { font-size: clamp(1.3rem, 2.6vw, 1.75rem); } .h-panel.wide p { margin: 0; font-size: 1.05rem; }
.h-panel.wide img { height: 380px; margin-top: 40px; }
.h-what .h-cta { margin-top: 32px; }
.h-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
@media (prefers-reduced-motion: reduce) {
  .h-intro > *, .h-chip i { animation: none; }
  .h-ticker-run { animation: none; } .h-ticker { overflow-x: auto; }
}
@media (max-width: 760px) {
  .h-panels, .h-panel.wide { grid-template-columns: 1fr; }
  .h-panel.wide { padding: 28px 22px 0; text-align: center; }
  .h-panel.wide p { margin: 0 auto; }
  .h-panel.wide img, .h-panel img { height: 260px; margin-top: 22px; }
  .h-search .btn { padding-inline: 14px; }
  .h-quick { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .h-quick::-webkit-scrollbar { display: none; }
  .h-quick a, .h-quick span { flex: none; }
}

/* live price tape: one compact table, dated so it reads as today's list */
.tape { max-width: 760px; margin: 40px auto 0; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.tape-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
             background: #0e1426 radial-gradient(120% 140% at 0% 0%, rgba(47, 91, 255, .45), transparent 60%); color: #fff; padding: 18px 22px; }
.tape-head h2 { font-size: 1.05rem; font-weight: 900; margin: 4px 0 0; }
.tape-live { display: flex; align-items: center; gap: 7px; margin: 0; font-size: .8rem; color: rgba(255, 255, 255, .7); }
.tape-live i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: h-pulse 1.8s infinite; }
.tape-day { margin: 0; display: grid; text-align: center; background: #fff; color: #0e1426; border-radius: 14px; padding: 6px 14px 7px; line-height: 1.3;
            box-shadow: 0 0 0 4px rgba(255, 255, 255, .15); }
.tape-day small { font-size: .72rem; color: #2f5bff; font-weight: 800; }
.tape-day b { font-size: 1.15rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.tape-rows { list-style: none; margin: 0; padding: 0; }
.tape-rows li + li { border-top: 1px solid var(--line); }
.tape-rows a { display: grid; grid-template-columns: minmax(0, 1fr) 72px auto 6.2em; gap: 18px; align-items: center;
               padding: 13px 22px; color: var(--text); text-decoration: none; }
.tape-rows a:hover { background: var(--surface-2); }
.tape-rows a:focus-visible, .tape-foot a:focus-visible, .h-whole:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.t-name { min-width: 0; } .t-name b { display: block; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-name small { display: block; color: var(--faint); font-size: .78rem; text-align: right; }
.t-price { font-variant-numeric: tabular-nums; white-space: nowrap; }
.t-price b { font-size: 1.3rem; font-weight: 900; letter-spacing: -.01em; }
.t-price small { color: var(--muted); font-size: .75rem; margin-inline-start: 4px; }
.t-move { font-size: .82rem; color: var(--faint); white-space: nowrap; text-align: center; padding: 4px 8px; border-radius: 999px; background: var(--surface-2); }
.t-move.down { color: var(--r1); font-weight: 800; background: color-mix(in srgb, var(--r1) 12%, transparent); }
.t-move.up { color: var(--danger); font-weight: 800; background: color-mix(in srgb, var(--danger) 12%, transparent); }
.t-spark { width: 72px; height: 24px; } .t-spark polyline { fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linejoin: round; }
.tape-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px 20px; flex-wrap: wrap;
             padding: 14px 22px; background: var(--surface-2); border-top: 1px solid var(--line); }
.tape-foot p { margin: 0; color: var(--muted); font-size: .86rem; display: flex; align-items: center; gap: 6px; }
.tape-foot a { font-weight: 800; white-space: nowrap; }
@media (max-width: 680px) {
  .tape-rows a { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name move" "name price"; gap: 4px 12px; padding: 12px 16px; }
  .t-name { grid-area: name; } .t-price { grid-area: price; text-align: end; } .t-move { grid-area: move; justify-self: end; }
  .t-spark { display: none; }
  .t-price b { font-size: 1.15rem; }
  .tape-head, .tape-foot { padding-inline: 16px; }
}

.h-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; margin: 28px auto 0; max-width: 880px; }
.h-facts p { margin: 0; color: var(--muted); }
.h-facts b { color: var(--text); font-weight: 900; font-size: 1.2rem; }

.h-sec { padding-top: 80px; max-width: 1060px; }
.h-h2 { font-size: clamp(1.35rem, 2.8vw, 1.9rem); font-weight: 900; text-align: center; margin: 0 0 28px; letter-spacing: -.01em; }
.h-sub { text-align: center; color: var(--muted); margin: -18px auto 32px; max-width: 34em; }

/* features: a bento, the first item is the headline reason */
.h-bento { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.h-bento li { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 24px; }
.h-bento h3 { font-size: 1.05rem; font-weight: 900; margin: 16px 0 6px; }
.h-bento p { margin: 0; color: var(--muted); line-height: 1.9; font-size: .93rem; }
.h-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.h-bento li:first-child { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px;
  color: #fff; border: 0; background: #0e1426 radial-gradient(90% 90% at 100% 0%, rgba(47, 91, 255, .6), transparent 65%); }
.h-bento li:first-child .h-ic { background: rgba(255, 255, 255, .12); color: #fff; margin-bottom: auto; }
.h-bento li:first-child h3 { font-size: 1.6rem; } .h-bento li:first-child p { color: rgba(255, 255, 255, .75); font-size: 1.02rem; max-width: 24em; }
.h-bento li:last-child:not(:first-child) { grid-column: 1 / -1; display: grid; grid-template-columns: 44px auto 1fr; align-items: center; gap: 4px 18px;
  background: linear-gradient(135deg, var(--brand-soft), var(--surface) 70%); }
.h-bento li:last-child:not(:first-child) h3 { margin: 0; }

/* joining: each step shows the screen it is about */
.h-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.h-steps li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 18px 18px 22px; }
.h-steps li:not(:last-child)::after { content: "←"; position: absolute; inset-inline-end: -19px; top: 64px; z-index: 1; width: 38px; height: 38px; font-size: 1.25rem; line-height: 1; border-radius: 50%;
  display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 900; box-shadow: 0 0 0 4px var(--bg); }
.h-demo { height: 132px; border-radius: 16px; margin-bottom: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: var(--bg) radial-gradient(var(--line) 1px, transparent 1px) 0 0 / 14px 14px; }
.h-demo small { color: var(--muted); font-size: .78rem; }
.d-field, .d-search, .d-row { background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; padding: 7px 14px; font-weight: 800;
  box-shadow: 0 8px 18px -12px rgba(14, 20, 38, .35); }
.d-field { direction: ltr; letter-spacing: .04em; }
.d-code { display: flex; gap: 6px; direction: ltr; }
.d-code i { font-style: normal; width: 30px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--surface); border: 1.5px solid var(--brand); font-weight: 900; color: var(--brand); }
.d-search { display: flex; align-items: center; gap: 8px; min-width: 70%; direction: ltr; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.d-search .i { color: var(--muted); }
.d-search i { width: 2px; height: 18px; background: var(--brand); animation: h-caret 1s steps(1) infinite; }
.d-row { display: flex; align-items: center; gap: 14px; }
.d-row span { display: flex; align-items: center; gap: 4px; background: var(--r1); color: #fff; border-radius: 9px; padding: 4px 10px; font-size: .82rem; }
@keyframes h-caret { 50% { opacity: 0; } }
.h-num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: #0e1426; color: #fff; font-weight: 900; font-size: .9rem; vertical-align: middle; }
.h-steps h3 { display: inline; margin: 0 8px 0 0; font-size: 1.05rem; font-weight: 900; vertical-align: middle; }
.h-steps p { margin: 10px 0 0; color: var(--muted); line-height: 1.9; font-size: .93rem; }

/* who it is for, where prices come from: two columns on one panel */
.h-prose { max-width: none; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; grid-auto-flow: column; gap: 0 48px;
  padding: 34px 40px; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(135deg, var(--brand-soft), var(--surface) 65%); }
.h-prose h2 { margin: 0 0 10px; font-size: 1.2rem; font-weight: 900; display: flex; align-items: center; gap: 10px; }
.h-prose h2::before { content: ""; flex: none; width: 10px; height: 26px; border-radius: 4px; background: var(--brand); }
.h-prose p { margin: 0; color: var(--muted); }
.h-prose strong { color: var(--text); }

/* cities: live ones solid, coming ones grey */
.h-cities { padding: 40px 32px; border-radius: 24px; border: 1px solid var(--line); text-align: center;
  background: var(--surface) radial-gradient(var(--line) 1.2px, transparent 1.2px) 0 0 / 18px 18px; }
.h-cities ul { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; max-width: 820px; }
.h-cities li { padding: 8px 16px; border-radius: 999px; border: 1.5px dashed var(--line); color: var(--faint); background: var(--surface); font-weight: 700; font-size: .92rem; }
.h-cities li.on { border: 0; background: #0e1426; color: #fff; font-size: 1.05rem; padding: 10px 20px; display: inline-flex; align-items: center; gap: 8px; }
.h-cities li.on::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.h-legend { display: flex; justify-content: center; gap: 20px; margin: 22px 0 0; color: var(--muted); font-size: .85rem; }
.h-legend span { display: flex; align-items: center; gap: 6px; }
.h-legend span::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 1.5px dashed var(--faint); }
.h-legend .on::before { border: 0; background: #0e1426; }

.h-faq #faq { padding-top: 80px; } .h-faq .pub-h2 { text-align: center; font-size: clamp(1.35rem, 2.8vw, 1.9rem); margin-bottom: 24px; }
.h-faq .faq { margin-inline: auto; }

/* closing call: brand panel with the product peeking in */
.h-end { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 24px; padding: 0 48px; border-radius: 28px; color: #fff;
  background: radial-gradient(80% 120% at 0% 100%, rgba(255, 255, 255, .18), transparent 60%), linear-gradient(135deg, #2f5bff, #1d3fd6); }
.h-end-text { padding: 48px 0; align-self: center; }
.h-end h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); font-weight: 900; margin: 0 0 18px; color: #fff; }
.h-end ul { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 8px; }
.h-end li { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .9); }
.h-end li .i { color: #fff; background: rgba(255, 255, 255, .18); border-radius: 50%; padding: 3px; width: 22px; height: 22px; }
.h-end-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.h-end-go { background: #fff; color: #1d3fd6; border: 0; font-weight: 900; box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .5); }
.h-end-go:hover { background: #eef2ff; color: #1d3fd6; }
.h-whole { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(255, 255, 255, .5); }
.h-whole:hover { color: #fff; text-decoration-color: #fff; }
.h-end img { display: block; width: min(100%, 300px); height: 320px; object-fit: cover; object-position: top; margin: 40px auto 0; justify-self: center;
  border: 7px solid #0e1426; border-bottom: 0; border-radius: 30px 30px 0 0; background: #fff; transform: rotate(-4deg) translateY(12px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); }

@media (max-width: 900px) {
  .h-bento { grid-template-columns: 1fr 1fr; }
  .h-steps { grid-template-columns: 1fr; gap: 22px; }
  .h-steps li:not(:last-child)::after { content: "↓"; inset-inline-end: auto; left: 50%; top: auto; bottom: -30px; transform: translateX(-50%); }
}
@media (max-width: 760px) {
  .h-intro { padding-top: 24px; }
  .h-cta .btn { flex: 1 1 100%; }
  .h-sec, .h-faq #faq { padding-top: 56px; }
  .h-bento li:first-child { min-height: 220px; }
  .h-bento li:last-child:not(:first-child) { grid-template-columns: 44px 1fr; }
  .h-bento li:last-child:not(:first-child) p { grid-column: 1 / -1; }
  .h-prose { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; padding: 26px 22px; }
  .h-prose p + h2 { margin-top: 22px; }
  .h-cities { padding: 30px 16px; }
  .h-end { grid-template-columns: 1fr; padding: 0 22px; text-align: center; }
  .h-end-text { padding: 36px 0 0; } .h-end ul { justify-items: center; } .h-end-btns { flex-direction: column; }
  .h-end-go { width: 100%; }
  .h-end img { height: 200px; width: 220px; margin-top: 8px; }
}
@media (max-width: 420px) { .h-bento { grid-template-columns: 1fr; } .h-bento li:first-child { grid-column: auto; } }
@media (prefers-reduced-motion: reduce) { .tape-live i, .d-search i { animation: none; } }

/* price board: navy head with today's date, brands side by side, a written market summary */
.p-head { margin-top: 14px; display: grid; grid-template-columns: 1fr auto; gap: 18px 24px; align-items: start; padding: 30px 32px; border-radius: 28px; color: #fff;
  background: #0e1426 radial-gradient(70% 140% at 0% 0%, rgba(47, 91, 255, .5), transparent 60%); }
.p-head h1 { font-size: clamp(1.45rem, 3.4vw, 2.3rem); font-weight: 900; margin: 8px 0 6px; color: #fff; }
.p-lead { margin: 0; color: rgba(255, 255, 255, .72); max-width: 40em; line-height: 1.9; }
.p-stats { grid-column: 1 / -1; list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.p-stats li { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; padding: 12px 16px;
  display: grid; gap: 2px; color: rgba(255, 255, 255, .66); font-size: .85rem; }
.p-stats b { color: #fff; font-size: 1.35rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.p-stats .down b { color: #6ee7a0; } .p-stats .up b { color: #ffa4a4; }
.p-h2 { font-size: 1.25rem; font-weight: 900; margin: 18px 0 14px; }
.mini { position: relative; width: 190px; border-radius: 18px; padding: 14px 16px; box-shadow: none; gap: 6px; }
.mini:hover { border-color: var(--brand); }
.mini-rank { position: absolute; inset-inline-start: 12px; top: 12px; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center;
  background: #0e1426; color: #fff !important; font-size: .78rem !important; font-weight: 900; }
.mini b { margin-top: 26px; } .mini > span:not(.mini-rank) { color: var(--text); font-weight: 900; font-size: 1rem; }
.mini > span small { color: var(--muted); font-weight: 400; font-size: .74rem; }
.mini .t-move { justify-self: start; }
.p-movers { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.p-movers h2 { margin: 0; padding: 14px 18px; font-size: 1rem; font-weight: 900; }
.p-movers.down h2 { background: color-mix(in srgb, var(--r1) 12%, var(--surface)); color: var(--r1); }
.p-movers.up h2 { background: color-mix(in srgb, var(--danger) 10%, var(--surface)); color: var(--danger); }
.p-movers a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 18px; color: var(--text); text-decoration: none; border-top: 1px solid var(--line); }
.p-movers a:hover { background: var(--surface-2); }
.p-movers b { display: block; font-size: .92rem; } .p-movers small { color: var(--muted); font-size: .76rem; }
.p-movers em { font-style: normal; font-weight: 800; font-size: .85rem; white-space: nowrap; }
.p-movers.down em { color: var(--r1); } .p-movers.up em { color: var(--danger); }
.p-brands { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.tape.p-brand, .tape.p-list { max-width: none; margin: 0; box-shadow: none; }
.p-brand-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 18px; background: #0e1426; color: #fff; }
.p-brand-head h3 { margin: 0; font-size: 1.02rem; font-weight: 900; } .p-brand-head a { color: #fff; text-decoration: none; }
.p-brand-head span { font-size: .8rem; color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .1); padding: 3px 10px; border-radius: 999px; }
.p-brand .tape-rows a { grid-template-columns: minmax(0, 1fr) auto 6.2em; gap: 12px; padding: 11px 18px; }
.p-brand .t-spark { display: none; } .p-brand .t-price b { font-size: 1.08rem; }
.t-name b.ltr { direction: ltr; text-align: right; }
.p-more { border-top: 1px solid var(--line); }
.p-more summary { cursor: pointer; list-style: none; padding: 11px 18px; font-weight: 800; color: var(--brand); font-size: .9rem; }
.p-more summary::-webkit-details-marker { display: none; }
.p-more summary::after { content: " +"; } .p-more[open] summary::after { content: " −"; }
.p-brand-all { display: block; padding: 11px 18px; background: var(--surface-2); border-top: 1px solid var(--line); font-weight: 800; font-size: .88rem; }
.p-summary, .p-prose { border-radius: 24px; border: 1px solid var(--line); padding: 28px 32px; background: linear-gradient(135deg, var(--brand-soft), var(--surface) 65%); max-width: none; }
.p-summary h2 { margin: 0 0 10px; font-size: 1.2rem; font-weight: 900; display: flex; align-items: center; gap: 10px; }
.p-summary h2::before, .p-prose h2::before { content: ""; flex: none; width: 10px; height: 26px; border-radius: 4px; background: var(--brand); }
.p-summary p { margin: 0 0 8px; line-height: 2.1; color: var(--text); }
.p-summary a { font-weight: 800; }
.p-note { color: var(--muted) !important; font-size: .86rem; margin: 6px 0 0 !important; }
.p-prose h2 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 900; }
.p-prose > :first-child { margin-top: 0; } .p-prose > :last-child { margin-bottom: 0; }
@media (max-width: 860px) { .p-brands { grid-template-columns: 1fr; } }
@media (max-width: 680px) {
  .p-head { grid-template-columns: 1fr; padding: 22px 18px; border-radius: 22px; }
  .p-head .tape-day { justify-self: start; grid-row: 1; }
  .p-stats { grid-template-columns: 1fr 1fr; }
  .p-stats li { padding: 9px 12px; font-size: .78rem; } .p-stats b { font-size: 1.05rem; }
  .p-brand .tape-rows a { grid-template-columns: minmax(0, 1fr) auto; padding: 11px 16px; }
  .p-summary, .p-prose { padding: 22px 18px; }
}
.filtering .p-more summary { display: none; } .filtering .p-more { border-top: 0; }

/* plans: centred, retailer plans only; wholesalers get a features panel (their prices live in their panel) */
.pl-head { text-align: center; padding-top: 44px; display: grid; justify-items: center; }
.pl-head h1 { font-size: clamp(1.8rem, 4.2vw, 2.8rem); font-weight: 900; margin: 16px 0 10px; }
.pl-lead { color: var(--muted); max-width: 34em; margin: 0 auto; font-size: 1.05rem; line-height: 2; }
.pl-sec { padding-top: 56px; max-width: 1000px; }
.pl-cards { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 16px; }
.pl-card { position: relative; flex: 1 1 260px; max-width: 310px; display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 30px 24px 24px; }
.pl-card h3 { margin: 0; font-size: 1.1rem; font-weight: 900; }
.pl-price { margin: 16px 0 4px; font-size: 1.9rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.pl-per, .pl-note { margin: 0; color: var(--muted); font-size: .92rem; }
.pl-save { margin: 12px 0 0; padding: 4px 12px; border-radius: 999px; font-weight: 800; font-size: .85rem;
  color: var(--r1); background: color-mix(in srgb, var(--r1) 12%, transparent); }
.pl-note { margin-top: 8px; }
.pl-card .btn { margin-top: auto; width: 100%; } .pl-card > :nth-last-child(2) { margin-bottom: 22px; }
.pl-card.pop { color: #fff; border: 0; transform: translateY(-10px); box-shadow: 0 30px 50px -24px rgba(14, 20, 38, .6);
  background: #0e1426 radial-gradient(90% 70% at 50% 0%, rgba(47, 91, 255, .55), transparent 70%); }
.pl-card.pop .pl-per, .pl-card.pop .pl-note { color: rgba(255, 255, 255, .7); }
.pl-card.pop .pl-save { color: #6ee7a0; background: rgba(110, 231, 160, .14); }
.pl-tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: #22c55e; color: #fff;
  font-size: .82rem; font-weight: 900; padding: 5px 16px; border-radius: 999px; box-shadow: 0 0 0 4px var(--bg); }
.pl-go { background: #fff; color: #1d3fd6; border: 0; font-weight: 900; } .pl-go:hover { background: #eef2ff; color: #1d3fd6; }
.pl-soon { text-align: center; color: var(--muted); }
.pl-all { margin: 32px auto 0; max-width: 760px; text-align: center; }
.pl-all h3 { margin: 0 0 14px; font-size: 1rem; font-weight: 900; }
.pl-all ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pl-all li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line); font-size: .9rem; font-weight: 700; }
.pl-all li .i { color: var(--r1); }
.pl-whole { text-align: center; padding: 44px 40px; border-radius: 28px; color: #fff;
  background: #0e1426 radial-gradient(70% 120% at 100% 0%, rgba(47, 91, 255, .45), transparent 60%); }
.pl-whole h2 { margin: 0 0 10px; font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 900; color: #fff; }
.pl-whole > p { margin: 0 auto; max-width: 36em; color: rgba(255, 255, 255, .75); line-height: 2; }
.pl-whole ul { list-style: none; margin: 30px 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pl-whole li { display: grid; justify-items: center; gap: 6px; padding: 20px 14px; border-radius: 20px; font-size: .86rem; color: rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); line-height: 1.8; }
.pl-whole li b { color: #fff; font-size: .98rem; }
.pl-whole .h-ic { background: rgba(255, 255, 255, .12); color: #fff; margin-bottom: 4px; }
.pl-whole .pl-whole-note { font-size: .88rem; color: rgba(255, 255, 255, .6); }
.pl-whole-btns { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 22px; margin-top: 22px; }
.pl-pay { display: flex; justify-content: center; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; margin: 40px auto 0; text-align: center; }
@media (max-width: 860px) { .pl-whole ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) {
  .pl-head { padding-top: 24px; }
  .pl-card { max-width: none; } .pl-card.pop { transform: none; order: -1; }
  .pl-whole { padding: 32px 18px; }
  .pl-whole-btns { flex-direction: column; } .pl-whole-btns .btn { width: 100%; }
}

/* about: live numbers, before/after, story panel, values */
.ab-live { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ab-live li { display: grid; justify-items: center; gap: 4px; text-align: center; padding: 22px 12px; border-radius: 22px; color: var(--muted); font-size: .9rem;
  background: var(--surface); border: 1px solid var(--line); }
.ab-live li:first-child { color: rgba(255, 255, 255, .72); border: 0; background: #0e1426 radial-gradient(90% 90% at 50% 0%, rgba(47, 91, 255, .55), transparent 70%); }
.ab-live b { font-size: 1.9rem; font-weight: 900; color: var(--text); font-variant-numeric: tabular-nums; }
.ab-live li:first-child b { color: #fff; }
.ab-vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; }
.ab-vs > div { border-radius: 24px; padding: 26px 26px 20px; height: 100%; }
.ab-vs h3 { margin: 0 0 14px; font-size: 1.1rem; font-weight: 900; }
.ab-vs ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ab-vs li { display: flex; gap: 10px; align-items: baseline; line-height: 1.8; }
.ab-before { background: var(--surface-2); border: 1.5px dashed var(--line); color: var(--muted); }
.ab-before h3 { color: var(--muted); }
.ab-before li::before { content: "✕"; color: var(--danger); font-weight: 900; flex: none; }
.ab-after { color: #fff; background: #0e1426 radial-gradient(80% 100% at 100% 0%, rgba(47, 91, 255, .5), transparent 65%); }
.ab-after li { color: rgba(255, 255, 255, .85); }
.ab-after li::before { content: "✓"; color: #6ee7a0; font-weight: 900; flex: none; }
.ab-arrow { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 1.3rem; font-weight: 900; }
.ab-story ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ab-story li { position: relative; padding-inline-start: 36px !important; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; line-height: 1.8; }
.ab-story li::before { content: "✓"; position: absolute; inset-inline-start: 14px; color: var(--brand); font-weight: 900; }
.ab-story h2 { margin: 26px 0 10px; } .ab-story > h2:first-child { margin-top: 0; }
.ab-values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ab-values li { text-align: center; display: grid; justify-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px 20px; }
.ab-values h3 { margin: 14px 0 6px; font-size: 1.05rem; font-weight: 900; }
.ab-values p { margin: 0; color: var(--muted); line-height: 1.9; font-size: .93rem; }
@media (max-width: 760px) {
  .ab-live { grid-template-columns: 1fr 1fr; } .ab-live b { font-size: 1.5rem; }
  .ab-vs { grid-template-columns: 1fr; } .ab-arrow { justify-self: center; transform: rotate(-90deg); }
  .ab-story ul, .ab-values { grid-template-columns: 1fr; }
}

/* contact: form card beside a navy panel of ways to reach us */
.ct-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px; align-items: start; max-width: 1060px; }
.ct-form { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 32px; }
.ct-form h2, .ct-info h2 { margin: 0 0 6px; font-size: 1.3rem; font-weight: 900; }
.ct-sub { margin: 0 0 20px; color: var(--muted); line-height: 1.9; }
.ct-form label { display: block; margin: 14px 0 6px; font-weight: 700; font-size: .9rem; }
.ct-form .two label { margin-top: 14px; }
.ct-form input, .ct-form select, .ct-form textarea { width: 100%; border-radius: 14px; }
.ct-form .btn.block { margin-top: 22px; width: 100%; }
.ct-form .sent { display: grid; justify-items: center; gap: 6px; padding: 40px 10px; }
.ct-ok { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--r1) 14%, transparent); }
.ct-ok .i { width: 32px; height: 32px; color: var(--r1); }
.ct-info { display: flex; flex-direction: column; gap: 10px; border-radius: 28px; padding: 30px 26px; color: #fff;
  background: #0e1426 radial-gradient(90% 70% at 100% 0%, rgba(47, 91, 255, .5), transparent 65%); }
.ct-info h2 { color: #fff; margin-bottom: 8px; }
.ct-info .ci { box-shadow: none; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; color: #fff; padding: 12px 14px; text-decoration: none; }
.ct-info a.ci:hover { background: rgba(255, 255, 255, .1); }
.ct-info .ci .h-ic { background: rgba(255, 255, 255, .12); color: #fff; flex: none; }
.ct-info .ci .i { color: #fff; }
.ct-info .ci span { color: rgba(255, 255, 255, .62); } .ct-info .ci b { color: #fff; }
.ct-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.ct-next { list-style: none; margin: 6px 0 4px; padding: 0; display: grid; gap: 8px; counter-reset: n; }
.ct-next li { counter-increment: n; display: flex; gap: 10px; align-items: center; color: rgba(255, 255, 255, .8); font-size: .9rem; }
.ct-next li::before { content: counter(n, persian); flex: none; width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff; font-weight: 900; font-size: .82rem; }
.ct-quick a { display: grid; gap: 2px; padding: 14px; border-radius: 18px; background: var(--brand); color: rgba(255, 255, 255, .85); font-size: .82rem; text-decoration: none; }
.ct-quick a + a { background: rgba(255, 255, 255, .1); }
.ct-quick b { color: #fff; font-size: .95rem; }
.ct-note { color: rgba(255, 255, 255, .7); font-size: .9rem; } .ct-note p, .ct-note li { color: inherit; }
@media (max-width: 860px) { .ct-grid { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .ct-form, .ct-info { padding: 24px 18px; border-radius: 22px; } .ct-quick { grid-template-columns: 1fr; } }

/* magazine: centred head, the newest article as a wide lead card, then a grid */
.mag-chips { justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.mag-chips .chip { min-height: 38px; padding: 0 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; }
.mag-chips .chip.on { background: #0e1426; border-color: #0e1426; color: #fff; }
.mag-wrap { max-width: 1100px; }
.mag-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mag-card a { border-radius: 24px; box-shadow: none; display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.mag-card a:hover { border-color: var(--brand); transform: translateY(-2px); }
.mag-card div { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.mag-card h3 { font-size: 1.08rem; font-weight: 900; margin: 8px 0 8px; }
.mag-card .mag-cat { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: var(--brand-soft); }
.mag-when { margin-top: auto; padding-top: 12px; color: var(--faint); font-size: .8rem; }
.mag-noimg { display: grid !important; place-items: center; color: rgba(255, 255, 255, .9);
  background: #0e1426 radial-gradient(80% 120% at 100% 0%, rgba(47, 91, 255, .6), transparent 65%) !important; }
.mag-noimg b { font-size: 1.1rem; font-weight: 900; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.mag-card.big { grid-column: 1 / -1; }
.mag-card.big a { display: grid; grid-template-columns: 1.2fr 1fr; }
.mag-card.big img, .mag-card.big .mag-noimg { height: 100%; min-height: 300px; aspect-ratio: auto; }
.mag-card.big div { padding: 32px; justify-content: center; }
.mag-card.big h3 { font-size: clamp(1.3rem, 2.6vw, 1.8rem); line-height: 1.6; }
.mag-card.big p { font-size: .98rem; }
.mag-empty { text-align: center; display: grid; justify-items: center; gap: 4px; padding: 48px 24px; border-radius: 28px; border: 1.5px dashed var(--line);
  background: var(--surface) radial-gradient(var(--line) 1.2px, transparent 1.2px) 0 0 / 18px 18px; }
.mag-empty h2 { margin: 14px 0 4px; font-size: 1.3rem; font-weight: 900; }
.mag-empty p { margin: 0 0 18px; color: var(--muted); max-width: 32em; line-height: 1.9; }
.mag-article header { text-align: center; }
.mag-article header .mag-cat { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--brand-soft); }
.mag-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; }
.mag-meta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--faint); margin-inline-end: 16px; vertical-align: middle; }
.mag-cover { border-radius: 24px; margin-top: 8px; }
.mag-toc { border-radius: 20px; padding: 16px 22px; }
.tape.mag-prices { max-width: none; margin: 28px 0; box-shadow: none; }
.mag-prices .tape-head h2 { font-size: 1rem; }
@media (max-width: 900px) { .mag-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .mag-grid { grid-template-columns: 1fr; }
  .mag-card.big a { grid-template-columns: 1fr; } .mag-card.big img, .mag-card.big .mag-noimg { min-height: 0; aspect-ratio: 1200 / 630; }
  .mag-card.big div { padding: 20px; }
}
.ct-h3 { margin: 12px 0 2px; font-size: .95rem; font-weight: 900; color: #fff; }
.mag-card:nth-child(3n+2) .mag-noimg { background: linear-gradient(135deg, #2f5bff, #1d3fd6) !important; }
.mag-card:nth-child(3n) .mag-noimg { background: #0f3d2e radial-gradient(80% 120% at 0% 0%, rgba(34, 197, 94, .45), transparent 65%) !important; }

/* affiliate («تیم میدانی»): three ways to earn, who can join */
.af-earn { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.af-earn li { position: relative; display: grid; justify-items: center; text-align: center; padding: 30px 22px 26px; border-radius: 26px;
  background: var(--surface); border: 1px solid var(--line); }
.af-earn h3 { margin: 16px 0 8px; font-size: 1.3rem; font-weight: 900; }
.af-earn p { margin: 0; color: var(--muted); line-height: 1.9; font-size: .94rem; }
.af-earn .h-ic { width: 56px; height: 56px; border-radius: 18px; }
.af-num { position: absolute; top: 16px; inset-inline-start: 16px; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center;
  background: #0e1426; color: #fff; font-weight: 900; font-size: .85rem; }
.af-earn li.hot { color: #fff; border: 0; transform: translateY(-10px); box-shadow: 0 30px 50px -24px rgba(14, 20, 38, .6);
  background: #0e1426 radial-gradient(90% 70% at 50% 0%, rgba(47, 91, 255, .55), transparent 70%); }
.af-earn li.hot p { color: rgba(255, 255, 255, .72); }
.af-earn li.hot .h-ic { background: rgba(255, 255, 255, .12); color: #fff; }
.af-earn li.hot .af-num { background: #22c55e; }
.af-who { text-align: center; padding: 34px 28px; border-radius: 26px; border: 1px solid var(--line);
  background: var(--surface) radial-gradient(var(--line) 1.2px, transparent 1.2px) 0 0 / 18px 18px; }
.af-who h2 { margin: 0 0 6px; font-size: 1.3rem; font-weight: 900; }
.af-who p { margin: 0 0 18px; color: var(--muted); }
.af-who ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.af-who li { padding: 9px 18px; border-radius: 999px; background: #0e1426; color: #fff; font-weight: 700; font-size: .92rem; }
.af-form { max-width: 640px; margin: 0 auto; }
.af-form .check-row { margin-top: 16px; }
@media (max-width: 760px) { .af-earn { grid-template-columns: 1fr; } .af-earn li.hot { transform: none; } }
.aff-lead { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 10px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .aff-lead { grid-template-columns: 1.2fr 2fr auto; align-items: center; } }

/* magazine article body: headings, tables, captions and the live price blocks the writer drops in */
.mag-body h2 { font-size: 1.4rem; font-weight: 900; line-height: 1.6; margin: 1.9em 0 .6em; padding-inline-start: 14px; border-inline-start: 4px solid var(--brand); }
.mag-body h3 { font-size: 1.12rem; font-weight: 800; margin: 1.4em 0 .4em; }
.mag-body p { margin: 0 0 1em; }
.mag-body ul, .mag-body ol { padding-inline-start: 1.4em; margin: 0 0 1.1em; } .mag-body li { margin: .25em 0; }
.mag-body li::marker { color: var(--brand); font-weight: 800; }
.mag-body strong { font-weight: 800; }
.mag-body a { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--brand) 35%, transparent); text-underline-offset: 4px; }
.mag-body a:hover { text-decoration-color: var(--brand); }
.mag-body img { display: block; margin: 8px auto; border: 1px solid var(--line); }
.mag-body p.ql-align-center em { display: block; margin-top: -4px; color: var(--muted); font-size: .85rem; font-style: normal; }
.mag-body table { margin: 1.2em 0 1.6em; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  background: var(--surface); font-size: .95rem; line-height: 1.8; }
.mag-body th, .mag-body td { border: 0; border-bottom: 1px solid var(--line); padding: 10px 14px; text-align: start; vertical-align: top; }
.mag-body thead th { background: #0e1426; color: #fff; font-weight: 800; white-space: nowrap; }
.mag-body tbody tr:nth-child(even) { background: var(--surface-2); }
.mag-body tbody tr:last-child > * { border-bottom: 0; }
.mag-body tbody th { font-weight: 800; }
.mag-body .num, .mag-body td:has(> b:only-child) { font-variant-numeric: tabular-nums; white-space: nowrap; }
.mag-live { margin: 28px 0; }
.mag-body .tape.mag-live, .mag-compare { max-width: none; margin: 28px 0; box-shadow: none; }
.mag-body .mag-live-h { font-size: 1.02rem; margin: 4px 0 0; padding: 0; border: 0; color: inherit; }
.mag-body .mag-live a { text-decoration: none; }
.mag-compare { border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--surface); }
.mag-compare .mag-table table { margin: 0; border: 0; border-radius: 0; }
.mag-compare tbody th small { display: block; color: var(--faint); font-size: .78rem; font-weight: 400; }
.mag-compare thead th { background: var(--surface-2); color: var(--muted); font-size: .82rem; }
.mag-body .chart-card.mag-live { box-shadow: none; border: 1px solid var(--line); border-radius: 24px; padding: 20px 22px; }
.mag-body .chart-card .mag-live-h a { color: var(--brand); }
.mag-live-empty { padding: 14px 18px; border-radius: 16px; border: 1.5px dashed var(--line); color: var(--muted); }
.mag-live-empty p { margin: 0; }
@media (max-width: 680px) {
  .mag-body { font-size: 1rem; }
  .mag-body h2 { font-size: 1.22rem; }
  .mag-body table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .mag-compare .mag-table { overflow-x: auto; } .mag-compare .mag-table table { display: table; min-width: 100%; }
  .mag-body th, .mag-body td { padding: 9px 11px; }
  .mag-body .chart-card.mag-live { padding: 16px; }
}
.mag-toc .l3 { counter-increment: list-item 0; }                 /* only the H2s are numbered */
.mag-body .mag-live p { margin: 0; line-height: 1.6; }
.mag-body .tape-live { color: rgba(255, 255, 255, .7); } .mag-body .tape-day { color: #0e1426; } .mag-body .tape-foot p { color: var(--muted); }
.mag-compare tbody th b { white-space: nowrap; }
@media (max-width: 680px) { .mag-compare tr > :nth-child(4) { display: none; } .mag-compare th, .mag-compare td { padding: 9px 10px; } }
/* a table saved by the editor has no <thead>: its first row is the header */
.mag-body table:not(:has(thead)) tr:first-child > td { background: #0e1426; color: #fff; font-weight: 800; }
.aff-pair { display: grid; grid-template-columns: 1fr; gap: 0 10px; }
@media (min-width: 560px) { .aff-pair { grid-template-columns: 1fr 1fr; } }
