/* ------------------------------------------------------------------ rolling page (board styles are in style.css) */
.roll-board .sq { cursor: default; padding-bottom: 14px; }
.roll-board .center-left .grow { flex: 1; }

/* tokens: player initials in their colour, side by side on a square */
.tokens { position: absolute; left: 0; right: 0; bottom: 5%; display: flex; justify-content: center; pointer-events: none; }
.token {
  width: clamp(15px, 2vw, 25px); height: clamp(15px, 2vw, 25px); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 700; font-size: clamp(8px, 1.05vw, 13px); color: #fbf3ea;
  border: 2px solid #f8f3ea; box-shadow: 0 1px 3px rgba(40, 25, 15, .45);
  pointer-events: auto;
}
.token + .token { margin-left: -4px; }

/* dice */
.dice-row { display: flex; align-items: center; gap: 4%; margin: 1% 0 2%; }
.die {
  width: clamp(48px, 7vw, 86px); aspect-ratio: 1; flex: none;
  /* (not a % padding: that is relative to the dice row's width and would squeeze the face to nothing) */
  display: grid; grid-template: repeat(3, 1fr) / repeat(3, 1fr); padding: clamp(7px, 1.05vw, 13px);
  background: #fbf7ef; border: 1.5px solid #b9a88f; border-radius: 3px; box-shadow: 4px 4px 0 #ddcbaa;
}
.die i { width: 62%; aspect-ratio: 1; border-radius: 50%; place-self: center; }
.die i.on { background: #5a3a30; }
.die.tumble { transform: rotate(-6deg); }
.die.tumble + .die.tumble { transform: rotate(7deg); }
.dice-sum { font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 3.4vw, 42px); margin-left: 2%; white-space: nowrap; }
.roll-note { font-family: var(--script); color: var(--accent); font-size: clamp(17px, 2.1vw, 25px); line-height: 1.2; min-height: 1.2em; margin: 0 0 4%; }
.roll-board .btn:disabled { opacity: .65; cursor: progress; }
.roll-error { color: #8a2b22; font-family: var(--sans); font-size: clamp(12px, 1.25vw, 15px); margin-top: -2%; }

/* «Что читаем» */
.roll-board .center-right h2 { margin-top: 12%; }
.reading { list-style: none; margin: 4% 0 0; padding: 0; }
.reading li {
  display: grid; grid-template-columns: auto auto auto 1fr; align-items: baseline; gap: 0 .6em;
  padding: .75em .3em .8em; border-bottom: 1.5px solid var(--line); font-size: clamp(14px, 1.65vw, 20px);
}
.reading li.now { background: rgba(246, 226, 174, .45); }
.reading .dot { width: .7em; height: .7em; border-radius: 50%; align-self: center; }
.reading .who { font-family: var(--sans); font-weight: 700; }
.reading .dash { color: var(--muted); }
.reading .what { color: var(--ink-soft); line-height: 1.25; }
.reading .what.old { color: #b1a698; font-style: italic; }
.reading .books { font-family: var(--sans); font-size: .72em; color: var(--accent); white-space: nowrap; text-decoration: none; border-bottom: 1px solid currentColor; }
.reading .books:hover { color: var(--accent-dark); }
.reading .skip-tag { font-family: var(--sans); font-style: normal; font-size: .68em; color: var(--muted); border: 1px solid #cdbfa9; padding: 0 .4em; white-space: nowrap; }
.roll-board .btn-row { display: flex; align-items: center; gap: 1.4em; flex-wrap: wrap; }
.roll-board #skip { font-family: var(--sans); font-size: clamp(12px, 1.25vw, 15px); }
.round-line { font-family: var(--sans); font-size: clamp(11px, 1.15vw, 14px); color: var(--muted); margin-top: .8em; }

@media (max-width: 860px) {
  .roll-board .sq { padding-bottom: 22px; }
  .roll-board .center-right h2 { margin-top: 0; }
  .roll-board .center-left .grow { display: none; }
}
