
/* Il Posto delle Favole — bespoke public presentation.
   No global token mutation. Every rule is scoped to the public marker.
   Existing admin/editor, API and booking JS are unchanged. */
.fc-new { display: none; }
.fc-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
body:has(#app > .fc-on) { background: #f5ccc5 !important; color: #3037a5; }
#app:has(> .fc-on) { --fc-blue: #2b32a3; --fc-ink: #253091; --fc-cream: #fff8f2; --fc-pink: #fbb3ad; --fc-line: rgba(67,48,124,.10); --tk-primary: #2b32a3; --tk-textDark: #303256; --tk-surface: #fff7f1; --tk-cream: #fff9f4; --tk-terracotta: #b45a65;
  width: 100%; max-width: 480px; background: #fff6f0 !important; color: var(--fc-ink); box-shadow: none; border: 0; padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px)); font-family: 'Plus Jakarta Sans', sans-serif;
}
#app:has(> .fc-on) .fc-new { display: block; }
#app:has(> .fc-on) [data-ed='stacco.stacco'], #app:has(> .fc-on) .fc-legacy-header, #app:has(> .fc-on) .fc-legacy-nav, #app:has(> .fc-on) .fc-legacy-loader { display: none !important; }
#app:has(> .fc-on) .fc-icon { flex: 0 0 auto; width: 22px; height: 22px; }
#app:has(> .fc-on) :is(button,a) { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
#app:has(> .fc-on) :is(button,a,input,select,textarea):focus-visible { outline: 3px solid #bd607a; outline-offset: 3px; }
#app:has(> .fc-on) button { cursor: pointer; }
#app:has(> .fc-on) button:disabled { cursor: not-allowed; }
#app:has(> .fc-on) .fc-hero { position: relative; height: 357px; isolation: isolate; overflow: hidden; background: #fab9b1; }
#app:has(> .fc-on) .fc-sky { position: absolute; inset: 0; z-index: -4; background: url('favole-c/c-sky-isolated.webp') center / 100% 100%; }
#app:has(> .fc-on) .fc-clouds-back { display: none; position: absolute; inset: 75px -36px -30px -22px; z-index: -3; background: url('favole-c/clouds-c.webp') center 26% / cover; mask-image: linear-gradient(to bottom, transparent 0%, #000 24%, #000 100%); -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 24%, #000 100%); opacity: .98; }
#app:has(> .fc-on) .fc-hero-masthead { position: relative; display: flex; align-items: flex-start; justify-content: center; gap: 9px; padding: 12px 20px 0; z-index: 5; }
#app:has(> .fc-on) .fc-brand-button { position: absolute; top: 12px; left: 21px; width: 32px; height: 32px; border: 0; background: transparent; padding: 0; }
#app:has(> .fc-on) .fc-brand-button img { width: 100%; height: 100%; object-fit: contain; }
#app:has(> .fc-on) .fc-header-info { position: absolute; top: 12px; right: 19px; width: 31px; height: 31px; background: rgba(255,250,242,.89); border: 1px solid rgba(255,255,255,.42); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--fc-blue); }
#app:has(> .fc-on) .fc-header-info .fc-icon { width: 19px; height: 19px; }
#app:has(> .fc-on) .fc-hero-titles { text-align: center; width: 100%; }
#app:has(> .fc-on) .fc-hero-titles h1 { margin: 7px auto 0; width: min(304px, 86%); }
#app:has(> .fc-on) .fc-hero-titles h1 img { display: block; width: 100%; height: auto; }
#app:has(> .fc-on) .fc-hero-titles h1 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: clamp(32px,10.4vw,44px); letter-spacing: -.01em; line-height: .76; color: var(--fc-blue); -webkit-text-stroke: .55px; }
#app:has(> .fc-on) .fc-title-line { display: block; white-space: nowrap; }
#app:has(> .fc-on) .fc-edition { margin: 7px 0 0; font-size: 12px; font-weight: 800; line-height: 1.2; letter-spacing: .035em; color: var(--fc-blue); }
#app:has(> .fc-on) .fc-direction { margin: 5px auto 0; font-size: 10px; line-height: 1.35; font-weight: 600; color: var(--fc-blue); }
#app:has(> .fc-on) .fc-direction span { font-weight: 650; }
#app:has(> .fc-on) .fc-hero-house { position: absolute; z-index: -1; width: 170px; max-width: none; height: auto; right: -1px; top: 114px; transform: rotate(1deg); }
#app:has(> .fc-on) .fc-hero-venue { position: absolute; left: 25px; top: 202px; z-index: 3; color: var(--fc-blue); }
#app:has(> .fc-on) .fc-hero-venue > p { font-size: 11px; line-height: 1.45; font-weight: 500; margin: 0 0 14px; text-shadow: 0 1px 6px rgba(255,242,230,.8); }
#app:has(> .fc-on) .fc-hero-venue strong { font-weight: 750; }
#app:has(> .fc-on) .fc-hero-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 11px; min-height: 37px; padding: 0 16px; border-radius: 22px; background: var(--fc-blue); border: 1px solid rgba(255,248,240,.34); color: #fff8f1; font-size: 11.5px; font-weight: 650; box-shadow: 0 5px 10px rgba(97,30,78,.09); }
#app:has(> .fc-on) .fc-hero-cta .fc-icon { width: 19px; height: 19px; }
#app:has(> .fc-on) .fc-clouds-front { position: absolute; height: 84px; left: -35px; right: -40px; bottom: -38px; z-index: 2; background: url('favole-c/cloud-bank-c.webp') center 58% / 100% auto; mask-image: linear-gradient(to bottom, transparent 0%, #000 42%, #000 100%); -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 42%, #000 100%); opacity: .72; pointer-events: none; }
#app:has(> .fc-on) .fc-quick-nav { position: relative; z-index: 8; display: flex; margin: -32px 7px 0; padding: 11px 3px 9px; min-height: 61px; justify-content: space-around; align-items: center; background: rgba(255,249,245,.94); border: 1px solid rgba(255,255,255,.58); border-radius: 17px 17px 12px 12px; box-shadow: 0 9px 18px rgba(152,75,83,.035); }
#app:has(> .fc-on) .fc-quick-nav button { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: var(--fc-blue); background: none; border: 0; font-size: 9px; line-height: 1.2; min-height: 39px; padding: 0 2px; }
#app:has(> .fc-on) .fc-quick-nav .fc-icon { width: 20px; height: 20px; }
#app:has(> .fc-on) .fc-main { width: 100%; padding: 0 !important; flex: 1 0 auto; }
#app:has(> .fc-on) .fc-programme { padding: 17px 12px 7px; background: linear-gradient(180deg, #fff6f1 0%, #fff8f3 40%, #fff6f1 100%); border-radius: 22px 22px 0 0; }
#app:has(> .fc-on) .fc-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 12px; }
#app:has(> .fc-on) .fc-section-heading h2 { font-size: 16px; line-height: 1.25; letter-spacing: -.025em; font-weight: 800; margin: 0; color: var(--fc-blue); }
#app:has(> .fc-on) .fc-section-heading > button { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 5px 0 5px 5px; font-size: 10px; font-weight: 500; color: var(--fc-blue); white-space: nowrap; }
#app:has(> .fc-on) .fc-section-heading .fc-icon { width: 15px; height: 15px; }
#app:has(> .fc-on) .fc-event-list { display: flex; flex-direction: column; gap: 8px; scroll-margin-top: 15px; }
#app:has(> .fc-on) .fc-event { width: 100%; min-width: 0; display: grid; grid-template-columns: 127px minmax(0,1fr) 28px; align-items: center; gap: 9px; padding: 0 8px 0 0; text-align: left; color: var(--fc-blue); border-radius: 15px; border: 0; background: rgba(255,253,249,.86); box-shadow: 0 5px 16px rgba(124,68,91,.045); overflow: hidden; transition: box-shadow .16s ease, transform .16s ease; }
#app:has(> .fc-on) .fc-event:disabled { opacity: .7; }
#app:has(> .fc-on) .fc-event:hover:not(:disabled) { box-shadow: 0 7px 20px rgba(77,45,111,.12); }
#app:has(> .fc-on) .fc-event-image { display: block; position: relative; align-self: stretch; min-height: 88px; border-radius: 14px; overflow: hidden; background: #f6aba7 url('favole-c/poster-detail-1.webp') center center / cover; }
#app:has(> .fc-on) .fc-art-1 .fc-event-image { background-image: url('favole-c/poster-detail-2.webp'); }
#app:has(> .fc-on) .fc-art-2 .fc-event-image { background-image: url('favole-c/poster-detail-3.webp'); }
#app:has(> .fc-on) .fc-event-image > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#app:has(> .fc-on) .fc-event-image > img[hidden] { display: none; }
#app:has(> .fc-on) .fc-date { position: absolute; top: 6px; left: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 5px 4px; min-width: 36px; min-height: 55px; background: #fff9f1; border-radius: 10px; color: var(--fc-blue); box-shadow: 0 2px 7px rgba(36,29,91,.045); text-transform: uppercase; }
#app:has(> .fc-on) .fc-date > span { font-size: 8px; line-height: 1.18; font-weight: 750; }
#app:has(> .fc-on) .fc-date strong { font-size: 21px; line-height: 1.18; font-weight: 850; letter-spacing: -.04em; }
#app:has(> .fc-on) .fc-event-copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 8px 0 7px; }
#app:has(> .fc-on) .fc-company { display: block; margin: 0 0 3px; font-size: 9px; line-height: 1.3; font-weight: 600; color: #3742b4; overflow-wrap: anywhere; }
#app:has(> .fc-on) .fc-event-title { display: block; width: 100%; font-family: 'Poppins', sans-serif; font-size: 12px; line-height: 1.16; font-weight: 700; -webkit-text-stroke: .1px; letter-spacing: -.03em; text-transform: uppercase; color: var(--fc-blue); overflow-wrap: anywhere; }
#app:has(> .fc-on) .fc-event-subtitle { font-weight: 750; }
#app:has(> .fc-on) .fc-cast { font-size: 9px; margin-top: 3px; line-height: 1.35; color: #62617c; }
#app:has(> .fc-on) .fc-event-meta { display: block; width: 100%; margin-top: 4px; font-size: 8.9px; line-height: 1.33; font-weight: 450; letter-spacing: -.01em; color: #474c89; overflow-wrap: anywhere; }
#app:has(> .fc-on) .fc-event-bottom { display: flex; align-items: center; flex-wrap: wrap; column-gap: 7px; row-gap: 3px; margin-top: 7px; font-size: 8.8px; line-height: 1.2; }
#app:has(> .fc-on) .fc-time { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
#app:has(> .fc-on) .fc-time .fc-icon { width: 12px; height: 12px; }
#app:has(> .fc-on) .fc-availability { display: inline-flex; align-items: center; gap: 4px; color: #386e58; font-size: 8px; line-height: 1.25; font-weight: 550; }
#app:has(> .fc-on) .fc-availability::before { content: ''; flex: 0 0 auto; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
#app:has(> .fc-on) .fc-availability[data-state='ultimi'], #app:has(> .fc-on) .fc-availability[data-state='attesa'] { color: #945212; }
#app:has(> .fc-on) .fc-availability[data-state='esaurito'] { color: #a73a48; }
#app:has(> .fc-on) .fc-availability[data-state='chiuso'] { color: #686372; }
#app:has(> .fc-on) .fc-event-arrow { width: 26px; height: 29px; display: flex; align-items: center; justify-content: center; background: #ffe6df; border-radius: 50%; color: #283eb8; }
#app:has(> .fc-on) .fc-event-arrow .fc-icon { width: 17px; height: 17px; stroke-width: 2; }
#app:has(> .fc-on) .fc-extra-links { display: flex; flex-wrap: wrap; gap: 14px; padding: 18px 1px 0; font-size: 11px; }
#app:has(> .fc-on) .fc-season-info { display: flex; gap: 10px; align-items: center; padding: 26px 1px 16px; font-size: 10px; line-height: 1.55; color: #67617b; }
#app:has(> .fc-on) .fc-season-info img { align-self: flex-start; }
#app:has(> .fc-on) .fc-season-info strong { color: var(--fc-blue); font-size: 10px; font-weight: 650; }
#app:has(> .fc-on) .fc-season-info button { margin-left: auto; display: flex; gap: 5px; align-items: center; font-size: 10px; color: var(--fc-blue); }
#app:has(> .fc-on) .fc-season-info .fc-icon { width: 15px; height: 15px; }
#app:has(> .fc-on) .fc-legacy-footer { font-size: 10px; margin: 0; padding-top: 0; }
#app:has(> .fc-on) .fc-legacy-footer img:not([src]), #app:has(> .fc-on) .fc-legacy-footer img[src=''] { display: none; }
#app:has(> .fc-on) .fc-bottom-nav { position: fixed; z-index: 88; display: flex; justify-content: space-around; align-items: flex-start; gap: 0; height: calc(76px + env(safe-area-inset-bottom, 0px)); width: min(100%, 480px); bottom: 0; left: 50%; transform: translateX(-50%); border-radius: 24px 24px 0 0; background: rgba(255,248,242,.98); box-shadow: 0 -5px 20px rgba(131,73,91,.06); border-top: 1px solid rgba(255,255,255,.95); padding: 10px 9px env(safe-area-inset-bottom, 0px); color: var(--fc-blue); }
#app:has(> .fc-on) .fc-bottom-nav > button { flex: 1 1 0; min-width: 0; min-height: 49px; padding: 0 2px; display: flex; align-items: center; justify-content: flex-start; flex-direction: column; gap: 5px; background: transparent; border: 0; color: var(--fc-blue); font-size: 8.5px; font-weight: 500; line-height: 1.2; }
#app:has(> .fc-on) .fc-bottom-nav .fc-icon { width: 23px; height: 23px; }
#app:has(> .fc-on) .fc-bottom-nav > button.fc-active { font-weight: 800; }
#app:has(> .fc-on) .fc-bottom-nav .fc-active .fc-icon { fill: var(--fc-blue); }
#app:has(> .fc-on) .fc-bottom-nav > .fc-central-button { margin-top: -16px; flex: 1.15 1 0; }
#app:has(> .fc-on) .fc-spiral-disc { width: 68px; height: 68px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--fc-blue); border: 4px solid #fff6f0; box-shadow: 0 -1px 5px rgba(50,44,128,.07); }
#app:has(> .fc-on) .fc-spiral-disc img { width: 52px; height: 52px; object-fit: contain; transform: rotate(-8deg); }
#app:has(> .fc-on) .fc-mini-wordmark { display: inline-block; text-align: center; font-family: 'Poppins',sans-serif; font-weight: 700; color: var(--fc-blue); font-size: 18px; line-height: .95; letter-spacing: -.025em; -webkit-text-stroke: .2px; }
#app:has(> .fc-on) .fc-loader .fc-mini-wordmark { font-size: 28px; }
#app:has(> .fc-on) .fc-small-brand { display: flex; justify-content: center; align-items: center; gap: 13px; padding: 20px 20px 15px; background: #f9c5bc url('favole-c/sky-poster.webp') center / cover; }
#app:has(> .fc-on) .fc-detail { padding: 0; background: #fff7f1; }
#app:has(> .fc-on) .fc-detail-cover { position: relative; aspect-ratio: 1.4; background: #f6aaa5 url('favole-c/c-sky-isolated.webp') center / cover; overflow: hidden; }
#app:has(> .fc-on) .fc-detail-photo { display: block; width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
#app:has(> .fc-on) .fc-detail-photo[hidden] { display: none; }
#app:has(> .fc-on) .fc-detail-fallback { width: 52%; height: auto; position: absolute; right: 8%; top: 5%; }
#app:has(> .fc-on) .fc-detail-back, #app:has(> .fc-on) .fc-detail-share { width: 34px; height: 34px; position: absolute; top: 16px; left: 16px; color: var(--fc-blue); background: rgba(255,247,238,.93); border: 1px solid rgba(255,255,255,.45); border-radius: 50%; display: flex; justify-content: center; align-items: center; z-index: 2; }
#app:has(> .fc-on) .fc-detail-share { left: auto; right: 16px; }
#app:has(> .fc-on) .fc-detail-back .fc-icon, #app:has(> .fc-on) .fc-detail-share .fc-icon { width: 19px; height: 19px; }
#app:has(> .fc-on) .fc-detail-content { position: relative; padding: 18px 20px 25px; margin-top: -15px; background: #fff7f1; border-radius: 18px 18px 0 0; }
#app:has(> .fc-on) .fc-detail-heading { display: flex; align-items: flex-start; gap: 11px; }
#app:has(> .fc-on) .fc-detail-date { position: static; min-width: 41px; min-height: 65px; border-radius: 9px; background: #ffeae0; box-shadow: none; }
#app:has(> .fc-on) .fc-detail-date strong { font-size: 24px; }
#app:has(> .fc-on) .fc-detail-date span { font-size: 8px; }
#app:has(> .fc-on) .fc-detail-heading > div:last-child { flex: 1; min-width: 0; }
#app:has(> .fc-on) .fc-detail .fc-company { font-size: 10px; margin-bottom: 5px; }
#app:has(> .fc-on) .fc-detail-heading h1 { color: var(--fc-blue); font-size: 19px; line-height: 1.12; letter-spacing: -.035em; font-weight: 850; text-transform: uppercase; margin: 0; overflow-wrap: anywhere; }
#app:has(> .fc-on) .fc-detail-subtitle { font-size: 14px; font-weight: 600; line-height: 1.3; margin: 5px 0 0; }
#app:has(> .fc-on) .fc-detail-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; padding: 18px 0 13px; font-size: 11px; }
#app:has(> .fc-on) .fc-detail-meta span { display: inline-flex; align-items: center; gap: 6px; }
#app:has(> .fc-on) .fc-detail-meta .fc-icon { width: 16px; height: 16px; }
#app:has(> .fc-on) .fc-detail-genre, #app:has(> .fc-on) .fc-detail-cast { font-size: 11px; line-height: 1.45; color: #5c5580; margin-bottom: 7px; }
#app:has(> .fc-on) .fc-detail-description { white-space: pre-line; font-size: 12px; line-height: 1.65; color: #42446b; margin: 13px 0 20px; }
#app:has(> .fc-on) .fc-detail-price { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12px; margin-top: 16px; margin-bottom: 15px; }
#app:has(> .fc-on) .fc-detail-price .fc-availability { margin-left: auto; font-size: 10px; }
#app:has(> .fc-on) .fc-detail-service, #app:has(> .fc-on) .fc-wait-note { font-size: 11px; line-height: 1.5; color: #5f5872; margin: 10px 0; }
#app:has(> .fc-on) .fc-book-button { display: flex; width: 100%; min-height: 45px; align-items: center; justify-content: center; gap: 15px; border: 0; border-radius: 13px; padding: 12px 14px; font-size: 13px; line-height: 1.35; font-weight: 700; color: #fff9f1; background: var(--fc-blue); }
#app:has(> .fc-on) .fc-book-button:disabled { opacity: .5; }
#app:has(> .fc-on) .fc-book-button .fc-icon { width: 18px; height: 18px; }
#app:has(> .fc-on) .fc-soldout { border: 1px solid #e8c7c5; border-radius: 13px; background: #fff0e9; padding: 15px; font-size: 12px; color: #924156; }
#app:has(> .fc-on) .fc-soldout p { margin: 6px 0 0; font-size: 11px; }
#app:has(> .fc-on) .fc-empty { padding: 35px 20px; font-size: 13px; text-align: center; }
/* Original forms/receipts keep every binding, validation and submit handler. */
#app:has(> .fc-on) [data-ed='formPrenotazione.riquadroBiglietti'] { background: #fff0e7 !important; border-color: #eed8d3 !important; }
#app:has(> .fc-on) [data-ed='formPrenotazione.titoloSezione'] { color: #373b91 !important; }
#app:has(> .fc-on) [data-ed='formPrenotazione.avviso'] { border-color: #ecd6c4 !important; }
#app:has(> .fc-on) .fc-bottom-nav { background: rgba(255,248,242,.995); }

