﻿:root {
    --primary: #ff5a2b;
    --bg: #0e1016;
    --card: #171b25;
    --text: #f2f4f8;
    --muted: #9aa3b2;
    --line: rgba(255, 255, 255, .08);
    --radius: 14px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 15px;
    line-height: 1.5;
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
    min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 640px; margin: 0 auto; }

/* 顶部海报 */
.hero { position: relative; }
.hero-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -ms-overflow-style: none; scrollbar-width: none; }
.hero-slides::-webkit-scrollbar { display: none; }
.hero-slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 4 / 3; max-height: 46vh; background: #1b1f2a center/cover no-repeat; }
.hero-fallback { aspect-ratio: 4 / 3; max-height: 46vh; background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 55%, #000), #12141c); display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.hero-fallback h1 { font-size: 26px; margin: 0; letter-spacing: 1px; }
.hero-overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; background: linear-gradient(transparent, rgba(0, 0, 0, .78)); }
.hero-title { font-size: 22px; font-weight: 700; margin: 0; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.hero-sub { color: rgba(255, 255, 255, .82); font-size: 13px; margin-top: 4px; }
.hero-status { position: absolute; top: 12px; right: 14px; background: rgba(0, 0, 0, .45); backdrop-filter: blur(6px); border-radius: 999px; padding: 4px 12px; font-size: 12px; }
.hero-status.live { color: #7cf0b0; }
.hero-status.soon { color: #ffd479; }
.hero-status.end { color: #c7ccd6; }

/* 数据条 */
.stats { display: flex; background: var(--card); margin: -22px 14px 0; position: relative; border-radius: var(--radius); padding: 14px 6px; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.stats .item { flex: 1; text-align: center; }
.stats .num { font-size: 20px; font-weight: 700; color: var(--primary); }
.stats .lbl { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* 公告 */
.notice { display: flex; gap: 8px; align-items: center; margin: 12px 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; font-size: 13px; color: #ffd9a8; overflow: hidden; }
.notice .ico { flex: 0 0 auto; }
.notice .track { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.notice .track span { display: inline-block; animation: marquee 16s linear infinite; padding-left: 100%; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* 快捷入口 */
.quick { display: flex; gap: 10px; margin: 14px; }
.quick a { flex: 1; background: var(--card); border: 1px solid var(--line); border-radius: 12px; text-align: center; padding: 13px 6px; font-size: 14px; }
.quick a.primary { background: var(--primary); border-color: transparent; color: #fff; font-weight: 600; }
.quick a .ico { display: block; font-size: 19px; margin-bottom: 3px; }

/* 分组 / 排序 tabs */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 14px 10px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button, .tabs a { flex: 0 0 auto; border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 999px; padding: 6px 14px; font-size: 13px; }
.tabs button.on, .tabs a.on { background: var(--primary); color: #fff; border-color: transparent; }

/* 作品列表 */
.works { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0 14px; }
.work-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.work-card .cover { aspect-ratio: 1 / 1; background: #1d2230 center/cover no-repeat; position: relative; }
.work-card .no { position: absolute; left: 8px; top: 8px; background: rgba(0, 0, 0, .55); border-radius: 6px; padding: 1px 7px; font-size: 11px; color: #ffd9a8; }
.work-card .body { padding: 8px 10px 10px; }
.work-card .name { font-size: 14px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.work-card .meta { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; font-size: 12px; color: var(--muted); }
.work-card .votes { color: var(--primary); font-weight: 700; }
.vote-btn { border: 0; background: var(--primary); color: #fff; border-radius: 8px; padding: 5px 12px; font-size: 12px; font-weight: 600; }
.vote-btn[disabled] { background: #2a3040; color: #7d8798; }
.loadmore { margin: 16px 14px; }

/* 通用卡片 */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin: 14px; padding: 15px; }
.panel h3 { margin: 0 0 10px; font-size: 15px; }
.panel .muted, .muted { color: var(--muted); font-size: 12px; }
.section-title { display: flex; align-items: center; justify-content: space-between; margin: 18px 14px 10px; }
.section-title h2 { font-size: 16px; margin: 0; }
.section-title .more { font-size: 12px; color: var(--muted); }
.rules { white-space: pre-wrap; color: #c8cedb; font-size: 13px; }

/* 作品详情 */
.wdetail-media { aspect-ratio: 1 / 1; background: #1d2230 center/contain no-repeat; width: 100%; }
.wdetail-media video, .wdetail-media iframe { width: 100%; height: 100%; border: 0; background: #000; }
.wdetail-body { padding: 16px 14px; }
.wdetail-title { font-size: 20px; font-weight: 700; margin: 0 0 8px; }
.wdetail-meta { display: flex; gap: 14px; color: var(--muted); font-size: 13px; }
.wdetail-desc { color: #c8cedb; font-size: 14px; margin-top: 12px; white-space: pre-wrap; }
.vote-bar { position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(14, 16, 22, .92); backdrop-filter: blur(10px); border-top: 1px solid var(--line); display: flex; gap: 10px; align-items: center; z-index: 20; }
.vote-bar .quota { font-size: 12px; color: var(--muted); flex: 1; }
.vote-bar .big { flex: 0 0 auto; border: 0; background: var(--primary); color: #fff; border-radius: 10px; padding: 12px 26px; font-size: 16px; font-weight: 700; }
.vote-bar .big[disabled] { background: #2a3040; color: #7d8798; }

/* 排行榜 */
.rank-list { padding: 0 14px; }
.rank-item { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; }
.rank-no { flex: 0 0 26px; text-align: center; font-weight: 800; color: var(--muted); font-size: 16px; }
.rank-item.top1 .rank-no { color: #ffd24a; }
.rank-item.top2 .rank-no { color: #d9dee8; }
.rank-item.top3 .rank-no { color: #e0a06a; }
.rank-item .cover { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 10px; background: #1d2230 center/cover no-repeat; }
.rank-item .info { flex: 1; min-width: 0; }
.rank-item .name { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-item .v { font-size: 13px; color: var(--primary); font-weight: 700; }

/* 表单 */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.field input[type=text], .field input[type=number], .field input[type=tel], .field input[type=date], .field select, .field textarea {
    width: 100%; background: #10131b; color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; font-size: 15px; font-family: inherit;
}
.field textarea { min-height: 100px; resize: vertical; }
.field .required { color: var(--primary); margin-left: 2px; }
.upload-box { border: 1px dashed var(--line); border-radius: 10px; padding: 18px; text-align: center; color: var(--muted); font-size: 13px; }
.upload-box img, .upload-box video { max-height: 200px; margin: 0 auto; border-radius: 8px; }
.submit-btn { width: 100%; border: 0; border-radius: 12px; background: var(--primary); color: #fff; font-size: 16px; font-weight: 700; padding: 14px; }

/* 我的 */
.my-work { display: flex; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; align-items: center; }
.my-work .cover { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 8px; background: #1d2230 center/cover no-repeat; }
.my-work .info { flex: 1; min-width: 0; }
.tag { display: inline-block; border-radius: 999px; font-size: 11px; padding: 1px 8px; background: #222838; color: #9aa3b2; }
.tag.green { background: rgba(26, 127, 69, .18); color: #6fe0a1; }
.tag.orange { background: rgba(255, 122, 40, .16); color: #ffb27a; }
.tag.red { background: rgba(214, 59, 47, .16); color: #ff9b92; }

/* 登录弹层 */
.mask { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); z-index: 50; display: none; }
.mask.on { display: block; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 51; background: #161a23; border-radius: 18px 18px 0 0; padding: 18px 18px calc(18px + env(safe-area-inset-bottom)); transform: translateY(102%); transition: transform .25s ease; max-width: 640px; margin: 0 auto; }
.sheet.on { transform: translateY(0); }
.sheet h3 { margin: 0 0 4px; font-size: 17px; }
.sheet .muted { margin-bottom: 14px; }
.sheet .row { display: flex; gap: 8px; margin-bottom: 12px; }
.sheet .row input { flex: 1; }
.sheet .row button { flex: 0 0 auto; border: 1px solid var(--line); background: transparent; color: var(--text); border-radius: 10px; padding: 0 12px; font-size: 13px; }
.sheet .primary { width: 100%; border: 0; border-radius: 10px; background: var(--primary); color: #fff; padding: 12px; font-size: 15px; font-weight: 700; }
.sheet .devlink { text-align: center; margin-top: 12px; }
.sheet .devlink button { border: 0; background: none; color: var(--primary); font-size: 13px; }

/* 底部导航 */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; background: rgba(18, 21, 29, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.tabbar a, .tabbar button { flex: 1; border: 0; background: none; color: var(--muted); text-align: center; padding: 9px 0 8px; font-size: 11px; }
.tabbar a.on, .tabbar button.on { color: var(--primary); }
.tabbar .ico { display: block; font-size: 19px; line-height: 1.1; }
.tabbar img.ico { width: 20px; height: 20px; margin: 0 auto; border-radius: 4px; object-fit: contain; }

/* toast */
.toast { position: fixed; left: 50%; top: 46%; transform: translate(-50%, -50%); background: rgba(0, 0, 0, .82); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px; z-index: 90; opacity: 0; pointer-events: none; transition: opacity .2s; max-width: 80vw; text-align: center; }
.toast.on { opacity: 1; }

.empty { text-align: center; color: var(--muted); padding: 36px 0; font-size: 13px; }
.footer { text-align: center; color: #5b6474; font-size: 11px; padding: 22px 14px 10px; }

/* 礼物与钻石 */
.gift-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.gift-item { background: #1d2230; border: 1px solid var(--line); border-radius: 12px; padding: 10px 8px; text-align: center; cursor: pointer; }
.gift-item:active { border-color: var(--primary); }
.gift-item img { width: 44px; height: 44px; object-fit: contain; display: block; margin: 0 auto 6px; }
.gift-item .g-emoji { font-size: 30px; display: block; margin-bottom: 6px; }
.gift-item .g-name { font-size: 12px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gift-item .g-meta { font-size: 11px; color: var(--muted); margin-top: 3px; }
.gift-item.disabled { opacity: .45; }
.diamond-bar { display: flex; align-items: center; justify-content: space-between; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-bottom: 12px; }
.diamond-bar .val { color: var(--primary); font-weight: 700; }
.diamond-bar a { color: var(--primary); font-size: 13px; }
.pack-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 14px; }
.pack-item { border: 1px solid var(--line); border-radius: 12px; padding: 12px; text-align: center; cursor: pointer; background: #1d2230; }
.pack-item.on, .pack-item:active { border-color: var(--primary); }
.pack-item .d { font-size: 17px; font-weight: 700; color: var(--primary); }
.pack-item .p { font-size: 12px; color: var(--muted); margin-top: 4px; }
.gift-senders { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.gift-sender { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.ledger-item { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.ledger-item .t { color: var(--muted); font-size: 11px; }
.ledger-item .plus { color: #6fe0a1; font-weight: 700; }
.ledger-item .minus { color: #ff9b92; font-weight: 700; }

/* 首页装修：搜索框 / 快捷功能卡片 / 客服 */
.search-bar{display:flex;gap:8px;padding:10px 14px}
.search-bar input{flex:1;min-width:0;background:#10131b;color:var(--text);border:1px solid var(--line);border-radius:10px;padding:10px 12px;font-size:14px}
.search-bar button{border:0;border-radius:10px;padding:0 14px;font-size:14px;background:var(--primary);color:#fff}
.card-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0 14px 12px}
.card-item{display:flex;align-items:center;justify-content:space-between;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:14px;color:var(--text);text-decoration:none}
.card-item .nm{font-size:14px}
.card-item .arr{color:var(--muted)}
.customer-box{text-align:center}

/* ---------- 评论区 ---------- */
.comment-list{margin-top:4px}
.comment-item{display:flex;gap:10px;padding:11px 0;border-bottom:1px solid rgba(0,0,0,.06)}
.comment-item:last-child{border-bottom:none}
.c-avatar{width:36px;height:36px;border-radius:50%;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:600;flex:0 0 36px;overflow:hidden}
.c-avatar img{width:100%;height:100%;object-fit:cover}
.c-body{flex:1;min-width:0}
.c-meta{display:flex;justify-content:flex-start;align-items:center;gap:8px;font-size:12px;color:#aaa;margin-bottom:3px}
.c-meta>span:last-child{margin-left:auto}
.c-nick{color:#666;font-weight:600;font-size:13px}
.c-text{font-size:14px;line-height:1.55;color:#333;word-break:break-word}
.c-like{display:inline-flex;align-items:center;gap:4px;color:#999;font-size:12px;cursor:pointer;user-select:none;padding:2px 4px;border-radius:8px}
.c-like.on{color:var(--primary)}
.comment-form{display:flex;gap:8px;margin-top:12px;align-items:flex-end}
.comment-form textarea{flex:1;min-height:44px;max-height:96px;padding:10px 12px;border:1px solid #eee;border-radius:12px;font-size:14px;resize:none;font-family:inherit;outline:none;background:#fafafa}
.comment-empty{text-align:center;color:#bbb;font-size:13px;padding:16px 0}
.comment-more{text-align:center;padding:10px 0}

/* ===== 平台首页 / 资讯（site pages） ===== */
.site-page .wrap{padding:0 14px calc(78px + env(safe-area-inset-bottom));}
.site-hero{background:linear-gradient(135deg,#ff7a59,#ff4d6d 55%,#c026d3);color:#fff;border-radius:0 0 26px 26px;padding:26px 18px 22px;margin:-8px -14px 14px;box-shadow:0 14px 30px rgba(255,77,109,.25);}
.site-page .site-hero{margin-left:-14px;margin-right:-14px;border-radius:0 0 20px 20px;}
.site-hero.compact{padding:18px 18px 16px;}
.site-hero-title{font-size:24px;font-weight:800;letter-spacing:.5px;}
.site-hero-sub{font-size:13px;opacity:.9;margin-top:6px;}
.site-search{display:flex;gap:8px;margin-top:14px;background:rgba(255,255,255,.22);padding:6px;border-radius:14px;backdrop-filter:blur(6px);}
.site-search input{flex:1;border:0;background:transparent;color:#fff;font-size:14px;padding:8px 10px;outline:none;min-width:0;}
.site-search input::placeholder{color:rgba(255,255,255,.8);}
.site-search button{border:0;background:#fff;color:#ff4d6d;font-weight:700;font-size:14px;border-radius:10px;padding:0 16px;}
.banner-strip{display:flex;gap:10px;overflow-x:auto;padding:2px 0 10px;scrollbar-width:none;}
.banner-strip::-webkit-scrollbar{display:none;}
.banner-strip img{height:118px;border-radius:16px;object-fit:cover;flex:0 0 auto;box-shadow:0 8px 18px rgba(0,0,0,.08);}
.notice-line{display:flex;gap:8px;align-items:center;background:#fff7ed;color:#9a3412;border-radius:12px;padding:10px 12px;font-size:13px;margin-bottom:12px;overflow:hidden;}
.notice-line span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;background:#fff;border-radius:16px;padding:14px 8px;margin-bottom:14px;box-shadow:0 6px 18px rgba(0,0,0,.04);}
.quick-grid a{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:12px;color:#333;}
.q-ico{width:40px;height:40px;border-radius:14px;object-fit:cover;background:#fff1f2;display:flex;align-items:center;justify-content:center;font-size:20px;}
.q-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;}
.site-section-head{display:flex;align-items:center;justify-content:space-between;margin:6px 2px 10px;}
.site-section-head h2{font-size:17px;margin:0;}
.site-section-head a{font-size:12px;color:#888;text-decoration:none;}
.act-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.act-card{display:block;background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 8px 20px rgba(0,0,0,.06);text-decoration:none;color:inherit;}
.act-cover{position:relative;aspect-ratio:4/3;background:#f3f4f6;}
.act-cover img{width:100%;height:100%;object-fit:cover;display:block;}
.act-cover-ph{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:40px;font-weight:800;color:#fff;background:linear-gradient(135deg,#ff9a3d,#ff4d6d);}
.act-badge{position:absolute;left:8px;top:8px;font-size:11px;padding:3px 8px;border-radius:999px;background:rgba(0,0,0,.55);color:#fff;}
.act-badge.st1{background:#f59e0b;}
.act-badge.st2{background:#10b981;}
.act-badge.st3{background:#6b7280;}
.act-body{padding:10px 10px 12px;}
.act-title{font-size:14px;font-weight:700;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.act-sub{font-size:12px;color:#9ca3af;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.act-meta{display:flex;gap:10px;font-size:11px;color:#ef4444;margin-top:6px;}
.art-list{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 6px 18px rgba(0,0,0,.04);margin-bottom:14px;}
.art-item{display:flex;gap:12px;padding:14px;border-bottom:1px solid #f1f2f4;text-decoration:none;color:inherit;}
.art-item:last-child{border-bottom:0;}
.art-main{flex:1;min-width:0;}
.art-title{font-size:14px;font-weight:700;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.top-tag{display:inline-block;background:#fff1f2;color:#e11d48;font-size:10px;border-radius:4px;padding:1px 5px;margin-right:5px;vertical-align:1px;}
.art-sum{font-size:12px;color:#8b8f97;margin-top:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.art-meta{font-size:11px;color:#b0b4bb;margin-top:6px;}
.art-cover{width:86px;height:66px;border-radius:10px;object-fit:cover;flex:0 0 86px;background:#f3f4f6;}
.site-footer{text-align:center;font-size:12px;color:#b0b4bb;padding:20px 0 8px;}
.pager{display:flex;align-items:center;justify-content:center;gap:12px;font-size:13px;padding:12px 0 4px;color:#666;}
.pager a{color:#ff4d6d;text-decoration:none;}
.pager .off{color:#c7c9cd;}
.pager .cur{color:#888;}
.article-head{padding:8px 2px 12px;}
.article-head .back{font-size:13px;color:#888;text-decoration:none;display:inline-block;margin-bottom:10px;}
.article-head h1{font-size:21px;line-height:1.45;margin:0 0 10px;}
.article-meta{display:flex;gap:12px;font-size:12px;color:#9ca3af;flex-wrap:wrap;}
.article-cover{width:100%;border-radius:16px;margin-bottom:12px;display:block;}
.article-body{background:#fff;border-radius:16px;padding:16px;font-size:15px;line-height:1.9;color:#333;word-break:break-word;box-shadow:0 6px 18px rgba(0,0,0,.04);}
.article-body img{max-width:100%;border-radius:10px;}
.article-body p{margin:0 0 12px;}

/* ===== 投诉反馈 ===== */
.fb-head{padding:20px 18px 12px}
.fb-head .fb-back{display:inline-block;font-size:13px;color:#8a8f98;text-decoration:none;margin-bottom:10px}
.fb-head h1{font-size:22px;font-weight:700;color:#17181c;margin-bottom:6px}
.fb-head p{font-size:13px;color:#8a8f98;line-height:1.6}
.fb-card{margin:0 14px;background:#fff;border-radius:16px;padding:16px;box-shadow:0 8px 24px rgba(20,20,40,.06)}
.fb-field{display:block;margin-bottom:14px}
.fb-field > span{display:block;font-size:13px;color:#4b5058;margin-bottom:7px;font-weight:600}
.fb-field > span em{color:#ff4d6d;font-style:normal}
.fb-field select,.fb-field input[type=text],.fb-field textarea{width:100%;border:1px solid #e8eaef;border-radius:10px;padding:11px 12px;font-size:14px;color:#17181c;background:#fbfbfd;outline:none;font-family:inherit}
.fb-field textarea{resize:vertical;min-height:120px;line-height:1.6}
.fb-field small{display:block;text-align:right;font-size:12px;color:#b3b7bf;margin-top:5px}
.fb-images{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}
.fb-img{position:relative;width:76px;height:76px;border-radius:10px;overflow:hidden;background:#f2f3f6}
.fb-img img{width:100%;height:100%;object-fit:cover}
.fb-img button{position:absolute;top:2px;right:2px;width:18px;height:18px;border-radius:50%;border:0;background:rgba(0,0,0,.55);color:#fff;font-size:12px;line-height:1;cursor:pointer}
.fb-upload{display:inline-flex;align-items:center;justify-content:center;width:76px;height:76px;border:1px dashed #d8dbe2;border-radius:10px;background:#fbfbfd;color:#9aa0a8;font-size:12px;cursor:pointer}
.fb-submit{width:100%;border:0;border-radius:12px;padding:13px 0;font-size:15px;font-weight:700;color:#fff;background:linear-gradient(135deg,var(--primary,#ff4d6d),var(--secondary,#ff8a5c));box-shadow:0 8px 20px rgba(255,77,109,.28);cursor:pointer}
.fb-submit:disabled{opacity:.6}
.fb-tip{font-size:12px;color:#a0a4ab;line-height:1.6;margin-top:10px}
.fb-other{display:flex;justify-content:center;gap:18px;padding:20px 0 28px}
.fb-other a{font-size:13px;color:#7a7f88;text-decoration:none}

/* 热门搜索 */
.hot-searches{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;}
.hot-searches .hot-label{font-size:12px;color:rgba(255,255,255,.85);}
.hot-searches a{font-size:12px;color:#fff;background:rgba(255,255,255,.2);border-radius:999px;padding:4px 10px;text-decoration:none;}
.hot-searches a:hover{background:rgba(255,255,255,.32);}

/* 人机验证码弹层 */
.cap-mask{position:fixed;inset:0;background:rgba(17,24,39,.55);display:flex;align-items:center;justify-content:center;z-index:9999;padding:24px}
.cap-box{width:100%;max-width:320px;background:#fff;border-radius:16px;padding:20px 18px 16px;box-shadow:0 20px 50px rgba(0,0,0,.25);text-align:center}
.cap-t{font-size:16px;font-weight:700;color:#111827;margin-bottom:14px}
.cap-imgwrap{display:flex;justify-content:center;border-radius:10px;overflow:hidden;border:1px solid #e5e7eb;background:#f4f6fb}
.cap-img{width:160px;height:56px;display:block;cursor:pointer;object-fit:cover}
.cap-input{margin-top:14px;width:100%;height:44px;border:1px solid #d1d5db;border-radius:10px;text-align:center;font-size:18px;letter-spacing:6px;text-transform:uppercase;outline:none}
.cap-input:focus{border-color:#ff4d6d;box-shadow:0 0 0 3px rgba(255,77,109,.12)}
.cap-err{min-height:18px;margin-top:6px;font-size:12px;color:#e11d48}
.cap-actions{display:flex;gap:12px;align-items:center;margin-top:6px}
.cap-cancel{flex:1;height:44px;line-height:44px;border-radius:10px;background:#f3f4f6;color:#4b5563;font-size:15px;cursor:pointer}
.cap-ok{flex:1;height:44px;border:0;border-radius:10px;background:linear-gradient(135deg,#ff6b81,#ff4d6d);color:#fff;font-size:15px;font-weight:600;cursor:pointer}

/* v1.0.3 登录弹层：账号登录 / 手机验证码 / 注册 */
.login-tabs{display:flex;gap:8px;margin:10px 0 14px}
.login-tabs .ltab{flex:1;padding:9px 0;border:1px solid #e6e8ee;background:#f6f7fb;color:#555;border-radius:10px;font-size:14px}
.login-tabs .ltab.on{background:#fff;border-color:var(--primary,#ff4d4f);color:var(--primary,#ff4d4f);font-weight:600}
.login-alt{margin-top:12px;text-align:center;font-size:13px;color:#888}
.login-alt a{color:var(--primary,#ff4d4f);text-decoration:none}
/* v1.0.3 列表样式（后台风格设置）与作品分组 */
.works--grid2{grid-template-columns:repeat(2,1fr)!important}
.works--grid1{grid-template-columns:1fr!important}
.works--list{grid-template-columns:1fr!important;gap:8px}
.works--grid1 .work-card .cover{aspect-ratio:4/3}
.works--list .work-card{flex-direction:row;align-items:stretch}
.works--list .work-card .cover{width:104px;flex:0 0 104px;aspect-ratio:auto;min-height:96px;border-radius:10px 0 0 10px}
.works--list .work-card .body{flex:1;display:flex;flex-direction:column;justify-content:center}
.works--list .work-card .name{-webkit-line-clamp:2}
.group-block{margin:4px 0 14px}
.group-head{display:flex;align-items:center;gap:8px;padding:0 14px;margin:10px 0 8px}
.group-head .g-name{font-size:15px;font-weight:700;border-left:3px solid var(--primary);padding-left:8px}
.group-head .g-count{font-size:12px;color:var(--muted)}
.group-head .g-more{margin-left:auto;border:0;background:transparent;color:var(--primary);font-size:13px;padding:4px 2px}
.group-all{padding:4px 14px 8px}
.group-all .submit-btn{width:100%;background:var(--card);color:var(--primary);border:1px solid var(--primary)}
/* v1.0.3 统一搜索页 */
.search-page{padding:12px 14px 4px}
.search-form{display:flex;gap:8px}
.search-form input{flex:1;height:40px;border-radius:10px;border:1px solid var(--line);background:var(--card);color:var(--text);padding:0 12px;font-size:14px}
.search-form button{height:40px;padding:0 18px;border:0;border-radius:10px;background:var(--primary);color:#fff;font-size:14px;font-weight:600}
.search-crumb{display:flex;align-items:center;gap:10px;margin-top:8px;font-size:12px;color:var(--muted)}
.search-crumb a{color:var(--primary)}
.search-hint{padding:28px 20px;text-align:center}
.search-hint .sh-emoji{font-size:34px}
.search-hint .sh-title{margin-top:8px;font-size:16px;font-weight:700}
.search-hint .sh-sub{margin-top:6px;font-size:13px;color:var(--muted);line-height:1.7}
.hot-searches.center{justify-content:center;margin-top:12px}
.res-head{display:flex;align-items:baseline;gap:8px;padding:14px 14px 8px}
.res-head h2{font-size:16px;margin:0}
.works .work-card .hit-act{margin-top:6px;font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.link-btn{border:0;background:transparent;color:var(--primary);font-size:13px;text-decoration:underline}
.empty .muted{display:block;margin-top:4px;font-size:12px}
.search-clear-row{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px;font-size:13px;color:#8a8a8a;padding:8px 4px 4px}
.search-clear-row b{color:var(--primary,#ff5a2b)}

/* 报名/表单上传：图片预览、文件占位与删除角标 */
.upload-box { cursor: pointer; }
.upload-box .thumbs,
.upload-box .uploaded { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 10px; }
.thumb { position: relative; width: 76px; height: 76px; display: inline-block; border-radius: 8px; background-color: #eef1f6; background-size: cover; background-position: center; border: 1px solid var(--line); }
.up-item { position: relative; display: inline-block; line-height: 0; }
.up-item b { position: absolute; top: -7px; right: -7px; width: 18px; height: 18px; border-radius: 50%; background: rgba(0,0,0,.62); color: #fff; font-size: 12px; font-weight: 400; line-height: 18px; text-align: center; cursor: pointer; }
.file-chip { display: inline-block; padding: 8px 12px; border-radius: 8px; background: #eef1f6; color: #555; font-size: 12px; line-height: 1.2; }
.upload-box.has-file .upload-tip { color: var(--muted); font-size: 12px; }
.upload-box.has-file .upload-tip .lnk { color: #ff3b30; }

/* 上传缩略图内容（图片/视频/音频） */
.thumb img{width:100%;height:100%;object-fit:cover;border-radius:8px;display:block}
.thumb-tag{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:26px;color:#fff;background:#1d2230;border-radius:8px}


/* ---------- 资讯 / 投稿 ---------- */
.art-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.art-btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line, #e7e9ef); background: #fff; color: #444; font-size: 14px; text-decoration: none; cursor: pointer; }
.art-btn.primary { background: var(--primary, #ff4d6d); border-color: var(--primary, #ff4d6d); color: #fff; }
.art-btn.sm { padding: 5px 12px; font-size: 13px; }
.art-search { display: flex; gap: 8px; margin: 14px 0 10px; }
.art-search input { flex: 1; height: 40px; border-radius: 999px; border: 1px solid var(--line, #e7e9ef); padding: 0 16px; font-size: 14px; background: #fff; }
.art-search button { height: 40px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--primary, #ff4d6d); color: #fff; font-size: 14px; }
.art-cats { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 8px; -webkit-overflow-scrolling: touch; }
.art-cat { flex: 0 0 auto; padding: 6px 14px; border-radius: 999px; background: #fff; color: #666; font-size: 13px; border: 1px solid var(--line, #e7e9ef); text-decoration: none; }
.art-cat.on { background: var(--primary, #ff4d6d); border-color: var(--primary, #ff4d6d); color: #fff; }
.art-hint { font-size: 13px; color: #888; margin: 2px 0 8px; }
.art-hint a { color: var(--primary, #ff4d6d); }
.art-cat-tag { display: inline-block; padding: 1px 8px; margin-right: 6px; border-radius: 4px; background: rgba(255, 77, 109, .10); color: var(--primary, #ff4d6d); font-size: 12px; }
.art-tags { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px; }
.art-tags span { font-size: 12px; color: #7a86a0; }
.article-tags { margin: 0 0 10px; }
.art-status-warn { border-left: 3px solid #ffb020; background: #fff9ea; }
.art-status-warn b { color: #8a5b00; }
.article-source { font-size: 13px; color: #8a93a6; margin: 14px 0 0; }
.article-source a { color: var(--primary, #ff4d6d); }
.art-form { display: flex; flex-direction: column; gap: 14px; }
.af { display: flex; flex-direction: column; gap: 6px; }
.af-label { font-size: 13px; color: #6b7280; }
.af-label em { color: #ff4d6d; font-style: normal; }
.af input[type=text], .af textarea, .af select { width: 100%; border: 1px solid var(--line, #e7e9ef); border-radius: 10px; background: #fff; padding: 10px 12px; font-size: 14px; color: #333; box-sizing: border-box; }
.af textarea { resize: vertical; line-height: 1.7; }
.af-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.af-cover-row { display: flex; gap: 8px; }
.af-cover-row input { flex: 1; }
.af-cover-preview img { width: 100%; max-height: 180px; object-fit: cover; border-radius: 10px; margin-top: 8px; }
.art-form-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.art-form-tip { font-size: 12px; color: #8a93a6; }
.art-status { margin-left: 6px; vertical-align: middle; }
.art-reject { margin-top: 6px; font-size: 13px; color: #d14343; }
.art-ops { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.mine-item .art-main { padding: 12px 14px; }
.art-login-tip { text-align: center; padding: 28px 18px; }
.art-login-tip .art-btn { margin: 0 auto; }
@media (max-width: 420px) { .af-row { grid-template-columns: 1fr; } }

/* ===== 个人中心（我的） ===== */
.profile-page { padding-bottom: 10px; }
.profile-hero {
    position: relative;
    background: linear-gradient(135deg, #ff7a59 0%, #ff4d6d 55%, #c026d3 100%);
    color: #fff;
    padding: 10px 16px 56px;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 14px 30px rgba(255, 77, 109, .22);
}
.profile-nav { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.pn-btn {
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(255, 255, 255, .16); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; line-height: 1;
}
.pn-title { font-size: 17px; font-weight: 600; letter-spacing: .5px; }
.profile-guest { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.pg-avatar {
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(255, 255, 255, .22);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 700; flex: 0 0 auto;
}
.pg-main { flex: 1; min-width: 0; }
.pg-title { font-size: 18px; font-weight: 700; }
.pg-sub { font-size: 12px; opacity: .85; margin-top: 4px; }
.pg-login {
    flex: 0 0 auto; border: 0; border-radius: 20px;
    background: #fff; color: #ff4d6d;
    padding: 8px 16px; font-size: 13px; font-weight: 600;
}
.pu-row { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.profile-avatar {
    width: 60px; height: 60px; border-radius: 50%;
    background-color: rgba(255, 255, 255, .24);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border: 2px solid rgba(255, 255, 255, .55);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; font-weight: 700; flex: 0 0 auto;
    color: #fff;
    overflow: hidden;
}
.pu-main { flex: 1; min-width: 0; }
.profile-name { font-size: 19px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-sub { font-size: 12px; opacity: .82; margin-top: 4px; }
.pu-edit {
    flex: 0 0 auto; font-size: 12px; color: #fff; text-decoration: none;
    background: rgba(255, 255, 255, .18); border-radius: 14px; padding: 6px 12px;
}
.profile-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 16px; text-align: center; }
.ps-item b { display: block; font-size: 19px; font-weight: 700; line-height: 1.25; }
.ps-item span { font-size: 11px; opacity: .82; }
.profile-body { position: relative; margin-top: -42px; padding: 0 12px; }
.profile-actions {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
    background: var(--card); border-radius: 16px;
    padding: 14px 6px 8px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
}
.pa-item {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    padding: 6px 2px 10px; font-size: 12px; color: var(--text);
}
.pa-ico {
    position: relative;
    width: 38px; height: 38px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    background: color-mix(in srgb, var(--primary) 12%, transparent);
    color: var(--primary);
}
.pa-dot {
    position: absolute; top: -3px; right: -3px;
    min-width: 8px; height: 8px; border-radius: 5px;
    background: #ff4d4f; border: 1px solid var(--card);
}
.pf-card {
    background: var(--card); border-radius: 16px;
    padding: 14px 16px 16px; margin-top: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .05);
}
.pf-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.pf-card-title { font-size: 15px; font-weight: 700; }
.pf-card-sub { font-size: 12px; color: var(--muted); margin: 10px 0 8px; }
.pf-more { font-size: 12px; color: var(--primary); }
.pf-badge-text { font-size: 11px; color: #ff4d6d; font-weight: 500; margin-left: 4px; }
.pf-link-btn {
    border: 0; background: transparent; color: var(--primary);
    font-size: 12px; padding: 2px 0;
}
.pf-balance { font-size: 12px; color: var(--muted); }
.pf-balance b { color: var(--primary); font-size: 15px; }
.pf-inline-btn {
    border: 1px solid color-mix(in srgb, var(--primary) 35%, transparent);
    color: var(--primary); background: color-mix(in srgb, var(--primary) 8%, transparent);
    border-radius: 18px; padding: 7px 14px; font-size: 13px; font-weight: 600;
}
.pf-notice { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.pf-notice:last-child { border-bottom: 0; }
.pf-notice-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.pf-notice-head b { font-size: 13.5px; display: flex; align-items: center; gap: 6px; }
.pf-notice-head .muted { font-size: 11px; white-space: nowrap; }
.pf-dot { width: 7px; height: 7px; border-radius: 50%; background: #ff4d6d; display: inline-block; }
.pf-notice-body { font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.55; }
.pf-work { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.pf-work:last-child { border-bottom: 0; }
.pf-work-cover {
    width: 62px; height: 62px; flex: 0 0 auto; border-radius: 10px;
    background: color-mix(in srgb, var(--primary) 10%, transparent) center/cover no-repeat;
}
.pf-work-body { flex: 1; min-width: 0; }
.pf-work-title { font-size: 14px; font-weight: 600; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-work-meta { font-size: 12px; color: var(--muted); margin-top: 4px; }
.pf-work-reject { font-size: 12px; color: #d14343; margin-top: 4px; }
.pf-work-ops { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: 0 0 auto; }
.pf-work-ops a, .pf-work-ops button {
    border: 1px solid var(--line); background: transparent; color: var(--text);
    border-radius: 14px; padding: 4px 10px; font-size: 12px;
}
.pf-work-ops button { color: #d14343; }
.pf-logout {
    width: 100%; margin-top: 14px; padding: 12px;
    border: 0; border-radius: 14px;
    background: var(--card); color: #d14343;
    font-size: 15px; font-weight: 600;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .05);
}
@media (max-width: 360px) {
    .profile-actions { grid-template-columns: repeat(4, 1fr); }
    .pa-item { font-size: 11px; }
}

.pa-ico-img img{width:26px;height:26px;border-radius:8px;object-fit:cover;display:block}

/* ===== 在线报名页（参照「我的」页面风格） ===== */
.signup-page { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
.signup-hero {
    background: linear-gradient(135deg, #ff7a59 0%, #ff4d6d 55%, #c026d3 100%);
    color: #fff;
    padding: 10px 16px 48px;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 14px 30px rgba(255, 77, 109, .22);
}
.sg-nav { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.sn-btn {
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(255, 255, 255, .16); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; line-height: 1; text-decoration: none;
}
.sn-btn.sn-me { width: auto; padding: 0 13px; font-size: 13px; border-radius: 17px; }
.sn-title { font-size: 17px; font-weight: 600; letter-spacing: .5px; }
.sg-hero-main { padding: 12px 2px 0; }
.sg-title { font-size: 22px; font-weight: 700; line-height: 1.32; text-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.sg-sub { margin-top: 6px; font-size: 13px; opacity: .92; }
.sg-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.sg-tag {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 12px; padding: 5px 10px; border-radius: 999px;
    background: rgba(255, 255, 255, .18);
}
.sg-tag-free { background: rgba(255, 255, 255, .28); font-weight: 600; }
.sg-tag-fee { background: rgba(255, 236, 179, .3); font-weight: 600; }

.signup-form { position: relative; margin-top: -30px; padding: 0 14px; }
.sg-card {
    background: var(--card);
    border-radius: 16px;
    padding: 16px 15px;
    box-shadow: 0 8px 22px rgba(31, 36, 48, .07);
    margin-bottom: 14px;
}
.sg-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.sg-step {
    width: 26px; height: 26px; border-radius: 9px; flex: none;
    background: linear-gradient(135deg, #ff7a59, #ff4d6d);
    color: #fff; font-size: 13px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 10px rgba(255, 77, 109, .3);
}
.sg-card-title b { display: block; font-size: 15px; color: var(--text); }
.sg-card-title i { display: block; font-style: normal; font-size: 12px; color: var(--muted); margin-top: 2px; }

.sg-fields .field { margin-bottom: 16px; }
.sg-fields .field:last-child { margin-bottom: 0; }
.sg-fields .field > label { font-size: 13px; color: #4b5162; font-weight: 500; margin-bottom: 8px; }
.sg-fields .field > label em { color: #ff4d6d; font-style: normal; margin-left: 2px; }
.sg-fields input[type=text],
.sg-fields input[type=tel],
.sg-fields input[type=number],
.sg-fields input[type=url],
.sg-fields input[type=date],
.sg-fields select,
.sg-fields textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid transparent;
    background: #f6f7fb;
    border-radius: 12px;
    font-size: 15px;
    color: var(--text);
    outline: none;
    transition: border-color .18s, background .18s, box-shadow .18s;
}
.sg-fields input[type=text],
.sg-fields input[type=tel],
.sg-fields input[type=number],
.sg-fields input[type=url],
.sg-fields input[type=date],
.sg-fields select { height: 46px; padding: 0 14px; }
.sg-fields select { padding-right: 34px; }
.sg-fields textarea { min-height: 96px; padding: 12px 14px; line-height: 1.6; resize: vertical; }
.sg-fields input::placeholder,
.sg-fields textarea::placeholder { color: #a6adbd; }
.sg-fields input:focus,
.sg-fields select:focus,
.sg-fields textarea:focus {
    border-color: #ff8f78;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 77, 109, .10);
}
.sg-fields .upload-box {
    border: 1.5px dashed #ffc7b8;
    border-radius: 14px;
    background: #fff8f5;
    padding: 20px 12px;
    text-align: center;
}
.sg-fields .upload-box.has-file { border-color: #ffd7cc; background: #fffaf8; }
.sg-fields .upload-tip { font-size: 13px; color: #c26a54; }
.sg-fields .upload-box .thumbs { margin-top: 12px; justify-content: center; }
.sg-fields .upload-ed { margin-top: 8px; font-size: 12px; color: var(--muted); }
.sg-fields .upload-box .file-chip { background: #ffece4; color: #c2553d; }

.sg-fee {
    margin: 0 0 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff7e8;
    color: #b45309;
    font-size: 13px;
    line-height: 1.7;
}
.sg-footer { padding: 2px 0 6px; }
.sg-footer-note { text-align: center; font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.sg-submit {
    width: 100%; height: 50px; border: 0; border-radius: 14px;
    background: linear-gradient(135deg, #ff7a59, #ff4d6d);
    color: #fff; font-size: 16px; font-weight: 700;
    box-shadow: 0 10px 24px rgba(255, 77, 109, .32);
    transition: transform .12s, box-shadow .12s;
}
.sg-submit:active { transform: translateY(1px); box-shadow: 0 6px 16px rgba(255, 77, 109, .28); }
.sg-submit[disabled] { opacity: .6; box-shadow: none; }

/* ===== 作品编辑页（沿用报名页风格） ===== */
.sg-status-note {
    margin: 0 0 14px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff7e8;
    color: #b45309;
    font-size: 13px;
    line-height: 1.7;
    box-shadow: 0 6px 16px rgba(180, 83, 9, .08);
}
.sg-status-note strong { color: #92400e; }
.sg-reject { margin-top: 6px; color: #b91c1c; }
.sg-fields .field > label { display: block; }
.sg-fields .upload-box.mini { padding: 14px 12px; }
.sg-fields .upload-box.mini .upload-tip { font-size: 12px; }
.sg-fields .check-group { display: flex; flex-wrap: wrap; gap: 10px 16px; padding: 4px 0; }
.sg-fields .check-item {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 14px; color: #4b5162;
    background: #f6f7fb; border-radius: 10px; padding: 8px 12px;
}
.sg-fields .check-item input { accent-color: #ff4d6d; }
.sg-fields .thumb { width: 76px; height: 76px; }
.sg-fields .thumb img { border-radius: 10px; }
.sg-fields .thumb { cursor: pointer; }
.sg-fields .thumb-badge {
    position: absolute; left: 4px; top: 4px; z-index: 2;
    padding: 1px 6px; border-radius: 999px;
    background: rgba(255, 77, 109, .92); color: #fff;
    font-size: 10px; font-style: normal; line-height: 16px;
}

/* 评论置顶 */
.comment-item.is-top{background:#fff8f5;border-radius:10px;padding:10px 10px 6px;margin-bottom:8px}
.c-top{display:inline-block;margin-right:6px;padding:0 6px;height:18px;line-height:18px;border-radius:9px;background:var(--primary,#ff5a2c);color:#fff;font-size:11px}
.comment-closed-tip{padding:18px 0;text-align:center;color:#9aa3b2;font-size:13px}


/* ==== 新增字段控件：单选/多选、城市三级联动、高校/学校检索、富文本 ==== */
.check-group{display:flex;flex-wrap:wrap;gap:10px 16px;padding:4px 0}
.check-item{display:inline-flex;align-items:center;gap:6px;font-size:14px;color:#333;cursor:pointer}
.check-item input{width:16px;height:16px;accent-color:#ff5b5b;margin:0}
.dict-city{display:flex;gap:8px}
.dict-city select{flex:1;min-width:0}
.dict-search{position:relative}
.dict-search input{width:100%}
.dict-results{position:absolute;z-index:40;left:0;right:0;top:calc(100% + 4px);background:#fff;border-radius:12px;box-shadow:0 10px 26px rgba(17,24,39,.16);max-height:240px;overflow:auto;padding:4px}
.dict-item{display:flex;align-items:center;gap:8px;width:100%;text-align:left;background:transparent;border:0;padding:9px 10px;border-radius:8px;font-size:14px;color:#222;cursor:pointer}
.dict-item:hover,.dict-item:active{background:#fff1f0}
.dict-item strong{font-weight:600;flex:0 0 auto}
.dict-item .sub{color:#98a1ad;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dict-empty{padding:10px;color:#98a1ad;font-size:13px;text-align:center}
.rich-text{line-height:1.65;word-break:break-word}
.rich-text p{margin:0 0 8px}
.rich-text p:last-child{margin-bottom:0}
.rich-text img{max-width:100%;height:auto;border-radius:8px;margin:6px 0;display:block}
.rich-text ul,.rich-text ol{margin:6px 0 8px;padding-left:22px}
.rich-text li{margin:2px 0}
.rich-text blockquote{margin:8px 0;padding:8px 12px;border-left:3px solid #ff9a9a;background:#fff6f5;border-radius:6px;color:#666}
.rich-text h1,.rich-text h2,.rich-text h3,.rich-text h4{margin:10px 0 6px;font-size:15px;font-weight:700;color:#222}
.rich-text strong,.rich-text b{font-weight:700}
.rich-text em,.rich-text i{font-style:italic}
.rich-text a{color:#e8465a;text-decoration:underline}
.rich-text hr{border:none;border-top:1px dashed #eadfe0;margin:10px 0}
/* 富文本编辑器在浅色卡片内的收敛 */
.sg-fields .re-wrap,.signup-form .re-wrap{border-radius:10px;overflow:hidden}
.dict-pending-tip{margin-top:6px;font-size:12px;line-height:1.5;color:#c2410c;background:#fff7ed;border:1px solid #fed7aa;border-radius:8px;padding:6px 10px}
.field-desc{margin:6px 2px 0;font-size:12px;line-height:1.6;color:#9aa0a6}

/* ===== 登录 / 注册弹层（v1.0.48） ===== */
.auth-sheet{position:fixed;left:0;right:0;bottom:0;z-index:60;background:#fff;border-radius:22px 22px 0 0;padding:22px 20px calc(22px + env(safe-area-inset-bottom));max-height:88vh;overflow-y:auto;transform:translateY(100%);transition:transform .28s ease;box-shadow:0 -12px 40px rgba(0,0,0,.16)}
.auth-sheet.open{transform:translateY(0)}
.auth-close{position:absolute;right:14px;top:12px;width:30px;height:30px;border:none;border-radius:50%;background:#f4f1f1;color:#8a7f80;font-size:15px;line-height:30px;padding:0}
.auth-head{text-align:center;margin-bottom:16px}
.auth-badge{width:52px;height:52px;margin:0 auto 10px;border-radius:16px;background:linear-gradient(135deg,#ff8a5c,#e60012);color:#fff;font-size:24px;font-weight:700;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 18px rgba(230,0,18,.28)}
.auth-head h3{font-size:20px;margin:0;color:#231a1b}
.auth-head p{margin:6px 0 0;font-size:12.5px;color:#9a8a8c}
.auth-seg{display:flex;background:#f6f2f2;border-radius:12px;padding:4px;margin-bottom:16px}
.auth-seg-btn{flex:1;border:none;background:transparent;border-radius:9px;padding:9px 0;font-size:14px;color:#8a7f80;font-weight:600}
.auth-seg-btn.on{background:#fff;color:#e60012;box-shadow:0 2px 8px rgba(0,0,0,.08)}
.auth-seg.small{margin-bottom:14px}
.auth-seg.small .auth-seg-btn{font-size:13px;padding:7px 0}
body.theme-festival .auth-sheet .auth-seg-btn{background:transparent;color:#8a7f80;box-shadow:none}
body.theme-festival .auth-sheet .auth-seg-btn.on{background:#fff;color:#e60012;box-shadow:0 2px 8px rgba(0,0,0,.08)}
body.theme-festival .auth-sheet .auth-close{background:#f4f1f1;color:#8a7f80;box-shadow:none}
body.theme-festival .auth-sheet .auth-code-btn{background:#fff0f0;color:#e60012;box-shadow:none;border:1px solid #ffd9d9}
.auth-pane{padding-top:2px}
.auth-field{margin-bottom:12px}
.auth-field label{display:block;font-size:12.5px;color:#8a7f80;margin-bottom:6px}
.auth-field input{width:100%;box-sizing:border-box;border:1px solid #f0e4e4;background:#fdf9f9;border-radius:12px;padding:12px 14px;font-size:15px;color:#231a1b;outline:none}
.auth-field input:focus{border-color:#ffb4a6;background:#fff;box-shadow:0 0 0 3px rgba(230,0,18,.06)}
.auth-code{display:flex;gap:8px}
.auth-code input{flex:1}
.auth-code-btn{flex:0 0 auto;border:1px solid #f3c9c2;background:#fff5f3;color:#e60012;border-radius:12px;padding:0 14px;font-size:13px;font-weight:600}
.auth-submit{width:100%;border:none;border-radius:14px;padding:14px;font-size:16px;font-weight:700;color:#fff;background:linear-gradient(135deg,#ff7a52,#e60012);box-shadow:0 10px 22px rgba(230,0,18,.26);margin-top:4px}
.auth-submit:active{transform:translateY(1px)}
.auth-switch{text-align:center;margin-top:14px;font-size:13px;color:#9a8a8c}
.auth-switch a{color:#e60012;font-weight:600;text-decoration:none;margin-left:2px}
.auth-agree{display:flex;gap:8px;align-items:flex-start;margin-top:14px;font-size:12px;line-height:1.6;color:#9a8a8c}
.auth-agree input{margin-top:2px;accent-color:#e60012}
.auth-agree a{color:#e60012;text-decoration:none}
.devlink{margin-top:16px;padding-top:14px;border-top:1px dashed #f0e4e4}
.devlink input{width:100%;box-sizing:border-box;border:1px solid #f0e4e4;background:#fdf9f9;border-radius:10px;padding:9px 12px;font-size:13px;margin-bottom:8px;text-align:center}
.devlink button{width:100%;border:1px dashed #f3c9c2;background:#fff;color:#b98a84;border-radius:10px;padding:9px;font-size:12.5px}

.pf-avatar-edit{width:64px;height:64px;border-radius:50%;background:linear-gradient(135deg,#ff9a76,#e60012);color:#fff;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:700;background-size:cover;background-position:center;flex:0 0 auto}
.pf-upload-btn{display:inline-block;padding:9px 16px;border-radius:12px;border:1px solid #f3c9c2;background:#fff5f3;color:#e60012;font-size:13px;font-weight:600}

/* ===== 通用子页面（礼物打赏 / 奖项设置 / 活动规则 / 投诉反馈 / 生成海报）——参照「我的」 ===== */
.sp-page { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
.sp-hero {
    position: relative;
    background: linear-gradient(135deg, #ff7a59 0%, #ff4d6d 55%, #c026d3 100%);
    color: #fff;
    padding: 10px 16px 52px;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 14px 30px rgba(255, 77, 109, .22);
}
.sp-nav { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.sp-btn {
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(255, 255, 255, .16); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; line-height: 1; text-decoration: none; border: 0;
}
.sp-btn.is-hidden { visibility: hidden; }
.sp-nav-title { font-size: 16.5px; font-weight: 600; letter-spacing: .4px; }
.sp-hero-main { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.sp-hero-ico {
    width: 54px; height: 54px; flex: 0 0 auto; border-radius: 18px;
    background: rgba(255, 255, 255, .2);
    display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.sp-hero-txt { flex: 1; min-width: 0; }
.sp-hero-h { font-size: 19px; font-weight: 700; line-height: 1.32; }
.sp-hero-d { font-size: 12.5px; opacity: .86; margin-top: 5px; line-height: 1.55; }
.sp-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.sp-stats.cols-1 { grid-template-columns: 1fr; }
.sp-stat { background: rgba(255, 255, 255, .16); border-radius: 12px; padding: 9px 12px; }
.sp-stat b { display: block; font-size: 16.5px; font-weight: 700; line-height: 1.3; }
.sp-stat span { font-size: 11.5px; opacity: .85; }
.sp-body { position: relative; margin-top: -40px; padding: 0 12px; }
.sp-card {
    background: var(--card); border-radius: 16px; padding: 15px 16px 16px; margin-bottom: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
}
.sp-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.sp-card-title { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.sp-more { font-size: 12px; color: var(--primary); text-decoration: none; white-space: nowrap; }
.sp-muted { font-size: 12px; color: var(--muted); line-height: 1.7; }
.sp-empty { text-align: center; color: var(--muted); font-size: 13px; padding: 26px 0; }
.sp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sp-tile {
    display: block; text-align: center; text-decoration: none; color: var(--text);
    background: color-mix(in srgb, var(--primary) 7%, #fff);
    border: 1px solid color-mix(in srgb, var(--primary) 14%, transparent);
    border-radius: 14px; padding: 12px 6px 11px; min-width: 0;
}
.sp-tile-ico { font-size: 26px; line-height: 1.2; }
.sp-tile-ico img { width: 32px; height: 32px; object-fit: contain; display: inline-block; vertical-align: middle; }
.sp-tile-name { font-size: 13px; font-weight: 600; margin-top: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-tile-meta { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.sp-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); text-decoration: none; color: inherit; }
.sp-row:last-child { border-bottom: 0; }
.sp-medal {
    width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%;
    background: linear-gradient(135deg, #ffd36a, #ff9a3d); color: #7a3b00;
    display: flex; align-items: center; justify-content: center;
    font-size: 12.5px; font-weight: 700;
}
.sp-medal.gray { background: color-mix(in srgb, var(--primary) 10%, #f3f4f8); color: var(--muted); }
.sp-ico {
    width: 38px; height: 38px; flex: 0 0 38px; border-radius: 12px;
    background: color-mix(in srgb, var(--primary) 12%, transparent);
    background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.sp-cover { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 11px; object-fit: cover; background: color-mix(in srgb, var(--primary) 10%, transparent); }
.sp-main { flex: 1; min-width: 0; }
.sp-name { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-sub { font-size: 12px; color: var(--muted); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-val { font-size: 13px; font-weight: 600; color: var(--primary); white-space: nowrap; }
.sp-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sp-kv-item {
    background: color-mix(in srgb, var(--primary) 6%, #fff);
    border-radius: 12px; padding: 10px 12px; min-width: 0;
}
.sp-kv-item span { display: block; font-size: 11.5px; color: var(--muted); }
.sp-kv-item b { display: block; margin-top: 4px; font-size: 13.5px; font-weight: 600; word-break: break-word; }
.sp-text { font-size: 13.5px; line-height: 1.78; color: var(--text); white-space: pre-wrap; word-break: break-word; }
.sp-richtext { font-size: 13.5px; line-height: 1.78; color: var(--text); word-break: break-word; }
.sp-richtext img { max-width: 100%; border-radius: 10px; }
.sp-list { list-style: none; margin: 0; padding: 0; }
.sp-list li { position: relative; padding-left: 16px; font-size: 12.5px; line-height: 1.75; color: var(--muted); }
.sp-list li::before { content: "·"; position: absolute; left: 4px; top: -1px; color: var(--primary); font-weight: 700; }
.sp-field { display: block; margin-bottom: 14px; }
.sp-field:last-child { margin-bottom: 0; }
.sp-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.sp-label em { color: var(--primary); font-style: normal; }
.sp-input, .sp-select, .sp-textarea {
    width: 100%; box-sizing: border-box;
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--primary) 4%, #fff);
    border-radius: 12px; padding: 12px 14px;
    font-size: 14px; color: var(--text); font-family: inherit;
}
.sp-textarea { min-height: 132px; resize: vertical; line-height: 1.6; }
.sp-hint { font-size: 11.5px; color: var(--muted); margin-top: 6px; text-align: right; }
.sp-submit {
    width: 100%; margin-top: 4px; border: 0; border-radius: 14px; padding: 13px;
    background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 60%, #ff9a3d));
    color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .5px;
    box-shadow: 0 10px 22px rgba(255, 77, 109, .26);
}
.sp-submit[disabled] { opacity: .6; }
.sp-upimgs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.sp-upimg { position: relative; width: 76px; height: 76px; border-radius: 12px; overflow: hidden; background: #f3f4f8; }
.sp-upimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-upimg button {
    position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; border-radius: 50%;
    border: 0; background: rgba(0, 0, 0, .55); color: #fff; font-size: 13px; line-height: 1; padding: 0;
}
.sp-upload {
    display: flex; align-items: center; justify-content: center;
    width: 76px; height: 76px; border-radius: 12px;
    border: 1px dashed color-mix(in srgb, var(--primary) 45%, transparent);
    color: var(--primary); font-size: 12px; cursor: pointer;
}
.sp-actions { display: flex; gap: 10px; padding: 2px 12px 26px; }
.sp-action {
    flex: 1; text-align: center; text-decoration: none;
    padding: 13px 0; border-radius: 14px; font-size: 15px; font-weight: 700;
}
.sp-action.primary {
    background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 60%, #ff9a3d));
    color: #fff; box-shadow: 0 10px 22px rgba(255, 77, 109, .24);
}
.sp-action.ghost { background: var(--card); color: var(--text); border: 1px solid var(--line); }
.sp-note { font-size: 12px; color: var(--muted); line-height: 1.7; }
.sp-live { display: flex; align-items: center; gap: 8px; padding: 8px 0; font-size: 13px; border-bottom: 1px dashed var(--line); }
.sp-live:last-child { border-bottom: 0; }
.sp-live-txt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 360px) {
    .sp-hero-h { font-size: 17.5px; }
    .sp-kv { grid-template-columns: 1fr; }
}
