/* A clearer first choice, retaining the accepted Gems materials and type. */
#home .featured-section>.home-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px 28px;align-items:center;margin-bottom:22px;padding-bottom:20px;}
#home .featured-section>.home-heading .rubric{display:block;font:10px/1.4 monospace;letter-spacing:.12em;margin-bottom:10px;}
#home .featured-section .home-heading h1{font:normal clamp(28px,3.1vw,42px)/1.1 Georgia,serif;max-width:24ch;letter-spacing:-.035em;margin:0;}
#home .home-promise{max-width:none;font:13px/1.5 Arial,sans-serif;margin:10px 0 0;color:#593d47;}
#home .featured-browse{min-height:48px;padding:12px 22px;border:1px solid #6b3b4e;border-radius:5px;background:#fff6e9b0;color:#482432;font:600 14px/1.3 Arial,sans-serif;}
#featured-grid .feature-lead>.feature-art{position:relative;padding-bottom:26px;}
.cover-cue{display:block;font:11px/1.4 Arial,sans-serif;margin-top:12px;color:#593d47;}
#collection .shelf-toolbar{gap:12px 24px;}
#collection #starter-topics,#collection #active-filters{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:6px 8px;}
#starter-topics[hidden],#active-filters[hidden]{display:none!important;}
#starter-topics button,#active-filters button{min-height:40px;padding:8px 13px;background:#fff8ef66;border:1px solid #9c748380;border-radius:5px;font:12px/1.4 Arial,sans-serif;color:#4e2a39;}
#starter-topics button[aria-pressed=true]{background:#472a3b;border-color:#472a3b;color:#fff7ef;}
#active-filters button{display:inline-flex;align-items:center;gap:12px;min-height:44px;background:#f4d8dc;border-color:#a66a81;overflow-wrap:anywhere;max-width:100%;text-align:left;}
#active-filters button span{font-size:19px;}
#collection #browse-count{font-size:14px;line-height:1.5;}
#topic-picker{position:relative;min-width:120px;}
#topic-picker summary{cursor:pointer;display:flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:10px 14px;border:1px solid #8e6973;border-radius:5px;background:#fff8ef88;font:13px/1.4 Arial,sans-serif;list-style:none;}
#topic-picker summary::after{content:'+';font:20px/1 Arial,sans-serif;}
#topic-picker[open] summary::after{content:'−';}
#topic-picker>label{position:absolute;z-index:35;right:0;top:calc(100% + 6px);display:grid;gap:10px;width:min(300px,calc(100vw - 36px));padding:16px;border:1px solid #a47c8b;background:#fff7ed;box-shadow:0 8px 20px #3c24331a;border-radius:6px;font:12px/1.4 Arial,sans-serif;}
#collection #topic-picker select{width:100%;max-width:none;font-size:15px;}
#collection .empty{padding:28px 18px;max-width:650px;margin:0 auto;font:17px/1.6 Arial,sans-serif;}
#collection .empty button{min-height:44px;margin:12px 8px 0 0;padding:10px 16px;font-size:13px;}
#collection .empty [data-query-suggestion]{display:inline;min-height:44px;margin:0 0 0 5px;text-decoration:underline;}
.discovery .sleeve{backface-visibility:hidden;-webkit-backface-visibility:hidden;transform:translateZ(.2px);}
.case-booklet{position:absolute;inset:5px 33px 5px 13px;transform:rotateY(180deg) translateZ(.5px);backface-visibility:hidden;-webkit-backface-visibility:hidden;background:linear-gradient(90deg,#e4d5c5,#faf0df 9%,#f6ead8 96%,#dfcdb7);color:#483337;padding:8%;display:flex;flex-direction:column;align-items:flex-start;gap:5%;border:1px solid #b29d88;box-shadow:inset 0 0 0 5px #fff5e288;text-align:left;overflow:hidden;}
.case-booklet>img{width:13%;height:auto;opacity:.8;}
.case-booklet>small{font:7px/1.3 monospace;letter-spacing:.1em;}
.case-booklet>strong{font:normal clamp(14px,2vw,26px)/1.1 Georgia,serif;letter-spacing:-.02em;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;}
.case-booklet>span{font:9px/1.4 Arial,sans-serif;}
.case-booklet>.booklet-foot{margin-top:auto;padding:9px 0 0;width:100%;border-top:1px solid #9e8274;display:grid;gap:5px;font:7px/1.3 monospace;background:none;}
.case-booklet>.booklet-foot small{font:7px/1.3 Arial,sans-serif;}
.discovery .stage-play#open-case{display:block;min-height:44px;margin:12px auto 0;padding:10px 16px;max-width:100%;border:1px solid #936373;border-radius:5px;background:#fff6e9b0;color:#482432;font:600 12px/1.35 Arial,sans-serif;}
.discovery .gesture-hint#gesture-hint{display:block;max-width:48ch;margin:9px auto 0;padding-inline:6px;text-align:center;font:12px/1.45 Arial,sans-serif;color:#5c3b48;}
.discovery .cd-navigation button[hidden],.discovery .cd-navigation span[hidden]{display:none!important;}
.discovery .cd-navigation #single-result-return{margin:auto;min-width:0;}
.discovery .cd-navigation #cd-count{font:10px/1.4 monospace;white-space:nowrap;}
#listening.expanded #queue-context{display:block;font:11px/1.4 Arial,sans-serif;margin-top:5px;}
#sheet.record-preview .preview-open{min-height:44px;margin-bottom:12px;}
#sheet.record-preview .preview-actions{border:0;padding-top:0;gap:10px;}
#sheet.record-preview .preview-note{margin-bottom:18px;}
@media(max-width:760px){
 #home .featured-section>.home-heading{grid-template-columns:1fr;gap:12px;margin-bottom:20px;padding-bottom:16px;}
 #home .featured-section .home-heading h1{font-size:29px;max-width:23ch;}
 #home .featured-section>.home-heading .rubric{font-size:9px;margin-bottom:7px;}
 #home .home-promise{font-size:12px;margin-top:8px;}
 #home .featured-browse{justify-self:start;min-height:44px;padding:10px 18px;font-size:13px;}
 #featured-grid .feature-lead>.feature-art{padding-bottom:8px;}.cover-cue{font-size:10px;margin-top:8px;}
 #collection #starter-topics{gap:6px;}#starter-topics button{min-height:44px;font-size:11px;padding:8px 11px;}
 #topic-picker>label{left:0;right:auto;}
 #collection .shelf-toolbar{gap:10px;}
 #collection #browse-count{font-size:13px;}
 .discovery .stage-play#open-case{margin-top:9px;}
 .discovery .gesture-hint#gesture-hint{font-size:11px;margin-top:7px;}
 .discovery .cd-navigation button{font-size:10px;padding:10px 8px;}
 .case-booklet>strong{font-size:17px;}.case-booklet>small{font-size:5px;}.case-booklet>span{font-size:6px;}.case-booklet>.booklet-foot,.case-booklet>.booklet-foot small{font-size:5px;}
}
@media(max-width:360px){#home .featured-section .home-heading h1{font-size:26px;}#home .home-promise{max-width:none;}#starter-topics button{padding:8px 9px;} .case-booklet>strong{font-size:14px;}}
/* Keep the new lid instruction above the audio remote on short desktops. */
@media(min-width:1001px) and (max-height:800px){
 .has-player .discovery .object-stage{height:310px;}
 .has-player .discovery .jewel{scale:1.28;}
 .has-player .discovery .jewel.open{scale:1.12;}
}
@media(min-width:1001px) and (max-height:680px){
 .has-player .discovery .object-stage{height:215px;}
 .has-player .discovery .jewel{scale:.95;}
 .has-player .discovery .jewel.open{scale:.86;}
}

/* November10: the shelf keeps its geometry; action rows share a baseline. */
#collection-items.sleeve-grid{align-items:stretch;}
#collection-items.sleeve-grid .browse-card{display:flex;flex-direction:column;align-self:stretch;}
#collection-items.sleeve-grid .card-discover{flex:1;}
#collection-items.sleeve-grid .card-copy{flex:1;}
#collection-items .card-copy .preview-cue{display:inline-flex;align-items:center;align-self:flex-start;width:max-content;max-width:100%;min-height:32px;margin:10px 0 0;padding:5px 10px;border:1px solid #84566a;border-radius:4px;background:#fff5ed55;color:#50303f;font:600 11px/1.3 Arial,sans-serif;letter-spacing:0;text-transform:none;text-decoration:none;}
#collection-items.sleeve-grid .card-copy .preview-cue{margin-top:auto;}
#collection-items .card-copy>span{margin-bottom:8px;}
#collection-items .card-discover:hover .preview-cue,#collection-items .card-discover:focus-visible .preview-cue{background:#fff5ed;box-shadow:0 0 0 1px #84566a;}
#collection-items .card-actions{margin-top:auto;}
#collection-items .card-actions>button,#collection-items.sleeve-grid .card-actions>button{height:48px;min-height:48px;}
#collection-items .card-actions .card-provider{min-height:28px;line-height:1.4;}
#collection-items.list-layout .card-actions{margin:0;}
/* Shared Quick look: identity owns the heart; both destinations span the content. */
#sheet.record-preview .preview-identity{grid-template-columns:140px minmax(0,1fr) 44px;gap:18px;}
#sheet.record-preview .preview-identity>div{min-width:0;overflow-wrap:break-word;}
#sheet.record-preview .preview-identity>gems-heart{align-self:center;justify-self:end;}
#sheet.record-preview .preview-identity .reaction-pill{width:44px;min-width:44px;height:44px;min-height:44px;padding:0;}
#sheet.record-preview .preview-actions{display:block;width:100%;}
#sheet.record-preview .preview-actions:empty{display:none;}
#sheet.record-preview .preview-open,#sheet.record-preview .preview-play{display:block;width:100%;min-height:48px;box-sizing:border-box;}
@media(max-width:620px){
 #collection-items .card-copy .preview-cue{font-size:11px;min-height:32px;padding:5px 9px;}
 #sheet.record-preview .preview-identity{grid-template-columns:100px minmax(0,1fr) 44px;gap:12px;}
 #sheet.record-preview .preview-artist{font-size:15px;}
}
@media(max-width:360px){
 #sheet.record-preview .preview-identity{grid-template-columns:84px minmax(0,1fr) 44px;gap:10px;}
 #sheet.record-preview .preview-identity .preview-case{width:84px;}
}
