.festival-state{margin:0 0 14px;padding:13px 16px;border-radius:14px;border:1px solid var(--line);font-weight:750}
.festival-state.active{color:#ffe59a;background:#ffc75e16;border-color:#d9a94d}
.festival-state.closed{color:var(--muted);background:#ffffff08}
.festival-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:14px}
.festival-summary>div{padding:17px;border:1px solid var(--line);border-radius:17px;background:linear-gradient(145deg,#2a1935,#17101f)}
.festival-summary span{display:block;color:var(--muted);font-size:12px}
.festival-summary strong{display:block;color:var(--gold);font-size:21px;margin-top:4px}
.festival-columns{display:grid;grid-template-columns:minmax(300px,.8fr) minmax(360px,1.2fr);gap:14px}
.festival-wheel-panel{text-align:center}
.festival-wheel{width:190px;height:190px;margin:2px auto 18px;border-radius:50%;display:grid;place-items:center;position:relative;background:conic-gradient(#7d46b7 0 60%,#b66b43 60% 85%,#c7983a 85% 95%,#b8a7d8 95% 99%,#ffe9a1 99% 100%);box-shadow:0 0 0 8px #2a1a35,0 0 0 10px #9c7340,0 18px 50px #0008}
.festival-wheel:before{content:"";position:absolute;inset:28px;border-radius:50%;background:#17101f;border:2px solid #f2c76a}
.festival-wheel:after{content:"▼";position:absolute;top:-23px;color:#ffe49b;font-size:27px;filter:drop-shadow(0 2px 3px #000)}
.festival-moon{position:relative;z-index:1;font-size:60px;color:#ffd875;text-shadow:0 0 24px #ffc95f}
.festival-wheel.spinning{animation:festival-spin .65s cubic-bezier(.2,.75,.25,1)}
@keyframes festival-spin{to{transform:rotate(1080deg)}}
.festival-rule{color:#eadcf4;min-height:46px}
.festival-spin{width:min(100%,260px);font-size:17px}
.festival-spin-auto{width:min(100%,260px);margin:0 auto 10px;display:block}
.festival-spin:disabled{opacity:.5;cursor:not-allowed}
.festival-rewards{display:grid;gap:9px;margin-top:15px}
.festival-reward{display:grid;grid-template-columns:64px 1fr 52px;align-items:center;gap:10px;padding:13px;border:1px solid var(--line);border-radius:14px;background:#120c1a}
.festival-tier{color:var(--gold)}
.festival-rate{text-align:right;color:#dcbaff;font-size:17px}
.festival-reward.tier-5{border-color:#e5bb62;box-shadow:inset 0 0 24px #d9ad4520}
.festival-history-panel{margin-top:14px}
.festival-history{display:grid;gap:8px;margin-top:14px}
.festival-history-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;border-radius:13px;background:#120c1a;border:1px solid var(--line)}
.festival-history-row strong,.festival-history-row small{display:block}
.festival-history-row small{color:var(--muted);margin-top:2px}
.seashell-actions{display:flex;flex-direction:column;align-items:center;gap:8px}.seashell-buy{display:flex;max-width:320px;margin:12px auto 0;gap:8px}.seashell-buy input{min-width:90px}.seashell-buy button{flex:1}.seashell-ranking-panel{margin-top:14px}
.seashell-wheel{background:repeating-conic-gradient(#8852ad 0deg 36deg,#c59540 36deg 72deg)}.seashell-wheel.spinning{animation:festival-spin .75s cubic-bezier(.2,.75,.25,1)}.seashell-result{padding:10px 14px;color:var(--gold);min-height:24px}.seashell-result:empty{display:none}#tab-seashell .festival-reward{grid-template-columns:64px 1fr}#tab-seashell .festival-spin{margin-bottom:8px}
@media(max-width:850px){.festival-summary{grid-template-columns:repeat(2,1fr)}.festival-columns{grid-template-columns:1fr}}
@media(max-width:520px){.festival-summary{grid-template-columns:1fr 1fr}.festival-summary>div{padding:13px}.festival-summary strong{font-size:18px}.festival-reward{grid-template-columns:58px 1fr 44px}.festival-history-row{align-items:flex-start;flex-direction:column}}
.event-gift-card{display:grid;grid-template-columns:130px 1fr;gap:24px;align-items:center;max-width:850px;background:radial-gradient(circle at 10% 30%,#71459344,transparent 34%),linear-gradient(145deg,#281731,#130e1a)}
.event-gift-icon{width:110px;height:110px;border-radius:28px;display:grid;place-items:center;font-size:58px;background:#ffd36b14;border:1px solid #c89f55;box-shadow:0 12px 35px #0007}
.event-gift-content>p{margin:0 0 10px}.event-gift-content #eventgift-description{font-size:18px;color:#f6e6ff}.event-gift-items{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.event-gift-item{padding:6px 10px;border-radius:999px;background:#b87cff18;border:1px solid #6f4a8d;color:#dbc0f5;font-size:12px}.event-gift-card button{min-width:220px}.event-gift-card button:disabled{opacity:.55;cursor:not-allowed}@media(max-width:600px){.event-gift-card{grid-template-columns:1fr}.event-gift-icon{width:82px;height:82px;font-size:42px}.event-gift-card button{width:100%}}
