/* ===== Ghid Leveling (peste roua/style.css) ===== */
.l-banner { background:
  radial-gradient(520px 260px at 12% 20%, rgba(255,106,61,0.28), transparent 60%),
  radial-gradient(520px 260px at 50% 0%, rgba(95,220,138,0.18), transparent 60%),
  radial-gradient(520px 260px at 88% 30%, rgba(176,107,255,0.28), transparent 60%),
  linear-gradient(180deg, #151a2c, #0b0d14); }
.lead { margin: 0 0 12px; font-size: 14px; color: var(--muted); line-height: 1.6; }

.finder { display: grid; grid-template-columns: 150px auto minmax(0, 1fr); gap: 12px; align-items: end; margin-bottom: 16px; }
.finder .lv { display: grid; gap: 6px; }
.finder .lv span { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.finder input[type=number] { height: 46px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.12); background: rgba(0,0,0,0.3); color: var(--text); font: inherit; font-size: 18px; font-weight: 800; width: 100%; box-sizing: border-box; }
.finder .ck { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border-radius: 10px; background: rgba(255,255,255,0.04); border: 1px solid var(--panel-border); cursor: pointer; font-size: 13.5px; font-weight: 700; }
.finder .ck input { accent-color: #f2c94c; width: 18px; height: 18px; }
.finder-out { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 46px; padding: 8px 12px; border-radius: 12px; background: rgba(242,201,76,0.08); border: 1px solid rgba(242,201,76,0.35); }
.finder-out > span { display: flex; } .finder-out > span img { width: 34px; height: 34px; filter: drop-shadow(0 0 8px var(--c)); }
.finder-out b { display: block; font-size: 14px; } .finder-out em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.finder-out a { color: #1a1300; background: linear-gradient(135deg, var(--gold), var(--gold-2)); padding: 8px 14px; border-radius: 10px; font-weight: 800; font-size: 13px; text-decoration: none; white-space: nowrap; }

.road { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; position: relative; }
.road::before { content: ""; position: absolute; left: 8%; right: 8%; top: 27px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #ff6a3d, #4da3ff, #5fdc8a, #7fd6ff, #b06bff, #e6c34a); opacity: .5; }
.road a { position: relative; display: grid; justify-items: center; gap: 4px; padding: 0 4px 6px; text-decoration: none; color: var(--text); text-align: center; }
.rd-ic { display: flex; justify-content: center; height: 58px; align-items: center; }
.rd-ic img { width: 44px; height: 44px; filter: drop-shadow(0 0 6px var(--c)); transition: transform .15s; }
.rd-ic img + img { margin-left: -14px; }
.road b { font-size: 13.5px; }
.road i { font-style: normal; font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.road a:hover .rd-ic img, .road a.on .rd-ic img { transform: scale(1.15); }
.road a.on b { color: var(--gold); }
.road a.on::after { content: ""; position: absolute; bottom: -2px; width: 30px; height: 3px; border-radius: 3px; background: var(--gold); }

.facts2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.facts2 > div { padding: 14px 16px; border-radius: 14px; background: rgba(0,0,0,0.22); }
.facts2 h3, .bx h3 { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.facts2 p { margin: 0 0 8px; font-size: 14px; line-height: 1.6; color: #cfd6e6; }
.lvlbar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; align-items: end; }
.lvlbar span { display: grid; gap: 4px; justify-items: center; }
.lvlbar span::before { content: ""; width: 70%; height: var(--h); border-radius: 8px 8px 2px 2px; background: linear-gradient(180deg, var(--gold), #b7791f); }
.lvlbar b { font-size: 15px; } .lvlbar em { font-style: normal; font-size: 11.5px; color: var(--muted); }

.reset { padding: 7px 16px; border-radius: 10px; border: 1px solid var(--panel-border); background: rgba(255,255,255,0.06); color: var(--text); font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; }
.sum { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px 16px; border-radius: 14px; margin-bottom: 14px; background: linear-gradient(135deg, rgba(242,201,76,0.16), rgba(242,201,76,0.04)); border: 1px solid rgba(242,201,76,0.45); }
.sum.sticky { position: sticky; top: 76px; z-index: 5; backdrop-filter: blur(8px); background-color: rgba(20,18,12,0.85); }
.sum > b { font-family: var(--font-display); font-size: 30px; color: var(--gold); }
.sum span { font-size: 13.5px; color: var(--muted); } .sum em { font-style: normal; font-weight: 800; color: var(--text); }
.sum .bar { flex: 1 1 100%; height: 8px; border-radius: 8px; background: rgba(255,255,255,0.08); overflow: hidden; }
.sum .bar i { display: block; height: 100%; background: linear-gradient(90deg, #5fdc8a, var(--gold)); transition: width .25s; }
.boost { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }
.bx { padding: 12px; border-radius: 14px; background: rgba(0,0,0,0.22); }
.bx p { margin: 0 0 10px; font-size: 12px; color: var(--muted); line-height: 1.45; }
.bx-list, .chance { display: grid; gap: 6px; }
.chance { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.chip { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--panel-border); background: rgba(255,255,255,0.03); color: #cfd6e6; font: inherit; font-size: 13px; text-align: left; cursor: pointer; transition: border-color .12s, background .12s; }
.chip b { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.chip:hover { border-color: rgba(242,201,76,0.4); }
.chip.on { border-color: var(--gold); background: rgba(242,201,76,0.13); color: var(--text); }
.chip.on b { color: var(--gold); }
.chip.grp span::before { content: "◇ "; color: var(--muted); } .chip.grp.on span::before { content: "◆ "; color: var(--gold); }

.tiers { display: grid; gap: 16px; margin-top: 18px; }
.tier { display: grid; grid-template-columns: 150px minmax(0, 1fr); border-radius: 18px; overflow: hidden; background: var(--panel); border: 1px solid color-mix(in srgb, var(--c) 30%, var(--panel-border)); scroll-margin-top: 88px; transition: box-shadow .2s, border-color .2s; }
.tier.on { border-color: color-mix(in srgb, var(--c) 70%, var(--panel-border)); box-shadow: 0 0 40px -12px color-mix(in srgb, var(--c) 55%, transparent); }
.tier-side { display: grid; place-content: center; justify-items: center; gap: 10px; padding: 16px 8px; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--c) 30%, transparent), transparent 70%), linear-gradient(180deg, #1c1016, #0f0d14); }
.tier-ic { display: flex; } .tier-ic img { width: 70px; height: 70px; filter: drop-shadow(0 0 14px var(--c)); } .tier-ic img + img { margin-left: -22px; }
.tier-side b { font-family: var(--font-display); font-size: 22px; color: var(--gold); text-align: center; line-height: 1.1; }
.tier-main { padding: 18px 20px; }
.tier-main h2 { margin: 0 0 6px; font-family: var(--font-display); font-size: 22px; }
.tier-main > p { margin: 0 0 12px; font-size: 14px; line-height: 1.6; color: #cfd6e6; }
.tier-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tier-cols > div { padding: 12px 14px; border-radius: 12px; background: rgba(0,0,0,0.22); }
.tier-cols h3 { margin: 0 0 8px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.tier-cols ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.tier-cols li { position: relative; padding-left: 16px; font-size: 13.5px; line-height: 1.5; color: #cfd6e6; }
.tier-cols li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--c); box-shadow: 0 0 6px var(--c); }
.tier-cols li b { color: var(--text); }
.maps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 12px; }
.maps figure { margin: 0; border-radius: 14px; overflow: hidden; background: #000; border: 1px solid var(--panel-border); }
.maps img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: contain; background: #000; }
.maps figcaption { display: grid; gap: 6px; padding: 10px 12px; background: rgba(255,255,255,0.03); }
.maps figcaption b { font-size: 13px; }
.mlg { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--muted); }
.mlg > span { display: inline-flex !important; align-items: center; gap: 6px; }
.mlg .dot { width: 11px; height: 11px; border-radius: 50%; } .mlg .dot.g { background: #39e639; } .mlg .dot.r { background: #ff2b2b; }
.mlg .sq { width: 13px; height: 13px; border: 2px solid #ff2b2b; box-sizing: border-box; }
.mlg .sq.x { background: linear-gradient(45deg, transparent 43%, #ff2b2b 43% 57%, transparent 57%), linear-gradient(-45deg, transparent 43%, #ff2b2b 43% 57%, transparent 57%); }
.mlg .sq.h { background: repeating-linear-gradient(45deg, #ff2b2b 0 2px, transparent 2px 4px), repeating-linear-gradient(-45deg, #ff2b2b 0 2px, transparent 2px 4px); }
.tip { margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: color-mix(in srgb, var(--c) 10%, transparent); border-left: 3px solid var(--c); font-size: 13.5px; color: #d8dcea; }
.tip b { color: var(--text); }

@media (max-width: 900px) {
  .boost { grid-template-columns: 1fr; }
  .road { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 10px; } .road::before { display: none; }
  .finder { grid-template-columns: 1fr 1fr; } .finder-out { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .facts2, .tier-cols { grid-template-columns: 1fr; }
  .tier { grid-template-columns: 1fr; }
  .tier-side { grid-auto-flow: column; justify-content: start; padding: 12px 16px; }
  .tier-ic img { width: 48px; height: 48px; } .tier-side b { font-size: 20px; }
  .tier-main { padding: 14px; }
  .sum.sticky { top: 64px; } .sum > b { font-size: 24px; }
}

.chip .ic { image-rendering: auto; width: 30px; height: 30px; flex: 0 0 30px; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(0,0,0,.6)); }
.chip span { flex: 1; }
.chip.grp span::before, .chip.grp.on span::before { content: none; }
.chip.grp { border-style: dashed; } .chip.grp.on { border-style: solid; }

.lsw { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); align-self: center; }
.lsw button { padding: 6px 10px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.lsw button.on { background: var(--gold); color: #1a1300; }
