.knight-heading{position:absolute;z-index:1;top:calc(var(--header) + 12px);left:4vw;right:4vw;display:flex;align-items:center;justify-content:space-between;gap:24px;pointer-events:none}
.knight-heading h1{font-family:Georgia,serif;font-size:38px;font-weight:400;line-height:1.1;margin:0}
.profile-controls{display:flex;gap:16px;pointer-events:auto}.profile-controls label{display:flex;flex-direction:column;gap:5px;font-size:12px;color:#6b685c}.profile-controls select{min-height:44px;max-width:190px;border:0;border-bottom:1px solid #b5aa8b;background:#f7f5edee;color:#383b31;font-size:16px;padding:6px 24px 6px 5px}
.knight-page .stage{inset:0;--builder-framing-top-extra:88px}.knight-page .loading,.knight-page .error{top:46%}
.profile-note{position:absolute;left:4vw;right:4vw;top:calc(var(--header) + 92px);font-size:13px;text-align:center;color:#746b56;z-index:1;margin:0}.slot-tabs{display:flex;gap:23px;margin-bottom:16px}.slot-tabs button{border:0;background:none;border-bottom:2px solid transparent;padding:8px 0;min-height:44px;color:#686355;font-size:16px}.slot-tabs button[aria-pressed="true"]{border-color:#9b8040;color:#5e4b21}.slot-tabs button:disabled{opacity:.45}.knight-page .catalog-toolbar{padding-bottom:10px}.knight-page .catalog-toolbar span{padding-bottom:0}.knight-page button:focus-visible,.knight-page select:focus-visible{outline:2px solid #7d672f;outline-offset:3px}
@media(max-width:800px){.knight-heading{align-items:flex-start;display:block}.knight-heading h1{font-size:29px;margin-bottom:14px}.profile-controls{gap:12px}.profile-controls label{flex:1;min-width:0}.profile-controls select{width:100%;max-width:none;font-size:14px}.knight-page .stage{--builder-framing-top-extra:135px}.profile-note{top:calc(var(--header) + 133px);font-size:12px}.knight-page:has(#profile-note:not([hidden])) .stage{--builder-framing-top-extra:165px}}
@media(max-height:560px) and (min-width:650px){.knight-heading h1{font-size:25px}.knight-heading{top:calc(var(--header) + 2px);display:flex}.profile-controls label{font-size:11px}.profile-controls select{min-height:36px}.knight-page .stage{--builder-framing-top-extra:60px}.profile-note{top:calc(var(--header) + 59px)}}

@media(max-width:800px){.knight-page .error{top:50%;padding:12px 15px;min-width:0;width:90%;font-size:12px}.knight-page .error p{line-height:1.5;margin:8px 0}}

@media(max-width:600px){.knight-page .browse-trigger{font-size:15px;padding:10px 15px}}

.knight-page .viewer-menu-shell{display:flex;flex-direction:column;overflow:hidden}.knight-page .viewer-menu-shell>.viewer-menu-head{flex:none}.knight-page .viewer-sidebar{display:flex;flex:1;min-height:0;flex-direction:column}.knight-page .viewer-menu .knight-heading{flex:none;margin:0 0 8px}.knight-page .viewer-menu .profile-controls{display:grid;grid-template-columns:1fr 1fr;width:100%;margin:0}.knight-page .viewer-menu .profile-controls label:last-child{grid-column:auto}.knight-page .viewer-menu .profile-note{flex:none;margin:0 0 8px;padding:6px 0;font-size:12px}.builder-picker{display:flex;flex:1;min-height:0;flex-direction:column}.builder-picker-tools{flex:none}.builder-picker-tools .sheet-title{margin:0 0 8px}.builder-picker-tools .sheet-title h2{font-family:Georgia,serif;font-size:20px;font-weight:400}.builder-filter-row{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:12px;align-items:end}.builder-filter-row .search{width:100%}.equipment-game-filter select{min-height:48px!important;background:#fffaf0;border:1px solid #c9c0aa;padding:7px}.knight-page .builder-picker .catalog-toolbar{margin-top:8px;padding-bottom:6px}.builder-picker-results{flex:1;min-height:0;overflow:auto;padding:0;overscroll-behavior:contain}.knight-page .builder-picker .asset-list{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px 12px}.knight-page .builder-picker .asset-row{min-height:76px;padding:8px}.knight-page .builder-picker .asset-thumbnail{flex-basis:42px;width:42px;height:50px}.knight-page .builder-picker .slot-tabs{flex:none;order:3;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:8px 0 0;padding-top:6px;border-top:1px solid var(--line)}.knight-page .builder-picker .slot-tabs button{min-width:0;padding:7px 3px;font-size:13px}.knight-page .animation-bar #choose-animation{min-width:88px}
@media(min-width:601px) and (max-width:1100px){.knight-page .builder-picker .asset-list{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:600px){.builder-filter-row{grid-template-columns:1fr 112px}.knight-page .viewer-menu .profile-note{font-size:11px;line-height:1.3}.knight-page .builder-picker .asset-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.knight-page .builder-picker .slot-tabs button{font-size:12px}.knight-page .animation-bar #choose-animation{min-width:78px}}

@media(max-width:1023px){
 .knight-heading{display:block}
 .knight-heading h1{font-size:clamp(22px,7vw,29px);margin-bottom:14px;padding-right:118px}
 #mix-note{top:calc(var(--header) + 133px);font-size:12px;line-height:1.4}
 .knight-page:has(#mix-note:not([hidden])) .stage{--builder-framing-top-extra:192px}
}
@media(min-width:801px) and (max-width:1023px){
 .knight-heading{display:flex;gap:16px}
 .knight-heading h1{font-size:38px;padding:0;margin:0}
 #mix-note{top:calc(var(--header) + 92px)}
}

/* Mixed items expose every verified game appearance directly, without nesting buttons. */
.mixed-asset-row{display:flex;flex-direction:column;align-items:stretch;gap:6px}
.mixed-item-choice{display:flex;align-items:center;gap:12px;width:100%;padding:0;border:0;background:none;color:inherit;text-align:left;min-height:44px}
.variant-options{display:flex;gap:4px;width:100%}
.variant-choice{flex:1;min-width:0;min-height:44px;padding:5px 6px;border:1px solid #d3cbb7;border-radius:5px;background:#faf8f1;color:#68604e;font-size:12px;white-space:nowrap}
.variant-choice[aria-pressed="true"]{border-color:#8a7137;background:#ece4d1;color:#493c21;font-weight:700}
.mixed-item-choice:focus-visible,.variant-choice:focus-visible{outline:2px solid #7d672f;outline-offset:3px}
