.splash {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-content: center;
  background: linear-gradient(158deg, #6f61f0 0%, #5344e0 38%, #3a2bbe 72%, #241a8f 100%);
  color: #ffffff;
  transition: opacity .6s ease, visibility .6s ease;
}
.splash.done { opacity: 0; visibility: hidden; }
.splash-mark {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(52px, 15vw, 78px);
  letter-spacing: -.055em;
  line-height: 1;
  animation: markIn 1s cubic-bezier(.2, .8, .2, 1) both;
}
.splash-mark .brand-dot { width: 10px; height: 10px; margin-left: 6px; background: #ffffff; }
@keyframes markIn { from { opacity: 0; transform: translateY(12px) scale(.96); } }

.feed { position: fixed; inset: 0; z-index: 200; background: #000000; color: #ffffff; }
.feed[hidden] { display: none; }
.feed-top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(rgba(0, 0, 0, .55), transparent);
}
.feed-title { font-size: 14px; font-weight: 600; }
.feed-close, .feed-market {
  border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .16); color: #ffffff;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.feed-close { width: 34px; height: 34px; display: grid; place-items: center; }
.feed-market { padding: 8px 15px; font-size: 13px; font-weight: 600; }
.feed-market:hover, .feed-close:hover { background: rgba(255, 255, 255, .28); }

.feed-rail { height: 100%; overflow-y: scroll; scroll-snap-type: y mandatory; scrollbar-width: none; }
.feed-rail::-webkit-scrollbar { display: none; }
.reel { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; }
.reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000000; }
.reel-shade { position: absolute; inset: auto 0 0 0; height: 58%; background: linear-gradient(transparent, rgba(0, 0, 0, .82)); pointer-events: none; }

.reel-side { position: absolute; right: 10px; bottom: 108px; z-index: 2; display: grid; justify-items: center; gap: 18px; }
.reel-act { display: grid; justify-items: center; gap: 4px; border: 0; background: transparent; color: #ffffff; cursor: pointer; font-size: 11px; font-weight: 600; }
.reel-act .icon { width: 29px; height: 29px; stroke-width: 1.7; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5)); }
.reel-act.on { color: #ff4d6d; }
.reel-act.on .icon { fill: #ff4d6d; stroke: #ff4d6d; }
.reel-face { width: 44px; height: 44px; position: relative; overflow: hidden; border: 2px solid #ffffff; border-radius: 50%; background: var(--violet); }
.reel-face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-disc { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #3a3a52, #14141f); color: rgba(255, 255, 255, .85); animation: spin 5s linear infinite; }
.reel-disc .icon { width: 17px; height: 17px; }
@keyframes spin { to { transform: rotate(360deg); } }

.reel-info { position: absolute; left: 16px; right: 84px; bottom: 26px; z-index: 2; display: grid; gap: 7px; }
.reel-user { display: flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 700; }
.reel-badge { padding: 2px 7px; border-radius: 999px; background: rgba(255, 255, 255, .2); font-size: 10px; font-weight: 600; }
.reel-copy { margin: 0; font-size: 13.5px; line-height: 1.45; color: rgba(255, 255, 255, .93); }
.reel-song { display: flex; align-items: center; gap: 7px; color: rgba(255, 255, 255, .8); font-size: 12px; }
.reel-song .icon { width: 14px; height: 14px; }
.reel-open {
  justify-self: start; margin-bottom: 3px; max-width: 100%;
  display: flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px;
  padding: 6px 9px;
  background: rgba(0, 0, 0, .42);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: #ffffff; cursor: pointer; text-align: left;
}
.reel-open:hover { background: rgba(0, 0, 0, .6); border-color: rgba(255, 255, 255, .26); }
.reel-open .icon { width: 15px; height: 15px; flex: 0 0 auto; color: #c9c2f5; }
.reel-open .icon:last-child { margin-left: auto; width: 15px; height: 15px; color: rgba(255, 255, 255, .6); }
.reel-open-copy { display: grid; gap: 1px; min-width: 0; }
.reel-open-copy b { font-size: 11.5px; font-weight: 600; }
.reel-open-copy span { color: rgba(255, 255, 255, .66); font-size: 10.5px; }

@media (max-width: 430px) {
  .reel-side { bottom: 96px; gap: 15px; }
  .reel-info { left: 13px; right: 76px; }
}

.reel-sound {
  position: absolute; top: 14px; right: 14px; z-index: 4;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: rgba(0, 0, 0, .32);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: #ffffff; cursor: pointer;
  transition: background .18s;
}
.reel-sound:hover { background: rgba(0, 0, 0, .52); }
.reel-sound .icon { width: 17px; height: 17px; stroke-width: 1.9; }

.reel-play {
  position: absolute; top: 50%; left: 50%; z-index: 3;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: rgba(0, 0, 0, .38);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: #ffffff; cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(.88);
  transition: opacity .2s ease, transform .2s ease;
}
.reel-play .icon { width: 24px; height: 24px; stroke-width: 2; }
.reel.paused .reel-play { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.reel-sound.on { background: rgba(255, 255, 255, .22); }

.feed-rail { -ms-overflow-style: none; }
.feed-rail::-webkit-scrollbar { width: 0; height: 0; display: none; }

@media (max-width: 760px) {
  .reel-info { bottom: 26px; }
  .reel-side { bottom: 112px; }
}
@media (max-width: 430px) {
  .reel-side { bottom: 104px; gap: 15px; }
}

.feed-tabs { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); display: flex; align-items: center; gap: 20px; }
.feed-tab { border: 0; background: transparent; color: rgba(255, 255, 255, .62); cursor: pointer; font-size: 15px; font-weight: 600; padding: 0; }
.feed-tab.on { position: relative; color: #ffffff; }
.feed-tab.on::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 22px; height: 2px; border-radius: 2px; background: #ffffff; transform: translateX(-50%); }

body.feed-open::-webkit-scrollbar, body.feed-open ::-webkit-scrollbar { width: 0; height: 0; display: none; }
body.feed-open { scrollbar-width: none; }
