/* GA-Server quest guide (quests.php) - uses the theme tokens of style.css */
.qdb h3 { margin: 26px 0 10px; font-size: 16px; color: var(--text); }
.qdb .cnt { font-size: 13px; color: var(--sub); font-weight: 500; }
.qdb-intro, .qdb-pre, .qdb-foot, .qdb .sub { color: var(--sub); }
.qdb-back { margin: 0 0 12px; }
.qdb-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 14px 0 16px; }
.qdb-filters input[type=search] { flex: 1 1 220px; }
.qdb-filters input, .qdb-filters select { min-width: 0; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--text); font: inherit; }
.qdb-filters .lv { display: flex; gap: 6px; }
.qdb-filters .lv input { width: 104px; }
.qdb-filters .chk { color: var(--sub); font-size: 14px; display: flex; gap: 6px; align-items: center; }
.qdb-table { width: 100%; border-collapse: collapse; }
.qdb-table th { padding: 9px 10px; text-align: left; color: var(--sub); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.qdb-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.qdb-table td.num { color: var(--cyan); font-weight: 700; width: 48px; }
.qdb-table tr:hover td { background: rgba(56, 189, 248, .05); }
.qdb-pager { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 14px; }
.qdb-pager a, .qdb-pager span { padding: 4px 11px; border-radius: 8px; border: 1px solid var(--line-2); cursor: pointer; }
.qdb-pager span { background: var(--grad); color: #fff; border-color: transparent; }
.qdb-pager small { margin-left: auto; color: var(--sub); }
.qdb .tag { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; border: 1px solid var(--line-2); color: var(--sub); white-space: nowrap; }
.qdb .tag.lvl { color: var(--cyan); }
.qdb .tag.race-elyos { color: #7dd3fc; border-color: rgba(125, 211, 252, .45); }
.qdb .tag.race-asmodians { color: #f0abfc; border-color: rgba(240, 171, 252, .45); }
.qdb .tag.rep { color: #fde68a; border-color: rgba(253, 230, 138, .4); }
.qdb-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; }
.qdb-note { padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(251, 191, 36, .35); background: rgba(251, 191, 36, .08); color: #fde68a; margin-bottom: 12px; }
.qdb-desc { padding: 14px 16px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line); color: var(--text); }
.qdb-steps { margin: 0; padding-left: 22px; }
.qdb-steps li { margin: 6px 0; padding-left: 4px; }
.qdb-steps li::marker { color: var(--cyan); font-weight: 700; }
.qdb-people { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.qdb-people li { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel-2); line-height: 1.5; }
.qdb-people small { color: var(--sub); }
.qdb-people .evn { color: #fde68a; }
.qdb .muted { color: var(--muted); }
.pin-n, .pin { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; font-size: 11px; font-weight: 800; color: #04121f; background: #fbbf24; margin-right: 8px; vertical-align: middle; }
.pin-n.mob, .pin.mob { background: #f87171; color: #fff; }
.qdb-map { margin: 14px 0; }
.qdb-map .mapname { font-weight: 700; margin-bottom: 6px; color: var(--sub); }
.qdb-map .mapbox { position: relative; width: 100%; max-width: 640px; aspect-ratio: 1; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); }
.qdb-map .mapbox img { position: absolute; width: 100%; height: 100%; left: 0; top: 0; display: block; max-width: none; }
.qdb-map .pin { position: absolute; transform: translate(-50%, -50%); margin: 0; box-shadow: 0 0 0 2px rgba(0, 0, 0, .55), 0 0 10px rgba(251, 191, 36, .8); }
.qdb-map .pin.mob { box-shadow: 0 0 0 2px rgba(0, 0, 0, .55), 0 0 10px rgba(248, 113, 113, .8); }
.qdb-items { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.qitem { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px 5px 5px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel-2); font-size: 14px; }
.qitem img, .qitem .noic { width: 32px; height: 32px; border-radius: 6px; background: rgba(255, 255, 255, .05); flex-shrink: 0; }
.qitem.q-rare span { color: #86efac; } .qitem.q-legend span { color: #7dd3fc; } .qitem.q-unique span { color: #fcd34d; }
.qitem.q-epic span { color: #fdba74; } .qitem.q-mythic span { color: #d8b4fe; } .qitem.q-ancient span, .qitem.q-relic span, .qitem.q-finality span { color: #f9a8d4; }
.qdb-items.cls { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.clsrow { display: flex; flex-direction: column; gap: 3px; } .clsrow small { color: var(--sub); }
.qdb-reward { display: flex; flex-wrap: wrap; gap: 10px; }
.qdb-reward .rw { padding: 6px 12px; border-radius: 10px; border: 1px solid var(--line-2); color: var(--sub); }
.qdb-reward .rw b { color: var(--text); }
.qdb-foot { margin-top: 26px; font-size: 13px; }
.qdb .cp-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.qdb-table td a { word-break: break-word; }
@media (max-width: 640px) {
  .qdb-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .qdb-filters input[type=search] { grid-column: 1 / -1; width: 100%; }
  .qdb-filters select { width: 100%; }
  .qdb-filters #qf-zone { grid-column: 1 / -1; }
  .qdb-filters .lv { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .qdb-filters .lv input { width: 100%; }
  .qdb-filters .chk { grid-column: 1 / -1; }
  .qdb-table th, .qdb-table td { padding: 8px 6px; }
  .qdb-table th:nth-child(3), .qdb-table td:nth-child(3), .qdb-table th:nth-child(4), .qdb-table td:nth-child(4) { display: none; }
  .qdb-table td.num { width: 34px; }
  .qdb .tag { font-size: 11px; padding: 1px 7px; }
  .qdb-items.cls { grid-template-columns: 1fr; }
  .qitem { max-width: 100%; }
}
