/* React UI 구성 요소를 일반 HTML로 옮긴 부분의 기본 스타일입니다. */
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
a[role='button'] { cursor: pointer; }
.filter-row a, .suggestions a, .text-button { display: inline-block; text-align: center; }
.language-link > svg:last-child { height: 12px; }
.region-select { display: flex; align-items: center; justify-content: space-between; gap: 6px; border-radius: 8px; height: 32px; white-space: nowrap; }
.region-select [data-slot='select-value'] { flex: 1; min-width: 0; text-align: left; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.region-select svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--muted-foreground); }
.region-select:focus-visible { outline: 3px solid #8b71b1; outline-offset: 5px; }
select.region-select { font: inherit; font-size: 14px; color: inherit; }
.region-menu { position: fixed; z-index: 60; min-width: 144px; max-height: 320px; overflow-y: auto; overscroll-behavior: contain; padding: 4px; border-radius: 8px; background: var(--popover); color: var(--foreground); box-shadow: 0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a, 0 0 0 1px #27232e1a; }
.region-menu [data-slot='select-item'] { display: flex; position: relative; width: 100%; align-items: center; gap: 6px; border: 0; border-radius: 6px; background: transparent; padding: 4px 32px 4px 6px; font-size: 14px; line-height: 1.4286; text-align: left; outline: none; }
.region-menu [data-slot='select-item']:is(:hover,:focus-visible) { background: var(--accent); }
.region-menu [data-slot='select-item'] > span { min-width: 0; overflow-wrap: anywhere; }
.region-menu [data-slot='select-item'] > svg { position: absolute; right: 8px; width: 16px; height: 16px; }
.region-menu [aria-selected='false'] > svg { visibility: hidden; }
.detail-dialog { position: fixed; inset: 50% auto auto 50%; margin: 0; transform: translate(-50%, -50%); border: 0; background: var(--popover); color: var(--foreground); box-shadow: 0 0 0 1px #27232e1a; font-size: 14px; z-index: 50; outline: none; overscroll-behavior: contain; }
.detail-dialog:not([open]) { display: none; }
.detail-dialog[open] { display: grid; gap: 16px; }
.detail-dialog::backdrop { background: #0000001a; backdrop-filter: blur(4px); }
.detail-dismiss > svg { width: 20px; height: 20px; }
.detail-close { display: block; text-align: center; }
.detail-body [data-slot='dialog-title'] { font-weight: 500; letter-spacing: -.025em; }
.detail-body [data-slot='dialog-description'] { color: var(--muted-foreground); }
body.modal-open { overflow: hidden; }
body:has(.detail-dialog[open]:not(:modal))::before { content: ''; position: fixed; inset: 0; z-index: 49; background: #0000001a; backdrop-filter: blur(4px); }
[data-slot='empty'] { display: flex; width: 100%; min-width: 0; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; text-wrap: balance; }
[data-slot='empty-header'] { display: flex; max-width: 384px; flex-direction: column; align-items: center; gap: 8px; }
[data-slot='empty-header'] > svg { width: 25px; height: 25px; }
[data-slot='empty-title'] { font-size: 14px; font-weight: 500; letter-spacing: -.025em; }
[data-slot='empty-description'] { font-size: 14px; line-height: 1.625; color: var(--muted-foreground); }
@media (max-width: 640px) {
    .region-select [data-slot='select-value'] { display: block; white-space: normal; overflow: visible; overflow-wrap: anywhere; }
    .region-menu { min-width: min(13rem, calc(100vw - 2rem)); max-width: calc(100vw - 2rem); }
    .region-menu [data-slot='select-item'] { min-height: 2.75rem; padding-block: .625rem; font-size: 1rem; line-height: 1.5; }
}
