/* One shared palette, loaded last so legacy cream panels cannot override it. */
html.local-dark-gold{color-scheme:dark;--app-bg:#080e0c!important;--surface:#111b17!important;--surface-alt:#17241d!important;--ink:#f4f1e6!important;--ink-soft:#e2ddce!important;--muted:#b8c3b7!important;--border:#8e7545!important;--input-border:#8e7545!important;--accent:#e4c277;--accent-soft:#30291b;--accent-on:#101710;--tlp-bg:#080e0c!important;--tlp-surface:#111b17!important;--tlp-surface2:#17241d!important;--tlp-border:#a98a4c77!important;--local-line:#a98a4c88;--local-surface:#111b17;--local-ink:#f4f1e6;--local-soft:#b8c3b7}
html.local-dark-gold,html.local-dark-gold body{background:#080e0c!important;color:#f4f1e6!important}
html.local-dark-gold body :is(.panel,.card,.item,.tile,.feature-card,.guest-card,.guest-feature,.tl149-panel,.tl149-feature,.tl195-card,.tl195-item,.local-feed-post,.local-compose-card,.market-card,.market-card-body,.market-detail,.market-compose,.market-filters,.trade-card,.venue-card,.owner-stat,.owner-actions,.owner-list-item,.owner-workspace-content,.vb-panel,.enquiry,.local-options,.private-chat-actions form,.member-notifications section,.chat-room-list button):not(.vb-public *,.venue-app-preview *,.tl149-venue-preview *,#game-root *,.online-board *){background:#111b17!important;color:#f4f1e6!important;border:1px solid #a98a4c88!important;box-shadow:0 8px 24px #0003!important}
html.local-dark-gold body #view .local50-page-body,html.local-dark-gold body #view .local50-page-body :is(.panel,.card,.item,fieldset,.modal,.dialog){background:#111b17!important;color:#f4f1e6!important;border-color:#a98a4c99!important}
html.local-dark-gold body :is(.panel,.card,.item,.local-feed-post,.local-compose-card,.guest-card,.guest-feature,.market-card,.market-detail,.tl195-card,.member-messenger) :is(h1,h2,h3,h4,strong,label,p,small):not(.vb-public *,.venue-app-preview *,.tl149-venue-preview *,#game-root *,.online-board *){color:inherit!important}
html.local-dark-gold body :is(.panel,.card,.item,.local-feed-post,.guest-card,.market-card) :is(h1,h2,h3,h4):not(.vb-public *,.venue-app-preview *,.tl149-venue-preview *,#game-root *,.online-board *){color:#edcf8b!important}
html.local-dark-gold body :is(.muted,small,.local-post-meta,.tl195-empty):not(.vb-public *,.venue-app-preview *,.tl149-venue-preview *,#game-root *,.online-board *){color:#b8c3b7!important;opacity:1!important}
html.local-dark-gold body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea):not(.vb-public *,.venue-app-preview *,.tl149-venue-preview *,#game-root *,.online-board *){background:#0a120e!important;color:#f4f1e6!important;border:1px solid #9b8050!important}
html.local-dark-gold body ::placeholder{color:#aeb8ac!important;opacity:1}
html.local-dark-gold body :is(button,.guest-button,.tl149-action,.share-action):not(.theme-choice):not(.game-cell):not(.square):not(.vb-public *,.venue-app-preview *,.tl149-venue-preview *,#game-root *,.online-board *){background:#19271f!important;color:#efd28c!important;border:1px solid #a98a4c99!important;box-shadow:none!important}
html.local-dark-gold body :is(button[type=submit],#publishLocalPost,#tl-auth-submit,#tl-continue-guest):not(.vb-public *,.venue-app-preview *,.tl149-venue-preview *,#game-root *,.online-board *){background:#ddbb70!important;color:#10170f!important;border-color:#efd28c!important}
html.local-dark-gold body :is(a,summary):not(.vb-public *,.venue-app-preview *,.tl149-venue-preview *,#game-root *,.online-board *){color:#edcf8b}
html.local-dark-gold body :is(button,a,summary,input,textarea,select):focus-visible:not(.vb-public *,.venue-app-preview *,.tl149-venue-preview *,#game-root *,.online-board *){outline:3px solid #f1d493!important;outline-offset:3px}
html.local-dark-gold body :is(.local50-page-hero,.guest-hero,.tl149-home-intro):not(.vb-public *,.venue-app-preview *,.tl149-venue-preview *,#game-root *,.online-board *){border:1px solid #a98a4c99!important;box-shadow:none!important}
html.local-dark-gold body :is(.local50-page-hero,.guest-hero,.tl149-home-intro) img:not(.vb-public *,.venue-app-preview *,.tl149-venue-preview *,#game-root *,.online-board *){filter:brightness(.73) saturate(.82)}
html.local-dark-gold body :is(.market-photo img,.guest-feature img,.tl149-feature img):not(.vb-public *,.venue-app-preview *,.tl149-venue-preview *,#game-root *,.online-board *){filter:brightness(.88) saturate(.9)}
html.local-dark-gold body :is(#bottomNav,#moreDrawer,body>header,#local-page-navigation){background:#0b1510f5!important;color:#edcf8b!important;border-color:#a98a4c88!important}
html.local-dark-gold body #bottomNav{gap:5px!important;padding:6px 6px max(8px,env(safe-area-inset-bottom))!important}
html.local-dark-gold body #bottomNav button{flex:1;min-width:0;padding:7px 3px!important;font-size:11px!important;background:transparent!important;line-height:1.2;color:#cfc6a7!important;border:1px solid #8f754266!important}
html.local-dark-gold body #bottomNav button.active{background:#2b2618!important;color:#ffe3a0!important;border-color:#d8b96e!important}
html.local-dark-gold body #view{padding-bottom:calc(var(--local-bottom-height,84px) + 24px)!important}
html.local-dark-gold body #moreDrawer{bottom:calc(var(--local-bottom-height,84px) + 4px)!important;max-height:70dvh;border:1px solid #a98a4c99!important;overscroll-behavior:contain}
html.local-dark-gold body #moreMenu{display:block!important}#moreMenu section{margin:15px 0}#moreMenu h3{font-size:.85rem;margin:0 0 7px;color:#ccb578}#moreMenu .more-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#moreMenu button{width:100%;text-align:left;min-height:44px}
#local-page-navigation{position:relative;display:flex;align-items:center;gap:16px;max-width:1120px;margin:0 auto;padding:8px 12px;box-sizing:border-box;border-bottom:1px solid #a98a4c66;font-weight:650}#local-page-navigation button{min-height:44px}#local-page-navigation[hidden]{display:none!important}
html.tl-auth-locked #local-page-navigation{display:none!important}
html.local-dark-gold body .member-messenger .chat-room-list{display:grid;gap:8px;grid-template-columns:1fr}
html.local-dark-gold body .member-messenger .chat-room-list button{text-align:left;border-radius:12px;padding:15px 16px;min-height:54px}
html.local-dark-gold body .member-messenger .private-chat-messages .item{background:#1b2c22!important;border-color:#8f754266!important}
html.local-dark-gold body .member-messenger .private-chat-messages .message-own{background:#31422a!important;color:#f7edce!important;border-color:#c3a45c88!important}
html.local-dark-gold body .member-messenger.is-chat-open{display:flex;flex-direction:column;height:min(700px,78dvh);min-height:280px;box-sizing:border-box;overflow:hidden}
.member-messenger.is-chat-open>h2,.member-messenger.is-chat-open>.muted{display:none}
.member-messenger.is-chat-open #privateChatArea,.private-chat-conversation{display:flex;flex:1;flex-direction:column;min-height:0}
.member-messenger.is-chat-open .private-chat-messages{flex:1;min-height:0;max-height:none;margin-block:8px;overscroll-behavior:contain}
.member-messenger #privateSend{flex:none;margin:0;padding:8px 0 max(4px,env(safe-area-inset-bottom));background:#111b17}
.member-messenger #privateMessage{min-height:46px;max-height:130px;margin:0;resize:vertical}
.private-conversation-head{display:flex;align-items:center;gap:10px;flex:none}.private-conversation-head h3{flex:1;font-size:1rem;margin:0}.private-conversation-head details{position:relative}.private-conversation-head details>div{position:absolute;right:0;top:100%;z-index:20;min-width:190px;padding:10px;background:#111b17;border:1px solid #a98a4c;border-radius:12px}
html.local-dark-gold body footer#status{position:static!important;margin:0 0 90px;padding:10px;background:#080e0c!important;color:#b8c3b7!important;font-size:.8rem}
html.local-large-text body #view :is(p,label,input,textarea,select,button){font-size:1.1rem!important}
html.local-reduce-motion *,html.local-reduce-motion *:before,html.local-reduce-motion *:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition:none!important}
@media(max-width:600px){html.local-dark-gold body #view .local50-page-hero{min-height:155px!important}.local50-page-hero h1{font-size:clamp(1.9rem,7vw,2.5rem)!important}.local50-hero-inner{padding:22px 18px!important}html.local-dark-gold body>header .tl-header-logo img{max-height:54px!important}.member-messenger.is-chat-open{height:calc(100dvh - 190px)!important}}

html.local-dark-gold body>header{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 16px!important;min-height:64px!important}html.local-dark-gold body>header .tl-header-logo{margin:0 auto 0 0;line-height:1}html.local-dark-gold body>header .tl-header-logo img{width:170px;max-height:50px;object-fit:contain}html.local-dark-gold body>header #member-messages{display:none!important}html.local-dark-gold body>header .member-notifications{margin:0;width:auto}html.local-dark-gold body>header .member-notifications summary{font-size:0;padding:8px;min-width:44px;box-sizing:border-box}html.local-dark-gold body>header .member-notifications summary span{font-size:1.1rem}html.local-dark-gold body>header .member-notifications section{position:absolute;right:0;top:100%;z-index:100;width:min(360px,86vw);box-sizing:border-box}html.local-dark-gold body>header>small{display:none}
/* A restrained raised finish: dark surfaces, gold edges, soft depth. */
html.local-dark-gold body :is(.panel,.card,.guest-card,.guest-feature,.tl149-panel,.tl149-feature,.tl195-card,.local-feed-post,.local-compose-card,.market-card,.owner-stat,.owner-actions,.venue-card,.tableCard):not(.vb-public *,.venue-app-preview *,.tl149-venue-preview *,#game-root *,.online-board *){background:linear-gradient(145deg,#17241d 0%,#111b17 48%,#0c140f 100%)!important;box-shadow:inset 0 1px 0 #fff0bf14,inset 0 -1px 0 #0007,0 3px 0 #02060499,0 10px 24px #0005!important;border-color:#b3935488!important}
html.local-dark-gold body #view .local50-page-body :is(.panel,.card){background:linear-gradient(145deg,#17241d,#111b17 48%,#0c140f)!important;box-shadow:inset 0 1px 0 #fff0bf14,inset 0 -1px 0 #0007,0 3px 0 #02060499,0 10px 24px #0005!important}
html.local-dark-gold body button:not(.theme-choice):not(.game-cell):not(.square):not(#game-root *,.online-board *,.vb-public *,.venue-app-preview *,.tl149-venue-preview *){background:linear-gradient(180deg,#203127,#142219)!important;box-shadow:inset 0 1px 0 #ffe5a51a,inset 0 -2px 0 #0005,0 3px 7px #0004!important}
html.local-dark-gold body :is(button[type=submit],#publishLocalPost,#tl-auth-submit,#tl-continue-guest){background:linear-gradient(180deg,#e4c782,#c5a256)!important;color:#10170f!important;box-shadow:inset 0 1px 0 #fff1c966,inset 0 -2px 0 #82642366,0 3px 8px #0005!important}
html.local-dark-gold body #bottomNav button{background:linear-gradient(180deg,#15241b,#0e1912)!important;box-shadow:inset 0 1px 0 #ffe5a512,0 2px 4px #0004!important}
html.local-dark-gold body #bottomNav button.active{background:linear-gradient(180deg,#35301e,#211e12)!important;box-shadow:inset 0 1px 0 #ffe5a533,0 2px 5px #0005!important}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){html.local-dark-gold:not(.local-reduce-motion) body :is(.guest-feature,.tl149-feature,.market-card):hover{transform:translateY(-2px)}html.local-dark-gold:not(.local-reduce-motion) body button:active{transform:translateY(1px)}}

html.local-dark-gold body .member-messenger.is-chat-open{height:var(--private-chat-height,min(700px,78dvh))!important;min-height:180px!important}

/* Feed introduction and nested composer surfaces also use the shared dark palette. */
html.local-dark-gold body :is(.local-feed-intro,.local-composer-page){background:linear-gradient(145deg,#17241d,#111b17 48%,#0c140f)!important;color:#f4f1e6!important;border:1px solid #b3935488!important;box-shadow:inset 0 1px 0 #fff0bf14,0 3px 0 #02060499,0 10px 24px #0005!important}
html.local-dark-gold body .local-feed-intro h2{color:#edcf8b!important}
html.local-dark-gold body .local-feed-intro p{color:#c8cec4!important}
html.local-dark-gold body .local-compose-launch span:last-child{background:linear-gradient(180deg,#132219,#0b160f)!important;color:#d8dfd2!important;border:1px solid #a98a4c88!important;box-shadow:inset 0 2px 5px #0005!important}
html.local-dark-gold body .local-composer-tools label{background:#17291e!important;color:#edcf8b!important;border:1px solid #a98a4c88!important}
html.local-dark-gold body :is(.local-compose-actions,.local-compose-heading,.local-post-buttons){border-color:#a98a4c66!important}

/* Keep the mobile alerts sheet inside the phone, independent of the bell position. */
@media(max-width:600px){html.local-dark-gold body>header #member-notifications section{position:fixed!important;top:min(150px,20dvh)!important;left:12px!important;right:12px!important;width:auto!important;max-width:420px!important;margin:0 auto!important;max-height:min(60dvh,calc(100dvh - 240px))!important;box-sizing:border-box!important;z-index:10010!important;overflow:auto!important;overscroll-behavior:contain}html.local-dark-gold body>header #member-notifications :is(h2,p,button){white-space:normal!important;overflow-wrap:anywhere;max-width:100%;box-sizing:border-box}}
/* The parent page already introduces Tables; avoid a second promotional banner. */
html.tl122-embedded body>.tl135-section-art{display:none!important}
html.local-dark-gold body .tl122-table-heading{min-height:0!important;padding:16px 18px!important;margin-bottom:8px!important}
html.local-dark-gold body .tl122-table-heading h2{font-size:1.5rem!important;margin:0 0 6px!important}
html.local-dark-gold body .tl122-table-heading p{font-size:.95rem!important;line-height:1.45!important;margin:0!important}
html.tl122-embedded body main #tables.panel{padding:16px!important}
html.tl122-embedded body #tables>h2{font-size:1.35rem!important;margin:0 0 12px!important}
html.tl122-embedded body .table-quick-actions{margin:12px 0!important}
html.tl122-embedded body .table-quick-actions>span{display:none}

/* Administration lives in More; suppress any legacy floating entry point. */
#tl-venue-admin-cog,#tl128-admin-menu{display:none!important}

/* Keep member alerts beside the brand at every viewport width. */
html.local-dark-gold body>header.local-app-header{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:8px 12px!important}
html.local-dark-gold body>header.local-app-header .tl-header-logo{grid-column:1;grid-row:1;min-width:0;margin:0!important;text-align:left!important}
html.local-dark-gold body>header.local-app-header .tl-header-logo img{width:min(220px,100%)!important;max-width:100%!important}
html.local-dark-gold body>header.local-app-header #member-notifications{grid-column:2;grid-row:1;justify-self:end;align-self:center;margin:0!important;float:none!important}
html.local-dark-gold body>header.local-app-header #member-notifications summary{display:flex!important;align-items:center;justify-content:center;gap:4px;min-width:44px;min-height:44px;list-style:none}
html.local-dark-gold body>header.local-app-header #member-notifications summary::-webkit-details-marker{display:none}
html.local-dark-gold body .community-home-shortcuts .community-build-app{border-color:#edcf8b!important;background:linear-gradient(145deg,#3b3420,#1b241b)!important;color:#ffe3a2!important;box-shadow:inset 0 1px 0 #ffe3a233,0 3px 8px #0004!important}
