* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; background: #000; overflow: hidden; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }

.player-container { position: relative; width: 100%; height: 100vh; background: #000; }
.player-container video { width: 100%; height: 100%; object-fit: contain; }

/* Controls */
.player-controls { position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; align-items: center; gap: 10px; padding: 10px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
  opacity: 0; transition: opacity .3s; }
.player-container:hover .player-controls,
.player-container.show-controls .player-controls { opacity: 1; }

.ctrl { background: none; border: none; color: #fff; font-size: 16px; cursor: pointer; padding: 4px; }
.time { color: #ccc; font-size: 12px; white-space: nowrap; }
.volume-slider { width: 60px; accent-color: #0ff; }

.seekbar { flex: 1; height: 4px; background: rgba(255,255,255,.2); border-radius: 2px;
  position: relative; cursor: pointer; }
.seekbar:hover { height: 6px; }
.seek-progress { position: absolute; left: 0; top: 0; bottom: 0; background: #0ff; border-radius: 2px; }
.seek-markers { position: absolute; top: 0; left: 0; right: 0; bottom: 0; }
.seek-marker { position: absolute; top: -2px; width: 4px; height: 8px;
  background: #e5533c; border-radius: 1px; transform: translateX(-50%); }

/* Shop overlay */
.shop-overlay { position: absolute; bottom: 56px; left: 0; right: 0;
  display: flex; justify-content: center;
  padding: 12px 20px; background: transparent;
  transition: transform .3s, opacity .3s; }
.shop-overlay.hidden { transform: translateY(100%); opacity: 0; pointer-events: none; }

.shop-strip { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px;
  scroll-snap-type: x mandatory; justify-content: center; }
.shop-strip::-webkit-scrollbar { height: 3px; }
.shop-strip::-webkit-scrollbar-thumb { background: #444; border-radius: 3px; }

.shop-card { flex-shrink: 0; display: flex; align-items: center; gap: 12px;
  background: rgba(40,40,40,.8); border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px; padding: 10px 14px; min-width: 280px; max-width: 340px;
  scroll-snap-align: start; transition: border-color .2s; }
.shop-card:hover { border-color: rgba(255,255,255,.4); }
.shop-card.active { border-color: #0ff; }

.shop-card img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; background: #333; flex-shrink: 0; }
.shop-card-info { flex: 1; min-width: 0; }
.shop-card-name { color: #fff; font-size: 13px; font-weight: 500;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop-card-meta { color: #888; font-size: 11px; margin-top: 2px; }

.buy-btn { background: transparent; border: 1px solid #fff; color: #fff;
  font-size: 11px; font-weight: 600; padding: 6px 14px; border-radius: 4px;
  cursor: pointer; white-space: nowrap; transition: background .2s; }
.buy-btn:hover { background: #fff; color: #000; }

/* Fullscreen */
.player-container:fullscreen .shop-overlay { bottom: 56px; }
.player-container:fullscreen .player-controls { opacity: 1; }
