/* CP1 (2026-10-25) + CP2: chat panel, community page + radio — tidy, readable, one grid. Overrides only the look (help-fab.css, wg-radio.css,
   chat-extras inline styles); controls and their handlers are the original ones (see cp1.js). */
:root{--cp1-fill:linear-gradient(90deg,#7a0f2c 0%,#c8163f 48%,#e8a33a 82%,#f2c46d 100%)}
.wgr.cp1,.wg-help-fab,.wgc .wgx-bar.cp1{--cp-card:color-mix(in srgb,var(--wg-s3,#201f24) 88%,transparent);--cp-card-2:var(--wg-s2,#18171b);
  --cp-line:color-mix(in srgb,var(--wg-accent,#e11d48) 26%,var(--wg-s5,#3a3840));--cp-text:var(--wg-text,#f5f1ec);--cp-muted:#c2b6b9;
  --cp-gold:#f2c46d;--cp-track:rgba(255,255,255,.13);--cp-ok:#35d07f;--cp-warn:#ffb547;--cp-live:#ff5d6c}
html[data-theme="light"] :is(.wgr.cp1,.wg-help-fab,.wgc .wgx-bar.cp1){--cp-card:#ffffff;--cp-card-2:#fbf6f7;--cp-line:#ead2d8;--cp-text:#1d1416;--cp-muted:#6e6164;
  --cp-gold:#b7811b;--cp-track:#ecdfe2;--cp-ok:#14975a;--cp-warn:#b86e00;--cp-live:#d92d3e}

/* ---------- radio card */
html body .wgr.wgr-full.cp1{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"play body more" "tools tools tools";
  align-items:center;column-gap:10px;row-gap:10px;min-height:0!important;padding:8px 8px 8px 8px!important;border:1px solid var(--cp-line)!important;border-radius:16px!important;
  background:radial-gradient(120% 140% at 0 0,color-mix(in srgb,var(--wg-accent,#e11d48) 20%,transparent),transparent 60%),var(--cp-card-2)!important;color:var(--cp-text)}
html[data-theme="light"] body .wgr.wgr-full.cp1{background:radial-gradient(120% 140% at 0 0,#fde4ea,transparent 62%),#fff!important}
html body .wgr.wgr-full.cp1[data-station="humorfm"]{background:radial-gradient(120% 140% at 0 0,color-mix(in srgb,#ff9f1c 22%,transparent),transparent 60%),var(--cp-card-2)!important}
html[data-theme="light"] body .wgr.wgr-full.cp1[data-station="humorfm"]{background:radial-gradient(120% 140% at 0 0,#ffe9cc,transparent 62%),#fff!important}
html body .wgr.wgr-full.cp1>.wgr-play{grid-area:play;width:44px!important;height:44px!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--cp-gold) 45%,transparent),0 6px 16px color-mix(in srgb,var(--wg-accent,#e11d48) 35%,transparent)!important}
html body .wgr.wgr-full.cp1>.wgr-play svg{width:20px!important;height:20px!important}
html body .wgr.wgr-full.cp1.wgr-on>.wgr-play{animation:cp1-ring 2.4s ease-in-out infinite}
@keyframes cp1-ring{50%{box-shadow:0 0 0 5px color-mix(in srgb,var(--cp-gold) 22%,transparent),0 6px 16px color-mix(in srgb,var(--wg-accent,#e11d48) 35%,transparent)}}
html body .wgr.wgr-full.cp1>.wgr-body{grid-area:body;display:grid;gap:3px;min-width:0}
html body .wgr.wgr-full.cp1 .wgr-line1{display:flex;align-items:center;gap:8px;min-width:0;flex-wrap:nowrap;overflow:hidden;line-height:1.2}
html body .wgr.wgr-full.cp1 .wgr-name{flex:none;min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:14.5px!important;font-weight:900;color:var(--cp-text)}
/* status pill: always readable (also on phones) */
html body .wgr.wgr-full.cp1 .wgr-live{display:inline-block!important;flex:0 1 auto;min-width:0;max-width:100%;overflow:hidden!important;text-overflow:ellipsis;white-space:nowrap;height:22px;line-height:22px;padding:0 9px;border-radius:999px;
  font-size:11.5px!important;font-weight:800;letter-spacing:.01em;color:var(--cp-muted);background:color-mix(in srgb,var(--cp-muted) 14%,transparent);overflow:visible!important}
html body .wgr.wgr-full.cp1 .wgr-live::before{display:inline-block;vertical-align:1px;margin-right:6px;width:7px!important;height:7px!important;flex:none;border-radius:50%;background:currentColor!important;opacity:1!important}
html body .wgr.wgr-full.cp1 .wgr-live:is([data-status="playing"]){color:var(--cp-live);background:color-mix(in srgb,var(--cp-live) 15%,transparent)}
html body .wgr.wgr-full.cp1 .wgr-live[data-status="loading"]{color:var(--cp-warn);background:color-mix(in srgb,var(--cp-warn) 15%,transparent)}
html body .wgr.wgr-full.cp1 .wgr-live:is([data-status="error"],[data-status="blocked"]){color:var(--cp-live);background:color-mix(in srgb,var(--cp-live) 12%,transparent)}
html body .wgr.wgr-full.cp1[data-status="loading"] .wgr-line1 .wgr-eq{display:none!important}
html body .wgr.wgr-full.cp1 .wgr-line2{font-size:12.5px!important;font-weight:600;color:var(--cp-muted);line-height:1.3}
html body .wgr.wgr-full.cp1 .wgr-track{color:var(--cp-muted)}
html body .wgr.wgr-full.cp1 .wgr-lic{font-size:10.5px;padding:1px 6px;border-radius:6px}
html body .wgr.wgr-full.cp1>.wg-help-radio-more{grid-area:more;width:40px!important;height:40px!important;border:1px solid var(--cp-line)!important;border-radius:12px!important;background:var(--cp-card)!important;color:var(--cp-text)!important}
html body .wgr.wgr-full.cp1>.wg-help-radio-more svg{width:18px;height:18px}
/* tools: stations, volume, about */
html body .wgr.wgr-full.cp1>.wgr-tools{grid-area:tools;display:grid!important;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"st st" "vol about";align-items:center;gap:8px 10px;min-width:0;width:100%}
html body .wgr.wgr-full.cp1 .wgr-tools>select.wgr-station,html body .wgr.wgr-full.cp1 .wgr-volbtn,html body .wgr.wgr-full.cp1 .wgr-volpop{display:none!important}
.wgr.cp1 .cp1-st{grid-area:st;display:flex;gap:6px;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;padding:1px}
.wgr.cp1 .cp1-st::-webkit-scrollbar{display:none}
.wgr.cp1 .cp1-st.cp1-more-r{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 36px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 36px),transparent)}
.wgr.cp1 .cp1-st.cp1-more-l{-webkit-mask-image:linear-gradient(90deg,transparent,#000 36px);mask-image:linear-gradient(90deg,transparent,#000 36px)}
.wgr.cp1 .cp1-st.cp1-more-l.cp1-more-r{-webkit-mask-image:linear-gradient(90deg,transparent,#000 36px,#000 calc(100% - 36px),transparent);mask-image:linear-gradient(90deg,transparent,#000 36px,#000 calc(100% - 36px),transparent)}
html body .wgr.cp1 .cp1-chip{flex:none;display:inline-flex;align-items:center;gap:6px;min-height:36px;margin:0;padding:0 12px!important;scroll-snap-align:start;
  border:1px solid var(--cp-line)!important;border-radius:999px!important;background:var(--cp-card)!important;color:var(--cp-text)!important;font:inherit;font-size:13px!important;font-weight:800;line-height:1;white-space:nowrap;cursor:pointer;transition:background .15s,border-color .15s}
html body .wgr.cp1 .cp1-chip:hover{border-color:color-mix(in srgb,var(--cp-gold) 60%,var(--cp-line))!important}
html body .wgr.cp1 .cp1-chip.is-on{border-color:color-mix(in srgb,var(--cp-gold) 75%,transparent)!important;background:linear-gradient(135deg,#8c1233,#d81c4a)!important;color:#fff!important;box-shadow:0 4px 12px color-mix(in srgb,#d81c4a 30%,transparent)}
html body .wgr.cp1[data-station="humorfm"] .cp1-chip.is-on{background:linear-gradient(135deg,#d9531e,#ff9f1c)!important}
.wgr.cp1 .cp1-chip-i{font-size:15px;line-height:1}
.wgr.cp1 .cp1-vol{grid-area:vol;display:flex;align-items:center;gap:8px;min-width:0}
.wgr.cp1 .cp1-vol[hidden]{display:none!important}
html body .wgr.cp1 .cp1-mute{flex:none;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:0!important;padding:0!important;
  border:1px solid var(--cp-line)!important;border-radius:50%!important;background:var(--cp-card)!important;color:var(--cp-text)!important;cursor:pointer}
html body .wgr.cp1 .cp1-mute svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
html body .wgr.cp1 .cp1-mute svg path:first-child{fill:currentColor;fill-opacity:.18}
html body .wgr.cp1.cp1-muted .cp1-mute{color:var(--cp-live)!important;border-color:color-mix(in srgb,var(--cp-live) 50%,transparent)!important}
.wgr.cp1 .cp1-pct{flex:none;min-width:42px;text-align:right;font-size:13px;font-weight:900;font-variant-numeric:tabular-nums;color:var(--cp-text)}
html body .wgr.cp1 .cp1-about{grid-area:about;display:inline-flex!important;align-items:center;gap:6px;width:auto!important;height:36px!important;padding:0 12px 0 6px!important;
  border:1px solid var(--cp-line)!important;border-radius:999px!important;background:var(--cp-card)!important;color:var(--cp-muted)!important;font-size:12.5px!important;font-weight:800;font-style:normal!important}
.wgr.cp1 .cp1-about-i{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:color-mix(in srgb,var(--cp-muted) 18%,transparent);font-style:italic;font-weight:900;font-family:Georgia,serif}
.wgr.cp1 .wgr-about{top:auto;bottom:calc(100% + 8px);right:0}
.wgc-top .wgr.cp1 .wgr-about{top:calc(100% + 6px);bottom:auto}

/* ---------- the slider (chat player + mini-player): bordo → gold fill, big round thumb, 44px touch zone */
html body .wgr.cp1 input[type="range"]:is(.cp1-range,.wgr-vol){-webkit-appearance:none!important;appearance:none!important;display:block;flex:1 1 auto;width:100%!important;min-width:60px!important;height:44px!important;margin:0!important;padding:0!important;
  border:0!important;background:transparent!important;box-shadow:none!important;cursor:pointer;touch-action:pan-y;--cp1-p:60%}
html body .wgr.wgr-mini.cp1 input[type="range"].wgr-vol{flex:none;width:72px!important;min-width:0!important;height:38px!important}
.wgr.cp1 input[type="range"]:is(.cp1-range,.wgr-vol)::-webkit-slider-runnable-track{height:8px;border-radius:999px;background:var(--cp1-fill) 0 0/var(--cp1-p) 100% no-repeat,var(--cp-track)}
.wgr.cp1 input[type="range"]:is(.cp1-range,.wgr-vol)::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:24px;height:24px;margin-top:-8px;border-radius:50%;border:3px solid var(--cp-gold);
  background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.35),0 0 0 4px color-mix(in srgb,var(--cp-gold) 18%,transparent);transition:transform .12s}
.wgr.cp1 input[type="range"]:is(.cp1-range,.wgr-vol):active::-webkit-slider-thumb{transform:scale(1.12)}
.wgr.cp1 input[type="range"]:is(.cp1-range,.wgr-vol)::-moz-range-track{height:8px;border:0;border-radius:999px;background:var(--cp-track)}
.wgr.cp1 input[type="range"]:is(.cp1-range,.wgr-vol)::-moz-range-progress{height:8px;border-radius:999px;background:var(--cp1-fill)}
.wgr.cp1 input[type="range"]:is(.cp1-range,.wgr-vol)::-moz-range-thumb{width:18px;height:18px;border-radius:50%;border:3px solid var(--cp-gold);background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.35)}
.wgr.cp1 input[type="range"]:is(.cp1-range,.wgr-vol):focus-visible{outline:none!important}
.wgr.cp1 input[type="range"]:is(.cp1-range,.wgr-vol):focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 3px var(--wg-accent-hi,#ff4d6d),0 2px 8px rgba(0,0,0,.35)}
html body .wgr.wgr-mini.cp1 .wgr-name{font-size:13px;font-weight:900}
html body .wgr.wgr-mini.cp1 .wgr-line2{font-size:12px}

/* collapsed player = one row; inside the chat the chat stays the main thing */
html body :is(.wg-help-chat2,.wgc-page) .wgr.wgr-full.cp1:not(.wg-help-radio-open){grid-template-areas:"play body more";padding:6px 6px 6px 6px!important;border-radius:14px!important}
html body :is(.wg-help-chat2,.wgc-page) .wgr.wgr-full.cp1:not(.wg-help-radio-open)>.wgr-play{width:38px!important;height:38px!important}
html body :is(.wg-help-chat2,.wgc-page) .wgr.wgr-full.cp1:not(.wg-help-radio-open)>.wg-help-radio-more{width:36px!important;height:36px!important}
html body :is(.wg-help-chat2,.wgc-page) .wgc-top>.wgc-radio-slot{flex:1 1 100%;min-width:0}

/* ---------- chat panel head: equal buttons, icons, tooltips, readable title in both themes */
html body .wg-help-fab .wg-help-head{gap:10px}
html body .wg-help-fab .wg-help-head #wg-help-title{font-size:18px!important;font-weight:900!important;letter-spacing:.005em;color:var(--cp-text)!important}
html body .wg-help-fab .wg-help-tools.cp1{gap:6px}html body .wg-help-fab .wg-help-tools.cp1>button,html body .wg-help-fab .wg-help-tools.cp1>a{position:relative;width:38px!important;height:38px!important;border-radius:12px!important;border:1px solid var(--cp-line)!important;
  background:var(--cp-card)!important;color:var(--cp-text)!important;font-size:0!important;transition:background .15s,border-color .15s}html body .wg-help-fab .wg-help-tools.cp1>button:hover,html body .wg-help-fab .wg-help-tools.cp1>a:hover{border-color:color-mix(in srgb,var(--cp-gold) 60%,var(--cp-line))!important}html body .wg-help-fab .wg-help-tools.cp1>button:focus-visible,html body .wg-help-fab .wg-help-tools.cp1>a:focus-visible{outline:2px solid var(--wg-accent-hi,#ff4d6d)!important;outline-offset:2px}
html body .wg-help-fab .wg-help-tools.cp1 svg{width:18px!important;height:18px!important;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}
/* text glyphs (↙ ×) become line icons drawn by CSS: other scripts may rewrite the button text */html body .wg-help-fab .wg-help-tools.cp1>.wg-chat-reset::before,html body .wg-help-fab .wg-help-tools.cp1>.wg-help-close::before{content:"";width:18px;height:18px;background:currentColor;
  -webkit-mask:var(--cp1-ico) center/contain no-repeat;mask:var(--cp1-ico) center/contain no-repeat}
html body .wg-help-fab .wg-help-tools.cp1>.wg-chat-reset{--cp1-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 7 7 17'/%3E%3Cpath d='M7 9v8h8'/%3E%3C/svg%3E")}
html body .wg-help-fab .wg-help-tools.cp1>.wg-help-close{--cp1-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E")}
@media(pointer:coarse){html body .wg-help-fab .wg-help-tools.cp1>button,html body .wg-help-fab .wg-help-tools.cp1>a{width:44px!important;height:44px!important}}
/* polish12.css sets 31×32 px tool buttons on phones as !important inside @layer wg-ft1: an important rule in a layer beats an
   unlayered one, so the bigger touch size is declared in the same layer with a stronger selector */
@layer wg-ft1{@media(max-width:600px){html body #wg-help-panel .wg-help-tools.cp1{gap:5px!important}
  html body #wg-help-panel .wg-help-tools.cp1>*{width:42px!important;min-width:42px!important;height:42px!important}}}
@media(max-width:600px){
  html body .wg-help-fab .wg-help-head #wg-help-title{font-size:17px!important}}
@media(hover:hover) and (pointer:fine){
  html body .wg-help-fab .wg-help-tools.cp1>[data-cp1-tip]::after{content:attr(data-cp1-tip);position:absolute;top:calc(100% + 8px);right:0;z-index:30;width:max-content;max-width:220px;padding:6px 10px;
    border-radius:9px;background:#0d0c10;color:#fff;font:700 12px/1.3 var(--wg-font-ui,system-ui,sans-serif);letter-spacing:0;white-space:normal;text-align:left;box-shadow:0 8px 22px rgba(0,0,0,.4);
    opacity:0;transform:translateY(-3px);pointer-events:none;transition:opacity .12s,transform .12s}
  html body .wg-help-fab .wg-help-tools.cp1>[data-cp1-tip]:is(:hover,:focus-visible)::after{opacity:1;transform:none;transition-delay:.25s}
  html[data-theme="light"] body .wg-help-fab .wg-help-tools.cp1>[data-cp1-tip]::after{background:#1d1416}
}
html[data-theme="light"] body .wg-help-fab .wg-help-head{background:linear-gradient(125deg,#fff,#fbf0f2 70%)!important;border-bottom-color:#ecd0d7!important}
html[data-theme="light"] body .wg-help-fab .wg-help-head .wg-chat-move{color:#6e6164}

/* ---------- timers bar: online · rain in · task in · rain button, even height, never clipped */
html body .wgc .wgx-bar.cp1{display:flex;flex-wrap:wrap;align-items:center;gap:6px;overflow:visible;padding:2px 0 6px!important;margin:0!important;font-size:12.5px!important;color:var(--cp-text)}
html body .wgc .wgx-bar.cp1>*{flex:none;min-height:34px;height:auto!important;box-sizing:border-box}
html body .wgc .wgx-bar.cp1>.wgc-online{order:-1;display:inline-flex;align-items:center;gap:6px;position:static!important;padding:0 11px;border-radius:999px;font-size:12.5px;font-weight:800;
  color:var(--cp-text);background:color-mix(in srgb,var(--cp-ok) 13%,transparent);border:1px solid color-mix(in srgb,var(--cp-ok) 35%,transparent);white-space:nowrap;pointer-events:auto;transform:none!important;inset:auto!important}
html body .wgc .wgx-bar.cp1>.wgc-online[hidden]{display:none}
html body .wgc .wgx-bar.cp1 .wgx-chip{display:inline-flex;align-items:center;gap:5px;padding:0 11px!important;border-radius:12px;font-size:13px!important;font-weight:800;font-variant-numeric:tabular-nums;max-width:100%}
html body .wgc .wgx-bar.cp1 .wgx-chip.cp1-short{display:inline-grid;grid-auto-flow:row;align-content:center;justify-items:start;gap:1px;padding:3px 11px!important;line-height:1.1!important}
html body .wgc .wgx-bar.cp1 .wgx-chip.cp1-short::before{content:attr(data-cp1-l);font-size:10.5px;font-weight:700;opacity:.78;letter-spacing:.01em}
html body .wgc .wgx-bar.cp1 .wgx-rain{display:inline-flex;align-items:center;justify-content:center;gap:5px;margin-left:auto;padding:0 14px!important;border-radius:12px;font-size:13px!important;font-weight:900;
  background:linear-gradient(135deg,#2f8fe8,#6c4ff0)!important;box-shadow:0 4px 12px rgba(63,120,255,.28)}
html body .wgc .wgx-bar.cp1 .wgd-bar-x{width:34px!important;height:34px!important;margin:0!important;border-radius:10px;opacity:.8;font-size:20px}
@media(pointer:coarse){html body .wgc .wgx-bar.cp1 .wgd-bar-x{width:44px!important;height:44px!important}html body .wgc .wgx-bar.cp1 .wgx-rain{min-height:40px}}
html body .wgc .wgx-bar.cp1 .wgd-bar-x:hover{background:color-mix(in srgb,var(--cp-text) 10%,transparent);opacity:1}
/* in the chat panel: row 1 = online · rain button · ×, row 2 = the two timers side by side (nothing squeezed or clipped) */
html body :is(.wg-help-chat2,.wgc-page) .wgx-bar.cp1>.wgx-rain,html body :is(.wg-help-chat2,.wgc-page) .wgx-bar.cp1>.wgd-bar-x{order:-1}
html body :is(.wg-help-chat2,.wgc-page) .wgx-bar.cp1>.wgx-chip{order:1;flex:1 1 calc(50% - 3px)!important;min-width:0}
html body :is(.wg-help-chat2,.wgc-page) .wgx-bar.cp1>.wgx-chip[style*="none"]+.wgx-chip,html body :is(.wg-help-chat2,.wgc-page) .wgx-bar.cp1>.wgx-chip:has(+.wgx-chip[style*="none"]){flex-basis:100%!important}
html body :is(.wg-help-chat2,.wgc-page) .wgx-bar.cp1::after{content:"";order:0;flex:0 0 100%;height:0;min-height:0!important}
/* timers hidden by «×»: the online counter stays */
html body :is(.wg-help-chat2,.wgc-page) .wgx-bar.cp1.wgd-gone:has(>.wgc-online:not([hidden])){display:flex!important}
html body :is(.wg-help-chat2,.wgc-page) .wgx-bar.cp1.wgd-gone>:not(.wgc-online){display:none!important}
html[data-theme="light"] body .wgc .wgx-bar.cp1 .wgx-chip{color:#163a57}
html[data-theme="light"] body .wgc .wgx-bar.cp1 .wgx-chip.wgx-q{color:#6a4a00}

/* pinned rules: calmer, readable */
html body .wg-help-chat2 .wgc-top>.wgc-pin .wgc-pin-text{font-size:13px}

@media(max-width:420px){
  html body .wgr.wgr-full.cp1{column-gap:8px}
  html body .wgr.wgr-full.cp1 .wgr-name{font-size:14px!important}
  html body .wgr.wgr-full.cp1 .wgr-live{height:21px;line-height:21px;padding:0 7px;font-size:11px!important}
  html body .wgr.wgr-full.cp1 .wgr-line1 .wgr-eq{display:none!important}
  html body .wgr.wgr-full.cp1>.wg-help-radio-more{width:36px!important;height:36px!important}
}
@media (prefers-reduced-motion:reduce){
  html body .wgr.cp1,html body .wgr.cp1 *,html body .wg-help-tools.cp1>*,html body .wg-help-tools.cp1>*::after{animation:none!important;transition:none!important}
}

/* ================= CP2 (2026-10-25): community page (/pages/community.html) — same player, timers, sign-in card ================= */
/* player collapsed on the page: one row (the panel gets this from help-fab.css) */html body .wgc-page .wgr.wgr-full.cp1:not(.wg-help-radio-open) .wgr-line2,html body .wgc-page .wgr.wgr-full.cp1:not(.wg-help-radio-open) .wgr-tools,html body .wgc-page .wgr.wgr-full.cp1:not(.wg-help-radio-open) .wgr-about{display:none!important}
html body .wgc-page .wgr.wgr-full.cp1 .wgr-body{cursor:default}
html body .wgc-page .wgc-top{display:block!important;margin:0 0 8px!important;padding:0!important}
html body .wgc-page .wgx-bar.cp1{padding:0 0 8px!important}
html body .wgc-page .wgc-listwrap>.wgc-online{display:none}
/* the «Общий чат» toggle: one compact row instead of a big card */
html body details.wg-hub-chat>summary.wg-inline-help-toggle{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px!important;min-height:0!important;padding:10px 12px!important;border-radius:16px!important}
html body details.wg-hub-chat>summary .wg-inline-help-mark{width:40px!important;height:40px!important;border-radius:12px!important}
html body details.wg-hub-chat>summary .wg-inline-help-mark svg{width:22px!important;height:22px!important}
html body details.wg-hub-chat>summary .wg-inline-help-copy strong{font-size:16px!important;font-weight:900!important;line-height:1.2}
html body details.wg-hub-chat>summary .wg-inline-help-copy small{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12.5px!important;line-height:1.35}
html body details.wg-hub-chat>summary .wg-hub-chat-btn{width:auto!important;min-height:40px!important;margin:0!important;padding:0 14px!important;border-radius:12px!important;font-size:13.5px!important;font-weight:800;grid-column:auto!important}
@media(max-width:600px){html body details.wg-hub-chat>summary .wg-inline-help-copy small{display:none}
  html body details.wg-hub-chat>summary .wg-inline-help-copy strong{font-size:15px!important}html body details.wg-hub-chat>summary .wg-hub-chat-btn{font-size:13px!important;min-height:40px!important}
  html body details.wg-hub-chat>summary .wg-hub-chat-btn{padding:0 12px!important}}
/* chat head: smaller, readable */
html body .wg-com-ui .wg-c-chat>.wg-c-head{align-items:center!important;margin:0 0 10px!important;gap:10px}
html body .wg-com-ui .wg-c-chat>.wg-c-head .wg-c-kicker{display:none}
html body .wg-com-ui .wg-c-chat>.wg-c-head h2{margin:0!important;font-size:19px!important;font-weight:900!important}
html body .wg-com-ui .wg-c-chat>.wg-c-head [data-refresh]{min-height:40px!important;padding:0 14px!important;border-radius:12px!important;font-size:13.5px!important}
html body .wg-com-ui .wg-c-chat{padding-top:14px!important}
@media(max-width:600px){html body .wg-com-ui .wg-c-chat{padding:12px 10px!important}html body .wg-com-ui .wg-c-chat>.wg-c-head h2{font-size:17px!important}}
/* guest: one clear card «Войди, чтобы писать в чат» with Telegram first */
html body .wg-com-ui .wg-c-status.cp2-dup{display:none!important}
html body .wg-com-ui .wg-c-auth.cp2{display:grid;gap:12px;padding:22px 20px!important;border-radius:18px!important;
  background:radial-gradient(120% 120% at 0 0,color-mix(in srgb,var(--wg-accent,#e11d48) 18%,transparent),transparent 60%),var(--wg-s2,#18171b)!important;border:1px solid color-mix(in srgb,var(--wg-accent,#e11d48) 32%,var(--wg-s5,#3a3840))!important}
html body .wg-com-ui .wg-c-auth.cp2[hidden]{display:none!important}
html body .wg-com-ui .wg-c-auth.cp2{grid-column:1/-1;width:auto!important;max-width:none!important}
@media(min-width:900px){.wg-c-auth.cp2 .cp2-perks{grid-template-columns:repeat(4,minmax(0,1fr))}html body .wg-com-ui .wg-c-auth.cp2{padding:26px 28px!important}html body .wg-com-ui .wg-c-auth.cp2 .cp2-tg,html body .wg-com-ui .wg-c-auth.cp2 .cp2-acc,html body .wg-com-ui .wg-c-auth.cp2 [data-telegram-login]{max-width:460px}}
html[data-theme="light"] body .wg-com-ui .wg-c-auth.cp2{background:radial-gradient(120% 120% at 0 0,#fde4ea,transparent 62%),#fff!important;border-color:#ead2d8!important}
html body .wg-com-ui .wg-c-auth.cp2>h2{margin:0!important;font-size:22px!important;font-weight:900!important;line-height:1.2}
html body .wg-com-ui .wg-c-auth.cp2>p{margin:0!important;font-size:14px!important;line-height:1.5;opacity:.85}
.wg-c-auth.cp2 .cp2-perks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:2px 0 0;padding:0;list-style:none}
.wg-c-auth.cp2 .cp2-perks li{display:flex;align-items:center;gap:8px;min-height:40px;padding:6px 10px;border-radius:12px;font-size:13px;font-weight:700;line-height:1.25;
  background:color-mix(in srgb,currentColor 6%,transparent);border:1px solid color-mix(in srgb,currentColor 10%,transparent)}
.wg-c-auth.cp2 .cp2-perk-i{font-size:17px;flex:none}
html body .wg-com-ui .wg-c-auth.cp2 [data-telegram-login]{display:grid;gap:10px;margin:4px 0 0!important}
html body .wg-com-ui .wg-c-auth.cp2 [data-telegram-login]>p.wg-c-small:first-child{display:none}
html body .wg-com-ui .wg-c-auth.cp2 [data-telegram-login]>label{display:flex;align-items:center;gap:10px;min-height:44px;margin:0!important;font-size:14px;cursor:pointer}
html body .wg-com-ui .wg-c-auth.cp2 [data-terms]{width:22px!important;height:22px!important;flex:none;accent-color:var(--wg-accent,#e11d48)}
html body .wg-com-ui .wg-c-auth.cp2.cp2-need-terms [data-telegram-login]>label{color:var(--wg-accent-hi,#ff4d6d)}
html body .wg-com-ui .wg-c-auth.cp2 .cp2-tg{display:inline-flex!important;align-items:center;justify-content:center;gap:10px;width:100%!important;min-height:52px!important;border:0!important;border-radius:14px!important;
  background:linear-gradient(135deg,#2aabee,#1d8fd6)!important;color:#fff!important;font-size:16px!important;font-weight:900!important;box-shadow:0 8px 22px rgba(34,158,217,.32)!important;cursor:pointer}
html body .wg-com-ui .wg-c-auth.cp2 .cp2-tg:hover{filter:brightness(1.07)}
html body .wg-com-ui .wg-c-auth.cp2 .cp2-tg:focus-visible{outline:3px solid #8fd3ff!important;outline-offset:2px}
html body .wg-com-ui .wg-c-auth.cp2 .cp2-tg svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linejoin:round;stroke-linecap:round}
.wg-c-auth.cp2 .cp2-terms-hint{margin:0!important;font-size:13px;font-weight:700;color:var(--wg-accent-hi,#ff4d6d)}
html[data-theme="light"] .wg-c-auth.cp2 .cp2-terms-hint{color:#c0123b}
.wg-c-auth.cp2 .cp2-or{display:flex;align-items:center;gap:10px;font-size:12.5px;font-weight:700;opacity:.65}
.wg-c-auth.cp2 .cp2-or::before,.wg-c-auth.cp2 .cp2-or::after{content:"";flex:1;height:1px;background:currentColor;opacity:.3}
html body .wg-com-ui .wg-c-auth.cp2 .cp2-acc{display:inline-flex!important;text-decoration:none!important;align-items:center;justify-content:center;width:100%!important;min-height:46px!important;border-radius:14px!important;
  background:transparent!important;border:1px solid color-mix(in srgb,var(--wg-accent,#e11d48) 50%,transparent)!important;color:inherit!important;font-size:14.5px!important;font-weight:800!important;box-shadow:none!important}
html body .wg-com-ui .wg-c-auth.cp2 [data-telegram-login]>p.wg-c-small:last-child{margin:0!important;font-size:12.5px!important;opacity:.75}
@media(max-width:420px){.wg-c-auth.cp2 .cp2-perks{grid-template-columns:1fr 1fr}.wg-c-auth.cp2 .cp2-perks li{font-size:12.5px}
  html body .wg-com-ui .wg-c-auth.cp2{padding:18px 14px!important}html body .wg-com-ui .wg-c-auth.cp2>h2{font-size:20px!important}}
html[data-theme="light"] body .wg-com-ui .wg-c-auth.cp2>p,html[data-theme="light"] body .wg-com-ui .wg-c-auth.cp2 [data-telegram-login]>p.wg-c-small:last-child{color:#4a3a3e!important;opacity:1}
html[data-theme="light"] body .wg-com-ui .wg-c-auth.cp2>h2{color:#1d1416!important}
