/* BASIC css start */
/* FONT */
@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,#R_roulette_event_wrap *{box-sizing:border-box;font-family:"Noto Sans",sans-serif;}
#R_roulette_event_wrap{position:relative;width:100%;max-width:1400px;min-width:1230px;margin:0 auto;color:#202735;}
#R_roulette_event_wrap a{text-decoration:none;}

/* 메인 - 브라우저 전체 폭 배경 */
#R_roulette_event_wrap .R_cont-wrap{position:relative;isolation:isolate;width:100vw;margin-left:calc(50% - 50vw);padding:64px 52px 54px;overflow:hidden;border-top:1px solid #eddfbd;border-bottom:1px solid #eddfbd;background:linear-gradient(135deg,#f8f2e1 0%,#fffaf0 48%,#f7ecd4 100%);}

/* 상단 우측 달 */
#R_roulette_event_wrap .R_cont-wrap::before{position:absolute;z-index:-1;right:-60px;top:-100px;width:350px;height:350px;border-radius:50%;background:radial-gradient(circle at 38% 36%,#fff6cc 0%,#f5d77d 57%,#e4b64b 100%);box-shadow:0 0 80px rgba(224,179,72,0.20);content:"";}

/* 좌측 하단 장식 */
#R_roulette_event_wrap .R_cont-wrap::after{position:absolute;z-index:-1;left:-130px;bottom:-155px;width:390px;height:390px;border:52px solid rgba(211,181,112,0.09);border-radius:50%;content:"";}

/* 제목 */
#R_roulette_event_wrap .R_title{position:relative;z-index:2;text-align:center;}
#R_roulette_event_wrap .R_kicker{display:block;margin-bottom:15px;color:#a67b31;font-size:13px;font-weight:900;letter-spacing:0.17em;}
#R_roulette_event_wrap .R_once{display:inline-flex;align-items:center;justify-content:center;margin-bottom:13px;padding:7px 18px;border-radius:999px;background:linear-gradient(135deg,#c58b32,#d5a34b);color:#fff;font-size:20px;font-weight:900;letter-spacing:-0.04em;box-shadow:0 8px 18px rgba(182,125,43,0.17);}
#R_roulette_event_wrap .R_title h3{margin:0;color:#1d2b44;font-size:60px;font-weight:900;line-height:1.14;letter-spacing:-0.055em;}
#R_roulette_event_wrap .R_subcopy{margin-top:15px;color:#665f54;font-size:18px;font-weight:500;letter-spacing:-0.035em;}
#R_roulette_event_wrap .R_period{display:inline-flex;align-items:center;gap:11px;margin:23px 0 0;padding:10px 25px;border:1px solid #e1c98d;border-radius:999px;background:rgba(255,255,255,0.78);color:#33415a;font-size:17px;font-weight:800;line-height:1.4;letter-spacing:-0.02em;box-shadow:0 8px 22px rgba(45,50,59,0.04);}
#R_roulette_event_wrap .R_period span{color:#c58b32;}

/* 룰렛 배치 */
#R_roulette_event_wrap .R_roulette-layout{position:relative;z-index:2;display:flex;align-items:center;justify-content:center;gap:22px;width:100%;margin-top:42px;}

/* 좌우 문구 */
#R_roulette_event_wrap .R_side-copy{flex:0 0 180px;width:180px;}
#R_roulette_event_wrap .R_side-left{text-align:right;}
#R_roulette_event_wrap .R_side-right{text-align:left;}
#R_roulette_event_wrap .R_side-eng{display:block;margin-bottom:10px;color:#b68a3a;font-size:12px;font-weight:900;letter-spacing:0.15em;}
#R_roulette_event_wrap .R_side-copy strong{display:block;color:#20314f;font-size:20px;font-weight:900;line-height:1.52;letter-spacing:-0.045em;}
#R_roulette_event_wrap .R_side-copy i{display:inline-block;width:38px;height:3px;margin-top:18px;border-radius:99px;background:#d0a34f;}

/* 룰렛 외곽 */
#R_roulette_event_wrap .R_roulette-stage{position:relative;flex:0 0 640px;width:640px;height:640px;padding:20px;border-radius:50%;background:linear-gradient(145deg,#f8e7ad 0%,#d8aa4e 38%,#a97328 73%,#e1bd67 100%);box-shadow:0 30px 55px rgba(60,45,24,0.18),inset 0 0 0 6px rgba(255,255,255,0.42),inset 0 0 0 14px rgba(91,63,26,0.12);}

