/* BASIC css start */
@font-face {font-family: 'Noto Sans';font-style: normal;font-weight: 100;src: url(/images/web-font/NotoSans-Thin.woff2) format('woff2'),url(/images/web-font/NotoSans-Thin.woff) format('woff'),url(/images/web-font/NotoSans-Thin.otf) format('opentype');}
@font-face {font-family: 'Noto Sans';font-style: normal;font-weight: 300;src: url(/images/web-font/NotoSans-Light.woff2) format('woff2'),url(/images/web-font/NotoSans-Light.woff) format('woff'),url(/images/web-font/NotoSans-Light.otf) format('opentype');}
@font-face {font-family: 'Noto Sans';font-style: normal;font-weight: 400;src: url(/images/web-font/NotoSans-Regular.woff2) format('woff2'),url(/images/web-font/NotoSans-Regular.woff) format('woff'),url(/images/web-font/NotoSans-Regular.otf) format('opentype');}
@font-face {font-family: 'Noto Sans';font-style: normal;font-weight: 500;src: url(/images/web-font/NotoSans-Medium.woff2) format('woff2'),url(/images/web-font/NotoSans-Medium.woff) format('woff'),url(/images/web-font/NotoSans-Medium.otf) format('opentype');}
@font-face {font-family: 'Noto Sans';font-style: normal;font-weight: 700;src: url(/images/web-font/NotoSans-Bold.woff2) format('woff2'),url(/images/web-font/NotoSans-Bold.woff) format('woff'),url(/images/web-font/NotoSans-Bold.otf) format('opentype');}
@font-face {font-family: 'Noto Sans';font-style: normal;font-weight: 900;src: url(/images/web-font/NotoSans-Black.woff2) format('woff2'),url(/images/web-font/NotoSans-Black.woff) format('woff'),url(/images/web-font/NotoSans-Black.otf) format('opentype');}

.footer_section {
    display: none;
}

#R_roulette_event_wrap * {font-family: 'Noto Sans', sans-serif;}
#R_roulette_event_wrap {position:relative; width:1100px; margin:0 auto;}
#R_roulette_event_wrap .R_cont-wrap {height:892px; background:url(/images/common/img_roulette_bg.jpg) left top no-repeat;}
#R_roulette_event_wrap .R_cont-wrap .R_title {text-align:center;}
#R_roulette_event_wrap .R_cont-wrap .R_title h3 {padding-top:70px; font-size:60px; color:#403b33; font-weight:900; letter-spacing:-1px;}
#R_roulette_event_wrap .R_cont-wrap .R_title p {position:relative; width:375px; margin:0 auto; padding-top:25px; font-size:22px; color:#534d42; font-weight:700;}
#R_roulette_event_wrap .R_cont-wrap .R_title p:before {position:absolute; left:0; top:38px; width:40px; border-bottom:7px double #f49b95; content:'';}
#R_roulette_event_wrap .R_cont-wrap .R_title p:after {position:absolute; right:0; top:38px; width:40px; border-bottom:7px double #f49b95; content:'';}

#R_roulette_event_wrap .R_cont-wrap .R_roulette-wrap {width:550px; margin:70px auto;}

#R_roulette_event_wrap .R_notice {display:table; width:100%; background:#f2f5f6; padding:40px 0;}
#R_roulette_event_wrap .R_notice dt,
#R_roulette_event_wrap .R_notice dd {letter-spacing:-1px;}
#R_roulette_event_wrap .R_notice dt {display:table-cell; width:30%; padding-left:190px; font-size:20px; font-weight:700; vertical-align:middle;}
#R_roulette_event_wrap .R_notice dd {position:relative; width:70%; padding:0 190px 0 15px; line-height:24px; font-size:15px; color:#777;}   
#R_roulette_event_wrap .R_notice dd:before {position:absolute; left:0; top:0; content:'·';}

#R_roulette_event_wrap .R_comment-wrap {padding:40px 0; background:#f49b95;}
#R_roulette_event_wrap .R_comment-wrap .inner {width:726px; margin:0 auto;}
#R_roulette_event_wrap .R_comment-wrap .input-text {width:576px; height:46px; line-height:46px; padding:0 15px; border:1px solid #000; border-radius:8px; font-size:18px; color:#000;}
#R_roulette_event_wrap .R_comment-wrap .btn-apply {display:inline-block; height:48px; line-height:48px; margin-left:10px; padding:0 35px; background:#000; color:#fff; font-size:20px; letter-spacing:-1px; border-radius:8px;}
#R_roulette_event_wrap .R_comment-wrap .comment-table-list {background:#fff; border:1px solid #000; border-radius:8px; margin-top:15px; padding:30px; letter-spacing:-1px;}
#R_roulette_event_wrap .R_comment-wrap .comment-table-list td {font-size:15px; padding-bottom:20px; color:#000;}
#R_roulette_event_wrap .R_comment-wrap .comment-table-list td .name {color:#000}
#R_roulette_event_wrap .R_comment-wrap .comment-table-list td .date {color:#b8b8b8}
#R_roulette_event_wrap .R_comment-wrap .comment-table-list td .content img {display:inline-block; margin-left:10px;}
#R_roulette_event_wrap .R_comment-wrap .comment-table-list td .benefit {color:#ef6a61}
#R_roulette_event_wrap .R_comment-wrap .comment-table-list .no-data {text-align:center; font-size:15px; margin:10px auto;}
#R_roulette_event_wrap .R_comment-wrap .paging a {color:#999; font-size:12px; padding:0 7px;}
#R_roulette_event_wrap .R_comment-wrap .paging a.now {color:#000;}

