
#tasksPage .np-page-hero-tasks {background:linear-gradient(110deg,#1c303e,#294c50)!important;color:white;border-radius:22px}
#tasksPage .aa-community-heading h2,#aaSurveys .aa-section-heading h2 {font-size:clamp(22px,3vw,30px)!important;letter-spacing:-.035em}
#tasksPage :is(.task-page-card,.aa-community-card,.aa-monthly),#aaSurveys .survey-card {min-width:0;border:1px solid #ddd9ce;border-radius:20px;box-shadow:0 4px 14px #2231430c,0 1px 2px #22314308}
#tasksPage :is(.task-page-card,.aa-community-card),#aaSurveys .survey-card {background:#fffefa}
#tasksPage .task-page-card,#aaSurveys .survey-card,#tasksPage .aa-community-copy {padding:clamp(16px,2.4vw,26px)}
#tasksPage .task-page-head {gap:12px;align-items:flex-start;flex-wrap:wrap}
#tasksPage .task-page-head>b,#aaSurveys .survey-card h3 {color:#203747;line-height:1.23;letter-spacing:-.03em}
#tasksPage .task-page-head>span,#tasksPage .platform-label,#aaSurveys .aa-journey-tag {display:inline-flex;align-items:center;border-radius:8px;padding:5px 10px;font:700 12px/1.45 system-ui;letter-spacing:0;background:#eaf2ef;color:#24574c}
#tasksPage [data-platform="instagram"] .platform-label {background:#f9eaf0;color:#803554}
#tasksPage [data-platform="tiktok"] .platform-label {background:#e5f3f2;color:#225b5a}
#tasksPage .aa-community-copy>p,#aaSurveys .survey-card>p {font-size:14px;line-height:1.55;color:#53616d}
#tasksPage .aa-follow-reward,#aaSurveys .survey-rewards {display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;margin:16px 0;padding:14px 16px;border:1px solid #e9dfcb;border-radius:13px;background:#faf5e9;color:#64491e}
#aaSurveys .survey-rewards>div {display:grid;gap:3px;flex:1 1 120px}
#aaSurveys .survey-rewards span,#aaSurveys .survey-rewards small {font-size:12px;color:#655c4a}
#aaSurveys .survey-rewards strong,#tasksPage .aa-follow-reward>b {font-size:22px;font-weight:750;letter-spacing:-.03em}
#aaSurveys .survey-card h3 {margin:14px 0 8px!important;font-size:clamp(22px,3vw,29px)!important}
#tasksPage .follow-guide,#tasksPage .follow-proof {margin:12px 0;padding:0;border:0}
#tasksPage .follow-guide summary,#tasksPage .follow-proof summary {min-height:44px;padding:12px 0;color:#294954;font-size:14px;cursor:pointer}
#tasksPage .follow-proof {border-top:1px solid #e5e4da}
#tasksPage .aa-community-label {color:#3a4d58;font-size:13px}
#tasksPage .aa-community input:not([type=checkbox]) {font-size:16px;max-width:100%}
#tasksPage .aa-community-copy .aa-community-fine {font-size:12px;line-height:1.55;color:#625f56}
#tasksPage .aa-submission-status,#aaSurveys .aa-survey-outcome {padding:14px;border-radius:12px;background:#eef3ef;color:#284e43}
#tasksPage :is(.aa-community-button,[data-task-claim]),#aaSurveys [data-survey-start] {min-height:44px;max-width:100%;border-radius:12px;background:#233e4c;color:white;border:0;padding:11px 17px;font-weight:700;white-space:normal}
#tasksPage .aa-community a.aa-follow-link {display:inline-flex;align-items:center;background:#edf2f3;color:#294954;text-decoration:none}
#tasksPage [data-task-claim]:disabled {background:#efefeb;color:#5b6366}
#aaSurveys .aa-journey-grid {grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr))}
#aaSurveys .aa-survey-history summary {min-height:44px;cursor:pointer}
@media(max-width:720px) {
 #tasksPage :is(.aa-community-grid,.task-page-grid),#aaSurveys .aa-journey-grid {grid-template-columns:minmax(0,1fr);gap:14px}
 #tasksPage .aa-community-prizes,#tasksPage .aa-social-tiers {grid-template-columns:repeat(auto-fit,minmax(min(100%,88px),1fr))}
 #aaSurveys [data-survey-start],#tasksPage .follow-card .aa-community-button {width:100%;justify-content:center}
}

