/* ==========================================================================
   宝儿服 · 群活动页   v2
   水墨 / 青棕 / 宣纸
   ========================================================================== */

:root {
  --paper: #efe7d6;
  --paper-2: #e7dcc6;
  --paper-3: #f7f1e2;
  --ink: #222a26;
  --ink-2: #45504a;
  --ink-3: #7b837a;
  --teal: #3f6b63;
  --teal-deep: #27463f;
  --teal-soft: #7fa298;
  --brown: #7a5a3a;
  --brown-deep: #4c3a26;
  --cinnabar: #a5342c;
  --gold: #b08b4f;
  --line: rgba(90, 72, 48, 0.2);
  --line-soft: rgba(90, 72, 48, 0.12);
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", "宋体", serif;
  --kai: "STKaiti", "KaiTi", "Kaiti SC", "楷体", "Songti SC", serif;
  --mono: ui-monospace, Menlo, Consolas, monospace;
  --shadow: 0 10px 26px -18px rgba(38, 30, 18, 0.85);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--serif);
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(1200px 600px at 12% -10%, rgba(63, 107, 99, 0.10), transparent 62%),
    radial-gradient(900px 520px at 92% 4%, rgba(122, 90, 58, 0.10), transparent 60%),
    radial-gradient(700px 700px at 50% 120%, rgba(63, 107, 99, 0.07), transparent 65%);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.16'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
a { color: var(--teal); text-decoration: none; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; position: relative; z-index: 1; }

/* ---------------------------------------------------------------- 顶部 */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #e9dfca 0%, #e2d6bd 60%, #d9cbaf 100%);
}
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.95; }
.hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(242, 235, 220, 0.58) 0%, rgba(242, 235, 220, 0.34) 42%, rgba(242, 235, 220, 0.62) 78%, rgba(239, 231, 214, 0.9) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 44px 16px 30px; text-align: center; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--kai); font-size: 13px; letter-spacing: 4px;
  color: var(--brown-deep);
  padding: 4px 14px;
  border-top: 1px solid rgba(90, 72, 48, 0.35);
  border-bottom: 1px solid rgba(90, 72, 48, 0.35);
  background: rgba(247, 241, 226, 0.45);
}
.hero-eyebrow i { width: 5px; height: 5px; background: var(--cinnabar); transform: rotate(45deg); display: inline-block; }

.hero h1 {
  margin: 16px 0 6px;
  font-family: var(--kai);
  font-size: clamp(38px, 8vw, 62px);
  font-weight: 700;
  letter-spacing: 10px;
  text-indent: 10px;
  color: #1f332e;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.5), 0 14px 30px rgba(39, 70, 63, 0.22);
}
.hero-sub {
  margin: 0;
  font-family: var(--kai);
  font-size: clamp(14px, 3.4vw, 17px);
  letter-spacing: 5px;
  color: #3d4f47;
  text-shadow: 0 1px 0 rgba(255, 252, 244, 0.75), 0 0 22px rgba(247, 241, 226, 0.9);
}
.hero-tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.hero-tag {
  font-size: 12.5px; letter-spacing: 1px; color: #4d4030;
  background: rgba(247, 241, 226, 0.72);
  border: 1px solid rgba(90, 72, 48, 0.24);
  padding: 4px 12px;
  border-radius: 999px;
}
.hero-tag b { color: var(--teal-deep); font-weight: 700; }

.seal {
  position: absolute; z-index: 3;
  right: 20px; top: 20px;
  width: 54px; height: 74px;
  border: 2.5px solid var(--cinnabar);
  border-radius: 4px;
  color: var(--cinnabar);
  font-family: var(--kai);
  font-size: 13px; line-height: 1.34; letter-spacing: 1px;
  display: flex; align-items: center; justify-content: center;
  writing-mode: vertical-rl;
  opacity: 0.9;
  transform: rotate(3deg);
  box-shadow: 0 0 0 2px rgba(165, 52, 44, 0.12);
}

