/* Challenges shares Academy's dark sporting panels and electric lime details. */
.phone #community-screen{background:radial-gradient(ellipse at 95% 0,#23331a44,transparent 500px),#0a100d;--arena-blue:#b9ff21;--arena-coral:#b9ff21;--arena-violet:#c9b5ef;--arena-gold:#f0c278}
#community-screen .challenges-heading{position:relative;display:block;min-height:115px;margin:0;padding:12px 0 18px}
#community-screen .challenges-heading>div:first-child{padding:0;min-width:0;container-type:normal}
#community-screen .challenges-heading>div:first-child:before,#community-screen .challenges-heading>div:first-child:after{display:none}
#community-screen #community-title{display:flex;flex-direction:column;align-items:center;gap:8px;width:100%;text-align:center}
#community-screen .challenge-brand-label{display:block;height:30px;line-height:1}
#community-screen .challenge-brand-logo{display:block;width:160px;height:30px;margin:0;mix-blend-mode:normal}
#community-screen .challenge-wordmark{display:block;width:auto;max-width:100%;margin:0;padding:0;background:none;-webkit-text-fill-color:#b9ff21;color:#b9ff21;font:italic 850 32px/1.05 'Barlow Condensed',Inter,sans-serif;letter-spacing:.09em;text-transform:uppercase;white-space:normal}
#community-screen .challenges-heading>.notification-logo-row{position:absolute;right:0;top:0;min-width:0;width:auto;gap:5px;margin:0}
#community-screen :is(#challengesInfo,#notificationBell){box-sizing:border-box;width:34px;min-width:34px;min-height:34px;height:34px;padding:8px;border:1px solid #b9ff212b;border-radius:9px;background:#b9ff2105;color:#b9ff21}
#community-screen :is(#challengesInfo,#notificationBell) svg{width:18px;height:18px}
#community-screen #notificationCount{background:#b9ff21;color:#10160b;box-shadow:0 0 0 2px #0a100d}
#community-screen .challenge-tagline{margin:0 0 23px;padding:0 0 20px;border-bottom:1px solid #ffffff13;text-align:center;color:#e6eee0;font:650 9px/1.5 Inter,sans-serif;letter-spacing:.15em}
#community-screen .challenge-tagline em{color:#b9ff21}
#community-screen :is(.mini-games h3,.community-challenges-heading h3){margin:0 0 6px;color:#f3f7ed;font:italic 800 27px/1.1 'Barlow Condensed',Inter,sans-serif;letter-spacing:.02em;text-transform:uppercase}
#community-screen .section-heading-mark{color:#b9ff21;font-family:Arial,sans-serif;font-size:19px}
#community-screen :is(.mini-games>p,.community-challenges-heading>p){font-size:11px;line-height:1.5;color:#a0b299;margin:0 0 15px}
#community-screen .mini-games{margin:0 0 22px;padding:0 0 22px;border-bottom:1px solid #ffffff13}
#community-screen .mini-games-grid{display:flex;flex-direction:column;flex-wrap:nowrap;width:100%;gap:12px;padding:0;overflow:visible;scroll-snap-type:none;max-width:100%}
#community-screen .mini-games-grid>.mini-game-launch,#community-screen .mini-games-grid>#clashLaunch{position:relative;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;flex:0 0 auto;isolation:isolate;width:100%;height:114px;min-height:114px;padding:20px 70px 20px 18px;gap:7px;border:1px solid #dbe5d344;border-bottom-color:#b9ff2166;border-radius:12px;background:radial-gradient(ellipse at 85% 110%,#47612455,transparent 64%),linear-gradient(110deg,#080e0a,#111d13);box-shadow:none;transform:none;text-align:left}
#community-screen .mini-games-grid>.mini-game-launch:before{display:block;position:absolute;inset:auto 46px 0 auto;width:147px;height:114px;z-index:-1;opacity:.55;background:url('assets/challenges/rally.svg') center/contain no-repeat;pointer-events:none}
#community-screen .mini-games-grid>#smashLaunch:before{background-image:url('assets/challenges/smash.svg')}
#community-screen .mini-games-grid>#clashLaunch:before{background-image:url('assets/challenges/clash.svg')}
#community-screen .mini-games-grid>.mini-game-launch:after,#community-screen .mini-games-grid .mini-game-icon,#community-screen .mini-games-grid>#clashLaunch .clash-brand-icon,#community-screen .mini-games-grid>#clashLaunch .clash-card-art{display:none}
#community-screen .mini-games-grid .mini-game-launch .mini-game-name{display:block;min-height:0;margin:0;max-width:100%;color:#f2fae9;font:italic 850 29px/1.05 'Barlow Condensed',Inter,sans-serif;letter-spacing:.005em;text-transform:uppercase;text-shadow:0 2px 12px #000a}
#community-screen .mini-games-grid .mini-game-launch>small{min-height:0;max-width:190px;margin:0;color:#b0c1a5;font-size:10px;line-height:1.5;font-weight:400}
#community-screen .mini-games-grid .arcade-play{position:absolute;right:18px;top:50%;transform:translateY(-50%);box-sizing:border-box;display:grid;place-items:center;width:35px;height:35px;min-height:35px;margin:0;padding:0;border:1.5px solid #b9ff21;border-radius:50%;background:#060c0980;color:#b9ff21;font-size:0;line-height:0}
#community-screen .mini-games-grid .arcade-play>span{display:none}
#community-screen .mini-games-grid .arcade-play:before{content:'';width:0;height:0;margin-left:3px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:9px solid #b9ff21}
#community-screen .mini-games-grid>.mini-game-launch:hover{border-color:#b9ff21;transform:none;box-shadow:0 0 16px #b9ff2110}
#community-screen .mini-games-grid>.mini-game-launch:focus-visible{outline:2px solid #b9ff21;outline-offset:3px}
#community-screen .mini-games-swipe-hint{display:none}
#community-screen .community-challenges-heading{margin:0 0 16px}
#community-screen .challenge-filters{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:0 0 16px;padding:4px;border:1px solid #b9ff212b;border-radius:10px;background:#070d09}
#community-screen .challenge-filters button{font:650 11px/1.5 Inter,sans-serif;border-radius:7px;min-height:42px;color:#a2b199;background:transparent}
#community-screen .challenge-filters button[aria-pressed=true]{background:#b9ff21;color:#101909;box-shadow:none}
#community-screen :is(#weeklyCourt,#weeklyFive,#spotBall){background:linear-gradient(110deg,#0c130e,#101a13);border:1px solid var(--challenge-border);border-radius:12px}
#community-screen #weeklyCourt{--challenge-accent:#86dcff;--challenge-border:#86dcff44;--challenge-surface:#172a2c}
#community-screen #weeklyFive{--challenge-accent:#cfb5f5;--challenge-border:#cfb5f544;--challenge-surface:#25202e}
#community-screen #spotBall{--challenge-accent:#f0bf79;--challenge-border:#f0bf7944;--challenge-surface:#2c251b}
#community-screen .challenge-disclosure-toggle{min-height:98px;padding:17px 0}
#community-screen #weeklyCourt>.wc-disclosure>.challenge-disclosure-toggle{min-height:98px;padding:17px 0}
#community-screen .challenge-disclosure-toggle h3,#community-screen #weeklyCourt .wc-disclosure-heading h3{color:#f3f8ed;font:italic 800 26px/1.05 'Barlow Condensed',Inter,sans-serif;letter-spacing:.015em;text-transform:uppercase}
#community-screen .challenge-title-icon{border:1px solid color-mix(in srgb,var(--challenge-accent) 30%,transparent);box-shadow:none;background:var(--challenge-surface);color:var(--challenge-accent);border-radius:10px}
#community-screen .challenge-disclosure-chevron{border-color:#b9ff21}
#community-screen .challenge-disclosure-body{border-top-color:#ffffff12}
#community-screen #challengeGuestJoin{margin:0 0 22px;padding:19px;border:1px solid #b9ff2138;border-radius:12px;background:linear-gradient(120deg,#172411,#0c140f);color:#e9f4de}
#community-screen #challengeGuestJoin>small{color:#b9ff21;font-size:8px}
#community-screen #challengeGuestJoin h3{margin:12px 0 10px;color:#edf6e2;font:italic 800 30px/1.05 'Barlow Condensed',Inter,sans-serif;text-transform:uppercase;letter-spacing:.015em}
#community-screen #challengeGuestJoin>p{margin-bottom:14px;font-size:12px;line-height:1.6;color:#adbd9f}
#community-screen #challengeJoinAccount{background:#b9ff21;color:#101909;font-size:12px;min-height:44px;border-radius:8px}
#community-screen #challengeJoinSignIn{color:#b2c7a4;font-size:11px}
#community-screen .challenge-idea{border-top-color:#ffffff18}
#community-screen .challenge-idea>button,#community-screen .challenge-idea>button span{color:#b9ff21}
#community-screen :is(#weeklyFiveStart:not(:disabled),#spotEnter){background:#b9ff21;color:#101909}
@media(max-width:380px){#community-screen .challenge-brand-logo{width:140px;height:27px}#community-screen .challenge-brand-label{height:27px}#community-screen .challenge-wordmark{font-size:29px}#community-screen .challenges-heading>.notification-logo-row{gap:3px}#community-screen :is(#challengesInfo,#notificationBell){width:30px;min-width:30px;height:30px;min-height:30px;padding:6px}#community-screen .mini-games-grid .mini-game-launch .mini-game-name{font-size:26px}#community-screen .challenge-disclosure-toggle h3,#community-screen #weeklyCourt .wc-disclosure-heading h3{font-size:24px}}
@media(prefers-reduced-motion:reduce){#community-screen .mini-game-launch{transition:none}}
/* Override the old horizontal rail's per-card width and colour rules. */
#community-screen .mini-games-grid>:is(#rallyLaunch,#smashLaunch,#clashLaunch){width:100%;max-width:none;min-width:0;flex:0 0 auto;height:114px;min-height:114px;padding:20px 70px 20px 18px;background:radial-gradient(ellipse at 85% 110%,#47612455,transparent 64%),linear-gradient(110deg,#080e0a,#111d13);border-color:#dbe5d344;border-bottom-color:#b9ff2166}
#community-screen .mini-games-grid>:is(#rallyLaunch,#smashLaunch,#clashLaunch) .mini-game-icon{display:none}
#community-screen .mini-games-grid>#rallyLaunch:before{background-image:url('assets/challenges/rally.svg')}
#community-screen .mini-games-grid>#smashLaunch:before{background-image:url('assets/challenges/smash.svg')}
#community-screen .mini-games-grid>#clashLaunch:before{background-image:url('assets/challenges/clash.svg')}
#community-screen .mini-games-grid>:is(#rallyLaunch,#smashLaunch,#clashLaunch):before{display:block;inset:auto 46px 0 auto;width:147px;height:114px;opacity:.55}
#community-screen .challenge-filters button[data-challenge-filter][aria-pressed=true]{background:#b9ff21;color:#101909;box-shadow:none}
.phone .screen#community-screen{background:radial-gradient(ellipse at 95% 0,#23331a44,transparent 500px),#0a100d}
/* Restore the compact, swipeable game cards with the current dark/lime palette. */
#community-screen .mini-games-grid{display:flex;flex-direction:row;flex-wrap:nowrap;gap:9px;width:100%;max-width:100%;padding:3px 2px 12px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-inline:2px;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#b9ff2180 transparent}
#community-screen .mini-games-grid>:is(#rallyLaunch,#smashLaunch,#clashLaunch){flex:0 0 calc((100% - 18px)/2.5);width:calc((100% - 18px)/2.5);max-width:180px;height:180px;min-height:180px;padding:12px 10px 11px;align-items:flex-start;justify-content:flex-end;gap:0;border-radius:15px;scroll-snap-align:start;scroll-snap-stop:normal}
#community-screen .mini-games-grid>:is(#rallyLaunch,#smashLaunch,#clashLaunch):before{inset:6px -10px auto auto;width:105px;height:94px;opacity:.3}
#community-screen .mini-games-grid>:is(#rallyLaunch,#smashLaunch,#clashLaunch) .mini-game-icon,#community-screen .mini-games-grid>#clashLaunch .clash-brand-icon{display:block;position:absolute;top:30px;left:10px;width:38px;min-width:38px;height:38px;margin:0;border-radius:9px;border:1px solid #b9ff212b;background:#080f0b}
#community-screen .mini-games-grid>:is(#rallyLaunch,#smashLaunch,#clashLaunch) .mini-game-icon img{display:block;width:38px;height:38px;object-fit:contain}
#community-screen .mini-games-grid>:is(#rallyLaunch,#smashLaunch,#clashLaunch) .mini-game-name{display:flex;align-items:flex-end;min-height:36px;max-width:100%;margin:0;color:#f1f8ea;font:750 15px/1.2 Inter,Arial,sans-serif;letter-spacing:-.035em;text-transform:none}
#community-screen .mini-games-grid>:is(#rallyLaunch,#smashLaunch,#clashLaunch)>small{max-width:100%;min-height:24px;margin:5px 0 0;font-size:9px;line-height:1.4;color:#afc0a3}
#community-screen .mini-games-grid .arcade-play{position:static;transform:none;display:flex;align-items:center;justify-content:space-between;align-self:stretch;width:100%;height:auto;min-height:27px;margin:7px 0 0;padding:7px 0 0;border:0;border-top:1px solid #b9ff212b;border-radius:0;background:transparent;color:#b9ff21;font:650 10px/1.3 Inter,Arial,sans-serif}
#community-screen .mini-games-grid .arcade-play:before{display:none}
#community-screen .mini-games-grid .arcade-play>span{display:inline;font:15px/1 Arial,sans-serif}
#community-screen .mini-games-swipe-hint{display:block;margin:3px 0 0;text-align:right;color:#a5ba97;font-size:10px;letter-spacing:.04em}
/* Distinct, restrained watermarks beside each game mark. */
#community-screen .mini-games-grid>#smashLaunch:before,#community-screen .mini-games-grid>#clashLaunch:before{display:block;inset:10px -1px auto auto;width:108px;height:90px;opacity:.62;background-size:contain;background-repeat:no-repeat}
