@charset "utf-8";
/* -----------------------------------------------
	* 사이트 전체 기본 스타일 정의
--------------------------------------------------
	- 최초 작성일 :2021.08.15
	- 최초 작성자 :아보카도
	- 최종 수정일 :
	- 최종 수정자 :
--------------------------------------------------*/
/*********************************
	폰트 및 컬러 변수
**********************************/
/* 글꼴 CSS 는 여기서 @import 하지 않는다(head.sub.php 가 화면을 막지 않게 따로 부른다).
   @import 는 이 파일을 다 받은 뒤에야 받기 시작하고, 받는 동안 화면을 그리지 않는다 — 합쳐 900KB 가까워서
   느린 PC 에서는 한참 빈 화면(모눈만)이었다. Bebas Neue · Roboto · Chiron Sung HK(중국어 글꼴)는 쓰는 데가 없어 뺐다. */

/*
Copyright (c) 2021 Kil Hyung-jin, with Reserved Font Name Pretendard.
https://github.com/orioncactus/pretendard

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
*/

@font-face {
	font-family: 'icon';
		src:	url('./fonts/icomoon.eot?y5isk6');
		src:	url('./fonts/icomoon.eot?y5isk6#iefix') format('embedded-opentype'),
				url('./fonts/icomoon.ttf?y5isk6') format('truetype'),
				url('./fonts/icomoon.woff?y5isk6') format('woff'),
				url('./fonts/icomoon.svg?y5isk6#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
}

/* Pretendard 는 위 @import(CDN, 글자 묶음별로 필요한 것만 받는다) 하나만 쓴다.
   여기서 같은 이름으로 fonts/PretendardVariable.woff2(2MB)를 또 선언해서
   처음 들어올 때마다 2MB 를 더 받고 있었다. */


:root {
    /* 컬러 변수 선언 */
    --color-primary-300:#FF33AD;
    --color-primary-400:#ff0098;
    --color-secondary-400:#fff800;
    --color-tertiary-400:#00bdff;

    --color-grey-0: #ffffff;
    --color-grey-50: #f2f2f2;
    --color-grey-100: #e4e4e4;
    --color-grey-200: #c8c8c8;
    --color-grey-300:#acacac;
    --color-grey-400:#919191;
    --color-grey-500:#757575;
    --color-grey-600:#595959;
    --color-grey-700:#3e3e3e;
    --color-grey-800:#222222;
    --color-grey-850:#0d0d0d;
    --color-grey-900:#000000;

    /* 폰트 변수 선언 */
    --font-sanserif:-apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard Variable", Pretendard, Roboto, "Noto Sans KR", "Segoe UI", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    --font-serif: "Merriweather", serif;
    --font-mono:"JetBrains Mono", monospace;
}

/*********************************
	기본 스타일
**********************************/
/* *::-webkit-scrollbar	{ display: none;} */

* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
    font-family: var(--font-sanserif);
    font-weight: 400;
    color: var(--color-grey-800);
    scroll-behavior: smooth;
}

body,
html {
    height: 100%;
    overflow: overlay;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    line-height: 1.5em;
    font-size: 14px;
    height: 100vh;
    -ms-overflow-style: none;
}
caption {
    display: none;
}
html.single:before {
    content: "";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

/* 배경 이미지가 화면 한쪽만 채우고 세로 이음새가 생기던 문제.
   배경은 관리자 '디자인 관리'가 data/css/_design.config.css 를 자동 생성해
   지정하는데, 모바일 배경의 '반복'·'위치' 칸이 비어 있으면 그 두 줄을 아예
   찍지 않는다. 그러면 브라우저 기본값(repeat / 0% 0%)이 적용되고,
   background-size:cover 로 확대된 이미지가 왼쪽 위에 붙어버려 화면 절반만
   사진이 나오고 나머지는 배경색으로 남는다. 데스크톱 블록에는 두 값이
   들어 있어 이 현상이 없었다.
   → 관리자에서 그 칸을 채우면(반복: no-repeat / 위치: center center)
      이 규칙은 지워도 된다. 이 파일이 _design.config.css 보다 뒤에 실려서
      지금은 이쪽이 이긴다. */
@media all and (max-width: 1024px) {
    html.single:before {
        background-repeat: no-repeat;
        background-position: center center;
    }
}

b, strong {
    font-weight: 800;
    font-family: inherit;
}

em {
    font-style: oblique;
    font-style: italic;
}


/*********************************
	폼 요소 스타일
**********************************/

button {
    font-size: 14px;
    border: none;
    outline: none;
}
.form-input {
    display: block;
    line-height: 30px !important;
}
input[type="file"] {
    padding-left: 0 !important;
}

.form-input,
input[type="text"],
input[type="password"],
input[type="file"],
select {
    box-sizing: border-box;
    height: 30px;
    border-width: 1px;
    border-style: solid;
    padding: 0 10px;
    max-width: 100%;
    font-size: 14px;
    line-height: 1.2;
}

.form-input,
input[type="text"].full,
input[type="password"].full,
input[type="file"].full,
select.full {
    width: 100%;
}

textarea {
    box-sizing: border-box;
    border-width: 1px;
    border-style: solid;
    padding: 5px;
    width: 100%;
    min-height: 50px;
    font-size: 14px;
    resize: none;
}

/*********************************
	Ajax 검색 리스트
**********************************/

.ajax-list-box {
    height: 100px;
    overflow-y: auto;
    margin-top: 10px;
    padding: 5px;
}
.ajax-list-box li,
.ajax-list-box ul {
    display: block;
    margin: 0;
    padding: 0;
    position: relative;
}
.ajax-list-box li {
    margin-bottom: 5px;
}
.ajax-list-box li a {
    display: block;
    position: relative;
    padding: 10px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 12px;
}
.ajax-list-box li a .ui-thumb {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    overflow: hidden;
    text-align: center;
}
.ajax-list-box li a .ui-thumb img {
    max-width: 100%;
}
.ajax-list-box li a .ui-info {
    margin-left: 40px;
}
.ajax-list-box .no-data {
    line-height: 50px;
    text-align: center;
    margin-top: 10px;
}

/*********************************
	기본 라인 스타일
**********************************/

/* hr.line {
    display: block;
    position: relative;
    clear: both;
    margin: 10px 0;
    border: none;
    padding: 0;
    height: 1px;
}
hr.padding {
    display: block;
    clear: both;
    margin: 0;
    padding: 0;
    border: none;
    height: 20px;
}
hr.padding.small {
    height: 5px;
} */

#bo_v_img img {
    height: auto !important;
}


