@charset "UTF-8";
/* Reset CSS  */
/* 글꼴(Cinzel · Noto Sans KR)은 각 HTML <head>에서 불러옴 (글씨체 깜빡임 방지) */

:root{
    --color-main : #F8B700;    
    --color-point1 : #ffcf3a;  
    --color-point2 : #2F5BB7;
    --color-sub1 : #0A0D18;    
    --color-sub2 : #080B14;   
    --color-sub3 : #05070E;   
    --color-font1 : #F3EEE2;  
    --color-font2 : #BFB7AA;   
    --color-font3 : #0A0D18;  
    --color-alliance : #1D3D8C;
    --color-horde : #8C1D1D; 
    --color-line-gold : rgba(248,183,0,.3);
    --color-bag : #15110B;
    --color-bag-line : #4A3A22;
    --grade-legendary : #FF8000;
    --grade-epic : #A335EE;
    --grade-rare : #0070DD;
    --grade-uncommon : #1EFF00;

    --font-en : 'Cinzel', 'Noto Sans KR', serif;
    --font-ko : 'Noto Sans KR', sans-serif;


    --font-140-size : 8.75rem;
    --font-96-size : 6rem;
    /* 사이트 전체 치수 (모든 페이지가 같은 값을 쓴다) */
    --gutter : 64px;                                             /* 화면 좌우 여백 */
    --content : 1200px;                                          /* 콘텐츠 최대 폭 */
    --side : max(var(--gutter), calc((100vw - var(--content)) / 2));   /* 콘텐츠 좌우 여백 (최대 폭 안으로) */
    --sec-pad : 84px;                                             /* 섹션 위아래 여백 */
    --title-xl : clamp(2.25rem, 1.4rem + 3vw, 4.25rem);          /* 섹션 영문 제목 56~68 */
    --title-lg : clamp(2.25rem, 1.4rem + 3vw, 4.25rem);
    --title-album : clamp(2rem, 1.2rem + 3vw, 4rem);             /* 긴 영문 제목 60~64 */
    --title-md : clamp(1.75rem, 1rem + 2.6vw, 3.5rem);
    --title-ko : clamp(1.375rem, 1.1rem + .6vw, 1.75rem);        /* 한국어 대표 제목 24~28 */
    --quote : clamp(1.375rem, 1rem + 1.2vw, 2rem);               /* 인용문 30~32 */
    --subhead : 1.0625rem;                                       /* 소제목 */
    --copy-size : 1rem;                                          /* 본문 */
    --copy-lh : 1.7;
    --btn-size : 0.9375rem;                                      /* 버튼·종족명 */
    --meta-size : 0.8125rem;                                     /* 메타 */
    --sp-eyebrow : 14px;                                         /* 라벨 → 제목 */
    --sp-title : 20px;                                           /* 제목 → 설명 */
    --sp-meta : 12px;                                            /* 설명 → 메타 */
    --sp-content : 28px;                                         /* 설명 → 버튼·콘텐츠 */
    --sp-s : 16px;                                               /* 한 묶음 안 간격 */
    --sp-m : 24px;
    --sp-l : 32px;
    --label-size : 0.875rem;                                     /* 섹션 라벨 */
    --label-ls : 2.2px;
    --label-color : #FFC83D;
    --hh-size : 96px;                                            /* 헤더 높이 */
    --font-60-size : 3.75rem; 
    --font-50-size : 3.13rem; 
    --font-40-size : 2.5rem;  
    --font-32-size : 2rem;    
    --font-20-size : 1.25rem;
    --font-18-size : 1.13rem; 
    --font-16-size : 1rem;    
    --font-14-size : 0.88rem; 
    --font-12-size : 0.75rem;

    --box-shadow1 : 1px 1px 10px 1px rgba(0,0,0,.3);
    --faction-bg : url(../images/main/stormwind_01.jpg);
    --faction-dim : rgba(10,13,24,.88);
    --color-shadow : rgba(29,61,140,.5);
    --color-point-dim : rgba(29,61,140,.3);

    --ui-base : #0B1018;
    --ui-base2 : #151B24;
    --ui-text : #E5D9BE;
    --metal : #B58A45;
    --metal-light : #F0D69A;
    --metal-dark : #514024;
    --btn-inner : #4B1713;
    --font-serif-ko : 'Noto Serif KR', serif;
    
    
}
body.horde{
    --color-sub1 : #170A0A;
    --color-sub2 : #110707;
    --color-sub3 : #0B0404;
    --color-font3 : #170A0A;
    --color-point2 : #8C1D1D;
    --faction-bg : url(../images/main/orgrimmar_01.jpg);
    --faction-dim : rgba(23,10,10,.75);
    --color-shadow : rgba(140,29,29,.45);
    --color-point-dim : rgba(140,29,29,.3);
    --color-main : #C8372D;
    --color-point1 : #E0574B;
    --color-line-gold : rgba(200,55,45,.3);
}


* { margin:0; padding:0; border:0; outline:0; vertical-align:top;
-webkit-text-size-adjust:none; box-sizing: border-box;}

html{font-size: 16px;}
body{word-break: keep-all;}                                          /* 한글은 낱말 단위로 줄바꿈 */
body {font-family:var(--font-ko); color:var(--color-font1); background:var(--color-sub1);
   cursor: url(../images/common/ui/cursor_hand.png) 0 0, auto;}   /* 와우 장갑 커서 (손끝 = 0 0) */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display:block; }
ul, ol, dl { list-style:none; }
img, video {border:0; vertical-align:top; }
a, a:link {color:var(--color-font1);text-decoration:none; display: block;
   cursor: url(../images/common/ui/cursor_sword.png) 0 0, pointer;}   /* 링크 위 = 칼 커서 (칼끝 = 0 0) */
a:visited { color:var(--color-font1); }
a:hover, a:active {color:var(--color-font1);text-decoration:none;}

table { border-collapse:collapse; border-spacing:0; }
input, select { vertical-align:middle; }
label { cursor: url(../images/common/ui/cursor_sword.png) 0 0, pointer; }
.blind,legend,hr,caption { display:block; overflow:hidden; position:absolute; top:0; left:-1000em; }
i,em,address { font-style:normal; font-weight:normal; }
p,li,dd{ line-height:1.5em}
.hidden, #skipNav{display: block; position: absolute; left:-1000%; top:0; width: 1px; height: 1px;
    overflow: hidden; color: #fff;}

/* 헤더 공통 영역 */
#wrap{display: flow-root; width:100%; overflow: hidden; overflow: clip}   /* clip : 넘침은 자르되 sticky(캐릭터 첫 화면)는 살린다. flow-root : 본문 위 여백이 #wrap 밖으로 새지 않게 */
#headerArea{position:fixed; z-index: 100;
    left:0; top: 0;
    width: 100%; height: var(--hh-size); border-bottom: 2px solid transparent;} /* 처음부터 테두리 자리 잡아두기 (스크롤 위치 계산 맞추기) */	
#headerArea	.headerInner{margin: 0 max(var(--gutter), calc((100vw - 1440px) / 2));
               display: flex; justify-content: space-between; align-items: center; height: 100%;}
#headerArea h1{margin: 10px 0;}
#headerArea h1 img{width: 86px; height: auto;}
#headerArea h1 a{color: #fff; text-decoration: none}	
#headerArea #gnb{position: absolute; left: 50%; transform: translateX(-50%);}
#headerArea #gnb ul{display: flex; gap: 2.4vw;}
#headerArea #gnb li h3{padding:10px 0;}   /* 위아래 여백은 h3에 (칼 커서가 글자 위에서만 나오게) */
#headerArea #gnb li a{color:var(--color-font1); font-weight:700; font-family: var(--font-en);
   font-size:clamp(1rem, 1.25vw, 1.125rem); display:inline-block; transition: all .5s; letter-spacing: 0.1em;}
