/* GCN header book link. Placed to the left of the solvent-game entry. */
.header .gcn-book-entry {
  position:absolute; top:50%; transform:translateY(-50%);
  right:calc(clamp(12px,2vw,26px) + 153px + 12px);
  display:flex; flex-direction:column; align-items:flex-end; gap:5px;
  z-index:2;
}
.header .gcn-book-caption {
  font-size:11.5px; line-height:1.3; color:#33566b; white-space:nowrap;
}
.header .gcn-book-link {
  display:inline-flex; align-items:center; gap:7px; padding:10px 15px;
  border:2px solid #8a5a00; border-radius:13px; background:#fff7e6;
  color:#5c3d00 !important; font-weight:800; text-decoration:none !important;
  white-space:nowrap;
}
.header .gcn-book-link:hover, .header .gcn-book-link:focus-visible {
  background:#ffedb8; outline:2px solid #b97f06; outline-offset:3px;
}
/* At 1380px and below, the centered logo leaves no room on the right:
   stack the entry under the logo instead of overlaying it. */
@media(max-width:1380px) {
  .header .gcn-book-entry { position:static; transform:none; order:2; align-self:center; align-items:center; margin:8px auto 0; }
  .header .gcn-book-caption { white-space:normal; text-align:center; }
}
/* Mobile: smaller controls. */
@media(max-width:834px) {
  .header .gcn-book-caption { font-size:11px; }
  .header .gcn-book-link { padding:7px 12px; font-size:13px; }
}
