@import url('https://fonts.googleapis.com/css?family=Saira+Condensed:700&display=swap');

html { background-color: var(--color-bg); }

/* DEFAULT ------------------------------------------------------ */

*, *:after, *:before { margin:0; padding:0; box-sizing: border-box; background-repeat: no-repeat; }
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
    vertical-align: baseline;
    border: 0;
    outline: 0;
    background: transparent;
    font-style: normal;
    text-decoration: none;
    font-weight: inherit;
}

*::-webkit-scrollbar { display: none; }

ol, ul { list-style: none; }
blockquote, q { quotes: none; }
table { border-collapse: collapse; border-spacing: 0; }
html { -webkit-font-smoothing: subpixel-antialiased; }
a { color: var(--color-text); cursor: pointer !important; }
a,u { text-decoration: none; }

input, select, option, textarea, button { font-family: -apple-system, "Helvetica Neue", 'Apple SD Gothic Neo', 'Roboto', 'Noto Sans KR', 'Malgun Gothic', sans-serif; letter-spacing: -.02em; outline: none; -webkit-appearance: none; border: 0; line-height: 1.5; transition: all .2s ease; }


/* BODY ------------------------------------------------------ */
html, body { height: 100%; }

body {
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	width: 100%;
	font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Apple SD Gothic Neo', 'Roboto', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
	color: var(--color-text);
	background-color: var(--color-bg);
	font-size: 17px;
	letter-spacing: -.02em;
	line-height: 1.5;
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
}

body.scrollx { overflow: hidden; }

header { width: 100%; height: 50px; background-color: var(--color-bg); position: absolute; top: 0; left: 0; z-index: 69; transition: all .35s cubic-bezier(.4,0,.6,1);  overflow: hidden; }

header .container { width: 100%; display: flex; justify-content: space-between; align-items: center; height: 50px; }

header .container a { flex: 1; height: 50px; height: 100%; display: flex;  align-items: center;}
header .container a.side { display: flex; flex: 0 0 44px;flex-basis: 44px; height: 44px; justify-content: center; margin: 0px 10px 0 3px; }
header .container a.side i { font-size: 24px; }
header .container a .logo_img { height: 22px; width: auto; margin-left: 20px; position: relative; top: -1px; }
header .container a h1 { text-transform: uppercase; font-family: "Saira Condensed", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; font-size: 19px; letter-spacing: 1.5px;  font-weight: 700; margin-left: 20px; }

header .container .match_notify { font-size: 11px; margin-left: 5px; font-weight: 600; display: block; align-self: center; }

