@charset "utf-8";
/* ==========================================================================
   온웹 뱃지 badge.css v1.0.0  — onweb_badge
   사이트용: 아이콘 · 닉네임 옆 표시 · 마이페이지 요약 카드 · 진열장 · 획득 토스트
   모든 클래스는 owbd- 로 시작한다 (다른 스타일과 겹치지 않게).
   모바일 전환은 500px.
   ========================================================================== */

/* ---- 뱃지 아이콘 (.owbd-ic) -------------------------------------------------
   <span class="owbd-ic owbd-t3 owbd-md" style="--owbd-c:#4f8fe8">이모지 또는 img</span>
   테두리 = 등급: t1 동 · t2 은 · t3 금 · t4 특별(무지개 링 + 반짝임)
   크기: sm 20 · md 40 · lg 56 · xl 80 (px)                                      */
.owbd-ic {
  --owbd-ring: #b87333;
  --owbd-ring2: #e0a066;
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto; position: relative; box-sizing: border-box; overflow: hidden;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--owbd-c, #6366f1);
  border: 2px solid var(--owbd-ring);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), 0 1px 2px rgba(0,0,0,.18);
  font-size: 21px; line-height: 1; font-style: normal; vertical-align: middle;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  user-select: none;
}
.owbd-ic img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
/* 위쪽 살짝 빛 — 동그란 메달 느낌 */
.owbd-ic::after {
  content: ""; position: absolute; left: 8%; top: 4%; width: 84%; height: 46%;
  border-radius: 50% 50% 60% 60% / 80% 80% 40% 40%;
  background: linear-gradient(180deg, rgba(255,255,255,.38), rgba(255,255,255,0));
  pointer-events: none;
}

