
@font-face {
    font-family: "Portal Sans";
    src: local("Pretendard"), local("Noto Sans KR"), local("Malgun Gothic"), local("Apple SD Gothic Neo");
    font-display: swap;
}

html, body {
    margin: 0;
}

html {
    color-scheme: dark;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
    background: transparent;
    border: 0;
    color: inherit;
}

img,
svg {
    display: block;
}

::selection {
    background: #14b8a6;
    color: #fff;
}

.min-h-screen { min-height: 100vh; }
.w-full { width: 100%; }
.max-w-3xl { max-width: 48rem; }
.max-w-\[420px\] { max-width: 420px; }
.max-h-\[430px\] { max-height: 430px; }
.\!w-9 { width: 2.25rem !important; }
.\!h-9 { height: 2.25rem !important; }
.\!w-6 { width: 1.5rem !important; }
.\!h-6 { height: 1.5rem !important; }

.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none !important; }
.inline { display: inline; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-1 { flex: 1 1 0%; }
.flex-grow { flex-grow: 1; }
.shrink-0 { flex-shrink: 0; }
.gap-2 { gap: .5rem; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }

.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }
.cursor-move { cursor: move; }
.select-none { user-select: none; }
.min-w-0 { min-width: 0; }
.whitespace-nowrap { white-space: nowrap; }

.mx-auto { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: .25rem; }
.mt-2 { margin-top: .5rem; }
.mb-3 { margin-bottom: .75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.px-3 { padding-left: .75rem; padding-right: .75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-1\.5 { padding-top: .375rem; padding-bottom: .375rem; }
.py-2 { padding-top: .5rem; padding-bottom: .5rem; }
.py-2\.5 { padding-top: .625rem; padding-bottom: .625rem; }
.py-3 { padding-top: .75rem; padding-bottom: .75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.pr-2 { padding-right: .5rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: .75rem; }

.border { border-width: 1px; border-style: solid; }
.border-white\/10 { border-color: rgba(255, 255, 255, .1); }
.bg-black\/20 { background-color: rgba(0, 0, 0, .2); }
.bg-white { background-color: #fff; }
.text-black { color: #000; }
.text-red-300 { color: #fca5a5; }
.hover\:text-red-200:hover { color: #fecaca; }
.hover\:bg-red-400\/10:hover { background-color: rgba(248, 113, 113, .1); }
.hover\:bg-gray-200:hover { background-color: #e5e7eb; }
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:border-primary:focus { border-color: #14b8a6; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-duration: .15s; }

.text-xs { font-size: .75rem; line-height: 1rem; }
.text-sm { font-size: .875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.tracking-tight { letter-spacing: 0; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.text-center { text-align: center; }

@media (min-width: 640px) {
    .sm\:flex-row { flex-direction: row; }
    .sm\:items-center { align-items: center; }
    .sm\:items-start { align-items: flex-start; }
    .sm\:justify-between { justify-content: space-between; }
    .sm\:inline { display: inline !important; }
    .sm\:px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
    .sm\:p-5 { padding: 1.25rem; }
    .sm\:p-7 { padding: 1.75rem; }
    .sm\:text-sm { font-size: .875rem; line-height: 1.25rem; }
    .sm\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
}

@media (min-width: 768px) {
    .md\:flex { display: flex !important; }
    .md\:hidden { display: none !important; }
}

@media (min-width: 1024px) {
    .lg\:flex-row { flex-direction: row; }
    .lg\:items-center { align-items: center; }
    .lg\:justify-between { justify-content: space-between; }
}

@media (min-width: 1280px) {
    .xl\:flex-row { flex-direction: row; }
    .xl\:items-center { align-items: center; }
}
