/* Shared by React and WordPress. Visual theme only; payment and benefits stay authoritative. */
.xyrc-page.xyrc-festival {
  --xyrc-ink: #3d221b;
  --xyrc-muted: #896e5c;
  --xyrc-gold: #ebc986;
  --xyrc-line: #dcc6a3;
  --xyrc-red: #912d20;
  --xyrc-serif: 'Songti SC', 'STSong', 'Noto Serif CJK SC', serif;
  padding: 44px 24px 64px;
  background: linear-gradient(180deg, #57180f00 0, #57180f12 650px, #57180f 1050px), url('./festival-scene.png') center top / auto 1050px no-repeat, #57180f;
  color: var(--xyrc-ink);
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
.xyrc-festival .xyrc-wrap { max-width: 1110px; }
.xyrc-festival .xyrc-head { margin: 0 0 28px; padding: 16px 0 10px; }
.xyrc-festival .xyrc-kicker { background: none; color: #e6c080; border-radius: 0; font-size: 12px; font-weight: 500; letter-spacing: 5px; gap: 16px; align-items: center; }
.xyrc-festival .xyrc-kicker::before, .xyrc-festival .xyrc-kicker::after { content: ''; width: 32px; height: 1px; background: #c39153; }
.xyrc-festival .xyrc-head h1 { font-family: var(--xyrc-serif); font-size: 50px; font-weight: 700; letter-spacing: 5px; color: #ffeac0; margin: 12px 0; text-shadow: 0 2px 20px #421006; }
.xyrc-festival .xyrc-head p { color: #e1bc86; font-family: var(--xyrc-serif); font-size: 16px; letter-spacing: 3px; }
.xyrc-festival-seal { display: inline-flex; font: 12px/1.3 'PingFang SC', sans-serif; letter-spacing: 2px; writing-mode: vertical-rl; border: 1px solid #e7bf7199; padding: 5px 4px; margin-left: 12px; vertical-align: middle; }
.xyrc-festival .xyrc-account-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 0 auto 20px; }
.xyrc-festival .xyrc-balance { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; max-width: none; }
.xyrc-festival .xyrc-balance > div { display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 7px 13px; border: 1px solid #caa25e60; border-radius: 5px; background: #49130dcc; box-shadow: none; white-space: nowrap; }
.xyrc-festival .xyrc-balance span { color: #dcc097; font-size: 12px; }
.xyrc-festival .xyrc-balance strong { color: #ffebc6; font-size: 15px; font-weight: 600; margin: 0; }
.xyrc-festival .xyrc-market-actions { display: flex; width: auto; margin: 0; }
.xyrc-festival .xyrc-market-btn { min-height: 40px; padding: 7px 14px; border: 1px solid #cc9e5899; border-radius: 5px; background: #79502780; box-shadow: none; gap: 12px; }
.xyrc-festival .xyrc-market-btn b, .xyrc-festival .xyrc-market-btn strong { color: #f5dba8; font-size: 12px; font-weight: 500; }
.xyrc-festival .xyrc-market-btn em { display: none; }
.xyrc-festival .xyrc-market-btn strong { border: 0; background: none; padding: 0; min-width: 0; height: auto; }
.xyrc-festival .xyrc-tabs { display: flex; flex-direction: row; width: 480px; max-width: 100%; margin: 0 auto 26px; padding: 4px; border: 1px solid #b48b5266; background: #340d09bf; border-radius: 6px; gap: 3px; }
.xyrc-festival .xyrc-tabs button { min-height: 42px; padding: 10px 16px; font-weight: 500; border-radius: 3px; color: #d5b88d; background: none; }
.xyrc-festival .xyrc-tabs button.active { color: #51271a; background: linear-gradient(135deg, #f4dcac, #d7b47c); box-shadow: 0 3px 10px #230a0633; }
.xyrc-festival-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #b98e4f4d; padding-bottom: 12px; }
.xyrc-festival .xyrc-festival-heading h2, .xyrc-festival .xyrc-annual-heading h2 { color: #f7ddb0; font-family: var(--xyrc-serif); font-size: 23px; font-weight: 600; letter-spacing: 2px; margin: 0; }
.xyrc-festival-heading p { margin: 0; color: #d8b788; font-size: 12px; }
.xyrc-festival .xyrc-card-grid { gap: 16px; margin-top: 18px; }
.xyrc-festival .xyrc-plan-card { min-height: 0; padding: 23px; border: 1px solid #d8bd8e; border-radius: 8px; background: #fffaf0; box-shadow: 0 12px 35px #2509042b; }
.xyrc-festival .xyrc-plan-card.has-badge, .xyrc-festival .xyrc-plan-card.is-featured { border-color: #d8bd8e; }
.xyrc-festival .xyrc-plan-top { gap: 8px; }
.xyrc-festival .xyrc-plan-top h3 { font-family: var(--xyrc-serif); font-weight: 600; font-size: 21px; color: var(--xyrc-ink); }
.xyrc-festival .xyrc-plan-badges span, .xyrc-festival .xyrc-plan-top > span { border: 1px solid #c6a67b; border-radius: 3px; color: #9e7745; background: none; padding: 3px 7px; font-size: 10px; font-weight: 500; }
.xyrc-festival .xyrc-price-wrap { margin: 18px 0 13px; padding: 0 0 15px; border: 0; border-bottom: 1px solid var(--xyrc-line); border-radius: 0; background: none; box-shadow: none; }
.xyrc-festival .xyrc-plan-card .xyrc-price { color: var(--xyrc-ink); margin: 0; font-size: 46px; font-weight: 600; font-family: Arial, 'Helvetica Neue', sans-serif; font-style: normal; font-variant-numeric: lining-nums tabular-nums; letter-spacing: -1px; line-height: 1.2; }
.xyrc-festival .xyrc-plan-card .xyrc-price small { color: #9b6a40; font-size: 20px; margin-right: 3px; }
.xyrc-festival .xyrc-price em { color: var(--xyrc-muted); font: 12px 'PingFang SC', sans-serif; margin-left: 6px; letter-spacing: 0; white-space: nowrap; }
.xyrc-festival .xyrc-price em + em { display: inline-block; padding: 4px 2px; color: #955d31; background: #ebdac060; border: 1px solid #d8be955c; border-radius: 3px; }
.xyrc-festival .xyrc-desc { min-height: 0; font-size: 12px; color: var(--xyrc-muted); line-height: 1.7; margin: 0 0 12px; }
.xyrc-festival .xyrc-highlight { padding: 0; margin: 0 0 15px; background: none; border-radius: 0; }
.xyrc-festival .xyrc-highlight strong { color: #86532d; font-size: 18px; font-weight: 600; line-height: 1.6; }
.xyrc-festival .xyrc-highlight span { color: var(--xyrc-muted); font-size: 12px; line-height: 1.7; }
.xyrc-festival .xyrc-plan-card ul { color: var(--xyrc-muted); gap: 7px; font-size: 12px; line-height: 1.7; }
.xyrc-festival .xyrc-plan-card li::before { content: '◆'; color: #bc914f; font-size: 7px; vertical-align: middle; }
.xyrc-festival .xyrc-pay-choice-form { padding-top: 18px; }
.xyrc-festival .xyrc-qty-box { padding: 10px 0 0; border: 0; border-top: 1px solid #dcc6a377; border-radius: 0; background: none; margin-bottom: 13px; }
.xyrc-festival .xyrc-qty-row { gap: 8px; }
.xyrc-festival .xyrc-qty-label, .xyrc-festival .xyrc-qty-summary { color: var(--xyrc-muted); font-size: 11px; font-weight: 400; }
.xyrc-festival .xyrc-qty-summary { gap: 7px; flex-wrap: wrap; margin-top: 8px; }
.xyrc-festival .xyrc-qty-summary strong { color: var(--xyrc-ink); font-size: 13px; }
.xyrc-festival .xyrc-qty-stepper { grid-template-columns: 32px 34px 32px; border: 1px solid var(--xyrc-line); border-radius: 4px; background: none; }
.xyrc-festival .xyrc-qty-stepper input, .xyrc-festival .xyrc-plan-card .xyrc-qty-btn { height: 32px; padding: 0; border-radius: 0; color: var(--xyrc-ink); background: none; box-shadow: none; }
.xyrc-festival .xyrc-plan-card .xyrc-pay-btn, .xyrc-festival .xyrc-pay-login-link { min-height: 40px; padding: 10px 8px; border: 1px solid var(--xyrc-red); border-radius: 4px; color: #fff8e9; background: var(--xyrc-red); box-shadow: none; font-size: 12px; font-weight: 500; }
.xyrc-festival .xyrc-plan-card .xyrc-pay-wechat { background: transparent; color: var(--xyrc-red); }
.xyrc-festival .xyrc-plan-card button:disabled { opacity: .48; cursor: not-allowed; }
.xyrc-festival .xyrc-annual-section { margin-top: 32px; }
.xyrc-festival .xyrc-annual-heading { border-bottom: 1px solid #b98e4f4d; padding-bottom: 12px; }
.xyrc-festival .xyrc-annual-heading p { color: #d8b788; font-size: 12px; line-height: 1.8; margin: 9px 0 0; }
.xyrc-festival .xyrc-annual-grid .xyrc-plan-card { background: #f9efda; }
.xyrc-festival .xyrc-annual-grid .xyrc-plan-badges span, .xyrc-festival .xyrc-annual-grid .xyrc-plan-top > span { color: #ffe2a6; background: #932e20; border-color: #932e20; }
.xyrc-festival .xyrc-history { padding: 22px; margin-top: 32px; border: 1px solid #b48b5266; border-radius: 8px; background: #fffaf0; box-shadow: none; }
.xyrc-festival .xyrc-history-head h2 { color: var(--xyrc-ink); font: 600 22px var(--xyrc-serif); }
.xyrc-festival .xyrc-history-head span { color: var(--xyrc-muted); }
.xyrc-festival .xyrc-history-empty { color: var(--xyrc-muted); background: #f5ead7; border-radius: 4px; }
.xyrc-festival .xyrc-login-required { padding: 12px; border: 1px solid #caa25e60; border-radius: 5px; background: #49130dcc; color: #f5dba8; box-shadow: none; font-size: 12px; }
.xyrc-festival .xyrc-login-link { border-radius: 3px; background: #dfbf85; color: #51271a; }
.xyrc-festival .xyrc-msg { background: #fffaf0; border-radius: 6px; }
.xyrc-festival button:focus-visible, .xyrc-festival a:focus-visible, .xyrc-festival input:focus-visible { outline: 3px solid #d5a653; outline-offset: 3px; }
/* The shared site chrome changes only while the recharge page is mounted. */
.xyhome:has(.xyrc-festival) .xyhome-header { background: #380d08; border-bottom: 1px solid #e3bf7733; }
.xyhome:has(.xyrc-festival) .xyhome-nav { background: transparent; }
.xyhome:has(.xyrc-festival) .xyhome-menu .elementor-item { color: #e4c8a0; }
.xyhome:has(.xyrc-festival) .xyhome-menu .elementor-item-active { color: #ffe2a6; }
.xyhome:has(.xyrc-festival) .xyauc-header-account { background: #6d3624; border-color: #c4985a66; color: #f3dcbd; }
@media (min-width: 1600px) { .xyrc-page.xyrc-festival { background-size: auto, 100% auto; } }
@media (max-width: 1100px) and (min-width: 761px) { .xyrc-festival .xyrc-plan-card { padding: 18px; } .xyrc-festival .xyrc-plan-card .xyrc-price { font-size: 40px; } .xyrc-festival .xyrc-price em { font-size: 11px; } }
@media (max-width: 760px) {
  .xyrc-page.xyrc-festival { padding: 25px 16px 40px; background-size: auto, auto 780px; }
  .xyrc-festival .xyrc-head { padding: 12px 0 8px; margin-bottom: 23px; }
  .xyrc-festival .xyrc-head h1 { font-size: 30px; letter-spacing: 1px; margin: 14px 0; }
  .xyrc-festival-seal { display: none; }
  .xyrc-festival .xyrc-head p { font-size: 13px; letter-spacing: 1px; }
  .xyrc-festival .xyrc-kicker { letter-spacing: 3px; font-size: 11px; padding: 5px; }
  .xyrc-festival .xyrc-kicker::before, .xyrc-festival .xyrc-kicker::after { width: 22px; }
  .xyrc-festival .xyrc-account-tools, .xyrc-festival .xyrc-balance { gap: 6px; }
  .xyrc-festival .xyrc-balance > div { padding: 7px 9px; min-height: 34px; }
  .xyrc-festival .xyrc-balance span { font-size: 11px; }
  .xyrc-festival .xyrc-balance strong { font-size: 13px; }
  .xyrc-festival .xyrc-market-btn { min-height: 44px; }
  .xyrc-festival .xyrc-tabs button { min-height: 44px; padding: 10px; font-size: 13px; }
  .xyrc-festival .xyrc-card-grid, .xyrc-festival .xyrc-panel[data-xyrc-panel='points'] .xyrc-card-grid { grid-template-columns: minmax(0,1fr); }
  .xyrc-festival .xyrc-plan-card { padding: 22px; min-height: 0; }
  .xyrc-festival .xyrc-festival-heading h2, .xyrc-festival .xyrc-annual-heading h2 { font-size: 21px; }
  .xyrc-festival-heading p { font-size: 11px; }
  .xyrc-festival .xyrc-plan-card .xyrc-pay-btn, .xyrc-festival .xyrc-pay-login-link { min-height: 44px; font-size: 13px; }
  .xyrc-festival .xyrc-qty-stepper { grid-template-columns: 44px 40px 44px; }
  .xyrc-festival .xyrc-qty-stepper input, .xyrc-festival .xyrc-plan-card .xyrc-qty-btn { height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .xyrc-festival button, .xyrc-festival a { transition: none; } }

.xyhome:has(.xyrc-festival) .xyhome-header.elementor-192 .xyhome-menu a { color: #e4c8a0; }
.xyhome:has(.xyrc-festival) .xyhome-header.elementor-192 .xyhome-menu a.elementor-item-active, .xyhome:has(.xyrc-festival) .xyhome-header.elementor-192 .xyhome-menu a:hover { color: #ffe2a6; }
.xyhome:has(.xyrc-festival) .xyhome-header.elementor-192 .xyhome-menu a::after { background-color: #e3bf77; }
/* Override the legacy WordPress stepper's important dark-theme declarations. */
.xyrc-festival .xyrc-plan-card .xyrc-qty-btn { color: var(--xyrc-ink) !important; width: 32px !important; min-width: 32px !important; height: 32px !important; }
@media (max-width: 760px) { .xyrc-festival .xyrc-plan-card .xyrc-qty-btn { width: 44px !important; min-width: 44px !important; height: 44px !important; } }
