/* v8.2: readable previews and independent tea-room pages. */
[hidden]{display:none!important}
#tea-dynamics .tea-dynamic-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:24px;align-items:start}
#tea-dynamics .tag-feed{margin:0;padding:24px;background:linear-gradient(135deg,#f2deeb,#e9e4f5)}
#tea-dynamics #tag-dynamics{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x proximity;padding:8px 4px 18px}
#tag-dynamics .dynamic-card{flex:0 0 min(330px,85%);scroll-snap-align:start;overflow:hidden}
#tea-dynamics .dynamics-panel{max-height:none;padding:24px}
#tea-dynamics #recent-dynamics{display:flex;flex-direction:column;gap:16px;max-height:700px;overflow:auto}
.dynamic-card img{max-height:260px;object-fit:contain;background:#e9dfef}.dynamic-card p{overflow-wrap:anywhere}
#collection-list{grid-auto-rows:var(--collection-card-height,340px);min-height:var(--collection-card-height,340px)}
.collection-image{height:calc(var(--collection-card-height,340px) - 72px)}
.collection-card small{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.preview-settings,.bubble-settings{padding:18px;margin:18px 0;border:1px dashed #cca9c4;background:#ecdfef;border-radius:18px}
.preview-settings>label{display:block;margin-top:12px}.bubble-setting{display:grid;grid-template-columns:1fr 70px 1fr 1fr;gap:10px;align-items:center;margin:12px 0}
.bubble-setting label{font-size:12px!important}.bubble-setting input{width:100%;min-width:0}
.love-bubble.custom-bubble{background:var(--bubble-color);left:var(--bubble-x);top:var(--bubble-y);right:auto;bottom:auto}
#hero-english-title{display:none}
img.preview-failed{opacity:.65;background:linear-gradient(135deg,#eadce9,#e4e9f5);object-fit:contain!important}
.image-retry{display:block;position:relative;border:1px dashed #bb94b2;border-radius:10px;color:#91617e;background:#efdeeb;padding:7px;font-size:11px;cursor:pointer;z-index:15}
.weekly-slot{height:8.8%;justify-content:space-between;padding:.3cqw 0;gap:0}.weekly-slot small{margin-top:auto}
.weekly-slot strong{max-width:100%;overflow:hidden;text-overflow:ellipsis}
@media(min-width:1101px){html{scroll-snap-type:y proximity;scroll-padding-top:12px}.section{min-height:100svh;box-sizing:border-box;scroll-snap-align:start;padding:36px 0;scroll-margin-top:12px;display:flex;align-items:center}.section>.shell{width:min(1420px,calc(100% - 56px))}.section-heading{margin-bottom:24px}.hero{min-height:100svh}.schedule-image-card{max-width:1100px;margin:auto}.section:has(#captain-perks){align-items:flex-start}.compact-gifts #perk-showcase{grid-template-rows:repeat(2,clamp(160px,25svh,255px))}}
@media(max-width:760px){#tea-dynamics .tea-dynamic-layout{grid-template-columns:1fr;gap:20px}#tea-dynamics .dynamics-panel,#tea-dynamics .tag-feed{padding:17px}#collection-list{grid-auto-rows:var(--collection-mobile-height,270px);min-height:var(--collection-mobile-height,270px)}.collection-image{height:calc(var(--collection-mobile-height,270px) - 72px)}#cover-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cover-library{max-height:520px;overflow:auto}.cover-row{display:flex!important;flex-direction:column;align-items:stretch;gap:8px!important;margin:0;min-width:0;padding:10px!important}.cover-row>img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:12px}.cover-row .cover-row-copy{flex:none}.cover-row-copy strong{white-space:normal;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:2.8em}.cover-row .cover-row-end{flex-direction:row;justify-content:space-between}.request-song-list,#request-song-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.request-song{display:flex;flex-wrap:wrap;min-width:0;border:1px solid #e1bed4;border-radius:14px;padding:12px!important;background:#f1e0ec}.request-song .song-info{flex:1;min-width:0}.request-song>button{width:100%}.bubble-setting{grid-template-columns:1fr 65px}.bubble-setting label{min-width:0}.section{min-height:calc(100svh - 85px);box-sizing:border-box}.tea-dynamic-layout{min-width:0}}
@media(prefers-reduced-motion:reduce){html{scroll-snap-type:none}}
