/* Shared fantasy cards: the public page and OBS render the same partials. No remote assets. */
.cx-host{container-type:inline-size;min-width:0}.cx-card{--cx-accent:#efbf59;--cx-border:#ac833b;box-sizing:border-box;position:relative;isolation:isolate;color:#fff1d4;font-family:Georgia,'Times New Roman',serif;line-height:1.4;border:2px solid var(--cx-border);border-radius:8px;overflow:hidden;background:linear-gradient(95deg,#111711ed,#161c11a6),url('/images/challenge-card-scenes.webp') left center/300% 100%;box-shadow:inset 0 0 28px #a8782925;min-width:0;padding:20px;margin:0}
.cx-card:before,.cx-card:after{content:'';position:absolute;pointer-events:none;z-index:-1}.cx-card:before{inset:5px;border:1px solid color-mix(in srgb,var(--cx-border),transparent 40%);border-radius:3px}.cx-card:after{inset:0;background:linear-gradient(135deg,#edc98222,transparent 24%,transparent 85%,#d4a15016);box-shadow:inset 0 1px 1px #ffeeaa55}
.cx-card *{box-sizing:border-box}.cx-card p,.cx-card h2,.cx-card dl,.cx-card dd{margin:0}.cx-red{--cx-accent:#f16b5c;--cx-border:#a5483c;background-position:center,center}.cx-purple{--cx-accent:#b77af0;--cx-border:#804aab;background-position:center,right}.cx-card h2{color:#fff0cb;font-size:20px;line-height:1.25;font-weight:700}.cx-metric{min-height:240px;padding:24px 24px 15px}.cx-metric-main{display:flex;gap:20px;align-items:center}.cx-icon{flex:0 0 72px;display:grid;place-items:center}.cx-icon img{width:65px;height:85px;object-fit:contain;filter:drop-shadow(0 3px 3px #000)}.cx-icon svg{width:64px;height:60px;filter:drop-shadow(0 4px 3px #0009);fill:#d52829}.cx-icon svg path{fill:#fff}.cx-icon svg.cx-twitch{fill:#9a4cdf;stroke:#ba91e3;stroke-width:1}.cx-icon .cx-twitch path:first-child{fill:#9a4cdf}.cx-icon .cx-twitch path:nth-child(2){fill:#fff;stroke:none}.cx-icon .cx-twitch path:nth-child(3){fill:none;stroke:#7334b5;stroke-width:4}.cx-numbers{min-width:0;flex:1}.cx-numbers h2{font-size:17px;padding-right:5px}.cx-value{display:flex;align-items:baseline;gap:8px;font-family:system-ui,'Segoe UI',sans-serif;white-space:nowrap}.cx-value strong{font-size:50px;font-weight:800;line-height:1.15;letter-spacing:-1.5px}.cx-value>span{font-size:27px;color:#e0d8c7}.cx-value>small{font-size:12px;color:#b9b8a6}.cx-change{font:12px/1.6 system-ui,'Segoe UI',sans-serif}.cx-change span{color:#d9d0b9}.cx-positive{color:#77e082}.cx-negative{color:#ffad9d}.cx-neutral{color:#d9d0b9}.cx-progress{display:flex;gap:12px;align-items:center;margin:16px 0 13px}.cx-progress strong{font:700 14px system-ui,'Segoe UI',sans-serif;white-space:nowrap}.cx-card progress{appearance:none;width:100%;flex:1;min-width:0;height:16px;border:1px solid #baa067;border-radius:20px;background:#07110ddd;overflow:hidden}.cx-card progress::-webkit-progress-bar{background:#07110ddd}.cx-card progress::-webkit-progress-value{background:linear-gradient(#ffe4a0,#e7aa39);border-radius:20px;transition:width .45s ease}.cx-red progress::-webkit-progress-value{background:linear-gradient(#ff9680,#cd4032)}.cx-purple progress::-webkit-progress-value{background:linear-gradient(#d4a1ff,#8b43d4)}.cx-card progress::-moz-progress-bar{background:var(--cx-accent);border-radius:20px}.cx-details{display:grid;grid-template-columns:.8fr .8fr 1.3fr;gap:12px;font:12px system-ui,'Segoe UI',sans-serif}.cx-details>div{display:flex;gap:10px;align-items:center;border-right:1px solid #c6b57133;padding-right:12px}.cx-details>div:last-child{border:0;padding:0}.cx-details dt{color:#c4bfae}.cx-details dd{font-weight:700}.cx-meta{display:flex;justify-content:space-between;gap:10px;padding-top:13px;color:#bab8a4;font:10px system-ui,'Segoe UI',sans-serif}.cx-meta small{font:inherit;color:#d1b976;white-space:nowrap}.cx-precision{display:block;font:9px system-ui,'Segoe UI',sans-serif;color:#bfbba8;margin-top:5px}.cx-badge{position:absolute;right:12px;top:4px;color:#edca80;font:700 9px system-ui,'Segoe UI',sans-serif;letter-spacing:.5px}.cx-winner{border-color:#f6cc73;box-shadow:inset 0 0 35px #ffbf4840}.cx-victory{font:700 10px system-ui,'Segoe UI',sans-serif;color:#ffe198;position:absolute;bottom:4px;left:24px}.cx-winner .cx-meta{padding-bottom:12px}
.cx-summary{min-height:250px;display:grid;grid-template-columns:1.12fr 1fr;gap:22px;background:linear-gradient(110deg,#092c20f2,#081b15ec),url('/images/community-branded.webp') center/cover;--cx-border:#597743;padding:19px 24px}.cx-summary-intro{display:flex;flex-direction:column;min-width:0}.cx-summary-brand{display:flex;gap:10px;align-items:center;font:700 10px system-ui,'Segoe UI',sans-serif;letter-spacing:1.5px;color:#e7c470}.cx-summary-brand img{width:35px;height:35px;object-fit:contain}.cx-summary h2{font-size:24px;margin:5px 0 8px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}.cx-description{font-size:14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.cx-summary-facts{display:flex;gap:14px;margin-top:10px;font:10px system-ui,'Segoe UI',sans-serif;color:#c9ccb5}.cx-reward{font:10px/1.5 system-ui,'Segoe UI',sans-serif;color:#dfc983;margin-top:8px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.cx-address{margin-top:auto;padding-top:7px;color:#d6bd78;font:10px system-ui,'Segoe UI',sans-serif}.cx-summary-race{display:flex;flex-direction:column;gap:10px;min-width:0}.cx-goals{display:grid;grid-template-columns:1fr;gap:5px;max-height:120px;overflow:hidden}.cx-goal{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 9px;border-left:2px solid var(--cx-accent);background:#030d0b80;font:12px system-ui,'Segoe UI',sans-serif;min-width:0}.cx-goal>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cx-goal strong{white-space:nowrap;color:var(--cx-accent)}.cx-goal small{color:#e1d9c3;font:inherit;font-weight:400}.cx-goals:has(.cx-goal:nth-child(5)){grid-template-columns:1fr 1fr;max-height:none;gap:3px}.cx-goals:has(.cx-goal:nth-child(5)) .cx-goal{font-size:10px;flex-wrap:wrap;gap:2px;padding:3px 6px}.cx-leader{margin-top:auto;padding:9px 12px;border:1px solid #8f9b4b66;border-radius:4px;background:#03100ddd;display:grid;grid-template-columns:auto 1fr;gap:3px 12px}.cx-leader>span{font:10px system-ui,'Segoe UI',sans-serif;color:#e8c77a;align-self:center}.cx-leader strong{font-size:17px;text-align:right;overflow-wrap:anywhere}.cx-leader small{grid-column:1/-1;color:#c0c7ac;font:9px/1.4 system-ui,'Segoe UI',sans-serif}
.cx-web-summary{margin:8px 0 18px}.cx-web-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0 0 20px}
@container(max-width:460px){.cx-metric{padding:24px 18px 15px;min-height:260px}.cx-metric-main{gap:13px}.cx-icon{flex-basis:53px}.cx-icon img{width:52px;height:80px}.cx-icon svg{width:47px}.cx-value strong{font-size:40px}.cx-value>span{font-size:21px}.cx-value>small{display:none}.cx-numbers h2{font-size:15px}.cx-change{font-size:11px}.cx-details{font-size:10px;gap:7px}.cx-details>div{flex-direction:column;align-items:start;gap:4px;padding-right:6px}.cx-meta{font-size:9px;flex-wrap:wrap}.cx-summary{grid-template-columns:1fr;gap:16px}.cx-summary h2{font-size:23px}.cx-address{display:none}.cx-goals{max-height:none}.cx-leader{margin-top:4px}.cx-summary-facts{font-size:10px}}
@media(max-width:700px){.cx-web-grid{grid-template-columns:1fr}.cx-web-summary .cx-summary{grid-template-columns:1fr}.cx-web-summary .cx-address{display:none}}
@media(prefers-reduced-motion:reduce){.cx-card *,.cx-card{animation:none!important;transition:none!important}}
.cx-more-goals{grid-column:1/-1;color:#d3c898;font:9px system-ui,sans-serif}.cx-summary-brand,.cx-summary-facts,.cx-meta{flex-shrink:0}
.cx-summary-brand>small{margin-left:auto;font:9px system-ui,sans-serif;letter-spacing:0;color:#bed0ad}.cx-summary-brand>span{min-width:0}
.challenge-home{margin:32px 0}.challenge-home>.section-heading{margin-bottom:20px;padding-bottom:14px;border-bottom:1px solid #9d7d4055}.challenge-home h2#home-challenge-title{font-size:28px;color:#f4dfac}.challenge-home-action{display:flex;justify-content:flex-end;margin-top:18px}.challenge-home .cx-web-grid{margin-bottom:0}@media(max-width:700px){.challenge-home-action{justify-content:stretch}.challenge-home-action .button{width:100%;text-align:center}.challenge-home h2#home-challenge-title{font-size:25px}}
