.throw-tools {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid #dcceb9;
}

.throw-tools h2 {
  margin-bottom: 7px;
  color: var(--ink);
  font: 400 15px/21px var(--sans);
}

.throw-hint {
  margin: 0 0 14px;
  color: var(--muted);
  font: 400 clamp(11.5px, 3vw, 12px)/1.5 var(--sans);
  overflow-wrap: anywhere;
}

.throw-hint:empty { display: none; }

.throw-items {
  display: grid;
  width: min(100%, 314px);
  grid-template-columns: repeat(auto-fit, minmax(44px, 1fr));
  justify-items: center;
  gap: 9px 10px;
}

.throw-item, .throw-flight {
  display: grid;
  place-items: center;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  line-height: 1;
}

.throw-item {
  width: 44px;
  min-height: 44px;
  height: 44px;
  border: 1px solid var(--paper-edge);
  border-radius: 50%;
  background: var(--fiber), #fbf4e6;
  box-shadow: 0 1px 2px #5a422214;
  font-size: 22px;
}

.throw-item:not(:disabled):active {
  border-color: #b8aa8c;
  background-color: #ece5d3;
}

.throw-item:disabled {
  filter: grayscale(1);
  box-shadow: none;
}

.throw-error {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.throw-error:empty { display: none; }

.throw-stage {
  position: fixed;
  z-index: 5;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.throw-flight {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 40px;
  height: 40px;
  font-size: 28px;
}

.throw-notice {
  position: absolute;
  top: 53%;
  left: 50%;
  width: max-content;
  max-width: calc(100% - max(24px, var(--safe-left)) - max(24px, var(--safe-right)));
  padding: 8px 16px;
  transform: translateX(-50%);
  border: 1px solid #d7c6a9;
  border-radius: 8px;
  background: var(--fiber), var(--paper);
  box-shadow: 0 4px 16px #5a422220;
  color: var(--ink);
  text-align: center;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.throw-notice:empty { opacity: 0; }

.throw-stage[data-effect="highlight"] .throw-notice {
  border-color: #c3a77d;
  background-color: #f8ebd4;
}

@media (prefers-reduced-motion: reduce) {
  .throw-flight { display: none; }
}
