/* VGNW Builds — yapı rehberleri. Tokens: wp-theme/assets/css/vgnw-tokens.css. */
.vb-page { --vb-line: rgba(255, 255, 255, 0.07); }
.vb-page [hidden], .vb-embed [hidden] { display: none !important; }

/* Hero facts */
.vb-facts { display: flex; flex-wrap: wrap; gap: 14px 28px; margin: 6px 0 0; padding: 0; }
.vb-facts__item { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.vb-facts dt { color: var(--fg-muted); font-family: var(--font-pixel); font-weight: 700; font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; line-height: 1; }
.vb-facts dd { margin: 0; color: var(--fg-1); font-family: var(--font-display); font-size: 22px; line-height: 1; }
.vb-hero .vgnw-lst-hero__right { gap: var(--space-3); }
.vb-hero .vgnw-lst-hero__stats { justify-content: center; }
.vb-hero .vgnw-lst-hero__stat:only-child { align-items: center; text-align: center; }

/* Sections */
.vb-section { margin-top: 32px; }
.vb-section__title { margin: 0 0 16px; color: var(--fg-1); font-family: var(--font-display); font-size: 28px; line-height: 1.1; font-weight: 400; text-transform: uppercase; }
.vb-section__lede { margin: -4px 0 18px; max-width: 920px; color: var(--fg-2); font-family: var(--font-body); font-size: 15px; line-height: 1.6; }
.vb-panel { background: var(--bg-2); box-shadow: var(--shadow-forum-panel); padding: 24px 28px; }

/* Buttons */
.vb-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 12px 20px; border: 0; background: var(--mctr-red); color: var(--fg-1); box-shadow: 0 4px 0 var(--mctr-red-dark); font-family: var(--font-pixel); font-weight: 700; font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.vb-button:hover, .vb-button:focus-visible { color: var(--fg-1); filter: brightness(1.08); }
.vb-button--secondary { background: var(--bg-button); box-shadow: 0 4px 0 #1f1d1c; align-self: flex-start; }
.vb-text-btn { min-height: 40px; padding: 9px 12px; border: 0; background: transparent; color: var(--fg-muted); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); font-family: var(--font-pixel); font-weight: 700; font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; cursor: pointer; }
.vb-text-btn:hover { color: var(--fg-1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); }
.vb-icon-btn { display: inline-grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; padding: 0; border: 0; background: var(--bg-button); color: var(--fg-1); box-shadow: inset 2px 2px 0 rgba(255, 255, 255, 0.12), inset -2px -2px 0 rgba(0, 0, 0, 0.45); cursor: pointer; }
.vb-icon-btn--text { font-family: var(--font-body); font-size: 20px; line-height: 1; }
.vb-icon-btn:hover { filter: brightness(1.15); }
.vb-icon-btn svg { width: 16px; height: 16px; image-rendering: pixelated; }
.vb-page button:disabled, .vb-embed button:disabled, .vb-page input:disabled, .vb-embed input:disabled { opacity: 0.4; cursor: default; filter: none; }
.vb-page :is(a, button, input):focus-visible, .vb-embed :is(a, button, input):focus-visible { outline: 2px solid var(--fg-1); outline-offset: 2px; }

/* Viewer */
.vb-viewer { background: var(--bg-2); box-shadow: var(--shadow-forum-panel); color: var(--fg-1); }
.vb-viewer__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 14px 18px; border-bottom: 1px solid var(--vb-line, rgba(255, 255, 255, 0.07)); }
.vb-tabs { display: inline-flex; gap: 4px; }
.vb-tabs button { min-width: 78px; padding: 12px 16px; border: 0; background: var(--bg-button); color: var(--fg-2); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.4); font-family: var(--font-pixel); font-weight: 700; font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; cursor: pointer; }
.vb-tabs button[aria-selected="true"] { background: var(--mctr-red); color: var(--fg-1); box-shadow: inset 0 -3px 0 var(--mctr-red-dark); }
.vb-step { display: flex; align-items: center; gap: 12px; flex: 1 1 320px; min-width: 0; }
.vb-step__range { display: flex; flex: 1; flex-direction: column; gap: 8px; min-width: 0; }
.vb-step__label { color: var(--fg-2); font-family: var(--font-pixel); font-weight: 700; font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; line-height: 1; }
.vb-step__label b { color: var(--fg-1); }
.vb-step input[type="range"] { width: 100%; margin: 0; accent-color: var(--mctr-red); }
.vb-check { display: inline-flex; align-items: center; gap: 8px; color: var(--fg-2); font-family: var(--font-body); font-size: 14px; cursor: pointer; }
.vb-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--mctr-red); }
.vb-3d-tools, .vb-2d-tools { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.vb-2d-tools .vb-check { margin-right: 8px; }
.vb-viewer.is-3d .vb-only-layer, .vb-viewer:not(.is-3d) .vb-only-3d { display: none; }
.vb-viewer__body { display: grid; grid-template-columns: minmax(0, 1fr) 280px; }
.vb-stage { --vb-stage: #100f0e; position: relative; display: flex; align-items: center; justify-content: center; min-height: 320px; padding: 8px; overflow: hidden; background: var(--bg-darker); }
.vb-canvas { display: block; max-width: 100%; image-rendering: pixelated; touch-action: manipulation; }
.vb-stage.is-zoomed { display: block; overflow: auto; }
.vb-stage.is-zoomed .vb-canvas { max-width: none; margin: 0 auto; }
.vb-canvas--3d { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; cursor: grab; touch-action: none; }
.vb-canvas--3d:active { cursor: grabbing; }
.vb-tip { position: absolute; z-index: 2; max-width: 280px; padding: 8px 10px; background: var(--bg-3); color: var(--fg-1); box-shadow: var(--shadow-tag-offset); font-family: var(--font-body); font-size: 13px; line-height: 1.4; pointer-events: none; }
.vb-stage__msg { position: absolute; z-index: 1; max-width: 90%; margin: 0; padding: 12px 16px; background: rgba(0, 0, 0, 0.55); color: var(--fg-2); font-family: var(--font-body); font-size: 14px; line-height: 1.5; text-align: center; }
.vb-layer { display: flex; flex-direction: column; gap: 12px; max-height: 660px; padding: 18px; overflow: auto; border-left: 1px solid var(--vb-line, rgba(255, 255, 255, 0.07)); }
.vb-layer__title { margin: 0; color: var(--fg-muted); font-family: var(--font-pixel); font-weight: 700; font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; }
.vb-layer__list { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.vb-layer__list li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 10px; color: var(--fg-1); font-family: var(--font-body); font-size: 14px; line-height: 1.3; }
.vb-layer__list img, .vb-material img, .vb-card__icons img { image-rendering: pixelated; object-fit: contain; }
.vb-layer__list b { font-family: var(--font-pixel); font-size: 12px; }
.vb-layer__name { min-width: 0; overflow-wrap: anywhere; }
.vb-layer__total { margin: 0; color: var(--fg-2); font-family: var(--font-body); font-size: 13px; line-height: 1.5; }
.vb-layer__hint { margin: auto 0 0; color: var(--fg-muted); font-family: var(--font-body); font-size: 12px; line-height: 1.5; }
.vb-blank { display: inline-block; width: 24px; height: 24px; background: var(--bg-3); }
.vb-material .vb-blank { width: 32px; height: 32px; }
.vb-empty { margin: 0; padding: 20px 24px; background: var(--bg-2); color: var(--fg-2); font-family: var(--font-body); font-size: 15px; }

/* Materials */
.vb-materials__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-bottom: 14px; }
.vb-materials__summary { margin: 0; color: var(--fg-2); font-family: var(--font-body); font-size: 15px; }
.vb-materials__progress { margin: 0 auto 0 0; color: var(--status-online); font-family: var(--font-pixel); font-weight: 700; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.vb-materials__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.vb-material label { display: grid; grid-template-columns: auto 32px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 56px; padding: 10px 12px; background: var(--bg-darker); border: 2px solid transparent; cursor: pointer; }
.vb-material label:not(:has(input)) { grid-template-columns: 32px minmax(0, 1fr) auto; cursor: default; }
.vb-material input { width: 18px; height: 18px; margin: 0; accent-color: var(--status-online); }
.vb-material label:hover { border-color: var(--border-default); }
.vb-material label:has(input:checked) { border-color: var(--status-online); }
.vb-material label:has(input:checked) .vb-material__name { color: var(--fg-muted); text-decoration: line-through; }
.vb-material__name { min-width: 0; color: var(--fg-1); font-family: var(--font-body); font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.vb-material__count { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.vb-material__count b { color: var(--fg-1); font-family: var(--font-pixel); font-size: 14px; line-height: 1; }
.vb-material__count small { color: var(--fg-muted); font-family: var(--font-body); font-size: 11px; white-space: nowrap; }
.vb-materials__more { margin: 10px 0 0; color: var(--fg-muted); font-family: var(--font-body); font-size: 13px; }

/* Content */
.vb-content__body { max-width: 920px; color: var(--fg-2); font-family: var(--font-body); font-size: 17px; line-height: 1.7; }
.vb-content__body > :first-child { margin-top: 0; }
.vb-content__body h2, .vb-content__body h3 { color: var(--fg-1); font-family: var(--font-body); line-height: 1.3; }
.vb-content__body a { color: var(--mctr-red-soft); }
.vb-content__body img { max-width: 100%; height: auto; }
.vb-credit { margin: 18px 0 0; color: var(--fg-muted); font-family: var(--font-body); font-size: 14px; }
.vb-credit a { color: var(--mctr-red-soft); }

/* Cards */
.vb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.vb-card { display: flex; flex-direction: column; min-width: 0; background: var(--bg-2); box-shadow: var(--shadow-forum-panel); color: var(--fg-1); text-decoration: none; }
.vb-card__media { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-darker); }
.vb-card__media > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vb-card__icons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; padding: 16px; }
.vb-card__body { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 20px; }
.vb-card__tag { align-self: flex-start; padding: 5px 10px; background: var(--bg-darker); color: var(--fg-3); font-family: var(--font-pixel); font-weight: 700; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; line-height: 1.2; }
.vb-card__title { color: var(--fg-1); font-family: var(--font-body); font-size: 20px; line-height: 1.3; }
.vb-card:hover .vb-card__title, .vb-card:focus-visible .vb-card__title { color: var(--mctr-red); }
.vb-card__meta { color: var(--fg-muted); font-family: var(--font-pixel); font-weight: 700; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; line-height: 1.4; }

/* Category chips */
.vb-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 4px; }
.vb-chip { padding: 10px 14px; background: var(--bg-2); color: var(--fg-2); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.35); font-family: var(--font-pixel); font-weight: 700; font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; text-decoration: none; }
.vb-chip span { margin-left: 6px; color: var(--fg-muted); }
.vb-chip:hover { color: var(--fg-1); }
.vb-chip.is-active { background: var(--mctr-red); color: var(--fg-1); box-shadow: inset 0 -3px 0 var(--mctr-red-dark); }
.vb-chip.is-active span { color: rgba(255, 255, 255, 0.8); }

