:root {
  color-scheme: dark;
  --bg: #030c14;
  --fg: #e8fff6;
  --mut: #9bb9b4;
  --ac: #5effc1;
  --line: rgba(94, 255, 193, 0.18);
  --edge: rgba(232, 255, 246, 0.12);
  --edge-strong: rgba(232, 255, 246, 0.45);
  font-family: "Noto Sans KR", sans-serif;
  color: var(--fg);
  background: var(--bg);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--ac);
  outline-offset: 5px;
}
[v-cloak] {
  display: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 10;
  background: #102a31;
  padding: 12px;
}
.skip-link:focus {
  top: 10px;
}
#aurora {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 4vw;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  gap: 30px;
}
.wordmark {
  font-family: "Julius Sans One", sans-serif;
  font-size: 23px;
  letter-spacing: 0.12em;
}
.wordmark span {
  display: block;
  font-family: "Noto Sans KR", sans-serif;
  letter-spacing: 0.15em;
  font-size: 9px;
  margin-top: 6px;
  color: var(--mut);
}
nav {
  display: flex;
  gap: 28px;
  font-size: 12px;
}
nav a {
  padding: 8px 0;
  color: #bad1cb;
}
nav a:hover,
nav a.active {
  color: var(--ac);
}
nav a:last-child {
  color: var(--ac);
}
.menu-toggle {
  display: none;
}
.hero {
  min-height: 660px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 100px 20px 65px;
}
.eyebrow {
  font-family: "Julius Sans One", "Noto Sans KR", sans-serif;
  letter-spacing: 0.32em;
  font-size: 10px;
  color: var(--ac);
  font-weight: 400;
}
.hero > .eyebrow {
  letter-spacing: 0.6em;
  font-size: 12px;
}
.hero h1 {
  width: 100%;
  margin: 20px 0 14px;
  line-height: 0;
}
.hero-wordmark {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
  margin-inline: auto;
}
.tagline {
  font-size: 17px;
  font-weight: 200;
  letter-spacing: 0.04em;
  color: #cfe9e2;
  margin: 10px 0 38px;
  line-height: 1.9;
}
.mobile-break {
  display: none;
}
.search {
  display: flex;
  align-items: center;
  width: min(100%, 640px);
  gap: 12px;
  border: 1px solid var(--edge);
  border-radius: 99px;
  background: rgba(3, 12, 20, 0.65);
  backdrop-filter: blur(12px);
  padding: 6px 6px 6px 22px;
  box-shadow: 0 10px 50px #0003;
  transition: border-color 0.2s;
}
.search:focus-within {
  border-color: var(--edge-strong);
}
.search-icon {
  display: block;
  flex: 0 0 20px;
  align-self: center;
  color: var(--edge);
  transition: color 0.2s;
}
.search:focus-within .search-icon {
  color: var(--edge-strong);
}
.search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--fg);
  padding: 13px 0;
  font-size: 14px;
  font-weight: 200;
}
.search input::placeholder {
  color: #abc0ba;
}
.search button,
.primary {
  border: 0;
  border-radius: 99px;
  padding: 14px 24px;
  background: linear-gradient(100deg, #5effc1, #a78bfa);
  color: #03140f;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}
.chips button {
  background: #030c1460;
  border: 1px solid var(--edge);
  border-radius: 99px;
  font-size: 11px;
  padding: 7px 13px;
  color: #c2d9d2;
  transition: border-color 0.2s, color 0.2s;
}
.chips button:hover {
  border-color: var(--edge-strong);
  color: var(--ac);
}
.search-caption {
  color: var(--mut);
  font-size: 11px;
  margin-top: 21px;
  font-weight: 200;
  letter-spacing: 0.04em;
}
.search-feedback {
  width: 100%;
}
.search-results {
  text-align: left;
  padding: 18px 22px;
  background: #081d24f5;
  border: 1px solid var(--line);
  border-radius: 20px;
  margin-top: 18px;
  box-shadow: 0 20px 50px #0004;
}
.result-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--ac);
}
.search-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 0;
  border-top: 1px solid var(--edge);
  background: transparent;
  padding: 8px 0;
  text-align: left;
  font-size: 15px;
}
.search-result small {
  display: block;
  font-size: 10px;
  color: var(--mut);
  margin-bottom: 4px;
}
.explore,
.content {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 30px 80px;
  scroll-margin-top: 35px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 26px;
}
.section-heading h2 {
  font-size: 23px;
  font-weight: 400;
  margin: 10px 0;
}
.section-heading > .muted {
  font-size: 11px;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}
