/* 设计稿：主色工地橙 #C2410C、深灰黑 #17191C、底色 #F3F4F1；字体 Noto Sans SC，数字 IBM Plex Mono */
:root {
  --orange: #C2410C; --orange-dark: #9A3412; --orange-soft: #FFF1E8; --orange-light: #FDBA74;
  --ink: #17191C; --ink2: #2A2D31; --text: #3F444A; --muted: #5B6168; --muted2: #6B7178;
  --bg: #F3F4F1; --card: #FFFFFF; --line: #D9DCD5; --line2: #B9BDB5; --chip: #EEF0EC;
  --ok-bg: #EAF5EC; --ok: #166534; --bad-bg: #FDECEA; --bad: #B42318; --blue-bg: #E8F0FE; --blue: #1E40AF;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif; font-size: 15px; line-height: 1.6; }
a { color: var(--orange); } a:hover { color: var(--orange-dark); }
button, input, select, textarea { font-family: inherit; font-size: 15px; }
.mono { font-family: var(--mono); }
h1 { margin: 0; font-size: 26px; line-height: 1.3; } h2 { margin: 0; font-size: 19px; } h3 { margin: 0; font-size: 16px; }
.muted { color: var(--muted); } .small { font-size: 13px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.between { justify-content: space-between; }
.grow { flex: 1; }

.btn { min-height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.btn.primary { background: var(--orange); border-color: var(--orange); color: #fff; font-weight: 700; }
.btn.primary:hover { background: var(--orange-dark); color: #fff; }
.btn.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.ghost { border-color: var(--line2); }
.btn.small { min-height: 34px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.link { background: none; border: 0; color: var(--orange); cursor: pointer; padding: 0; font-size: 13px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.chip { padding: 4px 12px; border-radius: 999px; border: 1px solid #C9CCC6; background: #fff; color: var(--text); cursor: pointer; font-size: 13px; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.tag { display: inline-block; padding: 1px 8px; border-radius: 6px; font-size: 12px; background: var(--chip); color: var(--text); }
.tag.talking { background: var(--orange-soft); color: var(--orange-dark); } .tag.acting { background: var(--blue-bg); color: var(--blue); }
.tag.scene { background: var(--ok-bg); color: var(--ok); } .tag.image { background: var(--chip); color: var(--text); }
.tag.ok { background: var(--ok-bg); color: var(--ok); } .tag.run { background: var(--orange-soft); color: var(--orange-dark); } .tag.bad { background: var(--bad-bg); color: var(--bad); }
label.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
input[type=text], input[type=number], input[type=password], input[type=search], select, textarea { min-height: 42px; padding: 0 10px; border: 1px solid var(--line2); border-radius: 8px; background: #fff; color: var(--ink); }
textarea { padding: 10px; min-height: 60px; resize: vertical; }

/* 顶部 */
.topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 32px; background: var(--ink); color: var(--bg); position: sticky; top: 0; z-index: 20; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--bg); text-decoration: none; font-weight: 700; font-size: 17px; }
.brand:hover { color: #fff; }
.topbar nav { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; font-size: 14px; }
.topbar nav a { color: #E4E6E1; text-decoration: none; }
.pill { padding: 6px 12px; border-radius: 999px; background: var(--ink2); font-size: 13px; }
.pill strong { font-family: var(--mono); color: var(--orange-light); }

/* 步骤条 */
.steps { background: #fff; border-bottom: 1px solid var(--line); padding: 0 32px; overflow-x: auto; }
.steps ol { max-width: 1200px; margin: 0 auto; padding: 0; list-style: none; display: flex; gap: 4px; }
.steps li { flex: 1 0 130px; padding: 12px 8px; display: flex; align-items: center; gap: 10px; border-bottom: 3px solid transparent; color: var(--muted2); font-size: 14px; cursor: pointer; }
.steps li.now { border-bottom-color: var(--orange); color: var(--ink); font-weight: 700; }
.steps li.done { color: var(--ink); }
.steps .dot { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 13px; background: #E4E6E1; color: var(--text); flex: none; }
.steps li.now .dot { background: var(--orange); color: #fff; } .steps li.done .dot { background: var(--ink); color: #fff; }

main.page { width: 100%; max-width: 1200px; margin: 0 auto; padding: 28px 32px 120px; display: flex; flex-direction: column; gap: 22px; }
.footbar { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 12px 32px; z-index: 15; }
.footbar > div { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }

/* 登录 */
.login { min-height: 100vh; display: flex; flex-wrap: wrap; }
.login .hero { flex: 1 1 420px; background: var(--ink); color: var(--bg); padding: 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.login .hero h1 { font-size: 40px; line-height: 1.25; font-weight: 900; margin-top: 40px; }
.login .hero ol { list-style: none; padding: 0; display: flex; gap: 28px; flex-wrap: wrap; }
.login .hero ol div { font-family: var(--mono); color: var(--orange-light); font-size: 22px; }
.login form { flex: 1 1 380px; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 48px; max-width: 520px; margin: 0 auto; }
.qr { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.qr img { width: 76px; height: 76px; border-radius: 8px; background: #fff; }

/* 网格 */
.grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.thumb { aspect-ratio: 9/16; background: var(--ink2); color: #C9CCC6; border-radius: 10px; display: flex; align-items: center; justify-content: center; overflow: hidden; font-size: 13px; }
.thumb img, .thumb video { width: 100%; height: 100%; object-fit: cover; }
.photo-slot { border: 2px dashed var(--line2); border-radius: 12px; background: #F7F8F5; min-height: 170px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; overflow: hidden; padding: 0; }
.photo-slot img { width: 100%; height: 170px; object-fit: cover; }
.select-card { border: 1px solid var(--line); border-radius: 12px; padding: 10px; background: #fff; cursor: pointer; display: flex; gap: 10px; align-items: center; text-align: left; }
.select-card.on { border: 2px solid var(--orange); }
.select-card .avatar { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--chip); flex: none; }

/* 分镜表 */
table.shots { width: 100%; border-collapse: collapse; background: #fff; font-size: 14px; }
table.shots th { text-align: left; font-weight: 500; color: var(--muted); font-size: 13px; padding: 8px; border-bottom: 1px solid var(--line); background: #F7F8F5; }
table.shots td { padding: 8px; border-bottom: 1px solid #ECEEE9; vertical-align: top; }
table.shots textarea { width: 100%; min-height: 64px; font-size: 14px; }
table.shots select, table.shots input { min-height: 34px; font-size: 13px; }
.shot-cards { display: none; flex-direction: column; gap: 12px; }

/* 弹窗 */
.mask { position: fixed; inset: 0; background: rgba(23,25,28,0.55); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 16px; }
.dialog { background: #fff; border-radius: 16px; padding: 24px; width: 100%; max-width: 460px; display: flex; flex-direction: column; gap: 14px; }
.money { font-family: var(--mono); font-size: 30px; font-weight: 700; color: var(--orange); }
.toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 10px; z-index: 120; max-width: 90vw; }
.toast.bad { background: var(--bad); }
.banner { background: var(--orange-soft); border: 1px solid var(--orange-light); color: var(--orange-dark); padding: 10px 14px; border-radius: 10px; font-size: 14px; }
.banner.bad { background: var(--bad-bg); border-color: #F5B5AE; color: var(--bad); }
.progress { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; } .progress > div { height: 6px; background: var(--orange); }

/* 安全区预览 */
.phone { width: 100%; max-width: 340px; aspect-ratio: 9/16; border-radius: 18px; background: var(--ink2); position: relative; overflow: hidden; }
.phone video { width: 100%; height: 100%; object-fit: cover; display: block; }
.phone .zone { position: absolute; background: rgba(194,65,12,0.28); color: #FFE8D6; font-size: 12px; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.style-card { text-align: left; padding: 12px; border-radius: 12px; background: #fff; cursor: pointer; display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--line); }
.style-card.on { border: 2px solid var(--orange); }
.style-card .swatch { height: 64px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 900; }

@media (max-width: 760px) {
  .topbar, .steps, .footbar { padding-left: 16px; padding-right: 16px; }
  main.page { padding: 18px 16px 120px; }
  .login .hero { padding: 28px 20px; } .login .hero h1 { font-size: 28px; margin-top: 12px; } .login form { padding: 28px 20px; }
  .steps li { flex: 0 0 auto; } .steps li span.lbl { display: none; } .steps li.now span.lbl { display: inline; }
  table.shots { display: none; } .shot-cards { display: flex; }
  h1 { font-size: 22px; }
}

/* ===== 第二版界面 ===== */
.ink { color: var(--ink); }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.45); border-top-color: #fff; display: inline-block; animation: spin 0.8s linear infinite; flex: none; vertical-align: middle; }
.spin.dark { border-color: rgba(23,25,28,0.18); border-top-color: var(--orange); }
.spin.sm { width: 12px; height: 12px; margin-right: 4px; }
.btn.ghost .spin, .btn:not(.primary):not(.dark) .spin { border-color: rgba(23,25,28,0.18); border-top-color: var(--orange); }
@keyframes spin { to { transform: rotate(360deg); } }
.btn.busy { opacity: 1; cursor: progress; }
.btn.big { min-height: 48px; padding: 0 24px; font-size: 16px; }
.btn.danger { border-color: #F5B5AE; color: var(--bad); background: #fff; }
.btn.danger:hover { background: var(--bad-bg); }
.banner { display: flex; align-items: center; gap: 10px; }

/* 顶栏：余额 + 头像 */
.avatar-link { display: inline-flex; align-items: center; gap: 8px; color: #E4E6E1; text-decoration: none; position: relative; }
.topbar nav a.avatar-link:hover { color: #fff; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--orange); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.avatar-link .dot { position: absolute; left: 24px; top: -2px; width: 10px; height: 10px; border-radius: 50%; background: #FB923C; border: 2px solid var(--ink); }

/* 首页 */
main.home { width: 100%; max-width: 1100px; margin: 0 auto; padding: 56px 32px 80px; display: flex; flex-direction: column; gap: 32px; }
.home-hero h1 { font-size: 36px; font-weight: 900; }
.home-hero p { margin: 8px 0 0; color: var(--muted); font-size: 16px; }
.home-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.home-card { min-height: 220px; border-radius: 18px; border: 0; display: flex; flex-direction: column; text-align: left; font: inherit; overflow: hidden; }
.home-card .icon { width: 56px; height: 56px; border-radius: 14px; background: rgba(255,255,255,0.16); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.home-card .txt { display: flex; flex-direction: column; gap: 8px; }
.home-card .big { font-size: 24px; font-weight: 900; line-height: 1.3; }
.home-card .sub, .home-card .meta { font-size: 14px; }
.home-card.new { background: var(--orange); color: #fff; padding: 28px; gap: 24px; cursor: pointer; justify-content: space-between; }
.home-card.new:hover { background: var(--orange-dark); }
.home-card.new .sub { color: #FFE8D6; }
.home-card.draft { background: #3A3E43; color: #F3F4F1; }
.draft-main { flex: 1; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; color: #F3F4F1; text-decoration: none; }
a.draft-main:hover { background: #33373C; color: #fff; }
.draft-main .meta { display: flex; flex-direction: column; gap: 6px; color: #C9CCC6; }
.draft-main .meta strong { color: #fff; font-weight: 500; font-size: 15px; }
.bars { display: flex; gap: 4px; max-width: 260px; }
.bars span { flex: 1; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.18); }
.bars span.done { background: #E4E6E1; } .bars span.now { background: var(--orange-light); }
.draft-all { display: flex; justify-content: space-between; padding: 14px 28px; border-top: 1px solid rgba(255,255,255,0.12); color: #E4E6E1; text-decoration: none; font-size: 14px; }
.draft-all:hover { color: #fff; background: #33373C; }

/* 我的 */
.me-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 28px 32px 80px; display: flex; gap: 28px; align-items: flex-start; }
.me-menu { flex: 0 0 200px; display: flex; flex-direction: column; gap: 2px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px; position: sticky; top: 76px; }
.me-menu a { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: 14px; }
.me-menu a:hover { background: var(--chip); color: var(--ink); }
.me-menu a.on { background: var(--ink); color: #fff; font-weight: 700; }
.me-menu a.on .muted { color: #C9CCC6; }
.me-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.me-overview { display: flex; flex-direction: column; gap: 20px; }
.big-num { font-size: 32px; font-weight: 700; line-height: 1.3; }
.me-sec, .sec { display: flex; flex-direction: column; gap: 12px; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.list-card { padding: 0; overflow: hidden; }
.list-row { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-bottom: 1px solid #ECEEE9; flex-wrap: wrap; }
.list-row:last-child { border-bottom: 0; }
.works-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.work { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.work-thumb { position: relative; aspect-ratio: 9/16; background: var(--ink2); }
.work-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.badge-new { position: absolute; left: 8px; top: 8px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 6px; }
.work-info { padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; }
.asset-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.asset { display: flex; flex-direction: column; gap: 8px; padding: 12px; }
.asset-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--chip); }
.asset-img.tall { aspect-ratio: 3/4; }

/* 第 1 步 */
.pick-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.pick-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 10px; cursor: pointer; }
.pick-card.on { border: 2px solid var(--orange); padding: 9px; }
.pick-img { aspect-ratio: 1; border-radius: 10px; background: #ECEDEA; overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--muted2); font-size: 13px; }
.pick-img img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.pick-new { border: 2px dashed var(--line2); border-radius: 14px; background: #F7F8F5; min-height: 200px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--ink); text-decoration: none; }
.pick-new:hover { border-color: var(--orange); color: var(--ink); }
.plus { font-size: 28px; line-height: 1; color: var(--orange); }
.pick-grid.voices { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.voice-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; cursor: pointer; }
.voice-card.on { border: 2px solid var(--orange); padding: 9px 11px; }
.voice-new { border: 2px dashed var(--line2); border-radius: 12px; padding: 10px 12px; display: flex; align-items: center; justify-content: center; color: var(--ink); text-decoration: none; min-height: 62px; }
.voice-new:hover { border-color: var(--orange); color: var(--ink); }
.play { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line2); background: #fff; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex: none; font-size: 13px; }
.play.on, .play:hover { border-color: var(--orange); color: var(--orange); }
.play:disabled { opacity: 0.4; cursor: not-allowed; }

/* 新建人物 / 新建声音 */
.narrow { width: 100%; max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.narrow-bar { max-width: 860px !important; }
.grid2 { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.grid3 { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.field2 { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.persona-slot { aspect-ratio: 3/4; border-radius: 12px; background: #F7F8F5; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--muted2); font-size: 13px; overflow: hidden; }
.persona-slot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.photo-slot input[type=file] { display: none; }
.read-card { border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #fff; }
.read-card.now { border: 2px solid var(--orange); padding: 13px; background: #FFFBF7; }
.pill-btn { min-height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line2); background: #fff; color: var(--ink); cursor: pointer; font-size: 13px; }
.pill-btn.go { background: var(--orange); border-color: var(--orange); color: #fff; }
.pill-btn.rec { background: var(--bad); border-color: var(--bad); color: #fff; }
.pill-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* 第 3 步 */
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 160px; color: var(--muted); text-align: center; }
table.shots tr.rewriting td { background: #FFFBF7; opacity: 0.7; }
.link:disabled { opacity: 0.4; cursor: not-allowed; }
.link { text-align: left; display: inline-flex; align-items: center; }

/* 第 4 步 */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); }
.tabs button { background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 16px; cursor: pointer; color: var(--muted); font-size: 15px; }
.tabs button.on { border-bottom-color: var(--orange); color: var(--ink); font-weight: 700; }
.look-grid { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.look-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 10px; cursor: pointer; }
.look-card.on { border: 2px solid var(--orange); padding: 9px; }
.look-img { aspect-ratio: 3/4; border-radius: 10px; background: var(--chip); overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0; }
.look-img img { width: 100%; height: 100%; object-fit: cover; }
.fav { flex: none; background: #fff; border: 1px solid var(--line2); border-radius: 999px; padding: 3px 10px; cursor: pointer; font-size: 13px; color: var(--text); white-space: nowrap; }
.fav.on { border-color: var(--orange-light); background: var(--orange-soft); color: var(--orange-dark); }

/* 第 5、6 步 */
.gen-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.gen-card { display: flex; flex-direction: column; gap: 8px; padding: 12px; }
.col-center { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; }
.seg { display: inline-flex; border: 1px solid var(--line2); border-radius: 10px; overflow: hidden; }
.seg button { background: #fff; border: 0; padding: 8px 14px; cursor: pointer; font-size: 13px; color: var(--text); }
.seg button.on { background: var(--ink); color: #fff; }
.style-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

/* 第三版：盖在内容上的"正在生成"、看大图、网络提示 */
.cover-wrap { position: relative; }
.cover-wrap.covered > .cover-body { opacity: 0.25; pointer-events: none; transition: opacity .2s; }
.cover { position: absolute; inset: 0; display: flex; align-items: flex-start; padding-top: 56px !important; justify-content: center; gap: 10px; color: var(--orange-dark); font-weight: 700; font-size: 16px; text-align: center; padding: 16px; min-height: 120px; }
.cover .spin { width: 22px; height: 22px; }
.cover-wrap.covered { min-height: 140px; }
.fail-line { color: var(--bad); font-size: 14px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.fail-line .link { font-size: 14px; }
.zoomable { cursor: zoom-in; position: relative; display: block; width: 100%; height: 100%; }
.zoomable video, video.zoomable { width: 100%; height: 100%; object-fit: cover; display: block; }
.play-badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(23,25,28,0.6); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; pointer-events: none; }
.play-badge.big { width: 64px; height: 64px; font-size: 22px; }
.lightbox { position: fixed; inset: 0; background: rgba(10,11,12,0.88); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.lightbox img, .lightbox video { max-width: 100%; max-height: 100%; border-radius: 10px; background: #000; }
.lightbox video { cursor: default; }
.net { position: fixed; top: 64px; left: 50%; transform: translateX(-50%); z-index: 150; background: #fff; border: 1px solid var(--orange-light); color: var(--orange-dark); padding: 8px 16px; border-radius: 999px; display: flex; gap: 8px; align-items: center; font-size: 14px; box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.persona-slot.face, .asset-img.face { aspect-ratio: 1; background: #ECEDEA; }
.persona-slot.face img, .asset-img.face { object-fit: contain; object-position: center; }
.persona-slot img { cursor: zoom-in; }
button.asset { font: inherit; text-align: left; cursor: pointer; color: inherit; }
button.asset:hover { border-color: var(--orange); }
.list-row.clickable { cursor: pointer; } .list-row.clickable:hover { background: #F7F8F5; }
.dialog.wide { max-width: 640px; }
.btn.primary:disabled:not(.busy) { background: #D9DCD5; border-color: #D9DCD5; color: #fff; opacity: 1; }
.thumb .zoomable img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 760px) {
  main.home { padding: 28px 16px 60px; }
  .home-hero h1 { font-size: 26px; }
  .home-cards, .grid2 { grid-template-columns: 1fr; }
  .home-card { min-height: 180px; }
  .me-wrap { flex-direction: column; padding: 18px 16px 60px; }
  .me-menu { position: static; flex: none; width: 100%; flex-direction: row; overflow-x: auto; }
  .me-menu a { white-space: nowrap; gap: 6px; }
  .look-grid { grid-template-columns: 1fr 1fr; }
  .grid3 { gap: 8px; }
  .topbar nav .avatar-link { font-size: 0; } .avatar-link .avatar { font-size: 14px; }
}
