.guides-shell {
  --guide-gold: #e8bd43;
  --guide-gold-soft: rgba(232, 189, 67, .18);
  --guide-line: rgba(232, 189, 67, .2);
  --guide-panel: #0e1116;
  --guide-panel-2: #12161d;
  min-height: calc(100vh - 150px);
  padding-top: 34px;
  padding-bottom: 72px;
  width: min(1580px, calc(100% - 40px));
  max-width: 1580px;
  min-width: 0;
}

/* User-authored text may contain long links or strings without spaces. */
.guide-identity,
.guide-identity > div,
.guide-item-route,
.guide-stage,
.guide-detail-grid,
.guide-block,
.guide-note,
.guide-note > div,
.guide-view-talent,
.guide-view-talent > div {
  min-width: 0;
}

.guide-identity h1,
.guide-identity p,
.guide-stage-title,
.guide-item-note,
.guide-item-personal-note,
.guide-note strong,
.guide-note p,
.guide-view-talent strong,
.guide-view-talent p {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.guides-loading-state,
.guides-empty-state {
  min-height: 360px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  color: #8e9199;
  text-align: center;
}

.guides-loading-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--guide-line);
  color: var(--guide-gold);
  font: 600 25px/1 serif;
  animation: guides-mark-breathe 1.8s ease-in-out infinite;
}

@keyframes guides-mark-breathe {
  50% { box-shadow: 0 0 28px rgba(232, 189, 67, .14); transform: translateY(-2px); }
}

.guides-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  padding: 28px 0 26px;
  border-bottom: 1px solid var(--guide-line);
}

