* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
    margin: 0; color: #3c251b; background: radial-gradient(ellipse at top, #68351d, #26130e 60%);
    font: 16px/1.55 system-ui, "Microsoft YaHei", sans-serif;
}
main { width: min(100% - 28px, 720px); margin: clamp(16px, 5vw, 54px) auto 0; }
.slideshow { position: relative; overflow: hidden; border-radius: 20px; background: #2b140c; border: 1px solid #a76d43; box-shadow: 0 16px 40px #11070480; }
.slide { display: block; width: 100%; aspect-ratio: 594 / 292; object-fit: contain; }
.slide-nav { position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%); display: flex; }
.slide-dot { padding: 0; width: 30px; height: 32px; border: 0; background: transparent; cursor: pointer; }
.slide-dot::before { content: ""; display: block; width: 8px; height: 8px; border-radius: 10px; margin: auto; background: #fff8e8a0; }
.slide-dot[aria-pressed="true"]::before { width: 21px; background: #ffe1a6; }
.paper { margin-top: 22px; background: #fffaf1; border: 1px solid #efd7b5; border-radius: 22px; padding: clamp(20px, 5vw, 46px); box-shadow: 0 24px 60px #14090570; }
header { margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid #eadac5; }
h1 { margin: 0; font: 700 clamp(27px, 6vw, 38px)/1.25 "Songti SC", SimSun, serif; letter-spacing: .04em; }
header p { margin: 8px 0 0; color: #836551; font-size: 14px; }
form, .pair { display: grid; gap: 18px; }
.pair { grid-template-columns: 1fr 1fr; }
label { display: block; min-width: 0; font-weight: 650; font-size: 15px; }
label b { color: #9b4426; }
small { color: #806554; font-size: 12px; font-weight: 400; }
input:not([type=file]), textarea { width: 100%; margin-top: 7px; padding: 11px 12px; border: 1px solid #e5d5c1; border-radius: 10px; background: #fffdf8; color: inherit; line-height: 1.5; font-family: inherit; font-size: 16px; }
textarea { resize: vertical; display: block; }
:focus-visible { outline: 2px solid #ac6034; outline-offset: 3px; }
.file-box { position: relative; display: grid; justify-items: start; gap: 3px; overflow-wrap: anywhere; margin-top: 7px; padding: 12px; background: #fbefdf; border: 1px dashed #c99c75; border-radius: 10px; color: #814724; }
.file-box:focus-within { outline: 2px solid #ac6034; }
.file-box input { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.submit { min-height: 50px; border: 0; border-radius: 10px; background: linear-gradient(110deg, #7a341b, #9e5027); color: #fff4e3; font: 700 16px system-ui, sans-serif; letter-spacing: .08em; cursor: pointer; }
.submit:disabled { opacity: .65; }
#entry-status { color: #75401e; text-align: center; margin: 0; }
#entry-status:empty { display: none; }
footer { color: #e1c4ac; font-size: 12px; text-align: center; padding: 22px 0 28px; }
@media (max-width: 540px) { .pair { grid-template-columns: 1fr; } .paper { margin-top: 15px; } }
.campaign-intro { text-align: center; color: #ffebc9; border: 0; padding: 0; margin: 28px 0 24px; }
.campaign-intro .campaign-label { display: inline-block; margin: 0 0 13px; padding: 4px 13px; border: 1px solid #bb875b; border-radius: 20px; color: #ffe1ae; background: #63391f; font-size: 13px; letter-spacing: .08em; }
.campaign-intro .campaign-subtitle { margin: 10px 0 0; color: #e6cbb6; line-height: 1.72; }
.rules { color: #fff3df; background: #3e2418; border: 1px solid #956341; border-radius: 20px; overflow: hidden; }
.rules summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px clamp(15px, 4vw, 26px); }
.rules summary::-webkit-details-marker { display: none; }
.rules summary:focus-visible { outline-offset: -5px; }
.rules h2, .paper h2 { margin: 0; font-size: 21px; }
.rules h2 { color: #ffe0a5; }
.rules-toggle { border: 1px solid #976b50; border-radius: 20px; padding: 3px 10px; color: #eed7c4; font-size: 12px; white-space: nowrap; }
.rules-toggle::after { content: "展开 ▾"; }
.rules details[open] .rules-toggle::after { content: "收起 ▴"; }
.rule-list { margin: 0; padding: 0 clamp(15px, 4vw, 26px) 9px; list-style: none; }
.rule-list li { display: flex; align-items: flex-start; gap: 11px; padding: 12px 0; border-top: 1px dashed #886046; }
.rule-icon { flex: 0 0 35px; display: grid; place-items: center; height: 35px; border: 1px solid #98663e; border-radius: 10px; background: #56351f; }
.rule-list h3 { margin: 0 0 3px; font-size: 15px; }
.rule-list em { display: inline-block; margin-left: 5px; color: #ffe09e; font-size: 13px; font-style: normal; }
.rule-list p { margin: 0; color: #e5cbb8; font-size: 14px; }
.rule-list strong { color: #ffedcc; }
