/* Desolation of Smaug - Parchment Clean 2.2.2
   Accessibility-focused parchment edition.
   The parchment map is the only artwork retained from the source theme.
   Theme API 2.0 / legacy-compatible BPW body-class contract.
   All semantic colors are file-level defaults; administrator overrides may
   still layer above them through the Advanced Theme Editor. */

body.bpw-player-theme-smaug-parchment-clean .bpw-wrap{
    color-scheme:light;
    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
    font-size:16px;
    line-height:1.5;
    color:var(--bpw-theme-text,#2d241b);
    background-color:#e7d2aa;
    background-image:
        linear-gradient(180deg,rgba(255,250,240,.18),rgba(231,210,170,.10)),
        url("assets/us-parchment-map.jpg");
    background-repeat:no-repeat,repeat-y;
    background-position:center top,center top;
    background-size:100% 100%,100% auto;
    background-attachment:scroll,scroll;
    background-origin:border-box;
    background-clip:border-box;
    border:1px solid #67533e;
    border-radius:8px;
    box-shadow:0 2px 10px rgba(45,36,27,.16);
    overflow:visible;
}

/* BPW-FLATTENED-SEMANTIC-PALETTE:BEGIN */
/* Accessibility-first complete semantic palette (452 roles). */
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap{
    --bpw-theme-canvas:#e7d2aa;
    --bpw-theme-surface:#fffaf0;
    --bpw-theme-surface-alt:#f6ead4;
    --bpw-theme-surface-raised:#fffaf0;
    --bpw-theme-contrast-surface:#efe0c5;
    --bpw-theme-management-surface:#fffaf0;
    --bpw-theme-text:#2d241b;
    --bpw-theme-muted:#5f5143;
    --bpw-theme-heading:#1f1711;
    --bpw-theme-contrast-text:#2d241b;
    --bpw-theme-contrast-muted:#5f5143;
    --bpw-theme-contrast-heading:#1f1711;
    --bpw-theme-management-text:#2d241b;
    --bpw-theme-management-muted:#5f5143;
    --bpw-theme-management-heading:#1f1711;
    --bpw-theme-page-title:#1f1711;
    --bpw-theme-welcome-text:#35291f;
    --bpw-theme-welcome-name:#6d2f1f;
    --bpw-theme-accent:#1b5a67;
    --bpw-theme-accent-hover:#113e4a;
    --bpw-theme-accent-contrast:#fffaf0;
    --bpw-theme-border:#a89272;
    --bpw-theme-border-strong:#67533e;
    --bpw-theme-success:#2f6b3a;
    --bpw-theme-success-bg:#e0f0df;
    --bpw-theme-warning:#7a4b12;
    --bpw-theme-warning-bg:#fff0c9;
    --bpw-theme-danger:#8e2525;
    --bpw-theme-danger-bg:#f7dcdc;
    --bpw-theme-button-text:#fffaf0;
    --bpw-theme-button-text-hover:#fffaf0;
    --bpw-theme-text-action:#1b5a67;
    --bpw-theme-text-action-hover:#113e4a;
    --bpw-theme-icon-text:#493c30;
    --bpw-theme-icon-hover:#113e4a;
    --bpw-theme-danger-contrast:#fffaf0;
    --bpw-theme-city-selector-panel-surface:#fffaf0;
    --bpw-theme-city-selector-panel-heading:#1f1711;
    --bpw-theme-city-selector-card-surface:#efe0c5;
    --bpw-theme-city-selector-header-surface:#e8d7b9;
    --bpw-theme-city-selector-header-hover-surface:#ddc49b;
    --bpw-theme-city-selector-selected-header-surface:#dcebed;
    --bpw-theme-city-selector-heading:#1f1711;
    --bpw-theme-city-selector-text:#2d241b;
    --bpw-theme-city-selector-muted:#5f5143;
    --bpw-theme-city-selector-action:#1b5a67;
    --bpw-theme-city-selector-action-hover:#113e4a;
    --bpw-theme-city-selector-badge-surface:#efe0c5;
    --bpw-theme-city-selector-badge-text:#2d241b;
    --bpw-theme-city-selector-border:#a89272;
    --bpw-theme-city-selector-selected-border:#1b5a67;
    --bpw-theme-food-surface:#fffaf0;
    --bpw-theme-food-item-surface:#efe0c5;
    --bpw-theme-food-heading:#1f1711;
    --bpw-theme-food-label:#1f1711;
    --bpw-theme-food-text:#2d241b;
    --bpw-theme-food-value:#1f1711;
    --bpw-theme-food-muted:#5f5143;
    --bpw-theme-food-action:#1b5a67;
    --bpw-theme-food-action-hover:#113e4a;
    --bpw-theme-food-badge-text:#1f1711;
    --bpw-theme-food-border:#a89272;
    --bpw-theme-selected-city-surface:#fffaf0;
    --bpw-theme-selected-city-heading:#1f1711;
    --bpw-theme-selected-city-label:#1f1711;
    --bpw-theme-selected-city-text:#2d241b;
    --bpw-theme-selected-city-muted:#5f5143;
    --bpw-theme-selected-city-link:#1b5a67;
    --bpw-theme-selected-city-link-hover:#113e4a;
    --bpw-theme-selected-city-control-surface:#efe0c5;
    --bpw-theme-selected-city-control-text:#2d241b;
    --bpw-theme-selected-city-action:#fffaf0;
    --bpw-theme-selected-city-action-hover:#fffaf0;
    --bpw-theme-selected-city-border:#a89272;
    --bpw-theme-unit-notice-surface:#efe0c5;
    --bpw-theme-unit-notice-heading:#1f1711;
    --bpw-theme-unit-notice-text:#2d241b;
    --bpw-theme-unit-notice-border:#a89272;
    --bpw-theme-command-tab-surface:#f6ead4;
    --bpw-theme-command-tab-text:#1f1711;
    --bpw-theme-command-tab-active-surface:#dcebed;
    --bpw-theme-command-tab-active-text:#1f1711;
    --bpw-theme-command-tab-border:#1b5a67;
    --bpw-theme-tax-surface:#fffaf0;
    --bpw-theme-tax-heading:#1f1711;
    --bpw-theme-tax-text:#2d241b;
    --bpw-theme-tax-muted:#5f5143;
    --bpw-theme-tax-label:#1f1711;
    --bpw-theme-tax-value:#1f1711;
    --bpw-theme-tax-control-surface:#fffaf0;
    --bpw-theme-tax-control-text:#2d241b;
    --bpw-theme-tax-action:#fffaf0;
    --bpw-theme-tax-action-hover:#fffaf0;
    --bpw-theme-tax-border:#a89272;
    --bpw-theme-convoy-surface:#fffaf0;
    --bpw-theme-convoy-item-surface:#f6ead4;
    --bpw-theme-convoy-heading:#1f1711;
    --bpw-theme-convoy-text:#2d241b;
    --bpw-theme-convoy-muted:#5f5143;
    --bpw-theme-convoy-link:#1b5a67;
    --bpw-theme-convoy-link-hover:#113e4a;
    --bpw-theme-convoy-table-heading-surface:#f6ead4;
    --bpw-theme-convoy-table-heading-text:#1f1711;
    --bpw-theme-convoy-row-surface:#fffaf0;
    --bpw-theme-convoy-row-alt-surface:#f6ead4;
    --bpw-theme-convoy-row-text:#2d241b;
    --bpw-theme-convoy-value:#1f1711;
    --bpw-theme-convoy-action-row-surface:#efe0c5;
    --bpw-theme-convoy-details-surface:#f6ead4;
    --bpw-theme-convoy-progress-surface:#efe0c5;
    --bpw-theme-convoy-progress-text:#1f1711;
    --bpw-theme-convoy-control-surface:#fffaf0;
    --bpw-theme-convoy-control-text:#2d241b;
    --bpw-theme-convoy-action-surface:#1b5a67;
    --bpw-theme-convoy-action-hover-surface:#113e4a;
    --bpw-theme-convoy-action-text:#fffaf0;
    --bpw-theme-convoy-action-hover-text:#fffaf0;
    --bpw-theme-convoy-danger-surface:#8e2525;
    --bpw-theme-convoy-danger-text:#fffaf0;
    --bpw-theme-convoy-notice-surface:#fff0c9;
    --bpw-theme-convoy-notice-text:#7a4b12;
    --bpw-theme-convoy-border:#a89272;
    --bpw-theme-convoy-form-surface:#fffaf0;
    --bpw-theme-convoy-form-heading:#1f1711;
    --bpw-theme-convoy-form-text:#2d241b;
    --bpw-theme-convoy-form-muted:#5f5143;
    --bpw-theme-convoy-form-label:#1f1711;
    --bpw-theme-convoy-form-control-surface:#fffaf0;
    --bpw-theme-convoy-form-control-text:#2d241b;
    --bpw-theme-convoy-form-table-heading-surface:#f6ead4;
    --bpw-theme-convoy-form-table-heading-text:#1f1711;
    --bpw-theme-convoy-form-row-surface:#fffaf0;
    --bpw-theme-convoy-form-row-alt-surface:#f6ead4;
    --bpw-theme-convoy-form-row-text:#2d241b;
    --bpw-theme-convoy-form-value:#1f1711;
    --bpw-theme-convoy-form-shortcut-surface:#efe0c5;
    --bpw-theme-convoy-form-shortcut-hover-surface:#1b5a67;
    --bpw-theme-convoy-form-shortcut-text:#1b5a67;
    --bpw-theme-convoy-form-shortcut-hover-text:#fffaf0;
    --bpw-theme-convoy-form-action-surface:#1b5a67;
    --bpw-theme-convoy-form-action-hover-surface:#113e4a;
    --bpw-theme-convoy-form-action-text:#fffaf0;
    --bpw-theme-convoy-form-action-hover-text:#fffaf0;
    --bpw-theme-convoy-form-notice-surface:#fff0c9;
    --bpw-theme-convoy-form-notice-text:#7a4b12;
    --bpw-theme-convoy-form-border:#a89272;
    --bpw-theme-quick-move-surface:#fffaf0;
    --bpw-theme-quick-move-header-surface:#f6ead4;
    --bpw-theme-quick-move-heading:#1f1711;
    --bpw-theme-quick-move-text:#2d241b;
    --bpw-theme-quick-move-muted:#5f5143;
    --bpw-theme-quick-move-origin-surface:#efe0c5;
    --bpw-theme-quick-move-choice-surface:#f6ead4;
    --bpw-theme-quick-move-choice-active-surface:#e0f0df;
    --bpw-theme-quick-move-choice-text:#2d241b;
    --bpw-theme-quick-move-choice-active-text:#1f1711;
    --bpw-theme-quick-move-unit-heading-surface:#f6ead4;
    --bpw-theme-quick-move-unit-heading-text:#1f1711;
    --bpw-theme-quick-move-unit-surface:#fffaf0;
    --bpw-theme-quick-move-unit-alt-surface:#f6ead4;
    --bpw-theme-quick-move-unit-text:#2d241b;
    --bpw-theme-quick-move-unit-value:#1f1711;
    --bpw-theme-quick-move-control-surface:#fffaf0;
    --bpw-theme-quick-move-control-text:#2d241b;
    --bpw-theme-quick-move-action-surface:#1b5a67;
    --bpw-theme-quick-move-action-hover-surface:#113e4a;
    --bpw-theme-quick-move-action-text:#fffaf0;
    --bpw-theme-quick-move-action-hover-text:#fffaf0;
    --bpw-theme-quick-move-warning-surface:#f7dcdc;
    --bpw-theme-quick-move-warning-text:#8e2525;
    --bpw-theme-quick-move-border:#a89272;
    --bpw-theme-waypoint-surface:#fffaf0;
    --bpw-theme-waypoint-item-surface:#f6ead4;
    --bpw-theme-waypoint-heading:#1f1711;
    --bpw-theme-waypoint-text:#2d241b;
    --bpw-theme-waypoint-muted:#5f5143;
    --bpw-theme-waypoint-label:#1f1711;
    --bpw-theme-waypoint-control-surface:#fffaf0;
    --bpw-theme-waypoint-control-text:#2d241b;
    --bpw-theme-waypoint-action-surface:#1b5a67;
    --bpw-theme-waypoint-action-hover-surface:#113e4a;
    --bpw-theme-waypoint-action-text:#fffaf0;
    --bpw-theme-waypoint-action-hover-text:#fffaf0;
    --bpw-theme-waypoint-table-heading-surface:#f6ead4;
    --bpw-theme-waypoint-table-heading-text:#1f1711;
    --bpw-theme-waypoint-row-surface:#fffaf0;
    --bpw-theme-waypoint-row-alt-surface:#f6ead4;
    --bpw-theme-waypoint-row-text:#2d241b;
    --bpw-theme-waypoint-value:#1f1711;
    --bpw-theme-waypoint-notice-surface:#e0f0df;
    --bpw-theme-waypoint-notice-text:#2f6b3a;
    --bpw-theme-waypoint-border:#a89272;
    --bpw-theme-map-window-surface:#fffaf0;
    --bpw-theme-map-header-surface:#ead8b9;
    --bpw-theme-map-header-heading:#1f1711;
    --bpw-theme-map-header-text:#5f5143;
    --bpw-theme-map-close-surface:#efe0c5;
    --bpw-theme-map-close-text:#8e2525;
    --bpw-theme-map-close-hover-surface:#8e2525;
    --bpw-theme-map-close-hover-text:#fffaf0;
    --bpw-theme-map-switch-surface:#f6ead4;
    --bpw-theme-map-switch-heading:#1f1711;
    --bpw-theme-map-switch-text:#5f5143;
    --bpw-theme-map-switch-badge-surface:#efe0c5;
    --bpw-theme-map-switch-badge-text:#1f1711;
    --bpw-theme-map-switch-active-surface:#1b5a67;
    --bpw-theme-map-switch-active-text:#fffaf0;
    --bpw-theme-map-window-border:#a89272;
    --bpw-theme-map-control-surface:#f6ead4;
    --bpw-theme-map-control-heading:#1f1711;
    --bpw-theme-map-control-text:#2d241b;
    --bpw-theme-map-control-muted:#5f5143;
    --bpw-theme-map-control-input-surface:#fffaf0;
    --bpw-theme-map-control-input-text:#2d241b;
    --bpw-theme-map-control-action-surface:#1b5a67;
    --bpw-theme-map-control-action-hover-surface:#113e4a;
    --bpw-theme-map-control-action-text:#fffaf0;
    --bpw-theme-map-control-action-hover-text:#fffaf0;
    --bpw-theme-map-control-border:#a89272;
    --bpw-theme-map-stage-surface:#e3d0ae;
    --bpw-theme-map-scale-surface:#efe0c5;
    --bpw-theme-map-scale-text:#2d241b;
    --bpw-theme-map-selection-surface:#efe0c5;
    --bpw-theme-map-selection-text:#2d241b;
    --bpw-theme-map-selection-border:#1b5a67;
    --bpw-theme-map-city-owned:#2f6b3a;
    --bpw-theme-map-city-other:#9b2c2c;
    --bpw-theme-map-choke-marker:#6b3f82;
    --bpw-theme-map-choke-label:#543069;
    --bpw-theme-map-road-common:#776957;
    --bpw-theme-map-road-primary:#7b5738;
    --bpw-theme-map-road-interstate:#fffdf8;
    --bpw-theme-map-road-interstate-casing:#1b5a67;
    --bpw-theme-map-road-player-built:#6b3f82;
    --bpw-theme-map-route-label:#1f1711;
    --bpw-theme-map-distance-label:#1f1711;
    --bpw-theme-map-region-line:#a59376;
    --bpw-theme-map-region-label:#493c30;
    --bpw-theme-map-isolated-ring:#b93030;
    --bpw-theme-map-pending-ring:#a35c0a;
    --bpw-theme-map-hint-color:#1f1711;
    --bpw-theme-map-hint-surface:#fffaf0;
    --bpw-theme-map-classic-control-surface:#fffaf0;
    --bpw-theme-map-classic-control-heading:#1f1711;
    --bpw-theme-map-classic-control-text:#2d241b;
    --bpw-theme-map-classic-pan-help:#5f5143;
    --bpw-theme-map-classic-focus-help:#5f5143;
    --bpw-theme-map-classic-explainer-text:#5f5143;
    --bpw-theme-map-classic-control-input-surface:#fffaf0;
    --bpw-theme-map-classic-control-input-text:#2d241b;
    --bpw-theme-map-classic-control-action-surface:#1b5a67;
    --bpw-theme-map-classic-control-action-hover-surface:#113e4a;
    --bpw-theme-map-classic-control-action-text:#fffaf0;
    --bpw-theme-map-classic-control-action-hover-text:#fffaf0;
    --bpw-theme-map-classic-control-border:#a89272;
    --bpw-theme-map-classic-stage-surface:#e3d0ae;
    --bpw-theme-map-classic-scale-surface:#efe0c5;
    --bpw-theme-map-classic-scale-text:#2d241b;
    --bpw-theme-map-classic-selection-surface:#efe0c5;
    --bpw-theme-map-classic-selection-text:#2d241b;
    --bpw-theme-map-classic-selection-border:#1b5a67;
    --bpw-theme-map-classic-city-owned:#2f6b3a;
    --bpw-theme-map-classic-city-other:#9b2c2c;
    --bpw-theme-map-classic-choke-marker:#6b3f82;
    --bpw-theme-map-classic-choke-label:#543069;
    --bpw-theme-map-classic-road-common:#776957;
    --bpw-theme-map-classic-road-primary:#7b5738;
    --bpw-theme-map-classic-road-interstate:#fffdf8;
    --bpw-theme-map-classic-road-interstate-casing:#1b5a67;
    --bpw-theme-map-classic-road-player-built:#6b3f82;
    --bpw-theme-map-classic-route-label:#1f1711;
    --bpw-theme-map-classic-distance-label:#1f1711;
    --bpw-theme-map-classic-region-line:#a59376;
    --bpw-theme-map-classic-region-label:#493c30;
    --bpw-theme-map-classic-isolated-ring:#b93030;
    --bpw-theme-map-classic-pending-ring:#a35c0a;
    --bpw-theme-map-classic-hint-color:#1f1711;
    --bpw-theme-map-classic-hint-surface:#fffaf0;
    --bpw-theme-map-stylized-control-surface:#fffaf0;
    --bpw-theme-map-stylized-control-heading:#1f1711;
    --bpw-theme-map-stylized-control-text:#2d241b;
    --bpw-theme-map-stylized-pan-help:#5f5143;
    --bpw-theme-map-stylized-focus-help:#5f5143;
    --bpw-theme-map-stylized-explainer-text:#5f5143;
    --bpw-theme-map-stylized-control-input-surface:#fffaf0;
    --bpw-theme-map-stylized-control-input-text:#2d241b;
    --bpw-theme-map-stylized-control-action-surface:#1b5a67;
    --bpw-theme-map-stylized-control-action-hover-surface:#113e4a;
    --bpw-theme-map-stylized-control-action-text:#fffaf0;
    --bpw-theme-map-stylized-control-action-hover-text:#fffaf0;
    --bpw-theme-map-stylized-control-border:#a89272;
    --bpw-theme-map-stylized-stage-surface:#e3d0ae;
    --bpw-theme-map-stylized-scale-surface:#efe0c5;
    --bpw-theme-map-stylized-scale-text:#2d241b;
    --bpw-theme-map-stylized-selection-surface:#efe0c5;
    --bpw-theme-map-stylized-selection-text:#2d241b;
    --bpw-theme-map-stylized-selection-border:#1b5a67;
    --bpw-theme-map-stylized-city-owned:#2f6b3a;
    --bpw-theme-map-stylized-city-other:#9b2c2c;
    --bpw-theme-map-stylized-choke-marker:#6b3f82;
    --bpw-theme-map-stylized-choke-label:#543069;
    --bpw-theme-map-stylized-road-common:#776957;
    --bpw-theme-map-stylized-road-primary:#7b5738;
    --bpw-theme-map-stylized-road-interstate:#fffdf8;
    --bpw-theme-map-stylized-road-interstate-casing:#1b5a67;
    --bpw-theme-map-stylized-road-player-built:#6b3f82;
    --bpw-theme-map-stylized-route-label:#1f1711;
    --bpw-theme-map-stylized-distance-label:#1f1711;
    --bpw-theme-map-stylized-region-line:#a59376;
    --bpw-theme-map-stylized-region-label:#493c30;
    --bpw-theme-map-stylized-isolated-ring:#b93030;
    --bpw-theme-map-stylized-pending-ring:#a35c0a;
    --bpw-theme-map-stylized-hint-color:#1f1711;
    --bpw-theme-map-stylized-hint-surface:#fffaf0;
    --bpw-theme-choke-surface:#fffaf0;
    --bpw-theme-choke-item-surface:#f6ead4;
    --bpw-theme-choke-heading:#1f1711;
    --bpw-theme-choke-text:#2d241b;
    --bpw-theme-choke-muted:#5f5143;
    --bpw-theme-choke-link:#1b5a67;
    --bpw-theme-choke-link-hover:#113e4a;
    --bpw-theme-choke-access-surface:#efe0c5;
    --bpw-theme-choke-access-heading:#1f1711;
    --bpw-theme-choke-access-text:#2d241b;
    --bpw-theme-choke-access-muted:#5f5143;
    --bpw-theme-choke-control-surface:#fffaf0;
    --bpw-theme-choke-control-text:#2d241b;
    --bpw-theme-choke-action-surface:#1b5a67;
    --bpw-theme-choke-action-hover-surface:#113e4a;
    --bpw-theme-choke-action-text:#fffaf0;
    --bpw-theme-choke-action-hover-text:#fffaf0;
    --bpw-theme-choke-table-heading-surface:#f6ead4;
    --bpw-theme-choke-table-heading-text:#1f1711;
    --bpw-theme-choke-row-surface:#fffaf0;
    --bpw-theme-choke-row-alt-surface:#f6ead4;
    --bpw-theme-choke-row-text:#2d241b;
    --bpw-theme-choke-value:#1f1711;
    --bpw-theme-choke-notice-surface:#e0f0df;
    --bpw-theme-choke-notice-text:#2f6b3a;
    --bpw-theme-choke-danger:#8e2525;
    --bpw-theme-choke-border:#a89272;
    --bpw-theme-road-builder-surface:#fffaf0;
    --bpw-theme-road-builder-heading:#1f1711;
    --bpw-theme-road-builder-text:#2d241b;
    --bpw-theme-road-builder-muted:#5f5143;
    --bpw-theme-road-builder-table-heading-surface:#f6ead4;
    --bpw-theme-road-builder-table-heading-text:#1f1711;
    --bpw-theme-road-builder-row-surface:#fffaf0;
    --bpw-theme-road-builder-row-alt-surface:#f6ead4;
    --bpw-theme-road-builder-row-text:#2d241b;
    --bpw-theme-road-builder-value:#1f1711;
    --bpw-theme-road-builder-action-surface:#1b5a67;
    --bpw-theme-road-builder-action-hover-surface:#113e4a;
    --bpw-theme-road-builder-action-text:#fffaf0;
    --bpw-theme-road-builder-action-hover-text:#fffaf0;
    --bpw-theme-road-builder-danger-surface:#8e2525;
    --bpw-theme-road-builder-danger-text:#fffaf0;
    --bpw-theme-road-builder-notice-surface:#e0f0df;
    --bpw-theme-road-builder-notice-text:#2f6b3a;
    --bpw-theme-road-builder-border:#a89272;
    --bpw-theme-league-surface:#fffaf0;
    --bpw-theme-league-item-surface:#f6ead4;
    --bpw-theme-league-heading:#1f1711;
    --bpw-theme-league-text:#2d241b;
    --bpw-theme-league-muted:#5f5143;
    --bpw-theme-league-link:#1b5a67;
    --bpw-theme-league-link-hover:#113e4a;
    --bpw-theme-league-control-surface:#fffaf0;
    --bpw-theme-league-control-text:#2d241b;
    --bpw-theme-league-action-surface:#1b5a67;
    --bpw-theme-league-action-hover-surface:#113e4a;
    --bpw-theme-league-action-text:#fffaf0;
    --bpw-theme-league-action-hover-text:#fffaf0;
    --bpw-theme-league-badge-surface:#efe0c5;
    --bpw-theme-league-badge-text:#1f1711;
    --bpw-theme-league-border:#a89272;
    --bpw-theme-league-directory-window-surface:#fffaf0;
    --bpw-theme-league-directory-header-surface:#f6ead4;
    --bpw-theme-league-directory-header-heading:#1f1711;
    --bpw-theme-league-directory-header-text:#5f5143;
    --bpw-theme-league-directory-close-surface:#1b5a67;
    --bpw-theme-league-directory-close-text:#fffaf0;
    --bpw-theme-league-directory-body-surface:#fffaf0;
    --bpw-theme-league-directory-hero-surface:#f6ead4;
    --bpw-theme-league-directory-hero-heading:#1f1711;
    --bpw-theme-league-directory-hero-text:#2d241b;
    --bpw-theme-league-directory-summary-surface:#efe0c5;
    --bpw-theme-league-directory-summary-value:#1f1711;
    --bpw-theme-league-directory-summary-label:#5f5143;
    --bpw-theme-league-directory-card-surface:#f6ead4;
    --bpw-theme-league-directory-current-card-surface:#fffaf0;
    --bpw-theme-league-directory-card-heading:#1f1711;
    --bpw-theme-league-directory-card-text:#2d241b;
    --bpw-theme-league-directory-card-muted:#5f5143;
    --bpw-theme-league-directory-emblem-surface:#1b5a67;
    --bpw-theme-league-directory-emblem-text:#fffaf0;
    --bpw-theme-league-directory-badge-surface:#efe0c5;
    --bpw-theme-league-directory-badge-text:#1f1711;
    --bpw-theme-league-directory-current-badge-surface:#1b5a67;
    --bpw-theme-league-directory-current-badge-text:#fffaf0;
    --bpw-theme-league-directory-meta-surface:#efe0c5;
    --bpw-theme-league-directory-meta-label:#5f5143;
    --bpw-theme-league-directory-meta-value:#1f1711;
    --bpw-theme-league-directory-action-surface:#1b5a67;
    --bpw-theme-league-directory-action-hover-surface:#113e4a;
    --bpw-theme-league-directory-action-text:#fffaf0;
    --bpw-theme-league-directory-action-hover-text:#fffaf0;
    --bpw-theme-league-directory-border:#a89272;
    --bpw-theme-league-chat-surface:#fffaf0;
    --bpw-theme-league-chat-header-surface:#f6ead4;
    --bpw-theme-league-chat-heading:#1f1711;
    --bpw-theme-league-chat-message-surface:#f6ead4;
    --bpw-theme-league-chat-author:#1f1711;
    --bpw-theme-league-chat-text:#2d241b;
    --bpw-theme-league-chat-muted:#5f5143;
    --bpw-theme-league-chat-control-surface:#fffaf0;
    --bpw-theme-league-chat-control-text:#2d241b;
    --bpw-theme-league-chat-notice-surface:#e0f0df;
    --bpw-theme-league-chat-notice-text:#2f6b3a;
    --bpw-theme-league-chat-notice-border:#2f6b3a;
    --bpw-theme-league-chat-error-surface:#f7dcdc;
    --bpw-theme-league-chat-error-text:#8e2525;
    --bpw-theme-league-chat-error-border:#8e2525;
    --bpw-theme-league-chat-action-surface:#1b5a67;
    --bpw-theme-league-chat-action-hover-surface:#113e4a;
    --bpw-theme-league-chat-action-text:#fffaf0;
    --bpw-theme-league-chat-action-hover-text:#fffaf0;
    --bpw-theme-league-chat-border:#a89272;
    --bpw-theme-rankings-window-surface:#fffaf0;
    --bpw-theme-rankings-header-surface:#1f1711;
    --bpw-theme-rankings-header-text:#fffaf0;
    --bpw-theme-rankings-body-surface:#fffaf0;
    --bpw-theme-rankings-summary-text:#2d241b;
    --bpw-theme-rankings-updated-text:#5f5143;
    --bpw-theme-rankings-table-surface:#fffaf0;
    --bpw-theme-rankings-table-header-surface:#f6ead4;
    --bpw-theme-rankings-table-header-text:#1f1711;
    --bpw-theme-rankings-row-surface:#fffaf0;
    --bpw-theme-rankings-row-text:#2d241b;
    --bpw-theme-rankings-player-name:#1f1711;
    --bpw-theme-rankings-value:#1f1711;
    --bpw-theme-rankings-territory-text:#5f5143;
    --bpw-theme-rankings-current-surface:#dcebed;
    --bpw-theme-rankings-you-surface:#d7eaec;
    --bpw-theme-rankings-you-text:#113e4a;
    --bpw-theme-rankings-notice-surface:#f6ead4;
    --bpw-theme-rankings-notice-text:#2d241b;
    --bpw-theme-rankings-error-surface:#f7dcdc;
    --bpw-theme-rankings-error-text:#8e2525;
    --bpw-theme-rankings-border:#a89272;
    --bpw-theme-rankings-close-text:#fffaf0;
    --bpw-theme-rankings-close-hover:#fffaf0;
    --bpw-theme-shadow:0 2px 8px rgba(17,24,39,.10);
    --bpw-theme-radius:6px;
}
/* BPW-FLATTENED-SEMANTIC-PALETTE:END */


/* Keep the parchment visible as atmosphere while primary UI text remains
   on high-readability semantic surfaces. No decorative SVG textures are used. */
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-command-center-header{
    /* This is a standalone main-panel surface, so it owns the semantic fill. */
    background:var(--bpw-theme-surface,#fffaf0);
    border-color:var(--bpw-theme-border,#a89272);
}

body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-empire-summary-player-actions{
    /* The quick-action row lives inside .bpw-empire-summary, which already owns
       the Main panels surface. Do not composite the same translucent surface a
       second time: transparent lets the parent's exact opacity show through. */
    background:transparent!important;
    background-image:none!important;
}

body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-command-center-header{
    padding:10px 12px;
    border:1px solid var(--bpw-theme-border,#a89272);
    border-radius:6px;
}

body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-command-center-header h1,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-command-center-header h2,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-command-center-header h3{
    color:var(--bpw-theme-page-title,#1f1711);
}

/* -------------------------------------------------------------------------
   Readability and accessibility refinements
   ------------------------------------------------------------------------- */

body.bpw-player-theme-smaug-parchment-clean .bpw-wrap ::selection{
    background:#1b5a67;
    color:#fffaf0;
}

body.bpw-player-theme-smaug-parchment-clean .bpw-wrap h1,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap h2,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap h3,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap h4,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap h5,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap h6,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap summary,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap legend{
    text-shadow:none;
    letter-spacing:normal;
    line-height:1.25;
}

body.bpw-player-theme-smaug-parchment-clean .bpw-wrap p,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap li,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap td,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap label{
    line-height:1.5;
}

body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-card,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-player-subsection,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-player-subsection-body,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-notification-item,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-modal-content,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-modal-card,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap fieldset,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap details.bpw-card,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap [class*="-summary-card"],
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap [class*="-status-item"]{
    background-image:none;
    box-shadow:none;
}

body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-player-subsection > summary,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-collapsible-ui > summary,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap details.bpw-card > summary{
    background-image:none;
    text-shadow:none;
}

body.bpw-player-theme-smaug-parchment-clean .bpw-wrap table{
    border-collapse:collapse;
}

body.bpw-player-theme-smaug-parchment-clean .bpw-wrap th,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap td{
    background-image:none;
    vertical-align:top;
}

body.bpw-player-theme-smaug-parchment-clean .bpw-wrap th{
    font-weight:700;
}

body.bpw-player-theme-smaug-parchment-clean .bpw-wrap input:not([type="checkbox"]):not([type="radio"]),
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap select,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap textarea{
    min-height:40px;
    font:inherit;
    line-height:1.35;
    background-image:none;
    border-radius:5px;
}

body.bpw-player-theme-smaug-parchment-clean .bpw-wrap textarea{
    min-height:88px;
}

body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .button,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap button,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap input[type="submit"],
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap input[type="button"],
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap a.bpw-profile-button,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-command-tab{
    min-height:40px;
    background-image:none!important;
    border-radius:6px!important;
    box-shadow:none!important;
    filter:none!important;
    text-shadow:none!important;
    letter-spacing:normal!important;
    text-transform:none;
    font-weight:600;
}

body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-command-tools-grid > *,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-command-tools-grid .bpw-devcom-command-widget,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-command-tools-grid .bpw-moderator-console-widget,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-command-tools-grid .bpw-league-chat-widget,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-command-tools-grid .bpw-league-directory-widget,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-command-tools-grid .bpw-notifications-widget,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-command-tools-grid .bpw-player-activity-log-widget,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-command-tools-grid .bpw-rankings-widget,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-command-tools-grid .bpw-player-messages-widget{
    min-height:44px!important;
    height:auto!important;
}

body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-command-tools-grid > .bpw-profile-button,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-command-tools-grid > .bpw-new-player-faq-button,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-command-tools-grid .bpw-devcom-open-button,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-command-tools-grid .bpw-moderator-console-open-button,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-command-tools-grid .bpw-league-chat-open-button,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-command-tools-grid .bpw-league-directory-open-button,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-command-tools-grid .bpw-notifications-real-button,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-command-tools-grid .bpw-player-activity-log-button,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-command-tools-grid .bpw-rankings-open-button,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-command-tools-grid .bpw-messages-button,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-command-tools-grid > .bpw-command-road-map-button{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    min-height:44px!important;
    height:auto!important;
    padding:8px 10px!important;
    font-size:14px!important;
    line-height:1.2!important;
    overflow-wrap:anywhere;
    word-break:normal!important;
    hyphens:auto;
    background-image:none!important;
}

body.bpw-player-theme-smaug-parchment-clean .bpw-wrap a:not(.button):not(.bpw-profile-button){
    text-decoration-thickness:.08em;
    text-underline-offset:.16em;
}

body.bpw-player-theme-smaug-parchment-clean .bpw-wrap a:focus-visible,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap button:focus-visible,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap input:focus-visible,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap select:focus-visible,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap textarea:focus-visible,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap summary:focus-visible,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap [tabindex]:focus-visible{
    outline:3px solid #0d6374!important;
    outline-offset:2px!important;
}

body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-message,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .notice-success,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-error,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .notice-error,
body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .notice-warning{
    background-image:none;
    box-shadow:none;
}

@media (max-width:560px){
    body.bpw-player-theme-smaug-parchment-clean .bpw-wrap{
        font-size:16px;
        border-radius:4px;
    }
    body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-command-tools-grid > .bpw-profile-button,
    body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-command-tools-grid > .bpw-new-player-faq-button,
    body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-command-tools-grid .bpw-devcom-open-button,
    body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-command-tools-grid .bpw-moderator-console-open-button,
    body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-command-tools-grid .bpw-league-chat-open-button,
    body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-command-tools-grid .bpw-league-directory-open-button,
    body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-command-tools-grid .bpw-notifications-real-button,
    body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-command-tools-grid .bpw-player-activity-log-button,
    body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-command-tools-grid .bpw-rankings-open-button,
    body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-command-tools-grid .bpw-messages-button,
    body.bpw-player-theme-smaug-parchment-clean .bpw-wrap .bpw-command-tools-grid > .bpw-command-road-map-button{
        font-size:14px!important;
        line-height:1.25!important;
    }
}

@media (prefers-reduced-motion:reduce){
    body.bpw-player-theme-smaug-parchment-clean .bpw-wrap *,
    body.bpw-player-theme-smaug-parchment-clean .bpw-wrap *::before,
    body.bpw-player-theme-smaug-parchment-clean .bpw-wrap *::after{
        scroll-behavior:auto!important;
        transition-duration:.01ms!important;
        animation-duration:.01ms!important;
        animation-iteration-count:1!important;
    }
}

@media (prefers-contrast:more){
    body.bpw-player-theme-smaug-parchment-clean .bpw-wrap{
        border-width:2px;
    }
    body.bpw-player-theme-smaug-parchment-clean .bpw-wrap a:not(.button):not(.bpw-profile-button){
        text-decoration-thickness:2px;
    }
}
