/* Game interface: pixel night scenery, warm metal frames and an open inventory. Layout/state rules remain in styles.css. */
@font-face {
  font-family: "Pretendard Variable";
  src: url("/assets/fonts/PretendardVariable.woff2") format("woff2");
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg: #0b1320;
  --paper: #192433;
  --ink: #ece7db;
  --muted: #98a9bf;
  --line: #344358;
  --jade: #e1bc7f;
  --deep: #111a28;
  --gold: #e1bc7f;
  --red: #d6a180;
  --sans:
    "Pretendard Variable", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Malgun Gothic", sans-serif;
  --serif: var(--sans);
  --accent: #e1bc7f;
}
body {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.65;
  background: var(--bg);
}
h1,
h2,
h3 {
  font-family: var(--sans);
  letter-spacing: -0.04em;
}
button,
.button,
input,
select,
textarea {
  border-radius: 2px;
  box-shadow: none;
}
button,
.button {
  font-size: 12px;
  font-weight: 600;
}
button:hover,
.button:hover {
  background: #192433;
  border-color: #3b4b61;
  color: var(--ink);
}
button:active,
.button:active {
  transform: none;
}
.primary,
button.primary,
a.primary {
  background: var(--ink);
  border-color: var(--ink);
  color: #f1ede4;
}
.primary:hover,
button.primary:hover,
a.primary:hover {
  background: #111b2a;
  color: #f1ede4;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #ba3e2e;
  outline-offset: 3px;
}
input:focus-visible {
  outline: 2px solid #9f5e4c;
  outline-offset: 2px;
}
input[type="checkbox"],
input[type="range"] {
  accent-color: var(--accent);
}
.text-link {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid #aaa49a;
  min-height: 30px;
  padding: 4px 0;
}
.text-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.eyebrow {
  letter-spacing: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}
