/* Carbon-only polish for late-loaded shared widgets. Classic remains unchanged. */
html[data-ow-carbon="1"] #owChat{background:#151916!important;color:#f2f4ed!important;border:1px solid #717b35;border-bottom:0;border-radius:5px 5px 0 0;box-shadow:0 12px 45px #000b;width:min(410px,calc(100vw - 22px))}
html[data-ow-carbon="1"] #owChat:has(#owChatBody[hidden]){width:min(245px,calc(100vw - 22px))}
html[data-ow-carbon="1"] #owChat #owChatToggle{background:linear-gradient(105deg,#252a1c,#141813)!important;color:#f3f5ee!important;border-bottom:2px solid #e5ec00!important;min-height:44px}
html[data-ow-carbon="1"] #owChat #owChatOnlineCount{color:#91e6ac!important}
html[data-ow-carbon="1"] #owChat .ow-chat-tabs{background:#22271e!important;border-color:#4b5140!important;color:#f2f4ed!important}
html[data-ow-carbon="1"] #owChat #owChatPublic,html[data-ow-carbon="1"] #owChat .ow-chat-send button{background:#e5ec00!important;color:#141700!important;border:1px solid #e5ec00!important;font-weight:850}
html[data-ow-carbon="1"] #owChat .ow-chat-people{background:#1b201b!important;border-color:#42483b!important}
html[data-ow-carbon="1"] #owChat .ow-chat-player{background:transparent!important;color:#f3f5ee!important;border-color:#343a32!important}
html[data-ow-carbon="1"] #owChat .ow-chat-player.active{background:#343d1a!important;box-shadow:inset 3px 0 #e5ec00}
html[data-ow-carbon="1"] #owChat .ow-chat-player small,html[data-ow-carbon="1"] #owChat .ow-chat-note{color:#b9c3b5!important}
html[data-ow-carbon="1"] #owChat .ow-chat-dot{color:#939e94!important}
html[data-ow-carbon="1"] #owChat .ow-chat-dot.online{color:#72df9c!important}
html[data-ow-carbon="1"] #owChat .ow-chat-conversation,html[data-ow-carbon="1"] #owChat .ow-chat-messages{background:#101411!important;color:#f3f5ee!important}
html[data-ow-carbon="1"] #owChat .ow-chat-bubble{background:#242b24!important;color:#f4f6ef!important;border:1px solid #495547!important;border-radius:8px}
html[data-ow-carbon="1"] #owChat .ow-chat-bubble.mine{background:#303a1d!important;border-color:#697b36!important}
html[data-ow-carbon="1"] #owChat .ow-chat-bubble strong{color:#dce9ad!important}
html[data-ow-carbon="1"] #owChat .ow-chat-bubble p{color:#f4f6ef!important}
html[data-ow-carbon="1"] #owChat .ow-chat-send,html[data-ow-carbon="1"] #owChat .ow-chat-note{background:#20251f!important;border-color:#424a3e!important}
html[data-ow-carbon="1"] #owChat #owChatMessage{background:#111612!important;color:#f3f5ee!important;border-color:#68735b!important}
html[data-ow-carbon="1"] #owChat #owChatMessage::placeholder{color:#aab5a5!important}
html[data-ow-carbon="1"] #owChat :is(button,input):focus-visible{outline:2px solid #f1f600!important;outline-offset:-2px}
@media(max-width:520px){html[data-ow-carbon="1"] #owChat{right:8px;width:calc(100% - 16px);bottom:env(safe-area-inset-bottom,0px)}html[data-ow-carbon="1"] #owChat .ow-chat-body{height:min(470px,calc(100dvh - 115px))}html[data-ow-carbon="1"] #owChat .ow-chat-layout{grid-template-columns:minmax(85px,30%) minmax(0,1fr)}}
html[data-ow-carbon="1"] body .ranking-preview{background:linear-gradient(135deg,#20251feF,#121612f2)!important;border:1px solid #666e43!important;border-top:3px solid #e5ec00!important;color:#f4f6ee!important;border-radius:4px}
html[data-ow-carbon="1"] body .ranking-hero{background:linear-gradient(115deg,#242b1f,#131813)!important;border-left:4px solid #e5ec00!important}
html[data-ow-carbon="1"] body :is(.ranking-preview,.ranking-hero) :is(h1,h2){color:#f4f6ee!important}
html[data-ow-carbon="1"] body :is(.ranking-preview,.ranking-hero) p,html[data-ow-carbon="1"] body .ranking-note{color:#c4cebf!important}
html[data-ow-carbon="1"] body :is(.ranking-preview,.ranking-page) .ranking-scroll{background:#151a16!important;border:1px solid #626b50!important;border-radius:4px!important;overflow-x:auto;max-width:100%;min-width:0}
html[data-ow-carbon="1"] body :is(.ranking-preview,.ranking-page) .ranking-scroll table{color:#f1f4ed!important;background:transparent!important}
html[data-ow-carbon="1"] body :is(.ranking-preview,.ranking-page) .ranking-scroll thead th{background:#e5ec00!important;color:#151900!important;border-color:#aeb72c!important}
html[data-ow-carbon="1"] body :is(.ranking-preview,.ranking-page) .ranking-scroll tbody tr{background:#181e19!important}
html[data-ow-carbon="1"] body :is(.ranking-preview,.ranking-page) .ranking-scroll tbody tr:nth-child(even){background:#232a22!important}
html[data-ow-carbon="1"] body :is(.ranking-preview,.ranking-page) .ranking-scroll tbody td{background:transparent!important;color:#f1f4ed!important;border-color:#3c473a!important}
html[data-ow-carbon="1"] body :is(.ranking-preview,.ranking-page) .ranking-scroll tbody td :is(b,strong){color:inherit!important}
html[data-ow-carbon="1"] body :is(.ranking-preview,.ranking-page) .ranking-scroll tbody tr:nth-child(-n+3) td:first-child{color:#e5ec00!important}
html[data-ow-carbon="1"] body :is(.ranking-preview,.ranking-page) .ranking-scroll tbody tr:hover{background:#303b24!important}
html[data-ow-carbon="1"] body :is(.ranking-preview .ranking-more,.ranking-hero a,.ranking-hero span){color:#e5ec00!important}
@media(max-width:620px){html[data-ow-carbon="1"] body :is(.ranking-preview,.ranking-page) .ranking-scroll table{min-width:0!important;table-layout:fixed}html[data-ow-carbon="1"] body :is(.ranking-preview,.ranking-page) .ranking-scroll :is(th,td){padding:8px 4px!important;font-size:10px!important;overflow-wrap:anywhere;white-space:normal!important}html[data-ow-carbon="1"] body :is(.ranking-preview,.ranking-page) .ranking-scroll th:first-child{width:12%}html[data-ow-carbon="1"] body :is(.ranking-preview,.ranking-page) .ranking-scroll th:nth-child(4){width:19%}html[data-ow-carbon="1"] body :is(.ranking-preview,.ranking-page) .ranking-scroll th:last-child{width:18%}}
html[data-ow-carbon="1"] body .cn-page .cn-card{background:linear-gradient(145deg,#242923ed,#141814ed)!important;border-radius:4px!important;box-shadow:0 5px 20px #0004}
html[data-ow-carbon="1"] body .cn-page .cn-card .cn-open:not(:disabled){background:linear-gradient(110deg,#f4f900,#d5df00)!important;color:#111500!important;border:1px solid #e5ec00!important;border-radius:3px!important;text-shadow:none!important}
html[data-ow-carbon="1"] body .cn-page .cn-card .cn-open:disabled{background:#30352f!important;color:#b8c0b4!important;opacity:1!important;border-radius:3px!important}
html[data-ow-carbon="1"] body .cn-page .cn-card .cn-stats span{color:#c2ccbd!important}
html[data-ow-carbon="1"] body .cn-page .cn-card .cn-stats strong{color:#f3f5ee!important}
html[data-ow-carbon="1"] body .cn-page .cn-card .cn-try-dots i.used{background:#e16d76!important}
html[data-ow-carbon="1"] body .cn-page .cn-card .cn-try-dots i:not(.used){background:#485144!important}
html[data-ow-carbon="1"] body .cn-page .cn-card .cn-state.cn-green{background:#233b2b!important;color:#a0edb6!important}
html[data-ow-carbon="1"] body .cn-page .cn-card .cn-state.cn-red{background:#47292b!important;color:#ffadb4!important}
html[data-ow-carbon="1"] body .cn-page .cn-card .cn-state.cn-blue{background:#283b47!important;color:#b8e2fc!important}
html[data-ow-carbon="1"] body .cn-page .cn-head{background:linear-gradient(110deg,#24291ee8,#141813c9),url("assets/carbon50-backgrounds/transfer.webp") center/cover!important;border-left:4px solid #e5ec00!important}
html[data-ow-carbon="1"] body .cn-page .cn-eyebrow,html[data-ow-carbon="1"] body .cn-page .cn-back{color:#e5ec00!important}
