/* Wiki GoodTimes - același stil ca prezentarea (fonturi, culori din joc, colțuri rotunjite) */
@font-face { font-family: 'Roboto Slab'; src: url(../assets/fonts/roboto-slab-400.woff2) format('woff2'); font-weight: 100 550; font-display: swap; }
@font-face { font-family: 'Roboto Slab'; src: url(../assets/fonts/roboto-slab-700.woff2) format('woff2'); font-weight: 551 900; font-display: swap; }
:root {
	--bg: #0f0a08; --panel: #1a120d; --panel2: #221811; --line: rgba(214, 166, 86, .22); --line-hi: rgba(214, 166, 86, .5);
	--gold: #d6a656; --gold-hi: #f6dc9c; --muted: #a8957a;
	--g-text: #ffe6ba; --g-item: #ffa200; --g-gold: #ffc700; --g-mob: #ff8080; --g-green: #90ee90;
	--f: 'Roboto Slab', Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(ellipse at 50% 0, #24170f, var(--bg) 60%) fixed; color: var(--g-text); font: 400 15.5px/1.6 var(--f); -webkit-font-smoothing: antialiased; }
a { color: var(--gold-hi); }
button, input, select { font: inherit; }
img { max-width: 100%; }

.read-progress { position: fixed; z-index: 60; top: 0; left: 0; right: 0; height: 3px; pointer-events: none; }
.read-progress i { display: block; height: 100%; background: linear-gradient(90deg, #7a1d10, var(--gold), var(--gold-hi)); transform: scaleX(0); transform-origin: 0 50%; }

/* ---------------------------------------------------------------- bara de sus */
.w-top {
	position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 20px; height: 66px; padding: 0 26px;
	background: rgba(15, 10, 8, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.w-logo img { display: block; height: 46px; width: auto; filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .7)); }
.w-logo b { font: 700 22px var(--f); color: var(--gold); }
.w-nav { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 2px; }
.w-nav a { padding: 7px 12px; border-radius: 8px; color: #cfbb9b; text-decoration: none; font: 600 12.5px var(--f); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.w-nav a:hover { color: var(--gold-hi); background: rgba(214, 166, 86, .08); }
.w-nav a.on { color: var(--gold-hi); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 8px 8px 0 0; }
.w-nav a.w-cta { margin-left: 6px; color: #fff3dc; background: linear-gradient(180deg, #b83a22, #7a1d10); border: 1px solid #e0a35a; }
.w-menu { display: none; margin-left: auto; width: 42px; height: 38px; border-radius: 8px; border: 1px solid var(--line); background: rgba(0, 0, 0, .4); cursor: pointer; }
.w-menu span, .w-menu span::before, .w-menu span::after { display: block; width: 18px; height: 2px; margin: auto; background: var(--gold); position: relative; content: ''; }
.w-menu span::before { position: absolute; top: -6px; } .w-menu span::after { position: absolute; top: 6px; }

/* ---------------------------------------------------------------- început */
.w-hero { max-width: 1100px; margin: 0 auto; padding: 64px 24px 30px; text-align: center; }
.w-eyebrow { margin: 0; font: 700 12px var(--f); letter-spacing: .3em; color: var(--gold); }
.w-hero h1 {
	margin: 10px 0 12px; font: 700 clamp(36px, 5vw, 58px)/1.1 var(--f);
	background: linear-gradient(180deg, var(--gold-hi) 20%, var(--gold) 60%, #9c6d2c); -webkit-background-clip: text; background-clip: text; color: transparent;
	filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .7));
}
.w-hero h1 em { font-style: normal; }
.w-lead { max-width: 640px; margin: 0 auto; color: var(--g-text); opacity: .9; }
.w-search {
	display: flex; align-items: center; gap: 12px; max-width: 640px; height: 54px; margin: 26px auto 0; padding: 0 16px;
	background: rgba(14, 9, 6, .8); border: 1px solid var(--line-hi); border-radius: 12px; box-shadow: 0 12px 30px rgba(0, 0, 0, .5);
}
.w-search:focus-within { border-color: var(--gold); }
.w-search svg { width: 20px; fill: var(--gold); flex: none; }
.w-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--g-text); font-size: 16px; }
.w-search kbd { border: 1px solid var(--line); border-radius: 6px; padding: 0 8px; color: var(--muted); font-size: 12px; }
/* ---------------------------------------------------------------- tab-uri, listă */
.w-main { max-width: 1180px; margin: 0 auto; padding: 0 24px 60px; }
.w-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 14px; border-bottom: 1px solid var(--line); scrollbar-width: thin; }
.w-tabs button {
	flex: none; padding: 9px 16px; border-radius: 10px; cursor: pointer; white-space: nowrap;
	border: 1px solid var(--line); background: rgba(26, 18, 13, .8); color: #cfbb9b; font-weight: 600; letter-spacing: .04em;
}
.w-tabs button:hover { color: var(--gold-hi); border-color: var(--line-hi); }
.w-tabs button.on { color: #fff3dc; background: linear-gradient(180deg, #b83a22, #7a1d10); border-color: #e0a35a; }
.w-toolbar { display: flex; gap: 10px; margin: 18px 0 0; }
.w-toolbar[hidden] { display: none; }
.w-toolbar input, .w-toolbar select {
	padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--g-text); outline: 0;
}
.w-toolbar input { flex: 1; max-width: 460px; }
.w-toolbar input:focus, .w-toolbar select:focus { border-color: var(--gold); }
.w-count { margin: 16px 0 12px; color: var(--muted); font-size: 13.5px; }

.w-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.w-card {
	display: flex; gap: 12px; align-items: center; width: 100%; padding: 12px 14px; text-align: left; cursor: pointer; color: inherit;
	border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(160deg, var(--panel2), var(--panel));
	transition: border-color .2s, transform .2s, box-shadow .2s;
}
.w-card:hover, .w-card:focus-visible { border-color: var(--line-hi); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .45); outline: 0; }
.w-ico {
	flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
	background: radial-gradient(circle at 50% 38%, rgba(214, 163, 90, .2), rgba(14, 9, 6, .9) 68%); border: 2px solid rgba(214, 163, 90, .45);
	color: var(--gold); font: 700 18px var(--f); overflow: hidden;
}
.w-ico img { width: 32px; height: 32px; object-fit: contain; }
/* portretul șefului: dreptunghi lat, ca în fereastra de șefi din joc (se vede tot șeful, nu doar fața) */
.w-ico.w-face { width: 78px; height: 52px; border-radius: 10px; border-width: 1px; overflow: hidden; background: #0e0906; }
.w-ico.w-face img, .d-head .w-ico.w-face img, .d-row .w-ico.w-face img, .w-big-head .w-ico.w-face img { width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: 0; }
.w-big-head .w-ico.w-face { width: 96px; height: 62px; }
.d-head .w-ico.w-face { width: 132px; height: 86px; }
.d-row .w-ico.w-face { width: 54px; height: 36px; border-radius: 8px; }
.w-ico svg { width: 22px; height: 22px; fill: var(--gold); }
.w-card h3 { margin: 0; font: 700 15px/1.3 var(--f); color: var(--g-text); overflow-wrap: anywhere; }
.w-card h3.item { color: var(--g-item); }
.w-card h3.mob { color: var(--g-mob); }
.w-card small { display: block; margin-top: 3px; color: var(--muted); font-size: 12.5px; }
.w-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.w-tag { padding: 1px 8px; border-radius: 20px; border: 1px solid var(--line); color: #cfbb9b; font-size: 11.5px; }
.w-tag.gold { color: var(--g-gold); border-color: rgba(255, 199, 0, .35); }
.w-tag.green { color: var(--g-green); border-color: rgba(144, 238, 144, .35); }
.w-empty { padding: 50px 10px; text-align: center; color: var(--muted); }
.w-pager { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 26px 0 0; color: var(--muted); }
.w-pager button { padding: 8px 16px; border-radius: 10px; border: 1px solid var(--line-hi); background: var(--panel2); color: var(--gold-hi); cursor: pointer; }
.w-pager button:disabled { opacity: .35; cursor: default; }

.w-cat { margin: 26px 0 10px; display: flex; align-items: center; gap: 12px; font: 700 13px var(--f); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.w-cat-n { padding: 0 8px; border-radius: 20px; border: 1px solid var(--line); color: #cfbb9b; font-size: 11.5px; letter-spacing: 0; }
.w-cat::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-hi), transparent); }
/* ---------------------------------------------------------------- hărți în stânga, șefi în dreapta */
.w-split { display: grid; grid-template-columns: 290px 1fr; gap: 18px; align-items: start; }
.w-maps { position: sticky; top: 82px; display: grid; gap: 6px; max-height: calc(100vh - 100px); overflow-y: auto; padding-right: 4px; scrollbar-width: thin; scrollbar-color: var(--gold-dim, #7a5d33) transparent; }
.w-map {
	display: block; width: 100%; padding: 10px 14px; text-align: left; cursor: pointer; border-radius: 10px;
	border: 1px solid var(--line); background: linear-gradient(160deg, var(--panel2), var(--panel)); color: inherit; transition: border-color .2s, background .2s;
}
.w-map b { display: block; font: 700 14px/1.3 var(--f); color: var(--g-text); }
.w-map small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.w-map:hover { border-color: var(--line-hi); }
.w-map.on { border-color: #e0a35a; background: linear-gradient(180deg, rgba(184, 58, 34, .55), rgba(122, 29, 16, .55)); box-shadow: inset 3px 0 0 var(--gold); }
.w-map.on b { color: #fff3dc; }
.w-map.on small { color: #f3d9b0; }
.w-panel { min-width: 0; padding: 18px 20px 20px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(170deg, rgba(34, 24, 17, .9), rgba(20, 14, 10, .9)); }
.w-panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.w-panel-head h2 { margin: 0; font: 700 22px/1.2 var(--f); color: var(--gold-hi); }
.w-panel-head span { color: var(--g-gold); font-size: 13.5px; white-space: nowrap; }
.w-big-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.w-big {
	display: flex; flex-direction: column; gap: 12px; width: 100%; padding: 14px; text-align: left; cursor: pointer; color: inherit;
	border: 1px solid var(--line); border-radius: 12px; background: rgba(10, 6, 4, .45); transition: border-color .2s, transform .2s, box-shadow .2s;
}
.w-big:hover, .w-big:focus-visible { border-color: var(--line-hi); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .45); outline: 0; }
.w-big-head { display: flex; gap: 12px; align-items: center; }
.w-big-head .w-ico { width: 54px; height: 54px; font-size: 22px; }
.w-big h3 { margin: 0; font: 700 17px/1.25 var(--f); color: var(--g-mob); }
.w-big small { display: block; margin-top: 3px; color: var(--muted); font-size: 12.5px; }
.w-big-drops { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.w-mini { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(214, 163, 90, .35); background: radial-gradient(circle at 50% 38%, rgba(214, 163, 90, .16), rgba(14, 9, 6, .9) 70%); color: var(--gold); font-size: 12px; }
.w-mini img { width: 26px; height: 26px; object-fit: contain; }
.w-more { padding: 2px 9px; border-radius: 20px; border: 1px solid var(--line); color: #cfbb9b; font-size: 12px; }
.w-big-none { margin: 0; color: var(--muted); font-size: 13px; }
.w-big-go { margin-top: auto; font-size: 12.5px; color: var(--gold); }

/* ---------------------------------------------------------------- ghid */
.w-guide { max-width: 860px; margin: 22px auto 0; }
.w-guide[hidden] { display: none; }
.w-guide article { margin: 0 0 12px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(160deg, var(--panel2), var(--panel)); }
.w-guide h3 { margin: 0 0 8px; color: var(--gold-hi); font-size: 18px; }
.w-guide p { margin: 0; }
.r-drop, .r-kill { color: var(--g-green); font-weight: 700; }
.r-limit { color: var(--g-gold); font-weight: 700; }

/* ---------------------------------------------------------------- detalii (fereastră) */
.w-overlay { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(5, 3, 2, .82); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.w-overlay[hidden] { display: none; }
.w-modal {
	position: relative; width: min(760px, 100%); max-height: 88vh; overflow: auto; padding: 26px 28px;
	border: 1px solid var(--line-hi); border-radius: 14px; background: linear-gradient(170deg, #22170f, #140e0a); box-shadow: 0 30px 90px #000;
	scrollbar-width: thin; scrollbar-color: var(--gold) transparent;
}
.w-close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: rgba(0, 0, 0, .4); color: var(--gold-hi); font-size: 22px; line-height: 1; cursor: pointer; }
.w-close:hover { border-color: var(--gold); }
.w-back {
	display: inline-flex; align-items: center; gap: 6px; margin: -6px 0 14px; padding: 6px 14px; border-radius: 20px; cursor: pointer;
	border: 1px solid var(--line-hi); background: rgba(214, 166, 86, .08); color: var(--gold-hi); font: 600 13px var(--f);
}
.w-back:hover { border-color: var(--gold); background: rgba(214, 166, 86, .16); }
.d-head { display: flex; gap: 16px; align-items: center; padding-right: 40px; }
.d-head .w-ico { width: 68px; height: 68px; }
.d-head .w-ico img { width: 42px; height: 42px; }
.d-head h2 { margin: 0; font: 700 24px/1.2 var(--f); }
.d-head h2.item { color: var(--g-item); }
.d-head h2.mob { color: var(--g-mob); }
.d-maps { margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13.5px; }
.d-maps b { color: var(--gold); font-weight: 700; margin-right: 4px; }
.d-desc { margin: 14px 0 0; color: var(--g-text); opacity: .9; }
.d-sub { margin: 22px 0 8px; font: 700 12.5px var(--f); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.d-list { display: grid; gap: 6px; }
.d-row {
	display: flex; gap: 12px; align-items: center; padding: 8px 12px; border-radius: 10px; cursor: pointer;
	border: 1px solid rgba(214, 166, 86, .14); background: rgba(214, 163, 90, .04); transition: background .15s, border-color .15s;
}
.d-row:hover, .d-row:focus-visible { background: rgba(214, 163, 90, .1); border-color: var(--line-hi); outline: 0; }
.d-row .w-ico { width: 38px; height: 38px; border-width: 1px; }
.d-row .w-ico img { width: 28px; height: 28px; }
.d-row b { flex: 1; font-weight: 600; }
.d-row b.item { color: var(--g-item); }
.d-row b.mob { color: var(--g-mob); }
.d-row em { font-style: normal; color: var(--muted); font-size: 13px; margin-left: 4px; }
.d-row .qty { font-style: normal; margin-right: 6px; color: var(--g-text); font-weight: 700; }
.d-rate { flex: none; text-align: right; font-size: 13.5px; }
.d-note { margin: 16px 0 0; padding: 10px 14px; border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0; background: rgba(214, 163, 90, .07); font-size: 13.5px; }

.w-foot { padding: 26px 24px 40px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-size: 13.5px; }
.w-foot b { color: var(--gold); }

@media (max-width: 1150px) {
	.w-nav { display: none; position: absolute; top: 66px; left: 0; right: 0; transform: none; flex-direction: column; padding: 10px 16px 16px; background: rgba(15, 10, 8, .97); border-bottom: 1px solid var(--line); }
	.w-nav.open { display: flex; }
	.w-nav a { padding: 10px 12px; }
	.w-nav a.on { box-shadow: inset 3px 0 0 var(--gold); border-radius: 8px; }
	.w-nav a.w-cta { margin: 6px 0 0; text-align: center; }
	.w-menu { display: block; }
}
@media (max-width: 900px) {
	.w-split { grid-template-columns: 1fr; }
	.w-maps { position: static; max-height: none; display: flex; overflow-x: auto; padding-bottom: 6px; }
	.w-map { flex: none; width: auto; min-width: 180px; }
}
@media (max-width: 640px) {
	.w-top { padding: 0 14px; }
	.w-hero { padding-top: 40px; }
	.w-main { padding: 0 14px 50px; }
	.w-toolbar { flex-wrap: wrap; }
	.w-toolbar input { max-width: none; flex-basis: 100%; }
	.w-modal { padding: 20px 16px; }
	.d-row { flex-wrap: wrap; }
	.d-rate { width: 100%; text-align: left; padding-left: 50px; }
}

/* iconița categoriei (Pietre Metin), în stilul iconițelor din meniul prezentării */
.w-map:has(.w-map-ico) { display: flex; align-items: center; gap: 12px; }
.w-map-txt { min-width: 0; }
.w-map-ico { flex: none; position: relative; width: 38px; height: 38px; border-radius: 9px; box-shadow: inset 0 0 0 1px rgba(214, 166, 86, .45), 0 2px 6px rgba(0, 0, 0, .35); transition: transform .2s, box-shadow .2s; }
.w-map-ico::before { content: ''; position: absolute; inset: 6px; background: #fff3df; -webkit-mask: url(assets/mob/metin-glyph.svg) center / contain no-repeat; mask: url(assets/mob/metin-glyph.svg) center / contain no-repeat; }
.w-map-ico.normal, .w-map-ico.epic, .w-map-ico.legendar { width: 34px; height: 34px; background: rgba(214, 166, 86, .1); }
.w-map-ico.normal::before, .w-map-ico.epic::before, .w-map-ico.legendar::before { inset: 8px; background: var(--gold, #d6a656); transition: background .2s; }
.w-map:hover .w-map-ico.normal::before, .w-map:hover .w-map-ico.epic::before, .w-map:hover .w-map-ico.legendar::before { background: #f6dc9c; }
.w-map.on .w-map-ico.normal, .w-map.on .w-map-ico.epic, .w-map.on .w-map-ico.legendar, .w-panel-head .w-map-ico.normal, .w-panel-head .w-map-ico.epic, .w-panel-head .w-map-ico.legendar { background: linear-gradient(180deg, #b83a22, #7a1d10); }
.w-map.on .w-map-ico.normal::before, .w-map.on .w-map-ico.epic::before, .w-map.on .w-map-ico.legendar::before, .w-panel-head .w-map-ico.normal::before, .w-panel-head .w-map-ico.epic::before, .w-panel-head .w-map-ico.legendar::before { background: #fff3df; }
.w-map:hover .w-map-ico { box-shadow: inset 0 0 0 1px var(--gold-hi, #f6dc9c), 0 2px 8px rgba(0, 0, 0, .45); }
.w-map.on .w-map-ico { box-shadow: inset 0 0 0 1px #f6dc9c, 0 0 0 2px rgba(214, 166, 86, .35); }

/* iconițele hărților de la șefi: glifă aurie, ca în meniul prezentării */
.w-map-ico.gl { display: grid; place-items: center; width: 34px; height: 34px; background: rgba(214, 166, 86, .1); }
.w-map-ico.gl svg { width: 18px; height: 18px; fill: var(--gold, #d6a656); transition: fill .2s; }
.w-map:hover .w-map-ico.gl svg { fill: #f6dc9c; }
.w-map.on .w-map-ico.gl { background: linear-gradient(180deg, #b83a22, #7a1d10); }
.w-map.on .w-map-ico.gl svg { fill: #fff3df; }
.w-map-ico.gl::before { content: none; }

/* ---------------------------------------------------------------- Echipament: tabelele de rafinare (ca în wiki-ul din joc) */
.w-toolbar select[hidden] { display: none; }
.e-map { display: flex; align-items: center; gap: 12px; }
.e-map-ico { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; background: rgba(214, 166, 86, .1); box-shadow: inset 0 0 0 1px rgba(214, 166, 86, .45); }
.e-map-ico img { width: 26px; height: 26px; object-fit: contain; }
.w-map.on .e-map-ico { background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px #f6dc9c; }

.e-classes { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.e-class {
	display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px 0 6px; cursor: pointer;
	border: 1px solid var(--line); border-radius: 10px; background: var(--panel2); color: #cfbb9b; font: 600 13px var(--f);
}
.e-class:first-child { padding: 0 14px; }
.e-class img { width: 24px; height: 24px; border-radius: 6px; filter: grayscale(.6) brightness(.8); }
.e-class:hover { border-color: var(--line-hi); color: var(--gold-hi); }
.e-class.on { color: #fff3dc; background: linear-gradient(180deg, #b83a22, #7a1d10); border-color: #e0a35a; }
.e-class.on img, .e-class:hover img { filter: none; }

.e-list { display: grid; gap: 12px; }
.e-item { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: rgba(10, 6, 4, .55); }
.e-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 14px; background: linear-gradient(180deg, rgba(214, 166, 86, .14), rgba(214, 166, 86, .03)); border-bottom: 1px solid var(--line); }
.e-head h3 { margin: 0; font: 700 15px/1.3 var(--f); color: var(--g-item); }
.e-head span { color: var(--g-gold); font-size: 13px; white-space: nowrap; }
.e-wrap { overflow-x: auto; scrollbar-width: thin; }
.e-table { width: 100%; min-width: 640px; border-collapse: collapse; table-layout: fixed; font-size: 13.5px; }
.e-table th, .e-table td { padding: 6px 3px; text-align: center; vertical-align: middle; border: 1px solid rgba(214, 166, 86, .1); }
.e-table tr > :last-child { border-right: 0; }
.e-table tr:last-child > * { border-bottom: 0; }
.e-table tr:first-child > * { border-top: 0; }
.e-table th { color: var(--g-text); font-weight: 700; }
.e-table tr:first-child th:not([scope]) { background: rgba(214, 166, 86, .06); }
.e-table th[scope=row] { width: 92px; padding-left: 10px; text-align: left; color: var(--gold); }
.e-icon { width: 84px; border-left: 0 !important; background: radial-gradient(circle at 50% 45%, rgba(214, 166, 86, .1), transparent 70%); }
.e-mats td { height: 52px; }
.e-cost { color: var(--g-gold); white-space: nowrap; }
.e-none { color: var(--muted); }
.e-pad { background: rgba(0, 0, 0, .22); }

.e-slot {
	position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 8px;
	border: 1px solid rgba(214, 163, 90, .35); background: radial-gradient(circle at 50% 38%, rgba(214, 163, 90, .14), rgba(14, 9, 6, .9) 70%);
	color: var(--gold); vertical-align: middle;
}
.e-slot img { max-width: 32px; max-height: 32px; object-fit: contain; }
.e-slot i { position: absolute; right: 2px; bottom: 0; font: 700 11px var(--f); font-style: normal; color: #fff; text-shadow: 0 0 3px #000, 0 0 2px #000; }
.e-slot.big { width: 56px; height: 92px; }
.e-slot.big img { max-width: 40px; max-height: 84px; }
.e-slot.link { cursor: pointer; }
.e-slot.link:hover, .e-slot.link:focus-visible { border-color: var(--gold); outline: 0; }

.e-pct { position: relative; display: inline-block; min-width: 44px; padding: 1px 4px; white-space: nowrap; }
.e-pct::before { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: calc(var(--p) * 1%); border-radius: 1px; background: linear-gradient(90deg, #b83a22, var(--gold)); }

.e-evolve { background: rgba(144, 238, 144, .07) !important; }
.e-evolve small { display: block; margin-bottom: 3px; color: var(--g-green); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; }
.e-evolve .e-slot { width: 36px; height: 36px; }

@media (max-width: 640px) {
	.e-class span { display: none; }
	.e-class:first-child span { display: inline; }
	.e-class { padding: 0 6px; }
	.e-icon { width: 64px; }
	.e-table th[scope=row] { width: 80px; padding-left: 6px; }
}

/* ---------------------------------------------------------------- iconițe și aliniere pe centru */
.w-hero-logo { display: inline-block; margin: 0 0 18px; }
.w-hero-logo img { display: block; width: min(320px, 70vw); height: auto; filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .6)) drop-shadow(0 0 30px rgba(214, 166, 86, .18)); transition: transform .3s; }
.w-hero-logo:hover img { transform: scale(1.03); }
.w-tabs button { display: inline-flex; align-items: center; gap: 8px; }
.w-tabs button:first-child { margin-left: auto; }
.w-tabs button:last-child { margin-right: auto; }
.w-tabs button svg { width: 16px; height: 16px; fill: var(--gold); flex: none; transition: fill .2s; }
.w-tabs button:hover svg { fill: var(--gold-hi); }
.w-tabs button.on svg { fill: #fff3dc; }
.w-tabs .t-metin { width: 16px; height: 16px; flex: none; background: var(--gold); -webkit-mask: url(assets/mob/metin-glyph.svg) center / contain no-repeat; mask: url(assets/mob/metin-glyph.svg) center / contain no-repeat; }
.w-tabs button:hover .t-metin { background: var(--gold-hi); }
.w-tabs button.on .t-metin { background: #fff3dc; }
.w-toolbar { justify-content: center; }
.w-toolbar input { padding-left: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23d6a656' d='M3 4h18l-7 8v6l-4 2v-8z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 12px center; background-size: 16px; }
.w-count { text-align: center; }
.w-guide h3 { display: flex; align-items: center; gap: 10px; }
.w-guide h3 svg { width: 22px; height: 22px; flex: none; padding: 6px; border-radius: 8px; fill: var(--gold); background: rgba(214, 166, 86, .1); box-shadow: inset 0 0 0 1px rgba(214, 166, 86, .35); box-sizing: content-box; }
.w-grid.w-grid-in { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.w-panel-head h2 { display: flex; align-items: center; gap: 12px; }
.w-panel-head .w-map-ico.gl { background: linear-gradient(180deg, #b83a22, #7a1d10); box-shadow: inset 0 0 0 1px #f6dc9c; }
.w-panel-head .w-map-ico.gl svg { fill: #fff3df; }

/* ---------------------------------------------------------------- link pe categorie, căutare, surse, telefon */
.w-panel-head { align-items: center; flex-wrap: wrap; }
.w-panel-head > span { margin-left: auto; }
.w-copy { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px; background: rgba(214, 166, 86, .06); color: var(--gold); font: 600 12.5px var(--f); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.w-copy svg { width: 14px; height: 14px; fill: currentColor; }
.w-copy:hover { border-color: var(--line-hi); background: rgba(214, 166, 86, .14); color: var(--gold-hi); }
.w-copy.ok { border-color: #6fbf73; color: #9fe0a2; background: rgba(111, 191, 115, .12); }
.w-sres { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.w-sres > :first-child { flex: 1; }
.w-crumb { align-self: flex-start; max-width: 100%; padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font: 600 12px var(--f); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .2s, border-color .2s; }
.w-crumb i { font-style: normal; color: var(--gold); margin: 0 3px; }
.w-crumb:hover { color: var(--gold-hi); border-color: var(--line-hi); }
.d-best { margin-left: 10px; padding: 2px 9px; border-radius: 999px; background: rgba(214, 166, 86, .14); color: var(--gold-hi); font-size: 11.5px; letter-spacing: .04em; text-transform: none; }
.d-row.best { border-color: rgba(246, 220, 156, .55); background: linear-gradient(90deg, rgba(214, 166, 86, .16), rgba(214, 166, 86, .03)); box-shadow: inset 3px 0 0 var(--gold); }
@keyframes wFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.w-panel, .w-grid, #content > .w-empty { animation: wFade .18s ease-out; }
@media (prefers-reduced-motion: reduce) { .w-panel, .w-grid, #content > .w-empty { animation: none; } }
@media (max-width: 900px) {
	/* meniul de categorii strâns: se vede doar categoria aleasă; un click îl deschide */
	.w-split .w-maps { display: grid; overflow: visible; padding: 0; }
	.w-split .w-map { width: 100%; min-width: 0; }
	.w-split .w-maps:not(.open) .w-map:not(.on) { display: none; }
	.w-split .w-maps:not(.open) .w-map.on { position: relative; padding-right: 92px; }
	.w-split .w-maps:not(.open) .w-map.on::after { content: 'Alege ▾'; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, .3); color: #f6dc9c; font: 700 12px var(--f); }
	.w-split .w-maps.open { animation: wFade .15s ease-out; }
	.w-copy span { display: none; }
}

/* ---------------------------------------------------------------- praguri de drop (cerc umplut) */
.r-tier { display: inline-flex; align-items: center; gap: 7px; font: 700 12.5px var(--f); color: var(--tc); white-space: nowrap; }
.r-tier .tier { flex: none; filter: drop-shadow(0 0 4px rgba(0, 0, 0, .5)); }
.d-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 10px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: rgba(0, 0, 0, .18); color: var(--muted); font-size: 12px; }
.d-legend span { display: inline-flex; align-items: center; gap: 6px; }
.g-tiers { display: inline-flex; flex-wrap: wrap; gap: 4px 12px; margin: 2px 0; }
.g-tiers span { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: var(--tc, inherit); }
.g-tiers i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--tc); background: linear-gradient(to top, var(--tc) 55%, #2a2018 55%); }
.g-tiers span:nth-child(1) { --tc: #4caf50; } .g-tiers span:nth-child(2) { --tc: #9bc53d; } .g-tiers span:nth-child(3) { --tc: #f2c14e; } .g-tiers span:nth-child(4) { --tc: #f08a3c; } .g-tiers span:nth-child(5) { --tc: #e04a3c; }
@media (max-width: 640px) { .r-tier i { display: none; } }
.r-tier i { font-style: normal; }
.r-tier .tier { width: 22px; height: 22px; }
.r-tier { cursor: help; }
.g-legend { margin: 10px 0; gap: 8px 20px; font: 700 13px var(--f); }
.g-legend span { gap: 8px; }
.d-rate { display: inline-flex; align-items: center; gap: 10px; }
.d-rate .r-limit { padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; white-space: nowrap; }
.w-guide kbd { display: inline-block; min-width: 20px; padding: 1px 6px; border: 1px solid var(--line-hi); border-bottom-width: 2px; border-radius: 5px; background: rgba(0, 0, 0, .25); color: var(--gold-hi); font: 700 12px var(--f); text-align: center; }
.w-cycle img { transition: opacity .15s; }
.w-cycle.swap img { opacity: 0; }
.w-panel-head .w-map-ico.normal, .w-panel-head .w-map-ico.epic, .w-panel-head .w-map-ico.legendar { box-shadow: inset 0 0 0 1px #f6dc9c; }
.d-head .w-copy { padding: 3px 10px; font-size: 12px; }
a.w-card, a.w-big, a.d-row { color: inherit; text-decoration: none; }
a.w-card, a.w-big { text-align: left; }

.w-maps-title { display: none; }
/* ---------------------------------------------------------------- calculatorul de rafinare */
.e-head > span { margin-left: auto; }
.e-calc-btn { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(214, 166, 86, .06); color: var(--gold); font: 600 12px var(--f); cursor: pointer; }
.e-calc-btn svg { width: 14px; height: 14px; fill: currentColor; }
.e-calc-btn:hover, .e-calc-btn.on { border-color: var(--line-hi); background: rgba(214, 166, 86, .16); color: var(--gold-hi); }
.e-calc { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 14px; border-top: 1px solid var(--line); background: rgba(214, 166, 86, .05); }
.e-calc[hidden] { display: none; }
.e-calc label { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.e-calc select { padding: 5px 8px; border: 1px solid var(--line-hi); border-radius: 8px; background: var(--panel2); color: var(--gold-hi); font: 700 13px var(--f); }
.e-calc-out { flex: 1 1 100%; display: grid; gap: 8px; }
.e-calc-sum { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 13px; }
.e-calc-sum b { margin-left: 6px; color: var(--gold-hi); font-size: 15px; }
.e-calc-mats { display: flex; flex-wrap: wrap; gap: 6px; }
.e-calc-note { margin: 0; color: var(--muted); font-size: 12px; font-style: italic; }
/* ---------------------------------------------------------------- „Unde să farmez?” */
.w-farm { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 10px; margin: 14px auto 0; color: var(--muted); font-size: 14px; }
.w-farm svg { width: 16px; height: 16px; fill: var(--gold); }
.w-farm input { width: 84px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; background: rgba(10, 6, 4, .6); color: var(--gold-hi); font: 700 14px var(--f); text-align: center; }
.w-farm input:focus { outline: 0; border-color: var(--gold); }
.w-farm button { padding: 6px 14px; border: 1px solid var(--line-hi); border-radius: 999px; background: linear-gradient(180deg, #b83a22, #7a1d10); color: #fff3dc; font: 700 13px var(--f); cursor: pointer; }
.w-farm button:hover { filter: brightness(1.12); }
.w-farm-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.w-farm-note { margin: 0 0 8px; color: var(--muted); font-size: 13.5px; }
/* ---------------------------------------------------------------- favorite, văzute recent, numele pragului pe telefon */
.w-fav svg { width: 14px; height: 14px; }
.w-fav.on { border-color: rgba(246, 220, 156, .6); background: rgba(214, 166, 86, .18); color: var(--gold-hi); }
.w-mine { display: grid; gap: 8px; max-width: 900px; margin: 16px auto 0; }
.w-mine[hidden] { display: none; }
.w-mine-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; }
.w-mine-row > b { display: inline-flex; align-items: center; gap: 5px; margin-right: 4px; color: var(--muted); font: 700 11px var(--f); letter-spacing: .14em; text-transform: uppercase; }
.w-mine-row > b svg { width: 12px; height: 12px; fill: var(--gold); }
.w-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 220px; padding: 3px 10px 3px 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(10, 6, 4, .55); color: var(--g-item); font: 600 12.5px var(--f); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-chip.mob { color: var(--g-mob); }
.w-chip span { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; overflow: hidden; background: rgba(0, 0, 0, .35); }
.w-chip img { width: 20px; height: 20px; object-fit: contain; }
.w-chip:hover { border-color: var(--line-hi); }
.w-mine-clear { padding: 2px 8px; border: 0; background: none; color: var(--muted); font: 600 12px var(--f); text-decoration: underline; cursor: pointer; }
.r-tier { position: relative; }
.r-tier.tip::after { content: attr(data-tip); position: absolute; right: 0; bottom: calc(100% + 6px); padding: 4px 9px; border: 1px solid var(--line-hi); border-radius: 7px; background: #1b120c; color: var(--gold-hi); font: 700 12px var(--f); white-space: nowrap; box-shadow: 0 6px 16px rgba(0, 0, 0, .5); z-index: 3; }
/* ---------------------------------------------------------------- limba: steagurile din dreapta (la fel ca în prezentare) */
.w-top .lang { position: relative; }
.w-top .w-nav + .lang, .w-top .top-icon { margin-left: auto; }
.w-top .top-icon { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 8px; background: rgba(0, 0, 0, .45); }
.w-top .top-icon svg { width: 20px; fill: #c2ad8f; transition: fill .15s; }
.w-top .top-icon:hover { border-color: var(--line-hi); }
.w-top .top-icon:hover svg { fill: var(--gold-hi); }
.w-top .top-icon + .lang { margin-left: -10px; }
@media (max-width: 1150px) { .w-top .top-icon + .lang { margin-left: 0; } }
.lang-btn { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; cursor: pointer; border: 1px solid var(--line); border-radius: 8px; background: rgba(0, 0, 0, .45); color: var(--g-text); font: 600 13px var(--f); letter-spacing: .08em; }
.lang-btn:hover { border-color: var(--line-hi); }
.lang img { width: 20px; height: 15px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, .5); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 50; min-width: 180px; padding: 6px; display: none; background: #1a120c; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 12px 30px rgba(0, 0, 0, .6); }
.lang.open .lang-menu { display: block; }
.lang-menu a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; color: #c2ad8f; text-decoration: none; font-size: 15px; border-radius: 6px; }
.lang-menu a:hover, .lang-menu a.active { background: rgba(214, 166, 86, .1); color: var(--gold-hi); }
@media (max-width: 1150px) { .w-top .w-menu { margin-left: 0; } .w-top { gap: 10px; } }
