#scoperte-dialog {
  width:min(920px,calc(100vw - 32px)); max-height:88dvh; padding:0;
  background:#101e21; border:1px solid #405456; border-radius:14px;
  color:#f1eee0; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#496261 #101e21;
}
.scoperte {
  --catalog-gold:#e9c884; --catalog-muted:#b1bfbe; --catalog-rule:#35484a;
  padding:clamp(16px,3vw,34px); font-family:var(--discovery-sans,system-ui,sans-serif);
}
.scoperte :where(button,input) { font:inherit }
.scoperte button { cursor:pointer }
.scoperte :focus-visible { outline:2px solid var(--catalog-gold); outline-offset:3px }
.scoperte-header { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:1.1rem }
.scoperte-header h2,.scoperte-story h3,.scoperte-row h3 {
  font-family:var(--discovery-serif,Georgia,serif); font-weight:500; color:#f7f1df;
}
.scoperte-header h2 { font-size:clamp(32px,4.2vw,52px); line-height:1; letter-spacing:-.045em; margin:0 }
.scoperte-header h2:focus { outline:none }
.scoperte-close { border:1px solid var(--catalog-rule); color:#d5ddda; background:transparent; min-width:44px; height:44px; border-radius:50%; font:300 27px/1 system-ui!important }
.scoperte-close:hover { background:#263b3d }
.scoperte-controls { display:flex; align-items:center; gap:1rem; justify-content:space-between }
.scoperte-search-label { flex:1; min-width:0; position:relative }
.scoperte-search-label::before { content:""; position:absolute; width:12px; height:12px; border:1.5px solid #aebdbb; border-radius:100%; top:14px; left:14px; pointer-events:none }
.scoperte-search-label::after { content:""; position:absolute; width:7px; height:1.5px; background:#aebdbb; top:28px; left:25px; transform:rotate(45deg); pointer-events:none }
.scoperte-search { box-sizing:border-box; width:100%; min-height:44px; font-size:.94rem!important; padding:8px 10px 8px 40px; color:#f2eee1; background:#192b2e; border:1px solid var(--catalog-rule); border-radius:7px }
.scoperte-search::placeholder { color:#b6c4c1; opacity:1 }
.scoperte-toolbar { display:flex; align-items:center; gap:.55rem }
.scoperte-toolbar button,.scoperte-feature-go,.scoperte-empty button { min-height:44px; border-radius:6px; padding:7px 13px; font-size:.86rem; font-weight:650 }
.scoperte-surprise,.scoperte-empty button { border:1px solid #53696a; background:transparent; color:#ede9d9 }
.scoperte-tour { border:1px solid #ebc983; background:var(--catalog-gold); color:#172021 }
.scoperte-tour::before { content:""; display:inline-block; margin-right:8px; border-block:4px solid transparent; border-left:6px solid currentColor }
.scoperte-toolbar button:disabled { opacity:.5; cursor:default }
.scoperte-filters { display:flex; gap:clamp(8px,2.1vw,24px); flex-wrap:wrap; border-bottom:1px solid var(--catalog-rule); margin:4px 0 16px }
.scoperte-filters button { min-height:44px; border:0; border-bottom:2px solid transparent; border-radius:0; color:#bac9c6; background:transparent; padding:5px 1px 3px; font-size:.86rem }
.scoperte-filters button[aria-pressed=true] { border-color:var(--catalog-gold); color:var(--catalog-gold); font-weight:650 }
.scoperte-feature { display:grid; grid-template-columns:1fr 1.15fr; align-items:stretch; background:#222f2c; border-radius:8px; overflow:hidden; }
.scoperte-feature[hidden] { display:none }
.scoperte-feature figure { position:relative; margin:0; min-height:210px }
.scoperte-feature img { width:100%; height:100%; position:absolute; inset:0; object-fit:cover }
.scoperte-feature figcaption { position:absolute; inset:auto 0 0; background:linear-gradient(transparent,#071016e6); padding:22px 10px 8px; line-height:1.2; font-size:10px }
.scoperte-feature figcaption a { color:#fff; text-underline-offset:2px }
.scoperte-story { padding:clamp(16px,2.4vw,27px); align-self:center }
.scoperte-story small,.scoperte-row small { display:block; font-size:.73rem; font-weight:650; letter-spacing:.025em; color:var(--catalog-gold) }
.scoperte-story h3 { font-size:clamp(27px,3.8vw,42px); line-height:1.02; letter-spacing:-.04em; margin:.4rem 0 }
.scoperte-story p { margin:.6rem 0 .45rem; color:#e0e2d7; font-size:.94rem; line-height:1.45 }
.scoperte-feature-go { color:var(--catalog-gold); background:transparent; border:0; padding:4px 0; text-align:left }
.scoperte-feature-go::after { content:" ↗"; font-size:1.05rem }
.scoperte-count { margin:1.15rem 0 .4rem; color:var(--catalog-muted); font-size:.78rem }
.scoperte-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 clamp(20px,3.4vw,36px) }
.scoperte-row { position:relative; min-width:0; padding:1.1rem 0; border-top:1px solid var(--catalog-rule); display:flex; flex-direction:column }
.scoperte-observation { display:inline-block; color:#96ded0; margin-right:.6rem }
.scoperte-observation::before { display:inline-block; content:""; vertical-align:middle; width:5px; height:5px; margin-right:5px; border-radius:50%; background:currentColor }
.scoperte-row h3 { font-size:clamp(22px,2.5vw,28px); line-height:1.1; letter-spacing:-.03em; margin:.4rem 0 .1rem }
.scoperte-go { display:flex; align-items:baseline; gap:.6rem; width:100%; background:transparent; text-align:left; color:inherit; border:0; padding:0; overflow-wrap:anywhere; letter-spacing:inherit }
.scoperte-go::after { content:""; position:absolute; inset:0; z-index:1; border-radius:3px }
.scoperte-go span { color:var(--catalog-gold); margin-left:auto; font:400 18px/1 system-ui }
.scoperte-row p { margin:.4rem 0 .75rem; color:#d2dcda; line-height:1.5; font-size:.91rem }
.scoperte-meta { display:flex; flex-wrap:wrap; align-items:baseline; gap:.25rem .7rem; margin-top:auto; font-size:.72rem; color:var(--catalog-muted); line-height:1.4 }
.scoperte-meta a { position:relative; z-index:2; color:#c8d8d2; text-underline-offset:3px; padding:3px 0 }
.scoperte-empty p { color:var(--catalog-muted) }
@media(hover:hover) {
  .scoperte-row:hover .scoperte-go,.scoperte-feature-go:hover,.scoperte-filters button:hover { color:var(--catalog-gold) }
  .scoperte-toolbar button:hover { filter:brightness(1.13) }
}
@media(prefers-reduced-motion:no-preference) {
  .scoperte-go span { transition:transform .16s ease }
  .scoperte-row:hover .scoperte-go span { transform:translate(2px,-2px) }
}
@media(max-width:620px) {
  #scoperte-dialog { width:calc(100vw - 14px); max-width:calc(100vw - 14px); max-height:94dvh; border-radius:10px }
  .scoperte { padding:16px }
  .scoperte-header { margin-bottom:.8rem }
  .scoperte-controls { flex-wrap:wrap; gap:.5rem }
  .scoperte-search-label { flex-basis:100% }
  .scoperte-toolbar { flex:1; gap:.5rem }
  .scoperte-toolbar button { flex:1 }
  .scoperte-filters { justify-content:space-between; column-gap:5px; margin:2px 0 12px }
  .scoperte-filters button { font-size:.8rem }
  .scoperte-list { grid-template-columns:1fr }
  .scoperte-feature { grid-template-columns:1fr }
  .scoperte-feature figure { min-height:0; height:clamp(112px,24vw,145px) }
  .scoperte-story { padding:12px 15px 7px }
  .scoperte-story p { margin:.4rem 0 .12rem }
}
.giro-controls {display:flex;flex-wrap:wrap;gap:.4rem;border-top:1px solid var(--line);margin-top:.7rem;padding-top:.6rem}
.giro-controls button {border:1px solid var(--line);border-radius:5px;padding:.45rem .55rem;background:#1a3033;color:var(--mint);font:inherit;font-size:.8rem;cursor:pointer}
