
    :root { --ds-bg:#0b2a22; --ds-panel:#12382e; --ds-line:#a0c5ac40; --ds-cream:#faf7ef; --ds-muted:#b9cdbf; --ds-gold:#f2cf83; --ds-coral:#ff8f7a; --ds-green:#8ee59a; }
    * { box-sizing:border-box; }
    body.sr-dove-sono { margin:0; background:var(--ds-bg); color:var(--ds-cream); font:15px/1.45 "Inter Giochi",system-ui,sans-serif; }
    .ds { max-width:980px; margin:0 auto; padding:16px; }
    .ds h1 { margin:0 0 4px; font-size:clamp(22px,4vw,32px); line-height:1.1; }
    .ds-lead { margin:0 0 10px; color:var(--ds-muted); }
    .ds a { color:var(--ds-gold); }
    .ds button,.ds-dialog button { font:inherit; color:var(--ds-cream); background:#ffffff0d; border:1px solid var(--ds-line); border-radius:10px; padding:9px 14px; cursor:pointer; }
    .ds button:hover:not(:disabled) { background:#ffffff1a; }
    .ds button:disabled { opacity:.5; cursor:default; }
    .ds button:focus-visible,.ds-dialog button:focus-visible,.ds canvas:focus-visible { outline:2px solid var(--ds-gold); outline-offset:2px; }
    .ds button.ds-primary,.ds-dialog button.ds-primary { background:var(--ds-gold); color:#1b2a22; border-color:var(--ds-gold); font-weight:700; }
    .ds button.ds-primary:hover:not(:disabled) { background:#ffe0a0; }
    .ds button.ds-primary:disabled { background:#ffffff14; color:var(--ds-muted); border-color:var(--ds-line); font-weight:600; opacity:1; }
    .ds button[aria-pressed="true"] { background:#f2cf8326; border-color:var(--ds-gold); color:var(--ds-gold); font-weight:600; }
    .ds-row { display:flex; flex-wrap:wrap; gap:8px; align-items:center; justify-content:space-between; margin-bottom:10px; }
    .ds-group { display:flex; flex-wrap:wrap; gap:6px; }
    .ds-score { display:flex; gap:14px; font-variant-numeric:tabular-nums; color:var(--ds-muted); font-size:14px; }
    .ds-score strong { color:var(--ds-gold); font-size:16px; }
    .ds-photo { position:relative; height:clamp(260px,calc(100vh - 290px),620px); height:clamp(260px,calc(100dvh - 290px),620px); border:1px solid var(--ds-line); border-radius:12px; overflow:hidden; background:#07201a; }
    .ds-photo { -webkit-touch-callout:none; user-select:none; -webkit-user-select:none; }
    .ds-photo img { position:absolute; left:0; top:0; max-width:none; transform-origin:0 0; opacity:0; pointer-events:none; -webkit-user-drag:none; }
    .ds-photo img.ds-on { opacity:1; }
    .ds-photo img.ds-move { transition:transform .75s cubic-bezier(.3,.7,.2,1); }
    .ds-view { position:absolute; right:8px; top:8px; padding:3px 9px; border-radius:14px; background:#0b2a22d0; font-size:13px; font-weight:600; font-variant-numeric:tabular-nums; }
    .ds-load { position:absolute; inset:0; display:grid; place-content:center; justify-items:center; gap:10px; padding:16px; text-align:center; background:#07201a; }
    .ds-spin { width:30px; height:30px; border-radius:50%; border:3px solid #ffffff26; border-top-color:var(--ds-gold); animation:ds-spin .9s linear infinite; }
    @keyframes ds-spin { to { transform:rotate(360deg); } }
    .ds-credit { position:absolute; left:8px; top:8px; max-width:calc(100% - 100px); padding:2px 7px; border-radius:6px; background:#0b2a22b8; font-size:11px; color:var(--ds-muted); pointer-events:none; overflow-wrap:anywhere; }
    .ds-side { display:flex; flex-direction:column; gap:8px; min-width:0; margin-top:10px; }
    .ds-answers { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; }
    .ds .ds-answers button { min-height:50px; padding:10px; font-size:16px; font-weight:600; overflow-wrap:anywhere; }
        .ds .ds-answers button:disabled { opacity:.45; }
    .ds .ds-answers button.ds-right { opacity:1; background:#8ee59a26; border-color:var(--ds-green); color:var(--ds-green); }
    .ds .ds-answers button.ds-wrong { opacity:1; background:#ff8f7a26; border-color:var(--ds-coral); color:var(--ds-coral); }
    .ds .ds-wide { align-self:center; padding:9px 16px; font-weight:600; background:#f2cf8326; border-color:var(--ds-gold); color:var(--ds-gold); }
    .ds-max { margin:0; color:var(--ds-muted); font-size:14px; text-align:center; }
    .ds .ds-go { width:100%; padding:12px; }
    .ds-reveal { padding:12px 14px; border:1px solid #f2cf8366; border-radius:12px; background:#1a3b31; }
    .ds-reveal h2 { margin:0; font-size:19px; color:var(--ds-gold); line-height:1.2; }
    .ds-reveal p { margin:3px 0 0; }
    .ds-reveal .ds-src { font-size:12px; color:var(--ds-muted); overflow-wrap:anywhere; }
    .ds-end { margin-bottom:10px; padding:14px; border:1px solid #f2cf8366; border-radius:12px; background:#1a3b31; }
    .ds-end h2 { margin:0 0 2px; font-size:clamp(20px,4vw,26px); color:var(--ds-gold); }
    .ds-end p { margin:0 0 8px; }
    .ds-actions { display:flex; flex-wrap:wrap; gap:8px; }
    .ds-table { width:100%; margin:8px 0 12px; border-collapse:collapse; font-variant-numeric:tabular-nums; }
    .ds-table th,.ds-table td { padding:6px; text-align:right; border-bottom:1px solid var(--ds-line); }
    .ds-table th:first-child,.ds-table td:first-child { text-align:left; }
    .ds-table th { color:var(--ds-muted); font-size:12px; font-weight:600; }
    .ds details { margin-top:12px; padding:10px 14px; border:1px solid var(--ds-line); border-radius:12px; background:#ffffff06; }
    .ds summary { cursor:pointer; font-weight:600; }
    .ds-set { display:flex; flex-wrap:wrap; gap:8px 20px; margin-top:10px; align-items:center; }
    .ds-set label { display:flex; gap:7px; align-items:center; }
    .ds-set input[type=range] { width:120px; accent-color:var(--ds-gold); }
    .ds-set input[type=checkbox] { width:18px; height:18px; accent-color:var(--ds-gold); }
    .ds-credits { margin:8px 0 0; padding-left:18px; font-size:13px; color:var(--ds-muted); overflow-wrap:anywhere; }
    .ds-help { margin-top:18px; color:var(--ds-muted); font-size:14px; max-width:760px; }
    .ds-help h2 { margin:18px 0 6px; font-size:17px; color:var(--ds-cream); }
    .ds-help h3 { margin:12px 0 2px; font-size:15px; color:var(--ds-cream); }
    .ds-help p { margin:0 0 8px; }
    .ds-help ul { margin:0 0 8px; padding-left:20px; }
    .ds-dialog { max-width:360px; padding:18px; border:1px solid var(--ds-line); border-radius:14px; background:var(--ds-panel); color:var(--ds-cream); font:15px/1.45 "Inter Giochi",system-ui,sans-serif; }
    .ds-dialog::backdrop { background:#0008; }
    .ds-dialog p { margin:0 0 14px; }
    .ds-fx { position:fixed; inset:0; width:100%; height:100%; pointer-events:none; z-index:20; }
    body.sr-dove-sono [hidden] { display:none !important; }
    @media (max-width:800px) {
      .ds { padding:12px; }
      .ds-lead { display:none; }
      .ds-photo { height:46vh; height:46dvh; min-height:200px; }
      .ds button { padding:7px 10px; }
      .ds h1 { font-size:20px; margin-bottom:6px; }
      .ds-row { margin-bottom:6px; gap:4px 8px; }
      .ds-side { gap:6px; margin-top:6px; }
      .ds-answers { grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }
      .ds .ds-answers button { min-height:46px; padding:6px; font-size:15px; }
      .ds-max { font-size:12px; line-height:1.25; }
      .ds .ds-go { padding:10px; }
    }
    @media (prefers-reduced-motion: reduce) {
      .ds-spin { animation-duration:3s; }
      .ds-photo img.ds-move { transition:none; }
    }
  
    .ds { padding-top:24px; padding-bottom:40px; }
    .ds button, .ds-dialog button { min-height:44px; touch-action:manipulation; }
    .ds .games-breadcrumb { margin-bottom:20px; }
    .ds-related { margin-top:26px; }
    .ds-related h2 { font-size:20px; }
    .ds-help a, .ds-credits a, .ds-src a { text-decoration:underline; text-underline-offset:2px; }