/**************************************************************
	버튼
***************************************************************/

.ui-btn {
    display: inline-block;
    position: relative;
    text-align: center;
    border-width: 1px;
    border-style: solid;
    vertical-align: middle;
    height: 28px;
    padding: 0 15px;
    box-sizing: border-box;
    cursor: pointer;
}
a.ui-btn {
    line-height: 26px;
}
.ui-btn.small {
    height: 25px;
    line-height: 23px;
    font-size: 12px;
}
.ui-btn.full {
    width: 100%;
}

.ui-btn.admin {
    background: #8c1e1e;
    color: #fff;
    border-color: #691010;
}
.ui-btn.disable {
    opacity: 0.3;
}

.ui-btn.ico {
    width: 15px;
    height: 15px;
    text-align: left;
    line-height: 15px;
    padding: 0;
    font-size: 11px;
    overflow: hidden;
    text-indent: -999px;
}
.ui-btn.ico.default {
    width: 28px;
    height: 28px;
    line-height: 28px;
}
.ui-btn.ico:before {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    text-indent: 0;
    font-family: 'icon';
}
.ui-btn.ico.big {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 18px;
}
.ui-btn.ico.circle {
    border-radius: 9.0em;
}

.ui-btn.ico.del {
    background: #a40000;
    color: #fff;
    border: none;
    border-radius: 2px;
    margin-left: 5px;
}
.ui-btn.ico.del:before {
    content: "\e9ac";
}
.ui-btn.ico.camera:before {
    content: "\e90f";
}
.ui-btn.ico.search:before {
    content: "\e986";
}
.ui-btn.ico.exp:before {
    content: "\e923";
}
.ui-btn.ico.search:before {
    content: "\e986";
}

/**************************************************************
	기본박스
***************************************************************/

.theme-box {
    display: block;
    position: relative;
    padding: 10px;
    box-sizing: border-box;
    backdrop-filter: blur(4px);
  background-color: rgba(var(--rc-paper-rgb), 0.8);
  box-shadow: none;
  border: 1px solid var(--rc-line);
    border-radius: 4px;
}

@media all and (max-width:800px) {
    .theme-box {
        background-color: rgba(var(--rc-paper-rgb), .3);
        color: var(--color-grey-800);
        box-shadow: none;
    }
}


/**************************************************************
	테이블
***************************************************************/

table {
    width: 100%;
    padding: 0;
    border-spacing: 0;
    border: 0;
    border-collapse: collapse;
    table-layout: fixed;
}
td,
th {
    border: none;
}

.theme-form {    display: block;
    position: relative;
    padding: 10px;
    box-sizing: border-box;
    backdrop-filter: blur(5px);
    background: rgba(var(--rc-paper-rgb), .2);
    box-shadow: 0 0 10px rgba(0, 0, 0, .15);
    border-radius: 6px;
}

.theme-box .theme-list, .theme-box .theme-form, .theme-box> .theme-box{
    padding: 0;
    backdrop-filter: none;
    background: none;
    box-shadow: none;
    border-radius: 0;
    border: none;
}


.theme-form td {
    padding: 5px;
    height: 30px;
    width: 900px;
}
.theme-form th {
    padding: 5px 10px;
    width: 100px;
}

.theme-form th {
    padding: 5px 10px;
    width: 100px;
}

.theme-form .frm_info {
    display: block;
    font-size: 12px;
    padding: 0 0 8px;
}

.theme-list {
    table-layout: fixed;
    padding: 10px;
    box-sizing: border-box;
    background: rgba(var(--rc-paper-rgb), .2);
    border-radius: 6px;
}
.theme-list th {
    height: 30px;
    background-color: var(--color-grey-100);
}
.theme-list td {
    padding: 5px;
    height: 30px;
}
.theme-list td.no-data {
    padding: 5px;
    text-align: center;
    line-height: 200px;
}

/**************************************************************
	도움말 정보
**************************************************************/

.frm_info {
    display: block;
    font-size: 12px;
    padding: 0 0 8px;
    opacity: 0.7;
}
.status-bar .frm_info {
    padding: 0;
}

/**************************************************************
	Status Bar
***************************************************************/

.status-bar {
    display: block;
}
.status-bar dd,
.status-bar dl,
.status-bar dt {
    margin: 0;
    padding: 0;
}
.status-bar dl {
    display: block;
    position: relative;
    margin: 1px 0;
    padding-left: 100px;
    line-height: 28px;
}
.status-bar dt {
    position: absolute;
    top: 0;
    left: 0;
}
.status-bar dd p {
    position: relative;
    background-color: var(--color-grey-200);
}
.status-bar dd p span {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 0;
}
.status-bar dd p sup {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 0;
}
.status-bar dd p i {
    display: block;
    position: relative;
    padding-left: 5px;
    font-size: 11px;
    z-index: 1;
}

/* 막대가 어떤 값이 와도 칸 밖으로 나가지 않게 한다. */
.status-bar dd p { overflow: hidden; }
.status-bar dd p span,
.status-bar dd p sup { max-width: 100%; }

/* 특성·장비로 얹힌 보정 표시. <i> 바깥에 두어 +/- 버튼 JS 에 지워지지 않는다. */
.status-bar dd p em.stat-bonus {
    display: block;
    position: absolute;
    top: 0;
    right: 6px;
    z-index: 2;
    font-family: var(--font-mono);
    font-size: 10px;
    font-style: normal;
    line-height: inherit;
    color: var(--color-tertiary-400);
}

/** 2차 스테이터스 — 분배가 아니라 값을 직접 적는 칸 **/
.status-second-label {
    margin: 18px 0 6px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--color-grey-500);
}
.status-bar.status-second dl.ui-control {
    padding-right: 60px;
}
.status-bar.status-second dd.control input.second-input {
    display: block;
    width: 100%;
    height: 24px;
    margin: 2px 0 0;
    padding: 0 4px;
    border: 1px solid var(--color-grey-300);
    border-radius: 0;
    background-color: transparent;
    font-family: var(--font-mono);
    font-size: 11px;
    line-height: 22px;
    color: var(--color-grey-800);
    text-align: center;
    box-sizing: border-box;
}
.status-bar.status-second dd.control input.second-input:focus {
    border-color: var(--color-primary-400);
    outline: none;
}

