/* Shared site chrome; v1.3.0. Retain the theme's content and widget assignments. */
body.sftv-site-chrome #the-post .entry-content :is(.sftv-home,.sftv-directory) a.sftv-card-link,
body.sftv-site-chrome #the-post .entry-content :is(.sftv-home,.sftv-directory) a.sftv-card-link *,
body.sftv-site-chrome :is(.sftv-home,.sftv-directory) :is(.sftv-button,button),
body.sftv-show-archive #posts-container :is(a.more-link,a.button,a.more-link *,a.button *),
body.sftv-site-chrome .sftv-sidebar-card button {
	background: #8faeb8 !important; color: #071117 !important;
	-webkit-text-fill-color: #071117 !important; text-shadow: none !important; opacity: 1;
}
body.sftv-site-chrome #the-post .entry-content :is(.sftv-home,.sftv-directory) a.sftv-card-link:is(:hover,:focus-visible),
body.sftv-site-chrome :is(.sftv-home,.sftv-directory) :is(.sftv-button,button):is(:hover,:focus-visible),
body.sftv-show-archive #posts-container :is(a.more-link,a.button):is(:hover,:focus-visible),
body.sftv-site-chrome .sftv-sidebar-card button:is(:hover,:focus-visible) { background: #72d9ed !important; }
body.sftv-site-chrome #the-post .entry-content :is(.sftv-home,.sftv-directory) a.sftv-card-link *,
body.sftv-show-archive #posts-container :is(a.more-link,a.button) * { background: transparent !important; }
body.sftv-show-archive #posts-container .more-link { align-self: flex-start; margin-top: auto; border-radius: 9px; padding: 10px 14px; font-weight: 800; }
body.sftv-show-archive #posts-container :is(.post-meta,.post-meta a) { color: #bed5dc; }
body.sftv-show-archive #posts-container.posts-items > li.post-item { list-style: none; }

/* Apply the existing show-sidebar card treatment to all content sidebars. */
body.sftv-site-chrome :is(.sidebar,#sidebar) .sftv-sidebar-card {
	box-sizing: border-box; overflow: hidden; margin-bottom: 24px; padding: 20px;
	border: 1px solid var(--sftv-line); border-radius: 18px;
	background: linear-gradient(145deg,#102631,#0d2029); box-shadow: 0 18px 42px rgba(0,0,0,.2); color: #f4f8f9;
}
body.sftv-site-chrome :is(.sidebar,#sidebar) .sftv-sidebar-card :is(ul,ol) { margin-left: 0; }

/* Existing disclosure, menus, tag cloud, categories and social feed remain. */
body.sftv-site-chrome #footer.site-footer {
	margin-top: 32px; border-top: 2px solid #8faeb8;
	background: radial-gradient(ellipse at 15% 0,rgba(114,217,237,.1),transparent 55%),#07141c;
	color: #bed5dc; font-size: 13px; line-height: 1.7;
}
body.sftv-site-chrome #footer :is(#footer-widgets-container,.footer-widget-area) { background: transparent; }
body.sftv-site-chrome #footer #footer-widgets-container { padding: 36px 0 22px; }
body.sftv-site-chrome #footer .footer-widget-area > .tie-row { display: flex; flex-wrap: wrap; align-items: stretch; }
body.sftv-site-chrome #footer .footer-widget-area > .tie-row > [class*="tie-col"] { min-width: 0; }
body.sftv-site-chrome #footer .widget { padding: 23px; border: 1px solid rgba(143,174,184,.2); border-radius: 16px; background: rgba(16,38,49,.75); box-shadow: none; color: #bed5dc; }
body.sftv-site-chrome #footer :is(.widget-title,.the-global-title) { margin-bottom: 18px; padding: 0 0 12px; border-bottom: 1px solid rgba(143,174,184,.23); background: transparent; }
body.sftv-site-chrome #footer :is(.the-subtitle,h2,h3,h4) { color: #f4f8f9 !important; font-size: 18px; line-height: 1.3; }
body.sftv-site-chrome #footer a { color: #bed5dc; text-decoration: none; }
body.sftv-site-chrome #footer a:hover { color: #72d9ed; }
body.sftv-site-chrome #footer .tagcloud { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 7px; }
body.sftv-site-chrome #footer .tagcloud a { display: inline-block; margin: 0; padding: 5px 9px; border: 1px solid rgba(143,174,184,.28); border-radius: 7px; background: #0b1c26; color: #bed5dc !important; font-size: 12px !important; line-height: 1.35; overflow-wrap: anywhere; }
body.sftv-site-chrome #footer .tagcloud a:hover { background: #183b49; color: #fff !important; }
body.sftv-site-chrome #footer .widget_categories li { padding: 8px 0; border-color: rgba(143,174,184,.16); }
body.sftv-site-chrome #footer .cat-counter span { min-width: 23px; border-radius: 6px; background: #8faeb8; color: #071117; }
body.sftv-site-chrome #footer #site-info { padding: 23px 0; border-top: 1px solid rgba(143,174,184,.2); background: rgba(0,0,0,.2); color: #bed5dc; }
body.sftv-site-chrome #footer .footer-menu a { padding: 5px 9px; }
body.sftv-site-chrome #footer :is(.button,[type="submit"]),
body.sftv-site-chrome #footer :is(.button,[type="submit"]) * { background: #8faeb8; color: #071117 !important; -webkit-text-fill-color: #071117 !important; border-radius: 9px; text-shadow: none; }
body.sftv-site-chrome #footer #instagram-link { background: #102631; color: #f4f8f9; padding: 22px; }
body.sftv-site-chrome #footer .tie-insta-photos { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 4px; }
body.sftv-site-chrome #footer .tie-insta-post { width: auto; margin: 0; float: none; }
body.sftv-site-chrome #footer .tie-insta-post img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }

/* Score: explicit text and native disclosure; colour is supplementary. */
.sftv-score-panel,.sftv-ranking { box-sizing: border-box; color: #f4f8f9; }
body.sftv-site-chrome #the-post .entry-content .sftv-score-panel { margin: 30px 0; padding: clamp(20px,4vw,34px); overflow: hidden; border: 1px solid rgba(143,174,184,.3); border-radius: 18px; background: radial-gradient(ellipse at 100% 0,rgba(114,217,237,.11),transparent 55%),#102631; scroll-margin-top: 100px; }
.sftv-score-heading { display: flex; align-items: center; gap: 15px; margin-bottom: 22px; }
.sftv-score-heading img { width: 60px; height: 60px; object-fit: contain; flex-shrink: 0; }
body.sftv-site-chrome #the-post .entry-content .sftv-score-heading h2 { color: #f4f8f9 !important; font-size: clamp(25px,3vw,32px); margin: 3px 0 0; line-height: 1.2; }
.sftv-score-summary { display: flex; gap: 24px; align-items: center; margin-bottom: 23px; }
.sftv-score-summary > div { min-width: 0; overflow-wrap: anywhere; }
.sftv-score-number { flex-shrink: 0; font-size: clamp(54px,7vw,76px); font-weight: 850; letter-spacing: -.05em; line-height: 1; color: #fff; }
.sftv-score-number small { font-size: 22px; color: #bed5dc; letter-spacing: 0; margin-left: 4px; }
.sftv-score-summary strong { display: block; font-size: 20px; color: #f4f8f9; }
body.sftv-site-chrome #the-post .entry-content .sftv-score-summary p { margin: 4px 0; color: #bed5dc; font-size: 12px; line-height: 1.5; }
.sftv-score-meter { position: relative; height: 13px; margin: 10px 8px; border-radius: 99px; background: linear-gradient(90deg,#397bd9 0%,#36bdd1 28%,#d7d66b 50%,#f3a24e 72%,#e5635d 100%); }
.sftv-score-meter > span { position: absolute; top: 50%; width: 8px; height: 26px; border: 2px solid #fff; border-radius: 4px; background: #071117; transform: translate(-50%,-50%); box-shadow: 0 2px 8px #000; }
.sftv-score-scale { display: flex; justify-content: space-between; gap: 10px; color: #bed5dc; font-size: 11px; margin: 9px 0 22px; }
body.sftv-site-chrome #the-post .entry-content .sftv-score-verdict { color: #e4eef2; font-size: 16px; line-height: 1.7; overflow-wrap: anywhere; }
.sftv-score-points { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,230px),1fr)); gap: 15px; margin-top: 23px; }
.sftv-score-points > div { padding: 18px; border-radius: 12px; border: 1px solid rgba(143,174,184,.18); background: rgba(0,0,0,.14); overflow-wrap: anywhere; }
body.sftv-site-chrome #the-post .entry-content .sftv-score-points h3 { margin: 0 0 12px; color: #f4f8f9 !important; font-size: 17px; }
body.sftv-site-chrome #the-post .entry-content .sftv-score-points ul { padding: 0 0 0 19px; margin: 0; list-style: disc; }
body.sftv-site-chrome #the-post .entry-content .sftv-score-points li { margin: 8px 0; color: #bed5dc; font-size: 14px; line-height: 1.6; list-style: disc; }
.sftv-score-points--positives { border-top: 2px solid #72d9ed !important; }
.sftv-score-points--negatives { border-top: 2px solid #f3a24e !important; }
.sftv-score-method { margin-top: 22px; padding-top: 15px; border-top: 1px solid rgba(143,174,184,.2); }
.sftv-score-method summary { cursor: pointer; color: #bed5dc; font-size: 13px; font-weight: 700; }
body.sftv-site-chrome #the-post .entry-content .sftv-score-method :is(p,li) { color: #bed5dc; font-size: 12px; line-height: 1.65; }
body.sftv-site-chrome #the-post .entry-content .sftv-score-method a { color: #72d9ed !important; text-decoration: underline; }

.sftv-ranking--home { padding: 28px; border: 1px solid rgba(143,174,184,.25); border-radius: 18px; background: linear-gradient(140deg,#102631,#0b1821); }
.sftv-ranking--home h2 { margin: 0; color: #f4f8f9 !important; font-size: 28px; line-height: 1.2; }
body.sftv-site-chrome .sftv-ranking ol.sftv-ranking-list { list-style: none; margin: 0; padding: 0; }
body.sftv-site-chrome .sftv-ranking ol.sftv-ranking-list > li { display: flex; align-items: center; gap: 10px; list-style: none; margin: 0; padding: 13px 0; border-top: 1px solid rgba(143,174,184,.14); }
body.sftv-site-chrome .sftv-ranking ol.sftv-ranking-list > li::before { display: none; }
.sftv-ranking-position { font-size: 14px; font-weight: 800; color: #bed5dc; width: 16px; flex-shrink: 0; }
body.sftv-site-chrome .sftv-ranking-list li > a,body.sftv-site-chrome #the-post .entry-content .sftv-ranking-list li > a { display: flex; align-items: center; flex: 1; min-width: 0; gap: 10px; color: #f4f8f9 !important; text-decoration: none; font-size: 13px; font-weight: 750; line-height: 1.4; overflow-wrap: anywhere; }
body.sftv-site-chrome .sftv-ranking-list li > a:hover,body.sftv-site-chrome #the-post .entry-content .sftv-ranking-list li > a:hover { color: #72d9ed !important; }
.sftv-ranking-list img { width: 48px; height: 48px; flex-shrink: 0; object-fit: cover; border-radius: 7px; }
.sftv-ranking-value { white-space: nowrap; padding: 6px 8px; border: 1px solid rgba(114,217,237,.25); border-radius: 8px; background: #0a1b24; color: #f4f8f9; font-size: 18px; font-weight: 850; }
.sftv-ranking-value small { font-size: 10px; color: #bed5dc; font-weight: 500; }
.sftv-ranking--home .sftv-ranking-list img { width: 72px; height: 46px; }
body.sftv-site-chrome #the-post .entry-content .sftv-ranking--home .sftv-ranking-list li > a { font-size: 16px; }
body.sftv-site-chrome .sftv-ranking .sftv-ranking-note { margin: 10px 0 0; color: #bed5dc; font-size: 11px; line-height: 1.55; }
body.sftv-site-chrome :is(.sftv-score-panel,.sftv-ranking,#footer) :is(a,summary,button):focus-visible { outline: 3px solid #72d9ed; outline-offset: 4px; }
@media (max-width: 767px) {
	body.sftv-site-chrome #footer .footer-widget-area > .tie-row > [class*="tie-col"] { width: 100%; }
	body.sftv-site-chrome #footer .tie-insta-photos { grid-template-columns: repeat(3,minmax(0,1fr)); }
	.sftv-ranking--home { padding: 20px; }
}
@media (max-width: 420px) {
	.sftv-score-summary { align-items: flex-start; gap: 16px; }
	.sftv-score-number { font-size: 50px; }
	.sftv-score-number small { font-size: 16px; }
	.sftv-score-heading { gap: 10px; }
	.sftv-score-heading img { width: 45px; height: 45px; }
	body.sftv-site-chrome #the-post .entry-content .sftv-ranking--home .sftv-ranking-list li > a { font-size: 13px; }
	.sftv-ranking--home .sftv-ranking-list img { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
	body.sftv-site-chrome :is(.sftv-show-card,.sftv-card-link,.sftv-ranking *,#footer *) { transition: none !important; }
}
