html, .reel-page { height: 100%; overflow: hidden; }
.reel-page { margin: 0; background: #000; color: #fff; font-family: "Kohinoor Devanagari", "Noto Sans Devanagari", "Mukta", sans-serif; }
.reel-empty { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; align-content: center; gap: 16px; text-align: center; padding: 24px; }
.reel-empty a { color: #fff; }
.reel-stage { height: 100vh; height: 100dvh; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: none; background: #000; touch-action: pan-y; }
.reel-slide { height: 100vh; height: 100dvh; scroll-snap-align: start; scroll-snap-stop: always; display: grid; place-items: center; }
.reel-frame { position: relative; width: 100%; height: 100vh; height: 100dvh; background: #000; overflow: hidden; }
.reel-frame video, .reel-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.reel-frame video { z-index: 1; }
.reel-poster { z-index: 0; }
.reel-frame.is-playing .reel-poster { display: none; }
.reel-shade { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 72px 84px calc(20px + env(safe-area-inset-bottom)) 16px; background: linear-gradient(transparent, rgba(0,0,0,.72)); }
.reel-shade h2 { margin: 0; font-size: 18px; line-height: 1.35; }
.reel-shade p { margin: 6px 0 0; font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.reel-meter { position: absolute; z-index: 2; left: 12px; right: 12px; top: calc(62px + env(safe-area-inset-top)); width: calc(100% - 24px); height: 3px; border: 0; background: transparent; }
.reel-meter::-webkit-meter-bar { background: rgba(255,255,255,.35); border-radius: 99px; }
.reel-meter::-webkit-meter-optimum-value { background: #f15a22; }
.reel-close, .reel-sound { position: fixed; z-index: 3; top: calc(14px + env(safe-area-inset-top)); height: 40px; padding: 0; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; text-decoration: none; }
.reel-close { left: 12px; width: 40px; }
.reel-sound { right: 12px; width: 40px; font: inherit; cursor: pointer; }
.reel-close svg, .reel-sound svg { width: 22px; height: 22px; display: block; flex: none; }
.reel-sound svg[hidden] { display: none; }
.reel-rail { position: absolute; z-index: 2; right: 6px; bottom: calc(78px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.reel-act { width: 58px; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 3px; font: inherit; font-size: 13px; font-weight: 700; line-height: 1; cursor: pointer; -webkit-appearance: none; appearance: none; }
.reel-act svg { width: 36px; height: 36px; display: block; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; filter: drop-shadow(0 1px 2px rgba(0,0,0,.65)); }
.reel-like.is-liked svg { fill: #ff3040; stroke: #ff3040; }
.reel-sheet { position: fixed; z-index: 4; left: 0; right: 0; bottom: 0; height: min(72dvh, 560px); display: flex; flex-direction: column; background: #fff; color: #161616; border-radius: 18px 18px 0 0; box-shadow: 0 -12px 40px rgba(0,0,0,.35); }
.reel-sheet[hidden] { display: none; }
.reel-sheet-bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 8px; }
.reel-sheet-bar strong { font-size: 16px; }
.reel-sheet-bar button { width: 32px; height: 32px; border: 0; border-radius: 50%; background: #f2f2f2; color: #161616; font: inherit; font-size: 20px; cursor: pointer; }
.reel-sheet-list { flex: 1; overflow: auto; padding: 4px 16px 12px; }
.reel-sheet-list p { margin: 0; color: #666; }
.reel-note { margin: 0 0 14px; }
.reel-note strong { display: block; font-size: 14px; }
.reel-note span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.45; }
.reel-note small { color: #888; font-size: 12px; }
.reel-sheet-form { display: flex; gap: 8px; align-items: center; padding: 10px 12px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid #eee; }
.reel-sheet-form input { min-width: 0; border: 0; background: #f4f4f4; border-radius: 999px; padding: 12px 14px; font: inherit; font-size: 15px; }
.reel-sheet-form input[name="name"] { width: 28%; }
.reel-sheet-form input[name="body"] { flex: 1; }
.reel-sheet-form button { flex: none; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #f15a22; color: #fff; cursor: pointer; }
.reel-sheet-form button svg { width: 18px; height: 18px; display: block; margin: auto; fill: none; stroke: currentColor; stroke-width: 2; }
.reel-sheet-error { margin: 0; padding: 0 16px 8px; color: #b42318; font-size: 13px; }
.reel-hp { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
@media (min-width: 720px) {
  .reel-sheet { left: 50%; right: auto; width: min(460px, 100vw); transform: translateX(-50%); }
}
@media (min-width: 720px) {
  .reel-slide { background: #000; }
  .reel-frame { width: min(460px, 100vw); border-radius: 0; }
  .reel-frame video, .reel-poster { object-fit: cover; }
}
@media (max-width: 719px) {
  .reel-frame video, .reel-poster { object-fit: cover; }
}