/** Bar Control 추가 **/
.status-bar dl.ui-control {
    padding-right: 60px;
}
.status-bar dl dd.control {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 60px;
}
.status-bar dl dd.control a {
    display: block;
    position: relative;
    width: 50%;
    float: left;
    margin: 0;
    padding: 0;
    text-indent: -999px;
    overflow: hidden;
}
.status-bar dl dd.control a:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-indent: 0;
    text-align: center;
    font-family: 'icon';
}
.status-bar dl dd.control a + a {
    border-left-width: 0;
}
.status-bar dl dd.control a[data-function="plus"]:before {
    content: '\ea0a';
}
.status-bar dl dd.control a[data-function="minus"]:before {
    content: '\ea0b';
}

/**************************************************************
	배경음악 이퀄라이저 효과
***************************************************************/

html.single .bgm-player {
    display: none !important;
}
.bgm-player {
	position: absolute;
    width: 26px;
    height: 26px;
}
.bgm-player .title {
    display: inline-block;
    vertical-align: middle;
    line-height: 30px;
    font-size: 13px;
}
.bgm-player ul {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
}
.bgm-player > .bar-equalizer {
    opacity: 0;
    position: absolute;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 50%;
    left: 0;
}
.bar-equalizer i {
    display: block;
    float: left;
    width: 3px;
    margin-right: 2px;
    border-radius: 5px;
    transition: height 0.3s linear;
    -webkit-transition: height 0.3s linear;
}
.bar-equalizer i:last-child {
    margin-right: 0;
}
.bgm-player li>a {
    display: inline-block;
    position: absolute;
    width: 26px;
    height: 26px;
    top: 0;
    left: 0;
    background-color: transparent;
}

/*******************************************
	head.php_헤더 레이아웃
********************************************/

/** 기본 디자인 */

#header {
    background-color: transparent;
    z-index: 999;
    width: fit-content;
    padding: 64px 0 64px 56px;
}

.header-layout {
    z-index: 999;
    position: absolute;
    top: 0;
}

#gnb {
    width: 52px;
    background: var(--color-primary-400);
    overflow: hidden;
    height: 100%;
    border-radius: 4px;
}

/* 데스크톱 전용: 아이콘 레일(52px) → 펼침(192px).
   모바일(≤960px)은 #gnb가 64vw 슬라이드 패널이므로 이 규칙이 적용되면 안 됨 */
@media all and (min-width:961px) {
	#gnb:hover {
		width:192px
	}
}

.gnbwrap {
    display: flex;
    justify-content: space-between;
    background: transparent;
    height: 100%;
    width: 100%;
    padding: 32px 0 16px;
}

#default_design_gnb {
    display: flex;
    text-align: center;
    justify-content: space-between;
    flex-direction: column;
    line-height: 1.5em;
    width: 100%;
    gap: 22px;
}

.main #logo {
    width: 48px;
    height: auto;
    padding: 0;
}

#default_design_gnb li {
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
}

/************** 메인메뉴 커스텀 **************/

#default_design_gnb li.mainmenu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    width: 100%;
}

#default_design_gnb li.mainmenu>div {
	width:inherit;
}

#default_design_gnb .menu {
    display: block;
    position: relative;
    transition: all 0.5s ease !important;
    width: 100%;
}

#default_design_gnb .main {
    display: block;
    position: relative;
    transition: all 0.5s ease !important;
    width: 100%;
    padding: 2px;
    margin-bottom: 32px;
}

#default_design_gnb .end {
    flex-wrap: wrap;
    transition: none !important;
}

#default_design_gnb .main h2 {
    display: none;
}

#default_design_gnb li span {
    word-wrap: break-word;
    word-break: keep-all;
}

#default_design_gnb li .gnb_txt {
    display: flex;
    gap: 10px;
    padding: 12px 0 12px 15px;
    width: 100%;
    align-items: center;
}

#default_design_gnb li .gnb_txt .menu_circle {
    height: 24px;
    width: 24px;
    border: 2px solid rgba(255,255,255,.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#default_design_gnb li .gnb_txt .menu_circle>div {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    transition: all 0.1s ease-out;
}

#default_design_gnb li .gnb_txt:hover .menu_circle>div {
    height: 14px;
    width: 14px;
}

#default_design_gnb li .gnb_txt .menu_noti {
    background-color: var(--color-grey-0);
}

#default_design_gnb li .gnb_txt .menu_world {
    background-color: var(--color-secondary-400);
}

#default_design_gnb li .gnb_txt .menu_system {
    background-color: var(--color-tertiary-400);
}

#default_design_gnb li .gnb_txt .menu_member {
    background-color: #000000;
}

#default_design_gnb li .gnb_txt .txt {
    font-size: 16px;
    color: #ffffff;
    opacity: 0;
    transition: all 0.2s ease-in;
    transform: translateX(-20%);
    white-space: nowrap;
    font-family: var(--font-mono);
    letter-spacing: -0.1px;
}

@media all and (min-width:961px) {
    .gnbwrap:hover #default_design_gnb .gnb_txt .txt {
        opacity: 1;
        transform: translateX(0%);
    }
}

/************** 서브메뉴_기본 커스텀 **************/

#default_design_gnb li.submenu {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
}

#default_design_gnb li.submenu div {
	padding: 6px 0 6px 16px;
	width: 100%;
	position: relative;
}

#default_design_gnb li.submenu div:not(.bgm, .hyperlink):hover{
	background:rgba(0,0,0,.05)
}

#default_design_gnb li.submenu div>a {
    display: flex;
    gap: 12px;
    opacity: 0.8;
    transition: opacity 0.2s ease-in;
    position: relative;
}

.gnbwrap li.submenu div>a h4 {
    opacity: 0;
    font-family: inherit;
    transition: all 0.2s ease-in;
    transform: translateX(-20%);
    white-space: nowrap;
    font-size: 12px !important;
    color: var(--color-grey-0) !important;
}


@media all and (min-width:961px) {
    .gnbwrap:hover li.submenu div>a h4 {
        opacity: 1;
        transform: translateX(0%);
    }
}

