* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; background: #f5f6f8; color: #1f2329; line-height: 1.6; }
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 14px 28px; background: #fff; border-bottom: 3px solid #2b6cff; position: sticky; top: 0; z-index: 10; }
.brand { font-weight: 700; font-size: 18px; color: #2b6cff; }
.topbar nav a { margin-left: 18px; color: #555; text-decoration: none; font-size: 14px; }
.topbar nav a:hover { color: #2b6cff; }
.container { max-width: 960px; margin: 28px auto; padding: 0 20px; }
.container.narrow { max-width: 420px; }
h1 { font-size: 24px; margin-bottom: 18px; }
h2 { font-size: 20px; margin: 22px 0 12px; }
h3 { font-size: 16px; margin: 16px 0 8px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.06); transition: transform .15s; }
.card:hover { transform: translateY(-3px); }
.card-body { padding: 16px; }
.tag { display: inline-block; background: #eaf1ff; color: #2b6cff; font-size: 12px; padding: 2px 8px; border-radius: 4px; }
.card h3 { margin: 10px 0 6px; font-size: 17px; }
.sum { color: #666; font-size: 14px; min-height: 42px; }
.meta { display: flex; justify-content: space-between; align-items: center; margin: 10px 0; font-size: 14px; color: #888; }
.price { color: #e5453a; font-weight: 700; font-size: 16px; }
.btn, .btn2 { display: inline-block; background: #2b6cff; color: #fff; border: none; padding: 8px 18px; border-radius: 6px; cursor: pointer; text-decoration: none; font-size: 14px; }
.btn:hover, .btn2:hover { background: #1c54d6; }
.btn2 { background: #6b7785; padding: 6px 12px; }
.btn2:hover { background: #55606c; }
.empty { color: #999; padding: 30px 0; text-align: center; }
footer { text-align: center; color: #aaa; font-size: 13px; padding: 30px 0; }
.back { display: inline-block; color: #2b6cff; text-decoration: none; margin-bottom: 12px; font-size: 14px; }
.sum { color: #555; }
#player { margin: 16px 0; background: #000; border-radius: 8px; min-height: 60px; }
.chapters { list-style: none; }
.chapter { border-bottom: 1px solid #eee; }
.playBtn { width: 100%; text-align: left; background: none; border: none; padding: 12px 4px; cursor: pointer; font-size: 15px; color: #333; }
.playBtn:hover { color: #2b6cff; }
.alert { background: #fff7e6; border: 1px solid #ffd591; padding: 14px; border-radius: 8px; margin-top: 14px; font-size: 14px; }
.alert input { padding: 6px 10px; border: 1px solid #ccc; border-radius: 4px; margin-right: 6px; }
.msg { margin-left: 8px; color: #e5453a; font-size: 13px; }
.tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.tabs button { padding: 8px 18px; border: 1px solid #ddd; background: #fff; border-radius: 6px; cursor: pointer; }
.tabs button.active { background: #2b6cff; color: #fff; border-color: #2b6cff; }
form input, form textarea { display: block; width: 100%; margin-bottom: 12px; padding: 10px 12px; border: 1px solid #ddd; border-radius: 6px; font-size: 14px; font-family: inherit; }
form textarea { min-height: 80px; resize: vertical; }
.chk { display: block; margin-bottom: 12px; font-size: 14px; color: #555; }
.chapterRow { display: flex; gap: 6px; margin-bottom: 8px; }
.chapterRow input { margin-bottom: 0; flex: 1; }
.chapterRow button { background: #e5453a; color: #fff; border: none; border-radius: 4px; width: 36px; cursor: pointer; }
.row { background: #fff; border-radius: 8px; padding: 12px 14px; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.row .ok { color: #2ba471; font-size: 13px; }
.row .warn { color: #e8a33d; font-size: 13px; }
.row button { margin-left: auto; background: #6b7785; color: #fff; border: none; padding: 5px 10px; border-radius: 4px; cursor: pointer; font-size: 13px; }
.row button:last-child { background: #e5453a; }
