/* v4.9.3 SmilhY Dice · Ultra Glass Reviews & Real Support */
.community-header-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
.community-header-btn,.community-compact-btn{font:inherit;cursor:pointer;color:#e8f6ff;border:1px solid rgba(91,185,255,.36);background:linear-gradient(155deg,rgba(52,92,137,.35),rgba(12,29,57,.88));box-shadow:inset 0 1px rgba(231,249,255,.16),0 3px 17px rgba(0,0,0,.15);transition:border-color .2s,box-shadow .2s,transform .2s}
.community-header-btn{min-width:46px;height:43px;display:flex;align-items:center;justify-content:center;gap:7px;padding:0 10px;border-radius:13px}
.community-btn-ico{font-weight:900;font-size:20px;color:#35f6d6;filter:drop-shadow(0 0 6px rgba(44,254,207,.48))}
.community-btn-label{font-size:11px;font-weight:800}
.community-header-btn:hover,.community-compact-btn:hover{border-color:#61f4e0;box-shadow:0 0 24px rgba(46,244,207,.17);transform:translateY(-1px)}
.community-header-btn:focus-visible,.community-compact-btn:focus-visible{outline:2px solid #6effdd;outline-offset:3px}
.community-header-btn.support-pill .community-btn-ico{font-size:19px;color:#96aeff}
.community-compact-actions{display:none}
/* Do not squeeze full desktop header: the reviews/support buttons migrate to a slim row. */
@media(max-width:1840px){
  .community-header-actions{display:none}
  .community-compact-actions{display:flex;justify-content:center;gap:9px;background:linear-gradient(180deg,rgba(9,20,43,.97),rgba(7,15,33,.97));padding:6px 12px;border-bottom:1px solid rgba(79,127,211,.18)}
  .community-compact-btn{font-size:11px;font-weight:800;padding:7px 13px;border-radius:11px;min-width:120px}
  .community-compact-btn span{color:#48ead6;font-size:15px;margin-right:5px}
}
@media(max-width:560px){
 .community-compact-actions{gap:8px;padding:7px 10px}
 .community-compact-btn{flex:1;min-width:0;font-size:11px}
}
.community-drawer[hidden],.community-support-chat[hidden],.community-support-login[hidden],.community-review-form[hidden],.community-message[hidden],.community-admin-bar[hidden]{display:none!important}
.community-drawer{position:fixed;z-index:1700;bottom:18px;width:min(390px,calc(100vw - 28px));max-height:min(740px,calc(100dvh - 30px));display:flex;flex-direction:column;overflow:hidden;color:#eaf5ff;border:1px solid rgba(74,234,218,.38);border-radius:24px;background:linear-gradient(145deg,rgba(12,23,47,.96),rgba(5,16,32,.985) 62%,rgba(6,20,39,.98));box-shadow:0 18px 70px rgba(0,0,0,.67),0 0 0 1px rgba(189,232,255,.055) inset,0 0 36px rgba(26,215,221,.10);backdrop-filter:blur(28px) saturate(1.3);-webkit-backdrop-filter:blur(28px) saturate(1.3);font-family:inherit}
.community-reviews-drawer{left:20px}
.community-support-drawer{right:20px}
.community-drawer::before{content:"";position:absolute;top:0;left:8%;right:8%;height:1px;pointer-events:none;background:linear-gradient(90deg,transparent,#68ffea 48%,transparent);opacity:.9}
.community-drawer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:19px 20px 15px;background:linear-gradient(125deg,rgba(39,81,118,.2),rgba(13,28,49,.07));border-bottom:1px solid rgba(67,157,201,.22)}
.community-overline{font-size:9px;font-weight:800;letter-spacing:.19em;color:#51f4cf}
.community-drawer-head h2{margin:5px 0 4px;font-size:21px;font-weight:850;color:#f3fbff;letter-spacing:-.6px}
.community-drawer-head p{margin:0;color:#9fb6cf;font-size:12px}
.community-close{display:grid;place-items:center;flex:none;width:34px;height:34px;border:1px solid rgba(137,177,219,.24);background:rgba(43,65,98,.25);border-radius:12px;color:#eaf6ff;cursor:pointer}
.community-close:hover{background:rgba(33,173,190,.20)}
.community-review-summary{display:flex;align-items:center;gap:17px;margin:15px 16px 12px;padding:14px 15px;border-radius:14px;border:1px solid rgba(66,166,200,.25);background:linear-gradient(130deg,rgba(22,71,83,.23),rgba(13,24,51,.72));box-shadow:inset 0 1px rgba(248,254,255,.07)}
.community-review-summary>strong{font-size:32px;font-weight:900;line-height:1}
.community-review-summary>span{display:grid;gap:4px}
.community-stars{color:#35eee0;font-size:19px;letter-spacing:1px;line-height:1}
.community-review-summary small{font-size:11px;color:#9cb6cf}
.community-message{padding:10px 12px;margin:5px 16px 10px;background:rgba(53,106,145,.14);color:#bfeaff;border:1px solid rgba(73,177,218,.3);border-radius:11px;font-size:12px}
.community-message[data-kind="error"]{border-color:rgba(255,105,125,.45);color:#ffb8c2;background:rgba(142,33,53,.15)}
.community-review-form{display:grid;gap:9px;margin:0 16px 10px;padding:14px;background:rgba(9,19,39,.66);border:1px solid rgba(86,137,211,.26);border-radius:15px}
.community-form-caption{display:flex;justify-content:space-between;gap:8px;font-size:12px;font-weight:800}
.community-form-caption span{color:#8ca9bf;font-size:10px;font-weight:500}
.community-review-form label,.community-chat-compose label{font-size:11px;color:#aebed6;font-weight:700}
.community-stars-input{border:0;padding:0;margin:0;display:flex;gap:9px;flex-direction:row-reverse;justify-content:flex-end}
.community-stars-input legend{font-size:11px;color:#b9c6db;margin-bottom:4px}
.community-stars-input label{position:relative;cursor:pointer;color:#3c526e;font-size:25px;transition:color .15s,transform .15s}
.community-stars-input label input{position:absolute;opacity:0;inset:0;width:100%;height:100%;cursor:pointer}
.community-stars-input label:has(input:checked),.community-stars-input label:has(input:checked)~label,.community-stars-input label:hover,.community-stars-input label:hover~label{color:#39f2d0;filter:drop-shadow(0 0 5px rgba(52,241,196,.4))}
.community-stars-input label:has(input:focus-visible){outline:2px solid #57edd9;border-radius:4px}
.community-drawer textarea,.community-admin-bar select{resize:vertical;font:inherit;color:#f5faff;background:rgba(7,18,37,.95);border:1px solid rgba(79,142,204,.36);border-radius:11px;padding:11px;outline:0;min-width:0}
.community-drawer textarea:focus,.community-admin-bar select:focus{border-color:#4ae6db;box-shadow:0 0 0 3px rgba(55,221,220,.10)}
.community-review-form textarea{min-height:74px;font-size:12px;max-height:150px}
.community-primary{border:1px solid rgba(85,251,225,.5);border-radius:12px;background:linear-gradient(100deg,#59f7dd,#23e0b1);color:#031a28;font:inherit;font-weight:850;font-size:12px;padding:12px;box-shadow:0 5px 22px rgba(34,247,193,.18);cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px}
.community-primary:hover{filter:brightness(1.06)}
.community-primary:disabled,.community-send:disabled{opacity:.55;cursor:wait}
.community-login-hint{margin:0 16px 13px;border:1px dashed rgba(72,168,211,.38);border-radius:11px;padding:10px;color:#9ebbd5;font-size:11px}
.community-login-hint button{background:transparent;border:0;color:#54efd3;font:inherit;font-weight:800;cursor:pointer}
.community-list-title{display:flex;justify-content:space-between;align-items:center;padding:4px 17px 9px;font-size:12px;font-weight:800;border-bottom:1px solid rgba(67,130,179,.23)}
.community-list-title span{font-size:9px;color:#46e7c0;letter-spacing:.08em}
.community-scroll-area{overflow-y:auto;min-height:100px;max-height:230px;padding:9px 16px 17px;scrollbar-width:thin;scrollbar-color:#395577 transparent}
.community-review-item{padding:10px 11px;border:1px solid rgba(91,144,206,.19);border-radius:12px;background:rgba(20,35,56,.42);margin-bottom:9px}
.community-review-item header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:5px}
.community-review-item header strong{font-size:12px}
.community-review-item header span{font-size:13px;color:#37ecd3}
.community-review-item p{font-size:11px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere;color:#d5e5fa;margin:5px 0}
.community-review-item footer{display:flex;align-items:center;justify-content:space-between;color:#7e9cbd;font-size:10px}
.community-moderate{font-size:10px;border:1px solid rgba(103,169,209,.3);background:rgba(37,68,102,.4);color:#caf8ff;border-radius:7px;padding:5px 9px;cursor:pointer}
.community-review-item.is-hidden{opacity:.62}
.community-empty{text-align:center;padding:22px 12px;font-size:12px;color:#9fb4d2;line-height:1.5;margin:0}
.community-support-status{margin:0;padding:10px 18px;background:rgba(0,201,160,.055);font-size:11px;color:#acccdc;border-bottom:1px solid rgba(69,134,171,.15)}
.community-info-dot{display:inline-block;width:7px;height:7px;margin-right:7px;border-radius:50%;background:#2de9c1;box-shadow:0 0 10px rgba(45,233,193,.38)}
.community-support-login{display:flex;flex-direction:column;align-items:center;text-align:center;gap:11px;padding:30px 25px;color:#cddbec}
.community-empty-icon{font-size:38px;color:#47e9ce}
.community-support-login strong{font-size:18px}
.community-support-login p{font-size:12px;line-height:1.5;color:#9aafc8;margin:0}
.community-support-login button{width:100%;justify-content:center}
.community-support-chat{display:flex;flex-direction:column;min-height:280px;flex:1;overflow:hidden}
.community-admin-bar{display:flex;gap:7px;flex-wrap:wrap;align-items:center;padding:9px 12px;background:rgba(24,54,75,.38);border-bottom:1px solid rgba(63,143,174,.2)}
.community-admin-bar span{color:#64f8d7;font-size:10px;font-weight:800;white-space:nowrap}
.community-admin-bar select{flex:1;font-size:11px;height:34px;padding:4px 8px;max-width:210px}
.community-admin-bar button{border:1px solid rgba(240,190,111,.35);border-radius:8px;padding:7px 8px;background:rgba(111,72,40,.19);color:#ffe1a3;font-size:10px;cursor:pointer}
.community-chat-stream{padding:14px 15px;overflow-y:auto;min-height:190px;flex:1;max-height:370px;display:flex;flex-direction:column;gap:12px;scrollbar-width:thin;scrollbar-color:#3b6584 transparent}
.community-chat-bubble{max-width:87%;display:flex;flex-direction:column;gap:5px;align-self:flex-start}
.community-chat-bubble.mine{align-self:flex-end}
.community-chat-bubble span{font-size:10px;color:#8eaaca;padding:0 7px}
.community-chat-bubble.mine span{text-align:right}
.community-chat-bubble p{background:rgba(28,51,79,.84);border:1px solid rgba(67,134,180,.3);border-radius:13px 13px 13px 4px;color:#effaff;font-size:12px;line-height:1.45;margin:0;padding:10px 12px;white-space:pre-wrap;overflow-wrap:anywhere}
.community-chat-bubble.mine p{background:linear-gradient(130deg,rgba(23,121,119,.65),rgba(9,81,109,.78));border-color:rgba(78,245,216,.32);border-radius:13px 13px 4px 13px}
.community-chat-compose{display:flex;align-items:stretch;gap:9px;padding:12px 14px 14px;background:rgba(8,19,39,.85);border-top:1px solid rgba(72,140,196,.21)}
.community-chat-compose textarea{resize:none;min-height:58px;max-height:100px;flex:1;font-size:12px}
.community-send{width:44px;flex:none;border-radius:12px;background:linear-gradient(110deg,#52f1d6,#2ee4b2);border:none;color:#0b2734;font-size:22px;cursor:pointer}
.site-admin-tag{font-size:10px;color:#5df1dc;background:rgba(26,211,189,.1);padding:4px 7px;border-radius:7px;border:1px solid rgba(58,231,206,.26);margin-left:7px}
.sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:850px){.community-drawer{bottom:10px}.community-reviews-drawer{left:10px}.community-support-drawer{right:10px}}
@media(max-width:650px){.community-drawer{left:8px;right:8px;bottom:8px;width:auto;max-height:calc(100dvh - 16px)}.community-reviews-drawer,.community-support-drawer{left:8px;right:8px}.community-review-summary{padding:11px}.community-scroll-area{max-height:min(245px,25dvh)}}
@media(prefers-reduced-motion:reduce){.community-header-btn,.community-compact-btn{transition:none}}

/* Combine real public counters and both community actions in one aligned row. */
.guest-community-row{display:none}
@media(max-width:1840px){
 .guest-community-row{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:10px;background:linear-gradient(180deg,rgba(10,22,48,.97),rgba(7,15,33,.97));border-bottom:1px solid rgba(86,150,211,.20);padding:8px 12px}
 .public-player-stats{display:none!important}
 .guest-community-row>.public-stats-strip{display:flex;align-items:center;justify-content:center;gap:10px;padding:0;border:0;background:transparent}
 .guest-community-row>.community-compact-actions{display:flex;padding:0;background:transparent;border:0}
 .guest-community-row>.public-stats-strip[hidden]{display:none!important}
}
@media(max-width:620px){
 .guest-community-row{gap:6px;padding:7px 9px}
 .guest-community-row>.public-stats-strip,.guest-community-row>.community-compact-actions{width:100%;gap:7px}
 .guest-community-row .community-compact-btn{flex:1}
}


/* SmileDice v6.3.11: only the Reviews and Support panels' visual palette.
   Match the page's cosmic midnight blue, violet borders and mint accents.
   Preserve all panel geometry, accessibility and Supabase functionality. */
.community-drawer {
  --community-violet:#8676ff;
  --community-blue:#5070d9;
  --community-mint:#36f0c5;
  border-color:rgba(116,100,244,.63);
  background:linear-gradient(147deg,#101b43 0%,#0c1535 51%,#090f28 100%);
  box-shadow:0 22px 70px rgba(0,0,0,.66),0 0 0 1px rgba(127,112,244,.10) inset,0 0 30px rgba(96,79,229,.15);
}
.community-drawer::before {
  background:linear-gradient(90deg,transparent,#8b6fff 49%,transparent);
}
.community-drawer-head {
  background:linear-gradient(125deg,rgba(83,65,178,.25),rgba(25,36,92,.18));
  border-bottom-color:rgba(111,99,228,.32);
}
.community-overline {color:#9b93ff}
.community-drawer-head h2 {color:#f6f5ff}
.community-drawer-head p {color:#abb9e4}
.community-close {
  color:#eef1ff;
  background:#192853;
  border-color:rgba(123,139,232,.43);
}
.community-close:hover {background:#2b347b}
.community-review-summary {
  background:linear-gradient(130deg,#1c2d63,#121a41);
  border-color:rgba(106,123,238,.48);
}
.community-stars,.community-review-item header span {color:#ffd45e}
.community-review-summary small {color:#adbce9}
.community-review-form {
  background:#0d1837;
  border-color:rgba(103,107,219,.42);
}
.community-form-caption span {color:#a4b5db}
.community-stars-input label {color:#485b8d}
.community-stars-input label:has(input:checked),
.community-stars-input label:has(input:checked)~label,
.community-stars-input label:hover,
.community-stars-input label:hover~label {
  color:#ffd45e;
  filter:drop-shadow(0 0 6px rgba(255,191,65,.3));
}
.community-stars-input label:has(input:focus-visible){outline-color:#a79bff}
.community-drawer textarea,.community-admin-bar select {
  color:#f5f5ff;
  background:#09142f;
  border-color:rgba(92,118,211,.48);
}
.community-drawer textarea:focus,.community-admin-bar select:focus {
  border-color:#8a81ff;
  box-shadow:0 0 0 3px rgba(114,94,241,.15);
}
.community-primary {
  background:linear-gradient(100deg,#4df4d6,#18dfad);
  border-color:rgba(75,251,216,.7);
  color:#06232e;
}
.community-review-item {
  background:linear-gradient(145deg,#17234e,#101b3b);
  border-color:rgba(103,122,223,.35);
}
.community-list-title {border-bottom-color:rgba(109,111,217,.3)}
.community-list-title span {color:#4de9d0}
.community-moderate {
  background:#192957;
  border-color:rgba(110,131,220,.5);
  color:#dbe7ff;
}
.community-scroll-area {scrollbar-color:#576ad3 transparent}
.community-support-status {
  background:#131e42;
  color:#b6c4e9;
  border-bottom-color:rgba(100,108,203,.3);
}
.community-admin-bar {
  background:#121f47;
  border-bottom-color:rgba(114,116,222,.3);
}
.community-admin-bar span {color:#46ebd0}
.community-admin-bar button {
  background:rgba(66,56,128,.3);
  border-color:rgba(138,122,229,.4);
  color:#e1d6ff;
}
.community-chat-stream {scrollbar-color:#576ad3 transparent}
.community-chat-bubble p {
  background:#1a2856;
  border-color:rgba(110,125,225,.36);
  color:#f2f6ff;
}
.community-chat-bubble.mine p {
  background:linear-gradient(135deg,#343381,#1d3773);
  border-color:rgba(143,129,250,.5);
}
.community-chat-compose {
  background:#0b1633;
  border-top-color:rgba(103,118,219,.35);
}
.community-send {
  background:linear-gradient(110deg,#4df4d6,#17e0b2);
  color:#082632;
}
.community-message {
  background:#172457;
  color:#d7dfff;
  border-color:rgba(105,126,236,.4);
}
.community-message[data-kind="error"] {
  border-color:rgba(255,105,125,.45);
  background:rgba(142,33,53,.15);
  color:#ffb8c2;
}