.document-page .eyebrow {
  display: none;
}
.masthead {
  background: #192433;
  color: var(--ink);
  box-shadow: none;
  border-bottom: 2px solid var(--ink);
}
.masthead-inner {
  max-width: 1440px;
  min-height: 74px;
  padding: 0 28px;
  gap: 36px;
  flex-wrap: nowrap;
}
.brand {
  color: var(--ink);
  gap: 9px;
}
.brand:hover {
  color: var(--ink);
}
.brand > img {
  width: 36px;
  height: 36px;
  border-radius: 0;
}
.brand > span {
  font: 800 21px/1.05 var(--sans);
  letter-spacing: -0.08em;
  white-space: nowrap;
}
.brand strong {
  color: var(--ink);
  font-weight: 800;
  margin-left: 5px;
}
.brand small {
  font: 10px/1.5 var(--sans);
  color: #9cabc0;
  margin-top: 6px;
  letter-spacing: -0.025em;
}
.site-nav {
  position: static;
  padding: 0;
  margin: 0;
  border: 0;
  flex: 1;
  align-items: center;
  gap: 3px;
  overflow: visible;
  max-width: none;
}
.site-nav > a {
  padding: 26px 14px;
  min-height: 74px;
  font-size: 14px;
  color: #9cabc0;
  font-weight: 700;
}
.site-nav > a:hover {
  background: #192433;
  color: var(--ink);
}
.site-nav > a[aria-current="page"] {
  color: var(--accent);
}
.site-nav > a[aria-current="page"]:after {
  background: var(--accent);
  left: 14px;
  right: 14px;
  bottom: -2px;
  height: 3px;
}
.nav-more {
  margin-left: 7px;
}
.nav-more > summary {
  min-height: 74px;
  display: flex;
  align-items: center;
  padding: 0 13px;
  color: #9cabc0;
  font-size: 13px;
  font-weight: 600;
}
.nav-more > summary.current {
  color: var(--accent);
}
.nav-more > div {
  top: calc(100% + 2px);
  right: 0;
  background: #192433;
  border: 1px solid #aaa49a;
  border-top: 2px solid var(--ink);
  border-radius: 0;
  box-shadow: 0 8px 20px #201b1514;
  min-width: 170px;
  padding: 6px;
}
.nav-more a {
  color: var(--ink);
  padding: 11px 12px;
  font-size: 13px;
}
.nav-more a:hover,
.nav-more a[aria-current="page"] {
  background: #192433;
  color: var(--accent);
}
.mode-control {
  background: #192433;
  border: 0;
  border-radius: 2px;
  padding: 0;
  gap: 0;
  margin-left: auto;
  flex: none;
}
.mode-control button {
  min-height: 36px;
  padding: 7px 12px;
  color: #9cabc0;
  border-radius: 2px;
  font: 700 11px/1 var(--sans);
}
.mode-control button[aria-pressed="true"] {
  background: var(--ink);
  color: #f1ede4;
  box-shadow: none;
}
.mode-control small,
.mode-check {
  display: none;
}
.header-link {
  color: var(--ink);
  white-space: nowrap;
  font-weight: 600;
}
main {
  padding: 0 28px;
}
.page-heading {
  padding: 29px 0 23px;
  gap: 20px;
}
.page-heading h1,
.document-page .page-heading h1 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.35;
  margin-top: 0;
  letter-spacing: -0.055em;
}
.page-copy {
  color: #9cabc0;
  font-size: 13px;
  line-height: 1.7;
  margin-top: 10px;
}
.builder-heading {
  min-height: 188px;
  padding: 24px 0;
  position: relative;
  margin-bottom: 22px;
  border-bottom: 1px solid #b7b1a6;
  overflow: hidden;
}
.builder-heading > div {
  position: relative;
  z-index: 1;
  padding-right: 320px;
}
.builder-heading h1 {
  font-size: 36px;
  margin-top: 5px;
}
.builder-heading .eyebrow {
  font-size: 11px;
}
.builder-heading .text-link {
  margin-top: 13px;
  font-size: 11px;
}
.editorial-art {
  position: absolute;
  width: 282px;
  height: 188px;
  right: 28px;
  bottom: 0;
  object-fit: contain;
  pointer-events: none;
}
.book-layout {
  grid-template-columns: minmax(390px, 0.83fr) minmax(0, 1.17fr);
  gap: 26px;
}
.workspace {
  gap: 0;
}
.workspace-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--ink);
  padding: 0;
  background: none;
  border-radius: 0;
}
.workspace-nav button {
  flex: none;
  background: none;
  color: #9cabc0;
  min-height: 40px;
  border: 0;
  border-radius: 0;
  font-size: 13px;
  padding: 8px 16px;
}
.workspace-nav button[aria-pressed="true"] {
  background: var(--ink);
  color: #f1ede4;
  box-shadow: none;
}
.equipment {
  padding: 20px;
  background: #111b2a;
  color: #f1ede4;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.equipment:before {
  display: none;
}
.equipment-heading {
  align-items: center;
}
.equipment .eyebrow {
  display: none;
}
.equipment h2,
.equipment-heading h2 {
  font: 700 17px/1.4 var(--sans);
  color: #f1ede4;
  margin: 0;
}
.equipment h2 > span {
  color: #9cabc0;
  font: 500 11px/1.4 var(--sans);
}
.equipment-heading button {
  background: none;
  border-color: #3b4b61;
  color: #9cabc0;
  font-size: 10px;
  min-height: 32px;
  padding: 5px 8px;
}
.equipment-heading button:hover {
  background: #111b2a;
  color: #f1ede4;
  border-color: #3b4b61;
}
.placement-note {
  color: #9cabc0;
  font-size: 11px;
  min-height: 24px;
  margin: 8px 0 12px;
}
.placement-note button {
  background: none;
  border-color: #3b4b61;
  color: #f1ede4;
}
.equipment-field {
  gap: 16px;
  padding: 0;
}
.normal-slots {
  max-width: none;
}
.extra-label,
.base-label {
  text-align: left;
  color: #9cabc0;
  letter-spacing: 0;
  font-size: 10px;
  margin-bottom: 7px;
}
.extra-label > span {
  color: #9cabc0;
  font-size: 9px;
}
.base-slots,
.extra-slots {
  justify-content: flex-start;
  gap: 8px;
}
.extra-slots {
  margin-bottom: 13px;
}
.slot-wrap,
.equip-slot {
  width: clamp(44px, 4.1vw, 58px);
}
.equip-slot {
  height: clamp(44px, 4.1vw, 58px);
  border-radius: 3px;
  border: 1px solid #686053;
  background: #111b2a;
  padding: 3px;
  box-shadow: none;
}
.equip-slot:hover {
  background: #111b2a;
  border-color: #3b4b61;
}
.equip-slot .skill-icon {
  border-radius: 2px;
}
.slot-plus {
  color: #9cabc0;
  font-size: 23px;
}
.slot-position {
  bottom: -5px;
  left: -3px;
  transform: none;
  background: #192433;
  color: #e8e5dc;
  border: 0;
  border-radius: 1px;
  min-width: 16px;
  height: 16px;
  font: 700 9px/16px var(--sans);
}
.slot-order {
  top: -5px;
  right: -4px;
  border-radius: 1px;
  width: 17px;
  height: 17px;
  line-height: 17px;
  background: #111b2a;
  color: #f1ede4;
  box-shadow: none;
  font-size: 9px;
}
.slot-name {
  color: #9cabc0;
  font-size: 10px;
  padding-top: 9px;
}
.slot-actions button {
  color: #9cabc0;
  min-height: 26px;
  font-size: 9px;
  border: 0;
  background: none;
}
.slot-actions button:hover {
  color: #f1ede4;
  background: #111b2a;
}
.locked .equip-slot {
  background: #111b2a;
  border-color: #3b4b61;
  box-shadow: none;
}
.locked .slot-name {
  color: #9cabc0;
}
.lock-symbol {
  font-size: 20px;
  color: #9cabc0;
}
.extra-slots .slot-wrap {
  min-height: 71px;
}
.base-slots .slot-wrap {
  min-height: 93px;
}
.ultimate-slot {
  border-left: 1px solid #5a5143;
  padding-left: 12px;
  width: 61px;
}
.ultimate-label {
  color: #9cabc0;
  font-size: 10px;
  letter-spacing: 0;
  margin-bottom: 9px;
}
.ultimate-icon {
  background: #111b2a;
  border: 1px solid #776650;
  border-radius: 3px;
  width: 56px;
  height: 56px;
  color: #9cabc0;
  padding: 3px;
  box-shadow: none;
}
.ultimate-icon .skill-icon {
  border-radius: 2px;
}
.ultimate-icon.registered {
  background: #111b2a;
  border-color: #3b4b61;
  box-shadow: none;
}
.ultimate-slot > strong {
  color: #9cabc0;
  font-size: 11px;
}
.ultimate-slot > small {
  color: #9cabc0;
  font-size: 9px;
}
.unlock-settings {
  margin-top: 8px;
  border-top: 1px solid #504b41;
  border-bottom: 0;
  padding: 0;
}
.unlock-settings summary {
  color: #9cabc0;
  font-size: 11px;
  min-height: 40px;
}
.unlock-settings summary span {
  color: #9cabc0;
  font-size: 10px;
}
.unlock-settings summary:before {
  color: #9cabc0;
}
.unlock-settings p {
  color: #9cabc0;
  font-size: 11px;
  margin: 5px 0 14px;
}
.unlock-options {
  gap: 4px;
}
.unlock-options label {
  font-size: 11px;
  color: #9cabc0;
  min-height: 36px;
}
.unlock-settings a {
  color: #9cabc0;
  font-size: 10px;
}
.order-section {
  border-top: 1px solid #504b41;
  padding: 12px 0;
}
.order-heading {
  color: #f1ede4;
}
.order-heading > b {
  font-size: 12px;
}
.order-heading > span {
  color: #9cabc0;
  font-size: 10px;
}
.order-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  padding: 9px 0 0;
  overflow: visible;
}
.order-item {
  min-width: 0;
  width: auto;
  padding: 5px 6px;
  border: 1px solid #51493c;
  border-radius: 2px;
  background: #111b2a;
  gap: 5px;
  min-height: 45px;
  color: #9cabc0;
}
.order-item > span {
  color: #9cabc0;
  font-size: 10px;
}
.order-grip {
  width: 10px;
  color: #9cabc0;
  font-size: 15px;
}
.order-item > .skill-icon {
  width: 27px;
  height: 27px;
  border-radius: 2px;
}
.order-item > b {
  font: 500 12px/1.4 var(--sans);
  color: #f1ede4;
  white-space: normal;
  flex: 1;
  min-width: 0;
  max-width: none;
}
.order-item > div {
  margin-left: auto;
  flex: none;
  display: flex;
  flex-direction: row;
}
.order-item button {
  color: #9cabc0;
  min-height: 30px;
  min-width: 23px;
  padding: 0 5px;
  background: transparent;
  border: 0;
  font-size: 18px;
}
.order-item button:hover {
  background: #111b2a;
  color: #f1ede4;
}
.order-empty {
  color: #9cabc0;
  font-size: 11px;
  grid-column: 1/-1;
  min-height: 24px;
}
.build-save {
  border-top: 1px solid #504b41;
  padding-top: 13px;
  gap: 6px;
}
.build-save input {
  border: 1px solid #665a47;
  border-radius: 2px;
  background: #111b2a;
  color: #f1ede4;
  min-height: 37px;
  font-size: 11px;
  padding: 8px 10px;
}
.build-save button {
  border-color: #3b4b61;
  color: #9cabc0;
  background: none;
  font-size: 10px;
  min-height: 37px;
  padding: 8px 10px;
}
.build-save .gold-button {
  background: #111b2a;
  color: #f1ede4;
  border-color: #3b4b61;
}
.build-save .gold-button:hover {
  background: #263449;
  color: #f1ede4;
}
.draft-status,
.draft-status a {
  color: #9cabc0;
  font-size: 9px;
}
.drop-valid {
  outline-color: #9cabc0;
}
.drop-over {
  background: #705b3f !important;
  outline: 2px solid #e29a71 !important;
}
.drag-ghost {
  border-radius: 2px;
  box-shadow: 0 7px 18px #0004;
}
.coach-snapshot {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #c9c1b4;
  border-radius: 0;
  margin: 0 0 18px;
  padding: 11px 2px;
  gap: 7px;
}
.coach-snapshot span {
  display: inline;
  color: #9cabc0;
  font-size: 10px;
  margin-right: 8px;
}
.coach-snapshot b {
  display: inline;
  color: #9cabc0;
  font-size: 11px;
  font-weight: 600;
}
.coach-snapshot button {
  background: none;
  border: 0;
  border-radius: 0;
  color: var(--accent);
  padding: 4px 0 4px 8px;
  min-height: 32px;
  font-size: 11px;
}
.build-coach {
  border: 1px solid var(--line);
  border-top: 2px solid var(--ink);
  border-radius: 0;
  background: #192433;
}
.coach-heading {
  padding: 17px 18px 10px;
}
.coach-label {
  display: none;
}
.coach-heading h2 {
  font-size: 17px;
}
.coach-tabs {
  padding: 0 17px;
  gap: 20px;
}
.coach-tabs button {
  flex: none;
  padding: 8px 0;
  min-height: 40px;
  font-size: 12px;
  border-bottom-width: 2px;
  color: #9cabc0;
}
.coach-tabs [aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
#coach-panel {
  padding: 17px 18px;
}
.coach-summary {
  display: flex;
  gap: 0;
  padding: 0 0 13px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
}
.coach-summary > span {
  flex: 1;
  gap: 4px;
  background: none;
  border-radius: 0;
  padding: 0 10px;
  border-left: 1px solid var(--line);
  color: #9cabc0;
  font-size: 10px;
}
.coach-summary > span:first-child {
  border-left: 0;
  padding-left: 0;
}
.coach-summary strong {
  font-size: 19px;
  color: var(--ink);
}
.coach-check,
.coach-check.missing,
.coach-check.order {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: none;
  padding: 17px 0;
  margin: 0;
}
.coach-check-title {
  gap: 4px;
}
.coach-check-title > span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 600;
}
.coach-check-title b {
  font-size: 14px;
}
.coach-check p {
  font-size: 12px;
  color: #9cabc0;
  margin: 8px 0 5px;
}
.coach-check > small {
  color: #9cabc0;
}
.coach-check button {
  border-color: #3b4b61;
  background: #192433;
  font-size: 11px;
  min-height: 35px;
}
.external-condition {
  font-size: 11px;
  color: #9cabc0;
  padding-top: 12px;
}
.coach-details {
  border-top: 0;
  border-bottom: 1px solid var(--line);
}
.coach-details summary {
  color: #9cabc0;
  font-size: 12px;
  min-height: 46px;
}
.coach-footnote {
  font-size: 10px;
  color: #9cabc0;
  line-height: 1.8;
  margin-top: 17px;
}
.coach-clear {
  background: none;
  color: #9cabc0;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.coach-empty h3 {
  font-size: 15px;
}
.coach-empty p,
.setup-intro p {
  color: #9cabc0;
  line-height: 1.8;
}
.coach-examples {
  gap: 0;
  flex-direction: column;
  border-color: var(--line);
  margin-top: 18px;
  padding-top: 13px;
}
.coach-examples button {
  background: none;
  border: 0;
  border-bottom: 1px solid #e8e2d7;
  border-radius: 0;
  justify-content: space-between;
  padding: 9px 0;
  color: #9cabc0;
}
.coach-examples button:after {
  content: "→";
  color: var(--accent);
}
.coach-opportunities button {
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 10px 0;
}
.setup-intro {
  padding: 0 0 13px;
  border-bottom: 1px solid var(--line);
}
.setup-intro > b {
  font-size: 12px;
  color: var(--ink);
}
.setup-row {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.setup-spell > b {
  font-size: 13px;
}
.setup-spell .skill-icon {
  border-radius: 2px;
}
.setup-fields {
  gap: 8px;
}
.setup-fields label {
  color: #9cabc0;
  font-size: 10px;
}
.setup-fields input,
.setup-fields select {
  background: #192433;
  border-color: #3b4b61;
  border-radius: 2px;
  color: var(--ink);
}
.setup-fields input:disabled {
  background: #192433;
}
.setup-tip {
  color: #9cabc0;
}
.compare-columns {
  gap: 18px;
  margin-top: 17px;
}
.compare-columns article,
.compare-columns article:last-child {
  background: none;
  border: 0;
  border-top: 2px solid #938673;
  border-radius: 0;
  padding: 12px 0;
}
.compare-columns article:last-child {
  border-top-color: var(--accent);
}
.compare-columns h3 {
  font-size: 13px;
  color: var(--ink);
}
.compare-placeholder {
  background: none;
  border: 1px dashed #bbae97;
  border-radius: 0;
  color: #9cabc0;
}
.replacement-choice {
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  padding: 12px 0;
}
.replacement-choice small {
  color: #9cabc0;
}
.catalog-pane {
  border: 1px solid var(--line);
  border-top: 2px solid var(--ink);
  border-radius: 0;
  background: #192433;
  top: 96px;
  max-height: calc(100dvh - 116px);
  box-shadow: none;
}
.catalog-heading {
  padding: 16px 18px 11px;
  align-items: center;
}
.catalog-heading h2 {
  font: 700 17px/1.4 var(--sans);
  color: var(--ink);
}
.catalog-heading > span {
  font: 500 10px/1.4 var(--sans);
  color: #9cabc0;
}
#filters {
  padding: 0 17px 9px;
}
.search-wrap {
  background: #192433;
  border: 0;
  border-radius: 2px;
  box-shadow: none;
  padding: 0 8px 0 12px;
  min-height: 40px;
  gap: 8px;
}
.search-wrap:focus-within {
  background: #192433;
  border: 0;
  box-shadow: none;
}
.search-wrap input {
  background: transparent;
  min-height: 40px;
  padding: 8px 0;
  font-size: 12px;
  color: var(--ink);
}
.search-wrap input:focus,
.search-wrap input:focus-visible {
  outline: none;
  border: 0;
  box-shadow: none;
}
.search-wrap:has(input:focus-visible) {
  outline: none;
  box-shadow: inset 0 -2px #88745e;
}
.search-icon {
  width: 16px;
  height: 16px;
  color: #9cabc0;
  stroke: #9cabc0;
  flex: none;
}
.search-wrap button {
  background: none;
  border: 0;
  color: #9cabc0;
  min-width: 32px;
  min-height: 36px;
  font-size: 20px;
  padding: 2px;
}
.filter-row {
  margin-top: 7px;
}
.learning-label,
.filter-extra summary {
  font-size: 10px;
  color: #9cabc0;
}
.learning-label input {
  width: 15px;
  height: 15px;
  min-height: 15px;
}
.filter-extra > div {
  background: #192433;
  border-color: #3b4b61;
  border-radius: 0;
  box-shadow: 0 5px 16px #29221812;
}
.catalog-pane .style-tabs {
  padding: 0 17px;
  gap: 0;
  background: #192433;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.catalog-pane .style-tabs button {
  min-height: 36px;
  color: #9cabc0;
  padding: 8px 10px;
  font-size: 11px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: none;
  margin-bottom: -1px;
}
.catalog-pane .style-tabs button[aria-pressed="true"] {
  color: var(--accent);
  background: none;
  border-bottom-color: var(--accent);
  font-weight: 700;
}
.catalog-pane .style-tabs button:hover {
  color: var(--ink);
  background: #192433;
}
.list-hint {
  padding: 7px 18px;
  font-size: 9px;
  background: #192433;
  color: #9cabc0;
  border-bottom: 1px solid var(--line);
  margin: 0;
}
.skills {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(164px, max-content);
  gap: 0;
  padding: 0;
  align-content: start;
}
.skill-row,
.skill-row.selected {
  min-height: 164px;
  border: 0;
  border-right: 1px solid #e8e3d9;
  border-bottom: 1px solid #e8e3d9;
  border-radius: 0;
  background: #192433;
  position: relative;
  box-shadow: none;
}
.skill-row.selected {
  background: #192433;
}
.skill-row.equipped {
  background: #192433;
  border-color: #3b4b61;
  box-shadow: inset 0 2px var(--accent);
}
.skill-row:hover {
  background: #192433;
  border-color: #3b4b61;
}
.skill-row .skill-select {
  min-height: 130px;
  padding: 13px 7px 5px;
  border: 0;
  border-radius: 0;
  background: transparent;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  justify-content: flex-start;
}
.skill-row .skill-select:hover {
  background: none;
  color: inherit;
}
.draggable-icon {
  width: 50px;
  height: 50px;
  flex: none;
}
.skill-select .skill-icon {
  width: 50px;
  height: 50px;
  border-radius: 3px;
  border: 0;
  box-shadow: 0 1px 2px #2a1d171a;
}
.skill-row .skill-row-body {
  gap: 3px;
  flex-shrink: 0;
}
.skill-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  min-height: 18px;
  color: var(--ink);
  width: 100%;
}
.skill-row .row-meta {
  display: none;
}
.row-effects {
  color: #9cabc0;
  font-size: 11px;
  line-height: 1.5;
  min-height: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.card-cooldown {
  position: absolute;
  right: 7px;
  top: 5px;
  color: #9cabc0;
  font: 500 11px/1.5 var(--sans);
}
.card-slot-number {
  background: #111b2a;
  color: #f1ede4;
  border: 0;
  border-radius: 1px;
  min-width: 20px;
  padding: 0 4px;
  right: -8px;
  top: -4px;
  font: 700 9px/16px var(--sans);
}
.card-actions {
  padding: 0 7px;
  border-top: 0;
  min-height: 32px;
}
.card-actions > span {
  font-size: 10px;
  color: #9cabc0;
}
.card-actions button {
  color: #9cabc0;
  font-size: 11px;
  padding: 3px 0 3px 6px;
  min-height: 32px;
  background: none;
  border: 0;
}
.skill-row.equipped .card-actions > span {
  color: var(--accent);
  font-weight: 600;
}
.catalog-note {
  background: #192433;
  color: #9cabc0;
  border-top: 1px solid var(--line);
  font-size: 9px;
  padding: 8px 17px;
}
.candidate-filter {
  background: #192433;
  color: #9cabc0;
  border-bottom: 1px solid #ddc4af;
}
.detail-panel {
  border: 1px solid var(--line);
  border-top: 2px solid var(--ink);
  border-radius: 0;
  background: #192433;
  padding: 18px;
}
.panel-kicker {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.panel-kicker > span {
  display: none;
}
.detail-heading {
  padding-top: 16px;
}
.detail-heading h2 {
  font-size: 23px;
  font-weight: 800;
}
.detail-heading > .skill-icon {
  border-radius: 3px;
}
.detail-category,
.cast-label {
  color: #9cabc0;
}
.mode-badge {
  background: none;
  border-color: #3b4b61;
  border-radius: 1px;
  color: #9cabc0;
  font: 600 10px/1.4 var(--sans);
}
.detail-stats {
  background: #192433;
  border-top: 1px solid #e0d8cb;
  border-bottom: 1px solid #e0d8cb;
  border-radius: 0;
}
.detail-stats dd {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 21px;
  font-weight: 700;
}
.detail-stats dt {
  color: #9cabc0;
}
.detail-tabs [aria-selected="true"] {
  color: var(--ink);
  border-color: var(--accent);
  background: none;
}
.effect-item {
  border-color: var(--line);
}
.effect-heading h4 {
  color: var(--ink);
}
.effect-item p,
.skill-description {
  color: #9cabc0;
}
.effect-item .requirement {
  color: #9cabc0;
}
.effect-values {
  background: #192433;
  border-radius: 0;
  color: #9cabc0;
}
.component-record,
.sinsik-page pre {
  background: #192433;
  border-color: #3b4b61;
  border-radius: 0;
  color: #9cabc0;
}
.page-panel,
.preset-item,
.share-preview,
.relation,
.content-record,
.advanced-settings,
.empty-state,
dialog {
  border-radius: 0;
  box-shadow: none;
}
.page-panel {
  background: #192433;
  border-color: var(--line);
  border-top-color: #3b4b61;
}
.page-panel h2,
.section-title h2 {
  font-size: 18px;
  font-weight: 700;
}
.document-page {
  max-width: 1260px;
}
.document-page .page-heading {
  padding-top: 34px;
  padding-bottom: 25px;
}
.notice,
.info-line {
  background: #192433;
  border: 0;
  border-left: 3px solid #a59377;
  border-radius: 0;
  color: #9cabc0;
}
.notice.warning,
.content-warning,
.detail-notice {
  background: #192433;
  border-color: #3b4b61;
  border-radius: 0;
  color: #9cabc0;
}
.relation {
  background: #192433;
  border: 1px solid var(--line);
  border-left: 2px solid #a08c6d;
  padding: 20px;
  margin-bottom: 12px;
}
.relation-arrow {
  color: #9cabc0;
  background: none;
}
.step-label {
  color: #9cabc0;
  letter-spacing: 0;
}
.relation-result {
  color: var(--accent);
}
.preset-item {
  border: 1px solid var(--line);
  border-top: 2px solid var(--ink);
  background: #192433;
}
.preset-number {
  color: #9cabc0;
  font-family: var(--sans);
}
.preset-item h2 {
  font-weight: 700;
}
.composition-slot {
  background: #192433;
  border-radius: 1px;
  border-color: #3b4b61;
}
.ultimate-composition {
  background: #192433;
  border-color: #3b4b61;
}
.share-preview {
  border: 1px solid #bd8468;
  border-top: 3px solid var(--accent);
  background: #192433;
}
.table-scroll {
  border-radius: 0;
  border-color: #3b4b61;
}
.table-scroll th {
  background: #192433;
  color: #9cabc0;
}
.table-scroll td {
  border-color: #3b4b61;
}
.table-scroll tr:nth-child(even) td {
  background: #192433;
}
.tier-table .matched td {
  background: #192433;
}
.guide-toc a {
  background: none;
  border: 1px solid #c9baa3;
  border-radius: 1px;
  color: #9cabc0;
}
.content-record {
  border-color: #3b4b61;
  background: #192433;
}
.content-record > summary {
  color: var(--ink);
}
.today-row {
  background: #192433;
}
.source-index details {
  background: #192433;
  border-color: #3b4b61;
}
.source-index details a {
  border-color: #3b4b61;
}
.account-row,
.coupon-row {
  border-radius: 0;
  border-color: #3b4b61;
  background: #192433;
}
.coupon-row code {
  color: var(--ink);
}
.sim-workbench {
  border-top: 2px solid var(--ink);
}
.sim-profile-label {
  background: #192433;
  color: #9cabc0;
  border-radius: 1px;
}
.sim-profile-note {
  background: #192433;
  color: #9cabc0;
}
.sim-build-spell {
  background: #192433;
  border: 1px solid #dfd2be;
  border-radius: 2px;
  color: #9cabc0;
}
.time-buttons [aria-pressed="true"] {
  background: var(--ink);
  color: #f1ede4;
  border-color: var(--ink);
}
.combat-time output {
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 800;
}
.sim-metrics {
  gap: 0;
  background: #192433;
  border-top: 1px solid #d9cbb4;
  border-bottom: 1px solid #d9cbb4;
}
.sim-metrics > div {
  background: none;
  border-radius: 0;
  border: 0;
  border-left: 1px solid #d9cbb4;
}
.sim-metrics > div:first-child {
  border-left: 0;
}
.sim-metrics strong {
  font-family: var(--sans);
  color: var(--ink);
}
.sim-effect-list li {
  background: none;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
}
.cooldown-event {
  background: #263449;
  border-radius: 1px;
}
.cooldown-effect {
  background: #192433;
}
.timeline-legend span:before {
  background: #263449;
  border-radius: 0;
}
.timeline-legend span:last-child:before {
  background: #192433;
}
.timeline-event {
  background: #192433;
  border-radius: 0;
  border-color: var(--line);
}
.empty-state {
  background: #192433;
  border: 1px solid var(--line);
}
footer {
  border-top: 1px solid #c9c0af;
  color: #9cabc0;
  padding-top: 24px;
}
.footer-brand {
  font: 800 16px/1.5 var(--sans);
  color: #e8e5dc;
}
footer > span {
  font-size: 10px;
}
.toast {
  background: #111b2a;
  color: #f1ede4;
  border: 1px solid #6d5b44;
  border-radius: 2px;
  box-shadow: 0 3px 16px #211c1426;
}
dialog {
  border: 1px solid #a18b6b;
  background: #192433;
}
dialog::backdrop {
  background: #111b2a;
  backdrop-filter: none;
}
dialog h2 {
  font-size: 21px;
  font-weight: 700;
}
*::-webkit-scrollbar-thumb {
  background: #263449;
  border-radius: 1px;
}
*::-webkit-scrollbar-track {
  background: #192433;
}
html {
  scroll-padding-top: 96px;
  scrollbar-color: #b7aa96 #f2eee5;
}
#build-coach {
  scroll-margin-top: 96px;
}
.book-layout[data-mobile-view="detail"] .coach-snapshot {
  display: none;
}
@media (min-width: 801px) and (max-width: 1100px) {
  .masthead-inner {
    gap: 20px;
    padding: 0 22px;
  }
  .brand > span {
    font-size: 19px;
  }
  .site-nav > a {
    padding: 26px 10px;
    font-size: 12px;
  }
  .nav-more > summary {
    font-size: 12px;
    padding: 0 9px;
  }
  main {
    padding: 0 22px;
  }
  .book-layout {
    grid-template-columns: minmax(350px, 0.95fr) minmax(0, 1.05fr);
    gap: 18px;
  }
  .equipment {
    padding: 17px 14px;
  }
  .slot-wrap,
  .equip-slot {
    width: 44px;
  }
  .equip-slot {
    height: 44px;
  }
  .base-slots,
  .extra-slots {
    gap: 6px;
  }
  .ultimate-slot {
    width: 48px;
    padding-left: 8px;
  }
  .ultimate-icon {
    width: 44px;
    height: 44px;
  }
  .equipment-field {
    gap: 9px;
  }
  .order-strip {
    grid-template-columns: 1fr;
  }
  .skills {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .builder-heading > div {
    padding-right: 270px;
  }
  .editorial-art {
    width: 275px;
    height: 183px;
    right: 0;
  }
}
@media (max-width: 800px) {
  .masthead-inner {
    min-height: 58px;
    padding: 10px 16px 0;
    gap: 0;
    flex-wrap: wrap;
  }
  .brand {
    gap: 8px;
  }
  .brand > img {
    width: 30px;
    height: 30px;
  }
  .brand > span {
    font-size: 19px;
  }
  .brand small {
    display: none;
  }
  .mode-control {
    margin-left: auto;
  }
  .mode-control button {
    min-height: 32px;
    padding: 7px 11px;
    font-size: 10px;
  }
  .site-nav {
    order: 3;
    width: calc(100% + 32px);
    flex-basis: calc(100% + 32px);
    margin: 10px -16px 0;
    padding: 0 10px;
    justify-content: flex-start;
    border-top: 1px solid #e7e1d7;
    gap: 0;
    min-height: 42px;
  }
  .site-nav > a {
    min-height: 42px;
    padding: 11px 12px;
    font-size: 12px;
  }
  .site-nav > a[aria-current="page"]:after {
    left: 12px;
    right: 12px;
    bottom: -2px;
  }
  .nav-more {
    margin-left: auto;
  }
  .nav-more > summary {
    min-height: 42px;
    padding: 8px 10px;
    font-size: 11px;
  }
  .nav-more > div {
    right: 0;
    top: calc(100% + 2px);
  }
  .header-link {
    font-size: 11px;
  }
  main {
    padding: 0 15px;
  }
  .page-heading,
  .document-page .page-heading {
    padding: 24px 0 20px;
  }
  .page-heading h1,
  .document-page .page-heading h1 {
    font-size: 26px;
    line-height: 1.35;
  }
  .page-copy {
    font-size: 12px;
    margin-top: 8px;
  }
  .builder-heading {
    padding: 22px 0 17px;
    min-height: 140px;
    margin-bottom: 0;
    border: 0;
  }
  .builder-heading > div {
    padding-right: 120px;
  }
  .builder-heading h1 {
    font-size: 25px;
    margin-top: 4px;
    max-width: 220px;
  }
  .builder-heading .eyebrow {
    font-size: 9px;
  }
  .builder-heading .page-copy {
    display: none;
  }
  .builder-heading .text-link {
    font-size: 10px;
    margin-top: 10px;
    min-height: 26px;
  }
  .editorial-art {
    width: 158px;
    height: 105px;
    right: -9px;
    bottom: 12px;
  }
  body:has(.book-layout[data-mobile-view="catalog"]) .builder-heading {
    padding: 17px 0 14px;
    min-height: 0;
  }
  body:has(.book-layout[data-mobile-view="catalog"]) .builder-heading > div {
    padding-right: 0;
  }
  body:has(.book-layout[data-mobile-view="catalog"])
    .builder-heading
    .editorial-art,
  body:has(.book-layout[data-mobile-view="catalog"]) .builder-heading .eyebrow,
  body:has(.book-layout[data-mobile-view="catalog"])
    .builder-heading
    .text-link {
    display: none;
  }
  .mobile-views {
    display: flex;
    border-radius: 0;
    background: #192433;
    padding: 0;
    margin: 0 0 16px;
    border-bottom: 2px solid var(--ink);
    gap: 0;
    position: static;
  }
  .mobile-views button {
    border: 0;
    border-bottom: 2px solid transparent;
    background: none;
    color: #9cabc0;
    border-radius: 0;
    flex: 1;
    min-height: 44px;
    font-size: 12px;
    padding: 8px;
    margin-bottom: -2px;
    box-shadow: none;
  }
  .mobile-views button[aria-pressed="true"] {
    background: var(--ink);
    border-color: var(--ink);
    color: #f1ede4;
    box-shadow: none;
  }
  .mobile-views #total {
    font-size: 9px;
    margin-left: 3px;
    color: inherit;
  }
  .book-layout {
    display: block;
  }
  .workspace-nav {
    display: none;
  }
  .workspace {
    gap: 0;
  }
  .equipment {
    padding: 17px 14px 13px;
    border-radius: 0;
  }
  .equipment-heading h2 {
    font-size: 15px;
  }
  .equipment h2 > span {
    font-size: 10px;
    margin-left: 4px;
  }
  .equipment-heading .button-row {
    gap: 4px;
  }
  .equipment-heading button {
    font-size: 9px;
    min-height: 30px;
    padding: 5px 7px;
  }
  .placement-note {
    font-size: 10px;
    min-height: 20px;
    margin: 10px 0 13px;
  }
  .equipment-field {
    gap: 8px;
    padding: 0;
  }
  .normal-slots {
    max-width: none;
  }
  .slot-wrap,
  .equip-slot {
    width: clamp(36px, 9.8vw, 54px);
  }
  .equip-slot {
    height: clamp(36px, 9.8vw, 54px);
    padding: 2px;
  }
  .base-slots,
  .extra-slots {
    gap: clamp(5px, 1.6vw, 9px);
  }
  .extra-slots {
    margin-bottom: 12px;
  }
  .extra-label,
  .base-label {
    margin-bottom: 7px;
    font-size: 9px;
  }
  .extra-label > span {
    font-size: 8px;
  }
  .slot-position {
    width: 14px;
    min-width: 14px;
    height: 14px;
    line-height: 14px;
    font-size: 8px;
  }
  .slot-order {
    width: 15px;
    height: 15px;
    line-height: 15px;
    font-size: 8px;
    top: -4px;
    right: -4px;
  }
  .slot-name {
    font-size: 9px;
    padding-top: 8px;
    line-height: 1.5;
    min-height: 30px;
  }
  .extra-slots .slot-wrap {
    min-height: 62px;
  }
  .base-slots .slot-wrap {
    min-height: 95px;
  }
  .slot-actions {
    margin-top: 0;
  }
  .slot-actions button {
    min-width: 36px;
    min-height: 30px;
    padding: 4px;
    font-size: 9px;
  }
  .ultimate-slot {
    width: 41px;
    padding-left: 8px;
    margin-left: 0;
    border-left-color: #3b4b61;
  }
  .ultimate-icon {
    width: 39px;
    height: 39px;
    padding: 2px;
    font-size: 22px;
  }
  .ultimate-label {
    font-size: 9px;
    margin-bottom: 7px;
  }
  .ultimate-slot > strong {
    font-size: 9px;
    margin-top: 8px;
  }
  .ultimate-slot > small {
    font-size: 8px;
  }
  .unlock-settings summary {
    min-height: 40px;
    font-size: 11px;
  }
  .unlock-settings p {
    font-size: 10px;
  }
  .unlock-options label {
    font-size: 11px;
    min-height: 42px;
  }
  .order-section {
    padding: 12px 0;
  }
  .order-heading > span {
    font-size: 9px;
  }
  .order-strip {
    display: flex;
    flex-direction: column;
    gap: 5px;
    overflow: visible;
    padding: 9px 0 0;
  }
  .order-item {
    width: 100%;
    flex: none;
    min-height: 45px;
    padding: 4px 5px;
    gap: 7px;
  }
  .order-grip {
    width: 24px;
    min-height: 36px;
    font-size: 20px;
  }
  .order-item > span {
    font-size: 10px;
  }
  .order-item > .skill-icon {
    width: 29px;
    height: 29px;
  }
  .order-item > b {
    font-size: 11px;
  }
  .order-item button {
    min-width: 32px;
    min-height: 36px;
    padding: 4px 8px;
    font-size: 20px;
  }
  .build-save {
    flex-wrap: wrap;
    padding-top: 12px;
  }
  .build-save input {
    flex: 1 0 100%;
    min-height: 38px;
    font-size: 11px;
  }
  .build-save button {
    flex: 1;
    min-height: 38px;
  }
  .draft-status {
    line-height: 1.7;
    margin-top: 7px;
  }
  .coach-snapshot {
    padding: 11px 0;
    margin-bottom: 16px;
  }
  .coach-snapshot span {
    display: none;
  }
  .coach-snapshot b {
    font-size: 10px;
  }
  .coach-snapshot button {
    font-size: 10px;
  }
  .coach-heading {
    padding: 16px 14px 10px;
  }
  .coach-heading h2 {
    font-size: 16px;
  }
  .coach-tabs {
    padding: 0 14px;
    gap: 20px;
  }
  .coach-tabs button {
    min-height: 43px;
    font-size: 12px;
  }
  #coach-panel {
    padding: 16px 14px;
  }
  .coach-summary strong {
    font-size: 17px;
  }
  .coach-summary > span {
    font-size: 9px;
    padding: 0 8px;
  }
  .coach-check-title b {
    font-size: 14px;
  }
  .coach-check p {
    font-size: 12px;
  }
  .coach-check button {
    min-height: 40px;
    font-size: 10px;
  }
  .external-condition {
    min-height: 42px;
    font-size: 10px;
  }
  .coach-footnote {
    font-size: 10px;
  }
  .setup-fields {
    gap: 6px;
    grid-template-columns: 1fr 1fr 1.1fr;
  }
  .setup-fields input,
  .setup-fields select {
    min-height: 42px;
  }
  .compare-columns {
    gap: 12px;
  }
  .coach-spell {
    font-size: 10px;
    gap: 5px;
  }
  .coach-spell .skill-icon {
    width: 25px;
    height: 25px;
  }
  .catalog-pane {
    position: static;
    max-height: none;
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0;
    background: #192433;
  }
  .catalog-heading {
    padding: 12px 14px 10px;
  }
  .catalog-heading h2 {
    font-size: 16px;
  }
  .catalog-heading > span {
    font-size: 9px;
  }
  #filters {
    padding: 0 13px 7px;
  }
  .search-wrap,
  .search-wrap input {
    min-height: 42px;
  }
  .search-wrap input {
    font-size: 12px;
  }
  .filter-row {
    margin-top: 5px;
  }
  .filter-extra summary {
    min-height: 34px;
    padding: 7px 0;
  }
  .catalog-pane .style-tabs {
    padding: 0 9px;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0;
    order: 0;
  }
  .catalog-pane .style-tabs button {
    min-height: 40px;
    min-width: 50px;
    padding: 8px 10px;
    font-size: 10px;
  }
  .list-hint {
    padding: 6px 13px;
    font-size: 8px;
  }
  .skills {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 0;
    overflow: visible;
    max-height: none;
    grid-auto-rows: minmax(156px, max-content);
  }
  .skill-row,
  .skill-row.selected {
    min-height: 156px;
  }
  .skill-row .skill-select {
    min-height: 116px;
    padding: 13px 5px 3px;
    gap: 7px;
  }
  .skill-select .skill-icon,
  .draggable-icon {
    width: 45px;
    height: 45px;
  }
  .skill-name {
    font-size: 12px;
    line-height: 1.45;
    min-height: 32px;
    align-items: flex-start;
    padding-top: 1px;
  }
  .row-effects {
    display: none;
  }
  .card-cooldown {
    font-size: 8px;
    top: 4px;
    right: 5px;
  }
  .card-slot-number {
    font-size: 8px;
    right: -7px;
    top: -4px;
    line-height: 14px;
  }
  .card-actions {
    min-height: 38px;
    padding: 0 6px;
  }
  .card-actions > span,
  .card-actions button {
    font-size: 11px;
  }
  .card-actions button {
    min-height: 38px;
    padding: 3px 0 3px 8px;
  }
  .catalog-note {
    padding: 8px 12px;
    font-size: 8px;
  }
  body:has(.book-layout[data-mobile-view="catalog"]) .quick-tray {
    background: #192433;
    border: 0;
    border-top: 2px solid var(--ink);
    box-shadow: none;
    border-radius: 0;
    padding: 9px 15px calc(9px + env(safe-area-inset-bottom));
    color: var(--ink);
  }
  .quick-tray > div:first-child {
    margin-bottom: 8px;
  }
  .quick-tray b {
    color: var(--ink);
    font-size: 11px;
  }
  .quick-tray > div:first-child button {
    color: var(--accent);
    font-size: 10px;
    min-height: 24px;
    border: 0;
    background: none;
    padding: 0;
  }
  .tray-slots {
    gap: 6px;
  }
  .tray-slots button,
  .tray-slots > span {
    width: 44px;
    height: 44px;
    min-height: 44px;
    border-radius: 2px;
    border-color: #3b4b61;
    background: #192433;
    color: #9cabc0;
  }
  .tray-slots .skill-icon {
    border-radius: 1px;
  }
  .tray-slots small {
    color: #9cabc0;
    background: #192433;
  }
  .tray-slots > span {
    margin-left: auto;
    border-color: #3b4b61;
  }
  .tray-slots:has(> button:nth-child(6)) > button,
  .tray-slots:has(> button:nth-child(6)) > span {
    width: calc((100vw - 78px) / 9);
  }
  .detail-panel {
    padding: 14px;
    border-top: 0;
  }
  .detail-heading h2 {
    font-size: 22px;
  }
  .detail-stats dd {
    font-size: 20px;
  }
  .document-page .page-panel {
    padding: 18px 15px;
  }
  .page-panel h2,
  .section-title h2 {
    font-size: 17px;
  }
  .relation {
    padding: 16px 14px;
  }
  .relation-skill h3 {
    font-size: 15px;
  }
  .preset-item {
    padding: 17px 14px;
  }
  .preset-item h2 {
    font-size: 18px;
  }
  .sim-metrics strong {
    font-size: 23px;
  }
  footer {
    margin-top: 30px;
    padding: 20px 0;
  }
  dialog {
    padding: 22px 18px;
  }
  dialog h2 {
    font-size: 19px;
  }
  html {
    scroll-padding-top: 115px;
  }
  #build-coach {
    scroll-margin-top: 115px;
  }
}

