/* AR品牌营销 (application/controllers/Areditor.php, 视图 application/views/areditor/) 的样式
 * - 公共样式: 所有页面
 * - 各页面样式: body.ae-xxx (见 include/head.php 的 $body_class)
 * - 浅色主题: body.light (控制台、应用管理), 放在最后以覆盖页面样式
 */

/* ======== 公共样式 ======== */
/* AR品牌营销 内页通用样式 (与 intro.php 同一套黑金风格) */
:root {
    --bg: #0a0710; --ink: #f4efe6; --text: rgba(244, 239, 230, .72); --muted: rgba(244, 239, 230, .46);
    --gold-1: #f3dfb2; --gold-2: #c9a46a; --hair: rgba(201, 164, 106, .28); --danger: #ff9b9b;
    --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
    --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
body {
    margin: 0; min-height: 100vh; color: var(--text); font-family: var(--sans); line-height: 1.7; -webkit-font-smoothing: antialiased;
    background: radial-gradient(60% 70% at 85% 10%, rgba(120, 44, 160, .28), transparent 70%), radial-gradient(50% 60% at 0% 100%, rgba(201, 164, 106, .1), transparent 70%), var(--bg);
}
a { color: inherit; text-decoration: none; }
.shell { max-width: 1040px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px) 48px; }
/* 页面底部版权信息 (include/foot.php): 内容不满一屏时贴在窗口底部 */
body:not(.ae-intro) { display: flex; flex-direction: column; }
body:not(.ae-intro) > .shell { width: 100%; }
.ae-foot { margin-top: auto; padding: 20px clamp(16px, 4vw, 40px) 26px; border-top: 1px solid var(--line, var(--hair)); text-align: center; font-size: 12.5px; line-height: 1.9; letter-spacing: .04em; color: var(--muted); }
.ae-foot a { color: inherit; text-decoration: none; transition: color .2s; }
.ae-foot a:hover { color: var(--accent, var(--gold-1)); }
.ae-foot span { margin: 0 6px; opacity: .6; }
.top { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 40px; background: #fff; border-radius: 10px; padding: 1px; }
.brand span { font-size: 13px; letter-spacing: .32em; color: var(--ink); }
.top-link { font-size: 13px; letter-spacing: .16em; color: var(--muted); transition: color .2s; }
.top-link:hover { color: var(--gold-1); }
.top-right { display: flex; align-items: center; gap: 22px; }
.top-user { font-size: 13px; color: var(--ink); letter-spacing: .08em; }
.top-user:before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: #5fd47d; vertical-align: middle; }
.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 10px; font-size: 12px; letter-spacing: .08em; border: 1px solid rgba(244, 239, 230, .18); color: var(--text); white-space: nowrap; }
.badge.ok { border-color: rgba(95, 212, 125, .45); color: #8fe3a5; }
.badge.wait { border-color: rgba(201, 164, 106, .55); color: var(--gold-1); }
.badge.no { border-color: rgba(255, 155, 155, .45); color: var(--danger); }
.badge.gold { border-color: transparent; background: rgba(201, 164, 106, .16); color: var(--gold-1); }
.notice { margin: 0 0 24px; padding: 12px 16px; border: 1px solid rgba(201, 164, 106, .4); background: rgba(201, 164, 106, .08); color: var(--gold-1); font-size: 14px; }
.btn-gold.sm { height: 42px; padding: 0 22px; font-size: 14px; letter-spacing: .16em; }
.btn-gold.off { filter: grayscale(.8) brightness(.6); cursor: not-allowed; transform: none; }
.eyebrow { display: flex; align-items: center; gap: 14px; font-size: 12px; letter-spacing: .38em; color: var(--gold-2); text-transform: uppercase; }
.eyebrow:before { content: ''; width: 40px; height: 1px; background: var(--gold-2); }
h1 { font-family: var(--serif); font-weight: 600; color: var(--ink); letter-spacing: .06em; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.3; margin: 16px 0 8px; }
.sub { margin: 0 0 32px; color: var(--muted); }
.panel { position: relative; border: 1px solid var(--hair); background: linear-gradient(180deg, rgba(23, 16, 31, .9), rgba(14, 10, 20, .9)); padding: clamp(20px, 4vw, 40px); }
.panel:before { content: ''; position: absolute; inset: 8px; border: 1px solid rgba(201, 164, 106, .1); pointer-events: none; }
.btn-gold {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 40px; border: 0; border-radius: 2px; cursor: pointer;
    font: 600 16px/1 var(--sans); letter-spacing: .24em; color: #1a1208;
    background: linear-gradient(120deg, var(--gold-1) 0%, var(--gold-2) 50%, #e8cf98 100%);
    box-shadow: 0 14px 34px rgba(201, 164, 106, .2), inset 0 1px 0 rgba(255, 255, 255, .5); transition: filter .2s, transform .2s;
}
.btn-gold:hover { filter: brightness(1.06); transform: translateY(-1px); }

/* ======== 介绍页 /areditor (黑金风格, 一屏, 微信扫码登录弹窗) (body.ae-intro) ======== */
body.ae-intro {
    --bg: #0a0710; --ink: #f4efe6; --text: rgba(244, 239, 230, .72); --muted: rgba(244, 239, 230, .46);
    --gold-1: #f3dfb2; --gold-2: #c9a46a; --gold-3: #8f6d3d; --hair: rgba(201, 164, 106, .28);
    --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
    --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}
body.ae-intro * { box-sizing: border-box; }
body.ae-intro { height: 100%; }
body.ae-intro { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); line-height: 1.7; -webkit-font-smoothing: antialiased; }
body.ae-intro a { color: inherit; text-decoration: none; }
/* one screen: header / content / value strip */
body.ae-intro .page {
    position: relative; min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto auto;
    padding: 0 clamp(24px, 5vw, 72px); overflow: hidden; isolation: isolate;
}
body.ae-intro .page:before {
    content: ''; position: absolute; inset: 0; z-index: -2;
    background: url(/public/assets/img/bg_home.jpg?v=1.05) right center / cover; opacity: .16; filter: saturate(.6);
}
body.ae-intro .page:after {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background:
    radial-gradient(60% 70% at 85% 30%, rgba(120, 44, 160, .35), transparent 70%),
    radial-gradient(50% 60% at 10% 90%, rgba(201, 164, 106, .12), transparent 70%),
    linear-gradient(90deg, var(--bg) 30%, rgba(10, 7, 16, .7) 100%);
}
body.ae-intro .frame { position: absolute; inset: 18px; border: 1px solid var(--hair); pointer-events: none; z-index: -1; }
body.ae-intro .top { display: flex; align-items: center; justify-content: space-between; height: 92px; }
body.ae-intro .brand { display: flex; align-items: center; gap: 14px; }
body.ae-intro .brand img { height: 40px; background: #fff; border-radius: 10px; padding: 1px; }
body.ae-intro .brand span { font-size: 13px; letter-spacing: .32em; color: var(--ink); }
body.ae-intro .back { font-size: 13px; letter-spacing: .2em; color: var(--muted); transition: color .2s; }
body.ae-intro .back:hover { color: var(--gold-1); }
body.ae-intro .main { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding: 2vh 0; }
body.ae-intro .eyebrow { display: flex; align-items: center; gap: 14px; font-size: 12px; letter-spacing: .38em; color: var(--gold-2); text-transform: uppercase; }
body.ae-intro .eyebrow:before { content: ''; width: 40px; height: 1px; background: var(--gold-2); }
body.ae-intro h1 {
    font-family: var(--serif); font-weight: 600; color: var(--ink); letter-spacing: .06em;
    font-size: clamp(36px, 5.2vw, 72px); line-height: 1.22; margin: 3vh 0 2.4vh;
}
body.ae-intro h1 em {
    font-style: normal;
    background: linear-gradient(100deg, var(--gold-1) 0%, var(--gold-2) 55%, var(--gold-1) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
body.ae-intro .lead { max-width: 520px; font-size: clamp(14px, 1.15vw, 16px); margin: 0 0 4.5vh; }
body.ae-intro .invite-note { max-width: 520px; margin: -2vh 0 3vh; padding: 10px 14px; border: 1px solid rgba(201, 164, 106, .45); background: rgba(201, 164, 106, .08); color: var(--gold-1); font-size: 13px; }
/* 邀请链接无效 / 已过期 (views/areditor/invite.php) */
body.ae-invite .main { grid-template-columns: minmax(0, 640px); min-height: calc(100vh - 220px); }
body.ae-invite .btn-login { text-decoration: none; }
body.ae-intro .alert { max-width: 520px; margin: -2vh 0 3vh; padding: 10px 14px; border: 1px solid rgba(255, 120, 120, .4); background: rgba(255, 90, 90, .08); color: #ffb3b3; font-size: 13px; }
/* WeChat QR login modal (style: 'black' = white text on the dark card) */
body.ae-intro .modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(5, 3, 9, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
body.ae-intro .modal[hidden] { display: none; }
body.ae-intro .modal-card {
    position: relative; width: 380px; max-width: 100%; padding: 34px 32px 28px; text-align: center;
    background: linear-gradient(180deg, #17101f, #0e0a14); border: 1px solid var(--hair); box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}
body.ae-intro .modal-card:before { content: ''; position: absolute; inset: 8px; border: 1px solid rgba(201, 164, 106, .12); pointer-events: none; }
body.ae-intro .modal-close { position: absolute; right: 14px; top: 10px; z-index: 1; width: 32px; height: 32px; border: 0; background: none; color: var(--muted); font-size: 26px; line-height: 1; cursor: pointer; }
body.ae-intro .modal-close:hover { color: var(--gold-1); }
body.ae-intro .modal-eyebrow { font-size: 11px; letter-spacing: .4em; color: var(--gold-2); }
body.ae-intro .qr { min-height: 400px; display: grid; place-items: center; }
body.ae-intro .qr iframe { width: 300px; height: 400px; display: block; }
body.ae-intro .qr-loading { font-size: 13px; color: var(--muted); }
body.ae-intro .modal-tip { margin: 0; font-size: 13px; color: var(--muted); }
body.ae-intro .btn-login {
    border: 0; cursor: pointer; font-family: inherit;
    display: inline-flex; align-items: center; gap: 14px; height: 64px; padding: 0 46px;
    font-size: 18px; font-weight: 600; letter-spacing: .24em; color: #1a1208; border-radius: 2px;
    background: linear-gradient(120deg, var(--gold-1) 0%, var(--gold-2) 50%, #e8cf98 100%);
    box-shadow: 0 18px 40px rgba(201, 164, 106, .22), inset 0 1px 0 rgba(255, 255, 255, .5);
    transition: transform .25s, box-shadow .25s, filter .25s;
}
body.ae-intro .btn-login:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 22px 48px rgba(201, 164, 106, .32), inset 0 1px 0 rgba(255, 255, 255, .5); }
body.ae-intro .btn-login svg { width: 24px; height: 24px; flex: none; }
body.ae-intro .tip { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; color: var(--muted); letter-spacing: .04em; }
body.ae-intro .tip svg { width: 15px; height: 15px; flex: none; color: #5fd47d; }
/* eight scenarios */
body.ae-intro .scenes { border-top: 1px solid var(--hair); }
body.ae-intro .scenes h2 { display: flex; justify-content: space-between; align-items: baseline; margin: 0; padding: 18px 0 10px; font-weight: 400; font-size: 12px; letter-spacing: .38em; color: var(--gold-2); }
body.ae-intro .scenes h2 b { font-family: var(--serif); font-weight: 600; font-size: 18px; letter-spacing: .12em; color: var(--ink); }
body.ae-intro .scene { display: grid; grid-template-columns: 34px 88px 1fr; align-items: baseline; gap: 10px; padding: 1.25vh 0; border-bottom: 1px solid rgba(244, 239, 230, .08); transition: background .2s; }
body.ae-intro .scene:hover { background: linear-gradient(90deg, rgba(201, 164, 106, .08), transparent); }
body.ae-intro .scene i { font-style: normal; font-family: var(--serif); font-size: 13px; color: var(--gold-2); }
body.ae-intro .scene strong { font-family: var(--serif); font-weight: 600; font-size: 16px; color: var(--ink); letter-spacing: .08em; }
body.ae-intro .scene span { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* value strip */
body.ae-intro .values { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hair); border-bottom: 1px solid rgba(244, 239, 230, .08); }
body.ae-intro .value { padding: 2.6vh 24px 3vh 0; }
body.ae-intro .value + .value { padding-left: 24px; border-left: 1px solid rgba(244, 239, 230, .08); }
body.ae-intro .value strong { display: block; font-family: var(--serif); font-weight: 600; font-size: 15px; letter-spacing: .1em; color: var(--ink); margin-bottom: 4px; }
body.ae-intro .value span { font-size: 12.5px; color: var(--muted); }
body.ae-intro .legal { text-align: right; padding: 12px 0 30px; font-size: 11px; color: rgba(244, 239, 230, .3); letter-spacing: .06em; }
body.ae-intro .legal a:hover { color: var(--gold-1); }
@media (max-width: 1100px) {
    body.ae-intro .scene { grid-template-columns: 30px 80px 1fr; }
    body.ae-intro .values { grid-template-columns: repeat(2, 1fr); }
    body.ae-intro .value:nth-child(3) { padding-left: 0; border-left: 0; }
    body.ae-intro .legal { text-align: center; }
}
@media (max-width: 760px) {
    body.ae-intro .main { grid-template-columns: 1fr; gap: 40px; padding: 24px 0 32px; }
    body.ae-intro .top { height: 76px; }
    body.ae-intro .btn-login { height: 58px; padding: 0 34px; font-size: 16px; }
    body.ae-intro .values { grid-template-columns: 1fr 1fr; }
    body.ae-intro .value { padding: 18px 12px 18px 0; }
    body.ae-intro .value + .value { padding-left: 12px; }
    body.ae-intro .value:nth-child(odd) { padding-left: 0; border-left: 0; }
    body.ae-intro .scene { grid-template-columns: 30px 1fr; row-gap: 0; padding: 10px 0; }
    body.ae-intro .scene span { grid-column: 2; white-space: normal; }
    body.ae-intro .frame { inset: 10px; }
}

/* ======== 注册 / 修改资料 (/areditor/register, /areditor/profile) (body.ae-register) ======== */
body.ae-register .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
body.ae-register .field label { display: block; margin-bottom: 8px; font-size: 13px; letter-spacing: .12em; color: var(--ink); }
body.ae-register .field label b { color: var(--gold-2); font-weight: 400; margin-left: 4px; }
body.ae-register .field input {
    width: 100%; height: 48px; padding: 0 14px; border: 1px solid rgba(244, 239, 230, .14); border-radius: 2px; outline: none;
    background: rgba(0, 0, 0, .25); color: var(--ink); font: 15px var(--sans); transition: border-color .2s, background .2s;
}
body.ae-register .field input:focus { border-color: var(--gold-2); background: rgba(0, 0, 0, .4); }
body.ae-register .field.err input { border-color: var(--danger); }
body.ae-register .msg { display: block; margin-top: 6px; font-size: 12.5px; color: var(--danger); }
body.ae-register .msg p { margin: 0; }
body.ae-register .scenes-field { grid-column: 1 / -1; }
body.ae-register .scenes-field .hint { font-size: 12px; color: var(--muted); letter-spacing: 0; margin-left: 8px; }
body.ae-register .chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
body.ae-register .chip { position: relative; cursor: pointer; }
body.ae-register .chip input { position: absolute; opacity: 0; pointer-events: none; }
body.ae-register .chip span {
    display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px; border: 1px solid rgba(244, 239, 230, .14);
    font-family: var(--serif); font-size: 15px; letter-spacing: .08em; color: var(--text); transition: border-color .2s, background .2s, color .2s;
}
body.ae-register .chip span:before { content: ''; width: 14px; height: 14px; flex: none; border: 1px solid rgba(244, 239, 230, .3); transition: background .2s, border-color .2s; }
body.ae-register .chip:hover span { border-color: rgba(201, 164, 106, .5); }
body.ae-register .chip input:checked + span { border-color: var(--gold-2); background: rgba(201, 164, 106, .1); color: var(--ink); }
body.ae-register .chip input:checked + span:before { border-color: var(--gold-2); background: var(--gold-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1208' stroke-width='4'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 10px no-repeat; }
body.ae-register .chip input:focus-visible + span { outline: 1px solid var(--gold-1); outline-offset: 2px; }
body.ae-register .actions { margin-top: 34px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
body.ae-register .actions small { color: var(--muted); font-size: 12.5px; }
@media (max-width: 760px) {
    body.ae-register .grid { grid-template-columns: 1fr; }
    body.ae-register .chips { grid-template-columns: 1fr 1fr; }
    body.ae-register .btn-gold { width: 100%; }
}

/* ======== 控制台 /areditor/dashboard (body.ae-dashboard) ======== */
body.ae-dashboard .shell { max-width: none; }
/* 全屏宽度 */
body.ae-dashboard .sec { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 8px 0 18px; }
body.ae-dashboard .sec h2 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 20px; letter-spacing: .12em; color: var(--ink); }
body.ae-dashboard .sec h2 small { margin-left: 10px; font-family: var(--sans); font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
body.ae-dashboard .sec-right { display: flex; align-items: center; gap: 14px; }
body.ae-dashboard .sec-right .hint { font-size: 12.5px; color: var(--muted); }
body.ae-dashboard .apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 18px; }
/* app card: light "paper" card on the dark page, dark text for easy reading */
body.ae-dashboard .app {
    --c-ink: #1f1830; --c-text: #4a4258; --c-muted: #8a8197; --c-line: #e6dccb;
    position: relative; display: block; padding: 26px 28px 20px; border-radius: 4px; color: var(--c-text);
    background: linear-gradient(180deg, #fdfaf4 0%, #f6efe2 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .28); transition: transform .2s, box-shadow .2s;
}
body.ae-dashboard .app:before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 4px 4px 0 0; background: linear-gradient(90deg, var(--gold-1), var(--gold-2), var(--gold-1)); }
body.ae-dashboard .app:hover { transform: translateY(-3px); box-shadow: 0 22px 48px rgba(0, 0, 0, .4), 0 0 0 1px var(--gold-2); }
body.ae-dashboard .app-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
body.ae-dashboard .app-name { margin: 0; font-family: var(--serif); font-weight: 700; font-size: 21px; letter-spacing: .04em; line-height: 1.35; color: var(--c-ink); overflow-wrap: anywhere; }
body.ae-dashboard .app-id { display: inline-flex; align-items: baseline; gap: 8px; margin-top: 8px; padding: 3px 10px; border-radius: 3px; background: rgba(31, 24, 48, .06); font-size: 13px; color: var(--c-text); }
body.ae-dashboard .app-id code { font: 13px ui-monospace, Consolas, monospace; color: var(--c-ink); letter-spacing: .02em; }
body.ae-dashboard .app-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0 0; }
body.ae-dashboard .app-meta dt { font-size: 12px; color: var(--c-muted); letter-spacing: .1em; }
body.ae-dashboard .app-meta dd { margin: 2px 0 0; font-size: 12px; color: var(--c-ink); }
body.ae-dashboard .app-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--c-line); font-size: 13px; color: var(--c-muted); }
body.ae-dashboard .app-foot .go { color: #8f6d3d; font-weight: 600; letter-spacing: .12em; transition: color .2s; }
body.ae-dashboard .app:hover .go { color: var(--c-ink); }
body.ae-dashboard .app .badge { height: 26px; padding: 0 12px; border-radius: 13px; border: 0; font-size: 13px; font-weight: 600; letter-spacing: .06em; }
body.ae-dashboard .app .badge:before { content: ''; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: currentColor; }
body.ae-dashboard .empty { text-align: center; padding: 56px 24px; }
body.ae-dashboard .empty h3 { margin: 0 0 6px; font-family: var(--serif); font-size: 20px; color: var(--ink); letter-spacing: .1em; }
body.ae-dashboard .empty p { margin: 0 0 26px; color: var(--muted); }
@media (max-width: 860px) {
    body.ae-dashboard .apps { grid-template-columns: 1fr; }
    body.ae-dashboard .sec { flex-wrap: wrap; }
}

/* ======== 添加应用 /areditor/create_account (body.ae-create) ======== */
body.ae-create .pending-title { margin: 0 0 6px; color: var(--ink); font-family: var(--serif); font-size: 18px; letter-spacing: .08em; }
body.ae-create .pending-text { margin: 0 0 24px; color: var(--muted); }
body.ae-create .form { max-width: 640px; }
body.ae-create .field + .field { margin-top: 22px; }
body.ae-create .field label { display: block; margin-bottom: 8px; font-size: 13px; letter-spacing: .12em; color: var(--ink); }
body.ae-create .field label b { color: var(--gold-2); font-weight: 400; margin-left: 4px; }
body.ae-create .field input {
    width: 100%; height: 48px; padding: 0 14px; border: 1px solid rgba(244, 239, 230, .14); border-radius: 2px; outline: none;
    background: rgba(0, 0, 0, .25); color: var(--ink); font: 15px var(--sans); transition: border-color .2s, background .2s;
}
body.ae-create .field input.mono { font-family: ui-monospace, Consolas, monospace; letter-spacing: .04em; }
body.ae-create .field input:focus { border-color: var(--gold-2); background: rgba(0, 0, 0, .4); }
body.ae-create .field.err input { border-color: var(--danger); }
body.ae-create .field .help { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
body.ae-create .msg { display: block; margin-top: 6px; font-size: 12.5px; color: var(--danger); }
body.ae-create .msg p { margin: 0; }
body.ae-create .rules { margin: 28px 0 0; padding: 16px 18px; border-left: 2px solid var(--gold-2); background: rgba(201, 164, 106, .06); font-size: 13px; color: var(--text); }
body.ae-create .rules li + li { margin-top: 4px; }
body.ae-create .rules ul { margin: 0; padding-left: 18px; }
body.ae-create .actions { margin-top: 30px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
@media (max-width: 760px) {
    body.ae-create .btn-gold { width: 100%; }
}

/* ======== 应用管理 /areditor/app/{AppID}: 侧栏、场景配额、列表、表单、获取代码弹窗 (body.ae-app) ======== */
body.ae-app .form-note { margin: 0 0 22px; color: var(--muted); }
body.ae-app .notice.notice-error { border-color: rgba(255, 155, 155, .45); color: var(--danger); background: rgba(255, 90, 90, .06); }
body.ae-app .shell { max-width: none; }
/* 全屏宽度 */
body.ae-app .page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
body.ae-app .back-link { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px 0 10px; border: 1px solid var(--line, var(--hair)); border-radius: 17px; background: #fff; font-size: 13px; letter-spacing: .08em; color: var(--text); white-space: nowrap; transition: color .2s, border-color .2s; }
body.ae-app .back-link svg { width: 15px; height: 15px; }
body.ae-app .back-link:hover { color: var(--accent); border-color: var(--accent); }
body.ae-app .layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 22px; }
body.ae-app .side-col { position: sticky; top: 24px; }
body.ae-app .side { border: 1px solid var(--hair); background: linear-gradient(180deg, rgba(23, 16, 31, .9), rgba(14, 10, 20, .9)); padding: 18px 0 10px; }
body.ae-app .side-app { display: block; padding: 0 20px 4px; }
body.ae-app .side-app small { display: block; font-size: 11px; letter-spacing: .3em; color: var(--gold-2); }
body.ae-app .side-app strong { display: block; margin-top: 4px; font-family: var(--serif); font-weight: 400; font-size: 17px; letter-spacing: .06em; color: var(--ink); overflow-wrap: anywhere; }
body.ae-app .side-app span { display: block; margin-top: 2px; font: 11.5px ui-monospace, Consolas, monospace; color: var(--muted); }
body.ae-app .side-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px; margin: 0 0 8px; padding: 14px 20px 16px; border-bottom: 1px solid rgba(244, 239, 230, .08); }
body.ae-app .side-meta dt { font-size: 11px; letter-spacing: .14em; color: var(--muted); }
body.ae-app .side-meta dd { margin: 2px 0 0; font-size: 13.5px; color: var(--ink); white-space: nowrap; }
body.ae-app .side-meta dd.ok { color: #8fe3a5; }
body.ae-app .side-meta dd.wait { color: var(--gold-1); }
body.ae-app .side-meta dd.no { color: var(--danger); }
body.ae-app .side a.item { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 20px; font-size: 14px; letter-spacing: .12em; color: var(--text); border-left: 2px solid transparent; transition: background .2s, color .2s; }
body.ae-app .side a.item:hover { color: var(--ink); background: rgba(201, 164, 106, .06); }
body.ae-app .side a.item.on { color: var(--gold-1); border-left-color: var(--gold-2); background: rgba(201, 164, 106, .1); }
body.ae-app .side a.item svg { width: 16px; height: 16px; flex: none; opacity: .8; }
/* scene quota bar */
/* 场景设置表单: 标题 + 分区 (按钮 / 加载背景 / 状态与语言), 图片上传块可即时预览 */
body.ae-app .scene-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
body.ae-app .scene-head h2 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: .04em; color: var(--ink); }
body.ae-app .chips { display: flex; gap: 8px; flex-wrap: wrap; }
body.ae-app .chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 13px; background: var(--soft, rgba(244, 239, 230, .06)); border: 1px solid var(--line, var(--hair)); font-size: 12px; color: var(--muted); }
body.ae-app .chip code { font: 12px ui-monospace, Consolas, monospace; color: var(--ink); }
body.ae-app .form-sec { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line, var(--hair)); }
body.ae-app .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
body.ae-app .field-row .field + .field { margin-top: 0; }
body.ae-app .field .hint { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
body.ae-app .stat { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; padding: 12px 18px; border: 1px solid var(--hair); background: linear-gradient(120deg, rgba(201, 164, 106, .1), rgba(23, 16, 31, .6) 60%); }
body.ae-app .stat-label { font-size: 12px; letter-spacing: .16em; color: var(--gold-2); white-space: nowrap; }
body.ae-app .stat-num { font-family: var(--serif); font-size: 22px; line-height: 1; color: var(--ink); white-space: nowrap; }
body.ae-app .stat-num small { font-size: 14px; color: var(--muted); }
body.ae-app .stat-item { display: flex; align-items: center; gap: 12px; flex: 0 1 auto; }
body.ae-app .stat-item + .stat-item { padding-left: 16px; border-left: 1px solid var(--hair); }
body.ae-app .stat-item .bar { flex-basis: 120px; width: 120px; }
body.light .stat-item + .stat-item { border-left-color: var(--line); }
body.ae-app .bar { flex: 0 1 220px; height: 4px; background: rgba(244, 239, 230, .1); border-radius: 2px; overflow: hidden; }
body.ae-app .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-1), var(--gold-2)); }
body.ae-app .bar.full i { background: #e07a7a; }
body.ae-app .stat-tip { flex: 1 1 240px; min-width: 0; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
body.ae-app .stat-act { margin-left: auto; display: flex; align-items: center; gap: 12px; }
body.ae-app .stat-act .btn-gold.sm { height: 36px; padding: 0 16px; font-size: 13px; letter-spacing: .12em; }
body.ae-app .stat-act small { order: -1; font-size: 12px; color: var(--muted); }
body.ae-app .tbl { width: 100%; border-collapse: collapse; }
body.ae-app .tbl th { text-align: left; font-weight: 400; font-size: 12px; letter-spacing: .16em; color: var(--gold-2); padding: 0 12px 12px 0; border-bottom: 1px solid var(--hair); }
body.ae-app .tbl td { padding: 14px 12px 14px 0; border-bottom: 1px solid rgba(244, 239, 230, .07); color: var(--ink); vertical-align: top; }
body.ae-app .tbl td small { display: block; color: var(--muted); font-size: 12px; }
body.ae-app .tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
body.ae-app .tbl a.link { color: var(--gold-2); }
body.ae-app .tbl a.link:hover { color: var(--gold-1); }
body.ae-app .tbl .badge { height: 24px; padding: 0 11px; border: 0; border-radius: 12px; font-weight: 400; letter-spacing: .06em; }
body.ae-app .tbl .badge:before { content: ""; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: currentColor; }
body.ae-app .tbl td.ops { text-align: right; white-space: nowrap; vertical-align: middle; }
body.ae-app .btn-open { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; margin-right: 6px; border: 1px solid var(--gold-2); color: var(--gold-1); font-size: 13px; letter-spacing: .08em; vertical-align: middle; transition: background .2s, color .2s; }
body.ae-app .btn-open:hover { background: var(--gold-2); color: #1a1208; }
body.ae-app .ico { display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid rgba(244, 239, 230, .14); background: none; color: var(--text); cursor: pointer; vertical-align: middle; transition: border-color .2s, color .2s; }
body.ae-app .ico + .ico { margin-left: 4px; }
body.ae-app .ico svg { width: 15px; height: 15px; }
body.ae-app .ico:hover { border-color: var(--gold-2); color: var(--gold-1); }
body.ae-app .ico.del:hover { border-color: var(--danger); color: var(--danger); }
/* 获取代码 弹窗 */
body.ae-app .modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(5, 3, 9, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
body.ae-app .modal[hidden] { display: none; }
body.ae-app .modal-card { position: relative; width: 560px; max-width: 100%; max-height: calc(100vh - 32px); overflow-y: auto; padding: 28px 30px; background: linear-gradient(180deg, #17101f, #0e0a14); border: 1px solid var(--hair); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
body.ae-app .modal-card h3 { margin: 6px 0 16px; font-family: var(--serif); font-size: 20px; color: var(--ink); letter-spacing: .06em; }
body.ae-app .modal-close { position: absolute; right: 14px; top: 10px; width: 32px; height: 32px; border: 0; background: none; color: var(--muted); font-size: 26px; cursor: pointer; }
body.ae-app .modal-close:hover { color: var(--gold-1); }
body.ae-app .code-tabs { display: flex; margin-bottom: 18px; border-bottom: 1px solid var(--hair); }
body.ae-app .code-tabs button { padding: 8px 16px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; color: var(--muted); font: 14px var(--sans); cursor: pointer; }
body.ae-app .code-tabs button.on { color: var(--gold-1); border-bottom-color: var(--gold-2); }
body.ae-app .code-pane[hidden] { display: none; }
body.ae-app .qr { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 18px; }
body.ae-app .qr img { background: #fff; padding: 6px; }
body.ae-app .qr a { color: var(--gold-2); font-size: 13px; }
body.ae-app .mp-box { display: grid; place-items: center; width: 220px; height: 220px; }
body.ae-app .mp-box img { width: 100%; height: 100%; object-fit: contain; }
body.ae-app .mp-box img[hidden], body.ae-app .mp-box span[hidden], body.ae-app .qr a[hidden] { display: none; }
body.ae-app .mp-box span { font-size: 13px; color: var(--muted); text-align: center; }
body.ae-app .mp-box span.err { color: var(--danger); }
body.ae-app .qr small, body.ae-app .code-help { font-size: 12px; color: var(--muted); }
body.ae-app .code-pane label { display: block; margin-bottom: 6px; font-size: 13px; color: var(--ink); }
body.ae-app .copy-row { display: flex; gap: 8px; align-items: center; }
body.ae-app .copy-row span { flex: 1; }
body.ae-app .copy-row input, body.ae-app .code-pane textarea { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid rgba(244, 239, 230, .14); background: rgba(0, 0, 0, .3); color: var(--ink); font: 12.5px/1.5 ui-monospace, Consolas, monospace; }
body.ae-app .code-pane textarea { width: 100%; resize: vertical; margin-bottom: 8px; }
body.ae-app .copy-row button, body.ae-app .copy-row a { height: 38px; padding: 0 14px; border: 1px solid var(--gold-2); background: none; color: var(--gold-1); font: 13px var(--sans); cursor: pointer; display: inline-flex; align-items: center; }
body.ae-app .copy-row button:hover, body.ae-app .copy-row a:hover { background: var(--gold-2); color: #1a1208; }
body.ae-app .empty { padding: 36px 0 20px; text-align: center; color: var(--muted); }
body.ae-app .pager { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; font-size: 13px; color: var(--muted); }
body.ae-app .pager a { color: var(--gold-2); }
body.ae-app .pager a:hover { color: var(--gold-1); }
body.ae-app .field + .field { margin-top: 22px; }
body.ae-app .field label { display: block; margin-bottom: 8px; font-size: 13px; letter-spacing: .12em; color: var(--ink); }
body.ae-app .field label b { color: var(--gold-2); font-weight: 400; margin-left: 4px; }
body.ae-app .field input, body.ae-app .field select {
    width: 100%; height: 48px; padding: 0 14px; border: 1px solid rgba(244, 239, 230, .14); border-radius: 2px; outline: none;
    background: rgba(0, 0, 0, .25); color: var(--ink); font: 15px var(--sans);
}
body.ae-app .field select option { background: #17101f; }
body.ae-app .field textarea {
    display: block; width: 100%; padding: 10px 14px; border: 1px solid rgba(244, 239, 230, .14); border-radius: 2px; outline: none; resize: vertical;
    background: rgba(0, 0, 0, .25); color: var(--ink); font: 15px/1.6 var(--sans);
}
body.ae-app .field input:focus, body.ae-app .field select:focus, body.ae-app .field textarea:focus { border-color: var(--gold-2); }
body.ae-app .field.err input { border-color: var(--danger); }
body.ae-app .msg { display: block; margin-top: 6px; font-size: 12.5px; color: var(--danger); }
body.ae-app .msg p { margin: 0; }
/* 场景列表: 分配成员 */
body.ae-app .tbl td.assign { white-space: nowrap; }
body.ae-app .tbl td.assign .none { color: var(--muted); }
body.ae-app #assign-modal .modal-card { width: 440px; }
body.ae-app #assign-modal .actions { margin-top: 22px; }
body.ae-app .actions { margin-top: 30px; display: flex; align-items: center; gap: 22px; }
@media (max-width: 860px) {
    body.ae-app .layout { grid-template-columns: minmax(0, 1fr); }
    body.ae-app .side-col { position: static; }
    body.ae-app .stat-act { margin-left: 0; }
    body.ae-app .stat-item { flex: 1 1 100%; }
    body.ae-app .stat-item + .stat-item { padding-left: 0; border-left: 0; }
    body.ae-app .field-row { grid-template-columns: minmax(0, 1fr); }
    body.ae-app .field-row .field + .field { margin-top: 22px; }
    body.ae-app .tbl-wrap { overflow-x: auto; }
}

/* ======== 浅色主题 (body.light) ======== */
/* ---- 浅色主题 (<body class="light">: 控制台、应用管理), 便于阅读 ---- */
body.light {
    --bg: #f5f6f8; --ink: #1d1729; --text: #464b57; --muted: #8a8f9a; --hair: rgba(176, 138, 74, .32); --danger: #b3261e;
    --accent: #8a6a2f; --line: #e6e8ec; --soft: #f8f9fb;
    background: var(--bg);
}
/* 顶部棕色渐变横条, 内容区浅色 */
body.light .top {
    margin: 0 calc(-1 * clamp(16px, 4vw, 40px)) 26px; padding: 0 clamp(16px, 4vw, 40px); height: 72px;
    background: linear-gradient(90deg, #2e1b0e 0%, #4e3019 55%, #6e4724 100%); border-bottom: 1px solid rgba(201, 164, 106, .55);
}
body.light .top .brand span, body.light .top .top-user { color: #f4efe6; }
body.light .top .top-link { color: rgba(244, 239, 230, .62); }
body.light .top .top-link:hover { color: #f3dfb2; }
body.light .top-link:hover { color: var(--accent); }
body.light .eyebrow { color: var(--accent); }
body.light .eyebrow:before { background: var(--accent); }
body.light .panel { background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 18px rgba(20, 24, 40, .06); }
body.light .panel:before { display: none; }
body.light .notice { border-color: rgba(176, 138, 74, .4); background: #fbf5e8; color: var(--accent); }
body.light .badge { border-color: var(--line); color: var(--text); }
body.light .badge.ok { border-color: #bfe3c9; background: #e8f6ec; color: #1d7a3e; }
body.light .badge.wait { border-color: #f0dcae; background: #fbf1da; color: #94600c; }
body.light .badge.no { border-color: #f3c6c6; background: #fbe8e8; color: #b03030; }
body.light .badge.gold { background: #f6eedd; color: var(--accent); }
/* 按钮: 棕色渐变底 + 白色文字 (同顶部横条) */
body.light .btn-gold { background: linear-gradient(120deg, #2e1b0e 0%, #4e3019 55%, #6e4724 100%); color: #fff; box-shadow: 0 6px 16px rgba(46, 27, 14, .25); }
body.light .btn-gold:hover { background: linear-gradient(120deg, #3d2513 0%, #603c1f 55%, #82552b 100%); filter: none; }
body.light .btn-gold.off { background: #c9ccd3; color: #fff; box-shadow: none; filter: none; }
/* 应用管理: 侧栏、配额、列表、表单、获取代码弹窗 */
body.light .side { background: #fff; border-color: var(--line); box-shadow: 0 4px 18px rgba(20, 24, 40, .06); }
body.light .side-app small, body.light .side-meta dt { color: var(--muted); }
body.light .side-meta { border-color: var(--line); }
body.light .side-meta dd.ok { color: #1d7a3e; }
body.light .side-meta dd.wait { color: #94600c; }
body.light .side a.item:hover { background: var(--soft); }
body.light .side a.item.on { color: var(--accent); border-left-color: var(--accent); background: #f8f1e3; }
body.light .stat { background: #fff; border-color: var(--line); box-shadow: 0 4px 18px rgba(20, 24, 40, .06); }
body.light .stat-label, body.light .tbl th { color: var(--accent); }
body.light .bar { background: #eceef2; }
body.light .tbl th { border-color: var(--line); }
body.light .tbl td { border-color: #eef0f3; }
body.light .tbl tr:hover td { background: var(--soft); }
body.light .tbl a.link, body.light .pager a { color: var(--accent); }
body.light .btn-open { border-color: #4e3019; background: linear-gradient(120deg, #2e1b0e 0%, #4e3019 55%, #6e4724 100%); color: #fff; }
body.light .btn-open:hover { border-color: #603c1f; background: linear-gradient(120deg, #3d2513 0%, #603c1f 55%, #82552b 100%); color: #fff; }
body.light .ico { border-color: var(--line); color: var(--text); background: #fff; }
body.light .ico:hover { border-color: var(--accent); color: var(--accent); }
body.light .field input, body.light .field select { background: #fff; border-color: #d9dce2; color: var(--ink); }
body.light .field select option { background: #fff; }
body.light .field textarea { background: #fff; border-color: #d9dce2; color: var(--ink); }
body.light .field input:focus, body.light .field select:focus, body.light .field textarea:focus { border-color: var(--accent); }
body.light .field label b { color: var(--accent); }
body.light .modal { background: rgba(40, 30, 20, .35); }
body.light .modal-card { background: #fff; border-color: var(--line); box-shadow: 0 30px 80px rgba(40, 30, 10, .25); }
body.light .modal-close:hover { color: var(--accent); }
body.light .code-tabs { border-color: var(--line); }
body.light .code-tabs button.on { color: var(--accent); border-bottom-color: var(--accent); }
body.light .qr img { border: 1px solid var(--line); }
body.light .qr a { color: var(--accent); }
body.light .copy-row input, body.light .code-pane textarea { background: var(--soft); border-color: var(--line); color: var(--ink); }
body.light .copy-row button, body.light .copy-row a { border-color: #4e3019; background: linear-gradient(120deg, #2e1b0e 0%, #4e3019 55%, #6e4724 100%); color: #fff; }
body.light .copy-row button:hover, body.light .copy-row a:hover { border-color: #603c1f; background: linear-gradient(120deg, #3d2513 0%, #603c1f 55%, #82552b 100%); color: #fff; }
/* 控制台: 应用卡片 (白色卡片, 金色顶边) */
body.light .app { background: #fff; box-shadow: 0 4px 18px rgba(20, 24, 40, .08); }
body.light .app:hover { box-shadow: 0 16px 36px rgba(20, 24, 40, .14), 0 0 0 1px var(--gold-2); }
body.light .empty h3 { color: var(--ink); }

/* 列表 (场景 / 成员 / 日志): 表头浅底色, 内容垂直居中, 场景名称 + 编号, 分配成员头像, 操作图标成组 */
body.light .panel.tbl-wrap { padding: 0; }
body.light .tbl-wrap .empty { padding: 48px 24px; }
body.light .tbl-wrap .pager { padding: 4px 28px 16px; }
body.light .tbl th { padding: 13px 16px; background: #faf8f4; border-bottom: 1px solid var(--line); font-size: 12px; letter-spacing: .12em; color: #8a7a5c; white-space: nowrap; }
body.light .tbl td { padding: 16px; vertical-align: middle; font-size: 14px; color: var(--text); }
body.light .tbl th:first-child, body.light .tbl td:first-child { padding-left: 28px; }
body.light .tbl th:last-child, body.light .tbl td:last-child { padding-right: 28px; }
body.light .tbl tr:last-child td { border-bottom: 0; }
body.light .tbl tr:hover td { background: #fcfaf6; }
body.light .tbl th.ops { text-align: right; }
body.light .tbl-scenes td.name strong { display: block; font-weight: 400; font-size: 14px; color: var(--ink); }
body.light .tbl-scenes td.name code { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; font: 12px ui-monospace, Consolas, monospace; color: var(--muted); }
body.light .tbl-scenes td.time { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--text); }
body.light .tbl-scenes td.time small { display: inline; margin-left: 8px; font-size: inherit; }
/* 版本号 */
body.light .tbl-scenes td.ver { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink); }
body.light .tbl-scenes td.ver .unpublished { color: var(--muted); }
body.light .tbl-scenes td.assign .none { color: var(--muted); }
body.light .tbl-scenes .person { color: var(--ink); }
body.light .tbl-scenes .btn-open { height: 32px; margin-right: 10px; padding: 0 14px; border-radius: 6px; font-size: 13px; }
/* 发布版本 (打开编辑器左侧), 版本管理的通过: 次要按钮; 审核中不显示 */
body.light .tbl-scenes .btn-publish { border: 1px solid #4e3019; background: #fff; color: #4e3019; font-family: inherit; cursor: pointer; }
body.light .tbl-scenes .btn-publish:hover { border-color: #4e3019; background: #4e3019; color: #fff; }
body.light .tbl-scenes .btn-reject { border: 1px solid #e3b4b4; background: #fff; color: #b03030; font-family: inherit; cursor: pointer; }
body.light .tbl-scenes .btn-reject:hover { border-color: #b03030; background: #b03030; color: #fff; }
body.light .tbl-scenes td.review-state { white-space: nowrap; }
body.light .ico-group { display: inline-flex; vertical-align: middle; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; }
body.light .ico-group .ico { width: 34px; height: 30px; border: 0; border-radius: 0; background: none; color: #6b7080; }
body.light .ico-group .ico + .ico { margin-left: 0; border-left: 1px solid var(--line); }
body.light .ico-group .ico:hover { background: #f8f4ec; color: var(--accent); }
body.light .ico-group .ico.del:hover { background: #fdf1f0; color: var(--danger); }
body.light .ico-group .ico:disabled, body.light .ico-group .ico:disabled:hover { background: none; color: #6b7080; opacity: .35; cursor: not-allowed; }
body.light .tbl td:first-child { color: var(--ink); }

/* 一次性提示 (.notice.flash): 5 秒后淡出 (include/foot.php) */
.notice.flash { transition: opacity .4s ease, transform .4s ease; }
.notice.flash.flash-out { opacity: 0; transform: translateY(-6px); }
body.light .tbl-scenes td.name code svg { width: 12px; height: 12px; flex: none; opacity: .8; }

/* 版本管理 (tbl-versions): 审核结果是审核时间和拒绝理由; 预览弹窗中小程序码下面是更新摘要 */
body.ae-app .preview-memo { padding-top: 14px; border-top: 1px solid var(--line); }
body.ae-app .preview-memo[hidden] { display: none; }
body.ae-app .preview-memo-label { margin-bottom: 6px; font-size: 12px; letter-spacing: .08em; color: var(--muted); }
body.ae-app .preview-memo p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink); white-space: pre-wrap; word-break: break-word; }
body.light .tbl-versions td.when, body.light .tbl-versions td.person { white-space: nowrap; }
body.light .tbl-versions td.when small, body.light .tbl-versions td.review small { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }
body.light .tbl-versions td.review { max-width: 160px; white-space: normal; word-break: break-word; }
body.light .tbl-versions td.review .none { color: var(--muted); }
body.light .tbl-versions td.ops .btn-open { margin: 0 0 0 6px; }
body.light .tbl-versions .inline-form { display: inline; }
body.light .tbl-versions .js-preview { font-family: inherit; cursor: pointer; }
/* 查看日志 (tbl-log): 编号、访客 openid (中间隐藏)、访问次数 */
body.light .tbl-log td.id { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
body.light .tbl-log td.visitor { color: var(--ink); white-space: nowrap; }
body.light .tbl-log td.visitor small { display: block; margin-top: 3px; color: var(--muted); }
body.light .tbl-log td.hits { color: var(--ink); font-variant-numeric: tabular-nums; }
body.light .tbl-log td.name .none { color: var(--muted); }

/* 已停用的应用 (acc_state = 10) */
body.light .app-disabled { max-width: 640px; margin: 28px auto 0; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 56px 24px; text-align: center; }
body.light .app-disabled svg { width: 44px; height: 44px; color: var(--danger); }
body.light .app-disabled h3 { margin: 6px 0 0; font-family: var(--serif); font-size: 20px; letter-spacing: .08em; color: var(--ink); }
body.light .app-disabled p { max-width: 460px; margin: 0 0 12px; color: var(--muted); font-size: 14px; }
body.light .app-disabled.pending svg { color: #c98a1b; }

/* 访问统计 (stats): 周期切换、汇总卡片、每日访客柱状图 (单系列, 悬停提示)、场景排行 */
body.light .range-tabs { display: inline-flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
body.light .range-tabs a { padding: 6px 14px; font-size: 13px; color: var(--text); white-space: nowrap; }
body.light .range-tabs a + a { border-left: 1px solid var(--line); }
body.light .range-tabs a:hover { background: var(--soft); color: var(--accent); }
body.light .range-tabs a.on { background: #f8f1e3; color: var(--accent); font-weight: 600; }
body.light .kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
body.light .kpi { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 18px rgba(20, 24, 40, .06); }
body.light .kpi span { font-size: 12px; letter-spacing: .12em; color: #8a7a5c; }
body.light .kpi strong { font-family: var(--serif); font-size: 28px; line-height: 1.1; font-weight: 400; color: var(--ink); font-variant-numeric: tabular-nums; }
body.light .kpi small { font-size: 12.5px; color: var(--muted); }
body.light .chart-panel { position: relative; margin-bottom: 16px; padding: 22px 28px 18px; }
body.light .chart-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
body.light .chart-head h3 { margin: 0; font-family: var(--serif); font-size: 17px; font-weight: 400; letter-spacing: .06em; color: var(--ink); }
body.light .chart-head small { font-size: 12.5px; color: var(--muted); }
body.light .chart { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: 200px auto; }
body.light .chart-y { display: flex; flex-direction: column; justify-content: space-between; padding-right: 8px; margin: -7px 0; text-align: right; font-size: 11.5px; line-height: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
body.light .chart-plot { position: relative; border-bottom: 1px solid #d9dce2;
    background: linear-gradient(#eef0f3, #eef0f3) 0 0 / 100% 1px no-repeat, linear-gradient(#eef0f3, #eef0f3) 0 50% / 100% 1px no-repeat; }
body.light .chart-bars { position: absolute; inset: 0; display: flex; align-items: stretch; gap: 2px; }
body.light .chart-bars .col { flex: 1 1 0; min-width: 0; display: flex; align-items: flex-end; justify-content: center; outline: none; cursor: default; }
body.light .chart-bars .col i { display: block; width: 100%; max-width: 28px; border-radius: 4px 4px 0 0; background: var(--accent); }
body.light .chart-bars .col:hover, body.light .chart-bars .col:focus-visible { background: rgba(138, 106, 47, .07); }
body.light .chart-bars .col:hover i, body.light .chart-bars .col:focus-visible i { background: #5e471d; }
body.light .chart-x { display: flex; gap: 2px; padding-top: 6px; font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
body.light .chart-x span { flex: 1 1 0; min-width: 0; text-align: center; white-space: nowrap; overflow: visible; display: flex; justify-content: center; }
body.light .chart-tip { position: absolute; z-index: 5; padding: 6px 10px; border-radius: 4px; background: #1d1729; color: #fff; font-size: 12.5px; white-space: nowrap; pointer-events: none; box-shadow: 0 6px 16px rgba(20, 24, 40, .2); }
body.light .chart-tip[hidden] { display: none; }
body.light .chart-table { margin-top: 16px; font-size: 13px; }
body.light .chart-table summary { cursor: pointer; color: var(--accent); }
body.light .chart-table .tbl { margin-top: 10px; }
body.light .chart-table .tbl th, body.light .chart-table .tbl td { padding: 8px 12px; }
body.light .tbl-rank td.id { width: 56px; color: var(--muted); font-variant-numeric: tabular-nums; }
body.light .tbl-rank td.name strong .badge { height: 20px; padding: 0 8px; font-size: 12px; font-weight: 400; vertical-align: 2px; }
body.light .tbl-rank td.name strong .badge:before { display: none; }
body.light .tbl-rank td.name .none { color: var(--muted); }
body.light .tbl-rank td.hits { color: var(--ink); }
body.light .tbl-rank td.share { width: 180px; white-space: nowrap; }
body.light .tbl-rank td.share .bar { display: inline-block; width: 110px; height: 6px; margin-right: 10px; vertical-align: middle; }
body.light .tbl-rank td.share small { display: inline; font-variant-numeric: tabular-nums; }
body.light .rank-tip { display: block; padding: 0 28px 16px; font-size: 12px; color: var(--muted); }
/* 修改角色弹窗 */
body.ae-app #role-modal .modal-card { width: 460px; }
body.light .role-help { margin: 16px 0 0; padding: 0; list-style: none; font-size: 12.5px; line-height: 1.7; color: var(--muted); }
body.light .role-help b { display: inline-block; min-width: 48px; font-weight: 600; color: var(--ink); }
body.ae-app #role-modal .actions { margin-top: 22px; }
/* 删除场景弹窗 */
body.ae-app #del-modal .modal-card { width: 460px; }
body.ae-app #del-modal .notice { margin: 0; line-height: 1.7; }
body.ae-app #del-modal .actions { margin-top: 22px; }
body.ae-app .btn-gold.btn-danger { background: #b3261e; color: #fff; box-shadow: 0 10px 24px rgba(179, 38, 30, .22); }
body.ae-app .btn-cancel { height: 42px; padding: 0 22px; border: 1px solid var(--hair); background: none; color: var(--text); font-size: 14px; cursor: pointer; }
body.ae-app .btn-cancel:hover { color: var(--ink); }
@media (max-width: 860px) {
    body.light .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.light .chart-panel { padding: 18px 16px 14px; }
    body.light .chart { grid-template-columns: 36px minmax(0, 1fr); grid-template-rows: 160px auto; }
    body.light .tbl-rank .share { display: none; }
    body.light .tbl-rank td.id { width: auto; }
    body.light .rank-tip { padding: 0 16px 16px; }
}
/* 成员管理: 最后访问 (时间、IP 两行小字) */
body.light .tbl td.last-visit { white-space: nowrap; }
body.light .tbl td.last-visit small { font-size: 12px; line-height: 1.6; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ======== 控制台标签: 我的应用 / 创意手册 / 技术接口 (dashboard.php, handbook.php, api.php) ======== */
/* 平台三大板块: 三张大卡片, 当前板块为棕色渐变底 + 下方指示三角 */
body.light .dash-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0 0 20px; }
/* 当前板块的内容放在一个统一的面板里 (浅暖色底, 里面的卡片保持白色) */
body.light .dash-panel { padding: 30px 32px 34px; background: #faf8f4; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 6px 24px rgba(20, 24, 40, .06); }
body.light .dash-panel > .sec:first-child { margin-top: 0; }
body.light .dash-tab { position: relative; display: flex; align-items: flex-start; gap: 18px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 4px 18px rgba(20, 24, 40, .06); color: var(--text); transition: transform .25s, box-shadow .25s, border-color .25s; }
body.light .dash-tab:hover { transform: translateY(-2px); border-color: var(--gold-2); box-shadow: 0 14px 32px rgba(20, 24, 40, .12); }
body.light .dash-ico { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: #f8f1e3; color: var(--accent); transition: background .25s, color .25s; }
body.light .dash-ico svg { width: 28px; height: 28px; }
body.light .dash-txt { display: flex; flex-direction: column; min-width: 0; }
body.light .dash-txt small { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); }
body.light .dash-txt strong { margin-top: 2px; font-family: var(--serif); font-size: 22px; font-weight: 700; letter-spacing: .1em; line-height: 1.35; color: var(--ink); }
body.light .dash-txt span { margin-top: 6px; font-size: 13px; line-height: 1.6; color: var(--muted); }
body.light .dash-tab.on { border-color: transparent; background: linear-gradient(120deg, #2e1b0e 0%, #4e3019 55%, #6e4724 100%); box-shadow: 0 16px 36px rgba(46, 27, 14, .3); }
body.light .dash-tab.on:hover { transform: none; }
body.light .dash-tab.on:after { content: ''; position: absolute; left: 50%; bottom: -9px; width: 18px; height: 18px; margin-left: -9px; background: #4e3019; transform: rotate(45deg); }
body.light .dash-tab.on .dash-ico { background: rgba(243, 223, 178, .16); color: var(--gold-1); }
body.light .dash-tab.on .dash-txt strong { color: #fff; }
body.light .dash-tab.on .dash-txt span { color: rgba(244, 239, 230, .72); }
/* 创意手册 */
body.light .hb-hero { padding: 30px 34px; background: linear-gradient(120deg, #2e1b0e 0%, #4e3019 55%, #6e4724 100%); border: 0; }
body.light .hb-hero .eyebrow { color: var(--gold-2); }
body.light .hb-hero .eyebrow:before { background: var(--gold-2); }
body.light .hb-hero h2 { margin: 10px 0 8px; font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: .06em; color: #fff; }
body.light .hb-hero p { max-width: 760px; margin: 0; color: rgba(244, 239, 230, .82); font-size: 14.5px; }
body.light .hb-title { margin: 34px 0 14px; font-family: var(--serif); font-size: 19px; font-weight: 600; letter-spacing: .1em; color: var(--ink); }
body.light .hb-title small { margin-left: 10px; font-family: var(--sans); font-size: 12.5px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
body.light .hb-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
body.light .hb-value { padding: 18px 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 18px rgba(20, 24, 40, .05); }
body.light .hb-value b { display: block; font: 600 13px var(--sans); color: var(--gold-2); letter-spacing: .1em; }
body.light .hb-value strong { display: block; margin: 4px 0 6px; font-size: 15.5px; color: var(--ink); }
body.light .hb-value p { margin: 0; font-size: 13.5px; color: var(--text); }
body.light .hb-scenes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
body.light .hb-scene { display: flex; flex-direction: column; padding: 18px 18px 16px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold-2); }
body.light .hb-scene-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
body.light .hb-scene-head strong { font-family: var(--serif); font-size: 17px; color: var(--ink); letter-spacing: .06em; }
body.light .hb-stars { font-size: 12px; color: #c98a1b; letter-spacing: 1px; white-space: nowrap; }
body.light .hb-scene p { margin: 8px 0 0; font-size: 13.5px; color: var(--text); }
body.light .hb-scene p.hb-pos { color: var(--accent); font-weight: 600; font-size: 13px; }
body.light .hb-scene small { margin-top: auto; padding-top: 12px; font-size: 12px; color: var(--muted); }
body.light .hb-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: hb; }
body.light .hb-steps li { position: relative; padding: 18px 18px 16px; background: #fff; border: 1px solid var(--line); counter-increment: hb; }
body.light .hb-steps li:before { content: counter(hb); display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 10px; border-radius: 50%; background: linear-gradient(120deg, #2e1b0e, #6e4724); color: #fff; font-size: 13px; font-weight: 600; }
body.light .hb-steps strong { font-size: 15px; color: var(--ink); }
body.light .hb-steps p { margin: 6px 0 0; font-size: 13px; color: var(--text); }
body.light .hb-tips { margin: 0; padding: 18px 24px 18px 44px; columns: 2; column-gap: 40px; font-size: 13.5px; color: var(--text); }
body.light .hb-tips li { margin: 4px 0; break-inside: avoid; }
body.light .hb-more { margin: 26px 0 8px; font-size: 14px; color: var(--text); }
body.light .hb-more b { color: var(--accent); }
/* UE设计器 */
body.light .hb-hero .btn-gold { margin-top: 20px; }
body.light .ue-cta { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; margin: 30px 0 2px; }
body.light .ue-cta span { font-size: 13px; color: var(--muted); }
/* 技术接口 */
body.light .api { display: flex; flex-direction: column; gap: 16px; }
body.light .api .panel { padding: 24px 28px; }
body.light .api h2 { margin: 10px 0 8px; font-family: var(--serif); font-size: 24px; font-weight: 600; letter-spacing: .06em; color: var(--ink); }
body.light .api h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 17px; color: var(--ink); letter-spacing: .06em; }
body.light .api h3 span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(120deg, #2e1b0e, #6e4724); color: #fff; font-size: 13px; }
body.light .api p, body.light .api li { font-size: 14px; color: var(--text); }
body.light .api p { margin: 0 0 10px; }
body.light .api ul { margin: 0 0 10px; padding-left: 20px; }
body.light .api b { color: var(--ink); }
body.light .api a { color: var(--accent); }
body.light .api code { padding: 1px 5px; border-radius: 3px; background: #f4f1ea; font: 12.5px ui-monospace, Consolas, monospace; color: #6b4a1c; }
body.light .api pre { margin: 0 0 12px; padding: 14px 16px; overflow-x: auto; border-radius: 4px; background: #1d1729; }
body.light .api pre code { padding: 0; background: none; color: #f4efe6; font-size: 12.5px; line-height: 1.6; }
body.light .api p.api-note { font-size: 12.5px; color: var(--muted); }
body.light .api-flow { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
body.light .api-flow li { display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 18px; background: #f8f1e3; font-size: 13.5px; color: var(--accent); }
body.light .api-flow b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 12px; }
body.light .api-tbl { width: 100%; margin: 4px 0 12px; border-collapse: collapse; font-size: 13.5px; }
body.light .api-tbl th { padding: 9px 12px; background: #faf8f4; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; font-size: 12px; letter-spacing: .1em; color: #8a7a5c; }
body.light .api-tbl td { padding: 10px 12px; border-bottom: 1px solid #eef0f3; color: var(--text); vertical-align: top; }
body.light .api-tbl td:first-child { white-space: nowrap; color: var(--ink); }
body.light .api-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
body.light .api-roles > div { padding: 16px 18px 6px; border: 1px solid var(--line); border-radius: 6px; background: #fcfbf8; }
body.light .api-roles strong { display: block; margin-bottom: 8px; font-size: 14.5px; color: var(--accent); letter-spacing: .06em; }
body.light .api-plugins { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 6px 0 4px; padding: 0; list-style: none; }
body.light .api-plugins li { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1px solid rgba(176, 138, 74, .35); border-radius: 6px; background: #fbf5e8; }
body.light .api-plugins b { display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--accent); color: #fff; font-size: 12px; }
body.light .api-plugins strong { font-size: 15px; color: var(--ink); letter-spacing: .04em; }
body.light .api-code { position: relative; }
body.light .api-code .js-copy { position: absolute; top: 10px; right: 10px; padding: 5px 14px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 3px; background: rgba(255, 255, 255, .08); color: #f4efe6; font: 12.5px var(--sans); cursor: pointer; }
body.light .api-code .js-copy:hover { background: rgba(255, 255, 255, .18); }
body.light .api-domains { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 14px; }
body.light .api .api-domains code { padding: 6px 12px; font-size: 13.5px; }
@media (max-width: 900px) {
    body.light .api-roles { grid-template-columns: 1fr; }
    body.light .api-plugins { grid-template-columns: 1fr 1fr; }
}
body.light .api .api-help { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: #fbf5e8; border-color: rgba(176, 138, 74, .35); }
body.light .api-help strong { font-size: 15px; color: var(--ink); }
body.light .api-help p { margin: 4px 0 0; }
body.light .api .api-help .btn-gold { color: #fff; letter-spacing: .04em; }
@media (max-width: 1100px) {
    body.light .dash-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.light .hb-scenes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.light .hb-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    body.light .dash-tabs { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    body.light .dash-tab { padding: 14px 16px; }
    body.light .dash-panel { padding: 18px 14px 22px; }
    body.light .dash-txt span, body.light .dash-tab.on:after { display: none; }
    body.light .hb-values, body.light .hb-scenes, body.light .hb-steps { grid-template-columns: minmax(0, 1fr); }
    body.light .hb-tips { columns: 1; }
}

/* ======== 视频教程 /areditor/app/{AppID}/tutorials: 侧栏底部独立按钮, 一行三个视频, 播放弹窗 (app.php) ======== */
body.ae-app .side-video { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; margin-top: 14px; border-radius: 6px; background: linear-gradient(120deg, #2e1b0e 0%, #4e3019 55%, #6e4724 100%); color: #fff; font-size: 14px; letter-spacing: .14em; box-shadow: 0 6px 16px rgba(46, 27, 14, .22); transition: filter .2s, box-shadow .2s; }
body.ae-app .side-video svg { width: 18px; height: 18px; flex: none; }
body.ae-app .side-video:hover { filter: brightness(1.15); color: #fff; }
body.ae-app .side-video.on { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--gold-2); }
body.ae-app .videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
body.ae-app .video { display: flex; flex-direction: column; padding: 0; border: 1px solid var(--line); background: #fff; text-align: left; font: inherit; color: inherit; cursor: pointer; box-shadow: 0 4px 18px rgba(20, 24, 40, .06); transition: transform .25s, box-shadow .25s; }
body.ae-app .video:hover, body.ae-app .video:focus-visible { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(20, 24, 40, .14), 0 0 0 1px var(--gold-2); outline: none; }
body.ae-app .video-cover { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #0b1220; }
body.ae-app .video-cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
body.ae-app .video:hover .video-cover img { transform: scale(1.04); }
/* 透明播放图标 */
body.ae-app .video-play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .16); color: #fff; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: background .25s, transform .25s; }
body.ae-app .video-play svg { width: 30px; height: 30px; margin-left: 3px; }
body.ae-app .video:hover .video-play { background: rgba(255, 255, 255, .3); transform: scale(1.08); }
body.ae-app .video-time { position: absolute; right: 8px; bottom: 8px; padding: 1px 7px; border-radius: 3px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 12px; font-variant-numeric: tabular-nums; }
body.ae-app .video-body { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px 16px; }
body.ae-app .video-body small { font-size: 12px; letter-spacing: .12em; color: var(--accent); }
body.ae-app .video-body strong { font-size: 15.5px; font-weight: 600; line-height: 1.45; color: var(--ink); }
body.ae-app .video-body span { font-size: 13px; color: var(--muted); }
body.ae-app #video-modal .modal-card { width: 1200px; padding: 18px 20px 20px; }
body.ae-app #video-modal h3 { margin: 0 40px 12px 0; font-size: 17px; }
body.ae-app #video-modal video { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: calc(100vh - 120px); background: #000; }
@media (max-width: 1100px) { body.ae-app .videos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { body.ae-app .videos { grid-template-columns: minmax(0, 1fr); } }
