/* The boss drops page, in the same browns and golds as the patch notes. */
:root { color-scheme: dark; --ground: #17130e; --panel: #3e3529; --inner: #2c251c; --edge: #5d5140; --text: #f0e2c0; --soft: #bfb095; --gold: #ff981f; --yellow: #ffe135; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; padding: 0 16px 48px; background: var(--ground); color: var(--text); font: 14px/1.5 Verdana, "Segoe UI", sans-serif; }
a { color: var(--yellow); }
.top, .page { max-width: 1180px; margin: 0 auto; }
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 24px 0 16px; border-bottom: 3px solid var(--edge); }
.top h1 { margin: 0; font-size: 26px; color: var(--gold); text-shadow: 2px 2px 0 #000; }
.top p { margin: 4px 0 0; color: var(--soft); font-size: 13px; }
.top .links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 15px; }
.play { padding: 9px 16px; background: #7a2e22; color: #fff; border: 2px solid #1d160c; text-decoration: none; font-weight: bold; }
.play:hover { background: #96392a; }
.page { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: start; padding-top: 20px; }
nav { position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow-y: auto; padding: 10px 12px; background: var(--panel); border: 2px solid var(--edge); }
nav h2 { margin: 0 0 6px; font-size: 14px; color: var(--gold); }
nav ol { margin: 0; padding: 0; list-style: none; font-size: 12px; }
nav li a { display: block; padding: 4px 0; color: var(--text); text-decoration: none; border-top: 1px solid #0003; }
nav li a:hover { color: var(--yellow); }
#find { width: 100%; padding: 9px 12px; font: inherit; color: #fff; background: var(--inner); border: 2px solid var(--edge); }
#find:focus { outline: none; border-color: var(--gold); }
section h2 { margin: 22px 0 0; font-size: 19px; color: var(--gold); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 14px; margin-top: 10px; align-items: start; }
article { padding: 12px 14px; background: var(--panel); border: 2px solid var(--edge); scroll-margin-top: 12px; }
article:target { border-color: var(--gold); }
.head { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.portrait { flex: none; width: 124px; height: 124px; background: #8d8266; border: 2px solid #1d160c; opacity: 0; transition: opacity 0.3s; }
.portrait.drawn { opacity: 1; }
h3 { margin: 0; font-size: 17px; }
h3 a { color: var(--gold); text-decoration: none; }
.head p { margin: 2px 0 0; font-size: 12px; color: var(--soft); }
.head .level { color: var(--text); }
.head .any { color: var(--yellow); }
table { width: 100%; border-collapse: collapse; }
td { padding: 5px 4px; border-top: 1px solid #0005; vertical-align: middle; }
.what { display: flex; align-items: center; gap: 8px; }
.icon { flex: none; width: 36px; height: 36px; background: var(--inner); border: 1px solid #1d160c; }
.what b { display: block; font-size: 13px; }
.what small, .rate small { display: block; font-size: 11px; line-height: 1.35; color: var(--soft); }
.rate { width: 118px; text-align: right; white-space: nowrap; }
.rate b { color: var(--yellow); font-size: 13px; }
tr.pet td { background: #00000022; }
summary { padding: 6px 0; cursor: pointer; color: var(--yellow); font-weight: bold; }
.note { margin: 8px 0 0; font-size: 12px; color: var(--soft); }
#none { color: var(--soft); }
@media (max-width: 760px) {
  .page { grid-template-columns: minmax(0, 1fr); }
  nav { position: static; max-height: 200px; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .portrait { width: 96px; height: 96px; }
  .rate { width: 96px; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
