/* Thai Mascot Buddy page (2026-10-27): "Inside the editor".
   Scrapbook in light, Concert night in dark (html[data-look]), the three languages. The mascots are pre-rendered raster
   clips (assets/tmb/clips/, recorded from the extension's own rig by tools/record-rig.js); no vector art, no rig code.
   html[data-vs] = the VS Code theme the pictures follow (dark in Concert night or the dark theme). */
:root { --tmb: #6b57a8; --tmb-deep: #43356f; --tmb-soft: color-mix(in oklab, #6b57a8 14%, #fff);
  --vs-bg: #ffffff; --vs-side: #f8f8f8; --vs-bar: #f8f8f8; --vs-line: #e5e5e5; --vs-ink: #3b3b3b; --vs-mut: #767676; --vs-tab: #f8f8f8;
  --vs-k: #0000ff; --vs-s: #a31515; --vs-f: #795e26; --vs-c: #008000; --vs-n: #098658; --vs-ln: #237893; }
html[data-vs="dark"] { --vs-bg: #1f1f1f; --vs-side: #181818; --vs-bar: #181818; --vs-line: #2b2b2b; --vs-ink: #cccccc; --vs-mut: #9d9d9d; --vs-tab: #181818;
  --vs-k: #569cd6; --vs-s: #ce9178; --vs-f: #dcdcaa; --vs-c: #6a9955; --vs-n: #b5cea8; --vs-ln: #6e7681; }
:root[data-theme="dark"] { --tmb-soft: rgba(199,155,255,.14); }
html[data-look="stage"] { --tmb: #c79bff; --tmb-deep: #8e63d6; --tmb-soft: rgba(199,155,255,.14); }
.tmb-btn { background: var(--tmb); color: #fff; box-shadow: inset 0 0 0 3px rgba(255,255,255,.4), 0 5px 0 var(--tmb-deep); }
html[data-look="stage"] .tmb-btn { background: linear-gradient(120deg, #c79bff, #ff8fb8); color: #1b0f22; box-shadow: 0 0 24px rgba(199,155,255,.5); }
html:not([data-look]) 
/* ---------------------------------------------------------------- the hero: the words */
.tmb-top { padding: 40px 0 12px; }
.tmb-intro .acts { display: flex; gap: 12px; flex-wrap: wrap; }
.tmb-intro .badges { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; font-size: 14px; color: var(--muted); font-weight: 700; }
.tmb-intro .badges > span { display: inline-flex; gap: 6px; align-items: center; }
.tmb-intro .badges .ic { width: 16px; height: 16px; color: var(--p); }
/* ---------------------------------------------------------------- the mascots (any stage) */
.tf { position: absolute; left: 0; top: 0; will-change: transform; }
.tf-pet { position: relative; }
.tf-rig { position: absolute; inset: 0; }
.tf-img { position: absolute; background-repeat: no-repeat; filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.3)); }
.tf-img.px { image-rendering: pixelated; }
.tf.hop .tf-pet { animation: tf-hop .45s ease-out; }
@keyframes tf-hop { 0%, 100% { translate: 0 0; } 40% { translate: 0 -14px; } }
.tf-btn { cursor: pointer; border-radius: 14px; outline-offset: 4px; }
.tf-name { position: absolute; left: 50%; bottom: calc(100% + 4px); transform: translateX(-50%); white-space: nowrap; font: 800 11.5px/1 var(--font-b); padding: 4px 8px; border-radius: 99px; background: rgba(255,255,255,.92); color: #3a2f3e; box-shadow: 0 2px 8px -3px rgba(0,0,0,.35); pointer-events: none; }
.tcard { position: absolute; z-index: 5; background: #fffdf7; color: #2a2234; border: 1px solid #e4dccd; border-radius: 10px; box-shadow: 0 6px 18px rgba(0,0,0,.28); padding: 6px 10px; min-width: 110px; max-width: 220px; font: 12px/1.35 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; pointer-events: none; animation: tcard-in .25s ease-out; }
.tcard .th { display: block; font: 600 19px/1.2 "Thonburi", "Tahoma", "Noto Sans Thai Looped", sans-serif; }
.tcard .rom { color: #e8508a; font-size: 11.5px; }
.tcard .en { display: block; font-size: 12px; }
.tcard .sm { display: block; font-size: 11px; color: #6b6478; margin-top: 2px; }
@keyframes tcard-in { from { opacity: 0; translate: 0 6px; } }
@media (prefers-reduced-motion: reduce) { .tcard { animation: none; } .tf.hop .tf-pet { animation: none; } }

/* ---------------------------------------------------------------- B · inside the editor */
.tmb-hero-b { margin-top: 30px; }
.vs-fit { position: relative; width: 100%; max-width: 1040px; margin: 0 auto; aspect-ratio: 900 / 560; }
.vs { position: absolute; left: 0; top: 0; width: 900px; height: 560px; transform-origin: 0 0; transform: scale(var(--s, 1)); border-radius: 12px; overflow: hidden; background: var(--vs-bg); color: var(--vs-ink); border: 1px solid var(--vs-line); box-shadow: 0 24px 50px -24px rgba(0,0,0,.55); display: grid; grid-template-rows: 30px 1fr 22px; font: 13px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.vs-title { background: var(--vs-bar); border-bottom: 1px solid var(--vs-line); display: flex; align-items: center; gap: 8px; padding: 0 12px; position: relative; font-size: 12px; color: var(--vs-mut); }
.vs-title i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; } .vs-title i:nth-child(2) { background: #febc2e; } .vs-title i:nth-child(3) { background: #28c840; }
.vs-title span { position: absolute; left: 0; right: 0; text-align: center; pointer-events: none; }
.vs-body { display: grid; grid-template-columns: 48px 280px minmax(0, 1fr); min-height: 0; }
.vs-act { background: var(--vs-bar); border-right: 1px solid var(--vs-line); display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 14px 0; }
.vs-act span { width: 24px; height: 24px; color: var(--vs-mut); display: grid; place-items: center; }
.vs-act span svg { width: 22px; height: 22px; stroke-width: 1.6; }
.vs-act span.on { color: var(--vs-ink); box-shadow: -14px 0 0 -12px var(--vs-ink); }
.vs-act .sp { flex: 1; }
.vs-side { background: var(--vs-side); border-right: 1px solid var(--vs-line); display: flex; flex-direction: column; min-height: 0; }
.vs-h { font-size: 11px; letter-spacing: .04em; color: var(--vs-mut); padding: 9px 14px 6px; display: flex; justify-content: space-between; font-weight: 600; }
.vs-tree { display: grid; padding: 0 0 8px; font-size: 13px; }
.vs-tree b { font-size: 11px; font-weight: 700; padding: 3px 12px; }
.vs-tree span { padding: 2px 12px 2px 28px; }
.vs-tree span.on { background: color-mix(in oklab, var(--vs-ink) 12%, transparent); }
.vs-view { margin-top: auto; border-top: 1px solid var(--vs-line); position: relative; }
.vs-view .vs-h { color: var(--vs-ink); font-weight: 700; }
.vs-tools { opacity: .7; letter-spacing: .2em; }
.vs-view img { display: block; width: 100%; height: auto; }
.vs-ed { position: relative; min-height: 0; overflow: hidden; }
.vs-tabs { display: flex; background: var(--vs-tab); border-bottom: 1px solid var(--vs-line); font-size: 12.5px; color: var(--vs-mut); }
.vs-tabs span { padding: 9px 16px; border-right: 1px solid var(--vs-line); }
.vs-tabs span.on { background: var(--vs-bg); color: var(--vs-ink); box-shadow: inset 0 1px 0 var(--tmb); }
.vs-code, .wk-ed pre { margin: 0; font: 13px/1.75 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--vs-ink); white-space: pre; overflow: hidden; }
:is(.vs-code, .wk-ed pre) b { color: var(--vs-k); font-weight: 400; }
:is(.vs-code, .wk-ed pre) i { color: var(--vs-s); font-style: normal; }
:is(.vs-code, .wk-ed pre) em { color: var(--vs-f); font-style: normal; }
:is(.vs-code, .wk-ed pre) u { color: var(--vs-c); text-decoration: none; }
:is(.vs-code, .wk-ed pre) s { color: var(--vs-n); text-decoration: none; }
.vs-code .ln { color: var(--vs-ln); display: inline-block; width: 2.4em; text-align: right; margin-right: 1.2em; opacity: .8; }
.vs-code { padding: 10px 0; font-size: 13px; line-height: 21px; }
.vs-edge { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; }
.vs-pop { position: absolute; left: 0; right: 0; bottom: 0; height: 150px; display: flex; align-items: flex-end; justify-content: center; gap: 6px; transform: translateY(105%); transition: transform .6s cubic-bezier(.2, 1.2, .4, 1); pointer-events: none; }
.vs-pop.up { transform: none; }
.vs-popfig { position: relative; width: 64px; height: 72px; }
:is(.vs-card, .pomo-card) { position: relative; margin-bottom: 16px; background: #fffdf7; color: #2a2234; border: 1px solid #e8a33c; border-radius: 10px; box-shadow: 0 4px 16px rgba(232,163,60,.45); padding: 7px 11px; display: grid; gap: 1px; font: 12px/1.35 -apple-system, BlinkMacSystemFont, sans-serif; text-align: left; }
:is(.vs-card, .pomo-card) .th { font: 600 19px/1.2 "Thonburi", "Tahoma", sans-serif; }
:is(.vs-card, .pomo-card) .rom { color: #e8508a; font-size: 11px; }
:is(.vs-card, .pomo-card) .nt { font-size: 11px; color: #6b6478; }
:is(.vs-card, .pomo-card) .row { display: flex; gap: 4px; margin-top: 5px; flex-wrap: wrap; }
:is(.vs-card, .pomo-card) .row i { font-style: normal; background: #ece6da; border-radius: 6px; padding: 3px 7px; font-size: 11px; }
:is(.vs-card, .pomo-card) .row i.go { background: #5b8c5a; color: #fff; }
.vs-status { background: var(--vs-bar); border-top: 1px solid var(--vs-line); display: flex; gap: 14px; align-items: center; padding: 0 10px; font-size: 12px; color: var(--vs-mut); position: relative; white-space: nowrap; }
.vs-status .sp { flex: 1; }
.vs-status .th { font-family: "Thonburi", "Tahoma", sans-serif; color: var(--vs-ink); }
.hot { transition: box-shadow .25s; }
.hot.lit { box-shadow: inset 0 0 0 3px var(--a); z-index: 2; }
.vs-edge.lit, .vs-pop.lit { box-shadow: inset 0 0 0 3px var(--a); border-radius: 6px; }
.num { position: absolute; z-index: 6; width: 24px; height: 24px; border-radius: 50%; background: var(--a); color: #fff; font: 800 13px/24px var(--font-b); text-align: center; box-shadow: 0 0 0 3px var(--vs-bg); pointer-events: none; }
html[data-look="stage"] .num { color: #1b0f22; }
.vs-view .num { right: 10px; top: 34px; }
.vs-edge .num { left: 12px; bottom: 12px; }
.vs-pop .num { right: calc(50% - 160px); top: 8px; }
.vs-status .num { right: 260px; top: -12px; }
.vs-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; max-width: 1040px; margin: 20px auto 0; }
.vs-card2 { all: unset; box-sizing: border-box; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; background: var(--surface); border: 2px solid var(--line); border-radius: 18px; padding: 13px 15px; cursor: pointer; color: var(--ink); transition: border-color .2s, transform .2s; min-height: 44px; }
.vs-card2:hover, .vs-card2.on { border-color: var(--a); }
.vs-card2:focus-visible { outline: 3px solid var(--p); outline-offset: 2px; }
.vs-card2 .n { width: 30px; height: 30px; border-radius: 50%; background: var(--a); color: #fff; display: grid; place-items: center; font: 800 15px/1 var(--font-h); }
html[data-look="stage"] .vs-card2 .n { color: #1b0f22; }
.vs-card2 b:not(.n) { display: block; font: 800 17px/1.25 var(--font-h); }
.vs-card2 .g { display: block; color: var(--ink-2); font-size: 14.5px; line-height: 1.45; margin-top: 2px; }
html[data-look="scrapbook"] .vs { box-shadow: 0 2px 0 #eadbc4, 0 22px 40px -22px rgba(95,62,30,.55); }
html[data-look="stage"] .vs { box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 0 70px -12px rgba(199,155,255,.55); }
@media (max-width: 1100px) { .vs-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .vs-cards { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- sections */
.tmb-two { align-items: start; }
#p-tmb .h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; margin-bottom: 4px; }
#p-tmb .pts li { line-height: 1.55; }
#p-tmb .cap { color: var(--muted); font-size: 13.5px; margin: 12px 0 0; }
/* 1 · the panel */
.pv-frame { border-radius: 14px; overflow: hidden; background: var(--vs-side); border: 1px solid var(--vs-line); box-shadow: var(--shadow); max-width: 520px; }
.pv-h { display: flex; justify-content: space-between; font: 700 11px/1 -apple-system, sans-serif; letter-spacing: .04em; color: var(--vs-ink); padding: 10px 12px; }
.pv-frame img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; }
.pv-scenes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; max-width: 520px; }
.pv-scenes button, .pv-scenes span { border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink-2); border-radius: 99px; padding: 0 12px; min-height: 36px; font: 800 13.5px/1 var(--font-b); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.pv-scenes span { cursor: default; border-style: dashed; color: var(--muted); }
.pv-scenes button[aria-pressed="true"] { background: var(--a-soft); border-color: var(--a); color: var(--a-deep); }
.pv-sizes { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-top: 12px; }
.pv-sizes .lbl { font: 800 13.5px/1.2 var(--font-b); color: var(--muted); }
/* 2 · the walking buddy */
.wk-ed { position: relative; aspect-ratio: 16 / 10.5; border-radius: 14px; background: var(--vs-bg); border: 1px solid var(--vs-line); box-shadow: var(--shadow); overflow: hidden; }
.wk-ed pre { position: absolute; inset: 0; display: grid; place-content: center; padding: 56px; font-size: 13px; }
.wk-ed pre code { font: inherit; white-space: pre; }
.wk-pick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.wk-pick button { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); padding: 3px; cursor: pointer; }
.wk-pick button img { width: 100%; height: 100%; object-fit: contain; display: block; }
.wk-pick button[aria-pressed="true"] { border-color: var(--a); box-shadow: 0 0 0 3px var(--a-soft); }
.wk-row { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; margin-top: 10px; }
.wk-row .cap { margin: 0 !important; flex: 1 1 220px; }
.rx { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.rx button { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; align-items: center; text-align: left; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); border-radius: 14px; padding: 8px 11px; min-height: 48px; cursor: pointer; font: 700 14px/1.25 var(--font-b); }
.rx button:hover, .rx button:focus-visible { border-color: var(--a); }
.rx button .ic { width: 18px; height: 18px; color: var(--a-deep); }
.rx button small { display: block; font: 600 13px/1.2 "Mali", var(--font-b); color: var(--p-deep); margin-top: 2px; }
/* 3 · specials and costumes */
.sp-bar { display: flex; justify-content: flex-end; margin: -8px 0 14px; }
.sp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.sp-card { padding: 12px 14px 16px; display: grid; gap: 6px; align-content: start; }
.sp-st { all: unset; box-sizing: border-box; position: relative; display: block; height: 150px; border-radius: 14px; cursor: pointer; background: radial-gradient(70% 60% at 50% 90%, color-mix(in oklab, var(--a) 22%, transparent), transparent 70%), color-mix(in oklab, var(--tmb) 7%, var(--surface)); overflow: hidden; }
.sp-st:focus-visible { outline: 3px solid var(--p); outline-offset: 2px; }
.sp-st .play { position: absolute; right: 8px; top: 8px; display: inline-flex; gap: 4px; align-items: center; font: 800 11.5px/1 var(--font-b); background: var(--surface); color: var(--ink-2); border: 1.5px solid var(--line-strong); border-radius: 99px; padding: 5px 8px; }
.sp-st .play .ic { width: 12px; height: 12px; }
html[data-look="stage"] .sp-st { background: radial-gradient(70% 60% at 50% 95%, rgba(255,143,184,.35), transparent 70%), rgba(255,255,255,.04); }
html[data-look="stage"] .sp-st .play { background: rgba(20,15,34,.8); }
.sp-card h3 { font-size: 20px; font-weight: 800; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.own { font: 800 11px/1 var(--font-b); padding: 4px 8px; border-radius: 99px; background: var(--a-soft); color: var(--a-deep); white-space: nowrap; }
.own.c3 { background: color-mix(in oklab, #f0a040 22%, transparent); color: #9a5a10; }
.own.ll { background: color-mix(in oklab, #d4a24a 24%, transparent); color: #82601c; }
:root[data-theme="dark"] .own.c3, html[data-look="stage"] .own.c3 { color: #ffc27a; } :root[data-theme="dark"] .own.ll, html[data-look="stage"] .own.ll { color: #f0cf86; }
.sp-card .mv { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.sp-card .mv b { color: var(--ink); }
.sp-cos { justify-self: start; border: 1.5px dashed var(--line-strong); background: transparent; color: var(--ink-2); border-radius: 99px; padding: 0 11px; min-height: 34px; font: 700 12.5px/1.15 var(--font-b); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; text-align: left; }
.sp-cos[aria-pressed="true"] { border-style: solid; border-color: var(--a); background: var(--a-soft); color: var(--a-deep); }
.sp-cos .ic { width: 14px; height: 14px; }
@media (max-width: 1000px) { .sp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .sp-grid { gap: 12px; } .sp-card { padding: 10px 10px 12px; } .sp-st { height: 128px; } .sp-card h3 { font-size: 18px; } }
/* 4 · words and the Pomodoro */
.tw-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.tw { display: grid; gap: 12px; align-content: start; }
.tw h3 { font-size: 22px; font-weight: 800; margin-top: 4px; }
.tw .pts { margin: 0; }
.tw-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.tw-btns .btn[aria-pressed="true"] { border-color: var(--a); background: var(--a-soft); }
.wcard { min-height: 170px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in oklab, var(--tmb) 9%, var(--surface)); padding: 18px; }
.wcard > div { background: #fffdf7; color: #2a2234; border: 1px solid #e4dccd; border-radius: 12px; box-shadow: 0 8px 22px -8px rgba(0,0,0,.3); padding: 12px 20px; text-align: center; min-width: 220px; cursor: pointer; }
.wcard .th { display: block; font: 600 38px/1.2 "Thonburi", "Tahoma", "Noto Sans Thai Looped", sans-serif; }
.wcard .rom { color: #e8508a; font: italic 15px/1.3 -apple-system, sans-serif; }
.wcard .en { display: block; font: 15px/1.35 -apple-system, "PingFang TC", sans-serif; margin-top: 4px; transition: filter .25s; }
.wcard .lv { display: block; font-size: 12px; color: #6b6478; margin-top: 2px; }
.wcard.quiz .en { filter: blur(6px); }
.wcard.quiz.open .en { filter: none; }
.pomo { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(160deg, #a9c8e8, #e7cfe3 60%, #f3dcc6); }
html[data-vs="dark"] .pomo { background: linear-gradient(160deg, #2c3550, #3b2a55 60%, #4a3040); border-color: rgba(255,255,255,.12); }
.pomo-scr { position: relative; height: 196px; overflow: hidden; }
.pomo-fig { position: absolute; left: calc(50% - 172px); bottom: 0; width: 64px; height: 72px; transform: translateY(110%); transition: transform .6s cubic-bezier(.2, 1.2, .4, 1); }
.pomo-card { position: absolute; left: calc(50% - 100px); bottom: 0; width: 262px; transform: translateY(130%); transition: transform .6s cubic-bezier(.2, 1.2, .4, 1) .08s; }
.pomo-card[hidden] { display: grid; }
.pomo.up .pomo-fig, .pomo.up .pomo-card { transform: none; }
.pomo-bar { display: flex; gap: 14px; align-items: center; height: 26px; padding: 0 12px; background: var(--vs-bar); color: var(--vs-ink); border-top: 1px solid var(--vs-line); font: 12px/1 -apple-system, sans-serif; }
.pomo-bar .sp { flex: 1; }
.pomo-bar b { font-variant-numeric: tabular-nums; font-weight: 600; }
.tw-also { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 24px; }
.tw-also > span:first-child { font: 800 14px/1 var(--font-b); color: var(--muted); margin-right: 4px; }
#p-tmb .chipx { display: inline-flex; gap: 7px; align-items: center; background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 99px; padding: 8px 14px; font: 700 14px/1.3 var(--font-b); color: var(--ink-2); }
#p-tmb .chipx .ic { width: 16px; height: 16px; color: var(--a-deep); }
@media (max-width: 900px) { .tw-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .pomo-fig { left: 6px; } .pomo-card { left: 74px; width: calc(100% - 82px); } }
/* 5 · mascots and credits */
.who-row { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; margin-bottom: 8px; }
.who-row figure { margin: 0; display: grid; justify-items: center; gap: 4px; text-align: center; }
.who-row img { width: 100%; max-width: 104px; aspect-ratio: 150 / 151; object-fit: contain; transition: transform .3s; }
.who-row img:hover { transform: translateY(-6px) rotate(-4deg); }
.who-row figcaption { font: 800 14px/1.2 var(--font-h); }
@media (max-width: 900px) { .who-row { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 16px; } }
.tmb-rights p { margin: 6px 0 0; }
.tmb-rights p:first-of-type { font: 800 17px/1.4 var(--font-h); }
/* 6 · get it */
.get-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 22px; align-items: start; }
.get-card { display: grid; gap: 12px; }
.get-v { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.get-dl { justify-self: start; }
.get-dl small { font-weight: 700; opacity: .85; }
.get-all { display: inline-flex; gap: 6px; align-items: center; font-weight: 800; color: var(--a-deep); min-height: 32px; }
.get-all .ic { width: 15px; height: 15px; }
.get-st { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 7px; }
.get-st li { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.get-st .ic { width: 17px; height: 17px; color: var(--p); margin-top: 2px; }
.get-steps { grid-template-columns: minmax(0, 1fr) !important; }
.get-steps .term { max-width: none; margin-top: 10px; }
.get-note { margin-top: 16px !important; }
@media (max-width: 900px) { .get-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- phones */
@media (max-width: 700px) {
  .tmb-top { padding-top: 26px; }
  .wk-ed pre { padding: 40px 30px; font-size: 10.5px; }
  .rx { grid-template-columns: minmax(0, 1fr); }
  .tmb-intro .badges { font-size: 13px; }
}

/* ---------------------------------------------------------------- small fixes */
.get-steps .term button span { color: #fff; font-size: 12.5px; }
.vs-card .row i, .pomo-card .row i { white-space: nowrap; }
.get-alt { margin: 2px 0 0; display: grid; gap: 2px; font-size: 14px; color: var(--muted); }
.get-alt a { display: inline-flex; gap: 6px; align-items: center; font-weight: 800; color: var(--a-deep); min-height: 32px; }
.get-alt .ic { width: 15px; height: 15px; }
.get-card .term { margin-top: 0; max-width: none; }
.get-card .term code { white-space: normal; overflow-wrap: anywhere; }
/* the first screen: name + one-line promise + the action, then the editor window, then the four cards */
.tmb-top { padding: 44px 0 34px; }
.tmb-intro { text-align: center; max-width: 820px; margin: 0 auto; display: grid; justify-items: center; gap: 0; }
.tmb-name { font-size: clamp(40px, 6vw, 72px); margin: 14px 0 0; }
.tmb-promise { font: 700 clamp(19px, 2.2vw, 24px)/1.35 var(--font-h); color: var(--ink-2); margin: 10px 0 22px; text-wrap: balance; }
.tmb-promise em { font-style: normal; color: var(--a-deep); }
.tmb-intro .acts { justify-content: center; }
.tmb-intro .badges { justify-content: center; }
#p-tmb .subnav { margin-top: 6px; }
@media (max-width: 700px) { .tmb-top { padding: 26px 0 24px; } .tmb-intro .acts .btn { width: 100%; } .tmb-hero-b { margin-top: 22px; } }
:lang(zh-Hant) .tmb-promise, :lang(zh-Hant) .tmb-name { word-break: keep-all; }