#default_design_gnb li.submenu div>a:hover {
    opacity: 1;
}

#default_design_gnb li.submenu div:not(.bgm, .hyperlink)::after {
    content: '';
    position: absolute;
    z-index:1;
    width: 0px;
    height: 32px;
    top: 0;
    left: 0px;
    background-color: var(--color-primary-300);
    transition: width 0.2s ease-in-out;
}

#default_design_gnb li.submenu div:hover::after {
    width: 6px;
} 


/************** 서브메뉴_BGM 커스텀 **************/

#default_design_gnb li.submenu div.bgm {
    margin-top: 12px;
}

#default_design_gnb li.submenu div.bgm>a {
    opacity: 1;
}

#default_design_gnb .bgm .bgm-toggle.is-playing img {
    animation: bgm-spin 3.2s linear infinite;
    transition: all ease-in-out;
}

@keyframes bgm-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/************** 서브메뉴_to x 커스텀 **************/

#default_design_gnb li.submenu div.hyperlink {
    margin-top: 12px;
}

#default_design_gnb li.submenu div.hyperlink>a {
    opacity: 1;
}

#default_design_gnb li.submenu div.hyperlink img {
    width: 20px;
    height: 20px;
}

/************** 서브메뉴_모바일메뉴 커스텀 **************/
.gnbwrap #default_design_gnb .mobilemenu {
    display: none;
}


/* 추가메뉴 */

li .end, .menu .toolbar_flex {
    display: none;
}

/* 푸터 */
.h-footer {
    position: absolute;
    bottom: 0;
    margin: 0 auto;
    right: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.h-footer .toolbar_gnb{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    height: 44px;
    padding: 10px 0;
    width: 80vw;
    max-width: 680px;
    border-radius: 12px 12px 0 0;
}

.h-footer .toolbar_gnb li {
    height: 28px;
    width: 28px;
    opacity: 0.6;
}

.h-footer .toolbar_gnb li a{
    display: block;
    width: 100%;
    height: 100%;
}

.h-footer .toolbar_gnb li:hover {
    opacity: 1;
}


/* TOOLTIP */
[data-tooltip]{
    position:relative;}
[data-tooltip]:before,
[data-tooltip]:after{
    visibility:hidden;
    opacity:0;position:absolute;left:50%;transform:translateX(-50%);white-space:nowrap;transition:all .2s ease;font-size:11px;font-family:inherit;letter-spacing:-1px;}
[data-tooltip]:before{content:attr(data-tooltip);height:13px;position:absolute;top:-20px;padding:5px 14px;border-radius:5px;color:#fff;    line-height: initial;background:rgba(0, 0, 0, 0.5);box-shadow:0 3px 8px rgba(165, 165, 165, 0.5);}
[data-tooltip]:after{content: '';border-left:5px solid transparent;top:2px;border-right:5px solid transparent;border-top:5px solid rgba(0, 0, 0, 0.5);}
[data-tooltip]:not([data-tooltip=""]):hover:before{visibility:visible;opacity:1;top:-39px}
[data-tooltip]:not([data-tooltip=""]):hover:after{visibility:visible;opacity:1;top:-16px}


/* 모바일 헤더 기본 */
#gnb_control_box {
    display: none;
}
.close-header #header {
    width: 0 !important;
}
.close-header #body {
    margin-left: 0 !important;
}
.close-header body {
    min-width: 0;
}

@media all and (max-width:1000px) {
    .close-header #header {
        width: auto !important;
    }
}

