/* V53: explicit quote rows, readable content and the existing mood artwork. */
html:root body #dailyQuote{display:grid!important;grid-template-rows:auto auto!important;gap:9px!important;height:auto!important;min-height:185px!important;align-self:start!important;align-content:start!important;background:rgba(246,250,255,.9)!important;}
html:root body #dailyQuote .quote-feature-heading{display:grid!important;grid-template-columns:22px minmax(0,1fr);gap:2px 8px!important;margin:0 3px!important;align-items:center!important;}
html:root body #dailyQuote .quote-feature-icon{grid-row:1/3;align-self:start;}
html:root body #dailyQuote .quote-feature-label{font-size:18px!important;line-height:1.25!important;color:#193658!important;}
html:root body #dailyQuote .quote-heading-caption{grid-column:2;font-size:12px!important;line-height:1.5!important;white-space:normal!important;color:#6682a2!important;}
html:root body #dailyQuote .quote-scene{display:flex!important;flex-direction:column!important;gap:10px!important;height:auto!important;min-height:118px!important;width:100%!important;max-width:none!important;padding:12px!important;background-size:cover!important;background-position:center!important;border-color:rgba(91,134,207,.18)!important;}
html:root body #dailyQuote .quote-scene::before{background:linear-gradient(90deg,rgba(246,250,255,.94),rgba(246,250,255,.87) 58%,rgba(246,250,255,.25))!important;}
html:root body #dailyQuote .quote-daily-line{display:block!important;flex:0 0 auto!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;height:auto!important;max-height:none!important;overflow:visible!important;}
html:root body #dailyQuote .quote-daily-text{display:block!important;font-family:system-ui,-apple-system,'PingFang SC','Microsoft YaHei',sans-serif!important;font-size:16px!important;line-height:1.55!important;letter-spacing:.2px!important;color:#233f64!important;-webkit-text-fill-color:currentColor!important;background:none!important;white-space:normal!important;overflow-wrap:anywhere;}
html:root body #dailyQuote .quote-note-card{margin-top:auto!important;flex:0 0 auto;max-width:none!important;background:rgba(255,255,255,.78)!important;border-color:rgba(97,140,211,.16)!important;}
html:root body #dailyQuote .quote-note-label{color:#326bc3!important;background:rgba(71,128,224,.1)!important;}
html:root:not(.light-theme) body #dailyQuote{background:rgba(12,28,47,.92)!important;}
html:root:not(.light-theme) body #dailyQuote .quote-feature-label{color:#e1edff!important;}
html:root:not(.light-theme) body #dailyQuote .quote-heading-caption{color:#a8bcdb!important;}
html:root:not(.light-theme) body #dailyQuote .quote-scene::before{background:linear-gradient(90deg,rgba(14,27,49,.96),rgba(14,27,49,.87) 58%,rgba(14,27,49,.48))!important;}
html:root:not(.light-theme) body #dailyQuote .quote-daily-text{color:#e4edfc!important;}
html:root:not(.light-theme) body #dailyQuote .quote-note-card{background:rgba(26,46,76,.85)!important;}
html:root:not(.light-theme) body #dailyQuote .quote-note-label{color:#a7c9ff!important;}
@media(max-width:767px){html:root body #dailyQuote .quote-scene{min-height:144px!important;}html:root body #dailyQuote .quote-daily-text{font-size:16px!important;}}

/* Mobile festival date occupies its own row above the navigation target. */
@media(max-width:767px){
 html:root body .page-wrapper .kuyu20-hero-frame [data-kuyu20-festival].holiday-countdown-real{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto auto!important;gap:8px 10px!important;}
 html:root body .page-wrapper .kuyu20-hero-frame [data-kuyu20-festival] .hc-header{grid-column:1!important;grid-row:1/3!important;min-width:0!important;padding-right:0!important;align-self:start!important;}
 html:root body .page-wrapper .kuyu20-hero-frame [data-kuyu20-festival] .hc-detail{grid-column:2!important;grid-row:1!important;display:flex!important;flex-direction:column!important;align-items:flex-end!important;justify-content:start!important;gap:3px!important;padding:0!important;margin:0!important;max-width:140px;}
 html:root body .page-wrapper .kuyu20-hero-frame [data-kuyu20-festival] .hc-detail>span{white-space:normal!important;justify-content:flex-end!important;}
 html:root body .page-wrapper .kuyu20-hero-frame [data-kuyu20-festival] #kuyu20FestivalDetails{position:static!important;grid-column:2!important;grid-row:2!important;justify-self:end!important;align-self:start!important;inset:auto!important;transform:none!important;width:40px!important;height:40px!important;margin:0!important;box-sizing:border-box;}
 html:root body .page-wrapper .kuyu20-hero-frame [data-kuyu20-festival] :is(.hc-timer,.kuyu20-festival-celebration){grid-column:1/-1!important;grid-row:3!important;}
}
/* Theme-specific multicolour quote text with an opaque fallback. */
html:root body #dailyQuote .quote-daily-text{font-weight:700!important;color:#245a9a!important;}
html:root:not(.light-theme) body #dailyQuote .quote-daily-text{color:#b8dcff!important;}
@supports ((background-clip:text) or (-webkit-background-clip:text)){
 html:root body #dailyQuote .quote-daily-text{background-image:linear-gradient(105deg,#175ba9 0%,#7545ad 48%,#087c72 100%)!important;background-clip:text!important;-webkit-background-clip:text!important;-webkit-text-fill-color:transparent!important;}
 html:root:not(.light-theme) body #dailyQuote .quote-daily-text{background-image:linear-gradient(105deg,#8bd6ff 0%,#d3a6ff 48%,#7de8c6 100%)!important;}
}
@media(min-width:1200px){
 html:root body #dailyQuote .quote-feature-heading{grid-template-columns:22px auto minmax(0,1fr)!important;gap:8px!important;}
 html:root body #dailyQuote .quote-feature-icon{grid-row:1!important;}
 html:root body #dailyQuote .quote-heading-caption{grid-column:3!important;grid-row:1!important;}
}
@supports ((background-clip:text) or (-webkit-background-clip:text)){
 html:root body #dailyQuote .quote-daily-text{background-size:220% 100%!important;background-position:var(--kuyu20-quote-flow) 50%!important;animation:kuyu20-quote-shimmer-v53 6s ease-in-out infinite!important;}
}
@property --kuyu20-quote-flow{syntax:"<percentage>";inherits:false;initial-value:0%;}
@keyframes kuyu20-quote-shimmer-v53{0%,100%{--kuyu20-quote-flow:0%;}50%{--kuyu20-quote-flow:100%;}}
@media(prefers-reduced-motion:reduce){html:root body #dailyQuote .quote-daily-text{animation:none!important;background-position:50% 50%!important;}}
@media(min-width:1200px){
 html:root body #dailyQuote .quote-feature-icon{width:22px!important;height:22px!important;min-height:0!important;font-size:20px!important;line-height:22px!important;padding:0!important;}
 html:root body #dailyQuote .quote-scene{gap:8px!important;padding:10px 12px!important;}
}