#app:has(> .fc-on) .fc-main > section:not(.fc-new) { margin: 0 auto; max-width: 540px; padding: 18px; }
#app:has(> .fc-on) .fc-main > section:not(.fc-new) :is(h2,h3) { font-family: 'Plus Jakarta Sans', sans-serif; letter-spacing: -.015em; }
#app:has(> .fc-on) .fc-main > section:not(.fc-new) [data-ed='formPrenotazione.titolo'] { font-size: 20px !important; color: var(--fc-blue) !important; }
#app:has(> .fc-on) .fc-main > section:not(.fc-new) :is(input,select,textarea) { color: #383453; background-color: #fffcf8; border-color: #e4d6d5; }
#app:has(> .fc-on) .fc-main > section:not(.fc-new) :is(input[type='text'],input[type='tel'],input[type='email'],select,textarea) { font-size: 16px !important; border-radius: 10px; }
#app:has(> .fc-on) .fc-main > section:not(.fc-new) [data-ed='formPrenotazione.bottoneInvio'] { background: var(--fc-blue) !important; color: #fff8f0 !important; border-radius: 13px !important; }
#app:has(> .fc-on) .tm-sheet { background: #fff8f2 !important; color: #38345d; border-color: #edddd8; border-radius: 23px 23px 0 0; padding-bottom: calc(95px + env(safe-area-inset-bottom,0px)); }
#app:has(> .fc-on) .tm-sheet :is(.archeo-title,[data-ed='bottomSheet.titolo']) { font-family: 'Plus Jakarta Sans', sans-serif; letter-spacing: 0; color: var(--fc-blue) !important; }
#app:has(> .fc-on) .tm-popup-pannello { background: #fff9f4 !important; color: #38345d !important; border-radius: 20px !important; }
#app:has(> .fc-on) .tm-popup-pannello [data-ed='menuOverlay.titolo'] { font-family: 'Plus Jakarta Sans', sans-serif; letter-spacing: -.01em; color: var(--fc-blue) !important; }
#app:has(> .fc-on) .fc-loader { position: fixed; z-index: 110; inset: 0; background: #fff5ef; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 25px; color: var(--fc-blue); }
#app:has(> .fc-on) .fc-loader p { font-size: 12px; text-align: center; max-width: 270px; }
#app:has(> .fc-on) .fc-loader-spinner { height: 22px; width: 22px; border: 2px solid #f5bab0; border-top-color: var(--fc-blue); border-radius: 50%; animation: fc-turn 1s linear infinite; }