/** 모바일 헤더 레이아웃 */
@media all and (max-width:960px) {
    /* 모바일에서는 문서 자체가 스크롤되게 한다.
       기본값인 body{height:100vh; overflow:overlay} 는 body 를 별도의
       스크롤 상자로 만들어 버린다. 모바일 브라우저에서 100vh 는 주소창이
       가리는 영역까지 포함하는 높이라, 문서는 움직이지 않는데 내용 아래쪽은
       주소창 뒤에 잠겨 끝까지 내려가지 못한다.
       (게시판 목록 아래가 안 보이던 원인) */
    html,
    body {
        height: auto;
        min-height: 100%;
        overflow-y: visible;
        overflow-x: hidden;
    }

    body {
        width: 100%;
        /* body 가 overflow-x: hidden 이면 overflow-y 가 auto 로 바뀌어 '스크롤하지 않는 스크롤 상자'가 되고,
           그 안의 position: sticky(아치 틀 위쪽 줄)가 붙지 않는다. 가로 넘침은 html 이 자르니 body 는 clip 으로 */
        overflow: visible;
        overflow-x: clip;
    }
    #logo {
        padding: 0;
        z-index: 0;
        display: flex;
        position: relative;
        margin-left: 24px;
        text-align: center;
        margin-bottom: 24px;
    }
    /* filter(invert/hue-rotate 등)로 색을 입히면 화면마다 색이 어긋난다.
       docs.css의 .corner_btn_icon과 같은 방식으로, 실제 img는 숨기고
       그 자리에 mask-image로 로고 실루엣만 가져와 background-color를
       입힌 레이어를 겹쳐서 항상 같은 primary-400이 나오게 한다. */
    #logo img {
        opacity: 0;
    }
    #logo::after {
        content: "";
        position: absolute;
        inset: 0;
        background-color: var(--color-primary-400);
        -webkit-mask-image: url(../img/base/head_logo.svg);
        mask-image: url(../img/base/head_logo.svg);
        -webkit-mask-size: contain;
        mask-size: contain;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-position: center;
        mask-position: center;
    }
    #body {
        margin-left: 0;
        padding-top: 0px;
    }

    /* 헤더 위치 */
    #header {
        position: relative;
        width: 100%;
        z-index: 999;
        width: auto;
        height: 0px;
        overflow: visible;
        padding: 0;
    }

    #header .header-layout {
        position: relative;
        margin-left:0;
        align-items:flex-end;
        height: 0;
        background-color: none;
    }

    /* 숨김처리 */

    #default_design_gnb li.submenu {
        display: none;
    }

    #default_design_gnb .menu.end .submenu {
        display: flex;
        margin: 0;
    }

    /* 메인메뉴 */

    #gnb {
        --gnb-w: min(64vw, 420px);
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: var(--gnb-w);
        height: 100%;
        z-index: 99;
        overflow-y: auto;
        background-color: var(--color-grey-0);
        transform: translateX(100%);
        will-change: transform;
    }

    #gnb,
    #gnb:hover,
    #gnb:focus,
    #gnb:focus-within,
    .open-gnb #gnb,
    .open-gnb #gnb:hover {
        width: var(--gnb-w);
        min-width: var(--gnb-w);
        max-width: var(--gnb-w);
    }

    .gnbwrap {
        display: block;
        margin: 0;
        width: 100%;
        backdrop-filter: none;
        border: none;
        padding: 32px 0;
    }

    #default_design_gnb {
        flex-direction:column;
        align-items: flex-start;
        justify-content:flex-start;
        gap: 20px;
        background-color: inherit;
        width: 100%;
        border: none;
        box-shadow: none;
        height: 100%;
    }

    #default_design_gnb .title {
        margin-bottom: 0px;
    }

    #default_design_gnb .main {
        margin: 0;
        width: 100%;
        padding: 0;
    }

    #default_design_gnb .main h2 {
        display: block;
        color: var(--color-grey-700);
        font-size: 22px;
        padding: 30px 0 8px 0px;
        text-align: left;
        width: 100%;
    }

    #default_design_gnb .main h2 img {
        display: block;
        object-fit: contain;
        width: 200px;
    }
    
    #default_design_gnb li{
        margin-bottom: 12px;
    }

    #default_design_gnb li .gnb_txt .menu_noti {
        background-color: var(--color-primary-400);
    }


    #default_design_gnb li .gnb_txt .menu_circle {
        border: 2px solid var(--color-grey-100);
    }

	#default_design_gnb li .gnb_txt {
		gap: 16px;
        padding: 12px 0 12px 26px;
	}

	/* 모바일은 항상 펼쳐진 패널이므로 메뉴 텍스트를 hover 없이 상시 노출 */
	#default_design_gnb li .gnb_txt .txt {
		font-size:20px;
		color: var(--color-grey-700);
		opacity: 1;
		transform: none;
	}

    #default_design_gnb .menu {
        position: relative;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 0;
        width: 100%;
        text-align: left;
    }

    li .end{
        display: block;
    }

    /* 서브메뉴 */
    #default_design_gnb li span {
        position: relative;
        color: var(--color-grey-500);
        display: block;
        opacity: 1;
        top: initial;
        left: initial;
        transform: translate(0);
        width: 100%;
        text-align: left;
        font-weight: bold;
        font-size: 16px;
    }

    #default_design_gnb li.submenu>a {
        opacity: 1;
        display: flex;
        padding-left: 28px;
        width: 100%;
        align-items: center;
    }

    #default_design_gnb li.submenu>a .submenutit {
        display: flex;
        width: 100%;
        gap: 8px;
        align-items: center;
                padding: 12px 0 12px 16px;
    }

    #default_design_gnb li.submenu>a .submenutit h4 {
        font-family: "Yusei Magic", sans-serif;
        font-size: 17px;
        font-style: oblique;
    }

    #default_design_gnb li.submenu>a .submenutit p {
        color: var(--color-primary-300);
        font-size: 13px;
        padding: 0;
        line-height: inherit;
    }

    /* head_sub_dashboard.svg는 fill이 흰색으로 박혀 있어서, 데스크톱(어두운
       헤더)에서는 괜찮지만 밝은 배경인 이 모바일 메뉴에서는 안 보였다.
       main.css의 #banner_submenu 아이콘(= 같은 문제의 다른 해결 사례)과
       같은 방식으로 실제 img는 숨기고 mask-image로 실루엣만 가져와
       #666666을 입힌다. */
    .mobilemenu li.submenu a.submenu-status img {
        display: none;
    }
    .mobilemenu li.submenu a.submenu-status::before {
        content: "";
        flex: none;
        width: 20px;
        height: 20px;
        background-color: #666666;
        -webkit-mask-image: url(../img/base/head_sub_dashboard.svg);
        mask-image: url(../img/base/head_sub_dashboard.svg);
        -webkit-mask-size: contain;
        mask-size: contain;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-position: center;
        mask-position: center;
    }

    
    #default_design_gnb li.submenu div:not(.bgm, .hyperlink)::after {
        display: none;
    }

    #default_design_gnb li.submenu div:not(.bgm, .hyperlink):hover {
        background-color: initial;
    }

    #gnb {
        pointer-events: auto;
        border-radius: 12px 0 0 12px;
    }

    #gnb_control_box {
        position: absolute;
        width: 40px;
        height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        right: 0;
        margin: 12px;
        pointer-events: auto;
    }

    #gnb_control_box .ico_control {
        background: linear-gradient(var(--color-grey-0), var(--color-grey-0));
        display: inline-block;
        width: 22px;
        height: 22px;
        margin-left: -12%;
        opacity: 1;
        position: absolute;
        top: 10px;
        right: 10px;
        -webkit-mask: url('../resource/ico_control.svg') no-repeat center;
        mask: url('../resource/ico_control.svg') no-repeat center;
    }

    #gnb_control_box:hover .ico_control {
        background: linear-gradient(to right bottom, var(--color-primary-300), var(--color-primary-300));
        transition: all 0.5s ease !important;
    }

    #toolbar_gnb {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 0;
        padding-left: 32px;
        width: 100%;
        gap: 4px;
    }
    
    #toolbar_gnb li {
        text-align: left;
        padding: 5px 0;
    }

    #toolbar_gnb li:hover a  {
        color: var(--color-primary-300);
        font-weight: 600;
    }

    /* 메뉴 열고 닫기 */
    /* all 0s는 모든 애니메이션 가능 속성에 트랜지션을 등록시켜, hover 진입 때마다
       backdrop-filter 오버레이의 재합성을 유발함. 아예 끄는 편이 안전 */
    #gnb_control_box,
    #gnb_control_box * {
        transition: none;
        -webkit-transition: none;
    }

    /* 메뉴 열렸을 시 */
    .open-gnb #gnb {
        transform: translateX(0);
    }
    .open-gnb #gnb_control_box {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 99;
        background: rgba(0, 0, 0, 0.3);
        border-radius: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        
        backdrop-filter: blur(4px);
    }

	.open-gnb #gnb_control_box img{
		opacity:0;
    }
    .open-gnb #gnb_control_box .ico_control {
        opacity: 0;
    }
    /* 이퀄라이저 지우기 */
    .bgm-player{
        opacity: 0;
    }

    /* 모바일메뉴 노출 */
    .gnbwrap #default_design_gnb .mobilemenu {
        display: flex;
    }

}

