.augur-nexus-scene-fade {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: #000;
    opacity: 0;
    pointer-events: none;
}

.augur-nexus-marker-entity-drag-preview {
    position: fixed;
    z-index: 1000000;
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 150px;
    max-width: 280px;
    padding: 7px 10px 7px 7px;
    border: 1px solid var(--nexus-accent-primary, #d7a53d);
    border-radius: 6px;
    background: rgba(10, 12, 15, 0.96);
    color: #f4e6cf;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55);
    pointer-events: none;
}

.augur-nexus-marker-entity-drag-preview img,
.augur-nexus-marker-entity-drag-preview > i {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    object-fit: contain;
}

.augur-nexus-marker-entity-drag-preview > i {
    display: grid;
    place-items: center;
    font-size: 24px;
    color: var(--nexus-accent-primary, #d7a53d);
}

.augur-nexus-marker-entity-drag-preview span {
    display: grid;
    min-width: 0;
}

.augur-nexus-marker-entity-drag-preview strong,
.augur-nexus-marker-entity-drag-preview small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.augur-nexus-marker-entity-drag-preview strong {
    font: 700 14px/1.2 var(--font-primary);
}

.augur-nexus-marker-entity-drag-preview small {
    margin-top: 2px;
    color: #b9aa96;
    font-size: 11px;
}

body.augur-nexus-marker-entity-dragging,
body.augur-nexus-marker-entity-dragging * {
    cursor: grabbing !important;
}

.augur-nexus.site-generator-panel,
.augur-nexus.site-icon-picker,
.augur-nexus.site-scene-picker,
.augur-nexus-tool {
    color: #f4e6cf;
}

.augur-nexus .window-content,
.augur-nexus-tool,
.augur-nexus.site-icon-picker,
.augur-nexus.site-scene-picker {
    background: linear-gradient(180deg, rgba(17, 14, 23, 0.96), rgba(12, 10, 18, 0.96));
}

.augur-nexus.site-scene-picker-dialog .window-content {
    overflow: hidden;
}

.nexus-site-panel {
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
    font-size: 13px;
    line-height: 1.25;
}

:where(.augur-nexus, .augur-nexus-tool) .site-mode-strip,
:where(.augur-nexus, .augur-nexus-tool) .site-tab-strip {
    display: grid;
    gap: 6px;
    margin: 0 0 8px;
}

:where(.augur-nexus, .augur-nexus-tool) .site-mode-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

:where(.augur-nexus, .augur-nexus-tool) .site-tab-strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

:where(.augur-nexus, .augur-nexus-tool) .site-mode-button,
:where(.augur-nexus, .augur-nexus-tool) .site-tab-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 30px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 6px;
    background: rgba(44, 38, 49, 0.9);
    color: #e5d4bd;
    font-weight: 700;
    font-size: 12px;
}

:where(.augur-nexus, .augur-nexus-tool) .site-mode-button.active,
:where(.augur-nexus, .augur-nexus-tool) .site-tab-button.active {
    border-color: #ff6e4a;
    box-shadow: inset 0 0 0 1px rgba(255, 110, 74, 0.35);
}

:where(.augur-nexus, .augur-nexus-tool) .site-tab-content {
    min-width: 0;
}

:where(.augur-nexus, .augur-nexus-tool) .site-scene-tab-summary {
    display: grid;
    gap: 3px;
    padding: 8px 10px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    background: rgba(8, 10, 18, 0.85);
}

:where(.augur-nexus, .augur-nexus-tool) .site-scene-tab-summary span {
    color: #cbb28f;
    font-size: 12px;
}

:where(.augur-nexus, .augur-nexus-tool) .site-scene-visibility-controls {
    display: grid;
    gap: 8px;
}

:where(.augur-nexus, .augur-nexus-tool) .site-edit-scene-visibility {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
}

:where(.augur-nexus, .augur-nexus-tool) .site-panel-section {
    border: 1px solid #c6a235;
    border-radius: 10px;
    padding: 8px 10px 6px;
    margin: 0 0 8px;
}

:where(.augur-nexus, .augur-nexus-tool) .site-panel-section legend {
    color: #f0c84c;
    font-weight: 700;
    padding: 0 6px;
    font-size: 12px;
    line-height: 1;
}

:where(.augur-nexus, .augur-nexus-tool) .site-advanced-section {
    display: block;
}

:where(.augur-nexus, .augur-nexus-tool) .site-advanced-section > summary {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #f0c84c;
    font-weight: 700;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    list-style: none;
    margin: -2px 0 6px;
}

:where(.augur-nexus, .augur-nexus-tool) .site-advanced-section > summary::-webkit-details-marker {
    display: none;
}

:where(.augur-nexus, .augur-nexus-tool) .site-advanced-section > summary::after {
    content: "\f078";
    font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: auto;
    font-size: 10px;
    opacity: 0.85;
}

:where(.augur-nexus, .augur-nexus-tool) .site-advanced-section[open] > summary::after {
    transform: rotate(180deg);
}

:where(.augur-nexus, .augur-nexus-tool) .site-panel-section .form-group {
    margin: 0 0 6px;
}

:where(.augur-nexus, .augur-nexus-tool) .site-panel-section label {
    display: block;
    margin: 0 0 3px;
    font-weight: 700;
    font-size: 12px;
    line-height: 1.15;
}

:where(.augur-nexus, .augur-nexus-tool) .site-role-switcher {
    display: grid;
    gap: 5px;
}

:where(.augur-nexus, .augur-nexus-tool) .site-genre-switcher {
    grid-template-columns: repeat(2, 1fr);
}

:where(.augur-nexus, .augur-nexus-tool) .site-icon-type-switcher {
    grid-template-columns: repeat(2, 1fr);
}

:where(.augur-nexus, .augur-nexus-tool) .site-role-option {
    min-height: 30px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 6px;
    background: rgba(44, 38, 49, 0.9);
    color: #e5d4bd;
    font-weight: 700;
    font-size: 12px;
    padding: 0 10px;
}

:where(.augur-nexus, .augur-nexus-tool) .site-role-option.active {
    border-color: #ff6e4a;
    box-shadow: inset 0 0 0 1px rgba(255, 110, 74, 0.35);
}

:where(.augur-nexus, .augur-nexus-tool) .site-scene-requires {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin: 0 0 6px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 110, 74, 0.25);
    border-radius: 8px;
    background: rgba(62, 28, 22, 0.45);
    text-align: center;
}

