/* Artist revision: prioritize the tiles, yearly totals, and one clear next step. */
:is(#story-card,#immersive-card).theme-classic{background:radial-gradient(ellipse at 50% 44%,#be2830,#8c151c 76%);padding:6% 7% 5%;--card-ink:#fff6da;--card-accent:#f7d27a}
:is(#story-card,#immersive-card).theme-classic .progress{height:3px;flex-shrink:0;margin:0 0 5%;gap:4px}
:is(#story-card,#immersive-card).theme-classic .story-content{min-height:0;justify-content:space-evenly;gap:0;padding:3% 0 4%}
:is(#story-card,#immersive-card).theme-classic .story-content:before{width:135%;height:90%;top:8%;background:repeating-conic-gradient(from 2deg,#f0be5a06 0deg 10deg,transparent 10deg 22deg)}
:is(#story-card,#immersive-card).theme-classic .story-eyebrow{display:block;font-family:OpenSans,Arial,sans-serif;font-size:3.55cqw;letter-spacing:.8px;font-weight:400;line-height:1.35;margin:0;width:100%}
:is(#story-card,#immersive-card).theme-classic .intro-title{font-family:Lilita,Georgia,serif;font-size:13cqw;line-height:1.08;margin:0;letter-spacing:-.3px;flex-shrink:0;text-shadow:0 2px 0 #68131b}
:is(#story-card,#immersive-card).theme-classic .year-label{font-family:Lilita,Georgia,serif;font-style:normal;font-size:12.8cqw;line-height:1;margin:0;letter-spacing:-1px}
:is(#story-card,#immersive-card).theme-classic .tile-fan{width:100%;height:55cqw;margin:0;transform:none;flex-shrink:0}
:is(#story-card,#immersive-card).theme-classic .tile-fan img{width:40cqw;top:10%;left:30%;filter:drop-shadow(0 9px 6px #0003)}
:is(#story-card,#immersive-card).theme-classic .tile-fan img:nth-of-type(1){left:9%;top:20%;transform:rotate(-22deg);z-index:1}
:is(#story-card,#immersive-card).theme-classic .tile-fan img:nth-of-type(2){left:30%;top:8%;transform:none;z-index:2}
:is(#story-card,#immersive-card).theme-classic .tile-fan img:nth-of-type(3){left:51%;top:20%;transform:rotate(22deg);z-index:1}
:is(#story-card,#immersive-card).theme-classic .spark.one{left:4%;top:17%;font-size:6cqw}.theme-classic .spark.two{right:1%;bottom:2%;font-size:8cqw}.theme-classic .spark.three{right:3%;top:1%;font-size:4cqw}
:is(#story-card,#immersive-card).theme-classic .story-subtitle{font-family:OpenSans,Arial,sans-serif;font-size:4.35cqw;line-height:1.5;max-width:100%;margin:0;opacity:.83}
:is(#story-card,#immersive-card).theme-classic .fact-art{width:100%;height:47cqw;gap:0;margin:0;flex-shrink:0}
:is(#story-card,#immersive-card).theme-classic .fact-art img{height:auto;width:34%;max-height:100%;object-fit:contain;filter:drop-shadow(0 8px 5px #0003)}
:is(#story-card,#immersive-card).theme-classic[data-card="2"] .fact-art img{width:43%}
:is(#story-card,#immersive-card).theme-classic .big-stat{font-family:Lilita,Georgia,serif;font-size:34cqw;line-height:1;letter-spacing:-1.5px;margin:0;flex-shrink:0}
:is(#story-card,#immersive-card).theme-classic .fact-label{font-family:Lilita,Georgia,serif;font-size:6.4cqw;line-height:1.15;margin:0;width:100%;flex-shrink:0}
:is(#story-card,#immersive-card).theme-classic .fact-note{font-family:OpenSans,Arial,sans-serif;font-size:4.4cqw;line-height:1.45;max-width:100%;margin:0;opacity:.8}
:is(#story-card,#immersive-card).theme-classic .card-bottom{flex-shrink:0}
:is(#story-card,#immersive-card).theme-classic .card-continue{font-family:Lilita,Georgia,serif;font-size:6.8cqw;line-height:1.12;min-height:0;padding:4% 3%;border-radius:7px;background:linear-gradient(110deg,#f4cb71,#f9d985 55%,#f4cc71);box-shadow:0 3px 0 #c08b42;color:#70151b;font-weight:400}
:is(#story-card,#immersive-card).theme-classic .card-period{font-size:3.1cqw;line-height:1.3;letter-spacing:0;margin:4% 0 0;opacity:.5}
:is(#story-card,#immersive-card).theme-classic .secondary-card-button{font-size:4.8cqw;border-color:#efc66b70;padding:3% 4%;font-family:OpenSans,Arial,sans-serif;white-space:nowrap}
:is(#story-card,#immersive-card).theme-classic .card-share-actions{gap:7px}
:is(#story-card,#immersive-card).theme-classic .card-share-actions .card-continue{font-size:6cqw}
:is(#story-card,#immersive-card).theme-classic .restart{font-family:OpenSans,Arial,sans-serif;font-size:3.8cqw;margin:4% 0 0}
/* Favorite-mode detail: lead with the total, then show the comparison in one panel. */
:is(#story-card,#immersive-card).theme-classic.mode-story .story-content{padding-top:1%;padding-bottom:4%}
:is(#story-card,#immersive-card).theme-classic.mode-story .fact-art{display:flex;height:38cqw}
:is(#story-card,#immersive-card).theme-classic.mode-story .fact-art img{width:37%;height:100%;max-height:100%}
:is(#story-card,#immersive-card).theme-classic.mode-story .big-stat{font-size:30cqw}
:is(#story-card,#immersive-card).theme-classic.mode-story .fact-label{font-size:5.6cqw}
:is(#story-card,#immersive-card).theme-classic .mode-panel{width:100%;margin-top:3%;padding:3% 4%;background:#69131970;border-radius:3px}
:is(#story-card,#immersive-card).theme-classic .mode-panel>p{font-family:Lilita,Georgia,serif;font-size:4cqw;line-height:1.2;margin:0 0 5%}
:is(#story-card,#immersive-card).theme-classic .mode-breakdown{display:grid;gap:3.5cqw;width:100%;font-family:Lilita,Georgia,serif;margin:0;font-size:5.5cqw;line-height:1.1;text-align:left}
:is(#story-card,#immersive-card).theme-classic .mode-row{align-items:baseline;gap:10px}
:is(#story-card,#immersive-card).theme-classic .mode-row strong{font-weight:400;color:var(--card-accent);font-size:6cqw}
:is(#story-card,#immersive-card).theme-classic .mode-bar{height:4px;margin-top:5px;background:#edb55b45}
:is(#story-card,#immersive-card).theme-classic .mode-bar i{background:linear-gradient(90deg,#f9dc8b,#e9b65d)}
/* The compact gallery and full-screen summary share the same visual hierarchy. */
.theme-classic .summary.artist-summary{display:grid;grid-template-rows:7% 22% 12% 29% 30%;height:100%;padding:7% 7% 5%;margin:0;text-align:center;min-height:0;gap:0}
.theme-classic .artist-summary .story-eyebrow{align-self:center;font-family:OpenSans,Arial,sans-serif;font-size:3.6cqw;line-height:1.3;letter-spacing:.6px;margin:0;display:block}
.theme-classic .artist-summary .summary-heading{font-family:Lilita,Georgia,serif;font-size:12.7cqw;line-height:1.06;margin:0;align-self:center;text-shadow:0 2px 0 #68131b}
.theme-classic .artist-summary .summary-year{font-family:Lilita,Georgia,serif;font-size:12cqw;line-height:1;letter-spacing:0;margin:0;align-self:center;color:var(--card-accent)}
.theme-classic .artist-summary .tile-fan{height:100%;width:100%;transform:none;margin:0;min-height:0}
.theme-classic .artist-summary .tile-fan img{height:85%;width:auto;max-width:43%;object-fit:contain;top:3%;left:31%;filter:drop-shadow(0 5px 4px #0003)}
.theme-classic .artist-summary .tile-fan img:nth-of-type(1){left:12%;top:10%;transform:rotate(-22deg);z-index:1}
.theme-classic .artist-summary .tile-fan img:nth-of-type(2){left:31%;top:0;transform:none;z-index:2}
.theme-classic .artist-summary .tile-fan img:nth-of-type(3){left:50%;top:10%;transform:rotate(22deg);z-index:1}
.theme-classic .artist-summary .spark{font-size:5cqw}.theme-classic .artist-summary .spark.one{left:6%;top:15%}.theme-classic .artist-summary .spark.two{right:5%;bottom:15%}.theme-classic .artist-summary .spark.three{right:5%;top:0;font-size:3cqw}
.theme-classic .artist-summary .summary-stats{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:4% 2%;padding:4% 0;margin:0;height:100%;background:#67131966;border-color:#e9bc6960;align-items:center}
.theme-classic .artist-summary .summary-stats strong{font-family:Lilita,Georgia,serif;font-size:10.8cqw;font-weight:400;color:var(--card-accent);line-height:1.05;letter-spacing:-.3px}
.theme-classic .artist-summary .summary-stats span{font-family:Lilita,Georgia,serif;font-size:3.6cqw;line-height:1.2;margin-top:3%;opacity:1;white-space:nowrap}
:is(#story-card,#immersive-card).theme-classic.final-story .story-content{padding:0 0 5%;justify-content:center}
:is(#story-card,#immersive-card).theme-classic.final-story .artist-summary{width:100%;height:100%;aspect-ratio:auto;padding:2% 0 0;container-type:normal;grid-template-rows:6% 22% 11% 31% 30%}
:is(#story-card,#immersive-card).theme-classic.final-story .artist-summary:before{display:none}
:is(#story-card,#immersive-card).theme-classic.final-story .summary-heading{font-size:14cqw}
:is(#story-card,#immersive-card).theme-classic.final-story .summary-year{font-size:12cqw}
:is(#story-card,#immersive-card).theme-classic.final-story .artist-summary .tile-fan{height:100%;margin:0;transform:none}
:is(#story-card,#immersive-card).theme-classic.final-story .artist-summary .tile-fan img{height:86%;width:auto;max-width:42%}
:is(#story-card,#immersive-card).theme-classic.final-story .summary-stats strong{font-size:11.5cqw}
:is(#story-card,#immersive-card).theme-classic.final-story .summary-stats span{font-size:3.5cqw}
/* Short screens keep the artist's larger metrics while preserving the full card. */
@media(max-height:680px){#immersive-card.theme-classic .story-eyebrow{display:block}#immersive-card.theme-classic .story-content{padding:0 0 3%}#immersive-card.theme-classic .intro-title{font-size:12cqw}#immersive-card.theme-classic .tile-fan{height:48cqw}#immersive-card.theme-classic .story-subtitle,#immersive-card.theme-classic .fact-note{font-size:4.2cqw}#immersive-card.theme-classic.mode-story .fact-art{height:32cqw}#immersive-card.theme-classic .mode-breakdown{gap:2.5cqw}#immersive-card.theme-classic .card-period{font-size:3cqw}}
#share-preview.theme-classic .artist-summary{grid-template-rows:7% 21% 11% 27% 34%;padding:7% 7% 9%}#share-preview.theme-classic .artist-summary .summary-stats strong{font-size:9.8cqw}#share-preview.theme-classic .artist-summary .summary-stats span{font-size:3.3cqw}
