/* 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');}

#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;}

/* 추천상품 리스트 */
#R_roulette_event_wrap .item-wrap .item-cont .item-list {padding:10px; float:left;width: 16.7%;text-align:center; margin:0 13px 10px 0; border:1px solid #eee;}
#R_roulette_event_wrap .item-wrap .item-cont .item-list .thumb {width: 100%; height:180px;overflow:hidden;}
#R_roulette_event_wrap .item-wrap .item-cont .item-list .thumb img {width: 100%; height:100%;}

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:13px; 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";}


/* =====================================================================
   SWELL LUCKY 룰렛 커스텀 (PC)
   ※ #R_roulette_event_wrap.sw-roulette-on 일 때만 적용 (적용할 id는 HTML 상단 SW_ROULETTE_IDS에서 설정)
   이미지: /design/swellstore/img/ (원판 1794272467214 / 배경 bf_roulett_bg01 / START 364 / 링 384 / 핀 417)
   ===================================================================== */
#R_roulette_event_wrap.sw-roulette-on .R_cont-wrap.sw-lucky{
    position:relative; width:900px; height:1200px; margin:0 auto; padding:480px 0 0 !important; box-sizing:border-box; /* 480px = 배경 이미지 기준 룰렛 세로 위치 */
    background:#000 url('/design/swellstore/img/bf_roulett_bg01.png') center top / 900px auto no-repeat;
    text-align:center; overflow:visible;
}
/* 타이틀·안내 문구는 배경 이미지에 포함 → 룰렛 이름/기간은 숨김 처리 (치환코드는 유지) */
#R_roulette_event_wrap.sw-roulette-on .sw-lucky .sw-hidden{position:absolute !important; width:1px; height:1px; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;}
#R_roulette_event_wrap.sw-roulette-on .sw-lucky .sw-title{margin:0 !important; padding:0 !important; height:0; border:0;}

/* 룰렛 (원판 550 / 링 622 / START 150 / 핀 56×68) */
#R_roulette_event_wrap.sw-roulette-on .sw-lucky .R_roulette-wrap{position:relative !important; width:550px !important; height:550px !important; margin:0 auto !important; padding:0 !important; background:none !important;}
#R_roulette_event_wrap.sw-roulette-on .sw-lucky .R_roulette-wrap canvas{position:relative; z-index:1; display:block; width:550px; height:550px;}
#R_roulette_event_wrap.sw-roulette-on .sw-lucky .R_roulette-wrap:after{content:""; position:absolute; left:-36px; top:-36px; width:622px; height:622px; z-index:2; pointer-events:none;
    background:url('/design/swellstore/img/1794272467384.png') center / contain no-repeat;}
#R_roulette_event_wrap.sw-roulette-on .sw-lucky .event-wheel-start{position:absolute; z-index:3; display:block; width:150px !important; height:150px !important; padding:0 !important; border:0 !important; border-radius:50%; line-height:150px;
    background:url('/design/swellstore/img/1794272467364.png') center / contain no-repeat !important; box-shadow:0 6px 18px rgba(0,10,80,.35); transition:transform .15s;}
#R_roulette_event_wrap.sw-roulette-on .sw-lucky .event-wheel-start:hover{transform:scale(1.04);}
#R_roulette_event_wrap.sw-roulette-on .sw-lucky .event-wheel-start span{visibility:hidden;}
#R_roulette_event_wrap.sw-roulette-on .sw-lucky .event-wheel-pointer{position:absolute !important; z-index:4; left:50% !important; top:-50px !important; right:auto !important; bottom:auto !important;
    width:56px !important; height:68px !important; margin:0 0 0 -28px !important; transform:none !important; filter:drop-shadow(0 3px 4px rgba(0,0,40,.35));}

/* ===== 유의사항 ===== */
#R_roulette_event_wrap.sw-roulette-on .R_notice.sw-notice{width:900px !important; margin:0 auto !important; padding:36px 60px 8px !important; box-sizing:border-box; background:#000 !important; border:0 !important; color:rgba(255,255,255,.7); font-size:13px; line-height:1.8; text-align:left;}
#R_roulette_event_wrap.sw-roulette-on .R_notice.sw-notice dt{float:none !important; width:auto !important; margin:0 0 8px !important; padding:0 !important; background:none !important; color:#d7ff3a !important; font-size:15px; font-weight:700;}
#R_roulette_event_wrap.sw-roulette-on .R_notice.sw-notice dd{float:none !important; margin:0 !important; padding:0 !important; color:rgba(255,255,255,.7) !important;}

