/* Requested by Mediavine: the "On this page" contents box was sticky in the sidebar and would overlap sidebar ads. */
.lhq-toc { position: static !important; }

/* Footer: center both lines, and give the About/Privacy/Contact links the site's gold accent color */
.lhq-footer .lhq-foot{justify-content:center;text-align:center}
.lhq-footer .lhq-foot a{color:var(--wp--preset--color--gold)}
.lhq-footer .lhq-foot a:hover{color:var(--wp--preset--color--gold-hi)}
/* Header search button: drop the icon and Ctrl K badge, show plain "Search" text, fade the background out and give it a gold border like the Discord button -- but keep the text the normal menu white, not gold */
.lhq-search-btn{background:none;border-color:var(--wp--preset--color--gold);color:var(--wp--preset--color--text)}
.lhq-search-btn span[aria-hidden]{display:none}
.lhq-search-btn kbd{display:none}
.lhq-search-btn::after{content:"Search"}

/* Build pages: Tracery tables (type name in the header, aligned Rarity column, tight spacing) */
.wp-block-table.lhq-tracery{margin:0 0 10px !important}
.wp-block-table.lhq-tracery table{table-layout:fixed;width:100%}
.wp-block-table.lhq-tracery th:last-child,.wp-block-table.lhq-tracery td:last-child{width:130px}
.wp-block-table.lhq-tracery thead th:first-child{color:var(--wp--preset--color--gold)}
.wp-block-table.lhq-tracery thead{border-bottom:0}
.wp-block-table.lhq-tracery thead th{border:1px solid var(--wp--preset--color--gold)}
@media (max-width:600px){.wp-block-table.lhq-tracery th:last-child,.wp-block-table.lhq-tracery td:last-child{width:100px}}

/* Visual blocks (block-editor test): icon rows, tracery rows, built-in Tabs / Accordion / Star rating */
.lhq-iconrow.wp-block-group{gap:14px;margin:0 0 .6rem}
.lhq-icon.wp-block-group{gap:14px}
.lhq-icon .wp-block-image{margin:0}
.lhq-content .lhq-icon .wp-block-image{flex:0 0 64px;width:64px;height:64px}
.lhq-content .lhq-icon .wp-block-image img{box-sizing:border-box;width:64px!important;height:64px!important;max-width:none!important}
.lhq-icon.wp-block-group{flex-shrink:0}
.lhq-icon .lhq-icon-label{margin:0;font-family:var(--wp--preset--font-family--serif);font-size:1.15rem;font-weight:700;color:var(--wp--preset--color--gold-hi)}
.lhq-content .wp-block-tab-list{display:flex;flex-wrap:wrap;gap:6px;border:0;border-bottom:1px solid var(--wp--preset--color--line);padding:0 0 10px;margin:0 0 14px}
.lhq-content .wp-block-tab-list [role=tab]{background:var(--wp--preset--color--surface);border:1px solid var(--wp--preset--color--line);color:var(--wp--preset--color--muted);border-radius:8px;padding:7px 14px;margin:0;cursor:pointer;font:inherit;font-size:.9rem;box-shadow:none;text-decoration:none}
.lhq-content .wp-block-tab-list [role=tab]:hover{border-color:var(--wp--preset--color--gold);color:var(--wp--preset--color--text)}
.lhq-content .wp-block-tab-list [role=tab][aria-selected=true]{background:linear-gradient(#e2b558,#c4922f);border-color:#e2b558;color:#1a1409;font-weight:700}
.lhq-content .wp-block-tab-list [role=tab]::after,.lhq-content .wp-block-tab-list [role=tab]::before{display:none}
.lhq-trac.wp-block-group{border:1px solid var(--wp--preset--color--line);margin:0 0 10px!important;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;line-height:1.65}
.lhq-trac>*{margin:0!important}
.lhq-trac-row.wp-block-group,.lhq-trac-head.wp-block-group{gap:0;align-items:stretch;border:1px solid var(--wp--preset--color--text);border-top-width:0}
.lhq-trac-head.wp-block-group{background:#182329;border:1px solid var(--wp--preset--color--gold);color:var(--wp--preset--color--gold)}
.lhq-trac p{margin:0;padding:6.5px}
.lhq-trac .lhq-trac-name{flex:1 1 auto;display:flex;align-items:center}
.lhq-trac .lhq-trac-rarity{flex:0 0 130px;border-left:1px solid var(--wp--preset--color--text);display:flex;align-items:center}
.lhq-trac-head .lhq-trac-rarity{border-left-color:var(--wp--preset--color--gold);color:var(--wp--preset--color--text)}
.lhq-trac .lhq-trac-icon{margin:0;padding:6.5px 0 6.5px 6.5px;flex:0 0 auto;display:flex;align-items:center}
.lhq-trac .lhq-trac-icon img{width:28px;height:28px;border-radius:5px}
.lhq-content .lhq-trac .lhq-trac-icon{flex:0 0 auto;width:auto}
.lhq-content .lhq-trac .lhq-trac-icon img{box-sizing:border-box;width:28px!important;height:28px!important;max-width:none!important;border-radius:5px}
.lhq-content .wp-block-accordion-item{border:1px solid var(--wp--preset--color--line);border-radius:10px;background:var(--wp--preset--color--surface);padding:0 16px;margin:10px 0}
.lhq-content .wp-block-accordion-item.is-open{border-color:#3a4a52}
.lhq-content .wp-block-accordion-heading{margin:0;font-size:inherit;font-family:inherit;line-height:inherit}
.lhq-content .wp-block-accordion-heading__toggle{font-family:inherit;font-size:1rem;font-weight:600;color:var(--wp--preset--color--gold-hi);padding:14px 0;background:none;border:0}
.lhq-content .wp-block-accordion-heading__toggle-icon{color:var(--wp--preset--color--gold)}
.lhq-content .wp-block-accordion-panel{padding:0 0 14px}
.lhq-content .wp-block-jetpack-rating-star{margin:.2rem 0 .8rem}
@media (max-width:600px){.lhq-trac .lhq-trac-rarity{flex-basis:100px}}
