/* Trenchpal app: dense, framed, mono headings, pastel accents on ink. Same system as the landing page. */
:root {
  --bg: #15121c; --s1: #1a1622; --s2: #201b29; --s3: #28222f;
  --line: rgba(255,255,255,.08); --line2: rgba(255,255,255,.14);
  --ink: #f5f2f8; --ink2: #c9c3d3; --mute: #9d96aa; --faint: #645d71;
  --sky: #b6e2f5; --pink: #f3bddb; --lilac: #c6a8f4;
  --grad: linear-gradient(115deg, var(--sky) 0%, var(--pink) 48%, var(--lilac) 100%);
  --acc: var(--lilac);
  --shit: #ff6b86; --sketchy: #ffb46b; --mid: #e9d27c; --good: #6fe0ad; --dead: #6d6678;
  --sans: Geist, Inter, system-ui, -apple-system, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --r: 10px;
}
* { box-sizing: border-box; }
html { overflow-x: clip; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font: 14px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: var(--ink); text-decoration-color: var(--line2); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink2); }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
.muted { color: var(--mute); }
code { font-family: var(--mono); font-size: .92em; }

/* ---- shared bits ---- */
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 500; padding: 4px 10px; border-radius: 99px; background: rgba(255,255,255,.07); color: var(--mute); }
.pill::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--good); box-shadow: 0 0 8px var(--good); }
.btn { --n: 3px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 16px; border: 0;
  font: 500 11.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; color: #15121c; background: var(--grad);
  clip-path: polygon(var(--n) 0, calc(100% - var(--n)) 0, calc(100% - var(--n)) var(--n), 100% var(--n), 100% calc(100% - var(--n)), calc(100% - var(--n)) calc(100% - var(--n)), calc(100% - var(--n)) 100%, var(--n) 100%, var(--n) calc(100% - var(--n)), 0 calc(100% - var(--n)), 0 var(--n), var(--n) var(--n));
  transition: filter .15s; }
.btn:hover { filter: brightness(1.08); }