canvas#eventWheel { z-index: 1;}
.event-wheel-start { display: none; z-index: 11; position: absolute; background-color: #534d42; text-align: center; color:#fff; font-size:28px; font-weight:900; outline: 0; width: 126px; height: 126px; line-height: 126px; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; }
.event-wheel-pointer { z-index: 10; position: absolute; left: 523px; top: 235px; }
.dummy-canvas { position: relative; width: 50%; min-height: 550px; margin: 0 auto; }


/* 레이어 팝업 */
.R_pop-roulette-layer * {font-family: 'Noto Sans', sans-serif;}
.R_pop-roulette-layer {position:fixed; left:0; top:0; width:100%; height:100%; background-color:rgba( 0, 0, 0, 0.7 ); z-index:999;}
.R_pop-roulette-layer .R_pop-layer {position:absolute; left:50%; top:50%; right:0; width:363px; min-height:357px; padding:0 30px 30px; background:#fff; text-align:center; letter-spacing:-1px; -webkit-transform: translate3d(-50%, -50%, 0); -moz-transform: translate3d(-50%, -50%, 0); transform: translate3d(-50%, -50%, 0);}
.R_pop-roulette-layer .R_pop-layer .btn-close {position:absolute; top:16px; right:16px;}
.R_pop-roulette-layer .R_pop-layer .R_title {color:#000; padding:40px 0 27px;}
.R_pop-roulette-layer .R_pop-layer .R_title span {font-size:22px; font-weight:500;}
.R_pop-roulette-layer .R_pop-layer .R_title p {font-size:29px; font-weight:900;}
.R_pop-roulette-layer .R_pop-layer .R_pop-benefit {margin:0 40px; padding:10px 0; border:2px solid #000; border-radius:26px; font-size:22px; color:#000; font-weight:700; font-family: "Malgun Gothic";}
.R_pop-roulette-layer .R_pop-layer .R_txt {padding:28px 0 15px; font-size:15px; font-weight:700; color:#000; font-family: "Malgun Gothic";}
.R_pop-roulette-layer .R_pop-layer textarea {width:88%; padding:20px; border:1px solid #c0bbba; border-radius:6px; color:#000; font-family: "Malgun Gothic"; font-size:23px; letter-spacing: -1px; resize: none;}
.R_pop-roulette-layer .R_pop-layer textarea::placeholder {color:#a1a1a1;}
.R_pop-roulette-layer .R_pop-layer .btn-write {display:block; margin-top:10px; padding:17px; background:#000; color:#fff; border-radius:6px; font-size:18px; font-weight:700; font-family: "Malgun Gothic";}
/* 룰렛 페이지 전용: 기존 CSS 맨 아래에 추가하세요.
   룰렛 위치·크기·START 표시 여부는 기존 스크립트가 제어합니다. */
#contentWrapper:has(#R_roulette_event_wrap),
#contentWrap:has(#R_roulette_event_wrap),
#content:has(#R_roulette_event_wrap) { background-color: #0e0e0e; }
#R_roulette_event_wrap { background: #0e0e0e; color: #fff; }
#R_roulette_event_wrap .R_cont-wrap {
  background: radial-gradient(ellipse at 50% 62%, rgba(42,79,235,.28) 0%, rgba(32,47,109,.14) 38%, transparent 68%), #0e0e0e;
}
#R_roulette_event_wrap .R_cont-wrap .R_title h3 {
  color: #fff;
  text-shadow: 0 4px 28px rgba(67,105,255,.18);
}
#R_roulette_event_wrap .R_cont-wrap .R_title p { color: #dce3ff; }
#R_roulette_event_wrap .R_cont-wrap .R_title p:before,
#R_roulette_event_wrap .R_cont-wrap .R_title p:after { border-bottom-color: #587bff; }
#R_roulette_event_wrap .event-wheel-start {
  background: linear-gradient(135deg, #1648ff, #5968e8);
  color: #fff;
  box-shadow: 0 0 0 5px rgba(255,255,255,.2), 0 8px 28px rgba(0,0,0,.35);
}
#R_roulette_event_wrap .event-wheel-start:hover { background: linear-gradient(135deg, #285aff, #727cf4); }
#R_roulette_event_wrap .event-wheel-start:focus-visible { outline: 3px solid #fff; outline-offset: 6px; }
#R_roulette_event_wrap .R_notice { background: #151515; border-top: 1px solid #303030; border-bottom: 1px solid #303030; }
#R_roulette_event_wrap .R_notice dt,
#R_roulette_event_wrap .R_notice dd { color: #fff; }
#R_roulette_event_wrap .R_notice dd a { color: #b5c4ff; }
#R_roulette_event_wrap .R_comment-wrap { background: #0e0e0e; }
#R_roulette_event_wrap .R_comment-wrap .input-text { background: #1b1b1b; border-color: #494949; color: #fff; }
#R_roulette_event_wrap .R_comment-wrap .input-text::placeholder { color: #aaa; }
#R_roulette_event_wrap .R_comment-wrap .btn-apply { background: #1648ff; color: #fff; }
#R_roulette_event_wrap .R_comment-wrap .comment-table-list { background: #191919; border-color: #383838; }
#R_roulette_event_wrap .R_comment-wrap .comment-table-list td,
#R_roulette_event_wrap .R_comment-wrap .comment-table-list td .name,
#R_roulette_event_wrap .R_comment-wrap .comment-table-list .no-data { color: #fff; }
#R_roulette_event_wrap .R_comment-wrap .comment-table-list td .date { color: #b8b8b8; }
#R_roulette_event_wrap .R_comment-wrap .comment-table-list td .benefit { color: #a8bbff; }
#R_roulette_event_wrap .R_comment-wrap .paging a { color: #b8b8b8; }
#R_roulette_event_wrap .R_comment-wrap .paging a.now { color: #a8bbff; font-weight: 700; }
/* 당첨 팝업 */
.R_pop-roulette-layer .R_pop-layer { background: #191919; border: 1px solid #424242; border-radius: 16px; box-shadow: 0 24px 80px #0008; }
.R_pop-roulette-layer .R_pop-layer .R_title,
.R_pop-roulette-layer .R_pop-layer .R_title span,
.R_pop-roulette-layer .R_pop-layer .R_title p,
.R_pop-roulette-layer .R_pop-layer .R_txt { color: #fff; }
.R_pop-roulette-layer .R_pop-layer .R_pop-benefit { background: #202b54; border-color: #7b96ff; color: #fff; }
.R_pop-roulette-layer .R_pop-layer textarea { background: #242424; border-color: #555; color: #fff; }
.R_pop-roulette-layer .R_pop-layer .btn-write { background: #1648ff; color: #fff; }
#R_roulette_event_wrap .R_cont-wrap {
    background:
        radial-gradient(
            ellipse at 27% 48%,
            rgba(22, 72, 255, .46),
            transparent 53%
        ),
        radial-gradient(
            ellipse at 76% 62%,
            rgba(112, 71, 220, .34),
            transparent 54%
        ),
        linear-gradient(
            180deg,
            #0e0e0e 0%,
            #11172e 38%,
            #17152d 72%,
            #0e0e0e 100%
        );
}
/* 페이지 전체에 이어지는 그라데이션 */
body:has(#R_roulette_event_wrap) {
    background:
        radial-gradient(
            ellipse at 15% 30%,
            rgba(22, 72, 255, .25),
            transparent 60%
        ),
        radial-gradient(
            ellipse at 85% 65%,
            rgba(112, 71, 220, .22),
            transparent 60%
        ),
        #0e0e0e;
    background-attachment: fixed;
}

/* 내부 배경을 비워 전체 그라데이션이 보이도록 */
#wrap:has(#R_roulette_event_wrap),
#contentWrapper:has(#R_roulette_event_wrap),
#contentWrap:has(#R_roulette_event_wrap),
#content:has(#R_roulette_event_wrap),
#R_roulette_event_wrap,
#R_roulette_event_wrap .R_cont-wrap,
#R_roulette_event_wrap .R_notice,
#R_roulette_event_wrap .R_comment-wrap {
    background: transparent;
}

/* 페이지 기본 배경은 흰색 */
body:has(#R_roulette_event_wrap) {
    background: #fff;
}

/* 그라데이션은 본문 영역에만 */
#contentWrapper:has(#R_roulette_event_wrap) {
    background:
        radial-gradient(
            ellipse at 15% 30%,
            rgba(22, 72, 255, .25),
            transparent 60%
        ),
        radial-gradient(
            ellipse at 85% 65%,
            rgba(112, 71, 220, .22),
            transparent 60%
        ),
        #0e0e0e;
}
/* BASIC css end */

