/* ============================================================
   럭키 룰렛 페이지 (/roulette/) — 자개(나전칠기) 룰렛
   원본 디자인: Vibe Coding/jeomma/najeon-roulette/roulette.html
   그림: assets/img/bf/roulette/ (rim · slices · hub · giftbox)
   동작: assets/js/roulette.js (주문번호 → 서버 추첨 → 원판이 그 칸에 멈춤 → 당첨 정보)
   ============================================================ */
.njr {
  --nj-pearl: linear-gradient(135deg, #c6f8ff 0%, #f5d0fe 32%, #ffffff 50%, #bbf7d0 72%, #c4b5fd 100%);
  --nj-gold: #d6b47c;
  --nj-muted: #a6a9b8;
  --njr-size: 340px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100vh;
  padding: 120px 0 110px;
  color: #f7f4ee;
  text-align: center;
  background: #0b0b0e;   /* 바탕은 어두운 단색 */
}

/* 블랙프라이데이 섹션 안의 작은 룰렛 (같은 그림, SPIN을 누르면 룰렛 페이지로) */
.njr-mini { --nj-pearl: linear-gradient(135deg, #c6f8ff 0%, #f5d0fe 32%, #ffffff 50%, #bbf7d0 72%, #c4b5fd 100%); --nj-gold: #d6b47c; --nj-muted: #a6a9b8; --njr-size: 380px;
  position: relative; isolation: isolate; }
.bfx-wheel.njr-mini { width: min(100%, 460px); margin: 44px auto 34px; }
.njr-mini .njr-stage { position: relative; z-index: 1; width: 100%; }
.njr-mini .njr-deco { inset: -40px -70px; z-index: 0; max-width: none; }
.njr-mini .njr-deco .is-clover-tr { top: 2%; right: 0; }
.njr-mini .njr-deco .is-clover-bl { bottom: 8%; left: 0; }
.njr-mini .njr-deco .is-plum-br { bottom: 4%; right: 4%; }
.njr-mini .njr-deco .is-spark-tl { top: 6%; left: 4%; }
.njr-mini .njr-deco .is-spark-mr { top: 42%; right: 2%; }
.njr-mini .njr-deco .is-spark-ml { top: 50%; left: 1%; }
a.njr-hub { text-decoration: none; }
@media (max-width: 640px) {
  .njr-mini { --njr-size: 300px; }
  .njr-mini .njr-deco { inset: -20px -10px; }
  .njr-mini .njr-sticker { padding: 5px 11px; font-size: 11px; }
}

/* 자개 장식 */
.njr-deco { position: absolute; inset: 0; z-index: -1; max-width: 1100px; margin: 0 auto; pointer-events: none; }
.njr-deco svg { position: absolute; filter: drop-shadow(0 0 12px rgba(198, 248, 255, .35)); animation: njr-float 5s ease-in-out infinite; }
.njr-deco .is-clover-tr { top: 9%; right: 6%; width: 58px; animation-delay: -1.2s; }
.njr-deco .is-clover-bl { bottom: 30%; left: 4%; width: 64px; animation-delay: -2.8s; }
.njr-deco .is-plum-br { bottom: 34%; right: 6%; width: 52px; animation-delay: -.7s; }
.njr-deco .is-spark-tl { top: 9%; left: -1%; width: 32px; animation-delay: -1.9s; }
.njr-deco .is-spark-mr { top: 30%; right: 9%; width: 28px; animation-delay: -3.4s; }
.njr-deco .is-spark-ml { top: 44%; left: 2%; width: 36px; animation-delay: -.4s; }
@keyframes njr-float { 0%, 100% { transform: translateY(0) rotate(0deg) scale(1); } 50% { transform: translateY(-6px) rotate(4deg) scale(1.04); } }

/* 배치: 휴대폰은 위아래 (머리말 → 룰렛 → 주문번호), PC는 2열 */
.njr-layout { display: grid; grid-template-areas: "intro" "stage" "cta"; justify-items: center; width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }   /* 사이트 본문 폭(--container)과 같게 */
.njr-intro { grid-area: intro; }
.njr-stage { grid-area: stage; position: relative; width: 100%; margin-top: 30px; }
.njr-cta { grid-area: cta; width: 100%; margin-top: 26px; }

/* 머리말 */
.njr-arch { display: block; width: 180px; height: 30px; margin: 0 auto 2px; overflow: visible; }
.njr-arch text { font-family: 'Cinzel', 'Pretendard Variable', 'Pretendard', serif; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; fill: var(--nj-gold); text-transform: uppercase; }
.njr-kicker { margin: 0 0 8px; font-size: 14px; font-weight: 700; letter-spacing: .02em; color: #c6f8ff; text-shadow: 0 0 12px rgba(198, 248, 255, .35); }
.njr-title { margin: 0; font-family: 'Noto Serif KR', 'Pretendard Variable', 'Pretendard', serif; font-size: 40px; font-weight: 900; line-height: 1.18; letter-spacing: -0.01em;
  background: linear-gradient(135deg, #fff 0%, #c6f8ff 28%, #f5d0fe 54%, #fef9c3 78%, #a7f3d0 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 3px 12px rgba(198, 248, 255, .22)); }
.njr-title span + span::before { content: " "; }
.njr-period { display: inline-block; margin-top: 12px; padding: 4px 14px; border: 1px solid rgba(214, 180, 124, .32); border-radius: 999px; background: rgba(255, 255, 255, .04); font-size: 12.5px; font-weight: 600; color: var(--nj-gold); font-variant-numeric: tabular-nums; }
.njr-sub { margin-top: 14px; font-size: 15.5px; line-height: 1.6; color: rgba(247, 244, 238, .8); word-break: keep-all; }

/* 룰렛 기계 */
.njr-machine { position: relative; width: var(--njr-size); max-width: calc(100% - 16px); margin: 0 auto; }
.njr-rim { position: relative; z-index: 1; aspect-ratio: 1; border-radius: 50%; background: url("../img/bf/roulette/rim.webp") center / 100% 100% no-repeat;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .85), 0 0 28px rgba(198, 248, 255, .18), inset 0 0 18px rgba(214, 180, 124, .25); }
.njr-bulbs { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.njr-bulbs span { position: absolute; width: 3.1%; aspect-ratio: 1; margin: -1.55% 0 0 -1.55%; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #c6f8ff 60%, #93c5fd 100%); box-shadow: 0 0 8px rgba(198, 248, 255, .9); }
.njr-bulbs span:nth-child(even) { background: radial-gradient(circle at 35% 35%, #fff, #f5d0fe 60%, #fbf08c 100%); box-shadow: 0 0 8px rgba(245, 208, 254, .9); }
.njr.is-spinning .njr-bulbs span { animation: njr-blink .36s steps(1) infinite; }
.njr.is-spinning .njr-bulbs span:nth-child(even) { animation-delay: -.18s; }
.njr.is-win .njr-bulbs span { animation: njr-blink .28s steps(1) 10; }
@keyframes njr-blink { 0% { opacity: 1; transform: scale(1.15); } 50% { opacity: .25; transform: scale(.85); } }
.njr-wheel { position: absolute; inset: 7.143%; z-index: 2; overflow: hidden; border-radius: 50%; background: url("../img/bf/roulette/slices.webp") center / 100% 100% no-repeat; box-shadow: inset 0 0 14px rgba(0, 0, 0, .55); will-change: transform; }
.njr-wheel svg { display: block; width: 100%; height: 100%; }
.njr-wheel text { font-family: 'Pretendard Variable', 'Pretendard', sans-serif; font-weight: 800; text-anchor: middle; dominant-baseline: central; }
.njr-wheel .t-rank { font-size: 9.5px; letter-spacing: .02em; }
.njr-wheel .t-label { font-size: 15px; font-weight: 900; letter-spacing: -0.04em; }
.njr-wheel .t-label.is-long { font-size: 11px; }
.njr-wheel .t-sub { font-size: 8.5px; font-weight: 800; }
.njr-flash { fill: url(#njr-flash-grad); opacity: 0; mix-blend-mode: screen; }
.njr-flash.is-on { animation: njr-flash .32s steps(1) 6; }
@keyframes njr-flash { 0% { opacity: .68; } 50% { opacity: 0; } }
.njr-hub { position: absolute; left: 38.5%; top: 38.5%; z-index: 4; display: grid; place-items: center; width: 23%; aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: url("../img/bf/roulette/hub.webp") center / 100% 100% no-repeat transparent; box-shadow: 0 6px 18px rgba(0, 0, 0, .75), 0 0 16px rgba(198, 248, 255, .35); transition: transform .15s, box-shadow .15s; }
.njr-hub:hover:not(:disabled) { transform: scale(1.05); box-shadow: 0 8px 22px rgba(0, 0, 0, .85), 0 0 24px rgba(198, 248, 255, .65); }
.njr-hub:active:not(:disabled) { transform: scale(.97); }
.njr-hub:disabled { cursor: default; }
.njr-hub span { padding: 3px 7px; border: 1px solid rgba(214, 180, 124, .75); border-radius: 999px; background: rgba(8, 9, 14, .82); font-family: 'Cinzel', 'Pretendard Variable', 'Pretendard', serif; font-size: 11px; font-weight: 800; letter-spacing: .06em; color: #f8f5ef; text-shadow: 0 0 8px rgba(198, 248, 255, .8); pointer-events: none; }
.njr-pointer { position: absolute; left: 50%; top: -20px; z-index: 5; width: 46px; margin-left: -23px; transform-origin: 50% 34%; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .75)) drop-shadow(0 0 10px rgba(198, 248, 255, .35)); }
.njr-pointer svg { display: block; width: 100%; height: auto; }
.njr-stand { position: relative; z-index: 0; width: 60%; height: 46px; margin: -20px auto 0; }
.njr-stand::before { content: ""; position: absolute; left: 36%; right: 36%; top: 0; height: 32px; border-left: 1px solid rgba(214, 180, 124, .35); border-right: 1px solid rgba(214, 180, 124, .35); background: linear-gradient(90deg, #0b0d14, #232838, #0b0d14); }
.njr-stand::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 20px; border: 1.5px solid var(--nj-gold); border-radius: 12px 12px 6px 6px; background: linear-gradient(90deg, #121521 0%, #24293d 50%, #121521 100%); box-shadow: 0 8px 20px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(198, 248, 255, .45); }
.njr-sticker { position: absolute; z-index: 4; padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .85); border-radius: 999px; white-space: nowrap; font-size: 12.5px; font-weight: 800; color: #0b0d14; background: var(--nj-pearl); box-shadow: 0 6px 16px rgba(0, 0, 0, .65), 0 0 14px rgba(198, 248, 255, .35); }
.njr-sticker.is-dark { border: 1.5px solid var(--nj-gold); color: #f7f4ee; background: linear-gradient(135deg, #161927 0%, #0b0d14 100%); box-shadow: 0 6px 16px rgba(0, 0, 0, .75), inset 0 0 10px rgba(198, 248, 255, .2); }
.njr-sticker.is-a { left: -4px; top: 4px; transform: rotate(-6deg); }
.njr-sticker.is-b { right: -4px; bottom: 28px; transform: rotate(5deg); }

/* 주문번호 입력 + 돌리기 버튼 */
.njr-form { display: grid; gap: 12px; width: 100%; max-width: 360px; margin: 0 auto; }
.njr-form label { font-size: 13.5px; font-weight: 700; color: var(--nj-gold); text-align: left; }
.njr-form input, .njr-form select { width: 100%; height: 54px; padding: 0 18px; border: 1.5px solid rgba(214, 180, 124, .45); border-radius: 14px; background: rgba(255, 255, 255, .05); color: #fff; font: inherit; font-size: 17px; font-weight: 700; letter-spacing: .02em; }
.njr-form input::placeholder { color: rgba(255, 255, 255, .35); font-weight: 500; letter-spacing: 0; }
.njr-form input:focus-visible, .njr-form select:focus-visible { outline: 2px solid #c6f8ff; outline-offset: 2px; }
.njr-form select { appearance: none; padding-right: 40px; font-size: 15.5px; cursor: pointer; background: rgba(255, 255, 255, .05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d6b47c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; }
.njr-form select option { color: #111; }
.njr-left { font-size: 15px; color: rgba(247, 244, 238, .85); text-align: left; }
.njr-left b { color: #c6f8ff; font-size: 18px; font-weight: 900; }
.njr-left small { color: var(--nj-muted); }
.njr-mine { font-size: 13.5px; font-weight: 700; color: rgba(247, 244, 238, .7); text-align: left; text-decoration: underline; text-underline-offset: 3px; }
a.njr-btn { display: grid; place-items: center; text-decoration: none; }
.njr-form .bfx-msg { min-height: 0; padding: 0; text-align: left; }
.njr-form .bfx-msg:empty { display: none; }
.njr-btn { display: block; width: 100%; height: 58px; padding: 0 24px; border: 1.5px solid rgba(255, 255, 255, .85); border-radius: 999px; cursor: pointer; font: inherit; font-size: 18px; font-weight: 900; letter-spacing: -0.01em; color: #090b12; background: var(--nj-pearl);
  box-shadow: 0 5px 0 #7c90a0, 0 12px 28px rgba(198, 248, 255, .28); transition: transform .08s, box-shadow .08s, filter .15s; }
.njr-btn:hover:not(:disabled) { filter: brightness(1.05); }
.njr-btn:active:not(:disabled) { transform: translateY(4px); box-shadow: 0 1px 0 #7c90a0, 0 6px 14px rgba(198, 248, 255, .2); }
.njr-btn:disabled { cursor: default; font-size: 15px; color: rgba(247, 244, 238, .55); border-color: rgba(214, 180, 124, .25); background: #181c2a; box-shadow: 0 4px 0 #0d0f18; }
.njr-hint { font-size: 13px; color: var(--nj-muted); text-align: left; }
.njr-btn-all { display: block; width: 100%; height: 50px; border: 1.5px solid rgba(214, 180, 124, .6); border-radius: 999px; background: rgba(255, 255, 255, .04); color: #f7f4ee; font: inherit; font-size: 15.5px; font-weight: 800; cursor: pointer; transition: border-color .15s, background .15s; }
.njr-btn-all:hover:not(:disabled) { border-color: #c6f8ff; background: rgba(198, 248, 255, .08); }
.njr-btn-all:disabled { opacity: .5; cursor: default; }
/* 한 번에 돌리기 결과 */
.njr-batch { max-width: 400px; }
.njr-batch .njr-modal-box { width: 96px; height: 96px; }
.njr-batch-list { display: grid; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; text-align: left; }
.njr-batch-list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, .05); }
.njr-batch-list .n { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--nj-pearl); color: #0b0d14; font-size: 12px; font-weight: 900; }
.njr-batch-list span:last-child { display: grid; gap: 2px; min-width: 0; font-size: 13.5px; line-height: 1.4; word-break: keep-all; }
.njr-batch-list small { color: var(--nj-muted); font-size: 12px; }

/* 아래: 경품 안내 · 당첨 정보 · 유의사항 */
.njr-below { position: relative; width: min(var(--container), calc(100% - 32px)); margin: 80px auto 0; }
.njr-h2 { font-family: 'Noto Serif KR', 'Pretendard Variable', 'Pretendard', serif; font-size: 24px; font-weight: 900; letter-spacing: -0.02em; }
.njr-prizes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.njr-prizes li { display: flex; }
.njr-prizes button { display: grid; align-content: start; justify-items: center; gap: 4px; width: 100%; padding: 18px 10px; border: 1px solid rgba(214, 180, 124, .28); border-radius: 18px; background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); color: inherit; font: inherit; text-align: center; word-break: keep-all; cursor: pointer; transition: border-color .15s, transform .15s; }
.njr-prizes button:hover { border-color: rgba(214, 180, 124, .7); transform: translateY(-2px); }
.njr-prizes button:focus-visible { outline: 2px solid #c6f8ff; outline-offset: 2px; }
.njr-prizes .r { padding: 3px 10px; border-radius: 999px; background: var(--nj-pearl); color: #0b0d14; font-size: 12px; font-weight: 900; }
.njr-prizes b { margin-top: 6px; font-size: 16px; font-weight: 800; line-height: 1.35; }
.njr-prizes small { margin-top: 4px; font-size: 12px; color: var(--nj-muted); }
.njr-below .bfx-claim { margin-top: 40px; }
.njr-below .bfx-fine { margin-top: 28px; }
.njr-below .bfx-back { margin-top: 26px; font-size: 14px; }
.njr-below .bfx-back a { color: rgba(255, 255, 255, .7); }

/* 결과 창: 자개 보석함 */
.njr-modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px; background: rgba(4, 5, 10, .78); opacity: 0; visibility: hidden; transition: opacity .22s, visibility 0s linear .22s; }
.njr-modal.is-open { opacity: 1; visibility: visible; transition: opacity .22s; }
.njr-modal-card { position: relative; width: 100%; max-width: 340px; padding: 32px 26px 26px; border: 1.5px solid var(--nj-gold); border-radius: 26px; text-align: center; color: #f7f4ee;
  background: radial-gradient(circle at 50% 28%, rgba(198, 248, 255, .14), transparent 60%), linear-gradient(180deg, #141826 0%, #0b0d15 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .9), 0 0 32px rgba(198, 248, 255, .2), inset 0 0 0 1px rgba(198, 248, 255, .22); transform: translateY(14px) scale(.95); transition: transform .3s cubic-bezier(.2, 1.3, .4, 1); }
.njr-modal.is-open .njr-modal-card { transform: none; }
.njr-modal-rank { display: inline-block; padding: 6px 15px; border-radius: 999px; font-size: 13px; font-weight: 900; color: #090b12; background: var(--nj-pearl); }
.njr-modal-box { display: block; width: 132px; height: 132px; margin: 16px auto 0; object-fit: contain; filter: drop-shadow(0 8px 20px rgba(198, 248, 255, .28)); animation: njr-float 3.6s ease-in-out infinite; }
.njr-modal-title { margin: 14px 0 6px; font-family: 'Noto Serif KR', 'Pretendard Variable', 'Pretendard', serif; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.njr-modal-prize { margin: 0; font-size: 18px; font-weight: 800; background: var(--nj-pearl); -webkit-background-clip: text; background-clip: text; color: transparent; }
.njr-modal-msg { margin: 10px 0 0; font-size: 14px; line-height: 1.55; color: var(--nj-muted); word-break: keep-all; }
.njr-modal-ok { width: 100%; margin-top: 22px; padding: 15px; border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-size: 16px; font-weight: 800; color: #090b12; background: var(--nj-pearl); box-shadow: 0 4px 0 #7c90a0; }
.njr-modal-ok:active { transform: translateY(3px); box-shadow: 0 1px 0 #7c90a0; }
.njr-modal-ok:disabled { opacity: .6; cursor: default; }
a.njr-modal-ok { display: block; text-decoration: none; }
.njr-modal-sub { width: 100%; margin-top: 10px; padding: 12px; border: 1px solid rgba(214, 180, 124, .4); border-radius: 999px; background: none; color: rgba(247, 244, 238, .85); font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; }
.njr-modal-item { margin-top: 6px; font-size: 14px; font-weight: 700; color: #fff; word-break: keep-all; }
.njr-modal-card { max-height: calc(100dvh - 48px); overflow-y: auto; }
.njr-x { position: absolute; top: 12px; right: 14px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
/* 피지흡입기 사진 */
.njr-sebum { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 8px; margin-top: 16px; }
.njr-sebum img { width: 100%; height: 190px; object-fit: cover; border-radius: 14px; background: #f2f2f2; }
.njr-sebum img:last-child { object-fit: contain; }
.njr-modal-photo { display: block; width: 120px; height: 120px; margin: 14px auto 0; object-fit: cover; border-radius: 18px; box-shadow: 0 8px 24px rgba(0, 0, 0, .5); }
/* 경품 안내 팝업 */
.njr-pz { max-width: 420px; }
.njr-pz-list { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; text-align: left; }
.njr-pz-list li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, .05); }
.njr-pz-list img, .njr-pz-ph { flex: none; width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: rgba(255, 255, 255, .08); }
.njr-pz-list span { display: grid; gap: 2px; min-width: 0; font-size: 13.5px; line-height: 1.4; word-break: keep-all; }
.njr-pz-list small { color: var(--nj-muted); font-size: 12px; }
/* 피지흡입기 배송지 */
.njr-addr-card { max-width: 380px; }
.njr-addr { display: grid; gap: 8px; margin-top: 4px; text-align: left; }
.njr-addr .njr-modal-msg { margin: 6px 0 4px; text-align: center; }
.njr-addr input:not([type="checkbox"]) { width: 100%; height: 44px; padding: 0 12px; border: 1px solid rgba(214, 180, 124, .4); border-radius: 10px; background: rgba(255, 255, 255, .06); color: #fff; font: inherit; font-size: 14.5px; }
.njr-addr input::placeholder { color: rgba(255, 255, 255, .38); }
.njr-addr input[readonly] { color: rgba(255, 255, 255, .8); }
.njr-addr-2 { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 8px; }
.njr-addr-zip { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.njr-addr-zip button { padding: 0 14px; border: 0; border-radius: 10px; background: #fff; color: #000; font: inherit; font-size: 13.5px; font-weight: 800; cursor: pointer; }
.njr-addr-agree { display: flex; gap: 8px; align-items: flex-start; margin-top: 4px; font-size: 13px; line-height: 1.5; color: rgba(247, 244, 238, .85); }
.njr-addr-agree input { margin-top: 3px; accent-color: #c6f8ff; }
.njr-addr-agree small { color: var(--nj-muted); font-size: 11.5px; }
.njr-addr-err { padding: 8px 12px; border-radius: 10px; background: rgba(255, 92, 110, .14); color: #ffb3bd; font-size: 13.5px; font-weight: 700; }
.njr-addr .njr-modal-ok { margin-top: 8px; }
/* 경품 포기 확인 팝업 */
.njr-confirm { position: fixed; inset: 0; z-index: 310; display: grid; place-items: center; padding: 24px; background: rgba(4, 5, 10, .7); }
.njr-confirm-card { width: 100%; max-width: 320px; padding: 26px 22px 22px; border: 1.5px solid #ff8a98; border-radius: 22px; background: #141826; text-align: center; color: #f7f4ee; box-shadow: 0 24px 60px rgba(0, 0, 0, .9); }
.njr-confirm-card h3 { font-size: 19px; font-weight: 900; }
.njr-confirm-card p { margin-top: 8px; font-size: 14px; line-height: 1.55; color: rgba(247, 244, 238, .8); }
.njr-confirm-card .njr-confirm-warn { padding: 8px 10px; border-radius: 10px; background: rgba(255, 92, 110, .14); color: #ffb3bd; font-weight: 800; }
.njr-confirm-card .njr-modal-ok { margin-top: 18px; }
/* 블랙프라이데이 섹션 원판: 평소에 천천히 돌아요 */
.njr-mini .njr-wheel { animation: njr-idle 30s linear infinite; }
@keyframes njr-idle { to { transform: rotate(360deg); } }

/* 당첨 자개 색종이 */
.njr-burst { position: fixed; inset: 0; z-index: 290; overflow: hidden; pointer-events: none; }
.njr-burst span { position: absolute; top: 0; width: 9px; height: 15px; border-radius: 2px; box-shadow: 0 0 8px rgba(198, 248, 255, .55); }
.njr-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  .njr-deco svg, .njr-modal-box, .njr-mini .njr-wheel { animation: none; }
}

/* PC (1000px 이상): 왼쪽 머리말 + 주문번호, 오른쪽 룰렛 */
@media (min-width: 1000px) {
  .njr { --njr-size: 410px; padding-top: 150px; }
  .njr-layout { grid-template-columns: minmax(0, 1fr) 450px; grid-template-areas: "intro stage" "cta stage"; column-gap: 36px; justify-items: start; text-align: left; }
  .njr-arch { margin: 0 0 4px; }
  .njr-intro { align-self: end; }
  .njr-kicker { font-size: 17px; }
  .njr-title { font-size: 52px; }
  .njr-title span { display: block; }
  .njr-title span + span::before { content: none; }
  .njr-period { font-size: 14px; }
  .njr-sub { font-size: 17px; }
  .njr-stage { align-self: center; margin: 0; }
  .njr-cta { align-self: start; width: 100%; max-width: 360px; margin-top: 30px; }
  .njr-form { margin: 0; }
  .njr-pointer { top: -25px; width: 58px; margin-left: -29px; }
  .njr-hub span { padding: 4px 10px; font-size: 13px; }
  .njr-stand { height: 58px; margin-top: -24px; }
  .njr-stand::before { height: 42px; }
  .njr-stand::after { height: 26px; }
  .njr-sticker { padding: 10px 16px; font-size: 14px; }
  .njr-below { margin-top: 110px; }
}
@media (max-width: 640px) {
  .njr { padding-top: 96px; }
  .njr-deco .is-clover-bl, .njr-deco .is-plum-br, .njr-deco .is-spark-ml { display: none; }   /* 아래쪽 장식은 휴대폰에서 양식에 겹쳐서 빼요 */
  .njr-title { font-size: 36px; }
  .njr-prizes { gap: 5px; }
  .njr-prizes button { padding: 12px 4px; border-radius: 12px; }
  .njr-prizes .r { padding: 2px 7px; font-size: 10.5px; }
  .njr-prizes b { margin-top: 4px; font-size: 12px; line-height: 1.35; }
  .njr-prizes small { font-size: 10px; }
}