/* Pagination */
.vb-pagination { margin-top: 28px; }
.vb-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.vb-pagination .page-numbers { padding: 11px 14px; background: var(--bg-2); color: var(--fg-2); font-family: var(--font-pixel); font-weight: 700; font-size: 11px; text-decoration: none; }
.vb-pagination .page-numbers.current { background: var(--mctr-red); color: var(--fg-1); }
.vb-empty-state p { max-width: 720px; color: var(--fg-2); font-family: var(--font-body); font-size: 16px; line-height: 1.6; }

/* Embedded viewer (guides, forum posts) */
.vb-embed { display: flex; flex-direction: column; gap: 14px; margin: 28px 0; }
.vb-embed__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.vb-embed__title { color: var(--fg-1); font-family: var(--font-body); font-size: 20px; text-decoration: none; }
.vb-embed__title:hover { color: var(--mctr-red); }
.vb-embed__facts { color: var(--fg-muted); font-family: var(--font-pixel); font-weight: 700; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; }
.vb-viewer--compact .vb-viewer__body { grid-template-columns: minmax(0, 1fr); }
.vb-viewer--compact .vb-layer { display: none; }
.vb-fallback { max-width: 1200px; margin: 0 auto; padding: 20px 16px; }

@media (max-width: 980px) {
	.vb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vb-viewer__body { grid-template-columns: minmax(0, 1fr); }
	.vb-layer { max-height: none; border-left: 0; border-top: 1px solid var(--vb-line, rgba(255, 255, 255, 0.07)); }
}
@media (max-width: 640px) {
	.vb-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.vb-panel { padding: 18px 16px; }
	.vb-section__title { font-size: 22px; }
	.vb-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 12px; }
	.vb-facts dd { font-size: 18px; }
	.vb-viewer__bar { padding: 12px; gap: 12px; }
	.vb-tabs { flex: 1 1 100%; }
	.vb-tabs button { flex: 1; }
	.vb-step { flex-basis: 100%; }
	.vb-stage { min-height: 240px; padding: 6px; }
	.vb-materials__list { grid-template-columns: minmax(0, 1fr); }
	.vb-material label { gap: 10px; padding: 8px 10px; }
}
