:root {
    --ink: #102235;
    --muted: #647487;
    --line: #dbe5ee;
    --paper: #ffffff;
    --wash: #eef5fa;
    --brand: #1278bb;
    --brand-dark: #07395d;
    --brand-deep: #05283f;
    --cyan: #31b7c6;
    --orange: #f4a340;
    --success: #16845a;
    --danger: #b43b4b;
    --shadow: 0 18px 50px rgba(5, 40, 63, .12);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--ink);
    background: var(--wash);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--wash); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }

.brand-bar {
    background: linear-gradient(110deg, var(--brand-deep), var(--brand-dark));
    color: #fff;
    border-bottom: 3px solid var(--cyan);
}
.brand-wrap {
    width: min(1120px, calc(100% - 40px));
    min-height: 74px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-size: 14px;
    letter-spacing: .12em;
    color: rgba(255,255,255,.72);
}
.brand-logo { width: 180px; height: 50px; object-fit: contain; }

.setup-shell { width: min(1040px, calc(100% - 32px)); margin: 54px auto 80px; }
.setup-intro { max-width: 700px; margin-bottom: 30px; }
.eyebrow {
    display: inline-flex;
    padding: 6px 11px;
    border-radius: 999px;
    background: #d7edf8;
    color: #0d6598;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
}
.setup-intro h1 { font-size: clamp(30px, 5vw, 48px); line-height: 1.12; margin: 16px 0 12px; letter-spacing: -.04em; }
.setup-intro p { color: var(--muted); line-height: 1.8; margin: 0; }
.setup-form { display: grid; gap: 22px; }
.form-card { background: var(--paper); border: 1px solid rgba(15,66,98,.08); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.step-title { display: flex; align-items: center; gap: 14px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.step-title > span { flex: 0 0 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-dark); color: #fff; font-weight: 800; }
.step-title h2 { font-size: 20px; margin: 0 0 4px; }
.step-title p { font-size: 13px; color: var(--muted); margin: 0; }
.field-grid { display: grid; gap: 18px; }
.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field-wide { grid-column: 1 / -1; }
.field { display: grid; gap: 8px; align-content: start; }
.field > span { font-size: 14px; font-weight: 700; color: #344a5f; }
.field small { color: var(--muted); line-height: 1.5; }
.field input, .field select, .field textarea {
    width: 100%;
    border: 1px solid #cbd9e4;
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    padding: 12px 13px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(18,120,187,.13); }
.prize-setup-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.prize-setup { border: 1px solid var(--line); border-top: 4px solid var(--prize-color); border-radius: 14px; padding: 18px; background: #fbfdff; }
.prize-setup > strong { display: block; margin-bottom: 14px; font-size: 17px; }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.notice-line { margin-top: 20px; border-radius: 10px; padding: 13px 15px; background: #fff6e7; color: #74511d; font-size: 13px; line-height: 1.7; }
.notice-line span { font-weight: 800; margin-right: 6px; }
.primary-button {
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #168aca, #0d5f99);
    color: #fff;
    padding: 14px 22px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(18,120,187,.24);
    transition: transform .2s, filter .2s;
}
.primary-button:hover { filter: brightness(1.06); transform: translateY(-1px); }
.primary-button:disabled { cursor: not-allowed; filter: grayscale(.4); opacity: .65; transform: none; }
.install-button { min-height: 54px; font-size: 17px; }
.alert { border-radius: 12px; padding: 16px 18px; line-height: 1.7; }
.alert ul { margin: 8px 0 0 20px; padding: 0; }
.alert-error { background: #fff0f1; color: #8e2634; border: 1px solid #f2c9cf; }
.alert-success { background: #eaf8f2; color: #126b49; border: 1px solid #bde6d5; }

@media (max-width: 720px) {
    .brand-wrap { width: calc(100% - 28px); min-height: 64px; }
    .brand-logo { width: 144px; height: 40px; }
    .brand-wrap span { display: none; }
    .setup-shell { width: min(100% - 24px, 1040px); margin: 34px auto 56px; }
    .form-card { padding: 20px 16px; border-radius: 15px; }
    .two-col, .prize-setup-grid { grid-template-columns: 1fr; }
    .field-wide { grid-column: auto; }
    .mini-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .mini-grid .field > span { font-size: 12px; }
    .mini-grid .field input { padding: 10px 8px; }
}

/* 访客端 */
.public-page { background: #edf4f8; color: #11283a; overflow-x: hidden; }
.public-hero {
    position: relative;
    min-height: 660px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 84% 26%, rgba(49,183,198,.28), transparent 24%),
        linear-gradient(128deg, #031f32 5%, #063c62 55%, #0b6796 115%);
}
.public-hero::before {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    right: -150px;
    bottom: -180px;
    border: 70px solid rgba(255,255,255,.04);
    border-radius: 50%;
}
.hero-grid {
    position: absolute;
    inset: 0;
    opacity: .11;
    background-image: linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to right, #000, transparent 80%);
}
.public-nav, .hero-content {
    position: relative;
    z-index: 1;
    width: min(1080px, calc(100% - 40px));
    margin-inline: auto;
}
.public-nav { height: 86px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.15); }
.event-chip { padding: 7px 11px; border: 1px solid rgba(255,255,255,.32); border-radius: 999px; font-size: 12px; letter-spacing: .12em; }
.hero-content { padding-top: 76px; }
.hero-kicker { color: #77d6df; letter-spacing: .22em; font-size: 12px; font-weight: 800; margin: 0 0 18px; }
.hero-content h1 { margin: 0; font-size: clamp(52px, 8vw, 86px); line-height: .98; letter-spacing: -.06em; }
.hero-content h1 em { color: #7be0e6; font-style: normal; }
.hero-copy { max-width: 580px; margin: 24px 0 30px; color: rgba(255,255,255,.76); line-height: 1.8; }
.event-meta { display: grid; grid-template-columns: 1.4fr 1fr .7fr; max-width: 780px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 20px; }
.event-meta div { min-width: 0; padding-right: 22px; }
.event-meta div + div { padding-left: 22px; border-left: 1px solid rgba(255,255,255,.16); }
.event-meta span { display: block; color: rgba(255,255,255,.5); font-size: 11px; margin-bottom: 7px; letter-spacing: .08em; }
.event-meta strong { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-status {
    position: absolute;
    right: max(20px, calc((100% - 1080px) / 2));
    top: 142px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(2,20,32,.4);
    backdrop-filter: blur(8px);
    font-size: 12px;
}
.hero-status span { width: 8px; height: 8px; border-radius: 50%; background: #f0b34e; }
.hero-status.status-open span { background: #61dfa7; box-shadow: 0 0 0 5px rgba(97,223,167,.12); }

.public-main { position: relative; z-index: 2; width: min(920px, calc(100% - 28px)); margin: -64px auto 70px; display: grid; gap: 22px; }
.follow-card, .registration-section, .lottery-section, .rules-card { background: #fff; border-radius: 22px; box-shadow: var(--shadow); }
.wechat-gate {
    padding: 46px 34px;
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow);
    text-align: center;
}
.wechat-gate-icon, .wechat-status-icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 16px;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(145deg, #08785e, #16a779);
    font-size: 26px;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(8,120,94,.2);
}
.wechat-gate .section-kicker { margin-top: 0; }
.wechat-gate h2 { margin: 7px 0 11px; font-size: 28px; }
.wechat-gate > p:not(.section-kicker) { margin: 0 auto; max-width: 560px; color: #657786; line-height: 1.8; }
.wechat-gate-button, .wechat-status-card a {
    display: inline-flex;
    min-width: 210px;
    min-height: 48px;
    margin-top: 23px;
    padding: 0 22px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: #fff;
    background: #08785e;
    font-weight: 800;
    text-decoration: none;
}
.wechat-gate small { display: block; margin-top: 16px; color: #87949e; font-size: 11px; }

.wechat-status-page { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: #edf4f8; color: #11283a; }
.wechat-status-card { width: min(460px, 100%); padding: 40px 28px; border-radius: 22px; background: #fff; box-shadow: var(--shadow); text-align: center; }
.wechat-status-card .wechat-status-icon { background: linear-gradient(145deg, #cf6a43, #e1953e); }
.wechat-status-card h1 { margin: 0 0 12px; font-size: 25px; }
.wechat-status-card p { margin: 0; color: #687987; line-height: 1.75; }
.follow-card { display: grid; grid-template-columns: 1fr 220px; gap: 46px; align-items: center; padding: 38px 42px; }
.follow-copy h2, .section-heading h2 { font-size: 28px; margin: 4px 0 13px; letter-spacing: -.04em; }
.follow-copy > p:not(.section-kicker) { max-width: 560px; color: var(--muted); line-height: 1.8; margin: 0 0 16px; }
.section-number { display: inline-grid; place-items: center; width: 38px; height: 25px; border-radius: 5px; background: #dff1f7; color: #13769e; font: 800 12px/1 monospace; letter-spacing: .08em; }
.section-kicker { margin: 12px 0 0; color: #12829f; font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.compliance-note { display: inline-flex; align-items: center; gap: 7px; color: #697786; font-size: 12px; }
.compliance-note::before { content: "✓"; display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #e7f6f1; color: #16845a; font-weight: 900; }
.qr-frame { border: 1px solid #dbe7ed; border-radius: 18px; background: #fff; padding: 12px; cursor: zoom-in; box-shadow: 0 12px 28px rgba(3,43,68,.1); transform: rotate(1.5deg); transition: transform .2s; }
.qr-frame:hover { transform: rotate(0) scale(1.02); }
.qr-frame img { display: block; width: 188px; aspect-ratio: 1; object-fit: cover; }
.qr-frame span { display: block; padding: 8px 0 2px; color: #40576a; font-size: 12px; font-weight: 700; }

.registration-section, .lottery-section { padding: 38px 42px 42px; }
.section-heading { display: flex; align-items: flex-start; gap: 16px; padding-bottom: 25px; border-bottom: 1px solid #e3ebf0; }
.section-heading .section-number { margin-top: 5px; }
.section-heading .section-kicker { margin-top: 0; }
.section-heading h2 { margin-bottom: 0; }
.registration-form { padding-top: 26px; }
.public-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.public-field { display: grid; gap: 8px; }
.public-field > span, .interest-fieldset legend { font-size: 13px; font-weight: 750; color: #344b5e; }
.public-field b, .interest-fieldset b { color: #db5363; }
.public-field input, .public-field select, .public-field textarea {
    width: 100%;
    border: 1px solid #cfdae2;
    border-radius: 11px;
    padding: 13px 14px;
    color: #132b3d;
    background: #fbfdfe;
    outline: none;
    transition: .2s;
}
.public-field input:focus, .public-field select:focus, .public-field textarea:focus { border-color: #1883bd; background: #fff; box-shadow: 0 0 0 3px rgba(24,131,189,.1); }
.public-field textarea { min-height: 92px; resize: vertical; }
.field-full { grid-column: 1 / -1; margin-top: 18px; }
.public-field-grid .field-full { margin-top: 0; }
.interest-fieldset { border: 0; padding: 0; margin: 24px 0 0; }
.interest-fieldset legend { margin-bottom: 11px; }
.interest-fieldset legend small { margin-left: 7px; color: #8b98a4; font-weight: 500; }
.choice-grid { display: flex; flex-wrap: wrap; gap: 9px; }
.choice-pill input { position: absolute; opacity: 0; pointer-events: none; }
.choice-pill span { display: inline-flex; min-height: 38px; align-items: center; padding: 7px 13px; border: 1px solid #d5e0e7; border-radius: 999px; background: #f9fbfc; color: #4e6171; font-size: 13px; cursor: pointer; user-select: none; transition: .2s; }
.choice-pill input:checked + span { color: #096b9e; border-color: #60b4da; background: #e8f5fb; box-shadow: inset 0 0 0 1px rgba(18,120,187,.08); }
.consent-row { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0; color: #697986; font-size: 12px; line-height: 1.7; cursor: pointer; }
.consent-row input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--brand); flex: 0 0 auto; }
.public-submit { width: 100%; min-height: 54px; border: 0; border-radius: 12px; padding: 0 19px; display: flex; align-items: center; justify-content: space-between; background: linear-gradient(115deg, #0d6ba7, #159fba); color: #fff; font-weight: 800; cursor: pointer; box-shadow: 0 12px 28px rgba(13,107,167,.24); }
.public-submit i { font-size: 21px; font-style: normal; }
.public-submit:disabled { cursor: not-allowed; filter: grayscale(.8); opacity: .62; box-shadow: none; }
.form-feedback { margin: 12px 0 0; text-align: center; font-size: 13px; min-height: 18px; color: var(--success); }
.form-feedback.is-error { color: var(--danger); }
.trap-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.lottery-section { overflow: hidden; background: linear-gradient(#fff 0 46%, #f2f7fa 100%); }
.participant-strip { margin: 20px 0 6px; display: flex; gap: 10px; align-items: baseline; justify-content: center; }
.participant-strip span { color: #7d8995; font-size: 12px; }
.participant-strip strong { color: #0b699e; letter-spacing: .08em; }
.participant-strip small { color: #9aa6af; font-size: 11px; }
.wheel-stage { position: relative; width: 370px; height: 370px; margin: 18px auto 20px; display: grid; place-items: center; }
.lottery-wheel {
    position: relative;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: conic-gradient(#f5b942 0deg 72deg, #52c1b4 72deg 144deg, #4f8fe8 144deg 216deg, #8a72d6 216deg 288deg, #8b98a7 288deg 360deg);
    border: 10px solid #fff;
    box-shadow: 0 15px 45px rgba(3,45,70,.2), inset 0 0 0 3px rgba(255,255,255,.45);
    will-change: transform;
}
.lottery-wheel::after { content: ""; position: absolute; inset: 9px; border: 1px dashed rgba(255,255,255,.55); border-radius: 50%; pointer-events: none; }
.wheel-label {
    --angle: calc(var(--slot) * 72deg + 36deg);
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    width: 90px;
    text-align: center;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,.16);
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-112px) rotate(calc(-1 * var(--angle)));
}
.wheel-label span { display: block; font-weight: 900; font-size: 14px; }
.wheel-label small { display: block; margin-top: 3px; font-size: 9px; opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wheel-hub { position: absolute; z-index: 4; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 96px; height: 96px; display: grid; place-content: center; text-align: center; color: #fff; border-radius: 50%; background: linear-gradient(145deg, #06395d, #0b789f); border: 7px solid rgba(255,255,255,.92); box-shadow: 0 6px 20px rgba(2,37,58,.25); }
.wheel-hub span { font-size: 20px; font-weight: 900; letter-spacing: .12em; margin-left: .12em; }
.wheel-hub small { font-size: 8px; letter-spacing: .18em; opacity: .7; }
.wheel-pointer { position: absolute; z-index: 8; top: 3px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 14px solid transparent; border-right: 14px solid transparent; border-top: 31px solid #07395d; filter: drop-shadow(0 3px 2px rgba(0,0,0,.18)); }
.draw-button { display: block; width: min(320px, 88%); min-height: 54px; margin: 0 auto; border: 0; border-radius: 999px; color: #fff; background: linear-gradient(110deg, #ec8f35, #e9584e); box-shadow: 0 13px 30px rgba(225,83,63,.25); font-size: 17px; font-weight: 900; letter-spacing: .08em; cursor: pointer; }
.draw-button:disabled { opacity: .65; cursor: wait; }
.draw-button[data-completed="1"] { background: linear-gradient(110deg, #0d6ba7, #159fba); box-shadow: 0 13px 30px rgba(13,107,167,.2); }
.draw-rule { text-align: center; color: #83919d; font-size: 11px; margin: 13px 0 26px; }
.prize-legend { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.prize-legend div { min-width: 0; display: grid; grid-template-columns: 9px 52px 1fr; gap: 7px; align-items: center; background: rgba(255,255,255,.72); border: 1px solid #e1e9ee; border-radius: 9px; padding: 9px; font-size: 11px; }
.prize-legend i { width: 9px; height: 9px; background: var(--legend-color); border-radius: 50%; }
.prize-legend span { color: #70808d; }
.prize-legend strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.rules-card { padding: 30px 38px; }
.rules-card h2 { margin: 0 0 16px; font-size: 18px; }
.rules-card ol { margin: 0; padding-left: 20px; color: #6e7f8d; font-size: 13px; line-height: 1.9; }
.public-footer { min-height: 230px; padding: 48px 20px; text-align: center; color: rgba(255,255,255,.6); background: #05283f; }
.public-footer img { width: 150px; height: auto; }
.public-footer p { color: rgba(255,255,255,.86); margin: 17px 0 5px; font-weight: 700; }
.public-footer span { font-size: 12px; letter-spacing: .08em; }

.result-overlay, .qr-overlay { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 18px; background: rgba(1,22,35,.72); backdrop-filter: blur(8px); opacity: 0; transition: opacity .2s; }
.result-overlay[hidden], .qr-overlay[hidden] { display: none; }
.result-overlay.is-open, .qr-overlay.is-open { opacity: 1; }
.result-card { position: relative; width: min(430px, 100%); padding: 36px 28px 28px; border-radius: 24px; background: #fff; text-align: center; box-shadow: 0 25px 80px rgba(0,0,0,.32); transform: translateY(15px) scale(.97); transition: transform .22s; overflow: hidden; }
.result-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 7px; background: linear-gradient(90deg,#31b7c6,#f5b942,#8a72d6); }
.result-overlay.is-open .result-card { transform: translateY(0) scale(1); }
.result-close { position: absolute; top: 13px; right: 13px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #eff3f5; color: #60717f; font-size: 22px; cursor: pointer; }
.result-icon { width: 64px; height: 64px; margin: 0 auto 13px; display: grid; place-items: center; border-radius: 50%; background: #e9f7f6; color: #1697a5; font-size: 28px; }
.result-kicker { color: #1590a5; font-size: 10px; font-weight: 900; letter-spacing: .2em; margin: 0 0 5px; }
.result-card h2 { margin: 0; font-size: 30px; }
.result-prize { margin: 16px 0; color: #9b5a13; font-size: 18px; font-weight: 850; }
.claim-box { border: 1px dashed #e3b365; border-radius: 14px; padding: 13px; background: #fff9ed; }
.claim-box[hidden] { display: none; }
.claim-box span { display: block; color: #93744b; font-size: 11px; }
.claim-box strong { display: block; margin: 3px 0; font-size: 28px; letter-spacing: .14em; color: #4f3315; }
.claim-box button { border: 0; background: transparent; color: #1479af; font-size: 12px; cursor: pointer; }
.self-claim-panel { margin: 14px 0 0; padding: 13px; border: 1px solid #bfe3d8; border-radius: 14px; background: #f0faf6; }
.self-claim-panel[hidden] { display: none; }
.self-claim-button { width: 100%; min-height: 48px; border: 0; border-radius: 11px; background: #08785e; color: #fff; font-size: 15px; font-weight: 850; cursor: pointer; box-shadow: 0 8px 20px rgba(8,120,94,.18); }
.self-claim-button:disabled { opacity: .62; cursor: wait; }
.self-claim-panel small { display: block; margin-top: 8px; color: #57766c; font-size: 11px; line-height: 1.55; }
.result-tip { color: #778793; font-size: 12px; line-height: 1.7; margin: 15px 0; }
.result-action { width: 100%; min-height: 46px; border: 0; border-radius: 11px; background: #073e63; color: #fff; font-weight: 800; cursor: pointer; }
.qr-overlay > div { width: min(360px, 100%); padding: 20px; border-radius: 20px; background: #fff; text-align: center; transform: scale(.96); transition: .2s; }
.qr-overlay.is-open > div { transform: scale(1); }
.qr-overlay img { display: block; width: 100%; border-radius: 12px; }
.qr-overlay strong, .qr-overlay span { display: block; }
.qr-overlay strong { margin-top: 14px; }
.qr-overlay span { margin-top: 5px; color: #7b8a96; font-size: 12px; }
.qr-overlay-close { position: fixed; z-index: 2; top: 20px; right: 20px; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(0,0,0,.16); color: #fff; font-size: 28px; }
.toast { position: fixed; z-index: 200; left: 50%; bottom: calc(30px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); max-width: calc(100% - 40px); padding: 10px 16px; border-radius: 999px; background: rgba(3,35,54,.92); color: #fff; font-size: 12px; opacity: 0; pointer-events: none; transition: .2s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 720px) {
    .public-hero { min-height: 600px; }
    .public-nav, .hero-content { width: calc(100% - 30px); }
    .public-nav { height: 70px; }
    .hero-content { padding-top: 64px; }
    .hero-content h1 { font-size: clamp(46px, 14vw, 64px); }
    .hero-copy { font-size: 14px; margin-top: 20px; }
    .event-meta { grid-template-columns: 1fr 1fr; row-gap: 16px; }
    .event-meta div { padding-right: 12px; }
    .event-meta div + div { padding-left: 12px; }
    .event-meta div:nth-child(3) { padding-left: 0; border-left: 0; grid-column: 1 / -1; }
    .hero-status { top: 96px; right: 15px; }
    .public-main { margin-top: -46px; gap: 14px; }
    .follow-card { grid-template-columns: 1fr 130px; gap: 16px; padding: 24px 20px; align-items: end; }
    .follow-copy h2, .section-heading h2 { font-size: 23px; }
    .follow-copy > p:not(.section-kicker) { font-size: 13px; line-height: 1.7; }
    .compliance-note { font-size: 10px; }
    .qr-frame { padding: 8px; border-radius: 13px; }
    .qr-frame img { width: 114px; }
    .qr-frame span { font-size: 10px; padding-top: 6px; }
    .registration-section, .lottery-section { padding: 26px 18px 28px; border-radius: 18px; }
    .wechat-gate { padding: 34px 20px; border-radius: 18px; }
    .wechat-gate h2 { font-size: 24px; }
    .section-heading { padding-bottom: 19px; }
    .public-field-grid { grid-template-columns: 1fr; gap: 15px; }
    .field-full { grid-column: auto; }
    .participant-strip { flex-wrap: wrap; }
    .participant-strip small { flex-basis: 100%; text-align: center; }
    .wheel-stage { width: min(340px, 100%); height: min(340px, calc(100vw - 46px)); }
    .lottery-wheel { width: min(310px, calc(100vw - 66px)); height: min(310px, calc(100vw - 66px)); }
    .wheel-label { transform: translate(-50%, -50%) rotate(var(--angle)) translateY(calc(-1 * min(100px, 29vw))) rotate(calc(-1 * var(--angle))); width: 78px; }
    .wheel-label span { font-size: 12px; }
    .wheel-label small { font-size: 8px; }
    .wheel-hub { width: 82px; height: 82px; }
    .wheel-pointer { top: 2px; }
    .prize-legend { grid-template-columns: 1fr; }
    .rules-card { padding: 24px 22px; border-radius: 18px; }
}

@media (max-width: 390px) {
    .follow-card { grid-template-columns: 1fr 105px; }
    .qr-frame img { width: 89px; }
    .follow-copy > p:not(.section-kicker) { font-size: 12px; }
    .choice-grid { gap: 7px; }
    .choice-pill span { font-size: 12px; padding-inline: 11px; }
}
