/* Inverno: azul-ardósia profundo com flocos de neve em SVG próprio (sem assets de terceiros), azul-aço nos botões, separadores ativos e linhas,
   botões secundários azul-escuro, texto branco e cantos pouco arredondados. Só se aplica com html[data-theme=winter]. */
html[data-theme=winter]{
  --wt-flake-big:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'%3E%3Cpath d='M150 150L290 150M213 150L240.4 122.6M213 150L240.4 177.4M248 150L269.6 128.4M248 150L269.6 171.6M150 150L220 271.2M181.5 204.6L219 214.6M181.5 204.6L171.5 242M199 234.9L228.5 242.8M199 234.9L191.1 264.3M150 150L80 271.2M118.5 204.6L128.5 242M118.5 204.6L81 214.6M101 234.9L108.9 264.3M101 234.9L71.5 242.8M150 150L10 150M87 150L59.6 177.4M87 150L59.6 122.6M52 150L30.4 171.6M52 150L30.4 128.4M150 150L80 28.8M118.5 95.4L81 85.4M118.5 95.4L128.5 58M101 65.1L71.5 57.2M101 65.1L108.9 35.7M150 150L220 28.8M181.5 95.4L171.5 58M181.5 95.4L219 85.4M199 65.1L191.1 35.7M199 65.1L228.5 57.2' fill='none' stroke='%23d6ecf8' stroke-opacity='0.28' stroke-width='1.4' stroke-linecap='round'/%3E%3Cpath d='M150 150L210 150M177 150L188.8 138.2M177 150L188.8 161.8M192 150L201.2 140.8M192 150L201.2 159.2M150 150L180 202M163.5 173.4L179.6 177.7M163.5 173.4L159.2 189.4M171 186.4L183.6 189.8M171 186.4L167.6 199M150 150L120 202M136.5 173.4L140.8 189.4M136.5 173.4L120.4 177.7M129 186.4L132.4 199M129 186.4L116.4 189.8M150 150L90 150M123 150L111.2 161.8M123 150L111.2 138.2M108 150L98.8 159.2M108 150L98.8 140.8M150 150L120 98M136.5 126.6L120.4 122.3M136.5 126.6L140.8 110.6M129 113.6L116.4 110.2M129 113.6L132.4 101M150 150L180 98M163.5 126.6L159.2 110.6M163.5 126.6L179.6 122.3M171 113.6L167.6 101M171 113.6L183.6 110.2' fill='none' stroke='%23d6ecf8' stroke-opacity='0.2' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E");
  --wt-snow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' viewBox='0 0 420 420'%3E%3Cpath d='M60 70L82 70M69.9 70L74.2 65.7M69.9 70L74.2 74.3M75.4 70L78.8 66.6M75.4 70L78.8 73.4M60 70L71 89.1M65 78.6L70.8 80.2M65 78.6L63.4 84.5M67.7 83.3L72.3 84.6M67.7 83.3L66.5 88M60 70L49 89.1M55.1 78.6L56.6 84.5M55.1 78.6L49.2 80.2M52.3 83.3L53.5 88M52.3 83.3L47.7 84.6M60 70L38 70M50.1 70L45.8 74.3M50.1 70L45.8 65.7M44.6 70L41.2 73.4M44.6 70L41.2 66.6M60 70L49 50.9M55.1 61.4L49.2 59.8M55.1 61.4L56.6 55.5M52.3 56.7L47.7 55.4M52.3 56.7L53.5 52M60 70L71 50.9M65 61.4L63.4 55.5M65 61.4L70.8 59.8M67.7 56.7L66.5 52M67.7 56.7L72.3 55.4' fill='none' stroke='%23d6ecf8' stroke-opacity='0.22' stroke-width='1.2' stroke-linecap='round'/%3E%3Cpath d='M300 40L314 40M306.3 40L309 37.3M306.3 40L309 42.7M309.8 40L312 37.8M309.8 40L312 42.2M300 40L307 52.1M303.2 45.5L306.9 46.5M303.2 45.5L302.1 49.2M304.9 48.5L307.8 49.3M304.9 48.5L304.1 51.4M300 40L293 52.1M296.9 45.5L297.9 49.2M296.9 45.5L293.1 46.5M295.1 48.5L295.9 51.4M295.1 48.5L292.2 49.3M300 40L286 40M293.7 40L291 42.7M293.7 40L291 37.3M290.2 40L288 42.2M290.2 40L288 37.8M300 40L293 27.9M296.9 34.5L293.1 33.5M296.9 34.5L297.9 30.8M295.1 31.5L292.2 30.7M295.1 31.5L295.9 28.6M300 40L307 27.9M303.2 34.5L302.1 30.8M303.2 34.5L306.9 33.5M304.9 31.5L304.1 28.6M304.9 31.5L307.8 30.7' fill='none' stroke='%23d6ecf8' stroke-opacity='0.18' stroke-width='1.2' stroke-linecap='round'/%3E%3Cpath d='M190 210L220 210M203.5 210L209.4 204.1M203.5 210L209.4 215.9M211 210L215.6 205.4M211 210L215.6 214.6M190 210L205 236M196.8 221.7L204.8 223.8M196.8 221.7L194.6 229.7M200.5 228.2L206.8 229.9M200.5 228.2L198.8 234.5M190 210L175 236M183.3 221.7L185.4 229.7M183.3 221.7L175.2 223.8M179.5 228.2L181.2 234.5M179.5 228.2L173.2 229.9M190 210L160 210M176.5 210L170.6 215.9M176.5 210L170.6 204.1M169 210L164.4 214.6M169 210L164.4 205.4M190 210L175 184M183.3 198.3L175.2 196.2M183.3 198.3L185.4 190.3M179.5 191.8L173.2 190.1M179.5 191.8L181.2 185.5M190 210L205 184M196.8 198.3L194.6 190.3M196.8 198.3L204.8 196.2M200.5 191.8L198.8 185.5M200.5 191.8L206.8 190.1' fill='none' stroke='%23d6ecf8' stroke-opacity='0.16' stroke-width='1.2' stroke-linecap='round'/%3E%3Cpath d='M350 320L368 320M358.1 320L361.6 316.5M358.1 320L361.6 323.5M362.6 320L365.4 317.2M362.6 320L365.4 322.8M350 320L359 335.6M354.1 327L358.9 328.3M354.1 327L352.8 331.8M356.3 330.9L360.1 331.9M356.3 330.9L355.3 334.7M350 320L341 335.6M346 327L347.2 331.8M346 327L341.1 328.3M343.7 330.9L344.7 334.7M343.7 330.9L339.9 331.9M350 320L332 320M341.9 320L338.4 323.5M341.9 320L338.4 316.5M337.4 320L334.6 322.8M337.4 320L334.6 317.2M350 320L341 304.4M346 313L341.1 311.7M346 313L347.2 308.2M343.7 309.1L339.9 308.1M343.7 309.1L344.7 305.3M350 320L359 304.4M354.1 313L352.8 308.2M354.1 313L358.9 311.7M356.3 309.1L355.3 305.3M356.3 309.1L360.1 308.1' fill='none' stroke='%23d6ecf8' stroke-opacity='0.2' stroke-width='1.2' stroke-linecap='round'/%3E%3Cpath d='M70 330L82 330M75.4 330L77.8 327.6M75.4 330L77.8 332.4M78.4 330L80.2 328.2M78.4 330L80.2 331.8M70 330L76 340.4M72.7 334.7L75.9 335.5M72.7 334.7L71.8 337.9M74.2 337.3L76.7 338M74.2 337.3L73.5 339.8M70 330L64 340.4M67.3 334.7L68.2 337.9M67.3 334.7L64.1 335.5M65.8 337.3L66.5 339.8M65.8 337.3L63.3 338M70 330L58 330M64.6 330L62.2 332.4M64.6 330L62.2 327.6M61.6 330L59.8 331.8M61.6 330L59.8 328.2M70 330L64 319.6M67.3 325.3L64.1 324.5M67.3 325.3L68.2 322.1M65.8 322.7L63.3 322M65.8 322.7L66.5 320.2M70 330L76 319.6M72.7 325.3L71.8 322.1M72.7 325.3L75.9 324.5M74.2 322.7L73.5 320.2M74.2 322.7L76.7 322' fill='none' stroke='%23d6ecf8' stroke-opacity='0.16' stroke-width='1.2' stroke-linecap='round'/%3E%3Ccircle cx='20' cy='20' r='2' fill='%23d6ecf8' fill-opacity='.3'/%3E%3Ccircle cx='120' cy='150' r='1.6' fill='%23d6ecf8' fill-opacity='.3'/%3E%3Ccircle cx='250' cy='110' r='2.2' fill='%23d6ecf8' fill-opacity='.3'/%3E%3Ccircle cx='330' cy='200' r='1.4' fill='%23d6ecf8' fill-opacity='.3'/%3E%3Ccircle cx='150' cy='300' r='2' fill='%23d6ecf8' fill-opacity='.3'/%3E%3Ccircle cx='240' cy='360' r='1.6' fill='%23d6ecf8' fill-opacity='.3'/%3E%3Ccircle cx='30' cy='230' r='1.4' fill='%23d6ecf8' fill-opacity='.3'/%3E%3Ccircle cx='390' cy='90' r='1.8' fill='%23d6ecf8' fill-opacity='.3'/%3E%3Ccircle cx='100' cy='380' r='1.4' fill='%23d6ecf8' fill-opacity='.3'/%3E%3Ccircle cx='210' cy='20' r='1.6' fill='%23d6ecf8' fill-opacity='.3'/%3E%3C/svg%3E");
  --wt-ac:#5a93b3;--wt-ac2:#6fa8c7;--wt-ac-d:#2f6384;--wt-g1:#18344a;--wt-g2:#2a4d63;--wt-g3:#3a6a85;
  --k-bg:#0e202d;--k-text:#ffffff;--k-me-text:#ffffff;--k-text2:#e8f1f6;--k-icon:#dbe8f0;--k-muted2:#a9c0cf;--k-muted:#9fb8c8;--k-faint:#8aa6b8;--k-link:#8fc4e0;
  --k-hover:#24465a;--k-active:#1c3d52;--k-row:#1a3a4c;--k-head2:#12293a;--k-head1:#163242;--k-head1b:#0e202d;--k-strip:#12293a;--k-band:#14303f;--k-foot2:#12293a;--k-recv:#1d3a4c;--k-idle:#24465a;--k-roundhov:#2f566e;
  --k-me:#2f6384;--k-meline:#5a93b3;--k-line:#2c5068;--k-line2:#2c5068;--k-line3:#5a93b3;
  --k-okbg:#1c2f12;--k-oktx:#bfe69a;--k-okline:#3d6a22;--k-warnbg:#1c3d52;--k-warntx:#cfe6f3;--k-warnline:#3f7494;
  --sk-blue:#5a93b3;--sk-blue-2:#6fa8c7;--sk-head:linear-gradient(#163242,#0e202d);--sk-line:#2c5068;--sk-green:#5a93b3;
  font-family:"Segoe UI","Open Sans",Arial,sans-serif}