/**************************************************************
	탭 설정
***************************************************************/

#tab_list {
    display: block;
    position: relative;
    overflow: hidden;
    border-bottom-width: 2px;
    border-bottom-style: solid;
}
#tab_list li {
    display: block;
    position: relative;
    float: left;
}
#tab_list li a {
    display: block;
    position: relative;
    border-bottom-width: 0;
}
#tab_list li + li a {
    border-left-width: 0;
}

/**************************************************************
	페이지 설정
***************************************************************/

#load_log_board {
    width: 100%;
    max-width: 1080px;
}

.board-notice {
    margin: 0 110px;
}

@media all and (max-width:960px) {
    .board-notice {
        margin: 0;
    }
}


.pg_wrap {
    display: block;
    position: relative;
    text-align: center;
    padding: 20px 0;
}
.pg_wrap .pg_page {
    display: inline-block;
    position: relative;
    height: 30px;
    line-height: 28px;
    min-width: 30px;
    box-sizing: border-box;
    padding: 0 5px;
    font-size: 13px;
    text-align: center;
    vertical-align: middle;
    border-width: 1px;
    border-style: solid;
}
.pg_wrap .pg_control {
    overflow: hidden;
    text-align: left;
    text-indent: -999px;
}
.pg_wrap .pg_control:before {
    font-family: 'icon';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-indent: 0;
    text-align: center;
    font-size: 14px;
}
.pg_wrap .pg_end,
.pg_wrap .pg_start {
    display: none;
}
.pg_wrap .pg_prev:before {
    content: "\ea23";
}
.pg_wrap .pg_next:before {
    content: "\ea24";
}

/****************************************************
	Search Box
****************************************************/

.searc-sub-box {
    position: relative;
    clear: both;
    padding: 30px 0;
}
.ui-search-box {
    position: relative;
    padding-left: 100px;
    padding-right: 80px;
    margin-top: 5px;
}
.ui-search-box .sch_category {
    position: absolute;
    top: 0;
    left: 0;
    width: 95px;
    line-height: 30px;
}
.ui-search-box .sch_button {
    position: absolute;
    top: 0;
    right: 0;
    width: 75px;
}
.ui-search-box span {
    display: block;
    padding: 0 15px;
}
.ui-search-box input[type="text"],
.ui-search-box button,
.ui-search-box select {
    display: block;
    width: 100%;
}

/****************************************************
	인벤토리 팝업 뷰
****************************************************/

.inven-popup-viewer,
.inven-popup-viewer * {
    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;
}
.inven-popup-viewer .ajax-list-box {
    height: auto;
    padding: 5px;
    font-size: 11px;
    word-break: keep-all;
    line-height: 1.5;
}
.inven-popup-viewer {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 340px;
    height: 400px;
    transform: translate(-50%, -50%);
    z-index: 9000;
    padding: 28px 36px 32px;
    box-sizing: border-box;
    background-color: var(--color-grey-0);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
    font-size: 14px !important;
    line-height: 1.5;
}
.inven-item-box {
    position: relative;
    margin-right: 25px;
    padding-left: 25px;
    border-right-width: 0;
}
.inven_popup_viewer_close {
    display: none;
}
.inven-popup-on .inven_popup_viewer_close {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 8900;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}
.inven_popup_viewer_close a {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    OVERFLOW: hidden;
    text-indent: -999px;
}

.inventory-list a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 52px;
    height: 52px;
    background-color: var(--color-grey-0);
    border-radius: 4px;
    border: 1px solid var(--color-grey-0);
}

.inventory-list a:hover {
    border: 1px solid var(--color-primary-300);
}

.inven-popup-viewer.default-form .inner-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.inven-popup-viewer.default-form .inner-content .error {
    position: absolute;
    top:left: 0;
    right: 0;
    text-align: center;
    line-height: 100px;
}
.inven-popup-viewer.default-form .inner-content a {}

.inven-popup-viewer.default-form .info {
    position: relative;
    text-align: center;
    padding: 15px 0;
}
.inven-popup-viewer.default-form .info .ui-thumb {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 0;
    margin: auto;
}
.inven-popup-viewer.default-form .info .ui-thumb img {
    width: 50px;
    height: 50px;
}

.inven-popup-viewer.default-form .text {
    position: relative;
    flex-grow: 1;
}
.inven-popup-viewer.default-form .text .title {
    font-size: 22px;
    text-align: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    color: var(--color-primary-400);
    font-weight: 800;
}
.inven-popup-viewer.default-form .text .title span {
    display: none;
}

.inven-popup-viewer.default-form .text .item-content-box {
    height: 170px;
    overflow-y: auto;
}
.inven-popup-viewer.default-form .text .item-content-box div {
    line-height: 1.4em;
    text-align: center;
        word-break: keep-all;
}
.inven-popup-viewer.default-form .text div.default {}
.inven-popup-viewer.default-form .text div.effect {
    padding-top: 15px;
    color: var(--color-primary-300);
}
.inven-popup-viewer.default-form .text div.memo {
    padding-top: 15px;
}

.inven-popup-viewer.default-form .control-box {
    text-align: center;
}