:where(.augur-nexus, .augur-nexus-tool) .site-scene-requires-copy {
    max-width: 100%;
    color: #e7c9b8;
    font-size: 12px;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

:where(.augur-nexus, .augur-nexus-tool) .site-scene-requires-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 6px;
    background: rgba(12, 14, 22, 0.82);
    color: #f1dcc0;
    font-weight: 700;
    font-size: 12px;
}

:where(.augur-nexus, .augur-nexus-tool) .site-scene-requires-link:hover,
:where(.augur-nexus, .augur-nexus-tool) .site-scene-requires-link:focus-visible {
    border-color: rgba(232, 190, 92, 0.45);
    box-shadow: 0 0 0 1px rgba(232, 190, 92, 0.2);
    outline: none;
}

:where(.augur-nexus, .augur-nexus-tool) .site-theme-row,
:where(.augur-nexus, .augur-nexus-tool) .site-map-color-row,
:where(.augur-nexus, .augur-nexus-tool) .site-size-row,
:where(.augur-nexus, .augur-nexus-tool) .site-name-entry,
:where(.augur-nexus, .augur-nexus-tool) .site-visual-select-row,
:where(.augur-nexus, .augur-nexus-tool) .site-icon-picker-row,
:where(.augur-nexus, .augur-nexus-tool) .picker-btn,
:where(.augur-nexus, .augur-nexus-tool) .form-fields {
    display: flex;
    align-items: center;
    gap: 6px;
}

:where(.augur-nexus, .augur-nexus-tool) .site-icon-picker-row .picker-btn {
    flex: 1 1 auto;
    min-width: 0;
}

:where(.augur-nexus, .augur-nexus-tool) .site-icon-picker-row .site-label-toggle {
    flex: 0 0 auto;
}

:where(.augur-nexus, .augur-nexus-tool) .site-label-controls-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(118px, 0.72fr);
    gap: 8px;
    align-items: end;
}

