
/* Shared settings for each marketplace; the legacy controls remain only for migration. */
#notifyGamesBlock { display:none !important; }
.topic-defaults { margin-top:20px; color:#94a5c1; font-size:13px; }
.topic-defaults summary { cursor:pointer; }
.topic-defaults .notice-grid { margin-top:12px; }
.topic-market-launch { display:flex; gap:10px; flex-wrap:wrap; }
.topic-market-launch p { flex-basis:100%; color:#95a5c1; margin:0 0 3px; }
.topic-market-launch button { display:flex; align-items:center; gap:10px; }
.topic-market-launch img, .topic-brand img { width:32px; height:32px; object-fit:contain; }
.topic-settings-dialog { width:min(860px,calc(100vw - 32px)); max-width:860px; max-height:90dvh; padding:0 !important; border:1px solid #35415a; border-radius:22px; color:#edf1ff; background:#101521; overflow:hidden; }
.topic-settings-dialog[open] { display:flex; flex-direction:column; }
.topic-settings-dialog::backdrop { background:rgba(3,6,12,.76); backdrop-filter:blur(5px); }
.topic-heading { padding:24px 26px 18px; display:flex; align-items:center; justify-content:space-between; gap:16px; flex-shrink:0; }
.topic-brand { display:flex; gap:14px; align-items:center; min-width:0; }
.topic-brand img { width:42px; height:42px; }
.topic-brand h2 { font-size:24px; margin:3px 0 0; }
.topic-brand .eyebrow { margin:0; font-size:11px; }
.topic-heading .modal-close { position:static; flex:0 0 38px; width:38px; height:38px; border:1px solid #2b354b; }
.topic-tabs { display:flex; gap:4px; padding:0 26px 15px; flex-shrink:0; border-bottom:1px solid #263047; }
.topic-tabs button { flex:1; padding:12px; border:1px solid transparent; border-radius:10px; background:transparent; color:#a3b1cc; font:inherit; font-weight:600; cursor:pointer; }
.topic-tabs button.on { background:#292443; border-color:#6455b7; color:#efebff; }
.topic-body { padding:20px 26px; overflow:auto; min-height:120px; }
.topic-description { font-size:14px; line-height:1.5; color:#a9b7ce; margin:0 0 20px; }
.topic-selection { margin-top:18px; }
.topic-selection-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 14px; }
.topic-selection-head h3 { font-size:16px; margin:0 0 4px; }
.topic-selection-head small, .topic-game-title small, .topic-hint { color:#94a5c1; font-size:12px; line-height:1.45; }
.topic-selection-actions { display:flex; gap:6px; flex-shrink:0; }
.topic-selection-actions button, [data-languages-all] { border:1px solid #303b54; background:#1a2233; color:#c9d6ed; border-radius:8px; padding:8px 10px; cursor:pointer; }
.topic-search { display:flex; align-items:center; gap:10px; padding:0 14px; border:1px solid #303b54; background:#171e2d; border-radius:11px; }
.topic-search span { color:#8c9fbd; font-size:24px; }
.topic-search input { flex:1; width:100%; min-width:0; background:transparent; border:0; outline:none; padding:12px 0; color:inherit; font:inherit; font-size:14px; }
.topic-check { display:flex; align-items:center; gap:10px; padding:10px 12px; cursor:pointer; color:#c4d1e7; font-size:13px; line-height:1.4; }
.topic-settings-dialog input[type=checkbox] { appearance:auto !important; -webkit-appearance:checkbox !important; accent-color:#8b77f6; width:17px !important; height:17px !important; flex:0 0 17px; margin:0; cursor:pointer; }
.topic-nogame { padding:14px 2px; }
.topic-game { border:1px solid #283247; border-radius:12px; margin:7px 0; overflow:hidden; background:#141b29; }
.topic-game summary { list-style:none; display:flex; align-items:center; gap:12px; cursor:pointer; padding:13px 14px; }
.topic-game summary::-webkit-details-marker, .chat-dispute-group > summary::-webkit-details-marker { display:none; }
.topic-game-title { display:flex; flex-direction:column; gap:4px; flex:1; min-width:0; }
.topic-game-title strong { font-size:14px; font-weight:650; overflow-wrap:anywhere; }
.topic-caret { transition:transform .15s; font-size:22px; color:#9babc7; }
.topic-game[open] .topic-caret { transform:rotate(90deg); }
.topic-directions { border-top:1px solid #283247; padding:8px 10px 10px 36px; background:#111824; }
.topic-whole { color:#a99afb; }
.topic-check:hover { background:rgba(134,116,230,.06); border-radius:8px; }
.topic-chat-options { display:flex; flex-wrap:wrap; gap:14px; }
.topic-chat-options > label { display:grid; gap:7px; flex:1; color:#a6b5ce; font-size:12px; min-width:180px; }
.topic-chat-mode { display:grid; gap:7px; margin:0 0 14px; font-size:12px; }
.topic-chat-options select, .topic-chat-mode select { color:#e4eafb; background:#181f2f; border:1px solid #303b54; border-radius:10px; padding:12px; min-width:0; font:inherit; font-size:14px; }
.topic-languages { margin-top:14px; border:1px solid #29344b; border-radius:10px; padding:12px; color:#bdcbe2; font-size:13px; }
.topic-languages summary { cursor:pointer; }
.topic-languages summary span { color:#8e9eba; }
[data-language-choices] { display:flex; flex-wrap:wrap; gap:6px; margin-top:10px; }
.topic-channel-head, .topic-channel-row { display:grid; grid-template-columns:minmax(150px,1fr) 120px 85px; align-items:center; gap:12px; padding:12px 14px; }
.topic-channel-head { color:#91a3bf; font-size:11px; background:#1c2334; }
.topic-channel-head strong { color:#c6d3e9; font-size:13px; }
.topic-channel-head > span, .topic-channel-row > label { text-align:center; }
.topic-channel-row { border-top:1px solid #263047; font-size:13px; }
.topic-channel-row > label { display:flex; justify-content:center; cursor:pointer; padding:3px; }
.topic-channels { border:1px solid #2c3750; border-radius:12px; overflow:hidden; }
.topic-hint { margin:12px 0 0; }
.topic-footer { padding:16px 26px; border-top:1px solid #2a344b; display:flex; gap:10px; align-items:center; background:#131a28; flex-shrink:0; }
.topic-footer [data-topic-result] { margin-right:auto; color:#b5c4df; font-size:12px; min-width:0; overflow-wrap:anywhere; }
.topic-footer .button { white-space:nowrap; }
.topic-empty { color:#94a5c1; padding:20px 0; text-align:center; }
.chat-dispute-group { flex-shrink:0; margin:8px 10px; border:1px solid #654b2e; border-radius:12px; background:#211e25; overflow:hidden; }
.chat-dispute-group > summary { display:flex; align-items:center; gap:9px; list-style:none; padding:12px; cursor:pointer; color:#ffd69d; font-size:13px; }
.chat-dispute-group > summary strong { flex:1; }
.chat-dispute-group > summary b { min-width:23px; text-align:center; padding:2px 5px; border-radius:6px; background:#49382d; }
.chat-dispute-group > summary small { color:#cdb491; font-size:10px; }
.chat-dispute-group[open] .dispute-caret { transform:rotate(90deg); }
#chatDisputeList { max-height:40dvh; overflow:auto; border-top:1px solid #4c3c31; }
#chatDisputeList .chat-conversation { width:100%; border-radius:0; }
@media(max-width:600px) {
 .topic-settings-dialog { width:calc(100vw - 16px); max-height:94dvh; border-radius:16px; }
 .topic-heading { padding:18px 16px 14px; }
 .topic-brand h2 { font-size:19px; }
 .topic-tabs { padding:0 16px 12px; }
 .topic-tabs button { padding:10px 6px; font-size:13px; }
 .topic-body { padding:16px; }
 .topic-selection-head { flex-wrap:wrap; }
 .topic-channel-head, .topic-channel-row { grid-template-columns:minmax(100px,1fr) 80px 64px; gap:5px; padding:10px 8px; }
 .topic-channel-head { font-size:10px; }
 .topic-footer { padding:12px 16px; flex-wrap:wrap; }
 .topic-footer [data-topic-result]:not(:empty) { flex-basis:100%; }
 .topic-footer .button { flex:1; }
 .topic-directions { padding-left:20px; }
}

.topic-body, #chatDisputeList { scrollbar-width:thin; scrollbar-color:#596381 transparent; }
.topic-body::-webkit-scrollbar, #chatDisputeList::-webkit-scrollbar { width:6px; }
.topic-body::-webkit-scrollbar-thumb, #chatDisputeList::-webkit-scrollbar-thumb { background:#596381; border-radius:8px; }
.topic-body::-webkit-scrollbar-button, #chatDisputeList::-webkit-scrollbar-button { display:none; }
.topic-languages .topic-search { margin-top:10px; }

.chat-dispute-group > summary:focus { outline:none; }
.chat-dispute-group > summary:focus-visible { box-shadow:inset 0 0 0 2px #b18a50; }

/* Functional colours and icons belong to controls/events, never to individual games. */
.topic-settings-dialog {background:linear-gradient(155deg,#191c32 0%,#111827 42%,#101b25 100%);border-color:#43486e;box-shadow:0 28px 100px #0009,0 0 60px #7766d914;}
.topic-heading {background:linear-gradient(110deg,#7562d925,transparent 70%);padding-bottom:22px;}
.topic-brand .eyebrow {color:#aaa0ed;letter-spacing:.14em;}
.topic-brand h2 {font-weight:750;letter-spacing:-.03em;}
.topic-brand img {padding:8px;box-sizing:content-box;background:#20263e;border:1px solid #414665;border-radius:15px;}
.topic-tabs {gap:10px;}
.topic-tabs button {display:flex;align-items:center;justify-content:center;gap:9px;background:#ffffff04;border-color:#ffffff09;}
.topic-tabs button.on {background:linear-gradient(115deg,#7560dc39,#4d83ba24);border-color:#9682ed80;box-shadow:inset 0 1px #ffffff0a,0 4px 16px #0002;}
.topic-tabs svg,.topic-option-label svg,.topic-languages summary svg,.topic-selection-head h3 svg {width:18px;height:18px;flex:0 0 18px;}
.topic-tabs button.on svg {color:#bfb1ff;}
.topic-description {padding:12px 15px;border-left:3px solid #7c92c9;border-radius:0 10px 10px 0;background:#6d8edb0a;color:#aebdd5;}
.topic-channel-head {background:#202943;}
.topic-channel-head > span {display:flex;gap:6px;align-items:center;justify-content:center;color:#9fc7ed;}
.topic-channel-head svg {width:15px;height:15px;}
.topic-channel-row {--event:#a899ff;padding-top:9px;padding-bottom:9px;background:#121c2a88;}
.topic-channel-row:nth-child(odd) {background:#1b233688;}
.topic-channel-row:hover {background:#829aff0b;}
.topic-supplier-row {
  --event:#ebbd80;
  display:flex; align-items:center; justify-content:space-between; gap:14px;
  margin:0 8px 8px; padding:11px 14px; border:1px solid #554939; border-radius:10px;
  background:#211f23; cursor:pointer;
}
.topic-supplier-row:hover,.topic-supplier-row:focus-within { border-color:#a48759; }
.topic-supplier-row .topic-event { min-width:0; }
.topic-supplier-copy { display:grid; gap:3px; }
.topic-supplier-copy strong { font-size:14px; }
.topic-supplier-copy small { color:#b6b9c7; font-size:12px; line-height:1.4; }
.topic-supplier-action { display:flex; align-items:center; gap:9px; color:#b6b9c7; font-size:12px; }
.topic-supplier-row:has(input:checked) .topic-supplier-action { color:#f1cf9e; }
.topic-supplier-action .topic-channel-switch { display:inline-flex; align-items:center; }
@media(max-width:600px) {
  .topic-supplier-row { gap:8px; margin-inline:4px; padding:9px 8px; }
  .topic-supplier-action { flex-direction:column-reverse; gap:0; font-size:10px; }
}
.topic-channel-row[data-tone=messages] {--event:#67cef0;}
.topic-channel-row[data-tone=orders] {--event:#6cddbd;}
.topic-channel-row[data-tone=reviews] {--event:#f3c574;}
.topic-channel-row[data-tone=access],.topic-channel-row[data-tone=platform] {--event:#e7a4c0;}
.topic-channel-row[data-tone=customers] {--event:#a3a2ff;}
.topic-channel-row[data-tone=updates],.topic-channel-row[data-tone=system] {--event:#8bb3e8;}
.topic-event {display:flex;align-items:center;gap:11px;color:#dce5f5;}
.topic-event i {display:flex;align-items:center;justify-content:center;width:34px;height:34px;flex:0 0 34px;border-radius:10px;background:color-mix(in srgb,var(--event) 12%,transparent);color:var(--event);}
.topic-event svg {width:18px;height:18px;}
.topic-channel-switch {position:relative;min-height:32px;}
.topic-settings-dialog .topic-channel-switch input[type=checkbox] {position:absolute;opacity:0;width:38px!important;height:22px!important;z-index:1;}
.topic-switch-track {width:38px;height:22px;border-radius:14px;background:#354158;box-shadow:inset 0 0 0 1px #73819b40;transition:background .15s;}
.topic-switch-track:after {content:'';display:block;width:16px;height:16px;margin:3px;background:#a5b2ca;border-radius:50%;transition:transform .15s,background .15s;}
.topic-channel-switch input:checked + .topic-switch-track {background:#7867d7;box-shadow:0 0 12px #8972f022;}
.topic-channel-switch input:checked + .topic-switch-track:after {transform:translateX(16px);background:#f5f1ff;}
.topic-channel-switch input:focus-visible + .topic-switch-track {outline:2px solid #b9acff;outline-offset:3px;}
.topic-option-label {display:flex;align-items:center;gap:8px;color:#c1cce2;}
.topic-option-label svg {color:#8aaedb;}
.topic-languages summary {display:flex;align-items:center;gap:8px;list-style:none;}
.topic-languages summary svg {color:#6ccbbd;}
.topic-selection-head h3 {display:flex;align-items:center;gap:8px;}
.topic-selection-head h3 svg {color:#a899f4;}
.topic-game {background:linear-gradient(110deg,#1d263b,#162230);border-color:#35405a;}
.topic-game[open] {border-color:#6e639c;}
.topic-game-title strong {color:#e3e9f6;}
.topic-directions {background:#111a29a6;}
.topic-footer {background:#172032d9;border-color:#38425d;}
.topic-footer .button.primary {background:linear-gradient(110deg,#8064e8,#635fd6)!important;border-color:#9f8bf2!important;color:#fff!important;box-shadow:0 5px 22px #7156c92b;}
@media(max-width:600px){
 .topic-brand img {width:28px;height:28px;padding:6px;border-radius:12px;}
 .topic-channel-head,.topic-channel-row {grid-template-columns:minmax(115px,1fr) 66px 62px;}
 .topic-event {gap:7px;font-size:12px;}
 .topic-event i {width:28px;height:28px;flex-basis:28px;border-radius:8px;}
 .topic-event svg {width:16px;height:16px;}
 .topic-channel-head > span {gap:3px;}
 .topic-channel-head svg {width:12px;height:12px;}
}

.topic-review-alerts{padding:12px 14px;border-top:1px solid var(--border);align-items:flex-start}.topic-review-alerts span{min-width:0}.topic-review-alerts small{display:block;margin-top:5px;font-size:12px;line-height:1.45;color:var(--muted)}