/* ===== 댓글 ===== */
#R_roulette_event_wrap.sw-roulette-on .R_comment-wrap.sw-comment{width:900px !important; margin:0 auto !important; padding:36px 60px 64px !important; box-sizing:border-box; background:#000 !important; border:0 !important;}
#R_roulette_event_wrap.sw-roulette-on .sw-comment .inner{width:auto !important; margin:0 !important; padding:0 !important; background:none !important;}
#R_roulette_event_wrap.sw-roulette-on .sw-comment form{margin:0; padding:0;}
#R_roulette_event_wrap.sw-roulette-on .sw-comment label{display:flex !important; gap:10px; width:auto !important; margin:0 !important; padding:0 !important; position:static !important;}
#R_roulette_event_wrap.sw-roulette-on .sw-comment .input-text{flex:1; min-width:0; width:auto !important; height:54px !important; margin:0 !important; padding:0 20px !important; box-sizing:border-box;
    background:rgba(255,255,255,.06) !important; border:1px solid rgba(255,255,255,.2) !important; border-radius:12px !important; color:#fff !important; font-size:15px; outline:none; box-shadow:none !important; transition:border-color .15s, background .15s;}
#R_roulette_event_wrap.sw-roulette-on .sw-comment .input-text::placeholder{color:rgba(255,255,255,.45);}
#R_roulette_event_wrap.sw-roulette-on .sw-comment .input-text:focus{border-color:#d7ff3a !important; background:rgba(255,255,255,.09) !important;}
#R_roulette_event_wrap.sw-roulette-on .sw-comment .btn-apply{display:flex !important; align-items:center; justify-content:center; flex:0 0 120px; width:120px !important; height:54px !important; margin:0 !important; padding:0 !important; position:static !important;
    background:#d7ff3a !important; border:0 !important; border-radius:12px !important; color:#000 !important; font-size:16px; font-weight:700; text-decoration:none !important; transition:filter .15s;}
#R_roulette_event_wrap.sw-roulette-on .sw-comment .btn-apply:hover{filter:brightness(1.08);}

#R_roulette_event_wrap.sw-roulette-on .sw-comment .comment-table-list{margin:14px 0 0 !important; padding:6px 24px !important; background:rgba(255,255,255,.04) !important; border:1px solid rgba(255,255,255,.14) !important; border-radius:12px !important; box-sizing:border-box;}
#R_roulette_event_wrap.sw-roulette-on .sw-comment table{width:100% !important; border-collapse:collapse; border:0 !important; table-layout:fixed;}
#R_roulette_event_wrap.sw-roulette-on .sw-comment table caption{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0);}
#R_roulette_event_wrap.sw-roulette-on .sw-comment table td{padding:16px 6px !important; border:0 !important; border-bottom:1px solid rgba(255,255,255,.08) !important; background:none !important; color:rgba(255,255,255,.88) !important; font-size:14px; text-align:left; vertical-align:middle;}
#R_roulette_event_wrap.sw-roulette-on .sw-comment table tr:last-child td{border-bottom:0 !important;}
#R_roulette_event_wrap.sw-roulette-on .sw-comment .td-left{text-align:left !important; padding:0 !important;}
#R_roulette_event_wrap.sw-roulette-on .sw-comment .date,
#R_roulette_event_wrap.sw-roulette-on .sw-comment .name{color:rgba(255,255,255,.5) !important; font-size:13px;}
#R_roulette_event_wrap.sw-roulette-on .sw-comment .benefit{display:inline-block; padding:3px 10px; border-radius:999px; background:rgba(215,255,58,.14); color:#d7ff3a !important; font-size:12px; font-weight:700; white-space:nowrap;}
#R_roulette_event_wrap.sw-roulette-on .sw-comment .content{color:#fff !important; word-break:break-all;}
#R_roulette_event_wrap.sw-roulette-on .sw-comment .content img{margin-left:8px; vertical-align:middle; opacity:.6; filter:invert(1);}
#R_roulette_event_wrap.sw-roulette-on .sw-comment .no-data{padding:34px 0 !important; border:0 !important; background:none !important; color:rgba(255,255,255,.55) !important; font-size:14px; text-align:center;}

#R_roulette_event_wrap.sw-roulette-on .sw-comment .paging{display:flex; justify-content:center; gap:4px; margin:0 !important; padding:16px 0 10px !important; border:0 !important;}
#R_roulette_event_wrap.sw-roulette-on .sw-comment .paging a{display:inline-flex !important; align-items:center; justify-content:center; min-width:32px; height:32px; margin:0 !important; padding:0 6px !important; box-sizing:border-box;
    background:none !important; border:0 !important; border-radius:8px; color:rgba(255,255,255,.55) !important; font-size:13px; text-decoration:none !important;}
#R_roulette_event_wrap.sw-roulette-on .sw-comment .paging a:hover{color:#fff !important; background:rgba(255,255,255,.08) !important;}
#R_roulette_event_wrap.sw-roulette-on .sw-comment .paging a.now{background:#d7ff3a !important; color:#000 !important; font-weight:700;}
/* BASIC css end */