.owbd-ic.owbd-t1 { --owbd-ring: #b87333; --owbd-ring2: #e0a066; }
.owbd-ic.owbd-t2 { --owbd-ring: #aeb6c2; --owbd-ring2: #e5e9ef; }
.owbd-ic.owbd-t3 { --owbd-ring: #e0a800; --owbd-ring2: #ffe27a; }
.owbd-ic.owbd-t2, .owbd-ic.owbd-t3 {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55), 0 0 0 1px var(--owbd-ring2), 0 1px 3px rgba(0,0,0,.22);
}
.owbd-ic.owbd-t4 {
  border-color: transparent;
  background:
    linear-gradient(var(--owbd-c, #7e57c2), var(--owbd-c, #7e57c2)) padding-box,
    conic-gradient(from 0deg, #ff5f6d, #ffc371, #7bed9f, #54a0ff, #b388ff, #ff5f6d) border-box;
  box-shadow: 0 0 6px rgba(179,136,255,.55), 0 1px 3px rgba(0,0,0,.2);
}
.owbd-ic.owbd-t4::before {
  content: ""; position: absolute; top: -20%; bottom: -20%; width: 40%; left: -60%;
  background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.6), rgba(255,255,255,0));
  transform: skewX(-20deg); animation: owbd-shine 3.6s ease-in-out infinite; pointer-events: none; z-index: 2;
}
@keyframes owbd-shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }

.owbd-ic.owbd-sm { width: 20px; height: 20px; font-size: 11px; border-width: 1.5px; }
.owbd-ic.owbd-md { width: 40px; height: 40px; font-size: 21px; }
.owbd-ic.owbd-lg { width: 56px; height: 56px; font-size: 30px; border-width: 3px; }
.owbd-ic.owbd-xl { width: 80px; height: 80px; font-size: 44px; border-width: 3px; }
.owbd-ic.owbd-sm::after { display: none; }

/* 숨겨진 뱃지 · 아직 못 받은 뱃지 */
.owbd-ic.is-secret { --owbd-c: #cbd5e1; color: #64748b; font-weight: 800; font-family: inherit; }
.owbd-ic.is-off { filter: grayscale(1); opacity: .45; }

/* ---- 닉네임 옆 (게시판) -------------------------------------------------- */
.owbd-nick {
  display: inline-flex; align-items: center; gap: 3px; margin-left: 3px;
  vertical-align: middle; line-height: 1;
}
.owbd-nick .owbd-nm { font-size: 11px; font-weight: 600; color: #64748b; white-space: nowrap; }

/* ---- 공용: 진행바 ------------------------------------------------------- */
.owbd-bar {
  display: block; height: 6px; border-radius: 99px; background: #e5e7eb; overflow: hidden;
}
.owbd-bar > i {
  display: block; height: 100%; border-radius: 99px; width: 0;
  background: var(--owbd-accent, #4f46e5);
}

/* ---- 마이페이지 요약 카드 (.owbd-sum) --------------------------------------
   .owbd-sum
     .owbd-sum-hd      제목 줄 (.owbd-sum-tt 제목 · .owbd-sum-more 전체 보기 링크)
     .owbd-sum-main    .owbd-sum-rep(대표 뱃지: 아이콘 xl + .owbd-sum-nm 이름 + .owbd-sum-ds 설명) · .owbd-sum-cnt(획득 n / 전체 m)
     .owbd-sum-recent  최근 획득 아이콘들
     .owbd-sum-prog    진행 중인 뱃지 (ul > li : .owbd-sum-pn 이름 · .owbd-bar · .owbd-sum-pv "37 / 50") */
.owbd-sum {
  box-sizing: border-box; border: 1px solid #e5e7eb; border-radius: 14px; background: #fff;
  padding: 18px 20px; color: #1f2937;
}
.owbd-sum *, .owbd-shelf *, .owbd-toast * { box-sizing: border-box; }
.owbd-sum-hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.owbd-sum-tt { font-size: 15px; font-weight: 700; margin: 0; }
.owbd-sum-more { font-size: 12.5px; color: var(--owbd-accent, #4f46e5); text-decoration: none; white-space: nowrap; }
.owbd-sum-more:hover { text-decoration: underline; }
.owbd-sum-main { display: flex; align-items: center; gap: 16px; }
.owbd-sum-rep { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1 1 auto; }
.owbd-sum-txt { min-width: 0; }
.owbd-sum-nm { display: block; font-size: 16px; font-weight: 700; line-height: 1.3; word-break: keep-all; }
.owbd-sum-ds { display: block; font-size: 12.5px; color: #6b7280; margin-top: 2px; line-height: 1.45; }
.owbd-sum-empty { font-size: 13px; color: #6b7280; line-height: 1.6; }
.owbd-sum-cnt { flex: 0 0 auto; text-align: right; font-size: 12.5px; color: #6b7280; line-height: 1.2; }
.owbd-sum-cnt b { display: block; font-size: 24px; font-weight: 800; color: #111827; }
.owbd-sum-recent { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed #e5e7eb; }
.owbd-sum-prog { list-style: none; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px dashed #e5e7eb; }
.owbd-sum-prog li { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; margin-top: 10px; }
.owbd-sum-prog li:first-child { margin-top: 0; }
.owbd-sum-pn { font-size: 12.5px; color: #374151; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.owbd-sum-pv { font-size: 12px; color: #6b7280; font-variant-numeric: tabular-nums; }
.owbd-sum-prog .owbd-bar { grid-column: 1 / -1; }

/* ---- 마이페이지 진열장 (.owbd-shelf) ---------------------------------------
   .owbd-shelf
     .owbd-rep         대표 뱃지 고르기 (form) — .owbd-rep-ls > label.owbd-rep-it (.is-on) · .owbd-rep-save 버튼
     .owbd-grid        격자
       .owbd-card      카드 (.is-on 획득 · .is-off 미획득 · .is-secret 숨김)
         .owbd-card-ic · .owbd-card-nm · .owbd-card-ds · .owbd-card-dt(획득일) · .owbd-bar + .owbd-card-pv(진행 숫자) · .owbd-pt(+100P) */
.owbd-shelf { color: #1f2937; }
.owbd-shelf-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.owbd-shelf-tt { font-size: 17px; font-weight: 700; margin: 0; }
.owbd-shelf-cnt { font-size: 13px; color: #6b7280; }
.owbd-shelf-cnt b { color: #111827; }

.owbd-rep {
  border: 1px solid #e5e7eb; border-radius: 14px; background: #fff; padding: 16px 18px; margin-bottom: 18px;
}
.owbd-rep-hd { font-size: 14px; font-weight: 700; margin: 0 0 4px; }
.owbd-rep-hint { font-size: 12.5px; color: #6b7280; margin: 0 0 12px; line-height: 1.5; }
.owbd-rep-ls { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }
.owbd-rep-it {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 7px; cursor: pointer;
  border: 1px solid #e5e7eb; border-radius: 99px; background: #fff; font-size: 12.5px; color: #374151;
}
.owbd-rep-it input { position: absolute; opacity: 0; width: 0; height: 0; }
.owbd-rep-it.is-on, .owbd-rep-it:has(input:checked) {
  border-color: var(--owbd-accent, #4f46e5); background: #f5f5ff; font-weight: 700; color: #1f2937;
}
.owbd-rep-save {
  height: 36px; padding: 0 18px; border: 0; border-radius: 8px; cursor: pointer;
  background: var(--owbd-accent, #4f46e5); color: #fff; font-size: 13px; font-weight: 700;
}
.owbd-rep-save:hover { filter: brightness(.94); }

.owbd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.owbd-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  border: 1px solid #e5e7eb; border-radius: 14px; background: #fff; padding: 18px 12px 14px; min-width: 0;
}
.owbd-card.is-on { box-shadow: 0 1px 6px rgba(0,0,0,.06); }
.owbd-card.is-off { background: #f9fafb; }
.owbd-card.is-off .owbd-ic { filter: grayscale(1); opacity: .42; }
.owbd-card-nm { font-size: 13.5px; font-weight: 700; margin: 10px 0 0; line-height: 1.35; word-break: keep-all; }
.owbd-card.is-off .owbd-card-nm { color: #6b7280; }
.owbd-card-ds { font-size: 12px; color: #6b7280; margin: 4px 0 0; line-height: 1.45; word-break: keep-all; }
.owbd-card-dt { font-size: 11.5px; color: var(--owbd-accent, #4f46e5); margin-top: 8px; font-weight: 600; }
.owbd-card .owbd-bar { width: 100%; margin-top: 10px; }
.owbd-card-pv { font-size: 11.5px; color: #6b7280; margin-top: 4px; font-variant-numeric: tabular-nums; }
.owbd-pt {
  display: inline-block; margin-top: 8px; padding: 1px 8px; border-radius: 99px;
  background: #fff7e0; color: #a16207; font-size: 11.5px; font-weight: 700;
}
.owbd-card.is-off .owbd-pt { background: #f3f4f6; color: #9ca3af; }

/* ---- 획득 토스트 --------------------------------------------------------- */
.owbd-toast {
  position: fixed; right: 24px; bottom: 24px; z-index: 99999; width: 320px; max-width: calc(100vw - 24px);
  background: #1f2937; color: #fff; border-radius: 14px; padding: 14px 16px 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
  opacity: 0; transform: translateY(20px); transition: opacity .35s ease, transform .35s ease;
  font-size: 13px; line-height: 1.45;
}
.owbd-toast.is-in { opacity: 1; transform: translateY(0); }
.owbd-toast.is-out { opacity: 0; transform: translateY(20px); }
.owbd-toast-hd { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; font-weight: 700; color: #fcd34d; margin-bottom: 10px; }
.owbd-toast-x { border: 0; background: none; color: #9ca3af; font-size: 20px; line-height: 1; cursor: pointer; padding: 0 2px; }
.owbd-toast-x:hover { color: #fff; }
.owbd-toast-ls { list-style: none; margin: 0; padding: 0; }
.owbd-toast-ls li { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.owbd-toast-ls li:first-child { margin-top: 0; }
.owbd-toast-tx { min-width: 0; }
.owbd-toast-tx b { display: block; font-size: 14.5px; }
.owbd-toast-tx em { display: block; font-style: normal; font-size: 12px; color: #cbd5e1; margin-top: 1px; }
.owbd-toast-go {
  display: block; margin-top: 12px; padding: 8px 0; text-align: center; border-radius: 8px;
  background: rgba(255,255,255,.12); color: #fff; font-size: 12.5px; font-weight: 700; text-decoration: none;
}
.owbd-toast-go:hover { background: rgba(255,255,255,.2); }

@media (prefers-reduced-motion: reduce) {
  .owbd-ic.owbd-t4::before { animation: none; display: none; }
  .owbd-toast { transition: none; }
}

/* ---- 모바일 (500px) -------------------------------------------------------- */
@media (max-width: 500px) {
  .owbd-sum { padding: 16px 14px; }
  .owbd-sum-main { gap: 10px; }
  .owbd-sum-cnt b { font-size: 20px; }
  .owbd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .owbd-card { padding: 14px 8px 12px; }
  .owbd-rep { padding: 14px; }
  .owbd-toast { right: 12px; left: 12px; bottom: 12px; width: auto; max-width: none; }
}

/* ---- 마이페이지 연결 보강 (v1.0.1) ------------------------------------------ */
.owbd-rep-it { position: relative; }
.owbd-rep-it:focus-within { outline: 2px solid var(--owbd-accent, #4f46e5); outline-offset: 1px; }
.owbd-rep-ls li { margin: 0; padding: 0; }
.owbd-card-ic { display: inline-flex; }
.owbd-card.is-off.is-secret .owbd-card-nm { color: #9ca3af; }
.owbd-sum-pv { white-space: nowrap; }
@media (max-width: 500px) {
  .owbd-sum-rep { gap: 10px; }
  .owbd-shelf-tt { font-size: 16px; }
  .owbd-rep-it { padding: 5px 10px 5px 6px; }
}

/* ---- 커뮤니티 마이페이지(.mpc)의 전체 초기화(.mpc * {margin:0;padding:0})에 눌린 간격 복원 ------ */
.mpc .owbd-sum { padding: 18px 20px; }
.mpc .owbd-sum-hd { margin-bottom: 14px; }
.mpc .owbd-sum-ds { margin-top: 2px; }
.mpc .owbd-sum-recent { margin-top: 16px; padding-top: 14px; }
.mpc .owbd-sum-prog { margin: 14px 0 0; padding: 12px 0 0; }
.mpc .owbd-sum-prog li { margin-top: 10px; }
.mpc .owbd-sum-prog li:first-child { margin-top: 0; }
.mpc .owbd-shelf-hd { margin-bottom: 14px; }
.mpc .owbd-rep { padding: 16px 18px; margin-bottom: 18px; }
.mpc .owbd-rep-hd { margin: 0 0 4px; }
.mpc .owbd-rep-hint { margin: 0 0 12px; }
.mpc .owbd-rep-ls { margin: 0 0 12px; }
.mpc .owbd-rep-it { padding: 6px 12px 6px 7px; }
.mpc .owbd-rep-save { padding: 0 18px; }
.mpc .owbd-card { padding: 18px 12px 14px; }
.mpc .owbd-card-nm { margin: 10px 0 0; }
.mpc .owbd-card-ds { margin: 4px 0 0; }
.mpc .owbd-card-dt { margin-top: 8px; }
.mpc .owbd-card .owbd-bar { margin-top: 10px; }
.mpc .owbd-card-pv { margin-top: 4px; }
.mpc .owbd-pt { margin-top: 8px; padding: 1px 8px; }
@media (max-width: 500px) {
  .mpc .owbd-sum { padding: 16px 14px; }
  .mpc .owbd-card { padding: 14px 8px 12px; }
  .mpc .owbd-rep { padding: 14px; }
  .mpc .owbd-rep-it { padding: 5px 10px 5px 6px; }
}

/* ---- 마이페이지 홈 '뱃지 컬렉션' 카드 (.owbd-hm, v1.1.0) ------------------------------------
   .owbd-hm-top   대표 뱃지(.owbd-hm-rep) · 수집률 링(.owbd-hm-ring) · 다음 목표(.owbd-hm-next)
   .owbd-hm-shelf 진열장 타일(.owbd-hm-it .is-on/.is-off) = 받침대(.owbd-hm-stage) + 이름 + 날짜/진행
   커뮤니티 스킨의 .mpc * 초기화보다 이기도록 .owbd-hm 아래로 한 단계 더 걸어 둔다. */
.owbd-hm {
  --owbd-a: var(--owbd-accent, #4f46e5);
  position: relative; display: block; box-sizing: border-box;
  padding: 22px 24px 24px; border-radius: 20px;
  background: #fff; border: 1px solid #eef0f3;
  box-shadow: 0 1px 2px rgba(17,24,39,.04), 0 8px 24px -12px rgba(17,24,39,.10);
  color: #111827;
}
.owbd-hm * { box-sizing: border-box; }
.owbd-hm .owbd-hm-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin: 0 0 16px; }
.owbd-hm .owbd-hm-tt { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.owbd-hm .owbd-hm-ey { display: block; margin: 0 0 4px; font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--owbd-a); }
.owbd-hm .owbd-hm-more { font-size: 13px; font-weight: 600; color: #6b7280; text-decoration: none; white-space: nowrap; }
.owbd-hm .owbd-hm-more:hover { color: var(--owbd-a); }
.owbd-hm .owbd-hm-lbl { display: block; margin: 0 0 4px; font-size: 11.5px; font-weight: 600; color: #9ca3af; letter-spacing: .02em; }

/* 위 띠 */
.owbd-hm .owbd-hm-top {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; margin: 0 0 18px;
}
.owbd-hm .owbd-hm-rep, .owbd-hm .owbd-hm-stat {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 18px;
  padding: 18px 20px; border-radius: 16px; min-width: 0;
}
.owbd-hm .owbd-hm-rep {
  --owbd-glow: #a78bfa;
  background: #1f2433;
  background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--owbd-glow) 55%, #1f2433) 0%, #1f2433 62%);
  color: #fff;
}
.owbd-hm .owbd-hm-rep::after {      /* 반짝이 점 */
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.55) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000); mask-image: linear-gradient(90deg, transparent 40%, #000);
}
.owbd-hm .owbd-hm-rep-ic { position: relative; flex: 0 0 auto; display: inline-flex; z-index: 1; }
.owbd-hm .owbd-hm-rep-ic::before {  /* 뒤 후광 */
  content: ""; position: absolute; top: -14px; right: -14px; bottom: -14px; left: -14px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, color-mix(in srgb, var(--owbd-glow) 70%, transparent) 0%, transparent 68%);
}
.owbd-hm .owbd-hm-rep-tx { position: relative; z-index: 1; min-width: 0; }
.owbd-hm .owbd-hm-rep .owbd-hm-lbl { color: rgba(255,255,255,.6); }
.owbd-hm .owbd-hm-rep-nm { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; word-break: keep-all; }
.owbd-hm .owbd-hm-rep-ds { display: block; margin: 6px 0 0; font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,.72); word-break: keep-all; }
.owbd-hm .owbd-hm-empty { position: relative; z-index: 1; font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,.8); }

.owbd-hm .owbd-hm-stat { background: #f7f8fa; background: color-mix(in srgb, var(--owbd-a) 6%, #f7f8fa); }
.owbd-hm .owbd-hm-ring {
  --p: 0; flex: 0 0 auto; position: relative; width: 92px; height: 92px; border-radius: 50%;
  background: conic-gradient(var(--owbd-a) calc(var(--p) * 1%), #e5e7eb 0);
}
.owbd-hm .owbd-hm-ring-in {
  position: absolute; top: 9px; right: 9px; bottom: 9px; left: 9px; border-radius: 50%; background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1;
}
.owbd-hm .owbd-hm-ring-in b { font-size: 22px; font-weight: 800; letter-spacing: -.03em; color: #111827; }
.owbd-hm .owbd-hm-ring-in small { font-size: 12px; font-weight: 700; margin-left: 1px; }
.owbd-hm .owbd-hm-ring-in em { margin: 4px 0 0; font-style: normal; font-size: 10.5px; color: #9ca3af; }
.owbd-hm .owbd-hm-nums { min-width: 0; flex: 1 1 auto; }
.owbd-hm .owbd-hm-nums > b { font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: #111827; }
.owbd-hm .owbd-hm-of { margin-left: 4px; font-size: 15px; font-weight: 600; color: #9ca3af; }
.owbd-hm .owbd-hm-next { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 8px; align-items: center; margin: 12px 0 0; }
.owbd-hm .owbd-hm-next-t { font-size: 12px; color: #6b7280; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.owbd-hm .owbd-hm-next-t b { color: #111827; font-weight: 700; }
.owbd-hm .owbd-hm-next-v { font-size: 11.5px; color: #6b7280; font-variant-numeric: tabular-nums; white-space: nowrap; }
.owbd-hm .owbd-hm-next .owbd-bar { grid-column: 1 / -1; grid-row: 2; height: 7px; }
.owbd-hm .owbd-bar > i { background: var(--owbd-a); }

/* 진열장 */
.owbd-hm .owbd-hm-shelf {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 12px;
}
.owbd-hm .owbd-hm-it {
  --owbd-glow: #cbd5e1;
  position: relative; display: flex; flex-direction: column; align-items: center; min-width: 0;
  padding: 16px 8px 13px; border-radius: 16px; text-decoration: none; color: inherit;
  background: linear-gradient(180deg, #fff 0%, #f8f9fb 100%); border: 1px solid #eef0f3;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.owbd-hm .owbd-hm-it.is-on {
  background:
    radial-gradient(90% 70% at 50% 0%, color-mix(in srgb, var(--owbd-glow) 22%, transparent) 0%, transparent 70%),
    linear-gradient(180deg, #fff 0%, #f8f9fb 100%);
}
.owbd-hm .owbd-hm-it:hover { transform: translateY(-3px); border-color: #e2e5ea; box-shadow: 0 10px 22px -12px rgba(17,24,39,.28); }
.owbd-hm .owbd-hm-stage { position: relative; display: inline-flex; padding: 0 0 10px; }
.owbd-hm .owbd-hm-stage::after {     /* 받침대 그림자 */
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 46px; height: 8px; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(closest-side, rgba(17,24,39,.22), transparent);
}
.owbd-hm .owbd-hm-it.is-off .owbd-hm-stage::after { opacity: .45; }
.owbd-hm .owbd-hm-stage .owbd-ic { transition: transform .25s ease; }
.owbd-hm .owbd-hm-stage .owbd-ic.owbd-lg { width: 60px; height: 60px; font-size: 32px; }
.owbd-hm .owbd-hm-it.is-on:hover .owbd-ic { transform: scale(1.06) rotate(-4deg); }
.owbd-hm .owbd-hm-nm {
  display: block; max-width: 100%; margin: 2px 0 0; font-size: 13px; font-weight: 700; line-height: 1.3;
  text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: -.01em;
}
.owbd-hm .owbd-hm-sub {
  display: flex; align-items: center; justify-content: center; gap: 5px; width: 100%; min-height: 16px;
  margin: 5px 0 0; font-size: 11px; color: #9ca3af; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.owbd-hm .owbd-hm-sub.is-date { color: var(--owbd-a); font-weight: 600; }
.owbd-hm .owbd-hm-sub.is-prog .owbd-bar { flex: 1 1 auto; max-width: 54px; height: 4px; }
.owbd-hm .owbd-hm-it.is-off { background: #fafafb; }
.owbd-hm .owbd-hm-it.is-off .owbd-hm-nm { color: #9ca3af; font-weight: 600; }
.owbd-hm .owbd-hm-plus .owbd-ic { background: #f3f4f6; border-color: #e5e7eb; color: #6b7280; font-size: 16px; font-weight: 800; font-family: inherit; }

@media (max-width: 900px) {
  .owbd-hm .owbd-hm-top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 500px) {
  .owbd-hm { padding: 18px 14px 16px; border-radius: 16px; }
  .owbd-hm .owbd-hm-tt { font-size: 16px; }
  .owbd-hm .owbd-hm-rep, .owbd-hm .owbd-hm-stat { padding: 14px; gap: 14px; }
  .owbd-hm .owbd-hm-rep .owbd-ic.owbd-xl { width: 64px; height: 64px; font-size: 34px; }
  .owbd-hm .owbd-hm-rep-nm { font-size: 17px; }
  .owbd-hm .owbd-hm-ring { width: 76px; height: 76px; }
  .owbd-hm .owbd-hm-ring-in { top: 8px; right: 8px; bottom: 8px; left: 8px; }
  .owbd-hm .owbd-hm-ring-in b { font-size: 18px; }
  .owbd-hm .owbd-hm-nums > b { font-size: 24px; }
  .owbd-hm .owbd-hm-shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .owbd-hm .owbd-hm-it { padding: 12px 4px 10px; border-radius: 14px; }
  .owbd-hm .owbd-hm-stage .owbd-ic.owbd-lg { width: 50px; height: 50px; font-size: 27px; }
  .owbd-hm .owbd-hm-nm { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .owbd-hm .owbd-hm-it, .owbd-hm .owbd-hm-stage .owbd-ic { transition: none; }
}
