:root {
  --bg: #140d1c; --panel: #1f1530; --panel2: #291c3d; --line: #3a2a52; --text: #f4eefb; --dim: #a99bbf;
  --hot: #ff4d8d; --warm: #ffb347; --cool: #6c8cff; --ok: #4ade80; --bad: #ff6b6b;
  --grad: linear-gradient(120deg, var(--hot), var(--warm));
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: radial-gradient(1200px 600px at 80% -10%, #3a1d4d 0%, transparent 60%), var(--bg); background-attachment: fixed; color: var(--text);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: 1.7rem; } h2 { font-size: 1.25rem; }
.dim { color: var(--dim); } .small { font-size: .875rem; }

.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 18px; padding: 10px max(16px, env(safe-area-inset-left)); background: rgba(20, 13, 28, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
#nav { display: flex; gap: 4px; }
#nav a { padding: 6px 12px; border-radius: 999px; color: var(--dim); font-weight: 600; }
#nav a.on, #nav a:hover { color: var(--text); background: var(--panel2); }
.right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
#who { display: flex; align-items: center; gap: 8px; }
#who a { color: var(--dim); font-weight: 600; } #who a:hover { color: var(--text); }
main { flex: 1; width: 100%; max-width: 1040px; margin: 0 auto; padding: 22px 16px 60px; }
.foot { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; padding: 18px 16px 26px; color: var(--dim); font-size: .85rem; border-top: 1px solid var(--line); }
.foot a { text-decoration: underline; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel2); font-weight: 700; cursor: pointer; white-space: nowrap; }
.btn:hover { border-color: #5a4380; } .btn:disabled { opacity: .5; cursor: default; }
.btn.hot { background: var(--grad); border: 0; color: #1a0b12; }
.btn.plain { background: none; } .btn.sm { padding: 5px 12px; font-size: .875rem; }
.link { background: none; border: 0; padding: 0; color: var(--dim); cursor: pointer; font-size: .875rem; } .link:hover { color: var(--text); text-decoration: underline; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 14px; }
.tabs button { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--dim); font-weight: 600; cursor: pointer; }
.tabs button.on { background: var(--panel2); color: var(--text); border-color: #5a4380; }
label.f { display: block; margin: 0 0 12px; font-weight: 600; font-size: .9rem; }
label.f span.dim { font-weight: 400; }
input[type=text], input[type=password], input[type=email], textarea, select { display: block; width: 100%; margin-top: 5px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: #150e20; }
textarea { min-height: 110px; resize: vertical; }
input:focus, textarea:focus, select:focus, button:focus-visible, a:focus-visible { outline: 2px solid var(--hot); outline-offset: 2px; }
.err { color: var(--bad); margin: 8px 0 0; min-height: 1.3em; font-size: .9rem; }

/* rate */
.stage { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 26px; align-items: center; }
.player { position: relative; border-radius: 22px; overflow: hidden; background: #000; border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(255, 77, 141, .18); aspect-ratio: 9 / 16; max-height: 74vh; margin: 0 auto; width: 100%; }
.player.wide { aspect-ratio: 16 / 9; }
.player video { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
.player .tag { position: absolute; left: 12px; bottom: 12px; right: 12px; text-shadow: 0 1px 6px #000; pointer-events: none; }
.player .tag b { display: block; font-size: 1.05rem; }
.tagbar { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 16px; }
.tagbar button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 8px 2px 7px; border-radius: 14px; border: 2px solid var(--line); background: var(--panel); cursor: pointer; }
.tagbar button .bop { width: 46px; height: 46px; max-width: 100%; transition: transform .15s; }
.tagbar button small { font-weight: 800; font-size: .95rem; }
.tagbar button .n { font-size: .68rem; color: var(--dim); text-transform: uppercase; letter-spacing: .04em; }
.tagbar button:hover:not(:disabled) { border-color: var(--hot); } .tagbar button:hover:not(:disabled) .bop { transform: scale(1.18) translateY(-2px); }
.tagbar button.on { border-color: var(--hot); background: var(--panel2); } .tagbar button.on .bop { animation: bop-pop .5s ease-out; }
.tagbar button:disabled { cursor: default; } .tagbar button:disabled:not(.on) { opacity: .55; } .tagbar button:disabled:not(.on) .bop * { animation-play-state: paused; }
.tagbar .plus { position: absolute; top: 2px; right: 6px; font-weight: 800; color: var(--warm); pointer-events: none; animation: bop-plus .9s ease-out forwards; }
.tagn { display: inline-flex; align-items: center; gap: 3px; margin-right: 9px; font-weight: 700; white-space: nowrap; }
/* the Bops (public/bops.js), six small dancers: .b the whole dancer, .al/.ar arms, .ll/.lr legs, .fx the bits around it,
   .pu pupils. Each has a pose (always) and a dance move (only where it is "live"). Origins are in the drawing's own units. */
.bop { width: 1.35em; height: 1.35em; vertical-align: -.32em; overflow: visible; flex: none; }
.bop .b { transform-origin: 32px 58px; } .bop .al { transform-origin: 17px 32px; } .bop .ar { transform-origin: 47px 32px; } .bop .ll { transform-origin: 27px 43px; } .bop .lr { transform-origin: 37px 43px; }
.bop .fx, .bop .pu { transform-box: fill-box; transform-origin: 50% 50%; }
.bop-cute .al { transform: rotate(100deg); } .bop-cute .ar { transform: rotate(-100deg); }
.bop-funny .al { transform: rotate(-30deg); } .bop-funny .ar { transform: rotate(-65deg); }
.bop-sad .al { transform: rotate(-34deg); } .bop-sad .ar { transform: rotate(34deg); }
.bop-omg .al { transform: rotate(125deg); } .bop-omg .ar { transform: rotate(-125deg); } .bop-omg .ll { transform: rotate(16deg); } .bop-omg .lr { transform: rotate(-16deg); }
.bop-wtf .al { transform: rotate(55deg); } .bop-wtf .ar { transform: rotate(-55deg); }
.bop-tasty .al { transform: rotate(-36deg); } .bop-tasty .ar { transform: rotate(-110deg); }
.bop.live .ll { animation: bop-step-l .8s ease-in-out infinite; } .bop.live .lr { animation: bop-step-r .8s ease-in-out infinite; }
.bop-cute.live .b { animation: bop-sway .8s ease-in-out infinite alternate; }
.bop-cute.live .al { animation: bop-cute-l .8s ease-in-out infinite alternate; } .bop-cute.live .ar { animation: bop-cute-r .8s ease-in-out infinite alternate; }
.bop-cute.live .fx { animation: bop-float 2s ease-out infinite; } .bop-cute.live .f2 { animation-delay: 1s; }
.bop-funny.live .b { animation: bop-giggle .3s ease-in-out infinite alternate; } .bop-funny.live .ll, .bop-funny.live .lr { animation-duration: .6s; }
.bop-funny.live .al { animation: bop-floss-l .6s ease-in-out infinite alternate; } .bop-funny.live .ar { animation: bop-floss-r .6s ease-in-out infinite alternate; }
.bop-funny.live .f1 { animation: bop-fly-l .7s ease-out infinite; } .bop-funny.live .f2 { animation: bop-fly-r .7s ease-out .35s infinite; }
.bop-sad.live .b { animation: bop-slow 2.6s ease-in-out infinite alternate; } .bop-sad.live .ll, .bop-sad.live .lr { animation-duration: 2.6s; }
.bop-sad.live .f1 { animation: bop-tear 2s ease-in infinite; } .bop-sad.live .f2 { animation: bop-float 3s ease-out infinite; }
.bop-omg.live .b { animation: bop-jump 1.4s ease-in-out infinite; } .bop-omg.live .pu { animation: bop-pupil 1.4s ease-in-out infinite; } .bop-omg.live .fx { animation: bop-flash 1.4s linear infinite; }
.bop-omg.live .al { animation: bop-star-al 1.4s ease-in-out infinite; } .bop-omg.live .ar { animation: bop-star-ar 1.4s ease-in-out infinite; }
.bop-omg.live .ll { animation: bop-star-ll 1.4s ease-in-out infinite; } .bop-omg.live .lr { animation: bop-star-lr 1.4s ease-in-out infinite; }
.bop-wtf.live .b { animation: bop-tilt 1.8s ease-in-out infinite alternate; } .bop-wtf.live .fx { animation: bop-ask .9s ease-in-out infinite alternate; }
.bop-wtf.live .al { animation: bop-shrug-l .9s ease-in-out infinite alternate; } .bop-wtf.live .ar { animation: bop-shrug-r .9s ease-in-out infinite alternate; }
.bop-tasty.live .b { animation: bop-yum .4s ease-in-out infinite alternate; } .bop-tasty.live .tg { transform-origin: 30% 0; animation: bop-lick .45s ease-in-out infinite alternate; }
.bop-tasty.live .ar { animation: bop-wave .4s ease-in-out infinite alternate; } .bop-tasty.live .al { animation: bop-rub .4s ease-in-out infinite alternate; }
.bop-tasty.live .f1, .bop-tasty.live .f2 { animation: bop-twinkle 1.6s ease-in-out infinite; } .bop-tasty.live .f2 { animation-delay: .8s; }
@keyframes bop-step-l { 0%, 50%, 100% { transform: rotate(0); } 25% { transform: rotate(16deg) translateY(-1.5px); } }
@keyframes bop-step-r { 0%, 50%, 100% { transform: rotate(0); } 75% { transform: rotate(-16deg) translateY(-1.5px); } }
@keyframes bop-sway { from { transform: rotate(-7deg); } to { transform: rotate(7deg); } }
@keyframes bop-cute-l { from { transform: rotate(118deg); } to { transform: rotate(88deg); } }
@keyframes bop-cute-r { from { transform: rotate(-88deg); } to { transform: rotate(-118deg); } }
@keyframes bop-float { 0% { transform: translateY(5px) scale(.3); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-9px) scale(1.15); opacity: 0; } }
@keyframes bop-giggle { from { transform: translate(-1.5px, 0) rotate(-3deg); } to { transform: translate(1.5px, -2px) rotate(3deg); } }
@keyframes bop-floss-l { from { transform: rotate(-30deg); } to { transform: rotate(65deg); } }
@keyframes bop-floss-r { from { transform: rotate(-65deg); } to { transform: rotate(30deg); } }
@keyframes bop-fly-l { 0% { transform: translate(5px, -3px) scale(.4); opacity: 0; } 30% { opacity: 1; } 100% { transform: translate(-5px, 5px) scale(1); opacity: 0; } }
@keyframes bop-fly-r { 0% { transform: translate(-5px, -3px) scale(.4); opacity: 0; } 30% { opacity: 1; } 100% { transform: translate(5px, 5px) scale(1); opacity: 0; } }
@keyframes bop-slow { from { transform: rotate(-5deg) scale(1.02, .97); } to { transform: rotate(5deg) scale(1.02, .97); } }
@keyframes bop-tear { 0% { transform: translateY(-3px) scale(.4); opacity: 0; } 25% { transform: translateY(0) scale(1); opacity: 1; } 100% { transform: translateY(11px) scale(1); opacity: 0; } }
@keyframes bop-jump { 0%, 40%, 100% { transform: none; } 50% { transform: scale(1.08, .9); } 68% { transform: translateY(-7px) scale(.95, 1.07); } 86% { transform: scale(1.06, .94); } }
@keyframes bop-star-al { 0%, 40%, 100% { transform: rotate(20deg); } 60%, 80% { transform: rotate(125deg); } }
@keyframes bop-star-ar { 0%, 40%, 100% { transform: rotate(-20deg); } 60%, 80% { transform: rotate(-125deg); } }
@keyframes bop-star-ll { 0%, 45%, 95%, 100% { transform: rotate(0); } 62%, 80% { transform: rotate(24deg); } }
@keyframes bop-star-lr { 0%, 45%, 95%, 100% { transform: rotate(0); } 62%, 80% { transform: rotate(-24deg); } }
@keyframes bop-pupil { 0%, 45%, 100% { transform: scale(1); } 60%, 85% { transform: scale(.5); } }
@keyframes bop-flash { 0%, 50%, 92%, 100% { opacity: 0; } 60%, 84% { opacity: 1; } }
@keyframes bop-tilt { from { transform: rotate(-8deg); } to { transform: rotate(4deg); } }
@keyframes bop-ask { from { transform: scale(.7) rotate(-14deg); opacity: .5; } to { transform: scale(1.15) rotate(12deg); opacity: 1; } }
@keyframes bop-shrug-l { from { transform: rotate(30deg); } to { transform: rotate(62deg) translateY(-2px); } }
@keyframes bop-shrug-r { from { transform: rotate(-30deg); } to { transform: rotate(-62deg) translateY(-2px); } }
@keyframes bop-yum { from { transform: translateX(-1.5px) rotate(-4deg); } to { transform: translateX(1.5px) rotate(4deg); } }
@keyframes bop-wave { from { transform: rotate(-95deg); } to { transform: rotate(-130deg); } }
@keyframes bop-rub { from { transform: rotate(-30deg); } to { transform: rotate(-44deg); } }
@keyframes bop-lick { from { transform: rotate(-16deg); } to { transform: rotate(14deg); } }
@keyframes bop-twinkle { 0%, 100% { transform: scale(.2) rotate(0deg); opacity: .2; } 50% { transform: scale(1.1) rotate(45deg); opacity: 1; } }
@keyframes bop-pop { 0% { transform: scale(1); } 40% { transform: scale(1.4) rotate(-8deg); } 70% { transform: scale(.92) rotate(4deg); } 100% { transform: scale(1); } }
@keyframes bop-plus { from { transform: translateY(6px); opacity: 1; } to { transform: translateY(-22px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .bop *, .tagbar .bop, .tagbar .plus, .feedbox .player { animation: none !important; } }
/* the front page: only the top bar, one upright video filling the height, and the six reactions under it */
body.onfeed { height: 100vh; height: 100dvh; overflow: hidden; overscroll-behavior: none; } body.onfeed .foot { display: none; }
body.onfeed main { max-width: none; padding: 0; min-height: 0; display: flex; }
.feed { flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; align-items: center; padding: 8px 8px max(6px, env(safe-area-inset-bottom)); }
.feedbox { flex: 1; min-height: 0; position: relative; aspect-ratio: 9 / 16; max-width: 100%; touch-action: none; }
.feedbox .player { position: absolute; inset: 0; max-height: none; aspect-ratio: auto; border-radius: 18px; cursor: pointer; }
.feedbox .player.up { animation: feed-up .28s ease-out; } .feedbox .player.down { animation: feed-down .28s ease-out; }
.feedbox .player video { object-fit: cover; } .feedbox .player.wide video { object-fit: contain; }
.feedbox .tag { padding: 40px 12px 12px; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); }
.feedbox .tag a { pointer-events: auto; text-decoration: underline; }
.feedbox .sound { position: absolute; top: 10px; right: 10px; border: 0; border-radius: 999px; padding: 6px 12px; background: rgba(0, 0, 0, .55); font-weight: 700; font-size: .8rem; cursor: pointer; }
.feedbox .paused { position: absolute; inset: 0; display: grid; place-items: center; font-size: 3.4rem; pointer-events: none; text-shadow: 0 2px 12px #000; }
.feednav { position: absolute; left: calc(100% + 14px); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; }
.feednav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel2); cursor: pointer; font-size: 1.1rem; }
.feednav button:hover { border-color: var(--hot); }
.feed .tagwrap { width: min(100%, 440px); flex: none; text-align: center; }
.feed .tagbar { margin-top: 8px; gap: 6px; } .feed .tagbar button { padding: 4px 2px 5px; } .feed .tagbar button .bop { width: 42px; height: 42px; }
@keyframes feed-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes feed-down { from { transform: translateY(-40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 700px) { .feednav { display: none; } }
@media (max-height: 640px) { .feed .tagbar button .n { display: none; } }
.meter { height: 10px; border-radius: 999px; background: #33405f; overflow: hidden; margin: 10px 0 4px; }
.meter i { display: block; height: 100%; background: var(--grad); }
.pitch h1 { font-size: 2.1rem; letter-spacing: -.02em; }
.pitch h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps { list-style: none; padding: 0; margin: 14px 0 18px; display: grid; gap: 8px; }
.steps li { display: flex; gap: 10px; align-items: baseline; }
.steps li b { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--panel2); display: inline-grid; place-items: center; font-size: .8rem; }
section.block { margin-top: 38px; }
.head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: block; position: relative; }
.card:hover { border-color: #5a4380; }
.card .pic { aspect-ratio: 3 / 4; background: #000 center / cover no-repeat; }
.card .meta { padding: 9px 11px 11px; }
.card .meta b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .place { position: absolute; top: 8px; left: 8px; background: rgba(0, 0, 0, .65); border-radius: 999px; padding: 2px 9px; font-weight: 800; font-size: .85rem; }
.pct { font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* forum */
.boards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.boards a { padding: 12px 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.boards a:hover { border-color: #5a4380; } .boards b { display: block; }
.thread { display: flex; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line); align-items: flex-start; }
.vote { flex: none; width: 46px; text-align: center; }
.vote button { display: block; width: 100%; border: 1px solid var(--line); background: var(--panel); border-radius: 10px; padding: 4px 0 2px; cursor: pointer; line-height: 1.1; }
.vote button.on { border-color: var(--hot); color: var(--hot); }
.vote button small { display: block; font-weight: 700; font-size: .85rem; }
.thread .thumb { flex: none; width: 54px; height: 72px; border-radius: 8px; background: #000 center / cover no-repeat; }
.thread h3 { font-size: 1.02rem; margin: 0 0 2px; } .thread h3 a:hover { text-decoration: underline; }
.thread p { margin: 2px 0 0; color: var(--dim); font-size: .9rem; overflow-wrap: anywhere; }
.chip { display: inline-block; padding: 0 8px; border-radius: 999px; background: var(--panel2); font-size: .78rem; color: var(--dim); }
.body { white-space: pre-wrap; overflow-wrap: anywhere; }
.reply { padding: 12px 0; border-top: 1px solid var(--line); display: flex; gap: 12px; }
.reply.child { margin-left: 34px; }
.reply .acts { display: flex; gap: 14px; margin-top: 4px; }
.post { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 22px; align-items: start; }

/* make */
.drop { border: 2px dashed #5a4380; border-radius: 20px; padding: 46px 20px; text-align: center; cursor: pointer; background: var(--panel); }
.drop.over { border-color: var(--hot); background: var(--panel2); }
.drop strong { display: block; font-size: 1.3rem; margin-bottom: 4px; }
.make { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 24px; align-items: start; }
.make video { width: 100%; border-radius: 16px; background: #000; max-height: 62vh; display: block; }
.trim { margin: 12px 0 4px; }
.trim input[type=range] { width: 100%; accent-color: var(--hot); }
.chars { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.chars button { display: flex; flex-direction: column; padding: 0; border: 2px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--panel); cursor: pointer; text-align: center; }
.chars button.on { border-color: var(--hot); box-shadow: 0 0 0 3px rgba(255, 77, 141, .25); }
.chars img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: #2a1d3e; }
.chars span { display: block; padding: 5px 4px 7px; font-size: .82rem; font-weight: 600; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; font-size: .95rem; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--hot); flex: none; }
.bar { height: 12px; border-radius: 999px; background: var(--panel2); overflow: hidden; margin: 10px 0; }
.bar i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .2s; }
.job { display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); margin-bottom: 10px; }
.job .thumb { flex: none; width: 60px; height: 80px; border-radius: 10px; background: var(--panel2) center / cover no-repeat; display: grid; place-items: center; font-size: 1.5rem; }
.state { font-weight: 700; } .state.done { color: var(--ok); } .state.bad { color: var(--bad); }

#modal { position: fixed; inset: 0; z-index: 50; background: rgba(8, 4, 14, .75); display: grid; place-items: center; padding: 16px; }
#modal[hidden], #toast[hidden] { display: none; }
#modal .panel { width: 100%; max-width: 380px; }
#toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; background: #fff; color: #1a0b12; padding: 10px 18px; border-radius: 999px; font-weight: 700; box-shadow: 0 8px 30px rgba(0, 0, 0, .5); max-width: 92vw; }
.empty { text-align: center; padding: 40px 16px; color: var(--dim); }

@media (max-width: 760px) {
  .stage, .make, .post { grid-template-columns: 1fr; }
  .pitch { order: 2; } .pitch h1 { font-size: 1.6rem; }
  .top { gap: 8px; padding: 8px 10px; } .brand span { display: none; }
  #nav a { padding: 6px 9px; } .btn.hot { padding: 8px 12px; }
  .reply.child { margin-left: 16px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.feedbox .paused[hidden] { display: none; }
.framer { position: relative; border-radius: 16px; overflow: hidden; touch-action: pan-y; } .framer.wide { cursor: ew-resize; }
.framer .shade, .framer .win { display: none; position: absolute; top: 0; bottom: 0; pointer-events: none; }
.framer.wide .shade, .framer.wide .win { display: block; } .framer .shade { background: rgba(10, 5, 16, .72); }
.framer .win { border: 2px solid var(--hot); border-radius: 6px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .5); }
.make .framer video { border-radius: 0; }
.tl { position: relative; height: 46px; margin-top: 10px; touch-action: none; cursor: pointer; user-select: none; }
.tl .rail { position: absolute; left: 0; right: 0; top: 17px; height: 12px; border-radius: 999px; background: var(--panel2); border: 1px solid var(--line); }
.tl .pick { position: absolute; top: 13px; height: 20px; min-width: 4px; border-radius: 6px; background: var(--grad); }
.tl .head { position: absolute; top: 3px; width: 4px; height: 40px; margin-left: -2px; border-radius: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .55); }
.cut { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0; } .cut .btn { padding: 14px 8px; font-size: 1.05rem; border-color: #5a4380; }
@media (max-width: 760px) { .make video { max-height: 44vh; } .make .framer { width: fit-content; max-width: 100%; margin: 0 auto; } }
.sharebar { position: absolute; right: 10px; bottom: 74px; display: flex; flex-direction: column; gap: 8px; z-index: 2; }
.sharebar button, .sharebar a { border: 0; border-radius: 999px; padding: 8px 12px; background: rgba(0, 0, 0, .55); font-weight: 700; font-size: .82rem; cursor: pointer; text-align: center; color: var(--text); }
.sharebar button:hover, .sharebar a:hover { background: var(--hot); color: #1a0b12; }
.sharebar.flat { position: static; flex-direction: row; justify-content: center; margin-top: 10px; } .sharebar.flat button, .sharebar.flat a { background: var(--panel2); border: 1px solid var(--line); }
