/* Ember wiki. Parchment styling that matches ember.css and sits in tibiacom/kathrine content boxes. */
.wk-crumbs { font-size: 12px; margin: 0 0 10px; color: #6b5636; }
.wk-crumbs a { color: #5a2800; }
.wk-crumbs .wk-sep { color: #a68a5c; margin: 0 2px; }
.wk-crumbs [aria-current] { font-weight: bold; color: #3b2a14; }

.wk-box { background: #f1e0c6; border: 1px solid #a68a5c; border-radius: 4px; padding: 10px 14px; margin: 0 0 12px; color: #3b2a14; }
.wk-hero p { margin: 0 0 8px; }
.wk-search { display: flex; gap: 6px; flex-wrap: wrap; }
.wk-search input { width: 100%; box-sizing: border-box; padding: 6px 8px; border: 1px solid #a68a5c; border-radius: 3px; font-size: 13px; }
.wk-ac { position: relative; flex: 1; min-width: 180px; }
.wk-ac-list { position: absolute; z-index: 50; left: 0; right: 0; top: 100%; margin: 2px 0 0; padding: 2px 0; list-style: none; background: #fff8ec; border: 1px solid #a68a5c; border-radius: 3px; box-shadow: 0 4px 12px rgba(59, 42, 20, .25); max-height: 380px; overflow-y: auto; }
.wk-ac-list[hidden] { display: none; }
.wk-ac-list a { display: flex; align-items: center; gap: 8px; padding: 3px 8px; color: #3b2a14; text-decoration: none; }
.wk-ac-ph { width: 48px; height: 48px; flex: none; }
.wk-ac-name { font-weight: bold; color: #5a2800; }
.wk-ac-list small { margin-left: auto; color: #6b5636; font-size: 11px; white-space: nowrap; }
.wk-ac-list li[aria-selected="true"] a, .wk-ac-list a:hover { background: #fbe9d0; }
.wk-search button { background: #c2410c; color: #fff; border: 1px solid #7c2d12; border-radius: 3px; padding: 6px 14px; font-weight: bold; cursor: pointer; font-size: 13px; }
.wk-search button:hover { background: #9a3412; }

.wk-h1 { font-size: 20px; margin: 2px 0 6px; color: #5a2800; }
.wk-h2 { font-size: 15px; margin: 18px 0 6px; padding-bottom: 3px; border-bottom: 1px solid #c9ad80; color: #5a2800; }
.wk-h2 small, .wk-h3 small { font-weight: normal; color: #6b5636; font-size: 11px; }
.wk-h3 { font-size: 13px; margin: 12px 0 6px; color: #5a2800; text-transform: uppercase; letter-spacing: 1px; }
.wk-muted { color: #6b5636; font-size: 12px; }
.wk-desc { font-style: italic; margin: 4px 0; }

.wk-head { display: flex; gap: 14px; align-items: flex-start; background: #f1e0c6; border: 1px solid #a68a5c; border-radius: 4px; padding: 10px 14px; margin-bottom: 8px; }
.wk-portrait { box-sizing: content-box; background: radial-gradient(circle at 50% 60%, #fff8ec, #e5d3b3 70%); border: 1px solid #c9ad80; border-radius: 4px; flex: none; }
.wk-facts { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 4px 0 0; }
.wk-facts dt { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: #6b5636; }
.wk-facts dd { margin: 0; font-size: 16px; font-weight: bold; color: #3b2a14; }
.wk-facts dd small { font-size: 11px; font-weight: normal; }
.wk-hp { color: #b91c1c !important; }
.wk-exp { color: #1d4ed8 !important; }

.wk-table { width: 100%; border-collapse: collapse; margin: 0 0 8px; font-size: 12px; background: #fff8ec; }
.wk-table th { background: #505050; color: #fff; text-align: left; padding: 5px 6px; font-weight: bold; white-space: nowrap; }
.wk-table td { padding: 3px 6px; border-bottom: 1px solid #e5d3b3; vertical-align: middle; }
.wk-table tbody tr:nth-child(even) td { background: #f6ead6; }
.wk-table tbody tr:hover td { background: #fbe9d0; }
.wk-table .wk-r { text-align: right; white-space: nowrap; }
.wk-table td small { color: #6b5636; }
.wk-stats { width: auto; min-width: 260px; }
.wk-stats th { background: #e5d3b3; color: #3b2a14; width: 130px; }
.wk-sortable th[data-sort] { cursor: pointer; user-select: none; }
.wk-sortable th[data-sort]::after { content: " \2195"; opacity: .45; font-size: 10px; }
.wk-sortable th.wk-asc::after { content: " \25B2"; opacity: 1; }
.wk-sortable th.wk-desc::after { content: " \25BC"; opacity: 1; }

.wk-link { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: #5a2800; font-weight: bold; }
.wk-link:hover span { text-decoration: underline; }
/* size comes from the width/height attributes; the browser smooths the sprites, like OTClient's default antialiased game view */
.wk-icon { flex: none; }
.wk-slot { display: inline-flex; align-items: center; justify-content: center; flex: none; vertical-align: middle; }
.wk-slot img { display: block; }
.wk-noimg { display: inline-block; background: #e5d3b3; border-radius: 3px; }

.wk-rar { display: inline-block; font-size: 10px; padding: 0 6px; border-radius: 8px; margin-right: 4px; font-weight: bold; }
.wk-common { background: #e5e7eb; color: #374151; }
.wk-uncommon { background: #dcfce7; color: #166534; }
.wk-semirare { background: #dbeafe; color: #1e40af; }
.wk-rare { background: #ede9fe; color: #5b21b6; }
.wk-veryrare { background: #ffedd5; color: #9a3412; }

.wk-tag { display: inline-block; font-size: 10px; padding: 0 6px; border-radius: 8px; background: #e5d3b3; color: #5a2800; font-weight: bold; white-space: nowrap; }
.wk-prem { background: #fde68a; color: #854d0e; }
.wk-vocnav { margin: 0 0 8px; }
.wk-vocnav a[aria-current] { background: #c2410c; border-color: #7c2d12; color: #fff; }
.wk-table td small .wk-link { font-weight: normal; }

.wk-more summary { cursor: pointer; font-size: 11px; color: #6b5636; }
.wk-more[open] summary { margin-bottom: 2px; }

.wk-tools { margin: 0 0 8px; }
.wk-filter { width: 100%; max-width: 320px; padding: 6px 8px; border: 1px solid #a68a5c; border-radius: 3px; font-size: 13px; box-sizing: border-box; }

.wk-cards { display: grid; grid-template-columns: 1fr; gap: 12px; }
.wk-card { background: #f1e0c6; border: 1px solid #a68a5c; border-radius: 4px; padding: 10px 14px; }
.wk-card h2 { margin: 0 0 4px; font-size: 17px; }
.wk-card h2 a { color: #5a2800; }
.wk-card p { margin: 0 0 8px; }
.wk-strip { display: flex; flex-wrap: wrap; gap: 4px 14px; }

.wk-cats { list-style: none; margin: 0 0 6px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px; }
.wk-cats a { display: flex; align-items: center; gap: 8px; background: #fff8ec; border: 1px solid #d4b98a; border-radius: 4px; padding: 4px 8px; color: #5a2800; font-weight: bold; text-decoration: none; min-height: 48px; }
.wk-cats a:hover { background: #fbe9d0; border-color: #a68a5c; }
.wk-cats small { margin-left: auto; color: #6b5636; font-weight: normal; }
.wk-compact { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }

.wk-towns { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.wk-towns a { display: inline-block; background: #fff8ec; border: 1px solid #d4b98a; border-radius: 12px; padding: 2px 10px; color: #5a2800; font-weight: bold; text-decoration: none; }
.wk-towns small { color: #6b5636; }

.wk-npcgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px; }
.wk-npcgrid li { background: #fff8ec; border: 1px solid #d4b98a; border-radius: 4px; padding: 4px 8px; }
.wk-npcgrid small { display: block; color: #6b5636; margin-left: 54px; }

@media (max-width: 640px) {
	.wk-head { flex-direction: column; }
	.wk-table { font-size: 11px; }
}
.wk-topsearch { margin: 0 0 12px; }
.wk-topsearch .wk-search input { padding: 5px 8px; }
.wk-topsearch .wk-search button { padding: 5px 12px; }

/* item attributes: item page section, /wiki/attributes finder and attribute pages */
.wk-ench { display: flex; gap: 12px; align-items: flex-start; }
.wk-ench p { margin: 0 0 6px; }
.wk-ench-class { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 6px; background: #5a2800; color: #fbe9d0; font-size: 10px; text-transform: uppercase; letter-spacing: 1px; }
.wk-ench-num { font-size: 26px; font-weight: bold; line-height: 1; letter-spacing: 0; }
.wk-attrs td:first-child { min-width: 160px; }
.wk-attr-desc { display: block; font-size: 11px; line-height: 1.3; margin-top: 1px; }
.wk-table tr.wk-group td { background: #e5d3b3 !important; color: #5a2800; font-weight: bold; font-size: 10px; text-transform: uppercase; letter-spacing: 1px; padding: 2px 6px; }
.wk-lvl { display: inline-block; padding: 1px 7px; border-radius: 8px; font-weight: bold; white-space: nowrap; text-align: center; line-height: 1.25; }
.wk-lvl small { display: block; font-size: 10px; font-weight: normal; color: inherit !important; opacity: .85; }
.wk-scroll { overflow-x: auto; margin: 0 0 8px; }
.wk-scroll .wk-table { margin: 0; }
.wk-attrs td.wk-r, .wk-attrs th.wk-r { text-align: center; }
.wk-lvl1 { background: #e5e7eb; color: #374151; }
.wk-lvl2 { background: #dcfce7; color: #166534; }
.wk-lvl3 { background: #dbeafe; color: #1e40af; }
.wk-lvl4 { background: #ede9fe; color: #5b21b6; }
.wk-lvl5, .wk-lvl6 { background: #ffedd5; color: #9a3412; }

.wk-howto ul { margin: 0; padding-left: 18px; }
.wk-howto li { margin: 0 0 5px; }
.wk-howto .wk-h3 { margin-top: 0; }
.wk-irar { display: inline-block; font-size: 11px; padding: 0 7px; border-radius: 8px; font-weight: bold; color: #fff; text-shadow: 0 1px 1px rgba(0, 0, 0, .35); }
.wk-irar small { opacity: .8; }
.wk-irar-common { background: #8a93a3; }
.wk-irar-uncommon { background: #1f9d33; }
.wk-irar-rare { background: #2f6fe0; }
.wk-irar-epic { background: #8f2fd6; }
.wk-irar-legendary { background: #e06a0a; }

.wk-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0 0 6px; }
.wk-chips-label { width: 100%; font-size: 10px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; color: #5a2800; margin-top: 4px; }
.wk-chip { background: #fff8ec; border: 1px solid #d4b98a; border-radius: 12px; padding: 2px 10px; color: #5a2800; font-weight: bold; font-size: 12px; cursor: pointer; font-family: inherit; }
.wk-chip small { color: #6b5636; font-weight: normal; }
.wk-chip:hover { background: #fbe9d0; border-color: #a68a5c; }
.wk-chip[aria-pressed="true"] { background: #c2410c; border-color: #7c2d12; color: #fff; }
.wk-chip[aria-pressed="true"] small { color: #fde7d4; }
.wk-finder { background: #f1e0c6; border: 1px solid #a68a5c; border-radius: 4px; padding: 10px 14px; margin: 0 0 12px; }
.wk-finder > p { margin: 0 0 8px; }
.wk-finder-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 6px; font-weight: bold; color: #5a2800; font-size: 12px; }
.wk-finder-top select { margin-left: 4px; padding: 4px 6px; border: 1px solid #a68a5c; border-radius: 3px; font-size: 12px; max-width: 100%; }
.wk-finder-count { margin: 8px 0 6px; font-weight: bold; color: #3b2a14; }
.wk-finder-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px; }
.wk-finder-list li { background: #fff8ec; border: 1px solid #d4b98a; border-radius: 4px; padding: 4px 8px; }
.wk-finder-list li[hidden], .wk-finder-list[hidden] { display: none; }
.wk-finder-list small { display: block; color: #6b5636; margin-left: 54px; margin-top: -6px; }
.wk-tools .wk-chips { margin-bottom: 8px; }
@media (max-width: 640px) {
	.wk-ench { flex-direction: column; }
	.wk-attrs td:first-child { min-width: 0; }
}
