/* 全国酒量地图 · 样式
 * 配色沿用茅福品牌：赭红 #8C3B2E / 鎏金 #C9A24D / 宣纸米 #F7F4EE
 */

:root {
  --red: #8C3B2E;
  --red-dark: #6E2C21;
  --red-soft: #A85A46;
  --gold: #C9A24D;
  --paper: #F7F4EE;
  --paper-2: #FFFFFF;
  --ink: #2B2621;
  --ink-2: #6B6259;
  --ink-3: #9A9187;
  --line: #E4DCD1;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(43, 38, 33, .05), 0 8px 24px rgba(43, 38, 33, .06);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部 ---------- */
.site-header {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-seal {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--red); color: #F7E9C8;
  display: grid; place-items: center;
  font-size: 17px; font-weight: 700; letter-spacing: 1px;
  flex: 0 0 auto;
}
.brand-name { font-size: 17px; font-weight: 600; letter-spacing: .5px; }
.brand-sub { font-size: 12px; color: var(--ink-3); margin-left: 2px; }

.tabs { display: flex; gap: 4px; }
.tab {
  border: 0; background: transparent; cursor: pointer;
  font: inherit; font-size: 14px; color: var(--ink-2);
  padding: 8px 14px; border-radius: 8px; transition: all .18s;
}
.tab:hover { background: rgba(140, 59, 46, .07); color: var(--red); }
.tab.on { background: var(--red); color: #FBF1E4; }

/* ---------- 页头 ---------- */
.hero { padding: 34px 0 8px; }
.hero h1 {
  font-size: 30px; line-height: 1.3; margin: 0 0 10px;
  letter-spacing: 1px; font-weight: 600;
}
.hero h1 em { font-style: normal; color: var(--red); }
.hero p { margin: 0; color: var(--ink-2); max-width: 720px; font-size: 14.5px; }

/* ---------- 布局 ---------- */
.panel { display: none; padding: 24px 0 40px; }
.panel.on { display: block; }

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 356px;
  gap: 24px;
  align-items: start;
}

.card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.card + .card { margin-top: 16px; }
.card-title {
  font-size: 14px; font-weight: 600; color: var(--ink);
  margin: 0 0 14px; display: flex; align-items: center; gap: 8px;
}
.card-title::before {
  content: ''; width: 3px; height: 14px; border-radius: 2px; background: var(--gold);
}

/* ---------- 方格地图 ---------- */
.grid-map {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 6px;
  max-width: 620px;
  margin: 0 auto;
}
.tile {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  border: 1px solid rgba(43, 38, 33, .06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .14s, box-shadow .14s;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.15;
  user-select: none;
}
.tile:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(140, 59, 46, .22); z-index: 2; }
.tile.on { outline: 2px solid var(--red); outline-offset: 2px; }
.tile .t-idx { font-size: 10.5px; opacity: .72; font-weight: 400; margin-top: 2px; }
.tile.short { font-size: 12px; letter-spacing: -.2px; }

.legend { display: flex; align-items: center; gap: 10px; justify-content: center; margin-top: 18px; flex-wrap: wrap; font-size: 12px; color: var(--ink-3); }
.legend-bar { display: flex; border-radius: 4px; overflow: hidden; }
.legend-bar i { width: 30px; height: 11px; display: block; }

/* ---------- 详情面板 ---------- */
.detail-empty { color: var(--ink-3); font-size: 13.5px; }
.detail-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.detail-name { font-size: 26px; font-weight: 600; color: var(--red); letter-spacing: 1px; }
.detail-rank { font-size: 13px; color: var(--ink-2); }
.detail-rank b { color: var(--red); font-size: 16px; }

.meter { height: 8px; border-radius: 4px; background: #EFE8DE; overflow: hidden; margin: 12px 0 4px; }
.meter i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--gold), var(--red)); }
.meter-label { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); }

.kv { margin-top: 14px; border-top: 1px dashed var(--line); }
.kv div { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; align-items: flex-start; }
.kv span { color: var(--ink-3); flex: 0 0 62px; font-size: 12.5px; padding-top: 1px; }
.kv b { font-weight: 500; color: var(--ink); }

