.guide-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 7px 15px;
  border: 1px solid #9dbfed;
  border-radius: 10px;
  color: #1b4d92;
  background: #f5faff;
  font-weight: 700;
  text-decoration: none;
}
.guide-home-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px }
.guide-home-link:hover { color: #142747; border-color: #ddad54; background: #fff1ce }
.guide-home-link span { font-size: 22px; line-height: 1 }

.guide-header {
  padding: clamp(16px, 3.3vw, 35px);
  border: 1px solid #bdd3ed;
  border-radius: 20px;
  background: radial-gradient(ellipse at 92% 5%, #ffeabc, transparent 47%), linear-gradient(115deg,#fff,#e4f0ff 82%);
  box-shadow: 0 4px 0 #cedff46c;
}
.guide-header h1 { margin-top: 5px; color: #16417e; font-size: clamp(25px,4vw,44px); line-height: 1.24 }
.guide-header h1:focus { outline: 0 }
.guide-header p { margin-top: 7px; color: #435b7a; max-width: 62ch }
.guide-entry {
  margin-top: 13px;
  padding: 12px 15px;
  border: 1px solid #c8d9ee;
  border-radius: 13px;
  background: #fff;
}
.guide-entry h2 { margin-bottom: 7px; color: #1b4d92; font-size: 15px }
.guide-entry-path { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin: 0; padding: 0; list-style: none }
.guide-entry-path li { display: inline-flex; align-items: center; gap: 5px; color: #244a7b; font-size: 13px; font-weight: 700 }
.guide-entry-path li + li::before { content: "›" / ""; color: #718dc1; font-size: 18px; line-height: 1 }
.guide-entry-path li:last-child { color: #663609 }
.guide-rune-table { margin-top: 13px }
.guide-rune-table table { width: 100%; table-layout: fixed; border-collapse: collapse; color: #263f68 }
.guide-rune-table th, .guide-rune-table td { padding: 6px; border-bottom: 1px solid #d5e2f3; text-align: start }
.guide-rune-table tr > :first-child { width: 16% }
.guide-rune-table thead { background: #eaf3ff }
.guide-rune-table tbody tr:last-child > * { border-bottom: 0 }
.guide-rune-table .guide-item { border-color: transparent; background: transparent }
.guide-rune-table .guide-item:hover { border-color: #84a8da; background: #eaf3ff }
.guide-empty-rune { padding-inline-start: 8px; color: #51698a }
.guide-table-hint { margin-top: 8px; color: #435674; font-size: 13px }
.guide-category { margin-top: 21px }
.guide-category > h2 { margin-bottom: 8px; color: #16417e; font-size: clamp(18px,2.2vw,24px) }
.guide-index { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px }
.guide-tile {
  --tint: #edf5ff;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-width: 0;
  min-height: 84px;
  overflow: hidden;
  border: 1px solid #bdd0e8;
  border-inline-start: 4px solid var(--tint);
  border-radius: 16px;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 4px 0 #cedff475;
}
.guide-tile[data-color="pink"] { --tint: #fbecf7 }
.guide-tile[data-color="mint"] { --tint: #e6f5ee }
.guide-tile[data-color="gold"] { --tint: #fff1d1 }
.guide-tile:hover { border-color: #5486c4; box-shadow: 0 4px 0 #bfd4ef }
.guide-tile:focus-visible { outline: 2px solid #2966a6; outline-offset: 2px }
.guide-tile:has(.guide-tile-preview) { grid-template-columns: minmax(65px, 24%) minmax(0, 1fr) }
.guide-tile-preview {
  display: grid;
  place-items: center;
  align-self: stretch;
  min-width: 0;
  min-height: 78px;
  padding: 5px;
  background: linear-gradient(150deg, var(--tint), #f7faff);
}
.guide-tile-preview img {
  width: 100%;
  height: auto;
  max-height: 72px;
  object-fit: contain;
  border-radius: 8px;
}
.guide-tile-copy { position: relative; padding: 10px 27px 11px 10px }
.guide-tile-title { display: flex; align-items: center; gap: 7px }
.guide-tile h3 { color: #163d75; font-size: 15px; line-height: 1.3 }
.guide-tile p { margin-top: 3px; color: var(--muted); font-size: 13px; line-height: 1.45 }
.guide-tile-arrow { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); color: #2b65aa; font: 700 22px/1 system-ui,sans-serif }

.guide-filter {
  display: grid;
  gap: 12px;
  padding: clamp(12px, 2.3vw, 20px);
  margin-top: 15px;
  border: 1px solid #c8d9ee;
  border-radius: 15px;
  background: #fff;
}
.guide-search, .guide-equipment-picker {
  display: grid;
  gap: 5px;
  max-width: 530px;
  color: #254a78;
  font-size: 13px;
  font-weight: 700;
}
.guide-search input, .guide-equipment-picker select {
  min-width: 0;
  width: 100%;
  min-height: 43px;
  padding: 8px 11px;
  border: 1px solid #aac5e6;
  border-radius: 11px;
  background: #f8fbff;
  color: #233f61;
  font: inherit;
  font-size: 16px;
}
.guide-category-filter { display: flex; flex-wrap: wrap; gap: 6px }
.guide-category-filter button {
  min-height: 40px;
  padding: 7px 12px;
  border: 1px solid #c7d9ee;
  border-radius: 10px;
  background: #f1f7ff;
  color: #2f5176;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.guide-category-filter button[aria-pressed="true"] { border-color: #2966a6; color: #fff; background: #245f9c }
.guide-filter-status { margin: 0; color: #4f6581; font-size: 13px }

.guide-layout { display: grid; grid-template-columns: minmax(260px, .9fr) minmax(0, 1.1fr); gap: 16px; margin-top: 16px; align-items: start }
.guide-layout.guide-text-layout { grid-template-columns: minmax(0, 1fr); max-width: 920px }
.guide-equipment-example { display: grid; gap: 9px; margin-top: 9px }
.guide-equipment-example .guide-materials { margin-top: 0; padding: 9px }
.guide-equipment-example .guide-item-list { grid-template-columns: repeat(2, minmax(0, 1fr)) }
.guide-equipment-results { margin-top: 9px; border: 1px solid #ccdef1; border-radius: 11px; background: #f6faff }
.guide-equipment-results summary { padding: 9px; color: #224c80; cursor: pointer; font-weight: 700 }
.guide-equipment-results[open] > :not(summary) { margin: 0 7px 7px }
.guide-related h2 { flex-basis: 100%; color: #1b4d92; font-size: 17px; margin: 0 }
.guide-related a { overflow-wrap: anywhere }
.guide-screen-link { position: relative; display: block; border-radius: inherit }
.guide-screen-link:focus-visible { outline: 2px solid #2966a6; outline-offset: 2px }
.guide-screen-link img { display: block }
.guide-screen-link span {
  display: table;
  margin: 5px 0 0 auto;
  padding: 3px 7px;
  border-radius: 6px;
  color: #fff;
  background: #193451e8;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
}

.guide-box { min-width: 0; padding: clamp(13px,2.3vw,23px); border: 1px solid #ccdcef; border-radius: 17px; background: #fff }
.guide-box h2 { margin-bottom: 11px; color: #1b4d92; font-size: clamp(17px,2vw,22px); line-height: 1.3 }
.guide-steps { margin: 0; padding: 0; display: grid; gap: 13px; list-style: none; counter-reset: guide-step }
.guide-steps li { position: relative; padding-inline-start: 39px; counter-increment: guide-step }
.guide-steps li::before {
  position: absolute;
  inset: 1px auto auto 0;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid #bad6ff;
  border-radius: 50%;
  color: #204b8c;
  background: #e7f2ff;
  content: counter(guide-step);
  font-weight: 700;
}
.guide-steps h3 { font-size: 15px }
.guide-steps p { margin-top: 3px; color: #435674; font-size: 14px }
.guide-instructions .guide-home-link { margin-top: 11px }
.guide-note {
  margin-top: 15px;
  padding: 10px 12px;
  border: 1px solid #efdaaa;
  border-radius: 9px;
  color: #654819;
  background: #fff5de;
  font-size: 13px;
}
.guide-pictures { display: grid; gap: 12px; min-width: 0 }
.guide-figure {
  display: grid;
  place-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 9px;
  border: 1px solid #c7d8ee;
  border-radius: 14px;
  background: #e5eefb;
}
.guide-figure-art { position: relative; width: min(100%,500px) }
.guide-figure img { width: 100%; height: auto; border-radius: 9px }
.guide-entry-figure .guide-figure-art { width: min(100%,275px) }
.guide-image-mark {
  position: absolute;
  outline: 2px solid #1b7bb2;
  outline-offset: 2px;
  border-radius: 4px;
  pointer-events: none;
}
.guide-image-mark[data-mark="fee"] { outline-color: #d14e9d }
.guide-figure figcaption { color: #36547e; font-size: 13px; text-align: center }
.guide-materials { margin-top: 16px }
.guide-item-list { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; list-style: none; padding: 0; margin: 0 }
.guide-item {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 56px;
  gap: 8px;
  padding: 6px;
  border: 1px solid #cddcf0;
  border-radius: 11px;
  color: #233f6e;
  background: #f6faff;
  text-decoration: none;
}
.guide-item:hover { border-color: #84a8da; background: #eaf3ff }
.guide-item-copy { display: grid; gap: 2px; min-width: 0; font-size: 13px; line-height: 1.3; overflow-wrap: anywhere }
.guide-item-copy small { color: #476184; font-size: 12px }
.guide-grades, .guide-links { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px }
.guide-upgrade-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 14px }
.guide-upgrade-nav .guide-grades { margin: 0 }
.guide-upgrade-nav button { min-height: 43px }
.guide-grades a {
  display: grid;
  place-items: center;
  min-width: 65px;
  min-height: 43px;
  padding: 6px 12px;
  border: 1px solid #afc6e7;
  border-radius: 11px;
  color: #254f8d;
  background: #fff;
  font-weight: 700;
  text-decoration: none;
}
.guide-grades a:hover { background: #e0eeff }
.guide-grades a[aria-current] { border-color: #e4b552; color: #51320c; background: linear-gradient(#ffedb1,#ffd175) }
.guide-recipe { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr); gap: 8px; margin-bottom: 10px }
.guide-transform { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 6px }
.guide-recipe p { grid-column: 1 / -1; color: var(--muted); font-size: 13px }
.guide-catalyst { margin-top: 16px; border: 1px solid #b7ceeb; border-radius: 14px; background: #e9f3ff; scroll-margin-top: 12px }
.guide-catalyst summary { padding: 12px 15px; border-radius: 13px; color: #1b4d92; font-weight: 700; cursor: pointer }
.guide-catalyst summary:focus-visible { outline: 3px solid #3376d2; outline-offset: 2px }
.guide-catalyst-body { padding: 0 clamp(8px,2vw,15px) 12px }
.guide-catalyst-body .guide-layout { margin-top: 0 }
.guide-chance-box, .guide-set-browser { margin-top: 13px }
.guide-chances { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 0; gap: 7px }
.guide-chances > div { display: grid; align-content: space-between; padding: 7px 10px; border-radius: 9px; background: #eef5ff }
.guide-chances > div:last-child { color: #226347; background: #e8f7ee }
.guide-chances dt { font-size: 12px }
.guide-chances dd { margin: 0; font-weight: 700; font-size: clamp(20px,3vw,27px) }
.guide-set-filters { display: flex; flex-wrap: wrap; gap: 9px }
.guide-set-filters label { display: grid; grid-template-columns: minmax(0,1fr); gap: 4px; flex: 1 1 160px; min-width: 0; color: #264d83; font-size: 13px; font-weight: 700 }
.guide-set-filters select { width: 100%; min-width: 0; min-height: 42px; padding: 4px 8px; border: 1px solid #adc4e4; border-radius: 8px; background: #f5faff; color: #18375e; font-size: 15px }
.guide-set-results .guide-materials { padding: 10px; border-color: #d4e2f4; background: #f3f8ff }
.guide-set-results .guide-item-list { margin-top: 8px }
.guide-set-bonus { margin-top: 9px; padding: 6px 9px; border-radius: 7px; color: #285a43; background: #e5f3e9; font-weight: 700 }

@media (max-width: 850px) {
  .guide-index { grid-template-columns: repeat(2,minmax(0,1fr)) }
  .guide-item-list { grid-template-columns: repeat(3,minmax(0,1fr)) }
}
@media (max-width: 680px) {
  .guide-index { grid-template-columns: minmax(0, 1fr) }
  .guide-tile { min-height: 72px }
  .guide-tile-preview { min-height: 69px }
  .guide-category-filter button { min-height: 42px }
}
@media (max-width: 650px) {
  .guide-layout { grid-template-columns: minmax(0,1fr); gap: 10px; margin-top: 12px }
  .guide-pictures { grid-row: 1 }
  .guide-catalyst-body .guide-pictures,
  .guide-pictures.guide-screen-gallery,
  [data-guide="equipment-production"] .guide-pictures { grid-row: auto }
  .guide-item-list { grid-template-columns: repeat(2,minmax(0,1fr)) }
  .guide-recipe { grid-template-columns: minmax(0,1fr) }
}
@media (max-width: 480px) {
  .guide-set-filters label { flex-basis: 100% }
  .guide-rune-table th, .guide-rune-table td { padding: 4px 2px; font-size: 11px }
  .guide-rune-table tr > :first-child { width: 19% }
  .guide-rune-table .guide-item { flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 6px 1px }
  .guide-rune-table :is(.guide-item-copy, .guide-item-copy small) { text-align: center; font-size: 11px }
}
.guide-roadmap-bonuses{margin-top:22px;padding:clamp(12px,2vw,22px);border:1px solid #796487;border-radius:16px;background:#101d31}
.guide-roadmap-bonuses h2{margin:0 0 12px;color:#f6da9d;font-size:clamp(19px,2.4vw,26px)}
.guide-roadmap-scroll{overflow-x:auto}
.guide-roadmap-bonuses table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:.94rem;font-variant-numeric:tabular-nums}
.guide-roadmap-bonuses td,.guide-roadmap-bonuses th{padding:9px 12px;border-bottom:1px solid #3b4760;text-align:start}
.guide-roadmap-bonuses thead th{color:#b9c9e3}
.guide-roadmap-bonuses tbody tr:last-child{color:#ffe3a2;background:#27304b}