:where(.augur-nexus, .augur-nexus-tool) .site-label-controls-row .form-group {
    min-width: 0;
}

:where(.augur-nexus, .augur-nexus-tool) .site-label-font-control select {
    width: 100%;
}

:where(.augur-nexus, .augur-nexus-tool) .site-visual-select,
.nexus-site-panel .biome-selector {
    position: relative;
    width: 100%;
    min-width: 0;
    flex: 1 1 auto;
}

.nexus-site-panel .biome-selector .selected-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 4px 8px;
    border: 1px solid #d4af37;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 5px;
    cursor: pointer;
    color: #f0f0f0;
    text-align: left;
    box-sizing: border-box;
}

.nexus-site-panel .biome-selector .selected-option:hover {
    background: rgba(0, 0, 0, 0.1);
}

.nexus-site-panel .biome-selector .option-image {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 4px;
    background: #000;
    border: 1px solid var(--color-border-light-tertiary);
    flex: 0 0 auto;
}

.nexus-site-panel .biome-selector .option-label {
    font-weight: bold;
    flex: 1;
    color: inherit;
    font-size: 0.85rem;
    white-space: nowrap;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nexus-site-panel .biome-selector .chevron {
    margin-left: auto;
    font-size: 0.8em;
    opacity: 0.7;
    color: inherit;
    flex: 0 0 auto;
}

.nexus-site-panel .biome-selector .options-list {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    width: 100%;
    max-height: 260px;
    overflow-y: auto;
    background: #222;
    border: 1px solid var(--color-border-light-primary);
    border-radius: 0 0 5px 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    z-index: 100;
    padding: 0;
}

.nexus-site-panel .biome-selector .option-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 4px 8px;
    cursor: pointer;
    border: 0;
    border-bottom: 1px solid #444;
    border-radius: 0;
    background: transparent;
    color: #eee;
    text-align: left;
    box-sizing: border-box;
}

.nexus-site-panel .biome-selector .option-item:last-child {
    border-bottom: none;
}

.nexus-site-panel .biome-selector .option-item:hover {
    background: #333;
}

.nexus-site-panel .biome-selector .option-item.selected {
    background: var(--color-bg-highlight);
    font-weight: bold;
    color: #fff;
}

:where(.augur-nexus, .augur-nexus-tool) .site-icon-preview,
:where(.augur-nexus, .augur-nexus-tool) .site-map-color-chip,
:where(.augur-nexus, .augur-nexus-tool) .picker-btn-thumb {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.15);
    display: grid;
    place-items: center;
    background: rgba(8, 10, 18, 0.85);
    flex: 0 0 auto;
}

:where(.augur-nexus, .augur-nexus-tool) .site-icon-preview img,
:where(.augur-nexus, .augur-nexus-tool) .picker-btn-thumb img {
    max-width: 24px;
    max-height: 24px;
}

:where(.augur-nexus, .augur-nexus-tool) .site-map-color-chip {
    background: var(--map-color);
}

:where(.augur-nexus, .augur-nexus-tool) .site-panel-section select,
:where(.augur-nexus, .augur-nexus-tool) .site-panel-section input[type="text"],
:where(.augur-nexus, .augur-nexus-tool) .site-panel-section input[type="search"] {
    flex: 1 1 auto;
    min-height: 34px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(70, 60, 72, 0.95);
    color: #f4e6cf;
    padding: 0 10px;
    font-size: 13px;
}

:where(.augur-nexus, .augur-nexus-tool) .site-entry-clear {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(8, 10, 18, 0.85);
    color: #e5d4bd;
    flex: 0 0 auto;
}

:where(.augur-nexus, .augur-nexus-tool) .site-entry-clear i {
    font-size: 12px;
}

:where(.augur-nexus, .augur-nexus-tool) .site-visual-randomize {
    height: 42px;
}

