:root {
  --fr-ink: #f7f2e8;
  --fr-muted: #b7afa2;
  --fr-bg: #11151b;
  --fr-panel: #1a2028;
  --fr-panel-2: #222b35;
  --fr-line: rgba(247, 242, 232, .16);
  --fr-accent: #ffbf47;
  --fr-accent-2: #e95d3f;
  --fr-green: #9ad7a1;
  --fr-radius: 20px;
  --fr-font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.fuori-rotta-home-banner { width: min(var(--home-feature-max-width, 1120px), calc(100% - (var(--home-feature-gutter, 24px) * 2))); margin: 30px auto 34px; overflow: hidden; border: 1px solid rgba(255,191,71,.35); border-radius: 24px; background: linear-gradient(112deg, #191b22 0%, #2c1d1d 52%, #7a3524 100%); color: var(--fr-ink); box-shadow: 0 18px 42px rgba(39,25,11,.2); }
.fuori-rotta-home-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 25px; padding: clamp(22px,4vw,42px) clamp(20px,5vw,54px); }
.fuori-rotta-home-copy { max-width: 690px; }
.fuori-rotta-kicker, .fr-page-kicker { margin: 0 0 8px; color: var(--fr-accent); font-size: .72rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.fuori-rotta-home-copy h2 { max-width: 12ch; margin: 0; font: 900 clamp(2.1rem,5.5vw,4.8rem)/.9 Georgia,serif; letter-spacing: -.045em; }
.fuori-rotta-home-copy h2 strong { color: var(--fr-accent); font-weight: 900; }
.fuori-rotta-home-copy p:last-child { max-width: 53ch; margin: 16px 0 0; color: rgba(247,242,232,.78); font-size: clamp(.92rem,1.5vw,1.05rem); line-height: 1.55; }
.fuori-rotta-home-cta, .fr-action, .fr-surprise, .fr-close { min-height: 46px; padding: 0 16px; border: 1px solid var(--fr-accent); border-radius: 11px; background: transparent; color: var(--fr-ink); font-weight: 850; cursor: pointer; transition: transform .16s ease, background .16s ease, color .16s ease; }
.fuori-rotta-home-cta { display: inline-flex; align-items: center; gap: 18px; min-width: 215px; justify-content: space-between; background: var(--fr-accent); color: #1b170f; }
.fuori-rotta-home-cta:hover, .fr-action:hover, .fr-surprise:hover, .fr-close:hover { transform: translateY(-2px); }
.fuori-rotta-home-cta:hover, .fr-action-primary:hover, .fr-surprise:hover { background: #ffd77b; color: #1b170f; }
.fuori-rotta-home-cta:focus-visible, .fr-action:focus-visible, .fr-surprise:focus-visible, .fr-close:focus-visible, .fr-filter select:focus-visible, .fr-stops button:focus-visible { outline: 3px solid rgba(255,191,71,.55); outline-offset: 3px; }

.fuori-rotta-page { min-height: 100vh; padding: clamp(22px,4vw,54px) clamp(14px,4vw,46px) 76px; background: radial-gradient(90% 50% at 50% 0%, rgba(233,93,63,.18), transparent 64%), var(--fr-bg); color: var(--fr-ink); }
.fuori-rotta-page[hidden] { display: none !important; }
.fuori-rotta-shell { width: min(1220px,100%); margin: 0 auto; }
.fr-page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; margin-bottom: 28px; }
.fr-page-head h1 { max-width: 13ch; margin: 0; font: 900 clamp(2.45rem,7vw,6rem)/.86 Georgia,serif; letter-spacing: -.06em; }
.fr-page-head h1 span { color: var(--fr-accent); }
.fr-page-lead { max-width: 58ch; margin: 16px 0 0; color: var(--fr-muted); font-size: 1rem; line-height: 1.6; }
.fr-close { border-color: var(--fr-line); background: rgba(255,255,255,.04); white-space: nowrap; }
.fr-toolbar { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)) auto; gap: 10px; align-items: end; margin-bottom: 18px; padding: 14px; border: 1px solid var(--fr-line); border-radius: 16px; background: rgba(255,255,255,.045); }
.fr-filter { display: grid; gap: 7px; color: var(--fr-muted); font-size: .68rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.fr-filter select { width: 100%; min-height: 44px; padding: 0 10px; border: 1px solid var(--fr-line); border-radius: 9px; background: var(--fr-panel); color: var(--fr-ink); font-size: .83rem; letter-spacing: 0; text-transform: none; cursor: pointer; }
.fr-filter select.is-changing { border-color: var(--fr-accent); box-shadow: 0 0 0 3px rgba(255,191,71,.14); }
.fr-surprise { background: var(--fr-accent-2); border-color: var(--fr-accent-2); color: #fff; white-space: nowrap; }
.fr-search-status { min-height: 24px; margin: -5px 0 14px; color: var(--fr-accent); font-size: .78rem; font-weight: 800; letter-spacing: .02em; }
.fr-search-status::before { content: ''; display: inline-block; width: 7px; height: 7px; margin: 0 8px 1px 0; border-radius: 50%; background: var(--fr-accent-2); animation: fr-pulse .8s ease-in-out infinite alternate; }
@keyframes fr-pulse { from { opacity: .35; transform: scale(.8); } to { opacity: 1; transform: scale(1.15); } }
.fr-results-head { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; margin: 0 0 13px; }
.fr-results-head h2 { margin: 0; font: 900 1.55rem/1 Georgia,serif; }
.fr-results-count { color: var(--fr-muted); font-size: .78rem; font-weight: 800; }
.fr-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.fr-card { min-width: 0; padding: 20px; border: 1px solid var(--fr-line); border-radius: var(--fr-radius); background: linear-gradient(155deg,rgba(34,43,53,.95),rgba(22,27,34,.98)); box-shadow: 0 18px 34px rgba(0,0,0,.17); }
.fr-card-loading { min-height: 340px; display: grid; align-content: start; gap: 14px; background: linear-gradient(100deg, rgba(255,255,255,.06) 20%, rgba(255,255,255,.12) 40%, rgba(255,255,255,.06) 60%); background-size: 220% 100%; animation: fr-shimmer 1.1s linear infinite; }
.fr-card-loading span { display: block; height: 13px; width: 74%; border-radius: 99px; background: rgba(247,242,232,.12); }
.fr-card-loading span:first-child { width: 38%; height: 10px; margin-top: 4px; }
.fr-card-loading span:nth-child(3) { width: 92%; height: 92px; margin-top: 16px; }
.fr-card-loading span:last-child { width: 52%; margin-top: 8px; }
@keyframes fr-shimmer { to { background-position: -220% 0; } }
.fr-card-head { display: flex; align-items: flex-start; }
.fr-card-strap { margin: 0 0 5px; color: var(--fr-accent); font-size: .68rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.fr-card h2 { margin: 0; font: 900 clamp(1.45rem,3vw,2.25rem)/.95 Georgia,serif; letter-spacing: -.035em; }
.fr-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 15px 0 13px; }
.fr-tags span { padding: 5px 8px; border: 1px solid rgba(154,215,161,.28); border-radius: 999px; color: var(--fr-green); font-size: .65rem; font-weight: 850; }
.fr-card-pitch { min-height: 50px; margin: 0; color: rgba(247,242,232,.86); font-size: .92rem; line-height: 1.55; }
.fr-card-facts { display: grid; grid-template-columns: repeat(4,1fr); gap: 7px; margin: 17px 0; padding: 10px 0; border-top: 1px solid var(--fr-line); border-bottom: 1px solid var(--fr-line); }
.fr-card-facts div { display: grid; gap: 4px; min-width: 0; }
.fr-card-facts span { color: var(--fr-muted); font-size: .6rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.fr-card-facts strong { overflow: hidden; color: var(--fr-ink); font-size: .77rem; text-overflow: ellipsis; white-space: nowrap; }
.fr-card-body { display: grid; gap: 15px; }
.fr-card-body section { margin: 0; }
.fr-card-body h3 { margin: 0 0 5px; color: var(--fr-accent); font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.fr-card-body p { margin: 0; color: var(--fr-muted); font-size: .82rem; line-height: 1.5; }
.fr-stops { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.fr-stop-block { margin: 0; padding-bottom: 10px; border-bottom: 1px solid rgba(247,242,232,.08); }
.fr-stop-block:last-child { padding-bottom: 0; border-bottom: 0; }
.fr-stops button { display: flex; align-items: center; gap: 9px; width: 100%; padding: 5px 0; border: 0; background: none; color: var(--fr-ink); text-align: left; cursor: pointer; }
.fr-stops button b { display: grid; place-items: center; flex: 0 0 24px; width: 24px; height: 24px; border: 1px solid rgba(255,191,71,.55); border-radius: 50%; color: var(--fr-accent); font-size: .7rem; }
.fr-stops button span { display: grid; gap: 2px; }
.fr-stops button strong { font-size: .82rem; }
.fr-stops button small { color: var(--fr-muted); font-size: .68rem; }
.fr-highlights { display: grid; gap: 3px; margin: 4px 0 0 33px; padding: 0; color: rgba(247,242,232,.78); font-size: .75rem; line-height: 1.4; list-style: none; }
.fr-highlights li::before { content: '•'; margin-right: 6px; color: var(--fr-accent); }
.fr-between { display: grid; gap: 3px; margin: -3px 0 0 33px; padding: 8px 10px; border-left: 2px solid var(--fr-accent-2); background: rgba(233,93,63,.07); }
.fr-between span { color: var(--fr-accent-2); font-size: .62rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.fr-between p { font-size: .75rem; }
.fr-practical { padding: 10px 11px; border-left: 3px solid var(--fr-accent-2); background: rgba(233,93,63,.08); }
.fr-card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.fr-action { min-height: 42px; padding: 0 12px; border-color: var(--fr-line); background: rgba(255,255,255,.06); font-size: .76rem; }
.fr-action-primary { border-color: var(--fr-accent); background: var(--fr-accent); color: #1b170f; }
.fr-sources { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; padding-top: 12px; border-top: 1px solid var(--fr-line); color: var(--fr-muted); font-size: .68rem; line-height: 1.35; }
.fr-sources span { width: 100%; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.fr-sources a { color: var(--fr-accent); text-underline-offset: 3px; }

@media (max-width: 1100px) { .fr-toolbar { grid-template-columns: repeat(3,minmax(0,1fr)); } .fr-surprise { grid-column: span 1; } }
@media (max-width: 700px) { .fuori-rotta-home-inner, .fr-page-head { display: grid; } .fuori-rotta-home-cta { width: 100%; } .fuori-rotta-home-copy h2 { max-width: 16ch; } .fr-page-head { gap: 17px; } .fr-close { justify-self: start; } .fr-toolbar { grid-template-columns: repeat(2,minmax(0,1fr)); } .fr-surprise { grid-column: span 2; } .fr-grid { grid-template-columns: 1fr; } }
@media (max-width: 450px) { .fuori-rotta-home-banner { width: calc(100% - 20px); margin-top: 22px; border-radius: 18px; } .fuori-rotta-home-inner { padding: 22px 17px; } .fuori-rotta-home-copy h2 { font-size: 2.7rem; } .fuori-rotta-page { padding: 20px 12px 55px; } .fr-toolbar { padding: 10px; } .fr-card { padding: 16px; border-radius: 16px; } .fr-card-facts { gap: 4px; } .fr-card-facts strong { font-size: .68rem; } .fr-card-actions .fr-action { flex: 1 1 180px; } }

.fr-pdf-dialog { width: min(980px, calc(100vw - 28px)); max-width: none; height: min(92vh, 900px); padding: 0; border: 1px solid var(--fr-line); border-radius: 20px; background: #1c2229; color: var(--fr-ink); box-shadow: 0 28px 90px rgba(0,0,0,.48); }
.fr-pdf-dialog::backdrop { background: rgba(8,11,15,.78); backdrop-filter: blur(5px); }
.fr-pdf-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 20px 22px 12px; }
.fr-pdf-dialog-head h2 { max-width: 28ch; margin: 0; font: 900 clamp(1.25rem,3vw,1.85rem)/1.02 Georgia,serif; }
.fr-pdf-dialog-close { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border: 1px solid var(--fr-line); border-radius: 50%; background: rgba(255,255,255,.06); color: var(--fr-ink); font-size: 1.7rem; line-height: 1; cursor: pointer; }
.fr-pdf-dialog-close:hover { background: rgba(255,255,255,.14); }
.fr-pdf-dialog-status { min-height: 22px; margin: 0; padding: 0 22px 10px; color: var(--fr-accent); font-size: .8rem; font-weight: 800; }
.fr-pdf-preview { height: calc(100% - 176px); margin: 0 14px; padding: 22px clamp(16px, 3vw, 30px) 26px; overflow: auto; border: 1px solid var(--fr-line); border-radius: 14px; background: #f7f1e7; color: #20252b; -webkit-overflow-scrolling: touch; }
.fr-dp-cover { margin: 0 0 18px; border-radius: 12px; overflow: hidden; background: #20252b; }
.fr-dp-cover img { display: block; width: 100%; height: clamp(150px, 24vw, 220px); object-fit: cover; }
.fr-dp-cover-fallback { display: block; height: clamp(84px, 15vw, 120px); background: linear-gradient(135deg, #20252b, #3c4650 58%, #c65332); }
.fr-dp-cover-text { padding: 15px 18px 18px; background: #20252b; }
.fr-dp-kicker { margin: 0 0 6px; color: #f7d39a; font-size: .68rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.fr-dp-title { margin: 0; color: #fff; font: 900 clamp(1.3rem, 3.4vw, 1.9rem)/1.06 Georgia, serif; }
.fr-dp-strap { margin: 8px 0 0; color: #f4e9db; font-size: .84rem; font-weight: 700; }
.fr-dp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.fr-dp-chip { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 12px; border: 1px solid #ded4c6; border-radius: 999px; background: #fffaf3; color: #5c6670; font-size: .78rem; font-weight: 700; }
.fr-dp-chip b { color: #c65332; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }
.fr-dp-lead { margin: 0 0 18px; color: #20252b; font: 800 clamp(1rem, 2.3vw, 1.18rem)/1.35 Georgia, serif; }
.fr-dp-section { margin: 0 0 20px; }
.fr-dp-section h3 { margin: 0 0 8px; padding-bottom: 7px; border-bottom: 1px solid #ded4c6; color: #c65332; font-size: .7rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.fr-dp-section p { margin: 0; color: #4d5560; font-size: .88rem; line-height: 1.6; }
.fr-dp-stop { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px dashed #ded4c6; }
.fr-dp-stop:last-child { border-bottom: 0; }
.fr-dp-stop-num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #20252b; color: #fff; font-size: .78rem; font-weight: 900; }
.fr-dp-stop h4 { margin: 0 0 2px; font: 900 1rem/1.2 Georgia, serif; }
.fr-dp-stop-meta { margin: 0 0 6px; color: #6b7480; font-size: .76rem; font-weight: 700; }
.fr-dp-stop img { display: block; width: 100%; height: clamp(120px, 21vw, 168px); margin: 8px 0; border-radius: 10px; object-fit: cover; }
.fr-dp-highlights { margin: 0; padding: 0; list-style: none; }
.fr-dp-highlights li { position: relative; margin-bottom: 4px; padding-left: 15px; color: #4d5560; font-size: .84rem; line-height: 1.5; }
.fr-dp-highlights li::before { content: ""; position: absolute; left: 0; top: .52em; width: 5px; height: 5px; border-radius: 50%; background: #c65332; }
.fr-dp-between { margin: 6px 0 2px 44px; padding: 9px 12px; border: 1px solid #e4c38d; border-radius: 9px; background: #fbf0df; }
.fr-dp-between b { display: block; margin-bottom: 2px; color: #a5761f; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }
.fr-dp-between p { margin: 0; color: #20252b; font-size: .8rem; line-height: 1.45; }
.fr-dp-map { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; color: #c65332; font-size: .78rem; font-weight: 800; text-decoration: none; }
.fr-dp-map:hover { text-decoration: underline; }
.fr-dp-checklist { margin: 0; padding: 0; list-style: none; }
.fr-dp-checklist li { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 7px; color: #4d5560; font-size: .84rem; }
.fr-dp-checklist i { flex: 0 0 15px; height: 15px; margin-top: 2px; border: 1px solid #6b7480; border-radius: 3px; }
.fr-dp-sources { display: flex; flex-direction: column; gap: 6px; }
.fr-dp-sources a { color: #c65332; font-size: .82rem; font-weight: 800; text-decoration: none; overflow-wrap: anywhere; }
.fr-dp-sources a:hover { text-decoration: underline; }
.fr-dp-foot { margin: 18px 0 0; padding-top: 12px; border-top: 1px solid #ded4c6; color: #6b7480; font-size: .72rem; line-height: 1.5; }
.fr-pdf-dialog-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; padding: 14px 22px 18px; }
.fr-pdf-dialog-actions button { min-height: 44px; }
.fr-pdf-dialog-actions [disabled] { cursor: wait; opacity: .45; }

@media (max-width: 600px) {
  .fr-pdf-dialog { width: calc(100vw - 16px); height: calc(100vh - 20px); border-radius: 15px; }
  .fr-pdf-dialog-head { padding: 16px 15px 9px; }
  .fr-pdf-dialog-status { padding-right: 15px; padding-left: 15px; }
  .fr-pdf-preview { height: calc(100% - 172px); margin: 0 8px; padding: 16px 13px 20px; }
  .fr-pdf-dialog-actions { padding: 10px 15px 14px; }
  .fr-pdf-dialog-actions button { flex: 1 1 160px; }
}
