/* SINGLY home — VidMuse-style composer. Uses renew.css tokens. */
.sh-home { max-width: 980px; margin: 0 auto; padding: 8px 0 40px; }
.sh-hero { text-align: center; padding: 34px 12px 6px; }
.sh-title { font-size: clamp(30px, 5.2vw, 52px); line-height: 1.12; font-weight: 900; letter-spacing: -0.03em; margin: 0; font-style: italic; }
.sh-title em { font-style: italic; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sh-sub { color: var(--txt-2); margin: 14px auto 0; max-width: 620px; font-size: 15px; }
.sh-tabs { display: flex; gap: 4px; justify-content: center; margin: 26px auto 16px; padding: 5px; width: max-content; max-width: 100%; overflow-x: auto;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(20,22,29,.7); }
.sh-tab { padding: 9px 18px; border-radius: 999px; color: var(--txt-2); font-weight: 700; font-size: 14px; white-space: nowrap; }
.sh-tab:hover { color: var(--txt); }
.sh-tab.on { background: #fff; color: #111; }
.sh-composer { position: relative; border-radius: 26px; padding: 22px; border: 1px solid rgba(124,92,255,.35);
  background: radial-gradient(700px 280px at 20% 0%, rgba(124,92,255,.32), transparent 70%), radial-gradient(600px 260px at 100% 100%, rgba(34,211,238,.14), transparent 70%), linear-gradient(160deg, #1b1630, #121420);
  box-shadow: 0 30px 80px rgba(0,0,0,.45); transition: border-color .15s, box-shadow .15s; }
.sh-composer.drag { border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(34,211,238,.35), 0 30px 80px rgba(0,0,0,.45); }
.sh-main { display: grid; grid-template-columns: 136px 1fr; gap: 18px; }
.sh-slots { display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: rgba(255,255,255,.04); overflow: hidden; }
.sh-slot { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 16px 8px; min-height: 96px; color: var(--txt); text-align: center; }
.sh-slot + .sh-slot { border-top: 1px solid rgba(255,255,255,.1); }
.sh-slot:hover { background: rgba(255,255,255,.06); }
.sh-slot b { font-size: 15px; }
.sh-slot small { color: var(--txt-3); font-size: 11.5px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-slot-ic { font-size: 22px; line-height: 1; }
.sh-slot.filled { background: rgba(124,92,255,.22); }
.sh-slot.filled small { color: #d9d2ff; }
.sh-body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.sh-prompt { width: 100%; resize: vertical; min-height: 92px; background: transparent; border: none; color: var(--txt); font: inherit; font-size: 16px; line-height: 1.6; padding: 6px 2px; outline: none; }
.sh-prompt::placeholder { color: rgba(243,245,251,.42); }
.sh-karaoke-note { display: none; margin: 4px 2px; color: var(--txt-2); font-size: 14px; line-height: 1.6; }
.sh-home.is-karaoke .sh-prompt { display: none; }
.sh-home.is-karaoke .sh-karaoke-note { display: block; }
.sh-home:not(.is-karaoke) .sh-slot-image { opacity: .55; }
.sh-more { border-top: 1px solid rgba(255,255,255,.08); padding-top: 8px; }
.sh-more summary { cursor: pointer; color: var(--txt-2); font-size: 13px; font-weight: 700; }
.sh-rec { margin-left: 6px; font-size: 11px; font-weight: 700; color: var(--brand-2); }
.sh-more-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; margin-top: 10px; }
.sh-more-grid .sh-span { grid-column: 1 / -1; }
.sh-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sh-pill, .sh-pill-select { height: 40px; border-radius: 999px; padding: 0 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700;
  color: var(--txt); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); font-family: inherit; }
.sh-pill-select { appearance: auto; max-width: 100%; }
.sh-pill-select option { color: #111; }
.sh-quote { font-size: 12.5px; color: var(--txt-2); font-weight: 700; }
.sh-spacer { flex: 1; }
.sh-create { height: 46px; padding: 0 26px; border-radius: 999px; background: #fff; color: #111; font-size: 16px; font-weight: 800; box-shadow: 0 8px 26px rgba(255,255,255,.18); }
.sh-create:hover { transform: translateY(-1px); }
.sh-create:disabled { opacity: .6; cursor: progress; transform: none; }
.sh-chips { display: flex; gap: 8px; overflow-x: auto; margin-top: 16px; padding-bottom: 2px; }
.sh-chips:empty { display: none; }
.sh-chip { flex: 0 0 auto; padding: 9px 14px; border-radius: 12px; font-size: 13px; font-weight: 700; color: var(--txt); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.sh-chip:hover { background: rgba(124,92,255,.25); border-color: rgba(124,92,255,.5); }
.sh-rights { display: block; margin-top: 14px; font-size: 12.5px; color: var(--txt-2); line-height: 1.55; }
.sh-rights input { margin-right: 6px; vertical-align: -2px; }
.sh-gallery { margin-top: 44px; }
.sh-gallery-tabs { display: flex; align-items: center; gap: 10px; margin: 0 2px 14px; }
.sh-gallery-tabs h2 { margin: 0; font-size: 20px; border-bottom: 2px solid var(--txt); padding-bottom: 6px; }
@media (max-width: 720px) {
  .sh-composer { padding: 16px; border-radius: 20px; }
  .sh-main { grid-template-columns: 1fr; }
  .sh-slots { flex-direction: row; }
  .sh-slot { min-height: 76px; }
  .sh-slot + .sh-slot { border-top: none; border-left: 1px solid rgba(255,255,255,.1); }
  .sh-more-grid { grid-template-columns: 1fr; }
  .sh-create { width: 100%; }
  .sh-tabs { width: 100%; justify-content: flex-start; }
}
.sh-brief-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.sh-brief-btn { padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 800; color: #fff; background: linear-gradient(120deg, #7c5cff, #b15cff); box-shadow: 0 6px 18px rgba(124,92,255,.35); }
.sh-brief-btn:disabled { opacity: .7; cursor: progress; }
.sh-brief-hint { color: var(--txt-3); font-size: 12px; flex: 1; min-width: 200px; }
.sh-brief-summary { margin: 0; padding: 10px 12px; border-radius: 12px; background: rgba(124,92,255,.14); color: #e4ddff; font-size: 13px; line-height: 1.55; }
.sh-home.is-karaoke .sh-brief-row, .sh-home.is-karaoke .sh-brief-summary { display: none; }

/* ===== VidMuse-style shell (2026-11-09 renewal) ===== */
body.rn { background: radial-gradient(1100px 520px at 50% -180px, rgba(124,92,255,.30), transparent 70%), radial-gradient(700px 420px at 100% 30%, rgba(177,92,255,.08), transparent 70%), #050507; }
.rn-nav.rn-vm { padding: 10px 22px; gap: 6px; background: rgba(5,5,7,.72); border-bottom: 1px solid rgba(255,255,255,.06); }
.rn-vm .rn-brand { font-size: 17px; letter-spacing: .08em; font-weight: 900; margin-right: 18px; }
.rn-vm .rn-menu { gap: 2px; }
.rn-vm .rn-link { background: transparent; border: none; font-family: inherit; cursor: pointer; color: rgba(243,245,251,.72); font-size: 14px; padding: 8px 12px; }
.rn-vm .rn-link:hover, .rn-vm .rn-link.active { color: #fff; background: rgba(255,255,255,.06); box-shadow: none; }
.rn-caret { font-size: 10px; opacity: .7; margin-left: 2px; }
.rn-dd { position: relative; }
.rn-dd-menu { display: none; position: absolute; left: 0; top: 44px; width: 300px; padding: 8px; border-radius: 16px; z-index: 70;
  background: rgba(20,18,30,.97); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 24px 60px rgba(0,0,0,.6); backdrop-filter: blur(14px); }
.rn-dd.open .rn-dd-menu { display: block; animation: rnpop .14s ease-out; }
@keyframes rnpop { from { opacity: 0; transform: translateY(-4px); } }
.rn-dd-head { padding: 6px 10px 8px; font-size: 11.5px; color: var(--txt-3); }
.rn-dd-item { display: flex; width: 100%; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 11px; text-align: left; color: var(--txt); background: none; border: none; font-family: inherit; cursor: pointer; }
.rn-dd-item:hover { background: rgba(124,92,255,.18); }
.rn-dd-item .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.06); font-size: 17px; flex: 0 0 auto; }
.rn-dd-item b { display: block; font-size: 13.5px; } .rn-dd-item small { display: block; font-size: 11.5px; color: var(--txt-3); margin-top: 1px; }
.rn-vm .rn-new { background: rgba(255,255,255,.08); color: #fff; box-shadow: none; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 8px 16px; }
.rn-vm .rn-new:hover { background: rgba(255,255,255,.14); }
.rn-credit { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 13px; margin-left: 6px; border-radius: 999px; font-size: 13px; color: #fff;
  background: rgba(124,92,255,.14); border: 1px solid rgba(124,92,255,.38); white-space: nowrap; }
.rn-credit .gem { color: #b9a6ff; font-size: 12px; }
.rn-login { display: inline-flex; align-items: center; height: 38px; padding: 0 20px; margin-left: 8px; border-radius: 999px; font-weight: 800; font-size: 14px; color: #fff;
  background: linear-gradient(120deg, #7c5cff, #a855f7); box-shadow: 0 8px 24px rgba(124,92,255,.45); }
.rn-login:hover { filter: brightness(1.08); }
.rn-acct-head span { margin-top: 4px; } .rn-acct-head span b { color: #cfc6ff; font-size: 11.5px; }

/* floating left dock (desktop) → bottom tab bar (mobile) */
.rn-dock { position: fixed; left: 14px; top: 50%; transform: translateY(-50%); z-index: 35; display: flex; flex-direction: column; gap: 4px; padding: 8px 6px;
  border-radius: 20px; background: rgba(18,17,26,.82); border: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(12px); box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.rn-dock-item { display: flex; flex-direction: column; align-items: center; gap: 3px; width: 56px; padding: 8px 0 7px; border-radius: 14px; color: rgba(243,245,251,.6); font-size: 10.5px; font-weight: 700; }
.rn-dock-item svg { width: 20px; height: 20px; }
.rn-dock-item:hover, .rn-dock-item.on { color: #fff; background: rgba(255,255,255,.07); }
.rn-dock-item.make { color: #fff; background: linear-gradient(140deg, #7c5cff, #a855f7); box-shadow: 0 6px 18px rgba(124,92,255,.4); margin: 2px 0; }
.rn-shell.has-dock .rn-main { padding-left: 96px; }
@media (max-width: 980px) {
  .rn-vm .rn-menu { display: none; }
  .rn-vm .rn-new { display: none; }
  .rn-dock { top: auto; bottom: 0; left: 0; right: 0; transform: none; flex-direction: row; justify-content: space-around; border-radius: 0; padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); border-width: 1px 0 0; }
  .rn-dock-item { width: auto; flex: 1; }
  .rn-dock-item.make { margin: 0 4px; }
  .rn-shell.has-dock .rn-main { padding-left: 14px; padding-bottom: 96px; }
}

/* hero + composer polish */
.sh-eyebrow { display: inline-block; margin-bottom: 14px; padding: 5px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: #cfc6ff; background: rgba(124,92,255,.14); border: 1px solid rgba(124,92,255,.32); }
.sh-title { font-style: normal; }
.sh-title em { font-style: normal; background: linear-gradient(100deg, #b9a6ff, #7c5cff 40%, #e879f9); -webkit-background-clip: text; background-clip: text; }
.sh-tabs { background: rgba(255,255,255,.04); }
.sh-composer { background: linear-gradient(180deg, rgba(30,26,46,.92), rgba(16,15,24,.94)); border-color: rgba(255,255,255,.1);
  box-shadow: 0 0 0 1px rgba(124,92,255,.12), 0 40px 120px rgba(124,92,255,.18), 0 30px 80px rgba(0,0,0,.5); }
.sh-composer.flash { animation: shflash 1.2s ease-out; }
@keyframes shflash { 0% { box-shadow: 0 0 0 3px rgba(168,85,247,.7), 0 40px 120px rgba(124,92,255,.3); } 100% { box-shadow: 0 0 0 1px rgba(124,92,255,.12), 0 40px 120px rgba(124,92,255,.18); } }
.sh-create { background: linear-gradient(120deg, #7c5cff, #a855f7); color: #fff; box-shadow: 0 10px 30px rgba(124,92,255,.45); }

/* gallery */
.sh-gallery { margin-top: 56px; }
.sh-gallery-tabs { gap: 4px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 18px; }
.sh-gtab { padding: 10px 14px; margin-bottom: -1px; font-size: 15px; font-weight: 800; color: var(--txt-3); background: none; border: none; border-bottom: 2px solid transparent; font-family: inherit; cursor: pointer; }
.sh-gtab.on { color: #fff; border-bottom-color: #fff; }
.sh-glink { font-size: 13px; color: var(--txt-2); font-weight: 700; }
.sh-glink:hover { color: #fff; }
.sg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.sg-card { display: flex; flex-direction: column; gap: 9px; text-align: left; color: var(--txt); background: none; border: none; padding: 0; font-family: inherit; cursor: pointer; }
.sg-card-media { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); transition: transform .2s, box-shadow .2s; }
.sg-card:hover .sg-card-media { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(124,92,255,.25); }
.sg-card-thumb { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; transition: opacity .5s; }
.sg-card-thumb.loaded { opacity: 1; }
.sg-card-play { position: absolute; left: 50%; top: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; display: grid; place-items: center; font-size: 14px;
  color: #fff; background: rgba(0,0,0,.45); backdrop-filter: blur(4px); opacity: 0; transition: opacity .2s; }
.sg-card:hover .sg-card-play { opacity: 1; }
.sg-card-badge { position: absolute; left: 8px; top: 8px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; color: #fff; background: rgba(5,5,7,.7); backdrop-filter: blur(4px); }
.sg-card-body b { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg-card-body small { display: block; margin-top: 2px; font-size: 12px; color: var(--txt-3); }
.sg-tpl-ic { position: absolute; left: 12px; bottom: 10px; font-size: 26px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.4)); }
.sg-card-use { position: absolute; right: 10px; bottom: 10px; padding: 6px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 800; color: #111; background: #fff; opacity: 0; transform: translateY(4px); transition: .2s; }
.sg-tpl:hover .sg-card-use { opacity: 1; transform: none; }
.sg-skel .sg-card-media { background: linear-gradient(100deg, rgba(255,255,255,.04) 30%, rgba(255,255,255,.09) 50%, rgba(255,255,255,.04) 70%); background-size: 200% 100%; animation: pvshimmer 1.4s linear infinite; }
.sg-skel b, .sg-skel small { height: 11px; border-radius: 6px; background: rgba(255,255,255,.06); }
.sg-skel b { width: 60%; } .sg-skel small { width: 40%; margin-top: 6px; }
.sg-empty { grid-column: 1 / -1; padding: 40px 20px; text-align: center; border: 1px dashed rgba(255,255,255,.14); border-radius: 16px; }
.sg-empty p { color: var(--txt-2); font-size: 13px; margin: 6px 0 14px; }
.sh-works { max-width: 1280px; margin: 0 auto; }
.sh-works-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; margin: 10px 0 24px; }
.sh-works-head > div { flex: 1; min-width: 240px; }
.sh-works-head h1 { margin: 0 0 6px; font-size: 28px; }
.sh-works-head .sh-create { display: inline-flex; align-items: center; }
@media (max-width: 720px) { .sg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .sh-works-head .sh-create { width: auto; } }
@media (prefers-reduced-motion: reduce) { .sg-skel .sg-card-media, .sh-composer.flash, .rn-dd.open .rn-dd-menu { animation: none; } }

/* protagonist picker */
.sh-cast { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); }
.sh-cast-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.sh-cast-row.off { opacity: .35; pointer-events: none; }
.sh-cast-label { width: 52px; flex: 0 0 auto; font-size: 12.5px; font-weight: 800; color: var(--txt-2); }
.sh-cast-opt { padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--txt-2); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); cursor: pointer; font-family: inherit; transition: .15s; }
.sh-cast-opt:hover { color: #fff; border-color: rgba(168,85,247,.6); }
.sh-cast-opt.on { color: #fff; background: linear-gradient(120deg, rgba(124,92,255,.55), rgba(168,85,247,.55)); border-color: transparent; box-shadow: 0 4px 16px rgba(124,92,255,.35); }
.sh-home.is-karaoke .sh-cast { display: none; }
@media (max-width: 720px) { .sh-cast-label { width: 100%; } }
