:root {
  color-scheme: dark;
  --bg: #111714;
  --surface: #19221d;
  --surface-2: #202c25;
  --border: #344238;
  --text: #ebeee6;
  --muted: #acb9ad;
  --gold: #d8bc80;
  --accent: #b9d4be;
  --ret: #edb29d;
  --holy: #a8d6c0;
  --sidebar: #151d18;
  --shadow: 0 14px 36px #0002;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f3ec;
  --surface: #fffef9;
  --surface-2: #eaece3;
  --border: #ccd3c5;
  --text: #25342a;
  --muted: #58675c;
  --gold: #80602a;
  --accent: #396e50;
  --ret: #934e38;
  --holy: #276a50;
  --sidebar: #edece3;
  --shadow: 0 14px 36px #353b2810;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--accent);
  text-underline-offset: 4px;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
select,
summary {
  cursor: pointer;
}
button {
  color: var(--text);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
}
button {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 6px;
  padding: 8px 15px;
}
button:hover {
  background: var(--surface-2);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.025em;
}
h1 {
  font-size: clamp(26px, 3vw, 39px);
  margin-bottom: 15px;
}
h2 {
  font-size: 28px;
  margin-bottom: 0;
}
h3 {
  font-size: 18px;
  margin-bottom: 13px;
}
p {
  margin-bottom: 14px;
}
p:last-child {
  margin-bottom: 0;
}
.muted,
.section-intro {
  color: var(--muted);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 99;
  background: var(--gold);
  color: var(--bg);
  padding: 12px;
}
.skip-link:focus {
  top: 10px;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 236px;
  background: var(--sidebar);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 37px 25px;
  z-index: 20;
}
.brand {
  color: var(--text);
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
}
.brand small {
  font-size: 11px;
  color: var(--muted);
  display: block;
  font-weight: 400;
  letter-spacing: 0.12em;
  margin-top: 4px;
}
.brand-mark {
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 24px;
  width: 37px;
  height: 43px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 15px 15px 4px 4px;
}
.sidebar nav {
  display: grid;
  gap: 6px;
  margin-top: 47px;
}
.sidebar nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 10px 13px;
  border-left: 2px solid transparent;
  white-space: nowrap;
  font-size: 14px;
}
.sidebar nav a:hover {
  color: var(--text);
  background: var(--surface);
}
.sidebar nav a[aria-current] {
  color: var(--gold);
  border-color: var(--gold);
  background: var(--surface-2);
}
.sidebar-bottom {
  margin-top: auto;
  font-size: 12px;
  color: var(--muted);
}
.sidebar-bottom p {
  margin: 0 0 5px;
  color: var(--text);
}
.sidebar-bottom span {
  display: block;
}
.sidebar-bottom button {
  margin-top: 18px;
  font-size: 12px;
  padding: 7px 13px;
}
main {
  margin-left: 236px;
  padding: 0 5vw;
  max-width: 1720px;
}
.page-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  padding: 23px 0;
  font-size: 12px;
  color: var(--muted);
}
.save-hint {
  font-size: 11px;
}
.section {
  padding: 52px 0 61px;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 12px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.eyebrow {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.lead {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 0;
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
  margin-top: 36px;
}
.priorities {
  display: flex;
  flex-direction: column;
}
.priority {
  display: flex;
  gap: 20px;
  padding: 23px 0 28px;
  border-bottom: 1px solid var(--border);
}
.priority:first-child {
  padding-top: 1px;
}
.priority:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.priority h2 {
  font-size: 21px;
  margin: 5px 0 12px;
}
.priority p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}
.task-meta {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.07em;
}
.text-link {
  font-size: 12px;
  text-decoration: none;
  display: inline-block;
}
.text-link:hover {
  text-decoration: underline;
}
.task-check {
  position: relative;
  display: block;
  flex-shrink: 0;
  align-self: start;
  margin-top: 32px;
}
.task-check input {
  width: 22px;
  height: 22px;
  accent-color: var(--gold);
  margin: 0;
  cursor: pointer;
}
.check-shape {
  display: none;
}
.priority:has(input:checked) h2 {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}
.raid-panel {
  padding: 26px;
  background: linear-gradient(145deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.raid-date {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.raid-date strong {
  font-size: 37px;
  font-weight: 500;
  letter-spacing: 0.03em;
  display: block;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}
.raid-date strong span {
  font-size: 17px;
  margin: 0 8px 0 4px;
  color: var(--muted);
}
.raid-date small {
  color: var(--muted);
  font-size: 11px;
}
.raid-panel dl {
  margin: 21px 0;
}
.raid-panel dl div {
  margin-bottom: 15px;
}
.raid-panel dt {
  font-size: 14px;
}
.raid-panel dd {
  font-size: 12px;
  color: var(--muted);
  margin: 1px 0;
}
.snapshot {
  padding: 25px 5px 0;
}
.snapshot h2 {
  font-size: 15px;
}
.snapshot .muted {
  font-size: 11px;
  margin-top: 5px;
}
.snapshot dl {
  font-size: 12px;
  margin: 15px 0;
}
.snapshot dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 6px;
}
.snapshot dt {
  color: var(--muted);
}
.snapshot dd {
  margin: 0;
  text-align: right;
}
.count {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}
.section-intro {
  font-size: 13px;
  max-width: 850px;
  margin-bottom: 25px;
}
.gear-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.spec-switch {
  display: flex;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.spec-switch button {
  border: 0;
  background: none;
  padding: 8px 18px;
  min-width: 112px;
  font-size: 15px;
  color: var(--muted);
}
.spec-switch button span {
  margin-left: 8px;
  font-size: 11px;
}
.spec-switch button[aria-pressed="true"] {
  background: var(--surface-2);
  color: var(--ret);
}
.spec-switch button[data-spec="holy"][aria-pressed="true"] {
  color: var(--holy);
}
.filters {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.filters input[type="search"],
select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  height: 42px;
  font-size: 12px;
  padding: 0 12px;
  max-width: 100%;
}
.filters input[type="search"] {
  width: 202px;
}
.filters input::placeholder {
  color: var(--muted);
}
select {
  max-width: 170px;
}
.uncollected {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
input[type="checkbox"] {
  accent-color: var(--gold);
  width: 17px;
  height: 17px;
  cursor: pointer;
  flex-shrink: 0;
}
.spec-advice {
  border-left: 2px solid var(--ret);
  padding: 9px 15px;
  margin: 21px 0;
  font-size: 13px;
  color: var(--muted);
  background: var(--surface);
}
.spec-advice[data-spec="holy"] {
  border-color: var(--holy);
}
.spec-advice p {
  margin: 0;
}
.spec-advice a {
  color: var(--accent);
}
.gear-table-wrap {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.gear-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}
.gear-table th {
  background: var(--surface);
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  padding: 12px 13px;
}
.gear-table th:first-child {
  width: 43px;
}
.gear-table th:nth-child(2) {
  width: 58px;
}
.gear-table td {
  padding: 13px;
  border-top: 1px solid var(--border);
  vertical-align: middle;
}
.gear-table tr:hover {
  background: var(--surface);
}
.gear-table tr.collected {
  opacity: 0.58;
}
.gear-table td:first-child {
  padding-right: 0;
}
.gear-table .slot {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.item-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.item-link:hover {
  color: var(--gold);
}
.item-link img {
  width: 34px;
  height: 34px;
  border: 1px solid #9aaf9870;
  border-radius: 5px;
  flex-shrink: 0;
  background: var(--surface-2);
}
.item-link span {
  font-weight: 500;
}
.gear-table .place {
  color: var(--muted);
  font-size: 12px;
  min-width: 130px;
}
.gear-table .note {
  color: var(--muted);
  font-size: 12px;
}
.empty-state {
  text-align: center;
  padding: 35px;
  color: var(--muted);
}
.empty-state[hidden] {
  display: none;
}
.gear-note {
  font-size: 11px;
  margin-top: 13px;
}
.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 27px;
  min-width: 0;
}
.panel p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.85;
}
.panel-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}
.route-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}
.route-list li {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.route-list li:last-child {
  border: 0;
  padding-bottom: 0;
}
.route-list label {
  display: flex;
  gap: 14px;
  cursor: pointer;
}
.route-list strong {
  font-size: 14px;
  font-weight: 500;
  display: block;
}
.route-list small {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin-top: 6px;
}
.route-list input {
  margin-top: 4px;
}
.route-list input:checked + span strong {
  color: var(--muted);
  text-decoration: line-through;
}
.stack {
  display: grid;
  gap: 22px;
  align-content: start;
}
details {
  padding: 13px 0;
  border-top: 1px solid var(--border);
}
summary {
  font-size: 14px;
  line-height: 1.7;
}
details p {
  margin-top: 12px;
}
.source-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px !important;
}
.source-links a {
  text-decoration: none;
}
.source-links a:hover {
  text-decoration: underline;
}
.combat-ret {
  border-top: 2px solid var(--ret);
}
.combat-holy {
  border-top: 2px solid var(--holy);
}
.combat-ret h3,
.combat-ret .combat-key {
  color: var(--ret);
}
.combat-holy h3,
.combat-holy .combat-key {
  color: var(--holy);
}
.panel .combat-key {
  font-size: 12px;
}
.secondary-panels {
  margin-top: 22px;
}
.research-list {
  border-top: 1px solid var(--border);
}
.research-list article {
  display: grid;
  grid-template-columns: 220px 1fr 112px;
  gap: 26px;
  padding: 25px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.research-list h3 {
  font-size: 16px;
  margin: 0;
}
.research-list span {
  font-size: 12px;
  color: var(--gold);
}
.research-list p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.research-list a {
  font-size: 12px;
  text-decoration: none;
}
.method-notes {
  border: 0;
  margin-top: 17px;
  font-size: 13px;
  color: var(--muted);
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  color: var(--muted);
  padding: 26px 0 35px;
}
footer a {
  text-decoration: none;
}
@media (min-width: 1700px) {
  main {
    padding: 0 75px;
  }
  .overview-grid {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 50px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 210px;
    padding: 29px 18px;
  }
  main {
    margin-left: 210px;
    padding: 0 30px;
  }
  .overview-grid {
    grid-template-columns: minmax(0, 1fr) 248px;
    gap: 24px;
  }
  .raid-panel {
    padding: 22px;
  }
  .gear-controls {
    align-items: start;
  }
  .filters {
    width: 100%;
  }
  .filters .search {
    flex: 1;
  }
  .filters input[type="search"] {
    width: 100%;
  }
  .gear-table td,
  .gear-table th {
    padding: 11px 9px;
  }
  .gear-table .note {
    max-width: 190px;
  }
  .item-link {
    gap: 9px;
    white-space: normal;
  }
  .research-list article {
    grid-template-columns: 175px 1fr;
  }
  .research-list article > a,
  .research-list article > .source-links {
    grid-column: 2;
  }
  .panel {
    padding: 23px;
  }
  .research-list article {
    gap: 10px 20px;
  }
}
@media (max-width: 900px) {
  .sidebar {
    position: sticky;
    top: 0;
    width: 100%;
    padding: 14px 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .brand {
    font-size: 14px;
  }
  .brand-mark {
    width: 28px;
    height: 32px;
    font-size: 18px;
  }
  .brand small {
    display: none;
  }
  .sidebar nav {
    display: flex;
    gap: 12px;
    margin-top: 13px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .sidebar nav a {
    padding: 9px 1px;
    border-left: 0;
    border-bottom: 2px solid transparent;
    font-size: 12px;
  }
  .sidebar nav a[aria-current] {
    background: none;
  }
  .sidebar-bottom {
    position: absolute;
    right: 22px;
    top: 14px;
  }
  .sidebar-bottom p,
  .sidebar-bottom span {
    display: none;
  }
  .sidebar-bottom button {
    margin: 0;
    font-size: 11px;
    padding: 5px 9px;
  }
  main {
    margin-left: 0;
    padding: 0 25px;
  }
  .page-header {
    padding: 16px 0;
  }
  .section {
    padding: 36px 0 42px;
    scroll-margin-top: 100px;
  }
  html {
    scroll-padding-top: 8px;
  }
  .overview-grid {
    grid-template-columns: minmax(0, 1fr) 245px;
    gap: 28px;
  }
  .two-columns {
    gap: 16px;
  }
  .panel {
    padding: 22px;
  }
  h2 {
    font-size: 24px;
  }
  .overview .section-heading {
    margin-bottom: 10px;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 14px;
  }
  .sidebar {
    padding: 12px 17px 0;
  }
  .sidebar-bottom {
    right: 17px;
    top: 12px;
  }
  .sidebar nav {
    gap: 19px;
  }
  .brand {
    font-size: 13px;
  }
  .brand-mark {
    width: 25px;
    height: 29px;
  }
  .page-header {
    font-size: 10px;
  }
  .save-hint {
    max-width: 146px;
    text-align: right;
    font-size: 10px;
  }
  main {
    padding: 0 18px;
  }
  .section {
    padding: 30px 0 37px;
  }
  .section-heading {
    align-items: start;
    gap: 12px;
    margin-bottom: 18px;
  }
  h1 {
    font-size: 27px;
    max-width: 310px;
  }
  h2 {
    font-size: 23px;
  }
  .lead {
    font-size: 13px;
  }
  .eyebrow {
    font-size: 10px;
  }
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 27px;
    margin-top: 28px;
  }
  .priority {
    gap: 14px;
    padding: 20px 0;
  }
  .priority h2 {
    font-size: 18px;
  }
  .priority p {
    font-size: 13px;
  }
  .task-check {
    margin-top: 28px;
  }
  .task-check input {
    width: 20px;
    height: 20px;
  }
  .overview-rail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .raid-panel {
    padding: 18px;
    border-radius: 6px;
  }
  .raid-date strong {
    font-size: 28px;
    white-space: nowrap;
  }
  .raid-date strong span {
    font-size: 12px;
    margin: 0 4px 0 2px;
  }
  .raid-panel dt {
    font-size: 12px;
  }
  .raid-panel dd {
    font-size: 10px;
  }
  .snapshot {
    padding: 15px 0 0;
  }
  .snapshot h2 {
    font-size: 13px;
  }
  .snapshot dl div {
    display: block;
    margin-bottom: 10px;
  }
  .snapshot dd {
    text-align: left;
    font-size: 12px;
  }
  .snapshot dt {
    font-size: 10px;
  }
  .snapshot .muted {
    font-size: 10px;
  }
  .count {
    font-size: 11px;
    margin-top: 30px;
  }
  .section-intro {
    font-size: 12px;
  }
  .gear-controls {
    gap: 15px;
  }
  .filters {
    gap: 10px;
  }
  .filters .search {
    flex: 1 1 100%;
  }
  .filters select {
    max-width: 200px;
  }
  .uncollected {
    margin-left: auto;
  }
  .spec-switch {
    width: 100%;
  }
  .spec-switch button {
    flex: 1;
  }
  .spec-advice {
    font-size: 12px;
    padding: 10px 12px;
  }
  .gear-table thead {
    display: none;
  }
  .gear-table,
  .gear-table tbody {
    display: block;
  }
  .gear-table tr {
    display: grid;
    grid-template-columns: 26px 43px minmax(0, 1fr);
    padding: 14px 12px;
    gap: 3px 7px;
    border-top: 1px solid var(--border);
    align-items: center;
  }
  .gear-table tr:first-child {
    border-top: 0;
  }
  .gear-table td {
    border: 0;
    padding: 0;
  }
  .gear-table td:first-child {
    grid-row: 1;
  }
  .gear-table td.slot {
    grid-row: 1;
  }
  .gear-table td:nth-child(3) {
    grid-row: 1;
  }
  .item-link {
    font-size: 14px;
    gap: 9px;
  }
  .item-link img {
    height: 29px;
    width: 29px;
  }
  .gear-table .place,
  .gear-table .note {
    grid-column: 3;
    font-size: 11px;
    max-width: none;
    min-width: 0;
    margin-left: 38px;
  }
  .gear-table .place {
    margin-top: 4px;
  }
  .gear-table .note:empty {
    display: none;
  }
  .two-columns {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 21px;
  }
  .panel p {
    font-size: 13px;
  }
  .panel h3 {
    font-size: 17px;
  }
  .research-list article {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 0;
  }
  .research-list article > a,
  .research-list article > .source-links {
    grid-column: 1;
  }
  .research-list h3 {
    font-size: 16px;
  }
  .research-list p {
    font-size: 13px;
  }
  .route-list strong {
    font-size: 13px;
  }
  .route-list small {
    font-size: 12px;
  }
  footer {
    font-size: 10px;
    gap: 15px;
  }
  .method-notes summary {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
@media print {
  .sidebar,
  .page-header,
  .gear-controls,
  .gear-note,
  footer {
    display: none;
  }
  main {
    margin: 0;
    padding: 0;
  }
  body {
    background: white;
    color: black;
  }
  .section {
    break-inside: avoid;
  }
  .panel,
  .raid-panel {
    box-shadow: none;
    background: white;
  }
  .gear-table .place,
  .gear-table .note,
  p,
  .muted {
    color: #333 !important;
  }
  a {
    color: inherit;
  }
  input {
    display: none;
  }
}
/* Shared guide presentation and browser-local character profiles. */
:root {
  --bg: #111311;
  --surface: #1a1e19;
  --surface-2: #272b22;
  --border: #373d31;
  --text: #f0ede3;
  --muted: #b2b5a6;
  --gold: #dfbd79;
  --accent: #cfbb88;
  --ret: #e8a47f;
  --holy: #aed1ad;
  --sidebar: #141713;
}
:root[data-theme="light"] {
  --bg: #f3f0e6;
  --surface: #fffdf6;
  --surface-2: #e9e9dd;
  --border: #cbd1c0;
  --text: #283225;
  --muted: #626b57;
  --gold: #85612c;
  --accent: #76612f;
  --ret: #934e38;
  --holy: #276a50;
  --sidebar: #e8e7dc;
}
.sidebar nav {
  margin-top: 25px;
}
.brand {
  font-size: 20px;
  letter-spacing: 0.08em;
}
.brand-mark {
  font-family: Georgia, serif;
  font-size: 29px;
  border-color: #dfbd7960;
  border-radius: 50%;
  width: 40px;
  height: 40px;
}
.brand small {
  letter-spacing: 0.1em;
  font-size: 10px;
}
.character-picker {
  margin-top: 35px;
  padding: 18px 0;
  border-block: 1px solid var(--border);
}
.character-picker label {
  display: block;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.character-picker select {
  width: 100%;
  max-width: none;
  font-size: 13px;
  height: 42px;
  background: var(--surface-2);
}
.character-picker button {
  border: 0;
  font-size: 11px;
  color: var(--gold);
  padding: 8px 0 0;
  background: none;
}
.hero {
  margin: 26px 0 0;
  min-height: 345px;
  position: relative;
  overflow: hidden;
  border: 1px solid #76633c70;
  border-radius: 10px;
  background: #171c18 url("assets/hero.jpg?v=20261116b") center top / cover no-repeat;
  isolation: isolate;
  box-shadow: 0 20px 70px #0002;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      #0f1413ee 0%,
      #101612c9 36%,
      #10161238 66%,
      #10161218
    ),
    linear-gradient(0deg, #111611bd, transparent 45%);
  z-index: -1;
}
.hero-copy {
  padding: 48px 42px;
  max-width: 590px;
  color: #f2e8cc;
}
.hero-copy h1 {
  font-size: clamp(40px, 5vw, 63px);
  font-family: "STSong", "Songti SC", "SimSun", serif;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-shadow: 0 4px 24px #0004;
  margin-bottom: 14px;
  max-width: none;
}
.hero-copy p {
  color: #d0cfbb;
  font-size: 14px;
}
.hero-copy .eyebrow {
  color: #e2c482;
  font-size: 10px;
  letter-spacing: 0.24em;
  margin-bottom: 17px;
}
.hero-actions {
  display: flex;
  gap: 23px;
  align-items: center;
  margin-top: 27px;
}
.hero-actions a {
  font-size: 12px;
  text-decoration: none;
  color: #e4d4ad;
}
.primary-action,
.hero-actions .primary-action {
  background: #dec187;
  color: #272416;
  border: 1px solid #e8d2a1;
  border-radius: 4px;
  padding: 11px 18px;
  display: inline-flex;
  gap: 21px;
  align-items: center;
  box-shadow: 0 3px 14px #0002;
  text-decoration: none;
  font-weight: 600;
}
.primary-action:hover,
.hero-actions .primary-action:hover {
  background: #efd8a6;
}
.hero-caption {
  position: absolute;
  right: 24px;
  bottom: 19px;
  color: #c5c1ad;
  font-size: 10px;
  letter-spacing: 0.12em;
}
.overview {
  padding-top: 37px;
}
.overview h2#overview-title {
  font-size: 25px;
  margin-bottom: 10px;
}
.priority h3 {
  font-size: 20px;
  margin: 5px 0 12px;
}
.priority:has(input:checked) h3 {
  color: var(--muted);
  text-decoration: line-through;
}
.overview-grid {
  margin-top: 29px;
}
.overview .eyebrow {
  margin-bottom: 8px;
}
.overview .lead {
  font-size: 13px;
}
.snapshot h2 {
  margin-bottom: 5px;
}
.snapshot .empty-profile {
  font-size: 12px;
  margin-top: 15px;
}
dialog {
  width: min(480px, calc(100vw - 36px));
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  padding: 28px;
  box-shadow: 0 30px 100px #0008;
}
dialog::backdrop {
  background: #080d0ac9;
  backdrop-filter: blur(5px);
}
.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.dialog-heading h2 {
  font-size: 24px;
}
.dialog-heading button {
  border: 0;
  background: none;
  font-size: 26px;
  padding: 0 8px;
}
dialog p {
  font-size: 13px;
  color: var(--muted);
}
dialog label {
  display: block;
  font-size: 13px;
  margin: 18px 0;
}
dialog input {
  display: block;
  width: 100%;
  padding: 10px 12px;
  margin-top: 7px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--bg);
  color: var(--text);
}
dialog .primary-action {
  width: 100%;
  justify-content: center;
  margin-top: 10px;
}
@media (max-width: 1200px) {
  .hero-copy {
    padding: 40px 30px;
  }
  .hero {
    min-height: 323px;
  }
  .hero-copy h1 {
    font-size: 51px;
  }
  .hero-copy {
    max-width: 490px;
  }
  .brand {
    font-size: 18px;
  }
}
@media (max-width: 900px) {
  .brand {
    font-size: 17px;
  }
  .brand-mark {
    width: 30px;
    height: 30px;
    font-size: 22px;
  }
  .character-picker {
    position: absolute;
    left: 220px;
    top: 11px;
    margin: 0;
    padding: 0;
    border: 0;
    display: flex;
    align-items: center;
    gap: 11px;
  }
  .character-picker label {
    display: none;
  }
  .character-picker select {
    height: 32px;
    width: 165px;
    font-size: 11px;
  }
  .character-picker button {
    padding: 0;
    font-size: 10px;
  }
  .sidebar nav {
    margin-top: 14px;
  }
  .hero-copy {
    padding: 39px 30px;
  }
  .hero {
    min-height: 325px;
  }
  .hero-copy h1 {
    font-size: 53px;
  }
}
@media (max-width: 640px) {
  .brand {
    font-size: 16px;
  }
  .hero {
    margin-top: 19px;
    min-height: 315px;
    background-position: 87% top;
  }
  .hero:before {
    background:
      linear-gradient(
        90deg,
        #0f1413e8 0%,
        #101612bd 30%,
        #10161260 75%,
        #10161230
      ),
      linear-gradient(0deg, #111611b0, transparent 45%);
  }
  .hero-copy {
    padding: 36px 24px;
    max-width: 340px;
  }
  .hero-copy h1 {
    font-size: 44px;
    margin-bottom: 15px;
  }
  .hero-copy p {
    font-size: 12px;
    max-width: 210px;
  }
  .hero-actions {
    gap: 13px;
    margin-top: 25px;
    flex-wrap: wrap;
  }
  .hero-actions a {
    font-size: 10px;
  }
  .hero-actions .primary-action {
    padding: 9px 12px;
    gap: 14px;
  }
  .hero-caption {
    font-size: 8px;
    right: 13px;
    bottom: 12px;
  }
  .character-picker {
    left: auto;
    right: 18px;
    top: 12px;
    gap: 8px;
  }
  .character-picker select {
    width: 121px;
    height: 28px;
    font-size: 10px;
    padding-inline: 7px;
  }
  .character-picker button {
    font-size: 0;
  }
  .character-picker button:after {
    content: "＋";
    font-size: 18px;
  }
  .sidebar-bottom {
    position: static;
    display: none;
  }
  .sidebar nav {
    margin-top: 15px;
  }
  .hero + .overview {
    padding-top: 29px;
  }
  .priority h3 {
    font-size: 18px;
  }
  .overview .section-heading {
    margin-bottom: 8px;
  }
  .section-heading .eyebrow {
    font-size: 10px;
  }
  .page-header {
    font-size: 9px;
  }
  .save-hint {
    font-size: 9px;
  }
  .count {
    font-size: 10px;
    white-space: normal;
    text-align: right;
    max-width: 110px;
  }
}