.guides-eyebrow {
  margin: 0 0 10px;
  color: var(--guide-gold);
  font: 700 11px/1.2 "Manrope", sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.guides-title {
  margin: 0;
  color: #f4f3ef;
  font: 750 clamp(36px, 5.5vw, 70px)/.92 "Barlow Condensed", sans-serif;
  letter-spacing: -.025em;
  text-transform: uppercase;
}

.guides-lead {
  max-width: 720px;
  margin: 14px 0 0;
  color: #9299a7;
  font: 500 14px/1.7 "Manrope", sans-serif;
}

.guides-primary,
.guides-secondary,
.guides-icon-button {
  min-height: 42px;
  border: 1px solid var(--guide-line);
  border-radius: 3px;
  font: 750 11px/1 "Manrope", sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

.guides-primary {
  padding: 0 19px;
  background: var(--guide-gold);
  border-color: var(--guide-gold);
  color: #0a0b0d;
}

.guides-primary:hover { background: #f4cf62; transform: translateY(-1px); }
.guides-secondary { padding: 0 16px; background: #101319; color: #d5d7dc; }
.guides-secondary:hover { border-color: rgba(232, 189, 67, .5); color: #fff; }
.guides-secondary.is-danger { color: #d98686; border-color: rgba(210, 75, 75, .28); }
.guides-icon-button { width: 42px; padding: 0; background: transparent; color: #a7a9af; }
.guides-icon-button:hover { color: var(--guide-gold); border-color: rgba(232, 189, 67, .5); }

.guides-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(150px, .65fr) minmax(125px, .48fr) minmax(170px, .72fr) minmax(160px, .62fr) auto;
  gap: 10px;
  padding: 18px 0;
}

.guides-control {
  min-height: 44px;
  width: 100%;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 3px;
  background: #0c0f14;
  color: #dedfe3;
  padding: 0 13px;
  outline: none;
  font: 500 13px/1 "Manrope", sans-serif;
}

.guides-control:focus { border-color: rgba(232, 189, 67, .56); }
.guides-control::placeholder { color: #60656f; }

.guides-status-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 28px;
  margin-bottom: 12px;
  color: #656b75;
  font: 650 10px/1.2 "Manrope", sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.guides-list {
  display: grid;
  gap: 8px;
}

.guide-row {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 170px 146px 34px;
  align-items: center;
  gap: 18px;
  min-height: 94px;
  padding: 10px 14px 10px 10px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(90deg, rgba(232, 189, 67, .035), transparent 35%),
    var(--guide-panel);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.guide-row::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 17px;
  bottom: 17px;
  width: 2px;
  background: var(--guide-gold);
  opacity: 0;
  transition: opacity .18s ease;
}

.guide-row:hover {
  transform: translateX(3px);
  border-color: rgba(232, 189, 67, .28);
  background: linear-gradient(90deg, rgba(232, 189, 67, .075), transparent 42%), var(--guide-panel-2);
}

.guide-row:hover::before { opacity: 1; }
.guide-row-portrait { width: 72px; height: 72px; object-fit: cover; background: #080a0d; }
.guide-row-copy { min-width: 0; }
.guide-row-title { margin: 0; color: #f1f0ed; font: 700 21px/1.1 "Barlow Condensed", sans-serif; letter-spacing: .01em; }
.guide-row-summary { margin: 7px 0 0; color: #858b96; font: 500 12px/1.45 "Manrope", sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.guide-row-author { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 12px; margin-top: 8px; color: #666c76; font: 600 10px/1.2 "Manrope", sans-serif; }
.guide-author-identity { display:inline-flex; align-items:center; gap:6px; min-height:22px; color:#c5c8ce; text-decoration:none; font:700 10px/1.2 "Manrope",sans-serif; transition:color .16s ease; }
.guide-author-identity:hover { color:#e4c363; }
.guide-author-avatar { display:block; width:22px; height:22px; flex:0 0 22px; overflow:visible; background:#151922; outline:1px solid rgba(255,255,255,.1); }
.guide-author-avatar > img,.guide-author-avatar-fallback { display:block; width:100%; height:100%; object-fit:cover; }
.guide-author-avatar-fallback { background:linear-gradient(135deg,#1b2029,#0d1015); }
.guide-author-rating { display:inline-grid !important; grid-template-columns:26px auto; align-items:center; gap:7px; min-height:30px !important; padding:3px 8px 3px 4px; border:1px solid rgba(232,189,67,.17); background:linear-gradient(100deg,rgba(232,189,67,.08),rgba(232,189,67,.015)); color:#a38e5c; font:700 9px/1.15 "Manrope",sans-serif; text-transform:none; letter-spacing:0; }
.guide-author-rating img { width:25px; height:25px; object-fit:contain; filter:drop-shadow(0 2px 4px rgba(0,0,0,.45)); }
.guide-author-rating > span { display:grid; gap:2px; min-height:0 !important; }
.guide-author-rating b { color:#d7c68c; font-size:9px; font-weight:750; white-space:nowrap; }
.guide-author-rating small { color:#777e88; font-size:8px; white-space:nowrap; }
.guide-author-rating strong { color:#f0d164; font-size:10px; }
.guide-author-rating.is-unranked { display:inline-flex !important; min-height:22px !important; padding:0; border:0; background:none; color:#6d737d; }
.guide-updated-at { display: inline-flex; align-items: center; color: #858b95; font: 600 9px/1.2 "Manrope", sans-serif; letter-spacing: .04em; white-space: nowrap; }
.guide-updated-at time { margin-left: 4px; color: #c2c6ce; font-weight: 700; }
.guide-updated-at.is-compact { color: #686e78; }
.guide-row-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.guide-tag { padding: 5px 7px; border: 1px solid rgba(255,255,255,.09); color: #9197a1; font: 700 9px/1 "Manrope", sans-serif; letter-spacing: .07em; text-transform: uppercase; }
.guide-tag.is-mode { border-color:rgba(232,189,67,.24); background:rgba(232,189,67,.045); color:#d2b95f; }
.guide-row-metrics { display: grid; gap: 8px; }
.guide-row-actions { display:flex; align-items:center; justify-content:flex-end; gap:6px; }
.guide-row-numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.guide-metric { color: #777d88; font: 650 10px/1.2 "Manrope", sans-serif; text-align: right; }
.guide-metric strong { display: block; margin-bottom: 3px; color: #d8d9dc; font-size: 14px; }
.guide-row-arrow { color: var(--guide-gold); font-size: 20px; text-align: right; }

.guide-vote-controls { display: flex; align-items: center; gap: 6px; }
.guide-vote-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 58px;
  height: 42px;
  padding: 0 11px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.025);
  color: #8a9099;
  font: 700 12px/1 "Manrope", sans-serif;
  cursor: pointer;
  transition: color .16s ease, border-color .16s ease, background-color .16s ease;
}
.guide-vote-button span { color: #aeb2ba; font-size: 16px; }
.guide-vote-button:hover:not(:disabled) { color: #e4e5e8; border-color: rgba(232,189,67,.36); background: rgba(232,189,67,.055); }
.guide-vote-button.is-like.is-active { color: #70dca0; border-color: rgba(71,193,124,.48); background: rgba(49,160,96,.1); }
.guide-vote-button.is-dislike.is-active { color: #ed8d8d; border-color: rgba(201,76,76,.48); background: rgba(171,55,55,.1); }
.guide-vote-button:disabled { opacity: .4; cursor: not-allowed; }
.guide-vote-controls.is-compact { justify-content: flex-end; }
.guide-vote-button.is-compact { min-width: 48px; height: 26px; padding: 0 7px; font-size: 10px; }
.guide-vote-button.is-compact span { font-size: 13px; }

.guide-favorite-button,
.guides-favorites-filter {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  height:42px;
  padding:0 13px;
  border:1px solid rgba(255,255,255,.1);
  background:#101319;
  color:#858b95;
  font:700 10px/1 "Manrope",sans-serif;
  cursor:pointer;
  transition:border-color .16s ease,color .16s ease,background-color .16s ease;
}
.guide-favorite-button svg,.guides-favorites-filter svg { width:17px; height:17px; fill:transparent; stroke:currentColor; stroke-width:1.6; }
.guide-favorite-button:hover:not(:disabled),.guides-favorites-filter:hover:not(:disabled) { color:#e8bd43; border-color:rgba(232,189,67,.38); }
.guide-favorite-button.is-active,.guides-favorites-filter.is-active { color:#f0c94f; border-color:rgba(232,189,67,.48); background:rgba(232,189,67,.08); }
.guide-favorite-button.is-active svg,.guides-favorites-filter.is-active svg { fill:currentColor; }
.guide-favorite-button:disabled,.guides-favorites-filter:disabled { opacity:.42; cursor:not-allowed; }
.guide-favorite-button.is-compact { width:27px; min-width:27px; height:26px; padding:0; }
.guide-favorite-button.is-compact svg { width:14px; height:14px; }
.guides-favorites-filter { width:100%; min-height:44px; height:44px; }

.guides-error {
  margin: 10px 0 16px;
  padding: 12px 14px;
  border-left: 2px solid #c55;
  background: rgba(170, 55, 55, .08);
  color: #cf9b9b;
  font: 500 12px/1.5 "Manrope", sans-serif;
}

.guide-detail-topbar,
.guide-editor-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 0 18px;
  border-bottom: 1px solid var(--guide-line);
}

.guide-detail-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; align-items: center; }
.guide-report-button { color:#9b9292; }
.guide-report-button:hover { color:#df9999; border-color:rgba(199,80,80,.36); }
.guide-delete-question { color: #c8cbd1; font: 650 10px/1.3 "Manrope", sans-serif; }
.guide-detail-actions .guides-secondary.is-confirm { border-color: rgba(211,73,73,.62); background: rgba(160,35,35,.14); color: #f0a0a0; }
.guide-detail-actions .guides-secondary:disabled { opacity: .55; cursor: wait; }
.guide-detail-error { margin: 10px 0 0; }

.guide-identity {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
}

.guide-identity-portrait { width: 112px; height: 112px; object-fit: cover; }
.guide-identity h1 { margin: 0; color: #f5f3ee; font: 750 clamp(31px, 4vw, 52px)/1 "Barlow Condensed", sans-serif; text-transform: uppercase; white-space: normal; }
.guide-identity p { max-width: 760px; margin: 11px 0 0; color: #969ca7; font: 500 13px/1.6 "Manrope", sans-serif; white-space: pre-wrap; }
.guide-identity-meta { display: grid; justify-items: start; gap: 9px; margin-top: 15px; }
.guide-meta-classification { display: flex; flex-wrap: wrap; gap: 6px; }
.guide-meta-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 0; color: #858b95; }
.guide-meta-byline > * { min-height: 22px; display: inline-flex; align-items: center; }
.guide-meta-byline > * + * { margin-left: 12px; padding-left: 12px; border-left: 1px solid rgba(255,255,255,.09); }
.guide-meta-stat { color: #858b95; font: 600 9px/1.2 "Manrope", sans-serif; letter-spacing: .04em; }
.guide-meta-stat strong { margin-right: 4px; color: #d6d8dc; font-size: 10px; }
.guide-score { text-align: center; min-width: 86px; padding-left: 22px; border-left: 1px solid var(--guide-line); }
.guide-score strong { display: block; color: var(--guide-gold); font: 750 31px/1 "Barlow Condensed", sans-serif; }
.guide-score span { color: #686e78; font: 650 9px/1.2 "Manrope", sans-serif; text-transform: uppercase; letter-spacing: .09em; }

.guide-route-label { margin: 13px 0 11px; color: var(--guide-gold); font: 750 11px/1.2 "Manrope", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.guide-item-route {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: start;
  gap: 8px;
  background: transparent;
}

.guide-stage { min-width: 0; padding: 17px; border: 1px solid var(--guide-line); background: #0b0e12; }
.guide-stage-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.guide-stage-title { color: #e5e4e0; font: 700 14px/1.1 "Barlow Condensed", sans-serif; text-transform: uppercase; letter-spacing: .05em; }
.guide-stage-index { color: #494e57; font: 700 10px/1 "Manrope", sans-serif; }
.guide-stage-items { display: flex; flex-wrap: wrap; gap: 8px; min-height: 54px; align-content: flex-start; }
.guide-item-wrap { width: 62px; min-width: 0; overflow: visible; }
.guide-item-wrap:has(.guide-item-personal-note) { width: 100%; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 9px; align-items: start; }
.guide-item { position: relative; width: 58px; padding: 2px 0 0 2px; overflow: visible; border: 0; background: transparent; cursor: help; text-align: left; }
.guide-item-order { position: absolute; z-index: 2; left: -2px; top: -2px; min-width: 17px; height: 17px; display: grid !important; place-items: center; box-sizing: border-box; margin: 0 !important; padding: 0 4px; overflow: visible !important; border: 1px solid rgba(232,189,67,.55); border-radius: 9px; background: #0a0d11; color: var(--guide-gold) !important; font: 750 8px/15px "Manrope", sans-serif !important; white-space: nowrap; }
.guide-item img { width: 49px; height: 36px; object-fit: cover; border: 1px solid rgba(255,255,255,.12); background: #080a0d; }
.guide-item > span:not(.guide-item-order) { display: block; margin-top: 4px; color: #747a84; font: 500 8px/1.2 "Manrope", sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.guide-item:hover img, .guide-item:focus-visible img { border-color: rgba(232,189,67,.62); box-shadow: 0 5px 14px rgba(0,0,0,.28); transform: translateY(-1px); filter: brightness(1.08); }
.guide-item-note { margin: 10px 0 0; color: #737984; font: 500 11px/1.45 "Manrope", sans-serif; white-space: pre-wrap; }
.guide-item-personal-note { display: block; margin-top: 5px; color: #969ca6; font: 500 9px/1.45 "Manrope", sans-serif; overflow-wrap: anywhere; white-space: pre-wrap; }
.guide-item-wrap:has(.guide-item-personal-note) .guide-item-personal-note { margin-top: 0; padding: 5px 7px; border-left: 1px solid rgba(232,189,67,.18); background: rgba(255,255,255,.018); }

.guide-detail-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(270px, .7fr); gap: 14px; margin-top: 14px; }
.guide-block { border: 1px solid rgba(255,255,255,.08); background: var(--guide-panel); padding: 18px; }
.guide-block h2 { margin: 0 0 16px; color: #d8d6d1; font: 700 15px/1 "Barlow Condensed", sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.guide-detail-subtitle { margin: 18px 0 9px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.07); color: var(--guide-gold); font: 700 12px/1.2 "Barlow Condensed", sans-serif; letter-spacing: .09em; text-transform: uppercase; }

.guide-skill-line { display: grid; grid-template-columns: repeat(25, minmax(34px, 1fr)); gap: 5px; overflow-x: auto; margin: -10px -7px 0; padding: 10px 7px 7px; scroll-padding-inline: 7px; }
.guide-skill-step { min-width: 32px; text-align: center; }
.guide-skill-step img { width: 34px; height: 34px; object-fit: cover; background: #080a0d; border: 1px solid rgba(255,255,255,.12); }
.guide-skill-step span { display: block; margin-top: 3px; color: #626873; font: 700 8px/1 "Manrope", sans-serif; }
.guide-skill-icons { position: relative; display: flex !important; width: 36px; min-height: 36px; margin: 0 auto !important; }
.guide-skill-icons > .guide-innate-icon { width: 34px; height: 34px; }
.guide-skill-icons.is-linked { display: block !important; width: 38px; height: 38px; }
.guide-skill-icons.is-linked img:first-child { position: absolute; inset: 0 auto auto 0; width: 34px; height: 34px; }
.guide-skill-icons.is-linked img + img { position: absolute; right: 0; bottom: 0; width: 18px; height: 18px; margin: 0; border: 1px solid var(--guide-gold); box-shadow: 0 0 0 2px #0d1015; transform: none; }
.guide-level-talent-icon { position: absolute; z-index: 3; top: -4px; right: -5px; display: grid !important; place-items: center; width: 17px; height: 17px; margin: 0 !important; border: 1px solid rgba(232,189,67,.72); border-radius: 50%; background: #11151b; box-shadow: 0 0 0 2px #0d1015; }
.guide-level-talent-icon img { width: 13px !important; height: 13px !important; margin: 0 !important; border: 0 !important; object-fit: contain !important; background: transparent !important; }
.guide-skill-step.has-talent > span:last-child { color: var(--guide-gold); }
.guide-skill-empty { height: 34px; border: 1px dashed rgba(255,255,255,.1); }
.guide-skill-step.is-talent img { object-fit: contain; border: 0; }
.guide-notes { display: grid; gap: 8px; }
.guide-note { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 11px; align-items: start; padding: 9px; background: #0a0d11; }
.guide-note > img { width: 42px; height: 42px; object-fit: cover; }
.guide-note strong { color: #d8d8d5; font: 700 12px/1.2 "Manrope", sans-serif; }
.guide-note p { margin: 4px 0 0; color: #7c828c; font: 500 11px/1.5 "Manrope", sans-serif; white-space: pre-wrap; }
.guide-note-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 18px; }
.guide-note-head small { flex: 0 0 auto; color: var(--guide-gold); font: 750 8px/1 "Manrope", sans-serif; letter-spacing: .09em; text-transform: uppercase; }
.guide-note-ability-trigger { display: block; width: 42px; height: 42px; cursor: help; }
.guide-note-ability-trigger > img { width: 42px; height: 42px; object-fit: cover; }
.guide-innate-icon { position: relative; display: inline-grid; width: 42px; height: 42px; place-items: center; vertical-align: middle; }
.guide-innate-icon > img:first-child { width: 100%; height: 100%; object-fit: cover; }
.guide-innate-icon.is-default > img:first-child { object-fit: contain; background: transparent; border: 0; }
.guide-innate-badge { position: absolute !important; z-index: 2; left: 50%; bottom: -5px; width: 18px !important; height: 18px !important; transform: translateX(-50%); object-fit: contain !important; border: 0 !important; border-radius: 50%; background: #0a0d11 !important; box-shadow: 0 0 0 2px #0a0d11; }
.guide-innate-icon.is-default .guide-innate-badge { display: none; }

.guide-editor-layout { display: grid; grid-template-columns: 235px minmax(0, 1fr); gap: 22px; padding-top: 22px; }
.guide-editor-nav { position: sticky; top: 90px; align-self: start; display: grid; gap: 5px; }
.guide-editor-nav button { min-height: 42px; padding: 0 12px; text-align: left; border: 1px solid transparent; background: transparent; color: #6f7580; font: 700 10px/1 "Manrope", sans-serif; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.guide-editor-nav button.is-active { border-color: var(--guide-line); background: rgba(232,189,67,.05); color: var(--guide-gold); }
.guide-editor-panel { border: 1px solid rgba(255,255,255,.08); background: var(--guide-panel); padding: 28px; }
.guide-editor-panel h2 { margin: 0 0 18px; color: #eceae5; font: 700 23px/1 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.guide-editor-validation { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 10px; align-items: center; margin-bottom: 10px; padding: 12px 14px; border: 1px solid rgba(232,189,67,.42); border-left: 3px solid var(--guide-gold); background: rgba(232,189,67,.075); color: #c7c3b8; font: 550 11px/1.45 "Manrope", sans-serif; }
.guide-editor-validation strong { color: var(--guide-gold); font: 750 10px/1.2 "Manrope", sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.guide-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.guide-form-field { display: grid; gap: 7px; }
.guide-form-field.is-wide { grid-column: 1 / -1; }
.guide-form-field label { color: #767c86; font: 700 9px/1.2 "Manrope", sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.guide-form-field.has-error { margin: -8px; padding: 8px; border: 1px solid rgba(232,189,67,.45); background: rgba(232,189,67,.035); }
.guide-form-field.has-error > label { color: var(--guide-gold); }
.guide-form-field.has-error .guides-control { border-color: rgba(232,189,67,.65); }
.guide-field-error { color: #e0bd5b; font: 600 10px/1.4 "Manrope", sans-serif; }
.guide-form-field textarea.guides-control { min-height: 96px; padding-top: 12px; resize: vertical; line-height: 1.5; }
.guide-selected-hero { min-height: 58px; display: flex; align-items: center; gap: 11px; padding: 7px; border: 1px solid rgba(232,189,67,.24); background: rgba(232,189,67,.045); }
.guide-selected-hero img { width: 44px; height: 44px; object-fit: cover; }
.guide-selected-hero > div { display: grid; gap: 4px; }
.guide-selected-hero span { color: #737a85; font: 700 8px/1.2 "Manrope", sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.guide-selected-hero strong { color: #eeeae0; font: 700 15px/1.1 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.guide-selected-hero.is-empty { justify-content: center; border-style: dashed; background: transparent; }
.guide-hero-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 6px; max-height: 340px; overflow: auto; padding: 4px; }
.guide-hero-choice { min-width: 0; min-height: 94px; display: grid; grid-template-rows: 65px auto; gap: 5px; padding: 5px; border: 1px solid rgba(255,255,255,.08); background: #090b0f; cursor: pointer; opacity: .66; }
.guide-hero-choice img { width: 100%; height: 65px; object-fit: cover; }
.guide-hero-choice span { min-width: 0; overflow: hidden; color: #a7acb5; font: 600 9px/1.2 "Manrope", sans-serif; white-space: nowrap; text-overflow: ellipsis; }
.guide-hero-choice:hover, .guide-hero-choice.is-active { opacity: 1; border-color: var(--guide-gold); }
.guide-hero-choice.is-active span { color: var(--guide-gold); }
.guide-editor-footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 18px; }
.guide-editor-footer:has(> .guides-primary:only-child) { justify-content: flex-end; }
.guide-editor-hint { color: #747b86; font: 500 12px/1.55 "Manrope", sans-serif; }

.guide-stage-editor { display: grid; gap: 12px; }
.guide-stage-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.guide-stage-editor-row { display: grid; gap: 16px; align-items: start; padding: 18px; border: 1px solid rgba(255,255,255,.07); background: #0a0d11; }
.guide-stage-heading { display: grid; grid-template-columns: minmax(220px, 460px) auto; gap: 10px; align-items: end; }
.guide-stage-heading .guides-secondary { justify-self: end; min-width: 150px; }
.guide-stage-editor-title { color: #d7d7d3; font: 700 13px/1.2 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.guide-item-browser { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 16px; align-items: stretch; }
.guide-item-catalog { min-width: 0; }
.guide-item-filterbar { display: grid; grid-template-columns: minmax(150px, 1.5fr) repeat(4, minmax(105px, .8fr)); gap: 6px; margin-bottom: 7px; }
.guide-item-filterbar .guides-control { min-width: 0; padding-left: 9px; padding-right: 8px; font-size: 10px; }
.guide-item-filter-count { min-height: 16px; margin-bottom: 5px; color: #696f78; font: 600 9px/1.4 "Manrope", sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.guide-item-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(105px, 1fr)); gap: 7px; max-height: 480px; overflow: auto; padding: 4px 5px 4px 4px; }
.guide-item-choice { position: relative; aspect-ratio: 4/3; border: 1px solid rgba(255,255,255,.08); background: #07090c; padding: 0; cursor: pointer; opacity: .72; }
.guide-item-choice img { width: 100%; height: 100%; object-fit: cover; }
.guide-item-picker .guide-item-choice { aspect-ratio: auto; min-height: 104px; display: grid; grid-template-rows: 60px auto 14px; align-content: start; padding: 6px; text-align: left; overflow: hidden; }
.guide-item-picker .guide-item-choice[hidden] { display: none; }
.guide-item-picker .guide-item-choice img { width: 100%; height: 60px; object-fit: contain; background: #05070a; }
.guide-item-picker .guide-item-choice span { min-width: 0; padding-top: 5px; overflow: hidden; color: #b4b7bc; font: 600 10px/1.15 "Manrope", sans-serif; white-space: nowrap; text-overflow: ellipsis; }
.guide-item-picker .guide-item-choice small { color: #caa83b; font: 700 9px/1.2 "Barlow Condensed", sans-serif; }
.guide-item-picker .guide-item-choice:hover, .guide-item-picker .guide-item-choice:focus-visible { opacity: 1; border-color: rgba(232,189,67,.5); outline: 0; }
.guide-item-choice.is-active { opacity: 1; border-color: rgba(232,189,67,.65); box-shadow: inset 0 0 0 1px rgba(232,189,67,.24); }
.guide-item-count { position: absolute; z-index: 2; right: 4px; top: 4px; min-width: 21px; height: 19px; display: grid; place-items: center; padding: 0 5px; border-radius: 10px; background: var(--guide-gold); color: #08090b; font: 800 9px/1 "Manrope", sans-serif; }
.guide-item-level { display: inline-flex; align-items: center; min-height: 15px; margin-left: 5px; padding: 0 5px; border: 1px solid rgba(232,189,67,.32); border-radius: 8px; color: var(--guide-gold); font: 750 8px/1 "Manrope", sans-serif; text-transform: uppercase; white-space: nowrap; }
.guide-item .guide-item-level,
.guide-item-picker .guide-item-choice span .guide-item-level { display: inline-flex; width: auto; min-height: 13px; margin-top: 0; padding-top: 0; overflow: visible; color: var(--guide-gold); font-size: 7px; }
.guide-item-preview-head strong { display: flex; flex-wrap: wrap; align-items: center; }
.guide-item-preview { min-height: 480px; max-height: 480px; overflow: auto; overscroll-behavior: contain; padding: 18px; border: 1px solid rgba(232,189,67,.19); background: linear-gradient(145deg, rgba(232,189,67,.045), transparent 42%), #0d1015; }
.guide-item-preview.is-pinned { border-color: rgba(232,189,67,.48); }
.guide-item-preview-head { display: grid; grid-template-columns: 74px minmax(0,1fr); gap: 11px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid rgba(232,189,67,.16); }
.guide-item-preview-head img { width: 74px; height: 55px; object-fit: contain; background: #07090c; }
.guide-item-preview-head > div { min-width: 0; display: grid; gap: 3px; }
.guide-item-preview-head strong { color: #f0eee8; font: 700 17px/1.05 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.guide-item-source { color: #777d86; font: 700 8px/1 "Manrope", sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.guide-item-price { color: var(--guide-gold); font: 700 11px/1.2 "Manrope", sans-serif; }
.guide-item-stats { display: grid; gap: 5px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.guide-item-stat { display: flex; justify-content: space-between; gap: 10px; color: #8b9099; font: 500 10px/1.25 "Manrope", sans-serif; }
.guide-item-stat strong { flex: 0 0 auto; color: #eceae4; font-weight: 700; }
.guide-item-description { margin: 11px 0 0; color: #b6bbc3; font: 500 10px/1.55 "Manrope", sans-serif; white-space: pre-line; }
.guide-item-description.is-muted, .guide-item-preview-empty { color: #666c75; }
.guide-item-preview-empty { min-height: 360px; display: grid; place-items: center; padding: 20px; text-align: center; font: 500 11px/1.5 "Manrope", sans-serif; }
.guide-components-title { display: flex; justify-content: space-between; gap: 10px; margin-top: 13px; padding-top: 11px; border-top: 1px solid rgba(255,255,255,.06); color: #a9adb4; font: 700 9px/1.2 "Manrope", sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.guide-components-title small { color: #b49332; font: inherit; }
.guide-components { display: grid; gap: 5px; margin-top: 7px; }
.guide-component { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; gap: 7px; align-items: center; color: #9da2aa; font: 500 9px/1.2 "Manrope", sans-serif; }
.guide-component img { width: 34px; height: 25px; object-fit: contain; background: #07090c; }
.guide-component span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.guide-component b { color: var(--guide-gold); }
.guide-aghanim-upgrades { display: grid; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(86,151,208,.24); }
.guide-aghanim-title { padding: 8px 10px; background: rgba(73,126,170,.12); color: #9fc4e3; font: 750 10px/1.2 "Manrope", sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.guide-aghanim-upgrade { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 10px; align-items: start; padding: 9px; border: 1px solid rgba(86,151,208,.18); background: rgba(17,29,40,.72); }
.guide-aghanim-upgrade img { width: 44px; height: 44px; object-fit: cover; background: #07090c; }
.guide-aghanim-upgrade strong { color: #e6e9ed; font: 700 12px/1.25 "Manrope", sans-serif; }
.guide-aghanim-upgrade p { margin: 5px 0 0; color: #a7b7c6; font: 500 10px/1.5 "Manrope", sans-serif; white-space: pre-line; }
.guide-component.is-recipe { margin-top: 3px; padding-top: 6px; border-top: 1px dashed rgba(232,189,67,.16); }
.guide-component.is-recipe img { object-fit: contain; }
.guide-selected-items { display: grid; gap: 8px; margin-top: 4px; }
.guide-selected-items h3, .guide-editor-subtitle { margin: 12px 0 2px; color: #d4d3cf; font: 700 14px/1.2 "Barlow Condensed", sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.guide-selected-item { display: grid; grid-template-columns: 28px 64px minmax(0, 1fr); gap: 10px; align-items: start; padding: 10px; border: 1px solid rgba(255,255,255,.07); background: #0d1015; }
.guide-purchase-index { min-height: 48px; display: grid; place-items: center; border-right: 1px solid rgba(232,189,67,.14); color: var(--guide-gold); font: 750 11px/1 "Barlow Condensed", sans-serif; }
.guide-selected-item > img { width: 64px; height: 48px; object-fit: contain; background: #07090c; }
.guide-selected-item-copy { min-width: 0; }
.guide-selected-item-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 7px; }
.guide-selected-item strong { display: flex; flex-wrap: wrap; align-items: center; min-width: 0; color: #deddd8; font: 700 12px/1.2 "Manrope", sans-serif; }
.guide-purchase-actions { display: flex; flex: 0 0 auto; gap: 4px; }
.guide-purchase-actions button { width: 28px; height: 27px; padding: 0; border: 1px solid rgba(255,255,255,.1); background: #090c10; color: #aeb3bc; cursor: pointer; }
.guide-purchase-actions button:hover:not(:disabled) { border-color: rgba(232,189,67,.55); color: var(--guide-gold); }
.guide-purchase-actions button:disabled { opacity: .25; cursor: default; }
.guide-purchase-actions button.is-danger { color: #d98686; border-color: rgba(210,75,75,.22); }
.guide-selected-item textarea.guides-control { min-height: 66px; padding-top: 10px; resize: vertical; line-height: 1.45; }
.guide-stage-note-field textarea { min-height: 125px !important; }
.guide-skill-picker { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; margin: 16px 0 20px; }
.guide-skill-picker:has([data-reggie-grid]) { grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: repeat(3, auto); }
[data-reggie-grid="1-1"] { grid-column: 1; grid-row: 1; }
[data-reggie-grid="1-2"] { grid-column: 1; grid-row: 2; }
[data-reggie-grid="1-3"] { grid-column: 1; grid-row: 3; }
[data-reggie-grid="2-1"] { grid-column: 2; grid-row: 1; }
[data-reggie-grid="2-2"] { grid-column: 2; grid-row: 2; }
[data-reggie-grid="3-1"] { grid-column: 3; grid-row: 1; }
[data-reggie-grid="4-1"] { grid-column: 4; grid-row: 1; }
[data-reggie-grid="5-1"] { grid-column: 5; grid-row: 1; }
[data-reggie-grid="5-2"] { grid-column: 5; grid-row: 2; }
[data-reggie-grid="5-3"] { grid-column: 5; grid-row: 3; }
@media (max-width: 760px) {
  .guide-skill-picker:has([data-reggie-grid]) { grid-template-columns: 1fr; grid-template-rows: none; }
  .guide-skill-picker [data-reggie-grid] { grid-column: auto; grid-row: auto; }
}
.guide-skill-choice { display: grid; grid-template-columns: 48px minmax(0,1fr); grid-template-rows: auto auto; gap: 2px 10px; align-items: center; padding: 8px; border: 1px solid rgba(255,255,255,.09); background: #0a0d11; color: #d8d8d4; text-align: left; cursor: pointer; }
.guide-skill-choice > img, .guide-skill-choice > .guide-innate-icon { grid-row: 1 / 3; width: 48px; height: 48px; object-fit: cover; }
.guide-skill-choice span { font: 700 12px/1.2 "Manrope", sans-serif; }
.guide-skill-choice small { color: #818792; font: 600 9px/1.2 "Manrope", sans-serif; }
.guide-skill-choice:hover { border-color: rgba(232,189,67,.5); }
.guide-skill-choice.is-disabled { opacity: .42; cursor: not-allowed; }
.guide-skill-choice.is-auto { border-color: rgba(232,189,67,.24); background: linear-gradient(135deg, rgba(232,189,67,.07), #0a0d11 54%); cursor: help; }
.guide-skill-choice.is-auto small { color: var(--guide-gold); }
.guide-talent-picker { display: grid; gap: 6px; margin: 9px 0 20px; }
.guide-talent-row { display: grid; grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr); gap: 7px; align-items: stretch; }
.guide-talent-level { display: grid; place-items: center; color: var(--guide-gold); font: 800 13px/1 "Barlow Condensed", sans-serif; }
.guide-talent-editor-choice { min-width: 0; display: grid; grid-template-rows: auto auto; gap: 5px; padding: 5px; border: 1px solid rgba(255,255,255,.06); background: rgba(8,10,14,.5); }
.guide-talent-editor-choice.is-selected { border-color: rgba(232,189,67,.35); background: rgba(232,189,67,.035); }
.guide-talent-editor-choice .guide-talent-choice { width: 100%; }
.guide-talent-editor-choice textarea.guides-control { min-height: 60px; padding: 9px 10px; resize: vertical; font-size: 10px; line-height: 1.4; }
.guide-talent-choice { min-height: 43px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.08); background: #0a0d11; color: #aeb2ba; font: 600 11px/1.35 "Manrope", sans-serif; cursor: pointer; }
.guide-talent-choice:hover, .guide-talent-choice.is-active { border-color: var(--guide-gold); color: #f0eee8; background: rgba(232,189,67,.06); }
.guide-skill-line.is-editor .guide-skill-step { padding: 3px; border: 1px solid rgba(255,255,255,.06); background: #090c10; cursor: pointer; }
.guide-build-notes { margin-top: 20px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.guide-note.is-talent > img { object-fit: contain; padding: 4px; }
.guide-notes-title { margin-top: 22px !important; }
.guide-ability-notes { grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); }
.guide-ability-note { min-height: 115px; padding: 11px; }
.guide-ability-note textarea.guides-control { min-height: 74px; margin-top: 7px; padding: 10px; resize: vertical; line-height: 1.45; }
.guide-view-talents { display: grid; gap: 6px; }
.guide-view-talent-row { display: grid; grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr); gap: 7px; align-items: stretch; }
.guide-view-talent { min-width: 0; padding: 9px 10px; border: 1px solid rgba(255,255,255,.07); background: #090c10; opacity: .62; }
.guide-view-talent.is-selected { border-color: rgba(232,189,67,.58); background: rgba(232,189,67,.06); opacity: 1; }
.guide-view-talent > div { display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 8px; align-items: center; }
.guide-view-talent img { width: 30px; height: 30px; object-fit: contain; }
.guide-view-talent strong { color: #d9d8d4; font: 650 10px/1.35 "Manrope", sans-serif; }
.guide-view-talent p { margin: 7px 0 0; padding-top: 7px; border-top: 1px solid rgba(255,255,255,.06); color: #8e949e; font: 500 10px/1.45 "Manrope", sans-serif; white-space: pre-wrap; }
.guide-item-tooltip { position: fixed; z-index: 10020; width: 370px; max-height: calc(100vh - 24px); overflow: auto; padding: 16px; border: 1px solid rgba(232,189,67,.45); background: #0d1015; box-shadow: 0 18px 55px rgba(0,0,0,.65); pointer-events: none; }
.guide-item-tooltip[hidden] { display: none; }
.guide-ability-tooltip { position: fixed; z-index: 10030; max-height: calc(100vh - 24px); overflow: auto; border: 1px solid rgba(232,189,67,.45); background: #0d1015; box-shadow: 0 18px 55px rgba(0,0,0,.72); pointer-events: none; }
.guide-ability-tooltip[hidden] { display: none; }
.guide-ability-tooltip .ability-tip { position: static; left: auto; top: auto; width: auto; max-width: none; margin: 0; opacity: 1; transform: none; border: 0; border-radius: 0; box-shadow: none; pointer-events: none; }
.guide-ability-tooltip-fallback { padding: 16px; }
.guide-ability-tooltip-fallback > strong { color: var(--guide-gold); font: 750 17px/1.1 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.guide-ability-tooltip-fallback > p { color: #b6bbc3; font: 500 11px/1.55 "Manrope", sans-serif; white-space: pre-line; }
.guide-ability-tooltip-stat { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-top: 1px solid rgba(255,255,255,.06); color: #8d939d; font: 500 10px/1.3 "Manrope", sans-serif; }
.guide-ability-tooltip-stat strong { color: #eeeae0; }

/* Restrained motion system for the builds section. */
@keyframes guide-section-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes guide-validation-enter {
  0% { opacity: 0; transform: translateX(-5px); }
  65% { transform: translateX(2px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes guide-tooltip-enter {
  from { opacity: 0; transform: translateY(4px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

#guidesApp.is-first-enter { animation: guide-section-enter .3s cubic-bezier(.2,.75,.25,1) both; }

#page-guides .guide-editor-nav button {
  position: relative;
  overflow: hidden;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease, transform .18s ease;
}
#page-guides .guide-editor-nav button::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--guide-gold);
  opacity: 0;
  transform: scaleY(.25);
  transition: opacity .18s ease, transform .22s cubic-bezier(.2,.8,.2,1);
}
#page-guides .guide-editor-nav button:hover { color: #c6c8cc; transform: translateX(2px); }
#page-guides .guide-editor-nav button.is-active::before { opacity: 1; transform: scaleY(1); }

#page-guides .guide-hero-choice,
#page-guides .guide-item-choice,
#page-guides .guide-skill-choice,
#page-guides .guide-talent-choice,
#page-guides .guide-view-talent,
#page-guides .guide-selected-item,
#page-guides .guide-stage,
#page-guides .guide-note,
#page-guides .guide-row {
  transition: opacity .18s ease, color .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .22s ease, transform .2s cubic-bezier(.2,.75,.25,1);
}
#page-guides .guide-hero-choice img,
#page-guides .guide-item-choice img,
#page-guides .guide-skill-choice > img,
#page-guides .guide-skill-choice > .guide-innate-icon,
#page-guides .guide-item img {
  transition: transform .24s cubic-bezier(.2,.75,.25,1), filter .2s ease;
}

#page-guides .guide-hero-choice,
#page-guides .guide-item-choice,
#page-guides .guide-skill-choice,
#page-guides .guide-talent-choice {
  position: relative;
  overflow: hidden;
}
#page-guides .guide-hero-choice::after,
#page-guides .guide-item-choice::after,
#page-guides .guide-skill-choice::after,
#page-guides .guide-talent-choice::after {
  content: '';
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--guide-gold), transparent);
  opacity: 0;
  transform: scaleX(.2);
  pointer-events: none;
  transition: opacity .18s ease, transform .24s cubic-bezier(.2,.75,.25,1);
}
#page-guides :is(.guide-hero-choice,.guide-item-choice,.guide-skill-choice,.guide-talent-choice):hover::after,
#page-guides :is(.guide-hero-choice,.guide-item-choice,.guide-skill-choice,.guide-talent-choice):focus-visible::after {
  opacity: .9;
  transform: scaleX(1);
}

#page-guides .guide-hero-choice:hover,
#page-guides .guide-item-picker .guide-item-choice:hover,
#page-guides .guide-skill-choice:hover:not(.is-disabled),
#page-guides .guide-talent-choice:hover,
#page-guides .guide-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 22px rgba(0,0,0,.22);
}
#page-guides .guide-hero-choice:hover img,
#page-guides .guide-item-picker .guide-item-choice:hover img,
#page-guides .guide-skill-choice:hover:not(.is-disabled) > img,
#page-guides .guide-skill-choice:hover:not(.is-disabled) > .guide-innate-icon {
  transform: scale(1.035);
  filter: brightness(1.08);
}
#page-guides .guide-hero-choice.is-active,
#page-guides .guide-item-choice.is-active,
#page-guides .guide-talent-choice.is-active,
#page-guides .guide-talent-editor-choice.is-selected {
  box-shadow: inset 0 0 0 1px rgba(232,189,67,.18), 0 0 18px rgba(232,189,67,.07);
}
#page-guides .guide-hero-choice.is-active img { transform: scale(1.025); filter: brightness(1.08); }

#page-guides .guide-stage-tabs .guides-secondary,
#page-guides .guide-purchase-actions button,
#page-guides .guides-icon-button {
  transition: color .16s ease, border-color .16s ease, background-color .16s ease, box-shadow .18s ease, transform .16s ease;
}
#page-guides .guide-stage-tabs .guides-secondary.is-active {
  box-shadow: inset 0 -2px 0 var(--guide-gold);
}
#page-guides .guide-purchase-actions button:hover:not(:disabled),
#page-guides .guides-icon-button:hover { transform: translateY(-1px); }

#page-guides .guides-primary { position: relative; overflow: hidden; isolation: isolate; }
#page-guides .guides-primary::after {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(105deg, transparent 25%, rgba(255,255,255,.28) 48%, transparent 70%);
  transform: translateX(-125%);
  pointer-events: none;
  transition: transform .38s ease;
}
#page-guides .guides-primary:hover::after { transform: translateX(125%); }

#page-guides .guides-control,
#page-guides .guide-item-preview,
#page-guides .guide-skill-step {
  transition: color .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .2s ease, transform .18s ease;
}
#page-guides .guides-control:focus { border-color: rgba(232,189,67,.58); box-shadow: 0 0 0 3px rgba(232,189,67,.055); }
#page-guides .guide-item-preview.is-pinned { box-shadow: 0 12px 30px rgba(0,0,0,.22), inset 0 0 28px rgba(232,189,67,.025); }
#page-guides .guide-skill-step:hover { transform: translateY(-2px); border-color: rgba(232,189,67,.42); }
#page-guides .guide-editor-validation { animation: guide-validation-enter .28s ease-out both; }
#page-guides .guide-item-tooltip:not([hidden]),
#page-guides .guide-ability-tooltip:not([hidden]) { animation: guide-tooltip-enter .14s ease-out both; transform-origin: top left; }

#page-guides :is(button, input, select, textarea, [tabindex]):focus-visible {
  outline: 1px solid rgba(232,189,67,.85);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(232,189,67,.09);
}

@media (prefers-reduced-motion: reduce) {
  #page-guides *,
  #page-guides *::before,
  #page-guides *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

@media (max-width: 1000px) {
  .guides-toolbar { grid-template-columns: 1fr 1fr; }
  .guide-row { grid-template-columns: 62px minmax(0, 1fr) 150px 32px; }
  .guide-row-portrait { width: 62px; height: 62px; }
  .guide-row-metrics { display: none; }
  .guide-item-route { grid-template-columns: 1fr 1fr; }
  .guide-detail-grid { grid-template-columns: 1fr; }
  .guide-item-browser { grid-template-columns: 1fr; }
  .guide-item-preview { min-height: 0; max-height: none; }
  .guide-item-filterbar { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 720px) {
  .guides-shell { padding-top: 16px; }
  .guides-hero { grid-template-columns: 1fr; align-items: start; }
  .guides-toolbar { grid-template-columns: 1fr; }
  .guide-row { grid-template-columns: 54px minmax(0, 1fr) 24px; gap: 11px; min-height: 76px; }
  .guide-row-portrait { width: 54px; height: 54px; }
  .guide-row-tags { display: none; }
  .guide-row-title { font-size: 18px; }
  .guide-identity { grid-template-columns: 78px minmax(0,1fr); gap: 14px; }
  .guide-identity-portrait { width: 78px; height: 78px; }
  .guide-score { display: none; }
  .guide-item-route { grid-template-columns: 1fr; }
  .guide-editor-layout { grid-template-columns: 1fr; }
  .guide-editor-nav { position: static; grid-template-columns: repeat(3, 1fr); }
  .guide-editor-nav button { text-align: center; padding: 0 6px; }
  .guide-form-grid { grid-template-columns: 1fr; }
  .guide-stage-editor-row { grid-template-columns: 1fr; }
  .guide-item-filterbar { grid-template-columns: 1fr 1fr; }
  .guide-talent-row, .guide-view-talent-row { grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr); gap: 4px; }
}
