@charset "UTF-8";
/* 서브3 CHARACTERS : 인게임 캐릭터 선택창 */

#content{--hh: var(--hh-size); background: #05070d;}

.char_select{position: relative; z-index: 1; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden;
	background: #070a14 url(../images/main/stormwind_01.jpg) center 62% / cover no-repeat; transition: background-image .8s ease;}
body.horde .char_select{background-image: url(../images/main/orgrimmar_01.jpg); background-position: center 58%;}   /* 호드는 오그리마 성문 */
.char_select::before{content: ''; position: absolute; left: 0; top: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none;
	background: linear-gradient(180deg, rgba(4,6,12,.75) 0%, transparent 18%, transparent 58%, rgba(4,6,12,.7) 82%, #04060c 100%),
		radial-gradient(ellipse 75% 70% at 40% 55%, transparent 45%, rgba(3,5,10,.8) 100%),
		linear-gradient(rgba(12,22,46,.62), rgba(12,22,46,.62));}

/* 서버명 · 캐릭터 수 */

/* 가운데 캐릭터 */
.char_stage{position: absolute; left: 50%; top: var(--hh); bottom: 182px; z-index: 1; width: 44%; transform: translateX(-50%);}
.char_view{--z: 1; display: block; position: absolute; left: calc((1 - var(--z)) * 50%); top: calc((1 - var(--z)) * (100% - 84px) * .9167); width: calc(100% * var(--z)); height: calc((100% - 84px) * var(--z)); border: 0; background: transparent; opacity: 0; pointer-events: none; transition: opacity .35s ease;}
.char_view.ready{opacity: 1; pointer-events: auto;}
.char_view.walking{pointer-events: none; will-change: transform;}
.char_view.parked{transition: none;}
.char_loading.walk_wait{font-size: var(--font-14-size); color: #d9c9a3;}
.char_preview{position: absolute; left: 50%; top: 10px; bottom: 132px; z-index: 0; display: none; transform: translateX(-50%); pointer-events: none;}
.char_stage.preview .char_preview{display: block; animation: previewIn .4s ease-out both;}
.char_preview_art{position: relative; height: 100%; aspect-ratio: 3 / 4; overflow: hidden; border: 2px solid #8a6a2c; background: #0d0f18; box-shadow: 0 0 0 4px #120d08, 0 0 0 5px #5c4520, 0 20px 40px rgba(0,0,0,.7);}
.char_preview_art::after{content:'대표 일러스트'; position:absolute; left:8px; top:8px; z-index:1; padding:3px 9px; border:1px solid #8a6a2c; background:rgba(10,7,4,.78); font-size:0.6875rem; font-weight:700; letter-spacing:.04em; color:#d9c9a3;}   /* 3D 대신 보이는 그림이 고른 캐릭터 자체가 아님을 표시 */
.char_preview_art img{width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: saturate(.85) brightness(.8);}
.char_preview_desc{position: absolute; left: 2px; right: 2px; bottom: 2px; padding: 40px 14px 12px; background: linear-gradient(180deg, transparent, rgba(8,6,3,.92) 45%);
	font-size: 0.8125rem; line-height: 1.6; text-align: center; color: #e2d8c4;}
@keyframes previewIn{ from{opacity: 0;} to{opacity: 1;} }
.char_loading{display: none; position: absolute; left: 50%; top: 40%; z-index: 3; padding: 8px 16px; border: 1px solid #6b5228; border-radius: 3px; background: rgba(16,11,6,.88); align-items: center; gap: 10px; transform: translateX(-50%);
	font-size: 0.8125rem; color: #b9c6d6; white-space: nowrap; pointer-events: none;}
.char_loading.show{display: flex;}
.char_spin{width: 18px; height: 18px; border: 2px solid rgba(181,138,69,.3); border-top-color: #d9bc7e; border-radius: 50%; animation: charSpin .9s linear infinite;}
@keyframes charSpin{ to{transform: rotate(360deg);} }
.char_error{position: absolute; left: 50%; bottom: 142px; z-index: 4; width: min(400px, 86%); padding: 12px 18px 14px; transform: translateX(-50%); text-align: center;
	background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.72)); border-top: 1px solid rgba(201,162,74,.45); text-shadow: 0 1px 2px #000, 0 0 6px #000;}   /* 인게임 시스템 메시지 */
.char_error_title{font-size: 0.9375rem; font-weight: 700; color: #ffd100;}
.char_error.nogl .char_error_title{color: #ff4b3a;}
.char_error_msg{margin-top: 4px; font-size: 0.8125rem; line-height: 1.6; color: #f1e9d6;}
.char_error[hidden], .char_retry[hidden]{display: none;}
.char_error .qo_btn{margin-top: 10px;}
.char_stage.err .char_preview_desc{display: none;}
.char_plate{position: absolute; left: 0; bottom: 0; z-index: 1; width: 100%; padding-top: 18px; text-align: center; pointer-events: none;}
.char_plate::before{content: ''; position: absolute; left: 50%; top: 0; z-index: -1; width: min(560px, 96%); height: 100%; transform: translateX(-50%);
	background: radial-gradient(60% 70% at 50% 60%, rgba(6,8,15,.82), rgba(6,8,15,.5) 60%, rgba(6,8,15,0) 100%);}   /* 3D 배경 위에서도 읽히게 */
.char_name{display: flex; justify-content: center; align-items: center; gap: 14px; font-family: var(--font-serif-ko); font-size: 1.625rem; font-weight: 600; line-height: 1.3; color: #F3EAD3; text-shadow: 0 2px 4px #000, 0 0 14px rgba(0,0,0,.6);}   /* 확장팩 지역 이름과 같은 장식 */
.char_name::before, .char_name::after{content: ''; flex: none; width: 48px; height: 10px; background: url(../images/common/deco/orn_side.svg) center / contain no-repeat;}
.char_name::after{transform: scaleX(-1);}
.char_notice{min-height: 1.5em; margin-top: 4px; font-size: 0.8125rem; color: #d9bc7e;}


/* 효과음 켜고 끄기 */

/* 성별 */
.gender_pick{display: inline-flex; gap: 6px; margin-top: 10px; pointer-events: auto;}
.gender_pick button{position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 96px; height: 28px; padding: 0 2px; cursor: url(../images/common/ui/cursor_sword.png) 0 0, pointer;
	border-style: solid; border-width: 0 14px; border-image: url(../images/common/ui/quest/qf_btn_up.png) 0 12 fill / 0 14px stretch; background: none;
	font-family: inherit; font-size: 0.8125rem; font-weight: 700; color: #c9b88f; text-shadow: 0 1px 0 #000; filter: saturate(.55) brightness(.75); transition: filter .15s;}   /* 퀘스트 창과 같은 와우 버튼 */
.gender_pick button::before{content: ''; position: absolute; left: -14px; right: -14px; top: -8px; bottom: -8px;}
.gender_pick button:hover{filter: saturate(.8) brightness(.95);}
.gender_pick button.on{color: #F2C94C; filter: none; outline: 1px solid #C9A44E; outline-offset: 1px;}
.gender_pick button:active{border-image-source: url(../images/common/ui/quest/qf_btn_down.png);}
.gender_pick button:focus-visible{outline: 1px solid #E8C35A; outline-offset: 2px;}

/* 양쪽 종족 목록 */
.race_col{position: absolute; top: calc(var(--hh) + 64px); z-index: 2; width: 214px;}
.race_a{left: 3%;}
.race_h{right: 3%;}
.race_head{padding: 0 2px 8px; font-size: var(--font-12-size); font-weight: 700; letter-spacing: .2em; color: #d9bc7e; border-bottom: 1px solid rgba(181,138,69,.5);}
.race_a .race_head{color: #8fbcf0;}
.race_h .race_head{color: #f09a8a; text-align: right;}
.race_list{margin-top: 10px;}
.race_list li + li{margin-top: 6px;}
.race_list button{display: flex; align-items: center; gap: 12px; width: 100%; padding: 6px 12px 6px 6px; font-family: inherit; text-align: left; cursor: url(../images/common/ui/cursor_sword.png) 0 0, pointer;
	background: linear-gradient(90deg, rgba(10,14,22,.9), rgba(10,14,22,.6)); border: 1px solid rgba(120,104,72,.45);
	box-shadow: inset 0 0 0 1px rgba(0,0,0,.6); transition: background .2s, border-color .2s;}
.race_h .race_list button{flex-direction: row-reverse; text-align: right; padding: 6px 6px 6px 12px;}
.race_list img{flex: 0 0 auto; width: 44px; height: 44px; box-shadow: 0 0 0 1px #000, 0 0 0 2px rgba(181,138,69,.5);}
.race_name{font-size: 0.9375rem; font-weight: 700; color: #e6dcc4; text-shadow: 0 1px 2px #000;}
.race_list button:hover{border-color: rgba(217,188,126,.7);}
.race_a .race_list button.on{border-color: #d9b66a; background: linear-gradient(90deg, rgba(22,46,88,.92), rgba(12,26,52,.7));
	box-shadow: inset 0 0 16px rgba(79,143,216,.35), 0 0 0 1px rgba(79,143,216,.45);}
.race_h .race_list button.on{border-color: #d9b66a; background: linear-gradient(270deg, rgba(90,20,16,.92), rgba(52,12,10,.7));
	box-shadow: inset 0 0 16px rgba(216,72,56,.35), 0 0 0 1px rgba(216,72,56,.45);}
.race_list button.on img{box-shadow: 0 0 0 1px #000, 0 0 0 2px #e8c77a;}
.race_list button.on .race_name{color: #fff4d6;}
.race_list button:focus-visible{outline: 1px solid #9cc3ef; outline-offset: 2px;}

/* 하단 직업 아이콘 */
.class_bar{position: absolute; left: 50%; bottom: 92px; z-index: 2; transform: translateX(-50%); text-align: center;}
.class_head{margin-bottom: 6px; font-size: var(--font-14-size); font-weight: 700; color: #d9bc7e; text-shadow: 0 1px 2px #000;}
.class_list{display: flex; gap: 6px; padding: 6px 8px; background: linear-gradient(180deg, rgba(20,24,32,.88), rgba(8,10,16,.88));
	border: 1px solid rgba(120,104,72,.6); box-shadow: 0 0 0 1px #000, inset 0 1px 0 rgba(255,255,255,.06);}
.class_list button{position: relative; display: block; width: 46px; height: 46px; padding: 0; cursor: url(../images/common/ui/cursor_sword.png) 0 0, pointer; background: #000;
	border: 1px solid #3c4452; box-shadow: 0 0 0 1px #000; transition: border-color .15s, filter .15s;}
.class_list img{display: block; width: 100%; height: 100%;}
.class_list button::after{content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none;
	background: linear-gradient(135deg, rgba(255,255,255,.22) 0%, transparent 38%); opacity: 0; transition: opacity .2s;}
.class_list button:hover{border-color: #b58a45;}
.class_list button.on{border-color: #e8c77a; box-shadow: 0 0 0 1px #000, 0 0 0 3px #a7823c, 0 0 12px rgba(232,199,122,.45);}
.class_list button.on::after{opacity: 1;}
.class_list button.off{cursor: not-allowed; filter: grayscale(1) brightness(.4); border-color: #262a31;}
.class_list button:focus-visible{outline: 1px solid #9cc3ef; outline-offset: 3px;}

/* 전문화 선택창 */
.spec_modal{position: fixed; left: 0; top: 0; z-index: 120; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
	padding: 20px; background: rgba(0,0,0,.45);}
.spec_modal[hidden]{display: none;}
.spec_dialog{position: relative; width: min(1000px, 100%); max-height: calc(100svh - 40px); overflow-y: auto; padding: 26px 26px 22px;
	background: linear-gradient(180deg, #161c26 0%, #0b0f16 100%); border: 1px solid #6b5630;
	box-shadow: 0 0 0 1px #000, inset 0 0 0 1px rgba(217,188,126,.18), 0 18px 50px rgba(0,0,0,.7);}
.spec_eyebrow{font-size: var(--font-12-size); letter-spacing: .3em; color: #8fa3bd; text-align: center;}
.spec_title{margin-top: 4px; font-size: 1.5rem; font-weight: 700; color: #F3EAD3; text-align: center; text-shadow: 0 2px 4px #000;}
.spec_close{position: absolute; right: 10px; top: 10px; width: 32px; height: 32px; padding: 0; cursor: url(../images/common/ui/cursor_sword.png) 0 0, pointer; font-size: 1rem; color: #d9bc7e;
	background: linear-gradient(180deg, #3a2a18, #1c140b); border: 1px solid #8a6a34; box-shadow: 0 0 0 1px #000;}
.spec_close:hover{filter: brightness(1.25);}
.spec_close:focus-visible{outline: 1px solid #9cc3ef; outline-offset: 2px;}
.spec_cards{display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px;}
.spec_card{display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0 0 14px; font-family: inherit; text-align: center; cursor: url(../images/common/ui/cursor_sword.png) 0 0, pointer;
	background: linear-gradient(180deg, #121a26 0%, #0a0f17 100%); border: 1px solid #2f3b4c; box-shadow: 0 0 0 1px #000, inset 0 1px 0 rgba(255,255,255,.05);
	transition: border-color .15s, background .2s;}
.spec_card:hover{border-color: #b58a45;}
.spec_card.on{border-color: #e2bf72; background: linear-gradient(180deg, #2b2312 0%, #15110a 100%);
	box-shadow: 0 0 0 1px #000, 0 0 0 2px rgba(226,191,114,.55), inset 0 0 24px rgba(226,191,114,.12);}
.spec_card:focus-visible{outline: 1px solid #9cc3ef; outline-offset: 2px;}
.spec_art{position: relative; display: block; height: 132px; background: #000 center 35% / cover no-repeat; border-bottom: 1px solid #000;
	box-shadow: inset 0 -30px 30px -10px rgba(5,8,12,.85);}
.spec_art img{position: absolute; left: 50%; bottom: -22px; width: 46px; height: 46px; margin-left: -23px; box-shadow: 0 0 0 1px #000, 0 0 0 2px #a7823c;}
.spec_name{display: block; margin-top: 30px; font-size: 1.25rem; font-weight: 700; color: #F3EAD3;}
.spec_role{display: block; margin-top: 2px; font-size: var(--font-12-size); font-weight: 700; letter-spacing: .08em;}
.role_dps{color: #e88a72;}
.role_tank{color: #8fb7e8;}
.role_heal{color: #8fd49a;}
.spec_desc{display: block; min-height: 4.2em; margin: 10px 16px 0; font-size: 0.8125rem; line-height: 1.6; color: #c3cbd6;}
.spec_weapon{display: block; margin: 10px 16px 0; padding-top: 10px; border-top: 1px solid rgba(181,138,69,.25); font-size: 0.8125rem; color: #e6dcc4;}
.spec_weapon em{margin-right: 8px; font-style: normal; color: #d9bc7e;}
.spec_abilities{display: flex; justify-content: center; gap: 10px; margin: 12px 10px 0;}
.spec_abilities li{width: 30%; font-size: 0.6875rem; line-height: 1.35; color: #9fabbb;}
.spec_abilities img{display: block; width: 34px; height: 34px; margin: 0 auto 4px; box-shadow: 0 0 0 1px #000, 0 0 0 2px #3d4553;}
.spec_card.on .spec_abilities img{box-shadow: 0 0 0 1px #000, 0 0 0 2px #8a6a34;}
.spec_foot{display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin-top: 18px;}
.spec_status{flex: 1 1 auto; min-height: 1.5em; font-size: var(--font-14-size); color: #d9bc7e;}
.spec_status.show::before{content: ''; display: inline-block; width: 14px; height: 14px; margin-right: 10px; vertical-align: -2px;
	border: 2px solid rgba(181,138,69,.3); border-top-color: #d9bc7e; border-radius: 50%; animation: charSpin .9s linear infinite;}
.spec_ok{min-width: 160px; height: 30px; font-size: var(--font-14-size);}
/* 전문화 창 (PC·모바일 같은 모양) : 퀘스트 창과 같은 금속 틀, 세 전문화를 세로 목록으로, 고른 줄만 능력 아이콘을 펼친다 */
.spec_modal{padding: 40px 20px 24px; background: rgba(0,0,0,.62);}
/* 퀘스트 창과 같은 금속 틀 : 왼쪽 위 초상에 직업 아이콘, 제목 줄에 직업 이름, 아래 빨간 버튼 */
.spec_dialog{--s: 1.05px; display: flex; flex-direction: column; width: min(520px, 100%); max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); padding: calc(26 * var(--s)) calc(10 * var(--s)) calc(36 * var(--s)) calc(8 * var(--s)); background: none; border: 0; box-shadow: 0 20px 60px rgba(0,0,0,.75); overflow: visible; animation: specIn .35s cubic-bezier(.2,.8,.2,1) both;}
.spec_frame{display: block;}
.spec_portrait{display: block;}
.spec_portrait img{position: absolute; left: calc(12 * var(--s)); top: calc(7 * var(--s)); z-index: -1; width: calc(53 * var(--s)); height: calc(53 * var(--s)); border-radius: 50%; object-fit: cover;}
.spec_eyebrow{display: none;}
.spec_title{position: absolute; left: calc(64 * var(--s)); right: calc(34 * var(--s)); top: calc(3 * var(--s)); z-index: 2; height: calc(17 * var(--s)); margin: 0; padding: 0; font-size: var(--font-14-size); line-height: calc(17 * var(--s)); text-align: center; color: #F1E9D2; text-shadow: 0 1px 0 #000;}
.spec_close{right: calc(2 * var(--s)); top: calc(-1 * var(--s)); z-index: 4; width: calc(24 * var(--s)); height: calc(24 * var(--s)); border: 0; background: url(../images/common/ui/tracker/close.png) center / 100% 100% no-repeat; font-size: 0;}
.spec_close i{display: none;}
@keyframes specIn{ from{opacity: 0; transform: scale(.94);} to{opacity: 1; transform: none;} }
.spec_cards{position: relative; z-index: 1; display: flex; flex-direction: column; flex: 1 1 auto; gap: 8px; min-height: 0; margin-top: 0; padding: 10px 8px 8px 10px; overflow-y: auto; -webkit-overflow-scrolling: touch;}
.spec_cards > li{flex: none;}
.spec_card{position: relative; display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; align-items: start; height: auto; padding: 14px 14px 14px 12px; text-align: left; overflow: hidden;}
.spec_art{position: absolute; inset: 0; height: auto; border: 0; box-shadow: none; background-position: center 30%;}
.spec_art::before{content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,11,20,.94) 0%, rgba(8,11,20,.86) 55%, rgba(8,11,20,.7) 100%);}
.spec_card.on .spec_art::before{background: linear-gradient(90deg, rgba(30,22,8,.93) 0%, rgba(30,22,8,.84) 55%, rgba(30,22,8,.66) 100%);}
.spec_art img{left: 12px; top: 14px; bottom: auto; z-index: 1; width: 52px; height: 52px; margin: 0;}
.spec_name, .spec_role, .spec_desc, .spec_weapon, .spec_abilities{position: relative; z-index: 1; grid-column: 2;}
.spec_name{margin-top: 0; font-size: 1.125rem; line-height: 1.3;}
.spec_role{margin-top: 1px;}
.spec_desc{min-height: 0; margin: 6px 0 0; font-size: 0.8125rem; line-height: 1.55;}
.spec_weapon{margin: 6px 0 0; padding-top: 0; border-top: 0; font-size: var(--font-12-size);}
.spec_abilities{display: none;}
.spec_card.on .spec_abilities{display: flex; justify-content: flex-start; gap: 14px; margin: 10px 0 0;}
.spec_card.on .spec_abilities li{width: auto; max-width: 30%; text-align: center;}
.spec_abilities img{width: 34px; height: 34px;}
.spec_foot{position: relative; z-index: 2; flex: none; flex-direction: column; gap: 6px; margin: 0 0 calc(-31 * var(--s)); padding: 6px 0 0; border: 0; background: none;}
.spec_status{flex: none; min-height: 0; font-size: var(--font-12-size); text-align: center;}
.spec_status:empty{display: none;}
.spec_ok{flex: none; min-width: 150px; height: 28px;}
.spec_ok:disabled{cursor: default; filter: grayscale(.8) brightness(.7);}

/* 하단 조작 버튼 */
.char_btn, .char_btn:link, .char_btn:visited{display: inline-flex; align-items: center; justify-content: center; min-width: 132px; height: 40px; padding: 0 18px;
	font-family: inherit; font-size: var(--font-14-size); font-weight: 700; color: #E9EEF5; text-shadow: 0 1px 0 #000; cursor: url(../images/common/ui/cursor_sword.png) 0 0, pointer;
	background: linear-gradient(180deg, #4a5668 0%, #2c3646 48%, #1e2633 52%, #283241 100%); border: 1px solid #7a8698;
	box-shadow: 0 0 0 1px #070a10, inset 0 1px 0 rgba(255,255,255,.18), inset 0 -1px 0 rgba(0,0,0,.5); transition: filter .15s;}
.char_btn:hover, .char_btn:focus-visible{filter: brightness(1.18);}
.char_btn:focus-visible{outline: 1px solid #9cc3ef; outline-offset: 2px;}
.char_btn:active{transform: translateY(1px); box-shadow: 0 0 0 1px #070a10, inset 0 1px 3px rgba(0,0,0,.6);}


/* 테블릿 */
@media screen and (max-width:1024px) {
	#content{--hh: var(--hh-size);}
	.char_stage{width: 40%;}
	.race_col{width: 168px;}
	.race_list img{width: 36px; height: 36px;}
	.class_list{gap: 4px; padding: 5px;}
	.class_list button{width: 40px; height: 40px;}
	.spec_cards{gap: 10px;}
}

/* 소형 테블릿 · 모바일 : 캐릭터 위, 아래는 얼라이언스 | 직업 | 호드 세 칸 (아이콘만, 고른 것만 이름), 전문화는 세로 목록 */
@media screen and (max-width:768px) {

	.char_select{height: auto; min-height: 0; padding: calc(var(--hh) + 44px) 0 28px; background-position: center 40%;}
	.char_stage{position: relative; left: auto; top: auto; bottom: auto; width: 100%; height: calc(56svh + 96px); min-height: 420px; transform: none;}
	.char_view{left: calc(5% + (1 - var(--z)) * 45%); top: calc((1 - var(--z)) * (100% - 96px) * .9167); width: calc(90% * var(--z)); height: calc((100% - 96px) * var(--z));}
	.char_name{gap: 10px; font-size: 1.375rem;}
	.char_name::before, .char_name::after{width: 32px;}
	.char_select{display: grid; grid-template-columns: 1fr auto 1fr; column-gap: 10px; align-items: start; padding-left: var(--side); padding-right: var(--side);}
	.char_stage{grid-column: 1 / -1;}
	.race_col{position: relative; left: auto; right: auto; top: auto; grid-row: 2; width: auto; margin-top: 18px;}
	.race_a{grid-column: 1;}
	.race_h{grid-column: 3;}
	.race_head, .race_h .race_head{padding: 0 0 8px; text-align: center; letter-spacing: .12em;}
	.race_list{display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 10px;}
	.race_list li + li{margin-top: 0;}
	.race_list button, .race_h .race_list button{width: auto; padding: 3px;}
	.race_list img{width: 46px; height: 46px;}
	.race_name{display: none;}
	.class_bar{position: relative; left: auto; bottom: auto; grid-column: 2; grid-row: 2; transform: none; margin-top: 18px; padding: 0;}
	.class_head{margin-bottom: 0; padding-bottom: 8px; font-size: var(--font-12-size); letter-spacing: .12em; border-bottom: 1px solid rgba(181,138,69,.5);}
	.class_list{display: grid; grid-template-columns: repeat(2, 46px); gap: 8px 8px; margin-top: 10px; padding: 6px;}
	.class_list button{width: 46px; height: 46px;}
	.char_btn, .char_btn:link, .char_btn:visited{flex: 1 1 0; min-width: 0; padding: 0 10px;}
	/* 전문화 창 : 화면 전체, 세 전문화를 세로 목록으로 한눈에, 고른 줄만 능력 아이콘을 펼친다 */
	.spec_modal{padding: 34px 14px 18px; background: rgba(0,0,0,.62);}
	/* 퀘스트 창과 같은 금속 틀 : 왼쪽 위 초상에 직업 아이콘, 제목 줄에 직업 이름, 아래 빨간 버튼 */
	.spec_dialog{--s: 1.05px; display: flex; flex-direction: column; width: min(440px, 100%); max-height: calc(100dvh - 52px); padding: calc(26 * var(--s)) calc(10 * var(--s)) calc(36 * var(--s)) calc(8 * var(--s)); background: none; border: 0; box-shadow: 0 20px 60px rgba(0,0,0,.75); overflow: visible; animation: specIn .35s cubic-bezier(.2,.8,.2,1) both;}
	.spec_frame{display: block;}
	.spec_portrait{display: block;}
	.spec_portrait img{position: absolute; left: calc(12 * var(--s)); top: calc(7 * var(--s)); z-index: -1; width: calc(53 * var(--s)); height: calc(53 * var(--s)); border-radius: 50%; object-fit: cover;}
	.spec_eyebrow{display: none;}
	.spec_title{position: absolute; left: calc(64 * var(--s)); right: calc(34 * var(--s)); top: calc(3 * var(--s)); z-index: 2; height: calc(17 * var(--s)); margin: 0; padding: 0; font-size: var(--font-14-size); line-height: calc(17 * var(--s)); text-align: center; color: #F1E9D2; text-shadow: 0 1px 0 #000;}
	.spec_close{right: calc(2 * var(--s)); top: calc(-1 * var(--s)); z-index: 4; width: calc(24 * var(--s)); height: calc(24 * var(--s)); border: 0; background: url(../images/common/ui/tracker/close.png) center / 100% 100% no-repeat; font-size: 0;}
	.spec_close i{display: none;}
	@keyframes specIn{ from{opacity: 0; transform: scale(.94);} to{opacity: 1; transform: none;} }
	.spec_cards{position: relative; z-index: 1; display: flex; flex-direction: column; flex: 1 1 auto; gap: 8px; min-height: 0; margin-top: 0; padding: 10px 8px 8px 10px; overflow-y: auto; -webkit-overflow-scrolling: touch;}
	.spec_cards > li{flex: none;}
	.spec_card{position: relative; display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; align-items: start; height: auto; padding: 14px 14px 14px 12px; text-align: left; overflow: hidden;}
	.spec_art{position: absolute; inset: 0; height: auto; border: 0; box-shadow: none; background-position: center 30%;}
	.spec_art::before{content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,11,20,.94) 0%, rgba(8,11,20,.86) 55%, rgba(8,11,20,.7) 100%);}
	.spec_card.on .spec_art::before{background: linear-gradient(90deg, rgba(30,22,8,.93) 0%, rgba(30,22,8,.84) 55%, rgba(30,22,8,.66) 100%);}
	.spec_art img{left: 12px; top: 14px; bottom: auto; z-index: 1; width: 52px; height: 52px; margin: 0;}
	.spec_name, .spec_role, .spec_desc, .spec_weapon, .spec_abilities{position: relative; z-index: 1; grid-column: 2;}
	.spec_name{margin-top: 0; font-size: 1.125rem; line-height: 1.3;}
	.spec_role{margin-top: 1px;}
	.spec_desc{min-height: 0; margin: 6px 0 0; font-size: 0.8125rem; line-height: 1.55;}
	.spec_weapon{margin: 6px 0 0; padding-top: 0; border-top: 0; font-size: var(--font-12-size);}
	.spec_abilities{display: none;}
	.spec_card.on .spec_abilities{display: flex; justify-content: flex-start; gap: 14px; margin: 10px 0 0;}
	.spec_card.on .spec_abilities li{width: auto; max-width: 30%; text-align: center;}
	.spec_abilities img{width: 34px; height: 34px;}
	.spec_foot{position: relative; z-index: 2; flex: none; flex-direction: column; gap: 6px; margin: 0 0 calc(-31 * var(--s)); padding: 6px 0 0; border: 0; background: none;}
	.spec_status{flex: none; min-height: 0; font-size: var(--font-12-size); text-align: center;}
	.spec_status:empty{display: none;}
	.spec_ok{flex: none; min-width: 150px; height: 28px;}
}

/* 초기 화면 : 두 진영이 사선으로 갈라진 히어로, 3D 를 불러오는 동안 영웅이 바뀌고 넘기면 갈라지며 사라진다 */
.intro{position: relative; z-index: 0; width: 100%; height: 100vh; height: 100svh; overflow: hidden; background: #05070d;}   /* 다른 페이지처럼 맨 위 히어로 영역 (내려가면 위로 올라가고, 다시 올리면 그대로 있다) */
.intro_panel{position: absolute; top: 0; width: 100%; height: 100%; overflow: hidden; transition: transform .9s cubic-bezier(.6,0,.3,1), opacity .9s;}
.intro_a{clip-path: polygon(0 0, 58% 0, 42% 100%, 0 100%); animation: introInA 1.1s cubic-bezier(.2,.8,.2,1) both;}
.intro_h{clip-path: polygon(58% 0, 100% 0, 100% 100%, 42% 100%); animation: introInH 1.1s cubic-bezier(.2,.8,.2,1) both;}
.intro_panel span{position: absolute; inset: -4%; background: center / cover no-repeat; animation: introZoom 12s ease-out both;}
.intro_a span{background-image: url(../images/main/stormwind_01.jpg); background-position: 35% 50%;}
.intro_h span{background-image: url(../images/main/orgrimmar_01.jpg); background-position: 65% 50%;}
.intro_a::after, .intro_h::after{content: ''; position: absolute; inset: 0;}
.intro_a::after{background: linear-gradient(90deg, rgba(10,28,70,.82), rgba(10,28,70,.35) 55%, rgba(5,7,13,.2)), linear-gradient(0deg, #05070d 0%, transparent 35%);}
.intro_h::after{background: linear-gradient(270deg, rgba(70,12,10,.82), rgba(70,12,10,.35) 55%, rgba(5,7,13,.2)), linear-gradient(0deg, #05070d 0%, transparent 35%);}
.intro_line{position: absolute; inset: 0; z-index: 2; pointer-events: none;
	background: linear-gradient(180deg, #f6dc8a, #b58a45); clip-path: polygon(57.85% 0, 58.15% 0, 42.15% 100%, 41.85% 100%);
	filter: drop-shadow(0 0 6px rgba(240,200,110,.7)); animation: introLine 1s .15s ease-out both; transition: opacity .4s;}
.intro_embers{position: absolute; inset: 0; z-index: 3; pointer-events: none;}
.intro_embers i{position: absolute; bottom: -10px; width: 3px; height: 3px; border-radius: 50%; background: #ffcf7a; box-shadow: 0 0 6px 2px rgba(255,170,60,.6);
	opacity: 0; animation: ember linear 2;}

.intro_text{position: absolute; left: 50%; top: 38%; z-index: 4; width: 100%; text-align: center; transform: translate(-50%, -50%); pointer-events: none; transition: transform .9s, opacity .6s, filter .6s;}
.intro_eyebrow{font: 600 0.8125rem/1 var(--font-en); letter-spacing: .5em; color: #d9bc7e; animation: introFade .8s .7s both;}
.intro_title{margin-top: 18px; font: 700 clamp(3.25rem, 9vw, 8.5rem)/1 var(--font-en); letter-spacing: .04em; color: #F3EAD3; text-shadow: 0 6px 40px #000;
	background: linear-gradient(105deg, #F3EAD3 42%, #fff4d2 50%, #F3EAD3 58%) 100% 0 / 250% 100% no-repeat; -webkit-background-clip: text; background-clip: text; color: transparent;
	animation: introTitle 1.2s .45s cubic-bezier(.2,.8,.2,1) both, introShine 2.4s 1.3s ease-in-out both;}
.intro_vs{display: flex; justify-content: center; gap: 30px; margin-top: 24px; font: 600 1rem var(--font-en); letter-spacing: .4em; animation: introFade .8s 1s both;}
.intro_vs b{color: #7aa2ff;}
.intro_vs i{color: #d9bc7e; font-style: normal;}
.intro_vs em{color: #ff6a55; font-style: normal;}

.intro_hero{position: absolute; bottom: 7%; z-index: 4; width: min(15vw, 30vh, 280px); margin: 0; pointer-events: none; animation: introFade 1s 1.1s both; transition: transform .9s cubic-bezier(.6,0,.3,1), opacity .6s;}
.intro_hero_a{left: 7vw;}
.intro_hero_h{right: 7vw;}
.intro_art{position: relative; aspect-ratio: 62 / 82; overflow: hidden; transform: skewX(-8deg); border: 2px solid var(--fc); box-shadow: 0 0 0 8px rgba(5,7,13,.55), 0 0 40px var(--fc), 0 30px 60px #000;}
.intro_hero_a .intro_art{--fc: #3d6fe0;}
.intro_hero_h .intro_art{--fc: #d6402f;}
.intro_art img{position: absolute; left: -12%; top: 0; width: 124%; height: 100%; object-fit: cover; transform: skewX(8deg);}
.intro_art img.in{animation: heroIn .9s cubic-bezier(.2,.8,.2,1) both;}
.intro_art::after{content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,244,210,.5) 50%, transparent 65%) -150% 0 / 250% 100% no-repeat;}
.intro_art.sweep::after{animation: heroSweep .9s ease-out both;}
.intro_hero figcaption{min-height: 4.2em; margin-top: 14px; text-align: center; text-shadow: 0 2px 6px #000;}
.intro_hero figcaption b{display: block; font: 600 0.9375rem var(--font-en); letter-spacing: .08em; color: #f0d69a;}
.intro_hero figcaption span{display: block; margin-top: 2px; font-size: var(--font-12-size); color: #b9c3d2;}
.intro_hero figcaption.in > *{animation: introUp .6s ease-out both;}

.intro_next{position: absolute; left: 50%; bottom: 40px; z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 240px; transform: translateX(-50%);
	font-family: inherit; color: #d8dee8; cursor: url(../images/common/ui/cursor_sword.png) 0 0, pointer; background: none; animation: introFade .8s 1.3s both;}
.intro_status{font-size: var(--font-14-size); letter-spacing: .04em;}
.intro_bar{display: block; width: 200px; height: 2px; background: rgba(255,255,255,.12); overflow: hidden;}
.intro_bar i{display: block; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, #f0d69a, transparent); animation: introBar 1.4s ease-in-out infinite;}
.intro.ready .intro_bar i{width: 100%; animation: none; background: #d9bc7e;}
.intro_hint{font: 600 0.6875rem var(--font-en); letter-spacing: .35em; color: #e6d0a6;}
.intro_hint::after{content: ''; display: block; width: 1px; height: 34px; margin: 10px auto 0; background: linear-gradient(#d9bc7e, transparent); animation: introHint 1.8s 4;}
.intro_next:focus-visible{outline: 1px solid #f0d69a; outline-offset: 6px;}


@keyframes introInA{ from{transform: translateX(-60%); opacity: 0;} to{transform: none; opacity: 1;} }
@keyframes introInH{ from{transform: translateX(60%); opacity: 0;} to{transform: none; opacity: 1;} }
@keyframes introLine{ from{clip-path: polygon(57.85% 0, 58.15% 0, 58.15% 0, 57.85% 0);} to{clip-path: polygon(57.85% 0, 58.15% 0, 42.15% 100%, 41.85% 100%);} }
@keyframes introZoom{ from{transform: scale(1);} to{transform: scale(1.08) translate(-1%, -1%);} }
@keyframes introTitle{ from{opacity: 0; letter-spacing: .3em; filter: blur(3px);} to{opacity: 1; letter-spacing: .04em; filter: blur(0);} }
@keyframes introShine{ from{background-position: 100% 0;} to{background-position: 0 0;} }
@keyframes introFade{ from{opacity: 0;} to{opacity: 1;} }
@keyframes introUp{ from{opacity: 0; transform: translateY(8px);} to{opacity: 1; transform: none;} }
@keyframes heroIn{ from{clip-path: inset(0 100% 0 0); filter: brightness(2.2);} to{clip-path: inset(0 0 0 0); filter: brightness(1);} }
@keyframes heroSweep{ from{background-position: -150% 0;} to{background-position: 150% 0;} }
@keyframes introBar{ from{transform: translateX(-100%);} to{transform: translateX(250%);} }
@keyframes introHint{ 0%{height: 0; opacity: 1;} 50%{height: 34px; opacity: 1;} 100%{height: 34px; opacity: 0;} }
@keyframes ember{ 0%{opacity: 0; transform: translate(0, 0);} 10%{opacity: .9;} 100%{opacity: 0; transform: translate(var(--dx), -90vh);} }

@media screen and (max-width:768px) {
	.intro_a{clip-path: polygon(0 0, 100% 0, 100% 38%, 0 52%);}
	.intro_h{clip-path: polygon(0 52%, 100% 38%, 100% 100%, 0 100%);}
	.intro_line{clip-path: polygon(0 51.7%, 100% 37.7%, 100% 38.3%, 0 52.3%); animation: none;}
	.intro_text{top: 22%;}
	.intro_title{font-size: 11.5vw; letter-spacing: .02em;}
	.intro_vs{gap: 14px; font-size: 0.75rem;}
	.intro_hero{bottom: 190px; width: min(46vw, calc(50svh - 225px));}   /* 진영 글자와 SCROLL 사이에 맞춰 키를 줄인다 */
	.intro_hero_a{left: 50%; transform: translateX(-50%);}
	.intro_hero_h{display: none;}
	body.horde .intro_hero_a .intro_art{--fc: #d6402f;}
}
@media (prefers-reduced-motion: reduce){
	.intro *, .intro *::after{animation: none !important;}
}
