:root{--bg:#09090b;--card:#18181b;--card2:#202024;--line:#27272a;--muted:#a1a1aa;--grok:#6b21a8;--grok-l:#c084fc;--human:#9f1239;--human-l:#fb7185;--grad:linear-gradient(90deg,#a855f7,#22d3ee)}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:#e4e4e7;font:15px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,sans-serif;padding-bottom:env(safe-area-inset-bottom)}
a{color:inherit}
button{font:inherit;color:inherit;cursor:pointer}
.mock-banner{background:#422006;color:#fde68a;font-size:.72rem;text-align:center;padding:.35rem .75rem}
.sticky{position:sticky;top:0;z-index:20;background:#09090b}
.top{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.6rem 1rem;padding-top:calc(.6rem + env(safe-area-inset-top));background:#09090b;border-bottom:1px solid var(--line)}
.top__logo{display:flex;align-items:center;gap:.55rem;text-decoration:none}
.top__g{width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,#a855f7,#22d3ee);display:grid;place-items:center;font-weight:800;color:#fff;box-shadow:0 0 0 3px rgba(168,85,247,.3)}
.top__name{margin:0;white-space:nowrap;font-weight:800;font-size:1.1rem;letter-spacing:-.02em;color:#fff}
.top__name em{font-style:normal;color:var(--grok-l)}
.btn-x{display:inline-flex;align-items:center;gap:.45rem;background:#000;color:#fff;border:1px solid #3f3f46;border-radius:999px;padding:.45rem .9rem;font-weight:700;font-size:.85rem;white-space:nowrap}
.me{display:inline-flex;align-items:center;gap:.4rem;border:1px solid #3f3f46;border-radius:999px;padding:.2rem .55rem .2rem .2rem;background:#000;font-size:.85rem;font-weight:700}
.me img{width:28px;height:28px;border-radius:50%}
.bar{background:#09090b;border-bottom:1px solid var(--line)}
.tabs{display:flex;overflow-x:auto;scrollbar-width:none}
.tabs::-webkit-scrollbar,.chips::-webkit-scrollbar{display:none}
.tab{flex:1 0 auto;background:none;border:0;border-bottom:3px solid transparent;color:var(--muted);font-weight:700;padding:.7rem .8rem;font-size:.9rem;min-height:44px}
.tab.is-on{color:#fff;border-bottom-color:#a855f7}
.chips{display:flex;gap:.45rem;overflow-x:auto;padding:.55rem 1rem;scrollbar-width:none}
.chip{flex:0 0 auto;background:var(--card);border:1px solid #3f3f46;border-radius:999px;padding:.32rem .8rem;font-size:.82rem;font-weight:600;color:#d4d4d8;min-height:44px}
.chip.is-on{background:#7e22ce;border-color:#c084fc;color:#fff}
.feed{max-width:640px;margin:0 auto;padding:.75rem .75rem 2rem;display:flex;flex-direction:column;gap:.9rem}
.hof-head{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.25rem .25rem 0}
.hof-head h2{margin:0;font-size:1.15rem}
.seg{display:inline-flex;background:var(--card);border:1px solid #3f3f46;border-radius:999px;padding:3px}
.seg button{background:none;border:0;border-radius:999px;padding:.3rem .8rem;font-size:.8rem;font-weight:700;color:var(--muted)}
.seg button.is-on{background:#3f3f46;color:#fff}
.post{background:var(--card);border-radius:1.1rem;overflow:hidden;box-shadow:0 10px 15px -3px rgb(0 0 0 /.35);border:1px solid #232327}
.post__top{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap;padding:.75rem .9rem 0}
.topic{font-size:.72rem;font-weight:700;padding:.15rem .7rem;border-radius:999px;background:#2e1065;color:#e9d5ff;border:0;min-height:44px}
.example{font-size:.65rem;font-weight:800;letter-spacing:.04em;padding:.12rem .45rem;border-radius:4px;background:#422006;color:#fde68a}
.post__time{margin-left:auto;font-size:.75rem;color:#a1a1aa}
.rank{font-weight:800;color:#facc15;font-size:.85rem}
.post__title{margin:.4rem .9rem 0;font-size:1.02rem;font-weight:800;color:#fff;line-height:1.3}
.ex{padding:.6rem .9rem .2rem;display:flex;flex-direction:column;gap:.55rem}
.msg{display:flex;gap:.55rem;align-items:flex-start}
.msg--grok{flex-direction:row-reverse}
.msg__av{width:38px;height:38px;border-radius:50%;object-fit:cover;flex:0 0 38px;background:#27272a}
.msg__b{min-width:0;max-width:86%;background:var(--card2);border-radius:.25rem 1rem 1rem 1rem;padding:.5rem .7rem;border-left:3px solid var(--human)}
.msg--grok .msg__b{border-radius:1rem .25rem 1rem 1rem;border-left:0;border-right:3px solid var(--grok-l);background:#1e1530}
.msg__h{font-size:.78rem;font-weight:800;color:var(--human-l);display:flex;gap:.35rem;align-items:center}
.msg--grok .msg__h{color:var(--grok-l);justify-content:flex-end}
.msg__t{margin:.15rem 0 0;white-space:pre-wrap;word-break:break-word;font-size:.92rem;color:#e4e4e7}
.msg__t.clamp{display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}
.more{background:none;border:0;color:var(--grok-l);font-size:.78rem;font-weight:700;padding:.2rem 0 0}
.msg__m{display:block;width:100%;max-height:300px;object-fit:cover;border-radius:.7rem;margin-top:.45rem;background:#000}
.vote{display:flex;height:50px;margin-top:.6rem}
.vote button{flex:1;border:0;font-weight:800;display:flex;align-items:center;justify-content:center;gap:.5rem;color:#fff;font-size:.95rem;position:relative;overflow:hidden}
.vote .v-grok{background:var(--grok)}
.vote .v-human{background:var(--human)}
.vote .n{font-size:1.25rem}
.vote button.is-mine{box-shadow:inset 0 0 0 3px #fff}
.vote__pct{display:flex;height:4px;background:var(--human)}
.vote__pct span{background:var(--grok-l)}
.acts{display:flex;align-items:center;justify-content:space-between;padding:.5rem .6rem .6rem;gap:.25rem}
.act{display:inline-flex;align-items:center;gap:.35rem;background:none;border:0;color:var(--muted);font-size:.85rem;font-weight:600;padding:.4rem .7rem;border-radius:999px;text-decoration:none;min-height:44px;min-width:44px;justify-content:center}
.act:active{background:#27272a}
.act.is-like{color:var(--grok-l)}.act.is-dislike{color:var(--human-l)}
.empty{color:var(--muted);text-align:center;padding:3rem 1rem}
.foot{text-align:center;color:#a1a1aa;font-size:.8rem;padding:1.5rem 1rem 2.5rem;border-top:1px solid var(--line)}
.foot a{color:#d4d4d8;display:inline-block;padding:.75rem .2rem;min-height:44px}.foot p a{padding:0;min-height:0}.foot__donate{color:#fde68a!important;font-weight:700}
.foot p{margin:.6rem 0 0;font-size:.72rem}
.toast{position:fixed;left:50%;bottom:calc(1rem + env(safe-area-inset-bottom));transform:translate(-50%,calc(100% + 2rem));visibility:hidden;opacity:0;transition:transform .25s,opacity .25s,visibility .25s;background:#18181b;border:1px solid #a855f7;color:#fff;padding:.65rem 1.1rem;border-radius:1rem;font-size:.88rem;z-index:50;max-width:90vw;text-align:center}
.toast.show{transform:translate(-50%,0);visibility:visible;opacity:1}
.tw__x{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;margin:-10px -12px -10px 0}
.post{scroll-margin-top:150px}
.more-wrap{display:flex;justify-content:center;padding:.5rem}
.load-more{background:var(--card);border:1px solid #3f3f46;border-radius:999px;padding:.6rem 1.2rem;min-height:44px;font-weight:700}
/* Load more / caught up (between the last post and About) */
#more{padding:1rem .5rem 1.5rem;overflow-anchor:none}
#more .load-more{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-width:min(320px,100%);min-height:48px;color:#fff;font-size:.95rem;background:linear-gradient(180deg,#1c1b22,#141318);border:1px solid #6d28d9;box-shadow:0 0 0 1px rgba(168,85,247,.15),0 8px 24px -12px rgba(168,85,247,.6);cursor:pointer;transition:border-color .15s,box-shadow .15s}
#more .load-more:hover{border-color:#a855f7;box-shadow:0 0 0 1px rgba(168,85,247,.35),0 10px 28px -10px rgba(168,85,247,.8)}
#more .load-more:focus-visible{outline:2px solid #c084fc;outline-offset:3px}
#more .load-more:disabled{opacity:.75;cursor:progress}
.spin{width:16px;height:16px;border-radius:50%;border:2px solid rgba(255,255,255,.25);border-top-color:#c084fc;animation:spin .7s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.caught{color:#a1a1aa;font-weight:700;font-size:.9rem;gap:.4rem;align-items:center}
.seen-tag{font-size:.68rem;font-weight:700;color:#a1a1aa;border:1px solid #3f3f46;border-radius:999px;padding:.1rem .45rem;margin-left:auto}
.seen-tag+.post__time{margin-left:.4rem}
.seenchip{flex:0 0 auto;display:inline-flex;align-items:center;gap:.35rem;min-height:44px;padding:0 .35rem 0 .7rem;border:1px dashed #3f3f46;border-radius:999px;font-size:.74rem;color:#a1a1aa;background:transparent;white-space:nowrap}
.seenchip__t{display:inline-flex;align-items:center;gap:.3rem;min-height:40px;cursor:pointer}.seenchip__t input{accent-color:#a855f7;width:15px;height:15px;margin:0}
.seenchip__sep{width:1px;height:16px;background:#3f3f46}
.seenchip__r{display:inline-flex;align-items:center;gap:.25rem;background:none;border:0;color:#c4b5fd;font:inherit;font-weight:700;min-height:40px;min-width:40px;padding:0 .45rem;border-radius:999px;cursor:pointer}
.seenchip__r:hover:not(:disabled){background:rgba(168,85,247,.12)}.seenchip__r:disabled{color:#52525b;cursor:default}
.seenchip__n{font-size:.66rem;background:#27272a;border-radius:999px;padding:0 .35rem;color:#d4d4d8}
.seenchip__r:focus-visible,.seenchip__t input:focus-visible{outline:2px solid #c084fc;outline-offset:2px}
@media (prefers-reduced-motion:reduce){.spin{animation:none}}
@media (max-width:360px){.top__name{font-size:.98rem}.btn-x{padding:.45rem .65rem;font-size:.8rem}}
@media (min-width:700px){.chips{flex-wrap:wrap;justify-content:center;overflow:visible}.top,.chips{padding-left:max(1rem,calc(50% - 320px));padding-right:max(1rem,calc(50% - 320px))}.tabs{justify-content:center}.tab{flex:0 0 auto}}
/* v2 real: thread expander, links, comments sheet */
.msg__h a{color:inherit;text-decoration:none}.msg__t a{color:#7dd3fc;word-break:break-all;text-decoration:underline}
.thread-more{display:block;width:100%;margin:.15rem 0 .6rem;padding:.6rem;border:1px dashed #3f3f46;border-radius:.8rem;background:transparent;color:#c084fc;font-weight:600;font-size:.9rem}
video.msg__m{width:100%;background:#000}
a.me{text-decoration:none}
#sheet[hidden]{display:none}
.sheet__bg{position:fixed;inset:0;background:#000a;z-index:40}
.sheet__panel{position:fixed;left:0;right:0;bottom:0;max-height:85vh;display:flex;flex-direction:column;background:#18181b;border-top:1px solid #3b0764;border-radius:1.2rem 1.2rem 0 0;z-index:41;max-width:680px;margin:0 auto;padding-bottom:env(safe-area-inset-bottom)}
.sheet__head{display:flex;align-items:center;gap:.5rem;padding:.8rem 1rem;border-bottom:1px solid #27272a}
.sheet__head span{flex:1;min-width:0;color:#a1a1aa;font-size:.8rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sheet__head button{background:none;border:0;font-size:1.1rem;padding:.25rem .5rem}
.sheet__list{list-style:none;margin:0;padding:.5rem 1rem;overflow-y:auto;flex:1;-webkit-overflow-scrolling:touch}
.cmt{display:flex;gap:.55rem;padding:.55rem 0;border-bottom:1px solid #27272a}.cmt__av{width:30px;height:30px;border-radius:50%;flex:0 0 30px;background:#27272a}
.cmt__main{min-width:0;flex:1}.cmt__head{font-size:.78rem;color:#a1a1aa}.cmt__head a{color:#e4e4e7;font-weight:600;text-decoration:none}
.cmt__body{margin:.15rem 0 .3rem;white-space:pre-wrap;word-break:break-word}
.cmt__acts{display:flex;gap:.8rem}.cmt__acts button{background:none;border:0;color:#a1a1aa;font-size:.8rem;padding:.2rem 0}
.cmt__acts .is-like{color:#c084fc}.cmt__acts .is-dislike{color:#fb7185}
.sheet__form{display:flex;gap:.5rem;padding:.7rem 1rem;border-top:1px solid #27272a}
.sheet__form textarea{flex:1;font-family:inherit;font-size:16px;line-height:1.35;background:#09090b;color:#fff;border:1px solid #3f3f46;border-radius:.8rem;padding:.55rem .7rem;resize:none}
.sheet__form button[type=submit]{background:#7e22ce;border:0;border-radius:.8rem;padding:0 1rem;font-weight:600}


/* About / help / support */
.about{max-width:640px;margin:1.5rem auto 0;padding:0 1rem;color:#d4d4d8;font-size:.88rem;line-height:1.5}
.about h2{font-size:1.05rem;margin:0 0 .4rem;color:#fff}.about h3{font-size:.92rem;margin:0 0 .25rem;color:#fff}
.about p{margin:.3rem 0}.about__box{border:1px solid var(--line);border-radius:12px;padding:.8rem .95rem;margin:.7rem 0;background:#111113}
.about a{color:#93c5fd}.about__donate{display:inline-block;margin-top:.45rem;padding:.45rem .9rem;border-radius:999px;background:#fde68a;color:#18181b!important;font-weight:700;text-decoration:none}
.about__donate[hidden],.foot__donate[hidden]{display:none!important}

/* Native turns (X display requirements) */
.tw{background:var(--card2,#18181b);border:1px solid var(--line,#27272a);border-radius:14px;padding:.7rem .85rem;margin:.45rem 0;border-left:3px solid var(--human,#3b82f6)}
.tw--grok{border-left-color:var(--grok-l,#a78bfa);background:#1a1426}
.tw__h{display:flex;align-items:center;justify-content:space-between;gap:.5rem}
.tw__who{display:flex;align-items:center;gap:.45rem;min-width:0;color:inherit;text-decoration:none}
.tw__av{width:36px;height:36px;border-radius:50%;object-fit:cover;background:#27272a;flex:0 0 36px}
.tw__n{font-weight:700;color:#fff;font-size:.88rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tw__v{color:#1d9bf0;font-size:.72rem}.tw__u{color:#a1a1aa;font-size:.8rem;white-space:nowrap}
.tw__x{color:#e4e4e7;flex:0 0 auto}
.tw__t{margin:.45rem 0 .3rem;white-space:pre-wrap;word-wrap:break-word;color:#e4e4e7;font-size:.93rem;line-height:1.45}
.tw__t a{color:#4cb4f5;text-decoration:underline;text-underline-offset:2px}
.tw__m{display:block;width:100%;max-height:520px;object-fit:contain;border-radius:12px;margin:.4rem 0;background:#000}
.tw__time{display:inline-flex;align-items:center;min-height:44px;color:#a1a1aa;font-size:.75rem;text-decoration:none}.tw__time:hover{text-decoration:underline}
.xlink{display:inline-flex;align-items:center;gap:.35rem;min-height:44px;margin:0 .9rem .3rem;font-size:.8rem;color:#a1a1aa;text-decoration:none}
/* QA round 2: tap targets, 320px header */
.top__logo,.btn-x,.me,.tw__who{min-height:44px}.thread-more{min-height:44px}.about__mail{display:inline-block;padding:.6rem 0;margin:-.6rem 0}
@media (max-width:360px){.top{gap:.4rem;padding-left:.6rem;padding-right:.6rem}.top__g{width:30px;height:30px}.btn-x{gap:.3rem;padding:.4rem .55rem;font-size:.76rem}}

.tw__q{display:block;margin:.4rem 0;padding:.55rem .7rem;border:1px solid #3f3f46;border-radius:12px;background:#111113;color:inherit;text-decoration:none}
.tw__qh{display:block;font-size:.8rem;color:#a1a1aa}.tw__qh b{color:#fff}.tw__qt{display:block;white-space:pre-wrap;word-wrap:break-word;font-size:.88rem;margin-top:.2rem}
.tw__t--none{color:#a1a1aa;font-style:italic}

/* ===== v2 chat-battle bubbles ===== */
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.post{background:linear-gradient(180deg,#1b1a20 0%,#151518 100%);border:1px solid #2a2830;transition:border-color .2s}
.post:hover{border-color:#3b2d55}
.post__top{padding:.8rem 1rem 0}
.topic{min-height:32px;padding:.2rem .75rem;font-size:.72rem;letter-spacing:.02em;background:rgba(168,85,247,.14);border:1px solid rgba(192,132,252,.35);color:#e9d5ff;position:relative}
.topic::after{content:"";position:absolute;inset:-6px 0}
.topic:hover,.topic:focus-visible{background:rgba(168,85,247,.28)}
.post__time{font-size:.74rem;color:#a1a1aa;background:#232228;border-radius:999px;padding:.15rem .55rem;font-variant-numeric:tabular-nums}
.post__title{margin:.55rem 1rem .1rem;font-size:1.08rem;letter-spacing:-.015em;line-height:1.3}
.ex{position:relative;padding:.7rem .75rem .4rem;gap:.15rem}
/* bubbles */
.tw{position:relative;border:0;margin:.35rem 0;padding:.65rem .85rem .2rem;border-radius:18px;max-width:92%;transition:transform .15s,box-shadow .2s,background .2s}
.tw--human{background:#24242a;border-top-left-radius:6px;margin-right:auto;margin-left:22px;box-shadow:inset 0 0 0 1px #33333b}
.tw--grok{background:linear-gradient(150deg,#2a1747 0%,#1d1530 60%,#171326 100%);border-top-right-radius:6px;margin-left:auto;box-shadow:inset 0 0 0 1px rgba(192,132,252,.35),0 0 22px -6px rgba(168,85,247,.45)}
/* tails */
.tw::before{content:"";position:absolute;top:0;width:12px;height:14px}
.tw--human::before{left:-9px;background:#24242a;clip-path:polygon(100% 0,0 0,100% 100%)}
.tw--grok::before{right:-9px;background:#2a1747;clip-path:polygon(0 0,100% 0,0 100%)}
/* thread line connecting human bubbles on the left */
.ex::before{content:"";position:absolute;left:1.05rem;top:1.2rem;bottom:1.2rem;width:2px;border-radius:2px;background:linear-gradient(180deg,#3f3f46,#7e22ce 50%,#3f3f46);opacity:.55}
.tw--human::after{content:"";position:absolute;left:-19px;top:6px;width:8px;height:8px;border-radius:50%;background:#52525b;box-shadow:0 0 0 3px #18171c}
.tw--grok::after{content:none}
.tw:hover{transform:translateY(-1px)}
.tw--grok:hover{box-shadow:inset 0 0 0 1px rgba(192,132,252,.55),0 0 28px -4px rgba(168,85,247,.55)}
.tw:active{transform:scale(.995)}
.tw--grok .tw__h{flex-direction:row}
.tw__av{width:34px;height:34px;flex-basis:34px}
.tw--human .tw__av{box-shadow:0 0 0 2px #18181b,0 0 0 3.5px #fb7185}
.tw--grok .tw__av{box-shadow:0 0 0 2px #1d1530,0 0 0 4px #a855f7,0 0 12px 2px rgba(168,85,247,.55)}
.tw__who{flex-wrap:wrap;row-gap:0;column-gap:.4rem}
.tw__n{font-size:.9rem}
.tw__u{font-size:.78rem}
.tw__badge{display:inline-flex;align-items:center;font-size:.62rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;padding:.1rem .45rem;border-radius:999px;background:linear-gradient(90deg,#a855f7,#22d3ee);color:#0b0614}
.tw__t{font-size:.95rem;line-height:1.5;margin:.45rem 0 .2rem;color:#f4f4f5}
.tw--grok .tw__t{color:#f5f3ff}
.tw__t a{color:#7dd3fc}
.tw--grok .tw__t a{color:#d8b4fe}
.tw__m{border-radius:14px;border:1px solid #33333b;max-height:480px}
.tw__q{border:1px solid #3f3f46;border-left:3px solid #71717a;border-radius:12px;background:rgba(9,9,11,.55);padding:.6rem .75rem;transition:background .2s}
.tw--grok .tw__q{border-left-color:#a855f7}
.tw__q:hover{background:rgba(9,9,11,.85)}
.tw__time{font-size:.72rem;color:#a1a1aa;gap:.3rem;font-variant-numeric:tabular-nums}
.tw__time::before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor;opacity:.6}
.tw--grok .tw__time{color:#c4b5fd}
.tw__x{border-radius:50%;opacity:.8}.tw__x:hover{opacity:1}
/* expander pill */
.thread-more{display:flex;align-items:center;justify-content:center;gap:.45rem;width:auto;margin:.5rem auto;padding:.5rem 1.1rem;border:1px solid rgba(192,132,252,.45);border-radius:999px;background:rgba(126,34,206,.18);color:#e9d5ff;font-size:.86rem;font-weight:700;position:relative;z-index:1}
.thread-more:hover,.thread-more:focus-visible{background:rgba(126,34,206,.32)}
.thread-more__n{background:#7e22ce;color:#fff;border-radius:999px;padding:.05rem .5rem;font-size:.75rem}
/* vote bar */
.vote{gap:6px;padding:0 .75rem;height:auto;margin-top:.7rem}
.vote button{min-height:48px;border-radius:14px;transition:filter .15s,transform .1s}
.vote .v-grok{background:linear-gradient(135deg,#7e22ce,#6b21a8)}
.vote .v-human{background:linear-gradient(135deg,#be123c,#9f1239)}
.vote button:hover{filter:brightness(1.12)}.vote button:active{transform:scale(.98)}
.vote__pct{margin:.5rem .75rem 0;border-radius:999px;overflow:hidden}
.act:hover{background:#232228}
.xlink:hover{color:#e4e4e7}
:focus-visible{outline:2px solid #c084fc;outline-offset:2px}
@media (max-width:420px){.ex{padding-left:.6rem;padding-right:.6rem}.tw{max-width:94%}.tw--human{margin-left:18px}.ex::before{left:.85rem}.tw--human::after{left:-17px}}
@media (prefers-reduced-motion:reduce){.tw,.vote button,.post{transition:none}.tw:hover{transform:none}}
/* print: no sticky chrome, keep each vote bar with its card */
@media print{
  .sticky,.mock-banner,.toast,#sheet,.more-wrap{position:static!important;display:none!important}
  body{background:#fff;color:#000}
  .feed{display:block}
  .post{display:block;overflow:visible;box-shadow:none;margin:0 0 1rem;break-inside:auto}
  .vote,.vote__pct,.acts,.post__top,.post__title{break-inside:avoid}
  .post__title{break-after:avoid}
  .tw{break-inside:avoid;transform:none!important}
  .vote{display:flex}
}

/* ===== v2 header: tabs, topic chips, user pill ===== */
.top{gap:.5rem;flex-wrap:nowrap}
.top__logo{flex:0 1 auto;min-width:0}
.top__auth{display:flex;align-items:center;gap:.4rem;flex:0 0 auto}
.me{gap:.45rem;min-height:44px;padding:.25rem .6rem .25rem .25rem;background:linear-gradient(135deg,#1c1427,#121016);border:1px solid rgba(192,132,252,.45);box-shadow:0 0 14px -4px rgba(168,85,247,.55);color:#fff;max-width:46vw;transition:border-color .2s,box-shadow .2s}
.me:hover{border-color:#c084fc;box-shadow:0 0 18px -2px rgba(168,85,247,.7)}
.me img{width:32px;height:32px;flex:0 0 32px;box-shadow:0 0 0 2px #121016,0 0 0 3.5px #a855f7}
.me__h{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.82rem}
.me__x{display:inline-grid;place-items:center;width:22px;height:22px;flex:0 0 22px;border-radius:50%;background:#000;border:1px solid #3f3f46}
.me__x svg{width:11px;height:11px}
.queue{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;min-width:44px;min-height:44px;padding:0 .7rem;border-radius:999px;background:rgba(250,204,21,.1);border:1px solid rgba(250,204,21,.4);color:#fde68a;font-size:.8rem;font-weight:700;text-decoration:none}
.queue:hover{background:rgba(250,204,21,.2)}
@media (max-width:480px){.queue{padding:0;width:44px}.queue__l{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.me{max-width:42vw}}
@media (max-width:360px){.me__x{display:none}.top__name{font-size:.92rem}}
/* tabs: segmented with glowing underline */
.tabs{gap:.25rem;padding:.35rem .5rem 0}
.tab{position:relative;border-bottom:0;border-radius:12px 12px 0 0;color:#a1a1aa;transition:color .2s,background .2s}
.tab:hover{color:#e4e4e7;background:#141318}
.tab::after{content:"";position:absolute;left:22%;right:22%;bottom:0;height:3px;border-radius:3px 3px 0 0;background:transparent;transition:background .2s,left .2s,right .2s}
.tab.is-on{color:#fff;background:linear-gradient(180deg,rgba(168,85,247,0),rgba(168,85,247,.14));border-bottom:0}
.tab.is-on::after{left:12%;right:12%;background:linear-gradient(90deg,#a855f7,#22d3ee);box-shadow:0 0 10px rgba(168,85,247,.8)}
/* topic chips: per-topic hue via --h */
.chips{gap:.4rem;padding:.6rem 1rem .7rem;scroll-padding:1rem;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 12px,#000 calc(100% - 24px),transparent)}
.chip{display:inline-flex;align-items:center;gap:.35rem;padding:.3rem .85rem .3rem .55rem;background:hsl(var(--h) 40% 12%);border:1px solid hsl(var(--h) 55% 30%);color:hsl(var(--h) 80% 88%);transition:background .2s,border-color .2s,box-shadow .2s,transform .1s}
.chip__e{font-size:1rem;line-height:1}
.chip:hover{background:hsl(var(--h) 45% 17%);border-color:hsl(var(--h) 65% 45%)}
.chip:active{transform:scale(.96)}
.chip.is-on{background:linear-gradient(135deg,hsl(var(--h) 75% 45%),hsl(calc(var(--h) + 40) 75% 38%));border-color:hsl(var(--h) 90% 75%);color:#fff;box-shadow:0 0 0 1px hsl(var(--h) 90% 70% / .3),0 0 16px -2px hsl(var(--h) 85% 55% / .7)}
.chip[data-topic="All"]{--h:270}
.chip[data-topic="All"].is-on{background:linear-gradient(135deg,#9333ea,#0891b2)}
@media (min-width:700px){.chips{-webkit-mask-image:none}}
@media (prefers-reduced-motion:reduce){.chip,.tab,.me{transition:none}}
.top__g{flex:0 0 auto}@media (max-width:360px){.top__g{width:30px;height:30px}.top__name{font-size:.88rem}}
.top__name{min-width:0;overflow:hidden;text-overflow:ellipsis}@media (max-width:420px){.me__x{display:none}.me{padding-right:.75rem}.top__auth{gap:.3rem}}
/* Grok Wins / Human Wins tabs + sideways scrolling tab row */
.tabs{scroll-snap-type:x proximity;scroll-padding:0 1rem;-webkit-overflow-scrolling:touch}
.tab{flex:0 0 auto;scroll-snap-align:start;white-space:nowrap}
@media (max-width:699px){.tabs{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent)}.tabs::after{content:"";flex:0 0 1rem}}
.tab--grok.is-on::after{background:linear-gradient(90deg,#a855f7,#c084fc);box-shadow:0 0 10px rgba(168,85,247,.9)}
.tab--human.is-on{background:linear-gradient(180deg,rgba(251,113,133,0),rgba(251,113,133,.12))}
.tab--human.is-on::after{background:linear-gradient(90deg,#e11d48,#fb7185);box-shadow:0 0 10px rgba(251,113,133,.8)}
/* ===== Suggest a thread + paid Featured ===== */
/* Suggest: header button on wide screens (>=720px), slim fixed bottom bar on phones; nothing floats over posts */
.sg-btn{display:none;align-items:center;gap:.3rem;min-height:44px;padding:0 .9rem;border:0;border-radius:999px;background:linear-gradient(135deg,#9333ea,#6d28d9);color:#fff;font-weight:800;font-size:.85rem;cursor:pointer;white-space:nowrap}
.sg-btn:hover{filter:brightness(1.12)}.sg-btn:focus-visible,.sgbar__b:focus-visible{outline:2px solid #c084fc;outline-offset:2px}
.sgbar{position:fixed;left:0;right:0;bottom:0;z-index:30;padding:.4rem max(.75rem,env(safe-area-inset-right)) calc(.4rem + env(safe-area-inset-bottom)) max(.75rem,env(safe-area-inset-left));background:rgba(9,9,11,.94);border-top:1px solid #27272a;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);transition:transform .22s}
.sgbar.is-hidden{transform:translateY(110%)}
.sgbar__b{display:flex;align-items:center;justify-content:center;gap:.4rem;width:100%;max-width:520px;margin:0 auto;min-height:44px;border:0;border-radius:999px;background:linear-gradient(135deg,#9333ea,#6d28d9);color:#fff;font-weight:800;font-size:.92rem;cursor:pointer}
.foot{padding-bottom:calc(4.5rem + env(safe-area-inset-bottom))}
@media (min-width:720px){.sg-btn{display:inline-flex}.sgbar{display:none}.foot{padding-bottom:1.5rem}}
@media (prefers-reduced-motion:reduce){.sgbar{transition:none}}
.hint{display:block;font-weight:500;font-size:.78rem;line-height:1.4;color:#c4b5fd}
.post--promo{border-color:rgba(250,204,21,.55);box-shadow:0 0 0 1px rgba(250,204,21,.25),0 10px 30px -10px rgba(250,204,21,.35)}
.promo{display:flex;align-items:center;gap:.4rem;padding:.45rem 1rem;background:linear-gradient(90deg,rgba(250,204,21,.18),rgba(168,85,247,.12));border-bottom:1px solid rgba(250,204,21,.3);color:#fde68a;font-size:.78rem;font-weight:800;letter-spacing:.02em}
.promo__paid{margin-left:auto;font-weight:700;font-size:.68rem;color:#fef3c7;background:rgba(0,0,0,.35);border:1px solid rgba(250,204,21,.4);padding:.1rem .5rem;border-radius:999px;text-transform:uppercase;letter-spacing:.05em}
.act--feat{color:#fcd34d}
.sx__body{padding:1rem;overflow-y:auto}
.sx__form{display:flex;flex-direction:column;gap:.85rem}
.sx__t{margin:0;font-weight:700;color:#fff}
.fld{display:flex;flex-direction:column;gap:.35rem;border:0;padding:0;margin:0;font-size:.85rem;color:#d4d4d8;font-weight:600}
.fld em{font-style:normal;color:#a1a1aa;font-weight:500}.fld legend{padding:0;margin-bottom:.4rem}
.fld input,.fld textarea{font-family:inherit;font-size:16px;line-height:1.35;background:#09090b;color:#fff;border:1px solid #3f3f46;border-radius:.8rem;padding:.65rem .75rem;min-height:44px;width:100%}
.fld input:focus,.fld textarea:focus{border-color:#a855f7;outline:none;box-shadow:0 0 0 3px rgba(168,85,247,.25)}
.tiers{display:grid;grid-template-columns:repeat(auto-fit,minmax(88px,1fr));gap:.45rem}
.tier{position:relative;cursor:pointer}
.tier input{position:absolute;opacity:0;inset:0}
.tier span{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:58px;border:1px solid #3f3f46;border-radius:.9rem;background:#141318;padding:.4rem;text-align:center;transition:all .15s}
.tier b{color:#fff;font-size:1rem}.tier small{color:#a1a1aa;font-size:.72rem;font-weight:600}
.tier input:checked+span{border-color:#facc15;background:linear-gradient(135deg,rgba(250,204,21,.16),rgba(168,85,247,.16));box-shadow:0 0 14px -4px rgba(250,204,21,.6)}
.tier input:focus-visible+span{outline:2px solid #c084fc;outline-offset:2px}
.pill-btn{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-height:48px;border:0;border-radius:999px;background:linear-gradient(135deg,#9333ea,#6d28d9);color:#fff;font-weight:800;font-size:.95rem;text-decoration:none;padding:0 1.2rem;width:100%}
.pill-btn:disabled{opacity:.6}
.pill-btn--kofi{background:linear-gradient(135deg,#ff5e5b,#f43f5e)}
.fine{margin:0;font-size:.75rem;color:#a1a1aa;line-height:1.45}
.done{margin:0 0 .8rem;font-weight:700;color:#86efac}
.pay{display:flex;flex-direction:column;gap:.75rem}.pay__lead{margin:0}
.pay__code{min-height:52px;border:1px dashed #facc15;border-radius:.9rem;background:#141318;color:#fde68a;font:800 1.35rem/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.08em}
.pay__soon{margin:0;font-size:.85rem;color:#fcd34d}
@media print{.sgbar,.sg-btn{display:none!important}}
.queue{position:relative}.queue__n{position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;padding:0 4px;border-radius:999px;background:#f43f5e;color:#fff;font-size:.65rem;font-weight:800;display:grid;place-items:center;box-shadow:0 0 0 2px #09090b}.queue__n[hidden]{display:none}
/* ---- translate ---- */
.trx{display:flex;flex-wrap:wrap;align-items:center;gap:.15rem .3rem;font-size:.76rem;color:#a1a1aa;margin:-.1rem 0 .1rem}
.trx__b{background:none;border:0;padding:.35rem 0;min-height:32px;color:#4cb4f5;font:inherit;font-weight:700;cursor:pointer}
.trx__b:hover{text-decoration:underline}.trx__b:focus-visible{outline:2px solid #a855f7;outline-offset:2px;border-radius:4px}
.tw--grok .trx{justify-content:flex-start}.cmt .trx{margin:-.2rem 0 .15rem}.cmt .trx__b{min-height:28px;padding:.2rem 0}
.lang-btn{display:inline-flex;align-items:center;gap:.25rem;background:#000;border:1px solid #3f3f46;border-radius:999px;color:#e4e4e7;font-weight:700;font-size:.78rem;min-height:44px;min-width:44px;justify-content:center;padding:0 .6rem}
.lang-btn:hover{border-color:#a855f7}
.lang-sel{font-family:inherit;font-size:16px;background:#09090b;color:#fff;border:1px solid #3f3f46;border-radius:.8rem;padding:.65rem .75rem;min-height:44px;width:100%}
.tgl{display:flex;gap:.7rem;align-items:flex-start;border:1px solid #3f3f46;border-radius:.8rem;padding:.7rem .8rem;cursor:pointer}
.tgl input{width:20px;height:20px;margin:.1rem 0 0;accent-color:#a855f7;flex:0 0 auto}.tgl span{display:flex;flex-direction:column;gap:.15rem;font-size:.88rem}
.tgl small{color:#a1a1aa;font-size:.78rem}
@media (max-width:420px){.lang-btn__c{display:none}.lang-btn{padding:0;width:44px}}
/* account sheet: sign out / delete my account */
.acct__body{padding:1rem;display:flex;flex-direction:column;gap:.75rem;overflow:auto}
.acct__btn{border:1px solid #3f3f46;background:#27272a;color:#fafafa;border-radius:.7rem;padding:.7rem 1rem;font-weight:600;font-size:.95rem;cursor:pointer}
.acct__btn--danger{background:#7f1d1d;border-color:#b91c1c;color:#fff}
.acct__btn:disabled{opacity:.45;cursor:not-allowed}
.acct__f{display:flex;flex-direction:column;gap:.6rem;font-size:.92rem;line-height:1.45;color:#d4d4d8}
.acct__f input{background:#09090b;border:1px solid #52525b;border-radius:.6rem;padding:.65rem .75rem;color:#fafafa;font-size:1rem}
.acct__row{display:flex;gap:.6rem;justify-content:flex-end;flex-wrap:wrap}
.acct__err{color:#fca5a5;margin:0}
.acct__done{margin:0;color:#d4d4d8}
.cmt--deleted .cmt__body,.cmt--deleted .cmt__head{color:#71717a}

/* video / GIF: poster + fallback link to X */
.tw__vid{margin:.4rem 0;position:relative}.tw__vid .tw__m{margin:0}
.tw__vx{display:inline-flex;align-items:center;gap:.35rem;margin-top:.3rem;font-size:.74rem;color:#a1a1aa;text-decoration:none;min-height:28px}
.tw__vx:hover{color:#e4e4e7;text-decoration:underline}
.tw__vx.is-on{color:#4cb4f5;font-weight:700;font-size:.82rem}
/* Backdrop: fixed layer behind everything + dark overlay (v1 used rgba(10,10,31,.65); a bit darker here for card/text contrast) */
.bg{position:fixed;inset:0;z-index:-1;pointer-events:none;background:#09090b;overflow:hidden}
.bg__img{position:absolute;inset:0;background:center 35%/cover no-repeat;opacity:0;transition:opacity 2s ease}
.bg__img.is-on{opacity:1}
.bg__shade{position:absolute;inset:0;background:rgba(10,10,31,.74)}
@media (prefers-reduced-motion: reduce){.bg__img{transition:none}}

/* ===== Projects ===== */
a.tab{text-decoration:none;display:inline-flex;align-items:center}
.tab--proj{color:#c4b5fd}
.chip--submit{border-style:dashed!important;font-weight:800}
.pj-head{padding:.2rem .2rem .4rem}.pj-head h2{margin:.2rem 0 .3rem;font-size:1.15rem;color:#fff}.pj-head>p{margin:.25rem 0;color:#d4d4d8;font-size:.9rem;line-height:1.45}
.pj-disc{background:#1c1917;border:1px solid #78350f;border-radius:.8rem;padding:.55rem .75rem;font-size:.8rem!important;color:#fde68a!important}
.pj-kofi{display:flex;align-items:center;justify-content:space-between;gap:.6rem;margin:.6rem 0 .2rem;padding:.5rem .55rem .5rem .8rem;border:1px solid #3f3f46;border-radius:999px;background:#141318;font-size:.82rem;color:#d4d4d8}
.pj-kofi__b{flex:0 0 auto;display:inline-flex;align-items:center;min-height:40px;padding:0 1rem;border-radius:999px;background:linear-gradient(135deg,#ff5e5b,#f43f5e);color:#fff;font-weight:800;text-decoration:none}
.pj{display:flex;flex-direction:column}
.pj__img{display:block;position:relative;aspect-ratio:16/9;background:linear-gradient(135deg,#1e1b4b,#3b0764);overflow:hidden}
.pj__img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.pj__ph{position:absolute;inset:0;display:grid;place-items:center;font-size:2.4rem;opacity:.5}
.pj__img img+.pj__ph{display:none}
.pj__body{padding-bottom:.2rem}.pj__name a{color:#fff;text-decoration:none}.pj__name a:hover{text-decoration:underline}
.pj__by{margin:.15rem 1rem .4rem;font-size:.8rem;color:#a1a1aa}.pj__by a{color:#c4b5fd;text-decoration:none}.pj__host{color:#71717a}
.pj__txt{margin:0 1rem .45rem}.pj__txt p{margin:0;color:#e4e4e7;font-size:.93rem;line-height:1.5;white-space:pre-wrap;word-break:break-word}
.pj__lbl{margin:.5rem 0 .15rem;font-size:.74rem;text-transform:uppercase;letter-spacing:.05em;color:#a78bfa}
.pj__links{display:flex;flex-wrap:wrap;gap:.45rem;margin:.6rem 1rem .2rem}
.pj__go,.pj__don{display:inline-flex;align-items:center;gap:.35rem;min-height:44px;padding:0 1rem;border-radius:999px;font-weight:800;font-size:.88rem;text-decoration:none}
.pj__go{background:linear-gradient(135deg,#9333ea,#6d28d9);color:#fff}.pj__don{background:#1f1424;border:1px solid #be185d;color:#fbcfe8}.pj__don small{font-weight:600;color:#f9a8d4;font-size:.7rem}
.pj__vote{display:inline-flex;align-items:center;gap:.1rem;border:1px solid #2a2830;border-radius:999px;padding:0 .15rem}.pj__sc{min-width:1.6rem;text-align:center;color:#fff;font-variant-numeric:tabular-nums}
.pj-err{margin:0;color:#fca5a5;font-size:.85rem}
.fld .cnt{float:right;font-weight:500;color:#71717a}
@media (min-width:720px){.pj__links{margin-top:.7rem}}
.about__title{font-size:1.3rem;margin:.6rem 0 .4rem;color:#fff}.about__links a{font-weight:600}
/* Phone header (<=480px; iPad/desktop unchanged): the full "Grok vs. Humans" title always fits, controls go icon-only. */
@media (max-width:480px){
  .top{gap:.4rem;padding-left:.7rem;padding-right:.7rem}
  .top__logo{flex:0 0 auto;gap:.45rem}
  .top__name{overflow:visible;text-overflow:clip;font-size:1.02rem}
  .top__auth{gap:.3rem;flex:0 1 auto;min-width:0}
  .top__auth .lang-btn,.top__auth .sg-btn,.top__auth .btn-x--top,.top__auth .queue{width:40px;min-width:40px;height:40px;min-height:40px;padding:0;justify-content:center;flex:0 0 40px}
  .top__auth .lang-btn{font-size:.95rem}
  .sg-btn__l,.btn-x__l{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .btn-x--top svg{width:16px;height:16px}
  .top__auth .me{padding:3px;min-height:40px;max-width:none;gap:0}
  .top__auth .me__h,.top__auth .me__x{display:none}
}
@media (max-width:374px){
  .top{gap:.3rem;padding-left:.55rem;padding-right:.55rem}
  .top__g{width:28px;height:28px}
  .top__name{font-size:.95rem}
  .top__auth{gap:.25rem}
  .top__auth .lang-btn,.top__auth .sg-btn,.top__auth .btn-x--top,.top__auth .queue{width:36px;min-width:36px;height:36px;min-height:36px;flex-basis:36px}
  .top__auth .me img{width:28px;height:28px;flex-basis:28px}
}
/* Seen chip: solid, readable outline everywhere; compact on phones where it sits right after "All". */
.seenchip{border:1px solid rgba(192,132,252,.45);color:#d4d4d8;background:rgba(24,24,27,.85)}
@media (max-width:699px){.seenchip{min-height:36px;padding:0 .2rem 0 .55rem;gap:.2rem;font-size:.72rem}.seenchip__w{display:none}.seenchip__r{min-width:36px;min-height:36px;padding:0 .35rem}}
