body.ci-visitor{--accent:#35cc68;--bg:#04060c;--ink:#fff;--subtle:#c3ccda;background:#04060c;color:#fff}
body.ci-visitor :is(header,.bottom-nav){background:#090d15;border-color:#303d50}
body.ci-visitor .bottom-nav .scan-nav{background:#35cc68;color:#04160d;border-color:#35cc68;box-shadow:none}
body.ci-visitor main h1{font-size:28px;line-height:1.2;letter-spacing:normal;text-transform:none;margin:0 0 18px}
body.ci-visitor main :is(.ci-empty,.event-card,.ui-disclosure){background:#101622;border:1px solid #77869c;border-radius:6px;box-shadow:none}
body.ci-visitor main .ci-empty{padding:14px 16px}
body.ci-visitor main .ci-empty::before{display:none}
body.ci-visitor main .ci-empty p{margin:0;font-size:14px;line-height:1.5;color:#c3ccda}
body.ci-visitor main .ci-empty p:first-child{font-size:16px;color:#fff;margin-bottom:6px}
body.ci-visitor main .grid{gap:12px}
body.ci-visitor main .event-card{padding:14px 16px;margin:0}
body.ci-visitor main .event-card h3{font-size:20px;line-height:1.3;margin:0 0 7px}
body.ci-visitor main .event-card h3 a{color:#fff;text-decoration:none}
body.ci-visitor main .event-card p{font-size:14px;line-height:1.5;color:#c3ccda;margin:0}
body.ci-visitor main .past-events{margin-top:20px;padding:0;border-color:#48566b}
body.ci-visitor main .past-events summary{padding:12px 14px;font-size:14px;color:#c3ccda}
body.ci-visitor main .past-events>.grid{margin:0;padding:0 14px 14px}
body.ci-visitor main .events-past-empty{margin:0;color:#c3ccda;font-size:14px;line-height:1.5}
body.ci-visitor main .events-running{border-color:#35cc68}
body.ci-visitor main .event-summary{color:#c3ccda}
body.ci-visitor main .event-xp-details{border-color:#48566b;padding:12px 14px;font-size:14px;line-height:1.5}
body.ci-visitor main article.card.event-card{background:#101622!important;padding:14px 16px!important;border:1px solid #77869c!important;border-radius:6px!important}

body.ci-visitor main .past-events article.card.event-card{border:0!important;border-top:1px solid #293548!important;border-radius:0!important;padding:12px 0!important;background:transparent!important}
body.ci-visitor main .past-events article.card.event-card:first-child{border-top:0!important;padding-top:4px!important}
body.ci-visitor main .event-facts{margin:0 0 20px;padding:12px 14px;background:#101622;border:1px solid #48566b;border-radius:6px}
body.ci-visitor main .event-facts>div{display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;padding:5px 0;font-size:14px;line-height:1.5}
body.ci-visitor main .event-facts dt{color:#aeb6c4}
body.ci-visitor main .event-facts dd{margin:0;color:#fff;overflow-wrap:anywhere}
body.ci-visitor main .event-attendance{background:#101622;border:1px solid #77869c;border-radius:6px;padding:14px 16px;margin:20px 0}
body.ci-visitor main .event-attendance h2{font-size:20px;line-height:1.3;margin:0 0 10px}
body.ci-visitor main .event-attendance p{font-size:14px;line-height:1.5;margin:8px 0;color:#c3ccda}
body.ci-visitor main .event-attendance p:last-child{margin-bottom:0}
body.ci-visitor main .event-attendance form{margin:14px 0 0}
body.ci-visitor main .event-attendance button{background:#35cc68!important;color:#04160d!important;border:0!important;border-radius:4px;min-height:44px;padding:10px 14px!important;font-size:16px;font-weight:600;line-height:1.3;box-shadow:none}
body.ci-visitor main .event-attendance button[name=action][value=withdraw]{background:#0b111b!important;color:#c3ccda!important;border:1px solid #48566b!important}
body.ci-visitor main .event-xp-reward{font-size:14px;line-height:1.5;color:#c3ccda}
body.ci-visitor main .event-xp-details summary{padding:0;margin:0;font-size:14px;line-height:1.4}
body.ci-visitor main .event-xp-details[open] summary{margin-bottom:8px}
body.ci-visitor main .event-xp-details p{margin:0;padding:0;font-size:14px;line-height:1.6;color:#c3ccda}
body.ci-visitor main .event-xp-details strong{color:#fff}

body.ci-visitor main .event-xp-details summary{min-height:0!important}

body.ci-visitor main .event-card{position:relative}
body.ci-visitor main .event-card h3{padding-right:20px}
body.ci-visitor main .event-card h3 a::after{content:"";position:absolute;right:16px;top:22px;width:7px;height:7px;border-top:1.5px solid #c3ccda;border-right:1.5px solid #c3ccda;transform:rotate(45deg)}
body.ci-visitor main .past-events .event-card h3 a::after{right:2px;top:20px}
body.ci-visitor main .past-events>.grid{padding-bottom:4px} body.ci-visitor main .past-events article.card.event-card:last-child{padding-bottom:8px!important}
body.ci-visitor main .past-events[open]{padding-bottom:0!important}

body.ci-visitor main .event-attendance .event-own-status{font-size:16px;font-weight:600;color:#fff;margin:0 0 12px}
body.ci-visitor main .event-attendance button.event-withdraw{background:#0b111b!important;color:#c3ccda!important;border:1px solid #48566b!important;min-height:36px;padding:7px 10px!important;font-size:14px}
body.ci-visitor main .event-cancelled h2{margin:0;font-size:18px}
