* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: #0B0D10;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  overflow: hidden;
}

.board {
  width: 1920px;
  height: 1080px;
  margin: 0 auto;
  background: #0B0D10;
  display: flex;
  flex-direction: column;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.board__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 44px 64px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  flex: none;
}

.header__left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header__logo {
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}

.header__title {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.1;
}

.header__subtitle {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .28em;
  color: rgba(255, 255, 255, .4);
  margin-top: 6px;
}

.header__right {
  text-align: right;
}

.header__clock {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 44px;
  font-weight: 600;
  line-height: 1;
  color: #7DD3FC;
}

.header__date {
  font-size: 15px;
  color: rgba(255, 255, 255, .4);
  margin-top: 8px;
}

.feed {
  flex: 1;
  position: relative;
  min-height: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, black 48px, black calc(100% - 48px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, black 48px, black calc(100% - 48px), transparent 100%);
}

.feed__scroller {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 0 64px;
  display: flex;
  flex-direction: column;
  animation-name: scrollUp;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: 30s;
}

@keyframes scrollUp {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

.feed__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding-bottom: 24px;
}

.card {
  background: #15181C;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 6px;
  padding: 22px;
  display: flex;
  gap: 22px;
  align-items: center;
  min-width: 0;
}

.card__photo {
  width: 180px;
  height: 180px;
  flex: none;
  border-radius: 4px;
  object-fit: cover;
  background: #1D2126;
}

.card__photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .25);
  font-size: 14px;
}

.card__body {
  flex: 1;
  min-width: 0;
  height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card__name {
  font-size: 23px;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255, 255, 255, .92);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card__price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #7DD3FC;
}

.card__stock {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.card__stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.card__stock-label {
  font-size: 17px;
}

.card__stock--low .card__stock-dot { background: #7DD3FC; }
.card__stock--low .card__stock-label { font-weight: 700; color: #7DD3FC; }

.card__stock--normal .card__stock-dot { background: rgba(255, 255, 255, .35); }
.card__stock--normal .card__stock-label { font-weight: 500; color: rgba(255, 255, 255, .5); }
