@layer sokkuri-parent-overrides, critical;

.fa-sokkuri-shell { width: 100%; min-height: 70vh; margin: 0; background: #fff; }
.fa-sokkuri {
  --ink: #1a1d23;
  --soft: #535b68;
  --muted: #8a909c;
  --line: #e2e5ea;
  --line-soft: #edeff3;
  --accent: #6576f1;
  width: 100%; max-width: 560px; min-height: 70vh; padding: 8px 16px 48px; margin: 0 auto;
  color: var(--ink); background: transparent; box-sizing: border-box;
}
.fa-sokkuri *, .fa-sokkuri *::before, .fa-sokkuri *::after { box-sizing: border-box; }
.fa-sokkuri-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; }

.fa-sokkuri-breadcrumb { margin: 0 0 8px; color: var(--soft); font-size: 12px; line-height: 20px; }
.fa-sokkuri-breadcrumb ol { display: flex; min-width: 0; padding: 0; margin: 0; overflow: hidden; list-style: none; white-space: nowrap; }
.fa-sokkuri-breadcrumb li, .fa-sokkuri-breadcrumb a, .fa-sokkuri-breadcrumb [aria-current="page"] { min-width: 0; overflow: hidden; color: var(--soft) !important; font-family: inherit !important; font-size: 12px !important; font-weight: 400 !important; line-height: 20px !important; text-overflow: ellipsis; }
.fa-sokkuri-breadcrumb li { display: inline-flex; flex: 0 0 auto; align-items: center; height: 20px; }
.fa-sokkuri-breadcrumb li:last-child { flex: 1 1 auto; }
.fa-sokkuri-breadcrumb a, .fa-sokkuri-breadcrumb [aria-current="page"] { display: inline-flex !important; align-items: center; height: 20px !important; padding: 0 !important; }
.fa-sokkuri-breadcrumb li + li::before { margin: 0 8px; color: var(--muted); content: ">"; }
.fa-sokkuri-breadcrumb a { color: var(--accent) !important; text-decoration: none; }

@layer sokkuri-parent-overrides {
  .fa-sokkuri h1 { margin: 0 !important; color: var(--ink) !important; font-size: 30px !important; font-weight: 800 !important; line-height: 1.35 !important; }
  .fa-sokkuri h2 { margin: 0 !important; color: var(--ink) !important; font-size: 22px !important; font-weight: 800 !important; line-height: 1.35 !important; }
}
.fa-sokkuri-hero { padding: 16px 0 24px; }
.fa-sokkuri-hero > p { margin: 8px 0 24px; color: var(--soft); font-size: 15px; line-height: 1.8; }