.build-coach {
  margin-top: 18px;
}
.coach-snapshot {
  margin-bottom: 0;
}

input,
select,
textarea {
  background-color: #192433;
  border-color: #3b4b61;
}
.source-link,
.source-line a {
  color: #9cabc0;
  border-color: #3b4b61;
}
.tier-table,
.content-guide .appendix {
  border-radius: 0;
  border-color: var(--line);
}
.tier-table th {
  background: #192433;
  color: #9cabc0;
}
.empty-illustration {
  width: 180px;
  height: 120px;
  object-fit: contain;
  display: block;
  margin: 0 auto 17px;
}
.empty-state:has(.empty-illustration) {
  padding: 28px 24px 34px;
}

@font-face {
  font-family: Galmuri;
  src: url("/assets/fonts/Galmuri11-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --display: Galmuri, "Pretendard Variable", sans-serif;
}
body {
  position: relative;
  background: #0b1320;
}
.game-backdrop {
  position: absolute;
  z-index: 0;
  top: 74px;
  left: 0;
  right: 0;
  height: 530px;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 55%, #0b1320 100%),
    url("/assets/dokkaebi-world-v2.png") center top / cover no-repeat;
}
main,
footer {
  position: relative;
  z-index: 1;
}
.masthead {
  background: #0e1725;
  border-bottom: 1px solid #56627a;
  box-shadow: 0 3px 18px #02071170;
}
.brand {
  color: #f4e6cd;
}
.brand:hover {
  color: #fff3d8;
}
.brand > span {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: -1px;
  line-height: 1.2;
}
.brand strong {
  color: #edcf94;
  font-weight: 700;
}
.brand small {
  color: #8699b3;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0;
}
.site-nav > a {
  color: #a0b0c7;
  font-size: 14px;
}
.site-nav > a:hover {
  background: #1a293d;
  color: #f1dbaf;
}
.site-nav > a[aria-current="page"] {
  color: #eac68b;
}
.site-nav > a[aria-current="page"]:after {
  background: #d1ad6d;
}
.nav-more > summary {
  color: #a0b0c7;
}
.nav-more > div {
  background: #152235;
  border-color: #5b6a81;
}
.nav-more a:hover,
.nav-more a[aria-current="page"] {
  background: #26384e;
  color: #efd39e;
}
.mode-control {
  background: #090f1b;
  border: 1px solid #4c5b71;
}
.mode-control button[aria-pressed="true"] {
  background: #d0b079;
  color: #182131;
}
.header-link {
  color: #d1b986;
}
.page-heading h1,
.document-page .page-heading h1 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -1px;
  color: #eee5d4;
  text-shadow: 2px 2px #050b15;
}
.page-copy {
  color: #a5b3c6;
}
.document-page .page-heading {
  min-height: 145px;
  align-items: center;
}
.builder-heading {
  min-height: 303px;
  border: 0;
  margin-bottom: 0;
  padding: 38px 0 35px;
  overflow: visible;
}
.builder-heading > div {
  max-width: 650px;
  padding: 0;
}
.builder-heading h1 {
  font-family: var(--display);
  font-size: 36px;
  line-height: 1.45;
  color: #f5e8cc;
  text-shadow:
    3px 3px #070e1a,
    0 1px #070e1a;
  margin-top: 8px;
}
.builder-heading .eyebrow {
  color: #b8c7d9;
  font-size: 12px;
}
.builder-heading .page-copy {
  font-size: 14px;
  line-height: 1.8;
  color: #b2c2d7;
  margin-top: 7px;
}
.hero-data {
  display: flex;
  gap: 12px;
  margin-top: 13px;
  color: #d3bc8f;
  font-size: 11px;
}
.hero-data span + span {
  border-left: 1px solid #677083;
  padding-left: 12px;
}
.hero-actions {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.hero-actions button,
.hero-actions .button {
  font-size: 12px;
  min-height: 38px;
  padding: 9px 16px;
  border-radius: 1px;
}
.hero-actions .button {
  background: #111d2cbb;
  border: 1px solid #6f7787;
  color: #c6d0df;
}
.primary,
button.primary,
a.primary {
  background: #d4b27a;
  color: #142032;
  border-color: #e5c795;
  box-shadow: inset 0 1px #f9dfaa;
}
.primary:hover,
button.primary:hover,
a.primary:hover {
  background: #e8c993;
  color: #0e1725;
}
button:disabled,
button:disabled:hover {
  opacity: 1;
  background: #1d2c40;
  border-color: #42536d;
  color: #a6b6cc;
  box-shadow: none;
  cursor: not-allowed;
}
.button-row button:not(.primary):hover {
  background: #283a51;
  color: #eee3cf;
}
.workspace-nav {
  border-color: #5d718b;
}
.workspace-nav button {
  background: #121e2e;
  color: #99acc6;
  border: 1px solid #354862;
  border-bottom: 0;
}
.workspace-nav button[aria-pressed="true"] {
  background: #263850;
  color: #f0cf93;
  box-shadow: inset 0 2px #b99a66;
}
.coach-snapshot {
  border-color: #34465e;
  background: #101b2bca;
  padding: 9px 12px;
}
.coach-snapshot b {
  color: #b5c5da;
}
.coach-snapshot span {
  color: #7e94b1;
}
.coach-snapshot button {
  color: #d8bd8a;
}
.equipment {
  background: #152132;
  border: 1px solid #61708a;
  padding: 20px;
  box-shadow: inset 0 0 0 3px #0b1422;
}
.equipment h2,
.equipment-heading h2 {
  font-family: var(--display);
  font-size: 16px;
  color: #e5d8bd;
}
.equipment h2 > span {
  color: #a4b3c9;
}
.equipment-heading button {
  border-color: #4e617c;
  color: #a1b4ce;
}
.equipment-heading button:hover {
  background: #293d57;
  color: #e8d7b5;
}
.placement-note {
  color: #90a3bf;
}
.extra-label,
.base-label {
  color: #97abc5;
}
.extra-label > span {
  color: #8fa5c3;
}
.equip-slot {
  background: #081321;
  border: 1px solid #6f7d91;
  box-shadow: inset 0 0 0 2px #0b1526;
  border-radius: 1px;
}
.equip-slot:hover {
  background: #243a54;
  border-color: #d0b789;
}
.equip-slot .skill-icon {
  border-radius: 0;
}
.slot-plus {
  color: #7086a3;
}
.slot-position {
  background: #243952;
  color: #b9cce2;
  border: 1px solid #59708b;
}
.slot-order {
  background: #cfac72;
  color: #101a29;
}
.slot-name {
  color: #c1d0e4;
}
.slot-actions button {
  color: #8eabc9;
}
.slot-actions button:hover {
  background: #314762;
  color: #fff;
}
.locked .equip-slot {
  background: #101b29;
  border-color: #394c65;
}
.locked .slot-name,
.lock-symbol {
  color: #8fa5c3;
}
.ultimate-slot {
  border-color: #61718a;
}
.ultimate-label,
.ultimate-slot > strong {
  color: #d7b578;
}
.ultimate-slot > small {
  color: #8299b6;
}
.ultimate-icon {
  background: #101926;
  border-color: #978057;
  color: #a18a62;
  border-radius: 1px;
}
.ultimate-icon.registered {
  background: #2b2a28;
  border-color: #d8bd80;
  box-shadow: 0 0 9px #d0a85c20;
}
.unlock-settings,
.order-section,
.build-save {
  border-color: #384b65;
}
.unlock-settings summary,
.unlock-settings summary span,
.unlock-settings p,
.unlock-options label,
.unlock-settings a {
  color: #9cacc3;
}
.order-heading {
  color: #d4deec;
}
.order-heading > span {
  color: #8198b8;
}
.order-item {
  background: #1c2b40;
  border-color: #354d6b;
  color: #9cb1cc;
  box-shadow: inset 0 1px #293d57;
}
.order-item > b {
  color: #d5dfed;
}
.order-item > span,
.order-grip {
  color: #7f9abf;
}
.order-item button {
  color: #c6b48e;
}
.order-item button:hover {
  background: #3e4a5b;
  color: #ffe2a9;
}
.order-empty,
.draft-status,
.draft-status a {
  color: #8098ba;
}
.build-save input {
  background: #0d1726;
  border-color: #4d6180;
  color: #d4dfec;
}
.build-save button {
  border-color: #6a7690;
  color: #bdcde0;
}
.build-save .gold-button {
  background: #c6a572;
  border-color: #e2c391;
  color: #111d2f;
}
.build-save .gold-button:hover {
  background: #e0bd84;
  color: #101825;
}
.build-coach,
.catalog-pane,
.detail-panel,
.page-panel,
.preset-item {
  background: #192536;
  border-color: #445771;
}
.build-coach,
.catalog-pane,
.detail-panel {
  border-top: 2px solid #a28c67;
}
.build-coach,
.page-panel {
  position: relative;
}
.catalog-pane:before,
.build-coach:before,
.equipment:after {
  content: "";
  position: absolute;
  top: -2px;
  left: -1px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #d2b780;
  border-left: 2px solid #d2b780;
  pointer-events: none;
  z-index: 2;
}
.coach-heading h2,
.catalog-heading h2 {
  font-family: var(--display);
  font-size: 16px;
  color: #e5d5b6;
}
.coach-tabs button {
  color: #8ba1bf;
}
.coach-tabs [aria-selected="true"] {
  color: #e5c68a;
  border-bottom-color: #c4a16a;
}
.coach-summary strong {
  color: #d8ba82;
}
.coach-summary > span {
  color: #899db9;
}
.coach-check-title > span {
  color: #d6b37d;
}
.coach-check-title b {
  color: #dce4f0;
}
.coach-check p {
  color: #a9b9cd;
}
.coach-check > small,
.coach-footnote {
  color: #7f95b3;
}
.coach-check button {
  background: #24364d;
  border-color: #4d6585;
  color: #c8d4e5;
}
.external-condition {
  color: #94abc7;
}
.coach-details summary,
.coach-clear {
  color: #a9bed7;
}
.coach-empty p,
.setup-intro p {
  color: #9cb0cb;
}
.coach-examples button {
  color: #a8bdd7;
  border-color: #344963;
}
.setup-fields input,
.setup-fields select {
  background: #101c2d;
  border-color: #4b6280;
  color: #dae3ef;
}
.setup-fields input:disabled {
  background: #152132;
  color: #93a7c2;
}
.setup-fields label,
.setup-tip {
  color: #9ab0cc;
}
.compare-columns article {
  border-top-color: #6c809c;
}
.compare-columns article:last-child {
  border-top-color: #d3b078;
}
.compare-columns h3 {
  color: #d6c59f;
}
.compare-placeholder {
  border-color: #526d91;
  color: #879fbe;
}
.replacement-choice small {
  color: #90a7c7;
}
.catalog-heading > span {
  color: #8fa4c1;
}
.search-wrap {
  background: #0f1b2b;
  border: 1px solid #344c6c;
}
.search-wrap:focus-within {
  background: #15263d;
  border: 1px solid #6884a8;
  box-shadow: none;
}
.search-wrap input {
  color: #d7e1ee;
}
.search-wrap:has(input:focus-visible) {
  box-shadow: inset 0 -2px #b9a06d;
}
.search-icon {
  color: #869fbd;
  stroke: #869fbd;
}
.search-wrap button {
  color: #869fbd;
}
.learning-label,
.filter-extra summary {
  color: #99afcd;
}
.filter-extra > div {
  background: #17263a;
  border-color: #506a8d;
}
.catalog-pane .style-tabs {
  background: #131f30;
  border-color: #344961;
  padding: 3px 8px;
}
.catalog-pane .style-tabs button {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 51px;
  min-height: 59px;
  padding: 6px 8px;
  color: #8da4c3;
  font-size: 11px;
}
.catalog-pane .style-tabs button[aria-pressed="true"] {
  color: #e9c684;
  background: #27364b;
  border-bottom-color: #c6a46d;
}
.catalog-pane .style-tabs button:hover {
  background: #26374d;
  color: #efcf97;
}
.style-icon {
  width: 21px;
  height: 21px;
  object-fit: contain;
  border: 1px solid #66728a;
  image-rendering: auto;
}
.style-all {
  height: 21px;
  font-size: 25px;
  line-height: 21px;
  color: #b7c9de;
}
.list-hint {
  background: #111d2d;
  color: #7892b2;
  border-color: #30455f;
}
.list-hint b {
  color: #a6bad4;
}
.skill-row,
.skill-row.selected {
  background: #1a273a;
  border-color: #30445e;
}
.skill-row.selected {
  background: #22344b;
}
.skill-row.equipped {
  background: #2d3a4b;
  border-color: #4d5c72;
  box-shadow: inset 0 2px #c7a66d;
}
.skill-row:hover {
  background: #2a3d57;
  border-color: #6b7f9c;
}
.skill-select .skill-icon {
  border-radius: 1px;
  box-shadow: 0 2px 5px #03081090;
}
.skill-name {
  color: #e1e8f2;
}
.row-effects,
.card-cooldown {
  color: #9eb4d1;
}
.card-slot-number {
  background: #dab77b;
  color: #132139;
  box-shadow: 0 1px #020711;
}
.card-actions > span {
  color: #9ab0ce;
}
.card-actions button {
  color: #b9c9df;
}
.skill-row.equipped .card-actions > span {
  color: #d9bd8b;
}
.catalog-note {
  background: #121f31;
  color: #6e88aa;
}
.candidate-filter {
  background: #253a52;
  color: #dfc18c;
  border-color: #65718b;
}
.detail-category,
.cast-label,
.detail-stats dt {
  color: #8ba4c4;
}
.detail-stats {
  background: #111e2f;
  border-color: #344b69;
}
.detail-stats dd {
  color: #e7d4ad;
}
.mode-badge {
  border-color: #66758b;
  color: #d1bc95;
}
.detail-tabs [aria-selected="true"] {
  color: #ecd2a3;
  border-color: #bf9e65;
}
.effect-item p,
.skill-description {
  color: #a7bad2;
}
.effect-item .requirement {
  color: #dfb48e;
}
.effect-values,
.component-record,
.sinsik-page pre {
  background: #111d2e;
  color: #acbdd3;
  border-color: #3a4e6b;
}
.effect-values b,
.effect-values .changed {
  color: #e7d4ad;
}
.provenance {
  color: var(--muted);
}
.composition-slot.muted {
  opacity: 1;
  color: var(--muted);
}
.composition-slot > span {
  font-size: 10px;
  color: #9aafcb;
}
.composition-slot b {
  font-size: 12px;
}
.composition-slot small {
  font-size: 10px;
}
.notice,
.info-line {
  background: #1c2b3f;
  color: #a2b6d0;
  border-color: #6b7e98;
}
.notice.warning,
.content-warning,
.detail-notice {
  background: #2b2c30;
  color: #c6b89d;
  border-color: #aa8e5c;
}
.relation {
  background: #192739;
  border-color: #344b67;
  border-left-color: #af9566;
}
.step-label {
  color: #a3b6cd;
}
.relation-arrow {
  color: #bc9f68;
}
.relation-result {
  color: #d4b477;
}
.relation-step > p {
  color: #a5b9d3;
}
.relation-step > p small,
.relation-skill small {
  color: #8fa5c3;
}
.relation-step > .relation-result {
  color: #d8bd89;
}
.effect-values small,
.detail-stats small,
.equipment-probability {
  color: #9aafcb;
}
.tier-table th,
.table-scroll th,
.sim-table-wrap thead th {
  background: #25364b;
  color: #c8b38c;
}
.tier-table td,
.table-scroll td {
  border-color: #34475f;
}
.table-scroll tr:nth-child(even) td {
  background: #162338;
}
.tier-table .matched td,
.today-row {
  background: #2c3a4a;
  color: #dec28e;
}
.source-link,
.source-line a {
  color: #b2c7e2;
  border-color: #657d9c;
}
.source-index details,
.content-record {
  background: #162335;
  border-color: #405672;
}
.source-index details a {
  color: #b2c7e2;
}
.content-record p,
.content-record li {
  color: #b5c7dd;
}
.content-record .content-warning {
  color: #d6c59f;
}
.account-row,
.coupon-row {
  background: #132136;
  border-color: #3c5575;
}
.sim-profile-label,
.sim-profile-note,
.sim-build-spell {
  background: #23354c;
  color: #b5c7e1;
  border-color: #415a7a;
}
.advanced-settings {
  background: #111d2e;
  color: var(--ink);
  border-color: #425b7c;
}
.advanced-settings > summary {
  color: #e7d4ad;
}
.time-buttons [aria-pressed="true"] {
  background: #cbb17e;
  border-color: #dec491;
  color: #101b2c;
}
.combat-time output,
.sim-metrics strong {
  color: #ead5ad;
}
.sim-metrics {
  background: #142337;
  border-color: #3a5273;
}
.sim-metrics > div {
  border-color: #3a5273;
}
.cooldown-event {
  background: #66a1b8;
}
.cooldown-effect {
  background: #a48d61;
}
.timeline-legend span:before {
  background: #66a1b8;
}
.timeline-legend span:last-child:before {
  background: #a48d61;
}
.empty-state {
  background: #152338;
  border-color: #3a5273;
}
.empty-illustration {
  width: 350px;
  max-width: 100%;
  height: 117px;
  object-fit: cover;
  object-position: right center;
  border: 1px solid #566985;
}
.share-preview {
  background: #1a2b42;
  border-color: #b09360;
}
input,
select,
textarea {
  background: #111d2e;
  border-color: #425b7c;
  color: #d2dfee;
}
input::placeholder,
textarea::placeholder {
  color: #93a7c2;
  opacity: 1;
}
.danger {
  color: #e0a28f;
}
.toast {
  background: #17273d;
  color: #e2eaf5;
  border-color: #70849e;
}
dialog {
  background: #19283d;
  border-color: #8491a5;
  color: #e3e8f0;
}
footer {
  border-color: #2f435e;
  color: #718aab;
}
.footer-brand {
  color: #c9b48e;
  font-family: var(--display);
  font-size: 16px;
}
*::-webkit-scrollbar-thumb {
  background: #485e7b;
}
*::-webkit-scrollbar-track {
  background: #101c2e;
}
html {
  scrollbar-color: #485e7b #101c2e;
}
@media (max-width: 1100px) and (min-width: 801px) {
  .brand > span {
    font-size: 20px;
  }
  .site-nav > a {
    font-size: 12px;
  }
  .catalog-pane .style-tabs button {
    min-width: 46px;
    padding-left: 6px;
    padding-right: 6px;
  }
}
@media (max-width: 800px) {
  .game-backdrop {
    top: 94px;
    height: 355px;
    background-size: auto 280px;
    background-position: 70% top;
    background-image:
      linear-gradient(180deg, #08132220 15%, #0b1320 95%),
      url("/assets/dokkaebi-world-v2.png");
  }
  .brand > span {
    font-size: 20px;
    letter-spacing: -1px;
  }
  .brand strong {
    color: #e8ca91;
  }
  .brand > img {
    width: 30px;
    height: 30px;
  }
  .site-nav {
    background: #111c2c;
    border-top-color: #2d405a;
  }
  .site-nav > a {
    font-size: 12px;
  }
  .nav-more > summary {
    font-size: 11px;
  }
  .builder-heading {
    min-height: 224px;
    padding: 27px 0 25px;
  }
  .builder-heading > div {
    padding: 0;
    max-width: 260px;
  }
  .builder-heading h1 {
    font-family: var(--display);
    font-size: 24px;
    line-height: 1.5;
    max-width: 260px;
  }
  .builder-heading .eyebrow {
    font-size: 10px;
    color: #9fb2ce;
  }
  .builder-heading .page-copy {
    display: block;
    font-size: 12px;
    max-width: 220px;
    color: #afc2dc;
    line-height: 1.6;
  }
  .hero-data {
    font-size: 10px;
    gap: 9px;
    margin-top: 11px;
  }
  .hero-data span + span {
    padding-left: 9px;
  }
  .hero-actions {
    margin-top: 14px;
    gap: 5px;
  }
  .hero-actions button,
  .hero-actions .button {
    font-size: 10px;
    padding: 8px 10px;
    min-height: 35px;
  }
  .document-page .page-heading {
    min-height: 137px;
  }
  .document-page .page-heading h1 {
    font-size: 24px;
  }
  .mobile-views {
    background: #142238;
    border-color: #8b9ab0;
    margin-bottom: 12px;
  }
  .mobile-views button {
    color: #8fa8cb;
  }
  .mobile-views button[aria-pressed="true"] {
    background: #31435e;
    color: #edd1a0;
    border-color: #c1a16c;
  }
  .equipment {
    padding: 17px 14px;
  }
  .equipment-heading h2 {
    font-family: var(--display);
    font-size: 14px;
  }
  .ultimate-slot {
    border-left-color: #53657f;
  }
  .coach-heading h2,
  .catalog-heading h2 {
    font-family: var(--display);
    font-size: 14px;
  }
  .catalog-pane .style-tabs {
    padding: 3px 7px;
  }
  .catalog-pane .style-tabs button {
    min-height: 57px;
    min-width: 49px;
    gap: 4px;
    font-size: 10px;
  }
  .style-icon {
    width: 20px;
    height: 20px;
  }
  body:has(.book-layout[data-mobile-view="catalog"]) .game-backdrop {
    height: 200px;
    opacity: 0.35;
  }
  body:has(.book-layout[data-mobile-view="catalog"]) .builder-heading {
    padding: 16px 0 12px;
    min-height: 0;
  }
  body:has(.book-layout[data-mobile-view="catalog"]) .hero-data,
  body:has(.book-layout[data-mobile-view="catalog"]) .hero-actions,
  body:has(.book-layout[data-mobile-view="catalog"])
    .builder-heading
    .page-copy {
    display: none;
  }
  body:has(.book-layout[data-mobile-view="catalog"]) .quick-tray {
    background: #111f32;
    border-top: 2px solid #8996ab;
    color: #e1d2b3;
    box-shadow: 0 -4px 18px #03091260;
  }
  .quick-tray b {
    color: #c8d4e6;
  }
  .quick-tray > div:first-child button {
    color: #d2b77c;
  }
  .tray-slots button,
  .tray-slots > span {
    background: #0b1626;
    border-color: #577091;
    color: #819aba;
  }
  .tray-slots small {
    background: #253c58;
    color: #d1dce9;
  }
  .tray-slots > span {
    border-color: #b09560;
  }
  .empty-illustration {
    width: 280px;
    height: 94px;
  }
}
