/* Local styling for the playable ORBIT and COMMON examples only. */
.dx-game,.dx-community{box-sizing:border-box;display:flex;flex-direction:column;height:100%;min-height:0;padding:14px;border:1px solid #e0e9f3;border-radius:17px;background:#f5f9fd;color:#263954;font-family:Inter,Arial,sans-serif;overflow:hidden}.dx-game *,.dx-community *{box-sizing:border-box}.dx-game button,.dx-community button,.dx-community input{font:inherit}.dx-game button,.dx-community button{cursor:pointer}.dx-game button:focus-visible,.dx-community button:focus-visible,.dx-community input:focus-visible,.dx-game .dx-game-board:focus-visible{outline:2px solid #0066ff;outline-offset:3px}.dx-game .dx-demo-tag,.dx-community .dx-demo-tag{font-size:9px;font-weight:500;letter-spacing:0;white-space:nowrap;color:#7c8b9f}.dx-game .dx-game-head,.dx-community .dx-community-head{position:static;top:auto;z-index:auto;display:flex;align-items:center;justify-content:space-between;flex:0 0 auto;gap:8px;height:auto;min-height:27px;background:none;border:0;backdrop-filter:none}.dx-game .dx-game-head strong{font-size:15px;letter-spacing:1.5px;color:#225da2}.dx-game .dx-game-head strong span{font-size:10px;letter-spacing:0;font-weight:500;color:#7b93ad}.dx-game .dx-game-scorebar{display:flex;align-items:center;gap:9px;min-height:27px;flex:0 0 auto;font-size:11px;color:#7a8ba1}.dx-game .dx-game-scorebar>[data-game-moves]{margin-left:auto}.dx-game .dx-game-stars{color:#e6a129;font-size:16px;letter-spacing:1px;white-space:nowrap}.dx-game .dx-game-board{position:relative;flex:1 1 auto;min-height:120px;border:1px solid #cee5ee;border-radius:11px;overflow:hidden;background:#dff2f8}.dx-game .dx-game-world{display:block;width:100%;height:100%}.dx-game .dx-game-board[data-won=true]{border-color:#e6bd62;box-shadow:inset 0 0 0 2px #f6daa0}.dx-game .dx-game-controls{display:flex;justify-content:space-between;align-items:center;gap:10px;flex:0 0 auto;margin-top:9px}.dx-game .dx-game-directions{display:flex;gap:5px}.dx-game .dx-game-directions button{display:grid;place-items:center;width:40px;height:38px;padding:0;border:1px solid #c9d9ea;border-radius:8px;background:#fff;color:#376896;font-size:20px;line-height:1;touch-action:manipulation}.dx-game .dx-game-directions button:active{background:#e4efff;border-color:#0066ff}.dx-game .dx-game-reset{height:31px;padding:0 9px;border:1px solid #d6e2ef;border-radius:7px;background:#edf4fc;color:#547694;font-size:11px}.dx-game .dx-game-bottom{flex:0 0 auto;min-height:37px;margin-top:8px}.dx-game .dx-game-bottom p{margin:0;font-size:11px;line-height:1.45;color:#778da4}.dx-game .dx-game-bottom p:first-child{color:#477093;font-weight:500;margin-bottom:2px}.dx-community{background:#faf9fd;border-color:#e5e0ed;color:#403957;padding:14px;gap:8px}.dx-community .dx-community-head strong{font-size:14px;letter-spacing:1.15px;white-space:nowrap}.dx-community .dx-community-head strong>span{color:#7b57b0;font-size:17px;vertical-align:-1px}.dx-community .dx-community-head small{font-size:9px;letter-spacing:0;color:#9b8eaf;font-weight:500}.dx-community .dx-community-wallet{display:flex;align-items:center;gap:6px;flex:0 0 auto;align-self:flex-start;padding:4px 7px;border:1px solid #e7dfef;border-radius:5px;background:#f5f0fa;font-size:10px;color:#8e799f}.dx-community .dx-community-wallet>span{width:5px;height:5px;border-radius:50%;border:1px solid #b39ac9}.dx-community .dx-community-tabs{display:flex;flex:0 0 auto;gap:4px;padding:3px;border:1px solid #e8e1ef;border-radius:8px;background:#f1edf6}.dx-community .dx-community-tabs button{flex:1;border:0;border-radius:5px;background:none;padding:5px 8px;color:#9783a8;font-size:11px;line-height:1.3}.dx-community .dx-community-tabs button[aria-selected=true]{background:#fff;color:#705597;box-shadow:0 1px 4px #59426e0c}.dx-community .dx-community-body{min-height:0;flex:1 1 auto;overflow:auto;scrollbar-width:thin}.dx-community .dx-community-panel[hidden],.dx-community [data-community-panel][hidden]{display:none}.dx-community .dx-member-pass{position:relative;display:flex;flex-direction:column;justify-content:space-between;min-height:132px;padding:12px 14px;border:1px solid #a8c7ee;border-radius:11px;background:linear-gradient(120deg,#deebfc,#bfd3f2 50%,#8dacda);overflow:hidden;color:#315b90}.dx-community .dx-member-pass[data-theme=lilac]{background:linear-gradient(120deg,#efe5fa,#d7c4ef 50%,#b896d8);border-color:#c8afde;color:#714a94}.dx-community .dx-member-pass[data-theme=peach]{background:linear-gradient(120deg,#fff0e2,#f1d2b7 50%,#e9b591);border-color:#ebc49f;color:#9c6842}.dx-community .dx-pass-top{display:flex;justify-content:space-between;align-items:center;font-size:8px;letter-spacing:1.1px;z-index:1}.dx-community .dx-pass-top>span:last-child{font-size:19px;line-height:1}.dx-community .dx-member-pass>strong{display:block;max-width:85%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:18px;font-weight:600;line-height:1.3;z-index:1;margin-top:16px}.dx-community .dx-pass-foot{font-size:7px;letter-spacing:1.1px;opacity:.62;margin-top:4px;z-index:1}.dx-community .dx-pass-art{position:absolute;right:-10px;top:-16px;width:125px;height:125px;transform:rotate(28deg);opacity:.45}.dx-community .dx-pass-art i{position:absolute;inset:14px;border:1px solid #ffffffa8;transform:rotate(45deg);border-radius:16px}.dx-community .dx-pass-art i:nth-child(2){inset:26px}.dx-community .dx-pass-art i:nth-child(3){inset:38px}.dx-community .dx-pass-art i:nth-child(4){inset:50px;background:#ffffff66}.dx-community .dx-pass-form{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:12px;margin-top:10px}.dx-community .dx-pass-form>label{display:flex;flex-direction:column;gap:5px;color:#9887a6;font-size:11px;line-height:1.3}.dx-community .dx-pass-form input[type=text]{width:100%;min-width:0;height:31px;padding:6px 8px;border:1px solid #ddd2e8;border-radius:6px;background:white;color:#665371;font-size:12px}.dx-community .dx-pass-form fieldset{margin:0;padding:0;border:0;min-width:0}.dx-community .dx-pass-form legend{padding:0;margin-bottom:5px;color:#9887a6;font-size:11px;line-height:1.3}.dx-community .dx-pass-themes{display:flex;gap:4px}.dx-community .dx-pass-themes label{position:relative;flex:1;min-width:0}.dx-community .dx-pass-themes input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}.dx-community .dx-pass-themes span{display:grid;place-items:center;min-height:31px;border:1px solid #ddd7e6;border-radius:6px;font-size:10px;background:#edf3fd;color:#6d87ac}.dx-community .dx-pass-themes span[data-theme=lilac]{background:#f0eaf8;color:#9780ad}.dx-community .dx-pass-themes span[data-theme=peach]{background:#fff0e4;color:#af8a6d}.dx-community .dx-pass-themes input:checked+span{border-color:#936bb7;box-shadow:inset 0 0 0 1px #936bb725}.dx-community .dx-pass-themes input:focus-visible+span{outline:2px solid #0066ff;outline-offset:2px}.dx-community .dx-community-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:0 0 auto;min-height:28px;padding:5px 0 0;border-top:1px solid #ece6f1}.dx-community .dx-community-bottom p{margin:0;color:#9b88ad;font-size:9px;line-height:1.45;max-width:75%}.dx-community .dx-community-bottom button{padding:3px 0;border:0;background:none;color:#9278a8;text-decoration:underline;text-underline-offset:3px;white-space:nowrap;font-size:9px}.dx-community .dx-proposal-heading{margin:0 0 8px}.dx-community .dx-proposal-heading strong{font-size:13px;font-weight:600;color:#705489}.dx-community .dx-proposal-heading p{margin:3px 0 0;font-size:10px;line-height:1.5;color:#a08eac}.dx-community .dx-ballot-options{border:0;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.dx-community .dx-ballot-choice{position:relative;display:flex;align-items:center;gap:8px;min-height:44px;padding:7px 10px;border:1px solid #e6ddec;border-radius:7px;background:white;overflow:hidden;cursor:pointer}.dx-community .dx-ballot-choice input{accent-color:#8c65b0;flex:0 0 auto;width:12px;height:12px;margin:0;z-index:1}.dx-community .dx-ballot-text{display:flex;flex-direction:column;gap:3px;min-width:0;z-index:1}.dx-community .dx-ballot-text strong{font-size:11px;font-weight:500;color:#80648f}.dx-community .dx-ballot-text small{font-size:10px;line-height:1.3;color:#a08caf}.dx-community .dx-ballot-tally{margin-left:auto;color:#9b7caf;font-size:11px;z-index:1}.dx-community .dx-ballot-bar{position:absolute;bottom:0;left:0;height:2px;width:0;background:#bd9cda}.dx-community .dx-ballot-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:9px}.dx-community .dx-ballot-actions>span{font-size:9px;color:#a08eac}.dx-community .dx-ballot-actions button{border:0;border-radius:6px;padding:7px 10px;background:#8965ae;color:white;font-size:11px}.dx-community .dx-ballot-actions button:disabled{background:#d4c4e2;color:#826a96;cursor:default}.dx-community .dx-community-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:560px){.dx-game,.dx-community{padding:12px}.dx-game .dx-game-head strong span{display:none}.dx-community .dx-community-head small{display:none}.dx-community .dx-pass-form{gap:8px}.dx-community{gap:7px}.dx-game .dx-game-bottom p{font-size:10px}.dx-community .dx-member-pass{min-height:132px}.dx-game .dx-game-directions button{width:40px;height:38px}}

/* Mobile COMMON form and ballot. The outer app region may grow and scroll. */
@media(max-width:1020px){
  .dx-community{height:auto;min-height:410px;overflow:visible}
  .dx-community .dx-community-tabs button{min-height:44px;font-size:12px;padding:9px 8px}
  .dx-community .dx-community-body{flex:0 0 auto;overflow:visible}
  .dx-community .dx-pass-form{grid-template-columns:minmax(0,1fr);gap:12px}
  .dx-community .dx-pass-form input[type=text]{height:44px;min-height:44px;font-size:16px;line-height:1.4}
  .dx-community .dx-pass-themes{gap:7px}
  .dx-community .dx-pass-themes label{min-width:44px}
  .dx-community .dx-pass-themes span{min-height:44px;font-size:12px}
  .dx-community .dx-ballot-choice{min-height:54px;padding:9px 10px}
  .dx-community .dx-ballot-choice input{width:16px;height:16px}
  .dx-community .dx-ballot-text strong{font-size:12px;line-height:1.4}
  .dx-community .dx-ballot-text small{font-size:11px;line-height:1.4}
  .dx-community .dx-ballot-actions{flex-wrap:wrap;gap:8px}
  .dx-community .dx-ballot-actions button{min-height:44px;padding:10px 12px;font-size:12px}
  .dx-community .dx-community-bottom{min-height:49px;align-items:center}
  .dx-community .dx-community-bottom p{min-width:0;max-width:none;flex:1;overflow-wrap:anywhere}
  .dx-community .dx-community-bottom button{min-width:44px;min-height:44px;padding:9px 4px;font-size:11px;flex:none}
}
