/*
 * Feature workspace styles.
 * Ownership: route-specific Clone, Guild Manager, Bridge, Delivery Monitor,
 * and related specialized surfaces that must load before Obsidian Prism.
 * Preserve this file's cascade order; global tokens, shell, and primitives
 * belong in ../style.css.
 */

/* ===== Clone Studio ===== */
.clone-studio { width: 100%; max-width: none; min-height: 100%; margin: 0; padding: 30px; }
.clone-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 190px;
  padding: 32px 36px;
  overflow: hidden;
  border: 1px solid rgba(145,166,255,.24);
  border-radius: 24px;
  background:
    linear-gradient(120deg, rgba(74, 78, 178, .24), rgba(16,23,47,.86) 48%, rgba(19,90,121,.16)),
    rgba(10,14,29,.82);
  box-shadow: 0 35px 80px rgba(0,0,0,.38), inset 0 1px rgba(255,255,255,.1);
}
.clone-hero::before { content: ""; position: absolute; z-index:-1; width: 360px; height:360px; top:-190px; right:20%; border-radius:50%; background: conic-gradient(from 90deg, rgba(117,140,255,.34), rgba(167,93,255,.06), rgba(65,217,255,.24), rgba(117,140,255,.34)); filter: blur(12px); animation: clone-orbit 18s linear infinite; }
.clone-hero::after { content:""; position:absolute; z-index:-1; inset:0; opacity:.17; background-image: linear-gradient(rgba(150,170,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(150,170,255,.16) 1px, transparent 1px); background-size:36px 36px; mask-image: linear-gradient(90deg,#000,transparent 72%); }
@keyframes clone-orbit { to { transform: rotate(360deg); } }
.eyebrow { display:block; color:#8396dc; font-size:10px; font-weight:800; letter-spacing:.18em; direction:ltr; text-align:right; }
.clone-hero h2 { display:flex; align-items:baseline; justify-content:flex-start; gap:12px; margin:8px 0; font-size:clamp(30px,4vw,48px); line-height:1; direction:rtl; text-align:right; letter-spacing:-.04em; }
.clone-hero h2 b { font:inherit; color:inherit; }
.clone-hero h2 span { color:transparent; background:linear-gradient(90deg,var(--cyan),#b096ff); background-clip:text; text-shadow:0 10px 35px rgba(75,202,255,.15); }
.clone-hero p { max-width:620px; margin:0; color:#a6b0c8; line-height:1.9; }

.mode-switch { display:flex; align-items:center; gap:14px; min-width:255px; margin:0; padding:16px 18px; color:var(--text); border:1px solid rgba(112,228,188,.22); border-radius:16px; background:rgba(11,20,32,.62); box-shadow:0 15px 35px rgba(0,0,0,.23), inset 0 1px rgba(255,255,255,.07); cursor:pointer; backdrop-filter:blur(12px); }
.mode-switch input { position:absolute; opacity:0; pointer-events:none; }
.mode-switch:has(input:focus-visible) { outline:2px solid var(--accent-2); outline-offset:3px; }
.mode-switch > span:last-child { display:flex; flex-direction:column; gap:3px; }
.mode-switch b { font-size:13px; }
.mode-switch small { color:var(--muted); font-size:10px; }
.switch-track { flex:0 0 auto; position:relative; width:48px; height:27px; border:1px solid rgba(102,226,184,.3); border-radius:99px; background:rgba(65,217,166,.13); box-shadow:inset 0 3px 7px rgba(0,0,0,.35); }
.switch-track i { position:absolute; width:19px; height:19px; top:3px; right:4px; border-radius:50%; background:linear-gradient(145deg,#8ff8d0,#38ca96); box-shadow:0 3px 10px rgba(56,202,150,.46), inset 0 1px #fff; transition:transform .25s, background .25s; }
.mode-switch.is-dry { border-color:rgba(255,201,107,.35); background:rgba(56,39,15,.35); }
.mode-switch.is-dry .switch-track { border-color:rgba(255,201,107,.4); background:rgba(255,201,107,.12); }
.mode-switch.is-dry .switch-track i { transform:translateX(-20px); background:linear-gradient(145deg,#ffe3a6,#f4a83d); box-shadow:0 3px 11px rgba(244,168,61,.45),inset 0 1px #fff; }
.clone-notice { display:flex; align-items:center; gap:12px; margin-top:14px; padding:13px 17px; color:#ffe0a6; border:1px solid rgba(255,201,107,.28); border-radius:14px; background:rgba(75,48,10,.28); box-shadow:inset 0 1px rgba(255,255,255,.04); }
.clone-notice > span { font-size:20px; color:var(--yellow); text-shadow:0 0 15px var(--yellow); }
.clone-notice div { display:flex; flex-direction:column; gap:3px; }
.clone-notice small { color:#bfae8a; }

.clone-flow { display:grid; grid-template-columns:minmax(0,1fr) 90px minmax(0,1fr); align-items:center; gap:18px; margin-top:22px; perspective:1100px; }
.clone-step { min-height:230px; padding:24px; overflow:visible; transform-style:preserve-3d; }
.source-step { box-shadow:var(--shadow-3d), inset 3px 0 0 rgba(65,217,255,.45); }
.target-step { box-shadow:var(--shadow-3d), inset -3px 0 0 rgba(166,101,255,.45); }
.step-head { display:flex; align-items:center; gap:12px; margin-bottom:17px; }
.step-head > span { display:grid; place-items:center; width:43px; height:43px; color:#dfe6ff; font-weight:800; direction:ltr; border:1px solid rgba(144,166,255,.3); border-radius:13px; background:linear-gradient(145deg,rgba(110,132,255,.24),rgba(76,55,176,.13)); box-shadow:0 9px 20px rgba(0,0,0,.26),inset 0 1px rgba(255,255,255,.12); transform:translateZ(18px); }
.step-head h3 { margin:0 0 3px; font-size:17px; }
.step-head small { color:var(--muted); }
.flow-orb { position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; width:76px; height:76px; margin:auto; border:1px solid rgba(149,170,255,.28); border-radius:24px; background:linear-gradient(145deg,rgba(117,140,255,.25),rgba(92,48,174,.16)); box-shadow:0 18px 30px rgba(0,0,0,.32), inset 0 1px rgba(255,255,255,.14); transform:rotate(-5deg); }
.flow-orb::before { content:""; position:absolute; inset:-10px; border:1px dashed rgba(136,158,255,.16); border-radius:29px; animation:clone-orbit 16s linear infinite; }
.flow-orb span { font-size:26px; color:#c9d3ff; }
.flow-orb small { margin-top:1px; font-size:7px; letter-spacing:.14em; color:#7f8bad; }

.section-title { display:flex; align-items:flex-end; justify-content:space-between; gap:15px; margin-bottom:19px; }
.section-title h3 { margin:6px 0 0; font-size:19px; }
.clone-options-card,.clone-channels-card { padding:25px; }
.clone-filter-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:11px; }
.filter-option { position:relative; display:grid; grid-template-columns:32px 1fr 20px; align-items:center; gap:10px; min-height:64px; margin:0; padding:11px 13px; color:#a7b1c9; border:1px solid rgba(135,155,226,.13); border-radius:13px; background:rgba(7,11,23,.36); cursor:pointer; transition:transform .18s,border-color .18s,background .18s,color .18s; }
.filter-option:hover { transform:translateY(-2px); border-color:rgba(132,154,255,.32); }
.filter-option input { position:absolute; opacity:0; pointer-events:none; }
.filter-option:has(input:focus-visible) { outline:2px solid var(--accent-2); outline-offset:3px; }
.filter-option i { display:grid;place-items:center;width:32px;height:32px;font-style:normal;font-size:16px;color:#9fabff;border-radius:10px;background:rgba(117,140,255,.09);box-shadow:inset 0 1px rgba(255,255,255,.05); }
.filter-option b { font-size:11.5px; line-height:1.7; }
.filter-check { display:grid;place-items:center;width:19px;height:19px;color:transparent;border:1px solid rgba(139,159,226,.28);border-radius:6px;background:rgba(3,6,14,.5);font-size:11px;transition:.18s; }
.filter-option:has(input:checked) { color:#eef1ff; border-color:rgba(121,145,255,.4); background:linear-gradient(120deg,rgba(117,140,255,.13),rgba(152,85,255,.06)); box-shadow:inset 0 1px rgba(255,255,255,.04),0 8px 18px rgba(0,0,0,.13); }
.filter-option:has(input:checked) .filter-check { color:white;border-color:transparent;background:linear-gradient(145deg,var(--accent),var(--accent-2));box-shadow:0 4px 10px rgba(111,93,237,.38); }
.danger-option i { color:#ff93aa;background:rgba(255,86,125,.08); }
.danger-option:has(input:checked) { border-color:rgba(255,96,132,.4);background:rgba(104,22,43,.18); }
.danger-option:has(input:checked) .filter-check { background:linear-gradient(145deg,#ff7d9b,#cf3159); }
.danger-hint { margin-top:15px;padding:11px 13px;color:#a9939d;font-size:11px;border:1px solid rgba(255,105,139,.12);border-radius:11px;background:rgba(64,18,31,.12); }
.count-chip { padding:6px 11px;color:#c6d0ff;font-size:11px;border:1px solid rgba(129,151,255,.25);border-radius:99px;background:rgba(117,140,255,.08); }

.clone-channel-list { gap:12px; }
.clone-channel-group { border-color:rgba(131,152,224,.14);border-radius:14px;background:rgba(6,9,20,.4);box-shadow:inset 0 1px rgba(255,255,255,.025); }
.clone-group-title { min-height:52px;padding:11px 14px;border-color:rgba(132,152,222,.1); }
.clone-group-title input { accent-color:var(--accent); }
.clone-group-expand { font-family:inherit; }
.clone-group-arrow { display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:rgba(117,140,255,.08); }
.clone-channel-group .pill-list { padding:12px;background:rgba(2,5,13,.25); }
.pill { border-color:rgba(134,154,222,.14);border-radius:10px;background:rgba(16,22,42,.72);transition:border-color .15s,transform .15s; }
.pill:hover { transform:translateY(-1px);border-color:rgba(129,152,255,.34); }
.pill input { accent-color:var(--accent); }

.clone-launch-card { padding:24px; }
.launch-copy { display:flex;align-items:center;gap:14px; }
.launch-copy h3 { margin:0 0 5px; }
.launch-copy p { margin:0;color:var(--muted);font-size:12px; }
.launch-icon { display:grid;place-items:center;width:48px;height:48px;font-size:22px;border:1px solid rgba(139,160,255,.28);border-radius:14px;background:linear-gradient(145deg,rgba(117,140,255,.2),rgba(151,89,255,.1));box-shadow:0 10px 22px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.1); }
.clone-launch { display:flex;align-items:center;justify-content:center;gap:18px;width:100%;min-height:56px;margin-top:20px;font-family:inherit;font-size:14px; }
.clone-launch i { font-style:normal;font-size:20px;transition:transform .2s; }
.clone-launch:hover i { transform:translateX(-5px); }
.clone-launch.dry { background:linear-gradient(145deg,#f3c16c,#c58237);box-shadow:0 11px 24px rgba(190,126,40,.28),inset 0 1px rgba(255,255,255,.45);color:#241708; }
.clone-progress-panel { margin-top:22px;padding:20px;border:1px solid rgba(137,159,240,.14);border-radius:16px;background:rgba(4,7,17,.34); }
.progress-meta,.progress-stats { display:flex;align-items:center;justify-content:space-between;gap:18px; }
.progress-meta { margin-bottom:18px; }
.progress-copy { display:flex;flex:1;flex-direction:column;gap:7px;min-width:0; }
.progress-copy small { color:#7f8dad;font-size:10px; }
.progress-copy b { font-size:15px;line-height:1.8; }
.percent-display {
  position:relative;
  isolation:isolate;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  width:150px;
  min-height:104px;
  padding:12px 18px;
  overflow:hidden;
  border:1px solid rgba(126,153,255,.42);
  border-radius:22px;
  background:linear-gradient(145deg,rgba(71,91,190,.3),rgba(28,20,76,.5));
  box-shadow:0 18px 38px rgba(0,0,0,.32),0 0 35px rgba(105,126,255,.17),inset 0 1px rgba(255,255,255,.16);
  transform:translateZ(24px);
}
.percent-display::before { content:"";position:absolute;z-index:-1;width:100px;height:100px;border-radius:50%;background:rgba(78,217,255,.18);filter:blur(25px);animation:percent-pulse 1.6s ease-in-out infinite alternate; }
.percent-display span { color:#f7f8ff;font-size:clamp(38px,5vw,58px);font-weight:950;line-height:.9;direction:ltr;text-shadow:0 0 12px rgba(255,255,255,.35),0 0 30px rgba(91,214,255,.44);font-variant-numeric:tabular-nums; }
.percent-display small { color:#9aa8d1;font-size:9px;letter-spacing:.03em; }
@keyframes percent-pulse { to { transform:scale(1.24);opacity:.55; } }
.clone-progress-panel .progress { position:relative;height:24px;padding:3px;border-radius:14px;overflow:hidden;box-shadow:inset 0 4px 10px rgba(0,0,0,.52),0 0 22px rgba(106,130,255,.12); }
.clone-progress-panel .progress > div { position:relative;min-width:0;overflow:hidden;border-radius:10px;transition:width .45s cubic-bezier(.2,.8,.2,1);box-shadow:0 0 18px rgba(75,219,255,.72),0 0 34px rgba(115,102,255,.48); }
.clone-progress-panel .progress > div::after { content:"";position:absolute;inset:0;background:repeating-linear-gradient(115deg,transparent 0 12px,rgba(255,255,255,.2) 12px 21px,transparent 21px 33px);animation:progress-flow .8s linear infinite; }
@keyframes progress-flow { to { transform:translateX(-33px); } }
.progress-stats { justify-content:flex-start;margin-top:10px;color:var(--muted);font-size:11px; }
.progress-stats span { padding:5px 9px;border:1px solid var(--border);border-radius:8px;background:rgba(255,255,255,.02); }
.progress-stats b { color:var(--text); }
.clone-progress-panel .logbox { height:32vh;min-height:220px; }
.clone-progress-panel .logline{position:relative;margin:5px 0;padding:8px 10px 8px 42px;border:1px solid rgba(255,255,255,.055);border-radius:9px;color:#9ca7bc;background:rgba(255,255,255,.018);line-height:1.55;transition:.18s ease}.clone-progress-panel .logline:before{content:"•";position:absolute;left:9px;top:8px;display:grid;place-items:center;min-width:22px;height:18px;padding:0 3px;border-radius:5px;color:#7f8ba5;background:rgba(126,142,178,.1);font-size:9px;font-weight:900}.clone-progress-panel .logline.success{color:#aee7c9;border-color:rgba(72,211,145,.18);background:rgba(39,137,91,.075)}.clone-progress-panel .logline.success:before{content:"OK";color:#76e4ad;background:rgba(47,172,111,.14)}.clone-progress-panel .logline.warn{color:#f1cb8b;border-color:rgba(255,185,77,.22);background:rgba(151,94,30,.09)}.clone-progress-panel .logline.warn:before{content:"!";color:#ffc568;background:rgba(210,126,31,.16)}.clone-progress-panel .logline.error{color:#ffb2bc;border-color:rgba(255,76,103,.48);background:linear-gradient(90deg,rgba(151,31,50,.28),rgba(92,18,35,.12));box-shadow:inset 3px 0 #ff4c68,0 7px 20px rgba(117,22,39,.12)}.clone-progress-panel .logline.error:before{content:"ERR";color:#fff;background:#d93652;box-shadow:0 0 12px rgba(255,63,92,.28)}#clone-log:has(.logline.error){border-color:rgba(255,71,99,.4);box-shadow:inset 0 4px 18px rgba(0,0,0,.4),0 0 24px rgba(170,34,56,.1)}#clone-failed.has-errors{color:#ff637b;text-shadow:0 0 12px rgba(255,70,100,.3)}
.clone-actions {
  position:sticky;
  bottom:12px;
  z-index:12;
  display:grid;
  grid-template-columns:minmax(150px,1fr) minmax(180px,1.2fr);
  gap:12px;
  margin-bottom:0;
  padding:12px;
  border:1px solid rgba(143,164,240,.25);
  border-radius:16px;
  background:rgba(8,12,25,.9);
  box-shadow:0 18px 45px rgba(0,0,0,.46),inset 0 1px rgba(255,255,255,.08);
  backdrop-filter:blur(18px);
}
.clone-actions .btn { min-height:52px;font-family:inherit;font-size:13px;font-weight:800; }
.clone-actions .btn span { margin-left:7px;font-size:17px; }
.pause-clone { color:#dbe3ff;border-color:rgba(126,151,255,.38);background:linear-gradient(145deg,rgba(75,93,169,.45),rgba(26,34,68,.85)); }
.resume-clone { color:#07251b;border-color:rgba(82,232,174,.55);background:linear-gradient(145deg,#73f0c0,#37c991);box-shadow:0 10px 24px rgba(55,201,145,.3),inset 0 1px rgba(255,255,255,.45); }
.cancel-clone { color:#ffb4c4!important;border-color:rgba(255,91,130,.55)!important;background:linear-gradient(145deg,rgba(115,25,51,.62),rgba(52,16,30,.88))!important; }
.status-ok { color:var(--green); }
.status-warn { color:var(--yellow); }
.status-error { color:var(--red); }

/* Full-screen success fireworks. */
.clone-celebration {
  position:fixed;
  inset:0;
  z-index:999;
  display:grid;
  place-items:center;
  overflow:hidden;
  pointer-events:none;
  background:radial-gradient(circle at center,rgba(19,26,59,.26),rgba(2,4,12,.76));
  opacity:1;
  animation:celebration-in .35s ease-out;
  transition:opacity .42s ease;
}
.clone-celebration.leaving { opacity:0; }
.clone-celebration canvas { position:absolute;inset:0;width:100%;height:100%; }
.celebration-message {
  position:relative;
  display:flex;
  align-items:center;
  flex-direction:column;
  gap:8px;
  min-width:min(440px,88vw);
  padding:28px 34px;
  border:1px solid rgba(143,174,255,.52);
  border-radius:26px;
  background:linear-gradient(145deg,rgba(28,39,76,.9),rgba(11,15,33,.92));
  box-shadow:0 35px 90px rgba(0,0,0,.58),0 0 70px rgba(99,113,255,.27),inset 0 1px rgba(255,255,255,.19);
  backdrop-filter:blur(18px);
  animation:celebration-card .65s cubic-bezier(.16,1,.3,1);
}
.celebration-message > span { display:grid;place-items:center;width:66px;height:66px;margin-bottom:4px;color:#081b15;font-size:34px;font-weight:950;border-radius:50%;background:linear-gradient(145deg,#81ffd1,#39dba2);box-shadow:0 0 30px rgba(73,230,173,.62),inset 0 2px rgba(255,255,255,.62); }
.celebration-message strong { font-size:clamp(21px,4vw,34px);text-align:center; }
.celebration-message small { color:#aab5d0;font-size:12px;text-align:center; }
@keyframes celebration-in { from { opacity:0; } }
@keyframes celebration-card { from { opacity:0;transform:translateY(28px) scale(.82) rotateX(12deg); } to { opacity:1;transform:none; } }

@media (max-width:1100px) {
  .clone-filter-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:768px) {
  .app { grid-template-columns:1fr; }
  .sidebar {
    position:fixed;
    top:0;
    right:0;
    bottom:0;
    left:auto;
    z-index:50;
    width:264px;
    border-left:0;
    transform:translateX(100%);
  }
  .sidebar.open { transform:translateX(0); }
  .view { padding:17px; }
  .clone-hero { align-items:flex-start;flex-direction:column;padding:25px; }
  .mode-switch { width:100%;min-width:0; }
  .clone-flow { grid-template-columns:1fr; }
  .flow-orb { width:58px;height:58px;transform:rotate(90deg); }
  .clone-filter-grid { grid-template-columns:1fr; }
  .section-title { align-items:flex-start;flex-direction:column; }
  .clone-options-card,.clone-channels-card,.clone-launch-card { padding:18px; }
  .progress-meta { align-items:stretch;flex-direction:column-reverse; }
  .percent-display { width:100%;min-height:115px; }
  .percent-display span { font-size:54px; }
  .clone-actions { grid-template-columns:1fr;bottom:8px; }
}
@media (max-width:420px) {
  .clone-hero { padding:21px; }
  .clone-hero h2 { font-size:30px; }
  .mode-switch { padding:13px; }
  .clone-step { min-height:0;padding:18px; }
  .filter-option { grid-template-columns:30px 1fr 20px; }
  .clone-launch-card .launch-copy { align-items:flex-start; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important; }
}

/* Native controls need explicit dark colors in Safari/Android WebView too. */
select,
select option,
select optgroup {
  color: #f4f6ff;
  background-color: #0b1020;
  color-scheme: dark;
}
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  display: inline-grid;
  place-content: center;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  min-height: 17px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(151, 170, 244, .42);
  border-radius: 5px;
  background: #080d1b;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, .38);
  color-scheme: dark;
}
input[type="checkbox"]::after {
  content: "✓";
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  transform: scale(0);
  transition: transform .12s ease;
}
input[type="checkbox"]:checked {
  border-color: transparent;
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  box-shadow: 0 4px 10px rgba(101, 89, 235, .35), inset 0 1px rgba(255, 255, 255, .35);
}
input[type="checkbox"]:checked::after { transform: scale(1); }
input[type="checkbox"]:indeterminate::after { content: "−"; transform: scale(1); }
.clone-channel-group,
.clone-channel-group .pill-list,
.clone-channel-group .pill {
  color: #eef2ff;
  background-color: #080d1b;
  color-scheme: dark;
}
.clone-channel-group .pill-list { background: #070b17 !important; }
.clone-channel-group .pill { background: #11182d !important; }
.clone-channel-group .pill span { color: #d8def0; }
.clone-hero .eyebrow,
.clone-studio .section-title .eyebrow {
  direction: rtl;
  letter-spacing: 0;
  font-size: 11px;
}

/* Clone is a workspace, not a centered card: give it the whole main screen. */
body.clone-route .topbar { display: none; }
body.clone-route .main {
  position: relative;
  background:
    radial-gradient(850px 620px at 78% -8%, rgba(101, 105, 255, .12), transparent 68%),
    linear-gradient(145deg, #070a16, #050711 66%);
}
body.clone-route .view {
  width: 100%;
  height: 100%;
  padding: 0;
  overflow-y: auto;
  scrollbar-gutter: auto;
}
body.clone-route .clone-studio {
  width: 100%;
  min-width: 0;
  min-height: 100vh;
  padding: 28px 30px 50px;
}
body.clone-route .clone-hero,
body.clone-route .clone-flow,
body.clone-route .clone-options-card,
body.clone-route .clone-cleanup-card,
body.clone-route .clone-channels-card,
body.clone-route .clone-launch-card {
  width: 100%;
  max-width: none;
}

/* ===== Selective destination cleanup ===== */
.clone-cleanup-card {
  position: relative; overflow: hidden; padding: 24px;
  border-color: rgba(255, 174, 91, .22);
  background: linear-gradient(145deg, rgba(39, 26, 26, .9), rgba(12, 16, 29, .96));
  box-shadow: inset 0 1px rgba(255,255,255,.04), 0 18px 50px rgba(0,0,0,.25);
}
.clone-cleanup-card::after { content:""; position:absolute; width:240px; height:240px; border-radius:50%; left:-110px; top:-130px; background:rgba(255,151,84,.08); filter:blur(4px); pointer-events:none; }
.cleanup-head { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; position:relative; z-index:1; }
.cleanup-head h3 { font-size:20px; margin:5px 0 7px; }
.cleanup-head p { margin:0; color:#aeb6cb; max-width:680px; line-height:1.9; }
.count-chip.safe { color:#69e6b2; border-color:rgba(74,222,160,.25); background:rgba(29,122,87,.13); }
.cleanup-list { position:relative; z-index:1; }
.cleanup-group { border-color:rgba(255,255,255,.09); }
.cleanup-group .clone-group-title { gap:10px; flex-wrap:wrap; padding:10px 12px; background:linear-gradient(135deg,#10182a,#0b1120); }
.cleanup-group .clone-group-expand { min-width:190px; }
.cleanup-group .clone-group-expand strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.cleanup-group .clone-group-title .muted { margin-inline-start:0; white-space:nowrap; }
.cleanup-category-delete { display:flex; align-items:center; gap:7px; margin:0;margin-inline-start:auto; padding:7px 10px; border:1px solid rgba(255,123,84,.28); border-radius:9px; color:#ffad94; background:rgba(135,48,38,.12); cursor:pointer; white-space:nowrap; transition:.18s ease; }
.cleanup-category-delete:hover { border-color:rgba(255,123,84,.62); color:#ffd5c8; background:rgba(155,53,41,.2); }
.cleanup-category-delete input { width:auto; accent-color:#ff6f55; }
.cleanup-category-delete:has(input:checked) { color:#fff; border-color:#ff7157; background:linear-gradient(135deg,#a33835,#d64f3b); box-shadow:0 7px 18px rgba(185,57,43,.24); }
.cleanup-category-delete:has(input:indeterminate) { color:#ffc3af; border-color:rgba(255,143,105,.5); background:rgba(153,67,48,.2); }
.cleanup-group-empty { grid-column:1/-1; padding:14px; text-align:center; color:#707c96; border:1px dashed #28334d; border-radius:10px; }
.cleanup-group-items { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; padding:12px; background:#070b17; }
.cleanup-channel { display:grid; grid-template-columns:18px 24px minmax(0,1fr) auto; align-items:center; gap:8px; margin:0; padding:10px; color:#dce3f6; border:1px solid #202943; border-radius:10px; background:#10172a; cursor:pointer; transition:.18s ease; }
.cleanup-channel:hover { transform:translateY(-1px); border-color:#6574bd; background:#141e36; }
.cleanup-channel:has(input:checked) { color:#ffd6bd; border-color:rgba(255,123,84,.55); background:linear-gradient(135deg,rgba(126,48,41,.3),#15172a); box-shadow:inset 3px 0 #ff7b54; }
.cleanup-channel small { color:#717d99; font-size:10px; }
.cleanup-channel-icon { color:#8da1de; text-align:center; }
.cleanup-safety { display:grid; grid-template-columns:32px auto 1fr; gap:8px 12px; align-items:center; margin-top:14px; padding:12px 14px; border:1px solid rgba(77,220,159,.18); border-radius:12px; background:rgba(39,146,102,.07); }
.cleanup-safety > span { grid-row:1/3; font-size:24px; }.cleanup-safety b { color:#6ee7b7; }.cleanup-safety small { color:#94a3b8; }
.destination-capacity { display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:12px;padding:11px 13px;border:1px solid rgba(255,180,84,.3);border-radius:11px;color:#ffca83;background:rgba(160,91,28,.11); }.destination-capacity span{color:#b6a48e;font-size:12px;}

/* ===== Discord command center ===== */
body.guild-manager-route .topbar { display:none; }
body.guild-manager-route .main { background:radial-gradient(1000px 680px at 72% -15%,rgba(111,76,255,.18),transparent 65%),linear-gradient(155deg,#070914,#060810 72%); }
body.guild-manager-route .view { width:100%; height:100%; padding:0; overflow-y:auto; scrollbar-gutter:auto; }
.guild-command-center { min-height:100vh; padding:26px 30px 48px; color:#edf1ff; }
.gm-hero { position:relative; isolation:isolate; display:grid; grid-template-columns:1fr minmax(300px,390px); gap:34px; align-items:center; min-height:265px; padding:34px 38px; overflow:hidden; border:1px solid rgba(144,126,255,.22); border-radius:28px; background:linear-gradient(135deg,rgba(30,26,72,.94),rgba(10,15,32,.94) 56%,rgba(8,25,37,.94)); box-shadow:0 28px 80px rgba(0,0,0,.42),inset 0 1px rgba(255,255,255,.08); }
.gm-hero::before { content:""; position:absolute; inset:0; z-index:-1; opacity:.16; background-image:linear-gradient(rgba(255,255,255,.09) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.09) 1px,transparent 1px); background-size:42px 42px; mask-image:linear-gradient(90deg,#000,transparent 72%); }
.gm-hero-copy { position:relative; z-index:2; max-width:760px; }
.gm-live { display:inline-flex; align-items:center; gap:9px; direction:ltr; color:#9ea9ff; font-size:11px; letter-spacing:2px; font-weight:800; }
.gm-live i { width:8px;height:8px;border-radius:50%;background:#4ff0b7;box-shadow:0 0 15px #4ff0b7;animation:gmPulse 1.8s infinite; }
.gm-hero h2 { margin:13px 0 9px; font-size:clamp(30px,4vw,52px); line-height:1.25; letter-spacing:-1.5px; }
.gm-hero h2 b { color:transparent; background:linear-gradient(95deg,#9b8cff,#65d9ff,#6ef0bc); background-clip:text; -webkit-background-clip:text; }
.gm-hero p { margin:0; max-width:700px; color:#aab4cf; font-size:15px; line-height:2; }
.gm-server-picker { position:relative; z-index:3; padding:20px; border:1px solid rgba(255,255,255,.1); border-radius:20px; background:rgba(7,11,25,.73); backdrop-filter:blur(18px); box-shadow:0 20px 50px rgba(0,0,0,.34),inset 0 1px rgba(255,255,255,.07); }
.gm-server-picker label { margin-top:0; }.gm-server-picker select { margin-bottom:11px; min-height:44px; }.gm-sync { width:100%; color:#b8c5ff; }
.gm-orbit { position:absolute; z-index:0; border:1px solid rgba(119,111,255,.23); border-radius:50%; pointer-events:none; }.gm-orbit::after{content:"";position:absolute;width:8px;height:8px;border-radius:50%;background:#68e0ff;box-shadow:0 0 18px #68e0ff;top:17%;left:8%;}
.gm-orbit.one { width:390px;height:390px;left:-110px;bottom:-285px;transform:rotate(-16deg); }.gm-orbit.two{width:210px;height:210px;left:31%;top:-165px;}
.gm-overview { display:grid; grid-template-columns:1.5fr repeat(3,1fr) 1.25fr; gap:12px; margin-top:16px; }
.gm-stat,.gm-server-identity,.gm-power { min-height:92px; display:flex; align-items:center; justify-content:center; flex-direction:column; padding:15px; border:1px solid #1e2740; border-radius:17px; background:linear-gradient(145deg,#11172a,#0b1020); box-shadow:inset 0 1px rgba(255,255,255,.04),0 12px 30px rgba(0,0,0,.2); }
.gm-stat span,.gm-server-identity small,.gm-power span { color:#77829c; font-size:11px; }.gm-stat b { margin-top:5px; font-size:26px; }.gm-server-identity { flex-direction:row;justify-content:flex-start;gap:12px; }.gm-server-identity img,.gm-server-identity>span { width:50px;height:50px;border-radius:15px;object-fit:cover;display:grid;place-items:center;background:#5865f2;font-weight:900; }.gm-server-identity div { display:flex;flex-direction:column;gap:5px; }.gm-server-identity b { max-width:160px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.gm-power { flex-direction:row; gap:12px; }.gm-power i { width:12px;height:12px;border-radius:50%; }.gm-power.ready i { background:#4ee6a8;box-shadow:0 0 15px #4ee6a8; }.gm-power.limited i { background:#ffb454;box-shadow:0 0 15px #ffb454; }.gm-power div { display:flex;flex-direction:column;gap:5px; }
.gm-overview.loading { opacity:.55;filter:saturate(.5); }
.gm-simple-tabs{position:sticky;top:10px;z-index:12;display:grid;grid-template-columns:repeat(7,minmax(108px,1fr));gap:6px;width:100%;margin:16px auto 0;padding:6px;border:1px solid #252e47;border-radius:14px;background:rgba(8,12,24,.92);backdrop-filter:blur(16px);box-shadow:0 12px 34px rgba(0,0,0,.26);overflow-x:auto}.gm-simple-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;border:0;border-radius:10px;padding:10px 8px;background:transparent;color:#8995ad;cursor:pointer;font:inherit;text-align:right}.gm-simple-tabs button>i{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border:1px solid #303a55;border-radius:9px;background:#10172a;font-style:normal}.gm-simple-tabs button span,.gm-simple-tabs button b,.gm-simple-tabs button small{display:block;min-width:0}.gm-simple-tabs button b{font-size:11px;white-space:nowrap}.gm-simple-tabs button small{margin-top:2px;color:#65718a;font-size:8px;white-space:nowrap}.gm-simple-tabs button.active{color:#fff;background:linear-gradient(135deg,#6656da,#7669ef);box-shadow:0 7px 18px rgba(83,66,196,.3)}.gm-simple-tabs button.active>i{border-color:rgba(255,255,255,.24);background:rgba(255,255,255,.12)}.gm-simple-tabs button.active small{color:#d5d1ff}
.gm-section-hub{margin-top:12px;padding:22px;border:1px solid #202943;border-radius:21px;background:radial-gradient(620px 280px at 100% -25%,rgba(104,84,226,.18),transparent 68%),linear-gradient(145deg,rgba(17,23,42,.97),rgba(9,13,27,.99));box-shadow:0 20px 50px rgba(0,0,0,.2),inset 0 1px rgba(255,255,255,.04)}.gm-hub-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px}.gm-hub-head small{color:#8a7fff;font-size:10px;font-weight:800}.gm-hub-head h3{margin:5px 0;font-size:21px}.gm-hub-head p{margin:0;color:#828da7;line-height:1.7}.gm-hub-head>span{padding:7px 11px;border:1px solid rgba(126,111,241,.3);border-radius:99px;color:#b8afff;background:rgba(99,77,211,.12);font-size:10px;white-space:nowrap}.gm-hub-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.gm-hub-grid>button{display:grid;grid-template-columns:44px minmax(0,1fr) 20px;gap:11px;align-items:center;min-height:86px;padding:13px;border:1px solid #252f49;border-radius:15px;color:#dce4f5;background:linear-gradient(145deg,#10182b,#0a1020);cursor:pointer;font:inherit;text-align:right;transition:transform .18s,border-color .18s,background .18s}.gm-hub-grid>button:hover{transform:translateY(-2px);border-color:#526799;background:linear-gradient(145deg,#15203a,#0d1528)}.gm-hub-grid>button>i{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;color:#fff;font-size:18px;font-style:normal;box-shadow:inset 0 1px rgba(255,255,255,.2),0 8px 20px rgba(0,0,0,.22)}.gm-hub-grid>button>i.violet{background:linear-gradient(145deg,#784dff,#b76fff)}.gm-hub-grid>button>i.cyan{background:linear-gradient(145deg,#1583ba,#48d8e8)}.gm-hub-grid>button>i.subscription{background:linear-gradient(145deg,#b983ff,#6b7cff)}.gm-hub-grid>button>i.access{background:linear-gradient(145deg,#6159d8,#38bad6)}.gm-hub-grid>button>i.red{background:linear-gradient(145deg,#d4485d,#ff7c69)}.gm-hub-grid>button>i.guide{background:linear-gradient(145deg,#278c83,#59d5b4)}.gm-hub-grid b,.gm-hub-grid small{display:block}.gm-hub-grid b{font-size:13px}.gm-hub-grid small{margin-top:5px;color:#75819a;font-size:10px;line-height:1.6}.gm-hub-grid em{color:#667490;font-size:18px;font-style:normal}.gm-single-pane{margin-top:12px}.gm-single-pane[data-gm-pane="roles"]{max-width:900px;margin-inline:auto}.gm-single-pane .gm-panel{width:100%}
.gm-guide-pane{margin-top:12px}.gm-guide-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,390px);gap:24px;align-items:center;overflow:hidden;padding:25px 27px;border:1px solid rgba(103,220,255,.22);border-radius:21px;background:radial-gradient(520px 220px at 5% -20%,rgba(90,117,255,.24),transparent 70%),linear-gradient(135deg,#121a35,#0a1223 60%,#091b25);box-shadow:0 20px 50px rgba(0,0,0,.27),inset 0 1px rgba(255,255,255,.07)}.gm-guide-hero:after{content:"?";position:absolute;left:24px;bottom:-56px;color:rgba(112,225,255,.06);font-size:190px;font-weight:900;line-height:1;pointer-events:none}.gm-guide-kicker{color:#74dff0;font-size:10px;font-weight:800;letter-spacing:1.4px}.gm-guide-hero h3{margin:7px 0 5px;font-size:22px}.gm-guide-hero p{margin:0;color:#8e9ab3;line-height:1.8}.gm-guide-search{position:relative;z-index:1;display:flex;align-items:center;gap:9px;margin:0;padding:6px 12px;border:1px solid #2c3958;border-radius:13px;background:rgba(6,11,24,.76);box-shadow:inset 0 1px rgba(255,255,255,.04)}.gm-guide-search:focus-within{border-color:#6b83dc;box-shadow:0 0 0 3px rgba(95,116,215,.11)}.gm-guide-search span{color:#72dced;font-size:24px}.gm-guide-search input{min-width:0;margin:0;padding:10px 2px;border:0!important;background:transparent!important;box-shadow:none!important}.gm-guide-quick{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin:11px 0}.gm-guide-quick button{display:grid;grid-template-columns:35px 1fr;column-gap:9px;align-items:center;text-align:right;padding:12px;border:1px solid #202c47;border-radius:14px;color:#dce5f8;background:linear-gradient(145deg,#11192c,#0a1020);cursor:pointer;transition:transform .18s,border-color .18s,background .18s;box-shadow:0 10px 24px rgba(0,0,0,.14)}.gm-guide-quick button:hover{transform:translateY(-2px);border-color:#526799;background:linear-gradient(145deg,#15203a,#0d1528)}.gm-guide-quick b{grid-row:1/3;display:grid;place-items:center;width:35px;height:35px;border:1px solid #4a5d91;border-radius:11px;color:#8ce2f4;background:#141f39}.gm-guide-quick span{font-weight:800}.gm-guide-quick small{margin-top:3px;color:#74819c}.gm-guide-topics{display:grid;gap:8px}.gm-guide-topic{overflow:hidden;border:1px solid #202a43;border-radius:15px;background:linear-gradient(145deg,#0e1527,#090f1d);box-shadow:0 9px 26px rgba(0,0,0,.13)}.gm-guide-topic.hidden{display:none}.gm-guide-topic summary{display:grid;grid-template-columns:42px minmax(0,1fr) 25px;gap:11px;align-items:center;padding:14px 16px;list-style:none;cursor:pointer;user-select:none}.gm-guide-topic summary::-webkit-details-marker{display:none}.gm-guide-topic summary:hover{background:rgba(107,129,205,.06)}.gm-guide-topic-icon{display:grid;place-items:center;width:42px;height:42px;border:1px solid #324268;border-radius:13px;color:#8fe3f2;background:linear-gradient(145deg,#172544,#10182d);font-size:18px;box-shadow:inset 0 1px rgba(255,255,255,.07),0 8px 18px rgba(0,0,0,.2)}.gm-guide-topic summary b,.gm-guide-topic summary small{display:block}.gm-guide-topic summary small{margin-top:4px;color:#73809a}.gm-guide-topic summary i{display:grid;place-items:center;color:#7181a3;font-size:20px;font-style:normal;transition:transform .2s}.gm-guide-topic[open] summary i{transform:rotate(45deg);color:#81ddee}.gm-guide-topic[open] summary{border-bottom:1px solid #202a43;background:rgba(83,109,188,.055)}.gm-guide-body{padding:15px 69px 18px 18px;color:#aab5cb;line-height:1.95}.gm-guide-body p{margin:0 0 10px}.gm-guide-body p:last-child{margin-bottom:0}.gm-guide-body strong{color:#e8edfa}.gm-guide-body ol,.gm-guide-body ul{margin:0 0 12px;padding-right:20px}.gm-guide-body li{margin:4px 0}.gm-guide-warning,.gm-guide-tip{margin:11px 0;padding:10px 12px;border-radius:10px}.gm-guide-warning{border:1px solid rgba(255,176,81,.25);color:#e8c08d;background:rgba(157,91,30,.11)}.gm-guide-tip{border:1px solid rgba(77,220,164,.22);color:#8de4bd;background:rgba(36,137,99,.1)}.gm-guide-map{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.gm-guide-map span{padding:10px;border:1px solid #252f49;border-radius:10px;color:#8290aa;background:#0a1020}.gm-guide-map b{display:block;margin-bottom:2px;color:#dbe4f6}.gm-guide-commands{display:grid;grid-template-columns:minmax(150px,.55fr) 1fr;gap:6px 10px;align-items:center;margin:10px 0 13px}.gm-guide-commands code{direction:ltr;text-align:left;padding:7px 9px;border:1px solid #303b5a;border-radius:8px;color:#bfcdf1;background:#070d1a}.gm-guide-commands span{color:#8390a9}.gm-guide-jump{margin-top:2px;color:#bfc9ff;border-color:#3e4a74;background:rgba(88,103,180,.12)}.gm-guide-empty{display:grid;place-items:center;min-height:190px;margin-top:8px;border:1px dashed #2b3857;border-radius:15px;color:#8e9ab3;background:#0a1020}.gm-guide-empty span{font-size:36px;color:#6e83bb}.gm-guide-empty b{margin-top:-25px;color:#dce5f7}.gm-guide-empty small{margin-top:-24px;color:#74819a}
.gm-grid { display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px; }
.gm-panel { position:relative;overflow:hidden;padding:22px;border:1px solid #202943;border-radius:21px;background:linear-gradient(145deg,rgba(17,23,42,.96),rgba(9,13,27,.98));box-shadow:0 20px 50px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.04); }
.gm-panel-head { display:flex;align-items:center;gap:12px;margin-bottom:18px; }.gm-panel-head small { direction:ltr;display:block;color:#697697;font-size:9px;letter-spacing:2px;font-weight:800; }.gm-panel-head h3 { margin:4px 0 0;font-size:18px; }.gm-panel-icon { display:grid;place-items:center;width:45px;height:45px;border-radius:14px;font-size:20px;box-shadow:inset 0 1px rgba(255,255,255,.18),0 10px 25px rgba(0,0,0,.25); }.gm-panel-icon.violet{background:linear-gradient(145deg,#784dff,#b76fff)}.gm-panel-icon.cyan{background:linear-gradient(145deg,#1583ba,#48d8e8)}.gm-panel-icon.green{background:linear-gradient(145deg,#16885f,#50daa6)}
.gm-panel-icon.red{background:linear-gradient(145deg,#d4485d,#ff7c69)}.gm-mod-commands{grid-column:1/-1}.gm-mod-commands>p{margin:-6px 0 13px;color:#8e99b0}.gm-command-list{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.gm-command-list code{direction:ltr;padding:8px 11px;border:1px solid #323b58;border-radius:9px;color:#c8d1e8;background:#090f1d}.gm-mod-commands>small{color:#78849d}.gm-mod-commands>small b{color:#b8c4dc}
.gm-template-row { display:grid;grid-template-columns:repeat(3,1fr);gap:8px; }.gm-template { border:1px solid #27314e;background:#0c1222;color:#76829f;padding:9px;border-radius:10px;font-size:11px;letter-spacing:1px;cursor:pointer; }.gm-template.active { color:#fff;border-color:#806cff;background:rgba(111,79,255,.18);box-shadow:0 0 20px rgba(111,79,255,.12); }
.gm-color-field { flex:0 0 90px!important;min-width:90px!important; }.gm-color-field input { height:39px;padding:4px;cursor:pointer; }
.gm-permissions { display:grid;grid-template-columns:repeat(2,1fr);gap:7px;margin:14px 0; }.gm-permissions label,.gm-mini-options label { display:flex;align-items:center;gap:8px;margin:0;padding:8px 9px;border:1px solid #202a44;border-radius:9px;background:#0b1121;color:#aab4cc;cursor:pointer; }.gm-permissions label:has(input:checked){border-color:rgba(132,109,255,.5);color:#ddd7ff;background:rgba(100,69,225,.11)}
.gm-mini-options { display:flex;gap:8px;margin-bottom:15px; }.gm-mini-options label { flex:1; }.gm-wide { width:100%;display:flex;align-items:center;justify-content:center;gap:10px;min-height:44px; }
.gm-member-search { display:grid;grid-template-columns:1fr auto;gap:8px;margin:10px 0; }.gm-members { display:flex;flex-direction:column;gap:7px;max-height:395px;overflow:auto;padding-left:3px; }.gm-member { display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px;border:1px solid #1f2942;border-radius:12px;background:#0b1120; }.gm-member img { width:42px;height:42px;object-fit:cover;border-radius:12px;background:#252e46; }.gm-member div{min-width:0}.gm-member b,.gm-member small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gm-member small{color:#727e99;font-size:10px;margin-top:4px;direction:ltr;text-align:right}.gm-empty{display:grid;place-items:center;min-height:100px;color:#74809a;border:1px dashed #29334e;border-radius:12px}
.gm-role-all-channels{display:flex;align-items:center;gap:11px;margin:11px 0 5px;padding:11px 12px;border:1px solid rgba(255,255,255,.11);border-radius:13px;color:#d8d9de;background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.012)),rgba(0,0,0,.48);box-shadow:inset 0 1px rgba(255,255,255,.09);cursor:pointer}.gm-role-all-channels:has(input:checked){border-color:rgba(255,255,255,.22);background:linear-gradient(145deg,rgba(255,255,255,.09),rgba(255,255,255,.025)),rgba(0,0,0,.52)}.gm-role-all-channels input{width:auto;accent-color:#f2f2f4}.gm-role-all-channels b,.gm-role-all-channels small{display:block}.gm-role-all-channels small{margin-top:4px;color:#858a94;line-height:1.55}.gm-member-list-head{display:flex;align-items:center;justify-content:space-between;margin:12px 2px 7px}.gm-member-list-head b{font-size:12px;color:#e4e6eb}.gm-member-list-head span{padding:4px 8px;border:1px solid rgba(255,255,255,.1);border-radius:99px;color:#9da2ac;background:rgba(255,255,255,.035);font-size:10px}.gm-member-role-action{min-width:112px;white-space:nowrap}
.gm-shield-panel { border-color:rgba(67,208,158,.2); }.gm-shield-head { align-items:flex-start; }.gm-shield-head p{margin:5px 0 0;color:#8e99b2;line-height:1.8}.gm-selection-count{margin-right:auto;align-self:center;padding:8px 13px;border:1px solid rgba(80,218,168,.25);border-radius:99px;color:#64e1b3;background:rgba(38,142,104,.1);white-space:nowrap}.gm-shield-controls{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin-bottom:13px}.gm-shield-controls>div:first-child{min-width:280px}.gm-shield-buttons{display:flex;gap:8px}.gm-channel-vault{display:grid;grid-template-columns:repeat(3,1fr);align-items:start;gap:10px;max-height:480px;overflow:auto;padding:3px}.gm-channel-zone{overflow:hidden;border:1px solid #1d2940;border-radius:13px;background:#090e1c;box-shadow:0 9px 22px rgba(0,0,0,.14)}.gm-channel-zone-title{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:10px;background:linear-gradient(145deg,#111a2d,#0d1425);border-bottom:1px solid #202a42}.gm-channel-zone-expand{grid-column:1/-1;display:flex;align-items:center;gap:8px;min-width:0;padding:2px;border:0;color:#e2e8f6;background:transparent;cursor:pointer;font:inherit;text-align:right}.gm-channel-zone-expand i{display:grid;place-items:center;flex:0 0 25px;width:25px;height:25px;border-radius:8px;color:#73dcb3;background:rgba(56,188,139,.1);font-style:normal}.gm-channel-zone-expand b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gm-channel-zone-expand small{margin-right:auto;color:#67738d;white-space:nowrap}.gm-category-access{display:flex;align-items:center;gap:6px;margin:0;padding:7px 8px;border:1px solid #29354f;border-radius:8px;color:#9ca9c0;background:#0b1221;cursor:pointer;font-size:10px}.gm-category-access:has(input:checked){color:#a9f0d3;border-color:rgba(68,208,154,.32);background:rgba(39,143,104,.11)}.gm-category-access input{width:auto;accent-color:#49d4a0}.gm-delete-category{padding:7px 9px;border:1px solid rgba(255,106,91,.32);border-radius:8px;color:#ffad9e;background:rgba(144,48,43,.13);cursor:pointer;font:inherit;font-size:10px;white-space:nowrap}.gm-delete-category:hover{color:#fff;border-color:#ed6859;background:rgba(184,57,49,.27)}.gm-delete-category:disabled{opacity:.55;cursor:wait}.gm-channel-zone-items{background:#080d19}.gm-channel-zone-empty{display:block;padding:14px;text-align:center;color:#68758f}.gm-channel{display:grid;grid-template-columns:18px 34px minmax(0,1fr);gap:7px;align-items:center;margin:0;padding:9px 11px;color:#aeb8cf;border-bottom:1px solid rgba(34,44,70,.55);cursor:pointer}.gm-channel:last-child{border-bottom:0}.gm-channel:hover{background:#10182a}.gm-channel:has(input:checked){color:#dffaf0;background:rgba(42,151,111,.1)}.gm-channel i{font-style:normal;color:#7084b5;direction:ltr}.gm-shield-action{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:15px;padding:15px;border:1px solid rgba(77,219,166,.16);border-radius:14px;background:linear-gradient(90deg,rgba(30,126,91,.1),rgba(10,16,30,.25))}.gm-shield-action>div:first-child{display:flex;flex-direction:column;gap:5px}.gm-shield-action small{color:#8290a9}.gm-shield-action>div:last-child{display:flex;gap:9px;white-space:nowrap}.gm-task{margin-top:14px;padding:15px;border:1px solid #26324d;border-radius:14px;background:#080d19}.gm-task-meta{display:flex;justify-content:space-between;margin-bottom:9px}.gm-task-percent{color:#6ee7b7;font-size:20px}.gm-task-log{height:105px;overflow:auto;margin:10px 0;padding:9px;border-radius:9px;background:#050812;color:#8895ae;font:11px ui-monospace,monospace;direction:ltr;text-align:left}.gm-task .progress>div{background:linear-gradient(90deg,#24bd81,#68e9c1)}
.gm-community-tools{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}.gm-policy-box,.gm-gate-box{padding:14px;border:1px solid #22304a;border-radius:14px;background:#0a1020}.gm-policy-switches{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:11px}.gm-policy-switches label,.gm-general-chat{display:flex;align-items:center;gap:8px;margin:0;padding:9px;border:1px solid #26314b;border-radius:9px;color:#aeb9ce;background:#0e1628;cursor:pointer}.gm-policy-switches label:has(input:checked),.gm-general-chat:has(input:checked){color:#dbfff1;border-color:rgba(69,207,154,.35);background:rgba(37,139,101,.1)}.gm-gate-box>label:not(.gm-general-chat){margin-top:0}.gm-general-chat{margin:10px 0}

/* Access shield visual refresh */
.gm-shield-panel{isolation:isolate;overflow:hidden;border:1px solid rgba(130,114,255,.28);background:radial-gradient(720px 380px at 92% -18%,rgba(103,76,255,.2),transparent 66%),radial-gradient(600px 350px at -8% 45%,rgba(42,190,238,.11),transparent 70%),linear-gradient(155deg,#11172d 0%,#090f20 54%,#080d19 100%);box-shadow:0 26px 70px rgba(0,0,0,.34),inset 0 1px rgba(255,255,255,.075)}
.gm-shield-panel>*:not(.gm-shield-glow){position:relative;z-index:1}.gm-shield-glow{position:absolute;z-index:0;border-radius:50%;filter:blur(2px);pointer-events:none}.gm-shield-glow.one{width:260px;height:260px;left:-170px;top:35%;background:rgba(52,210,255,.07);box-shadow:0 0 90px rgba(52,210,255,.12)}.gm-shield-glow.two{width:220px;height:220px;right:-150px;bottom:-100px;background:rgba(137,91,255,.09);box-shadow:0 0 100px rgba(137,91,255,.13)}
.gm-panel-icon.access{position:relative;color:#fff;background:linear-gradient(145deg,#8f70ff,#5b7dff 48%,#42ccec);box-shadow:inset 0 1px rgba(255,255,255,.32),inset 0 -8px 18px rgba(47,37,132,.24),0 13px 30px rgba(88,79,233,.34)}.gm-panel-icon.access:after{content:"";position:absolute;inset:-6px;border:1px solid rgba(118,115,255,.22);border-radius:18px}
.gm-shield-head{padding:4px 2px 2px}.gm-shield-head h3{font-size:22px}.gm-shield-head p{max-width:690px;color:#98a7c3}.gm-shield-head small{color:#8f87ff;letter-spacing:2.4px}.gm-selection-count{min-width:92px;margin-right:auto;padding:10px 15px;text-align:center;color:#dcd8ff;border:1px solid rgba(137,121,255,.35);background:linear-gradient(145deg,rgba(102,82,220,.22),rgba(55,188,232,.1));box-shadow:inset 0 1px rgba(255,255,255,.08),0 10px 25px rgba(42,35,116,.21)}
.gm-shield-controls{padding:13px 14px;border:1px solid rgba(122,137,205,.18);border-radius:16px;background:linear-gradient(145deg,rgba(19,27,51,.86),rgba(9,15,31,.88));box-shadow:inset 0 1px rgba(255,255,255,.05),0 13px 32px rgba(0,0,0,.18)}.gm-role-console label{margin-top:0;color:#96a5c2}.gm-role-console select{min-height:44px;margin:0;border-color:#354267;background-color:#0a1122}.gm-vault-search{display:flex;align-items:center;flex:1;max-width:380px;margin:0;padding:0 11px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:rgba(0,0,0,.35)}.gm-vault-search span{color:#9aa3b1;font-size:18px}.gm-vault-search input{margin:0;border:0;background:transparent;box-shadow:none}.gm-vault-search input:focus{border:0;box-shadow:none}.gm-shield-buttons .btn{min-height:39px;border-color:#3d4870;color:#bfc9ee;background:#121a31}.gm-shield-buttons .btn:first-child{color:#fff;border-color:#7167d8;background:linear-gradient(135deg,#6358d4,#546fe0);box-shadow:0 8px 20px rgba(78,72,195,.24)}
.gm-community-tools{gap:12px;margin:12px 0}.gm-policy-box,.gm-gate-box{position:relative;overflow:hidden;padding:16px;border-radius:17px;box-shadow:inset 0 1px rgba(255,255,255,.055),0 13px 30px rgba(0,0,0,.16)}.gm-policy-box{border-color:rgba(146,112,255,.24);background:radial-gradient(300px 150px at 100% 0,rgba(125,83,255,.12),transparent 72%),linear-gradient(145deg,#12182e,#0b1121)}.gm-gate-box{border-color:rgba(68,196,235,.23);background:radial-gradient(300px 150px at 100% 0,rgba(37,185,232,.12),transparent 72%),linear-gradient(145deg,#101a2c,#091220)}.gm-policy-box .gm-subhead>span{color:#d9ccff;border-color:#6958af;background:linear-gradient(145deg,#47348e,#2e2b66)}.gm-gate-box .gm-subhead>span{color:#c9f5ff;border-color:#357a9b;background:linear-gradient(145deg,#185e80,#19405e)}.gm-policy-switches label,.gm-general-chat{border-color:#293653;border-radius:11px;color:#98a7c0;background:rgba(8,14,28,.66);transition:.18s ease}.gm-policy-switches label:hover,.gm-general-chat:hover{transform:translateY(-1px);border-color:#465779}.gm-policy-switches label:has(input:checked){color:#ddd7ff;border-color:rgba(137,107,255,.42);background:linear-gradient(135deg,rgba(102,73,211,.2),rgba(61,79,159,.12))}.gm-general-chat:has(input:checked){color:#c9f5ff;border-color:rgba(61,196,236,.38);background:rgba(35,142,181,.12)}.gm-policy-switches input{accent-color:#866dff}.gm-general-chat input{accent-color:#42c8ef}#gm-save-policy{color:#fff;border-color:#745fe4;background:linear-gradient(135deg,#6950d8,#7f65e8);box-shadow:0 9px 22px rgba(87,64,194,.22)}#gm-apply-gate{border-color:#2da8d4;background:linear-gradient(135deg,#1e87b7,#2bbbd4);box-shadow:0 9px 22px rgba(28,139,180,.2)}
.gm-vault-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin:18px 2px 10px}.gm-vault-head div{display:flex;flex-direction:column;gap:4px}.gm-vault-head small{direction:ltr;color:#6f7f9f;font-size:9px;font-weight:800;letter-spacing:1.7px}.gm-vault-head b{font-size:16px}.gm-vault-head>span{color:#7786a1;font-size:11px}
.gm-channel-vault{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-height:560px;padding:4px 4px 10px;scrollbar-color:#3f4f7b transparent}.gm-channel-zone{--zone:#8074ff;--zone-rgb:128,116,255;position:relative;overflow:hidden;border:1px solid rgba(var(--zone-rgb),.2);border-radius:17px;background:linear-gradient(150deg,#11182c,#090f1d);box-shadow:inset 0 1px rgba(255,255,255,.055),0 13px 28px rgba(0,0,0,.21);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.gm-channel-zone:nth-child(4n+2){--zone:#3cccef;--zone-rgb:60,204,239}.gm-channel-zone:nth-child(4n+3){--zone:#bd6cff;--zone-rgb:189,108,255}.gm-channel-zone:nth-child(4n+4){--zone:#ffad68;--zone-rgb:255,173,104}.gm-channel-zone:before{content:"";position:absolute;z-index:2;inset:0 0 auto;height:2px;background:linear-gradient(90deg,transparent,var(--zone),transparent);opacity:.66}.gm-channel-zone:hover{transform:translateY(-2px);border-color:rgba(var(--zone-rgb),.4);box-shadow:inset 0 1px rgba(255,255,255,.07),0 18px 38px rgba(0,0,0,.28),0 0 26px rgba(var(--zone-rgb),.07)}.gm-channel-zone:has(.gm-category-access-toggle:checked){border-color:rgba(var(--zone-rgb),.52);box-shadow:inset 0 1px rgba(255,255,255,.08),inset 3px 0 rgba(var(--zone-rgb),.75),0 15px 35px rgba(0,0,0,.25)}
.gm-channel-zone-title{display:block;padding:0;border:0;background:radial-gradient(330px 120px at 5% 0,rgba(var(--zone-rgb),.1),transparent 72%),linear-gradient(145deg,#141c32,#0d1426)}.gm-channel-zone-expand{display:grid;grid-template-columns:43px minmax(0,1fr) 28px;gap:11px;width:100%;padding:15px 15px 11px;text-align:right}.gm-zone-symbol{display:grid;place-items:center;width:43px;height:43px;border:1px solid rgba(var(--zone-rgb),.35);border-radius:13px;color:var(--zone);background:linear-gradient(145deg,rgba(var(--zone-rgb),.18),rgba(var(--zone-rgb),.05));box-shadow:inset 0 1px rgba(255,255,255,.12),0 9px 20px rgba(var(--zone-rgb),.1);font-size:20px}.gm-zone-copy{min-width:0;align-self:center}.gm-zone-copy b,.gm-zone-copy small{display:block}.gm-zone-copy b{overflow:hidden;color:#edf1fb;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.gm-zone-copy small{margin-top:5px;color:#7786a1;font-size:10px}.gm-zone-arrow{display:grid!important;place-items:center!important;align-self:center;width:28px!important;height:28px!important;border:1px solid rgba(var(--zone-rgb),.22);border-radius:9px!important;color:var(--zone)!important;background:rgba(var(--zone-rgb),.08)!important;font-size:15px;transition:transform .2s}.gm-channel-zone-expand[aria-expanded="true"] .gm-zone-arrow{transform:rotate(0deg);box-shadow:0 0 18px rgba(var(--zone-rgb),.12)}
.gm-zone-actions{display:flex;align-items:center;gap:8px;padding:0 15px 13px}.gm-category-access{position:relative;display:flex;align-items:center;gap:8px;margin:0;padding:7px 10px;border:1px solid rgba(var(--zone-rgb),.18);border-radius:10px;color:#8593ad;background:rgba(5,10,21,.52);cursor:pointer;font-size:10px}.gm-category-access input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.gm-category-access em{font-style:normal;white-space:nowrap}.gm-access-switch{position:relative;width:31px;height:17px;border:1px solid #37435d;border-radius:99px;background:#151c2d;box-shadow:inset 0 2px 5px rgba(0,0,0,.3);transition:.2s}.gm-access-switch i{position:absolute;width:11px;height:11px;top:2px;right:2px;border-radius:50%;background:#68748c;box-shadow:0 2px 5px rgba(0,0,0,.35);transition:.2s}.gm-category-access input:checked+.gm-access-switch{border-color:rgba(var(--zone-rgb),.65);background:rgba(var(--zone-rgb),.28);box-shadow:0 0 14px rgba(var(--zone-rgb),.15)}.gm-category-access input:checked+.gm-access-switch i{right:16px;background:var(--zone);box-shadow:0 0 9px rgba(var(--zone-rgb),.55)}.gm-category-access input:checked~em{color:#e7e8ff}.gm-category-access input:indeterminate+.gm-access-switch{border-color:rgba(var(--zone-rgb),.42);background:linear-gradient(90deg,rgba(var(--zone-rgb),.24) 50%,#151c2d 50%)}.gm-delete-category{display:flex;align-items:center;gap:6px;margin-right:auto;padding:7px 10px;border-color:rgba(255,99,119,.2);border-radius:10px;color:#ba7884;background:rgba(89,29,46,.1)}.gm-delete-category span{font-size:15px}.gm-delete-category b{font-size:10px}.gm-delete-category:hover{color:#ffdce1;border-color:rgba(255,94,116,.62);background:linear-gradient(135deg,rgba(175,45,63,.38),rgba(118,31,52,.25));box-shadow:0 8px 20px rgba(151,40,55,.16)}
.gm-channel-zone-items{border-top:1px solid rgba(var(--zone-rgb),.14);background:linear-gradient(180deg,rgba(4,8,18,.5),rgba(7,12,23,.8))}.gm-channel{position:relative;grid-template-columns:19px 29px minmax(0,1fr);gap:8px;padding:10px 15px;border-color:rgba(78,91,127,.2);color:#9ba8be;transition:.16s ease}.gm-channel input{position:absolute;width:1px;height:1px;opacity:0}.gm-channel-check{display:grid;place-items:center;width:18px;height:18px;border:1px solid #35415b;border-radius:6px;color:transparent;background:#111827;font-size:10px;transition:.18s}.gm-channel input:checked+.gm-channel-check{color:#0b1020;border-color:var(--zone);background:var(--zone);box-shadow:0 0 12px rgba(var(--zone-rgb),.27)}.gm-channel>i{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;color:var(--zone);background:rgba(var(--zone-rgb),.075)}.gm-channel:hover{padding-right:18px;color:#e0e6f2;background:rgba(var(--zone-rgb),.055)}.gm-channel:has(input:checked){color:#f0f2fa;background:linear-gradient(90deg,rgba(var(--zone-rgb),.1),transparent)}.gm-channel-zone-empty{color:#6d7890}
.gm-shield-action{padding:17px 18px;border-color:rgba(120,103,255,.24);border-radius:17px;background:radial-gradient(380px 120px at 100% 0,rgba(126,86,255,.14),transparent 70%),linear-gradient(135deg,#11182d,#0a1121);box-shadow:inset 0 1px rgba(255,255,255,.055),0 14px 30px rgba(0,0,0,.18)}.gm-shield-action b{color:#eae8ff}.gm-shield-action #gm-chat-access{color:#d0f6ff;border-color:#347f9e;background:rgba(38,145,183,.14)}.gm-shield-action #gm-readonly-access{border-color:#705ce0;background:linear-gradient(135deg,#6450d2,#7a61df);box-shadow:0 9px 22px rgba(82,61,190,.24)}.gm-task{border-color:#323a64;background:#080d1b}.gm-task-percent{color:#a99cff}.gm-task .progress>div{background:linear-gradient(90deg,#735cff,#806fff,#4ccff0);box-shadow:0 0 15px rgba(105,91,238,.36)}

.gm-panel-icon.signal{background:linear-gradient(145deg,#ff8a4c,#ffce68);color:#251507}.gm-signal-desk{border-color:rgba(255,170,83,.2);background:radial-gradient(620px 300px at 8% -20%,rgba(255,133,70,.12),transparent 66%),linear-gradient(145deg,rgba(20,22,39,.97),rgba(8,13,25,.99))}.gm-signal-head{align-items:flex-start}.gm-signal-head p{margin:5px 0 0;color:#8995af;line-height:1.8}.gm-signal-live{margin-right:auto;direction:ltr;padding:6px 10px;border:1px solid rgba(255,171,86,.25);border-radius:99px;color:#ffb767;background:rgba(176,90,35,.1);font-size:9px;letter-spacing:1.5px;white-space:nowrap}.gm-workspace-builder{display:grid;grid-template-columns:minmax(190px,1fr) minmax(180px,1fr) auto;gap:10px;align-items:end;padding:15px;border:1px solid #252d46;border-radius:15px;background:rgba(8,12,24,.72)}.gm-workspace-builder label{margin-top:0}.gm-signal-create{min-height:40px;color:#ffd3a4;border-color:rgba(255,164,77,.35);background:linear-gradient(135deg,rgba(151,70,28,.25),rgba(79,49,57,.25))}.gm-workspace-note{grid-column:1/-1;display:flex;gap:7px;align-items:center;color:#74809a;font-size:11px;direction:rtl}.gm-workspace-note b{color:#a4aec2}.gm-workspace-note span{direction:ltr}.gm-signal-grid{display:grid;grid-template-columns:1.3fr .8fr;gap:13px;margin-top:13px}.gm-signal-composer,.gm-result-console{padding:17px;border:1px solid #202a42;border-radius:16px;background:linear-gradient(145deg,#0d1425,#090e1c)}.gm-subhead{display:flex;align-items:center;gap:10px;margin-bottom:13px}.gm-subhead>span{display:grid;place-items:center;width:33px;height:33px;border:1px solid #38425e;border-radius:10px;color:#9aa8c7;background:#141c30;font-weight:800}.gm-subhead b,.gm-subhead small{display:block}.gm-subhead small{margin-top:3px;color:#707d98;font-size:10px}.gm-trade-row{display:grid;grid-template-columns:1fr 1fr;gap:9px}.gm-signal-composer textarea,.gm-result-console textarea{resize:vertical;min-height:70px}.gm-ping-role{display:flex;align-items:center;gap:9px;margin:13px 0;padding:10px;border:1px solid rgba(255,169,82,.18);border-radius:10px;color:#c7ad91;background:rgba(142,77,31,.08);cursor:pointer}.gm-recent-select{display:grid;grid-template-columns:1fr auto;gap:7px}.gm-result-statuses{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:14px 0}.gm-result-statuses button{padding:9px;border:1px solid #27314b;border-radius:9px;background:#0a1020;color:#7f8ba4;cursor:pointer}.gm-result-statuses button.active{color:#eafff6;border-color:rgba(70,215,159,.4);background:rgba(40,157,113,.13);box-shadow:inset 0 0 18px rgba(43,181,130,.06)}.gm-result-button{margin-top:13px;color:#77e5bc;border-color:rgba(63,210,157,.3);background:rgba(37,135,100,.12)}.gm-signal-preview{display:flex;gap:11px;align-items:center;margin:13px 0;padding:13px;border:1px solid #252e47;border-radius:12px;background:#0a1020}.gm-signal-preview>span{font-size:28px;color:#ffad66}.gm-signal-preview b,.gm-signal-preview small{display:block}.gm-signal-preview small{margin-top:5px;color:#77839c;line-height:1.6}
.gm-panel-icon.subscription{background:linear-gradient(145deg,#b983ff,#6b7cff)}.gm-subscription-desk{border-color:rgba(139,119,255,.23);background:radial-gradient(650px 320px at 8% -20%,rgba(136,90,255,.14),transparent 67%),linear-gradient(145deg,rgba(18,21,43,.98),rgba(8,13,25,.99))}.gm-subscription-head{align-items:flex-start}.gm-subscription-head p{margin:5px 0 0;color:#8995af;line-height:1.8}.gm-auto-expire{margin-right:auto;direction:ltr;padding:6px 10px;border:1px solid rgba(94,234,175,.24);border-radius:99px;color:#65e2b1;background:rgba(34,139,100,.1);font-size:9px;letter-spacing:1.4px;white-space:nowrap}.gm-subscription-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:stretch}.gm-package-builder,.gm-grant-console,.gm-live-subscriptions{display:flex;flex-direction:column;padding:18px;border:1px solid #232c47;border-radius:16px;background:linear-gradient(145deg,#0d1426,#090e1c)}.gm-live-subscriptions{margin-top:14px}.gm-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}.gm-field{display:flex;flex-direction:column;min-width:0}.gm-field.wide{grid-column:1/-1}.gm-field>label{margin:0 0 6px}.gm-field>input,.gm-field>select{width:100%;margin:0}.gm-grant-console .gm-field+.gm-field{margin-top:12px}.gm-package-presets{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-bottom:14px}.gm-package-presets button{padding:9px 6px;border:1px solid #303a59;border-radius:9px;color:#9ba8c4;background:#10172a;cursor:pointer}.gm-package-presets button:hover{color:#fff;border-color:#7d70df;background:rgba(108,83,222,.15)}.gm-own-role-note{margin:10px 0 0;padding:10px 12px;border:1px dashed #303a58;border-radius:10px;color:#8490aa;font-size:11px;line-height:1.8}.gm-package-builder #gm-create-package{margin-top:14px}.gm-member-picker{position:relative;display:block}.gm-picker-field{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:6px;padding:0 10px;border:1px solid #303a59;border-radius:10px;background:#10172a}.gm-picker-field>span{color:#6f7c98;font-size:13px}.gm-picker-field input{border:0;background:transparent;padding:10px 0;margin:0;width:100%}.gm-picker-field input:focus{outline:none}.gm-picker-field button{border:0;background:transparent;color:#8e9ab6;font-size:15px;cursor:pointer;padding:4px 6px;border-radius:8px}.gm-picker-field button:hover{color:#fff;background:rgba(108,83,222,.2)}.gm-picker-chosen{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:9px;align-items:center;margin-top:8px;padding:8px 10px;border:1px solid #38456b;border-radius:10px;background:rgba(108,83,222,.12)}.gm-picker-chosen img{width:36px;height:36px;border-radius:10px;object-fit:cover;background:#252e46}.gm-picker-chosen span{min-width:0}.gm-picker-chosen b,.gm-picker-chosen small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gm-picker-chosen small{margin-top:3px;color:#7f8ca8;font-size:10px;direction:ltr;text-align:right}.gm-picker-chosen button{padding:6px 10px;border:1px solid #4a5480;border-radius:8px;color:#c8c1ff;background:transparent;cursor:pointer;font-size:11px;white-space:nowrap}.gm-picker-chosen button:hover{background:rgba(108,83,222,.22)}.gm-picker-results{margin-top:6px;max-height:290px;overflow:auto;padding:6px;border:1px solid #303a59;border-radius:12px;background:#0b1120;box-shadow:0 18px 38px rgba(2,5,14,.55)}.gm-picker-row{display:grid;grid-template-columns:32px minmax(0,1fr);gap:9px;align-items:center;width:100%;padding:7px;border:0;border-radius:9px;background:transparent;color:inherit;text-align:right;cursor:pointer}.gm-picker-row:hover,.gm-picker-row.active{background:rgba(108,83,222,.18)}.gm-picker-row img{width:32px;height:32px;border-radius:9px;object-fit:cover;background:#252e46}.gm-picker-row span{min-width:0}.gm-picker-row b,.gm-picker-row small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gm-picker-row small{margin-top:3px;color:#7a869f;font-size:10px;direction:ltr;text-align:right}.gm-picker-more{display:block;width:100%;margin-top:4px;padding:8px;border:1px dashed #33405f;border-radius:9px;color:#9aa6c2;background:transparent;cursor:pointer;font-size:11px}.gm-picker-more:hover{color:#fff;border-color:#6c53de}.gm-picker-empty{padding:14px;text-align:center;color:#74809a;font-size:12px}.gm-picker-note{display:block;margin-top:7px;color:#76829d;font-size:10px;line-height:1.7}.gm-grant-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:auto;padding-top:16px}.gm-grant-actions .btn{min-height:44px}.gm-active-subscriptions{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:9px;max-height:320px;overflow:auto;padding-left:3px}.gm-active-subscriptions .gm-empty,.gm-active-subscriptions>.muted{grid-column:1/-1}.gm-active-subscriptions article{display:flex;flex-direction:column;gap:6px;min-width:0;padding:11px 12px;border:1px solid #222c46;border-radius:11px;background:#0a1020}.gm-active-subscriptions header{display:flex;align-items:center;justify-content:space-between;gap:9px;min-width:0}.gm-active-subscriptions b{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gm-active-subscriptions small{margin:0;color:#76839d;line-height:1.7;overflow-wrap:anywhere}.gm-active-subscriptions b,.gm-active-subscriptions small{display:block}.gm-active-subscriptions header>span{flex:0 0 auto;padding:3px 8px;border:1px solid rgba(94,234,175,.22);border-radius:99px;color:#6be1b3;background:rgba(34,139,100,.1);font-size:10px;white-space:nowrap}
@keyframes gmPulse{50%{opacity:.35;transform:scale(.75)}}

/* Calm mode: one task at a time, less decoration and more usable space. */
.guild-manager-route .gm-hero{min-height:190px;padding:24px 28px;border-radius:20px}.guild-manager-route .gm-hero h2{font-size:clamp(27px,3.2vw,40px);margin:8px 0 4px}.guild-manager-route .gm-hero p{font-size:13px;line-height:1.75}.guild-manager-route .gm-orbit{display:none}.guild-manager-route .gm-overview{margin-top:10px}.guild-manager-route .gm-stat,.guild-manager-route .gm-server-identity,.guild-manager-route .gm-power{min-height:76px}.guild-manager-route [data-gm-pane].section-gap{margin-top:12px}

@media(max-width:1100px){.gm-overview{grid-template-columns:repeat(3,1fr)}.gm-server-identity,.gm-power{grid-column:span 3}.gm-grid{grid-template-columns:1fr}.gm-channel-vault{grid-template-columns:repeat(2,1fr)}.gm-signal-grid,.gm-subscription-grid{grid-template-columns:1fr}.gm-workspace-builder{grid-template-columns:1fr 1fr}.gm-signal-create{grid-column:1/-1}.gm-community-tools{grid-template-columns:1fr}.gm-guide-map{grid-template-columns:1fr 1fr}.gm-simple-tabs{grid-template-columns:repeat(7,minmax(118px,1fr))}.gm-hub-grid{grid-template-columns:1fr 1fr}}
@media(max-width:768px){.guild-command-center{padding:13px 13px 36px}.gm-hero{grid-template-columns:1fr;padding:20px 16px;border-radius:17px}.gm-hero h2{font-size:28px}.gm-overview{grid-template-columns:repeat(3,1fr)}.gm-server-identity,.gm-power{grid-column:span 3}.gm-stat{min-height:68px}.gm-stat b{font-size:20px}.gm-panel{padding:16px}.gm-permissions{grid-template-columns:1fr}.gm-channel-vault{grid-template-columns:1fr}.gm-shield-head,.gm-shield-controls,.gm-shield-action,.gm-signal-head,.gm-subscription-head{align-items:stretch;flex-direction:column}.gm-selection-count{margin-right:0;align-self:flex-start}.gm-shield-controls>div:first-child{min-width:0;width:100%}.gm-vault-search{width:100%;max-width:none}.gm-shield-action>div:last-child{display:grid;grid-template-columns:1fr}.cleanup-head{flex-direction:column}.cleanup-group-items{grid-template-columns:1fr}.cleanup-group .clone-group-expand{min-width:calc(100% - 100px)}.cleanup-group .clone-group-title .muted{order:3}.cleanup-category-delete{order:4;margin-inline-start:auto}.cleanup-safety{grid-template-columns:32px 1fr}.cleanup-safety small{grid-column:2}.gm-workspace-builder{grid-template-columns:1fr}.gm-signal-create{grid-column:auto}.gm-workspace-note{align-items:flex-start;flex-direction:column}.gm-trade-row,.gm-form-grid,.gm-policy-switches{grid-template-columns:1fr}.gm-signal-live,.gm-auto-expire{margin-right:0;align-self:flex-start}.gm-package-presets{grid-template-columns:1fr 1fr}.gm-simple-tabs{top:6px;width:100%;overflow:auto}.gm-simple-tabs button{padding:8px 7px}.gm-simple-tabs button small{display:none}.gm-hub-head{align-items:flex-start;flex-direction:column}.gm-hub-grid{grid-template-columns:1fr}.gm-section-hub{padding:16px}.gm-guide-hero{grid-template-columns:1fr;padding:19px 16px}.gm-guide-quick{grid-template-columns:1fr 1fr}.gm-guide-topic summary{grid-template-columns:38px minmax(0,1fr) 20px;padding:12px}.gm-guide-topic-icon{width:38px;height:38px}.gm-guide-body{padding:13px 15px 16px}.gm-guide-map{grid-template-columns:1fr}.gm-guide-commands{grid-template-columns:1fr}.gm-guide-commands span{margin-bottom:4px}.gm-guide-hero:after{display:none}}

@media (max-width: 768px) {
  body.clone-route .clone-studio { min-height: 100%; padding: 14px 14px 36px; }
  body.clone-route .clone-hero { border-radius: 20px; }
}

/* Slow bulk role assignment */
.gm-role-danger-zone{margin-top:12px;padding:0!important;border-color:rgba(237,92,100,.28)!important;background:radial-gradient(500px 220px at 100% 0,rgba(177,46,75,.14),transparent 70%),linear-gradient(145deg,#130f1c,#0a0d18)!important}
.gm-role-danger-zone>summary{display:grid;grid-template-columns:45px minmax(0,1fr) 28px;gap:12px;align-items:center;padding:17px 20px;list-style:none;cursor:pointer;user-select:none}.gm-role-danger-zone>summary::-webkit-details-marker{display:none}.gm-role-danger-zone>summary div>*{display:block}.gm-role-danger-zone>summary small{direction:ltr;color:#e36d7b;font-size:9px;font-weight:800;letter-spacing:1.8px}.gm-role-danger-zone>summary b{margin:4px 0;color:#f1dce2}.gm-role-danger-zone>summary em{color:#8f7882;font-size:10px;font-style:normal}.gm-role-danger-zone>summary>i{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;color:#d78b98;background:rgba(190,62,83,.1);font-style:normal;transition:transform .18s}.gm-role-danger-zone[open]>summary>i{transform:rotate(45deg)}
.gm-role-danger-body{padding:0 20px 20px;border-top:1px solid rgba(218,83,100,.18)}.gm-role-cleanup-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:16px 0 10px}.gm-role-cleanup-stats span{padding:12px;border:1px solid rgba(222,103,117,.18);border-radius:12px;background:rgba(92,35,51,.11);text-align:center}.gm-role-cleanup-stats b,.gm-role-cleanup-stats small{display:block}.gm-role-cleanup-stats b{color:#ffb4bd;font-size:22px}.gm-role-cleanup-stats small{margin-top:3px;color:#8f7d88;font-size:9px}
.gm-role-cleanup-note{padding:11px 12px;border:1px solid rgba(255,180,84,.22);border-radius:11px;color:#d8b488;background:rgba(138,83,28,.09);font-size:11px;line-height:1.8}.gm-role-delete-check{display:flex;align-items:center;gap:10px;margin:13px 0;padding:11px 12px;border:1px solid rgba(223,89,107,.24);border-radius:11px;background:rgba(126,35,55,.1);cursor:pointer}.gm-role-delete-check input{width:auto;accent-color:#e5596d}.gm-role-delete-check b,.gm-role-delete-check small{display:block}.gm-role-delete-check small{margin-top:4px;color:#927b84;line-height:1.55}.gm-role-confirm-field code{direction:ltr;display:inline-block;margin-inline:5px;padding:3px 7px;border-radius:6px;color:#ffb2bf;background:#2a1019}.gm-role-confirm-field input{direction:ltr;text-align:left}.gm-role-danger-zone #gm-delete-all-roles{min-height:48px;margin-top:12px}.gm-role-danger-zone #gm-delete-all-roles:disabled{opacity:.42;cursor:not-allowed}.gm-role-delete-task{border-color:rgba(226,83,103,.3)!important}.gm-role-delete-task .progress>div{background:linear-gradient(90deg,#b72f50,#ee6575)!important}
.gm-member-bulk{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;margin:12px 0;padding:12px;border:1px solid rgba(111,102,235,.27);border-radius:14px;background:linear-gradient(145deg,rgba(91,74,205,.15),rgba(24,36,68,.3))}
.gm-member-bulk>label{display:flex;align-items:center;gap:10px;margin:0;cursor:pointer}
.gm-member-bulk input{width:auto;accent-color:#8171f3}
.gm-member-bulk b,.gm-member-bulk small{display:block}
.gm-member-bulk small{margin-top:4px;color:#828da7;line-height:1.55}
.gm-member-task{margin:10px 0 13px}
.gm-member-task-counts{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.gm-member-task-counts span{padding:5px 8px;border:1px solid #293551;border-radius:99px;color:#8d99b3;background:#0c1323;font-size:10px}
.gm-member-task-counts b{color:#dce2f3}
@media(max-width:700px){.gm-member-bulk{grid-template-columns:1fr}.gm-member-bulk>.btn{width:100%}.gm-role-danger-zone>summary{padding:14px}.gm-role-danger-body{padding:0 14px 16px}.gm-role-cleanup-stats{grid-template-columns:1fr}.gm-role-cleanup-stats span{display:flex;align-items:center;justify-content:space-between;text-align:right}.gm-role-cleanup-stats b{font-size:18px}.gm-role-cleanup-stats small{margin:0}.gm-role-confirm-field code{display:block;width:max-content;max-width:100%;margin:6px 0;overflow:auto}.gm-role-danger-zone #gm-delete-all-roles{position:sticky;bottom:calc(70px + env(safe-area-inset-bottom));z-index:3}}

/* Global blacklist profile cards */
.blacklist-users{display:flex;flex-direction:column;gap:9px}
.blacklist-user{display:grid;grid-template-columns:52px minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:12px;border:1px solid #242e47;border-radius:14px;background:#0b1120}
.blacklist-user>img,.blacklist-avatar-fallback{width:52px;height:52px;border-radius:15px;background:#252e46;object-fit:cover}
.blacklist-avatar-fallback{display:grid;place-items:center;font-weight:800;color:#aeb8d5}
.blacklist-user-info{min-width:0}
.blacklist-user-info b,.blacklist-user-info small,.blacklist-user-info code{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.blacklist-user-info small{color:#8792ac;margin:3px 0;font-size:11px}
.blacklist-user-info code{color:#68738e;font-size:10px}
.blacklist-platform{padding:5px 9px;border-radius:99px;border:1px solid #38435d;color:#aeb8cf;font-size:10px;white-space:nowrap}
.blacklist-platform.discord{border-color:#5865f255;color:#8993ff;background:#5865f210}
.blacklist-platform.telegram{border-color:#2aabee55;color:#60c5f8;background:#2aabee10}
.blacklist-actions{display:flex;gap:6px}
.blacklist-actions .btn{white-space:nowrap}
.blocked-image-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(148px,1fr));gap:10px}
.blocked-image{display:flex;flex-direction:column;gap:8px;margin:0;padding:10px;border:1px solid #242e47;border-radius:14px;background:#0b1120}
.blocked-image img,.blocked-image-missing{width:100%;height:104px;border-radius:10px;background:#252e46;object-fit:cover}
.blocked-image-missing{display:grid;place-items:center;color:#68738e;font-size:11px}
.blocked-image figcaption{min-width:0}
.blocked-image figcaption b,.blocked-image figcaption small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.blocked-image figcaption small{color:#68738e;font-size:10px;margin-top:2px}
.blacklist-recent-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.blacklist-recent-head h3{margin-bottom:4px}.blacklist-recent-head p{margin:0}.blacklist-user.recent{border-color:#283553;background:linear-gradient(145deg,#0d1527,#0a1020)}
@media(max-width:700px){.blacklist-user{grid-template-columns:46px minmax(0,1fr) auto}.blacklist-user>img,.blacklist-avatar-fallback{width:46px;height:46px;border-radius:13px}.blacklist-platform{display:none}.blacklist-actions{grid-column:2/4}.blacklist-actions .btn{flex:1}}

/* Dedicated outgoing Discord bridge */
.bridge-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:25px;border:1px solid #33446b;border-radius:20px;background:radial-gradient(circle at 85% 20%,rgba(88,101,242,.2),transparent 35%),linear-gradient(135deg,#10182d,#0a1020);box-shadow:0 24px 70px rgba(0,0,0,.3)}
.bridge-hero h2{margin:5px 0 8px;font-size:26px}.bridge-hero p{max-width:690px;margin:0;color:#9aa7c3;line-height:1.9}.bridge-kicker{font-size:10px;letter-spacing:2px;color:#7f8cff;font-weight:800}
.bridge-flow{display:flex;align-items:center;gap:10px;direction:ltr;flex-shrink:0}.bridge-flow>span{width:105px;padding:13px 8px;border-radius:14px;text-align:center;border:1px solid #35415f;background:#0a1020;color:#dbe3ff;font-size:12px;font-weight:800}.bridge-flow small{display:block;margin-top:3px;color:#7784a5;font-size:8px;font-weight:600}.bridge-flow i{color:#6475a6;font-style:normal}.bridge-flow .self{border-color:#71532d;color:#ffc37b}.bridge-flow .queue{border-color:#315c74;color:#6dd6ff}.bridge-flow .bot{border-color:#4e50a1;color:#aeb5ff}
.bridge-card{min-height:245px}.bridge-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:17px}.bridge-card-head small{display:block;color:#71809f;font-size:9px;letter-spacing:1px;margin-bottom:4px}.bridge-card-head h3{margin:0}.bridge-hint{font-size:11px;line-height:1.8}.bridge-test-dot{width:11px;height:11px;border-radius:50%;background:#38d996;box-shadow:0 0 0 6px rgba(56,217,150,.08),0 0 18px rgba(56,217,150,.5)}
.bridge-queue-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.bridge-queue-grid span{padding:16px 8px;border:1px solid #27334f;border-radius:13px;text-align:center;background:#0a1120}.bridge-queue-grid b,.bridge-queue-grid small{display:block}.bridge-queue-grid b{font-size:23px;color:#dbe4ff}.bridge-queue-grid small{font-size:9px;color:#7885a2;margin-top:5px}.bridge-queue-grid span.bad b{color:#ff6f7d}
.bridge-test-result{padding:11px 12px;border-radius:11px;border:1px solid #28334d;background:#0a1020;font-size:11px;line-height:1.7}.bridge-test-result.ok{color:#56dba0;border-color:#285b49;background:#0d211c}.bridge-test-result.bad{color:#ff8490;border-color:#61323a;background:#271217}
@media(max-width:900px){.bridge-hero{align-items:flex-start;flex-direction:column}.bridge-flow{width:100%;justify-content:center}.bridge-flow>span{width:auto;flex:1}}
@media(max-width:520px){.bridge-flow{gap:5px}.bridge-flow>span{padding:10px 4px;font-size:10px}.bridge-queue-grid{grid-template-columns:1fr 1fr}}

/* Live delivery monitor */
.delivery-account-picker{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:14px;padding:17px 19px;border:1px solid #2b3857;border-radius:17px;background:linear-gradient(145deg,#121a2c,#0a1020);box-shadow:inset 0 1px rgba(255,255,255,.035)}.delivery-account-copy{display:flex;align-items:center;gap:12px}.delivery-account-copy>span{display:grid;place-items:center;width:43px;height:43px;border:1px solid rgba(136,118,255,.28);border-radius:13px;color:#b5a6ff;background:rgba(117,86,226,.12);font-size:20px}.delivery-account-copy small,.delivery-account-copy b{display:block}.delivery-account-copy small{color:#77839b;font-size:9px;letter-spacing:1px}.delivery-account-copy b{margin:3px 0;font-size:15px}.delivery-account-copy p{margin:0;color:#78849b;font-size:10px}.delivery-account-picker>label{width:min(420px,45%);margin:0}.delivery-account-picker>label>span{display:block;margin-bottom:5px;color:#8995ad;font-size:10px}.delivery-account-picker select{border-color:#364363;background:#080e1b}
.delivery-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.42fr);gap:14px;padding:18px;border:1px solid #293759;border-radius:20px;background:radial-gradient(560px 220px at 8% 0,rgba(51,214,151,.12),transparent 68%),linear-gradient(145deg,#0e1729,#080e1a);box-shadow:0 22px 65px rgba(0,0,0,.28)}
.delivery-live,.delivery-last{display:flex;align-items:center;gap:15px;min-height:95px;padding:17px 20px;border:1px solid rgba(255,255,255,.07);border-radius:16px;background:rgba(4,9,18,.48)}
.delivery-live small,.delivery-last small{display:block;color:#75829c;font-size:9px;letter-spacing:1.4px}.delivery-live h2{margin:5px 0 0;font-size:23px}.delivery-live.live h2{color:#cffff0}.delivery-live.idle h2{color:#ffe4a0}.delivery-live.stale h2{color:#ffb2ba}
.delivery-radar{position:relative;display:grid;place-items:center;flex:0 0 49px;width:49px;height:49px;border:1px solid rgba(58,219,157,.28);border-radius:50%;background:rgba(40,190,133,.08)}.delivery-radar:before,.delivery-radar:after{content:"";position:absolute;border:1px solid rgba(65,224,164,.14);border-radius:50%}.delivery-radar:before{inset:7px}.delivery-radar:after{inset:14px}.delivery-radar i{width:9px;height:9px;border-radius:50%;background:#43dda5;box-shadow:0 0 18px #43dda5;animation:deliveryPulse 1.8s infinite}.delivery-live.idle .delivery-radar i{background:#f6c95b;box-shadow:0 0 18px #f6c95b}.delivery-live.stale .delivery-radar i{background:#ef6573;box-shadow:0 0 18px #ef6573;animation:none}
.delivery-last{display:block;text-align:center}.delivery-last b,.delivery-last span{display:block}.delivery-last b{margin:5px 0;font-size:22px}.delivery-last span{color:#77839d;font-size:10px}
.delivery-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:14px}.delivery-stats article{display:flex;align-items:center;gap:12px;padding:15px;border:1px solid #222d46;border-radius:15px;background:linear-gradient(145deg,#111827,#0b1120)}.delivery-stats small,.delivery-stats b{display:block}.delivery-stats small{color:#77849d;font-size:10px}.delivery-stats b{margin-top:4px;font-size:19px}.delivery-stat-icon{display:grid;place-items:center;flex:0 0 39px;width:39px;height:39px;border-radius:12px;font-size:18px;font-weight:900}.delivery-stat-icon.latency{color:#8eb8ff;background:rgba(75,131,230,.13)}.delivery-stat-icon.success{color:#4ae0a8;background:rgba(45,193,139,.12)}.delivery-stat-icon.error{color:#ff7481;background:rgba(213,66,81,.12)}.delivery-stat-icon.queue{color:#bd9dff;background:rgba(127,90,219,.13)}
.delivery-panel{margin-top:14px;border:1px solid #222d46;border-radius:20px;background:#0d131f;overflow:hidden}.delivery-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 22px;border-bottom:1px solid #202a40;background:linear-gradient(90deg,rgba(31,42,69,.45),transparent)}.delivery-panel h3{margin:4px 0;font-size:19px}.delivery-panel header p{margin:0;color:#77849e;font-size:11px}.delivery-refresh{display:flex;align-items:center;gap:9px;color:#77849e;font-size:9px;text-align:left;direction:ltr}.delivery-refresh i{width:8px;height:8px;border-radius:50%;background:#42dca4;box-shadow:0 0 10px #42dca4}.delivery-refresh b{color:#c8d1e5;font-size:11px}
.delivery-list{padding:8px 14px 14px}.delivery-row{display:grid;grid-template-columns:38px minmax(0,1fr) 130px;gap:13px;align-items:start;padding:15px 8px;border-bottom:1px solid #1c2538}.delivery-row:last-child{border-bottom:0}.delivery-status{display:grid;place-items:center;width:30px;height:30px;margin-top:3px;border-radius:10px;color:#45dda6;background:rgba(53,207,151,.11);font-weight:900}.delivery-row.failed .delivery-status{color:#ff6e7b;background:rgba(225,66,81,.12)}.delivery-main{min-width:0}.delivery-route{display:flex;align-items:center;gap:10px;min-width:0}.delivery-route>span{min-width:0}.delivery-route small,.delivery-route b{display:block}.delivery-route small{color:#697791;font-size:8px}.delivery-route b{max-width:310px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.delivery-route i{color:#53617b;font-style:normal}.delivery-main>p{margin:9px 0 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#b8c1d4;font-size:12px}.delivery-meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap;color:#69758c;font-size:9px}.delivery-meta b{color:#9ca8c0}.delivery-kind{padding:3px 7px;border:1px solid #35405a;border-radius:99px;color:#aab5cd;background:#131b2c}.delivery-meta .mono{direction:ltr;font-family:ui-monospace,monospace}.delivery-error{margin-top:8px;padding:7px 9px;border-radius:8px;color:#ff929c;background:rgba(181,50,65,.09);font-size:10px;line-height:1.6}.delivery-timing{text-align:left;direction:ltr}.delivery-timing b,.delivery-timing span,.delivery-timing small,.delivery-timing time{display:block}.delivery-timing b{color:#65e5b4;font-size:15px}.delivery-row.failed .delivery-timing b{color:#ff7c88}.delivery-timing span{margin-top:2px;color:#65718a;font-size:8px}.delivery-timing small{margin-top:8px;color:#8996ad;font-size:9px}.delivery-timing time{margin-top:5px;color:#606c83;font-size:9px}
.delivery-empty{padding:65px 20px;text-align:center;color:#77839a}.delivery-empty span,.delivery-empty b{display:block}.delivery-empty span{font-size:42px;color:#47536d}.delivery-empty b{margin:8px 0;color:#bdc6d7}
@keyframes deliveryPulse{50%{opacity:.4;transform:scale(.65)}}
@media(max-width:950px){.delivery-stats{grid-template-columns:1fr 1fr}.delivery-hero{grid-template-columns:1fr}.delivery-last{text-align:right}}
@media(max-width:650px){.delivery-account-picker{align-items:stretch;flex-direction:column}.delivery-account-picker>label{width:100%}.delivery-stats{grid-template-columns:1fr}.delivery-panel>header{align-items:stretch;flex-direction:column}.delivery-row{grid-template-columns:30px minmax(0,1fr)}.delivery-timing{grid-column:2;display:flex;align-items:center;gap:8px;text-align:right;direction:rtl}.delivery-timing span,.delivery-timing small,.delivery-timing time{margin:0}.delivery-route{align-items:flex-start;flex-direction:column;gap:5px}.delivery-route i{display:none}.delivery-main>p{white-space:normal;line-height:1.7}.delivery-live h2{font-size:18px}}

/* Keep the only mobile navigation trigger visible inside full-screen workspaces. */
@media (max-width: 768px) {
  body.clone-route .topbar,
  body.guild-manager-route .topbar { display: flex; }
}

/* ===== Watermark studio ===== */
.wm-intro h3 { margin: 0 0 6px; }
.wm-intro p { margin: 0; color: var(--muted); line-height: 2; }
.wm-facts { margin: 12px 0 0; padding-inline-start: 18px; color: var(--muted); font-size: 12px; line-height: 2.1; }
.wm-facts b { color: #fff; }
.wm-switch-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.wm-switch { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; }
.wm-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.wm-switch-track { position: relative; width: 46px; height: 26px; border: 1px solid var(--border-strong); border-radius: 999px; background: rgba(255,255,255,.05); transition: background .15s ease; }
.wm-switch-track i { position: absolute; inset-block-start: 3px; inset-inline-start: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--muted); transition: transform .15s ease, background .15s ease; }
.wm-switch input:checked + .wm-switch-track { background: rgba(var(--accent-rgb), .28); border-color: rgba(var(--accent-rgb), .5); }
.wm-switch input:checked + .wm-switch-track i { background: var(--accent-2, #fff); transform: translateX(-20px); }
.wm-switch input:focus-visible + .wm-switch-track { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.wm-logo-row { display: flex; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.wm-logo-preview { display: grid; place-items: center; width: 128px; height: 128px; padding: 8px; border: 1px dashed var(--border-strong); border-radius: 14px; background: repeating-conic-gradient(#15111f 0% 25%, #0d0a14 0% 50%) 50% / 16px 16px; font-size: 10px; text-align: center; }
.wm-logo-preview img { max-width: 100%; max-height: 100%; object-fit: contain; }
.wm-slider-row { display: flex; align-items: center; gap: 12px; }
.wm-slider-row input[type="range"] { flex: 1; accent-color: var(--accent-2, #8b5cf6); }
.wm-value { min-width: 62px; padding: 5px 9px; border: 1px solid var(--border); border-radius: 9px; background: rgba(255,255,255,.03); color: #fff; font-size: 12px; text-align: center; }
.wm-position-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.wm-position-cell { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; min-height: 76px; padding: 9px 6px; border: 1px solid var(--border); border-radius: 12px; background: rgba(255,255,255,.02); color: var(--muted); font-size: 10px; line-height: 1.6; text-align: center; cursor: pointer; }
.wm-position-cell:hover { color: #fff; border-color: rgba(var(--accent-rgb), .4); }
.wm-position-cell.active { color: #fff; border-color: rgba(var(--accent-rgb), .75); background: rgba(var(--accent-rgb), .13); }
.wm-dot { position: relative; width: 30px; height: 22px; border: 1px solid var(--border-strong); border-radius: 4px; background: rgba(255,255,255,.04); }
.wm-dot::after { content: ""; position: absolute; width: 8px; height: 6px; border-radius: 2px; background: currentColor; opacity: .85; }
.wm-dot.top-left::after { inset-block-start: 3px; inset-inline-start: 3px; }
.wm-dot.top-right::after { inset-block-start: 3px; inset-inline-end: 3px; }
.wm-dot.bottom-left::after { inset-block-end: 3px; inset-inline-start: 3px; }
.wm-dot.bottom-right::after { inset-block-end: 3px; inset-inline-end: 3px; }
.wm-dot.center::after { inset-block-start: 50%; inset-inline-start: 50%; transform: translate(50%, -50%); }
.wm-dot.random::after { inset-block-start: 3px; inset-inline-start: 3px; box-shadow: 17px 0 0 currentColor, 0 11px 0 currentColor, 17px 11px 0 currentColor; opacity: .5; }
.wm-preview-image { max-width: 100%; border: 1px solid var(--border); border-radius: 12px; }
@media (max-width: 650px) { .wm-position-cell { min-height: 66px; font-size: 9px; } }
.wm-scope-card h3 { margin: 0 0 6px; }
.wm-mode-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 9px; margin-top: 12px; }
.wm-mode { display: block; padding: 11px 12px; border: 1px solid var(--border); border-radius: 12px; background: rgba(255,255,255,.02); cursor: pointer; }
.wm-mode.active { border-color: rgba(var(--accent-rgb), .7); background: rgba(var(--accent-rgb), .11); }
.wm-mode input { margin-inline-end: 7px; }
.wm-mode b { color: #fff; font-size: 12px; }
.wm-mode small { display: block; margin-top: 5px; color: var(--muted-2); font-size: 10px; line-height: 1.8; }
.wm-scope-help { margin-top: 14px; padding: 11px 13px; border: 1px solid var(--border); border-radius: 12px; background: rgba(255,255,255,.015); font-size: 11px; line-height: 2; }
.wm-scope-help b { color: #fff; }
.wm-scope-help span { display: block; color: var(--muted); }
.wm-scope-picker { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.wm-scope-picker > div { flex: 1; min-width: 150px; }
.wm-scope-picker label { display: block; margin-bottom: 5px; }
.wm-scope-warning { margin-top: 12px; padding: 9px 12px; border: 1px solid rgba(251,189,35,.4); border-radius: 10px; background: rgba(251,189,35,.08); color: #ffd98a; font-size: 11px; }
.wm-alert { margin-bottom: 12px; padding: 12px 15px; border: 1px solid rgba(251,189,35,.45); border-radius: 12px; background: rgba(251,189,35,.09); color: #ffd98a; font-size: 12px; line-height: 2; }
.wm-alert b { color: #fff; }
.gm-duration-row { display: flex; gap: 8px; }
.gm-duration-row input { flex: 1; min-width: 0; }
.gm-duration-row select { width: auto; flex: 0 0 auto; }
.gm-role-readonly small b { color: #fff; }
.gm-2fa-warning { margin: 0 0 12px; padding: 12px 15px; border: 1px solid rgba(240,82,82,.45); border-radius: 12px; background: rgba(240,82,82,.10); color: #ffb3b3; font-size: 12px; line-height: 2; }
.gm-2fa-warning b { color: #fff; }
/* ===== Role → channel access ===== */
.ra-step { display: flex; align-items: flex-start; gap: 12px; margin-top: 14px; }
.ra-step > span { display: grid; place-items: center; width: 26px; height: 26px; flex: 0 0 auto; border-radius: 50%; background: rgba(var(--accent-rgb), .18); color: #fff; font-size: 11px; font-weight: 800; }
.ra-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.ra-head b { color: #fff; font-size: 12px; }
.ra-head span { font-size: 10px; }
.ra-head input[type="search"] { flex: 1; min-width: 140px; max-width: 260px; }
.ra-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 7px; max-height: 260px; overflow-y: auto; padding: 10px; border: 1px solid var(--border); border-radius: 12px; background: rgba(255,255,255,.015); }
.ra-channels { max-height: 300px; }
.ra-pill { display: flex; align-items: center; gap: 7px; padding: 7px 9px; border: 1px solid var(--border); border-radius: 9px; background: rgba(255,255,255,.02); color: var(--muted); font-size: 11px; cursor: pointer; }
.ra-pill:hover { color: #fff; border-color: rgba(var(--accent-rgb), .4); }
.ra-pill span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ra-pill small { color: var(--muted-2); font-size: 9px; }
.ra-pill.inherited { border-style: dashed; opacity: .75; }
.ra-current { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.ra-current span { flex: 1; min-width: 180px; color: var(--muted-2); font-size: 10px; line-height: 1.9; }
.ra-pill.has-role { border-color: rgba(var(--accent-rgb), .45); background: rgba(var(--accent-rgb), .07); color: #fff; }
.ra-pill.has-role.blocked { border-color: rgba(240,82,82,.42); background: rgba(240,82,82,.07); }
.ra-state { flex: 0 0 auto; padding: 1px 6px; border-radius: 999px; background: rgba(255,255,255,.06); font-size: 9px; }
.ra-state.on { background: rgba(53,207,151,.16); color: #8ff0c6; }
.ra-state.off { background: rgba(240,82,82,.16); color: #ffb3b3; }
.ra-footer-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ra-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 16px; padding: 13px 15px; border: 1px solid var(--border-strong); border-radius: 12px; background: rgba(255,255,255,.02); }
.ra-footer b { display: block; color: #fff; font-size: 13px; }
.ra-footer small { display: block; margin-top: 4px; color: var(--muted-2); font-size: 10px; line-height: 1.9; }
.ra-footer small b { display: inline; }
.ra-result { margin-top: 10px; padding: 9px 12px; border: 1px solid var(--border); border-radius: 10px; font-size: 11px; line-height: 1.9; }
.ra-result.ok { border-color: rgba(53,207,151,.4); background: rgba(53,207,151,.08); color: #8ff0c6; }
.ra-result.warn { border-color: rgba(251,189,35,.4); background: rgba(251,189,35,.08); color: #ffd98a; }
.ra-result.bad { border-color: rgba(240,82,82,.45); background: rgba(240,82,82,.1); color: #ffb3b3; }
