:root{--paper:#f6f2e9;--ink:#292e25;--muted:#656857;--line:#d9d9c9;--orange:#ed875b;--green:#d9e3ae}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;line-height:1.5}a{color:inherit}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.65}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #456537;outline-offset:4px}header,main,footer{max-width:1280px;margin:auto;padding-left:48px;padding-right:48px}header{display:flex;align-items:center;justify-content:space-between;height:114px;border-bottom:1px solid var(--line)}.brand{font-size:35px;font-weight:800;letter-spacing:-2px;display:flex;align-items:center;text-decoration:none;gap:10px}.brand-icon{font-family:Georgia,serif;background:var(--ink);color:var(--paper);width:41px;height:43px;border-radius:14px 14px 8px 8px;font-size:39px;line-height:1;text-align:center;position:relative}.brand-icon span{position:absolute;right:-9px;top:-7px;color:var(--orange);font-size:24px}.studio{font-size:9px;line-height:1.4;letter-spacing:1.5px;max-width:75px;margin-left:7px}nav{display:flex;gap:32px;font-size:13px}nav a{text-decoration:none}.hero{display:grid;grid-template-columns:1.25fr 1fr;gap:30px;align-items:center;padding:65px 0 80px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;margin:0 0 20px}.dot{display:inline-block;width:7px;height:7px;background:#688047;border-radius:50%;margin-right:8px}h1{font-family:Georgia,serif;font-size:clamp(44px,5.5vw,73px);font-weight:400;line-height:1.06;letter-spacing:-3px;margin:0 0 25px}h1 em{font-weight:400;color:#6d794e}.intro{color:var(--muted);font-size:14px;line-height:1.85;margin-bottom:29px}.button{display:inline-flex;justify-content:center;align-items:center;gap:25px;border:0;border-radius:7px;padding:14px 20px;text-decoration:none;font-weight:600;font-size:12px;min-height:44px}.dark{background:var(--ink);color:#fff}.hero-art{height:320px;position:relative;background:#e9e9dc;border-radius:50% 50% 43% 45%;transform:rotate(-5deg);overflow:hidden;isolation:isolate}.orb{position:absolute;border-radius:50%;box-shadow:inset -15px -19px 25px #0002,8px 20px 25px #3332}.orb-one{width:150px;height:150px;background:#ed936b;left:15%;top:24%;z-index:2}.orb-two{width:130px;height:130px;background:#b8c77c;right:11%;top:40%;z-index:3}.orb-three{width:68px;height:68px;background:#f3cb72;right:18%;top:10%}.orbit{position:absolute;left:12%;top:45%;width:80%;height:25%;border:2px solid #868b6d;transform:rotate(-30deg);border-radius:50%;z-index:4}.spark{font-size:65px;position:absolute;top:5%;left:8%;color:#4e6149}.art-caption{position:absolute;bottom:21px;left:24%;font-size:8px;letter-spacing:3px;transform:rotate(5deg)}.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:25px}.section-heading .eyebrow{margin-bottom:8px}h2{font-family:Georgia,serif;font-size:33px;font-weight:400;line-height:1.15;letter-spacing:-1px;margin:0}.section-heading>p{font-size:12px;color:var(--muted)}.discovery{display:flex;justify-content:space-between;gap:14px;margin-bottom:30px}.chips{display:flex;flex-wrap:wrap;gap:8px}.chip{border:1px solid var(--line);border-radius:30px;padding:10px 15px;min-height:42px;font-size:11px;background:transparent;color:var(--ink)}.chip.selected{background:var(--ink);border-color:var(--ink);color:white}#search{display:flex;align-items:center;border-bottom:1px solid #b1b5a4;max-width:230px}#search input{width:100%;background:transparent;border:0;font-size:12px;min-height:44px;padding:8px}#search button{border:0;background:transparent;font-size:24px;min-width:44px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:27px}.card{text-decoration:none;display:block;min-width:0}.card-image{position:relative;aspect-ratio:4/3;border-radius:12px;overflow:hidden;background:#e7e7d9}.card img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.card:hover img{transform:scale(1.035)}.play{position:absolute;bottom:13px;left:14px;display:grid;place-items:center;background:#fffdf2;width:35px;height:35px;border-radius:50%;font-size:12px}.duration{position:absolute;bottom:16px;right:12px;font-size:10px;background:#252a24d9;color:white;padding:2px 7px;border-radius:4px}.card .tag{font-size:9px;letter-spacing:1.4px;text-transform:uppercase;color:#566244;display:block;margin-top:17px;font-weight:700}.card h3{font-family:Georgia,serif;font-weight:400;font-size:23px;line-height:1.15;margin:7px 0}.card p{font-size:12px;color:var(--muted);margin:7px 0}.card .meta{font-size:10px}.empty{padding:45px 25px;background:#eaeade;border-radius:12px;grid-column:1/-1;text-align:center;color:var(--muted)}.feedback{margin-top:75px;background:#e8ebda;border:1px solid #dbdfca;border-radius:14px;padding:38px;display:grid;grid-template-columns:1fr 1fr;gap:60px}.feedback p{font-size:13px;color:#565e4b;max-width:390px}.feedback .fine{font-size:11px}.feedback form{display:flex;flex-direction:column;gap:8px}label{font-size:12px}textarea,select,input[type=password]{border:1px solid #bdc4ab;border-radius:6px;background:#fcfcf5;padding:10px;color:var(--ink);max-width:100%}textarea{resize:vertical}.feedback .button{align-self:start}.privacy{display:flex;gap:40px;align-items:center;margin:34px 0}.privacy strong{font-size:12px}.privacy p{max-width:620px;font-size:11px;color:var(--muted)}.consent{font-size:11px;display:flex;align-items:center;gap:9px;min-width:245px}.consent input{width:20px;height:20px;accent-color:#53633f}footer{display:flex;align-items:center;gap:28px;border-top:1px solid var(--line);padding-top:25px;padding-bottom:30px;font-size:10px;color:var(--muted)}.footer-brand{font-size:24px;font-weight:bold;text-decoration:none;color:var(--ink);letter-spacing:-1px}footer p:nth-of-type(2){margin-left:auto}.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}#notice{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;border-radius:8px;padding:12px 20px;font-size:13px;z-index:10;max-width:90vw}#notice:empty{display:none}#watch{padding:35px 0 45px}#watch video{display:block;width:100%;max-height:65vh;background:#20251e;border-radius:12px}#watch h1{font-size:40px;letter-spacing:-1px;margin-top:25px}#watch .actions{display:flex;gap:12px;margin-top:20px}#watch p{max-width:750px;color:var(--muted)}.admin-section{padding:40px 0}.admin-row{border-bottom:1px solid var(--line);padding:20px 0;display:flex;align-items:center;gap:15px;flex-wrap:wrap}.admin-row p{flex:1;min-width:180px;white-space:pre-wrap;overflow-wrap:anywhere}.admin-row button{padding:10px;min-height:44px;border:1px solid var(--ink);border-radius:6px;background:transparent}.admin-row pre{max-width:100%;overflow:auto;font-size:11px}.admin-auth{display:flex;gap:10px;flex-wrap:wrap;align-items:center} [hidden]{display:none!important}@media(max-width:850px){header,main,footer{padding-left:25px;padding-right:25px}.studio{display:none}.hero{padding:45px 0;gap:15px}.hero-art{height:260px}.orb-one{width:110px;height:110px}.orb-two{width:90px;height:90px}.discovery{flex-wrap:wrap}.grid{gap:18px}.feedback{gap:25px;padding:25px}.privacy{gap:20px}footer{flex-wrap:wrap;gap:10px 20px}footer p:nth-of-type(2){margin-left:0}}@media(max-width:600px){header,main,footer{padding-left:20px;padding-right:20px}header{height:85px}.brand{font-size:29px}nav{gap:14px;font-size:11px}nav a:first-child{display:none}.hero{grid-template-columns:1fr;padding:38px 0 42px}.hero-art{height:205px;max-width:330px;width:100%;justify-self:center;margin-top:16px}.orb-one{width:115px;height:115px;top:20%}.orb-two{width:100px;height:100px;top:35%}.orb-three{width:48px;height:48px}h1{font-size:52px;letter-spacing:-2px}.eyebrow{font-size:9px}.intro{font-size:13px}.hero .button{font-size:12px}.section-heading{align-items:start}.section-heading>p{display:none}h2{font-size:30px}.discovery{gap:15px}.chips{gap:6px}.chip{font-size:10px;padding:9px 12px}#search{max-width:none;width:100%}.grid{grid-template-columns:1fr;gap:27px}.card-image{aspect-ratio:16/10}.card h3{font-size:25px}.card .tag{margin-top:12px}.feedback{margin-top:45px;padding:24px 20px;grid-template-columns:1fr;gap:15px}.privacy{display:block}.consent{margin:20px 0}footer{padding-top:22px;font-size:9px}.footer-brand{font-size:22px}#watch h1{font-size:33px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Public shorts only: studio and privacy keep their existing presentation. */
.shorts{--sheet-muted:#b3b6c0;--sheet-line:#ffffff18;--sheet-accent:#d0c5ed;background:#08090b;color:#f4f4f5;height:100dvh;overflow:hidden;color-scheme:dark;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
.shorts .shorts-header{position:fixed;inset:0 0 auto;z-index:5;height:auto;max-width:none;padding:max(16px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) 16px max(20px,env(safe-area-inset-left));border:0;justify-content:flex-end;pointer-events:none}
.shorts .shorts-header nav{pointer-events:auto;padding:4px;gap:2px;border:1px solid #ffffff18;border-radius:18px;background:#14161bef}
.shorts svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.shorts nav{gap:6px}.shorts button,.shorts .shorts-controls a{border:1px solid var(--sheet-line);background:#22252c;color:#f4f4f5;border-radius:12px;min-width:44px;min-height:44px;padding:10px 14px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:500;transition:background .15s,border-color .15s,color .15s}.shorts .shorts-header button{border:1px solid transparent;background:transparent;width:44px;height:44px;padding:10px;font-size:15px}
.shorts #open-account[data-signed-in=true]{background:#34313e;color:#eee8fb;border-radius:50%;font-weight:650}
.shorts button:disabled{opacity:.5;cursor:default}.shorts button[aria-pressed=true]{color:var(--sheet-accent)}.shorts [aria-label="Like film"][aria-pressed=true] svg{fill:currentColor}
.shorts button:not(:disabled):active,.shorts .shorts-controls a:active{background:#3a3d46}
@media(hover:hover){.shorts button:not(:disabled):hover,.shorts .shorts-controls a:hover{background:#30343d;border-color:#ffffff40}}
@media(prefers-reduced-motion:reduce){.shorts button,.shorts .shorts-controls a{transition:none}}
.shorts #feed{width:100%;max-width:none;height:100dvh;margin:0;padding:0;overflow-y:auto;overflow-x:hidden;scroll-snap-type:y mandatory;overscroll-behavior:contain;scrollbar-width:none}.shorts #feed::-webkit-scrollbar{display:none}
.shorts .shorts-clip{height:100dvh;width:100%;position:relative;scroll-snap-align:start;scroll-snap-stop:always;overflow:hidden;background:#08090b}
.shorts .shorts-clip video{display:block;width:100%;height:100%;max-height:none;object-fit:contain;border:0;border-radius:0;background:#08090b}
.shorts .shorts-caption{position:absolute;bottom:calc(86px + env(safe-area-inset-bottom));left:max(20px,env(safe-area-inset-left));right:84px;pointer-events:none;text-shadow:0 1px 6px #000}.shorts .shorts-caption h1{font-family:inherit;font-weight:500;font-size:14px;line-height:1.5;letter-spacing:.01em;margin:0;color:#e2e3e8}
.shorts .shorts-caption{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 8px;overflow-wrap:anywhere}.shorts .shorts-caption h1{min-width:0;max-width:100%}.shorts .shorts-byline{font-size:12px;line-height:1.5;font-weight:400;color:#c2c4ce;margin:0;min-width:0;max-width:100%;overflow-wrap:anywhere}
.shorts .shorts-controls{position:absolute;bottom:calc(20px + env(safe-area-inset-bottom));left:max(20px,env(safe-area-inset-left));right:max(20px,env(safe-area-inset-right));display:flex;justify-content:flex-end;gap:6px}.shorts .shorts-controls button,.shorts .shorts-controls a{width:44px;height:44px;padding:10px;background:#14161bef;border-color:#ffffff20;border-radius:14px}
.shorts .shorts-controls[hidden]{display:none}
.shorts dialog{width:min(440px,calc(100% - 24px));overflow-y:auto;border:1px solid var(--sheet-line);border-radius:24px;color:#f4f4f5;box-shadow:0 24px 80px #0008}.shorts dialog::backdrop{background:#000a}.shorts dialog h2{font:600 22px/1.25 system-ui,sans-serif;letter-spacing:-.6px;margin:0 40px 20px 0}.shorts .sheet-close{position:absolute;right:12px;top:12px;background:transparent;border:0;padding:10px}
.shorts #search{display:grid;max-width:none;width:100%;border:0}.shorts #search button{font-size:14px}.shorts #search input{font-size:16px}.shorts .consent{min-width:0}.shorts form{display:grid;gap:12px}.shorts form label{font-size:13px;color:#b8bbc5}.shorts input,.shorts textarea,.shorts select{min-width:0;max-width:100%;background:#090b10;border:1px solid #454954;border-radius:8px;color:#fff;padding:12px}.shorts .search-row{display:flex;gap:8px}.shorts #query{width:100%}.shorts #clear-search{margin-top:18px}.shorts #feedback{display:block;border:0;margin:0 0 22px;padding:0;background:transparent}.shorts .consent{display:flex;align-items:center;gap:10px;font-size:13px}.shorts .consent input{width:auto}.shorts .fine{font-size:12px;color:#a5a8b3}.shorts dialog p{font-size:13px}
.shorts #notice{position:fixed;bottom:135px;left:50%;right:auto;transform:translateX(-50%);max-width:calc(100% - 32px);width:max-content;font-size:13px;z-index:6;border-radius:10px;background:#20232e;color:#fff;padding:10px 16px;pointer-events:none}.shorts #notice:empty{display:none}.shorts .shorts-empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px;text-align:center}
.shorts :focus-visible{outline:2px solid #c3b5ee;outline-offset:3px}
/* Account and creator surfaces share the viewer's neutral tokens. */
.shorts dialog {
  background: #17191f;
  padding: 28px 22px max(24px, env(safe-area-inset-bottom));
  max-height: calc(100dvh - 32px - env(safe-area-inset-top));
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #4b4e58 #17191f;
  overflow-wrap: anywhere;
}
.shorts dialog h3 { font: 600 16px/1.4 system-ui, sans-serif; margin: 0 0 8px; letter-spacing: -.2px; }
.shorts dialog p { line-height: 1.65; }
.shorts dialog a { text-underline-offset: 3px; }
.shorts dialog :is(input, textarea, select) {
  width: 100%; background: #101217; border-color: #454954; border-radius: 12px;
  color: #f4f4f5; font-size: 16px; min-height: 44px;
}
.shorts dialog :is(input[type=checkbox], input[type=radio]) {
  width: 20px; min-height: 20px; height: 20px; flex-shrink: 0; accent-color: var(--sheet-accent);
}
.shorts dialog input::placeholder, .shorts dialog textarea::placeholder { color: #a0a4af; opacity: 1; }
.shorts dialog button { font-size: 14px; }
.shorts .account-tabs {
  display: flex; gap: 4px; margin: 0 0 20px; padding: 4px;
  background: #101217; border: 1px solid var(--sheet-line); border-radius: 14px;
  overflow-x: auto; scrollbar-width: thin;
}
.shorts .account-tabs button {
  flex: 1 0 auto; padding: 9px 12px; background: transparent; border-color: transparent;
  color: var(--sheet-muted); white-space: nowrap;
}
.shorts .account-tabs :is([aria-selected=true], [aria-current=page], .active) {
  background: #30323b; color: #f4f4f5; border-color: #ffffff28;
}
.shorts .panel-stack { display: grid; gap: 16px; min-width: 0; }
.shorts dialog .card {
  display: grid; gap: 10px; padding: 16px; border: 1px solid var(--sheet-line);
  border-radius: 16px; background: #1e2128; min-width: 0;
}
.shorts dialog .card p { margin: 0; color: #c9cbd3; }
.shorts dialog .row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-width: 0; }
.shorts dialog .row > :is(input, select) { flex: 1 1 150px; width: auto; }
.shorts dialog .row > button { flex: 0 0 auto; }
.shorts dialog :is(button, a).primary {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 10px 16px; border: 1px solid #dacbff; border-radius: 12px;
  background: var(--sheet-accent); color: #20152e; font-weight: 700; text-decoration: none;
}
.shorts dialog :is(button, a).danger {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 10px 16px; border: 1px solid #f8a6ba50; border-radius: 12px;
  background: #3a202c; color: #ffc3d0; text-decoration: none;
}
.shorts .badge {
  display: inline-flex; align-items: center; gap: 5px; width: fit-content; max-width: 100%;
  padding: 3px 9px; border: 1px solid #cbb9ff38; border-radius: 999px;
  background: #cbb9ff12; color: #d8caff; font-size: 11px; font-weight: 600; line-height: 1.5;
}
.shorts .eyebrow { color: #cbb9ff; font-size: 10px; letter-spacing: 1.6px; margin: 0 0 8px; }
.shorts dialog .muted, .shorts dialog p.muted, .shorts dialog .fine { color: var(--sheet-muted); }
.shorts .version-card {
  display: grid; gap: 10px; min-width: 0; padding: 14px;
  border: 1px solid var(--sheet-line); border-radius: 14px; background: #101217;
}
.shorts .version-card :is(video, img) { display: block; width: 100%; max-height: 240px; object-fit: contain; border-radius: 10px; background: #08090b; }
.shorts .creator-launch {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; min-height: 52px; padding: 14px 16px; border: 1px solid #cbb9ff50;
  border-radius: 16px; background: #30243f; color: #eee5ff; text-decoration: none;
  font-size: 14px; font-weight: 600; text-align: left;
}
.shorts .drawer-nav { display: grid; gap: 6px; margin: 16px 0; }
.shorts .drawer-nav :is(a, button) {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px;
  padding: 10px 12px; border: 1px solid transparent; border-radius: 12px;
  background: transparent; color: #e3dcec; font-size: 14px; text-decoration: none; text-align: left;
  justify-content: flex-start;
}
/* The legacy mobile nav rule must not hide the first drawer destination. */
.shorts .drawer-nav a:first-child { display: flex; }
.shorts .drawer-nav [aria-current=page] { background: #30323b; border-color: #ffffff28; }
.shorts .account-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-right: 32px; margin-bottom: 18px; }
.shorts .account-heading h2 { margin: 0; }
.shorts .account-heading :is(p, .eyebrow) { flex-basis: 100%; margin: 0; }
.shorts .empty-state {
  display: grid; justify-items: center; gap: 10px; padding: 28px 16px;
  border: 1px dashed #cbb9ff38; border-radius: 16px; text-align: center; color: #b5b0c5;
}
.shorts .empty-state p { margin: 0; max-width: 32ch; }
.shorts .notification-dot {
  display: inline-block; width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%;
  background: #d0baff; box-shadow: 0 0 0 3px #d0baff18; vertical-align: middle;
}
@media (hover: hover) {
  .shorts .drawer-nav a:hover { background: #30343d; border-color: #ffffff40; }
  .shorts dialog .primary:not(:disabled):hover { background: #dbceff; }
  .shorts dialog .danger:not(:disabled):hover { background: #4b2938; }
}
.shorts dialog .primary:not(:disabled):active { background: #b9abd6; color: #20152e; }
.shorts dialog .danger:not(:disabled):active { background: #502c3b; color: #ffc3d0; }
.shorts .comment-menu summary:hover,.shorts .comment-menu summary:active { background: #30343d; }
.shorts #open-create:not(:disabled):active { background: #b9abd6; }
@media (min-width: 600px) {
  .shorts dialog { padding: 30px; max-height: min(85dvh, 860px); }
  .shorts :is(#creator-sheet, dialog.creator-sheet) { width: min(640px, calc(100% - 48px)); }
}
@media (max-width: 480px) {
  .shorts #more-sheet { width: calc(100% - 24px); padding: 24px 18px max(18px, env(safe-area-inset-bottom)); }
  .shorts .drawer-nav { gap: 2px; margin: 12px 0; }
  .shorts dialog .card { padding: 14px; }
}
/* A readable disclosure, visually connected to the account sheets. */
.privacy-page { background: #0e0c14; color: #f4f0ff; color-scheme: dark; }
.privacy-page :is(header, main, footer) { max-width: 860px; }
.privacy-page header { height: 88px; border-color: #cbb9ff26; gap: 16px; }
.privacy-page header > a:last-child { font-size: 13px; color: #d6c6ff; }
.privacy-page .brand { font-size: 28px; }
.privacy-page .admin-section { padding: 40px 0 52px; }
.privacy-page .eyebrow { color: #cbb9ff; }
.privacy-page h1 { font: 500 clamp(32px, 6vw, 48px)/1.15 Arial, sans-serif; letter-spacing: -1.6px; max-width: 18ch; }
.privacy-page h2 { font: 600 19px/1.4 Arial, sans-serif; letter-spacing: -.3px; margin-top: 32px; }
.privacy-page p { color: #c5bed2; font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
.privacy-page .intro { font-size: 16px; }
.privacy-page p a, .privacy-page footer a { color: #d6c6ff; text-underline-offset: 3px; }
.privacy-page footer { border-color: #cbb9ff26; }
.privacy-page footer p { font-size: 12px; margin: 0; }
.privacy-page :focus-visible { outline: 2px solid #cbb9ff; outline-offset: 4px; }

/* Keep creation within thumb reach without covering the bottom playback row. */
.shorts #open-create.creator-launch {
 position:fixed;z-index:5;right:max(18px,env(safe-area-inset-right));
 bottom:calc(92px + env(safe-area-inset-bottom));width:48px;height:48px;
 min-height:48px;padding:0;justify-content:center;border-radius:50%;
 font-size:28px;line-height:1;background:var(--sheet-accent);color:#211d2b;
 box-shadow:0 8px 28px #0006;
}
.shorts #account-sheet .drawer-nav { grid-template-columns:repeat(3,minmax(0,1fr)); }
.shorts #account-sheet .drawer-nav button {padding:9px 6px;font-size:12px;}
.shorts #log-out {margin-top:18px;width:100%;}
.shorts #notification-dot {position:absolute;right:8px;top:8px;}
.shorts #open-notifications {position:relative;}
.shorts [hidden] {display:none!important;}

.shorts :is(button:not(#open-create),a,summary) {touch-action:manipulation;}
/* Title-only swipe zones never disable vertical body/thread/form scrolling or pinch zoom. */
.shorts dialog > h2,.shorts #comments-header {touch-action:pan-x pinch-zoom;user-select:none;min-height:44px;}
.shorts dialog > h2 {position:sticky;top:0;z-index:1;background:#17191f;display:flex;align-items:center;}
.shorts dialog .sheet-close {z-index:2;}
.shorts #comments-content {touch-action:pan-y pinch-zoom;}
/* Comments: one bounded surface, with only the thread scrolling. */
.shorts #comments-sheet {padding:0;width:min(480px,calc(100% - 32px));height:min(680px,85dvh);max-height:calc(100dvh - 32px);overflow:hidden;}
.shorts #comments-sheet[open] {display:flex;flex-direction:column;}
.shorts #comments-header {position:relative;display:flex;align-items:center;gap:10px;flex:none;padding:20px 64px 18px 20px;border-bottom:1px solid var(--sheet-line);}
.shorts #comments-header h2 {margin:0;}
.shorts #comments-content {flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:8px 20px;scrollbar-width:thin;}
.shorts .comment-row {display:grid;grid-template-columns:32px minmax(0,1fr) 44px;gap:10px;padding:16px 0;align-items:start;border-bottom:1px solid #ffffff0c;}
.shorts .comment-avatar {display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:#30323b;color:#e2e3e8;font-size:13px;font-weight:600;}
.shorts .comment-body {min-width:0;}
.shorts .comment-menu {position:relative;}
.shorts .comment-menu summary {list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:center;min-height:44px;border-radius:10px;color:#bdb5cd;}
.shorts .comment-menu summary::-webkit-details-marker {display:none;}
.shorts .comment-menu[open] {grid-column:2 / -1;display:grid;grid-template-columns:1fr 44px;}
.shorts .comment-menu[open] summary {grid-column:2;}
.shorts .comment-options {grid-column:1 / -1;display:grid;gap:8px;padding:10px;border:1px solid var(--sheet-line);border-radius:12px;background:#22252c;}
.shorts .comment-options label {display:grid;gap:6px;font-size:12px;}
.shorts .comment-body>button {margin-top:8px;min-height:44px;padding:8px 12px;}
.shorts .comment-body strong {font-size:12px;color:#bdb5cd;}
.shorts .comment-body p {margin:3px 0 0;font-size:14px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;}
.shorts #comment-composer {flex:none;border-top:1px solid var(--sheet-line);padding:14px max(16px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));background:#17191f;}
.shorts #comment-form {gap:6px;}
.shorts .comment-label {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
.shorts .composer-row {display:flex;align-items:flex-end;gap:8px;}
.shorts #comment-text {height:auto;min-height:46px;max-height:120px;resize:none;line-height:22px;padding:11px 12px;}
.shorts #comment-form .fine {margin:0;font-size:11px;line-height:1.5;}
.shorts #comment-status {margin:6px 0 0;font-size:12px;}
.shorts #comment-status:empty {display:none;}
.shorts #comment-sign-in {width:100%;}
@media(max-width:599px){
 .shorts #comments-sheet {position:fixed;inset:auto 0 0;width:100%;max-width:100%;height:78dvh;max-height:calc(100dvh - 12px);margin:0;border-radius:22px 22px 0 0;border-bottom:0;}
}
