/* Public brand, navigation, and documentation. */
.wowonomy {
  --page: #121113;
  --surface: #201c1b;
  --raised: #28221f;
  --field: #181616;
  --line: #423633;
  --gold: #f0c37f;
  --aqua: #7bd4bb;
  --text: #f6eee1;
  --muted: #c1b5a9;
  --dim: #a89a8d;
  font-size: 14px;
  min-height: 100vh;
  background: radial-gradient(ellipse 60% 53% at 75% 4%, #201a1d 3%, transparent 80%), var(--page);
}

.wowonomy :focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.wowonomy :is(a, button, summary) { -webkit-tap-highlight-color: #edc18225; }
.wowonomy [id] { scroll-margin-top: 20px; }

.wo-skip {
  position: fixed;
  z-index: 10;
  inset: 8px auto auto 8px;
  padding: 10px 16px;
  transform: translateY(-150%);
  border-radius: 6px;
  background: var(--gold);
  color: #21180f;
  font-weight: 700;
}
.wo-skip:focus { transform: translateY(0); }

.wo-masthead { background: #171516ee; border-bottom-color: #43352e; }
.wo-masthead .masthead-inner { min-height: 76px; }
.wo-brand { gap: 11px; }
.wo-brand img { width: 35px; height: 35px; border-radius: 9px; }
.wo-brand strong { font-size: 22px; letter-spacing: .015em; }
.wo-brand small { font-size: 9px; letter-spacing: .13em; }

.wo-masthead .wo-nav {
  display: flex;
  gap: clamp(11px, 3vw, 28px);
  align-items: stretch;
  flex: 1;
}
.wo-masthead .wo-nav a {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 13px;
  color: var(--muted);
}
.wo-masthead .wo-nav a:is(:hover, [aria-current]) { color: var(--gold); }

.wo-help-link {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-height: 35px;
  padding: 5px 11px;
  border: 1px solid #69513b;
  border-radius: 7px;
  color: #efddc4;
  text-decoration: none;
  font-size: 12px;
  font-weight: 650;
}
.wo-help-link:hover { border-color: var(--gold); color: var(--gold); }
.wo-help-link span {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border: 1px solid #a68050;
  border-radius: 50%;
  color: var(--gold);
  font-size: 10px;
}

.wowonomy .research-view { --research-panel: #211d1c; --research-muted: #c3b4a5; }

.wowonomy .wo-hero {
  min-height: 278px;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  margin-top: 27px;
  padding: clamp(24px, 5vw, 60px);
  border-color: #685040;
  border-radius: 14px;
  background:
    radial-gradient(ellipse at 91% 1%, #8d5b3a56, transparent 57%),
    radial-gradient(ellipse at 68% 100%, #5d3e30a6, transparent 62%),
    linear-gradient(116deg, #302720, #2e2523 72%, #2b2420);
}
.wowonomy .wo-hero::before {
  background: repeating-linear-gradient(118deg, transparent 0 50px, #edc18210 51px 52px, transparent 53px 76px);
  mask-image: linear-gradient(90deg, transparent 17%, #000 76%);
}
.wo-hero-copy { min-width: 0; max-width: 655px; }
.wowonomy .wo-hero h1 { color: #fff0d7; font-size: clamp(34px, 4.25vw, 63px); line-height: 1.05; }
.wowonomy .wo-hero .am-deck { max-width: 510px; color: #dfd1c0; font-size: clamp(14px, 1.6vw, 17px); line-height: 1.6; }
.wowonomy .eyebrow { color: #efc084; }
.wo-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }

.wo-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid #806144;
  border-radius: 7px;
  background: #271e1b88;
  color: #f3e7d7;
  font: 650 13px/1.2 var(--ui, system-ui);
  text-decoration: none;
}
.wo-button:hover { color: #fff2d4; border-color: #e9ba72; background-color: #35271e; }
.wo-primary { color: #291c12; background: #edbd79; border-color: #edbd79; }
.wo-primary:hover { color: #25180d; background: #f9ce90; border-color: #f9ce90; }

.wo-market-card {
  flex: 0 0 min(290px, 34%);
  min-width: 230px;
  min-height: 158px;
  align-self: center;
  padding: 17px;
  border: 1px solid #896748;
  border-radius: 11px;
  background: #241d1be8;
  box-shadow: 0 16px 45px #150d0d36;
}
.wo-market-card-head { display: flex; align-items: center; gap: 11px; }
.wo-market-card-head span, .wo-market-card-head strong { display: block; }
.wo-market-card-head span:not(.wo-market-mark) { color: #c8b6a3; font-size: 11px; }
.wo-market-card-head strong { color: #f3e5d2; font-size: 14px; }
.wo-market-card-head .wo-market-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #82663e;
  border-radius: 8px;
  color: #f8cc88;
  background: #35261e;
  font: 700 16px var(--mono);
}
.wo-market-card .am-stamps { border-top: 1px solid #604a36; padding-top: 12px; margin-top: 13px; }
.wo-market-card :is(.am-stamps span, .am-stamps b) { color: #dfcdb8; }

.wowonomy .am-section-head > div:first-child p { font-size: 12px; }
.wowonomy .am-metrics { margin: 16px 0 18px; }
.wowonomy .am-metrics > div { min-height: 87px; }
.wowonomy :is(.am-board .panel, .am-setups, .am-inspect, .am-history, .am-journal, .am-method) { border-radius: 9px; }
.wowonomy :is(.am-ranking, .am-table) { font-size: 12px; }
.wowonomy .am-reason { line-height: 1.45; }
.wowonomy .am-ranking td, .wowonomy .am-ranking th { padding-block: 10px; }
.wowonomy .am-journal { min-width: 0; }
.wo-noscript { margin-block: 18px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); }
.wo-journal-note { color: var(--muted); max-width: 46ch; margin-top: 8px; }

.wo-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 38px;
  padding-block: 22px 30px;
  border-top: 1px solid var(--line);
}
.wo-footer-brand { color: var(--gold); font: 700 18px var(--display); text-decoration: none; }
.wo-footer p { color: var(--muted); font-size: 12px; max-width: 68ch; margin-top: 5px; }
.wo-footer nav { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 2px; font-size: 13px; }
.wo-footer nav a { color: var(--text); }

.wo-dialog { width: min(540px, calc(100% - 28px)); padding: clamp(15px, 3vw, 24px); margin: auto; border: 1px solid #8f6c48; border-radius: 12px; background: #24201f; }
.wo-dialog::backdrop { background: #0c0a0bc9; }
.wo-dialog h2 { font-size: clamp(20px, 3vw, 25px); }
.wo-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wo-help-terms { display: grid; gap: 12px; margin: 15px 0 0; }
.wo-help-terms > div { padding: 10px 12px; border: 1px solid #564233; border-radius: 7px; background: #211b17; }
.wo-help-terms dt { color: var(--gold); font-weight: 700; }
.wo-help-terms dd { margin: 3px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.wo-doc { margin-top: clamp(23px, 5vw, 50px); }
.wo-narrow { max-width: min(100% - 28px, 840px); }
.wo-breadcrumb { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; }
.wo-doc-header { padding: clamp(22px, 4vw, 44px) 0 clamp(21px, 3vw, 33px); }
.wo-doc-header h1, .wo-error h1 { color: #f7e7d3; font-size: clamp(31px, 5vw, 54px); line-height: 1.13; }
.wo-doc-header p, .wo-error p:not(.eyebrow) { max-width: 63ch; margin-top: 10px; color: var(--muted); font-size: clamp(14px, 1.7vw, 17px); }
.wo-doc-grid { display: grid; grid-template-columns: 212px minmax(0, 1fr); align-items: start; gap: 16px; }
.wo-doc-menu { display: grid; gap: 9px; padding: 15px; border-radius: 8px; }
.wo-doc-menu a { color: var(--muted); }
.wo-doc-menu a:hover { color: var(--gold); }
.wo-doc-section { padding: clamp(18px, 3vw, 30px); border-radius: 10px; background: #201c1b; }
.wo-doc-section + .wo-doc-section { margin-top: 11px; }
.wo-doc-section h2 { margin-bottom: 10px; font-size: clamp(18px, 2.3vw, 24px); }
.wo-doc-section p, .wo-steps { color: #d7cabb; max-width: 75ch; line-height: 1.65; }
.wo-doc-section p + p { margin-top: 9px; }
.wo-steps { padding-inline-start: 20px; margin: 0; }
.wo-steps li + li { margin-top: 7px; }
.wo-steps strong { color: #f6e6d2; }
.wo-faq details + details { margin-top: 8px; }
.wo-faq details { padding: 10px 12px; border: 1px solid #513f34; border-radius: 7px; background: #1c1716; }
.wo-faq summary { cursor: pointer; font-weight: 650; color: #f3e0c8; }
.wo-faq details p { margin-top: 6px; }
.wo-error { margin-block: clamp(30px, 13vh, 135px); }

@media (max-width: 780px) {
  .wo-masthead .masthead-inner { padding-block: 8px; min-height: auto; gap: 5px 13px; }
  .wo-masthead .wo-nav { flex: 1 0 100%; order: 3; min-height: 36px; gap: 16px; }
  .wo-masthead .wo-nav a { padding: 4px 0 5px; }
  .wo-help-link { margin-left: auto; }
  .wowonomy .wo-hero { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 15px; padding: 22px; }
  .wo-market-card { width: 100%; min-width: 0; min-height: auto; padding: 12px; }
  .wo-market-card .am-stamps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wo-doc-grid { grid-template-columns: minmax(0, 1fr); }
  .wo-doc-menu { display: flex; flex-wrap: wrap; gap: 8px 17px; }
}

@media (max-width: 420px) {
  .wowonomy .wo-hero h1 { font-size: clamp(32px, 9vw, 40px); }
  .wo-market-card .am-stamps { grid-template-columns: 1fr; }
  .wo-footer { gap: 14px; }
}
