/* Cast it on a friend: the hex form, the greeting a hexed visitor sees, and the slip under Bigby. Shared by every spell page. */
[hidden] { display: none !important; }   /* .btn and .hex-out set their own display, which would otherwise beat the hidden attribute */
.hexed { color: #f3dcae; }
.hexed a { color: #ffd98f; text-underline-offset: .18em; }
.hex-form { display: grid; gap: 6px; max-width: 30em; margin-top: .4em; }
.hex-form label, .hex-out label { font: 500 .95em "Grenze Gotisch", serif; color: var(--red); }
.hex-form label span { font-family: "Grenze", serif; color: var(--ink); opacity: .75; }
.hex-form input, .hex-out input { width: 100%; box-sizing: border-box; font: 500 1em "Grenze", serif; padding: 9px 12px; border-radius: 10px;
  border: 1.5px solid rgba(124, 34, 18, .45); background: rgba(255, 248, 230, .85); color: var(--ink); }
.hex-form input:focus-visible, .hex-out input:focus-visible { outline: 2px solid #8b2b18; outline-offset: 2px; }
.hex-form .btn { justify-self: start; margin-top: 8px; }
.hex-out { margin-top: 1em; display: grid; gap: 6px; max-width: 34em; }
.hex-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 4px 0 0; }
.hex-actions a { color: var(--red); font-family: "Grenze Gotisch", serif; }

/* Bigby's page is a fixed folio, so the greeting and the hex form sit in their own slips around it */
.hex-banner { max-width: 40em; margin: 0 auto 12px; padding: 8px 14px 9px; border-radius: 12px; text-align: center;
  font: 500 17px/1.3 "Grenze", serif; background: rgba(20, 8, 4, .8); box-shadow: 0 0 0 1px rgba(255, 214, 140, .3); }
.hex-banner[hidden] { display: none; }
.hex-slip { max-width: 40em; margin: 1.6em auto 0; padding: 1.1em 1.3em 1.2em; border-radius: 14px; color: var(--ink);
  background: linear-gradient(#f6e7c4, #ecd6a6); border: 1px solid rgba(124, 34, 18, .45); box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
  font: 500 18px/1.45 "Grenze", serif; }
.hex-slip h2 { margin: 0 0 .3em; font: 400 clamp(26px, 3vw, 34px)/1.1 "Unifraktur", serif; color: var(--title-ink); }
.hex-slip p { margin: 0 0 .6em; }
.hex-slip .gag-note { min-height: 1.5em; margin: .5em 0 0; font-style: italic; }