/* The existing swipe handler appends a preview to body. Style its presentation only. */
body:has(#app > .fc-on) #tm-car-preview { background: #fff7f1 !important; color: #2b32a3; padding: 0 0 85px !important; display: flex; flex-direction: column; font-family: 'Plus Jakarta Sans', sans-serif; }
body:has(#app > .fc-on) #tm-car-preview > div:first-child { position: absolute; top: 16px; left: 16px; z-index: 2; }
body:has(#app > .fc-on) #tm-car-preview > div:first-child span { font-size: 0 !important; border-radius: 50% !important; width: 34px; height: 34px; align-items: center; justify-content: center; background: #fff7f1 !important; color: #2b32a3 !important; }
body:has(#app > .fc-on) #tm-car-preview > div:first-child span::before { content: '‹'; font-size: 28px; line-height: 1; }
body:has(#app > .fc-on) #tm-car-preview > div:has(img) { order: -2; border: 0 !important; border-radius: 0 !important; margin: 0 !important; aspect-ratio: 1.4 !important; }
body:has(#app > .fc-on) #tm-car-preview:not(:has(img))::before { content: ''; display: block; order: -2; width: 100%; aspect-ratio: 1.4; background: url('favole-c/house.svg') 90% 0 / 52% auto no-repeat, url('favole-c/c-sky-isolated.webp') center / cover; }
body:has(#app > .fc-on) #tm-car-preview > div:nth-child(2), body:has(#app > .fc-on) #tm-car-preview > div:last-child { border: 0 !important; border-radius: 0 !important; background: #fff7f1 !important; box-shadow: none !important; margin: 0 !important; padding: 20px !important; }
body:has(#app > .fc-on) #tm-car-preview h2 { color: #2b32a3 !important; font-family: 'Poppins', sans-serif; font-size: 19px !important; line-height: 1.15 !important; }
body:has(#app > .fc-on) #tm-car-preview p { color: #555280 !important; }
body:has(#app > .fc-on) #tm-car-preview > div:last-child > div { background: #2b32a3 !important; border-radius: 13px !important; color: #fff7f1 !important; }

@keyframes fc-turn { to { transform: rotate(360deg); } }
@media (min-width: 430px) and (max-width: 767px) {
  #app:has(> .fc-on) .fc-hero { height: 399px; }
  #app:has(> .fc-on) .fc-hero-house { width: 190px; right: 1px; top: 126px; }
  #app:has(> .fc-on) .fc-hero-venue { top: 222px; }
  #app:has(> .fc-on) .fc-hero-titles h1 { width: 303px; }
  #app:has(> .fc-on) .fc-event { grid-template-columns: 123px minmax(0,1fr) 28px; gap: 10px; }
  #app:has(> .fc-on) .fc-event-title { font-size: 13px; }
  #app:has(> .fc-on) .fc-company { font-size: 9.7px; }
  #app:has(> .fc-on) .fc-event-meta { font-size: 9.7px; }
}
@media (max-width: 359px) {
  #app:has(> .fc-on) .fc-hero-masthead { padding: 27px 10px 0; }
  #app:has(> .fc-on) .fc-hero-titles h1 { width: 253px; }
  #app:has(> .fc-on) .fc-brand-button { left: 17px; top: 19px; width: 27px; height: 27px; }
  #app:has(> .fc-on) .fc-header-info { right: 17px; top: 19px; width: 27px; height: 27px; }
  #app:has(> .fc-on) .fc-edition { font-size: 10.5px; }
  #app:has(> .fc-on) .fc-direction { font-size: 9px; }
  #app:has(> .fc-on) .fc-hero { height: 345px; }
  #app:has(> .fc-on) .fc-hero-house { width: 184px; top: 126px; right: -12px; }
  #app:has(> .fc-on) .fc-hero-venue { left: 19px; top: 203px; }
  #app:has(> .fc-on) .fc-hero-venue p { font-size: 10px; }
  #app:has(> .fc-on) .fc-hero-cta { font-size: 10px; padding: 0 11px; }
  #app:has(> .fc-on) .fc-programme { padding-left: 13px; padding-right: 13px; }
  #app:has(> .fc-on) .fc-section-heading h2 { font-size: 14px; }
  #app:has(> .fc-on) .fc-event { grid-template-columns: 91px minmax(0,1fr) 20px; gap: 7px; padding-right: 6px; }
  #app:has(> .fc-on) .fc-event-title { font-size: 10.7px; }
  #app:has(> .fc-on) .fc-company { font-size: 8px; }
  #app:has(> .fc-on) .fc-event-meta { font-size: 8px; }
  #app:has(> .fc-on) .fc-event-arrow { width: 21px; height: 25px; }
  #app:has(> .fc-on) .fc-event-bottom { font-size: 8px; column-gap: 4px; }
  #app:has(> .fc-on) .fc-availability { font-size: 7px; }
}
@media (min-width: 768px) {
  #app:has(> .fc-on) { max-width: 1160px; margin-top: 0; padding-bottom: 100px; }
  #app:has(> .fc-on) .fc-hero { height: 446px; }
  #app:has(> .fc-on) .fc-hero-masthead { width: 58%; padding-top: 60px; margin-left: 2%; }
  #app:has(> .fc-on) .fc-hero-titles h1 { width: 470px; margin-top: 10px; font-size: 49px; -webkit-text-stroke: .7px; }
  #app:has(> .fc-on) .fc-brand-button { top: 28px; left: 21px; width: 34px; height: 34px; }
  #app:has(> .fc-on) .fc-header-info { top: 28px; left: 68px; right: auto; }
  #app:has(> .fc-on) .fc-edition { font-size: 16px; margin-top: 12px; }
  #app:has(> .fc-on) .fc-direction { font-size: 12px; margin-top: 7px; }
  #app:has(> .fc-on) .fc-hero-house { width: 307px; top: 16px; right: 12%; transform: rotate(0); }
  #app:has(> .fc-on) .fc-hero-venue { top: 280px; left: 13%; }
  #app:has(> .fc-on) .fc-hero-venue p { font-size: 14px; }
  #app:has(> .fc-on) .fc-hero-cta { min-height: 42px; font-size: 13px; }
  #app:has(> .fc-on) .fc-clouds-back { display: block; inset: 50px -20px -130px -20px; background-size: cover; }
  #app:has(> .fc-on) .fc-clouds-front { height: 190px; bottom: -52px; background-size: 100% auto; background-repeat: no-repeat; }
  #app:has(> .fc-on) .fc-quick-nav { width: calc(100% - 88px); max-width: 650px; margin-left: auto; margin-right: auto; padding: 15px 12px; margin-top: -32px; }
  #app:has(> .fc-on) .fc-quick-nav button { font-size: 11px; }
  #app:has(> .fc-on) .fc-quick-nav .fc-icon { width: 22px; height: 22px; }
  #app:has(> .fc-on) .fc-programme { padding: 30px 44px; }
  #app:has(> .fc-on) .fc-section-heading { margin-bottom: 22px; }
  #app:has(> .fc-on) .fc-section-heading h2 { font-size: 26px; }
  #app:has(> .fc-on) .fc-section-heading > button { font-size: 12px; }
  #app:has(> .fc-on) .fc-event-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 20px; }
  #app:has(> .fc-on) .fc-event { grid-template-columns: 130px minmax(0,1fr) 30px; gap: 12px; }
  #app:has(> .fc-on) .fc-event-image { min-height: 139px; }
  #app:has(> .fc-on) .fc-event-title { font-size: 16px; }
  #app:has(> .fc-on) .fc-company { font-size: 12px; }
  #app:has(> .fc-on) .fc-event-meta { font-size: 11.5px; }
  #app:has(> .fc-on) .fc-event-bottom { font-size: 11px; }
  #app:has(> .fc-on) .fc-availability { font-size: 10px; }
  #app:has(> .fc-on) .fc-bottom-nav { width: 480px; border-radius: 23px; bottom: 12px; height: 70px; }
  #app:has(> .fc-on) .fc-bottom-nav > button { font-size: 9px; }
  #app:has(> .fc-on) .fc-detail { display: grid; grid-template-columns: 1.1fr 1fr; max-width: 1020px; margin: 45px auto; border-radius: 22px; overflow: hidden; }
  #app:has(> .fc-on) .fc-detail-cover { aspect-ratio: auto; min-height: 520px; }
  #app:has(> .fc-on) .fc-detail-content { padding: 34px; margin: 0; border-radius: 0; }
  #app:has(> .fc-on) .fc-detail-heading h1 { font-size: 24px; }
  #app:has(> .fc-on) .fc-detail-fallback { width: 62%; top: 12%; right: 9%; }
  #app:has(> .fc-on) .fc-detail-description { font-size: 14px; }
  #app:has(> .fc-on) .fc-small-brand { padding: 28px; }
  #app:has(> .fc-on) .fc-season-info { padding-top: 32px; }
}
@media (min-width: 768px) and (max-width: 950px) {
  #app:has(> .fc-on) .fc-programme { padding-left: 24px; padding-right: 24px; }
  #app:has(> .fc-on) .fc-event { grid-template-columns: 99px minmax(0,1fr) 25px; gap: 8px; }
  #app:has(> .fc-on) .fc-event-title { font-size: 12px; }
  #app:has(> .fc-on) .fc-hero-house { right: 4%; width: 255px; top: 70px; }
  #app:has(> .fc-on) .fc-hero-titles h1 { width: 380px; font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  #app:has(> .fc-on) *, #app:has(> .fc-on) *::before, #app:has(> .fc-on) *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print { #app:has(> .fc-on) .fc-bottom-nav, #app:has(> .fc-on) .fc-quick-nav { display: none !important; } #app:has(> .fc-on) { max-width: none; padding: 0; } }
