:root {
  --sb60-ink: #16233a;
  --sb60-body: #526a7c;
  --sb60-blue: #075f9c;
  --sb60-blue-dark: #075f96;
  --sb60-sky: #eef8fc;
  --sb60-line: #d7e3ea;
  --sb60-soft: #f5fafc;
  --sb60-white: #ffffff;
  --sb60-radius: 14px;
  --sb60-ease: cubic-bezier(.22, .7, .2, 1);
}

html body.sb-v60 .sb60-explorer { background: #fff; }
html body.sb-v60 .sb60-explorer > .shell { max-width: 1200px; }
html body.sb-v60 .sb60-head { margin-bottom: 28px; }
html body.sb-v60 .sb60-head .eyebrow { color: var(--sb60-blue-dark); }
html body.sb-v60 .sb60-root ~ .section-head,
html body.sb-v60 .sb60-root ~ .sb46-category-switcher,
html body.sb-v60 .sb60-root ~ .sb46-category-stage,
html body.sb-v60 .sb60-root ~ .category-grid,
html body.sb-v60 .sb60-root ~ .category-image-disclosure,
html body.sb-v60 .sb60-root ~ .extension-row { display: none !important; }

.sb60-root {
  color: var(--sb60-ink);
  font-family: Pretendard, sans-serif;
}

.sb60-tabs-viewport {
  position: relative;
  overflow-x: auto;
  border-bottom: 1px solid var(--sb60-line);
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}
.sb60-tabs-viewport::-webkit-scrollbar { display: none; }
.sb60-tab-hint { display: none; }
.sb60-tablist {
  min-width: max-content;
  height: 58px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: clamp(20px, 2vw, 28px);
}
.sb60-tab {
  position: relative;
  min-width: 48px;
  min-height: 48px;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: #526a7c;
  font: 600 15px/1.3 Pretendard, sans-serif;
  white-space: nowrap;
  cursor: pointer;
}
.sb60-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--sb60-blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms var(--sb60-ease);
}
.sb60-tab:hover { color: var(--sb60-ink); }
.sb60-tab[aria-selected="true"] { color: var(--sb60-blue-dark); }
.sb60-tab[aria-selected="true"]::after { transform: scaleX(1); }
.sb60-tab:focus-visible,
.sb60-scope-button:focus-visible,
.sb60-space-button:focus-visible,
.sb60-subuse:focus-visible,
.sb60-copy:focus-visible {
  outline: 2px solid #075f9c;
  outline-offset: 2px;
}

.sb60-panel { padding-top: 32px; }
.sb60-panel[hidden] { display: none !important; }
.sb60-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 40px;
  align-items: end;
  margin-bottom: 24px;
}
.sb60-intro h3 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.22;
  letter-spacing: -.04em;
}
.sb60-intro p,
.sb60-disclosure,
.sb60-scope-status { margin: 0; color: var(--sb60-body); line-height: 1.65; }
.sb60-disclosure {
  padding-left: 16px;
  border-left: 2px solid #87c7df;
  font-size: 14px;
}

