.dwb-root {
  --dwb-bg: #080d17;
  --dwb-panel: #111a2a;
  --dwb-panel-soft: #141f32;
  --dwb-border: #263248;
  --dwb-text: #f2f5fc;
  --dwb-muted: #8d9ab1;
  --dwb-cyan: #62e5da;
  --dwb-purple: #a487ff;
  color: var(--dwb-text);
  font-family: "DM Sans", Arial, sans-serif;
  direction: rtl;
}

.dwb-root * { box-sizing: border-box; }
.dwb-shell { min-height: 790px; overflow: hidden; border: 1px solid #1f2b3d; border-radius: 20px; background: radial-gradient(ellipse at 70% 22%, #192340 0, transparent 37%), var(--dwb-bg); }
.dwb-topbar { height: 74px; padding: 0 5.2%; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(111,132,165,.16); }
.dwb-brand { display: flex; align-items: center; gap: 11px; color: var(--dwb-text); text-decoration: none; font: 700 15px "Space Grotesk",sans-serif; letter-spacing: .075em; line-height: 1.1; }
.dwb-brand-mark { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid rgba(98,229,218,.42); border-radius: 11px; color: var(--dwb-cyan); font-size: 22px; background: rgba(98,229,218,.1); }
.dwb-brand-light { color: var(--dwb-cyan); }
.dwb-brand small { display: block; margin-top: 4px; color: #78859c; font: 500 9px "DM Mono",monospace; letter-spacing: .19em; }
.dwb-player-stats { display: flex; align-items: center; gap: 20px; }
.dwb-stat { display: flex; align-items: center; gap: 6px; font: 500 13px "DM Mono",monospace; }
.dwb-stat i { color: #ffd16b; font-style: normal; font-size: 17px; }
.dwb-stat:nth-child(2) i { color: var(--dwb-purple); }
.dwb-stat small { color: #72809a; font-size: 9px; }
.dwb-icon-button,.dwb-speak,.dwb-modal-close { border: 1px solid #344057; color: #cbd4e4; background: #141e30; cursor: pointer; }
.dwb-icon-button { padding: 8px 11px; border-radius: 9px; font-size: 13px; }
.dwb-icon-button span { color: var(--dwb-cyan); }
.dwb-language-toggle { padding: 8px 10px; border: 1px solid #344057; border-radius: 9px; color: #dce5f3; background: #141e30; font: 500 11px "DM Sans",Arial,sans-serif; cursor: pointer; }
.dwb-language-toggle:hover { border-color: var(--dwb-cyan); color: var(--dwb-cyan); }
.dwb-content { width: min(1190px, 92%); margin: 0 auto; padding: 40px 0 15px; }
.dwb-heading { margin-bottom: 26px; display: flex; justify-content: space-between; align-items: center; }
.dwb-eyebrow { margin: 0 0 9px; color: var(--dwb-cyan); font: 500 10px "DM Mono",monospace; letter-spacing: .19em; }
.dwb-heading h1 { margin: 0; font: 700 clamp(30px,4vw,44px) "Space Grotesk",sans-serif; letter-spacing: -.055em; }
.dwb-heading h1 em { color: var(--dwb-cyan); font-style: normal; }
.dwb-lede { margin: 8px 0 0; color: var(--dwb-muted); font-size: 13px; }
.dwb-direction { padding: 9px 13px; display: flex; align-items: center; gap: 10px; border: 1px solid #344159; border-radius: 10px; color: #e4e9f2; background: #111a28; font: 600 12px "DM Mono",monospace; cursor: pointer; }
.dwb-direction b { color: var(--dwb-cyan); font-size: 17px; }
.dwb-direction.is-reversed { border-color: var(--dwb-cyan); }
.dwb-game-card { min-height: 536px; display: grid; grid-template-columns: 220px minmax(0,1fr); overflow: hidden; border: 1px solid #29364b; border-radius: 15px; background: rgba(14,22,36,.9); box-shadow: 0 24px 70px rgba(0,0,0,.24); }
.dwb-sidebar { display: flex; flex-direction: column; padding: 23px 15px 15px; border-right: 1px solid #29364b; background: linear-gradient(160deg,rgba(24,36,55,.8),rgba(12,19,31,.7)); }
.dwb-sector-label { padding: 0 8px 14px; color: #8290a7; font: 500 9px "DM Mono",monospace; letter-spacing: .15em; }
.dwb-sector-label>span:last-child { float: left; color: var(--dwb-cyan); }
.dwb-sector-label>span:first-child { color: #8290a7; }
.dwb-sectors { display: grid; gap: 4px; }
.dwb-sector { width: 100%; padding: 10px 9px; display: flex; align-items: center; gap: 9px; border: 1px solid transparent; border-radius: 8px; color: #aab5c7; background: transparent; text-align: right; font: 500 12px "DM Sans",sans-serif; cursor: pointer; }
.dwb-sector:hover { color: white; background: rgba(255,255,255,.035); }
.dwb-sector.is-active { color: #dffffb; border-color: rgba(98,229,218,.21); background: rgba(98,229,218,.085); }
.dwb-sector-icon { width: 17px; color: #7e8ba2; font-size: 14px; text-align: center; }
.dwb-sector.is-active .dwb-sector-icon { color: var(--dwb-cyan); }
.dwb-sector small { margin-right: auto; color: #64718a; font: 10px "DM Mono",monospace; }
.dwb-sidebar-bottom { margin-top: auto; padding: 12px 4px 2px; border-top: 1px solid #263248; color: #78859b; font: 9px "DM Mono",monospace; line-height: 1.6; }
.dwb-online-dot { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: var(--dwb-cyan); box-shadow: 0 0 9px var(--dwb-cyan); }
.dwb-arena { min-width: 0; padding: 23px 25px 13px; }
.dwb-arena-head { display: flex; align-items: center; justify-content: space-between; }
.dwb-round-label { color: #8c9ab1; font: 500 9px "DM Mono",monospace; letter-spacing: .12em; }
.dwb-round-label b { color: var(--dwb-cyan); }
.dwb-round-separator { color: #4b5870; padding: 0 4px; }
.dwb-arena-head h2 { margin: 4px 0 0; font: 600 21px "Space Grotesk",sans-serif; }
.dwb-arena-metrics { display: flex; align-items: center; gap: 17px; color: #c4cede; font: 12px "DM Mono",monospace; }
.dwb-lives { color: #ff738c; font-size: 14px; letter-spacing: 2px; }
.dwb-target-panel { min-height: 73px; margin: 16px 0 13px; padding: 12px 16px; display: flex; align-items: center; gap: 13px; border: 1px solid rgba(164,135,255,.27); border-radius: 11px; background: linear-gradient(100deg,rgba(164,135,255,.12),rgba(98,229,218,.035)); }
.dwb-target-orbit { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(164,135,255,.36); border-radius: 50%; color: #c3adff; font-size: 24px; }
.dwb-target-panel div { min-width: 0; }
.dwb-target-panel small { display: block; color: #a396cc; font: 500 9px "DM Mono",monospace; letter-spacing: .11em; }
.dwb-target-panel strong { display: block; margin-top: 3px; font: 600 19px "Space Grotesk",sans-serif; }
.dwb-speak { width: 34px; height: 34px; margin-left: auto; border-radius: 9px; color: var(--dwb-cyan); font-size: 17px; }
.dwb-speak:hover,.dwb-icon-button:hover { border-color: var(--dwb-cyan); }
.dwb-playfield { position: relative; height: 300px; overflow: hidden; border: 1px solid #293952; border-radius: 11px; background: radial-gradient(ellipse at 50% 108%,rgba(60,112,137,.16),transparent 43%), linear-gradient(180deg,#0d1728,#0b1422); }
.dwb-playfield:before { position: absolute; inset: 0; content: ""; opacity: .16; background-image: linear-gradient(rgba(141,168,205,.18) 1px,transparent 1px),linear-gradient(90deg,rgba(141,168,205,.18) 1px,transparent 1px); background-size: 38px 38px; mask-image: linear-gradient(to bottom,black,transparent 93%); }
.dwb-grid-glow { position: absolute; right: 12%; bottom: -100px; left: 12%; height: 150px; border-radius: 50%; background: rgba(86,229,218,.12); filter: blur(55px); }
.dwb-start-card { position: absolute; z-index: 3; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px; text-align: center; }
.dwb-start-card[hidden] { display: none; }
.dwb-start-icon { color: var(--dwb-cyan); font-size: 25px; text-shadow: 0 0 22px rgba(98,229,218,.7); }
.dwb-start-card h3 { margin: 5px 0; font: 600 20px "Space Grotesk",sans-serif; }
.dwb-start-card p { max-width: 340px; margin: 0 0 15px; color: #9aa8be; font-size: 12px; }
.dwb-primary { padding: 11px 19px; border: 0; border-radius: 8px; color: #07151b; background: var(--dwb-cyan); font: 700 10px "DM Mono",monospace; letter-spacing: .05em; cursor: pointer; box-shadow: 0 0 20px rgba(98,229,218,.16); }
.dwb-primary:hover { background: #a0fff3; transform: translateY(-1px); }
.dwb-primary span { padding-left: 9px; }
.dwb-start-card>small { margin-top: 12px; color: #6e7c93; font: 9px "DM Mono",monospace; letter-spacing: .1em; }
.dwb-cannon { position: absolute; z-index: 1; bottom: 11px; left: 50%; color: var(--dwb-cyan); font-size: 25px; transform: translateX(-50%); text-shadow: 0 0 12px rgba(98,229,218,.55); }
.dwb-cannon span { position: absolute; top: 10px; left: 50%; width: 24px; height: 2px; background: var(--dwb-cyan); transform: translateX(-50%); }
.dwb-falling-word { position: absolute; z-index: 2; top: -38px; min-width: 75px; padding: 9px 12px; border: 1px solid rgba(98,229,218,.46); border-radius: 9px; color: #ddfffa; background: rgba(20,40,52,.93); font: 600 15px "DM Sans",sans-serif; cursor: crosshair; box-shadow: 0 0 19px rgba(98,229,218,.1); animation: dwb-fall linear forwards; }
.dwb-falling-word:hover { color: #07151b; background: var(--dwb-cyan); }
@keyframes dwb-fall { to { top: calc(100% + 50px); } }
.dwb-feedback { position: absolute; z-index: 4; top: 18px; left: 50%; padding: 8px 12px; border: 1px solid transparent; border-radius: 8px; opacity: 0; transform: translate(-50%,-6px); transition: .2s; pointer-events: none; font: 600 11px "DM Mono",monospace; }
.dwb-feedback.is-visible { opacity: 1; transform: translate(-50%,0); }
.dwb-feedback.is-good { color: #a5fff4; border-color: rgba(98,229,218,.38); background: #122b31; }
.dwb-feedback.is-bad { color: #ffb1bd; border-color: rgba(255,115,140,.32); background: #301d2b; }
.dwb-arena-footer { padding-top: 12px; display: flex; justify-content: space-between; color: #8390a5; font: 9px "DM Mono",monospace; letter-spacing: .07em; }
.dwb-arena-footer b { margin-left: 5px; color: #d9e3f2; font-size: 11px; }
.dwb-hint { color: #6e7c93; }
.dwb-footer { padding: 15px 2px 0; display: flex; justify-content: space-between; color: #727f94; font: 10px "DM Mono",monospace; }
.dwb-footer i { color: var(--dwb-cyan); font-style: normal; }
.dwb-modal { position: fixed; z-index: 99999; inset: 0; display: grid; place-items: center; padding: 18px; background: rgba(3,8,15,.76); backdrop-filter: blur(6px); }
.dwb-modal[hidden] { display: none; }
.dwb-modal-card { position: relative; width: min(480px,100%); max-height: 80vh; overflow: auto; padding: 27px; border: 1px solid #34415a; border-radius: 15px; background: #101a2a; box-shadow: 0 24px 80px #0009; }
.dwb-modal-close { position: absolute; top: 15px; right: 15px; width: 32px; height: 32px; border-radius: 8px; font-size: 22px; }
.dwb-modal-card h2 { margin: 0; font: 600 25px "Space Grotesk",sans-serif; }
.dwb-modal-intro { color: var(--dwb-muted); font-size: 12px; }
.dwb-review-list { display: grid; gap: 7px; margin-top: 18px; }
.dwb-review-word { padding: 10px 11px; display: grid; grid-template-columns: 1fr 1fr auto 32px; align-items: center; gap: 8px; border: 1px solid #29364b; border-radius: 8px; background: #141f30; font-size: 12px; }
.dwb-review-word>span,.dwb-review-word small { direction: ltr; text-align: left; }
.dwb-review-word b { text-align: right; }
.dwb-review-word b { font-size: 15px; }
.dwb-review-word small { color: #9ba8bd; font: 10px "DM Mono",monospace; }
.dwb-review-word button { width: 30px; height: 30px; border: 1px solid #344159; border-radius: 7px; color: var(--dwb-cyan); background: transparent; cursor: pointer; }
.dwb-empty-review { padding: 22px; border: 1px dashed #344159; border-radius: 9px; color: var(--dwb-muted); text-align: center; font-size: 13px; }

@media (max-width: 760px) {
  .dwb-shell { min-height: 700px; }
  .dwb-content { width: 94%; padding-top: 26px; }
  .dwb-game-card { grid-template-columns: 1fr; }
  .dwb-sidebar { padding: 12px; border-right: 0; border-bottom: 1px solid #29364b; }
  .dwb-sector-label { padding-bottom: 8px; }
  .dwb-sectors { display: flex; overflow-x: auto; gap: 5px; scrollbar-width: thin; }
  .dwb-sector { width: auto; flex: 0 0 auto; padding: 8px; }
  .dwb-sector small,.dwb-sidebar-bottom { display: none; }
  .dwb-arena { padding: 18px 13px 12px; }
  .dwb-playfield { height: 290px; }
  .dwb-player-stats { gap: 9px; }
  .dwb-stat { gap: 4px; font-size: 11px; }
  .dwb-topbar { padding: 0 4%; }
  .dwb-hint { display: none; }
}
@media (max-width: 430px) {
  .dwb-brand { font-size: 12px; }
  .dwb-brand-mark { width: 30px; height: 30px; }
  .dwb-player-stats { gap: 7px; }
  .dwb-stat small { display: none; }
  .dwb-heading h1 { font-size: 31px; }
  .dwb-direction { padding: 8px; }
}