/* 포인터 */
#R_roulette_event_wrap .R_roulette-stage::before{position:absolute;z-index:50;left:50%;top:-13px;width:0;height:0;border-left:25px solid transparent;border-right:25px solid transparent;border-top:45px solid #c3653d;transform:translateX(-50%);filter:drop-shadow(0 5px 5px rgba(0,0,0,0.20));content:"";}
#R_roulette_event_wrap .R_roulette-stage::after{position:absolute;z-index:51;left:50%;top:-1px;width:15px;height:15px;border:2px solid #f0c16f;border-radius:50%;background:#fff;transform:translateX(-50%);content:"";}

/* 외곽 전구 */
#R_roulette_event_wrap .R_bulb-ring{position:absolute;z-index:15;left:0;top:0;width:100%;height:100%;border-radius:50%;pointer-events:none;}
#R_roulette_event_wrap .R_bulb-ring i{position:absolute;left:50%;top:50%;width:8px;height:8px;margin:-4px;border:1px solid rgba(132,86,23,0.45);border-radius:50%;background:#fff7ce;box-shadow:0 0 0 2px rgba(255,234,167,0.32),0 0 9px rgba(255,232,144,0.85);transform-origin:center center;}

/* 실제 Canvas */
#R_roulette_event_wrap .R_roulette-wrap{position:relative;z-index:20;width:600px;height:600px;margin:0 auto;overflow:hidden;border-radius:50%;background:#fff;box-shadow:0 12px 28px rgba(40,44,52,0.14);}
#R_roulette_event_wrap .dummy-canvas{position:relative;width:600px !important;min-height:600px;margin:0 auto;}
#R_roulette_event_wrap canvas#eventWheel{position:relative;z-index:1;display:block;width:600px !important;height:600px !important;border-radius:50%;}

/* 메이크샵 기본 포인터 숨김 */
#R_roulette_event_wrap .event-wheel-pointer{display:none;}

/* START 버튼 */
#R_roulette_event_wrap .event-wheel-start{position:absolute;z-index:30;display:flex;align-items:center;justify-content:center;width:164px;height:164px;margin:0;border:3px solid #344e77;border-radius:50%;background:radial-gradient(circle at 35% 28%,#38527d 0%,#263b5d 48%,#172941 100%);color:#fff;font-size:35px;font-weight:900;line-height:1;letter-spacing:-0.02em;white-space:nowrap;text-align:center;cursor:pointer;outline:0;box-shadow:0 17px 31px rgba(25,39,61,0.34),inset 0 0 0 8px rgba(255,255,255,0.07),inset 0 -10px 22px rgba(4,14,29,0.17);transition:background 0.16s ease,box-shadow 0.16s ease;}
#R_roulette_event_wrap .event-wheel-start,#R_roulette_event_wrap .event-wheel-start:hover,#R_roulette_event_wrap .event-wheel-start:focus,#R_roulette_event_wrap .event-wheel-start:active{transform:none !important;}
#R_roulette_event_wrap .event-wheel-start span{display:block;color:#fff;font-size:inherit;font-weight:inherit;line-height:1;transform:none !important;}
#R_roulette_event_wrap .event-wheel-start:hover{background:radial-gradient(circle at 35% 28%,#45628f 0%,#2e466c 48%,#1b2e49 100%);box-shadow:0 20px 38px rgba(25,39,61,0.42),inset 0 0 0 8px rgba(255,255,255,0.10),inset 0 -10px 22px rgba(4,14,29,0.14);}
#R_roulette_event_wrap .event-wheel-start:focus{outline:none;box-shadow:0 20px 38px rgba(25,39,61,0.40),0 0 0 5px rgba(201,158,72,0.18),inset 0 0 0 8px rgba(255,255,255,0.10);}
#R_roulette_event_wrap .event-wheel-start:active{background:linear-gradient(180deg,#263b5b 0%,#15263d 100%);box-shadow:0 10px 19px rgba(25,39,61,0.30),inset 0 0 0 8px rgba(255,255,255,0.09);}

/* 룰렛 하단 문구 */
#R_roulette_event_wrap .R_spin-guide{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:29px;color:#55584f;font-size:16px;font-weight:800;letter-spacing:-0.035em;}
#R_roulette_event_wrap .R_spin-dot{width:5px;height:5px;border-radius:50%;background:#c58b32;}

/* 공통 섹션 제목 */
#R_roulette_event_wrap .R_section-title{margin-bottom:24px;text-align:center;}
#R_roulette_event_wrap .R_section-title span{display:block;margin-bottom:7px;color:#b1873e;font-size:11px;font-weight:900;letter-spacing:0.16em;}
#R_roulette_event_wrap .R_section-title strong{display:block;color:#202d43;font-size:27px;font-weight:900;line-height:1.3;letter-spacing:-0.045em;}
#R_roulette_event_wrap .R_section-title p{margin:8px 0 0;color:#737882;font-size:14px;font-weight:400;letter-spacing:-0.025em;}