/* The catalog header holds the shared allowance. Filters sit directly above the games. */
html body #gamesPage .catalog-top {position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:15px;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at top right,#386967,#213e49 55%,#1e3141)!important;border:0!important;border-radius:22px!important;padding:22px!important;color:#fff}
html body #gamesPage .catalog-top h1 {font-size:clamp(26px,4vw,38px)!important;letter-spacing:-.035em;margin:0 45px 4px 0;line-height:1.15}
html body #gamesPage .catalog-top p {font-size:14px!important;line-height:1.45;color:#e2ece9!important;margin:0;max-width:85%}
html body #gamesPage .catalog-close {position:absolute;right:12px;top:12px;min-width:40px;min-height:40px;border:1px solid #ffffff38!important;background:#ffffff12!important}
html body #gamesPage .catalog-summary {display:flex!important;flex-wrap:wrap;gap:8px;padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
html body #gamesPage .catalog-summary>div:not(.raffle-only) {display:flex;flex-direction:row-reverse;align-items:baseline;gap:6px;padding:5px 10px!important;min-width:0;min-height:0;border-radius:8px;border:1px solid #ffffff38!important;background:#ffffff12!important;box-shadow:none!important}
html body #gamesPage .catalog-summary span {font-size:12px;color:#e2ece9!important}
html body #gamesPage .catalog-summary b {font-size:17px;color:#fff!important}
html body #gamesPage .catalog-toolbar {margin:14px 0 0!important;padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important;display:grid;gap:10px;grid-template-columns:1fr}
html body #gamesPage .catalog-search {display:flex;align-items:center;gap:9px;padding:0 13px;border:1px solid #d4dcd9;background:white;color:#58716c;border-radius:12px}
html body #gamesPage .catalog-search input {font-size:16px;min-height:44px;min-width:0;flex:1;padding:8px 0;background:transparent;border:0}
html body #gamesPage .catalog-filters {display:flex;gap:5px;overflow-x:auto;padding:2px;scrollbar-width:thin;background:transparent}
html body #gamesPage .catalog-filters button {flex:0 0 auto;min-height:40px;border-radius:9px!important;border:1px solid #dedfd8;background:#fffefa;color:#40565c;padding:6px 12px;font-size:13px}
html body #gamesPage .catalog-filters button.active {background:#244c4d!important;color:#fff!important;border-color:#244c4d}
#gamesPage #npStudioTools {position:relative;display:flex;align-items:center;justify-content:flex-start;gap:6px;margin:9px 0 15px;padding:0;background:transparent}
#gamesPage #npStudioTools>.np-chip,#gamesPage .catalog-options summary {min-height:40px;display:inline-flex;align-items:center;gap:4px;padding:6px 10px;border:1px solid #d9dfda;border-radius:10px;background:#fffefa;color:#334c4f;font:650 13px/1.25 system-ui;cursor:pointer}
#gamesPage #npStudioTools>.np-chip[aria-pressed=true] {background:#dceee7;border-color:#72998e}
#gamesPage .catalog-options {margin-left:auto;position:relative}
#gamesPage .catalog-options summary::after {content:'⌄'}
#gamesPage .catalog-options-panel {position:absolute;right:0;top:100%;z-index:5;display:grid;gap:6px;min-width:170px;padding:10px;background:#fffefa;border:1px solid #d4dbd6;box-shadow:0 8px 22px #26343d24;border-radius:12px}
#gamesPage .catalog-options-panel .np-tool-spacer {display:none}
html body #gamesPage .catalog-game-card {border-radius:17px!important;overflow:hidden;border:1px solid #dedfd7!important;box-shadow:0 3px 12px #2336420d!important;background:#fffefa!important}
html body #gamesPage .catalog-game-body {padding:clamp(11px,2vw,18px)}
html body #gamesPage .catalog-game-body h3 {font-size:clamp(16px,2vw,20px);letter-spacing:-.025em;line-height:1.25;color:#233e4c}
html body #gamesPage .catalog-game-play {border-radius:10px!important;min-height:42px;background:#24494c!important;color:white!important}
@media(max-width:720px){
 html body.aa-member #gamesPage .catalog-shell {margin:0 auto!important;padding:0!important;width:100%!important;min-width:0}
 html body #gamesPage .catalog-top {padding:16px!important;gap:9px}
 html body #gamesPage .games-catalog-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 html body #gamesPage .catalog-filters button {padding:6px 9px}
}

