/* OBS 礼物菜单展示样式 */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.page-display {
  width: 100%;
  height: 100%;
  background: transparent;
  overflow: hidden;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.menu-overlay {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  min-width: 280px;
  padding: 12px 20px 12px 16px;
  background: transparent;
  border: none;
  border-radius: 0;
  --menu-font-size: 22px;
  --menu-color: #fff;
}

.menu-overlay.has-bg {
  background:
    linear-gradient(
      135deg,
      rgba(12, 28, 58, 0.92) 0%,
      rgba(12, 28, 58, 0.92) 42%,
      rgba(18, 42, 82, 0.88) 42%,
      rgba(18, 42, 82, 0.88) 100%
    );
  border-top: 2px solid #e84d8a;
  border-left: 2px solid #e84d8a;
  border-radius: 0 4px 4px 0;
}

.menu-overlay.has-bg::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #e84d8a 0%, #c93d72 100%);
  border-radius: 2px 0 0 2px;
}

.menu-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gift-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

.item-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.item-main {
  color: var(--menu-color);
  font-size: var(--menu-font-size);
  font-weight: 700;
  line-height: 1.35;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.8),
    0 0 8px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
}

.item-main .count {
  margin-right: 4px;
}

.menu-empty {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  padding: 8px 0;
}
