/* Wawalu 平台中性样式：发现 / 登录 / 创作 / 我的。雨巷的霓虹风格只出现在作品封面与现场。 */
:root { --bg: #f6f4ef; --card: #fff; --ink: #1d1c1a; --ink2: #5d5a55; --ink3: #8f8a82; --line: #e4e0d8; --accent: #2f5bd3; --ok: #1f8a4c; --warn: #b3561d;
  --font: "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif; }
* { box-sizing: border-box; }
:root:lang(en) { --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", "DejaVu Sans", system-ui, "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Noto Sans SC", "Microsoft YaHei", sans-serif; }   /* 英文（共用语言开关）：本机字体，不加在线字体 */
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.nav { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 22px; padding: 12px clamp(14px, 4vw, 40px); background: rgba(246, 244, 239, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { font-weight: 800; letter-spacing: .02em; font-size: 19px; color: var(--ink); }
.nav .main { display: flex; gap: 4px; }
.nav .main a { color: var(--ink2); padding: 6px 12px; border-radius: 99px; font-size: 15px; }
.nav .main a.on { background: var(--ink); color: #fff; text-decoration: none; }
.lang-btn { flex: none; min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 22px; border: 1px solid var(--line); background: var(--card); color: var(--ink2); font: inherit; font-size: 14px; cursor: pointer; }   /* 语言按钮：aria-pressed=true 表示当前是中文 */
.lang-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.lang-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.who { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 14px; }
.me-chip { display: flex; align-items: center; gap: 7px; color: var(--ink); }
.owner-chip { font-size: 12px; padding: 3px 9px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink2); }
.av { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #3b4b8f, #9a4b8b); color: #fff; font-size: 13px; font-weight: 700; flex: none; }
.av.sm { width: 22px; height: 22px; font-size: 11px; }
.av.lg { width: 56px; height: 56px; font-size: 24px; }
img.pt { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--c, #999); background: #222; flex: none; }
img.pt.mini { width: 26px; height: 26px; border-width: 1.5px; }
.app { max-width: 1120px; margin: 0 auto; padding: 22px clamp(14px, 4vw, 40px) 60px; }
.hero { padding: 26px 0 18px; }
.hero h1 { font-size: clamp(26px, 4vw, 38px); margin: 0 0 8px; letter-spacing: .01em; }
.hero p { color: var(--ink2); margin: 0; max-width: 640px; line-height: 1.6; }
.hero.small h1 { font-size: 28px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 20px; }
.card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 0, 0, .08); text-decoration: none; }
.cover { aspect-ratio: 16 / 8; background: #111 center / cover no-repeat; position: relative; }
.cover .tag { position: absolute; top: 12px; left: 12px; font-size: 12px; padding: 4px 10px; border-radius: 99px; background: rgba(0, 0, 0, .55); color: #fff; backdrop-filter: blur(6px); }
.cover .tag + .tag { left: auto; right: 12px; }
.cover .tag.live { color: #9ff0bd; }
.cover .tag.warn { color: #ffd2a8; }
.card .body { padding: 16px 18px 18px; }
.card h2 { margin: 0 0 8px; font-size: 22px; }
.author { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 14px; color: var(--ink2); }
.author em { margin-left: auto; font-style: normal; font-size: 12.5px; color: var(--ink3); }
.watch { display: flex; gap: 10px; align-items: flex-start; background: #f3f1eb; border-radius: 12px; padding: 10px 12px; margin: 0 0 10px; font-size: 14.5px; line-height: 1.5; }
.watch b { display: block; font-size: 11.5px; color: var(--ink3); font-weight: 600; margin-bottom: 2px; }
.summary { color: var(--ink2); font-size: 14px; margin: 0; line-height: 1.55; }
.kinds { color: var(--ink3); font-size: 13px; margin-top: 18px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin-bottom: 16px; }
.panel.narrow { max-width: 420px; margin: 30px auto; }
.panel h1 { margin: 0 0 12px; font-size: 24px; }
.panel h2 { margin: 0 0 12px; font-size: 18px; }
.form { display: grid; gap: 12px; }
.form.inline { display: flex; gap: 10px; flex-wrap: wrap; }
.form.inline input { flex: 1; min-width: 200px; }
.form label { display: grid; gap: 5px; font-size: 14px; color: var(--ink2); }
input, textarea, select { font: inherit; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.btn { display: inline-block; font: inherit; font-size: 15px; padding: 9px 16px; border-radius: 10px; border: 0; background: var(--ink); color: #fff; cursor: pointer; }
.btn:hover { text-decoration: none; opacity: .9; }
.btn.sm { font-size: 13px; padding: 6px 12px; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn:disabled { opacity: .5; cursor: default; }
.err { color: #b3261e; font-size: 14px; margin: 0; }
.small { font-size: 13px; color: var(--ink2); line-height: 1.55; }
.muted { color: var(--ink3); }
.ok { color: var(--ok); }
.warn { color: var(--warn); }
.row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink); }
.row:first-of-type { border-top: 0; }
.row em { margin-left: auto; font-style: normal; color: var(--accent); font-size: 14px; white-space: nowrap; }
.row b { font-size: 15.5px; }
.row p { margin: 3px 0 0; }
.row:hover { text-decoration: none; }
.thumb { width: 72px; height: 44px; border-radius: 8px; background: #111 center / cover; flex: none; }
.me-head { display: flex; align-items: center; gap: 14px; }
.me-head h1 { margin: 0 0 4px; }
.me-head form { margin-left: auto; flex: none; }
.me-head > div { min-width: 0; } .me-head .small { overflow-wrap: anywhere; } .me-head form .btn { white-space: nowrap; }   /* 窄屏：长邮箱自己换行，“退出登录”按钮不被挤成竖排 */
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th, .tbl td { text-align: left; padding: 7px 8px; border-top: 1px solid var(--line); }
.tbl th { color: var(--ink3); font-weight: 600; }
.kv { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 8px; font-size: 14.5px; }
.foot { text-align: center; color: var(--ink3); font-size: 12px; padding: 20px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px; opacity: 0; transition: .3s; pointer-events: none; max-width: 90vw; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 640px) { .nav { gap: 10px; } .nav .main a { padding: 6px 9px; } .who span { display: none; } .author em { display: none; } }

/* B7：发现页视觉优先——第一个作品是大卡（封面上叠标题与现场状态），下面是网格 */
.feature { display: block; border-radius: 22px; overflow: hidden; background: #0f1119; color: #f4f1ea; border: 1px solid #1e2230; margin-bottom: 22px; transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0, 0, 0, .18); text-decoration: none; }
.f-cover { position: relative; aspect-ratio: 16 / 7; min-height: 260px; background: #111 center 40% / cover no-repeat; }
.f-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 9, 16, .05) 30%, rgba(8, 9, 16, .82) 100%); }
.f-tags { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; z-index: 1; }
.f-tags .tag { font-size: 12px; padding: 4px 10px; border-radius: 99px; background: rgba(0, 0, 0, .55); color: #fff; backdrop-filter: blur(6px); }
.f-tags .tag.live { color: #9ff0bd; } .f-tags .tag.warn { color: #ffd2a8; }
.f-over { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 1; }
.f-over h2 { margin: 2px 0 8px; font-size: clamp(30px, 5vw, 46px); letter-spacing: .04em; color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .5); }
.f-when { margin: 0; font-size: 13px; color: #d9dbe6; }
.f-over .author { display: flex; align-items: center; gap: 8px; margin: 0; color: #e7e3da; font-size: 14px; }
.f-body { padding: 16px 22px 20px; display: grid; gap: 14px; }
.f-watch { display: flex; gap: 12px; align-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; padding: 10px 14px; }
.f-watch b { font-size: 12px; color: #ffb3c7; font-weight: 600; } .f-watch p { margin: 2px 0 0; font-size: 16px; line-height: 1.5; color: #fff; }
.f-watch .portrait, .f-watch img { width: 52px; height: 52px; }
.f-cast { display: flex; gap: 10px; flex-wrap: wrap; }
.f-cast span { display: grid; grid-template-columns: auto 1fr; column-gap: 6px; align-items: center; background: rgba(255, 255, 255, .04); border-radius: 99px; padding: 3px 12px 3px 4px; font-size: 13px; }
.f-cast i { font-style: normal; font-weight: 600; } .f-cast small { grid-column: 2; color: #a9adbd; font-size: 11.5px; margin-top: -2px; }
.f-cast span > :first-child { grid-row: 1 / 3; }
.f-recent { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13.5px; color: #cfd2de; }
.f-recent small { color: #8d91a3; margin-right: 8px; } .f-recent b { color: #fff; }
.f-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.f-foot .summary { color: #a9adbd; font-size: 14px; }
.btn.go { background: #ff7aa8; color: #1a0f18; border: 0; font-weight: 700; padding: 10px 18px; border-radius: 99px; }
.card.invite { border-style: dashed; background: transparent; display: flex; align-items: center; }
.card.invite .body { padding: 22px; } .card.invite h2 { font-size: 20px; }
/* 邀请卡总是独占一整行（不再孤零零占栅格左半边）；宽屏时标题 / 说明 / 按钮横排 */
.cards > .card.invite { grid-column: 1 / -1; }
.card.invite .btn { margin-top: 14px; }
@media (min-width: 641px) {
  .card.invite .body { width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 28px; }
  .card.invite h2, .card.invite .btn { margin: 0; }
}
@media (max-width: 600px) {
  .f-cover { aspect-ratio: 4 / 3.4; min-height: 0; }
  .f-over { left: 16px; right: 16px; bottom: 14px; } .f-body { padding: 14px 16px 18px; }
  .f-watch p { font-size: 15px; } .f-cast span { font-size: 12.5px; }
  .f-foot .btn.go { width: 100%; text-align: center; }
}

.pt.mid { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; background: #1b1f2b; box-shadow: 0 0 0 2px var(--c, #888); flex: none; }
.f-cast .pt.mini { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1.5px var(--c, #888); }

/* A2 · 新建入口 */
.idea-form textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line, #ddd); resize: vertical; box-sizing: border-box; }
.idea-form .btn { align-self: flex-start; }
.sparks { margin-top: 10px; }
.sparks summary { cursor: pointer; color: #6b7280; font-size: 13px; }
.spark-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 4px; }
details.legacy summary { cursor: pointer; color: #6b7280; }
details.legacy form { margin-top: 10px; }

/* B3：手机优先的发现页——你回来了（牵挂/回访变化）→ 封面 + 此刻正在发生 → 说明放最后；手机底部三栏导航 */
.ini { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--c, #888); color: #14161e; font-weight: 800; font-size: 12px; box-shadow: 0 0 0 1.5px rgba(255,255,255,.5); flex: none; }
.ini.mid { width: 52px; height: 52px; font-size: 22px; }
.sec-h { font-size: 17px; margin: 4px 0 10px; }
.returns { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; scroll-snap-type: x mandatory; }
.ret { flex: 0 0 min(300px, 82vw); display: flex; gap: 10px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px; color: var(--ink); scroll-snap-align: start; }
.ret:hover { text-decoration: none; border-color: #bbb; }
.ret .thumb { width: 64px; height: 64px; border-radius: 10px; }
.ret p { margin: 0; font-size: 13px; line-height: 1.45; }
.ret-who { display: flex; align-items: center; gap: 6px; } .ret-who small { color: var(--ink3); font-size: 11px; }
.ret-now { color: var(--ink); } .ret-new { color: var(--accent); font-size: 12px !important; }
.ret-hint { margin: 0 0 14px; }
.now-ev { margin: 0; font-size: 14.5px; line-height: 1.5; }
.now-ev b { display: inline-block; font-size: 11px; padding: 1px 7px; margin-right: 7px; border-radius: 99px; background: #ff7aa8; color: #1a0f18; vertical-align: 1px; }
.card .now-ev { margin: 0 0 10px; color: var(--ink); }
.card .now-ev b { background: #1d1c1a; color: #fff; }
.feature .now-ev { color: #fff; }
.hero.after { padding: 30px 0 4px; border-top: 1px solid var(--line); margin-top: 26px; }
.hero.after h2 { font-size: 18px; margin: 0 0 6px; }
.hero.after p { font-size: 14px; }
@media (max-width: 640px) {
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }
  .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(246, 244, 239, .98); }   /* 有 backdrop-filter 的祖先会让 fixed 子元素相对它定位 */
  .nav .main { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; background: rgba(246, 244, 239, .97); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px)); }
  .nav .main a { text-align: center; padding: 9px 0; font-size: 15px; font-weight: 600; border-radius: 12px; }
  .app { padding-top: 12px; padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }   /* 底部导航条约 52px + 20px 余量 + iOS 安全区：滚到底时最后的内容不被导航条压住 */
  .cards { gap: 14px; }
  .card h2 { font-size: 19px; }
  .foot { padding-bottom: 24px; }   /* 导航条的位置已由 body 的底部内边距让出 */
  /* 手机可点区 ≥44px：主要按钮、底部导航、表单输入 */
  .btn, .btn.sm { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .nav .main a { min-height: 44px; display: flex; align-items: center; justify-content: center; }
  .form input, .form textarea, .form select { min-height: 44px; }
}
.supply-note { background: #fff4e5; border: 1px solid #f0c890; border-radius: 12px; padding: 10px 14px; margin: 0 0 16px; }

/* ───────── creator-align 3/4（2026-10-24）：平台页换成新首页同一套深色视觉 ─────────
   同首页 v3：底色 #07070c、正文 #f4f2ee、黄 #ffe36e（主动作）、薄荷 #7ee0c3（LIVE/成功）、粉 #ff8fb1；
   标题 Bricolage Grotesque、正文 IBM Plex Sans、等宽 IBM Plex Mono（在线字体加载不到时用本机后备）。
   只覆盖颜色、字体与少量质感；布局、功能、中英切换不变。 */
:root {
  --bg: #07070c; --card: #0f0f17; --ink: #f4f2ee; --ink2: #c9c7d1; --ink3: #8d8b97; --line: rgba(255, 255, 255, .1);
  --accent: #7ee0c3; --ok: #7ee0c3; --warn: #ffb45c; --yellow: #ffe36e; --pink: #ff8fb1;
  --display: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif; --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --font: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  color-scheme: dark;
}
:root:lang(en) { --font: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Noto Sans CJK SC", sans-serif; }
html, body { background: var(--bg); color: var(--ink); }
body { background: radial-gradient(120% 60% at 80% -10%, rgba(126, 224, 195, .07), transparent 60%), radial-gradient(90% 50% at -10% 10%, rgba(255, 143, 177, .05), transparent 60%), var(--bg); background-attachment: fixed; }
a { color: var(--accent); }
.nav { background: rgba(7, 7, 12, .78); border-bottom-color: var(--line); }
.brand { font-family: var(--display); font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.nav .main a { color: var(--ink2); }
.nav .main a.on { background: var(--yellow); color: #07070c; }
.lang-btn { background: transparent; border-color: rgba(255, 255, 255, .18); color: var(--ink2); }
.lang-btn[aria-pressed="true"] { background: rgba(255, 227, 110, .1); border-color: var(--yellow); color: var(--yellow); }
.owner-chip { border-color: var(--line); color: var(--ink2); }
.hero h1, .sec-h, .panel h2, .card h2, .f-over h2 { font-family: var(--display); letter-spacing: -.01em; }
.hero h1 { font-weight: 800; }
.hero p { color: var(--ink2); }
.card, .panel { background: var(--card); border-color: var(--line); color: var(--ink); }
.card:hover { box-shadow: 0 0 0 1px rgba(126, 224, 195, .35), 0 12px 40px rgba(0, 0, 0, .45); }
.watch { background: rgba(255, 255, 255, .04); color: var(--ink); }
input, textarea, select { background: #0b0b12; color: var(--ink); border-color: rgba(255, 255, 255, .22); }
input::placeholder, textarea::placeholder { color: var(--ink3); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(126, 224, 195, .15); }
.btn { background: var(--yellow); color: #07070c; font-weight: 600; }
.btn:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid rgba(255, 255, 255, .22); }
.btn.go { background: var(--pink); color: #1a0f18; }
.toast { background: #1a1a24; color: var(--ink); border: 1px solid var(--line); }
.feature { background: #0b0b12; border-color: rgba(126, 224, 195, .25); box-shadow: 0 0 60px rgba(126, 224, 195, .06); }
.card .now-ev b { background: var(--yellow); color: #07070c; }
.supply-note { background: rgba(255, 180, 92, .08); border-color: rgba(255, 180, 92, .35); color: var(--ink2); }
.small, .muted, small { color: var(--ink3); }
details > summary { color: var(--ink2); }
.f-tags .tag, .cover .tag { font-family: var(--mono); letter-spacing: .06em; }
@media (max-width: 640px) {
  .nav { background: rgba(7, 7, 12, .96); }
  .nav .main { background: rgba(7, 7, 12, .96); border-top: 1px solid var(--line); }
  .nav .main a.on { background: var(--yellow); color: #07070c; }
}
.hero h1 { color: var(--ink); }
/* 可点元素 ≥44px（首页同一要求） */
.nav .main a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; }
details > summary { min-height: 44px; display: flex; align-items: center; gap: 6px; cursor: pointer; }
.btn, button { min-height: 44px; }
.btn.sm { min-height: 44px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
input:not([type=checkbox]):not([type=radio]) { min-height: 44px; }
.me-chip { min-height: 44px; }
/* review fixes 2026-10-24: contrast on the dark cards, signed-out "Log in" ≥44px, disclosure marker back */
.err { color: var(--pink); }
.sparks summary, details.legacy summary { color: var(--ink2); }
#who > a:not(.btn):not(.me-chip):not(.owner-chip) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; }
details > summary::before { content: '▸'; font-size: 12px; color: var(--ink3); transition: transform .15s; }
details[open] > summary::before { transform: rotate(90deg); }
details > summary::-webkit-details-marker { display: none; }

/* 创作者社区（发现页，2026-10-26）：顶部介绍 + 统计 + 创作者名片；卡片上的"第 N 位创作者"；空位卡 */
.community { padding: 34px 0 22px; }
.community .c-kicker { margin: 0 0 6px; font: 600 12px/1.3 var(--mono, ui-monospace, monospace); letter-spacing: .14em; text-transform: uppercase; color: var(--mint, #7ee0c3); }
.community h1 { margin: 0 0 10px; font-size: clamp(32px, 5vw, 56px); line-height: 1.02; letter-spacing: -.02em; }
.community .c-lede { margin: 0 0 18px; max-width: 640px; color: var(--ink2); font-size: 17px; line-height: 1.5; }
.c-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.c-stat { display: inline-flex; align-items: baseline; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink2); font-size: 14px; align-items: center; }
.c-stat b { color: var(--ink); font-size: 18px; }
.c-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 6px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink); font-size: 14px; }
.c-chip:hover { border-color: var(--yellow, #ffe36e); text-decoration: none; }
.c-chip small { color: var(--ink3); font-family: var(--mono, ui-monospace, monospace); }
.c-no { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 4px; background: rgba(255, 227, 110, .92); color: #1a1500; font: 600 11px/1.5 var(--mono, ui-monospace, monospace); letter-spacing: .04em; white-space: nowrap; }
.card.slot { border-style: dashed; background: transparent; }
.card.slot .cover { background: repeating-linear-gradient(135deg, rgba(126,224,195,.06) 0 2px, transparent 2px 14px); }
.card.slot h2 { color: var(--mint, #7ee0c3); }
.hero.after { padding-top: 18px; }
/* Creator entry and allowance: the same account can play and create. */
.creator-entry{display:grid;grid-template-columns:1.1fr 1fr;gap:64px;align-items:center;padding:64px 0 80px}
.creator-entry h1{font-size:clamp(38px,5vw,66px);letter-spacing:-.045em;line-height:1.05;margin:18px 0 24px}
.creator-entry .c-lede{font-size:18px;line-height:1.7;color:#bdbbc8;max-width:560px}
.creator-entry-form{padding:32px;border:1px solid #39333c;border-radius:20px;background:linear-gradient(145deg,#211a26,#101015)}
.creator-entry-form h2{font-size:24px;margin-top:0}.creator-entry-form p{line-height:1.65}
.creator-entry-form input{font:inherit;letter-spacing:.08em;min-height:48px}.creator-entry-form .btn{min-height:48px}
.creator-steps{list-style:none;padding:0;counter-reset:steps;display:grid;gap:16px;margin:30px 0}
.creator-steps li{counter-increment:steps;display:flex;align-items:center;gap:14px;color:#dedce6}
.creator-steps li:before{content:counter(steps);display:grid;place-items:center;width:30px;height:30px;border:1px solid #4b4544;border-radius:50%;color:#ffe36e;font-size:13px}
.creator-seed{margin:20px 0;padding:12px 16px;border-left:2px solid #7ee0c3;overflow-wrap:anywhere}
.creator-allowance{display:grid;grid-template-columns:1fr 1.6fr;gap:28px;border-color:#3a4c47;background:linear-gradient(110deg,#14221e,#101015)}
.creator-allowance h2{font-size:32px;margin:8px 0}.creator-allowance h2 small{font-size:15px;font-weight:400;color:#bdbbc8}
@media(max-width:700px){.creator-entry{grid-template-columns:1fr;gap:28px;padding:28px 0 40px}.creator-entry-form{padding:22px}.creator-entry .c-lede{font-size:16px}.creator-allowance{grid-template-columns:1fr;gap:4px}.creator-entry a,.creator-entry button{min-height:44px}.creator-entry-form>p>a{display:inline-flex;align-items:center;min-height:44px}}
.invite-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px}.invite-fields label{min-width:0}.invite-table{overflow-x:auto}#issuedCodes{width:100%;box-sizing:border-box;font:inherit}#ownerInvites details{margin-top:24px}

.work-list-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line,#e6e2dc)}
.work-list-row>.row{flex:1;min-width:0;border-bottom:0}.work-list-row>.row>div{min-width:0;overflow-wrap:anywhere}
.work-list-row>.work-delete{flex-shrink:0;color:#df8075}.work-list-row:last-child{border-bottom:0}
@media(max-width:600px){.work-list-row{gap:8px}.work-list-row>.row{flex-wrap:wrap;gap:8px}.work-list-row>.row em{font-size:12px}}

/* A short return to the alley, with the same flow on touch and desktop. */
.auth-page .main,.auth-page #who{display:none}.auth-page .nav{position:relative}.auth-page .nav .lang-btn{margin-left:auto}
.auth-page #app{max-width:1040px}.auth-entry{display:grid;grid-template-columns:1fr 1fr;margin:32px auto 48px;min-height:640px;border-radius:24px;overflow:hidden;background:var(--card);box-shadow:0 12px 50px #0003}
.auth-scene{background-size:cover;background-position:center;min-height:100%;padding:36px;display:flex;flex-direction:column;justify-content:space-between;color:#fff7ea}.auth-eyebrow{font-size:12px;letter-spacing:.15em}.auth-scene h1{font-size:clamp(30px,3.2vw,44px);line-height:1.3;font-weight:600;letter-spacing:-.04em;margin:0 0 16px}.auth-scene p{font-size:15px;line-height:1.7;color:#eee0d0}
.auth-card.panel{border:0;border-radius:0;padding:40px 32px;margin:0;min-width:0}.auth-card h2{font-size:26px;line-height:1.4;margin:0 0 12px}.auth-lede{font-size:14px;color:var(--ink2);line-height:1.8;margin:0 0 24px}
.auth-card .form{gap:16px}.auth-card .form input{width:100%;min-height:48px;font-size:16px}.auth-password{display:flex;position:relative}.auth-password input{padding-right:72px}.auth-password button{position:absolute;right:4px;top:2px;bottom:2px;border:0;background:none;color:var(--ink2);min-width:60px;min-height:44px;font:inherit;font-size:13px;cursor:pointer}
.auth-submit.btn{background:#7ee0c3;color:#071a16;min-height:48px;width:100%;font-size:16px;border-radius:10px}.auth-reset{justify-self:end;display:inline-flex;align-items:center;min-height:44px;font-size:13px}.auth-switch{font-size:14px;margin:20px 0}.auth-switch a{display:inline-flex;min-height:44px;align-items:center}.auth-guest{display:flex;align-items:center;justify-content:space-between;min-height:48px;border-top:1px solid var(--line);margin-top:12px;padding-top:12px;color:var(--accent)}.auth-card .small{line-height:1.75}.auth-card .err{margin:0}.auth-card a:focus-visible,.auth-card button:focus-visible{outline:3px solid #b48e50;outline-offset:3px}.auth-recovery{line-height:1.8}.auth-recovery input{font-size:16px;min-width:0;width:100%}.auth-recovery button,.auth-recovery a{display:inline-flex;align-items:center;justify-content:center;min-height:44px}
@media(max-width:680px){.auth-page #app{padding:16px 14px}.auth-entry{grid-template-columns:1fr;margin:0 auto 20px;border-radius:18px;min-height:0;max-width:460px}.auth-scene{min-height:184px;padding:24px;background-position:center 39%}.auth-scene h1{font-size:27px;margin:22px 0 0}.auth-scene h1 br{display:none}.auth-scene p{margin:8px 0 0;font-size:13px}.auth-card.panel{padding:26px 22px}.auth-card h2{font-size:23px}.auth-page .foot{padding-top:8px}.auth-lede{margin-bottom:18px}.auth-reset{min-height:44px;display:flex;align-items:center}}