:where(.augur-nexus, .augur-nexus-tool) .site-linked-scene-name,
:where(.augur-nexus, .augur-nexus-tool) .picker-btn-label {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

:where(.augur-nexus, .augur-nexus-tool) .site-linked-scene-name {
    min-height: 34px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    background: rgba(18, 20, 30, 0.92);
    color: #f4e6cf;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

:where(.augur-nexus, .augur-nexus-tool) .site-linked-scene-name:hover,
:where(.augur-nexus, .augur-nexus-tool) .site-linked-scene-name:focus-visible {
    border-color: rgba(232, 190, 92, 0.45);
    box-shadow: 0 0 0 1px rgba(232, 190, 92, 0.18);
    background: rgba(24, 27, 40, 0.96);
    outline: none;
}

:where(.augur-nexus, .augur-nexus-tool) .site-linked-scene-name-label {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

:where(.augur-nexus, .augur-nexus-tool) .site-linked-scene-name i {
    flex: 0 0 auto;
    font-size: 11px;
    color: #cbb28f;
}

:where(.augur-nexus, .augur-nexus-tool) .site-room-count {
    width: 86px;
    min-height: 50px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    background: rgba(8, 10, 18, 0.85);
    display: grid;
    place-items: center;
    text-transform: none;
}

:where(.augur-nexus, .augur-nexus-tool) .site-room-count span {
    font-size: 10px;
    color: #cbb28f;
}

:where(.augur-nexus, .augur-nexus-tool) .site-room-count strong {
    font-size: 17px;
    line-height: 1;
}

:where(.augur-nexus, .augur-nexus-tool) .site-color-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 5px;
}

:where(.augur-nexus, .augur-nexus-tool) .site-color-swatch {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 999px;
    border: 1px solid transparent;
    background: var(--site-color);
}

:where(.augur-nexus, .augur-nexus-tool) .site-color-swatch.active {
    border-color: #f0c84c;
}

:where(.augur-nexus, .augur-nexus-tool) .range-value {
    width: 32px;
    text-align: right;
    font-weight: 700;
    color: #f0c84c;
    font-size: 12px;
}

:where(.augur-nexus, .augur-nexus-tool) .site-behavior-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

:where(.augur-nexus, .augur-nexus-tool) .site-randomize-toggle {
    margin: 0;
}

:where(.augur-nexus, .augur-nexus-tool) .checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

:where(.augur-nexus, .augur-nexus-tool) .checkbox input {
    flex: 0 0 auto;
}

:where(.augur-nexus, .augur-nexus-tool) .site-scene-warning {
    margin-top: 4px;
    color: #ff8d7a;
    font-size: 12px;
    line-height: 1.3;
}

:where(.augur-nexus, .augur-nexus-tool) .site-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

:where(.augur-nexus, .augur-nexus-tool) .site-action {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 12px;
    min-width: 0;
}

:where(.augur-nexus, .augur-nexus-tool) .site-action i {
    font-size: 12px;
}

:where(.augur-nexus, .augur-nexus-tool) .site-action span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

:where(.augur-nexus, .augur-nexus-tool) .site-action.place {
    background: rgba(15, 63, 89, 0.95);
}

:where(.augur-nexus, .augur-nexus-tool) .site-action.delete {
    background: rgba(88, 33, 39, 0.95);
}

:where(.augur-nexus, .augur-nexus-tool) .site-action.gesture {
    background: rgba(44, 42, 79, 0.95);
}

:where(.augur-nexus, .augur-nexus-tool) .site-action.cancel {
    background: rgba(37, 46, 69, 0.95);
}

:where(.augur-nexus, .augur-nexus-tool) .entity-placement-pane {
    display: grid;
    gap: 8px;
}

:where(.augur-nexus, .augur-nexus-tool) .entity-option-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

:where(.augur-nexus, .augur-nexus-tool) .entity-candidate-panel {
    max-height: 380px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
}

:where(.augur-nexus, .augur-nexus-tool) .entity-placement-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 8px;
}

:where(.augur-nexus, .augur-nexus-tool) .entity-generate-button {
    margin-top: 8px;
}

:where(.augur-nexus, .augur-nexus-tool) .site-action.edit {
    background: rgba(52, 47, 96, 0.95);
}

:where(.augur-nexus, .augur-nexus-tool) .site-action.move {
    background: rgba(34, 72, 64, 0.95);
}

:where(.augur-nexus, .augur-nexus-tool) .site-action-full {
    grid-column: 1 / -1;
}

:where(.augur-nexus, .augur-nexus-tool) .site-panel-footer-actions {
    margin-top: 8px;
}

:where(.augur-nexus, .augur-nexus-tool) .site-mode-action {
    width: 100%;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 8px;
    background: rgba(24, 27, 40, 0.96);
    color: #f4e6cf;
    font-weight: 700;
}

:where(.augur-nexus, .augur-nexus-tool) .site-edit-shell {
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
}

:where(.augur-nexus, .augur-nexus-tool) .site-edit-status {
    display: grid;
    gap: 6px;
}

:where(.augur-nexus, .augur-nexus-tool) .site-edit-selected,
:where(.augur-nexus, .augur-nexus-tool) .site-edit-empty {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    background: rgba(8, 10, 18, 0.85);
}

:where(.augur-nexus, .augur-nexus-tool) .site-edit-selected-thumb img {
    max-width: 24px;
    max-height: 24px;
}

:where(.augur-nexus, .augur-nexus-tool) .site-edit-selected-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

:where(.augur-nexus, .augur-nexus-tool) .site-edit-selected-copy strong,
:where(.augur-nexus, .augur-nexus-tool) .site-edit-selected-copy span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

:where(.augur-nexus, .augur-nexus-tool) .site-edit-selected-copy span,
:where(.augur-nexus, .augur-nexus-tool) .site-edit-empty span {
    color: #cbb28f;
    font-size: 11px;
}

:where(.augur-nexus, .augur-nexus-tool) .site-edit-empty i {
    color: #f0c84c;
}

:where(.augur-nexus, .augur-nexus-tool) .site-marker-style-editor {
    display: grid;
    gap: 8px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(240, 200, 76, 0.22);
}

:where(.augur-nexus, .augur-nexus-tool) .site-marker-style-editor .form-group {
    margin: 0;
}

:where(.augur-nexus, .augur-nexus-tool) .site-marker-style-editor .site-color-grid {
    grid-template-columns: repeat(8, minmax(24px, 1fr));
}

:where(.augur-nexus, .augur-nexus-tool) .site-panel-section-disabled {
    opacity: 0.62;
}

:where(.augur-nexus, .augur-nexus-tool) .site-panel-empty {
    text-align: center;
    padding: 24px 12px;
}

:where(.augur-nexus, .augur-nexus-tool) .site-icon-picker {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

:where(.augur-nexus, .augur-nexus-tool) .site-scene-picker {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

:where(.augur-nexus, .augur-nexus-tool) .site-icon-picker-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
}

:where(.augur-nexus, .augur-nexus-tool) .site-icon-picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

:where(.augur-nexus, .augur-nexus-tool) .site-icon-picker-role {
    font-weight: 700;
    color: #f0c84c;
}

:where(.augur-nexus, .augur-nexus-tool) .site-icon-picker-filter {
    margin-left: auto;
    flex: 0 0 auto;
}

:where(.augur-nexus, .augur-nexus-tool) .site-icon-picker-filter .checkbox {
    white-space: nowrap;
}

:where(.augur-nexus, .augur-nexus-tool) .site-icon-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin-bottom: 12px;
}

:where(.augur-nexus, .augur-nexus-tool) .site-icon-tab {
    min-height: 34px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 6px;
    background: rgba(44, 38, 49, 0.9);
    color: #e5d4bd;
    font-weight: 700;
}

:where(.augur-nexus, .augur-nexus-tool) .site-icon-tab.active {
    border-color: #ff6e4a;
    box-shadow: inset 0 0 0 1px rgba(255, 110, 74, 0.35);
}

:where(.augur-nexus, .augur-nexus-tool) .site-icon-custom-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

:where(.augur-nexus, .augur-nexus-tool) .site-icon-custom-folder {
    flex: 1 1 auto;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    background: rgba(12, 14, 22, 0.88);
    color: #cdb89a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

:where(.augur-nexus, .augur-nexus-tool) .site-icon-empty {
    margin-top: 12px;
    padding: 12px;
    border: 1px dashed rgba(255,255,255,0.12);
    border-radius: 8px;
    color: #bfa888;
    text-align: center;
}

:where(.augur-nexus, .augur-nexus-tool) .site-icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

:where(.augur-nexus, .augur-nexus-tool) .site-icon-card {
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    background: rgba(8, 10, 18, 0.85);
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

:where(.augur-nexus, .augur-nexus-tool) .site-icon-card:hover,
:where(.augur-nexus, .augur-nexus-tool) .site-icon-card:focus-visible {
    border-color: rgba(232, 190, 92, 0.45);
    box-shadow: 0 0 0 1px rgba(232, 190, 92, 0.2);
    transform: translateY(-1px);
    outline: none;
}

:where(.augur-nexus, .augur-nexus-tool) .site-icon-card.active {
    border-color: rgba(232, 190, 92, 0.72);
    box-shadow: 0 0 0 1px rgba(232, 190, 92, 0.28);
}

:where(.augur-nexus, .augur-nexus-tool) .site-icon-card-custom-file {
    border-color: rgba(255, 98, 54, 0.5);
    background: rgba(42, 25, 28, 0.72);
}

:where(.augur-nexus, .augur-nexus-tool) .site-icon-card-custom-file:hover,
:where(.augur-nexus, .augur-nexus-tool) .site-icon-card-custom-file:focus-visible {
    border-color: rgba(255, 98, 54, 0.88);
    box-shadow: 0 0 0 1px rgba(255, 98, 54, 0.26);
}

:where(.augur-nexus, .augur-nexus-tool) .site-icon-meta {
    margin-top: 4px;
    color: #cbb28f;
    font-size: 10px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.03em;
}

:where(.augur-nexus, .augur-nexus-tool) .site-icon-visual {
    height: 88px;
    display: grid;
    place-items: center;
    color: rgba(245, 227, 196, 0.78);
    font-size: 28px;
}

:where(.augur-nexus, .augur-nexus-tool) .site-icon-visual img {
    max-width: 72px;
    max-height: 72px;
}


:where(.augur-nexus, .augur-nexus-tool) .site-icon-card-folder .site-icon-folder-visual {
    color: #f5c84b;
    background: rgba(245, 200, 75, 0.12);
    border: 1px solid rgba(245, 200, 75, 0.25);
}

:where(.augur-nexus, .augur-nexus-tool) .site-icon-card-folder .site-icon-folder-visual i {
    font-size: 2rem;
}
:where(.augur-nexus, .augur-nexus-tool) .site-icon-card-custom-file .site-icon-custom-file-visual,
:where(.augur-nexus, .augur-nexus-tool) .site-icon-card-custom-file .site-icon-custom-file-visual i,
:where(.augur-nexus, .augur-nexus-tool) .site-icon-card-custom-file .site-icon-custom-file-visual i::before {
    color: #ffffff;
}

:where(.augur-nexus, .augur-nexus-tool) .site-icon-custom-file-visual i {
    font-size: 34px;
}

:where(.augur-nexus, .augur-nexus-tool) .npc-portrait-grid {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
}

:where(.augur-nexus, .augur-nexus-tool) button.npc-portrait-card {
    width: 100%;
    min-height: 0;
    display: block;
    color: #f8e7c7;
}

:where(.augur-nexus, .augur-nexus-tool) .npc-portrait-visual {
    height: 120px;
    margin-bottom: 8px;
    border-radius: 8px;
    background: rgba(2, 6, 11, 0.7);
    overflow: hidden;
}

:where(.augur-nexus, .augur-nexus-tool) .npc-portrait-visual img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
}

:where(.augur-nexus, .augur-nexus-tool) .site-scene-picker-search {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding: 0 2px;
}

:where(.augur-nexus, .augur-nexus-tool) .site-scene-picker-search i {
    color: #d7c39f;
    font-size: 18px;
    flex: 0 0 auto;
}

:where(.augur-nexus, .augur-nexus-tool) .site-scene-picker-search input {
    flex: 1 1 auto;
}

:where(.augur-nexus, .augur-nexus-tool) .site-scene-list {
    display: grid;
    flex: 1 1 auto;
    gap: 6px;
    align-content: start;
    grid-auto-rows: max-content;
    min-height: 0;
    overflow-y: auto;
}

:where(.augur-nexus, .augur-nexus-tool) .site-scene-picker-empty {
    padding: 24px 12px;
    color: #a99a84;
    text-align: center;
}
:where(.augur-nexus, .augur-nexus-tool) .site-scene-picker-branch-toggle {
    display: flex;
    flex: 0 0 auto;
    align-items: flex-start;
    gap: 9px;
    margin-top: 10px;
    padding: 9px 10px;
    border: 1px solid rgba(232, 190, 92, 0.28);
    border-radius: 6px;
    background: rgba(232, 190, 92, 0.07);
    cursor: pointer;
}

:where(.augur-nexus, .augur-nexus-tool) .site-scene-picker-branch-toggle input {
    flex: 0 0 auto;
    margin: 2px 0 0;
}

:where(.augur-nexus, .augur-nexus-tool) .site-scene-picker-branch-toggle span {
    display: grid;
    gap: 2px;
}

:where(.augur-nexus, .augur-nexus-tool) .site-scene-picker-branch-toggle strong {
    color: #ead7b6;
    font-size: 12px;
}

:where(.augur-nexus, .augur-nexus-tool) .site-scene-picker-branch-toggle small {
    color: #aa9b86;
    font-size: 11px;
    line-height: 1.3;
}

:where(.augur-nexus, .augur-nexus-tool) .site-scene-pill-descendants {
    color: #d9b861;
}
:where(.augur-nexus, .augur-nexus-tool) .site-scene-picker-explainer {
    display: flex;
    flex: 0 0 auto;
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
    padding: 9px 10px;
    border: 1px solid rgba(215, 195, 159, 0.22);
    border-radius: 6px;
    color: #cdbfaa;
    background: rgba(0, 0, 0, 0.18);
    font-size: 12px;
    line-height: 1.35;
}

:where(.augur-nexus, .augur-nexus-tool) .site-scene-picker-explainer i {
    margin-top: 2px;
    color: #d7c39f;
}
:where(.augur-nexus, .augur-nexus-tool) .site-scene-card {
    display: flex;
    margin: 0;
    padding: 0;
    cursor: pointer;
    outline: none;
}

:where(.augur-nexus, .augur-nexus-tool) .site-scene-card[hidden] {
    display: none;
}

:where(.augur-nexus, .augur-nexus-tool) .site-scene-pill {
    width: 100%;
    min-width: 0;
    height: 54px;
    border-color: rgba(255,255,255,0.1);
}

:where(.augur-nexus, .augur-nexus-tool) .site-scene-card:hover,
:where(.augur-nexus, .augur-nexus-tool) .site-scene-card:focus-visible {
    border-color: rgba(232, 190, 92, 0.45);
    box-shadow: 0 0 0 1px rgba(232, 190, 92, 0.2);
    transform: translateY(-1px);
}

:where(.augur-nexus, .augur-nexus-tool) .site-scene-card.active {
    border-color: rgba(232, 190, 92, 0.7);
    box-shadow: 0 0 0 1px rgba(232, 190, 92, 0.28);
}

:where(.augur-nexus, .augur-nexus-tool) .site-scene-pill .nexus-browser-pill-overlay {
    background: linear-gradient(90deg, rgba(5, 6, 11, 0.84), rgba(5, 6, 11, 0.38) 42%, rgba(5, 6, 11, 0.86));
}

:where(.augur-nexus, .augur-nexus-tool) .site-scene-pill .nexus-browser-pill-copy {
    gap: 2px;
}

:where(.augur-nexus, .augur-nexus-tool) .site-scene-pill .nexus-browser-pill-name {
    font-size: 14px;
}

:where(.augur-nexus, .augur-nexus-tool) .site-scene-pill-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

:where(.augur-nexus, .augur-nexus-tool) .site-scene-pill-folder {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #cbb28f;
    font-size: 10px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.03em;
}

:where(.augur-nexus, .augur-nexus-tool) .site-scene-card.active .site-scene-pill .nexus-browser-pill-type {
    color: #f0c84c;
}

:where(.augur-nexus, .augur-nexus-tool) .site-scene-card .site-scene-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: rgba(245, 227, 196, 0.7);
    font-size: 18px;
}

