/* Shared static feed and individual video pages. */
.reels-section { background: radial-gradient(ellipse at 50% 35%, #38233c, #100b1c 70%); padding: 100px 24px 24px; scroll-margin-top: 84px; border-bottom: 1px solid #b59a5738; }
.reels-heading { max-width: 1060px; margin: 0 auto 18px; display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.reels-heading h2,.reels-heading h1 { font-family: var(--font-heading); font-size: clamp(1.25rem,2.4vw,2rem); font-weight: 400; color: #fff1d8; margin: 0; line-height: 1.3; }
.reels-heading p { color: #c8b9d0; margin-top: 6px; font-size: .85rem; }
.reels-scroll-hint { color: #dac18d; font-size: .75rem; white-space: nowrap; }
.reel-feed { height: min(820px,calc(100svh - 210px)); min-height: 430px; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: thin; scrollbar-color: #796347 #1b1224; max-width: 450px; margin: auto; border-radius: 15px; background: #09070d; border: 1px solid #bba16c40; }
.reel-card { position: relative; height: 100%; display: flex; flex-direction: column; scroll-snap-align: start; scroll-snap-stop: always; background: #110c18; overflow: hidden; }
.reel-stage { flex: 1; min-height: 0; position: relative; background: #050407; display: flex; justify-content: center; }
.reel-stage video { display: block; height: 100%; width: 100%; object-fit: contain; background: #050407; }
.reel-counter { position: absolute; top: 12px; right: 12px; font-size: .65rem; letter-spacing: .12em; color: white; background: #100b1cc9; padding: 6px 9px; border: 1px solid #ffffff30; border-radius: 20px; pointer-events: none; }
.reel-card-footer { flex: 0 0 auto; padding: 13px 16px 14px; border-top: 1px solid #b59a5738; }
.reel-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.reel-title-row h3 { color: #fff1d8; font-size: .95rem; font-family: var(--font-ui); font-weight: 700; line-height: 1.3; }
.reel-title-row p { color: #c8b9d0; font-size: .74rem; line-height: 1.4; margin: 3px 0 0; }
.reel-duration { color: #baa5c5; font-size: .72rem; }
.reel-actions { display: flex; align-items: center; gap: 14px; justify-content: space-between; }
.reel-button { display: inline-flex; align-items: center; gap: 20px; justify-content: space-between; background: #ecd093; color: #1c1224; padding: 12px 17px; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: .8rem; min-height: 44px; }
.reel-button:hover { background: #ffe4a4; }
.reel-more summary { cursor: pointer; list-style: none; color: #d9c8e3; font-size: .75rem; min-height: 44px; display: flex; gap: 10px; align-items: center; }
.reel-more summary::-webkit-details-marker { display: none; }
.reel-more[open] summary span { transform: rotate(45deg); }
.reel-more-panel { position: absolute; z-index: 3; inset: 12px 12px 128px; overflow-y: auto; overscroll-behavior: contain; padding: 25px 22px; background: #170f23; border: 1px solid #bca17660; border-radius: 12px; box-shadow: 0 12px 50px #000b; }
.reel-more-panel h3 { font-family: var(--font-heading); color: #fff0d9; font-size: 1.3rem; line-height: 1.4; margin-bottom: 18px; }
.reel-more-panel h4 { color: #eed39b; margin: 24px 0 14px; font-size: 1rem; }
.reel-more-panel p { color: #d3c6de; font-size: .85rem; line-height: 1.75; margin: 12px 0; }
.reel-more-panel ol { list-style: none; }
.reel-more-panel li { display: grid; grid-template-columns: 33px 1fr; gap: 10px; padding: 14px 0; border-bottom: 1px solid #ffffff15; font-size: .8rem; line-height: 1.7; color: #e7dced; }
.reel-more-panel time { color: #dabc80; font-size: .7rem; }
.reels-kicker { color: #e6c582 !important; text-transform: uppercase; letter-spacing: .12em; font-size: .65rem !important; }
.reel-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0; }
.reel-tags span { color: #d0bddc; font-size: .65rem; padding: 5px 8px; border: 1px solid #bca17645; border-radius: 16px; }
.reel-note { color: #b6a4c3 !important; font-size: .72rem !important; }
.reel-permalink,.reels-text-link { color: #edd093; text-decoration: underline; text-underline-offset: 4px; font-size: .8rem; }
.reels-section :focus-visible,.reel-detail :focus-visible { outline: 2px solid #f6d995; outline-offset: 3px; }
.reel-detail { background: #100b1c; color: #eee5f2; }
.reel-nav { border-bottom: 1px solid #b59a5738; padding: 20px 24px; }
.reels-wrap { max-width: 1100px; margin: auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.reel-nav .author-name { color: #efd28a; font-size: 1.5rem; text-decoration: none; }
.reel-detail .reels-section { padding-top: 24px; }
.reel-single { padding: 24px; }
.reel-single .reels-heading { max-width: 650px; text-align: center; justify-content: center; }
.single-feed { height: min(820px,calc(100svh - 210px)); }
@media(max-width: 700px) {
 .reels-section { padding: 88px 0 0; }
 .reels-heading { padding: 0 16px; margin-bottom: 12px; }
 .reels-heading h2,.reels-heading h1 { font-size: 1.12rem; }
 .reels-heading p { font-size: .68rem; margin-top: 5px; }
 .reels-scroll-hint { display: none; }
 .reel-feed { height: calc(100svh - 175px); min-height: 370px; max-width: 450px; width: 100%; border-inline: 0; border-radius: 0; scrollbar-width: none; }
 .reel-feed::-webkit-scrollbar { display: none; }
 .reel-card-footer { padding: 10px 16px 12px; }
 .reel-title-row { margin-bottom: 8px; }
 .reel-title-row h3 { font-size: .88rem; }
 .reel-title-row p { font-size: .7rem; }
 .reel-more-panel { bottom: 119px; }
 .reel-single { padding: 20px 0 0; }
 .single-feed { height: calc(100svh - 172px); }
 .reel-nav .author-name { font-size: 1.2rem; }
 .reel-detail .reels-section { padding-top: 20px; }
}
@media(prefers-reduced-motion: reduce) { .reel-feed { scroll-behavior: auto; } }

.reel-library { max-width:1100px; margin:32px auto; padding:24px; }
.reel-library h2 { font-family:var(--font-heading); font-size:1.7rem; margin-bottom:20px; color:#fff1d8; }
.reel-library-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.reel-library-grid section { padding:20px; border:1px solid #bba16c40; border-radius:12px; background:#19121f; }
.reel-library a,.reel-book-link a { color:#edd093; text-underline-offset:4px; }
.reel-library h3 { font-size:1.05rem; margin-bottom:12px; }
.reel-library ul { padding-left:18px; }
.reel-library li { margin:12px 0; line-height:1.6; }
.reel-book-link { text-align:center; margin:24px auto; padding-inline:20px; }
@media(max-width:700px){.reel-library-grid{grid-template-columns:1fr}.reel-library{padding:18px}}
