  #abStudio { position: fixed; inset: 0; z-index: 61; background: var(--bg, #05070d); overflow-y: auto; -webkit-overflow-scrolling: touch;
    padding: calc(env(safe-area-inset-top) + 12px) 16px calc(env(safe-area-inset-bottom) + 170px); }
  #abStudio.hidden { display: none; }
  .ab-wrap { max-width: 980px; margin: 0 auto; }
  .ab-top { display: flex; align-items: center; gap: 12px; position: sticky; top: 0; z-index: 2; margin: 0 -16px 14px; padding: 8px 16px;
    background: rgba(4,7,14,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .ab-top h2 { margin: 0; flex: 1; display: flex; align-items: center; gap: 10px; }
  .ab-top h2 .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, #f97316, #f472b6); color: #fff; }
  .ab-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
  .ab-x { min-width: 44px; min-height: 44px; border-radius: 22px; }
  .ab-card { background: var(--card, rgba(255,255,255,.04)); border: 1px solid var(--line, rgba(255,255,255,.08)); border-radius: 18px; padding: 16px; }
  .ab-card + .ab-card { margin-top: 14px; }
  .ab-h { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted, #8b93a7); margin: 0 0 10px; }
  .ab-up { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
  .ab-up input[type=file] { flex: 1; min-width: 200px; }
  .ab-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
  .ab-book { text-align: left; background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; min-height: 44px; box-shadow: none !important; width: auto !important; display: block; }
  .ab-cover { aspect-ratio: 2/3; width: 100%; border-radius: 12px; object-fit: cover; background: linear-gradient(135deg, #7c2d12, #831843); display: grid; place-items: center;
    color: #fff; font-weight: 700; font-size: 15px; padding: 10px; text-align: center; box-sizing: border-box; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
  img.ab-cover { padding: 0; background: #111; }
  .ab-book b { display: block; margin-top: 8px; font-size: 15px; line-height: 1.25; }
  .ab-book small { display: block; color: var(--muted, #8b93a7); font-size: 12.5px; margin-top: 2px; }
  .ab-pbar { margin-top: 8px; max-width: 520px; }
  .ab-pbar .tr { height: 8px; border-radius: 4px; background: color-mix(in srgb, currentColor 14%, transparent); overflow: hidden; }
  .ab-pbar .tr i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #f97316, #f472b6); transition: width .4s; }
  .ab-pbar small { display: block; margin-top: 5px; color: var(--muted, #8b93a7); font-size: 12.5px; }
  .ab-cbar { height: 4px; border-radius: 2px; background: color-mix(in srgb, currentColor 14%, transparent); overflow: hidden; margin-top: 6px; }
  .ab-cbar i { display: block; height: 100%; border-radius: 2px; background: linear-gradient(90deg, #f97316, #f472b6); }
  .ab-cbar.full i { background: #34d399; }
  .ab-bar { height: 4px; border-radius: 2px; background: rgba(255,255,255,.1); overflow: hidden; margin-top: 6px; }
  .ab-bar i { display: block; height: 100%; background: linear-gradient(90deg, #f97316, #f472b6); }
  .ab-head { display: flex; gap: 16px; align-items: flex-start; }
  .ab-head .ab-cover { width: 120px; flex: none; }
  .ab-head h3 { margin: 0; font-size: 22px; letter-spacing: -.01em; }
  .ab-head p { margin: 4px 0 0; color: var(--muted, #8b93a7); font-size: 14px; }
  .ab-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
  .ab-acts button { min-height: 44px; }
  .ab-step { font-size: 13.5px; color: #fdba74; margin-top: 8px; }
  .ab-step.err { color: #f87171; }
  .ab-ch { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 10px 12px; min-height: 56px; border-radius: 12px; background: none;
    border: 1px solid transparent; color: inherit; font: inherit; cursor: pointer; box-shadow: none !important; }
  .ab-ch:hover { background: rgba(255,255,255,.04); }
  .ab-ch.on { border-color: #f97316; background: rgba(249,115,22,.08); }
  .ab-ch .num { width: 28px; text-align: center; color: var(--muted, #8b93a7); font-variant-numeric: tabular-nums; flex: none; }
  .ab-ch .tt { flex: 1; min-width: 0; }
  .ab-ch .tt b { display: block; font-weight: 600; font-size: 15px; }
  .ab-ch .tt small { color: var(--muted, #8b93a7); font-size: 12.5px; }
  .ab-ch .st { font-size: 12.5px; color: var(--muted, #8b93a7); flex: none; }
  .ab-ch[disabled] { opacity: .5; cursor: default; }
  .ab-cast { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
  .ab-cast div { padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.03); font-size: 14px; }
  .ab-cast small { display: block; color: var(--muted, #8b93a7); font-size: 12.5px; }
  .ab-player { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(env(safe-area-inset-bottom) + 10px); z-index: 62; width: min(940px, calc(100% - 24px));
    box-sizing: border-box; padding: 12px 14px; border-radius: 18px; background: rgba(12,16,26,.92); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,.1); box-shadow: 0 10px 40px rgba(0,0,0,.45); }
  .ab-player.hidden { display: none; }
  .ab-prow { display: flex; align-items: center; gap: 10px; }
  .ab-pimg { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; background: #222; flex: none; }
  .ab-pt { flex: 1; min-width: 0; }
  .ab-pt b { display: block; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ab-pt small { display: block; font-size: 12px; color: var(--muted, #8b93a7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ab-btn { width: 44px; height: 44px; min-width: 44px; padding: 0; border-radius: 22px; display: grid; place-items: center; background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1); color: #fff; cursor: pointer; flex: none; box-shadow: none !important; font-size: 12px; font-weight: 700; }
  .ab-btn svg { width: 20px; height: 20px; fill: currentColor; }
  .ab-btn.big { width: 52px; height: 52px; background: linear-gradient(135deg, #f97316, #f472b6); border: 0; }
  .ab-seek { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 12px; color: var(--muted, #8b93a7); font-variant-numeric: tabular-nums; }
  .ab-seek input { flex: 1; accent-color: #f97316; }
  .ab-snd { position: relative; height: 22px; margin: 2px 40px 0; } .ab-snd:empty { display: none; }
  .ab-snd i { position: absolute; bottom: 2px; height: 3px; border-radius: 2px; background: rgba(249, 115, 22, .55); }
  .ab-snd span { position: absolute; top: 0; transform: translateX(-50%); font-size: 14px; line-height: 1; cursor: pointer; }
  .ab-mini { position: fixed; right: 16px; bottom: calc(env(safe-area-inset-bottom) + 100px); z-index: 55; display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px;
    border-radius: 26px; background: rgba(12,16,26,.92); border: 1px solid rgba(249,115,22,.5); backdrop-filter: blur(14px); color: #fff; max-width: 70vw; box-shadow: 0 8px 30px rgba(0,0,0,.4); }
  .ab-mini.hidden { display: none; }
  .ab-mini span { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
  @media (max-width: 600px) { .ab-head .ab-cover { width: 92px; } .ab-head h3 { font-size: 19px; } .ab-pimg { display: none; } .ab-hide-s { display: none; } }
  html[data-theme="light"] #abStudio { background: #f5f5f7; }
  html[data-theme="light"] .ab-top { background: rgba(245,245,247,.94); }
  html[data-theme="light"] .ab-card { background: #fff; border-color: rgba(0,0,0,.08); }
  html[data-theme="light"] .ab-cast div { background: rgba(0,0,0,.03); }
  body.ab-open { overflow: hidden; }