header .container .match_notify { position: relative; font-variant-numeric: tabular-nums; }
header .container .match_notify:after { position: absolute; content: ""; top: 0; left: 0; z-index: -1; background-color: #a6ff00; width: 100%; height: 100%; transform: skew(-20deg); }
header .container .match_notify.muted { color: var(--color-text); }
header .container .match_notify.muted:after { display: none; }

header .container a.urgent { font-size: 11px; font-weight: 600; }

/* Apple-style menu animation */
header .shortcut {
	width: 100%;
	height: 100%;
	padding: 10px 20px 10px 30px;
	font-size: 17px;
	opacity: 0;
	transform: translateY(-20px);
	visibility: hidden;
	transition: all 0.5s cubic-bezier(0.28, 0.11, 0.32, 1);
}

header .shortcut strong {
	color: var(--color-text-muted);
	font-size: 13px;
	opacity: 0;
	transform: translateY(-10px);
	transition: all 0.4s cubic-bezier(0.28, 0.11, 0.32, 1);
}

header .shortcut ul {
	margin: 0 0 20px 0;
	display: flex;
	flex-wrap: wrap;
}

header .shortcut ul li {
	margin: 0 20px 0 0;
	text-transform: uppercase;
	font-size: 24px;
	font-weight: 700;
	opacity: 0;
	transform: translateY(-10px);
	transition: all 0.4s cubic-bezier(0.28, 0.11, 0.32, 1);
}

header.unfold {
	height: 100%;
	background-color: rgba(255, 255, 255, 0.5);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
}

@media (prefers-color-scheme: dark) {
	header.unfold {
		background-color: rgba(0, 0, 0, 0.5);
	}
}

header.unfold .shortcut {
	padding-top: 30px;
	opacity: 1;
	transform: translateY(0);
	visibility: visible;
}

header.unfold .shortcut strong {
	opacity: 1;
	transform: translateY(0);
}

header.unfold .shortcut ul li {
	opacity: 1;
	transform: translateY(0);
}

/* Sequential animation delays */
header.unfold .shortcut strong:nth-of-type(1) { transition-delay: 0.05s; }
header.unfold .shortcut strong:nth-of-type(2) { transition-delay: 0.1s; }
header.unfold .shortcut strong:nth-of-type(3) { transition-delay: 0.15s; }
header.unfold .shortcut strong:nth-of-type(4) { transition-delay: 0.2s; }
header.unfold .shortcut strong:nth-of-type(5) { transition-delay: 0.25s; }

header.unfold .shortcut ul:nth-of-type(1) li:nth-child(1) { transition-delay: 0.08s; }
header.unfold .shortcut ul:nth-of-type(1) li:nth-child(2) { transition-delay: 0.1s; }
header.unfold .shortcut ul:nth-of-type(1) li:nth-child(3) { transition-delay: 0.12s; }

header.unfold .shortcut ul:nth-of-type(2) li:nth-child(1) { transition-delay: 0.13s; }
header.unfold .shortcut ul:nth-of-type(2) li:nth-child(2) { transition-delay: 0.15s; }
header.unfold .shortcut ul:nth-of-type(2) li:nth-child(3) { transition-delay: 0.17s; }

header.unfold .shortcut ul:nth-of-type(3) li:nth-child(1) { transition-delay: 0.18s; }
header.unfold .shortcut ul:nth-of-type(3) li:nth-child(2) { transition-delay: 0.2s; }
header.unfold .shortcut ul:nth-of-type(3) li:nth-child(3) { transition-delay: 0.22s; }

header.unfold .shortcut ul:nth-of-type(4) li:nth-child(1) { transition-delay: 0.23s; }
header.unfold .shortcut ul:nth-of-type(4) li:nth-child(2) { transition-delay: 0.25s; }
header.unfold .shortcut ul:nth-of-type(4) li:nth-child(3) { transition-delay: 0.27s; }

header.unfold .shortcut ul:nth-of-type(5) li:nth-child(1) { transition-delay: 0.28s; }

header.unfold a.menu { color: var(--color-primary); }

header.scrolled {  }

article { padding-top: 50px; }
article, section { width: 100%; }


footer { padding: 20px 20px 80px 20px; color: #C7C7CC; }
footer > * { display: block; text-align: center; }
footer img { width: 34px; margin: 0 auto 5px auto; filter: brightness(0) saturate(100%) invert(87%) sepia(5%) saturate(0%) hue-rotate(96deg) brightness(93%) contrast(89%); }
footer .move_to_top { margin-bottom: 30px; text-align: center; color: var(--color-text-muted); }
footer .move_to_top i { font-size: 30px !important; }


footer p { font-size: 13px; text-transform: uppercase; font-weight: 700; }
footer span { text-transform: uppercase; letter-spacing: 1px; font-size: 9px; font-weight: 600; margin-top: 0px; }
footer .contact { font-size: 11px; margin-top: 15px; color: #C7C7CC; }
footer u { font-size: 11px; margin-top: 0; }

.global_title_large {
	font-size: 24px;
	font-weight: 800;
	line-height: 1.2;
	margin-top: 25px;
}
.global_title_medium {
	font-size: 17px;
	font-weight: 700;
	margin-top: 25px;
}

#non-member { padding: 80px 0; }
#non-member .container > * { display: block; text-align: center; }
#non-member i { font-size: 50px; }
#non-member p { font-size: 17px; font-weight: 600; margin-top: 15px; }
#non-member span { font-size: 13px; margin-top: 3px; }
#non-member a { text-decoration: underline; }

#user #non-member { padding: 140px 0 80px 0; }

@media only screen and (min-width: 900px) {
	body, header .container, header .shortcut { width: 640px; margin: 0 auto; }

	section#news { position: relative; }
	section#news:before, section#news:after { content: ""; position: absolute; width: 20px; height: 100%; z-index: 2; left: 0; top: 0; background-image: linear-gradient(to right, var(--color-bg), transparent); }
	section#news:after { left: inherit; right: 0; background-image: linear-gradient(to right, transparent, var(--color-bg)); }
}

@media (prefers-color-scheme: dark) {
	footer, footer .contact { color: #3A3A3C; }
	footer img { filter: brightness(0) saturate(100%) invert(20%) sepia(5%) saturate(329%) hue-rotate(202deg) brightness(88%) contrast(86%); }

	header .container .match_notify { color: #a6ff00; }
	header .container .match_notify:after { display: none; }
	header .container .match_notify.muted { color: var(--color-text); }
	header .container a .logo_img { filter: invert(1); }
}