/* ---- top bar ---- */
.top { position: sticky; top: 0; z-index: 5; background: rgba(21,18,28,.86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-in { max-width: 1400px; margin: 0 auto; height: 56px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 16px; letter-spacing: -.02em; text-decoration: none; }
.brand img { width: 28px; height: 28px; display: block; object-fit: contain; }
.live { display: flex; gap: 8px; align-items: center; font: 11.5px var(--mono); color: var(--mute); white-space: nowrap; text-transform: uppercase; letter-spacing: .04em; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--dead); }
.live.on i { background: var(--good); box-shadow: 0 0 8px var(--good); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* ---- the frame: side rules, + where lines cross ---- */
.frame { max-width: 1400px; margin: 0 auto; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.frame > * { position: relative; }
.frame > * + * { border-top: 1px solid var(--line); }
.frame > *::before, .frame > *::after { content: '+'; position: absolute; top: -11px; font: 300 18px/1 var(--mono); color: rgba(198,168,244,.55); pointer-events: none; z-index: 2; }
.frame > *::before { left: -6px; } .frame > *::after { right: -6px; }
.frame > :first-child::before, .frame > :first-child::after { display: none; }

/* ---- hero ---- */
.hero { padding: 48px 32px 28px; display: flex; flex-direction: column; align-items: center; text-align: center; overflow: hidden; }
.hero h1 { font: 500 clamp(30px, 4vw, 48px)/1.06 var(--mono); text-transform: uppercase; letter-spacing: .01em; margin: 14px 0 12px; }
.hero .sub { margin: 0 0 22px; max-width: 520px; color: var(--mute); font-size: 13.5px; }
.check { display: flex; width: min(560px, 100%); background: var(--s1); border: 1px solid var(--line2); padding: 4px; transition: border-color .15s; }
.check:focus-within { border-color: color-mix(in srgb, var(--lilac) 60%, transparent); }
.check input { flex: 1; min-width: 0; background: none; border: 0; outline: none; padding: 0 12px; font: 13px var(--mono); }
.check input::placeholder { color: var(--faint); }
.checkmsg { min-height: 20px; margin-top: 8px; color: var(--mute); font: 12px var(--mono); }
.checkmsg.err { color: var(--shit); }

.stats { display: grid; grid-template-columns: repeat(6, 1fr); width: 100%; margin-top: 18px; border: 1px solid var(--line); background: var(--s1); text-align: left; }
.stat { padding: 14px 16px; border-left: 1px solid var(--line); min-width: 0; }
.stat:first-child { border-left: 0; }
.stat b { display: block; font: 500 20px/1.15 var(--mono); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 4px; color: var(--mute); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat.shit b { color: var(--shit); } .stat.good b { color: var(--good); }

/* ---- layout ---- */
.grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; }
.feed { padding: 20px 24px 40px; min-width: 0; }
.side { padding: 20px 24px 40px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
h2 { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink); margin: 0 0 14px; }

/* ---- feed ---- */
.feedhead { position: sticky; top: 56px; z-index: 2; background: var(--bg); padding: 4px 0 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.filters { display: inline-flex; flex-wrap: wrap; background: var(--s1); border: 1px solid var(--line); padding: 3px; gap: 2px; }
.filters button { background: none; border: 0; color: var(--mute); padding: 6px 11px; font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.filters button:hover { color: var(--ink); }
.filters button.on { background: var(--ink); color: var(--bg); }
.subfilters { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: 12.5px; color: var(--mute); }
.subfilters select { background: var(--s1); border: 1px solid var(--line); padding: 6px 8px; color: var(--ink2); outline: none; font: 12px var(--sans); }
.subfilters label { display: flex; align-items: center; gap: 7px; cursor: pointer; }
.subfilters input[type=checkbox] { accent-color: var(--lilac); margin: 0; }

.list { border: 1px solid var(--line); background: var(--s1); }
.row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 14px 11px 12px;
  border-top: 1px solid var(--line); border-left: 2px solid transparent; cursor: pointer; transition: background .12s; }
.row:first-child { border-top: 0; }
.row:hover { background: var(--s2); }
.row[class*="v-"] { border-left-color: color-mix(in srgb, var(--c) 75%, transparent); }
.row.v-PENDING, .row.v-DEAD { border-left-color: transparent; }
.row.new { animation: arrive .7s ease; }
@keyframes arrive { from { background: color-mix(in srgb, var(--lilac) 10%, transparent); } }
.row img, .row .ph { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; background: var(--s3); display: block; }
.row .nm { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .nm small { font: 500 11.5px var(--mono); color: var(--mute); margin-left: 7px; }
.row .ln { color: var(--ink2); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.row .meta { font: 11px var(--mono); color: var(--faint); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.score { font: 11px var(--mono); color: var(--mute); font-variant-numeric: tabular-nums; }
.empty { padding: 48px 24px; text-align: center; color: var(--mute); font-size: 13px; }

.v-SHIT { --c: var(--shit); } .v-SKETCHY { --c: var(--sketchy); } .v-MID { --c: var(--mid); } .v-NOT-SHIT { --c: var(--good); } .v-DEAD { --c: var(--dead); } .v-PENDING { --c: var(--mute); }
.badge { display: inline-block; padding: 4px 7px; border-radius: 4px; font: 600 10.5px/1 var(--mono); letter-spacing: .05em; white-space: nowrap;
  color: var(--c, var(--mute)); background: color-mix(in srgb, var(--c, var(--mute)) 14%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--c, var(--mute)) 26%, transparent) inset; }
.v-DEAD .badge, .v-PENDING .badge { color: var(--mute); background: var(--s3); box-shadow: 0 0 0 1px var(--line) inset; }

/* ---- side ---- */
.panel { border: 1px solid var(--line); background: var(--s1); padding: 18px; }
.narr .headline { font-size: 14px; font-weight: 600; line-height: 1.45; margin: 0 0 6px; }
.narr .n { border-top: 1px solid var(--line); padding: 13px 0; }
.narr .n:last-of-type { padding-bottom: 4px; }
.narr .n h3 { margin: 0 0 4px; font-size: 13.5px; font-weight: 600; display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.heat { flex: none; font: 600 10px var(--mono); text-transform: uppercase; letter-spacing: .06em; padding: 2px 6px; border-radius: 4px; color: var(--mute); background: var(--s3); }
.heat.hot { color: var(--shit); background: color-mix(in srgb, var(--shit) 13%, transparent); }
.heat.warm { color: var(--sketchy); background: color-mix(in srgb, var(--sketchy) 13%, transparent); }
.heat.new { color: var(--lilac); background: color-mix(in srgb, var(--lilac) 13%, transparent); }
.narr .n p { margin: 3px 0; font-size: 13px; color: var(--ink2); }
.narr .take { color: var(--ink) !important; }
.narr .ex { font: 11px var(--mono); color: var(--faint); margin-top: 6px; }
.narr .news a { display: block; font-size: 13px; margin: 9px 0; text-decoration: none; }
.narr .news a:hover { color: #fff; }
.narr .news span { display: block; color: var(--mute); font-size: 12px; margin-top: 1px; }
.narr .stamp { font: 11px var(--mono); color: var(--faint); margin-top: 8px; }
.how ol { padding-left: 18px; margin: 0 0 12px; font-size: 13px; color: var(--ink2); }
.how li { margin-bottom: 8px; padding-left: 2px; }
.how li::marker { color: var(--faint); font: 11px var(--mono); }
.how b { color: var(--ink); font-weight: 600; }
.how p { font-size: 12px; margin: 0; }

/* ---- coin sheet ---- */
.drawer { position: fixed; inset: 0; z-index: 20; }
.scrim { position: absolute; inset: 0; background: rgba(10,8,14,.62); animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } }
.sheet { position: absolute; right: 0; top: 0; bottom: 0; width: min(680px, 100%); background: var(--bg); border-left: 1px solid var(--line2); overflow-y: auto; padding: 22px 24px 60px; animation: in .22s cubic-bezier(.2,.8,.2,1); }
@keyframes in { from { transform: translateX(24px); opacity: 0; } }
.sheet .x { position: absolute; right: 14px; top: 14px; width: 30px; height: 30px; border-radius: 6px; background: none; border: 0; color: var(--mute); font-size: 20px; line-height: 1; }
.sheet .x:hover { background: var(--s2); color: var(--ink); }
.sheet .head { display: flex; gap: 14px; align-items: center; padding-right: 36px; }
.sheet .head img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; background: var(--s3); flex: none; }
.sheet .head h2 { font: 600 20px var(--sans); letter-spacing: -.015em; text-transform: none; margin: 0; }
.sheet .head h2 .muted { font: 500 14px var(--mono); }
.ca { font: 11.5px var(--mono); color: var(--faint); word-break: break-all; cursor: copy; margin-top: 2px; }
.ca:hover { color: var(--ink2); }
.verdict { margin: 18px 0 14px; padding: 18px; background: var(--s1); border: 1px solid var(--line); box-shadow: 3px 0 0 var(--c, var(--mute)) inset; }
.verdict .big { font: 500 28px/1.05 var(--mono); letter-spacing: .01em; color: var(--c, var(--ink)); }
.verdict .big small { font: 500 13px var(--mono); color: var(--mute); margin-left: 8px; }
.verdict .line { font-size: 15px; font-weight: 500; line-height: 1.45; margin-top: 8px; color: var(--ink); }
.verdict .muted { font-size: 12.5px; }
.links { display: flex; flex-wrap: wrap; gap: 6px; }
.links a { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .05em; text-decoration: none; color: var(--ink2); padding: 6px 10px; border: 1px solid var(--line); background: var(--s1); }
.links a:hover { color: var(--ink); border-color: var(--line2); }
.sec { margin-top: 24px; }
.sec h3 { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--mute); margin: 0 0 10px; }
.sec h3 a { color: var(--ink2); text-transform: none; letter-spacing: 0; }
.flags { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); background: var(--s1); }
.flags li { position: relative; padding: 9px 12px 9px 32px; font-size: 13.5px; line-height: 1.45; border-top: 1px solid var(--line); }
.flags li:first-child { border-top: 0; }
.flags li::before { position: absolute; left: 13px; top: 15px; width: 7px; height: 7px; border-radius: 50%; content: ''; background: var(--mute); }
.flags .kill::before { background: var(--shit); box-shadow: 0 0 8px var(--shit); }
.flags .bad::before { background: var(--sketchy); }
.flags .meh::before { background: var(--faint); }
.flags .meh { color: var(--ink2); }
.flags .good::before { background: var(--good); }
.why { margin: 0; padding-left: 18px; font-size: 13.5px; color: var(--ink2); }
.why li { margin-bottom: 5px; }
.why li::marker { color: var(--faint); }
.kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); border: 1px solid var(--line); background: var(--s1); overflow: hidden; }
.kv div { padding: 10px 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.kv b { display: block; font: 500 14px var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kv span { display: block; font-size: 11.5px; color: var(--mute); margin-top: 2px; }
.holders { width: 100%; border-collapse: collapse; font: 12px var(--mono); border: 1px solid var(--line); background: var(--s1); }
.holders td { padding: 6px 10px; border-top: 1px solid var(--line); color: var(--ink2); }
.holders tr:first-child td { border-top: 0; }
.holders td:nth-child(2) { text-align: right; width: 64px; color: var(--ink); font-variant-numeric: tabular-nums; }
.holders .bar { height: 4px; background: var(--grad); border-radius: 2px; }
.deepbtn { --n: 3px; height: 36px; padding: 0 16px; border: 0; font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: #15121c; background: var(--grad);
  clip-path: polygon(var(--n) 0, calc(100% - var(--n)) 0, calc(100% - var(--n)) var(--n), 100% var(--n), 100% calc(100% - var(--n)), calc(100% - var(--n)) calc(100% - var(--n)), calc(100% - var(--n)) 100%, var(--n) 100%, var(--n) calc(100% - var(--n)), 0 calc(100% - var(--n)), 0 var(--n), var(--n) var(--n)); }
.deepbtn:hover { filter: brightness(1.08); }
.deepbtn:disabled { opacity: .5; cursor: wait; }
.deep { border: 1px solid var(--line); background: var(--s1); padding: 16px 18px; }
.deep h3 { margin-bottom: 8px; }
.deep p { color: var(--ink2); font-size: 13.5px; margin: 0 0 9px; }
.deep p b { color: var(--ink); font-weight: 600; }
.deep .cite { display: block; font-size: 12px; color: var(--mute); text-decoration: none; padding: 3px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deep .cite:hover { color: var(--ink); }
.spin { display: inline-block; width: 11px; height: 11px; border: 1.5px solid var(--mute); border-top-color: transparent; border-radius: 50%; animation: r .8s linear infinite; vertical-align: -1px; }
@keyframes r { to { transform: rotate(360deg); } }
.foot { text-align: center; color: var(--faint); font-size: 12px; padding: 28px 16px; border-top: 1px solid var(--line); }

/* ---- responsive ---- */
@media (max-width: 1100px) { .stats { grid-template-columns: repeat(3, 1fr); } .stat:nth-child(4) { border-left: 0; } .stat:nth-child(n+4) { border-top: 1px solid var(--line); } }
@media (max-width: 980px) {
  .grid { grid-template-columns: 1fr; }
  .side { border-left: 0; border-top: 1px solid var(--line); }
  .feedhead { position: static; }
}
@media (max-width: 600px) {
  .top-in { padding: 0 16px; }
  .hero { padding: 32px 16px 20px; }
  .feed, .side { padding: 16px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(odd) { border-left: 0; } .stat:nth-child(4) { border-left: 1px solid var(--line); }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .row { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; }
  .row img, .row .ph { width: 36px; height: 36px; }
  .sheet { padding: 18px 16px 60px; }
}

/* ---- inside the terminal overlay (Chrome extension): compact ---- */
.embed .top { position: static; }
.embed .top-in { height: 48px; padding: 0 14px; }
.embed .brand { font-size: 14px; } .embed .brand img { width: 24px; height: 24px; }
.embed .frame { border: 0; }
.embed .frame > *::before, .embed .frame > *::after { display: none; }
.embed .hero { padding: 12px 14px 0; }
.embed .hero .pill, .embed .hero h1, .embed .hero .sub, .embed .foot, .embed .how { display: none; }
.embed .check input { font-size: 12.5px; padding: 0 8px; }
.embed .check .btn { height: 32px; padding: 0 12px; font-size: 11px; }
.embed .checkmsg { min-height: 0; margin-top: 6px; }
.embed .checkmsg:empty { display: none; }
.embed .stats { grid-template-columns: repeat(3, 1fr); margin-top: 10px; }
.embed .stat { padding: 8px 10px; }
.embed .stat:nth-child(4) { border-left: 0; } .embed .stat:nth-child(n+4) { border-top: 1px solid var(--line); }
.embed .stat b { font-size: 14px; }
.embed .stat span { font-size: 10.5px; }
.embed .grid { grid-template-columns: 1fr; }
.embed .feed { padding: 14px 14px 20px; }
.embed .side { padding: 0 14px 30px; border: 0; }
.embed .feedhead { position: static; padding-bottom: 8px; }
.embed .filters button { padding: 5px 7px; font-size: 10.5px; }
.embed .row { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; padding: 9px 10px 9px 9px; }
.embed .row img, .embed .row .ph { width: 34px; height: 34px; }
.embed .row .nm { font-size: 13px; }
.embed .row .ln { font-size: 12px; }
.embed .sheet { width: 100%; border-left: 0; padding: 16px 14px 50px; }
.embed .verdict .big { font-size: 22px; }

/* ---- opening animation inside the extension: their logo, a line, then us ---- */
#tbSplash { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--bg); transition: opacity .5s ease, transform .5s ease; overflow: hidden; }
#tbSplash::before { content: ''; position: absolute; left: 50%; top: 50%; width: 380px; height: 380px; transform: translate(-50%, -50%); background: var(--grad); filter: blur(90px); opacity: 0; border-radius: 50%; }
#tbSplash.run::before { animation: spGlow 2.2s .5s ease forwards; }
#tbSplash.out { opacity: 0; transform: scale(1.02); pointer-events: none; }
#tbSplash .sp-stage { position: relative; display: flex; flex-direction: column; align-items: center; }
#tbSplash .sp-host { height: 38px; width: auto; max-width: 78%; opacity: 0; transform: translateY(8px) scale(.97); }
#tbSplash .sp-link { width: 1px; height: 0; margin: 22px 0; background: var(--line2); position: relative; overflow: hidden; }
#tbSplash .sp-link i { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--grad); }
#tbSplash .sp-brand { display: flex; align-items: center; gap: 12px; font: 600 30px/1 var(--sans); letter-spacing: -.03em; opacity: 0; transform: translateY(8px); }
#tbSplash .sp-brand img { width: 64px; height: 64px; object-fit: contain; }
#tbSplash .sp-note { margin-top: 16px; font: 12.5px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--mute); opacity: 0; }
#tbSplash.run .sp-host { animation: spIn .55s cubic-bezier(.2,.8,.2,1) forwards; }
#tbSplash.run .sp-link { animation: spGrow .5s .45s cubic-bezier(.4,0,.2,1) forwards; }
#tbSplash.run .sp-link i { animation: spRun .8s .65s ease-in-out 3; }
#tbSplash.run .sp-brand { animation: spIn .55s .95s cubic-bezier(.2,.8,.2,1) forwards; }
#tbSplash.run .sp-note { animation: spFade .5s 1.3s ease forwards; }
@keyframes spIn { to { opacity: 1; transform: none; } }
@keyframes spGrow { to { height: 60px; } }
@keyframes spRun { to { top: 100%; } }
@keyframes spFade { to { opacity: 1; } }
@keyframes spGlow { 40% { opacity: .24; } to { opacity: .14; } }
@media (prefers-reduced-motion: reduce) {
  #tbSplash.run *, #tbSplash.run::before { animation-duration: .01s !important; animation-delay: 0s !important; }
  #tbSplash .sp-link { height: 60px; }
}

/* ---- scrollbars ---- */
@supports not selector(::-webkit-scrollbar) { * { scrollbar-width: thin; scrollbar-color: #2e2836 transparent; } }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #2a2431; border-radius: 8px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #3b3345; }
::-webkit-scrollbar-corner { background: transparent; }
.embed ::-webkit-scrollbar { width: 6px; }

/* ---- the extension panel gets the soft look: pills, rounded panels, the friendly headline face ---- */
.embed { --r: 16px; --display: 'Plus Jakarta Sans', Geist, system-ui, sans-serif;
  --btn: linear-gradient(120deg, #c7a6f8 0%, #9b85f6 55%, #7f6bf3 100%); }
/* the glow lives on the whole page and fades to nothing well before the feed, so nothing can cut it off */
.embed body { background: radial-gradient(90% 300px at 50% -60px, rgba(185,161,247,.24), rgba(185,161,247,.08) 55%, transparent 100%) no-repeat, var(--bg); }
.embed .feedhead, .embed .hero { background: transparent; }
.embed .top { background: rgba(21,18,28,.6); }
.embed .brand { font: 800 16px var(--display); letter-spacing: -.03em; }
.embed .brand img { width: 26px; height: 26px; }
.embed .check { border-radius: 999px; padding: 5px; }
.embed .check:focus-within { box-shadow: 0 0 0 4px rgba(185,161,247,.12); }
.embed .check input { padding: 0 14px; }
.embed .btn, .embed .check .btn { clip-path: none; border-radius: 999px; height: 34px; padding: 0 16px; font: 700 13px/1 var(--display); text-transform: none; letter-spacing: 0;
  color: #fff; background: var(--btn); box-shadow: 0 6px 18px rgba(127,107,243,.35), inset 0 1px 0 rgba(255,255,255,.35); }
.embed .stats { border-radius: var(--r); overflow: hidden; }
.embed .stat b { font: 700 15px/1.15 var(--display); }
.embed .filters { border-radius: 999px; padding: 4px; }
.embed .filters button { border-radius: 999px; font: 700 12px var(--display); text-transform: none; letter-spacing: 0; padding: 6px 10px; }
.embed .filters button.on { background: var(--btn); color: #fff; box-shadow: 0 4px 12px rgba(127,107,243,.3); }
.embed .subfilters select { border-radius: 999px; padding: 7px 10px; }
.embed .list, .embed .panel { border-radius: var(--r); overflow: hidden; }
.embed .row img, .embed .row .ph { border-radius: 10px; }
.embed h2 { font: 800 15px var(--display); text-transform: none; letter-spacing: -.02em; }
.embed .sheet .head img { border-radius: 14px; }
.embed .sheet .head h2 { font: 800 20px var(--display); }
.embed .verdict { border-radius: var(--r); box-shadow: none; border: 1px solid color-mix(in srgb, var(--c, var(--mute)) 30%, transparent);
  background: radial-gradient(120% 140% at 0 0, color-mix(in srgb, var(--c, var(--mute)) 18%, transparent), transparent 60%), var(--s1); }
.embed .verdict .big { font: 800 24px/1.05 var(--display); letter-spacing: -.02em; }
.embed .links a { border-radius: 999px; font: 700 11.5px var(--display); text-transform: none; letter-spacing: 0; padding: 6px 12px; }
.embed .flags, .embed .kv, .embed .deep { border-radius: 14px; overflow: hidden; }
.embed .holders { border-collapse: separate; border-spacing: 0; border-radius: 14px; overflow: hidden; }
.embed .deepbtn { clip-path: none; border-radius: 999px; height: 38px; padding: 0 18px; font: 700 13px var(--display); text-transform: none; letter-spacing: 0;
  color: #fff; background: var(--btn); box-shadow: 0 6px 18px rgba(127,107,243,.35); }
.embed #tbSplash .sp-brand { font: 800 30px/1 var(--display); }
.embed .frame > * + * { border-top: 0; } /* no full-width divider inside the panel: the glow and the boxes do the separating */

/* the left/right switch beside the logo: only inside the extension */
.brandrow { display: flex; align-items: center; gap: 12px; }
.side-toggle { display: none; }
.embed .side-toggle { display: inline-block; position: relative; width: 40px; height: 22px; padding: 0; border: 0; border-radius: 99px; cursor: pointer;
  background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); transition: background .2s; }
.embed .side-toggle:hover { background: rgba(255,255,255,.12); }
.embed .side-toggle::before, .embed .side-toggle::after { content: ''; position: absolute; top: 7px; width: 2px; height: 8px; border-radius: 1px; background: rgba(255,255,255,.22); }
.embed .side-toggle::before { left: 7px; } .embed .side-toggle::after { right: 7px; }
.embed .side-toggle i { position: absolute; top: 3px; left: 21px; width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(120deg, #c7a6f8, #9b85f6, #7f6bf3); box-shadow: 0 2px 8px rgba(127,107,243,.5); transition: left .22s cubic-bezier(.2,.8,.2,1); }
.embed .side-toggle.on-left i { left: 3px; }