#headerArea #gnb ul li a:hover{ color:var(--color-main)}
#headerArea #gnb li{position: relative;}
#headerArea #gnb li.on a{color: var(--color-main);}
#headerArea #gnb li.on::after{content: ''; position: absolute; left: 50%; bottom: 0; width: 7px; height: 7px; margin-left: -4px; transform: rotate(45deg);
	background: linear-gradient(135deg, #fff1b8, #d4a94e 55%, #7a5a26); box-shadow: 0 0 6px rgba(255,200,60,.8);}   /* 지금 페이지 : 작은 금색 마름모 */
#headerArea .header_options{display: flex; align-items: center; gap: 16px;}
.btn_buy, .btn_buy:link, .btn_buy:visited{padding: 10px 22px; border: 1px solid #c9a24a; border-radius: 3px; background: linear-gradient(180deg, #2f62c8 0%, #183f92 55%, #0c2459 100%);
	box-shadow: 0 0 0 1px #000, inset 0 1px 0 rgba(150,190,255,.45), inset 0 -4px 8px rgba(0,0,0,.4); font-size: var(--font-14-size); font-weight: 700; color: #ffd200; text-shadow: 1px 1px 0 #000; transition: filter .2s, box-shadow .2s;}
.btn_buy:hover, .btn_buy:focus-visible{filter: brightness(1.2); box-shadow: 0 0 0 1px #000, inset 0 1px 0 rgba(170,205,255,.6), 0 0 12px rgba(255,190,60,.55);}
body.horde .btn_buy, body.horde .btn_buy:link, body.horde .btn_buy:visited{background: linear-gradient(180deg, #a8241a 0%, #6e0f09 55%, #420604 100%); box-shadow: 0 0 0 1px #000, inset 0 1px 0 rgba(255,170,140,.45), inset 0 -4px 8px rgba(0,0,0,.4);}   /* 얼라이언스 = 파란 버튼, 호드 = 붉은 버튼 */
body.horde .btn_buy:hover, body.horde .btn_buy:focus-visible{box-shadow: 0 0 0 1px #000, inset 0 1px 0 rgba(255,170,140,.6), 0 0 12px rgba(255,190,60,.55);}
.btn_frame, .btn_frame:link, .btn_frame:visited{position: relative; z-index: 0; display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: 238px; height: 54px; padding-top: 1px;
	background: url(../images/common/deco/btn_frame.webp) center / 100% 100% no-repeat;
	font-size: var(--font-16-size); font-weight: 500; letter-spacing: 0.06em; color: #F3E6C4; text-shadow: 0 1px 2px rgba(0,0,0,.7);}
.btn_frame::before{content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none;
	background: url(../images/common/deco/btn_frame_hover.webp) center / 100% 100% no-repeat; opacity: 0; transition: opacity .25s;}
.btn_frame::after{content: ''; width: 8px; height: 12px; background: url(../images/common/deco/arrow.svg) center / contain no-repeat; transition: transform .25s;}
.btn_frame:hover::before, .btn_frame:focus-visible::before{opacity: 1;}
.btn_frame:hover::after, .btn_frame:focus-visible::after{transform: translateX(3px);}
.btn_frame:focus-visible{outline: 1px solid var(--metal-light); outline-offset: 4px;}
.btn_frame:active{filter: brightness(.92);}
.btn_line, .btn_line:link, .btn_line:visited{padding: 12px 24px; border: 1px solid rgba(243,238,226,.5); font-size: var(--font-14-size); font-weight: 700; transition: all .3s;}
.btn_line:hover{border-color: var(--color-main); color: var(--color-main);}
#headerArea .faction_toggle{display: flex; align-items: center; position: relative; justify-content: space-between; width: 120px; height: 44px; padding: 0 4px; border: 1px solid #c9a24a; border-radius: 22px;
	background: linear-gradient(180deg, #1d160d, #0b0805); box-shadow: 0 0 0 1px #000, inset 0 1px 0 rgba(255,220,150,.2), inset 0 0 8px #000;}
#headerArea .faction_thumb{position: absolute; left: 4px; top: 4px; width: 70px; height: 34px; border-radius: 17px; background: linear-gradient(90deg, var(--color-alliance), transparent); transition: all .3s;}
#headerArea .faction_icon{position: relative; width: 34px; height: 34px; border-radius: 50%; border: 2px solid #555; filter: grayscale(1) brightness(.6); transition: all .3s;}
#headerArea .faction_icon.on{border-color: #e8c77a; filter: none; box-shadow: 0 0 6px rgba(255,200,80,.5);}
body.horde #headerArea .faction_thumb{left: 44px; background: linear-gradient(270deg, var(--color-horde), transparent);}

/* 햄버거메뉴 */
#headerArea .menu_ham {
    position: absolute; right: 10px;top: 12px;
    height: 50px;
    border-radius: 5px;
    z-index:50 ; display: none;
 }
 #headerArea .menu_ham span {
    width: 30px;
    height: 4px;
    background: #fff;
    position: relative;
    text-indent: -9999px;
    display: block;
    margin: 26px 15px;
    border-radius: 5px;
    transition: all .3s;
    left: 0; overflow: visible; 
 }
 #headerArea .menu_ham span::before {
    content: '';
    display: block;
    width: 30px;
    height: 4px;
    background: #fff;
    position: absolute;
    top: -7px;
    left: 0;
    border-radius: 5px;
    transition: all .3s;
 }
 #headerArea .menu_ham span::after {
    content: '';
    display: block;
    width: 30px;
    height: 4px;
    background: #fff;
    position: absolute;
    top: 7px;
    left: 0;
    border-radius: 5px;
    transition: all .3s;
 }
 
 /* 메뉴가 열렸을때 */
 #headerArea.mn_open .menu_ham span, 
 #headerArea.mn_open .menu_ham span::before, 
 #headerArea.mn_open .menu_ham span::after {
    background: #fff;
 }

 #headerArea.mn_open .menu_ham span {
    background: rgba(0,0,0,0);
 }
 #headerArea.mn_open .menu_ham span::before {
    transform: rotate(45deg);
    top: 0;
 }
 #headerArea.mn_open .menu_ham span::after {
    transform: rotate(-45deg);
    top: 0;
 }


