/* wowfarsi - Retail section: hub, class guides, item pages. Fantasy minimal, no boxes: fading rules + diamonds. */
html body .rt-wrap { max-width: 62rem; margin: 0 auto; padding: 0 1rem 3rem; }
html body .rt-lead { max-width: 40rem; margin: 0 auto 2.2rem; text-align: center; color: var(--parch-dim, #bdb7a6); line-height: 2.2; font-size: .98rem; }

/* breadcrumb + title + meta */
html body .rt-crumb { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.4rem; font-size: 12px; color: var(--mut, #8e97ab); }
html body .rt-crumb a { color: var(--parch-dim, #bdb7a6); transition: color .25s; }
html body .rt-crumb a:hover { color: var(--gold-1, #f6e0a3); }
html body .rt-crumb i { width: 5px; height: 5px; background: var(--gold-3, #c9a232); transform: rotate(45deg); box-shadow: 0 0 6px rgba(240, 199, 94, .6); }
html body .rt-title { margin: 0 0 .8rem; text-align: center; font-size: clamp(1.5rem, 3.6vw, 2.2rem); font-weight: 900; line-height: 1.9; }
html body .rt-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem 1.1rem; margin-bottom: 1.4rem; font-size: 12.5px; color: var(--parch-dim, #bdb7a6); }
html body .rt-meta b { color: var(--gold-2, #f0c75e); font-weight: 700; }
html body .rt-orn { height: 13px; margin: 1.4rem auto; max-width: 30rem; background: radial-gradient(circle at 50% 50%, var(--gold-2, #f0c75e) 0 2px, transparent 2.6px), radial-gradient(circle at 50% 50%, transparent 0 4.5px, var(--gold-3, #c9a232) 4.9px 5.8px, transparent 6.2px), linear-gradient(90deg, transparent, rgba(240, 199, 94, .55)) left 50% / calc(50% - 26px) 1px no-repeat, linear-gradient(270deg, transparent, rgba(240, 199, 94, .55)) right 50% / calc(50% - 26px) 1px no-repeat; filter: drop-shadow(0 0 4px rgba(240, 199, 94, .35)); }

/* hub: class grid */
html body .rt-classes { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 1.1rem; margin-top: 1rem; }
html body .rt-class { --c: #c9a232; position: relative; display: block; padding: 1.2rem 1rem 1rem; text-align: center; color: var(--parch, #ece7f3); background: linear-gradient(90deg, transparent, rgba(var(--cg, 201, 162, 50), .5) 18%, rgba(var(--cg, 201, 162, 50), .5) 82%, transparent) center top / 100% 1px no-repeat, linear-gradient(90deg, transparent, rgba(var(--cg, 201, 162, 50), .5) 18%, rgba(var(--cg, 201, 162, 50), .5) 82%, transparent) center bottom / 100% 1px no-repeat, linear-gradient(180deg, rgba(var(--cg, 201, 162, 50), .06), rgba(11, 15, 26, .55)); transition: transform .3s ease, background-color .3s; }
html body .rt-class:hover { transform: translateY(-3px); }
html body .rt-class .cr { display: block; width: 64px; height: 64px; margin: 0 auto .6rem; border-radius: 50%; overflow: hidden; border: 1px solid rgba(var(--cg, 201, 162, 50), .7); box-shadow: 0 0 22px rgba(var(--cg, 201, 162, 50), .35); }
html body .rt-class .cr img { display: block; width: 100%; height: 100%; object-fit: cover; }
html body .rt-class h3 { margin: 0 0 .5rem; font-size: 1rem; color: var(--c); }
html body .rt-class.soon { opacity: .55; filter: saturate(.55); pointer-events: none; }
html body .rt-specs { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; }
html body .rt-spec { display: inline-block; padding: 0 .75rem; font-size: 11.5px; line-height: 1.9; color: var(--parch, #ece7f3); border-block: 1px solid rgba(var(--cg, 201, 162, 50), .4); background: linear-gradient(90deg, transparent, rgba(var(--cg, 201, 162, 50), .1), transparent); transition: color .25s, border-color .25s; }
html body a.rt-spec:hover { color: var(--gold-1, #f6e0a3); border-block-color: var(--gold-1, #f6e0a3); }
html body .rt-spec.off { opacity: .45; }
html body .rt-soon { display: block; margin-top: .6rem; font-size: 11px; color: var(--mut, #8e97ab); }
html body .rt-tools { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; margin-top: 2.2rem; }

/* guide: sticky section tabs */
html body .rt-tabs { position: sticky; top: 64px; z-index: 20; display: flex; flex-wrap: nowrap; gap: .4rem; margin: 0 -1rem 2rem; padding: .55rem 1rem; overflow-x: auto; scrollbar-width: none; background: linear-gradient(180deg, rgba(8, 11, 20, .92), rgba(8, 11, 20, .78)); backdrop-filter: blur(6px); border-block: 1px solid rgba(240, 199, 94, .18); }
html body .rt-tabs::-webkit-scrollbar { display: none; }
html body .rt-tabs a { flex: none; padding: .15rem 1rem; font-size: 12.5px; font-weight: 700; color: var(--parch-dim, #bdb7a6); border-block: 1px solid transparent; transition: color .25s, border-color .25s, background .25s; }
html body .rt-tabs a:hover, html body .rt-tabs a.on { color: var(--gold-1, #f6e0a3); border-block-color: rgba(240, 199, 94, .55); background: linear-gradient(90deg, transparent, rgba(240, 199, 94, .08), transparent); }

/* guide: sections */
html body .rt-sec { margin: 0 0 3rem; scroll-margin-top: 130px; }
html body .rt-sec > h2 { display: flex; align-items: center; gap: .9rem; margin: 0 0 1.2rem; font-size: 1.25rem; font-weight: 900; color: var(--gold-2, #f0c75e); }
html body .rt-sec > h2::before, html body .rt-sec > h2::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(240, 199, 94, .5), transparent); }
html body .rt-sec h3 { margin: 1.6rem 0 .7rem; font-size: 1.02rem; color: var(--parch, #ece7f3); }
html body .rt-p { margin: .9rem 0; font-size: .97rem; line-height: 2.3; color: var(--parch, #ece7f3); }
html body .rt-p b { color: var(--gold-1, #f6e0a3); }
html body .rt-ul { list-style: none; margin: .8rem 0; padding: 0; }
html body .rt-ul li { position: relative; padding: .15rem 1.5rem .15rem 0; font-size: .95rem; line-height: 2.1; color: var(--parch, #ece7f3); }
html body .rt-ul li::before { content: ""; position: absolute; right: .35rem; top: 1.05rem; width: 6px; height: 6px; background: var(--gold-3, #c9a232); box-shadow: 0 0 7px rgba(240, 199, 94, .6); transform: rotate(45deg); }
html body .rt-ul.bad li::before { background: #c0576b; box-shadow: 0 0 7px rgba(192, 87, 107, .6); }
html body .rt-ul.good li::before { background: #6fcf97; box-shadow: 0 0 7px rgba(111, 207, 151, .6); }
html body .rt-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
html body .rt-call { position: relative; margin: 1.2rem 0; padding: 1rem 1.3rem; font-size: .93rem; line-height: 2.1; color: var(--parch, #ece7f3); background: linear-gradient(90deg, transparent, rgba(143, 180, 232, .4) 20%, rgba(143, 180, 232, .4) 80%, transparent) center top / 100% 1px no-repeat, linear-gradient(90deg, transparent, rgba(143, 180, 232, .4) 20%, rgba(143, 180, 232, .4) 80%, transparent) center bottom / 100% 1px no-repeat, linear-gradient(90deg, transparent, rgba(143, 180, 232, .07) 20%, rgba(143, 180, 232, .07) 80%, transparent); }

/* ratings */
html body .rt-rate { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .5rem 1.6rem; margin: 1rem 0; }
html body .rt-rate div { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .35rem 0; border-bottom: 1px dashed rgba(255, 255, 255, .08); font-size: .9rem; }
html body .rt-rate span.k { color: var(--parch-dim, #bdb7a6); }
html body .rt-rate span.v { display: inline-flex; align-items: center; gap: .5rem; color: var(--parch, #ece7f3); font-size: .85rem; }
html body .rt-dia { display: inline-flex; gap: 3px; direction: ltr; }
html body .rt-dia i { width: 7px; height: 7px; transform: rotate(45deg); background: rgba(255, 255, 255, .14); }
html body .rt-dia i.f { background: var(--gold-2, #f0c75e); box-shadow: 0 0 6px rgba(240, 199, 94, .7); }

/* cards (hero trees, builds) */
html body .rt-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; margin: 1rem 0; }
html body .rt-card { position: relative; padding: 1.1rem 1.3rem 1rem; background: linear-gradient(90deg, transparent, rgba(240, 199, 94, .38) 16%, rgba(240, 199, 94, .38) 84%, transparent) center top / 100% 1px no-repeat, linear-gradient(90deg, transparent, rgba(240, 199, 94, .38) 16%, rgba(240, 199, 94, .38) 84%, transparent) center bottom / 100% 1px no-repeat, linear-gradient(180deg, rgba(240, 199, 94, .045), rgba(11, 15, 26, .5)); }
html body .rt-card h4 { margin: 0 0 .4rem; font-size: 1.02rem; color: var(--gold-1, #f6e0a3); }
html body .rt-card h4 small { margin-inline-start: .5rem; font-size: 11px; font-weight: 600; color: var(--blue-1, #8fb4e8); }
html body .rt-card p { margin: .4rem 0; font-size: .92rem; line-height: 2.1; color: var(--parch, #ece7f3); }
html body .rt-code { display: flex; align-items: center; gap: .6rem; margin-top: .7rem; direction: ltr; }
html body .rt-code code { flex: 1; min-width: 0; padding: .35rem .7rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; color: #cfd8ee; background: rgba(8, 11, 20, .7); border: 1px solid rgba(143, 180, 232, .25); border-radius: 6px; }
html body .rt-copy { flex: none; cursor: pointer; padding: .25rem .9rem; font: inherit; font-size: 12px; color: var(--gold-1, #f6e0a3); background: transparent; border: 1px solid rgba(240, 199, 94, .45); border-radius: 99px; transition: background .25s; }
html body .rt-copy:hover { background: rgba(240, 199, 94, .12); }

/* rotation steps + cooldown rows */
html body .rt-steps { counter-reset: s; list-style: none; margin: .8rem 0; padding: 0; }
html body .rt-steps li { counter-increment: s; position: relative; padding: .5rem 3rem .5rem 0; font-size: .94rem; line-height: 2.1; color: var(--parch, #ece7f3); border-bottom: 1px dashed rgba(255, 255, 255, .07); }
html body .rt-steps li::before { content: counter(s); position: absolute; right: 0; top: .6rem; width: 26px; height: 26px; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--gold-1, #f6e0a3); border: 1px solid rgba(240, 199, 94, .5); border-radius: 50%; background: rgba(240, 199, 94, .08); }
html body .rt-cd { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: .4rem 1.2rem; padding: .7rem 0; border-bottom: 1px dashed rgba(255, 255, 255, .08); font-size: .93rem; line-height: 2.1; }
html body .rt-cd > :last-child { color: var(--parch, #ece7f3); }
html body .rt-seq { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .5rem; margin: .5rem 0 1rem; direction: ltr; }
html body .rt-seq .arr { color: var(--gold-3, #c9a232); font-size: 12px; }

/* inline chips + tooltips */
html body .sp, html body .it { display: inline-flex; align-items: center; gap: .3rem; vertical-align: middle; padding: 0 .2rem; border-bottom: 1px dotted rgba(240, 199, 94, .65); color: var(--gold-1, #f6e0a3); font-weight: 700; cursor: help; white-space: nowrap; direction: ltr; unicode-bidi: isolate; }
html body .sp:hover, html body .it:hover { background: rgba(240, 199, 94, .1); }
html body .sp img, html body .it img { width: 20px; height: 20px; border-radius: 4px; flex: none; }
html body .sp .dm { width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold-2, #f0c75e); box-shadow: 0 0 6px rgba(240, 199, 94, .7); flex: none; }
html body a.it { cursor: pointer; }
html body .rt-tip { position: fixed; z-index: 400; max-width: 22rem; padding: .8rem 1rem; display: none; pointer-events: none; font-size: .88rem; line-height: 1.95; color: var(--parch, #ece7f3); background: linear-gradient(165deg, rgba(27, 22, 35, .97), rgba(9, 12, 22, .98)); border: 1px solid rgba(240, 199, 94, .4); border-radius: 10px; box-shadow: 0 14px 40px rgba(0, 0, 0, .6); }
html body .rt-tip .tn { margin: 0; font-weight: 800; font-size: .98rem; color: var(--gold-1, #f6e0a3); direction: ltr; text-align: right; }
html body .rt-tip .tb { display: flex; gap: .35rem; margin: .25rem 0 .45rem; direction: ltr; }
html body .rt-tip .tb span { padding: 0 .55rem; font-size: 10.5px; color: var(--blue-1, #8fb4e8); border: 1px solid rgba(143, 180, 232, .35); border-radius: 99px; }
html body .rt-tip p { margin: .3rem 0; }
html body .rt-tip .en { direction: ltr; text-align: left; color: var(--mut, #8e97ab); font-size: .8rem; line-height: 1.7; }
html body .rt-tip .tk::before { content: "X"; display: inline-block; min-width: 1.1em; padding: 0 .25em; margin: 0 .1em; text-align: center; font-size: .8em; font-weight: 800; color: #8fd4a4; background: rgba(143, 212, 164, .14); border: 1px solid rgba(143, 212, 164, .5); border-radius: 4px; }
html body .rt-tip .st { color: #6fcf97; direction: ltr; text-align: right; font-size: .85rem; }
html body .rt-tip .fx { color: #6fcf97; font-size: .85rem; }
html body .rt-tip .hint { margin-top: .4rem; font-size: 11px; color: var(--mut, #8e97ab); }

/* gear table */
html body .rt-gear { margin: 1rem 0; }
html body .rt-gr { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) minmax(0, 14rem); align-items: center; gap: .3rem 1rem; padding: .55rem 0; border-bottom: 1px dashed rgba(255, 255, 255, .08); }
html body .rt-gr .sl { font-size: 12.5px; color: var(--mut, #8e97ab); }
html body .rt-gr .so { font-size: 12.5px; color: var(--parch-dim, #bdb7a6); direction: ltr; text-align: right; }
html body .rt-gr .so em { font-style: normal; color: var(--blue-1, #8fb4e8); }
html body .rt-tier { display: grid; grid-template-columns: 2.6rem 1fr; gap: .4rem 1rem; align-items: start; padding: .55rem 0; border-bottom: 1px dashed rgba(255, 255, 255, .08); }
html body .rt-tier b { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; font-size: 1rem; border: 1px solid rgba(240, 199, 94, .5); border-radius: 50%; color: var(--gold-1, #f6e0a3); background: rgba(240, 199, 94, .08); }
html body .rt-tier div { display: flex; flex-wrap: wrap; gap: .4rem .9rem; direction: ltr; justify-content: flex-end; }
html body .rt-tier div span { font-size: .9rem; color: var(--parch, #ece7f3); }
html body .rt-kv { display: grid; grid-template-columns: minmax(120px, 190px) 1fr; gap: .2rem 1.2rem; padding: .5rem 0; border-bottom: 1px dashed rgba(255, 255, 255, .08); font-size: .92rem; line-height: 2; }
html body .rt-kv > :first-child { color: var(--mut, #8e97ab); }
html body .rt-kv > :last-child { color: var(--parch, #ece7f3); }
html body .rt-en { direction: ltr; unicode-bidi: isolate; }
html body .rt-src { margin-top: 3rem; }
html body .rt-loading, html body .rt-err { padding: 4rem 1rem; text-align: center; color: var(--mut, #8e97ab); }

/* item page + item browser */
html body .rt-item { --q: #c9a232; --qt: #f0c75e; --qg: 201, 162, 50; position: relative; display: flex; direction: ltr; margin: 0 0 1.4rem; border: 1px solid rgba(var(--qg), .34); border-radius: 14px; overflow: hidden; background: linear-gradient(165deg, rgba(27, 22, 35, .94), rgba(11, 11, 17, .97)); box-shadow: 0 10px 28px rgba(0, 0, 0, .38); }
html body .rt-item::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, var(--q), transparent); }
html body .rt-item .im { flex: 0 0 clamp(120px, 28%, 190px); display: flex; align-items: center; justify-content: center; padding: 1.2rem; background: radial-gradient(circle at 50% 50%, rgba(var(--qg), .26), transparent 70%); }
html body .rt-item .im img { width: 100%; max-width: 112px; aspect-ratio: 1; border-radius: 14px; border: 1px solid rgba(var(--qg), .6); box-shadow: 0 0 26px rgba(var(--qg), .45); background: rgba(8, 11, 20, .6); }
html body .rt-item .bd { flex: 1; min-width: 0; direction: rtl; padding: 1.1rem 1.4rem 1.2rem; }
html body .rt-item h2 { margin: 0; font-size: 1.3rem; color: var(--qt); text-shadow: 0 0 18px rgba(var(--qg), .4); direction: ltr; text-align: right; }
html body .rt-item .sub { margin: .2rem 0 0; font-size: 12.5px; color: var(--parch-dim, #bdb7a6); }
html body .rt-item .fx { margin: .6rem 0; padding: .5rem .9rem; font-size: .92rem; line-height: 2.1; color: var(--parch, #ece7f3); border-inline-start: 2px solid rgba(var(--qg), .6); background: linear-gradient(270deg, rgba(var(--qg), .07), transparent); }
html body .rt-item .fx .en { display: block; margin-top: .2rem; direction: ltr; text-align: left; font-size: .8rem; line-height: 1.7; color: var(--mut, #8e97ab); }
html body .rt-item .quote { margin-top: .8rem; font-size: .85rem; font-style: italic; color: var(--mut, #8e97ab); direction: ltr; text-align: left; }
html body .rt-igrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .9rem; }
html body .rt-igrid a { display: flex; align-items: center; gap: .8rem; padding: .7rem .9rem; border: 1px solid rgba(240, 199, 94, .22); border-radius: 10px; background: rgba(11, 15, 26, .5); transition: border-color .25s, transform .25s; }
html body .rt-igrid a:hover { border-color: rgba(240, 199, 94, .7); transform: translateY(-2px); }
html body .rt-igrid img { width: 40px; height: 40px; border-radius: 8px; flex: none; }
html body .rt-igrid b { display: block; direction: ltr; text-align: right; font-size: .93rem; }
html body .rt-igrid small { color: var(--mut, #8e97ab); font-size: 11.5px; }
html body .rt-filter { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin-bottom: 1.4rem; }
html body .rt-filter input, html body .rt-filter select { font: inherit; font-size: .9rem; padding: .4rem .9rem; color: var(--parch, #ece7f3); background: rgba(8, 11, 20, .75); border: 1px solid rgba(240, 199, 94, .3); border-radius: 99px; }
html body .q0 { --q: #9d9d9d; --qt: #b4b4b4; --qg: 157, 157, 157; }
html body .q1 { --q: #ffffff; --qt: #ffffff; --qg: 255, 255, 255; }
html body .q2 { --q: #1eff00; --qt: #1eff00; --qg: 30, 255, 0; }
html body .q3 { --q: #0070dd; --qt: #3a9bff; --qg: 0, 112, 221; }
html body .q4 { --q: #a335ee; --qt: #c06cff; --qg: 163, 53, 238; }
html body .q5 { --q: #ff8000; --qt: #ff8000; --qg: 255, 128, 0; }
html body .q6 { --q: #e6cc80; --qt: #e6cc80; --qg: 230, 204, 128; }
html body .q7 { --q: #00cc98; --qt: #00cc98; --qg: 0, 204, 152; }
html body .it.q4, html body .it.q3, html body .it.q5, html body .it.q2, html body .it.q1, html body .it.q6, html body .it.q7 { color: var(--qt); border-bottom-color: var(--q); }
html body .rt-igrid a b { color: var(--qt, #f0c75e); }
html body .db-count { text-align: center; color: var(--mut, #8e97ab); font-size: .85rem; margin: -.4rem 0 1.1rem; }

@media (max-width: 700px) {
  html body .rt-two { grid-template-columns: 1fr; }
  html body .rt-gr { grid-template-columns: 4.2rem 1fr; }
  html body .rt-gr .so { grid-column: 1 / -1; text-align: right; }
  html body .rt-cd, html body .rt-kv { grid-template-columns: 1fr; }
  html body .rt-item { flex-direction: column; }
  html body .rt-item .im { flex-basis: auto; padding: 1rem; }
}
/* item DB set block (Wowhead-style: piece list + grouped bonuses) */
html body .rt-card.rt-set h4 small { margin-inline-start: .5rem; font-size: 11px; font-weight: 600; color: var(--mut, #8e97ab); }
html body .rt-card.rt-set .lbl { margin: .5rem 0 .15rem; font-size: .8rem; color: var(--mut, #8e97ab); }
html body .set-pieces { list-style: none; margin: .2rem 0 .4rem; padding: 0; }
html body .set-pieces li { display: flex; align-items: center; gap: .6rem; padding: .3rem .6rem; margin: .12rem 0; border-radius: 8px; direction: ltr; }
html body .set-pieces li:nth-child(odd) { background: rgba(255, 255, 255, .03); }
html body .set-pieces li a { font-size: .88rem; text-decoration: none; }
html body .set-pieces li a:hover { text-decoration: underline; text-shadow: 0 0 10px currentColor; }
html body .set-pieces li .sl { flex: 0 0 auto; margin-inline-start: auto; font-size: .72rem; font-style: normal; color: var(--mut, #8e97ab); direction: rtl; }
html body .set-pieces li.cur { background: linear-gradient(90deg, rgba(240, 199, 94, .1), rgba(240, 199, 94, .03)); border-inline-start: 2px solid #f0c75e; }
html body .set-pieces li.cur em { flex: 0 0 auto; margin-inline-start: .4rem; font-size: .68rem; font-style: normal; font-weight: 700; color: #f0c75e; direction: rtl; white-space: nowrap; }
html body .set-bonus { margin-top: .7rem; }
html body .set-bonus .sb-h { margin-bottom: .25rem; }
html body .set-bonus .sb-h b { font-size: .86rem; letter-spacing: .02em; color: #e6cc80; }
html body .set-bonus .sb-row { display: flex; align-items: flex-start; gap: .55rem; margin: .32rem 0; font-size: .85rem; line-height: 1.95; color: #6fcf97; direction: ltr; text-align: left; }
html body .set-bonus .sb-row .spec-badge { flex: 0 0 auto; margin-top: .3rem; padding: .04rem .5rem; font-size: .68rem; font-weight: 700; line-height: 1.6; color: #fff; border-radius: 6px; text-shadow: 0 1px 2px rgba(0, 0, 0, .4); }
html body .set-bonus .sb-row .spec-badge + span { flex: 1; }
html body .set-bonus .sb-row.fa { direction: rtl; text-align: right; }
html body .set-bonus .sb-row.fa .spec-badge + span { flex: 1; }
