/* avadon GUIDE adapter — host tokens only. No GUIDE font.
   Load last: host CSS → guide.css?5 → this file.
   Inventory / mix sprite geometry is owned by shared guide.css — do not restate here.
*/
.guide_content_wrap,
.page_list {
	--guide-text: #fff;
	--guide-muted: #766d6d;
	--guide-heading: #d8d0cc;
	--guide-on-header: #d8d0cc;
	--guide-link: #d8d0cc;
	--guide-link-hover: #ffd242;
	--guide-active: #ffd242;
	--guide-accent: #d9a05e;
	--guide-border: #30302c;
	--guide-surface: transparent;
	--guide-surface-alt: #30302c;
	--guide-table-head: #30302c;
	--guide-warning: #ff9600;
	--guide-danger: #fd5f1a;
}

.guide_content_wrap {
	width: 100%;
	max-width: 100%;
	background: transparent;
}

/* SQL read / card sit in main.main-page without .dmn-content.
   Match host .dmn-content + .dmn-page-box column. Library already has that wrapper. */
.main > .guide_content_wrap,
.main > .page_list {
	max-width: 1200px;
	width: 1200px;
	margin: 0 auto;
	padding: 60px 30px;
	box-sizing: border-box;
	min-width: 0;
	overflow-x: auto;
	position: relative;
}

@media (max-width: 1220px) {
	.main > .guide_content_wrap,
	.main > .page_list {
		width: 100%;
		max-width: 100%;
		padding: 60px 15px;
	}
}

/* Host html/body overflow-x:hidden would clip local table scrollports. */
.dmn-content:has(.guide_content_wrap) {
	min-width: 0;
	overflow-x: auto;
}

.guide_content_wrap h1,
.guide_content_wrap h2,
.guide_content_wrap h3 {
	color: var(--guide-heading);
}

/* T2-core-gap: hardcoded leftovers, token-mapped only. */
.guide_content_wrap .dict_item_list .title_set {
	background: var(--guide-surface-alt);
	color: var(--guide-heading);
}
.guide_content_wrap .tb_item_list td.name span,
.guide_content_wrap .dict_item_list td.name span {
	color: var(--guide-muted);
}
.guide_content_wrap .marketexe {
	color: var(--guide-muted);
	text-shadow: none;
}