.inven-popup-viewer.default-form .control-box ul {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.inven-popup-viewer.default-form .control-box li {
    display: inline-block;
}
.inven-popup-viewer.default-form .control-box li a {
    display: block;
    padding: 4px 14px;
    background: var(--color-primary-300);
    border-radius: 20px;
    border: 1px solid var(--color-primary-400);
        color: var(--color-grey-0);
}

.inven-popup-viewer.default-form .control-box li a:hover {
    border: 1px solid var(--color-primary-400);
}
/* add-item-form/send-item-form에 height:30% 고정값이 있었는데, 그 안의
   입력칸들(.item-input)이 실제로 차지하는 높이가 30%보다 커서 내용이
   박스 밑으로 넘쳤다. overflow를 안 가렸으니 눈에는 그냥 다 보이지만,
   바로 다음 형제인 .control-box(보내기 버튼)는 "진짜 내용이 끝난 자리"가
   아니라 "이 30%짜리 박스가 끝나는 자리"부터 시작해서, 버튼이 화면
   최하단이 아니라 넘친 입력칸 사이(폼 중앙)에 겹쳐 보이는 원인이 됐다. */
.inven-popup-viewer.default-form .add-item-form {
    position: relative;
    margin-top: 10px;
}
.inven-popup-viewer.default-form .add-item-form .item-info {
    position: relative;
    margin-bottom: 5px;
}
.inven-popup-viewer.default-form .add-item-form .item-info label {
    display: none;
}
.inven-popup-viewer.default-form .add-item-form .item-info span {
    display: block;
    font-size: 11px;
    padding-top: 8px;
}
.inven-popup-viewer.default-form .add-item-form input {
    width: 100%;
    box-sizing: border-box;
}
.inven-popup-viewer.default-form .add-item-form .item-input {
    position: relative;
    margin-bottom: 5px;
}
.inven-popup-viewer.default-form .add-item-form .ui-style-btn.type4 {
    position: absolute;
    right: 87px;
    bottom: -44px;
    height: 25px;
    line-height: 25px;
}

.inven-popup-viewer.default-form .send-item-form {
    position: relative;
}
.inven-popup-viewer.default-form .send-item-form input,
.inven-popup-viewer.default-form .send-item-form select {
    width: 100%;
    box-sizing: border-box;
}
.inven-popup-viewer.default-form .send-item-form input {
    padding: 0 10px;
}
.inven-popup-viewer.default-form .send-item-form .item-input {
    position: relative;
    margin-bottom: 5px;
}
.inven-popup-viewer.default-form .send-item-form .ui-style-btn.type4 {
    position: absolute;
    right: 87px;
    bottom: -44px;
    height: 25px;
    line-height: 25px;
}

/*멀티판매*/
.sell-control{display:flex; justify-content:center; align-items:center; margin-bottom:15px; gap:5px; margin: 4px 0 10px;}
#qty_minus {width: 24px; height: 24px; font-size: 18px; font-weight: bold; border: none; border-radius: 2px;}
#qty_plus {width: 24px; height: 24px; font-size: 18px; font-weight: bold; border: none; border-radius: 2px;}
#sell_qty{border: none; height: 24px; width: 80px; text-align: center;}
#sell_qty::-webkit-outer-spin-button,
#sell_qty::-webkit-inner-spin-button {-webkit-appearance: none; margin: 0;}
.sell_btn {display:flex; gap:10px; justify-content: center;}

/****************************************************
	Top 버튼
****************************************************/

#goto_top {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: none;
}
@media all and (max-width:580px) {
    #goto_top {
        width: 50px;
    }
}

/****************************************************
	서브메뉴 레이아웃
****************************************************/

#submenu {
    display: block;
    position: relative;
    text-align: center;
}
#submenu li {
    display: inline-block;
    vertical-align: middle;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 10px;
}
#subpage {
    margin-top: 20px;
}
#subpage section {
    padding-bottom: 50px;
}

@media all and (max-width:1024px) {
    #submenu {
        margin: 0 -10px;
    }
    #submenu li {
        padding: 5px;
        font-size: 12px;
    }
    #subpage {
        margin-left: 0;
    }
}

/****************************************************
	페이지 타이틀
****************************************************/

.page-title {
    font-size: 18px;
    padding: 10px;
    margin-bottom: 10px;
    background-color: var(--color-primary-400);
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-grey-0);
}

.page-title strong {
    color: inherit;
    font-weight: 600;
}

.page-title span {
    color: inherit;
    font-size: 14px;
    opacity: 0.8;
    font-weight: 400;
}

.sub-title {
    font-size: 15px;
    padding: 5px;
    font-weight: 600;
}
.sub-title:before {
    content: "\e906";
    display: inline-block;
    vertical-align: middle;
    font-family: 'icon';
    margin-right: 8px;
}

/****************************************************
	알람 팝업
****************************************************/

.ui-call-alram-box,
.ui-memo-alram-box {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    text-align: center;
}

/****************************************************
	마퀴 (우 ▶ 좌) 흐름
****************************************************/

.marquee span {
    display: block;
    position: relative;
    overflow: hidden;
}
.marquee span i:after {
    content: "";
    white-space: nowrap;
    padding-right: 50px;
}
.marquee span i {
    margin: 0;
    padding-left: 100%;
    display: inline-block;
    white-space: nowrap;
    -webkit-animation-name: marquee;
    -webkit-animation-timing-function: linear;
    -webkit-animation-duration: 10s;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-name: marquee;
    -moz-animation-timing-function: linear;
    -moz-animation-duration: 10s;
    -moz-animation-iteration-count: infinite;
    -ms-animation-name: marquee;
    -ms-animation-timing-function: linear;
    -ms-animation-duration: 10s;
    -ms-animation-iteration-count: infinite;
    -o-animation-name: marquee;
    -o-animation-timing-function: linear;
    -o-animation-duration: 10s;
    -o-animation-iteration-count: infinite;
    animation-name: marquee;
    animation-timing-function: linear;
    animation-duration: 10s;
    animation-iteration-count: infinite;
}
@-webkit-keyframes marquee {
    from {
        -webkit-transform: translate(0%);
    }
    99%,
    to {
        -webkit-transform: translate(-100%);
    }
}
@-moz-keyframes marquee {
    from {
        -moz-transform: translate(0%);
    }
    99%,
    to {
        -moz-transform: translate(-100%);
    }
}
@-ms-keyframes marquee {
    from {
        -ms-transform: translate(0%);
    }
    99%,
    to {
        -ms-transform: translate(-100%);
    }
}
@-o-keyframes marquee {
    from {
        -o-transform: translate(0%);
    }
    99%,
    to {
        -o-transform: translate(-100%);
    }
}
@keyframes marquee {
    from {
        transform: translate(0%);
    }
    99%,
    to {
        transform: translate(-100%);
    }
}

/**************************************************************
	tail.php_프레임
***************************************************************/
.frame {
    position: absolute;
    top: 32px;
    left: 32px;
    bottom: 32px;
    right: 32px;
    pointer-events: none;
    background-image:
    url("../img/base/frame_left_top.png"), url("../img/base/frame_left_bottom.png"),url("../img/base/frame_right_top.png"),url("../img/base/frame_right_middle.png"),url("../img/base/frame_right_bottom.png");
  background-repeat: no-repeat;
  background-position:
    left top,
    left bottom,
    right top,
    right center,
    right bottom;
    z-index: -99;
}

