#page-dialog.sheet:has(.turbo-manager) {
  inset:0; width:min(480px,calc(100% - 32px)); height:90dvh; max-height:90dvh;
  margin:auto; padding:0; border-radius:24px; background:var(--sheet-color,#100f24); color:white;
}
#page-dialog:has(.turbo-manager) > .native-sheet-grip { position:absolute; inset:0 0 auto; margin-inline:auto; }
.page.turbo-manager { width:100%; display:flex; flex-direction:column; gap:20px; padding:0 20px 24px; }
.tm-header { padding:32px 0 16px; }
.turbo-manager .tm-title { margin:0; font-size:24px; font-weight:700; line-height:30px; letter-spacing:normal; }
.tm-subtitle { margin:4px 0 0; color:#ffffffb3; font-size:14px; line-height:20px; }
.tm-divider { display:flex; align-items:center; gap:16px; margin:0; color:#ffffff80; font-size:12px; line-height:16px; font-weight:500; letter-spacing:2.5px; text-transform:uppercase; }
.tm-divider::before,.tm-divider::after { content:''; flex:1; height:1px; background:#ffffff1a; }
.tm-form,.tm-group { margin:0; min-width:0; }
.tm-group { display:block; padding:6px 20px; border:1px solid #1d1841; border-radius:24px;
  background:radial-gradient(50% 25% at 50% 0%,#ffffff1a,transparent),#110e2f; }
.tm-row { display:flex; align-items:center; gap:12px; padding:14px 0; margin:0; cursor:pointer; -webkit-tap-highlight-color:transparent; }
.tm-row + .tm-row { border-top:1px solid #1d1841; }
.tm-dot { flex:0 0 8px; height:8px; border-radius:50%; }
.tm-label { flex:1; min-width:0; font-size:16px; font-weight:600; line-height:24px; }
.tm-count { color:#ffffff8c; font-size:12px; line-height:16px; }
.turbo-manager .tm-switch { appearance:none; position:relative; flex:0 0 63px; width:63px; height:28px;
  min-height:0; margin:0; padding:0; border:0; border-radius:14px; background:#646467; cursor:pointer; }
.tm-switch::before { content:''; position:absolute; top:2px; left:2px; width:37px; height:24px; border-radius:12px; background:white; transition:transform .15s; }
.turbo-manager .tm-switch:checked { background:#7a45fd; }
.tm-switch:checked::before { transform:translateX(22px); }
.tm-switch:disabled { opacity:.55; }
.tm-error { margin:8px 8px 0; color:#ff9d9d; font-size:13px; }
.tm-error:empty,.tm-links:empty { display:none; }
.tm-links { display:flex; flex-wrap:wrap; gap:8px 20px; }
.tm-link { display:inline-flex; width:fit-content; align-items:center; min-height:44px; color:#cec2ff; font-size:14px; font-weight:600; text-underline-offset:3px; }
.tm-choices { overflow:hidden; background:#110e2f; border:1px solid #1d1841; border-radius:18px; }
.tm-choice { display:flex; align-items:center; gap:12px; min-height:60px; padding:8px 14px; color:inherit; text-decoration:none; }
.tm-choice + .tm-choice { border-top:1px solid #1d1841; }
.tm-thumb { width:42px; height:50px; object-fit:contain; }
.tm-choice-copy { display:grid; gap:3px; }
.tm-choice-copy small { color:#b5b1c7; }
.tm-choice:focus-visible,.tm-switch:focus-visible,.tm-link:focus-visible { outline:2px solid white; outline-offset:-2px; }
.turbo-manager > .close-layer:not(:focus-visible) { position:absolute; clip-path:inset(50%); pointer-events:none; }
@media (max-width:760px) {
  #page-dialog.sheet:has(.turbo-manager) { inset:auto 0 0; width:100%; max-width:100%; margin:0; height:var(--sheet-height,90dvh); border-radius:24px 24px 0 0; }
  .page.turbo-manager { padding-bottom:calc(24px + env(safe-area-inset-bottom,0px)); }
}
@media (prefers-reduced-motion:reduce) { .tm-switch::before { transition:none; } }
