/* 情趣左轮 · 样式
   配色：带色近黑底（暗酒红黑）+ 同色系 + 亮色只给细线和高光（金色细线、酒红主按钮）
   同一区域只留一个醒目按钮：每屏底部一个实心红按钮，其余用金色描边或灰色小字 */
:root {
  --bg: #140a0d; --bg2: #1d0f13; --card: #221216; --card2: #2b161c;
  --line: rgba(214, 176, 108, .2); --line2: rgba(214, 176, 108, .5);
  --gold: #d6b06c; --gold2: #f0d9a6;
  --red: #c4303c; --red2: #e0414f; --redd: #7d1a24;
  --text: #f3e8de; --mute: #b3a199; --dim: #7a6861;
  --t1: #eba981; --t2: #f0626a; --t3: #ff4659; /* 三档：调情 / 越界 / 负距离 */
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --sans: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font-family: var(--sans); overscroll-behavior: none; }
body { background: radial-gradient(120% 70% at 50% 0%, #2a1016 0%, var(--bg) 62%) fixed, var(--bg); -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
button:disabled { cursor: default; }
#app { max-width: 480px; margin: 0 auto; height: 100vh; height: 100dvh; display: flex; flex-direction: column; position: relative; }

/* 顶栏 */
.bar { display: flex; align-items: center; height: 52px; padding: 0 8px; flex: none; }
.bar h2 { flex: 1; margin: 0; font-size: 16px; font-weight: 600; text-align: center; letter-spacing: .08em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar .side { width: 56px; display: flex; align-items: center; flex: none; }
.bar .side.r { justify-content: flex-end; }
.back { width: 40px; height: 40px; display: grid; place-items: center; color: var(--mute); font-size: 30px; line-height: 1; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; color: var(--mute); border-radius: 50%; }

.scroll { flex: 1; overflow-y: auto; padding: 4px 16px 12px; -webkit-overflow-scrolling: touch; }
.foot { flex: none; padding: 10px 16px calc(14px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 8px; align-items: center; }
.foot > .btn, .foot > .row2 { width: 100%; }

/* 按钮 */
.btn { display: flex; align-items: center; justify-content: center; height: 50px; border-radius: 14px; font-size: 17px; font-weight: 600; letter-spacing: .06em; width: 100%; transition: transform .1s, opacity .2s; }
.btn:active:not(:disabled) { transform: scale(.98); }
.btn.primary { background: linear-gradient(180deg, var(--red2), var(--red)); color: #fff; box-shadow: 0 6px 18px rgba(196, 48, 60, .32), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn.primary:disabled { background: #34201f; color: #806a64; box-shadow: none; }
.btn.ghost { border: 1px solid var(--line2); color: var(--gold2); height: 44px; font-size: 15px; font-weight: 500; }
.btn.sm { height: 38px; font-size: 14px; }
.btn.big { height: 56px; font-size: 19px; letter-spacing: .3em; }
.link { color: var(--mute); font-size: 14px; padding: 6px 8px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(179, 161, 153, .35); }
.link.sm { font-size: 13px; }
.row2 { display: flex; gap: 10px; }
.row2 > * { flex: 1; }
.hint { color: var(--mute); font-size: 13px; line-height: 1.65; margin: 8px 0; }
.eyebrow { font-size: 13px; letter-spacing: .4em; color: var(--gold); margin: 0; padding-left: .4em; }
.t1 { color: var(--t1); } .t2 { color: var(--t2); } .t3 { color: var(--t3); }

/* 首页 */
.home { display: flex; flex-direction: column; height: 100%; padding: 0 22px calc(44px + env(safe-area-inset-bottom)); }
.home-top { display: flex; justify-content: flex-end; height: 48px; align-items: center; margin-right: -10px; }
.hero { text-align: center; }
.hero .gun { width: 160px; height: 161px; }
.title { font-family: var(--serif); font-size: 44px; letter-spacing: .2em; padding-left: .2em; margin: 12px 0 4px; font-weight: 700; color: var(--gold2); text-shadow: 0 2px 26px rgba(196, 48, 60, .5); }
.sub { color: var(--mute); margin: 0; font-size: 14px; letter-spacing: .14em; }
.rules { list-style: none; padding: 0; margin: 22px 0 26px; counter-reset: r; }
.rules li { position: relative; padding: 11px 0 11px 42px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--mute); line-height: 1.5; counter-increment: r; }
.rules li:last-child { border-bottom: 0; }
.rules li b { display: block; color: var(--text); font-size: 16px; font-weight: 600; margin-bottom: 2px; }
.rules li::before { content: counter(r); position: absolute; left: 2px; top: 13px; width: 26px; height: 26px; border: 1px solid var(--line2); border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); color: var(--gold); font-size: 14px; }
.fine { color: var(--dim); font-size: 12px; text-align: center; margin: 10px 0 0; }

/* 加减器、分段、小格子、开关 */
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line2); border-radius: 12px; height: 38px; overflow: hidden; flex: none; }
.stepper button { width: 40px; height: 100%; font-size: 22px; color: var(--gold2); }
.stepper button:disabled { color: #4d3c38; }
.stepper b { min-width: 38px; text-align: center; font-size: 18px; font-family: var(--serif); border-left: 1px solid var(--line); border-right: 1px solid var(--line); line-height: 36px; }
.stepper.dis b { color: var(--dim); }
.seg { display: inline-flex; border: 1px solid var(--line2); border-radius: 10px; overflow: hidden; flex: none; }
.seg button { padding: 0 13px; height: 34px; font-size: 14px; color: var(--mute); }
.seg button + button { border-left: 1px solid var(--line); }
.seg button.on { background: rgba(214, 176, 108, .16); color: var(--gold2); font-weight: 600; }
.seg.wide { width: 100%; }
.seg.wide button { flex: 1; height: 38px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.chip { min-width: 38px; height: 34px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); font-size: 14px; color: var(--mute); }
.chip.on { border-color: var(--gold); color: var(--gold2); background: rgba(214, 176, 108, .14); font-weight: 600; }
.switch { width: 48px; height: 28px; border-radius: 14px; background: #3a2a2c; position: relative; transition: background .2s; flex: none; }
.switch::after { content: ''; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #bfaea6; transition: left .2s, background .2s; }
.switch.on { background: var(--red); }
.switch.on::after { left: 23px; background: #fff; }

/* 入座 */
.lbl { font-size: 15px; }
.row-between { display: flex; align-items: center; justify-content: space-between; padding: 6px 0 0; }
.seats { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.seat { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 7px 12px 7px 8px; }
.seat .no { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 17px; color: var(--gold2); border: 1px solid var(--line2); flex: none; }
.seat input { flex: 1; min-width: 0; height: 36px; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--text); font-size: 15px; padding: 0 4px; outline: none; border-radius: 0; font-family: inherit; }
.seat input::placeholder { color: var(--dim); }
.seat input:focus { border-bottom-color: var(--gold); }

/* 定枪 */
.grp { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 4px 14px 6px; margin: 8px 0 10px; }
.grp h3 { font-size: 12px; letter-spacing: .3em; color: var(--gold); font-weight: 500; margin: 10px 0 0; }
.field { display: flex; align-items: center; justify-content: space-between; min-height: 52px; gap: 10px; border-top: 1px solid rgba(214, 176, 108, .1); }
.grp h3 + .field { border-top: 0; }
.field > span { font-size: 15px; flex: none; }
.field > span small { display: block; font-size: 12px; color: var(--dim); margin-top: 2px; }
.field.col { flex-direction: column; align-items: stretch; padding: 10px 0 2px; gap: 8px; }
.field.col .chips { justify-content: flex-start; }
.field .auto { font-style: normal; font-size: 13px; color: var(--mute); }
.live-row { display: flex; gap: 8px; align-items: center; }
.ladder { display: flex; gap: 5px; flex-wrap: wrap; margin: 4px 0 10px; }
.ladder span { font-size: 12px; padding: 3px 8px; border-radius: 8px; background: rgba(255, 255, 255, .035); color: var(--dim); }
.ladder span b { font-weight: 600; }
.tdesc { margin: 0 0 10px; font-size: 13px; color: var(--mute); }
.tdesc b { font-weight: 600; margin-right: 6px; font-size: 13px; }
.nope-h { margin: 2px 0 8px; font-size: 12px; color: var(--dim); }
.chips.nope { justify-content: flex-start; margin-bottom: 10px; }
.summary { font-size: 13px; color: var(--mute); line-height: 1.75; padding: 2px 4px; margin: 0; }
.warn { color: #f0a35e; }
.fix { display: inline-block; margin: 6px 0 0; height: 30px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--gold); color: var(--gold2); font-size: 13px; background: rgba(214, 176, 108, .1); }
.intro .link { margin-top: 4px; }

/* 装弹 */
.center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 24px; }
.pass-lbl { color: var(--mute); font-size: 14px; letter-spacing: .3em; margin: 0; padding-left: .3em; }
.pass-name { font-family: var(--serif); font-size: 40px; font-weight: 700; color: var(--gold2); margin: 8px 0 4px; letter-spacing: .04em; line-height: 1.25; }
.dots { display: flex; gap: 7px; justify-content: center; margin-bottom: 40px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--line2); }
.dots i.on { background: var(--red2); border-color: var(--red2); }
textarea { width: 100%; min-height: 118px; background: var(--card); border: 1px solid var(--line2); border-radius: 14px; color: var(--text); font-size: 17px; line-height: 1.6; padding: 12px 14px; resize: none; outline: none; font-family: inherit; display: block; }
textarea::placeholder { color: var(--dim); }
textarea:focus { border-color: var(--gold); }
.count { text-align: right; font-size: 12px; color: var(--dim); margin-top: 4px; }
.phs { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 14px; }
.ph { height: 32px; padding: 0 12px; border-radius: 16px; border: 1px dashed var(--line2); color: var(--gold2); font-size: 13px; }
.ph::before { content: '+ '; color: var(--gold); }
.tierpick { margin: 16px 0 0; }
.tp-h { font-size: 14px; margin: 0 0 8px; color: var(--text); }
.tp-h small { display: block; font-size: 12px; color: var(--dim); margin-top: 2px; }
.tp { display: flex; gap: 6px; }
.tchip { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 12px; padding: 7px 4px 8px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.tchip b { font-size: 14px; font-weight: 600; font-family: var(--serif); }
.tchip.on { border-color: var(--gold); background: rgba(214, 176, 108, .14); box-shadow: 0 0 0 1px rgba(214, 176, 108, .25); }
.tdots { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px; max-width: 64px; }
.tdots i { width: 7px; height: 7px; border-radius: 50%; border: 1px solid rgba(214, 176, 108, .45); }
.tdots i.on { background: var(--gold2); border-color: var(--gold2); }
.tdots i.over { background: var(--red2); border-color: var(--red2); }
.tdots em { font-style: normal; font-size: 12px; color: var(--mute); }
.est { color: var(--gold2); font-weight: 500; }
.sign { font-size: 13px; color: var(--mute); margin: 16px 0 0; text-align: center; }
.sign b { color: var(--gold2); font-weight: 600; }
.done-h { font-family: var(--serif); font-size: 30px; letter-spacing: .12em; margin: 18px 0 4px; color: var(--gold2); }
.center .gun.sm { width: 140px; height: 141px; }

/* 正面左轮特写（viewBox 260×262，转轮中心 130,140，枪口 130,78；握把切掉、下沿淡出；颜色写在 svg 属性里） */
.gun { overflow: visible; display: block; margin: 0 auto; }
.gun .rot { transform-box: view-box; transform-origin: 130px 140px; transition: transform .35s cubic-bezier(.3, .7, .3, 1); }
.gun .flash { transform-box: fill-box; transform-origin: 50% 50%; pointer-events: none; }
.gun.bang .flash { animation: flash .7s ease-out; }
.gun.bang { animation: recoil .45s ease-out; }
.gun.spin .rot { animation: spin 1.6s cubic-bezier(.12, .6, .22, 1) forwards; }
.gun.deco .rot { animation: slowspin 60s linear infinite; }
@keyframes flash { 0% { opacity: 0; transform: scale(.3); } 14% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.4); } }
@keyframes recoil { 0% { transform: none; } 18% { transform: translateY(-7px) scale(1.05); } 100% { transform: none; } }
@keyframes spin { from { transform: rotate(0); } to { transform: rotate(1080deg); } }
@keyframes slowspin { to { transform: rotate(360deg); } }
.gun-wrap { animation: aim 5s ease-in-out infinite; }
@keyframes aim { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(1.5px, -2px) rotate(.6deg); } }
.drum { display: flex; gap: 7px; justify-content: center; flex-wrap: wrap; margin: 6px auto 0; max-width: 300px; }
.drum .ch { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid rgba(214, 176, 108, .55); background: #0e0507; transition: background .3s, border-color .3s, transform .3s; }
.drum .ch.empty { border-style: dashed; border-color: rgba(179, 161, 153, .35); background: transparent; }
.drum .ch.hit { background: var(--red); border-color: #ff9aa2; }
.drum .ch.next { border-color: var(--gold2); box-shadow: 0 0 0 3px rgba(240, 217, 166, .16); transform: scale(1.2); }

/* 开枪 */
.gbar { display: flex; align-items: center; justify-content: space-between; height: 52px; padding: 0 6px 0 16px; flex: none; }
.gr { font-size: 14px; color: var(--mute); letter-spacing: .04em; }
.gr b { font-family: var(--serif); font-size: 18px; margin-left: 2px; }
.gbtns { display: flex; align-items: center; gap: 2px; }
.gmain { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: space-evenly; padding: 0 16px calc(10px + env(safe-area-inset-bottom)); min-height: 0; }
.cyl-wrap { text-align: center; }
.gun.main { width: 250px; height: 252px; filter: drop-shadow(0 12px 26px rgba(0, 0, 0, .6)); }
.cyl-info { font-size: 13px; color: var(--mute); margin: 8px 0 0; letter-spacing: .04em; }
.cyl-info b { color: var(--text); font-size: 15px; font-weight: 600; margin: 0 1px; }
.shooter { text-align: center; min-height: 86px; display: flex; flex-direction: column; justify-content: center; }
.shooter .pass-name { font-size: 34px; margin: 6px 0 0; }
.shooter.miss .pass-name { color: var(--mute); letter-spacing: .3em; padding-left: .3em; }
.shooter.miss .pass-lbl { color: var(--dim); }
.trigger { position: relative; width: 128px; height: 128px; border-radius: 50%; background: radial-gradient(circle at 50% 32%, #3d1a21, #1b0b0f 72%); border: 1px solid var(--line2); display: grid; place-items: center; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; transition: transform .15s, opacity .2s; flex: none; box-shadow: 0 0 0 6px rgba(196, 48, 60, .07), 0 12px 30px rgba(0, 0, 0, .45); }
.trigger span { font-size: 17px; color: var(--gold2); line-height: 1.5; letter-spacing: .14em; padding-left: .14em; pointer-events: none; font-weight: 600; }
.trigger:active:not(:disabled) { transform: scale(.95); background: radial-gradient(circle at 50% 32%, #5c1c27, #260c12 72%); }
.trigger:disabled { opacity: .3; }
.gmsg { font-size: 13px; color: var(--dim); min-height: 20px; margin: 0; }
body.shot #app { animation: shake .45s; }
@keyframes shake { 0%, 100% { transform: none; } 20% { transform: translate(-5px, 2px); } 40% { transform: translate(5px, -2px); } 60% { transform: translate(-3px, 1px); } 80% { transform: translate(2px, 0); } }

/* 浮层 */
#ov, #modal { position: fixed; inset: 0; z-index: 10; pointer-events: none; }
#modal { z-index: 20; }
.ov { position: absolute; inset: 0; pointer-events: auto; display: flex; align-items: center; justify-content: center; padding: 20px; animation: fade .25s ease-out; overflow-y: auto; }
.ov.dark { background: rgba(14, 6, 8, .94); }
.ov.dim { background: rgba(0, 0, 0, .62); }
.ov.hit { background: radial-gradient(120% 85% at 50% 38%, #8e1622 0%, #3b070d 62%, #1c0306 100%); animation: hitin .5s ease-out; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hitin { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
.ov-card { width: 100%; max-width: 400px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; margin: auto; }
.ov-card .btn { margin-top: 10px; }
.tier-big { font-family: var(--serif); font-size: 54px; letter-spacing: .24em; padding-left: .24em; margin: 6px 0 2px; font-weight: 700; line-height: 1.2; }
.tier-big.sm { font-size: 40px; }
.intro .gun { width: 170px; height: 171px; margin: 6px auto 0; }
.intro .drum { margin: 4px auto 6px; }
.intro-line { font-size: 17px; margin: 6px 0 0; color: var(--text); }
.intro-line b { font-family: var(--serif); font-size: 28px; color: var(--gold2); margin: 0 3px; }
.intro .hint { margin: 2px 0; }
.intro .first { color: var(--gold2); font-size: 14px; }
.hit-card .eyebrow.red { color: #ffb3b9; letter-spacing: .6em; padding-left: .6em; }
.hit-who { font-family: var(--serif); font-size: 32px; font-weight: 700; color: #fff; margin: 2px 0 14px; }
/* 词条卡片固定 4 行高（11-18 量过：题库最长的、玩家写满 60 字都是 4 行），字上下居中，换一条时卡片不跟着行数上下跳（董事长 11-18） */
.bullet-text { font-size: 23px; line-height: 1.6; font-weight: 600; color: #fff; background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 190, 190, .22); border-radius: 18px; padding: 20px 18px; width: 100%; word-break: break-word; min-height: calc(4 * 1.6em + 42px); display: flex; align-items: center; justify-content: center; }
.bullet-text .bt { display: block; }
/* 换一条：整张词条卡片翻一页（照炸弹的 flip，董事长 11-18 说好看） */
.bullet-text.flip { animation: flip .38s ease-out; }
@keyframes flip { from { transform: perspective(700px) rotateX(-75deg); opacity: .25; } to { transform: none; opacity: 1; } }
.who { color: #ffd98a; font-weight: 700; background: rgba(255, 217, 138, .13); border: 1px solid rgba(255, 217, 138, .35); border-radius: 8px; padding: 0 6px; margin: 0 4px; white-space: nowrap; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.credit { font-size: 14px; color: rgba(255, 228, 222, .82); margin: 12px 0 2px; }
.credit b { color: #ffd98a; font-weight: 600; }
.hit-card .link { color: rgba(255, 220, 215, .6); text-decoration-color: rgba(255, 220, 215, .25); margin-top: 2px; }
.hitops { width: 100%; margin-top: 10px; }
.hitops .btn { margin-top: 0; height: 44px; font-size: 15px; }
.swapbtn { border-color: rgba(255, 220, 215, .35); color: rgba(255, 232, 226, .9); }
.timer { position: relative; overflow: hidden; border-color: rgba(255, 210, 160, .55); color: #ffe2b8; }
.timer i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: rgba(255, 210, 160, .16); transition: width .2s linear; }
.timer span { position: relative; }
.timer.over { border-color: #ffd98a; color: #ffd98a; }
.rhits { list-style: none; padding: 0; margin: 14px 0 4px; width: 100%; max-width: 300px; }
.rhits li { display: flex; justify-content: space-between; padding: 9px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
.rhits li b { color: var(--red2); font-weight: 600; }
.modal { background: var(--card2); border: 1px solid var(--line2); border-radius: 18px; padding: 20px 18px 16px; width: 100%; max-width: 360px; margin: auto; }
.modal h3 { margin: 0 0 8px; font-size: 18px; }
.modal p { color: var(--mute); font-size: 14px; line-height: 1.6; margin: 0 0 16px; }
.ov.sheetwrap { align-items: flex-end; padding: 0; }
.sheet { width: 100%; max-width: 480px; max-height: 80vh; background: var(--card2); border-radius: 20px 20px 0 0; border-top: 1px solid var(--line2); display: flex; flex-direction: column; padding: 0 0 env(safe-area-inset-bottom); }
.sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 10px 4px 18px; font-size: 16px; }
.sheet-tabs { justify-content: flex-start; padding: 6px 16px 10px; flex-wrap: nowrap; overflow-x: auto; }
.sheet-list { overflow-y: auto; padding: 0 16px; flex: 1; }
.pk { display: block; width: 100%; text-align: left; padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.55; color: var(--text); }
.pkg { display: inline-block; margin-left: 6px; font-size: 11px; color: var(--dim); border: 1px solid var(--line); border-radius: 6px; padding: 0 5px; vertical-align: 1px; }
.pk:active { background: rgba(214, 176, 108, .08); }
.sheet-foot { text-align: center; margin: 8px 0 12px; }
.toast { position: fixed; left: 50%; bottom: 128px; transform: translateX(-50%); background: rgba(20, 8, 11, .92); border: 1px solid var(--line2); color: var(--gold2); padding: 8px 18px; border-radius: 20px; font-size: 14px; z-index: 30; animation: fade .2s; white-space: nowrap; }

/* 战报 */
.report { text-align: center; padding-top: 6px; }
.rtitle { font-family: var(--serif); font-size: 40px; color: var(--gold2); margin: 6px 0 4px; letter-spacing: .04em; }
.rwho { color: var(--mute); margin: 0 0 16px; font-size: 14px; }
.nums { display: flex; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.nums div { flex: 1; padding: 10px 0 8px; }
.nums div + div { border-left: 1px solid var(--line); }
.nums b { display: block; font-family: var(--serif); font-size: 30px; color: var(--text); line-height: 1.2; }
.nums span { font-size: 12px; color: var(--mute); letter-spacing: .2em; padding-left: .2em; }
.story { font-family: var(--serif); font-size: 16px; color: var(--text); margin: 14px 4px; line-height: 1.7; }
.awards { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.aw { display: flex; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-size: 14px; text-align: left; gap: 12px; }
.aw .k { color: var(--gold); flex: none; font-size: 13px; letter-spacing: .1em; width: 64px; }
.aw .v { color: var(--text); line-height: 1.45; }
.aw .v small { display: block; color: var(--mute); font-size: 12px; margin-top: 2px; }
.board { border-top: 1px solid var(--line); padding-top: 6px; }
.br { display: flex; align-items: center; gap: 10px; padding: 6px 2px; font-size: 14px; }
.br .bn { width: 92px; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--mute); flex: none; }
.br .meter { flex: 1; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .06); overflow: hidden; padding: 0; display: block; }
.br .meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--redd), var(--red2)); border-radius: 4px; }
.br b { width: 22px; text-align: right; font-family: var(--serif); flex: none; }

/* 矮屏手机（实际可视高度约 660） */
@media (max-height: 700px) {
  .title { font-size: 40px; margin-top: 8px; }
  .hero .gun { width: 140px; height: 141px; }
  .rules { margin-top: 14px; }
  .rules li { padding: 9px 0 9px 42px; }
  .rules li::before { top: 11px; }
  .gun.main { width: 232px; height: 234px; }
  .trigger { width: 116px; height: 116px; }
  .shooter { min-height: 76px; }
  .shooter .pass-name { font-size: 30px; }
  .intro .gun { width: 150px; height: 151px; }
  .tier-big { font-size: 46px; }
  .bullet-text { font-size: 21px; padding: 16px; min-height: calc(4 * 1.6em + 34px); }
  .hit-who { margin-bottom: 10px; }
  .dots { margin-bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .gun-wrap, .gun.bang, .gun.deco .rot, body.shot #app { animation: none; }
}

/* 反馈入口（董事长 11-18，四个游戏统一做法，见共享约定_游戏反馈入口.md）：低调，不用实心色 */
.fb-link { margin: 6px auto 0; color: var(--dim); font-size: 12px; }
.fb-card { display: flex; align-items: center; gap: 12px; margin: 16px 0 4px; padding: 12px 12px 12px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); text-align: left; }
.fb-card p { flex: 1; margin: 0; font-size: 13px; color: var(--mute); line-height: 1.5; }
.fb-card .btn { width: auto; flex: none; padding: 0 14px; font-size: 14px; }
.fb { position: fixed; inset: 0; z-index: 25; display: none; background: rgba(0, 0, 0, .62); overflow-y: auto; overscroll-behavior: contain; }
.fb.on { display: flex; align-items: flex-start; justify-content: center; padding: max(20px, 6vh) 16px 20px; animation: fade .2s ease-out; }
.fb-box { width: 100%; max-width: 380px; background: var(--card2); border: 1px solid var(--line2); border-radius: 18px; padding: 8px 16px 14px; }
.fb-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.fb-title { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: .04em; }
.fb-head .icon-btn { margin-right: -10px; }
.fb-field { position: relative; margin: 12px 0 14px; }
.fb textarea { height: 140px; min-height: 0; font-size: 16px; line-height: 1.55; padding: 12px 12px 28px; }
.fb-count { position: absolute; right: 12px; bottom: 8px; font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; pointer-events: none; }
.fb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fb-privacy { font-size: 12px; color: var(--dim); text-align: center; margin: 10px 0 0; }

/* 只有中文的提示条（js/lang-hint.js）：贴在最底下，淡色不抢按钮；可关，15 秒自己消失，只出一次 */
.langhint { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; max-width: 420px; margin: 0 auto; display: flex; align-items: center; gap: 8px; padding: 9px 6px 9px 14px; border-radius: 14px; background: rgba(34, 18, 22, .97); border: 1px solid var(--line2); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .8); font: 13px/1.45 var(--sans); color: var(--mute); -webkit-user-select: text; user-select: text; }
.langhint span { flex: 1; min-width: 0; }
.langhint button { flex: none; width: 30px; height: 30px; border: 0; border-radius: 50%; background: none; font-size: 19px; line-height: 1; color: var(--dim); cursor: pointer; }

/* 战报页右上角「下载卡片」（董事长 11-18 晚：保存成绩卡挪到右上角）：描边小药丸，不抢底部「分享到 X」 */
.bar.wide .side { width: 108px; }
.pill { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 12px; border: 1px solid var(--line2); border-radius: 16px; color: var(--gold2); font-size: 13px; white-space: nowrap; }
.pill:active { transform: scale(.97); }
