/* Consistent smaller, horizontally flipped back-to-top arrows. */
html:root:root:root body .comp73-back-top{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;background:transparent!important;border:0!important;box-shadow:none!important}
html:root:root:root body .comp73-back-top svg{display:block!important;transform:scaleX(-1)!important;width:12.6px!important;height:12.6px!important;flex:0 0 12.6px!important;margin:0!important}
html:root:root:root body .project-back-top svg,html:root:root:root body .news-back-top svg{width:16.8px!important;height:16.8px!important;flex-basis:16.8px!important}
html:root:root:root body[data-reading-navigation-page="CONCERTI.html"] .comp73-back-top svg,html:root:root:root body .concert-back-top svg,html:root:root:root body .bio-back-top .comp73-back-top svg,html:root:root:root body.critical-readings .comp73-back-top svg{width:14.4px!important;height:14.4px!important;flex-basis:14.4px!important}
html:root:root:root:root:root body footer.news-footer,html:root:root:root:root:root body footer.news-footer *,html:root:root:root:root:root body .news-back-top-row,html:root:root:root:root:root body .news-back-top-row *{color:var(--chat,#474745)!important;-webkit-text-fill-color:var(--chat,#474745)!important}
html:root:root:root:root:root body footer.news-footer{border-color:var(--chat,#474745)!important}
.news-back-top-row{display:flex;justify-content:center;padding:26px 20px}.news-back-top{font:400 10px/1.5 Outfit,sans-serif;letter-spacing:.1em;cursor:pointer;text-transform:uppercase}
/* Reader continuation: text only, underlining grows on hover/focus. */
html:root:root:root body.critical-readings #portrait-reader button.critical-continue-reading{display:inline!important;width:auto!important;max-width:none!important;margin:0 0 0 .5em!important;padding:0 0 3px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:var(--ash,#CDD3CF)!important;-webkit-text-fill-color:var(--ash,#CDD3CF)!important;font:600 11px/1.4 var(--body-font,'Clarity City',sans-serif)!important;letter-spacing:.1em!important;text-transform:uppercase!important;white-space:nowrap;cursor:pointer}
html:root:root:root body.critical-readings #portrait-reader button.critical-continue-reading span{color:inherit!important;background:linear-gradient(currentColor,currentColor) center bottom/0 1px no-repeat!important;padding-bottom:3px!important;transition:background-size .3s}
html:root:root:root body.critical-readings #portrait-reader button.critical-continue-reading:is(:hover,:focus-visible) span{background-size:100% 1px!important}
html:root:root:root body.critical-readings #portrait-reader button.critical-continue-reading svg{display:none!important}
html:root:root:root body.critical-readings .portrait-stage-controls{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;align-items:center!important;width:100%!important;gap:24px!important}
html:root:root:root body.critical-readings #portrait-reader .critical-back-top,html:root:root:root body.critical-readings #portrait-reader .critical-back-top *{color:var(--ash,#CDD3CF)!important;-webkit-text-fill-color:var(--ash,#CDD3CF)!important}
html:root:root:root body.critical-readings .franco-reading-controls{display:grid!important;grid-template-columns:1fr 1fr 1fr!important;align-items:center!important}
html:root:root:root body.critical-readings .franco-reading-controls .critical-back-top{grid-column:2;justify-self:center;color:var(--white,#fff)!important;-webkit-text-fill-color:var(--white,#fff)!important}
html:root:root:root body.critical-readings .franco-reading-controls .critical-back-top *{color:var(--white,#fff)!important;-webkit-text-fill-color:var(--white,#fff)!important}
html:root:root:root body.critical-readings .franco-reading-controls .critical-related-reading{grid-column:3;justify-self:end;display:inline-flex!important;align-items:center;gap:8px;text-align:right!important;color:var(--white,#fff)!important}
html:root:root:root body.critical-readings .franco-reading-controls .critical-related-reading>span{white-space:pre-line;text-align:right!important}
html:root:root:root body.critical-readings .portrait-stage-controls .critical-related-reading{margin-left:auto}
@media(max-width:620px){html:root:root:root body.critical-readings .franco-reading-controls{grid-template-columns:1fr!important}html:root:root:root body.critical-readings .franco-reading-controls .critical-back-top,html:root:root:root body.critical-readings .franco-reading-controls .critical-related-reading{grid-column:1}}

html:root:root:root body.critical-readings #portrait-reader button.critical-continue-reading span{font:inherit!important;letter-spacing:inherit!important;text-transform:inherit!important}

/* Reader continuation starts on the very next line, without extra leading space. */
html:root:root:root body.critical-readings #portrait-reader button.critical-continue-reading{display:block!important;width:max-content!important;max-width:100%!important;margin:0!important;padding:0 0 3px!important;text-align:left!important;font-size:13px!important;line-height:1.5!important;letter-spacing:.15em!important}

/* Final reading control sizing: twenty percent smaller in BIO and Critica. */
html:root:root:root body .bio-more{font-size:10.4px!important}
html:root:root:root body.critical-readings #portrait-reader button.critical-continue-reading{font-size:10.4px!important;line-height:1.5!important;margin-top:.8lh!important}

/* Projects: More in the middle, Back to top on the right. */
html:root:root:root:root body .project-reading-controls{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;width:100%!important;align-items:center!important;gap:12px!important}
html:root:root:root:root body .project-reading-controls>.project-more:not(.project-back-top){grid-column:2!important;justify-self:center!important}
html:root:root:root:root body .project-reading-controls>.project-more:not(.project-back-top) svg{display:none!important}
html:root:root:root:root body .project-reading-controls>.project-back-top{grid-column:3!important;justify-self:end!important}
html:root:root:root:root body .project-back-top svg{width:.8em!important;height:.8em!important;flex-basis:.8em!important}

/* Straight, vertical back-to-top arrows across public pages. */
html:root:root:root:root:root body .comp73-back-top svg{transform:none!important}
html:root:root:root:root:root body.critical-readings .comp73-back-top svg,html:root:root:root:root:root body.critical-readings [data-critical-franco-link] svg{width:18px!important;height:18px!important;flex-basis:18px!important;transform:none!important}
html:root:root:root:root:root body #music-panel-concerts .concert-more{font:500 11.4px/1.5 var(--body-font,Clarity,sans-serif)!important;letter-spacing:.15em!important;border:0!important;padding:8px 0!important;background:transparent!important;color:var(--ash,#CDD3CF)!important;-webkit-text-fill-color:var(--ash,#CDD3CF)!important}
html:root:root:root:root:root body .concert-more svg{display:none!important}
html:root:root:root:root:root body .concert-more span{display:inline-block;background:linear-gradient(currentColor,currentColor) center bottom/0 1px no-repeat!important;padding-bottom:3px!important;transition:background-size .3s ease!important}
html:root:root:root:root:root body .concert-more:is(:hover,:focus-visible) span{background-size:100% 1px!important}

/* BIO exception: compact flipped corner arrow, close to the label. */
html:root:root:root:root:root:root body[data-reading-navigation-page="Bio-interattiva-carta-da-zucchero.html"] .comp73-back-top{gap:3px!important;align-items:baseline!important}
html:root:root:root:root:root:root body[data-reading-navigation-page="Bio-interattiva-carta-da-zucchero.html"] .comp73-back-top svg{width:11.52px!important;height:11.52px!important;flex-basis:11.52px!important;transform:translateY(2px)!important}

/* Critica uses BIO's Clarity/500 continuation style, 2 pt smaller and tracking +5 points. */
html:root:root:root:root body.critical-readings #portrait-reader button.critical-continue-reading{
 font-family:Clarity,sans-serif!important;font-weight:400!important;font-style:normal!important;font-size:calc(10.4px - 3pt)!important;line-height:1.5!important;letter-spacing:.10em!important;padding:8px 0!important;border:0!important;background:transparent!important;text-transform:uppercase!important
}

html body .project-back-top.comp73-back-top svg{display:inline-block!important;color:inherit!important;stroke:currentColor!important;vertical-align:middle;margin-left:.5em}

/* More projects uses the same animated text underline as Back to top. */
html body .project-more:not(.project-back-top):is(:hover,:focus-visible){background-color:transparent!important}

/* BIO continuation matches the existing back-to-top typography exactly. */
html:root:root:root:root:root:root body .bio-more,
html:root:root:root:root:root:root body .bio-back-top a{
 font-family:Clarity,sans-serif!important;font-size:11px!important;font-style:normal!important;font-weight:400!important;letter-spacing:.1em!important;line-height:1.8!important;text-transform:uppercase!important
}

/* CRITICA continuation matches the reader's back-to-top control. */
html:root:root:root:root:root:root body.critical-readings #portrait-reader button.critical-continue-reading{
 font-family:'Clarity City'!important;font-size:11px!important;font-weight:600!important;font-style:normal!important;letter-spacing:.1em!important;line-height:1.4!important
}

/* Override text-level rules too: the visible span must match its control. */
html:root:root:root:root:root:root body.critical-readings #portrait-reader button.critical-continue-reading span,
html:root:root:root:root:root:root body.critical-readings #portrait-reader .critical-back-top,
html:root:root:root:root:root:root body.critical-readings #portrait-reader .critical-back-top span{
 font-family:'Clarity City'!important;font-size:11px!important;font-weight:600!important;font-style:normal!important;letter-spacing:1.1px!important;line-height:15.4px!important
}

/* Reading controls follow the effective selected accent. */
html:not(#reading-accent-override):not(#reading-accent-priority):root body :is(.project-reading-controls .project-more,.project-reading-controls .project-more span,.bio-more,.bio-more span,.critical-continue-reading,.critical-continue-reading span){color:var(--color-2,var(--sage))!important;-webkit-text-fill-color:var(--color-2,var(--sage))!important}

/* Critical reading navigation follows the selected accent. */
html:not(#critical-accent-override):not(#critical-accent-priority):not(#critical-accent-color):root body.critical-readings :is(.portrait-stage-controls button,.portrait-stage-controls a,.portrait-stage-controls button span,.portrait-stage-controls a span,.portrait-back-top,.critical-back-top,.critical-related-reading){color:var(--color-2,var(--sage))!important;-webkit-text-fill-color:var(--color-2,var(--sage))!important}

/* Project continuation matches BIO; lift both final controls together. */
html:root:root:root:root body .project-reading-controls{position:relative;top:calc(-1 * var(--release-projectLift,3vh))}
html:root:root:root:root body .project-reading-controls>.project-more:not(.project-back-top){position:relative;isolation:isolate;padding:0!important;font:500 var(--release-moreSize,10.4px)/1.5 Clarity,sans-serif!important;letter-spacing:var(--release-moreTracking,.15em)!important;text-transform:uppercase!important;filter:none!important;overflow:visible!important}
html:root:root:root:root body .project-reading-controls>.project-more:not(.project-back-top)::before{content:"";position:absolute;inset:calc(-1 * var(--release-morePadding,5%));background:currentColor;opacity:0;transition:opacity .25s ease;pointer-events:none;z-index:-1}
html:root:root:root:root body .project-reading-controls>.project-more:not(.project-back-top):is(:hover,:focus-visible)::before{opacity:var(--release-moreHover,.1)}
html:root:root:root:root body .project-reading-controls>.project-more:not(.project-back-top) span{font:inherit!important;letter-spacing:inherit!important;background:none!important}
@media(prefers-reduced-motion:reduce){html body .project-reading-controls>.project-more::before{transition:none}}

/* Shared back-to-top typography and interaction, based on Discography. */
html:not(#back-top-font-priority):not(#back-top-font-override) body .comp73-back-top,
html:not(#back-top-font-priority):not(#back-top-font-override) body .comp73-back-top span{
 font-family:var(--body-font,Clarity,sans-serif)!important;font-size:var(--release-backSize,11px)!important;font-weight:var(--release-backWeight,600)!important;font-style:normal!important;line-height:1.4!important;letter-spacing:var(--release-backTracking,.1em)!important;text-transform:uppercase!important;
}
html:not(#back-top-font-priority):not(#back-top-font-override) body .comp73-back-top{padding:8px 12px!important;gap:9px!important;border-radius:0!important;transition:opacity .18s ease!important;filter:none!important}
html:not(#back-top-font-priority):not(#back-top-font-override) body .comp73-back-top:hover{opacity:.75!important;text-decoration:none!important}
html:not(#back-top-font-priority):not(#back-top-font-override) body .comp73-back-top svg{width:12.6px!important;height:12.6px!important;flex-basis:12.6px!important;transform:none!important}
html body[data-music-active-section="collaborations"] .music-back-top{height:auto!important;margin-top:0!important;padding-top:2vh!important;padding-bottom:var(--release-footerGap,2vh)!important}
html:root:root:root:root:root body .project-reading-controls.all-projects-open>.project-back-top{grid-column:2!important;justify-self:center!important}

/* PRESS: back-to-top uses the same ink as its text, above the footer. */
html:not(#press-backtop-ink):not(#press-backtop-priority) body .news-back-top-row,
html:not(#press-backtop-ink):not(#press-backtop-priority) body .news-back-top,
html:not(#press-backtop-ink):not(#press-backtop-priority) body .news-back-top *{color:var(--chosen-body-color,var(--chat))!important;-webkit-text-fill-color:currentColor!important}

/* Projects: place the page-level return control before the footer, outside cards. */
html body[data-approved-projects="22"][data-music-active-section="music"] .music-back-top{display:flex!important;justify-content:center!important;height:auto!important;margin:0!important;padding:2vh 0 max(32px,var(--release-projectFooterGap,4vh))!important;position:static!important;transform:none!important}
html:has(body[data-layout]) body:has(.project-reading-controls) .project-reading-controls{top:0!important;position:static!important;margin-bottom:0!important;padding-bottom:max(32px,var(--release-projectFooterGap,4vh))!important}
html[data-projects-embedded] body .project-reading-controls>.project-back-top{display:none!important}
html[data-projects-embedded] body .project-reading-controls.all-projects-open{display:none!important}

html[data-projects-embedded] body .project-reading-controls:not(.all-projects-open){margin-bottom:0!important;padding-bottom:0!important}

/* Both project actions share the same baseline, 8vh before the footer. */
html[data-projects-embedded] body .project-reading-controls{display:none!important}
html body[data-approved-projects="22"][data-music-active-section="music"] .music-back-top{gap:32px!important;align-items:center!important}
html body .music-back-top [data-project-more]{font:500 10.4px/1.5 Clarity,sans-serif!important;letter-spacing:.15em!important;text-transform:uppercase!important;color:var(--color-2)!important;margin:0!important;padding:8px 12px!important}
html body .music-back-top [data-project-more] svg{display:none!important}

/* Projects return control uses BIO's regular weight, including its label span. */
html:not(#back-top-font-priority):not(#back-top-font-override):root body :is(.project-back-top,.project-back-top span),
html:not(#back-top-font-priority):not(#back-top-font-override):root body[data-music-active-section="music"] .music-back-top :is(.comp73-back-top,.comp73-back-top span){font-family:Clarity,sans-serif!important;font-weight:var(--release-projectBackWeight,400)!important}