html[data-theme=winter] body{font-size:14px;background:#0a1822}
/* neve: flocos pequenos por toda a janela e um floco grande no canto superior direito; não bloqueiam cliques */
html[data-theme=winter] body::after{content:"";position:fixed;inset:0;z-index:60;pointer-events:none;
  background-image:var(--wt-flake-big),var(--wt-snow);background-position:right -40px top 30px,0 0;background-repeat:no-repeat,repeat;background-size:min(300px,34vw) auto,420px 420px}
html[data-theme=winter] #side::before{display:block;background:linear-gradient(#0e2a3a,#0a1822);opacity:1}
html[data-theme=winter] #main{background:#0e202d}

/* cabeçalho e barra lateral */
html[data-theme=winter] .sbrand{background:linear-gradient(#6aa3c3,#4a82a3);border-bottom:1px solid #2b5d7c}
html[data-theme=winter] .sbrand b{text-shadow:0 1px 0 #2b5d7c;color:#fff}
html[data-theme=winter] #side{background:#0c1c28;border-right:1px solid var(--wt-ac)}
html[data-theme=winter] .skhead{background:#12293a;border-bottom:1px solid var(--wt-ac)}
html[data-theme=winter] .skme,html[data-theme=winter] .mehd .av{border-color:var(--wt-ac)}
html[data-theme=winter] .skdot,html[data-theme=winter] .mecard .sdot{border-color:#0c1c28;box-shadow:0 0 0 1px #000}
html[data-theme=winter] .skdot.away,html[data-theme=winter] .mecard .sdot.away{background:#ffb300;box-shadow:0 0 0 1px #000}
html[data-theme=winter] .skdot.dnd,html[data-theme=winter] .mecard .sdot.dnd{background:#e53935;box-shadow:0 0 0 1px #000}
html[data-theme=winter] .skdot.inv{background:#7f9fb3;box-shadow:0 0 0 1px #000}
html[data-theme=winter] .nsearch{background:#18344a;border:1px solid #2f566e;border-radius:3px}
html[data-theme=winter] .nsearch:focus-within{border-color:var(--wt-ac)}
html[data-theme=winter] .nrow>svg{color:var(--wt-ac)}
html[data-theme=winter] .nrow.on,html[data-theme=winter] #list .crow.on,html[data-theme=winter] #list .item.on{background:#1c3d52;box-shadow:inset 3px 0 0 var(--wt-ac)}
html[data-theme=winter] .stabs{border-bottom:2px solid var(--wt-ac)}
html[data-theme=winter] .stab{color:#c3d6e2;border-bottom:0;margin-bottom:0;border-radius:2px 2px 0 0}
html[data-theme=winter] .stab:hover{color:#fff;background:#1a3a4c}
html[data-theme=winter] .stab.on{color:#fff;background:var(--wt-ac)}
html[data-theme=winter] #list .sec{color:var(--wt-ac);border-bottom:0}
html[data-theme=winter] .badge,html[data-theme=winter] #list .badge{background:var(--wt-ac);color:#fff;border-radius:3px}
html[data-theme=winter] .sfoot{border-top:1px solid var(--wt-ac)}
html[data-theme=winter] #callbar{background:var(--wt-ac);color:#fff}
html[data-theme=winter] #nUpd{background:#1c3d52;color:#cfe6f3;border-color:#3f7494}

/* conversa */
html[data-theme=winter] .chead{background:#10242f;border-bottom:2px solid var(--wt-ac)}
html[data-theme=winter] .chead h2{color:#fff}
html[data-theme=winter] #msgs{background:transparent}
html[data-theme=winter] .bubble{border-radius:3px}
html[data-theme=winter] .msg.mine .bubble{background:#2f6384;color:#fff}
html[data-theme=winter] .msg:not(.mine) .bubble{background:#21425a;color:#fff}
html[data-theme=winter] .meta b{color:var(--wt-ac2)}
html[data-theme=winter] .bubble a,html[data-theme=winter] #msgs a{color:#8fc4e0}
html[data-theme=winter] .composer{background:#18344a;border:1px solid #2f566e;border-radius:3px}
html[data-theme=winter] .composer:focus-within{border-color:var(--wt-ac)}
html[data-theme=winter] .cw{border-top:1px solid var(--wt-ac)}

/* botões: principal = laranja; secundário = cinza-escuro */
html[data-theme=winter] .cbtn,html[data-theme=winter] .cround.send,html[data-theme=winter] .hgo,html[data-theme=winter] .fbtn,html[data-theme=winter] .ccard .cic,html[data-theme=winter] .btn.primary,html[data-theme=winter] #setm .btn.go,html[data-theme=winter] .btn.go{
  background:var(--wt-ac);border:1px solid var(--wt-ac-d);border-radius:3px;color:#fff;box-shadow:none;text-shadow:none}
html[data-theme=winter] .cbtn{width:38px;height:38px}
html[data-theme=winter] .cbtn:hover,html[data-theme=winter] .cround.send:hover,html[data-theme=winter] .hgo:hover,html[data-theme=winter] .fbtn:hover,html[data-theme=winter] .btn.primary:hover,html[data-theme=winter] #setm .btn.go:hover{background:var(--wt-ac2);color:#fff}
html[data-theme=winter] .cround.send.idle{background:#27495e;border-color:#3a6a85;color:#7f9fb3}
html[data-theme=winter] .cround{border-radius:3px;color:#dbe8f0}
html[data-theme=winter] .cround:hover{background:#27495e;color:#fff}
html[data-theme=winter] .btn:not(.primary):not(.go):not(.red),html[data-theme=winter] #setm .btn:not(.primary):not(.go):not(.red){background:#2a4d63;border:1px solid #3a6a85;border-radius:3px;color:#fff}
html[data-theme=winter] .btn:not(.primary):not(.go):not(.red):hover,html[data-theme=winter] #setm .btn:not(.primary):not(.go):not(.red):hover{background:#34607a;border-color:var(--wt-ac)}
html[data-theme=winter] #setm .btn,html[data-theme=winter] .btn{border-radius:3px}

/* Início */
html[data-theme=winter] #welcome,html[data-theme=winter] #welcome .homewrap{background:#0e202d}
html[data-theme=winter] #welcome .hbar,html[data-theme=winter] .hhero{background:#12293a;border-bottom:1px solid var(--wt-ac)}
html[data-theme=winter] .hero.live{background:#1c3d52;color:#fff}
html[data-theme=winter] .hstack .av{border-color:#0e202d}

/* janelas, menus, definições */
html[data-theme=winter] .modal{background:#000b}
html[data-theme=winter] .mcard,html[data-theme=winter] .menu,html[data-theme=winter] .pop,html[data-theme=winter] .ctx,html[data-theme=winter] .dropdown{background:#12293a;border:1px solid var(--wt-ac);border-radius:4px;box-shadow:0 10px 30px #000c}
html[data-theme=winter] .dropdown.mecard{background:#12293a;border:1px solid var(--wt-ac);border-radius:4px}
html[data-theme=winter] .mehd{background:#163242;border-bottom:1px solid var(--wt-ac)}
html[data-theme=winter] .mecard .mi svg,html[data-theme=winter] #setm .setnav button svg{color:var(--wt-ac)}
html[data-theme=winter] .mecard .mi[aria-checked=true],html[data-theme=winter] #setm .setnav button.on{background:#1c3d52;box-shadow:inset 3px 0 0 var(--wt-ac)}
html[data-theme=winter] .pfh,html[data-theme=winter] .slbl,html[data-theme=winter] .pf-prev .sec{color:var(--wt-ac2);background:#12293a;border-top:1px solid #2c5068;border-bottom:1px solid var(--wt-ac)}
html[data-theme=winter] .slbl,html[data-theme=winter] .pf-prev .sec{background:transparent;border:0}
html[data-theme=winter] #setm .sph{border-bottom:1px solid var(--wt-ac)}
html[data-theme=winter] #setm .setnav button:hover,html[data-theme=winter] .mecard .mi:hover{background:#24465a}
html[data-theme=winter] input:not([type=checkbox]):not([type=radio]):not([type=range]),html[data-theme=winter] select,html[data-theme=winter] textarea{background:#1b3648;color:#fff;border:1px solid #3a6a85;border-radius:3px}
html[data-theme=winter] #setm .inp,html[data-theme=winter] #setm select{background:#1b3648;border:1px solid #3a6a85;border-radius:3px;box-shadow:none}
html[data-theme=winter] #setm .inp:focus,html[data-theme=winter] input:focus,html[data-theme=winter] select:focus,html[data-theme=winter] textarea:focus{border-color:var(--wt-ac);box-shadow:0 0 0 1px var(--wt-ac);outline:0}
html[data-theme=winter] .nsearch input,html[data-theme=winter] .composer textarea,html[data-theme=winter] .composer input{background:transparent;border:0;box-shadow:none}
html[data-theme=winter] .srow{border-bottom:1px solid #2c5068}
html[data-theme=winter] .ccard,html[data-theme=winter] .card,html[data-theme=winter] .pcard,html[data-theme=winter] .pf-prev .pcrd,html[data-theme=winter] .pf-g{border-radius:3px;border:1px solid #2f566e;background:#14303f}
html[data-theme=winter] input[type=range],html[data-theme=winter] input[type=checkbox],html[data-theme=winter] input[type=radio],html[data-theme=winter] progress{accent-color:var(--wt-ac)}
html[data-theme=winter] .pf-sw .sw.on{border-color:var(--wt-ac)}
html[data-theme=winter] *{scrollbar-color:var(--wt-ac) #12293a}
html[data-theme=winter] ::-webkit-scrollbar{width:12px;height:12px;background:#12293a}
html[data-theme=winter] ::-webkit-scrollbar-thumb{background:var(--wt-ac);border-radius:2px;border:2px solid #12293a}
html[data-theme=winter] ::selection{background:var(--wt-ac);color:#fff}

/* ---------- Ecrã de chamada ---------- */
html[data-theme=winter] #call,html[data-theme=winter] #call.calling{background:#0a1822;--call-bg:#0a1822}
html[data-theme=winter] #call.calling{align-items:center;justify-content:center}
html[data-theme=winter] .tile{background:#14303f;border:1px solid #2f566e;border-radius:4px}
html[data-theme=winter] .tav,html[data-theme=winter] .tile .shareph{background:#14303f}
html[data-theme=winter] .tile.speaking{box-shadow:0 0 0 2px var(--wt-ac),0 0 14px #5a93b366;border-color:var(--wt-ac)}
html[data-theme=winter] .tile.speaking .av.big{box-shadow:0 0 0 3px var(--wt-ac)}
html[data-theme=winter] .tname{background:#000a;color:#fff;border-left:3px solid var(--wt-ac);border-radius:2px}
html[data-theme=winter] .st{background:#000a;color:var(--wt-ac2)}
html[data-theme=winter] .st.bad{background:#c62828;color:#fff}
html[data-theme=winter] #dock{background:#10242f;border-top:2px solid var(--wt-ac);box-shadow:none}
html[data-theme=winter] #dock .round,html[data-theme=winter] #dock .round.react,html[data-theme=winter] #call.calling #dock .round{background:#2a4d63;border:1px solid #3a6a85;border-radius:4px;box-shadow:none;color:#fff}
html[data-theme=winter] #dock .round:hover,html[data-theme=winter] #call.calling #dock .round:hover{background:#3a6a85;border-color:var(--wt-ac)}
html[data-theme=winter] #dock .round.off,html[data-theme=winter] #call.calling #dock .round.off{background:#fff;color:#10242f;border-color:#fff}
html[data-theme=winter] #dock .round.on{background:var(--wt-ac);border-color:var(--wt-ac-d)}
html[data-theme=winter] #dock .round.danger,html[data-theme=winter] #call.calling #dock .round.danger{background:var(--wt-ac);border:1px solid var(--wt-ac-d);border-radius:4px;color:#fff;box-shadow:none}
html[data-theme=winter] #dock .round.danger:hover{background:var(--wt-ac2)}
html[data-theme=winter] #ppl,html[data-theme=winter] #cmenu,html[data-theme=winter] #call>#cChat{background:#12293a;border:1px solid var(--wt-ac);border-radius:4px}
html[data-theme=winter] .pplh{background:#163242;border-bottom:1px solid var(--wt-ac);color:#fff}
html[data-theme=winter] #rcn{background:#18344a;color:var(--wt-ac2);border:1px solid var(--wt-ac);border-radius:3px}
html[data-theme=winter] .rspin{border-color:#5a93b355;border-top-color:var(--wt-ac)}
html[data-theme=winter] #calling{background:transparent}
html[data-theme=winter] #calling .cl-av{background:#18344a;color:#7f9fb3;border:1px solid var(--wt-ac);border-radius:4px}
html[data-theme=winter] #calling .cl-name{color:#fff}
html[data-theme=winter] #calling .cl-t{color:#a9c0cf}
html[data-theme=winter] #call.calling #dock{background:transparent;border:0}
html[data-theme=winter] #dock .round.danger,html[data-theme=winter] #call.calling #dock .round.danger{background:#c9453b;border-color:#8f2c25}
html[data-theme=winter] #dock .round.danger:hover{background:#dd5a4f}
html[data-theme=winter] .nsearch:focus-within,html[data-theme=winter] .composer:focus-within{border-color:var(--wt-ac)}