#surveysPage {background:#f6f3ed;box-sizing:border-box;overflow:auto;overscroll-behavior:contain}
#surveysPage .np-page-shell {width:min(100%,1080px);margin:0 auto;min-width:0}
.survey-page-header {display:flex;align-items:center;justify-content:space-between;gap:14px;padding:clamp(16px,3vw,28px);background:linear-gradient(115deg,#203747,#2d5c58);border-radius:20px;color:white}
.survey-page-header h1 {font:750 clamp(26px,4vw,40px)/1.15 system-ui;margin:0;letter-spacing:-.04em}
.survey-page-header button {width:44px;height:44px;border:1px solid #ffffff40;border-radius:12px;background:#ffffff14;color:white;font-size:24px;cursor:pointer}
#surveysPage #aaSurveys {border:0;background:transparent;box-shadow:none;padding:0;margin:20px 0}
#surveysPage .aa-section-heading h2 {font-size:18px!important}
#surveysPage .aa-section-heading {gap:10px;flex-wrap:wrap}
#surveysPage .aa-section-heading .aa-status {font-size:12px;color:#36574e;background:#e2ede7}
@media(max-width:900px){
 html body.aa-member #surveysPage {position:fixed!important;inset:0!important;width:100%!important;height:100dvh!important;max-width:100vw;overflow:auto;padding:16px 12px calc(98px + env(safe-area-inset-bottom))!important}
 #surveysPage .arena-page-menu {display:block;margin:0 0 10px auto}
 #surveysPage .np-page-shell {padding:0!important}
}

@media(max-width:720px){
 html body #tasksPage #tasksPageSummary {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px;margin:12px 0}
 html body #tasksPage #tasksPageSummary>div {min-height:0!important;padding:10px!important;border-radius:12px}
 html body #tasksPage .aa-community-heading {padding:4px 0 8px}
 html body #tasksPage .aa-community {margin:12px 0 18px}
 html body #tasksPage .np-page-hero-tasks {padding:17px!important}
 html body #surveysPage.np-page {background:#f6f3ed!important}
}

/* Member cards: cream paper, pale gold category strip and navy action. */
:is(#tasksPage,#surveysPage) .member-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 20px}
.member-counts>div{display:grid;justify-items:center;align-content:center;gap:2px;min-height:66px;border:1px solid #e3daca;border-radius:13px;background:#fffdf8}
.member-counts>div:first-child{background:#f7eedc;border-color:#dbc7a3}
.member-counts strong{color:#23374a;font:730 24px/1.15 system-ui}
.member-counts span{color:#625d53;font:500 12px/1.3 system-ui;text-align:center}
:is(#tasksPage,#surveysPage) .member-list-title{display:flex;align-items:center;gap:12px;margin:16px 0 12px!important;color:#253849!important;font:700 17px/1.25 system-ui!important}
.member-list-title:after{content:"";height:1px;background:#ded7c9;flex:1}
.member-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,295px),1fr));align-items:start;gap:12px}
#tasksPage #aaFollowTasks .member-card,#surveysPage #aaSurveys .member-card{background:#fffdf9;border:1px solid #e6decf;border-radius:17px;padding:16px;box-shadow:0 3px 10px #34271108;min-width:0}
.member-category{display:flex;align-items:center;gap:7px;padding:6px 9px;border-radius:7px;background:linear-gradient(95deg,#f4e7d0,#faf4e9);color:#70552e;font:700 12px/1.4 system-ui}
.member-category svg{width:16px;height:16px}
#tasksPage .member-card h3,#surveysPage #aaSurveys .member-card h3{margin:12px 0 16px!important;color:#223549!important;font:700 clamp(19px,2.4vw,23px)/1.2 system-ui!important;letter-spacing:-.035em}
.member-card-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.member-card-foot>div>strong{color:#223549;font:740 22px/1.15 system-ui;white-space:nowrap}
.member-card-foot strong small{color:#816136;font:700 12px system-ui}
.member-card-foot>div>span{display:block;margin-top:3px;color:#716959;font:500 12px/1.4 system-ui}
#tasksPage .member-action,#surveysPage #aaSurveys [data-survey-start]{min-height:44px;min-width:78px;width:auto;border-radius:10px!important;padding:9px 16px;background:#23374a!important;color:#fffaf2!important;font-weight:700}
#surveysPage .survey-action{display:flex;align-items:center;flex-wrap:wrap;gap:5px}
.member-detail[hidden],#tasksPageSummary[hidden]{display:none!important}
.member-detail{margin-top:16px;border-top:1px solid #e4dccd;padding-top:12px}
#surveysPage .survey-terms{margin-top:12px;border-top:1px solid #eae4d9;padding-top:6px;color:#655e53;font-size:13px}
#surveysPage .survey-terms summary{cursor:pointer;padding:7px 0}
#tasksPage .np-page-hero-tasks,#surveysPage .survey-page-header{background:transparent!important;color:#223549!important;box-shadow:none!important;border:0!important;padding:4px 0 10px!important}
#tasksPage .np-page-hero-tasks:after,#tasksPage .np-page-hero-tasks:before{display:none}
#tasksPage .np-page-hero-tasks h1,#surveysPage .survey-page-header h1{color:#223549!important;font:750 30px/1.15 system-ui!important;letter-spacing:-1px!important;margin:0!important}
#tasksPage .np-page-hero-tasks button,#surveysPage .survey-page-header button{color:#344453!important;background:#f5eddf!important;border:1px solid #e2d7c4!important}