.frame-dark {
    position: absolute;
    top: 32px;
    left: 32px;
    bottom: 32px;
    right: 32px;
    pointer-events: none;
    background-image:
    url("../img/base/frame_left_top.png"), url("../img/base/frame_left_bottom.png"),url("../img/base/frame_right_top_dark.png"),url("../img/base/frame_right_middle.png"),url("../img/base/frame_right_bottom_dark.png");
  background-repeat: no-repeat;
  background-position:
    left top,
    left bottom,
    right top,
    right center,
    right bottom;
    z-index: -99;
    opacity: 0;
}

/* 스크롤 타임라인 미지원 브라우저 폴백: world/index.php의 JS가 붙이는 dark-frame 클래스로 즉시 전환 */
body.dark-frame .frame-dark {
    opacity: 1;
}

body.dark-frame .frame {
    opacity: 0;
}

/* world/timeline.php는 처음부터 끝까지 다크 테마라 스크롤 전환 없이 항상 다크 프레임 */
/* 애니메이션/타임라인 지원 여부와 무관하게 항상 다크 프레임만 고정 표시
   (#timeline엔 .dark가 없어 --dark-enter 타임라인 자체가 존재하지 않으므로,
   @supports 쪽 animation-timeline이 애매하게 걸리지 않도록 명시적으로 끈다) */
body:has(#timeline) .frame-dark {
    animation: none;
    opacity: 1;
    /* #timeline::after의 상/하단 페이드 오버레이(z-index:50)보다 위로 올려서
       프레임 코너 장식이 오버레이에 가려지지 않게 한다 */
    z-index: 60;
}

body:has(#timeline) .frame {
    animation: none;
    opacity: 0;
}

/* world/intro.php, system/index.php의 진입 링 페이지도 처음부터 끝까지 다크 배경이라
   #timeline과 같은 방식으로 항상 다크 프레임만 고정 표시 */
body:has(#intro_page) .frame-dark {
    animation: none;
    opacity: 1;
}

body:has(#intro_page) .frame {
    animation: none;
    opacity: 0;
}

/* 지원 브라우저: .dark 패널이 스크롤로 실제 들어오는 정도에 맞춰 자연스럽게 크로스페이드.
   animation-timeline만 검사하면 안 된다 : timeline-scope는 훨씬 더 최근/좁게 지원되는
   별도 기능이라, 안드로이드(삼성 갤럭시 Chrome/삼성인터넷 등)에서 animation-timeline은
   파싱되지만 timeline-scope는 실제로 안 먹히는 애매한 상태가 있을 수 있다. 이 경우 아래
   블록이 켜져 body.dark-frame .frame-dark를 opacity:0으로 못박아버려서, 스크롤로 절대
   못 채워지는 scroll-timeline과 맞물려 프레임이 영영 안 보이게 되고, 이 규칙이 아래 JS
   폴백(11번째 줄 근처 body.dark-frame .frame-dark{opacity:1})보다 나중에 나와 그마저
   가려버린다. 두 속성을 모두 확인해서 이런 반쪽 지원 상태에서는 블록 자체가 꺼지고
   JS 폴백이 그대로 살아있도록 한다 */
@supports (animation-timeline: view()) and (timeline-scope: --dark-enter) {
    /* .frame-dark는 .dark의 자손이 아니라서, 이름 붙은 타임라인을 그대로 두면
       기본적으로 .dark 내부에서만 참조 가능하다. body까지 범위를 넓혀서
       바깥의 .frame-dark에서도 이 타임라인을 쓸 수 있게 한다. */
    body {
        timeline-scope: --dark-enter;
    }

    .dark {
        view-timeline-name: --dark-enter;
        view-timeline-axis: block;
    }

    .frame-dark,
    body.dark-frame .frame-dark {
        opacity: 0;
        animation: frame-dark-fade linear both;
        animation-timeline: --dark-enter;
        animation-range: entry 0% entry 100%;
    }

    .frame,
    body.dark-frame .frame {
        opacity: 1;
        animation: frame-fade-out linear both;
        animation-timeline: --dark-enter;
        animation-range: entry 0% entry 100%;
    }
}

@keyframes frame-dark-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes frame-fade-out {
    from { opacity: 1; }
    to { opacity: 0; }
}


@media all and (max-width: 960px) {
.frame,
.frame-dark {
    top: 20px;
    left: 20px;
    bottom: 20px;
    right: 20px;
}
}

/**************************************************************
	tail.php_마우스 효과
***************************************************************/

/* 마우스를 따라오는 원(테두리 원이 조금, 분홍 점이 더 늦게 따라온다).
   위치는 tail.php 가 원이 움직이는 동안만 transform 으로 옮긴다. */
.cursor-ring,
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    will-change: transform;
}
.cursor-ring {
    width: 32px;
    height: 32px;
    margin: -16px 0 0 -16px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background-color: rgba(var(--rc-paper-rgb), 0.1);
    transition: opacity 0.2s;
}
.cursor-dot {
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    background: var(--color-primary-300);
    transition: opacity 0.2s;
}
html.cursor-on .cursor-ring,
html.cursor-on .cursor-dot {
    opacity: 1;
}
@media all and (max-width: 960px) {
    .cursor-ring,
    .cursor-dot {
        display: none;
    }
}
/* 마이페이지 > 계정정보에서 마우스 커서 효과를 끈 회원(extend/site_fx.lib.php) */
html.fx-off-cursor .cursor-ring,
html.fx-off-cursor .cursor-dot,
html.fx-off-cursor .click-ripple {
    display: none;
}

/* 클릭한 자리에 잠깐 퍼졌다 사라지는 원. 끝나면 tail.php 가 지운다. */
.click-ripple {
    position: fixed;
    z-index: 9999;
    width: 32px;
    height: 32px;
    margin: -16px 0 0 -16px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    background-color: rgba(var(--rc-paper-rgb), 0.1);
    pointer-events: none;
    animation: click-ripple 0.45s ease-out forwards;
}
.click-ripple::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    border-radius: 50%;
    background: var(--color-primary-300);
}
@keyframes click-ripple {
    from { transform: scale(0.4); opacity: 1; }
    to   { transform: scale(1.6); opacity: 0; }
}