/* 유의사항 - 기존 폭 유지 */
#R_roulette_event_wrap .R_notice{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:40px;row-gap:10px;width:100%;margin:24px 0 0;padding:32px 46px 30px 250px;border:1px solid #e7e2d7;border-radius:22px;background:#f8f8f6;box-shadow:0 10px 26px rgba(38,43,51,0.035);}
#R_roulette_event_wrap .R_notice dt{position:absolute;left:46px;top:32px;width:160px;padding:0;color:#26344c;font-size:23px;font-weight:900;line-height:1.3;letter-spacing:-0.04em;}
#R_roulette_event_wrap .R_notice dt span{display:block;margin-bottom:5px;color:#b08a47;font-size:10px;font-weight:900;letter-spacing:0.15em;}
#R_roulette_event_wrap .R_notice dd{position:relative;width:auto;min-width:0;margin:0;padding:0 0 0 17px;color:#676e79;font-size:14px;font-weight:400;line-height:1.8;letter-spacing:-0.025em;word-break:keep-all;}
#R_roulette_event_wrap .R_notice dd::before{position:absolute;left:0;top:0;color:#bd9450;content:"•";}

/* 댓글 - 기존 1400px 영역 유지 */
#R_roulette_event_wrap .R_comment-wrap{width:100%;max-width:100%;margin:24px auto 0;padding:42px 46px;overflow:hidden;border:1px solid #ebe2cf;border-radius:24px;background:linear-gradient(180deg,#fffdf8 0%,#faf5e9 100%);}
#R_roulette_event_wrap .R_comment-wrap .inner{width:100% !important;max-width:100% !important;min-width:0 !important;margin:0 auto;}
#R_roulette_event_wrap .R_comment-input{display:grid !important;grid-template-columns:minmax(0,1fr) 110px;column-gap:10px;align-items:center;width:100% !important;max-width:100% !important;min-width:0 !important;margin:0 !important;}
#R_roulette_event_wrap .R_comment-wrap .input-text{display:block;width:100% !important;max-width:100% !important;min-width:0 !important;height:54px;margin:0 !important;padding:0 18px;border:1px solid #d7d8d9;border-radius:12px;background:#fff;color:#252c38;font-size:15px;line-height:54px;outline:none;box-sizing:border-box !important;transition:border-color 0.15s ease,box-shadow 0.15s ease;}
#R_roulette_event_wrap .R_comment-wrap .input-text:focus{border-color:#c8a760;box-shadow:0 0 0 3px rgba(200,167,96,0.12);}
#R_roulette_event_wrap .R_comment-wrap .btn-apply{display:flex;align-items:center;justify-content:center;width:110px !important;min-width:110px !important;max-width:110px !important;height:54px;margin:0 !important;padding:0;border-radius:12px;background:#1d2b44;color:#fff;font-size:16px;font-weight:800;line-height:54px;letter-spacing:-0.03em;box-sizing:border-box !important;transition:background 0.15s ease;}
#R_roulette_event_wrap .R_comment-wrap .btn-apply:hover{background:#30415e;}

/* 댓글 목록 */
#R_roulette_event_wrap .comment-table-list{width:100% !important;max-width:100% !important;min-width:0 !important;margin-top:16px;padding:28px 30px;border:1px solid #e4e5e7;border-radius:16px;background:#fff;letter-spacing:-0.025em;box-sizing:border-box !important;}
#R_roulette_event_wrap .comment-table-list table{width:100% !important;max-width:100% !important;border-collapse:collapse;table-layout:fixed;}
#R_roulette_event_wrap .comment-table-list caption{overflow:hidden;position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);}
#R_roulette_event_wrap .comment-table-list td{padding:14px 10px;border-bottom:1px solid #f0f1f2;color:#454b55;font-size:14px;line-height:1.6;}
#R_roulette_event_wrap .comment-table-list tr:last-child td{border-bottom:0;}
#R_roulette_event_wrap .comment-table-list .name{color:#27344a;font-weight:700;}
#R_roulette_event_wrap .comment-table-list .date{color:#a2a6ac;font-size:13px;}
#R_roulette_event_wrap .comment-table-list .benefit{color:#c78433;font-weight:800;}
#R_roulette_event_wrap .comment-table-list .content img{display:inline-block;margin-left:8px;vertical-align:middle;}
#R_roulette_event_wrap .comment-table-list .no-data{margin:16px auto;color:#858a92;font-size:14px;text-align:center;}

