/* ============================================================
   USDT Casinos — page-home.css
   ============================================================ */

/* ---------------- HERO + QUIZ ---------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 520px at 88% -12%, rgba(38, 161, 123, .3), transparent 62%),
    radial-gradient(760px 480px at -8% 112%, rgba(38, 161, 123, .16), transparent 58%),
    radial-gradient(500px 380px at 55% 120%, rgba(245, 181, 68, .07), transparent 60%),
    linear-gradient(158deg, #060F0C 0%, var(--ink-900) 38%, var(--ink-850) 72%, #0A2018 100%);
  color: var(--text-inv);
  padding: clamp(44px, 6vw, 84px) 0 clamp(52px, 7vw, 96px);
}
/* Decorative Tether symbols & coins */
.hero__decor { position: absolute; inset: 0; pointer-events: none; }
.hero__tether {
  position: absolute; font-family: var(--font-head); font-weight: 700; color: rgba(76, 217, 174, .1);
  line-height: 1; user-select: none;
}
.hero__tether--xl { font-size: clamp(280px, 34vw, 520px); right: -110px; top: -140px; transform: rotate(-8deg); }
.hero__tether--md { font-size: 150px; left: -50px; bottom: -70px; transform: rotate(10deg); color: rgba(76, 217, 174, .07); }
.hero__coin {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(76,217,174,.5), rgba(38,161,123,.22) 60%, rgba(14,91,67,.12));
  border: 1px solid rgba(76, 217, 174, .25);
  animation: heroFloat 9s ease-in-out infinite;
}
.hero__coin--1 { width: 84px; height: 84px; right: 16%; top: 12%; animation-delay: 0s; }
.hero__coin--2 { width: 46px; height: 46px; right: 42%; top: 68%; animation-delay: 2.2s; }
.hero__coin--3 { width: 62px; height: 62px; left: 44%; top: 6%; animation-delay: 4s; }
.hero__leaf { position: absolute; right: 6%; bottom: 8%; width: 120px; height: 120px; color: rgba(216, 6, 33, .14); transform: rotate(14deg); }
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
@media (prefers-reduced-motion: reduce) { .hero__coin { animation: none; } }

