/* Páginas de títulos e pets (site/tools/build_guides.py). Usa os tokens de glass.css/style.css. */
.gd section { padding: 18px 0; }
.gd h1[style] { color: var(--tc, var(--gold-bright)); }
.gd .rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.gd .panel { padding: 18px 20px; }
.gd .rules h3 { margin: 0 0 8px; font-size: 17px; color: var(--gold-bright); }
.gd .rules ul, .gd .how ul, .gd .next { margin: 0; padding-left: 18px; line-height: 1.6; }

.tree-scroll { overflow-x: auto; padding-bottom: 8px; max-width: 100%; }
.tree { position: relative; }
.tree svg { position: absolute; inset: 0; }
.tree path { fill: none; stroke: rgba(227, 184, 92, 0.55); stroke-width: 2; }
.tree path.combo { stroke-dasharray: 5 4; }
.col-h { position: absolute; top: 0; text-align: center; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
	color: var(--dim); }
.tnode { position: absolute; width: 176px; height: 64px; box-sizing: border-box; padding: 9px 12px; border-radius: 10px;
	border: 1px solid rgba(227, 184, 92, 0.6); background: rgba(42, 33, 24, 0.92); text-decoration: none;
	display: flex; flex-direction: column; justify-content: center; border-left: 5px solid var(--nc, #c9b08a); }
.tnode:hover, .tnode:focus-visible { background: rgba(58, 46, 33, 0.98); outline: 2px solid var(--gold-bright); }
.tnode b { color: var(--cream); font-size: 15px; }
.tnode small { color: var(--dim); font-size: 12px; }
.tnode.blade { --nc: #e69646; } .tnode.tank { --nc: #c4785c; } .tnode.bow { --nc: #8cc460; }
.tnode.arcane { --nc: #78aaf0; } .tnode.support { --nc: #6ec8b4; } .tnode.hybrid { --nc: #ce84dc; } .tnode.merchant { --nc: #e3b85c; }
.gd .hint, .gd .muted { color: var(--dim); font-size: 14px; }

.gd-top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; }
.gd-art { display: flex; gap: 10px; justify-content: center; }
.gd-art img { width: 96px; height: 184px; image-rendering: pixelated; }
.gd-art.pet-art img { width: auto; height: auto; max-width: 180px; }
.gd .path { margin: 10px 0 0; font-size: 14px; color: var(--dim); }

.quest { margin-bottom: 16px; }
.quest h3 { margin: 4px 0 8px; color: var(--gold-bright); }
.quest p { margin: 6px 0; }
.steps { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 10px; counter-reset: st; }
.step { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; align-items: start; padding: 10px 12px;
	border-radius: 10px; background: rgba(0, 0, 0, 0.22); }
.step .si { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 18px;
	background: rgba(227, 184, 92, 0.16); color: var(--gold-bright); }
.step .sl { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--dim); }
.step p { margin: 2px 0 4px; color: var(--cream); }
.bd { display: inline-block; margin: 2px 6px 0 0; padding: 1px 8px; border-radius: 999px; font-size: 12px;
	background: rgba(255, 255, 255, 0.08); color: var(--cream); }
.bd.boss, .bd.atroz { background: rgba(232, 136, 110, 0.25); }
.bd.night, .bd.moon { background: rgba(120, 140, 240, 0.25); }
.bd.vet { background: rgba(227, 184, 92, 0.22); }
.q-rew { color: var(--gold-bright); }

.pets { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.pet { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px; text-decoration: none; text-align: center; }
.pet img { height: 120px; width: auto; image-rendering: pixelated; }
.pet b { color: var(--cream); font-size: 17px; }
.pet small { color: var(--dim); }

@media (max-width: 640px) {
	.gd-top { grid-template-columns: 1fr; }
	.step { grid-template-columns: 30px minmax(0, 1fr); }
	.step .si { width: 30px; height: 30px; font-size: 15px; }
}