/* 와우 퀘스트 창 틀과 빨간 버튼 (메인 퀘스트, 확장팩 시나리오, 전문화 선택 공용) */
.qf_frame, .qf_frame i, .qf_groove, .qf_groove i{position: absolute; display: block; pointer-events: none;}
.qf_frame{left: 0; top: 0; width: 100%; height: 100%;}
.qf_bg{left: calc(2 * var(--s)); right: calc(2 * var(--s)); top: calc(21 * var(--s)); bottom: calc(2 * var(--s)); background: url(../images/common/ui/quest/qf_rock.webp) 0 0 / calc(256 * var(--s)) repeat;}
.qf_title_bg{left: calc(2 * var(--s)); right: calc(4 * var(--s)); top: calc(3 * var(--s)); height: calc(17 * var(--s)); background: url(../images/common/ui/quest/qf_title_bg.png) 0 0 / auto 100% repeat-x;}
.qf_streaks{left: 0; right: calc(2 * var(--s)); top: calc(21 * var(--s)); height: calc(37 * var(--s)); background: url(../images/common/ui/quest/qf_streaks.png) 0 0 / auto 100% repeat-x;}
.qf_top{left: calc(64 * var(--s)); right: calc(11 * var(--s)); top: calc(-1 * var(--s)); height: calc(28 * var(--s)); background: url(../images/common/ui/quest/qf_top.png) 0 0 / auto 100% repeat-x;}
.qf_tr{right: 0; top: calc(-1 * var(--s)); width: calc(11 * var(--s)); height: calc(11 * var(--s)); background: url(../images/common/ui/quest/qf_corner_tr_simple.png) 0 0 / 100% 100%;}
.qf_left{left: calc(-6 * var(--s)); top: calc(67 * var(--s)); bottom: calc(9 * var(--s)); width: calc(16 * var(--s)); background: url(../images/common/ui/quest/qf_left.png) 0 0 / 100% auto repeat-y;}
.qf_right{right: calc(-1 * var(--s)); top: calc(10 * var(--s)); bottom: calc(6 * var(--s)); width: calc(10 * var(--s)); background: url(../images/common/ui/quest/qf_right.png) 0 0 / 100% auto repeat-y;}
.qf_bl{left: calc(-6 * var(--s)); bottom: calc(-5 * var(--s)); width: calc(14 * var(--s)); height: calc(14 * var(--s)); background: url(../images/common/ui/quest/qf_corner_bl.png) 0 0 / 100% 100%;}
.qf_br{right: 0; bottom: calc(-5 * var(--s)); width: calc(11 * var(--s)); height: calc(11 * var(--s)); background: url(../images/common/ui/quest/qf_corner_br.png) 0 0 / 100% 100%;}
.qf_bottom{left: calc(8 * var(--s)); right: calc(11 * var(--s)); bottom: calc(-5 * var(--s)); height: calc(9 * var(--s)); background: url(../images/common/ui/quest/qf_bottom.png) 0 0 / auto 100% repeat-x;}
.qf_btn_l{left: calc(-2 * var(--s)); bottom: calc(-1 * var(--s)); width: calc(12 * var(--s)); height: calc(32 * var(--s)); background: url(../images/common/ui/quest/qf_btn_corner_l.png) 0 0 / 100% 100%;}
.qf_btn_r{right: 0; bottom: calc(-1 * var(--s)); width: calc(12 * var(--s)); height: calc(32 * var(--s)); background: url(../images/common/ui/quest/qf_btn_corner_r.png) 0 0 / 100% 100%;}
.qf_btn_bot{left: calc(10 * var(--s)); right: calc(12 * var(--s)); bottom: calc(2 * var(--s)); height: calc(3 * var(--s)); background: url(../images/common/ui/quest/qf_btn_bot.png) 0 0 / auto 100% repeat-x;}
.qf_portrait{position: absolute; left: calc(-14 * var(--s)); top: calc(-11 * var(--s)); z-index: 3; width: calc(78 * var(--s)); height: calc(78 * var(--s)); background: url(../images/common/ui/quest/qf_portrait.png) 0 0 / 100% 100%;}
.qf_portrait::before{content: ''; position: absolute; left: calc(8 * var(--s)); top: calc(3 * var(--s)); z-index: -1; width: calc(61 * var(--s)); height: calc(61 * var(--s)); border-radius: 50%; background: radial-gradient(circle, #2a2118 0%, #0b0907 75%);}
.qf_groove{left: 0; top: 0; width: 100%; height: 100%;}
.qf_g_t{left: calc(6 * var(--s)); right: calc(6 * var(--s)); top: 0; height: calc(3 * var(--s)); background: url(../images/common/ui/quest/qf_inner_t.png) 0 0 / auto 100% repeat-x;}
.qf_g_b{left: calc(6 * var(--s)); right: calc(6 * var(--s)); bottom: calc(-1 * var(--s)); height: calc(3 * var(--s)); background: url(../images/common/ui/quest/qf_inner_b.png) 0 0 / auto 100% repeat-x;}
.qf_g_l{left: 0; top: calc(6 * var(--s)); bottom: calc(5 * var(--s)); width: calc(3 * var(--s)); background: url(../images/common/ui/quest/qf_inner_l.png) 0 0 / 100% auto repeat-y;}
.qf_g_r{right: 0; top: calc(6 * var(--s)); bottom: calc(5 * var(--s)); width: calc(3 * var(--s)); background: url(../images/common/ui/quest/qf_inner_r.png) 0 0 / 100% auto repeat-y;}
.qf_g_tl, .qf_g_tr, .qf_g_bl, .qf_g_br{width: calc(6 * var(--s)); height: calc(6 * var(--s)); background: 0 0 / 100% 100% no-repeat;}
.qf_g_tl{left: 0; top: 0; background-image: url(../images/common/ui/quest/qf_inner_tl.png);}
.qf_g_tr{right: 0; top: 0; background-image: url(../images/common/ui/quest/qf_inner_tr.png);}
.qf_g_bl{left: 0; bottom: calc(-1 * var(--s)); background-image: url(../images/common/ui/quest/qf_inner_bl.png);}
.qf_g_br{right: 0; bottom: calc(-1 * var(--s)); background-image: url(../images/common/ui/quest/qf_inner_br.png);}
.qo_btn{position:relative; min-width:120px; height:28px; padding:0 4px; border-style:solid; border-width:0 16px; border-image:url(../images/common/ui/quest/qf_btn_up.png) 0 12 fill / 0 16px stretch;
	font-family:inherit; font-size:var(--font-14-size); font-weight:700; color:#F2C94C; text-shadow:0 1px 0 #000; cursor: url(../images/common/ui/cursor_sword.png) 0 0, pointer; background:none;}
.qo_btn::before{content:''; position:absolute; left:-16px; right:-16px; top:-8px; bottom:-8px;}
.qo_btn::after{content:''; position:absolute; left:-16px; right:-16px; top:0; bottom:0; opacity:0; transition:opacity .15s; background:url(../images/common/ui/quest/qf_btn_hl.png) 0 0 / 100% 100%;}
.qo_btn:hover::after, .qo_btn:focus-visible::after{opacity:.55;}
.qo_btn:active{border-image-source:url(../images/common/ui/quest/qf_btn_down.png); transform:translateY(1px);}
.qo_btn:focus-visible{outline:1px solid #E8C35A; outline-offset:2px;}

/* 와우 가방 창 (메인 갤러리와 갤러리 페이지 공용) */
/* 아이템 툴팁 (인덱스 갤러리와 같은 모양) */
.item_tooltip{display:none; position:absolute; left:60%; top:60%; z-index:10; width:220px; padding:12px 14px;
	background:rgba(8,11,20,.95); border:1px solid rgba(243,238,226,.4); border-radius:4px; text-align:left; pointer-events:none;}
.item_name{display:block; font-size:var(--font-16-size);}
.legendary .item_name{color:var(--grade-legendary);}
.epic .item_name{color:var(--grade-epic);}
.rare .item_name{color:var(--grade-rare);}
.uncommon .item_name{color:var(--grade-uncommon);}
.item_bind{margin-top:4px; font-size:var(--font-12-size);}
.item_use{font-size:var(--font-12-size); color:var(--grade-uncommon);}

/* 가방 창 */
.bag_win{position:relative; width:480px; background:rgba(14,14,16,.95);
	border:2px solid #4a463f; border-radius:6px; box-shadow:0 0 0 1px #000, inset 0 0 0 1px #24221f, 0 14px 34px rgba(0,0,0,.7);}
.bag_badge{position:absolute; left:-14px; top:-16px; z-index:3; width:52px; height:52px; overflow:hidden;
	border:3px solid #c9a24a; border-radius:50%; box-shadow:0 0 0 2px #000, 0 4px 10px rgba(0,0,0,.8);}
.bag_badge img{width:100%; height:100%; object-fit:cover;}
.bag_top{position:relative; height:30px; background:linear-gradient(180deg, #2c2924, #16140f); border-bottom:1px solid #000; border-radius:4px 4px 0 0;}
.bag_title{font-family:var(--font-en); font-size:0.875rem; font-weight:700; line-height:30px; letter-spacing:.05em; text-align:center; color:#ffd100;}
.bag_search{display:flex; align-items:center; gap:8px; padding:10px 12px 4px 46px;}
.search_box{flex:1; height:26px; padding-left:12px; border:1px solid #4a463f; border-radius:13px; background:#08080a;
	font-size:0.8125rem; line-height:24px; color:#6d675c;}
.search_box{font-family:inherit; color:#e8e2d6; outline:0;}
.search_box::placeholder{color:#6d675c;}
.search_box:focus{border-color:#c9a24a; box-shadow:0 0 6px rgba(201,162,74,.5);}
.search_box::-webkit-search-cancel-button{display:none;}
.sort_btn{position:relative; width:26px; height:26px; padding:0; border:2px solid #c9a24a; border-radius:4px; background:linear-gradient(180deg, #5a4520, #2a200e); cursor: url(../images/common/ui/cursor_sword.png) 0 0, pointer;}
.sort_btn::before{content:'\2715'; position:absolute; inset:0; font-size:0.6875rem; line-height:22px; text-align:center; color:#ffd100;}   /* 검색 지우기 */
.sort_btn:hover{filter:brightness(1.25);}

/* 가방 칸 */
.bag_list{display:grid; grid-template-columns:repeat(6, 1fr); gap:5px; padding:8px 10px;}
.bag_list li{position:relative; aspect-ratio:1 / 1; border-radius:4px; background:linear-gradient(145deg, #1b1c1f, #0b0b0c);
	box-shadow:inset 0 0 0 1px #34363b, inset 0 2px 6px rgba(0,0,0,.9);}
.bag_list li a{height:100%; padding:3px;}
.bag_list li img{width:100%; height:100%; object-fit:cover; border-radius:3px; transition:filter .3s;}
.bag_list li a:hover img{filter:brightness(1.25);}
.bag_list li.legendary{box-shadow:inset 0 0 0 2px var(--grade-legendary), 0 0 6px var(--grade-legendary);}
.bag_list li.epic{box-shadow:inset 0 0 0 2px var(--grade-epic), 0 0 6px var(--grade-epic);}
.bag_list li.rare{box-shadow:inset 0 0 0 2px var(--grade-rare), 0 0 6px var(--grade-rare);}
.bag_list li.uncommon{box-shadow:inset 0 0 0 2px var(--grade-uncommon), 0 0 6px var(--grade-uncommon);}
.bag_list li.on a{border-radius:4px; box-shadow:inset 0 0 0 2px #fff;}          /* 고른 칸 = 흰 테두리 */
.cnt{position:absolute; right:6px; bottom:3px; font-size:0.875rem; font-weight:700;
	text-shadow:0 0 3px #000, 1px 1px 0 #000, -1px -1px 0 #000;}
.bag_list .item_tooltip{left:auto; right:80%;}               /* 가방이 오른쪽에 있어서 툴팁은 왼쪽으로 */
.bag_list li a:hover .item_tooltip{display:block;}
.bag_list li:hover{z-index:20;}
.bag_list li.dim a{filter:grayscale(1) brightness(.35);}                /* 검색과 맞지 않는 칸 */
.bag_list li.dim .item_tooltip{display:none !important;}

/* 금·은·동화 */
.bag_money{margin:4px 10px 10px; padding:5px 10px; border:1px solid #2e2a24; border-radius:3px; background:#0a0a0b;
	text-align:right; font-size:0.8125rem; font-weight:700;}
.bag_money span{display:inline-block; width:10px; height:10px; margin:0 8px 0 3px; border-radius:50%; vertical-align:middle;}
.bag_money .gold{background:#ffd100;}
.bag_money .silver{background:#c0c0c0;}
.bag_money .copper{margin-right:0; background:#b87333;}

/* 푸터 공통 영역 */
#footerArea{position: relative; padding: 60px 0 116px; background: var(--color-sub3); border-top: 1px solid var(--color-line-gold);}
#footerArea .footer_inner{width: 90%; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;}
#footerArea .footer_logo{justify-self: start;}
#footerArea .footer_logo{width: 108px; height: auto;}
/* SNS = 마법사 차원문 : 게임 소용돌이 입자 두 겹이 서로 반대로 돌고, 아래에 룬 고리 */
#footerArea .footer_sns{display: flex; flex-wrap: wrap; justify-content: center; gap: 26px 30px; padding: 6px 4px 14px;}
#footerArea .footer_sns a{position: relative; display: flex; justify-content: center; align-items: center; width: 74px; height: 74px; font-size: 1.5rem; color: #fff;
	text-shadow: 0 0 6px var(--pg1), 0 0 12px var(--pg2); transition: transform .35s;}
#footerArea .footer_sns i{position: relative; z-index: 3;}
#footerArea .footer_sns a::before{content: ''; position: absolute; left: -14%; bottom: -16%; z-index: 0; width: 128%; height: 30%; border-radius: 50%;
	border: 2px solid var(--sw2); box-shadow: 0 0 10px var(--pg1), inset 0 0 8px var(--pg2);
	background: repeating-conic-gradient(var(--pg1) 0 4deg, transparent 4deg 18deg); opacity: .75;}       /* 바닥 룬 고리 */
#footerArea .footer_sns a::after{content: ''; position: absolute; left: -12%; top: -12%; z-index: 2; width: 124%; height: 124%; pointer-events: none;
	background: radial-gradient(circle at 18% 30%, var(--sp1) 0 1.5px, transparent 2.5px), radial-gradient(circle at 84% 22%, var(--sp2) 0 1.5px, transparent 2.5px),
		radial-gradient(circle at 90% 70%, var(--sp3) 0 2px, transparent 3px), radial-gradient(circle at 12% 78%, var(--sp4) 0 1.5px, transparent 2.5px),
		radial-gradient(circle at 50% 4%, var(--sp5) 0 1.5px, transparent 2.5px); filter: drop-shadow(0 0 2px var(--sp3)); animation: portalTwinkle 2.4s ease-in-out infinite;}       /* 반짝이 : 각 SNS 색 */
#footerArea .footer_sns li:nth-child(1) a{--sp1: #ff4d4d; --sp2: #fff; --sp3: #ff0033; --sp4: #ff8080; --sp5: #ff1a1a;}                 /* 유튜브 빨강 */
#footerArea .footer_sns li:nth-child(2) a{--sp1: #feda75; --sp2: #fa7e1e; --sp3: #d62976; --sp4: #962fbf; --sp5: #4f5bd5;}             /* 인스타그램 노랑·주황·분홍·보라·파랑 */
#footerArea .footer_sns li:nth-child(3) a{--sp1: #fff; --sp2: #c8c8c8; --sp3: #f2f2f2; --sp4: #9a9a9a; --sp5: #fff;}                   /* 스레드 흑백 */
#footerArea .footer_sns li:nth-child(4) a{--sp1: #5b9bff; --sp2: #fff; --sp3: #1877f2; --sp4: #9cc2ff; --sp5: #0d5bd8;}               /* 페이스북 파랑 */
#footerArea .portal{position: absolute; inset: 0; z-index: 1; border-radius: 50%;
	background: radial-gradient(circle, var(--pc0) 0%, var(--pc1) 16%, var(--pc2) 38%, var(--pc3) 60%, var(--pc4) 78%, transparent 100%);
	box-shadow: 0 0 10px 2px var(--pg1), 0 0 22px 6px var(--pg2); opacity: .62; filter: saturate(.8); transition: opacity .4s, filter .4s, box-shadow .4s;}   /* 평소엔 은은하게, 마우스를 올리면 살아난다 */
#footerArea .footer_sns a:hover .portal, #footerArea .footer_sns a:focus-visible .portal{opacity: 1; filter: none;}
/* 차원문 색 : 각 SNS 색으로 살짝 물들인다 */
#footerArea .footer_sns li:nth-child(1) a{--pc0: #fff4f4; --pc1: #ffb8b8; --pc2: #ff6a6a; --pc3: #d81e2c; --pc4: #6e0a18; --pg1: rgba(255,60,60,.6); --pg2: rgba(190,20,40,.35); --sw1: #ffe8e8; --sw2: #ff5a5a; --sw3: #b0142a;}
#footerArea .footer_sns li:nth-child(2) a{--pc0: #fff8ec; --pc1: #ffd6a0; --pc2: #fa7e1e; --pc3: #d62976; --pc4: #5b2a9e; --pg1: rgba(240,90,120,.6); --pg2: rgba(150,47,191,.38); --sw1: #fff2dc; --sw2: #ff8a4c; --sw3: #c13584;}
#footerArea .footer_sns li:nth-child(3) a{--pc0: #ffffff; --pc1: #e6e6e6; --pc2: #a8a8a8; --pc3: #4a4a4a; --pc4: #141414; --pg1: rgba(230,230,230,.5); --pg2: rgba(120,120,120,.35); --sw1: #ffffff; --sw2: #c8c8c8; --sw3: #6a6a6a;}
#footerArea .footer_sns li:nth-child(4) a{--pc0: #f2f7ff; --pc1: #b4ceff; --pc2: #5b8dff; --pc3: #1877f2; --pc4: #0b2f6b; --pg1: rgba(24,119,242,.6); --pg2: rgba(10,60,160,.35); --sw1: #e8f0ff; --sw2: #5b8dff; --sw3: #1452b8;}
#footerArea .portal::before, #footerArea .portal::after{content: ''; position: absolute; border-radius: 50%; mix-blend-mode: screen;
	-webkit-mask-image: url(../images/common/ui/portal/swirl1.png); mask-image: url(../images/common/ui/portal/swirl1.png); -webkit-mask-position: center; mask-position: center; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;}
#footerArea .portal::before{inset: -8%; background: radial-gradient(circle, var(--sw1) 20%, var(--sw2) 60%, var(--sw3)); opacity: .9; animation: portalSpin 5s linear infinite;}
#footerArea .portal::after{inset: 6%; -webkit-mask-image: url(../images/common/ui/portal/swirl2.png); mask-image: url(../images/common/ui/portal/swirl2.png); background: radial-gradient(circle, #fff 10%, var(--sw2) 55%, var(--sw1)); opacity: .8; animation: portalSpin 3.4s linear infinite reverse;}
#footerArea .footer_sns a:hover, #footerArea .footer_sns a:focus-visible{transform: scale(1.08);}
#footerArea .footer_sns a:hover .portal, #footerArea .footer_sns a:focus-visible .portal{box-shadow: 0 0 22px 8px var(--pg1), 0 0 52px 16px var(--pg2);}
#footerArea .footer_sns a:hover .portal::before{animation-duration: 2.4s;}
#footerArea .footer_sns a:focus-visible{outline: none;}
@keyframes portalSpin{ to{transform: rotate(360deg);} }
@keyframes portalTwinkle{ 0%, 100%{opacity: .35;} 50%{opacity: 1;} }
@media (prefers-reduced-motion: reduce){
	#footerArea .portal::before, #footerArea .portal::after, #footerArea .footer_sns a::after{animation: none;}
}
#footerArea .footer_bottom{display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; width: 90%; margin: 44px auto 0; padding-top: 18px; border-top: 1px solid rgba(243,238,226,.08);}
#footerArea .footer_policy{display: flex; gap: 20px; font-size: var(--font-12-size); line-height: 1.6;}
#footerArea .footer_policy a{color: var(--color-font2); transition: color .3s;}
#footerArea .footer_policy a:hover{color: var(--color-font1);}
#footerArea .copy{margin: 0; font-size: 0.6875rem; line-height: 1.6; letter-spacing: 0.1em; color: var(--color-font2);}
/* 멀록: 푸터 맨 아래 길을 따라 업적 수만큼 걸어간다 (0개 = 왼쪽 끝, 다 모으면 오른쪽 끝). 오른쪽 끝은 TOP 귀환석 자리를 비워 둔다 */
#footerArea{--mur: 0; --lane-r: max(5%, 104px);}
#footerArea::after{content: ''; position: absolute; left: 5%; right: var(--lane-r); bottom: 42px; border-top: 1px dashed rgba(248,183,0,.28); pointer-events: none;}
#footerArea .murloc{position: absolute; left: calc(5% + (95% - var(--lane-r) - 56px) * var(--mur)); bottom: 41px; z-index: 2; width: 56px;
	filter: drop-shadow(0 0 6px rgba(255,210,0,.35)); transition: left 1.6s ease-in-out; cursor: url(../images/common/ui/cursor_sword.png) 0 0, pointer;}
#footerArea .murloc img{display: block; width: 100%; height: auto; transform-origin: 50% 100%; animation: murbob 1.6s ease-in-out infinite alternate;}
@keyframes murbob{
	0%{transform: translateY(0);}
	100%{transform: translateY(-6px);}
}
#footerArea .murloc_talk{position: absolute; left: calc(100% + 10px); bottom: 22px; padding: 6px 14px; border-radius: 16px; background: #f3eee2;
	color: #2a1505; font-size: 0.875rem; font-weight: 700; white-space: nowrap; opacity: 0; transition: opacity .3s; pointer-events: none;}
#footerArea .murloc_talk::after{content: ''; position: absolute; left: -7px; top: 50%; margin-top: -7px; border: 7px solid transparent; border-right-color: #f3eee2; border-left: 0;}
#footerArea .murloc.flip .murloc_talk{left: auto; right: calc(100% + 10px);}
#footerArea .murloc.flip .murloc_talk::after{left: auto; right: -7px; border: 7px solid transparent; border-left-color: #f3eee2; border-right: 0;}
#footerArea .murloc:hover .murloc_talk, #footerArea .murloc.cheer .murloc_talk{opacity: 1;}
#footerArea .top_move{width: 60px; height: 60px; border-radius: 8px;
    background: #000; box-shadow: 0 0 0 2px #000, 0 0 14px rgba(255,210,0,.6); 
    position: fixed; right:20px; bottom: 40px; z-index: 90; display: none; border: 3px solid #c9a24a; overflow: hidden;}
#footerArea .top_move img{display: block; width: 100%; height: 100%; object-fit: cover; transition: all .3s;}
#footerArea .top_move:hover img{filter: brightness(1.3);}
#footerArea .top_text{position: absolute; left: 0; bottom: 0; width: 100%; padding: 2px 0; text-align: center; background: linear-gradient(180deg, transparent, rgba(0,0,0,.85)); font-family: var(--font-en); font-size: var(--font-12-size); font-weight: 700; color: #FFD200; letter-spacing: 0.1em;}

#footerArea .hs_cast{display: none; position: fixed; left: 50%; bottom: 128px; z-index: 95; width: 360px; margin-left: -180px;}
/* 와우 시전바 : 철제 틀(UI-CastingBar-Border) 안 어두운 바탕 + 노란 채움 + 끝의 불꽃(Spark), 주문 이름은 막대 안 흰 글씨. 배경이 밝아도 잘 보이게 바탕은 거의 불투명 */
.hs_cast, .taxi_cast{padding-left: 44px;}
.hs_name, .taxi_cast p{position: absolute; left: 44px; right: 0; top: 0; z-index: 3; display: flex; justify-content: center; align-items: center; height: 15px; margin: 0;
	font-size: 0.75rem; font-weight: 700; line-height: 1; color: #fff; text-shadow: 1px 1px 0 #000, 0 0 3px #000; pointer-events: none;}
.hs_name img, .taxi_cast p img{position: absolute; left: -44px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border: 1px solid #000; border-radius: 0; background: #0d0f18;
	box-shadow: 0 0 0 1px #6b6b6b, 0 0 0 2px #000, 0 2px 8px rgba(0,0,0,.7); object-fit: cover;}
.hs_track, .cast_track{position: relative; height: 15px; border: 0; border-radius: 0; background: rgba(0,0,0,.82); box-shadow: 0 0 0 4px rgba(0,0,0,.45), 0 6px 18px rgba(0,0,0,.6); overflow: visible;}
.hs_track::after, .cast_track::after{content: ''; position: absolute; left: -17px; right: -17px; top: -12px; bottom: -13px; z-index: 2; pointer-events: none;
	border-style: solid; border-width: 12px 17px; border-image: url(../images/common/ui/cast/cast_border.png) 10 14 fill / 12px 17px stretch;}
.hs_fill, .cast_fill{position: relative; display: block; width: 0; height: 100%; background: linear-gradient(180deg, #ffe7a0 0%, #ffbf1f 38%, #e89a00 70%, #a96500 100%);}
.hs_fill::after, .cast_fill::after{content: ''; position: absolute; right: -9px; top: -10px; width: 18px; height: 35px; z-index: 3; background: url(../images/common/ui/cast/cast_spark.png) center / 100% 100% no-repeat; mix-blend-mode: screen;}

/* 와우 마우스 커서 */
/* body{cursor: url(https://cdn.cursors-4u.net/previews/world-of-warcraft-wow-hand-armor-2-01242c20-32.webp) 0 0, auto;}
a, button, label{cursor: url(https://cdn.cursors-4u.net/previews/world-of-warcraft-wow-short-sword-ce5dfcd6-32.webp) 0 0, pointer;} */

/* 업적 진행 막대 : 화면 맨 아래 전체 폭, 최신 와우 경험치 막대 텍스처 (보라 채움 + 은색 틀 10칸) */
.xp_bar{position: fixed; left: 0; bottom: 0; z-index: 85; width: 100%; height: 19px; padding: 2px 6px 2px 30px; background: linear-gradient(180deg, rgba(8,6,4,.92), #000); transition: filter .4s;}
.xp_track{position: relative; display: block; height: 15px;}
.xp_track::before{content: ''; position: absolute; left: 0; right: 0; top: 0; bottom: 0; background: url(../images/common/ui/xp/bg.png) 0 0 / 100% 100% no-repeat;}
.xp_fill{position: absolute; left: 0; top: 0; z-index: 1; display: block; width: 0; height: 100%; background: url(../images/common/ui/xp/fill.png) 0 0 / calc(100vw - 36px) 100% no-repeat; transition: width .8s ease-out;}
.xp_track::after{content: ''; position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: 2; background: url(../images/common/ui/xp/frame.png) 0 0 / 100% 100% no-repeat; pointer-events: none;}
.xp_text{position: absolute; left: 30px; right: 6px; top: 2px; z-index: 3; font-size: 0.6875rem; font-weight: 700; line-height: 15px; text-align: center; color: #fff; text-shadow: 1px 1px 0 #000, 0 0 3px #000;}
.ach_sound{position: absolute; left: 6px; top: 2px; z-index: 4; display: flex; justify-content: center; align-items: center; width: 20px; height: 15px; padding: 0; background: none; font-size: 11px; line-height: 1; color: #d9bc7e; cursor: url(../images/common/ui/cursor_sword.png) 0 0, pointer;}
.ach_sound .fa-volume-xmark, .ach_sound.off .fa-volume-high{display: none;}
.ach_sound.off .fa-volume-xmark{display: inline-block; color: #8d7a58;}
.ach_sound:hover, .ach_sound:focus-visible{color: #ffe9a8;}
.ach_sound:focus-visible{outline: 1px solid #F0D69A; outline-offset: 1px;}

/* 레벨업 */
.levelup{display: none; position: fixed; left: 0; top: 30%; z-index: 97; width: 100%; padding: 40px 0; text-align: center;
	background: radial-gradient(ellipse at center, rgba(255,210,0,.45) 0%, rgba(255,180,0,.15) 40%, transparent 70%);}
.levelup::before{content: ''; position: absolute; left: 50%; top: -1000px; width: 160px; height: 3000px; margin-left: -80px; z-index: -1;
	background: linear-gradient(90deg, transparent, rgba(255,226,120,.55), transparent);}  /* 금빛 기둥 */
.lv_small{font-family: var(--font-en); font-size: 0.875rem; letter-spacing: 0.5em; color: #ffe9a8;}
.lv_big{margin-top: 6px; font-family: var(--font-en); font-size: 4.5rem; font-weight: 700; line-height: 1; color: #FFD200;
	text-shadow: 0 0 20px rgba(255,190,0,.9), 0 3px 0 #7a5200;}
.lv_txt{margin-top: 14px; font-size: 1.125rem; font-weight: 700; color: #fff; text-shadow: 0 0 8px #000;}

/* 업적 획득 알림 : 와우 업적 알림 텍스처(310 x 90) 비율 그대로, 위치는 모두 그 기준 % */
.achieve{--k: 1.4516px; visibility: hidden; position: fixed; left: 50%; top: 110px; z-index: 96; width: calc(310 * var(--k)); height: calc(90 * var(--k)); margin-left: calc(-155 * var(--k)); pointer-events: none;}
.achieve.ach_play{visibility: visible; animation: achBox 4.1s ease-out both;}
.ach_frame{position: relative; width: 100%; height: 100%; background: url(../images/common/ui/achieve/ach_bg.png) 0 0 / 100% 100% no-repeat;}
.ach_icon_wrap{position: absolute; left: 3.66%; top: 15.6%; width: 16.68%; height: 57.4%;}
.ach_icon{display: block; width: 100%; height: 100%; object-fit: cover;}
.ach_icon_wrap::after{content: ''; position: absolute; left: -23.9%; top: -20%; width: 143.9%; height: 143.9%;
	background: url(../images/common/ui/achieve/ach_iconframe.png) 0 0 / 100% 100% no-repeat;}            /* 아이콘 위에 겹치는 금속 틀 */
.ach_icon_wrap::before{content: ''; position: absolute; left: -12%; top: -12%; width: 124%; height: 124%; z-index: 2; opacity: 0;
	box-shadow: 0 0 calc(10 * var(--k)) calc(2 * var(--k)) rgba(255,216,140,.6);}                          /* 아이콘 테두리 잔광 */
.ach_label{position: absolute; left: 18.9%; top: 26.1%; width: 66.6%; height: 13.7%; font-size: max(10.5px, calc(9.6 * var(--k))); font-weight: 700;
	line-height: calc(12.3 * var(--k)); text-align: center; color: #2E1A06; text-shadow: 0 1px 0 rgba(255,228,165,.4);}
.ach_name{position: absolute; left: 24%; top: 40.9%; width: 56%; height: 18.2%; overflow: hidden; font-size: max(13px, calc(12.5 * var(--k))); font-weight: 700;
	line-height: calc(16.4 * var(--k)); text-align: center; white-space: nowrap; text-overflow: ellipsis; color: #F6EBD0; text-shadow: 0 1px 1px rgba(0,0,0,.9);}
.ach_point{position: absolute; left: 79.7%; top: 23.9%; width: 17.3%; height: 54.4%;
	background: url(../images/common/ui/achieve/ach_shield.png) 0 0 / 100% 100% no-repeat;}
.ach_point span{position: absolute; left: 52.8%; top: 53.8%; transform: translate(-50%, -50%); font-family: var(--font-en); font-size: max(13px, calc(12.5 * var(--k)));
	font-weight: 700; line-height: 1; color: #F2CC5B; text-shadow: 0 1px 1px #000;}
.ach_shine{position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden;
	-webkit-mask-image: url(../images/common/ui/achieve/ach_bg.png); mask-image: url(../images/common/ui/achieve/ach_bg.png); -webkit-mask-position: 0 0; mask-position: 0 0; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;}
.ach_shine::before{content: ''; position: absolute; left: 0; top: 9.1%; width: 22.3%; height: 81.8%; opacity: 0; transform: translateX(-100%);
	background: url(../images/common/ui/achieve/ach_shine.png) 0 0 / 100% 100% no-repeat;}
.ach_glow{position: absolute; left: -16.65%; top: -47.2%; z-index: 2; width: 133.3%; height: 194.4%; opacity: 0;
	background: url(../images/common/ui/achieve/ach_glow.png) 0 0 / 100% 100% no-repeat;}
/* 진영 색 : 얼라이언스 파랑, 호드 빨강, 계정 공유 업적(이중간첩)은 보라 */
.achieve{--ach-tint: hue-rotate(185deg) saturate(1.25) brightness(1.05); --ach-label: #8fd6ff;}
body.horde .achieve{--ach-tint: hue-rotate(328deg) saturate(1.6) brightness(1.02); --ach-label: #ffb09e;}
.achieve.account, body.horde .achieve.account{--ach-tint: hue-rotate(240deg) saturate(1.35) brightness(1.05); --ach-label: #dcb6ff;}
.ach_frame{background: none;}
.ach_frame::before{content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 100%;
	background: url(../images/common/ui/achieve/ach_bg.png) 0 0 / 100% 100% no-repeat; filter: var(--ach-tint);}
.ach_glow, .ach_point{filter: var(--ach-tint);}
.ach_label{color: var(--ach-label);}
.xp_fill{filter: hue-rotate(-57deg) saturate(1.2);}
body.horde .xp_fill{filter: hue-rotate(88deg) saturate(1.5) brightness(1.05);}
.xp_bar.agent .xp_fill{filter: none;}
.xp_bar.gain{filter: brightness(1.25) drop-shadow(0 0 6px rgba(90,150,255,.85));}
body.horde .xp_bar.gain{filter: brightness(1.25) drop-shadow(0 0 6px rgba(255,80,60,.85));}
.xp_bar.agent.gain{filter: brightness(1.25) drop-shadow(0 0 6px rgba(190,120,255,.8));}
.achieve.ach_play .ach_glow{animation: achGlow 4.1s ease-out both;}
.achieve.ach_play .ach_icon, .achieve.ach_play .ach_label, .achieve.ach_play .ach_name, .achieve.ach_play .ach_point span{animation: achText 4.1s ease-out both;}
.achieve.ach_play .ach_icon_wrap::before{animation: achEdge 4.1s ease-out both;}
.achieve.ach_play .ach_shine::before{animation: achShine 4.1s linear both;}

@keyframes achBox{                                         /* 0~0.2초 등장, 3.6초부터 0.5초 동안 사라짐 */
	0%{opacity: 0; transform: scale(.98);}
	4.9%{opacity: 1; transform: scale(1);}
	87.8%{opacity: 1; transform: scale(1);}
	100%{opacity: 0; transform: scale(1);}
}
@keyframes achGlow{                                        /* 짧은 금빛 flash */
	0%{opacity: 0;}
	2.4%{opacity: .6;}
	12.2%, 100%{opacity: 0;}
}
@keyframes achText{                                        /* 0.15~0.5초 선명해짐 */
	0%, 3.7%{opacity: 0; filter: blur(1.5px);}
	12.2%, 100%{opacity: 1; filter: blur(0);}
}
@keyframes achEdge{
	0%, 3.7%{opacity: 0;}
	9.8%{opacity: 1;}
	36.6%, 100%{opacity: 0;}
}
@keyframes achShine{                                       /* 0.2~0.8초 왼쪽→오른쪽 한 번 */
	0%, 4.9%{opacity: 0; transform: translateX(-100%);}
	7.3%{opacity: 1;}
	17%{opacity: 1;}
	19.5%, 100%{opacity: 0; transform: translateX(349%);}
}

@media (prefers-reduced-motion: reduce){
	.achieve.ach_play{animation: achFade 4.1s linear both;}
	.achieve.ach_play .ach_glow, .achieve.ach_play .ach_shine::before, .achieve.ach_play .ach_icon_wrap::before{animation: none;}
	.achieve.ach_play .ach_icon, .achieve.ach_play .ach_label, .achieve.ach_play .ach_name, .achieve.ach_play .ach_point span{animation: none; opacity: 1;}
	@keyframes achFade{ 0%{opacity: 0;} 5%, 85%{opacity: 1;} 100%{opacity: 0;} }
}

/* 진영 선택 연출 */
.faction_splash{display: none; position: fixed; left: 0; top: 38%; z-index: 96; width: 100%; padding: 30px 0; text-align: center;
	background: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.85) 25%, rgba(0,0,0,.85) 75%, transparent 100%);
	border-top: 1px solid var(--color-main); border-bottom: 1px solid var(--color-main);}
.faction_splash .splash_icon{width: 80px; height: 80px; border-radius: 50%; border: 2px solid var(--color-main); box-shadow: 0 0 30px var(--color-main);}
.faction_splash .splash_en{margin-top: 14px; font-family: var(--font-en); font-size: 0.875rem; letter-spacing: 0.4em; color: var(--color-main);}
.faction_splash .splash_ko{margin-top: 6px; font-size: 2.5rem; font-weight: 700; color: var(--color-font1); text-shadow: 0 0 20px var(--color-main);}


/* 일반 pc */
@media screen and (max-width:1280px) {
	#headerArea #gnb{position: static; transform: none; margin: 0 auto;}
	#headerArea #gnb ul{gap: 2vw;}
	#headerArea #gnb li a{font-size: clamp(0.9375rem, 1.33vw, 1.0625rem);}
	#headerArea .header_options{gap: 16px;}
}

/* 테블릿 */
@media screen and (max-width:1024px) {
	#headerArea{height: 80px;}
	:root{--hh-size: 80px;}
	#headerArea h1 img{width: 70px;}
	#headerArea #gnb ul{gap: 1.6vw;}
	#headerArea #gnb li a{font-size: clamp(0.8125rem, 1.37vw, 0.875rem); letter-spacing: 0.04em;}
	#headerArea .header_options{gap: 12px;}
	#headerArea .faction_toggle{width: 90px; height: 38px;}
	#headerArea .faction_thumb{width: 50px; height: 28px;}
	body.horde #headerArea .faction_thumb{left: 34px;}
	#headerArea .faction_icon{width: 28px; height: 28px;}
	#headerArea .btn_buy, #headerArea .btn_buy:link, #headerArea .btn_buy:visited{padding: 9px 12px; font-size: 0.8125rem;}
}

/* 소형 테블릿 */
@media screen and (max-width:768px) {

    /* 메뉴 햄버거로 바꿈 */
    #headerArea{height: 70px;}
    :root{--hh-size: 70px;}
    #headerArea .menuOpen{ display:block; top: 10px;}
    #headerArea .header_options{margin-right: 56px;}
    #headerArea h1, #headerArea .header_options{position: relative; z-index: 2;}   /* 메뉴를 열어도 로고·진영 버튼은 메뉴 위에 */
    #headerArea #gnb{z-index: 1;}
    #headerArea #gnb{width:100%; height:100vh; height:100dvh; background:rgba(0,0,0,.94); display:none; position:fixed; top:0; left:0;
    padding: 70px 0 40px; transform: none; overflow-y: auto;}   /* 화면 높이만큼, 메뉴는 세로 가운데 */
    #headerArea #gnb ul{flex-direction: column; justify-content: center; min-height: 100%;}
    #headerArea #gnb li{text-align:center }
    #headerArea #gnb li h3{padding:0;}
    #headerArea #gnb li a{display: block; min-height: 44px; padding: 16px 0; font-size: 1.3125rem;}
    #headerArea #gnb ul li a:hover, #headerArea #gnb ul li a:focus-visible{background: linear-gradient(90deg, transparent, rgba(58,40,20,.9), transparent); color: var(--color-main);}   /* 짙은 갈색·금색 강조 */

    /* 푸터 : 세로로 */
    #footerArea .footer_inner{flex-direction: column; gap: 28px;}
    #footerArea .footer_inner{display: flex;}
    #footerArea .footer_sns{gap: 20px 22px;}
    #footerArea .footer_sns a{width: 62px; height: 62px; font-size: 1.25rem;}   /* 포털 4개가 한 줄에 */
    #footerArea .footer_bottom{flex-direction: column-reverse; margin-top: 32px; text-align: center;}
    #footerArea{padding-bottom: 112px;}
}

/* 모바일 */
@media screen and (max-width:640px) {
	#footerArea{padding: 50px 0 112px;}
	#footerArea .top_move{width: 50px; height: 50px; right: 12px; bottom: 32px;}
	#footerArea .hs_cast{width: 240px; margin-left: -120px; bottom: 104px;}
	.achieve{--k: 1.0645px; top: 84px;}
	.lv_big{font-size: 3rem;}
	.faction_splash .splash_icon{width: 60px; height: 60px;}
	.faction_splash .splash_ko{font-size: 1.75rem;}
}

/* 최소 사이즈 처리 */
@media screen and (max-width:480px) {
	#wrap { min-width:320px; }
	#headerArea .header_options .btn_buy{display: none;}
}

@media screen and (max-width:1024px) {
    :root{--sec-pad: 72px; --gutter: 36px;}
}
@media screen and (max-width:768px) {
    :root{--gutter: 20px; --sec-pad: 56px; --copy-size: 0.9375rem; --copy-lh: 1.7; --sp-eyebrow: 12px; --sp-title: 18px; --sp-content: 24px; --label-size: 0.8125rem; --label-ls: 1.8px;}
}

/* 섹션 라벨 : 01 · ABOUT, NEW RACE 같은 작은 영문 구분 글자 + 얇은 금색 선 */
.eyebrow{display: block; font-family: var(--font-en); font-size: var(--label-size); font-weight: 600; line-height: 1.4; letter-spacing: var(--label-ls); color: var(--label-color); text-shadow: 0 1px 2px rgba(0,0,0,.6);}
.eyebrow::before{content: ''; display: inline-block; width: 40px; height: 1px; margin: 0 12px 0 0; vertical-align: middle; background: linear-gradient(90deg, rgba(255,200,61,0), var(--label-color));}
.eyebrow.center, .sub_visual .eyebrow, .play > .eyebrow, .media_inner > .eyebrow{text-align: center;}
.eyebrow.center::after, .play > .eyebrow::after, .media_inner > .eyebrow::after{content: ''; display: inline-block; width: 40px; height: 1px; margin: 0 0 0 12px; vertical-align: middle; background: linear-gradient(270deg, rgba(255,200,61,0), var(--label-color));}

/* 서브 페이지 첫 화면 등장 : 배경이 천천히 자리 잡고, 어두운 막이 걷힌 뒤 라벨 → 제목 → SCROLL (페이지마다 막 모양만 다름) */
.videoBox.sub_hero #imgBG{animation: heroSettle 1.4s cubic-bezier(.22,.8,.3,1) both;}
.videoBox.sub_hero::before{content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: #05070e; pointer-events: none; animation: heroShade .6s ease-out both;}
.sub_visual .eyebrow{animation: heroRise .5s ease-out .45s both;}
.sub_visual .sub_title{animation: heroRise .6s cubic-bezier(.22,.8,.3,1) .6s both;}
.videoBox.sub_hero .down{animation: heroFade .5s ease-out .95s both;}
.sub_visual .eyebrow::before, .sub_visual .eyebrow::after{content: ''; display: inline-block; width: 40px; height: 1px; vertical-align: middle;}
.sub_visual .eyebrow::before{margin: 0 12px 0 0;}
.sub_visual .eyebrow::after{margin: 0 0 0 12px; background: linear-gradient(270deg, rgba(255,200,61,0), var(--label-color));}
@keyframes heroSettle{ from{transform: translate(-50%, -50%) scale(1.04);} to{transform: translate(-50%, -50%) scale(1);} }
@keyframes heroShade{ from{opacity: 1;} to{opacity: 0; visibility: hidden;} }
@keyframes heroRise{ from{opacity: 0; transform: translateY(12px);} to{opacity: 1; transform: none;} }
@keyframes heroFade{ from{opacity: 0;} to{opacity: 1;} }
@keyframes heroLine{ from{transform: scaleX(0);} to{transform: scaleX(1);} }

/* 서브 첫 화면 아래 안내 : 페이지마다 와우 아이템 아이콘이 살짝 움직인다 (책장 넘기기 · 들여다보기 · 가방 뒤적이기) */
.down_icon{display: block; width: 40px; height: 40px; margin: 0 auto 14px; padding: 2px; border: 1px solid #8a6a2c; border-radius: 4px; background: #120d08;
	box-shadow: 0 0 0 1px #000, 0 0 14px rgba(255,200,80,.25);}
.down_icon + .down_copy{white-space: nowrap;}
.down_icon img{display: block; width: 100%; height: 100%; border-radius: 2px;}
.down_book .down_icon img{transform-origin: 0 50%; animation: pageTurn 2.6s ease-in-out infinite;}
.down_spyglass .down_icon{animation: peer 3s ease-in-out infinite;}
.down_loot_bag .down_icon img{transform-origin: 50% 100%; animation: rummage 2.4s ease-in-out infinite;}
.down:hover .down_icon, .down:focus-visible .down_icon{border-color: #e8c77a; box-shadow: 0 0 0 1px #000, 0 0 18px rgba(255,200,80,.55);}
@keyframes pageTurn{ 0%, 55%, 100%{transform: perspective(120px) rotateY(0);} 70%{transform: perspective(120px) rotateY(-38deg);} 85%{transform: perspective(120px) rotateY(0);} }
@keyframes peer{ 0%, 100%{box-shadow: 0 0 0 1px #000, 0 0 10px rgba(120,200,255,.2);} 50%{box-shadow: 0 0 0 1px #000, 0 0 22px rgba(120,200,255,.6);} }
@keyframes rummage{ 0%, 60%, 100%{transform: rotate(0);} 66%{transform: rotate(-7deg);} 72%{transform: rotate(6deg);} 78%{transform: rotate(-4deg);} 84%{transform: rotate(2deg);} }

/* 메인 첫 화면 영상(PC)은 뒤에 머물고, 본문이 위로 올라와 덮는다 (common.js 가 스크롤 비율을 --hp 로 넘김 : 0 = 맨 위, 1 = 다 덮임) */
.videoBox.stay{position: fixed; left: 0; top: 0; height: 100vh; height: 100svh;}
#content{position: relative; z-index: 1;}
#footerArea{z-index: 1;}
.videoBox.stay ~ main #content{box-shadow: 0 -70px 70px -16px rgba(5,7,14,.92);}   /* 본문 위쪽 경계에만 짧은 어둠 */
.hero_dim{position: absolute; left: 0; top: 0; z-index: 0; width: 100%; height: 100%; background: #05070e; opacity: calc(var(--hp, 0) * .8); pointer-events: none;}
.videoBox.stay .down{translate: 0 calc(var(--hp, 0) * -60px); filter: opacity(calc(1 - var(--hp, 0) * 1.6));}
.videoBox.stay #videoBG{scale: calc(1 + var(--hp, 0) * .04);}   /* 배경 영상이 아주 조금 다가온다 */
@media (prefers-reduced-motion: reduce){
    .videoBox.stay .down{translate: none;}
    .videoBox.stay #videoBG{scale: none;}
}

/* 사진·3D 가 늦게 뜰 때 넓은 빈칸 대신 어두운 자리 + 은은한 흐름 */
.media_screen, .gallery_view, .cha_stage, .zone_ring img, .character_icon li, .bag_list li[data-i] a, .scn_photo, .cine_screen{background-color: #0d0f18;}
.media_screen, .gallery_view, .cha_stage{background-image: linear-gradient(100deg, transparent 30%, rgba(201,162,74,.08) 50%, transparent 70%); background-size: 250% 100%; animation: skeleton 1.6s linear infinite;}
@keyframes skeleton{ from{background-position: 120% 0;} to{background-position: -120% 0;} }

/* 움직임 줄이기 설정 : 등장 효과·반복 효과 없이 바로 보이기 */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after{animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important;}
    [data-aos]{opacity: 1 !important; filter: none !important; transform: none !important; -webkit-clip-path: none !important; clip-path: none !important;}
    .reveal > *{opacity: 1 !important; transform: none !important;}
}

/* 낮은 화면 (노트북) : 헤더·제목 약 12% 작게, 위아래 여백 약 25% 줄임 */
@media (min-width:769px) and (max-height:820px) {
    :root{--hh-size: 84px; --sec-pad: 72px; --sp-content: 24px;
        --title-xl: clamp(2rem, 1.25rem + 2.64vw, 3.75rem); --title-lg: clamp(2rem, 1.25rem + 2.64vw, 3.75rem); --title-album: clamp(1.75rem, 1.05rem + 2.64vw, 3.5rem); --title-md: clamp(1.5rem, .9rem + 2.3vw, 3.1rem);}
    #headerArea{height: var(--hh-size);}
    #headerArea h1 img{width: 74px;}
}

/* 터치 : 작은 버튼도 누를 자리 44px */
@media (pointer: coarse) {
    .ach_sound::before, .bag .bag_close::after, .sort_btn::after{content: ''; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px;}
}
