/* Discovery is an editorial index. Existing project/media layouts stay in style.css. */
.discovery-intro{margin:0 0 28px;max-width:760px}
.discovery-intro h1{margin:0;font-size:38px;line-height:1.15;font-weight:750;letter-spacing:-1.2px;color:#1d1d1f}
.discovery-intro>p{margin:11px 0 0;color:#777780;font-size:16px;line-height:1.55;letter-spacing:0}
.editorial-feed{display:flex;flex-direction:column;gap:24px;min-width:0}
.editorial-group{display:grid;gap:24px;min-width:0;align-items:stretch}
.editorial-lead{grid-template-columns:repeat(2,minmax(0,1fr))}
.editorial-mid{grid-template-columns:repeat(2,minmax(0,1fr))}
.editorial-play,.editorial-compact{grid-template-columns:repeat(2,minmax(0,1fr))}

.story-card{--story-art-a:#f0f0f4;--story-art-b:#dddfe5;--story-copy-bg:#fff;--story-ink:#202126;--story-muted:#74757d;--story-action:#246749;display:flex;flex-direction:column;min-width:0;overflow:hidden;isolation:isolate;border:1px solid #10142308;border-radius:26px;background:var(--story-copy-bg);box-shadow:0 3px 8px #14203104,0 12px 28px #1420310b;color:var(--story-ink);text-decoration:none;transition:transform .2s ease,box-shadow .2s ease}
.story-card:hover{transform:translateY(-3px);box-shadow:0 6px 12px #14203108,0 18px 36px #14203113}
.story-card:focus-visible{outline:3px solid #0071e3;outline-offset:5px}
.story-copy{position:relative;z-index:2;display:flex;flex:1;flex-direction:column;min-width:0;padding:25px 27px 23px;background:var(--story-copy-bg)}
.story-copy>h2{margin:0;color:var(--story-ink);font-size:25px;line-height:1.25;font-weight:700;letter-spacing:-.6px;overflow-wrap:anywhere}
.story-copy>p{margin:11px 0 0;color:var(--story-muted);font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.story-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:20px;font-size:12px;line-height:1.5;color:var(--story-muted)}
.story-action{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;color:var(--story-action);font-weight:650;font-size:12px}
.story-action::after{content:"↗";font-size:16px;font-weight:400}
.editorial-lead .story-card{min-height:510px}
.editorial-lead .story-art{height:320px;min-height:320px}
.editorial-lead .story-copy{padding:27px 30px 25px}
.editorial-lead .story-copy>h2{font-size:28px;letter-spacing:-.7px}
.editorial-mid .story-art{height:225px;min-height:225px}
.editorial-mid .story-copy{padding:23px 24px 21px}
.editorial-mid .story-copy>h2{font-size:23px}
.editorial-play .story-art{height:270px;min-height:270px}
.editorial-play .story-copy{padding:25px 27px 23px}
.editorial-compact .story-card{display:grid;grid-template-columns:minmax(140px,.82fr) minmax(0,1.18fr);min-height:248px}
.editorial-compact .story-art{height:100%;min-height:248px}
.editorial-compact .story-copy{padding:24px 23px 21px}
.editorial-compact .story-copy>h2{font-size:22px;line-height:1.3}
.editorial-compact .story-copy>p{font-size:13px;line-height:1.6}
.editorial-compact .story-footer{padding-top:17px;font-size:11px}
.editorial-compact .story-action{font-size:11px;gap:5px}

/* Direct app shelves alternate with illustrated collection stories. */
.app-shelf{display:flex;flex-direction:column;min-width:0;overflow:hidden;padding:27px 28px 21px;border:1px solid #10142308;border-radius:26px;background:linear-gradient(160deg,var(--story-art-a,#f5f5f7),#fff 60%);box-shadow:0 3px 8px #14203104,0 12px 28px #14203108}
.shelf-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:19px}
.shelf-heading>h2{min-width:0;max-width:420px;margin:0;color:#202126;font-size:25px;line-height:1.3;letter-spacing:-.6px;font-weight:700;overflow-wrap:anywhere}
.shelf-topic-link{display:inline-flex;align-items:center;gap:5px;flex:0 0 auto;min-height:28px;color:var(--story-action,#0066cc);font-size:12px;line-height:1.5;font-weight:500;white-space:nowrap}
.shelf-topic-link:hover{text-decoration:underline;text-underline-offset:3px}
.shelf-projects{display:flex;flex-direction:column;min-width:0}
.shelf-project{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:13px;min-width:0;min-height:86px;padding:15px 0;color:#202126;text-decoration:none;border-bottom:1px solid #2329340d}
.shelf-project:last-child{border-bottom:0}
.shelf-project>.app-icon{display:block;flex:none;width:52px;height:52px;min-width:52px;max-width:52px;border-radius:13px;object-fit:contain;box-shadow:0 2px 8px #1d293d09}
.shelf-project-copy{min-width:0}
.shelf-project-copy>strong{display:block;font-size:16px;line-height:1.4;font-weight:650;letter-spacing:-.2px;overflow-wrap:anywhere}
.shelf-project-copy>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:4px;color:#777780;font-size:12px;line-height:1.55}
.shelf-project-action{display:inline-flex;align-items:center;justify-content:center;min-width:50px;min-height:29px;padding:5px 12px;color:#0066cc;background:#edf2f8;border-radius:30px;font-size:11px;line-height:1.5;font-weight:600;white-space:nowrap}
.shelf-project:hover .shelf-project-action{background:#dfeaf8}
.shelf-project:hover .shelf-project-copy>strong{color:#0066cc}
.editorial-play .app-shelf{padding-top:29px}
.editorial-compact .app-shelf{padding:24px 25px 19px}
.editorial-compact .shelf-heading{margin-bottom:11px}
.editorial-compact .shelf-heading>h2{font-size:23px}
.editorial-compact .shelf-project{min-height:78px;padding-block:13px;grid-template-columns:46px minmax(0,1fr) auto;gap:12px}
.editorial-compact .shelf-project>.app-icon{width:46px;height:46px;min-width:46px;max-width:46px;border-radius:12px}
.editorial-compact .shelf-project-copy>strong{font-size:15px}

/* Reading has one real playable preview, alongside its directly linked apps. */
.editorial-reading{min-width:0}
.reading-pick{display:grid;grid-template-columns:minmax(230px,.75fr) minmax(0,1.25fr);min-width:0;overflow:hidden;border:1px solid #2b21140d;border-radius:26px;background:#fbf8f2;box-shadow:0 3px 8px #2b211404,0 12px 28px #2b211408}
.reading-pick-media{display:flex;align-items:center;justify-content:center;min-width:0;padding:27px 24px 23px;background:radial-gradient(ellipse at 25% 10%,#fffc,transparent 70%),linear-gradient(145deg,#f0e6d6,#d2b68b)}
.reading-pick-media .custom-video{width:calc(324px*9/19.5);max-width:100%}
.reading-pick-media .video-player.portrait-video{width:100%;height:324px;aspect-ratio:auto;border-radius:10px;background:transparent}
.reading-pick-media .video-player.portrait-video>video{display:block;width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:contain;background:transparent}
.reading-pick-media .video-controls{height:38px;gap:3px}
.reading-pick-media .video-controls button{flex:0 0 24px;width:24px;min-width:24px;padding:3px;color:#665743}
.reading-pick-media .video-progress{accent-color:#806b4c}
.reading-pick-media .video-kind{color:#7e6d55}
.reading-pick-copy{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:30px 35px 27px}
.reading-pick-copy>h2{margin:0 0 24px;color:#312d27;font-size:29px;line-height:1.3;letter-spacing:-.7px;font-weight:700;overflow-wrap:anywhere}
.reading-pick-primary{min-width:0}
.reading-pick-primary>.discovery-card{display:grid;grid-template-columns:52px minmax(0,1fr) auto;grid-template-rows:auto;align-items:center;gap:13px;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:transparent}
.reading-pick-primary .discovery-card>.app-icon{grid-column:1;grid-row:1;width:52px;height:52px;max-width:52px;border-radius:13px}
.reading-pick-primary .discovery-card>.app-content{display:block;grid-column:2;grid-row:1;min-width:0}
.reading-pick-primary .discovery-card .app-title{font-size:18px;line-height:1.45}
.reading-pick-primary .discovery-card .app-summary{display:block;margin:6px 0 0;color:#777168;font-size:13px;line-height:1.6;overflow:visible}
.reading-pick-primary .discovery-open{display:inline-flex;grid-column:3;grid-row:1;align-self:center;margin:0;padding:6px 13px;font-size:11px;color:#0066cc;background:#edf2f8}
.reading-pick-related{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;min-width:0;margin-top:23px;padding-top:15px;border-top:1px solid #5f4e3420}
.reading-pick-related .shelf-project{grid-template-columns:36px minmax(0,1fr);min-height:74px;gap:10px;padding:10px 0;border:0}
.reading-pick-related .shelf-project>.app-icon{width:36px;height:36px;min-width:36px;max-width:36px;border-radius:9px}
.reading-pick-related .shelf-project-copy>strong{font-size:14px}
.reading-pick-related .shelf-project-copy>span{font-size:11px;line-height:1.5}
.reading-pick-related .shelf-project-action{display:none}
.reading-pick-copy>.shelf-topic-link{align-self:flex-start;margin-top:18px}

/* A distinct palette for each collection; these are editorial backgrounds, not UI. */
.story-vibe,.topic-vibe{--story-art-a:#eaf0df;--story-art-b:#b4cab4;--story-action:#3f6248}
.story-dsh,.topic-dsh{--story-art-a:#e4eefb;--story-art-b:#8eafd7;--story-action:#3562a1}
.story-camera,.topic-camera{--story-art-a:#f2f1ef;--story-art-b:#cdd1d8;--story-action:#4c5666}
.story-time,.topic-time{--story-art-a:#fff5d8;--story-art-b:#ecd39b;--story-action:#8f6a2e}
.story-reading,.topic-reading{--story-art-a:#f0e6d6;--story-art-b:#d2b68b;--story-action:#876142}
.story-games,.topic-games{--story-art-a:#ede4fc;--story-art-b:#b8a5dd;--story-action:#76539d}
.story-social,.topic-social{--story-art-a:#fff0c6;--story-art-b:#eed17c;--story-action:#936b23}
.story-making,.topic-making{--story-art-a:#f9e7ea;--story-art-b:#deb7c7;--story-action:#a15d78}
.story-everyday,.topic-everyday{--story-art-a:#e3f2eb;--story-art-b:#abd1c0;--story-action:#47745d}
.story-study,.topic-study{--story-art-a:#e8edf4;--story-art-b:#bdcbdc;--story-action:#567394}
.story-work,.topic-work{--story-art-a:#284b6c;--story-art-b:#10283f;--story-copy-bg:#182f46;--story-ink:#f4f7fb;--story-muted:#b4c4d6;--story-action:#d4e5f5}

.story-art{position:relative;isolation:isolate;min-width:0;flex:0 0 auto;overflow:hidden;background:radial-gradient(ellipse at 24% 8%,#fff8,transparent 68%),linear-gradient(145deg,var(--story-art-a,#f0f0f4),var(--story-art-b,#dddfe5));user-select:none;-webkit-user-select:none}
.story-art img{-webkit-user-drag:none}
.story-art::before{content:"";position:absolute;z-index:-1;width:72%;aspect-ratio:1;border-radius:50%;right:-18%;top:-35%;background:#ffffff20;border:1px solid #ffffff26;pointer-events:none}
.story-art::after{content:"";position:absolute;z-index:-1;width:54%;aspect-ratio:1;border-radius:50%;left:-18%;bottom:-52%;background:#ffffff1c;pointer-events:none}
.art-portrait-strip{position:relative;display:flex;align-items:center;justify-content:center;gap:18px;width:100%;height:100%;padding:22px 20px}
.art-portrait-strip>.art-screen{display:block;width:auto;max-width:29%;height:auto;max-height:100%;object-fit:contain;border:1px solid #fff8;border-radius:13px;box-shadow:0 14px 24px #24382d22,0 2px 5px #24382d0c;background:#ffffff50}
.art-portrait-strip>.art-screen:nth-child(1){transform:translateY(13px) rotate(-7deg)}
.art-portrait-strip>.art-screen:nth-child(2){transform:translateY(-8px);position:relative;z-index:2;box-shadow:0 18px 30px #24382d28}
.art-portrait-strip>.art-screen:nth-child(3){transform:translateY(12px) rotate(7deg)}
.story-art-games .art-portrait-strip{gap:14px;padding-block:23px}
.story-art-games .art-screen{border-radius:15px;box-shadow:0 17px 28px #382b5a2a}
.story-art-study .art-portrait-strip{gap:8px;padding-inline:14px}
.story-art-study .art-screen{max-width:31%;border-radius:9px}
.art-desktop-stack{position:relative;width:calc(100% - 44px);height:100%;margin:0 auto}
.art-desktop-stack>img{position:absolute;display:block;width:72%;max-width:340px;height:auto;aspect-ratio:16/9;object-fit:contain;border-radius:11px;background:#f9fbff;border:1px solid #ffffffa3;box-shadow:0 15px 30px #1d3d6a2d}
.art-desktop-stack>img:nth-child(1){left:50%;bottom:25px;z-index:3;width:88%;max-width:420px;transform:translateX(-50%)}
.art-desktop-stack>img:nth-child(2){left:0;top:25px;z-index:1;transform:rotate(-7deg)}
.art-desktop-stack>img:nth-child(3){right:0;top:25px;z-index:2;transform:rotate(7deg)}
.art-icon-orbit{position:relative;width:240px;max-width:94%;height:170px;max-height:92%;margin:auto}
.story-art-icons{display:flex;align-items:center;justify-content:center}
.story-art .app-icon.art-app-icon{position:absolute;display:block;width:64px;height:64px;max-width:64px;max-height:64px;object-fit:contain;border-radius:16px;border:1px solid #ffffff8a;background:#ffffff70;box-shadow:0 12px 22px #27342e20}
.art-icon-orbit>.art-app-icon:nth-child(1){left:32px;top:23px;transform:rotate(-10deg)}
.art-icon-orbit>.art-app-icon:nth-child(2){right:28px;bottom:16px;transform:rotate(10deg)}
.art-icon-orbit:has(>.art-app-icon:nth-child(3))>.art-app-icon:nth-child(1){left:9px;top:71px;transform:rotate(-10deg)}
.art-icon-orbit:has(>.art-app-icon:nth-child(3))>.art-app-icon:nth-child(2){right:75px;top:11px;bottom:auto;transform:rotate(3deg)}
.art-icon-orbit>.art-app-icon:nth-child(3){right:10px;bottom:12px;transform:rotate(11deg)}
.art-icon-orbit:has(>.art-app-icon:nth-child(4)){height:190px}
.art-icon-orbit:has(>.art-app-icon:nth-child(4))>.art-app-icon:nth-child(1){left:27px;top:12px}
.art-icon-orbit:has(>.art-app-icon:nth-child(4))>.art-app-icon:nth-child(2){right:24px;top:34px;bottom:auto}
.art-icon-orbit:has(>.art-app-icon:nth-child(4))>.art-app-icon:nth-child(3){left:17px;right:auto;bottom:14px;transform:rotate(7deg)}
.art-icon-orbit>.art-app-icon:nth-child(4){right:36px;bottom:4px;transform:rotate(-8deg)}
.story-art-reading>.art-reading-image{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 42%;filter:saturate(.9)}
.story-art-reading::before{z-index:1;inset:0;width:100%;height:100%;aspect-ratio:auto;border:0;border-radius:0;background:linear-gradient(110deg,#6d563a08,transparent 58%,#dbc6a92b);pointer-events:none}
.story-art-reading::after{display:none}
.story-art-social>.art-social-screen{position:absolute;left:12%;top:7%;display:block;max-width:35%;width:auto;height:86%;object-fit:contain;border:1px solid #fff8;border-radius:12px;box-shadow:0 15px 30px #77602727;transform:rotate(-7deg)}
.story-art-social>.art-icon-orbit{position:absolute;left:48%;top:11%;width:46%;height:80%;max-width:none;max-height:none}
.story-art-social .app-icon.art-app-icon{width:55px;height:55px;max-width:55px;max-height:55px;border-radius:14px}
.art-work-icons{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:18px;padding:20px}
.story-art .art-work-icons>.app-icon{display:block;position:relative;width:58px;height:58px;max-width:58px;max-height:58px;object-fit:contain;border-radius:15px;border:1px solid #ffffff5a;background:#ffffffec;box-shadow:0 12px 24px #08172945}
.art-work-icons>.app-icon:nth-child(1){transform:translateY(-18px) rotate(-9deg)}
.art-work-icons>.app-icon:nth-child(2){transform:translateY(15px) rotate(7deg)}
.art-work-icons>.app-icon:nth-child(3){transform:translateY(-8px) rotate(-4deg)}
.story-art-work::before{width:70%;right:-14%;top:-19%;border:1px solid #91bddb40;background:#5c91bd10}
.story-art-work::after{width:72%;height:68%;aspect-ratio:auto;left:-28%;bottom:-20%;border:1px solid #91bddb30;border-radius:32px;transform:rotate(26deg);background:#5c91bd10}
.editorial-compact .art-icon-orbit{width:185px;height:175px;max-width:96%}
.editorial-compact .art-icon-orbit>.art-app-icon:nth-child(1){left:19px;top:24px}
.editorial-compact .art-icon-orbit>.art-app-icon:nth-child(2){right:16px;bottom:20px}
.editorial-compact .art-icon-orbit:has(>.art-app-icon:nth-child(3))>.art-app-icon:nth-child(1){left:10px;top:69px}
.editorial-compact .art-icon-orbit:has(>.art-app-icon:nth-child(3))>.art-app-icon:nth-child(2){right:50px;top:3px;bottom:auto}
.editorial-compact .art-icon-orbit>.art-app-icon:nth-child(3){right:7px;bottom:8px}
.editorial-compact .story-art .app-icon.art-app-icon{width:56px;height:56px;max-width:56px;max-height:56px;border-radius:14px}
.editorial-compact .art-work-icons{gap:11px;padding:14px;flex-wrap:wrap;align-content:center}
.editorial-compact .art-work-icons>.app-icon{width:52px;height:52px;max-width:52px;max-height:52px;border-radius:13px}

/* Topic introductions are compact and separate from the existing project grid. */
.topic-page{min-width:0}
.topic-back{display:inline-flex;align-items:center;gap:7px;min-height:32px;margin:0 0 18px;color:#0066cc;font-size:14px;line-height:1.5}
.topic-back:hover{text-decoration:underline;text-underline-offset:3px}
.topic-hero{--story-copy-bg:#f8f9fb;--story-ink:#202126;--story-muted:#74757d;display:block;min-width:0;min-height:0;color:var(--story-ink)}

.topic-hero-copy{display:flex;flex-direction:column;min-width:0;padding:4px 0}
.topic-count{margin:0 0 13px;color:var(--story-muted);font-size:12px;line-height:1.5;font-weight:500}
.topic-hero-copy>h1{margin:0;color:var(--story-ink);font-size:31px;line-height:1.25;letter-spacing:-.8px;font-weight:750;overflow-wrap:anywhere}
.topic-intro{max-width:820px;margin:14px 0 0;color:var(--story-muted);font-size:14px;line-height:1.75}
.topic-hero-art{height:280px;min-height:280px;align-self:stretch}
.topic-hero-art .art-portrait-strip{gap:12px;padding:22px 18px}
.topic-hero-art .art-screen{border-radius:11px}
.topic-hero-art.story-art-dsh .art-desktop-stack{width:calc(100% - 48px);max-width:390px}
.topic-hero-art.story-art-dsh .art-desktop-stack>img{width:74%;max-width:290px;height:auto;aspect-ratio:16/9;object-fit:contain}
.topic-hero-art.story-art-dsh .art-desktop-stack>img:nth-child(1){left:50%;top:auto;bottom:18px;width:88%;max-width:340px;transform:translateX(-50%)}
.topic-hero-art.story-art-dsh .art-desktop-stack>img:nth-child(2){left:0;right:auto;top:24px;transform:rotate(-7deg)}
.topic-hero-art.story-art-dsh .art-desktop-stack>img:nth-child(3){right:0;top:24px;transform:rotate(7deg)}
.topic-content{min-width:0;margin-top:28px}
.topic-content>.theme-section{margin-top:0}

@media(min-width:721px) and (max-width:1180px){
  .editorial-group{gap:20px}.editorial-feed{gap:20px}
  .editorial-lead{grid-template-columns:repeat(2,minmax(0,1fr))}
  .editorial-lead .story-copy{padding:24px 25px 22px}
  .editorial-lead .story-copy>h2{font-size:25px}
  .editorial-mid .story-copy{padding:21px 21px 19px}.editorial-mid .story-copy>h2{font-size:22px}
  .app-shelf{padding:24px 23px 19px}.shelf-heading>h2{font-size:23px}.shelf-heading{gap:12px}
  .shelf-project{grid-template-columns:46px minmax(0,1fr) auto;gap:11px}.shelf-project>.app-icon{width:46px;height:46px;min-width:46px;max-width:46px;border-radius:12px}
  .shelf-project-action{min-width:44px;padding-inline:10px}
  .reading-pick{grid-template-columns:minmax(205px,.7fr) minmax(0,1.3fr)}.reading-pick-copy{padding:27px}.reading-pick-copy>h2{font-size:26px}
  .reading-pick-related{grid-template-columns:1fr;gap:0;margin-top:19px;padding-top:10px}.reading-pick-related .shelf-project{min-height:66px;padding-block:9px}
  .editorial-compact{grid-template-columns:1fr}
  .editorial-compact .story-card{grid-template-columns:minmax(175px,.7fr) minmax(0,1.3fr);min-height:214px}
  .editorial-compact .story-art{min-height:214px}
  .editorial-compact .story-copy{padding:25px 29px 23px}
  .editorial-compact .story-copy>h2{font-size:24px}
  .topic-hero-copy{padding:4px 0}.topic-hero-copy>h1{font-size:28px}
}
@media(min-width:721px) and (max-width:920px){
  .editorial-mid,.editorial-play{grid-template-columns:1fr}
  .editorial-lead .story-card{min-height:0}.editorial-lead .story-art{height:290px;min-height:290px}
  .editorial-mid .story-card{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(0,1.2fr)}
  .editorial-mid .story-art{height:100%;min-height:240px}.editorial-mid .story-copy{padding:24px}
  .editorial-mid .story-copy>h2{font-size:23px}
  .reading-pick{grid-template-columns:minmax(170px,.7fr) minmax(0,1.3fr)}.reading-pick-media{padding-inline:18px}.reading-pick-copy{padding:24px}.reading-pick-copy>h2{font-size:24px;margin-bottom:20px}
  .reading-pick-primary>.discovery-card{grid-template-columns:42px minmax(0,1fr);gap:11px}.reading-pick-primary .discovery-card>.app-icon{width:42px;height:42px;border-radius:11px}
  .reading-pick-primary .discovery-open{grid-column:2;grid-row:2;justify-self:start;margin-top:2px}.reading-pick-primary .discovery-card .app-title{font-size:17px}
  .topic-hero{min-height:0}
  .topic-hero-copy{padding:4px 0}.topic-hero-copy>h1{font-size:25px}
  .topic-hero-art{height:248px;min-height:248px}
  .topic-hero-art .art-portrait-strip{gap:7px;padding-inline:10px}
  .topic-hero-art .art-icon-orbit{transform:scale(.82)}
}
@media(max-width:720px){
  .discovery-intro{margin:0 0 23px}.discovery-intro h1{font-size:32px;letter-spacing:-.9px}.discovery-intro>p{font-size:14px;margin-top:9px}
  .editorial-feed{gap:20px}.editorial-group{grid-template-columns:minmax(0,1fr);gap:20px}
  .story-card{border-radius:22px;box-shadow:0 4px 10px #14203105,0 11px 25px #1420310b}
  .story-card:hover{transform:none}
  .app-shelf,.editorial-play .app-shelf,.editorial-compact .app-shelf{padding:23px 22px 16px;border-radius:22px}
  .shelf-heading,.editorial-compact .shelf-heading{gap:14px;margin-bottom:13px}.shelf-heading>h2,.editorial-compact .shelf-heading>h2{font-size:23px;line-height:1.3;letter-spacing:-.5px}
  .shelf-topic-link{font-size:11px;min-height:26px}
  .shelf-project,.editorial-compact .shelf-project{grid-template-columns:44px minmax(0,1fr) auto;min-height:80px;padding:14px 0;gap:11px}
  .shelf-project>.app-icon,.editorial-compact .shelf-project>.app-icon{width:44px;height:44px;min-width:44px;max-width:44px;border-radius:11px}
  .shelf-project-copy>strong,.editorial-compact .shelf-project-copy>strong{font-size:15px;line-height:1.4}.shelf-project-copy>span{font-size:11px;line-height:1.55;margin-top:3px}
  .shelf-project-action{min-width:43px;min-height:28px;padding:5px 10px;font-size:10px}
  .reading-pick{grid-template-columns:112px minmax(0,1fr);align-items:center;gap:18px 18px;padding:22px;border-radius:22px;background:linear-gradient(150deg,#f0e6d6,#fbf8f2 70%)}
  .reading-pick-copy{display:contents}
  .reading-pick-copy>h2{grid-column:1/-1;grid-row:1;margin:0;font-size:24px;line-height:1.3;letter-spacing:-.5px}
  .reading-pick-media{grid-column:1;grid-row:2;align-self:start;padding:0;background:none}
  .reading-pick-media .custom-video{width:112px}.reading-pick-media .video-player.portrait-video{height:243px;border-radius:8px}
  .reading-pick-media .video-controls{gap:1px}.reading-pick-media .video-controls button{flex-basis:22px;width:22px;min-width:22px;padding:3px}.reading-pick-media .video-controls svg{width:15px;height:15px}.reading-pick-media .video-kind{font-size:9px}
  .reading-pick-primary{grid-column:2;grid-row:2;align-self:center}
  .reading-pick-primary>.discovery-card{display:flex;flex-direction:column;align-items:flex-start;gap:13px}
  .reading-pick-primary .discovery-card>.app-icon{width:42px;height:42px;max-width:42px;border-radius:11px}
  .reading-pick-primary .discovery-card>.app-content{display:block;width:100%}.reading-pick-primary .discovery-card .app-title{font-size:17px;line-height:1.4}
  .reading-pick-primary .discovery-card .app-summary{margin-top:7px;font-size:12px;line-height:1.65}
  .reading-pick-primary .discovery-open{display:inline-flex;align-self:flex-start;margin:0;padding:6px 15px;font-size:11px}
  .reading-pick-related{grid-column:1/-1;grid-row:3;grid-template-columns:1fr;gap:0;margin:0;padding:8px 0 0}
  .reading-pick-related .shelf-project{grid-template-columns:36px minmax(0,1fr) auto;gap:11px;min-height:64px;padding:10px 0}
  .reading-pick-related .shelf-project>.app-icon{width:36px;height:36px;min-width:36px;max-width:36px;border-radius:9px}
  .reading-pick-related .shelf-project-action{display:inline-flex}
  .reading-pick-copy>.shelf-topic-link{grid-column:1/-1;grid-row:4;justify-self:start;min-height:24px;margin:0}
  .editorial-lead .story-card{min-height:0}
  .editorial-lead .story-art{height:278px;min-height:278px}
  .editorial-lead .story-copy,.editorial-play .story-copy{padding:23px 23px 21px}
  .editorial-lead .story-card:first-child .story-copy>h2,.editorial-lead .story-card:nth-child(2) .story-copy>h2{font-size:25px;line-height:1.28;letter-spacing:-.6px}
  .story-copy>p{font-size:13px;line-height:1.65;margin-top:10px}
  .story-footer{padding-top:18px;font-size:11px}.story-action{font-size:11px}
  .editorial-mid .story-art{height:218px;min-height:218px}.editorial-mid .story-copy{padding:22px 23px 20px}.editorial-mid .story-copy>h2{font-size:24px;line-height:1.3}
  .editorial-play .story-art{height:250px;min-height:250px}.editorial-play .story-copy>h2{font-size:24px;line-height:1.3}
  .art-portrait-strip{gap:11px;padding:23px 17px}.art-portrait-strip>.art-screen{max-width:29%;border-radius:10px}
  .art-desktop-stack{width:calc(100% - 32px)}.art-desktop-stack>img{width:78%;max-width:340px}
  .art-desktop-stack>img:nth-child(1){top:auto;bottom:27px;width:94%;max-width:390px}
  .art-desktop-stack>img:nth-child(2),.art-desktop-stack>img:nth-child(3){top:34px}
  .story-art-social>.art-social-screen{left:10%;max-width:36%;height:86%;top:7%}
  .story-art-social>.art-icon-orbit{left:47%;width:49%;height:83%;top:9%}
  .story-art-social .app-icon.art-app-icon{width:49px;height:49px;max-width:49px;max-height:49px;border-radius:13px}
  .story-art-social .art-icon-orbit:has(>.art-app-icon:nth-child(4))>.art-app-icon:nth-child(1){left:16px;top:14px}
  .story-art-social .art-icon-orbit:has(>.art-app-icon:nth-child(4))>.art-app-icon:nth-child(2){right:11px;top:45px}
  .story-art-social .art-icon-orbit:has(>.art-app-icon:nth-child(4))>.art-app-icon:nth-child(3){left:11px;bottom:27px}
  .story-art-social .art-icon-orbit>.art-app-icon:nth-child(4){right:17px;bottom:3px}
  .editorial-compact .story-card{grid-template-columns:112px minmax(0,1fr);min-height:206px;border-radius:20px}
  .editorial-compact .story-art{height:100%;min-height:206px}
  .editorial-compact .story-copy{padding:20px 18px 18px}
  .editorial-compact .story-copy>h2{font-size:20px;line-height:1.3;letter-spacing:-.4px}
  .editorial-compact .story-copy>p{font-size:12px;line-height:1.55;margin-top:8px}
  .editorial-compact .story-footer{flex-wrap:wrap;gap:5px 10px;padding-top:13px;font-size:10px}
  .editorial-compact .story-action{font-size:10px;gap:4px}
  .editorial-compact .art-icon-orbit{width:112px;max-width:100%;height:183px}
  .editorial-compact .story-art .app-icon.art-app-icon{width:47px;height:47px;max-width:47px;max-height:47px;border-radius:12px}
  .editorial-compact .art-icon-orbit>.art-app-icon:nth-child(1){left:10px;top:28px}
  .editorial-compact .art-icon-orbit>.art-app-icon:nth-child(2){right:9px;bottom:26px}
  .editorial-compact .art-icon-orbit:has(>.art-app-icon:nth-child(3))>.art-app-icon:nth-child(1){left:7px;top:57px}
  .editorial-compact .art-icon-orbit:has(>.art-app-icon:nth-child(3))>.art-app-icon:nth-child(2){right:9px;top:8px;bottom:auto}
  .editorial-compact .art-icon-orbit>.art-app-icon:nth-child(3){right:10px;bottom:12px}
  .editorial-compact .art-portrait-strip{padding:17px 12px;gap:0}
  .editorial-compact .art-portrait-strip>.art-screen{max-width:92%;max-height:172px;width:auto;transform:rotate(-6deg);border-radius:8px}
  .editorial-compact .art-portrait-strip>.art-screen:not(:first-child){display:none}
  .editorial-compact .art-work-icons{flex-direction:column;flex-wrap:nowrap;gap:16px;padding:18px 10px}
  .editorial-compact .art-work-icons>.app-icon{width:46px;height:46px;max-width:46px;max-height:46px;border-radius:12px}
  .editorial-compact .art-work-icons>.app-icon:nth-child(1){transform:translateX(-9px) rotate(-8deg)}
  .editorial-compact .art-work-icons>.app-icon:nth-child(2){transform:translateX(9px) rotate(7deg)}
  .editorial-compact .art-work-icons>.app-icon:nth-child(3){display:none}
  .topic-back{font-size:13px;min-height:30px;margin-bottom:13px}
  .topic-hero{min-height:0}
  .topic-hero-copy{padding:2px 0}.topic-count{font-size:11px;margin-bottom:9px}
  .topic-hero-copy>h1{font-size:24px;line-height:1.3;letter-spacing:-.5px}
  .topic-intro{font-size:13px;line-height:1.65;margin-top:10px}
  .topic-hero-art{height:160px;min-height:160px;order:0}
  .topic-hero-art .art-portrait-strip{gap:12px;padding:12px 20px}
  .topic-hero-art .art-screen{max-width:25%;border-radius:7px}
  .topic-hero-art .art-screen:nth-child(1),.topic-hero-art .art-screen:nth-child(3){transform:translateY(4px) rotate(-5deg)}
  .topic-hero-art .art-screen:nth-child(2){transform:translateY(-4px)}
  .topic-hero-art .art-screen:nth-child(3){transform:translateY(4px) rotate(5deg)}
  .topic-hero-art.story-art-dsh{height:180px;min-height:180px}
  .topic-hero-art.story-art-dsh .art-desktop-stack{width:calc(100% - 28px);max-width:300px}
  .topic-hero-art.story-art-dsh .art-desktop-stack>img{width:70%;max-width:210px;border-radius:8px}
  .topic-hero-art.story-art-dsh .art-desktop-stack>img:nth-child(1){top:auto;bottom:10px;width:80%;max-width:240px;transform:translateX(-50%)}
  .topic-hero-art.story-art-dsh .art-desktop-stack>img:nth-child(2){top:18px;transform:rotate(-7deg)}
  .topic-hero-art.story-art-dsh .art-desktop-stack>img:nth-child(3){top:18px;transform:rotate(7deg)}
  .topic-hero-art .art-icon-orbit{transform:scale(.76);transform-origin:center;height:170px;max-height:none}
  .topic-hero-art.story-art-social>.art-social-screen{left:20%;height:88%;top:6%;max-width:30%}
  .topic-hero-art.story-art-social>.art-icon-orbit{left:45%;top:-7%;width:44%;height:180px;transform:scale(.74);transform-origin:top center}
  .topic-hero-art .art-work-icons{gap:22px}.topic-hero-art .art-work-icons>.app-icon{width:48px;height:48px;max-width:48px;max-height:48px;border-radius:12px}
  .topic-content{margin-top:23px}
}
@media(max-width:370px){
  .app-shelf,.editorial-play .app-shelf,.editorial-compact .app-shelf{padding-inline:19px}.shelf-heading>h2,.editorial-compact .shelf-heading>h2{font-size:22px}
  .reading-pick{padding:20px;column-gap:14px;grid-template-columns:106px minmax(0,1fr)}.reading-pick-media .custom-video{width:106px}.reading-pick-media .video-player.portrait-video{height:230px}
  .reading-pick-copy>h2{font-size:23px}.reading-pick-primary .discovery-card .app-title{font-size:16px}
  .editorial-lead .story-copy,.editorial-mid .story-copy,.editorial-play .story-copy{padding:21px 20px 19px}
  .editorial-lead .story-card:first-child .story-copy>h2,.editorial-lead .story-card:nth-child(2) .story-copy>h2,.editorial-mid .story-copy>h2,.editorial-play .story-copy>h2{font-size:23px}
  .editorial-compact .story-card{grid-template-columns:96px minmax(0,1fr)}
  .editorial-compact .story-copy{padding:18px 15px 17px}.editorial-compact .story-copy>h2{font-size:19px}
  .editorial-compact .art-icon-orbit{width:96px}
  .topic-hero-copy{padding:2px 0}.topic-hero-copy>h1{font-size:23px}
}
@media(prefers-reduced-motion:reduce){.story-card{transition:none}.story-card:hover{transform:none}}
