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

body {
  background: #f5f5f5;
  color: #111;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  padding-bottom: 40px;
}

header {
  background: #fff;
  padding: 20px 16px 0;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 10;
}

h1 {
  font-size: 22px;
  font-weight: 800;
  color: #fe2c55;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.subtitle {
  font-size: 13px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 12px;
}

.header-btns {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.btn {
  flex: 1;
  display: block;
  text-align: center;
  padding: 9px 4px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.btn-live {
  background: #fe2c55;
  color: #fff;
}

.btn-kakao {
  background: #FEE500;
  color: #3C1E1E;
}

.info-box {
  background: #fff8f0;
  border-top: 1px solid #ffe0c0;
  margin: 0 -16px;
  padding: 10px 16px;
}

.info-title {
  font-size: 12px;
  font-weight: 700;
  color: #fe2c55;
  margin-bottom: 4px;
}

.info-text {
  font-size: 12px;
  color: #666;
  line-height: 1.6;
}

main {
  padding: 12px;
}

#grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.card-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  background: #eee;
  overflow: hidden;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.number-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #fe2c55;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.card-body {
  padding: 8px 10px 10px;
}

.price {
  font-size: 15px;
  font-weight: 700;
  color: #111;
}

.price.no-price {
  font-size: 13px;
  font-weight: 400;
  color: #bbb;
}

.empty {
  text-align: center;
  color: #aaa;
  margin-top: 60px;
  font-size: 14px;
}

.hidden { display: none !important; }
