.festival-window{--cyan:#5be3ff;--gold:#ffdc5e;position:fixed;inset:0;width:min(1180px,96vw);height:min(790px,94dvh);max-width:none;max-height:none;margin:auto;padding:0;border:1px solid var(--cyan);border-radius:0;background:#0c141bf5;color:#eef6fa;box-shadow:0 18px 90px #000a;font:14px/1.5 system-ui,sans-serif;overflow:hidden}
.festival-window::backdrop{background:#0009}.festival-window *{box-sizing:border-box}.festival-window button,.festival-window a{font:inherit;cursor:pointer;border:1px solid #678393;border-radius:0;background:#1d303b;color:#eafaff;padding:9px 14px;text-decoration:none}.festival-window button:hover,.festival-window a:hover{border-color:var(--cyan);background:#285064}.festival-window button:disabled{cursor:default;opacity:.45}.festival-heading{height:105px;padding:17px 28px;display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid #345767;background:repeating-linear-gradient(60deg,transparent 0 6px,#7de2ff06 6px 7px),linear-gradient(90deg,#192a34,#0d171e)}.festival-heading h2{font-size:27px;line-height:1.1;letter-spacing:.025em;margin:3px 0;text-transform:uppercase;color:#fff}.festival-heading small{font-size:9px;letter-spacing:.22em;color:#91a9b6}.festival-heading p{margin:5px 0;color:var(--cyan);font-size:12px}.festival-window .festival-close{font-size:35px;font-weight:200;border:0;background:none;color:var(--cyan);padding:0 4px;line-height:1}
.festival-layout{display:grid;grid-template-columns:minmax(270px,1fr) minmax(320px,1fr);gap:16px;height:calc(100% - 135px);padding:16px}.festival-list{overflow:auto;padding:10px 15px;background:#081016e8;border:1px solid #3c4b56}.festival-group{margin:8px 0 12px;font-size:10px;letter-spacing:.18em;color:#bdcdda;text-transform:uppercase}.festival-group:before{content:'●';color:var(--cyan);margin-right:8px}.festival-group:not(:first-child):before{color:var(--gold)}.festival-window .festival-event{position:relative;display:flex;align-items:center;gap:12px;width:100%;min-height:83px;padding:12px;margin-bottom:10px;text-align:left;border:1px solid #81929b;clip-path:polygon(12px 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%,0 12px);background:repeating-linear-gradient(60deg,transparent 0 6px,#a1d1e409 6px 7px),linear-gradient(90deg,#25343e,#10191f)}.festival-event:after{content:'';position:absolute;bottom:2px;left:3%;height:3px;width:calc(var(--progress,0%) * .94);background:var(--gold);max-width:94%}.festival-event[data-active=true]:after{background:var(--cyan)}.festival-window .festival-event[aria-pressed=true]{border:2px solid var(--cyan);background:repeating-linear-gradient(60deg,transparent 0 6px,#a1d1e40a 6px 7px),linear-gradient(90deg,#163a47,#21434b)}.festival-event-copy{flex:1;min-width:0}.festival-event-copy strong{display:block;font-size:16px;line-height:1.15}.festival-event-copy small{color:#9db7c4;font-size:11px}.festival-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:54px;height:59px;clip-path:polygon(24% 0,76% 0,100% 50%,76% 100%,24% 100%,0 50%);background:#101b23;border:1px solid #6e8998;font-size:32px;color:var(--cyan);text-shadow:2px 2px #06111b}.festival-time{font-variant-numeric:tabular-nums;color:var(--gold);white-space:nowrap}.festival-event[data-active=true] .festival-time{color:var(--cyan)}.festival-detail{overflow:auto;padding:24px;border:1px solid var(--cyan);background:repeating-linear-gradient(48deg,transparent 0 6px,#b3dafa05 6px 7px),linear-gradient(125deg,#24323d,#0a141c);clip-path:polygon(20px 0,100% 0,100% 100%,20px 100%,0 calc(100% - 20px),0 20px)}.festival-detail-head{display:flex;gap:18px;align-items:center;border-bottom:2px solid #516773;padding-bottom:18px}.festival-detail h3{font-size:25px;line-height:1.2;margin:0 0 5px}.festival-detail h4{font-size:16px}.festival-detail-head .festival-icon{width:70px;height:76px;font-size:43px;color:var(--gold)}.festival-cyan{color:var(--cyan);margin:0}.festival-description{color:#b5c9d4;font-size:13px;line-height:1.8;margin:19px 0}.festival-countdown{display:flex;align-items:center;justify-content:space-between;text-transform:uppercase;letter-spacing:.05em;color:#a4bdcb}.festival-countdown strong{font-size:26px;color:var(--gold);font-variant-numeric:tabular-nums}.festival-detail>progress{width:100%;height:10px;accent-color:#4a9aff;margin-bottom:17px}.festival-facts{display:grid;grid-template-columns:auto 1fr;gap:0;margin:0}.festival-facts dt,.festival-facts dd{margin:0;padding:11px 0;border-bottom:1px solid #91c6dd13}.festival-facts dt{font-size:10px;color:#9bb4c2;letter-spacing:.1em;text-transform:uppercase}.festival-facts dd{text-align:right;font-size:12px;font-weight:700;padding-left:12px}.festival-hint{font-size:12px;color:#aac3d0}.festival-status{margin:0 20px;color:#ffe19a;min-height:20px;font-size:12px}.festival-window .festival-primary{background:#153d4b;border-color:#59d8ef;color:#e3fbff;font-weight:700}.festival-ranking{width:100%;border-collapse:collapse;margin-top:12px;font-size:12px}.festival-ranking td,.festival-ranking th{padding:8px;text-align:left;border-bottom:1px solid #597582}
.pokeshop-window{max-width:1050px}.pokeshop-body{height:calc(100% - 130px);overflow:auto;padding:24px 30px}.shop-benefits{display:flex;align-items:center;justify-content:center;gap:28px;padding:10px}.shop-vip-mark{font-weight:900;font-size:30px;letter-spacing:.08em;color:var(--gold);padding:10px 15px;border:1px solid #c0a44f;transform:skew(-8deg);background:#493f2250}.shop-benefit{font-size:20px;font-weight:800;color:#e7faff}.shop-benefit:last-child{color:var(--cyan)}.shop-explainer,.shop-relative{text-align:center;display:block;color:#a9bdcb;font-size:12px}.shop-active{border:1px solid #65daa6;color:#9fffd1;background:#17433877;padding:12px;text-align:center}.shop-plans{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:26px 0}.shop-plan{position:relative;text-align:center;padding:23px 18px;border:1px solid #587589;background:repeating-linear-gradient(45deg,transparent 0 8px,#7ad6ed06 8px 9px),linear-gradient(145deg,#263946,#101923);clip-path:polygon(14px 0,100% 0,100% calc(100% - 14px),calc(100% - 14px) 100%,0 100%,0 14px)}.shop-plan[data-featured=true]{border-color:var(--gold);background:linear-gradient(145deg,#3c392b,#16232d)}.plan-badge{font-size:10px;font-weight:800;letter-spacing:.15em;text-transform:uppercase;color:var(--gold)}.shop-plan h3{font-size:27px;margin:12px 0}.plan-price{font-size:34px;white-space:nowrap;letter-spacing:-.04em}.shop-plan p{color:#99afbd;font-size:12px}.shop-plan button{width:100%;margin-top:16px}.shop-orders{margin-top:24px;border-top:1px solid #4f6472}.shop-order{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:12px;border-bottom:1px solid #38505f}.shop-order span{flex:1;font-size:12px;color:#a9c8d4}.shop-order button,.shop-order a{font-size:12px}.shop-status{margin:0 24px;color:#ffe19a}
@media(max-width:760px){.festival-window{width:98vw;height:96dvh}.festival-heading{height:78px;padding:12px 16px}.festival-heading h2{font-size:22px}.festival-heading small{display:none}.festival-layout{height:calc(100% - 103px);padding:8px;gap:8px;grid-template-columns:minmax(160px,.9fr) minmax(180px,1.1fr)}.festival-list{padding:8px}.festival-window .festival-event{gap:7px;min-height:73px;padding:8px;flex-wrap:wrap}.festival-event .festival-icon{width:32px;height:36px;font-size:22px}.festival-event-copy strong{font-size:12px}.festival-event-copy small{font-size:9px}.festival-time{font-size:12px;margin-left:auto}.festival-detail{padding:14px}.festival-detail-head{gap:8px}.festival-detail h3{font-size:19px}.festival-detail-head .festival-icon{width:42px;height:48px;font-size:28px}.festival-description{font-size:12px}.festival-facts{grid-template-columns:1fr}.festival-facts dt{padding-bottom:0;border:0}.festival-facts dd{text-align:left;padding-left:0;padding-top:3px}.shop-plans{gap:9px}.pokeshop-body{padding:14px;height:calc(100% - 103px)}.shop-plan{padding:18px 8px}.plan-price{font-size:25px}.shop-benefits{gap:14px;flex-wrap:wrap}.shop-benefit{font-size:15px}.shop-plan h3{font-size:22px}}
@media(max-width:480px){.festival-layout{display:flex;flex-direction:column;overflow:auto}.festival-list{overflow:visible;display:grid;grid-template-columns:1fr 1fr;gap:6px;flex-shrink:0}.festival-group{grid-column:1/-1;margin:4px}.festival-window .festival-event{margin:0}.festival-detail{overflow:visible;flex-shrink:0}.festival-description{margin:12px 0}.festival-facts{grid-template-columns:auto 1fr}.festival-facts dd{text-align:right}.shop-plans{grid-template-columns:1fr}.shop-plan{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:5px}.plan-badge{grid-column:1/-1}.shop-plan h3,.shop-plan p{margin:2px}.shop-plan button{margin:0}.plan-price{font-size:29px}.shop-benefits{gap:9px}.shop-vip-mark{font-size:23px}.shop-benefit{font-size:13px}}
.festival-window section,.festival-window nav{max-width:none!important;max-height:none!important;width:auto;height:auto;color:#eef6fa;box-shadow:none;border-radius:0;margin:0;float:none}
.festival-window .festival-list{display:block}
.festival-window .festival-detail{height:100%;width:100%;color:#eef6fa}
.festival-window .festival-detail h3,.festival-window .festival-detail h4,.festival-window .shop-plan h3,.festival-window .shop-orders h3{color:#f5fbff}
.festival-window .festival-facts dd{color:#eef6fa}
.festival-window .festival-layout{align-items:stretch}
.festival-window .festival-detail-head{background:none;width:100%;height:auto;justify-content:flex-start}

.festival-window .festival-challenges{font-size:11px;margin-left:auto;margin-right:20px}.festival-window .shop-benefits{height:auto}.festival-window .shop-plan{color:#eef6fa}
@media(max-width:480px){.festival-window .festival-list{display:grid}.festival-window .festival-detail{height:auto}.festival-window .festival-challenges{max-width:110px;padding:5px;font-size:10px;margin:0 10px}}

.festival-window .shop-benefits{background:linear-gradient(110deg,#173545,#15222c);border:1px solid #52717e;color:#fff;padding:18px;min-height:84px}.festival-window progress{appearance:none;border:1px solid #52717e;border-radius:9px;background:#0b1820;overflow:hidden}.festival-window progress::-webkit-progress-bar{background:#0b1820}.festival-window progress::-webkit-progress-value{background:linear-gradient(90deg,#3478df,#64b9ff);border-radius:9px}.festival-window progress::-moz-progress-bar{background:#4f9fff}.festival-window .festival-event{height:auto;max-height:none}.festival-window .festival-close{height:40px;min-height:40px}

.festival-icon svg{display:block;width:65%;height:65%;filter:drop-shadow(0 2px 0 #06121c)}
