@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800;900&display=swap");
:root {
  font-family: "Noto Sans KR", var(--seed-font-family);
  color: #0b1c2e;
  background: #ffffff;
  font-synthesis: none;
  --brand: #0b1c2e;
  --line: #e4e7ec;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #c8aa6e;
  outline-offset: 4px;
}
header,
main,
footer {
  max-width: 1200px;
  margin: auto;
  padding-left: 40px;
  padding-right: 40px;
}
header {
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 24px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: -1px;
}
.brand-icon {
  width: 36px;
  height: 36px;
  background: var(--brand);
  display: grid;
  place-items: center;
  border-radius: 11px;
}
.brand-icon svg {
  width: 22px;
  height: 22px;
}
.brand-note {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: #667085;
  margin-left: 12px;
}
.edition {
  font-size: 12px;
  letter-spacing: 1.5px;
  color: #667085;
}
.edition span {
  margin-left: 20px;
  border: 1px solid #e4e7ec;
  border-radius: 50%;
  padding: 7px;
  letter-spacing: 0;
}
.intro {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
  padding: 56px 0 46px;
}
.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1px;
  margin: 0 0 18px;
}
.intro h1 {
  font-size: 56px;
  letter-spacing: -3px;
  line-height: 1.22;
  margin: 0;
  font-weight: 900;
}
.intro h1 em {
  font-style: normal;
  color: var(--brand);
}
.intro-copy {
  line-height: 1.8;
  color: #667085;
  margin: 20px 0 0;
  font-size: 16px;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  gap: 15px;
}
.tabs {
  display: flex;
  gap: 28px;
}
.tabs button {
  border: 0;
  background: none;
  color: #667085;
  font-size: 19px;
  font-weight: 700;
  padding: 18px 0;
  border-bottom: 3px solid transparent;
}
.tabs button.active {
  color: var(--brand);
  border-color: var(--brand);
}
.tabs span {
  font-weight: 400;
  font-size: 13px;
  margin-left: 8px;
}
.patch {
  font-size: 12px;
  color: #667085;
}
.patch:before {
  content: "●";
  color: #c8aa6e;
  margin-right: 6px;
}
.search-row {
  display: flex;
  gap: 22px;
  align-items: center;
  margin: 25px 0 30px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: var(--seed-radius-r3, 12px);
  padding: 13px 18px;
  flex: 1;
}
.search-box > span {
  font-size: 30px;
  line-height: 1;
  color: #006c87;
}
.search-box input {
  background: none;
  width: 100%;
  border: 0;
  outline: none !important;
  color: #0b1c2e;
  font-size: 16px;
  min-width: 0;
}
.search-box:focus-within {
  outline: 2px solid #006c87;
}
.search-box input::placeholder {
  color: #667085;
}
.search-box kbd {
  border: 1px solid #e4e7ec;
  color: #667085;
  padding: 2px 8px;
  border-radius: 4px;
}
.easy-filter {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.easy-filter input {
  accent-color: var(--brand);
  width: 17px;
  height: 17px;
}
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 17px;
}
.results-header h2 {
  font-size: 18px;
  margin: 0;
  letter-spacing: -0.6px;
}
.results-header p {
  font-size: 13px;
  color: #667085;
  margin: 0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.card-wrap {
  position: relative;
  min-width: 0;
  display: flex;
}
.card {
  text-align: left;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--seed-radius-r4, 16px);
  padding: 22px;
  transition:
    transform 0.18s,
    border-color 0.18s,
    box-shadow 0.18s;
  color: inherit;
  min-width: 0;
  width: 100%;
}
.fav {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  color: #c9ced6;
  border-radius: 9px;
}
.fav:hover {
  background: #f7f2e6;
  color: #c8aa6e;
}
.fav.on {
  color: #f0b429;
}
.card:hover {
  transform: translateY(-3px);
  border-color: #c8aa6e;
  box-shadow: 0 6px 18px #0b1c2e0d;
}
.card-top {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
}
.portrait {
  width: 58px;
  height: 58px;
  border-radius: 15px;
  object-fit: cover;
  background: #f2f4f7;
}
.card h3 {
  font-size: 20px;
  margin: 0 0 3px;
  letter-spacing: -0.7px;
}
.subtitle {
  font-size: 12px;
  color: #667085;
  display: block;
}
.card p {
  font-size: 16px;
  line-height: 1.7;
  min-height: 54px;
  margin: 0 0 20px;
  word-break: keep-all;
}
.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #667085;
}
.badge {
  background: #edf5f8;
  border-radius: 6px;
  padding: 5px 8px;
}
.badge.pending {
  background: #f2f4f7;
  color: #667085;
}
.arrow {
  font-size: 20px;
  color: #006c87;
}
.region-picker {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.region-card {
  text-align: left;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--seed-radius-r4, 16px);
  padding: 22px;
  cursor: pointer;
  transition:
    transform 0.18s,
    border-color 0.18s,
    box-shadow 0.18s;
}
.region-card:hover {
  transform: translateY(-3px);
  border-color: #c8aa6e;
  box-shadow: 0 6px 18px #0b1c2e0d;
}
.region-card h3 {
  font-size: 20px;
  margin: 0 0 4px;
}
.region-story {
  grid-column: 1/-1;
  max-width: 720px;
  margin: 0 auto;
}
.region-back {
  background: none;
  border: none;
  color: #006c87;
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  margin-bottom: 14px;
}
.region-title {
  font-size: 26px;
  margin: 0 0 26px;
}
.region-chapter {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.region-chapter:last-child {
  border-bottom: none;
}
.region-chapter-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.region-chapter-head h3 {
  font-size: 18px;
  margin: 0;
}
.region-chapter p {
  font-size: 17px;
  line-height: 1.8;
  margin: 0 0 14px;
  word-break: keep-all;
}
.empty {
  grid-column: 1/-1;
  padding: 60px 20px;
  text-align: center;
  border: 1px dashed #e4e7ec;
  border-radius: var(--seed-radius-r3, 12px);
  color: #667085;
}
.empty button {
  border: 0;
  background: var(--brand);
  color: white;
  border-radius: var(--seed-radius-r2, 8px);
  padding: 10px 20px;
}
.data-note {
  display: flex;
  gap: 18px;
  margin: 32px 0 55px;
  padding: 17px 20px;
  background: #f2f4f7;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: #667085;
}
.data-note > span {
  white-space: nowrap;
  font-weight: 700;
}
.data-note p {
  margin: 0;
}
footer {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  padding-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
footer .brand {
  font-size: 19px;
}
.footer-dot {
  font-size: 10px;
  color: #c8aa6e;
}
footer p {
  font-size: 13px;
  color: #667085;
}
footer small {
  flex-basis: 100%;
  font-size: 12px;
  color: #667085;
  line-height: 1.6;
}
dialog {
  --dialog-padding: 36px;
  --dialog-scroll-gap: 10px;
  --dialog-scroll-side-gap: 8px;
  --dialog-scroll-content-gap: 0px;
  padding: var(--dialog-padding);
  border: 1px solid #e4e7ec;
  border-radius: 22px;
  background: #ffffff;
  color: inherit;
  width: min(620px, calc(100% - 28px));
  max-height: 88vh;
  /* Keep the native scrollbar inside a clipped, rounded shell. */
  overflow: hidden;
}
#detail-content {
  max-height: calc(
    88vh - (var(--dialog-padding) * 2) - (var(--dialog-scroll-gap) * 2)
  );
  margin: var(--dialog-scroll-gap) var(--dialog-scroll-side-gap)
    var(--dialog-scroll-gap) 8px;
  padding-right: var(--dialog-scroll-content-gap);
  overflow-y: auto;
  /* Keep wheel, touch and keyboard scrolling while removing visual chrome. */
  scrollbar-gutter: auto;
  scrollbar-width: none;
}
#detail-content::-webkit-scrollbar {
  display: none;
}
dialog::backdrop {
  background: #0b1c2ea6;
  backdrop-filter: blur(4px);
}
.close {
  position: absolute;
  top: 14px;
  right: 17px;
  width: 40px;
  height: 40px;
  background: #f2f4f7;
  border: 0;
  border-radius: 50%;
  font-size: 27px;
  color: #0b1c2e;
}
.detail-head {
  display: flex;
  align-items: center;
  gap: 17px;
  margin: 9px 35px 24px 0;
}
.detail-profile {
  display: flex;
  align-items: center;
  flex-direction: column;
  flex-shrink: 0;
  gap: 10px;
}
.detail-profile > .portrait,
.detail-head img.portrait {
  width: 76px;
  height: 76px;
  border-radius: 19px;
}
.skill-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, 34px);
  gap: 4px;
}
.skill-shortcut {
  position: relative;
  width: 34px;
  height: 34px;
  padding: 2px;
  border: 1px solid #d6dde5;
  border-radius: 8px;
  background: #ffffff;
}
.skill-shortcut:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}
.skill-shortcut-icon {
  display: block;
  width: 28px !important;
  height: 28px !important;
  border-radius: 6px !important;
  object-fit: cover;
}
.skill-shortcut-key {
  position: absolute;
  right: -4px;
  bottom: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  border-radius: 5px;
  background: #0b1c2e;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
}
.skill:focus {
  outline: 2px solid #c8aa6e;
  outline-offset: 4px;
}
.detail-head h2 {
  font-size: 28px;
  margin: 4px 0;
}
.detail-head span {
  font-size: 13px;
  color: #667085;
}
.summary {
  font-size: 24px;
  line-height: 1.6;
  font-weight: 700;
  letter-spacing: -0.8px;
}
.detail-block {
  padding: 19px 21px;
  border-radius: var(--seed-radius-r3, 12px);
  background: #edf5f8;
  margin: 14px 0;
}
.detail-block:nth-of-type(even) {
  background: #f7f4ec;
}
.detail-block h3 {
  font-size: 13px;
  margin: 0 0 8px;
  color: #795e2d;
}
.detail-block p {
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
  word-break: keep-all;
}
.lore p {
  margin: 0 0 14px;
}
.lore p:last-of-type {
  margin-bottom: 12px;
}
.lore-relations {
  border-top: 1px solid #e4e7ec;
  margin: 17px 0 22px;
  padding-top: 15px;
}
.lore-relations h4 {
  margin: 0 0 11px;
  color: #795e2d;
  font-size: 14px;
}
.relation-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
}
.relation-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1.35;
}
.relation-legend-item b {
  font-size: 12px;
}
.relation-legend-item span {
  color: #667085;
}
.relation-legend-item.relation-hostile {
  background: #fff0f0;
  color: #a33a3a;
}
.relation-legend-item.relation-friendly {
  background: #edf8f2;
  color: #24734c;
}
.relation-legend-item.relation-neutral {
  background: #f2f4f7;
  color: #475467;
}
.relation-diagram {
  padding: 15px 12px 13px;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  background: #ffffff;
}
.relation-diagram-center {
  display: flex;
  justify-content: center;
}
.relation-center-card {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 7px;
  border: 2px solid #c8aa6e;
  border-radius: 12px;
  background: #fffaf0;
  font-size: 14px;
  font-weight: 800;
}
.relation-center-card .portrait {
  width: 42px;
  height: 42px;
  border-radius: 11px;
}
.relation-connector {
  position: relative;
  height: 20px;
}
.relation-connector::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #c8aa6e;
  content: "";
}
.relation-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(106px, 1fr));
  gap: 8px;
  padding-top: 10px;
}
.relation-grid::before {
  position: absolute;
  top: 0;
  right: 10%;
  left: 10%;
  height: 2px;
  background: #d6dde5;
  content: "";
}
.relation-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  width: 100%;
  padding: 7px 9px;
  border: 1px solid #d6dde5;
  border-radius: 10px;
  background: #ffffff;
  color: #0b1c2e;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
