/* R7 user feedback, scoped to the matching screens. */
.r7-onboarding .bottom-nav[hidden]{display:none!important}
.r7-onboarding main{padding-bottom:24px}
.r7-onboarding [data-home-link]:disabled{opacity:1;cursor:default}
.setup-wizard{padding-bottom:18px}
.setup-wizard fieldset{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0;padding:14px 0 0;border:0;min-width:0}
.setup-wizard fieldset>legend{padding:0;margin-bottom:10px}
.setup-wizard fieldset>.preference-choice,.setup-wizard .preference-options>.preference-choice{margin:0;min-height:44px}
.setup-wizard .preference-grid,.setup-wizard .preference-options{gap:10px}
.setup-wizard .preference-choice{min-height:44px;margin:0}
.setup-wizard .preference-options{display:flex;flex-wrap:wrap}
.setup-wizard .setup-bottom{gap:12px;margin-top:22px}
.setup-wizard .setup-bottom>.action{min-width:0;min-height:48px}
.setup-wizard header{gap:12px}
.vc18-filters>.app-filter-panel,.vc18-filters>.vc18-advanced,.first-update-conditions{border:1px solid var(--line);border-radius:14px;padding:0;background:#fefdfb}
.vc18-filters>.app-filter-panel>summary,.vc18-filters>details>summary,.first-update-conditions>summary{display:grid;grid-template-columns:minmax(0,1fr) 22px;align-items:center;gap:10px;min-height:56px;padding:12px 14px;margin:0;line-height:1.4;font-size:17px;font-weight:800;text-align:center}
.first-update-conditions>summary h3{font-size:17px;line-height:1.4}
.first-update-conditions[open]>summary{margin:0}
.first-update-conditions>summary~*{margin:10px 14px}
.first-update-conditions>summary>svg{justify-self:end}
.detail .detail-section{padding:12px;margin-top:10px;margin-bottom:0}
.detail .detail-disclosure{padding:0}
.detail .detail-disclosure>summary{min-height:48px;padding:10px 12px}
.detail .detail-disclosure>.disclosure-content{padding:0 12px 12px;margin:0}
.detail .detail-section>h2{margin-bottom:10px}
.detail .detail-section>summary>h2{margin:0}
.detail .detail-section .vc14-recruitment-summary{margin:0}
.detail .vc14-recruitment-summary>div{padding-block:8px}
.detail .detail-section p+p{margin-top:8px}
.detail .display-fee-box .detail-disclosure{margin-top:10px}
.detail .detail-section li+li{margin-top:6px}
.detail .detail-section h3.display-reward-kind{margin:0 0 8px;font-size:inherit}
.detail .r7-prize-groups>div+div{margin-top:12px}
.detail .detail-section p,.detail .detail-section li,.detail .vc14-recruitment-summary dd{word-break:keep-all;overflow-wrap:anywhere}
/* Original #12: sufficient specificity, no clipping/truncation in list. */
.results-cards[data-layout=list] .v64-card-foot .v64-prize,.results-cards[data-layout=list] .v64-card-foot .v64-prize .vc15-reward-item{white-space:normal;overflow-wrap:anywhere;word-break:keep-all;max-width:100%;min-width:0;overflow:visible}
.results-cards[data-layout=list] .v64-card-foot{min-width:0}
.results-cards[data-layout=list] .v64-card-foot .v64-prize{overflow:hidden;height:auto;max-height:none;-webkit-line-clamp:unset}
.r7-faq{margin:24px 0}
.r7-faq>h2{text-align:left;font-size:22px;line-height:1.35;margin:4px 0 14px}
.r7-faq-item{border:1px solid var(--line);border-radius:14px;margin:8px 0;background:#fff}
.r7-faq-item>summary{display:grid;grid-template-columns:minmax(0,1fr) 22px;gap:12px;align-items:center;min-height:48px;padding:13px 15px}
.r7-faq-item>summary h3{margin:0;font-size:14px;font-weight:750;line-height:1.4;text-align:left;overflow-wrap:anywhere}
.r7-faq-body{padding:0 15px 13px;line-height:1.45;overflow-wrap:anywhere}
.r7-faq-body .vc15-count-explanation{border:0;padding:0;background:none}
.r7-faq-body .vc15-count-explanation>summary{display:none}
.r7-faq-body .count-explanation-body{margin-top:0}
.r7-faq-body .local-backup-guidance{padding:0;margin:0;border:0;background:none}
.r7-faq-body .panel{padding:0;border:0;background:none}
.r7-faq-body .public-translation-controls{margin:0}
.r7-faq-body .public-translation-heading h2{display:none}
/* Grid contains compact facts independently from list and carousel. */
.results-cards[data-layout=grid]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:stretch}
.results-cards[data-layout=grid]>.v64-card{display:flex;flex-direction:column;gap:4px;min-height:0;height:clamp(168px,25dvh,184px);padding:8px 10px;overflow:hidden}
.results-cards[data-layout=grid] .v64-card .v64-card-head{display:flex;flex-direction:column;align-items:center;gap:2px;min-height:0;grid-template-columns:none}
.results-cards[data-layout=grid] .v64-card .v64-field{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden;min-width:0;max-width:100%;font-size:12px;line-height:1.25;text-align:center;padding:0}
.results-cards[data-layout=grid] .v64-card .radar-card-badges{padding:0;min-height:23px;justify-content:center;gap:4px}
.results-cards[data-layout=grid] .v64-card .radar-card-badges>.v64-dday{font-size:18px;line-height:1.25;min-height:0;padding:0}
.results-cards[data-layout=grid] .v64-card h2{font-size:15px;line-height:1.4;min-height:0;margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;word-break:keep-all;overflow-wrap:anywhere;text-align:center;flex:none}
.results-cards[data-layout=grid] .v64-card-foot{display:flex;flex-direction:column;gap:3px;margin-top:auto;padding-top:4px;min-width:0;font-size:12px;line-height:1.35}
.results-cards[data-layout=grid] .v64-card-foot .v64-date{font-size:12px;line-height:1.35;width:100%;text-align:left;min-width:0}
.results-cards[data-layout=grid] .v64-card-foot .deadline-source-note{display:block;margin-top:1px;font-size:11px;line-height:1.3}
.results-cards[data-layout=grid] .v64-card-foot .v64-prize{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:0;width:100%;min-width:0;font-size:12px;line-height:1.35;text-align:left;white-space:normal;word-break:keep-all;overflow-wrap:anywhere}
.results-cards[data-layout=grid] .v64-prize:after{display:none}
@media(min-width:768px){.results-cards[data-layout=grid]>.v64-card{height:190px}.results-cards[data-layout=grid] .v64-card h2{font-size:17px}}
@media(prefers-reduced-motion:reduce){.results-cards[data-layout=list] .v64-prize:after{animation:none}}
@media(forced-colors:active){.results-cards[data-layout=list] .v64-prize:after{display:none}}

/* Fit non-overlapping content in the three mobile rows. */
.results-cards[data-layout=grid] .v64-card .v64-card-head{flex:none;min-height:36px;gap:1px}
.results-cards[data-layout=grid] .v64-card .v64-field{line-height:1.2;flex:none}
.results-cards[data-layout=grid] .v64-card .radar-card-badges{flex:none;min-height:20px}
.results-cards[data-layout=grid] .v64-card .v64-dday-text{font-size:18px;line-height:1.1}
.results-cards[data-layout=grid] .v64-card h2{font-size:14.5px;line-height:1.3;-webkit-line-clamp:2;max-height:2.6em}
.results-cards[data-layout=grid] .v64-card .v64-card-foot{flex:none;margin-top:auto;gap:2px;padding-top:2px}
.results-cards[data-layout=grid] .v64-card .v64-card-foot .v64-date,.results-cards[data-layout=grid] .v64-card .v64-card-foot .v64-prize{line-height:1.2}
.results-cards[data-layout=grid] .v64-card .v64-card-foot .deadline-source-note{line-height:1.2}

/* FAQ text stays consistent across the nested panels used by each menu. */
.r7-faq-item>summary h3{color:var(--ink);font-size:14px;font-weight:750;line-height:1.4;text-align:left}
.r7-faq-body{color:var(--muted);font-size:13px;line-height:1.45;text-align:left}
.r7-faq-body :is(p,li,dt,dd,small,.small,.vc14-mine-note){color:inherit;font-size:inherit;line-height:inherit;text-align:left}
.r7-faq-body :is(p,ul,ol,dl){margin:0 0 8px}
.r7-faq-body :is(h2,h3){color:var(--ink);font-size:15px;line-height:1.4;text-align:left;margin:0 0 8px}
.r7-faq-body .local-backup-guidance>h3,.r7-faq-body .panel h2{color:var(--ink);font-size:15px;line-height:1.4;text-align:left;margin:0 0 8px}
.r7-faq-body p:last-child{margin-bottom:0}
/* Give list and grid the same existing prize shimmer without changing grid geometry. */
.results-cards[data-layout=grid] .v64-card-foot .v64-prize{--first-update-shine-pass:2820ms;--first-update-shine-wait:120ms;position:relative;isolation:isolate}
.results-cards[data-layout=grid] .v64-card-foot .v64-prize>*{position:relative;z-index:1}
.results-cards[data-layout=grid] .v64-card-foot .v64-prize:after{content:"";display:block;position:absolute;z-index:0;inset:-50% auto -50% -65%;width:48%;background:linear-gradient(100deg,transparent,rgba(232,205,139,.24),transparent);transform:skewX(-18deg);animation:first-update-prize-shine calc(var(--first-update-shine-pass) + var(--first-update-shine-wait)) ease-in-out infinite;pointer-events:none}
@media(prefers-reduced-motion:reduce){.results-cards[data-layout=grid] .v64-card-foot .v64-prize:after{display:none;animation:none!important}}
@media(forced-colors:active){.results-cards[data-layout=grid] .v64-card-foot .v64-prize:after{display:none;animation:none!important}}

.v64-organizer-country{display:block;color:var(--muted);font-size:10px;line-height:1.25;margin:0 0 4px;text-align:left;overflow-wrap:anywhere}
.results-cards[data-layout=grid] .v64-organizer-country{font-size:9px;line-height:1.1;margin:0;text-align:center}

/* Center the external card summary consistently in list and grid layouts. */
.results-cards[data-layout=list] .v64-card .v64-card-head{flex-direction:column;justify-content:center;align-items:center;gap:2px;text-align:center}
.results-cards[data-layout=list] .v64-card .v64-field{max-width:100%;text-align:center}
.results-cards[data-layout=list] .v64-card .radar-card-badges{justify-content:center}
.results-cards[data-layout=list] .v64-card h2{text-align:center}
.results-cards[data-layout=list] .v64-card .v64-card-foot{display:flex;flex-direction:column;align-items:center;text-align:center}
.results-cards[data-layout=list] .v64-card-foot .v64-date,.results-cards[data-layout=list] .v64-card-foot .v64-prize{width:100%;text-align:center}
.v64-organizer-country{text-align:center}
.results-cards[data-layout=grid] .v64-card-foot .v64-date,.results-cards[data-layout=grid] .v64-card-foot .v64-prize{text-align:center}

/* Follow-up: normalize nested FAQ typography and spacing across every section. */
.r7-faq-body,.r7-faq-body :where(p,li,dt,dd,small,.small,h2,h3,strong,em){font-family:inherit;font-size:13px;font-weight:400;color:var(--muted);line-height:1.5;text-align:left;}
.r7-faq-body :where(h2,h3,strong){font-weight:700;color:var(--ink);}
.r7-faq-body :where(p,ul,ol,dl){margin:0 0 8px;padding-top:0;padding-bottom:0;}
.r7-faq-body :where(ul,ol){padding-left:22px;}
.r7-faq-body :where(li){margin:0 0 5px;padding:0;}
.r7-faq-body :where(h2,h3){margin:10px 0 6px;padding:0;font-size:14px;line-height:1.4;}
.r7-faq-body :where(p:last-child,ul:last-child,ol:last-child,dl:last-child){margin-bottom:0;}
.r7-faq-body :where(.vc15-count-explanation,.local-backup-guidance,.panel,.count-explanation-body){margin:0;padding:0;border:0;background:transparent;box-shadow:none;}
.results-cards[data-layout=list] .v64-card-foot>.v64-prize,.results-cards[data-layout=grid] .v64-card-foot>.v64-prize,.v64-slide-card .v64-card-foot>.v64-prize{position:relative;isolation:isolate;display:block;overflow:hidden;border-radius:10px;padding:7px 9px;background:#fcf6e5;color:#62480f;font-weight:750;line-height:1.3;}
.results-cards[data-layout=list] .v64-card-foot .v64-prize:after,.results-cards[data-layout=grid] .v64-card-foot .v64-prize:after,.v64-slide-card .v64-card-foot>.v64-prize:after{content:"";position:absolute;z-index:0;inset:-50% auto -50% -65%;width:52%;background:linear-gradient(100deg,transparent,rgba(198,145,35,.58),rgba(255,245,208,.92),rgba(198,145,35,.58),transparent);transform:skewX(-18deg);animation:first-update-prize-shine 1500ms ease-in-out infinite;pointer-events:none;}
.results-cards[data-layout=grid] .v64-card-foot>.v64-prize{display:block;-webkit-line-clamp:unset;overflow:hidden;}
.results-cards[data-layout=grid]>.vc14-mine-card{height:auto;min-height:176px;overflow:visible;}
.vc14-mine-card .vc14-state-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;}
.vc14-mine-card .vc14-state-row>*{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.25;}
.vc14-mine-card .vc14-state-row>*:last-child:nth-child(odd){grid-column:1/-1;}
.v64-organizer-country{display:block;max-width:100%;overflow-wrap:anywhere;line-height:1.25;}
@media(max-width:359px){.results-cards[data-layout=grid]{gap:6px;}.results-cards[data-layout=grid]>.v64-card{padding:8px;}.vc14-mine-card .vc14-state-row{gap:4px;}.vc14-mine-card .vc14-state-row>*{padding-inline:5px;font-size:11px;}.setup-first-actions{grid-template-columns:1fr;}}
.setup-first-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
.setup-first-actions>*{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.25;}
.r7-faq-body :is(p,li,dt,dd,small,.small,.vc14-mine-note){font-family:inherit!important;font-size:13px!important;font-weight:400!important;color:var(--muted)!important;line-height:1.5!important;margin-top:0!important;padding-top:0!important;padding-bottom:0!important;}
.r7-faq-body :is(h2,h3){font-family:inherit!important;font-size:14px!important;font-weight:700!important;color:var(--ink)!important;line-height:1.4!important;margin:10px 0 6px!important;padding:0!important;}
.r7-faq-body :is(p,ul,ol,dl){margin-bottom:8px!important;}
.r7-faq-body :is(p,ul,ol,dl):last-child{margin-bottom:0!important;}
@media(prefers-reduced-motion:reduce){.results-cards[data-layout=list] .v64-prize:after,.results-cards[data-layout=grid] .v64-prize:after,.v64-slide-card .v64-card-foot>.v64-prize:after{display:none!important;animation:none!important;}}
@media(forced-colors:active){.results-cards[data-layout=list] .v64-prize:after,.results-cards[data-layout=grid] .v64-prize:after,.v64-slide-card .v64-card-foot>.v64-prize:after{display:none!important;animation:none!important;}.results-cards .v64-prize,.v64-slide-card .v64-prize{border:1px solid currentColor;background:Canvas;color:CanvasText;}}
/* Match the existing list/grid selector specificity and shorten the prize sweep. */


/* Keep the animated sweep and text inside the rounded prize badge in both layouts. */
.results-cards[data-layout=list] .v64-card-foot>.v64-prize,.results-cards[data-layout=grid] .v64-card-foot>.v64-prize,.v64-slide-card .v64-card-foot>.v64-prize{overflow:hidden;isolation:isolate;}
.results-cards[data-layout=list] .v64-card-foot>.v64-prize>.vc15-reward-item,.results-cards[data-layout=grid] .v64-card-foot>.v64-prize>.vc15-reward-item,.v64-slide-card .v64-card-foot>.v64-prize>.vc15-reward-item{position:relative;z-index:1;}
.results-cards[data-layout=list] .v64-card-foot>.v64-prize:after,.results-cards[data-layout=grid] .v64-card-foot>.v64-prize:after,.v64-slide-card .v64-card-foot>.v64-prize:after{inset:0 auto 0 -65%;}

/* Pause the same recommendation prize sweep when its card/page is hidden. */
.v64-slide-card[data-effect-visible=false] .v64-prize:after,html[data-radar-hidden=true] .v64-slide-card .v64-prize:after{animation-play-state:paused}

/* Real-device follow-up: navigation labels retain intrinsic width at larger text sizes.
   The counter wraps below controls instead of squeezing controls outside the card. */
.v64-slide .v64-slide-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px;min-width:0}
.v64-slide .v64-slide-footer .v64-carousel-access{position:static;inset:auto;flex:1 1 auto;min-width:min-content;max-width:100%;justify-content:center;flex-wrap:wrap}
.v64-slide .v64-slide-footer .v64-carousel-access button{height:auto;min-height:max(32px,2.4em);width:max-content;max-width:100%;flex:0 0 auto;white-space:nowrap}
.v64-slide .v64-slide-footer .v64-carousel-counter{position:static;flex:0 0 auto;min-height:32px;height:auto;margin:0;padding:0;max-width:100%}

