/* The wiki's "Systems" pages (include/page_sys_*.php), on top of wiki.css. */
.sys-tabs { margin-bottom: 10px; }
.sys-src { margin: 2px 0 10px !important; color: #8a6a3a; font-size: 10px; }
.sys-warn { margin: 0 0 8px; padding: 5px 8px; background: #fde2d6; border-left: 3px solid #b02000; }
.sys-info { margin: 0 0 8px; padding: 5px 8px; background: #fff1c2; border-left: 3px solid #c89b3c; }
.sys-formula { margin: 4px 0 8px; padding: 5px 8px; background: #fffaf0; border: 1px dashed #c9a86a; font-family: Consolas, "Courier New", monospace; font-size: 12px; white-space: pre-wrap; }
.sys-toc { margin: 0 0 10px; padding: 0; }
.sys-toc li { display: inline; margin-right: 12px; list-style: none; }
.sys-badge { display: inline-block; margin: 0 2px 1px 0; padding: 0 5px; border: 1px solid #c9a86a; background: #fffaf0; color: #5e140b; font-size: 10px; line-height: 15px; zoom: 1; }
.sys-badge.off { background: #fde2d6; border-color: #d99a86; color: #8d0f0a; }
.sys-dim { color: #9a8256; }
.sys-cards { overflow: hidden; zoom: 1; margin: 0 0 6px; }
.sys-card { float: left; width: 31%; min-width: 220px; margin: 0 1.5% 10px 0; padding: 8px 10px; background: #fffaf0; border: 1px solid #e1cb9c; box-sizing: border-box; }
.sys-card h4 { margin: 0 0 4px; color: #7b1300; font-size: 13px; }
.sys-card p { margin: 0 0 4px; }
.wiki-table.sys-narrow { width: auto; min-width: 320px; }
.wiki-table td.sys-center, .wiki-table th.sys-center { text-align: center; }
.wiki-table td.sys-wrap { white-space: normal; }
.sys-list { margin: 0 0 8px 18px; padding: 0; }
.sys-list li { margin: 0 0 3px; list-style: square; }
@media (max-width: 760px) { .sys-card { float: none; width: auto; margin-right: 0; } }
/* alchemy: fixed (basic) vs random (additional) dragon stone bonuses */
.sys-badge.fixed { background: #2f6b2a; border-color: #1f4b1b; color: #fff; font-weight: bold; }
.sys-badge.rand { background: #e7d3a6; border-color: #b08d55; color: #4a1a06; }
.wiki-table.sys-fixed td { background: #e3f1d8; }
.wiki-table tr.sys-fixed-row td { background: #eef6e6; }
/* drop page: big numbers of the rate cards, tables side by side, numbered contents */
.sys-card p.sys-big { margin: 2px 0; color: #7b1300; font-size: 22px; font-weight: bold; line-height: 26px; }
.sys-pair { margin: 0 0 6px; }
.sys-pair .wiki-scroll, .sys-pair > table { display: inline-block; width: auto; vertical-align: top; margin-right: 14px; }
.wiki-table.sys-side { min-width: 0; }
.sys-toc-num { margin: 8px 0 4px; padding: 6px 10px; background: #fffaf0; border: 1px solid #e1cb9c; }
.sys-toc-num li { display: inline; margin-right: 14px; list-style: none; counter-increment: none; }
/* event calendar: running-now box, month grid */
.sys-running { margin: 0 0 10px; padding: 6px 10px; background: #fff1c2; border: 1px solid #c89b3c; border-left: 4px solid #7b1300; }
.sys-running .sys-more { margin-left: 8px; white-space: nowrap; }
.wiki-table.sys-cal { table-layout: fixed; }
.wiki-table.sys-cal th { text-align: center; }
.wiki-table.sys-cal td { height: 54px; vertical-align: top; padding: 2px 4px; font-size: 11px; }
.wiki-table.sys-cal td.sys-cal-empty { background: #f1e5c6; }
.wiki-table.sys-cal td.sys-cal-today { background: #fff1c2; outline: 2px solid #c89b3c; }
.sys-cal-day { color: #5e140b; font-weight: bold; }
.sys-cal-ev { margin: 1px 0; padding: 1px 3px; background: #f4e6c4; border-left: 3px solid #b08d55; line-height: 13px; }
.sys-cal-ev.on { background: #e3f1d8; border-left-color: #2f6b2a; }
@media (max-width: 760px) { .wiki-table.sys-cal td { height: auto; font-size: 10px; } }
/* calendar month view: day numbers, event bars across days, timed lines */
.wiki-table.sys-cal td { height: auto; }
.wiki-table.sys-cal tr.sys-cal-num td { padding: 1px 4px; background: #f4e6c4; color: #5e140b; font-weight: bold; border-bottom: 0; }
.wiki-table.sys-cal tr.sys-cal-num td.sys-cal-today { background: #c89b3c; color: #fff; outline: 0; }
.wiki-table.sys-cal td.sys-cal-out, .wiki-table.sys-cal tr.sys-cal-num td.sys-cal-out { color: #b9a47a; background: #f7efd9; }
.wiki-table.sys-cal tr.sys-cal-bars td { padding: 1px 0; border-top: 0; border-bottom: 0; }
.sys-cal-bar { margin: 0 2px; padding: 1px 6px; background: #b08d55; color: #fff; font-size: 11px; line-height: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-radius: 3px; }
.sys-cal-bar a { color: #fff !important; }
.sys-cal-bar.on { background: #2f6b2a; }
.sys-cal-bar.cont-l { margin-left: 0; border-top-left-radius: 0; border-bottom-left-radius: 0; }
.sys-cal-bar.cont-r { margin-right: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.wiki-table.sys-cal tr.sys-cal-timed td { height: 34px; vertical-align: top; border-top: 0; }
/* calendar colours: legend, weekends, today, cell borders */
.sys-cal-legend { margin: 4px 0 8px; line-height: 22px; }
.sys-cal-key { display: inline-block; margin: 0 14px 2px 0; white-space: nowrap; }
.sys-cal-key i { display: inline-block; width: 14px; height: 14px; margin-right: 5px; vertical-align: -2px; border-radius: 3px; }
.sys-cal-live { padding: 0 5px; background: #2f6b2a; color: #fff; font-size: 10px; border-radius: 3px; }
.wiki-table.sys-cal th.sys-cal-we { background: #e2c58f; }
.wiki-table.sys-cal td { border-left: 1px solid #d6bd8a; border-right: 1px solid #d6bd8a; }
.wiki-table.sys-cal tr.sys-cal-num td { border-top: 2px solid #c9a86a; font-size: 12px; }
.wiki-table.sys-cal td.sys-cal-we { background: #f3e7cb; }
.wiki-table.sys-cal tr.sys-cal-num td.sys-cal-we { background: #ead6aa; }
.wiki-table.sys-cal td.sys-cal-out, .wiki-table.sys-cal tr.sys-cal-num td.sys-cal-out { color: #b9a47a; background: #f7f0de; }
.wiki-table.sys-cal td.sys-cal-today { background: #fff4c4; box-shadow: inset 2px 0 0 #b02000, inset -2px 0 0 #b02000; }
.wiki-table.sys-cal tr.sys-cal-num td.sys-cal-today { background: #b02000; color: #fff; box-shadow: none; }
.sys-cal-bar { color: #fff; font-weight: bold; text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35); }
.sys-cal-bar.on { box-shadow: 0 0 0 2px #ffd34d; }
.sys-cal-ev { background: #fffaf0; border-left: 4px solid #b08d55; }
.sys-cal-ev.on { background: #fff1c2; box-shadow: 0 0 0 1px #ffd34d; }
.sys-cal-ev b { color: #4a1a06; }
/* calendar: muted pastel bars with dark text */
.sys-cal-bar { color: #3a1606; font-weight: bold; text-shadow: none; border: 1px solid #b08d55; }
.sys-cal-bar a { color: #3a1606 !important; }
.sys-cal-bar.on { box-shadow: 0 0 0 2px #e0b94a; }
.sys-cal-key i { border: 1px solid #b08d55; }
.sys-cal-ev { border-left-width: 4px; }
/* calendar: one warm palette, calm today marker (overrides the earlier calendar colours) */
.sys-cal-bar { color: #2b1206; border: 0; border-left: 5px solid #8a5a1e; border-radius: 2px; font-weight: bold; text-shadow: none; }
.sys-cal-bar a { color: #2b1206 !important; }
.sys-cal-bar.cont-l { border-left-width: 0; }
.sys-cal-bar.on { box-shadow: inset 0 0 0 1px #7b1300; }
.sys-cal-ev { color: #2b1206; border-left: 4px solid #8a5a1e; }
.sys-cal-ev.on { box-shadow: inset 0 0 0 1px #7b1300; }
.sys-cal-ev b { color: #2b1206; }
.sys-cal-key i { border: 0; border-left: 4px solid #8a5a1e; border-radius: 2px; }
.sys-cal-live { background: #7b1300; }
.wiki-table.sys-cal td.sys-cal-we { background: #f4ead2; }
.wiki-table.sys-cal tr.sys-cal-num td.sys-cal-we { background: #eadcb8; }
.wiki-table.sys-cal td.sys-cal-today { background: transparent; box-shadow: inset 3px 0 0 #e0b23c, inset -3px 0 0 #e0b23c; }
.wiki-table.sys-cal tr.sys-cal-num td.sys-cal-today { background: #fbe7a6; color: #5a2a00; box-shadow: inset 0 3px 0 #e0b23c, inset 3px 0 0 #e0b23c, inset -3px 0 0 #e0b23c; }
.wiki-table.sys-cal tr.sys-cal-timed td.sys-cal-today { box-shadow: inset 3px 0 0 #e0b23c, inset -3px 0 0 #e0b23c, inset 0 -2px 0 #e0b23c; }
/* PvM rebalance: one card per class (accent colour), skill rows "official / here", collapsible value tables */
.sys-lead { margin: 0 0 6px; }
.sys-kbar { margin: 0 0 10px; padding: 4px 8px; background: #fffaf0; border: 1px solid #e1cb9c; font-size: 11px; }
.sys-classes { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 12px; gap: 12px; margin: 0 0 12px; }
.sys-class { margin: 0 0 12px; background: #fffaf0; border: 1px solid #e1cb9c; border-top: 4px solid #b08d55; }
.sys-classes .sys-class { margin: 0; }
.sys-class-head { padding: 5px 10px; background: #f4e6c4; border-bottom: 1px solid #e1cb9c; overflow: hidden; zoom: 1; }
.sys-class-head h3 { display: inline; margin: 0; font-size: 15px; line-height: 24px; color: #4a1a06; vertical-align: middle; }
.sys-class-icon { display: inline-block; width: 40px; height: 40px; margin-right: 8px; vertical-align: middle; text-align: center; background: #fff; border: 1px solid #d6bd8a; border-radius: 50%; overflow: hidden; }
.sys-class-icon img { max-width: 30px; max-height: 34px; margin-top: 3px; }
.sys-path { padding: 6px 10px 2px; }
.sys-path + .sys-path { border-top: 1px dashed #e1cb9c; }
.sys-path h4 { margin: 0 0 4px; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #8a6a3a; }
.sys-same { margin: 0 0 6px; font-style: italic; }
.sys-skill { margin: 0 0 8px; }
.sys-skill-top { margin: 0 0 3px; line-height: 16px; }
.sys-skill-top b { color: #7b1300; font-size: 13px; }
.sys-skill-what { margin-left: 6px; color: #5e140b; }
.sys-skill-what:before { content: "– "; color: #b9a47a; }
.sys-cmp { overflow: hidden; zoom: 1; font-size: 11px; line-height: 15px; }
.sys-cmp-o, .sys-cmp-n { float: left; width: 50%; padding: 3px 6px; box-sizing: border-box; }
.sys-cmp-o { background: #f3ece0; color: #6b5a44; border-left: 3px solid #c9b79a; }
.sys-cmp-n { background: #e9f3df; color: #2b3a1c; border-left: 3px solid #2f6b2a; }
.sys-cmp i { display: block; font-style: normal; font-size: 9px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; opacity: 0.75; }
details.sys-more { margin: 4px 0 0; }
details.sys-more summary { cursor: pointer; color: #7b1300; font-size: 11px; }
details.sys-more .wiki-table { margin-top: 4px; }
details.sys-more .wiki-note { margin: 2px 0 6px; }
details.sys-all { margin: 0 0 8px; padding: 4px 8px; background: #fffaf0; border: 1px solid #e1cb9c; }
details.sys-all summary { font-size: 12px; font-weight: bold; }
.wiki-table.sys-lvtable { min-width: 0; display: inline-table; margin-right: 10px; vertical-align: top; }
.sys-class-warrior { border-top-color: #b02000; }
.sys-class-warrior .sys-class-head { background: #f7dccf; }
.sys-class-ninja { border-top-color: #2f6b2a; }
.sys-class-ninja .sys-class-head { background: #e1ecd2; }
.sys-class-sura { border-top-color: #6b2a7a; }
.sys-class-sura .sys-class-head { background: #ecdcef; }
.sys-class-shaman { border-top-color: #1f5f8b; }
.sys-class-shaman .sys-class-head { background: #d9e7f1; }
.sys-cmp { display: flex; }
.sys-cmp-o, .sys-cmp-n { flex: 1 1 50%; }
@media (max-width: 900px) { .sys-classes { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .sys-cmp { display: block; } .sys-cmp-o, .sys-cmp-n { float: none; width: auto; } }

/* drops per class (page_sys_drop.php #class) */
.sys-class-pct { font-weight: bold; font-size: 15px; white-space: nowrap; }
h4.sys-class-h { margin: 14px 0 4px; color: #7b1300; font-size: 13px; }
.sys-class-ex { max-width: 560px; margin: 0 0 8px; }
.sys-class-lbl { margin: 6px 0 2px; font-size: 12px; }
.sys-class-bar { display: flex; height: 22px; border-radius: 4px; overflow: hidden; background: #efe9dc; }
.sys-class-bar span { display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: bold; white-space: nowrap; overflow: hidden; }
.sys-class-bar span + span { margin-left: 2px; }
.sys-class-bar .own { background: #2a78d6; }
.sys-class-bar .other { background: #eb6834; }
.sys-class-bar .none { background: #d6d5d0; color: #52514e; }
.sys-class-small { height: 18px; min-width: 160px; }
.sys-class-share td:nth-child(2) { width: 45%; }
pre.sys-sim-report { margin: 0 0 8px; padding: 8px 10px; background: #fffaf0; border: 1px solid #e1cb9c; font: 12px/1.35 Consolas, "Courier New", monospace; white-space: pre; }
.sys-sim-head { margin: 0 0 8px; padding: 8px 10px; background: #fffaf0; border: 1px solid #e1cb9c; border-left: 3px solid #c89b3c; }
.sys-sim-head h3 { margin: 0 0 2px; font-size: 16px; }
.sys-sim-head p { margin: 0; color: #6b4a1a; }
.sys-sim-up { color: #176b1e; font-weight: bold; }
.sys-sim-down { color: #9b2a10; font-weight: bold; }
.sys-sim-ok { color: #176b1e; font-weight: bold; }
.sys-sim-bad { color: #9b2a10; font-weight: bold; }
.sys-sim-items tr.sys-sim-class td { background: #f1f7ec; }
.sys-sim-items img.wiki-icon { max-height: 22px; width: auto; vertical-align: middle; }
.sys-sim-pvm td { vertical-align: top; }
.sys-sim-pvm td.sys-sim-skills { min-width: 160px; max-width: 240px; white-space: normal; line-height: 1.3; }
.sys-sim-pvm th { white-space: nowrap; }
.sys-sort th { cursor: pointer; }
.sys-sort th[data-dir="asc"]:after { content: " B2"; font-size: 9px; }
.sys-sort th[data-dir="desc"]:after { content: " BC"; font-size: 9px; }
details.sys-sim-how { margin: 0 0 8px; }
details.sys-sim-how summary { cursor: pointer; font-weight: bold; }
.sys-sim-items td { padding-top: 2px; padding-bottom: 2px; }