.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .8fr);
  gap: clamp(36px, 5vw, 72px); align-items: center;
}
.hero__badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.hero h1 {
  font-size: clamp(32px, 4.6vw, 56px); letter-spacing: -.03em; line-height: 1.06; color: var(--text-inv);
}
.hero h1 .accent {
  background: linear-gradient(100deg, #4CD9AE, #26A17B 60%, #9BEBD2);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { margin-top: 18px; font-size: clamp(16px, 1.6vw, 18.5px); color: var(--text-inv-soft); max-width: 560px; }
.hero__trust { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.hero__trust li { margin: 0; display: flex; gap: 12px; align-items: center; font-weight: 600; font-size: 15px; color: #CDEAE0; }
.hero__trust svg { flex: 0 0 auto; width: 22px; height: 22px; color: #4CD9AE; }
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__note { margin-top: 18px; font-size: 13px; color: #7E9A8F; }

/* Quiz card */
.quiz {
  position: relative;
  background: rgba(13, 36, 28, .66);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid rgba(76, 217, 174, .28);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-l), inset 0 1px 0 rgba(255,255,255,.06);
  padding: clamp(22px, 3vw, 30px);
  min-height: 430px;
  display: flex; flex-direction: column;
}
.quiz__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.quiz__title { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: #7FE0BC; letter-spacing: .06em; text-transform: uppercase; }
.quiz__step { font-size: 13px; font-weight: 600; color: var(--text-inv-soft); }
.quiz__progress { height: 6px; border-radius: 99px; background: rgba(255,255,255,.09); overflow: hidden; margin-bottom: 22px; }
.quiz__progress-bar {
  height: 100%; width: 0; border-radius: 99px;
  background: linear-gradient(90deg, #4CD9AE, var(--tether));
  transition: width .35s ease;
}
.quiz__q { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 18px; line-height: 1.3; }
.quiz__opts { display: grid; gap: 10px; }
.quiz__opt {
  display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 13px 16px; border-radius: 12px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  color: var(--text-inv); font-weight: 600; font-size: 15px;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.quiz__opt:hover { border-color: #4CD9AE; background: rgba(38, 161, 123, .18); transform: translateX(4px); }
.quiz__opt .dot {
  flex: 0 0 auto; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35);
}
.quiz__opt:hover .dot { border-color: #4CD9AE; }
.quiz__footer { margin-top: auto; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; }
.quiz__back {
  font-size: 14px; font-weight: 600; color: var(--text-inv-soft);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 4px; visibility: hidden;
}
.quiz__back:hover { color: #fff; }
.quiz__back.is-visible { visibility: visible; }
.quiz__hint { font-size: 12px; color: #6E8B80; }

/* Quiz loading */
.quiz__loading { display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; flex: 1; padding: 30px 0; gap: 18px; }
.quiz.is-loading .quiz__loading { display: flex; }
.quiz.is-loading .quiz__body, .quiz.is-loading .quiz__footer { display: none; }
.quiz__spinner {
  width: 54px; height: 54px; border-radius: 50%;
  border: 4px solid rgba(76, 217, 174, .2); border-top-color: #4CD9AE;
  animation: quizSpin .8s linear infinite;
}
@keyframes quizSpin { to { transform: rotate(360deg); } }
.quiz__loading-text { font-family: var(--font-head); font-weight: 600; color: #CDEAE0; }

/* Quiz result */
.quiz__result { display: none; flex-direction: column; flex: 1; }
.quiz.is-done .quiz__result { display: flex; }
.quiz.is-done .quiz__body, .quiz.is-done .quiz__footer, .quiz.is-done .quiz__loading { display: none; }
.quiz-result__logo-wrap {
  display: flex; align-items: center; gap: 14px; margin-bottom: 14px;
}
.quiz-result__logo {
  width: 64px; height: 64px; border-radius: 14px; object-fit: cover;
  background: #fff; border: 1px solid rgba(255,255,255,.2); padding: 4px;
}
.quiz-result__name { font-family: var(--font-head); font-size: 24px; font-weight: 700; color: #fff; }
.quiz-result__badge { margin-top: 4px; }
.quiz-result__bonus {
  margin: 6px 0 14px; font-family: var(--font-head); font-weight: 700; font-size: 15px;
  color: #4CD9AE; text-transform: uppercase; letter-spacing: .04em;
}
.quiz-result__reasons { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 9px; }
.quiz-result__reasons li { margin: 0; display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: #CDEAE0; }
.quiz-result__reasons svg { flex: 0 0 auto; width: 18px; height: 18px; color: #4CD9AE; margin-top: 2px; }
.quiz-result__retake {
  margin-top: 14px; align-self: center; background: none; border: 0;
  color: var(--text-inv-soft); font-size: 13.5px; font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
}
.quiz-result__retake:hover { color: #fff; }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .quiz { min-height: 0; }
}

/* ---------------- TOP 10 TABLE ---------------- */
.top10__intro { max-width: 820px; color: var(--text-soft); font-size: 16.5px; margin-bottom: 30px; }
.top10-table-head {
  display: grid; grid-template-columns: 70px 1.6fr 1fr 170px; gap: 16px;
  padding: 0 22px 12px;
  font-family: var(--font-head); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-mute);
}
.top10 { display: grid; gap: 14px; list-style: none; padding: 0; margin: 0; }
.top10 li { margin: 0; }
.top10-row {
  display: grid; grid-template-columns: 70px 1.6fr 1fr 170px; gap: 16px; align-items: center;
  background: linear-gradient(135deg, #F4FBF7 0%, #E9F6EF 55%, #DFF2E9 100%);
  border: 1px solid rgba(38, 161, 123, .25);
  border-radius: 18px; padding: 20px 24px;
  box-shadow: 0 2px 10px rgba(10, 40, 30, .06);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  position: relative; overflow: hidden;
}
.top10-row::after {
  content: ""; position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' fill='%231B7A5C'%3E%3Cpath d='M383.8 351.7c2.5-2.5 105.2-92.4 105.2-92.4l-17.5-7.5c-10-4.9-7.4-11.5-5-17.4 2.4-7.6 20.1-67.3 20.1-67.3s-47.7 10-57.7 12.5c-7.5 2.4-10-2.5-12.5-7.5s-15-32.4-15-32.4-52.6 59.9-55.1 62.3c-10 7.5-20.1 0-17.6-10 0-10 27.6-129.6 27.6-129.6s-30.1 17.4-40.1 22.4c-7.5 5-12.6 5-17.6-5C293.5 72.3 255.9 0 255.9 0s-37.5 72.3-42.5 79.8c-5 10-10 10-17.6 5-10-5-40.1-22.4-40.1-22.4S183.3 182 183.3 192c2.5 10-7.5 17.5-17.6 10-2.5-2.5-55.1-62.3-55.1-62.3S98.1 167 95.6 172s-5 9.9-12.5 7.5C73 177 25.4 167 25.4 167s17.6 59.7 20.1 67.3c2.4 6 5 12.5-5 17.4L23 259.3s102.6 89.9 105.2 92.4c5.1 5 10 7.5 5.1 22.5-5.1 15-10.1 35.1-10.1 35.1s95.2-20.1 105.3-22.6c8.7-.9 18.3 2.5 18.3 12.5S241.1 512 241.1 512h30s-5.1-102.6-5.1-112.8c0-10 9.6-13.4 18.3-12.5 10 2.5 105.3 22.6 105.3 22.6s-5-20.1-10.1-35.1c-5-15-.1-17.5 5-22.5z'/%3E%3C/svg%3E") left -24px center/120px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' fill='%2326A17B'%3E%3Cpath d='M383.8 351.7c2.5-2.5 105.2-92.4 105.2-92.4l-17.5-7.5c-10-4.9-7.4-11.5-5-17.4 2.4-7.6 20.1-67.3 20.1-67.3s-47.7 10-57.7 12.5c-7.5 2.4-10-2.5-12.5-7.5s-15-32.4-15-32.4-52.6 59.9-55.1 62.3c-10 7.5-20.1 0-17.6-10 0-10 27.6-129.6 27.6-129.6s-30.1 17.4-40.1 22.4c-7.5 5-12.6 5-17.6-5C293.5 72.3 255.9 0 255.9 0s-37.5 72.3-42.5 79.8c-5 10-10 10-17.6 5-10-5-40.1-22.4-40.1-22.4S183.3 182 183.3 192c2.5 10-7.5 17.5-17.6 10-2.5-2.5-55.1-62.3-55.1-62.3S98.1 167 95.6 172s-5 9.9-12.5 7.5C73 177 25.4 167 25.4 167s17.6 59.7 20.1 67.3c2.4 6 5 12.5-5 17.4L23 259.3s102.6 89.9 105.2 92.4c5.1 5 10 7.5 5.1 22.5-5.1 15-10.1 35.1-10.1 35.1s95.2-20.1 105.3-22.6c8.7-.9 18.3 2.5 18.3 12.5S241.1 512 241.1 512h30s-5.1-102.6-5.1-112.8c0-10 9.6-13.4 18.3-12.5 10 2.5 105.3 22.6 105.3 22.6s-5-20.1-10.1-35.1c-5-15-.1-17.5 5-22.5z'/%3E%3C/svg%3E") right -14px bottom -24px/150px no-repeat;
  opacity: .12;
}
.top10-row--first::after { opacity: .18; }
.top10-row > * { position: relative; z-index: 1; }
.top10-row::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 4px;
  background: linear-gradient(180deg, #4CD9AE, var(--tether-dark));
  opacity: 0; transition: opacity .22s ease;
}
.top10-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(10, 40, 30, .12);
  border-color: rgba(38, 161, 123, .45);
}
.top10-row:hover::before { opacity: 1; }
.top10-row--first {
  border: 1.5px solid var(--tether);
  box-shadow: var(--glow-tether);
  background: linear-gradient(120deg, #FFFFFF 55%, var(--tether-mist));
}
.top10-row--first::before { opacity: 1; }

.top10-rank {
  font-family: "Chakra Petch", var(--font-head); font-weight: 700; font-size: 26px;
  color: var(--tether-dark);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .7);
}
.top10-row--first .top10-rank { color: #8A5A00; }
.top10-casino { display: flex; align-items: center; gap: 16px; min-width: 0; }
.top10-logo {
  flex: 0 0 auto; width: 92px; height: 92px; object-fit: cover;
  background: #fff; border: 1px solid rgba(38, 161, 123, .3); border-radius: 16px; padding: 6px;
  box-shadow: 0 4px 14px rgba(10, 40, 30, .1);
}
.top10-casino__name { font-family: "Chakra Petch", var(--font-head); font-weight: 700; font-size: 21px; letter-spacing: .01em; color: var(--text); }
.top10-casino__badge { margin-top: 5px; }
.top10-casino__bonus {
  font-family: "Chakra Petch", var(--font-head);
  margin-top: 7px; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--tether-dark);
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
}
.top10-casino__bonus-label {
  flex: 0 0 auto;
  font-size: 10.5px; font-weight: 800; letter-spacing: .1em;
  color: #8A5A00; background: var(--gold-soft);
  border: 1px solid rgba(245, 181, 68, .5);
  padding: 3px 8px; border-radius: 999px;
}
.top10-score__value { font-family: "Chakra Petch", var(--font-head); font-weight: 700; font-size: 23px; color: var(--text); }
.top10-score__value small { font-size: 14px; color: var(--text-mute); font-weight: 600; }
.top10-score__label { font-size: 12.5px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .06em; margin-top: 1px; }
.top10-score__bar { margin-top: 8px; height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.top10-score__fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, #4CD9AE, var(--tether-dark)); }
.top10-cta { justify-self: end; width: 100%; }
/* Soft red Play button (top-10 table only) */
.top10-cta .btn--primary {
  background: linear-gradient(135deg, #E14A5C, #CE2333 55%, #A8121F);
  box-shadow: 0 6px 18px rgba(206, 35, 51, .3);
  border-radius: 14px;
  font-family: "Chakra Petch", var(--font-head);
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.top10-cta .btn--primary:hover {
  background: linear-gradient(135deg, #E95A6B, #D42A3B 55%, #B31624);
  box-shadow: 0 10px 26px rgba(206, 35, 51, .42);
}
/* Stars in top-10 score */
.top10-score__stars {
  position: relative; display: inline-block;
  margin-top: 5px; font-size: 12.5px; line-height: 1; letter-spacing: 1px;
}
.top10-score__stars-bg { color: var(--line-strong); }
.top10-score__stars-fg {
  position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap;
  width: var(--fill, 100%); color: var(--gold);
}
/* Decorative Tether symbols in top-10 section head */
#top-10 .section-head { position: relative; max-width: none; padding-right: 150px; }
.top10__intro { position: relative; max-width: 820px; padding-right: 150px; }
.top10-decor {
  position: absolute; pointer-events: none; user-select: none;
  font-family: "Chakra Petch", var(--font-head); font-weight: 700; line-height: 1;
  color: rgba(38, 161, 123, .16);
}
.top10-decor--head {
  right: 10px; top: -18px; font-size: 120px; transform: rotate(-10deg);
}
.top10-decor--intro {
  right: 24px; bottom: -14px; font-size: 84px; transform: rotate(9deg);
  color: rgba(38, 161, 123, .12);
}

@media (max-width: 860px) {
  .top10-table-head { display: none; }
  .top10-row { grid-template-columns: 1fr; gap: 14px; padding: 20px; }
  .top10-rank { position: absolute; top: 14px; right: 18px; font-size: 18px; }
  .top10-cta { justify-self: stretch; }
  .top10-score { max-width: 280px; }
  #top-10 .section-head, .top10__intro { padding-right: 0; }
  .top10-decor { display: none; }
}
/* ---------------- CASINO CARDS ---------------- */
.casino-cards { display: grid; gap: clamp(28px, 4vw, 44px); }
.ccard {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l);
  box-shadow: var(--shadow-s); overflow: hidden;
  transition: box-shadow .25s ease, transform .25s ease;
}
.ccard:hover { box-shadow: var(--shadow-l); }
.ccard__shot {
  position: relative;
  background: linear-gradient(135deg, var(--tether-mist), #EAF4EF);
  padding: 14px 14px 0;
}
.ccard__shot img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--line-strong); border-bottom: 0;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -4px 18px rgba(10, 40, 30, .1);
}
.ccard__rank-flag {
  position: absolute; top: 26px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #E14A5C, #CE2333 60%, #A8121F);
  border: 1px solid rgba(255, 255, 255, .4); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  padding: 9px 20px; border-radius: 999px;
  box-shadow: 0 8px 22px rgba(206, 35, 51, .5);
  z-index: 2;
}
.ccard__body { padding: clamp(20px, 3.4vw, 34px); }
.ccard__head { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.ccard__name { font-family: var(--font-head); font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -.02em; }
.ccard__score {
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(135deg, var(--tether-mist), var(--tether-soft));
  border: 1px solid rgba(38, 161, 123, .3);
  padding: 10px 16px; border-radius: 14px;
}
.ccard__score-num { font-family: var(--font-head); font-weight: 700; font-size: 26px; color: var(--tether-deep); line-height: 1; }
.ccard__score-meta { display: grid; gap: 2px; }
.ccard__stars { display: flex; gap: 2px; color: var(--gold); }
.ccard__stars svg { width: 14px; height: 14px; }
.ccard__stars .off { color: var(--line-strong); }
.ccard__score-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--tether-dark); }
.ccard__divider { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.ccard__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ccard__fact {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px;
}
.ccard__fact svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--tether-dark); margin-top: 2px; }
.ccard__fact dt { font-family: var(--font-head); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mute); }
.ccard__fact dd { margin: 3px 0 0; font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.4; }
.ccard__desc { margin-top: 20px; color: var(--text-soft); font-size: 15.5px; }
.ccard__pc { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.ccard__pros, .ccard__cons { border-radius: var(--radius); padding: 18px 20px; }
.ccard__pros { background: var(--tether-mist); border: 1px solid rgba(38, 161, 123, .25); }
.ccard__cons { background: #FDF0F1; border: 1px solid rgba(216, 6, 33, .18); }
.ccard__pc-title { font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.ccard__pros .ccard__pc-title { color: var(--tether-deep); }
.ccard__cons .ccard__pc-title { color: var(--canada); }
.ccard__pc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.ccard__pc li { margin: 0; display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text-soft); }
.ccard__pc svg { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 3px; }
.ccard__pros svg { color: var(--tether); }
.ccard__cons svg { color: var(--canada); }
.ccard__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

@media (max-width: 720px) {
  .ccard__facts { grid-template-columns: 1fr; }
  .ccard__pc { grid-template-columns: 1fr; }
  .ccard__head { flex-direction: column; align-items: flex-start; }
}

/* ---------------- CONTENT + TOC ---------------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 300px; gap: clamp(30px, 5vw, 64px); align-items: start; }
.toc {
  position: sticky; top: calc(var(--header-h) + 24px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 22px; box-shadow: var(--shadow-s);
}
.toc__title { font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tether-deep); margin-bottom: 12px; }
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc li { margin: 0; }
.toc a {
  display: flex; gap: 10px; padding: 8px 10px; border-radius: 10px;
  color: var(--text-soft); font-size: 14px; font-weight: 500;
  transition: background .15s ease, color .15s ease;
}
.toc a::before {
  counter-increment: toc; content: counter(toc);
  flex: 0 0 auto; width: 20px; height: 20px; border-radius: 6px;
  background: var(--tether-soft); color: var(--tether-deep);
  font-size: 11px; font-weight: 700; display: grid; place-items: center; margin-top: 1px;
}
.toc a:hover { background: var(--tether-mist); color: var(--tether-dark); }
@media (max-width: 1023px) {
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; order: -1; }
}