/* 페이징 */
#R_roulette_event_wrap .paging{margin-top:22px;text-align:center;}
#R_roulette_event_wrap .paging a{display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:32px;margin:0 2px;padding:0 8px;border-radius:8px;color:#858b94;font-size:12px;}
#R_roulette_event_wrap .paging a.now{background:#1d2b44;color:#fff;font-weight:700;}

/* 추천상품 */
#R_roulette_event_wrap .item-wrap{margin-top:24px;padding:42px 38px;border:1px solid #e8e5dd;border-radius:24px;background:#fff;}
#R_roulette_event_wrap .item-cont::after{display:block;clear:both;content:"";}
#R_roulette_event_wrap .item-list{float:left;width:calc((100% - 64px) / 5);margin:0 16px 16px 0;padding:14px;border:1px solid #ececef;border-radius:16px;background:#fff;text-align:center;transition:transform 0.16s ease,box-shadow 0.16s ease;}
#R_roulette_event_wrap .item-list.last{margin-right:0;}
#R_roulette_event_wrap .item-list:hover{transform:translateY(-3px);box-shadow:0 12px 24px rgba(30,40,55,0.08);}
#R_roulette_event_wrap .item-list .thumb{width:100%;height:190px;overflow:hidden;border-radius:12px;background:#f8f8f8;}
#R_roulette_event_wrap .item-list .thumb img{display:block;width:100%;height:100%;object-fit:cover;}
#R_roulette_event_wrap .item-list .prd-info{margin-top:13px;}
#R_roulette_event_wrap .item-list .prd-info ul{margin:0;padding:0;list-style:none;}
#R_roulette_event_wrap .item-list .prd-name{min-height:44px;}
#R_roulette_event_wrap .item-list .prd-name a{color:#353b45;font-size:14px;line-height:1.55;word-break:keep-all;}
#R_roulette_event_wrap .item-list .prd-price{margin-top:8px;color:#242e3f;font-size:15px;font-weight:800;}
#R_roulette_event_wrap .item-list .prd-price strike{display:block;margin-bottom:3px;color:#aaaeb4;font-size:12px;font-weight:400;}
#R_roulette_event_wrap .item-list .prd-price .price{color:#bd762c;font-weight:900;}

/* 당첨 팝업 */
.R_pop-roulette-layer,.R_pop-roulette-layer *{box-sizing:border-box;font-family:"Noto Sans",sans-serif;}
.R_pop-roulette-layer{position:fixed;z-index:999;left:0;top:0;width:100%;height:100%;background:rgba(15,22,34,0.76);}
.R_pop-roulette-layer .R_pop-layer{position:absolute;left:50%;top:50%;width:430px;min-height:357px;padding:36px 32px 32px;border:1px solid #eee6d3;border-radius:26px;background:#fff;text-align:center;letter-spacing:-0.03em;transform:translate3d(-50%,-50%,0);box-shadow:0 30px 70px rgba(0,0,0,0.28);}
.R_pop-roulette-layer .btn-close{position:absolute;right:18px;top:18px;}
.R_pop-roulette-layer .R_title{padding:6px 0 22px;color:#1d2b44;}
.R_pop-roulette-layer .R_title span{color:#c08b34;font-size:16px;font-weight:900;letter-spacing:0.12em;}
.R_pop-roulette-layer .R_title p{margin-top:7px;color:#1d2b44;font-size:29px;font-weight:900;letter-spacing:-0.05em;}
.R_pop-roulette-layer .R_pop-layer .img{margin:0 auto 18px;}
.R_pop-roulette-layer .R_pop-benefit{margin:0 24px;padding:15px 12px;border:1px solid #e2c983;border-radius:14px;background:#fff9e9;color:#26344c;font-size:22px;font-weight:900;font-family:"Malgun Gothic",sans-serif;}
.R_pop-roulette-layer .R_txt{padding:24px 0 12px;color:#3d4552;font-size:14px;font-weight:700;font-family:"Malgun Gothic",sans-serif;}
.R_pop-roulette-layer textarea{width:100%;padding:16px;border:1px solid #d9dbdf;border-radius:10px;color:#303743;font-size:13px;font-family:"Malgun Gothic",sans-serif;letter-spacing:-1px;resize:none;outline:none;}
.R_pop-roulette-layer textarea:focus{border-color:#c6a45c;}
.R_pop-roulette-layer textarea::placeholder{color:#a7abb1;}
.R_pop-roulette-layer .btn-write{display:block;width:100%;margin-top:10px;padding:15px;border-radius:10px;background:#1d2b44;color:#fff;font-size:16px;font-weight:800;font-family:"Malgun Gothic",sans-serif;}
/* BASIC css end */