.quote {
  margin-top: 14px; padding: 12px 14px;
  background: #FBF6EE; border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0; font-size: 13.5px; color: #5E4A32;
}

/* ---------- 按钮 ---------- */
.btn {
  border: 0; cursor: pointer; font: inherit; font-size: 14px;
  padding: 10px 20px; border-radius: 8px;
  background: var(--red); color: #FBF1E4; transition: all .18s;
}
.btn:hover { background: var(--red-dark); }
.btn.ghost { background: transparent; color: var(--red); border: 1px solid rgba(140, 59, 46, .3); }
.btn.ghost:hover { background: rgba(140, 59, 46, .07); }
.btn.gold { background: var(--gold); color: #4A3410; }
.btn.gold:hover { filter: brightness(.94); }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

select, input[type=text] {
  font: inherit; font-size: 14px; padding: 9px 12px;
  border: 1px solid var(--line); border-radius: 8px;
  background: var(--paper-2); color: var(--ink);
  outline: none; min-width: 0;
}
select:focus, input[type=text]:focus { border-color: var(--red-soft); }

/* ---------- PK ---------- */
.pk-picks { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.pk-picks select { flex: 1 1 160px; }
.pk-vs { font-size: 13px; color: var(--gold); font-weight: 600; letter-spacing: 2px; }

.pk-stage { display: grid; grid-template-columns: 1fr 64px 1fr; gap: 12px; align-items: start; }
.pk-side { text-align: center; }
.pk-side .n { font-size: 22px; font-weight: 600; color: var(--red); }
.pk-side .i { font-size: 12.5px; color: var(--ink-3); }
.pk-bar { height: 260px; display: flex; align-items: flex-end; justify-content: center; gap: 6px; margin-top: 14px; }
.pk-bar i {
  width: 42px; border-radius: 8px 8px 0 0; display: block;
  transition: height .5s cubic-bezier(.2, .8, .3, 1);
}
.pk-mid { display: grid; place-items: center; height: 260px; margin-top: 14px; color: var(--ink-3); font-size: 12px; }

.verdict {
  margin-top: 20px; padding: 16px 18px; border-radius: 10px;
  background: #FBF6EE; border: 1px solid #EFE2CC; font-size: 14px; color: #5E4A32;
}
.verdict b { color: var(--red); }

/* ---------- 榜单 ---------- */
.rank-list { list-style: none; margin: 0; padding: 0; }
.rank-list li {
  display: grid; grid-template-columns: 34px 1fr auto;
  gap: 12px; align-items: center;
  padding: 11px 12px; border-radius: 8px; font-size: 14px;
  cursor: pointer; transition: background .15s;
}
.rank-list li:hover { background: #FBF7F1; }
.rank-list .no {
  font-size: 13px; font-weight: 600; color: var(--ink-3);
  text-align: center;
}
.rank-list li.top1 .no, .rank-list li.top2 .no, .rank-list li.top3 .no { color: var(--red); }
.rank-list .nm { font-weight: 500; }
.rank-list .nm small { color: var(--ink-3); font-weight: 400; margin-left: 8px; font-size: 12px; }
.rank-list .sc { color: var(--red); font-weight: 600; font-variant-numeric: tabular-nums; }

.rank-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ---------- 战报 ---------- */
.report-form { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.report-canvas-holder { margin-top: 20px; }
#poster { max-width: 100%; border-radius: 12px; box-shadow: var(--shadow); display: block; }

/* ---------- 页脚 ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  padding: 28px 0 36px;
  margin-top: 20px;
  font-size: 13px;
  color: var(--ink-2);
}
.site-footer .notice {
  background: #FBF6EE; border: 1px solid #EFE2CC; border-radius: 10px;
  padding: 12px 16px; margin-bottom: 20px; color: #6B5433; font-size: 12.5px;
}
.friend-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.friend-links a {
  display: inline-block; padding: 6px 14px; border-radius: 6px;
  border: 1px solid rgba(140, 59, 46, .22); background: rgba(140, 59, 46, .04);
  color: var(--red); font-size: 13px; text-decoration: none; transition: all .18s;
}
.friend-links a:hover { background: var(--red); color: #FBF1E4; border-color: var(--red); text-decoration: none; }
.footer-meta { margin-top: 18px; color: var(--ink-3); font-size: 12px; line-height: 1.9; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .map-layout { grid-template-columns: 1fr; }
  .rank-cols { grid-template-columns: 1fr; }
  .site-header .wrap { height: auto; padding: 10px 20px; flex-direction: column; align-items: flex-start; gap: 8px; }
  .tabs { width: 100%; overflow-x: auto; }
  .hero h1 { font-size: 24px; }
  .grid-map { gap: 4px; }
  .tile { font-size: 11px; border-radius: 6px; }
  .tile .t-idx { font-size: 9px; }
  .tile.short { font-size: 10px; }
  .pk-stage { grid-template-columns: 1fr 40px 1fr; }
  .pk-bar i { width: 30px; }
}

/* ==================== 今日酒量第一横幅 ==================== */
.today-top {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(135deg, #8C3B2E, #A8493A);
  color: #F7F4EE; border-radius: 14px;
  padding: 14px 18px; margin: 0 0 18px;
  box-shadow: 0 6px 18px rgba(140, 59, 46, .28);
}
.today-top .tt-flame { font-size: 26px; line-height: 1; }
.today-top .tt-main { flex: 1; min-width: 0; }
.today-top .tt-label { font-size: 12px; letter-spacing: 2px; opacity: .82; }
.today-top .tt-value { font-size: 17px; font-weight: 700; margin-top: 2px; }
.today-top .tt-value em { font-style: normal; color: #F5D48A; }
.today-top .tt-boost {
  border: none; cursor: pointer; white-space: nowrap;
  background: #C9A24D; color: #3B2412;
  font-size: 13px; font-weight: 700;
  padding: 9px 16px; border-radius: 999px;
}
.today-top .tt-boost:hover { filter: brightness(1.06); }

/* ==================== 城市榜 ==================== */
.city-list { list-style: none; margin: 0; padding: 0; }
.city-list li {
  display: grid; grid-template-columns: 34px 1fr auto auto;
  gap: 10px; align-items: center;
  padding: 10px 4px; border-bottom: 1px dashed #EFE8DC;
}
.city-list li:last-child { border-bottom: none; }
.city-list .no { font-weight: 700; color: #9A9187; font-size: 14px; }
.city-list li:nth-child(-n+3) .no { color: #8C3B2E; }
.city-list .nm { font-size: 15px; font-weight: 600; color: #2B2621; }
.city-list .bar { height: 8px; border-radius: 4px; background: #F0E9DD; overflow: hidden; width: 110px; }
.city-list .bar i { display: block; height: 100%; background: linear-gradient(90deg, #C9A24D, #8C3B2E); }
.city-list .sc { font-weight: 700; color: #8C3B2E; font-size: 15px; min-width: 44px; text-align: right; }
.city-list .boost-one {
  border: none; cursor: pointer; background: #FBF3EE; color: #8C3B2E;
  border: 1px solid #E8CFC5; font-size: 12.5px; font-weight: 700;
  padding: 6px 12px; border-radius: 999px;
}
.city-list .boost-one:hover { background: #8C3B2E; color: #fff; }

/* ==================== 助力弹窗 ==================== */
.boost-mask {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(43, 38, 33, .55);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.boost-box {
  position: relative;
  background: #FDFBF7; border-radius: 18px;
  width: 420px; max-width: 100%; max-height: 92vh; overflow: auto;
  padding: 24px 22px 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .3);
}
.boost-close {
  position: absolute; top: 10px; right: 12px;
  border: none; background: none; cursor: pointer;
  font-size: 22px; color: #9A9187; line-height: 1;
}
.boost-title { font-size: 19px; font-weight: 800; color: #2B2621; text-align: center; }
.boost-city { text-align: center; margin: 12px 0 4px; }
.boost-city select {
  font-size: 15px; padding: 8px 12px; border-radius: 10px;
  border: 1px solid #E4DCD1; background: #fff; color: #2B2621;
  max-width: 240px;
}
.boost-cur { font-size: 13px; color: #9A9187; margin-top: 6px; }
.boost-sec { margin-top: 16px; background: #F7F2E9; border-radius: 14px; padding: 14px; }
.boost-sec-t { font-size: 14.5px; font-weight: 700; color: #5E4A32; margin-bottom: 10px; }
.boost-sec-t small { font-weight: 400; color: #9A9187; font-size: 12px; }
.boost-free { display: flex; align-items: center; gap: 8px; }
.boost-free input {
  width: 90px; padding: 9px 10px; font-size: 16px; font-weight: 700;
  border: 1px solid #E4DCD1; border-radius: 10px; color: #2B2621;
}
.boost-free .u { color: #6B6259; font-size: 14px; }
.boost-quota { font-size: 12px; color: #9A9187; margin-top: 8px; }
.boost-god { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.god-step {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid #E4DCD1; background: #fff; cursor: pointer;
  font-size: 16px; font-weight: 700; color: #5E4A32;
}
.god-n { min-width: 30px; text-align: center; font-size: 17px; font-weight: 800; color: #2B2621; }
.god-unit { color: #6B6259; font-size: 13px; }
.god-btn { margin-left: auto; background: #8C3B2E; color: #fff; }
.boost-msg { min-height: 20px; font-size: 13.5px; color: #8C3B2E; text-align: center; margin-top: 12px; font-weight: 600; }
.boost-fine { font-size: 11px; color: #B3AAA0; text-align: center; margin-top: 8px; line-height: 1.6; }

@media (max-width: 560px) {
  .city-list li { grid-template-columns: 26px 1fr auto auto; }
  .city-list .bar { width: 60px; }
  .today-top .tt-value { font-size: 15px; }
}

/* ============================================================
   酒神相助 · 支付成功庆祝画面
   ============================================================ */
.godwin {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  padding: 18px; overflow: hidden;
  background:
    radial-gradient(circle at 50% 40%, rgba(160, 66, 50, .95) 0%, rgba(96, 34, 26, .97) 58%, rgba(46, 18, 14, .99) 100%);
  -webkit-tap-highlight-color: transparent;
}
.godwin.on { display: flex; animation: gw-fade .3s ease-out both; }
@keyframes gw-fade { from { opacity: 0; } to { opacity: 1; } }

/* 旋转金光放射 */
.godwin-rays {
  position: absolute; left: 50%; top: 40%;
  width: 200vmax; height: 200vmax; margin: -100vmax 0 0 -100vmax;
  background: repeating-conic-gradient(from 0deg,
    rgba(255, 219, 132, .17) 0deg 4.5deg,
    rgba(255, 219, 132, 0) 4.5deg 13deg);
  animation: gw-spin 22s linear infinite;
  pointer-events: none;
}
@keyframes gw-spin { to { transform: rotate(360deg); } }

/* 酒花 / 金星上升粒子 */
.godwin-sparks { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.godwin-sparks i {
  position: absolute; bottom: -6vh; display: block; border-radius: 50%;
  opacity: 0; will-change: transform, opacity;
  animation-name: gw-rise; animation-timing-function: linear; animation-iteration-count: infinite;
}
@keyframes gw-rise {
  0%   { transform: translate3d(0, 0, 0) scale(.55); opacity: 0; }
  10%  { opacity: 1; }
  75%  { opacity: .9; }
  100% { transform: translate3d(0, -112vh, 0) scale(1.1); opacity: 0; }
}

/* 卡片 */
.godwin-card {
  position: relative; z-index: 2;
  width: 336px; max-width: 100%; max-height: 94vh; overflow-y: auto;
  text-align: center; padding: 20px 20px 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, #FFFBF0 0%, #FDF1D8 100%);
  border: 2px solid rgba(201, 162, 77, .9);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .13), 0 26px 60px rgba(0, 0, 0, .45);
  animation: gw-pop .6s cubic-bezier(.2, 1.55, .45, 1) both;
}
@keyframes gw-pop {
  0%   { transform: scale(.5) translateY(34px); opacity: 0; }
  62%  { transform: scale(1.06) translateY(0); opacity: 1; }
  100% { transform: scale(1) translateY(0); }
}

/* 顶部红金彩条 */
.godwin-card::before {
  content: ""; position: absolute; left: 14px; right: 14px; top: -3px; height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, #8C3B2E, #E9B23F 30%, #8C3B2E 55%, #E9B23F 80%, #8C3B2E);
}

.godwin-halo {
  position: absolute; left: 50%; top: 74px; width: 220px; height: 220px; margin: -110px 0 0 -110px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 214, 130, .85) 0%, rgba(255, 206, 110, .35) 42%, rgba(255, 206, 110, 0) 70%);
  animation: gw-halo 2.2s ease-in-out infinite;
}
@keyframes gw-halo {
  0%, 100% { transform: scale(.9); opacity: .75; }
  50%      { transform: scale(1.12); opacity: 1; }
}

.godwin-figure {
  position: relative; width: 172px; margin: 2px auto 0;
  animation: gw-bob 1.8s ease-in-out infinite;
}
@keyframes gw-bob {
  0%, 100% { transform: translateY(0) rotate(-1.6deg); }
  50%      { transform: translateY(-8px) rotate(1.6deg); }
}
.godwin-figure svg { display: block; width: 100%; height: auto; }
.godwin-figure .tw { animation: gw-twinkle 1.3s ease-in-out infinite; }
.godwin-figure .tw2 { animation: gw-twinkle 1.3s ease-in-out .45s infinite; }
.godwin-figure .tw3 { animation: gw-twinkle 1.3s ease-in-out .9s infinite; }
@keyframes gw-twinkle { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }

.godwin-title {
  margin: 6px 0 4px; font-size: 27px; font-weight: 900; letter-spacing: 2px;
  background: linear-gradient(180deg, #F2CE6C 0%, #D8A32B 46%, #A9760E 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gw-title .75s .12s backwards cubic-bezier(.2, 1.65, .45, 1) both;
}
@keyframes gw-title {
  0%   { transform: scale(.6) rotate(-4deg); opacity: 0; }
  70%  { transform: scale(1.08) rotate(1.5deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); }
}

.godwin-sub {
  font-size: 15px; font-weight: 700; color: #7A2E22; line-height: 1.6;
}
.godwin-sub b { color: #B4820F; font-size: 17px; }

.godwin-bless {
  margin: 10px 8px 0; padding: 9px 12px;
  font-size: 13px; color: #6E4A22; line-height: 1.65;
  background: rgba(255, 255, 255, .72); border-radius: 12px;
  border: 1px dashed rgba(201, 162, 77, .8);
}

.godwin-tip { margin-top: 8px; font-size: 11.5px; color: #A9977A; }

.godwin-btn {
  display: block; width: 100%; margin-top: 13px; padding: 12px 0;
  border: 0; border-radius: 999px; cursor: pointer;
  font-family: inherit; font-size: 16px; font-weight: 800; letter-spacing: 1px; color: #5A2A12;
  background: linear-gradient(180deg, #FFE596 0%, #E9B23F 48%, #C98D1E 100%);
  box-shadow: 0 6px 0 #A5710F, 0 10px 22px rgba(0, 0, 0, .28);
  animation: gw-pulse 1.5s ease-in-out infinite;
}
@keyframes gw-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.035); }
}
.godwin-btn:active { transform: translateY(3px) scale(1); box-shadow: 0 3px 0 #A5710F; }

@media (max-width: 380px) {
  .godwin-figure { width: 148px; }
  .godwin-title { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .godwin-rays, .godwin-halo, .godwin-figure, .godwin-btn,
  .godwin-figure .tw, .godwin-figure .tw2, .godwin-figure .tw3,
  .godwin-sparks i { animation: none !important; }
  .godwin-sparks { display: none; }
}

/* ============================================================
   实时指数：助力加成标记 / 名次变化
   ============================================================ */
.live-tip { color: var(--red); font-weight: 500; }
.live-note {
  margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line);
  font-size: 12px; color: var(--ink-3); text-align: center; line-height: 1.75;
}
.live-note b { color: var(--red); font-size: 13px; }

/* 方块上的助力角标 */
.tile .t-bump {
  position: absolute; top: -6px; right: -6px; z-index: 3;
  padding: 1px 5px; border-radius: 999px; white-space: nowrap;
  background: linear-gradient(180deg, #E9B23F, #C08E1E);
  color: #FFF; font-size: 10px; font-weight: 700; font-style: normal; line-height: 1.5;
  box-shadow: 0 1px 4px rgba(43, 38, 33, .3);
}
.t-bump.demo {
  position: static; display: inline-block; vertical-align: middle;
  margin: 0 2px; padding: 0 5px; border-radius: 999px;
  background: linear-gradient(180deg, #E9B23F, #C08E1E);
  color: #FFF; font-size: 10px; font-weight: 700; font-style: normal;
}
.tile.boosted { box-shadow: 0 0 0 1.5px rgba(233, 178, 63, .9), 0 4px 14px rgba(140, 59, 46, .2); }
.tile.flash { animation: tile-flash 2.4s ease-out; z-index: 5; }
@keyframes tile-flash {
  0%   { transform: scale(1);    box-shadow: 0 0 0 0 rgba(233, 178, 63, .95); }
  18%  { transform: scale(1.24); box-shadow: 0 0 0 10px rgba(233, 178, 63, .4); }
  45%  { transform: scale(1.06); box-shadow: 0 0 0 4px rgba(233, 178, 63, .26); }
  100% { transform: scale(1);    box-shadow: 0 0 0 0 rgba(233, 178, 63, 0); }
}

/* 名次变化箭头 */
.rk-up { color: #C0392B; font-style: normal; font-weight: 700; font-size: 12px; margin-left: 6px; }
.rk-down { color: #8A8A8A; font-style: normal; font-weight: 600; font-size: 12px; margin-left: 6px; }
.detail-rank .rk-up, .detail-rank .rk-down { font-size: 13px; }

.detail-boost {
  margin-top: 10px; padding: 8px 10px; border-radius: 10px;
  background: rgba(233, 178, 63, .14); border: 1px solid rgba(233, 178, 63, .45);
  color: #7A2E22; font-size: 12.5px; line-height: 1.65;
}
.detail-boost b { color: #B4820F; }

.rank-list .nm-boost { color: #B4820F; font-weight: 600; margin-left: 6px; font-size: 11px; }
.hero-live { display: inline-block; margin-left: 10px; font-size: 12.5px; font-weight: 500; color: var(--ink-3); }
.city-list .c-today { display: block; font-style: normal; font-size: 11px; font-weight: 600; color: #B4820F; }

.live-note .live-mine {
  margin: -2px 0 8px; padding: 7px 10px; border-radius: 10px;
  background: rgba(233, 178, 63, .16); border: 1px solid rgba(233, 178, 63, .5);
  color: #7A2E22; font-size: 12.5px; line-height: 1.7;
}
.live-note .live-mine b { color: #B4820F; font-size: 13px; }

@media (max-width: 560px) {
  .tile .t-bump { top: -5px; right: -5px; font-size: 9px; padding: 0 4px; }
  .hero-live { display: block; margin: 4px 0 0; }
}

/* ============ 天安门酒 · 招商横幅 ============ */
.tamw-banner {
  display: flex; align-items: center; gap: 12px; width: 100%;
  margin-top: 12px; padding: 12px 14px;
  background: linear-gradient(135deg, #8C3B2E 0%, #6E2318 100%);
  border: 1px solid #C9A24D; border-radius: 12px;
  color: #F7E9C8; cursor: pointer; text-align: left;
  font-family: inherit; transition: transform .15s ease, box-shadow .15s ease;
}
.tamw-banner:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(140,59,46,.35); }
.tamw-seal {
  flex: none; width: 40px; height: 40px; border-radius: 9px;
  background: linear-gradient(160deg, #F8E2A0, #DBA835);
  color: #6E2318; font-size: 22px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.tamw-seal.big { width: 52px; height: 52px; font-size: 28px; }
.tamw-txt { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.tamw-txt b { font-size: 17px; letter-spacing: 1px; color: #F8E2A0; }
.tamw-txt small { font-size: 12px; opacity: .85; }
.tamw-go { flex: none; font-size: 13px; font-weight: 600; color: #F8E2A0; }

/* ============ 天安门酒 · 招商弹窗 ============ */
.tamw-mask {
  position: fixed; inset: 0; z-index: 210;
  background: rgba(30,18,12,.62); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.tamw-box {
  position: relative; width: 100%; max-width: 420px;
  background: #FDF9F0; border: 1px solid #C9A24D; border-radius: 18px;
  padding: 26px 24px 22px; box-shadow: 0 20px 60px rgba(0,0,0,.35);
  animation: tamwIn .28s cubic-bezier(.34,1.56,.64,1);
}
@keyframes tamwIn { from { transform: scale(.86) translateY(14px); opacity: 0; } }
.tamw-close {
  position: absolute; top: 10px; right: 12px; width: 34px; height: 34px;
  border: none; background: none; font-size: 24px; color: #9A9187; cursor: pointer;
}
.tamw-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.tamw-title { font-size: 24px; font-weight: 700; color: #6E2318; letter-spacing: 2px; }
.tamw-sub { font-size: 13px; color: #B4820F; margin-top: 2px; }
.tamw-body p { font-size: 14px; line-height: 1.8; color: #5C5348; margin: 0 0 12px; }
.tamw-tel-card {
  background: linear-gradient(135deg, #8C3B2E, #6E2318);
  border-radius: 14px; padding: 18px 16px; text-align: center; margin: 14px 0;
}
.tamw-tel-label { font-size: 13px; color: #E8CD9A; margin-bottom: 6px; }
.tamw-tel {
  display: block; font-size: 30px; font-weight: 700; color: #F8E2A0;
  text-decoration: none; letter-spacing: 2px; font-family: inherit;
}
.tamw-tel-note { font-size: 12px; color: #E8CD9A; opacity: .85; margin-top: 8px; }
.tamw-fine { font-size: 12px !important; color: #9A9187 !important; text-align: center; }

/* ============ 右下角 · 联系浮窗 ============ */
.contact-float {
  position: fixed; right: 12px; bottom: 12px; z-index: 150;
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.96); border: 1px solid #E4DCD1; border-radius: 14px;
  padding: 8px 10px; box-shadow: 0 6px 24px rgba(60,40,20,.18);
}
.cf-qr { width: 64px; height: 64px; border-radius: 8px; display: block; }
.cf-info { display: flex; flex-direction: column; gap: 3px; padding-right: 2px; }
.cf-info b { font-size: 13px; color: #6E2318; }
.cf-info a { font-size: 12px; color: #B4820F; text-decoration: none; font-weight: 600; }
@media (max-width: 560px) { .cf-qr { width: 52px; height: 52px; } }

/* ============ 详情：名酒链接 / 酒商推荐 ============ */
.brand-link { color: #B4820F; text-decoration: none; border-bottom: 1px dashed #C9A24D; font-weight: 700; }
.brand-link:hover { color: #8C3B2E; }
.wine-rec { font-style: normal; color: #6E2318; font-weight: 700; }
.wine-rec.open a { color: #B4820F; text-decoration: none; }

/* ============ 战报页 · 助力动态滚动 ============ */
.boost-ticker-card { margin-top: 18px; }
.boost-ticker {
  height: 180px; overflow: hidden; position: relative;
  border: 1px solid #EFE7DA; border-radius: 12px; background: #FFFDf8;
  mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent);
}
.bt-track { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; }
.bt-track.anim { animation: btScroll 24s linear infinite; }
.bt-track.anim:hover { animation-play-state: paused; }
@keyframes btScroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.bt-item {
  display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
  font-size: 13px; color: #5C5348; padding: 7px 10px;
  background: #F7F1E6; border-radius: 9px; line-height: 1.5;
}
.bt-item b { color: #6E2318; }
.bt-item.god { background: #FBF3E1; }
.bt-item.god b { color: #B4820F; }
.bt-item span { margin-left: auto; font-size: 11px; color: #9A9187; }
.bt-fine { font-size: 12px; color: #9A9187; margin-top: 8px; text-align: center; }
@media (prefers-reduced-motion: reduce) { .bt-track.anim { animation: none; } }

/* 名酒「招商」小标记（点击弹招商电话） */
.bl-tag {
  display: inline-block; margin-left: 4px; padding: 0 4px;
  font-size: 10px; font-style: normal; font-weight: 600; line-height: 15px;
  color: #FFF4DC; background: linear-gradient(135deg, #C9A24D, #A9760E);
  border-radius: 4px; vertical-align: 1px;
}
