/* The site pages' Back (pageback.js): the app's small secondary button as the
   Card Room dresses it, in the empty corner at the top left. Where the column
   reaches the corner, the page starts lower to make room for it. */
.pageback {
  position: absolute; top: 16px; left: 16px;
  padding: 6px 10px; border-radius: 8px; border: 1.5px solid rgba(208,182,136,.38);
  background: linear-gradient(180deg, rgba(24,40,30,.9), rgba(16,28,21,.85));
  color: #e7efe6; font-size: 12px; font-weight: 550; line-height: 17.4px; text-decoration: none;
  box-shadow: 0 2px 4px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,235,195,.12), inset 0 -1px 0 rgba(0,0,0,.28);
  transition: transform 90ms ease, background 120ms, border-color 120ms, box-shadow 130ms;
}
.pageback:hover {
  transform: translateY(-1px); background: rgba(22,38,28,.9); border-color: #b3894a;
  box-shadow: 0 4px 9px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,235,195,.14), inset 0 -1px 0 rgba(0,0,0,.28);
}
.pageback:active {
  transform: translateY(1px);
  box-shadow: inset 0 2px 4px rgba(0,0,0,.4), 0 1px 1px rgba(0,0,0,.2);
}
.pageback:focus-visible { outline: 2px solid #d8b573; outline-offset: 2px; }
@media (max-width: 860px) {
  body { padding-top: 64px; }
}