.relation-card::before {
  position: absolute;
  top: -10px;
  left: 50%;
  width: 2px;
  height: 10px;
  background: #d6dde5;
  content: "";
}
.relation-card.relation-hostile {
  border-color: #e7b9b9;
  background: #fff8f8;
}
.relation-card.relation-friendly {
  border-color: #b7dec9;
  background: #f8fcfa;
}
.relation-card.relation-neutral {
  border-color: #d6dde5;
  background: #ffffff;
}
.relation-card:hover {
  border-color: #c8aa6e;
  background: #fffaf0;
  transform: translateY(-1px);
}
.relation-card:focus-visible {
  outline: 3px solid #c8aa6e;
  outline-offset: 3px;
}
.relation-card .portrait {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 9px;
}
.relation-card-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 2px;
}
.relation-name {
  min-width: 0;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.relation-kind {
  display: inline-flex;
  align-self: flex-start;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.3;
}
.relation-card.relation-hostile .relation-kind {
  background: #ffe4e4;
  color: #a33a3a;
}
.relation-card.relation-friendly .relation-kind {
  background: #dff3e7;
  color: #24734c;
}
.relation-card.relation-neutral .relation-kind {
  background: #eef1f4;
  color: #475467;
}
.lore > a {
  font-size: 14px;
  color: #0b1c2e;
}
.lore-regions {
  font-size: 13px !important;
  color: #667085;
  margin-top: 10px !important;
}
.source {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 22px;
  font-size: 13px;
  color: #667085;
  line-height: 1.8;
}
.source summary {
  cursor: pointer;
  font-size: 15px;
  color: #0b1c2e;
}
.original {
  white-space: pre-line;
}
.skip {
  position: fixed;
  top: -100px;
  left: 10px;
  background: white;
  padding: 12px;
  z-index: 10;
}
.skip:focus {
  top: 10px;
}
.to-top {
  position: fixed;
  right: clamp(18px, 3vw, 32px);
  bottom: clamp(18px, 3vw, 32px);
  z-index: 9;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid #c8aa6e;
  border-radius: 50%;
  background: #0b1c2e;
  color: #ffffff;
  box-shadow: 0 8px 22px #0b1c2e2e;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    background-color 0.2s ease;
}
.to-top:not([hidden]) {
  opacity: 1;
  transform: translateY(0);
}
.to-top:hover {
  background: #173654;
}
@media (min-width: 1300px) {
  .intro {
    padding-top: 65px;
    padding-bottom: 54px;
  }
}
@media (max-width: 1100px) {
  .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  header,
  main,
  footer {
    padding-left: 24px;
    padding-right: 24px;
  }
  .brand-note,
  .edition {
    display: none;
  }
  .intro h1 {
    font-size: 46px;
  }
  .grid,
  .region-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tabs span {
    display: none;
  }
}
@media (max-width: 560px) {
  header {
    height: 80px;
  }
  .intro {
    padding: 32px 0;
    gap: 0;
  }
  .intro h1 {
    font-size: 43px;
  }
  .eyebrow {
    font-size: 12px;
  }
  .intro-copy {
    font-size: 14px;
  }
  .tabs {
    gap: 25px;
  }
  .tabs button {
    font-size: 18px;
  }
  .patch {
    font-size: 12px;
  }
  .search-row {
    flex-wrap: wrap;
    gap: 13px;
    margin: 20px 0;
  }
  .search-box {
    flex-basis: 100%;
    padding: 12px;
  }
  .search-box input {
    font-size: 14px;
  }
  .search-box kbd {
    display: none;
  }
  .easy-filter {
    font-size: 13px;
  }
  .results-header {
    align-items: flex-start;
  }
  .results-header p {
    font-size: 12px;
  }
  .grid,
  .region-picker {
    grid-template-columns: 1fr;
  }
  .region-title {
    font-size: 22px;
  }
  .card {
    padding: 20px;
  }
  .card p {
    min-height: 0;
    margin-bottom: 16px;
  }
  .card-top {
    margin-bottom: 13px;
  }
  .data-note {
    display: block;
  }
  .data-note p {
    margin-top: 7px;
  }
  dialog {
    --dialog-padding: 25px;
    --dialog-scroll-gap: 8px;
    --dialog-scroll-side-gap: 4px;
    padding: var(--dialog-padding);
  }
  .to-top {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }
  .summary {
    font-size: 22px;
  }
  .relation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
  .relation-grid::before {
    right: 25%;
    left: 25%;
  }
  .relation-card {
    gap: 6px;
    padding: 6px 7px;
    font-size: 12px;
  }
  .relation-card .portrait {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }
  footer {
    gap: 5px;
  }
  .intro-copy br {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
.skill-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
}
.spec {
  font-size: 12px;
  color: #344054;
  background: #f2f4f7;
  border-radius: 999px;
  padding: 4px 10px;
}
.price {
  display: inline-block;
  background: #fbf3e3;
  border: 1px solid #e6cf9d;
  color: #7a5c1e;
  font-weight: 700;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 999px;
}
.role-label {
  display: block;
  color: #0b1c2e;
  font-size: 14px;
  font-weight: 700;
  margin-top: 7px;
}
.role-meaning {
  font-size: 14px !important;
  margin: 8px 0 !important;
}
.item-use {
  margin-top: 14px !important;
}
.item-usage small {
  display: block;
  margin-top: 18px;
  line-height: 1.7;
  color: #667085;
}
.skills {
  margin-top: 28px;
}
.skills h3 {
  font-size: 19px;
}
.skills-help {
  color: #667085;
  font-size: 14px;
  line-height: 1.7;
}
.skill {
  border: 1px solid #e4e7ec;
  border-radius: var(--seed-radius-r3, 12px);
  padding: 18px;
  margin: 12px 0;
  background: #ffffff;
}
.skill h4 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  margin: 0 0 12px;
}
.skill kbd {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  border-radius: var(--seed-radius-r2, 8px);
  background: #0b1c2e;
  color: white;
  font-size: 20px;
}
.skill p {
  line-height: 1.8;
  font-size: 16px;
  word-break: keep-all;
}
.skill small {
  color: #667085;
  font-size: 12px;
}
.skill details {
  margin-top: 12px;
}
.skill summary {
  cursor: pointer;
  font-size: 14px;
  color: #006c87;
}
.skill details p {
  font-size: 14px;
}
[hidden] {
  display: none !important;
}
.initials {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: -8px 0 24px;
}
.initials button {
  min-width: 39px;
  min-height: 40px;
  border: 1px solid #e4e7ec;
  background: #ffffff;
  border-radius: var(--seed-radius-r2, 8px);
  color: #006c87;
  padding: 7px 11px;
}
.initials button[aria-pressed="true"] {
  background: #0b1c2e;
  color: white;
  border-color: #0b1c2e;
}
.skill-icon {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: var(--seed-radius-r2, 8px);
  flex-shrink: 0;
  background: #f2f4f7;
}
.skill summary .skill-icon {
  vertical-align: middle;
  margin-right: 10px;
}
.build-mode {
  margin-top: 14px;
}
.build-mode h4 {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--brand);
}
.build-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
}
.build-row-label {
  flex-shrink: 0;
  width: 78px;
  font-size: 13px;
  color: #667085;
}
.build-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.build-icon {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 6px;
  background: #f2f4f7;
  border: 1px solid var(--line);
}
.recipes {
  background: #f7f4ec;
}
.recipe-group + .recipe-group {
  border-top: 1px solid #e4e7ec;
  margin-top: 18px;
  padding-top: 16px;
}
.recipe-group h4 {
  color: #795e2d;
  font-size: 14px;
  margin: 0 0 10px;
}
.recipe-branches {
  display: grid;
  row-gap: 20px;
  margin-top: 12px;
}
.recipe-flow {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.recipe-item,
.recipe-current {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d6dde5;
  border-radius: 10px;
  color: #0b1c2e;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  gap: 7px;
  min-height: 44px;
  padding: 6px 9px;
  text-align: left;
}
.recipe-item {
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, transform 120ms ease;
}
.recipe-item:hover {
  background: #fffaf0;
  border-color: var(--gold);
  transform: translateY(-1px);
}
.recipe-item:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.recipe-current {
  background: #0b1c2e;
  border-color: #0b1c2e;
  color: #ffffff;
}
.recipe-icon {
  background: #f2f4f7;
  border-radius: 6px;
  height: 30px;
  object-fit: cover;
  width: 30px;
}
.recipe-join,
.recipe-arrow {
  color: #98a2b3;
  font-size: 18px;
  font-weight: 800;
}
.recipe-empty {
  color: #667085 !important;
  font-size: 13px !important;
  margin: 10px 0 0 !important;
}
.recipe-note {
  color: #667085;
  display: block;
  font-size: 12px;
  line-height: 1.6;
  margin-top: 16px;
}
.term-card {
  cursor: default;
}
.term-card:hover {
  transform: none;
  box-shadow: none;
}
.term-card h3 {
  margin-top: 17px;
}
.term-card .subtitle {
  margin: 8px 0 16px;
}
.term-card .term-example {
  font-size: 14px;
  min-height: 0;
  margin: 0;
  padding-top: 15px;
  border-top: 1px solid #e4e7ec;
  color: #006c87;
}
.toolbar {
  flex-wrap: wrap;
}
.tabs {
  gap: 22px;
}
@media (max-width: 560px) {
  .toolbar {
    gap: 0;
    padding-bottom: 10px;
  }
  .tabs {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 18px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .tabs::-webkit-scrollbar {
    display: none;
  }
  .tabs button {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .initials {
    gap: 6px;
  }
  .initials button {
    min-width: 38px;
  }
  .skill h4 {
    flex-wrap: wrap;
  }
  .recipe-flow {
    gap: 6px;
  }
  .recipe-item,
  .recipe-current {
    font-size: 12px;
    min-height: 40px;
    padding: 5px 7px;
  }
  .recipe-icon {
    height: 28px;
    width: 28px;
  }
}

/* SEED spacing and radii, customized with a League-inspired light palette. */
:root {
  color-scheme: light;
  --brand: #0b1c2e;
  --gold: #c8aa6e;
  --seed-color-bg-brand-solid: #0b1c2e;
  --seed-color-fg-brand: #006c87;
}
.intro h1 em {
  color: #a17832;
}
.card {
  padding: var(--seed-dimension-x6);
  padding-right: 48px; /* ⭐ 즐겨찾기 버튼 자리 확보 */
  box-shadow: 0 1px 3px #0b1c2e06;
}
.search-box {
  background: #f7f8fa;
}
.tabs button.active {
  color: var(--brand);
  border-color: var(--gold);
}
.role-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--seed-dimension-x2);
  margin: 0 0 12px;
}
.role-filters button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #e4e7ec;
  border-radius: var(--seed-radius-full);
  background: white;
  color: #475467;
  font-size: 14px;
  font-weight: 600;
}
.role-filters button[aria-pressed="true"] {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}
.role-filters button:hover {
  border-color: var(--gold);
}
.filter-help {
  font-size: 13px;
  color: #667085;
  line-height: 1.7;
  margin: 0 0 24px;
}
.cc-effects {
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid #e4e7ec;
}
.skill h5 {
  font-size: 14px;
  margin: 8px 0 12px;
}
.cc-badge {
  display: inline-block;
  background: #edf5f8;
  color: #006c87;
  border-radius: 6px;
  padding: 5px 9px;
  font-size: 13px;
  font-weight: 700;
}
.cc-condition {
  font-size: 13px !important;
  color: #667085;
  line-height: 1.7 !important;
}
.advanced {
  background: #f7f8fa;
  padding: 16px;
  border-radius: 12px;
}
.advanced summary {
  font-weight: 700;
  color: #0b1c2e;
}
.formula {
  background: white;
  border: 1px solid #e4e7ec;
  border-left: 3px solid #c8aa6e;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.advanced a {
  color: #006c87;
  font-size: 13px;
}
.initials button {
  min-height: 44px;
}
.intro {
  padding-top: 40px;
  padding-bottom: 36px;
}
@media (min-width: 1300px) {
  .intro {
    padding-top: 40px;
    padding-bottom: 36px;
  }
}
