.event-page { color: #1f2119; }
.event-page a:focus-visible, .event-page button:focus-visible, .event-community-dialog button:focus-visible { outline: 3px solid #ac8143; outline-offset: 4px; }
.event-community-dialog { position: fixed; inset: 0; margin: auto; width: 360px; max-width: calc(100vw - 32px); max-height: calc(100dvh - 48px); overflow-y: auto; padding: 20px 24px; border: 0; border-radius: 8px; background: #fff; color: #1f2119; box-shadow: 0 6px 16px rgba(0,0,0,.12), 0 3px 6px rgba(0,0,0,.08); }
.event-community-dialog::backdrop { background: rgba(0,0,0,.45); }
.event-community-dialog h2 { font-size: 16px; line-height: 24px; font-weight: 600; padding-right: 28px; margin: 0 0 8px; }
.event-community-close { position: absolute; top: 12px; right: 12px; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 4px; color: #737373; }
.event-community-close:hover { background: #f2f2f2; color: #1f2119; }
.event-community-qr { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 0 12px; text-align: center; }
.event-community-qr img { display: block; width: 220px; max-width: 100%; height: auto; }
.event-community-qr p { margin: 6px 0 0; color: #223b31; font-size: 16px; font-weight: 500; }
.event-community-qr span { color: #6d756f; font-size: 13px; line-height: 1.7; }
.event-hero { position: relative; overflow: hidden; padding: 26px; border: 1px solid #ecd9b7; border-radius: 14px; background: radial-gradient(ellipse at 100% 0%, #ffe2a366, transparent 60%), linear-gradient(115deg, #fffaf0, #fff1dc); }
.event-badges { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 14px; position: relative; }
.event-label { display: inline-block; font-size: 12px; color: #915026; background: #ffe7be; padding: 4px 10px; border-radius: 5px; }
.event-status { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: #9b4b2b; }
.event-status i { width: 6px; height: 6px; border-radius: 50%; background: #d76b3a; }
.event-hero h1 { position: relative; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.4; font-weight: 650; letter-spacing: -.04em; color: #2e6754; margin: 0 84px 10px 0; }
.event-lede { position: relative; font-size: 17px; line-height: 1.8; padding-right: 70px; }
.event-lede strong { color: #b95830; white-space: nowrap; }
.event-gift { position: absolute; width: 102px; height: 102px; right: 18px; top: 70px; transform: rotate(-8deg); }
.event-confetti { position: absolute; inset: 0; pointer-events: none; }
.event-confetti i { position: absolute; width: 5px; height: 12px; border-radius: 2px; background: #e4ab51; transform: rotate(28deg); }
.event-confetti i:nth-child(1) { top: 20px; right: 26px; }
.event-confetti i:nth-child(2) { top: 55px; right: 140px; background: #94af88; transform: rotate(-22deg); }
.event-confetti i:nth-child(3) { bottom: 36px; right: 24px; background: #d89478; transform: rotate(-35deg); }
.event-confetti i:nth-child(4) { top: 40px; right: 85px; width: 5px; height: 5px; border-radius: 50%; }
.event-confetti i:nth-child(5) { bottom: 70px; right: 85px; width: 7px; height: 7px; border: 1px solid #c68353; background: transparent; border-radius: 50%; }
.event-confetti i:nth-child(6) { top: 190px; right: 42px; background: #94af88; transform: rotate(60deg); }
.event-countdown-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; font-size: 12px; color: #8e5d38; }
.event-countdown-bar strong { border: 1px solid #edd4aa; background: #fffaf0; border-radius: 5px; padding: 4px 8px; font-size: 14px; letter-spacing: .025em; font-variant-numeric: tabular-nums; }
.event-deadline { color: #686d60; font-size: 12px; line-height: 1.8; margin-top: 10px; }
.event-section { margin-top: 24px; }
.event-section h2 { font-size: 19px; line-height: 1.6; font-weight: 600; margin-bottom: 14px; }
.event-how-layout { display: grid; grid-template-columns: minmax(0, 1fr) 220px; align-items: start; gap: 24px; }
.event-example { margin: 0; }
.event-example button { display: block; width: 100%; border-radius: 8px; overflow: hidden; cursor: zoom-in; box-shadow: 0 0 0 1px #dce1d3; }
.event-example img { display: block; width: 100%; height: auto; }
.event-example figcaption { font-size: 12px; color: #686d60; margin-top: 8px; text-align: center; }
.event-example figcaption span { color: #2e6754; }
.event-example-dialog { width: 940px; padding: 18px; }
.event-example-dialog h2 { margin-bottom: 16px; }
.event-example-full { display: block; width: 100%; height: auto; max-height: calc(100dvh - 130px); object-fit: contain; border-radius: 4px; }
.event-steps { list-style: none; display: grid; gap: 18px; }
.event-steps li { display: flex; align-items: flex-start; gap: 12px; }
.event-step-number { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex: none; border: 1px solid #b7c5af; border-radius: 50%; color: #2e6754; font-size: 13px; }
.event-steps h3 { font-size: 15px; font-weight: 600; line-height: 28px; margin-bottom: 3px; }
.event-steps p { color: #606657; font-size: 14px; line-height: 1.8; }
.event-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.event-tags span { background: #e5ecdf; color: #2e6754; border-radius: 5px; padding: 5px 10px; font-size: 13px; font-weight: 500; }
.event-text-link { color: #2e6754; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.event-rewards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.event-reward { background: #fffcf5; border: 1px solid #e9dfcd; border-radius: 8px; padding: 16px; }
.event-reward h3 { font-size: 12px; font-weight: 500; color: #4b6450; }
.event-reward .event-amount { color: #2e6754; font-size: 11px; white-space: nowrap; margin: 8px 0; }
.event-amount strong { font-size: 30px; font-weight: 650; letter-spacing: -.04em; }
.event-reward > p:last-child { font-size: 12px; color: #5a6452; line-height: 1.8; }
.event-reward b { font-weight: 600; white-space: nowrap; }
.event-reward-featured { background: #fff0d4; border-color: #e5c68d; }
.event-reward-featured .event-amount { color: #a4532e; }
.event-notes { padding-left: 16px; margin-top: 12px; font-size: 12px; color: #686d60; line-height: 1.9; }
.event-rules { margin-top: 36px; padding-top: 24px; border-top: 1px solid #d9ddcf; }
.event-rules h2 { font-size: 18px; line-height: 1.6; font-weight: 600; margin-bottom: 14px; }
.event-rules ol { padding-left: 20px; font-size: 13px; line-height: 1.9; color: #606657; overflow-wrap: anywhere; }
.event-rules li + li { margin-top: 10px; }
.event-rules strong { font-weight: 600; color: #3e4c39; }
.event-join { position: relative; margin-top: 18px; }
.event-button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 48px; padding: 12px 20px; border-radius: 7px; background: #2e6754; color: #fff; font-size: 14px; font-weight: 600; }
.event-button:hover { background: #245543; }
.event-button span { font-size: 20px; line-height: 1; }
@media (max-width: 600px) {
  .event-hero { padding: 20px; }
  .event-hero h1 { font-size: 28px; margin-right: 38px; }
  .event-badges { gap: 8px; }
  .event-label { font-size: 11px; padding: 4px 7px; }
  .event-status { font-size: 10px; }
  .event-gift { width: 52px; height: 52px; top: 58px; right: 8px; opacity: .9; }
  .event-lede { padding-right: 0; }
  .event-confetti i:nth-child(2), .event-confetti i:nth-child(6) { display: none; }
  .event-how-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .event-example { width: 100%; max-width: 350px; }
  .event-lede { font-size: 15px; }
  .event-rewards { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .event-reward { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; padding: 12px 14px; }
  .event-reward .event-amount { grid-column: 2; grid-row: 1 / 3; margin: 0; }
  .event-amount strong { font-size: 26px; }
  .event-reward > p:last-child { grid-column: 1; }
  .event-button { width: 100%; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .event-how-layout { grid-template-columns: minmax(0, 1fr) 180px; gap: 16px; }
}
