/* DATACENTER_ANALYSIS_TERM_V1_2_LAYOUTFIX_LINKFIX_20260928 */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
:root{--gold:#f1c45c;--gold2:#ffe39a;--bg:#050708;--panel:#0e141a;--line:rgba(255,255,255,.16);--muted:#d9d3c7}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:#171b1d;color:#fff;font-family:'Pretendard','Noto Sans KR','Apple SD Gothic Neo','Malgun Gothic',sans-serif}
a{text-decoration:none;color:inherit}
.rd-page{width:1122px;margin:0 auto;background:#050708;overflow:hidden;box-shadow:0 0 60px rgba(0,0,0,.5)}
.rd-header{height:75px;display:flex;align-items:center;padding:0 28px;background:linear-gradient(180deg,#111517 0%,#07090b 100%);border-bottom:1px solid rgba(255,255,255,.15)}
.rd-logo{display:flex;align-items:center;gap:12px;width:275px;min-width:275px}
.rd-crown{width:42px;height:34px;position:relative;filter:drop-shadow(0 0 10px rgba(255,193,56,.18))}
.rd-crown:before{content:'';position:absolute;left:0;right:0;bottom:0;height:28px;background:linear-gradient(180deg,#fff0b6,#d89b27 72%,#6e400e);clip-path:polygon(0 100%,7% 28%,24% 62%,42% 0,58% 62%,76% 28%,100% 100%)}
.rd-logo-text b{display:block;color:#f1c25c;font-size:30px;line-height:1;font-weight:800;letter-spacing:-.07em}
.rd-logo-text span{display:block;margin-top:8px;color:#e7dcc6;font-size:10px;letter-spacing:.55em}
.rd-nav{flex:1;display:flex;justify-content:center;gap:46px}
.rd-nav a{position:relative;color:#e9e9e9;font-size:15px;font-weight:700;letter-spacing:-.04em}
.rd-nav a.active{color:var(--gold)}
.rd-nav a.active:after{content:'';position:absolute;left:50%;transform:translateX(-50%);bottom:-22px;width:45px;height:2px;background:var(--gold);box-shadow:0 0 8px rgba(242,196,92,.55)}
.rd-auth{display:flex;gap:10px}
.rd-auth a{width:88px;height:42px;display:flex;align-items:center;justify-content:center;border-radius:6px;font-size:13px;font-weight:800}
.rd-auth .login{border:1px solid rgba(255,255,255,.33);background:linear-gradient(180deg,#15191d,#07090b);color:#fff}
.rd-auth .join{background:linear-gradient(180deg,#ffe6a1 0%,#e0a33c 100%);color:#1c1305;box-shadow:inset 0 1px 0 rgba(255,255,255,.42)}

.rd-hero{height:255px;position:relative;overflow:hidden;background:
linear-gradient(90deg,rgba(5,6,7,.98) 0%,rgba(8,8,8,.82) 31%,rgba(8,8,8,.35) 57%,rgba(8,8,8,.72) 100%),
radial-gradient(circle at 66% 70%,rgba(255,191,64,.45),transparent 27%),
linear-gradient(90deg,#0c0d0d,#202630 48%,#080a0d)}
.rd-hero:before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(90deg,rgba(255,255,255,.04) 0 2px,transparent 2px 74px);opacity:.7}
.rd-hero:after{content:'';position:absolute;right:65px;bottom:0;width:360px;height:210px;background:
radial-gradient(circle at 45% 33%,rgba(255,238,174,.85),rgba(222,158,44,.55) 16%,rgba(65,34,6,.15) 17%,transparent 19%),
radial-gradient(circle at 58% 60%,rgba(255,232,160,.9),rgba(204,136,32,.60) 13%,transparent 14%),
radial-gradient(circle at 36% 65%,rgba(255,232,160,.9),rgba(204,136,32,.60) 13%,transparent 14%),
radial-gradient(circle at 50% 52%,rgba(255,196,82,.28),rgba(255,196,82,.06) 43%,transparent 44%);
border-radius:50%;filter:drop-shadow(0 0 30px rgba(240,177,55,.45));opacity:.9}
.rd-hero-copy{position:absolute;z-index:2;left:58px;top:53px}
.rd-hero-copy .eyebrow{margin:0 0 14px;color:#d6b158;font-size:12px;font-weight:800;letter-spacing:.45em}
.rd-hero-copy h1{margin:0;color:#fff;font-size:48px;line-height:1.1;letter-spacing:-.08em;font-weight:800}
.rd-hero-copy h1 b{color:#ffe39a}
.rd-hero-copy>p:last-child{margin:20px 0 0;color:#fff;font-size:16px;line-height:1.55}
.rd-search{position:absolute;z-index:3;right:58px;top:72px;display:flex;gap:10px}
.rd-search input{width:260px;height:48px;border:1px solid rgba(255,255,255,.20);background:#0e1416;color:#fff;border-radius:7px;padding:0 16px;font-size:14px}
.rd-search button{width:95px;height:48px;border:0;border-radius:7px;background:linear-gradient(180deg,#ffe6a1,#e0a33c);font-weight:900;color:#1c1305}

.rd-latest{margin:28px 32px 0;border:1px solid rgba(242,196,92,.72);border-radius:10px;background:linear-gradient(145deg,rgba(7,12,16,.98),rgba(5,8,10,.99));min-height:205px;display:grid;grid-template-columns:250px 1fr 260px;align-items:center;padding:30px}
.rd-latest h2{margin:0 0 22px;font-size:24px;letter-spacing:-.06em}
.rd-round{font-size:25px;font-weight:800;color:#fff;letter-spacing:-.08em}
.rd-round strong{font-size:58px;color:#fbd064;letter-spacing:-.08em}
.rd-date{margin-top:6px;color:#fff;font-size:14px}
.rd-latest-balls{display:flex;align-items:center;justify-content:center;gap:11px;white-space:nowrap}
.rd-latest-prize{border-left:1px solid rgba(242,196,92,.55);padding-left:28px}
.rd-latest-prize dl{margin:0 0 16px}
.rd-latest-prize dt{font-size:13px;color:#fbd064;font-weight:800}
.rd-latest-prize dd{margin:5px 0 0;font-size:22px;color:#fff;font-weight:900;letter-spacing:-.05em}
.rd-latest-prize dl:not(:first-child) dd{font-size:15px}

.rd-ball{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;min-width:36px;border-radius:50%;font-size:13px;font-weight:800;color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.38);border:1px solid rgba(255,255,255,.18);box-shadow:inset 0 1px 2px rgba(255,255,255,.25),inset 0 -2px 3px rgba(0,0,0,.18),0 2px 4px rgba(0,0,0,.30)}
.rd-ball.y{background:linear-gradient(180deg,#f5c450 0%,#d99a2a 100%)}
.rd-ball.b{background:linear-gradient(180deg,#4aa7ee 0%,#226ec4 100%)}
.rd-ball.r{background:linear-gradient(180deg,#ef6667 0%,#ce3033 100%)}
.rd-ball.g{background:linear-gradient(180deg,#c9ced3 0%,#80878c 100%)}
.rd-ball.gr{background:linear-gradient(180deg,#67cf72 0%,#2fa543 100%)}
.rd-plus{display:inline-flex;align-items:center;justify-content:center;color:#fff;font-size:23px;font-weight:800;line-height:36px}

.rd-content{display:grid;grid-template-columns:1fr 365px;gap:16px;padding:18px 32px 34px}
.rd-list,.rd-side-card{border:1px solid rgba(242,196,92,.55);border-radius:10px;background:linear-gradient(145deg,rgba(7,12,16,.98),rgba(4,8,10,.99))}
.rd-list{padding:22px}
.rd-section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.rd-section-title h2{margin:0;font-size:25px;letter-spacing:-.06em}
.rd-section-title a{color:#fbd064;font-size:13px;font-weight:800}
.rd-table{width:100%;border-collapse:collapse;table-layout:fixed}
.rd-table th{height:42px;text-align:left;color:#fbd064;font-size:12px;border-bottom:1px solid rgba(255,255,255,.15)}
.rd-table td{height:54px;border-bottom:1px solid rgba(255,255,255,.08);font-size:13px;color:#fff;vertical-align:middle}
.rd-no,.rd-money{color:#fbd064!important;font-weight:800}
.rd-mini-balls{display:flex;align-items:center;gap:5px;white-space:nowrap}
.rd-mini-balls .rd-ball,.rd-table td>.rd-ball{width:22px;height:22px;min-width:22px;font-size:10px}
.rd-mini-balls .rd-plus{display:none}
.rd-side{display:flex;flex-direction:column;gap:16px}
.rd-side-card{padding:24px}
.rd-side-card h3{margin:0 0 18px;font-size:24px;letter-spacing:-.06em}
.rd-side-card a{height:54px;border:1px solid rgba(242,196,92,.55);border-radius:7px;margin-top:10px;padding:0 16px;display:flex;align-items:center;color:#fff;font-size:14px;font-weight:800;background:rgba(255,255,255,.02)}
.rd-side-card a:hover{color:#fbd064}

.rd-footer{background:#060808;border-top:1px solid rgba(242,196,92,.22);padding:32px 38px 38px;color:#bcb6aa;font-size:12px;line-height:1.8}
.rd-footer-top{display:flex;justify-content:space-between;align-items:flex-start;gap:30px;margin-bottom:18px}
.rd-footer-brand{color:#f2c45c;font-size:22px;font-weight:800;letter-spacing:-.06em}
.rd-footer-menu{display:flex;gap:20px;color:#e7dcc6;font-weight:700}
.rd-footer-info{border-top:1px solid rgba(255,255,255,.08);padding-top:18px}
.rd-footer-info span{display:inline-block;margin-right:20px}
.rd-copy{margin-top:10px;color:#79746d}


/* DATACENTER_ANALYSIS_TERM_V1_2_LAYOUTFIX_LINKFIX_20260928 */

/* 공 겹침 방지: 테이블 폭에 맞춰 크기/간격 고정 */
.rd-table th:nth-child(3),
.rd-table td:nth-child(3){
    width:230px!important;
}
.rd-mini-balls{
    display:flex!important;
    align-items:center!important;
    gap:4px!important;
    white-space:nowrap!important;
    overflow:visible!important;
    min-width:152px!important;
}
.rd-mini-balls .rd-ball,
.rd-table td>.rd-ball{
    width:24px!important;
    height:24px!important;
    min-width:24px!important;
    flex:0 0 24px!important;
    font-size:10px!important;
    line-height:24px!important;
    margin:0!important;
}
.rd-table td:nth-child(4){
    text-align:left!important;
}
.rd-table td:nth-child(4) .rd-ball{
    margin-left:0!important;
}

/* 사이드 통계 메뉴 실제 내용 */
.rd-stat-box{
    border:1px solid rgba(242,196,92,.45);
    border-radius:8px;
    padding:16px;
    margin-top:12px;
    background:rgba(255,255,255,.025);
}
.rd-stat-box strong{
    display:block;
    color:#fff;
    font-size:15px;
    letter-spacing:-.04em;
    margin-bottom:6px;
}
.rd-stat-box p{
    margin:0 0 12px;
    color:#d9d3c7;
    font-size:12px;
    line-height:1.45;
}
.rd-side-balls{
    display:flex;
    align-items:center;
    gap:6px;
    flex-wrap:wrap;
}
.rd-side-balls .rd-ball{
    width:27px!important;
    height:27px!important;
    min-width:27px!important;
    font-size:11px!important;
}
.rd-empty{
    color:#f1c45c;
    font-size:13px;
    font-weight:800;
}
.rd-mini-link{
    height:34px!important;
    margin-top:0!important;
    justify-content:center!important;
    color:#fbd064!important;
}


/* DATACENTER_ANALYSIS_TERM_V1_2_LAYOUTFIX_LINKFIX_20260928 */
.an-hero{
    height:255px;
    position:relative;
    overflow:hidden;
    background:
        linear-gradient(90deg,rgba(5,6,7,.98) 0%,rgba(8,8,8,.82) 31%,rgba(8,8,8,.35) 57%,rgba(8,8,8,.72) 100%),
        radial-gradient(circle at 66% 70%,rgba(255,191,64,.45),transparent 27%),
        linear-gradient(90deg,#0c0d0d,#202630 48%,#080a0d);
}
.an-hero:before{
    content:'';
    position:absolute;
    inset:0;
    background:repeating-linear-gradient(90deg,rgba(255,255,255,.04) 0 2px,transparent 2px 74px);
    opacity:.7;
}
.an-hero-copy{
    position:absolute;
    z-index:2;
    left:58px;
    top:53px;
}
.an-hero-copy .eyebrow{
    margin:0 0 14px;
    color:#d6b158;
    font-size:12px;
    font-weight:800;
    letter-spacing:.45em;
}
.an-hero-copy h1{
    margin:0;
    color:#fff;
    font-size:48px;
    line-height:1.1;
    letter-spacing:-.08em;
    font-weight:800;
}
.an-hero-copy h1 b{color:#ffe39a}
.an-hero-copy>p:last-child{
    margin:20px 0 0;
    color:#fff;
    font-size:16px;
    line-height:1.55;
}
.an-period{
    position:absolute;
    right:70px;
    top:70px;
    width:135px;
    height:135px;
    border-radius:50%;
    border:1px solid rgba(242,196,92,.65);
    color:#fbd064;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    font-weight:900;
    box-shadow:0 0 30px rgba(242,196,92,.2);
}
.an-period strong{
    display:block;
    font-size:46px;
    line-height:1;
}
.an-period span{
    display:block;
    color:#fff;
    font-size:12px;
    margin-top:8px;
}
.an-summary{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    gap:14px;
    padding:28px 32px 0;
}
.an-card{
    border:1px solid rgba(242,196,92,.58);
    border-radius:10px;
    background:linear-gradient(145deg,rgba(7,12,16,.98),rgba(4,8,10,.99));
    padding:24px;
    min-height:145px;
}
.an-card h2{
    margin:0 0 8px;
    font-size:23px;
    letter-spacing:-.06em;
}
.an-card p{
    margin:0 0 18px;
    color:#d9d3c7;
    font-size:13px;
}
.an-card .an-balls{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
}
.an-grid{
    display:grid;
    grid-template-columns:1.15fr .85fr;
    gap:16px;
    padding:18px 32px 34px;
}
.an-panel{
    border:1px solid rgba(242,196,92,.55);
    border-radius:10px;
    background:linear-gradient(145deg,rgba(7,12,16,.98),rgba(4,8,10,.99));
    padding:24px;
}
.an-panel h2{
    margin:0 0 20px;
    font-size:25px;
    letter-spacing:-.06em;
}
.an-bars{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:18px;
    height:250px;
    align-items:end;
}
.an-bar-item{
    text-align:center;
}
.an-bar{
    width:48px;
    height:var(--h,80px);
    margin:0 auto 10px;
    border-radius:7px 7px 0 0;
    background:linear-gradient(180deg,#ffe89d,#d69b31);
    box-shadow:0 0 18px rgba(242,196,92,.25);
}
.an-bar-num{
    font-size:13px;
    color:#fff;
    margin-bottom:4px;
}
.an-bar-count{
    color:#fbd064;
    font-weight:900;
    font-size:13px;
}
.an-ratio-list{
    display:flex;
    flex-direction:column;
    gap:14px;
}
.an-ratio-row{
    display:grid;
    grid-template-columns:88px 1fr 48px;
    gap:12px;
    align-items:center;
    font-size:13px;
}
.an-ratio-track{
    height:10px;
    border-radius:999px;
    background:rgba(255,255,255,.10);
    overflow:hidden;
}
.an-ratio-fill{
    height:100%;
    width:var(--w,0%);
    background:linear-gradient(90deg,#f3c65d,#ffe39a);
    border-radius:999px;
}
.an-ratio-percent{
    color:#fbd064;
    font-weight:900;
    text-align:right;
}
.an-pattern-list{
    display:flex;
    flex-direction:column;
    gap:14px;
}
.an-pattern-item{
    border-top:1px solid rgba(255,255,255,.08);
    padding-top:14px;
}
.an-pattern-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:9px;
}
.an-pattern-round{
    color:#fbd064;
    font-weight:900;
    font-size:13px;
}
.an-pattern-meta{
    color:#d9d3c7;
    font-size:12px;
}
.an-pattern-balls{
    display:flex;
    align-items:center;
    gap:6px;
    flex-wrap:wrap;
}
.term-wrap{
    padding:28px 32px 34px;
}
.term-panel{
    border:1px solid rgba(242,196,92,.55);
    border-radius:10px;
    background:linear-gradient(145deg,rgba(7,12,16,.98),rgba(4,8,10,.99));
    padding:24px;
}
.term-panel h2{
    margin:0 0 8px;
    font-size:27px;
    letter-spacing:-.06em;
}
.term-panel>p{
    margin:0 0 22px;
    color:#d9d3c7;
    font-size:14px;
}
.term-number-grid{
    display:grid;
    grid-template-columns:repeat(9,1fr);
    gap:12px;
}
.term-num-card{
    min-height:84px;
    border:1px solid rgba(255,255,255,.12);
    border-radius:8px;
    background:rgba(255,255,255,.025);
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:8px;
}
.term-num-card strong{
    color:#fff;
    font-size:13px;
}
.term-num-card span{
    color:#fbd064;
    font-size:12px;
    font-weight:800;
}
.term-bottom{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
    margin-top:16px;
}
@media(max-width:900px){
    .rd-page{width:100%;min-width:1122px}
}


/* DATACENTER_ANALYSIS_TERM_V1_2_LAYOUTFIX_LINKFIX_20260928
   분석자료 페이지 보정:
   - 번호별 출현 빈도 하단 횟수 텍스트가 영역 밖으로 나가지 않게 조정
   - 최근 회차 당첨번호 카드의 공/보너스가 한 줄로 유지되게 조정
*/

/* 번호별 출현 빈도 */
.an-bars{
    height:245px!important;
    align-items:end!important;
    padding-bottom:14px!important;
}
.an-bar-item{
    min-width:0!important;
    overflow:visible!important;
}
.an-bar{
    width:44px!important;
    max-height:166px!important;
    margin-bottom:8px!important;
}
.an-bar-num{
    margin-bottom:6px!important;
}
.an-bar-num .rd-ball{
    width:31px!important;
    height:31px!important;
    min-width:31px!important;
    font-size:12px!important;
}
.an-bar-count{
    display:block!important;
    height:18px!important;
    line-height:18px!important;
    color:#fbd064!important;
    font-size:12px!important;
    font-weight:900!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-align:center!important;
}

/* 상단 최근 회차 당첨번호 카드 */
.an-summary{
    grid-template-columns:1fr 1fr 1fr!important;
}
.an-card{
    overflow:hidden!important;
}
.an-card:nth-child(3){
    padding:24px 20px!important;
}
.an-card:nth-child(3) p{
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
}
.an-card:nth-child(3) .an-balls{
    flex-wrap:nowrap!important;
    gap:6px!important;
    overflow:visible!important;
    white-space:nowrap!important;
}
.an-card:nth-child(3) .rd-ball{
    width:31px!important;
    height:31px!important;
    min-width:31px!important;
    font-size:12px!important;
}
.an-card:nth-child(3) .rd-plus{
    width:12px!important;
    min-width:12px!important;
    font-size:20px!important;
    line-height:31px!important;
}

/* 최근 출현 패턴도 한 줄 유지 */
.an-pattern-balls{
    flex-wrap:nowrap!important;
    gap:6px!important;
    overflow:visible!important;
}
.an-pattern-balls .rd-ball{
    width:31px!important;
    height:31px!important;
    min-width:31px!important;
    font-size:12px!important;
}
.an-pattern-balls .rd-plus{
    width:12px!important;
    min-width:12px!important;
    font-size:20px!important;
}


/* DATACENTER_AUTH_SECURITY_FOOTER_V1_20260928 */

.rd-auth .logout{
    width:88px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:6px;
    font-size:13px;
    font-weight:800;
    border:1px solid rgba(255,255,255,.33);
    background:linear-gradient(180deg,#15191d,#07090b);
    color:#fff;
}
