.object-exercise.dice-events-compact {
  --de-ink: #193050; --de-line: #b6c9e2; --de-accent: #395fb1; --de-hot: #65418e;
  color: var(--de-ink); border: 1px solid var(--de-line); border-radius: .85rem; background: #f6f8ff;
}
.dice-events-compact .de-work { min-width: 0; max-width: 44rem; }
.dice-events-compact .de-rules, .dice-events-compact .de-actions { display: flex; flex-wrap: wrap; gap: .35rem; margin: .45rem 0; }
.dice-events-compact .de-rules > strong { padding: .2rem .42rem; border-radius: .4rem; background: #dceaff; font-size: .86rem; color: #193b73; }
.dice-events-compact .de-rules > strong + strong { background: #e8e3fa; color: #442963; }
.dice-events-compact .de-board { display: grid; gap: .35rem; }
.dice-events-compact .de-zones { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .32rem; }
.dice-events-compact .de-zone { min-width: 0; min-height: 0; padding: .25rem; border: 1px solid var(--de-line); border-radius: .55rem; background: #fff; }
.dice-events-compact .de-pool { border-style: dashed; background: #edf3ff; }
.dice-events-compact .de-both { border-color: #aa9cc8; background: #f4eeff; }
.dice-events-compact .de-work .de-target {
  display: block; width: 100%; min-width: 0; min-height: 27px !important; margin: 0;
  padding: .16rem .2rem; border: 0; border-radius: .34rem; background: #eaf0fb;
  color: #243e65; font-size: .78rem; line-height: 1.14; font-weight: 760; touch-action: manipulation;
}
.dice-events-compact .de-both .de-target { background: #e5d9f9; color: #49336a; }
.dice-events-compact .de-pieces { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .2rem; margin-top: .18rem; min-height: 34px; }
.dice-events-compact .de-pool .de-pieces { grid-template-columns: repeat(6, minmax(0,1fr)); }
.dice-events-compact .de-work .de-piece, .de-drag-ghost {
  display: flex; align-items: center; justify-content: center; gap: .15rem; width: 100%; height: 32px;
  min-width: 0 !important; min-inline-size: 0 !important; min-height: 32px !important; margin: 0; padding: 0;
  border: 1px solid #829dc7; border-radius: .35rem; background: #fff; color: #193050;
  font-size: .82rem; font-weight: 790; touch-action: none; user-select: none; cursor: grab;
}
.dice-events-compact .de-piece svg { width: 15px; height: 15px; display: block; fill: #244f89; pointer-events: none; }
.dice-events-compact .de-piece span { pointer-events: none; }
.dice-events-compact .de-piece[aria-pressed='true'] { background: #e7dcff; border-color: var(--de-hot); box-shadow: inset 0 0 0 1px var(--de-hot); }
.dice-events-compact .de-space { min-height: 32px; border: 1px dashed #a3b6cf; border-radius: .35rem; }
.dice-events-compact[data-de-dragging='true'] .de-zone { border-color: var(--de-accent); }
.de-drag-ghost { position: fixed; z-index: 2147483640; width: 34px; transform: translate(7px,-105%); pointer-events: none; box-shadow: 0 4px 12px #26375354; }
.dice-events-compact .de-work .de-actions button { min-height: 42px; margin: 0; }
.dice-events-compact .de-actions button[aria-pressed='true'] { box-shadow: inset 0 -3px var(--de-accent); }
.dice-events-compact .de-work :focus-visible { outline: 3px solid var(--de-hot); outline-offset: -2px; }
.dice-events-compact .de-help { margin: .4rem 0; color: #456080; font-size: .87rem; }
.dice-events-compact .de-status { scroll-margin-block: 6rem; border-radius: .5rem; margin: .45rem 0 0; padding: .52rem; background: #e7efff; }
.dice-events-compact .de-status:empty { display: none; }
.dice-events-compact .de-status p { margin: .25rem 0 0; }
.dice-events-compact .de-status strong { color: #293b83; }

@media (max-width: 420px) {
  .dice-events-compact .de-zone { padding: .16rem; }
  .dice-events-compact .de-work .de-target { min-height: 24px !important; }
  .dice-events-compact .de-pieces { min-height: 29px; }
  .dice-events-compact .de-work .de-piece { height: 29px; min-height: 29px !important; }
  .dice-events-compact .de-space { min-height: 29px; }
}