.sb60-scope {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--sb60-line);
  border-radius: var(--sb60-radius);
  background: var(--sb60-soft);
}
.sb60-scope-button {
  min-width: 220px;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid #bfd5e0;
  border-radius: 12px;
  background: #fff;
  color: var(--sb60-ink);
  font: 700 15px/1.3 Pretendard, sans-serif;
  cursor: pointer;
}
.sb60-scope-button[aria-pressed="true"] {
  border-color: var(--sb60-blue);
  background: var(--sb60-blue);
  color: #fff;
}
.sb60-scope-copy { margin-left: 12px; color: var(--sb60-body); font-size: 14px; }
.sb60-scope-status { margin: 12px 0 24px; font-size: 14px; }
.sb60-next-step {
  min-height: 68px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 16px;
  padding: 12px 16px;
  border: 1px solid #cbdce7;
  border-radius: 12px;
  background: #f5fafc;
  color: #405d71;
}
.sb60-next-step[hidden], .sb60-space-list[hidden] { display: none !important; }
.sb60-next-step span { display: flex; gap: 12px; align-items: center; font-size: 14px; font-weight: 700; }
.sb60-next-step b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #075f9c; color: #fff; }
.sb60-next-step i { color: #328eBA; font-size: 22px; font-style: normal; }

.sb60-space-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.sb60-space-button {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-rows: auto 48px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--sb60-line);
  border-radius: 12px;
  background: #fff;
  color: var(--sb60-ink);
  cursor: pointer;
  text-align: left;
}
.sb60-space-button:disabled { cursor: not-allowed; opacity: .58; }
.sb60-space-button:not(:disabled):hover { border-color: #8dbdd2; }
.sb60-space-button[aria-expanded="true"] {
  border: 2px solid var(--sb60-blue);
  box-shadow: var(--shadow-m);
}
.sb60-space-button[aria-expanded="true"]::after {
  content: "✓";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--sb60-blue-dark);
  font-size: 13px;
  font-weight: 800;
}
.sb60-space-button img {
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  display: block;
  object-fit: cover;
  opacity: 0;
  background: #edf2f4;
}
.sb60-space-button img.is-ready { opacity: 1; }
.sb60-thumb-loading {
  position: absolute;
  inset: 0 0 48px;
  display: grid;
  place-items: center;
  padding: 8px;
  background: #edf4f7;
  color: #527184;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}
.sb60-thumb-loading[hidden] { display: none; }
.sb60-space-name {
  align-self: center;
  padding: 0 12px;
  overflow: hidden;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.sb60-detail {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(340px, 5fr);
  gap: 20px;
  margin-top: 24px;
  padding: 24px;
  border: 1px solid #cddfe8;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff 0%, #fff 64%, #f2f8fb 100%);
}
.sb60-detail[hidden] { display: none !important; }
.sb60-gallery-card { margin: 0; }
.sb60-gallery-frame {
  position: relative;
  aspect-ratio: 8 / 5;
  overflow: hidden;
  border-radius: 16px;
  background: #e9eff2;
}
.sb60-gallery-frame:focus-visible { outline: 3px solid rgba(8, 121, 187, .34); outline-offset: 3px; }
.sb60-gallery-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0;
  transition: opacity 240ms ease;
}
.sb60-gallery-frame img.is-ready { opacity: 1; }
.sb60-gallery-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(105deg, #edf4f7 20%, #f7fbfc 42%, #edf4f7 64%);
  background-size: 220% 100%;
  color: #35647d;
  font-size: 14px;
  font-weight: 700;
  animation: sb60-loading 1.4s linear infinite;
}
.sb60-gallery-loading[hidden] { display: none; }
@keyframes sb60-loading { to { background-position: -220% 0; } }
.sb60-image-error {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #f2f7fa;
  color: #496477;
  text-align: center;
  font-size: 14px;
}
.sb60-image-error[hidden] { display: none; }
.sb60-ai-label {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 7px 10px;
  border-radius: 50px;
  background: rgba(255, 255, 255, .94);
  color: #16516f;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}
.sb60-gallery-card figcaption {
  display: grid;
  gap: 6px;
  padding-top: 14px;
}
.sb60-gallery-card figcaption b { font-size: 18px; }
.sb60-gallery-card figcaption span { color: var(--sb60-body); font-size: 14px; }
.sb60-gallery-card figcaption small { color: #526a7c; font-size: 12px; font-weight: 700; }
.sb60-gallery-nav { display: grid; grid-template-columns: 44px 1fr 44px; gap: 8px; align-items: center; margin-top: 12px; }
.sb60-gallery-nav button { width: 44px; height: 44px; border: 1px solid #bfd5e0; border-radius: 50%; background: #fff; color: #075f96; font-size: 18px; cursor: pointer; }
.sb60-gallery-nav span { text-align: center; color: #405d71; font-size: 13px; font-weight: 750; }
.sb60-gallery-dots { display: inline-flex; gap: 6px; margin-left: 8px; vertical-align: middle; }
.sb60-gallery-dots i { width: 7px; height: 7px; border-radius: 50%; background: #bfd3de; }
.sb60-gallery-dots i.is-active { background: #075f9c; }

.sb60-detail-info {
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto auto auto 1fr auto;
  align-content: start;
}
.sb60-detail-info > span { color: var(--sb60-blue-dark); font-size: 13px; font-weight: 800; }
.sb60-detail-info h4 {
  margin: 8px 0 10px;
  font-size: clamp(23px, 2.3vw, 32px);
  line-height: 1.25;
  letter-spacing: -.035em;
}
.sb60-detail-info > p { margin: 0; color: var(--sb60-body); line-height: 1.65; }
.sb60-subuses { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.sb60-subuse {
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid #c9dae3;
  border-radius: 50px;
  background: #fff;
  color: #405d71;
  font: 650 13px/1 Pretendard, sans-serif;
  cursor: pointer;
}
.sb60-subuse[aria-pressed="true"] { border-color: #5ba8cb; background: var(--sb60-sky); color: #075f96; }
.sb60-note {
  margin: 0 0 16px;
  padding: 15px 16px;
  border-left: 3px solid #58aacb;
  background: #f4fafc;
}
.sb60-note b { display: block; margin-bottom: 6px; font-size: 14px; }
.sb60-note p { margin: 0; color: #425f73; font-size: 14px; line-height: 1.62; }

.sb60-compare { display: grid; gap: 8px; margin-bottom: 16px; }
.sb60-compare details { border-top: 1px solid var(--sb60-line); }
.sb60-compare summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
}
.sb60-compare summary::after { content: "+"; color: var(--sb60-blue); font-size: 18px; }
.sb60-compare details[open] summary::after { content: "−"; }
.sb60-compare details p { margin: -2px 0 13px; color: var(--sb60-body); font-size: 13px; line-height: 1.6; }
.sb60-verify { margin: 0 0 18px; padding: 0; list-style: none; counter-reset: verify; }
.sb60-verify li { position: relative; margin-top: 7px; padding-left: 27px; color: #496477; font-size: 13px; line-height: 1.5; }
.sb60-verify li::before {
  counter-increment: verify;
  content: counter(verify);
  position: absolute;
  left: 0;
  top: 1px;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e5f3f8;
  color: #0b658f;
  font-size: 11px;
  font-weight: 800;
}
.sb60-actions { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: stretch; }
.sb60-actions .button { min-height: 52px; justify-content: center; }
.sb60-copy {
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid #bcd3df;
  border-radius: 12px;
  background: #fff;
  color: #1a5f80;
  font: 700 14px/1.2 Pretendard, sans-serif;
  cursor: pointer;
}
.sb60-copy-status { grid-column: 1 / -1; min-height: 20px; color: #376078; font-size: 12px; }

.sb60-guide {
  min-height: 310px;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 42px;
  align-items: start;
  padding: 34px 0 10px;
}
.sb60-guide h3 { margin: 0 0 12px; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.04em; }
.sb60-guide p { margin: 0; color: var(--sb60-body); line-height: 1.7; }
.sb60-guide-list { display: grid; gap: 0; border-top: 1px solid var(--sb60-line); }
.sb60-guide-list li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 17px 0; border-bottom: 1px solid var(--sb60-line); }
.sb60-guide-list span { color: var(--sb60-blue-dark); font-size: 12px; font-weight: 800; }
.sb60-guide-list b { font-size: 15px; }
.sb60-guide-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

body.sb-v60.sb60-category-in-view .sb-contact-dock {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (max-width: 1119px) {
  .sb60-tabs-viewport { overflow: visible; margin-inline: 0; padding-inline: 0; }
  .sb60-tablist { min-width: 0; height: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 8px; }
  .sb60-tab { min-width: 0; padding-inline: 4px; font-size: 13px; white-space: normal; }
  .sb60-tab { scroll-snap-align: start; }
  .sb60-space-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .sb60-detail { grid-template-columns: 1fr; }
  .sb60-detail-info { grid-template-rows: auto; }
  .sb60-actions .button { width: 100%; }
}

@media (max-width: 767px) {
  .sb60-head { display: block !important; }
  .sb60-head > p { margin-top: 14px; }
  .sb60-tabs-viewport { overflow-x: auto; margin-inline: -16px; padding-inline: 16px 36px; }
  .sb60-tabs-viewport::after {
    content: "";
    position: sticky;
    right: 0;
    float: right;
    width: 20px;
    height: 52px;
    margin-top: -52px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .96));
    pointer-events: none;
  }
  .sb60-tablist { min-width: max-content; height: 52px; display: flex; gap: 24px; }
  .sb60-tab { min-width: 48px; padding-inline: 2px; font-size: 14px; white-space: nowrap; }
  .sb60-tab-hint { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; color: #526a7c; font-size: 12px; }
  .sb60-tab-hint button { min-height: 44px; padding: 0; border: 0; background: transparent; color: #075f96; font: 750 13px/1.2 Pretendard, sans-serif; }
  .sb60-panel { padding-top: 24px; }
  .sb60-intro { grid-template-columns: 1fr; gap: 12px; }
  .sb60-intro h3 { font-size: 27px; }
  .sb60-scope { display: grid; grid-template-columns: 1fr 1fr; padding: 8px; }
  .sb60-scope-button { min-width: 0; padding: 0 8px; }
  .sb60-scope-copy { grid-column: 1 / -1; margin: 3px 4px 2px; }
  .sb60-next-step { grid-template-columns: 1fr; gap: 8px; }
  .sb60-next-step i { transform: rotate(90deg); text-align: center; }
  .sb60-space-list { gap: 8px; }
  .sb60-space-name { padding: 0 8px; font-size: 13px; }
  .sb60-detail {
    min-height: 0;
    margin-top: 16px;
    padding: 16px 16px calc(88px + env(safe-area-inset-bottom));
    border-radius: 16px;
  }
  .sb60-gallery-frame { border-radius: 12px; }
  .sb60-ai-label { top: 8px; left: 8px; }
  .sb60-actions { grid-template-columns: 1fr; }
  .sb60-copy { width: 100%; }
  .sb60-guide { grid-template-columns: 1fr; gap: 24px; padding-top: 26px; }
  .sb60-guide-actions .button { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .sb60-tab::after,
  .sb60-gallery-frame img { transition: none !important; }
  .sb60-root { scroll-behavior: auto !important; }
  .sb60-gallery-loading { animation: none !important; }
}