.fa-sokkuri-search { position: relative; display: block; }
.fa-sokkuri-search form { position: relative; display: flex; align-items: center; width: 100%; min-height: 56px; color: var(--soft); background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.fa-sokkuri-search__icon { position: absolute; left: 16px; width: 20px; height: 20px; border: 2px solid currentColor; border-radius: 50%; pointer-events: none; }
.fa-sokkuri-search__icon::after { position: absolute; right: -6px; bottom: -4px; width: 8px; height: 2px; background: currentColor; content: ""; transform: rotate(45deg); transform-origin: left center; }
.fa-sokkuri-search input { width: 100%; min-height: 54px; padding: 12px 16px 12px 52px; color: var(--ink); font: inherit; font-size: 16px; background: transparent; border: 0; border-radius: 16px; }
.fa-sokkuri-search input:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; }
.fa-sokkuri-search-results { padding: 0; margin: 24px 0 0; list-style: none; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.fa-sokkuri-search-results[hidden] { display: none; }
.fa-sokkuri-search-option + .fa-sokkuri-search-option { border-top: 1px solid var(--line-soft); }
.fa-sokkuri-search-option a { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 64px; padding: 8px 40px 8px 12px; color: var(--ink); text-decoration: none; }
.fa-sokkuri-search-option a::after { position: absolute; right: 16px; width: 8px; height: 8px; border-right: 2px solid var(--soft); border-bottom: 2px solid var(--soft); content: ""; transform: rotate(-45deg); }
.fa-sokkuri-search-option__title { font-size: 14px; font-weight: 700; line-height: 20px; }
.fa-sokkuri-search-option__group { margin-top: 4px; color: var(--soft); font-size: 12px; line-height: 16px; }
.fa-sokkuri-search-empty { padding: 48px 16px; color: var(--soft); text-align: center; }

.fa-sokkuri-section + .fa-sokkuri-section { margin-top: 32px; }
.fa-sokkuri-section__header { display: flex; align-items: center; min-height: 44px; margin-bottom: 16px; }
.fa-sokkuri-card-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.fa-sokkuri-card { display: grid; grid-template-rows: auto 44px; min-width: 0; overflow: hidden; color: var(--ink); text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.fa-sokkuri-card__media { display: block; width: 100%; aspect-ratio: 2/1; overflow: hidden; background: #fff; }
.fa-sokkuri-card__media img { display: block; width: 100%; height: 100% !important; object-fit: contain; }
.fa-sokkuri-card__title { display: flex; align-items: center; min-width: 0; min-height: 44px; padding: 0 12px; overflow: hidden; font-size: 13px; font-weight: 700; line-height: 18px; }
.fa-sokkuri-card__title span { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.fa-sokkuri-gateway-list { display: grid; gap: 12px; }
.fa-sokkuri-gateway { display: grid; grid-template-columns: 56px minmax(0,1fr) 10px; align-items: center; gap: 14px; min-height: 92px; padding: 14px 16px; color: var(--ink); text-decoration: none; border: 1px solid transparent; border-radius: 18px; }
.fa-sokkuri-gateway--celebrity { background: #f5f1ff; border-color: #e3d9ff; }
.fa-sokkuri-gateway--kpop { background: #fff0f7; border-color: #ffd5e7; }
.fa-sokkuri-gateway--jpop { background: #fff7ed; border-color: #f8dfbf; }
.fa-sokkuri-gateway__icon { display: block; width: 56px; height: 56px; object-fit: contain; }
.fa-sokkuri-gateway__copy { display: grid; min-width: 0; grid-template-columns: 1fr auto; align-items: baseline; column-gap: 8px; }
.fa-sokkuri-gateway__copy strong { overflow: hidden; font-size: 15px; font-weight: 800; line-height: 22px; text-overflow: ellipsis; white-space: nowrap; }
.fa-sokkuri-gateway__copy span { grid-column: 1/-1; margin-top: 2px; overflow: hidden; color: var(--soft); font-size: 12px; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; }
.fa-sokkuri-gateway__copy small { grid-column: 2; grid-row: 1; color: var(--soft); font-size: 12px; font-weight: 400; line-height: 18px; }
.fa-sokkuri-chevron { width: 9px; height: 9px; border-right: 2px solid var(--soft); border-bottom: 2px solid var(--soft); transform: rotate(-45deg); }

.fa-sokkuri a:focus-visible, .fa-sokkuri input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (hover:hover) { .fa-sokkuri-card:hover, .fa-sokkuri-gateway:hover { opacity: .82; } }
@media (max-width:360px) {
  .fa-sokkuri { padding-right: 12px; padding-left: 12px; }
  .fa-sokkuri-card__title { padding-right: 8px; padding-left: 8px; font-size: 12px; }
  .fa-sokkuri-gateway { grid-template-columns: 52px minmax(0,1fr) 9px; gap: 12px; padding-right: 14px; padding-left: 14px; }
  .fa-sokkuri-gateway__icon { width: 52px; height: 52px; }
}
@media (min-width:768px) { .fa-sokkuri { max-width: 560px; padding-top: 16px; padding-right: 24px; padding-left: 24px; } }
@media (prefers-reduced-motion:reduce) { .fa-sokkuri * { scroll-behavior: auto !important; transition: none !important; } }