/* ---------------------------------------------------------------- 导航 */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(240, 233, 218, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 18px -16px rgba(38, 30, 18, 0.9);
}
.nav-inner { display: flex; align-items: center; gap: 2px; height: 62px; }
.nav a.tab {
  position: relative;
  display: flex; align-items: center; gap: 9px;
  padding: 8px 16px;
  border-radius: 3px 3px 0 0;
  color: #43514a;
  transition: background 0.2s, color 0.2s;
}
.nav a.tab b {
  font-family: var(--kai); font-weight: 400; font-size: 12px;
  width: 24px; height: 24px; flex: 0 0 24px;
  border: 1px solid rgba(122, 90, 58, 0.38);
  border-radius: 50%;
  color: #9a8768;
  display: flex; align-items: center; justify-content: center;
  transition: 0.2s;
}
.nav a.tab .tab-txt { display: flex; flex-direction: column; line-height: 1.2; }
.nav a.tab .tab-txt > span { font-family: var(--kai); font-size: 15.5px; letter-spacing: 2px; }
.nav a.tab .tab-txt em { font-style: normal; font-size: 10.5px; letter-spacing: 1px; color: #918568; }
.nav a.tab:hover { background: rgba(63, 107, 99, 0.05); }
.nav a.tab.active { background: linear-gradient(180deg, rgba(63, 107, 99, 0.13), rgba(63, 107, 99, 0.02)); }
.nav a.tab.active b { background: linear-gradient(180deg, #4e7f74, #2f554c); border-color: #274740; color: #f4ecdc; }
.nav a.tab.active .tab-txt > span { color: #1d3a33; }
.nav a.tab.active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
}
.nav-spacer { flex: 1; }
.nav-admin {
  font-size: 12px; letter-spacing: 1px; color: #6d6352;
  border: 1px solid rgba(90, 72, 48, 0.28);
  padding: 6px 11px; border-radius: 2px;
  background: rgba(255, 253, 247, 0.5);
  cursor: pointer; transition: 0.2s;
}
.nav-admin:hover { color: var(--cinnabar); border-color: rgba(165, 52, 44, 0.45); }

/* ---------------------------------------------------------------- 公告 */
.pinned-banner {
  margin: 22px 0 0;
  position: relative;
  display: flex; gap: 14px; align-items: flex-start;
  padding: 15px 20px;
  background: linear-gradient(180deg, rgba(255, 252, 243, 0.96), rgba(246, 237, 219, 0.96));
  border: 1px solid rgba(122, 90, 58, 0.3);
  border-left: 3px solid var(--cinnabar);
  border-radius: 2px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pinned-banner:hover { transform: translateY(-1px); box-shadow: 0 16px 30px -22px rgba(38, 30, 18, 0.95); }
.pinned-banner::after { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(122, 90, 58, 0.14); pointer-events: none; }
.pinned-label {
  flex: 0 0 auto;
  font-family: var(--kai); font-size: 11.5px; letter-spacing: 3px;
  color: #fff5e6; background: var(--cinnabar); padding: 2px 8px; border-radius: 1px; margin-top: 2px;
}
.pinned-main { min-width: 0; }
.pinned-title { font-family: var(--kai); font-size: 17px; letter-spacing: 1px; color: #33271a; margin: 0 0 3px; }
.pinned-text { font-size: 13.5px; color: #5c5040; margin: 0; line-height: 1.7; }
.pinned-arrow { margin-left: auto; color: #a89877; font-size: 22px; line-height: 1; align-self: center; }

/* ---------------------------------------------------------------- 区块头 */
section.block { padding: 42px 0 8px; scroll-margin-top: 66px; }

.sec-head { display: flex; align-items: center; gap: 13px; }
.sec-num {
  font-family: var(--kai); font-size: 13px; letter-spacing: 2px;
  color: #8d7a5e;
  border: 1px solid rgba(122, 90, 58, 0.35);
  border-radius: 50%;
  width: 38px; height: 38px; flex: 0 0 38px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 252, 243, 0.6);
}
.sec-text { min-width: 0; }
.sec-head h2 {
  margin: 0; font-family: var(--kai);
  font-size: clamp(23px, 5vw, 29px); letter-spacing: 5px; font-weight: 700; color: #22302b; line-height: 1.3;
}
.sec-sub { margin: 2px 0 0; font-size: 12.5px; letter-spacing: 1px; color: #8b7f69; }
.sec-badge {
  margin-left: auto; flex: 0 0 auto;
  font-family: var(--kai); font-size: 12px; letter-spacing: 2px;
  padding: 4px 13px; border-radius: 999px;
  color: var(--teal-deep); background: rgba(63, 107, 99, 0.07);
  border: 1px solid rgba(63, 107, 99, 0.28);
  white-space: nowrap;
}
.sec-badge.red { color: #8b2b24; background: rgba(165, 52, 44, 0.06); border-color: rgba(165, 52, 44, 0.28); }

.rule {
  height: 1px; margin: 14px 0 20px;
  background: linear-gradient(90deg, rgba(90, 72, 48, 0.45), rgba(90, 72, 48, 0.18) 30%, rgba(90, 72, 48, 0.04));
  position: relative;
}
.rule::before {
  content: ""; position: absolute; left: 0; top: -2.5px;
  width: 6px; height: 6px; background: var(--teal); transform: rotate(45deg);
}

/* ---------------------------------------------------------------- 卡片 */
.card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 253, 246, 0.94), rgba(247, 240, 225, 0.94));
  border: 1px solid rgba(90, 72, 48, 0.22);
  border-radius: 3px;
  box-shadow: var(--shadow);
  padding: 20px;
}
.card::after {
  content: ""; position: absolute; inset: 5px;
  border: 1px solid rgba(90, 72, 48, 0.1);
  pointer-events: none; border-radius: 2px;
}
.card > * { position: relative; z-index: 1; }

.card-title {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--kai); font-size: 17px; letter-spacing: 2px; color: #2c3a34;
  margin: 0 0 14px;
}
.card-title::before { content: ""; width: 3px; height: 15px; background: var(--teal); border-radius: 1px; }
.card-title .hint { margin-left: auto; font-size: 12px; letter-spacing: 0; color: var(--ink-3); font-family: var(--serif); font-weight: 400; }

/* ---------------------------------------------------------------- 表单 */
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 12.5px; letter-spacing: 1.5px; color: #7a6c56; margin-bottom: 6px; }
.input, .textarea {
  width: 100%; padding: 11px 13px;
  background: rgba(255, 254, 249, 0.85);
  border: 1px solid rgba(90, 72, 48, 0.28);
  border-radius: 2px;
  font-size: 16px; color: #2a2a22;
  outline: none; transition: 0.18s;
  -webkit-appearance: none;
}
.input::placeholder, .textarea::placeholder { color: #a79b86; }
.input:focus, .textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(63, 107, 99, 0.13); background: #fffdf8; }
.textarea { min-height: 92px; resize: vertical; line-height: 1.7; }
.input-lg { padding: 13px 15px; font-size: 17px; }

select.input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%237a5a3a' stroke-width='1.7'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  background-size: 11px 8px;
  padding-right: 30px;
}
input[type="file"].input { padding: 7px 10px; font-size: 13px; color: #8d8272; cursor: pointer; }
input[type="file"].input::file-selector-button {
  font-family: var(--kai); font-size: 13px; letter-spacing: 1px;
  color: #4a3f2d; background: rgba(255, 253, 247, 0.9);
  border: 1px solid rgba(90, 72, 48, 0.32); border-radius: 2px;
  padding: 5px 12px; margin-right: 10px; cursor: pointer;
}
input[type="checkbox"] { accent-color: #4e7f74; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 22px;
  font-family: var(--kai); font-size: 16px; letter-spacing: 3px;
  border-radius: 2px; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.12s, filter 0.18s, box-shadow 0.18s;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(180deg, #518478 0%, #33605a 55%, #2b514a 100%);
  color: #f7f0df; border-color: #26453f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 6px 14px -10px rgba(30, 60, 54, 0.95);
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-cinnabar {
  background: linear-gradient(180deg, #b74e42 0%, #96302a 60%, #7f2620 100%);
  color: #fff4e8; border-color: #75201b;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 6px 14px -10px rgba(120, 30, 24, 0.9);
}
.btn-cinnabar:hover { filter: brightness(1.08); }
.btn-ghost { background: rgba(255, 253, 247, 0.6); border-color: rgba(90, 72, 48, 0.32); color: #4a3f2d; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.9); border-color: var(--teal-soft); }
.btn-sm { padding: 6px 13px; font-size: 13px; letter-spacing: 1.5px; }
.btn-lg { padding: 14px 22px; font-size: 18px; letter-spacing: 5px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; filter: grayscale(0.4); }

/* ---------------------------------------------------------------- 抽签台 */
.lottery-stage { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 18px; }

.tube-card { display: flex; flex-direction: column; align-items: stretch; }
.tube-scene { display: flex; flex-direction: column; align-items: center; padding: 6px 0 2px; }

.tube { position: relative; width: 96px; height: 208px; }

/* 筒身：上宽下窄的竹/木筒 */
.tube-body {
  position: absolute; left: 5px; right: 5px; top: 40px; bottom: 14px;
  z-index: 1;
  clip-path: polygon(0% 0%, 100% 0%, 89% 100%, 11% 100%);
  background:
    linear-gradient(90deg,
      #5b3a1f 0%, #7d5330 8%, #a26f42 26%, #c08e57 42%,
      #cf9d64 52%, #b5824d 66%, #8d5f37 86%, #55351c 100%);
  box-shadow: inset 0 0 0 1px rgba(58, 36, 16, 0.45),
              inset -11px 0 20px rgba(0, 0, 0, 0.26),
              inset 7px 0 16px rgba(255, 226, 176, 0.14);
}
/* 木纹 + 筒内暗影 */
.tube-body::before {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(74, 44, 18, 0.15) 0 1px, rgba(74, 44, 18, 0) 1px 8px),
    linear-gradient(180deg, rgba(26, 14, 4, 0.3) 0 10px, rgba(26, 14, 4, 0) 34px);
  pointer-events: none;
}
/* 束腰红绸 */
.tube-body::after {
  content: ""; position: absolute; left: -1px; right: -1px; bottom: 34px; height: 15px;
  background: linear-gradient(180deg, #c9564d 0%, #a5342c 48%, #7c221d 100%);
  box-shadow: 0 1px 0 rgba(255, 218, 196, 0.25), 0 4px 8px -4px rgba(50, 12, 10, 0.75);
}
/* 绸带结 + 两条飘带 */
.tube-knot {
  position: absolute; right: 12px; bottom: 33px; z-index: 4;
  width: 13px; height: 11px; border-radius: 46%;
  background: radial-gradient(ellipse at 34% 30%, #d9695f, #a5342c 58%, #7c221d 100%);
  box-shadow: 0 1px 2px rgba(40, 8, 6, 0.6);
}
.tube-knot::before,
.tube-knot::after {
  content: ""; position: absolute; top: 8px; width: 6px; height: 15px;
  background: linear-gradient(180deg, #a5342c, #7d231e);
  border-radius: 0 0 3px 3px;
}
.tube-knot::before { left: -1px; transform: rotate(-14deg); transform-origin: top left; }
.tube-knot::after { right: -1px; transform: rotate(12deg); transform-origin: top right; }
/* 筒口 */
.tube-mouth {
  position: absolute; left: 1px; right: 1px; top: 28px; height: 24px;
  z-index: 3;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 24%, #3c2611 0%, #1c1108 62%, #33200e 100%);
  box-shadow:
    inset 0 5px 9px rgba(0, 0, 0, 0.85),
    0 0 0 2px #93643b,
    0 0 0 3px rgba(44, 26, 9, 0.55),
    0 2px 0 1px rgba(255, 219, 168, 0.22);
}
/* 筒内密密插着的签 */
.tube-mouth::before {
  content: ""; position: absolute; left: 13%; right: 13%; top: 20%; bottom: 16%;
  border-radius: 50%;
  background: repeating-linear-gradient(90deg,
    rgba(206, 182, 142, 0.62) 0 2.4px, rgba(0, 0, 0, 0) 2.4px 6.6px);
  opacity: 0.55; filter: blur(0.5px);
}
/* 筒口前缘高光 */
.tube-mouth::after {
  content: ""; position: absolute; left: 3px; right: 3px; bottom: 2px; height: 40%;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  background: linear-gradient(180deg, rgba(255, 212, 152, 0.3), rgba(255, 190, 120, 0.02));
  pointer-events: none;
}
.tube-sticks { position: absolute; left: 50%; top: 0; width: 64px; margin-left: -32px; height: 42px; z-index: 2; }
.tube-sticks i {
  position: absolute; bottom: 0; left: 50%; width: 5.5px; height: 40px; margin-left: -2.75px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #fcf2da, #eedcb6 44%, #dcc094 86%, #bb9c6e);
  box-shadow: inset -1.5px 0 0 rgba(140, 110, 70, 0.42), 1px 0 1px rgba(60, 40, 20, 0.2);
  transform-origin: 50% 100%;
  transform: translateX(var(--shift, 0px)) rotate(var(--tilt, 0deg));
  animation: stickIdle 3.6s ease-in-out infinite;
}
.tube-sticks i::after {
  content: ""; position: absolute; top: 2px; left: 0; right: 0; height: 7px;
  background: linear-gradient(180deg, #bf4238, #9b2a23);
  border-radius: 2px 2px 0 0;
}
.tube-shadow {
  width: 104px; height: 10px; margin-top: 6px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(56, 36, 16, 0.36), rgba(56, 36, 16, 0.07) 60%, transparent 76%);
  filter: blur(1.3px);
}
@keyframes stickIdle {
  0%, 100% { transform: translateX(var(--shift, 0px)) rotate(var(--tilt, 0deg)); }
  50% { transform: translateX(var(--shift, 0px)) rotate(calc(var(--tilt, 0deg) + 1.6deg)); }
}
.tube-caption { margin-top: 6px; font-family: var(--kai); font-size: 12px; letter-spacing: 7px; color: #9a8b70; }

.reg-form { margin-top: 18px; }
.reg-note { margin: 12px 0 0; text-align: center; font-size: 12.5px; letter-spacing: 0.5px; color: #8b7f69; }
.reg-note b { font-family: var(--kai); font-size: 15px; color: var(--teal-deep); margin: 0 2px; }

/* 奖池 */
.prize-board { display: flex; flex-direction: column; }
.prize-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.prize-grid > .prize-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.prize-card {
  position: relative; padding: 12px 13px 11px;
  background: linear-gradient(180deg, rgba(255, 254, 248, 0.92), rgba(248, 241, 226, 0.88));
  border: 1px solid rgba(90, 72, 48, 0.2);
  border-left: 3px solid var(--teal);
  border-radius: 3px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.prize-card:hover { transform: translateY(-2px); box-shadow: 0 14px 24px -20px rgba(38, 30, 18, 0.9); }
.prize-card.coupon { border-left-color: var(--cinnabar); }
.prize-card.done { opacity: 0.55; border-left-color: #b3ab9a; }
.pc-top { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.pc-type {
  font-size: 10.5px; letter-spacing: 1px; padding: 1px 6px; border-radius: 2px;
  background: rgba(63, 107, 99, 0.1); color: var(--teal-deep); border: 1px solid rgba(63, 107, 99, 0.28);
}
.coupon .pc-type { background: rgba(165, 52, 44, 0.08); color: #8b2b24; border-color: rgba(165, 52, 44, 0.3); }
.pc-left { margin-left: auto; font-family: var(--kai); font-size: 11.5px; color: #8a7b63; white-space: nowrap; }
.pc-name { font-family: var(--kai); font-size: 15.5px; line-height: 1.4; color: #2b3833; letter-spacing: 0.5px; }
.pc-desc { font-size: 11px; color: #94886e; margin-top: 3px; line-height: 1.5; }
.pc-bar { margin-top: 9px; height: 3px; border-radius: 2px; background: rgba(90, 72, 48, 0.13); overflow: hidden; }
.pc-bar i { display: block; height: 100%; border-radius: 2px; background: linear-gradient(90deg, #4e7f74, #93b7ab); transition: width 0.6s ease; }
.coupon .pc-bar i { background: linear-gradient(90deg, #a5342c, #ce8878); }
.pc-meta { margin-top: 5px; display: flex; justify-content: space-between; font-size: 11px; color: #8f8370; }
.board-foot { margin: 14px 0 0; font-size: 11.5px; color: #a0957e; text-align: center; letter-spacing: 0.5px; }

/* 公示 */
.winner-board { margin-top: 18px; }
.winner-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.winner-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: linear-gradient(90deg, rgba(63, 107, 99, 0.08), rgba(63, 107, 99, 0.01));
  border: 1px solid rgba(63, 107, 99, 0.16);
  border-radius: 2px;
  animation: rowIn 0.45s ease both;
}
.winner-row.fresh { animation: rowFresh 1.6s ease 2; }
@keyframes rowIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes rowFresh {
  0%, 100% { box-shadow: 0 0 0 0 rgba(165, 52, 44, 0); }
  40% { box-shadow: 0 0 0 3px rgba(165, 52, 44, 0.22); }
}
.winner-idx {
  width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%;
  border: 1px solid rgba(165, 52, 44, 0.45); color: var(--cinnabar);
  font-family: var(--kai); font-size: 12px; display: flex; align-items: center; justify-content: center;
}
.winner-qq { font-family: var(--mono); font-size: 14px; color: #1e3a33; letter-spacing: 0.5px; }
.winner-prize { margin-left: auto; font-family: var(--kai); font-size: 14px; color: #6b4a2c; text-align: right; }

.empty {
  text-align: center; color: #988c76; font-size: 13.5px; letter-spacing: 1px;
  padding: 26px 10px;
  border: 1px dashed rgba(90, 72, 48, 0.22);
  border-radius: 2px;
  background: rgba(255, 253, 246, 0.4);
}
.empty.col-2 { grid-column: 1 / -1; }

/* ---------------------------------------------------------------- 拍卖 */
.disclaimer-bar {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 13px 16px;
  margin-bottom: 18px;
  background: linear-gradient(180deg, rgba(255, 246, 233, 0.95), rgba(250, 236, 218, 0.95));
  border: 1px solid rgba(165, 52, 44, 0.32);
  border-left: 3px solid var(--cinnabar);
  border-radius: 2px;
}
.disclaimer-bar .stamp {
  flex: 0 0 auto; font-family: var(--kai); font-size: 11px; letter-spacing: 2px;
  color: #fff3e6; background: var(--cinnabar); padding: 3px 7px; border-radius: 1px;
  writing-mode: vertical-rl; line-height: 1.2;
}
.disclaimer-bar p { margin: 0; font-size: 13px; line-height: 1.75; color: #6a4a37; }
.disclaimer-bar b { color: var(--cinnabar); }

.auction-list { display: flex; flex-direction: column; gap: 18px; }

.auc { display: grid; grid-template-columns: 300px 1fr; padding: 0; overflow: hidden; }
.auc-media { position: relative; background: var(--paper-2); border-right: 1px solid var(--line-soft); }
.auc-media img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }
.auc-state {
  position: absolute; left: 12px; top: 12px;
  font-family: var(--kai); font-size: 11.5px; letter-spacing: 2px;
  padding: 3px 10px; border-radius: 2px;
  box-shadow: 0 4px 12px -8px rgba(0, 0, 0, 0.8);
}
.auc-state.live { background: rgba(165, 52, 44, 0.94); color: #fff3e6; animation: badgePulse 2.4s ease-in-out infinite; }
.auc-state.closed { background: rgba(60, 56, 46, 0.85); color: #f0e6d2; }
@keyframes badgePulse { 50% { box-shadow: 0 0 0 4px rgba(165, 52, 44, 0.18); } }
.auc-bids {
  position: absolute; right: 12px; bottom: 12px;
  font-size: 11.5px; letter-spacing: 1px; color: #f2e8d4;
  background: rgba(30, 38, 34, 0.72); padding: 3px 9px; border-radius: 2px;
}

.auc-body { padding: 18px 20px 16px; display: flex; flex-direction: column; min-width: 0; }
.auc-name { font-family: var(--kai); font-size: 21px; letter-spacing: 2px; color: #26332e; margin: 0; line-height: 1.35; }
.auc-desc { font-size: 13px; color: #7b7059; margin: 4px 0 0; }

.auc-price-row { display: flex; gap: 12px; align-items: stretch; margin: 14px 0 12px; flex-wrap: wrap; }
.price-box {
  flex: 1 1 190px; min-width: 0;
  padding: 11px 14px 10px;
  border-radius: 3px;
  background: linear-gradient(135deg, rgba(176, 139, 79, 0.14), rgba(176, 139, 79, 0.03));
  border: 1px solid rgba(176, 139, 79, 0.32);
}
.price-box.closed { background: linear-gradient(135deg, rgba(165, 52, 44, 0.12), rgba(165, 52, 44, 0.03)); border-color: rgba(165, 52, 44, 0.3); }
.price-k { font-size: 11px; letter-spacing: 2px; color: #6d5c42; }
.price-v {
  font-family: var(--kai); font-size: 30px; line-height: 1.2; font-weight: 700;
  color: #8a5a1f; letter-spacing: 0.5px;
  display: flex; align-items: baseline; gap: 4px;
}
.price-v .unit { font-size: 13px; font-weight: 400; letter-spacing: 1px; color: #9a7d4e; }
.price-box.closed .price-v { color: #8b2b24; }
.price-v.flash { animation: priceFlash 0.9s ease; }
@keyframes priceFlash {
  0% { transform: scale(1); text-shadow: none; }
  35% { transform: scale(1.06); text-shadow: 0 0 22px rgba(176, 139, 79, 0.85); }
  100% { transform: scale(1); }
}
.price-q { font-size: 11.5px; color: #7d7059; margin-top: 1px; }
.price-q b { font-family: var(--mono); color: #2b4038; font-weight: 400; }
.cd-box {
  flex: 0 0 auto;
  padding: 11px 14px 10px;
  border-radius: 3px;
  background: rgba(39, 70, 63, 0.06);
  border: 1px solid rgba(39, 70, 63, 0.22);
}
.countdown { display: inline-flex; align-items: center; gap: 3px; font-family: var(--mono); font-variant-numeric: tabular-nums; margin-top: 3px; }
.countdown .seg {
  background: rgba(39, 70, 63, 0.9); color: #f2ead8;
  min-width: 25px; text-align: center; line-height: 1.6;
  padding: 0 5px; border-radius: 2px; font-size: 14px; letter-spacing: 0.5px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.countdown .sep { color: #9a8b70; font-size: 11px; padding: 0 1px; }
.countdown.urgent .seg { background: #a5342c; animation: pulse 1.1s infinite; }
@keyframes pulse { 50% { opacity: 0.62; } }

.bid-zone { display: flex; gap: 8px; align-items: stretch; flex-wrap: wrap; }
.bid-zone .input { flex: 1 1 120px; min-width: 0; }
.bid-zone .btn { flex: 0 0 auto; }
.bid-tip { width: 100%; font-size: 11.5px; color: #8d8168; letter-spacing: 0.5px; margin-top: 2px; }
.bid-tip b { color: #8a5a1f; font-family: var(--kai); font-size: 13px; }

.bid-log { margin-top: 12px; border-top: 1px dashed rgba(90, 72, 48, 0.22); padding-top: 10px; display: none; }
.bid-log.open { display: block; }
.bid-log-row { display: flex; gap: 10px; font-size: 12.5px; color: #6b6250; padding: 3px 0; }
.bid-log-row .q { font-family: var(--mono); color: #2b4038; }
.bid-log-row .p { margin-left: auto; font-family: var(--kai); color: #7a4f22; }
.log-toggle {
  margin-top: 10px;
  background: none; border: none; padding: 0; cursor: pointer;
  font-size: 12px; color: var(--teal); letter-spacing: 1px;
  border-bottom: 1px dotted rgba(63, 107, 99, 0.5);
}
.win-banner {
  padding: 10px 13px;
  background: linear-gradient(90deg, rgba(165, 52, 44, 0.09), rgba(165, 52, 44, 0.02));
  border: 1px solid rgba(165, 52, 44, 0.28); border-radius: 2px;
  font-family: var(--kai); font-size: 14px; color: #7d2a23; letter-spacing: 1px;
}
.win-banner .mono { font-family: var(--mono); font-size: 15px; }

/* ---------------------------------------------------------------- 攻略 */
.cat-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.cat-chip {
  padding: 5px 14px; font-family: var(--kai); font-size: 13.5px; letter-spacing: 2px;
  color: #5d5341; background: rgba(255, 253, 246, 0.6);
  border: 1px solid rgba(90, 72, 48, 0.24); border-radius: 999px; cursor: pointer;
  transition: 0.18s;
}
.cat-chip:hover { border-color: var(--teal-soft); color: var(--teal-deep); }
.cat-chip.active { background: linear-gradient(180deg, #4e7f74, #2f554c); color: #f6efdf; border-color: #274740; }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.art { display: flex; flex-direction: column; overflow: hidden; padding: 0; cursor: pointer; transition: transform 0.22s, box-shadow 0.22s; }
.art:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -22px rgba(38, 30, 18, 0.95); }
.art-cover { position: relative; aspect-ratio: 8 / 5; overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.art-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.art:hover .art-cover img { transform: scale(1.04); }
.art-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.art-cat { font-size: 11.5px; letter-spacing: 2px; color: var(--teal-deep); font-family: var(--kai); }
.art-title { font-family: var(--kai); font-size: 17px; line-height: 1.45; color: #26332e; margin: 0; letter-spacing: 1px; }
.art-sum { font-size: 12.5px; color: #857a63; line-height: 1.65; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.art-meta { margin-top: auto; font-size: 11.5px; color: #a0957e; letter-spacing: 1px; padding-top: 8px; }
.pin-flag {
  position: absolute; top: 0; left: 0; z-index: 2;
  background: var(--cinnabar); color: #fff3e6;
  font-family: var(--kai); font-size: 11px; letter-spacing: 2px;
  padding: 2px 10px 2px 8px;
}

/* ---------------------------------------------------------------- 页脚 */
footer.site-foot {
  margin-top: 54px; padding: 30px 0 40px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(231, 220, 198, 0.4), rgba(221, 209, 185, 0.7));
  position: relative; z-index: 1;
}
.foot-note { font-size: 12.5px; line-height: 1.9; color: #6d6250; letter-spacing: 0.3px; }
.foot-note b { color: #4e4433; }
.foot-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-top: 14px; }
.foot-brand { font-family: var(--kai); font-size: 13px; letter-spacing: 4px; color: #8a7d66; }
.admin-link { font-size: 12px; color: #8d8168; letter-spacing: 1px; cursor: pointer; border-bottom: 1px dotted rgba(90, 72, 48, 0.4); }
.admin-link:hover { color: var(--cinnabar); }

/* ---------------------------------------------------------------- 弹层 */
.overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(26, 32, 29, 0.82);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center;
  padding: 16px;
}
.overlay.open { display: flex; animation: fadeIn 0.22s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal {
  position: relative;
  width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto;
  background: linear-gradient(180deg, #fdf9ef, #f3ebd9);
  border: 1px solid rgba(90, 72, 48, 0.4);
  border-radius: 3px;
  padding: 26px 22px;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.8);
  animation: modalIn 0.28s cubic-bezier(0.2, 0.9, 0.3, 1.1);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
.modal-title { font-family: var(--kai); font-size: 21px; letter-spacing: 4px; text-align: center; margin: 0 0 6px; color: #22302b; }
.modal-sub { text-align: center; font-size: 12px; letter-spacing: 2px; color: #918670; margin: 0 0 18px; }
.modal-close {
  position: absolute; right: 10px; top: 8px; width: 30px; height: 30px;
  background: none; border: none; color: #8a7f6a; font-size: 20px; cursor: pointer; line-height: 1;
}
.modal-close:hover { color: var(--cinnabar); }

/* 阅读器 */
.reader {
  width: 100%; max-width: 780px; max-height: 90vh; overflow-y: auto;
  background: linear-gradient(180deg, #fdfaf1, #f4ecd9);
  border: 1px solid rgba(90, 72, 48, 0.35); border-radius: 3px;
  padding: 0 0 34px;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.85);
  position: relative;
}
.reader-close {
  position: absolute; right: 12px; top: 12px; z-index: 6;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(30, 40, 36, 0.5); color: #f5eedd;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px); line-height: 1; font-size: 19px;
}
.reader-close:hover { background: rgba(165, 52, 44, 0.85); color: #fff3e6; }
.reader-cover { aspect-ratio: 16 / 7; overflow: hidden; border-bottom: 1px solid var(--line); }
.reader-cover img { width: 100%; height: 100%; object-fit: cover; }
.reader-body { padding: 22px 26px 0; }
.reader-cat { font-family: var(--kai); font-size: 12px; letter-spacing: 3px; color: var(--cinnabar); }
.reader-title { font-family: var(--kai); font-size: clamp(20px, 4.4vw, 26px); line-height: 1.4; letter-spacing: 1.5px; margin: 6px 0 10px; color: #22302b; }
.reader-meta { font-size: 12px; color: #9a8f78; letter-spacing: 1px; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.reader-content { font-size: 15px; line-height: 2.05; color: #3b4038; margin-top: 16px; white-space: pre-wrap; letter-spacing: 0.4px; }

/* ---------------------------------------------------------------- 开奖动画 */
.draw-overlay { background: radial-gradient(circle at 50% 38%, rgba(43, 66, 59, 0.97), rgba(16, 22, 19, 0.99)); }
.draw-stage { position: relative; width: 100%; max-width: 520px; text-align: center; color: #f2e8d2; padding: 6px 16px 16px; }
.draw-head { padding-top: 2px; padding-bottom: 10px; }
.draw-kicker { font-family: var(--kai); font-size: 12px; letter-spacing: 9px; color: #b08b4f; }
.draw-prize { font-family: var(--kai); font-size: 21px; letter-spacing: 3px; color: #f3e8cf; margin-top: 6px; }
.draw-body {
  position: relative; min-height: 336px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  margin-top: 18px;
}
.draw-tube-wrap {
  position: relative; width: 132px; height: 282px;
  display: flex; justify-content: center;
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.draw-glow {
  position: absolute; left: 50%; top: 46%; width: 300px; height: 300px; margin: -150px 0 0 -150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 158, 96, 0.34), rgba(198, 158, 96, 0.08) 46%, transparent 68%);
  opacity: 0; transition: opacity 0.6s; pointer-events: none;
}
.tube-lg { transform: scale(1.32); transform-origin: 50% 0; }
.tube-lg .tube-sticks i { background: linear-gradient(180deg, #fdf3dc, #e8d3ad 58%, #d3b98f); }

/* 抽出筒口的纸签 */
.draw-slip {
  position: absolute; left: 50%; bottom: 226px; z-index: 5;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 15px 12px;
  border-radius: 3px;
  background:
    linear-gradient(180deg, rgba(255, 247, 227, 0.97), rgba(233, 214, 180, 0.98));
  border: 1px solid #c1a375;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 16px 32px -16px rgba(0, 0, 0, 0.9);
  color: #2b2016;
  font-family: var(--mono); font-size: 23px; letter-spacing: 3px; line-height: 1.15;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 24px) scale(0.78) rotate(0deg);
  transition: opacity 0.3s ease, transform 0.6s cubic-bezier(0.18, 0.92, 0.28, 1.12), box-shadow 0.4s;
  pointer-events: none;
}
.draw-slip.on { opacity: 1; transform: translate(-50%, 0) scale(1) rotate(-1.6deg); }
.draw-slip.lit {
  color: #6d1f19; border-color: #b98f56;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 0 0 3px rgba(176, 139, 79, 0.38),
    0 20px 42px -16px rgba(0, 0, 0, 0.92),
    0 0 48px rgba(226, 176, 108, 0.3);
}
.slip-num { font-weight: 700; font-variant-numeric: tabular-nums; }
.slip-cap {
  width: 8px; height: 24px; border-radius: 2px; flex: 0 0 8px;
  background: linear-gradient(180deg, #c9564d, #8e2a23);
  box-shadow: inset 0 1px 0 rgba(255, 220, 200, 0.4);
}
.slip-seal {
  width: 24px; height: 24px; flex: 0 0 24px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(165, 52, 44, 0.62); border-radius: 3px;
  color: rgba(165, 52, 44, 0.82); font-family: var(--kai); font-size: 14px; letter-spacing: 0;
  transform: rotate(-4deg);
}
.slip-stamp {
  position: absolute; right: -14px; top: 50%; margin-top: -29px;
  width: 58px; height: 58px; border-radius: 5px;
  display: none; align-items: center; justify-content: center;
  border: 3px solid #b4483c;
  color: #c14a3e; font-family: var(--kai); font-size: 32px;
  background: rgba(250, 240, 219, 0.55);
  box-shadow: 0 0 0 3px rgba(180, 72, 60, 0.18), 0 0 34px rgba(180, 72, 60, 0.4);
  transform: rotate(-9deg);
}
.draw-stage[data-phase="done"] .draw-slip {
  opacity: 0; transform: translate(-50%, -34px) scale(1.04) rotate(-1.2deg);
}
.draw-stage[data-phase="done"] .draw-tube-wrap { opacity: 0; transform: translateY(-14px) scale(0.94); }
@keyframes slipRattle {
  0%, 100% { transform: translate(-50%, 0) scale(1) rotate(-1.6deg); }
  33% { transform: translate(-50%, 3px) scale(1) rotate(1.1deg); }
  66% { transform: translate(-50%, -2px) scale(1) rotate(-2.9deg); }
}
.draw-result { position: relative; z-index: 6; margin-top: 8px; opacity: 0; transform: translateY(12px); transition: 0.45s ease; }
.draw-stage[data-phase="done"] .draw-result { margin-top: -244px; }
.draw-result.on { opacity: 1; transform: none; }
.result-seal {
  display: inline-flex; align-items: center; justify-content: center;
  width: 66px; height: 66px; margin: 6px auto 8px;
  border: 3px solid #b4483c; border-radius: 6px;
  color: #d3564a; font-family: var(--kai); font-size: 34px;
  transform: rotate(-6deg);
  box-shadow: 0 0 0 3px rgba(180, 72, 60, 0.18), 0 0 40px rgba(180, 72, 60, 0.35);
  animation: sealDrop 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}
@keyframes slipRattle {
  0%, 100% { transform: translate(-50%, -46px) scale(1) rotate(-1.6deg); }
  33% { transform: translate(-50%, -44px) scale(1) rotate(0.6deg); }
  66% { transform: translate(-50%, -48px) scale(1) rotate(-2.6deg); }
}
@keyframes sealDrop { from { opacity: 0; transform: rotate(-6deg) scale(2.4); } to { opacity: 1; transform: rotate(-6deg) scale(1); } }
.result-qq {
  font-family: var(--mono); font-size: clamp(30px, 9vw, 44px); font-weight: 700;
  color: #f6e2c8; letter-spacing: 3px; text-shadow: 0 0 26px rgba(240, 200, 140, 0.35);
}
.result-prize { font-family: var(--kai); font-size: 16px; letter-spacing: 2px; color: #e8cfa4; margin-top: 4px; }
.result-tip { font-size: 12px; color: #9aa093; margin-top: 14px; line-height: 1.85; }
.draw-hint { font-family: var(--kai); font-size: 13px; letter-spacing: 2px; color: #a7ab9d; margin-top: 4px; }
.draw-close { margin-top: 14px; }
.draw-close[hidden] { display: none !important; }
[hidden] { display: none !important; }

@keyframes tubeShake {
  0% { transform: scale(1.18) rotate(0deg); }
  25% { transform: scale(1.18) rotate(-4deg) translateY(-3px); }
  50% { transform: scale(1.18) rotate(0deg) translateY(1px); }
  75% { transform: scale(1.18) rotate(4deg) translateY(-3px); }
  100% { transform: scale(1.18) rotate(0deg); }
}
@keyframes tubePop {
  0% { transform: scale(1.18); }
  40% { transform: scale(1.24) translateY(-6px); }
  100% { transform: scale(1.18); }
}
@keyframes glowPulse { 50% { opacity: 0.85; } }

.draw-stage[data-phase="roll"] .tube-lg { animation: tubeShake 0.34s infinite; }
.draw-stage[data-phase="roll"] .draw-slip.on { animation: slipRattle 0.34s infinite; }
.draw-stage[data-phase="roll"] .draw-glow { opacity: 0.5; animation: glowPulse 1.2s infinite; }
.draw-stage[data-phase="pick"] .tube-lg { animation: tubePop 0.55s ease; }
.draw-stage[data-phase="pick"] .draw-slip.on { transform: translate(-50%, -24px) scale(1.05) rotate(1.6deg); }
.draw-stage[data-phase="pick"] .draw-glow { opacity: 0.8; }

/* 花瓣 */
.petal {
  position: fixed; top: -20px; z-index: 300; pointer-events: none;
  font-size: 14px; opacity: 0.9;
  animation: fall linear forwards;
}
@keyframes fall { to { transform: translateY(105vh) translateX(var(--dx)) rotate(540deg); opacity: 0; } }

/* ---------------------------------------------------------------- 后台 */
.admin-panel {
  width: 100%; max-width: 1060px; height: 94vh; display: flex; flex-direction: column;
  background: #171d1a;
  border: 1px solid rgba(176, 139, 79, 0.35);
  border-radius: 3px; overflow: hidden;
  color: #e8dfcb;
  box-shadow: 0 40px 90px -40px #000;
}
.admin-head {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(176, 139, 79, 0.22);
  background: linear-gradient(180deg, #1e2622, #19201d);
}
.admin-head h3 { margin: 0; font-family: var(--kai); font-size: 18px; letter-spacing: 4px; color: #e2d6b8; }
.admin-head .x { margin-left: auto; display: flex; gap: 8px; }

.admin-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(176, 139, 79, 0.16);
  border-bottom: 1px solid rgba(176, 139, 79, 0.2);
}
.as-item { background: #1a211e; padding: 9px 14px; }
.as-k { font-size: 10.5px; letter-spacing: 1.5px; color: #8b917f; }
.as-v { font-family: var(--kai); font-size: 19px; color: #e7dcbe; line-height: 1.35; }
.as-v small { font-size: 11px; color: #8b917f; font-family: var(--serif); letter-spacing: 0; margin-left: 3px; }

.admin-tabs { display: flex; gap: 2px; overflow-x: auto; padding: 0 10px; border-bottom: 1px solid rgba(176, 139, 79, 0.18); background: #1a211e; }
.admin-tabs button {
  background: none; border: none; cursor: pointer;
  padding: 11px 13px; font-family: var(--kai); font-size: 14.5px; letter-spacing: 2px;
  color: #8f9585; border-bottom: 2px solid transparent; white-space: nowrap;
}
.admin-tabs button:hover { color: #d8cfae; }
.admin-tabs button.active { color: #f0e6cc; border-bottom-color: #b08b4f; }
.admin-body { flex: 1; overflow-y: auto; padding: 18px; }
.admin-pane { display: none; }
.admin-pane.active { display: block; animation: fadeIn 0.2s ease; }

.admin-card {
  background: rgba(38, 46, 42, 0.75);
  border: 1px solid rgba(176, 139, 79, 0.2);
  border-radius: 2px; padding: 15px; margin-bottom: 14px;
}
.admin-card h4 {
  margin: 0 0 12px; font-family: var(--kai); font-size: 15px; letter-spacing: 2.5px;
  color: #dfd3b4; font-weight: 400;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.admin-card h4 .admin-note { margin: 0; font-family: var(--serif); letter-spacing: 0; }
.admin-panel .input, .admin-panel .textarea { background: rgba(16, 21, 19, 0.8); border-color: rgba(176, 139, 79, 0.26); color: #e6dcc6; }
.admin-panel .input::placeholder, .admin-panel .textarea::placeholder { color: #6f7768; }
.admin-panel .field label { color: #98a08d; }
.admin-panel .btn-ghost { background: rgba(255, 255, 255, 0.05); border-color: rgba(176, 139, 79, 0.3); color: #ddd3b8; }
.admin-panel .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.admin-panel select.input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23b08b4f' stroke-width='1.7'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
}
.admin-panel input[type="file"].input { color: #9a9282; }
.admin-panel input[type="file"].input::file-selector-button {
  color: #ddd3b8; background: rgba(255, 255, 255, 0.07); border-color: rgba(176, 139, 79, 0.32);
}
.admin-panel input[type="checkbox"] { accent-color: #b08b4f; }
.admin-panel .input, .admin-panel .textarea, .admin-panel select { color-scheme: dark; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.form-grid .full { grid-column: 1 / -1; }

.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th {
  text-align: left; font-weight: 400; font-family: var(--kai); letter-spacing: 1.5px;
  color: #a9a189; padding: 7px 8px; border-bottom: 1px solid rgba(176, 139, 79, 0.25);
  white-space: nowrap;
}
.admin-table td { padding: 7px 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); color: #d5cdb6; vertical-align: middle; }
.admin-table tr:hover td { background: rgba(255, 255, 255, 0.03); }
.admin-table .mono { font-family: var(--mono); color: #e3d9bd; }
.admin-scroll { max-height: 340px; overflow-y: auto; }
.mini-btn {
  background: none; border: 1px solid rgba(176, 139, 79, 0.35); color: #c9bfa2;
  font-size: 12px; padding: 3px 9px; border-radius: 2px; cursor: pointer; margin-right: 4px;
  white-space: nowrap;
}
.mini-btn:hover { border-color: #b08b4f; color: #f1e7cc; }
.mini-btn.danger { border-color: rgba(190, 80, 70, 0.5); color: #d98a80; }
.mini-btn.danger:hover { background: rgba(190, 80, 70, 0.15); color: #ffb3a8; }
.pill { display: inline-block; font-size: 11px; padding: 1px 7px; border-radius: 2px; border: 1px solid currentColor; }
.pill.live { color: #7fc0a8; }
.pill.closed { color: #d98a80; }
.pill.off { color: #8b917f; }
.admin-note { font-size: 12px; color: #8b917f; line-height: 1.7; margin: 6px 0 0; }
.row-flex { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.thumb { width: 54px; height: 34px; object-fit: cover; border: 1px solid rgba(176, 139, 79, 0.3); border-radius: 2px; }

/* 后台奖池开奖卡 */
.draw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.draw-item {
  padding: 12px 13px; border: 1px solid rgba(176, 139, 79, 0.25); border-radius: 2px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  display: flex; flex-direction: column; gap: 4px;
}
.draw-item .di-name { font-size: 14px; color: #e6dcc6; line-height: 1.4; }
.draw-item .di-meta { font-size: 11.5px; color: #8b917f; display: flex; gap: 8px; flex-wrap: wrap; }
.draw-item .di-bar { height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.08); margin: 6px 0 8px; overflow: hidden; }
.draw-item .di-bar i { display: block; height: 100%; background: linear-gradient(90deg, #b08b4f, #d8bb7c); }
.draw-item .btn { align-self: flex-start; }
.draw-item.exhausted { opacity: 0.45; }

.up-preview { margin-top: 8px; }
.up-preview img { width: 120px; height: 74px; object-fit: cover; border: 1px solid rgba(176, 139, 79, 0.35); border-radius: 2px; }

/* toast */
#toast-box {
  position: fixed; left: 50%; bottom: 34px; transform: translateX(-50%);
  z-index: 500; display: flex; flex-direction: column; gap: 8px; align-items: center;
  pointer-events: none; width: calc(100% - 32px); max-width: 420px;
}
.toast {
  background: rgba(30, 38, 34, 0.95); color: #f1e8d2;
  border: 1px solid rgba(176, 139, 79, 0.4);
  padding: 10px 18px; border-radius: 2px;
  font-size: 13.5px; letter-spacing: 0.5px;
  box-shadow: 0 12px 30px -14px #000;
  animation: toastIn 0.26s ease both; text-align: center;
}
.toast.err { border-color: rgba(200, 85, 72, 0.6); background: rgba(58, 28, 26, 0.96); }
.toast.ok { border-color: rgba(90, 160, 130, 0.55); }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.in { opacity: 1; transform: none; transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.8, 0.3, 1); }

/* ---------------------------------------------------------------- 响应式 */
@media (max-width: 980px) {
  .lottery-stage { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr 1fr; }
  .auc { grid-template-columns: 260px 1fr; }
  .nav a.tab .tab-txt em { display: none; }
}

@media (max-width: 760px) {
  .auc { grid-template-columns: 1fr; }
  .auc-media { border-right: none; border-bottom: 1px solid var(--line-soft); }
  .auc-media img { aspect-ratio: 2 / 1; min-height: 0; }
  .winner-list { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  body { line-height: 1.65; }
  .hero-inner { padding: 34px 16px 24px; }
  .hero h1 { letter-spacing: 6px; text-indent: 6px; }
  .seal { width: 40px; height: 54px; font-size: 11.5px; right: 10px; top: 12px; }
  .nav-inner { height: 54px; gap: 0; }
  .nav a.tab { padding: 7px 8px; gap: 5px; }
  .nav a.tab b { width: 20px; height: 20px; flex: 0 0 20px; font-size: 10px; }
  .nav a.tab .tab-txt > span { font-size: 14px; letter-spacing: 1px; }
  .nav a.tab .tab-txt em { display: none; }
  .nav-admin { font-size: 11.5px; padding: 4px 8px; }
  section.block { padding: 32px 0 4px; }
  .sec-badge { font-size: 10.5px; padding: 3px 9px; letter-spacing: 1px; }
  .sec-sub { font-size: 11.5px; }
  .card { padding: 16px; }
  .prize-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .prize-card { padding: 10px 11px; }
  .pc-name { font-size: 14px; }
  .price-v { font-size: 26px; }
  .auc-body { padding: 15px 15px 14px; }
  .reader-body { padding: 18px 16px 0; }
  .modal { padding: 22px 16px; }
  .admin-panel { height: 96vh; }
  .admin-body { padding: 12px; }
  .form-grid { grid-template-columns: 1fr; }
  .admin-tabs button { padding: 10px 10px; font-size: 13.5px; }
  .disclaimer-bar .stamp { display: none; }
  .pinned-banner { padding: 13px 14px; gap: 10px; }
  .pinned-arrow { display: none; }
  .draw-slip { font-size: 21px; letter-spacing: 2px; padding: 7px 14px; }
  .draw-stage { padding: 4px 8px 12px; }
  .tube-lg { transform: scale(1); transform-origin: 50% 0; }
  .draw-tube-wrap { width: 106px; height: 214px; }
  .draw-body { min-height: 262px; margin-top: 10px; }
  .draw-head { padding-bottom: 20px; }
  .draw-slip { bottom: 168px; font-size: 19.5px; letter-spacing: 2px; padding: 9px 12px 10px; gap: 8px; }
  .slip-cap { width: 7px; height: 21px; flex-basis: 7px; }
  .slip-seal { width: 21px; height: 21px; flex-basis: 21px; font-size: 12px; }
  .draw-stage[data-phase="done"] .draw-result { margin-top: -186px; }
  .result-seal { width: 56px; height: 56px; font-size: 29px; }
  .draw-stage[data-phase="roll"] .tube-lg { animation: tubeShakeSm 0.34s infinite; }
  .draw-stage[data-phase="pick"] .tube-lg { animation: tubePopSm 0.55s ease; }
  .draw-item .btn { align-self: stretch; }
}

@keyframes tubeShakeSm {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(-4deg) translateY(-3px); }
  50% { transform: rotate(0deg) translateY(1px); }
  75% { transform: rotate(4deg) translateY(-3px); }
  100% { transform: rotate(0deg); }
}
@keyframes tubePopSm {
  0% { transform: scale(1); }
  40% { transform: scale(1.06) translateY(-6px); }
  100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.form-actions {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 16px; padding-top: 14px; border-top: 1px dashed rgba(176, 139, 79, 0.22);
}
.form-actions .btn { flex: 0 0 auto; min-width: 96px; }
.card-head-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-head-row h4 { margin: 0 0 12px; }

/* 统计块可点击 */
.admin-stats .as-item { cursor: pointer; transition: background 0.18s, border-color 0.18s; }
.admin-stats .as-item:hover { background: rgba(176, 139, 79, 0.1); }
.admin-stats .as-item:hover .as-k { color: #d8c9a6; }

/* ---------------------------------------------------------------- 落槌动画 */
.hm-overlay {
  z-index: 130;
  background:
    radial-gradient(circle at 50% 46%, rgba(60, 78, 68, 0.96), rgba(14, 19, 16, 0.99) 62%);
  z-index: 120;
}
.hm-stage {
  position: relative; width: 100%; max-width: 520px;
  padding: 8px 16px 16px; text-align: center; color: #f2e8d2;
}
.hm-kicker {
  font-family: var(--kai); font-size: 12px; letter-spacing: 10px; color: #b08b4f;
  text-indent: 10px;
}
.hm-item {
  font-family: var(--kai); font-size: 21px; letter-spacing: 2px; color: #f4e9d0;
  margin-top: 8px;
  animation: hmFade 0.5s ease both;
}
.hm-scene { position: relative; width: 330px; max-width: 86vw; margin: 2px auto 0; }
.hm-svg { display: block; width: 100%; height: auto; }

.hm-hammer {
  transform-box: fill-box;
  transform-origin: 100% 50%;
  transform: rotate(58deg);
}
.hm-stage[data-phase="impact"] .hm-hammer,
.hm-stage[data-phase="result"] .hm-hammer {
  animation: hmStrike 0.42s cubic-bezier(0.42, 0.02, 0.72, 0.62) forwards;
}
@keyframes hmStrike {
  0% { transform: rotate(58deg); }
  58% { transform: rotate(-15deg); }
  72% { transform: rotate(-5deg); }
  84% { transform: rotate(-11deg); }
  100% { transform: rotate(-8deg); }
}

/* 冲击闪光与涟漪 */
.hm-flash {
  position: absolute; left: 50%; top: 68%; width: 190px; height: 190px;
  margin: -95px 0 0 -95px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 246, 222, 0.95), rgba(255, 208, 140, 0.42) 38%, transparent 68%);
  opacity: 0; pointer-events: none;
}
.hm-ring {
  position: absolute; left: 50%; top: 68%; width: 120px; height: 120px;
  margin: -60px 0 0 -60px; border-radius: 50%;
  border: 3px solid rgba(255, 226, 176, 0.85);
  box-shadow: 0 0 22px rgba(255, 214, 150, 0.45), inset 0 0 18px rgba(255, 214, 150, 0.35);
  opacity: 0; pointer-events: none;
}
.hm-stage[data-phase="impact"] .hm-flash { animation: hmFlash 0.5s ease-out both; }
.hm-stage[data-phase="impact"] .hm-ring { animation: hmRing 0.62s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
.hm-stage[data-phase="impact"] .hm-stage { animation: hmShake 0.42s ease-out both; }
@keyframes hmFlash {
  0% { opacity: 0; transform: scale(0.4); }
  18% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.5); }
}
@keyframes hmRing {
  0% { opacity: 0.9; transform: scale(0.35); }
  100% { opacity: 0; transform: scale(2.5); }
}
@keyframes hmShake {
  0% { transform: translate(0, 0); }
  16% { transform: translate(-5px, 3px) rotate(-0.4deg); }
  34% { transform: translate(4px, -3px) rotate(0.35deg); }
  52% { transform: translate(-3px, 2px); }
  70% { transform: translate(2px, -1px); }
  100% { transform: translate(0, 0); }
}
@keyframes hmFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.hm-result { opacity: 0; transform: translateY(12px); transition: 0.45s ease; }
.hm-stage[data-phase="result"] .hm-result { opacity: 1; transform: none; }
.hm-stamp {
  display: inline-flex; align-items: center; justify-content: center;
  width: 74px; height: 74px; margin: 2px auto 6px;
  border: 3px solid #b4483c; border-radius: 7px;
  color: #d3564a; font-family: var(--kai); font-size: 25px; letter-spacing: 1px;
  background: rgba(250, 240, 219, 0.06);
  box-shadow: 0 0 0 3px rgba(180, 72, 60, 0.16), 0 0 40px rgba(180, 72, 60, 0.34);
  transform: rotate(-7deg);
  animation: sealDrop 0.5s cubic-bezier(0.2, 1.6, 0.4, 1) both;
}
.hm-stamp.pass { border-color: #8b7f66; color: #a99a7c; box-shadow: 0 0 0 3px rgba(139, 127, 102, 0.14); }
.hm-price {
  font-family: var(--kai); font-size: clamp(30px, 9vw, 42px); font-weight: 700;
  color: #f0c882; letter-spacing: 1px; line-height: 1.1;
  text-shadow: 0 0 30px rgba(240, 200, 130, 0.3);
}
.hm-price .unit { font-size: 13px; font-weight: 400; letter-spacing: 2px; color: #b9a582; margin-left: 6px; }
.hm-qq { margin-top: 8px; font-size: 13.5px; color: #c9bda4; letter-spacing: 1px; }
.hm-qq b { font-family: var(--mono); font-size: 19px; color: #f6e6cc; letter-spacing: 2px; }
.hm-tip { margin-top: 12px; font-size: 12px; line-height: 1.85; color: #8f9789; }
.hm-close { margin-top: 14px; }
.hm-close[hidden] { display: none !important; }

@media (max-width: 760px) {
  .hm-stage { padding: 4px 12px 12px; }
  .hm-item { font-size: 18px; }
  .hm-scene { width: 268px; margin-top: 0; }
  .hm-stamp { width: 62px; height: 62px; font-size: 21px; }
}

/* 到点落槌中的提示 */
.cd-hot {
  font-family: var(--kai); font-size: 15px; letter-spacing: 2px; color: #a5342c;
  animation: cdHot 1s ease-in-out infinite;
}
@keyframes cdHot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.42; }
}

/* ================================================================
   拍卖 · 玻璃流光 + 3D 升级
   ================================================================ */
.auc-list { perspective: 1700px; }
#auctionList { display: flex; flex-direction: column; gap: 18px; }

.auc {
  position: relative;
  border-radius: 9px;
  overflow: hidden;
  background:
    linear-gradient(152deg, rgba(255, 253, 248, 0.94) 0%, rgba(247, 238, 221, 0.86) 46%, rgba(240, 229, 207, 0.9) 100%);
  backdrop-filter: blur(9px) saturate(1.06);
  -webkit-backdrop-filter: blur(9px) saturate(1.06);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow:
    0 34px 60px -36px rgba(46, 32, 14, 0.66),
    0 14px 28px -22px rgba(46, 32, 14, 0.42),
    inset 0 0 0 1px rgba(198, 166, 110, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(126, 98, 58, 0.18);
  transform: perspective(1500px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)) translateZ(0);
  transition: transform 0.55s cubic-bezier(0.2, 0.75, 0.3, 1), box-shadow 0.55s ease;
}
.auc.tilting { transition: transform 0.09s linear, box-shadow 0.4s ease; }
.auc:hover { --lift: -3px; }
.auc:hover {
  box-shadow:
    0 40px 70px -34px rgba(46, 32, 14, 0.6),
    0 16px 30px -18px rgba(46, 32, 14, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -1px 0 rgba(126, 98, 58, 0.18);
}

/* 玻璃高光（跟随指针） */
.auc > .auc-media,
.auc > .auc-body { position: relative; z-index: 2; }
.auc-glare {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 58%);
  opacity: 0; transition: opacity 0.4s ease;
  mix-blend-mode: screen;
}
.auc:hover .auc-glare { opacity: 0.85; }

/* 扫过式流光 */
.auc-shine {
  position: absolute; top: -40%; bottom: -40%; left: -30%; width: 42%; z-index: 4;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.72) 42%, rgba(255, 247, 226, 0.5) 56%, transparent 100%);
  transform: skewX(-14deg) translateX(-180%);
  opacity: 0;
}
.auc[data-live="1"] .auc-shine { animation: aucAmbient 9s ease-in-out infinite; }
@keyframes aucAmbient {
  0%, 68% { opacity: 0; transform: skewX(-14deg) translateX(-180%); }
  74% { opacity: 0.45; }
  90%, 100% { opacity: 0; transform: skewX(-14deg) translateX(430%); }
}
.auc.sweep .auc-shine { animation: aucSweep 1.35s cubic-bezier(0.32, 0.18, 0.3, 1) 1; }
@keyframes aucSweep {
  0% { opacity: 0.95; transform: skewX(-14deg) translateX(-180%); }
  100% { opacity: 0; transform: skewX(-14deg) translateX(430%); }
}

/* 封面：3D 视差 + 玻璃压边 */
.auc-media { overflow: hidden; }
.auc-media img { transition: transform 1.4s cubic-bezier(0.2, 0.7, 0.3, 1), filter 0.6s ease; }
.auc-media::after { box-shadow: inset -26px 0 30px -26px rgba(46, 32, 14, 0.62), inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.auc:hover .auc-media img { transform: scale(1.07); filter: saturate(1.1) contrast(1.03) brightness(1.02); }
.auc-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(24, 32, 27, 0.22) 0%, rgba(24, 32, 27, 0) 34%, rgba(24, 32, 27, 0) 62%, rgba(24, 32, 27, 0.34) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 22%);
}
.auc[data-live="1"] .auc-media::before {
  content: ""; position: absolute; inset: -20%; z-index: 2; pointer-events: none;
  background: linear-gradient(104deg, transparent 38%, rgba(255, 255, 255, 0.3) 49%, rgba(255, 255, 255, 0.06) 57%, transparent 66%);
  transform: translateX(-70%);
  animation: mediaSheen 6.4s ease-in-out infinite;
}
@keyframes mediaSheen {
  0%, 62% { opacity: 0; transform: translateX(-70%); }
  70% { opacity: 0.9; }
  92%, 100% { opacity: 0; transform: translateX(70%); }
}

/* 状态徽记：玻璃药丸 */
.auc-state {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: 999px; padding: 4px 12px 4px 10px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.38);
}
.auc-state.live {
  background: linear-gradient(160deg, rgba(186, 62, 52, 0.95), rgba(140, 38, 31, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 8px 20px -10px rgba(160, 46, 38, 0.95);
}
.auc-state.live::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: #ffe0cf; box-shadow: 0 0 8px rgba(255, 220, 200, 0.9);
  animation: dotPulse 1.5s ease-in-out infinite;
}
@keyframes dotPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.7); } }
.auc-state.closed { background: rgba(58, 54, 44, 0.78); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2); }
.auc-bids {
  border-radius: 999px; padding: 4px 11px;
  background: rgba(26, 34, 30, 0.62);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

/* 价格面板：内层玻璃 + 金色辉光 */
.price-box {
  position: relative; overflow: hidden;
  border-radius: 7px;
  background: linear-gradient(142deg, rgba(255, 255, 255, 0.7), rgba(226, 203, 163, 0.34) 62%, rgba(214, 188, 145, 0.28));
  border: 1px solid rgba(176, 139, 79, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(140, 106, 56, 0.14),
    0 14px 26px -20px rgba(120, 88, 38, 0.7);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}
.price-box::after {
  content: ""; position: absolute; right: -30px; top: -40px; width: 140px; height: 140px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 236, 190, 0.6), transparent 66%);
  opacity: 0.65;
}
.price-box.closed {
  background: linear-gradient(142deg, rgba(255, 255, 255, 0.6), rgba(210, 150, 142, 0.26));
  border-color: rgba(165, 52, 44, 0.34);
}
.price-box.closed::after { background: radial-gradient(circle, rgba(240, 190, 170, 0.45), transparent 66%); }
.price-v .pv-num { display: inline-block; }
.price-v.roll .pv-num { animation: pvRoll 0.55s cubic-bezier(0.2, 0.9, 0.3, 1.1); }
@keyframes pvRoll {
  0% { opacity: 0.15; transform: translateY(-10px) scale(0.94); filter: blur(1.4px); }
  60% { opacity: 1; filter: blur(0); }
  100% { transform: none; }
}
.price-v.flash { animation: priceGlow 1s ease; }
@keyframes priceGlow {
  0% { text-shadow: none; }
  30% { text-shadow: 0 0 26px rgba(214, 166, 88, 0.95), 0 0 6px rgba(255, 244, 214, 0.9); }
  100% { text-shadow: none; }
}
.cd-box {
  border-radius: 7px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.62), rgba(200, 214, 206, 0.28));
  border: 1px solid rgba(60, 96, 86, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.countdown .seg {
  border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 3px 8px -6px rgba(20, 40, 34, 0.9);
}

/* 出价按钮：玻璃 + 按下回弹 + 水波 */
.bid-zone [data-bid] {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #4a8074 0%, #33625a 52%, #2a5049 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -2px 6px rgba(12, 34, 29, 0.4),
    0 12px 22px -14px rgba(24, 60, 52, 0.95);
  transition: transform 0.16s cubic-bezier(0.3, 1.4, 0.5, 1), box-shadow 0.25s ease, filter 0.2s;
}
.bid-zone [data-bid]:hover { filter: brightness(1.08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 16px 26px -14px rgba(24, 60, 52, 0.95); }
.bid-zone [data-bid]:active { transform: translateY(1.5px) scale(0.985); }
.bid-zone [data-bid]::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.5); transform: translate(-50%, -50%) scale(0);
  opacity: 0; pointer-events: none;
}
.bid-zone [data-bid].tap::after { animation: bidRipple 0.6s ease-out; }
@keyframes bidRipple {
  0% { opacity: 0.65; transform: translate(-50%, -50%) scale(0.4); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(26); }
}
.bid-zone .input {
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(150, 124, 86, 0.35);
  box-shadow: inset 0 1px 2px rgba(120, 96, 60, 0.12);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.bid-zone .input:focus {
  background: #fffdf8;
  border-color: rgba(176, 139, 79, 0.85);
  box-shadow: 0 0 0 3px rgba(176, 139, 79, 0.18), inset 0 1px 2px rgba(120, 96, 60, 0.08);
}

/* 出价记录：新记录滑入 */
.bid-log-row { position: relative; }
.bid-log-row.new { animation: logIn 0.55s cubic-bezier(0.2, 0.8, 0.3, 1) both; }
.bid-log-row.new::before {
  content: ""; position: absolute; left: -9px; top: 3px; bottom: 3px; width: 2px;
  background: linear-gradient(180deg, #c9a25e, rgba(201, 162, 94, 0.1));
  border-radius: 2px;
}
@keyframes logIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }

/* 落槌成交条 */
.win-banner {
  border-radius: 6px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.68), rgba(226, 203, 163, 0.3));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  animation: winIn 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.1) both;
}
@keyframes winIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
  .auc { transform: none !important; }
  .auc:hover .auc-media img { transform: none; }
  .auc-glare { display: none; }
}

/* ==========================================================================
   悬浮吉祥物（左侧中部常驻）
   ========================================================================== */
.mascot {
  position: fixed;
  left: clamp(6px, calc(50vw - 700px), 208px);
  top: 50%;
  width: clamp(96px, 9.2vw, 150px);
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  opacity: 0;
  animation: mascotIn 0.9s cubic-bezier(0.22, 0.9, 0.28, 1) 0.35s both;
}
.mascot-stage { position: relative; width: 100%; }

/* 灵气光晕 */
.mascot-glow {
  position: absolute; left: 50%; top: 47%; width: 176%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 50% 50%,
    rgba(138, 178, 166, 0.30) 0%,
    rgba(176, 139, 79, 0.14) 44%,
    rgba(176, 139, 79, 0) 72%);
  filter: blur(16px);
  animation: mascotGlow 5.6s ease-in-out infinite;
  z-index: 0;
}

.mascot-bob { position: relative; z-index: 2; animation: mascotBob 4.8s ease-in-out infinite; }
.mascot-bob picture { display: block; }
.mascot-img {
  width: 100%; height: auto; display: block;
  transform-origin: 50% 92%;
  filter: drop-shadow(0 12px 14px rgba(34, 42, 38, 0.20)) drop-shadow(0 3px 5px rgba(34, 42, 38, 0.14));
  animation: mascotSway 7.2s ease-in-out infinite;
}

/* 上升金屑 */
.mascot-dust { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.mascot-dust i {
  position: absolute; bottom: 10%; width: 3px; height: 3px; border-radius: 50%;
  background: radial-gradient(circle, #ffe6ad 0%, rgba(255, 230, 173, 0) 72%);
  opacity: 0;
  animation: mascotDust 6.4s linear infinite;
}
.mascot-dust i:nth-child(1) { left: 22%; animation-delay: 0s; }
.mascot-dust i:nth-child(2) { left: 56%; animation-delay: 1.7s; }
.mascot-dust i:nth-child(3) { left: 79%; animation-delay: 3.2s; }
.mascot-dust i:nth-child(4) { left: 40%; animation-delay: 4.6s; }

.mascot-name {
  position: relative;
  font-family: var(--kai);
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.2;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  white-space: nowrap;
  color: var(--teal-deep);
  padding-top: 9px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75), 0 8px 18px rgba(39, 70, 63, 0.20);
}
.mascot-name::before {
  content: "";
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 30px; height: 1px;
  background: linear-gradient(90deg, rgba(176, 139, 79, 0), rgba(176, 139, 79, 0.85), rgba(176, 139, 79, 0));
}

@keyframes mascotIn {
  from { opacity: 0; transform: translateY(calc(-50% + 18px)); }
  to   { opacity: 1; transform: translateY(-50%); }
}
@keyframes mascotBob {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(0, -12px, 0); }
}
@keyframes mascotSway {
  0%, 100% { transform: rotate(-2deg); }
  50%      { transform: rotate(2deg); }
}
@keyframes mascotGlow {
  0%, 100% { opacity: 0.38; transform: translate(-50%, -50%) scale(0.94); }
  50%      { opacity: 0.72; transform: translate(-50%, -50%) scale(1.06); }
}
@keyframes mascotDust {
  0%   { opacity: 0; transform: translate3d(0, 0, 0) scale(0.6); }
  14%  { opacity: 0.9; }
  70%  { opacity: 0.3; }
  100% { opacity: 0; transform: translate3d(6px, -66px, 0) scale(0.2); }
}

@media (max-width: 1120px) {
  .mascot { left: 2px; width: 90px; }
  .mascot-name { font-size: 14px; }
}
@media (max-width: 760px) {
  .mascot { left: -14px; width: 52px; gap: 2px; opacity: 0.95; }
  .mascot-name { font-size: 9.5px; padding-top: 4px; letter-spacing: 0.08em; text-indent: 0.08em; }
  .mascot-name::before { width: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .mascot, .mascot-bob, .mascot-img, .mascot-glow, .mascot-dust i {
    animation: none !important;
  }
  .mascot { opacity: 1; }
  .mascot-img { transform: none !important; }
}

/* ==========================================================================
   首页 · 拍卖会场入口卡
   ========================================================================== */
.auc-entry {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin: 0 0 16px;
  padding: 16px 18px;
  border-radius: 11px;
  overflow: hidden;
  text-decoration: none;
  color: #efe7d6;
  background:
    linear-gradient(140deg, rgba(43, 74, 66, 0.97) 0%, rgba(30, 54, 48, 0.98) 52%, rgba(48, 78, 70, 0.96) 100%);
  border: 1px solid rgba(201, 162, 94, 0.34);
  box-shadow:
    0 28px 46px -34px rgba(24, 40, 34, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s;
}
.auc-entry:hover { transform: translateY(-2px); box-shadow: 0 34px 54px -32px rgba(24, 40, 34, 1), inset 0 1px 0 rgba(255, 255, 255, 0.16); }
.auc-entry-glow {
  position: absolute; right: -6%; top: -60%; width: 46%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 226, 168, 0.22), rgba(255, 226, 168, 0) 66%);
  pointer-events: none;
}
.auc-entry::after {
  content: "";
  position: absolute; top: -60%; bottom: -60%; left: -30%; width: 26%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  transform: rotate(9deg) translateX(-160%);
  animation: entryShine 8s ease-in-out infinite;
  pointer-events: none;
}
.auc-entry-main { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.auc-entry-k {
  font-family: var(--kai); font-size: 12px; letter-spacing: 3px;
  color: rgba(239, 231, 214, 0.62);
}
.auc-entry-nums { display: flex; align-items: baseline; gap: 22px; flex-wrap: wrap; }
.auc-entry-nums span { display: inline-flex; align-items: baseline; gap: 6px; }
.auc-entry-nums b {
  font-family: var(--kai); font-weight: 400;
  font-size: 24px; line-height: 1;
  color: #f3dcae;
  text-shadow: 0 2px 12px rgba(243, 220, 174, 0.28);
}
.auc-entry-nums i { font-style: normal; font-size: 11.5px; color: rgba(239, 231, 214, 0.66); letter-spacing: 1px; }

.auc-entry-go {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex; flex-direction: column; align-items: flex-end; gap: 2px;
  padding: 9px 34px 9px 18px;
  border-radius: 8px;
  background: linear-gradient(150deg, #b0463b, #8d2c25 72%);
  box-shadow: 0 16px 26px -18px rgba(141, 44, 37, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: filter 0.25s;
}
.auc-entry:hover .auc-entry-go { filter: brightness(1.06); }
.auc-entry-go b { font-family: var(--kai); font-weight: 400; font-size: 16px; letter-spacing: 3px; color: #fdf4e2; }
.auc-entry-go i { font-style: normal; font-size: 10.5px; letter-spacing: 0.5px; color: rgba(253, 244, 226, 0.72); }
.auc-entry-go em {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  font-style: normal; font-size: 16px; color: #f8e8cd;
  transition: transform 0.25s;
}
.auc-entry:hover .auc-entry-go em { transform: translate(3px, -50%); }

@keyframes entryShine {
  0%, 62% { transform: rotate(9deg) translateX(-160%); }
  88%, 100% { transform: rotate(9deg) translateX(520%); }
}

@media (max-width: 760px) {
  .auc-entry { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 15px; }
  .auc-entry-nums { gap: 14px; }
  .auc-entry-nums b { font-size: 21px; }
  .auc-entry-go { align-items: center; padding: 9px 18px 9px 18px; }
  .auc-entry-go em { position: static; transform: none; display: none; }
  .auc-entry-go i { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .auc-entry::after { animation: none; }
}

.auc-more { display: flex; justify-content: center; margin-top: 14px; }
.auc-more a {
  font-size: 12.5px; letter-spacing: 1px; color: var(--teal-deep);
  padding: 6px 16px; border-radius: 999px;
  border: 1px dashed rgba(63, 107, 99, 0.34);
  background: rgba(255, 253, 246, 0.5);
  transition: 0.2s;
}
.auc-more a:hover { background: rgba(63, 107, 99, 0.08); border-color: rgba(63, 107, 99, 0.5); }

/* ============================================================================
   后台 · 防冒用面板控件
   ========================================================================== */
.guard-row { display: flex; gap: 18px; flex-wrap: wrap; margin: 6px 0 12px; }
.guard-sw { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: #d5cdb6; cursor: pointer; }
.guard-sw input { width: 15px; height: 15px; margin: 0; }
.admin-field { display: block; margin: 0 0 12px; }
.admin-field span { display: block; font-size: 11.5px; letter-spacing: 1px; color: #98a08d; margin-bottom: 5px; }
.admin-panel .admin-field input {
  width: 100%; box-sizing: border-box; padding: 8px 11px; border-radius: 2px;
  background: rgba(16, 21, 19, 0.8); border: 1px solid rgba(176, 139, 79, 0.26);
  color: #e6dcc6; font-size: 13px; outline: none; transition: 0.18s;
}
.admin-panel .admin-field input:focus { border-color: rgba(176, 139, 79, 0.62); box-shadow: 0 0 0 3px rgba(176, 139, 79, 0.1); }
.admin-panel .admin-textarea {
  width: 100%; box-sizing: border-box; padding: 10px 12px; border-radius: 2px;
  background: rgba(16, 21, 19, 0.8); border: 1px solid rgba(176, 139, 79, 0.26);
  color: #e6dcc6; font-size: 12.5px; line-height: 1.7; font-family: var(--mono);
  outline: none; resize: vertical; margin-bottom: 9px;
}
.admin-panel .admin-textarea:focus { border-color: rgba(176, 139, 79, 0.62); }
.member-code { font-family: var(--mono); letter-spacing: 2.5px; color: #eccf95; font-size: 13px; }

/* ============================================================================
   3D 质感增强层
   ========================================================================== */

/* 纸质卡片：顶部受光 + 远近双层投影 */
.card {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 1px 2px rgba(38, 30, 18, 0.06),
    0 18px 34px -28px rgba(38, 30, 18, 0.72),
    0 44px 66px -56px rgba(38, 30, 18, 0.62);
  transition: box-shadow 0.4s ease;
}

/* 拍卖入口卡：深色立体，hover 微微前倾 */
.auc-entry {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.14) inset,
    0 3px 0 rgba(12, 26, 22, 0.35),
    0 28px 46px -32px rgba(24, 40, 34, 0.95),
    0 60px 88px -60px rgba(18, 30, 26, 0.85);
}

/* 顶部导航与按钮 */
.nav { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 8px 22px -22px rgba(38, 30, 18, 0.7); }
.btn { box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12), 0 10px 18px -14px rgba(38, 30, 18, 0.8); }
.btn:active { transform: translateY(1px); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1), 0 4px 10px -12px rgba(38, 30, 18, 0.8); }

/* 英雄区标题：立体压印字 */
.hero h1 { text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85), 0 10px 24px rgba(38, 30, 18, 0.16); }

/* 奖品卡与签筒 */
.prize-card { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 10px 18px -16px rgba(38, 30, 18, 0.7); transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.25, 1), box-shadow 0.3s; }

@media (hover: hover) and (pointer: fine) {
  .card:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 2px 4px rgba(38, 30, 18, 0.07), 0 26px 44px -30px rgba(38, 30, 18, 0.8), 0 56px 84px -60px rgba(38, 30, 18, 0.6); }
  .auc-entry:hover { transform: translateY(-4px) rotateX(1deg); }
  .prize-card:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset, 0 18px 28px -20px rgba(38, 30, 18, 0.9); }
  .article-item:hover, .art-card:hover { transform: translateY(-3px); }
}

/* 首页 hero 山峦视差 */
.hero-art { transform: translate3d(0, calc(var(--par, 0) * 0.06px), 0) scale(1.05); will-change: transform; }

/* 印章（右上角「宝儿服」）：朱泥钤印质感 */
.seal {
  opacity: 1;
  font-size: 14px;
  border-radius: 3px;
  background:
    radial-gradient(circle at 38% 26%, rgba(165, 52, 44, 0.12), rgba(165, 52, 44, 0.02) 62%),
    repeating-linear-gradient(48deg, rgba(165, 52, 44, 0.05) 0 1px, transparent 1px 4px);
  box-shadow:
    0 0 0 2.5px rgba(165, 52, 44, 0.14),
    inset 0 0 0 1px rgba(165, 52, 44, 0.26),
    0 8px 16px -12px rgba(140, 40, 32, 0.7);
}

/* 窄屏吉祥物：贴边缩小，避免遮挡卡片正文 */
@media (max-width: 760px) {
  .mascot { left: -22px; top: 50%; width: 38px; opacity: 0.9; }
  .mascot-name { font-size: 8.5px; letter-spacing: 1px; margin-top: 2px; }
  .mascot-glow { transform: scale(0.8); }
}
