/* tgarr.me: the pages added in November 2026 share this sheet */
:root { --tg-blue:#229ED9; --bg:#0e1621; --bg2:#17212B; --fg:#f0f3f5; --muted:#8b9aa8; --accent:#5eb6e5; --border:#2a3849; }
* { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body { font:16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; background:var(--bg); color:var(--fg); min-height:100vh; }
header, main, footer { width:100%; max-width:960px; margin:0 auto; padding:0 24px; }
header { padding-top:64px; padding-bottom:8px; }
.eyebrow { font-size:13px; text-transform:uppercase; letter-spacing:2.5px; color:var(--accent); font-weight:700; }
h1 { font-size:clamp(32px,5.4vw,52px); line-height:1.12; letter-spacing:-1.5px; font-weight:800; margin:14px 0 18px; }
.lead { font-size:clamp(18px,2.2vw,21px); color:var(--muted); max-width:760px; font-weight:300; }
.lead strong { color:var(--fg); font-weight:600; }
main { padding-bottom:80px; }
h2 { font-size:clamp(22px,3vw,28px); letter-spacing:-.5px; margin:64px 0 18px; font-weight:800; }
h2 small { display:block; font-size:13px; text-transform:uppercase; letter-spacing:2.5px; color:var(--accent); font-weight:700; margin-bottom:8px; }
h3 { font-size:17px; margin-bottom:8px; }
p { margin-bottom:14px; }
p.muted, li.muted { color:var(--muted); }
a { color:var(--accent); }
ul, ol { padding-left:22px; margin-bottom:14px; }
li { margin-bottom:8px; }
code { background:rgba(94,182,229,.10); color:var(--accent); padding:2px 6px; border-radius:4px; font:13px ui-monospace, Menlo, monospace; }
.grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:16px; margin:8px 0; }
.card { background:var(--bg2); border:1px solid var(--border); border-radius:10px; padding:22px; }
.card p { font-size:15px; color:var(--muted); margin-bottom:0; }
.card p + p { margin-top:10px; }
.card .ic { width:40px; height:40px; border-radius:11px; display:grid; place-items:center; margin-bottom:14px; color:var(--c,var(--accent)); background:color-mix(in srgb, var(--c,var(--accent)) 16%, transparent); }
.card .ic svg { width:22px; height:22px; }
.shot { margin:28px 0 8px; border-radius:14px; overflow:hidden; border:1px solid var(--border); box-shadow:0 24px 60px rgba(0,0,0,.45); background:#0b0d12; }
.shot img { display:block; width:100%; height:auto; }
figcaption { font-size:13px; color:var(--muted); padding:10px 4px 0; }
.steps { counter-reset:s; list-style:none; padding:0; }
.steps li { counter-increment:s; position:relative; padding:0 0 14px 46px; }
.steps li::before { content:counter(s); position:absolute; left:0; top:0; width:30px; height:30px; border-radius:50%; display:grid; place-items:center; font-weight:800; font-size:14px; background:rgba(94,182,229,.14); color:var(--accent); }
.wrap { overflow-x:auto; }
table { width:100%; border-collapse:collapse; margin:12px 0; font-size:14.5px; min-width:520px; }
th, td { text-align:left; padding:10px 12px; border-bottom:1px solid var(--border); vertical-align:top; }
th { color:var(--accent); font-weight:600; font-size:12px; text-transform:uppercase; letter-spacing:1px; }
details { background:var(--bg2); border:1px solid var(--border); border-radius:10px; padding:16px 20px; margin-bottom:10px; }
summary { cursor:pointer; font-weight:700; }
details p { color:var(--muted); margin:10px 0 0; font-size:15px; }
.links { margin-top:44px; display:flex; gap:12px; flex-wrap:wrap; }
.links a { display:inline-block; padding:12px 22px; background:var(--tg-blue); color:var(--bg); text-decoration:none; border-radius:6px; font-weight:700; font-size:14px; }
.links a.secondary { background:transparent; color:var(--fg); border:1px solid var(--border); }
.note { margin:22px 0; padding:16px 20px; background:var(--bg2); border-left:4px solid var(--tg-blue); border-radius:4px; font-size:15px; color:var(--muted); }
.note strong { color:var(--fg); }
footer { padding:32px 24px; color:var(--muted); font-size:13px; border-top:1px solid var(--border); text-align:center; }
footer p { margin-bottom:10px; }
footer a { text-decoration:none; }
@media (max-width:640px) { header { padding-top:40px; } }

.pair { display:grid; grid-template-columns:minmax(0,3.6fr) minmax(0,1fr); gap:16px; align-items:start; margin:28px 0 8px; }
.pair .shot { margin:0; }
.pair .shot.ph { border-radius:22px; }
@media (max-width:640px) { .pair { grid-template-columns:1fr; } .pair .shot.ph { max-width:240px; margin:0 auto; } }
a.dl { display:inline-block; padding:9px 16px; border-radius:6px; background:var(--tg-blue); color:var(--bg); text-decoration:none; font-weight:700; font-size:14px; }
pre { background:#0b121b; border:1px solid var(--border); border-radius:8px; padding:12px 14px; overflow-x:auto; margin:10px 0; }
pre code { background:none; padding:0; color:var(--fg); font-size:12.5px; white-space:pre; }
main, header { overflow-wrap:break-word; }
p code, li code, td code, .note code, details code { overflow-wrap:anywhere; }
.more, .langs { line-height:2; }
