body.bmk-body {
  background: #f6efe6 !important;
  background-color: #f6efe6 !important;
  color: #3a241c !important;
}

.bmk-body .shell-footer {
  position: static !important;
  background: #f6efe6 !important;
  border-top: 1px solid #e4d3c6 !important;
}

.bmk-body .shell-footer-inner {
  color: #6d5348 !important;
}

main.shell-main.bmk-main {
  box-sizing: border-box;
  width: min(760px, 100%);
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 40px;
  color: #3a241c !important;
}

.bmk-sheet {
  width: min(720px, 100%);
  margin: 18px auto 0;
}

.bmk-title,
.bmk-type {
  margin: 0 0 12px;
  color: #3a241c;
  font-size: clamp(2rem, 5.2vw, 2.85rem);
  line-height: 1.16;
  font-weight: 760;
}

.bmk-lead,
.bmk-skip,
.bmk-read,
.bmk-dim,
.bmk-hard,
.bmk-clip,
.bmk-notes p,
.bmk-count,
.bmk-miss,
.bmk-safe {
  color: #3a241c;
}

.bmk-lead,
.bmk-skip {
  margin: 0 0 10px;
  font-size: 1.06rem;
  line-height: 1.55;
}

.bmk-skip,
.bmk-safe,
.bmk-hard {
  color: #6a4e44;
}

.bmk-gates {
  display: grid;
  gap: 8px;
  margin: 22px 0 18px;
}

.bmk-gate-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 48px;
  padding: 8px 2px;
  color: #3a241c;
  font-size: 1.05rem;
  line-height: 1.45;
}

.bmk-gate-row input {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  accent-color: #c43755;
  flex: 0 0 auto;
}

.bmk-start,
.bmk-actions button {
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: #c43755;
  color: #fffaf6;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0 22px;
  cursor: pointer;
}

.bmk-start:disabled {
  background: #d9c9be;
  color: #8c756b;
  cursor: not-allowed;
}

.bmk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.bmk-ghost {
  background: transparent !important;
  color: #3a241c !important;
  border: 2px solid #c43755 !important;
}

.bmk-pips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin: 0 0 18px;
}

.bmk-pip {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #eadfd2;
  box-shadow: inset 0 0 0 1px #ddcfc2;
}

.bmk-pip.is-in {
  background: #c43755;
  box-shadow: none;
}

.bmk-count {
  margin: 0 0 8px;
  text-align: center;
  letter-spacing: 0.04em;
  color: #8a5348;
  font-weight: 700;
}

#bmk-prompt {
  margin: 8px 0 22px;
  color: #3a241c;
  font-size: clamp(1.55rem, 4vw, 2.05rem);
  line-height: 1.35;
  font-weight: 740;
  text-align: center;
}

.bmk-ruler {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 8px 0 4px;
  background:
    linear-gradient(#c9a394, #c9a394) center / 100% 2px no-repeat;
}

.bmk-tick {
  flex: 1 1 18%;
  min-width: 96px;
  min-height: 54px;
  border: 2px solid #e7d5c8;
  border-radius: 16px;
  background: #fffaf6;
  color: #3a241c;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 6px;
}

.bmk-tick:hover,
.bmk-tick:focus-visible {
  border-color: #c43755;
  outline: none;
}

.bmk-tick.is-on {
  color: #fffaf6;
  border-color: transparent;
  background: radial-gradient(circle at 50% 40%, #f7c9d4, #c43755 72%);
}

.bmk-tick[data-value="1"].is-on { background: #f3c3cd; color: #6d2436; }
.bmk-tick[data-value="2"].is-on { background: #e98aa0; color: #fffaf6; }
.bmk-tick[data-value="3"].is-on { background: #d85a78; color: #fffaf6; }
.bmk-tick[data-value="4"].is-on { background: #c43755; color: #fffaf6; }
.bmk-tick[data-value="5"].is-on { background: #8e1d38; color: #fffaf6; }

.bmk-figure {
  margin: 0 0 18px;
}

.bmk-chart {
  position: relative;
  height: 280px;
  margin: 0 auto 8px;
}

.bmk-arc {
  position: absolute;
  top: 18px;
  width: 42%;
  height: 240px;
}

.bmk-arc.is-give { left: 2%; }
.bmk-arc.is-recv { right: 2%; }

.bmk-arc svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.bmk-tier {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 34%;
  transform: translate(-50%, -50%);
  margin: 0;
  text-align: center;
  color: #3a241c;
  font-size: clamp(1.35rem, 3.4vw, 1.9rem);
  line-height: 1.2;
  font-weight: 800;
}

.bmk-motives {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 4px 0 8px;
  padding: 0;
  list-style: none;
}

.bmk-motive {
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 2px solid #c9b3a6;
  color: #6d5348;
  background: transparent;
  font-size: 0.95rem;
}

.bmk-motive.is-claim.is-on,
.bmk-motive.is-want.is-on { background: #c43755; color: #fffaf6; border-color: #c43755; }
.bmk-motive.is-sting.is-on,
.bmk-motive.is-after.is-on { background: #6e6280; color: #fffaf6; border-color: #6e6280; }

.bmk-notes p {
  margin: 4px 0;
  text-align: center;
  color: #6a4e44;
}

.bmk-kicker {
  margin: 18px 0 6px;
  color: #8e1d38;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
}

.bmk-read,
.bmk-dim,
.bmk-hard,
.bmk-clip {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

.bmk-open {
  margin: 0;
  padding-left: 1.2em;
  color: #3a241c;
  line-height: 1.65;
}

.bmk-miss {
  margin-top: 12px;
  color: #8e1d38;
}

#bmk-download {
  color: #8e1d38;
  font-weight: 700;
}

@media (max-width: 640px) {
  .bmk-tick { flex-basis: 42%; }
  .bmk-tier { width: 40%; font-size: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  .bmk-tick,
  .bmk-pip { transition: none; }
}