.menu-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: linear-gradient(140deg, #0d252b9c, #06131a91);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(14px);
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.menu-card:hover {
  border-color: #5effc180;
  transform: translateY(-3px);
}
.card-number {
  color: #8db5a9;
  font-size: 9px;
  letter-spacing: 0.1em;
}
.card-title {
  font-size: 19px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.card-title > span {
  font-size: 21px;
  color: var(--ac);
  font-weight: 200;
}
.card-subtitle {
  color: var(--mut);
  font-size: 11px;
  font-weight: 200;
}
.muted,
.notice {
  color: var(--mut);
  line-height: 1.9;
}
.text-button {
  background: none;
  border: 0;
  font-size: 12px;
  color: var(--mut);
  padding: 10px;
}
.content {
  max-width: 900px;
  outline: 0;
}
.detail .hero {
  min-height: 0;
  padding: 55px 20px 45px;
}
.detail .tagline {
  font-size: 14px;
  margin-bottom: 24px;
}
.detail .hero > .eyebrow {
  font-size: 9px;
}
.detail .search-caption {
  display: none;
}
.panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #071b23d9;
  backdrop-filter: blur(16px);
  margin: 18px 0;
}
.panel h3 {
  font-weight: 500;
  font-size: 21px;
}
.panel p {
  font-size: 14px;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.notice {
  font-size: 12px;
}
.panel label {
  display: block;
  font-size: 13px;
  line-height: 1.8;
}
.panel input:not([type="radio"]),
.panel select,
.panel textarea {
  display: block;
  width: 100%;
  margin-top: 10px;
  background: #021018;
  border: 1px solid #92b9ac55;
  color: var(--fg);
  border-radius: 10px;
  padding: 12px;
  min-height: 46px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.panel .primary {
  margin-top: 22px;
}
.inline-form {
  display: flex;
  gap: 20px;
  align-items: end;
}
.inline-form button,
.error button {
  border: 1px solid var(--line);
  background: #163c36;
  border-radius: 10px;
  padding: 13px 20px;
}
.inline-form label {
  flex: 1;
}
.panel fieldset {
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  margin: 0;
}
.panel legend {
  font-size: 15px;
  padding: 10px 0;
  line-height: 1.7;
}
.options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.options label {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 8px;
  background: #ffffff05;
  border-radius: 8px;
}
.options input {
  accent-color: var(--ac);
}
.options span {
  font-size: 12px;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  white-space: nowrap;
}
th,
td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}
caption {
  text-align: left;
  color: var(--mut);
  margin-bottom: 20px;
}
.empty {
  text-align: center;
  padding: 50px 20px;
}
.empty > span {
  font-size: 45px;
  color: var(--ac);
}
.empty h3 {
  font-size: 20px;
}
.empty p {
  color: var(--mut);
}
.error {
  color: #ffbdbd;
  font-size: 13px;
  line-height: 1.8;
}
.result-panel {
  margin-top: 35px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
blockquote {
  border-left: 2px solid var(--ac);
  margin: 20px 0;
  padding-left: 20px;
  line-height: 1.8;
  font-size: 14px;
}
footer {
  display: flex;
  align-items: center;
  gap: 25px;
  border-top: 1px solid #ffffff14;
  padding: 30px 4vw;
  color: var(--mut);
  font-size: 10px;
}
footer .wordmark {
  font-size: 17px;
  color: #d2e9df;
}
footer > span {
  margin-left: auto;
}
@media (min-width: 1500px) {
  .hero {
    padding-top: 135px;
    min-height: 740px;
  }
}
@media (max-width: 900px) {
  nav {
    gap: 16px;
    font-size: 11px;
  }
  .site-header {
    padding: 23px;
  }
  .wordmark {
    font-size: 21px;
  }
  .menu-card {
    padding: 22px;
  }
  .card-title {
    font-size: 17px;
  }
}
@media (max-width: 700px) {
  .site-header {
    padding: 20px;
  }
  .menu-toggle {
    display: block;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 99px;
    padding: 8px 15px;
    font-size: 11px;
  }
  nav {
    display: none;
    position: absolute;
    top: 85px;
    left: 16px;
    right: 16px;
    background: #071b23f5;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 15px 22px;
    z-index: 5;
    box-shadow: 0 20px 50px #0007;
  }
  nav.open {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  nav a {
    font-size: 14px;
    padding: 10px;
  }
  .hero {
    padding-top: 90px;
    min-height: 610px;
  }
  .hero > .eyebrow {
    font-size: 9px;
    letter-spacing: 0.4em;
  }
  .tagline {
    font-size: 14px;
  }
  .mobile-break {
    display: block;
  }
  .search {
    gap: 7px;
    padding-left: 15px;
  }
  .search-icon {
    display: none;
  }
  .search input {
    font-size: 12px;
  }
  .search button {
    padding: 13px 16px;
    font-size: 12px;
  }
  .chips {
    gap: 7px;
    max-width: 340px;
  }
  .chips button {
    font-size: 10px;
  }
  .explore,
  .content {
    padding: 0 18px 50px;
  }
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .menu-card {
    padding: 18px 15px;
    gap: 16px;
  }
  .card-title {
    font-size: 16px;
  }
  .card-subtitle {
    font-size: 10px;
    line-height: 1.6;
  }
  .card-number {
    font-size: 8px;
  }
  .section-heading h2 {
    font-size: 21px;
  }
  .section-heading > .muted {
    display: none;
  }
  .eyebrow {
    font-size: 8px;
  }
  .panel {
    padding: 20px;
  }
  .panel h3 {
    font-size: 18px;
  }
  .detail .hero {
    padding-top: 40px;
  }
  .options {
    flex-direction: column;
  }
  .inline-form {
    flex-wrap: wrap;
  }
  .inline-form label {
    min-width: 180px;
  }
  footer {
    padding: 25px 20px;
    gap: 15px;
    flex-wrap: wrap;
  }
  footer > span {
    font-size: 9px;
  }
  .search-results {
    padding: 16px;
  }
  .result-heading {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
  .search-loading-mark { animation: none; opacity: 0.85; }
}
/* Home is a full viewport; results remain in the document flow. */
#main:not(.detail) .hero {
  min-height: 100vh;
  min-height: 100dvh;
  justify-content: center;
  padding: 40px 20px;
}
.chips .explore-toggle { display: inline-flex; align-items: center; justify-content: center; }
.chips .explore-toggle[aria-expanded="true"] { border-color: var(--edge-strong); color: var(--ac); }
.chip-plus { display: block; transition: transform 0.2s ease; }
.chips .explore-toggle[aria-expanded="true"] .chip-plus { transform: rotate(45deg); }
.home-login {
  position: absolute;
  top: max(18px, env(safe-area-inset-top));
  right: max(24px, env(safe-area-inset-right));
  z-index: 2;
  padding: 12px 4px;
  color: var(--mut);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
}
.home-login:hover { color: var(--fg); }
.home-account { position: fixed; top: max(18px, env(safe-area-inset-top)); right: max(24px, env(safe-area-inset-right)); z-index: 6; }
.home-account .home-login { position: static; display: block; border: 0; background: none; }
.profile-menu { position: absolute; top: 100%; right: 0; width: 220px; max-width: calc(100vw - 48px); margin-top: 8px; padding: 8px; background: #161b26; border: 1px solid #ffffff26; border-radius: 16px; box-shadow: 0 20px 40px #0005; text-align: left; font-size: 12px; }
.profile-summary { display: flex; flex-direction: column; gap: 5px; padding: 10px; border-bottom: 1px solid #ffffff1a; overflow-wrap: anywhere; }
.profile-email { color: var(--mut); font-size: 10px; }
.profile-provider { color: var(--ac); font-size: 10px; }
.profile-logout { width: 100%; padding: 10px; margin-top: 4px; text-align: left; color: #fca5a5; border: 0; background: none; border-radius: 8px; font-size: 12px; }
.profile-logout:hover { background: #ef44441a; }
.profile-menu .error { margin: 8px 10px; }
.home-symbol {
  position: fixed;
  top: max(18px, env(safe-area-inset-top));
  left: max(24px, env(safe-area-inset-left));
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
}
.home-symbol img { display: block; object-fit: contain; }
.header-symbol { vertical-align: middle; margin-right: 10px; }
.hero .tagline { white-space: pre-line; min-height: 3.8em; }
#app { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
#main { flex: 1; }
#main:not(.detail) { display: flex; flex-direction: column; }
#main:not(.detail) .hero { flex: 1; min-height: 0; }
#main.has-feed .hero,
#main.has-content .hero { flex: none; min-height: 0; justify-content: flex-start; padding: 72px 20px 8px; }
.result-sheet { display: flex; flex-direction: column; align-items: stretch; align-self: center; width: min-content; min-width: min(100%, 720px); max-width: 100%; margin: 0 auto; padding: 0 20px; box-sizing: border-box; overflow-x: auto; }
.result-sheet.wide { max-width: min(100%, 1080px); }
.result-sheet > .search-loading,
.result-sheet > .search-feed,
.result-sheet > .content { width: auto; max-width: none; margin: 0; box-sizing: border-box; }
.search-loading { margin: 0; padding: 2px 0 0; display: flex; justify-content: center; }
.search-loading-mark { width: 12px; height: 12px; border-radius: 50%; background: var(--ac); transform-origin: center; animation: search-breathe 0.9s ease-in-out infinite; }
@keyframes search-breathe { 0%, 100% { transform: scale(0.72); } 50% { transform: scale(1.12); } }
.search-feed { padding: 0 0 16px; display: flex; flex-direction: column; gap: 4px; }
.portal-dock { width: 100%; }
.portal-dock.radio-live { position: fixed; z-index: 5; left: 0; right: 0; bottom: 0; background: #0e1117f2; }
#main.radio-open { padding-bottom: 124px; }
.radio-bar { margin: 0; padding: 8px 16px 0; }
.radio-bar-chassis {
  height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 12px;
  border-radius: 12px;
  background: linear-gradient(155deg, #1d222b 0%, #13161d 60%, #0d1015 100%);
  box-shadow: inset 1px 1px 1px rgba(255, 255, 255, 0.12), inset -1px -1px 2px rgba(0, 0, 0, 0.85), 0 0 0 1px #090c10;
}
.radio-screw { flex: none; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, #475569 0%, #1e293b 70%, #0f172a 100%); box-shadow: inset 1px 1px 1px rgba(255, 255, 255, 0.25); }
.radio-lcd {
  flex: 1;
  min-width: 0;
  height: 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 0 12px;
  border-radius: 8px;
  background-color: #040d0a;
  background-image: repeating-linear-gradient(0deg, rgba(16, 185, 129, 0.04) 0 1px, transparent 1px 3px);
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.95), inset 0 0 0 1px #0e1614;
}
.radio-lcd span, .radio-lcd strong { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.radio-lcd span { color: rgba(16, 244, 156, 0.35); font-size: 9px; letter-spacing: 0.14em; }
.radio-lcd strong { color: #10f49c; font-size: 14px; font-weight: 600; text-shadow: 0 0 8px rgba(16, 244, 156, 0.65); }
.radio-bands { display: flex; align-items: center; gap: 6px; }
.radio-bands button {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.28);
  color: #94a3b8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
}
.radio-bands button[aria-pressed="true"] { color: #fff; border-color: rgba(16, 244, 156, 0.45); background: rgba(16, 185, 129, 0.12); }
.radio-led { width: 6px; height: 6px; border-radius: 50%; background: #334155; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.65); }
.radio-bands button[aria-pressed="true"] .radio-led { background: #10f49c; box-shadow: 0 0 6px #10f49c; }
@media (max-width: 700px) {
  #main.radio-open { padding-bottom: 116px; }
  .radio-bar { padding: 6px 10px 0; }
  .radio-bar-chassis { height: 52px; gap: 8px; padding: 6px 8px; }
  .radio-screw { display: none; }
  .radio-bands button { padding: 0 8px; font-size: 10px; }
}
.home-login { max-width: calc(100vw - 110px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.portal-footer { padding: 8px 24px; min-height: 40px; background: #0e1117f2; border-top: 1px solid #ffffff0d; font-size: 12px; }
.footer-inner { width: 100%; max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.footer-brand, .footer-links { display: flex; align-items: center; gap: 12px; }
.footer-brand strong { color: var(--fg); }
.footer-divider { display: inline-block; width: 1px; height: 12px; background: #ffffff1a; }
.footer-links a:hover { color: var(--fg); }
.footer-copyright { color: #84929e; margin-left: 8px; }
@media (max-width: 700px) {
  .portal-footer { padding: 12px 16px; font-size: 10px; }
  .footer-inner { flex-direction: column; gap: 8px; }
  .footer-brand, .footer-links { flex-wrap: wrap; justify-content: center; gap: 8px; }
  .footer-copyright { margin-left: 0; }
}
.search-feedback { text-align: center; }
.search-message { line-height: 1.7; font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; text-align: center; }
.search-results { padding: 0; margin: 6px 0 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.result-chevron { flex: none; color: var(--mut); transition: transform 0.2s ease, color 0.2s ease; }
.result-chevron.open { transform: rotate(180deg); color: var(--ac); }
#main.has-feed .content { padding-top: 0; padding-bottom: 28px; }
