@charset "UTF-8";
/*
 *  File Name : /hub/assets/css/common/base.css
 *  Description : 토큰 · 기본 스타일 · 유틸
 *  Page : 전역
 */

:root {
	/* color */
	--c-nav: #240075;
	--c-ink: #1c1f26;
	--c-on-tertiary: #edefff;
	--c-accent: #1281ff;

	/* font */
	--ft-body: 'Inter', -apple-system, 'Helvetica Neue', Arial, sans-serif;

	/* layout */
	--layout-w: 1440px;
	--layout-gap: 40px; 
	--quick-w: 78px; 

	/* space */

	/* touch */
	--touch-min: 48px;

	/* motion */
	--ease-out: cubic-bezier(0, 0, .58, 1);
	--ease-in-out: cubic-bezier(.5, 0, .5, 1);
	--ease-back: cubic-bezier(.34, 1.56, .64, 1);
	--dur-fast: .15s;
	--dur-base: .25s;

	/* elevation */
}

@media all and (min-width: 861px) and (max-width: 1595px) {
	:root {--layout-gap: var(--quick-w);}
}

@media all and (min-width: 861px) and (max-width: 1024px) {
	:root {--layout-gap: 40px;}
}

@media all and (max-width: 860px) {
	/* dock */
	:root {--layout-gap: 13px;
		--dock-bottom: calc(24px + env(safe-area-inset-bottom)); --dock-h: 67px;}
}

/* base */
* {box-sizing: border-box;}
html {-webkit-text-size-adjust: 100%;}
body {background: #e4e6ea; color: var(--c-ink); font-family: var(--ft-body); line-height: 1.4; word-break: break-word;}
a {color: inherit; text-decoration: none;}
button {background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer;}
img, svg, video {display: block; max-width: 100%;}

:focus-visible {outline: 2px solid rgba(18, 129, 255, .4); outline-offset: 2px;}
.header :focus-visible,
.footer :focus-visible,
.jukebox :focus-visible,
.jukebox-playlist :focus-visible,
.quick__top:focus-visible {outline-color: rgba(250, 250, 250, .5);}
input, textarea, select {font: inherit; color: inherit;}

/* layout */
.layout-inner {width: min(100% - var(--layout-gap) * 2, var(--layout-w)); margin: 0 auto;}

/* util */
.blind {overflow: hidden; position: absolute; width: 1px; height: 1px; clip: rect(0 0 0 0); clip-path: inset(50%);}
.mode-pc {display: block;}
.mode-mo {display: none;}

@media all and (max-width: 860px) {
	.mode-pc {display: none;}
	.mode-mo {display: block;}
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}
