/* Shared discovery and device-local recently opened history. */
.mood-picker{padding-block:56px 40px}
.discovery-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:26px}
.discovery-heading .eyebrow,.personal-heading .eyebrow{font-size:10px;letter-spacing:1.8px;color:#65695f;margin-bottom:10px}
.discovery-heading h2,.personal-heading h2{font-size:clamp(28px,3.2vw,42px);letter-spacing:-1.7px;line-height:1.15}
.discovery-heading>p{font-size:14px;line-height:1.7;color:#5b6157;max-width:250px}
.mood-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.mood-choice{--mood-color:#d65026;--mood-wash:#f5ddc9;position:relative;padding:23px;border:1px solid #deded4;border-radius:22px;background:#fffef9;min-width:0;transition:transform .35s var(--ease),box-shadow .35s,border-color .35s}
.mood-race{--mood-color:#7553b7;--mood-wash:#e6def1}.mood-explore{--mood-color:#356950;--mood-wash:#deecda}.mood-music{--mood-color:#316d94;--mood-wash:#d9eaf1}
.mood-art{display:grid;place-items:center;position:relative;width:72px;height:72px;margin-bottom:20px;isolation:isolate;color:var(--mood-color)}
.mood-art::before{content:'';position:absolute;inset:0;background:var(--mood-wash);border-radius:22px;transform:rotate(-8deg);z-index:-1;transition:transform .5s var(--ease)}
.mood-art .flow-icon{width:36px;height:36px;stroke-width:1.4;transition:transform .5s var(--ease)}
.mood-art i,.mood-art b{position:absolute;display:block;border:1px solid var(--mood-color);width:9px;height:9px;border-radius:50%;right:-6px;top:8px;transition:transform .5s var(--ease)}
.mood-art b{width:6px;height:6px;border:0;background:var(--mood-color);right:5px;top:auto;bottom:-5px;border-radius:2px;transform:rotate(25deg)}
.mood-label{display:block;font-size:19px;font-weight:800;letter-spacing:-.6px;padding-right:20px}
.mood-description{display:block;font-size:12px;line-height:1.7;color:#586052;margin-top:7px;max-width:195px}
.mood-arrow{position:absolute;right:18px;top:22px;color:var(--mood-color)}
.mood-choice[aria-current=true]{border-color:var(--mood-color);box-shadow:inset 0 0 0 1px var(--mood-color)}
.mood-choice:active .mood-art::before{transform:rotate(5deg) scale(.95)}
@media(hover:hover){.mood-choice:hover{transform:translateY(-5px);border-color:var(--mood-color);box-shadow:0 12px 30px #2429190d}.mood-choice:hover .mood-art::before{transform:rotate(6deg)}.mood-choice:hover .mood-art .flow-icon{transform:translateY(-3px) rotate(-6deg)}.mood-choice:hover .mood-art i{transform:translate(3px,-3px)}}
.mood-state{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 20px;padding:12px 18px;border-radius:12px;background:#eeefe6;color:#384231;font-size:14px}
.mood-state button,.clear-recent{background:none;border:0;text-decoration:underline;text-underline-offset:4px;font-size:12px;padding:10px 0;min-height:44px}
.play-compatibility{margin:18px 0 16px;text-align:left;max-width:620px}
.device-badges{padding:0;margin:0;display:flex;flex-wrap:wrap;gap:7px;list-style:none}
.device-badges li{display:inline-flex;align-items:center;gap:6px;font-size:11px;line-height:1.4;padding:6px 9px;border-radius:8px;background:#eef0e7;color:#3e4938}
.device-badges .flow-icon{width:15px;height:15px;flex-shrink:0}
.device-note{font-size:12px;line-height:1.65;color:#586052;margin-top:10px;max-width:56ch}
.detail-compatibility{margin:22px auto;max-width:620px;text-align:center}.detail-compatibility .device-badges{justify-content:center}.detail-compatibility .device-note{margin-inline:auto}
@media(min-width:761px){.featured .device-badges li{background:#ffffff12;color:#e5ecdd}.featured .device-note{color:#c6d1bf}}
.personal-shelf{padding:0;margin-bottom:24px;border:1px solid #dadfd1;border-radius:16px;background:#eeefe7;scroll-margin-top:110px}
.personal-drawer>summary{display:flex;align-items:center;gap:10px;min-height:58px;padding:12px 18px;font-size:14px;font-weight:750;cursor:pointer;list-style:none}
.personal-drawer>summary::-webkit-details-marker{display:none}.personal-drawer>summary>small{font-size:11px;font-weight:500;margin-left:auto;color:#58624f}.personal-drawer>summary>.flow-icon{width:18px;height:18px;flex-shrink:0}.personal-drawer[open]>summary>.flow-icon:last-child{transform:rotate(180deg)}
.personal-drawer-body{padding:10px 24px 24px}.personal-drawer-body .personal-heading h2{font-size:23px}.personal-drawer-body .personal-heading .eyebrow{display:none}
#mood-heading,#personal-heading,#updates-heading{scroll-margin-top:110px}
.personal-heading{display:flex;justify-content:space-between;gap:20px;align-items:center}.personal-heading h2{font-size:27px}
.personal-grid{margin-top:18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.personal-card{display:flex;align-items:center;gap:14px;padding:12px;background:#fffef9;border:1px solid #d9dece;border-radius:14px;min-width:0}
.personal-card>img{width:80px;height:64px;object-fit:contain;background:#e7eadd;border-radius:8px;flex-shrink:0}.personal-card>div{min-width:0;flex:1}
.personal-title{display:block;font-size:14px;font-weight:800;line-height:1.5}.personal-launch{display:flex;align-items:center;gap:8px;font-size:12px;min-height:44px;text-decoration:underline;text-underline-offset:4px}.personal-launch .flow-icon{width:14px;height:14px}
.personal-note,.personal-empty{font-size:12px;color:#56604e;line-height:1.7}.personal-note{margin-top:16px}
.discovery-updates{padding-block:70px 20px}.update-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.update-card{min-width:0;border:1px solid #deded4;border-radius:19px;overflow:hidden;background:#fffef9;display:flex;flex-direction:column}
.update-image{overflow:hidden;aspect-ratio:16/10;background:#172027}.update-image img{width:100%;height:100%;object-fit:cover;transition:transform .7s var(--ease)}
.update-card:hover .update-image img{transform:scale(1.04)}.update-copy{padding:22px;flex:1;display:flex;flex-direction:column}.update-copy>.eyebrow{font-size:9px;letter-spacing:1.5px;color:#6c7265}
.update-copy h3{font-size:22px;letter-spacing:-.8px;line-height:1.3;margin:11px 0}.update-copy>p:not(.eyebrow){font-size:13px;line-height:1.75;color:#596151}.update-copy>span{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:700;min-height:44px;margin-top:auto;padding-top:18px}.update-copy .flow-icon{width:16px;height:16px}
.recommendation-reason{font-size:14px;line-height:1.7;color:#56604e;padding:0 20px 20px}.related-grid>a{display:flex;flex-direction:column}.related-grid>a>div{align-items:center}
@media(max-width:1000px){.mood-choice{padding:19px}.mood-label{font-size:17px}.mood-description{font-size:11px}.personal-grid{grid-template-columns:1fr}.update-copy{padding:18px}.update-copy h3{font-size:19px}}
@media(max-width:760px){
 .mood-picker{padding-block:20px 35px}.discovery-heading{display:block;margin-bottom:20px}.discovery-heading h2{font-size:30px;letter-spacing:-1.4px;max-width:360px}.discovery-heading>p{margin-top:12px;font-size:13px;max-width:none}
 .mood-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mood-choice{padding:18px 15px;border-radius:17px}.mood-art{width:52px;height:52px;margin-bottom:18px}.mood-art::before{border-radius:16px}.mood-art .flow-icon{width:28px;height:28px}.mood-label{font-size:16px;letter-spacing:-.5px;padding:0}.mood-description{font-size:11px;line-height:1.6;margin-top:6px}.mood-arrow{top:14px;right:12px}.mood-arrow .flow-icon{width:16px;height:16px}
 .play-compatibility{margin-top:14px}.device-badges{gap:6px}.device-badges li{padding:6px 8px;font-size:10px}.device-note{font-size:11px}
 .personal-shelf{padding:0;border-radius:14px;margin-bottom:20px}.personal-drawer>summary{padding:12px;font-size:12px;gap:7px}.personal-drawer>summary>small{font-size:10px}.personal-drawer-body{padding:6px 12px 16px}.personal-heading{gap:10px;align-items:start}.personal-heading h2,.personal-drawer-body .personal-heading h2{font-size:20px;letter-spacing:-.8px}.personal-heading .eyebrow{font-size:9px}.clear-recent{font-size:11px;max-width:54px;padding:0}.personal-card{gap:10px;padding:10px}.personal-card>img{width:54px;height:54px}.personal-title{font-size:12px}.personal-launch{font-size:11px}.personal-note{font-size:11px}
 .discovery-updates{padding-block:40px 10px}.update-grid{grid-template-columns:1fr;gap:14px}.update-card{display:grid;grid-template-columns:100px minmax(0,1fr);border-radius:16px}.update-image{height:100%;aspect-ratio:auto}.update-copy{padding:16px}.update-copy>.eyebrow{font-size:8px;letter-spacing:1px}.update-copy h3{font-size:18px;margin-block:8px}.update-copy>p:not(.eyebrow){font-size:12px;line-height:1.6}.update-copy>span{font-size:11px;padding-top:10px}.recommendation-reason{font-size:13px}
}
@media(max-width:359px){.mood-description{font-size:10px}.mood-label{font-size:15px}.mood-choice{padding:16px 12px}.update-card{grid-template-columns:78px minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.mood-choice,.mood-art::before,.mood-art .flow-icon,.mood-art i,.mood-art b,.update-image img{transition:none;animation:none}.mood-choice:hover,.mood-choice:hover .mood-art::before,.mood-choice:hover .mood-art .flow-icon,.mood-choice:hover .mood-art i,.update-card:hover .update-image img{transform:none}}

.mood-state button{white-space:nowrap;flex-shrink:0}
/* Content determines card height. The older equal-height paragraphs created
   empty space above the device labels and crowded the two action rows. */
.homepage .project-grid .card-copy>.card-description{min-height:0;margin:12px 0 0}
.homepage .project-grid .play-compatibility{margin:18px 0 0}
.homepage .project-grid .card-bottom{margin-top:20px;padding-top:16px;min-height:60px;flex-direction:row;align-items:center;flex-wrap:wrap}
.homepage .project-grid .card-launch{min-height:44px;padding:11px 17px;border-radius:24px;background:var(--ink);color:#fff;justify-content:center}
@media(max-width:760px){.homepage .project-grid .card-copy>.card-description{margin-top:10px}.homepage .project-grid .card-bottom{padding-top:14px}}