.results-cards[data-layout=grid] .card.v64-card{height:auto;min-height:184px}
.results-cards[data-layout=grid] .card.v64-card .v64-card-foot{margin-top:auto;min-height:62px}

.results-cards[data-layout=grid] .v64-card h2{display:block;-webkit-line-clamp:unset;max-height:none;overflow:visible}
.results-cards[data-layout=grid] .v64-card-foot .v64-prize{display:block;-webkit-line-clamp:unset;overflow:visible}

.v64-prize{position:relative!important;overflow:hidden!important;display:inline-block!important}

.semantic-subsection h3{text-align:center}

.v64-card .v64-dday[data-deadline-state]:not([data-motion-eligible=true]) .v64-dday-text{color:var(--ink)}
.v64-card .v64-dday[data-deadline-state=closed]:not([data-motion-eligible=true]) .v64-dday-text{color:var(--muted)}
.results-cards[data-layout=grid] .v64-card .v64-card-head{min-height:64px}
/* Onboarding chip alignment only. */
.setup-wizard header{justify-content:flex-end}
.setup-wizard .preference-grid,.setup-wizard .preference-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.setup-wizard .preference-grid .preference-choice,.setup-wizard .preference-options .preference-choice{min-width:0;white-space:normal;overflow-wrap:anywhere}

/* Header logo pulse */
@keyframes radar-pulse{0%,100%{box-shadow:0 0 0 0 rgba(0,196,215,.42)}50%{box-shadow:0 0 0 7px rgba(0,196,215,0)}}
.brand img{border-radius:9px;animation:radar-pulse 2.8s ease-in-out infinite}
@media (prefers-reduced-motion:reduce){.brand img{animation:none}}
