/* Public tour uses the actual application components, with a compact guide. */
.af-live-demo-link { display:inline-flex; padding:12px 0; min-height:44px; color:#35634e; text-decoration:underline; text-underline-offset:4px; font-size:12px; line-height:1.5; }
.app-shell--tour { --demo-banner-height:48px; }
.tour-brand { display:flex; align-items:center; min-height:80px; margin:10px 14px 24px; padding:14px; border-radius:12px; background:#fff; }
.tour-brand img { width:100%; height:auto; }
.tour-nav-label { margin:0 20px 12px; color:#c1dfcc; font-size:10px; font-weight:800; letter-spacing:.13em; }
.tour-sidebar .nav-button small { margin-left:auto; opacity:.6; font-size:11px; }
.tour-sidebar-note { margin:auto 14px 20px; padding:14px 4px; color:#cfdfd4; font-size:11px; line-height:1.7; }
.tour-sidebar-note p { margin:8px 0; color:#b3c9bc; }
.tour-sidebar-note>small { opacity:.7; }
.tour-banner { position:sticky; top:var(--app-safe-top); z-index:40; min-height:48px; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 18px; padding:6px 24px; background:#e9f1e7; border-bottom:1px solid #c9dac8; color:#244a36; font-size:12px; }
.tour-banner>span,.tour-banner>div { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.tour-banner i { width:7px; height:7px; background:#367d58; border-radius:50%; }
.tour-banner>span>span { opacity:.75; }
.tour-banner button,.tour-banner a { min-height:36px; display:inline-flex; align-items:center; color:inherit; border:0; padding:4px 8px; background:transparent; font:inherit; font-weight:750; text-decoration:none; cursor:pointer; }
.tour-banner button:hover,.tour-banner a:hover { text-decoration:underline; }
.tour-banner button:focus-visible,.tour-banner a:focus-visible { outline:3px solid #21784d; outline-offset:1px; border-radius:4px; }
.tour-intro { padding:4px 2px 22px; margin-bottom:8px; border-bottom:1px solid var(--line); }
.tour-eyebrow { color:var(--green-700); font-size:10px; font-weight:850; letter-spacing:.12em; }
.tour-intro h2 { margin:8px 0; font-size:clamp(20px,2.4vw,27px); line-height:1.25; letter-spacing:-.025em; }
.tour-intro p { max-width:820px; color:var(--muted); font-size:14px; line-height:1.6; margin:0 0 14px; }
.tour-match-picker { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); align-items:center; gap:24px; padding:20px; }
.tour-match-picker .field { min-width:0; }
.tour-match-picker select { width:100%; min-width:0; }
.tour-match-picker p { margin:0; font-size:12px; line-height:1.6; color:var(--muted); }
.tour-topbar { align-items:center; }
.tour-topbar .topbar-actions { flex-wrap:wrap; }
.app-shell--tour .report-toolbar { flex-wrap:wrap; }
@media(max-width:980px) {
 .tour-topbar { align-items:stretch; }
 .tour-banner { padding-inline:16px; }
 .tour-sidebar-note,.tour-nav-label,.tour-brand { display:none; }
 .tour-sidebar .nav-button small { display:none; }
 .tour-sidebar .navigation { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:680px) {
 .app-shell--tour { --demo-banner-height:96px; }
 .tour-banner { padding:8px 16px; gap:0; }
 .tour-banner>span { width:100%; gap:6px 10px; }
 .tour-banner button,.tour-banner a { min-height:44px; }
 .tour-topbar>div:first-child { padding-right:0; }
 .tour-topbar .topbar-actions { gap:8px; }
 .tour-topbar .topbar-actions>a { font-size:11px; padding:8px 10px; }
 .tour-intro { padding-bottom:18px; }
 .tour-intro .button-row { gap:8px; }
 .tour-intro .button { flex:1 1 180px; }
 .tour-match-picker { grid-template-columns:minmax(0,1fr); gap:12px; padding:16px; }
 .tour-match-picker select { font-size:13px; }
}
/* Keep the first actual match metrics visible in landscape iPad. */
.app-shell--tour { --demo-banner-height:56px; }
.tour-banner { min-height:56px; }
.tour-banner button,.tour-banner a { min-height:44px; }
.tour-sidebar { gap:14px; }
.tour-brand { margin:4px 0 12px; min-height:64px; }
.tour-nav-label { margin:0 4px 4px; font-size:9px; white-space:nowrap; }
.tour-sidebar-note { margin-inline:0; }
.tour-eyebrow { display:none; }
.tour-intro { padding:0 0 14px; margin-bottom:4px; }
.tour-intro h2 { margin:0 0 6px; font-size:22px; }
.tour-intro p { margin:0 0 10px; font-size:13px; line-height:1.55; }
.tour-intro .button-row { gap:8px; }
.tour-match-picker { display:block; padding:12px 16px; }
.tour-match-picker .field { display:grid; grid-template-columns:140px minmax(0,1fr); align-items:center; gap:12px; }
.tour-match-picker p { display:none; }
.app-shell--tour .match-hero { min-height:100px; padding:16px 20px; }
.app-shell--tour .match-hero .live-label .pulse-dot { background:#68776e; box-shadow:none; animation:none; }
@media(max-width:980px) { .tour-sidebar { gap:0; } }
@media(max-width:680px) {
 .app-shell--tour { --demo-banner-height:96px; }
 .tour-intro h2 { font-size:21px; }
 .tour-match-picker .field { grid-template-columns:minmax(0,1fr); gap:8px; }
}
.app-shell--tour .card,.app-shell--tour .section-anchor { scroll-margin-top:calc(var(--demo-banner-height) + 80px); }
.app-shell--tour .season-penalty-table .season-sort-button { min-height:44px; }
@media(max-width:1200px) {
 .app-shell--tour .development-goalkeeper-locations-heading { flex-direction:column; align-items:stretch; }
 .app-shell--tour .development-goalkeeper-map-filters { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); width:100%; min-width:0; }
 .app-shell--tour .development-goalkeeper-map-filters .field { min-width:0; }
 .app-shell--tour .development-goalkeeper-map-filters select { width:100%; min-width:0; }
}
@media(max-width:680px) { .app-shell--tour .development-goalkeeper-map-filters { grid-template-columns:minmax(0,1fr); } }
@media print {
 body:has(.match-report-sheet) .tour-banner,body:has(.match-report-sheet) .tour-intro,body:has(.match-report-sheet) .tour-topbar,body:has(.match-report-sheet) .tour-sidebar { display:none !important; }
}
@media(max-width:360px) {
 .app-shell--tour .stat-card--link>span { font-size:.6rem; letter-spacing:0; white-space:normal; }
 .app-shell--tour .season-summary-toggle { flex-wrap:wrap; max-width:100%; }
 .app-shell--tour .season-summary-toggle-button { min-width:0; max-width:100%; }
}
@media(max-width:360px) {
 .app-shell--tour .season-column-toggle { flex-wrap:wrap; gap:6px; }
 .app-shell--tour .season-column-toggle>.season-summary-toggle-button { flex:1 1 calc(50% - 6px); }
}
@media(max-width:360px) {
 .app-shell--tour .stat-card>span,.app-shell--tour .eyebrow { font-size:.6rem; letter-spacing:.03em; white-space:normal; }
 .app-shell--tour .defence-origin-heading { flex-wrap:wrap; }
 .app-shell--tour .defence-origin-heading>div:first-child { flex-basis:100%; }
}
