/* THE PATRONAGE OF THE REALM: the gift-of-support pages (website/patron). The site's own dress (site.css: gold on near-black, Gelasio) and a herald card drawn as the game's own. */
body.patron-page { background: radial-gradient(ellipse at 50% 0%, #1d160d 0%, var(--ink) 60%); min-height: 100vh; }
.pt-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--gutter); border-bottom: 1px solid var(--line2); background: rgba(11, 8, 5, .85); }
.pt-brand { display: flex; align-items: center; gap: 10px; color: var(--gold); text-decoration: none; font-size: 18px; letter-spacing: .04em; }
.pt-brand img { width: 34px; height: 34px; }
.pt-brand em { font-family: var(--hand); font-style: normal; font-size: 1.3em; }
.pt-back { color: var(--muted); font-size: 15px; text-decoration: none; letter-spacing: .08em; text-transform: uppercase; }
.pt-back:hover { color: var(--gold); }
.pt-main { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }

.pt-hero { text-align: center; padding: clamp(48px, 8vw, 96px) 0 clamp(28px, 4vw, 48px); max-width: 780px; margin: 0 auto; overflow: visible; }
.pt-kicker { margin: 0 0 10px; color: var(--gold-dim); font-size: 14px; letter-spacing: .32em; text-transform: uppercase; }
.pt-hero h1 { margin: 0; font-weight: 400; font-size: clamp(34px, 5.4vw, 60px); line-height: 1.1; color: var(--gold); text-shadow: 0 2px 0 #000; }
.pt-lead { margin: 18px auto 0; color: var(--cream); font-size: clamp(17px, 2vw, 20px); }

.pt-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: start; padding: 0 0 clamp(40px, 6vw, 72px); overflow: visible; }
@media (max-width: 860px) { .pt-grid { grid-template-columns: minmax(0, 1fr); } }

/* the herald's card, as the game shows it: a double gold frame with brackets at its corners */
.pt-card-wrap { display: grid; gap: 14px; justify-items: center; }
.pt-herald { position: relative; width: min(100%, 420px); padding: 34px 28px 28px; text-align: center; background: radial-gradient(ellipse at 50% 0%, rgba(255, 220, 140, .1), transparent 60%), linear-gradient(180deg, #1f160c, #0e0a06);
  box-shadow: inset 0 0 0 1px rgba(246, 232, 144, .75), inset 0 0 0 6px #0b0805, inset 0 0 0 7px rgba(246, 232, 144, .35), 0 18px 40px rgba(0, 0, 0, .6); animation: ptIn .9s cubic-bezier(.2, .7, .2, 1) both; }
.pt-herald .cn { position: absolute; width: 18px; height: 18px; border: 2px solid var(--gold); }
.pt-herald .tl { top: -4px; left: -4px; border-right: 0; border-bottom: 0; }
.pt-herald .tr { top: -4px; right: -4px; border-left: 0; border-bottom: 0; }
.pt-herald .bl { bottom: -4px; left: -4px; border-right: 0; border-top: 0; }
.pt-herald .br { bottom: -4px; right: -4px; border-left: 0; border-top: 0; }
.pt-herald .hk { margin: 0; color: var(--gold-dim); font-size: 13px; letter-spacing: .3em; text-transform: uppercase; }
.pt-herald .hn { margin: 12px 0 4px; color: var(--text); font-size: clamp(26px, 3.2vw, 34px); line-height: 1.15; }
.pt-herald .hr { display: flex; align-items: center; gap: 10px; margin: 10px auto; width: 70%; }
.pt-herald .hr span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.pt-herald .hr span:last-child { transform: scaleX(-1); }
.pt-herald .hr i { width: 8px; height: 8px; transform: rotate(45deg); background: var(--gold); }
.pt-herald .ht { margin: 0; color: var(--gold); font-family: var(--hand); font-size: clamp(30px, 4vw, 40px); line-height: 1.2; }
.pt-herald .hl { margin: 10px 0 0; color: var(--muted); font-style: italic; font-size: 15px; }
.pt-cap { margin: 0; max-width: 420px; text-align: center; color: var(--muted); font-size: 15px; }
@keyframes ptIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.pt-offer h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.pt-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.pt-list li { position: relative; padding-left: 22px; color: var(--cream); }
.pt-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); }
code { font-family: Consolas, 'Courier New', monospace; font-size: .92em; color: var(--gold-hi); background: rgba(246, 232, 144, .08); border: 1px solid var(--line2); padding: 1px 6px; }
.pt-form { margin: 0; }
.pt-buy { width: 100%; max-width: 460px; padding: 18px 24px; font-size: 16px; }
.pt-note { margin: 12px 0 0; color: var(--muted); font-size: 15px; }
.pt-warn { color: #e0a090; }
.pt-soon { margin: 0; padding: 16px 20px; border: 1px solid var(--line); color: var(--gold); text-align: center; }

.pt-small { max-width: 780px; margin: 0 auto; padding: 0 0 clamp(48px, 7vw, 90px); overflow: visible; }
.pt-small h3 { margin: 0 0 10px; color: var(--gold); font-weight: 400; font-size: 22px; }
.pt-small ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: 16px; display: grid; gap: 6px; }

/* the patent itself: large, plain and easy to read and type */
.pt-code-box { margin: 30px auto 0; padding: 26px 20px 22px; max-width: 560px; border: 1px solid var(--line); background: rgba(13, 9, 6, .85); box-shadow: inset 0 0 0 5px #0b0805, inset 0 0 0 6px var(--line2); }
.pt-code-k { margin: 0; color: var(--gold-dim); font-size: 13px; letter-spacing: .3em; text-transform: uppercase; }
.pt-code { margin: 10px 0 16px; font-family: Consolas, 'Courier New', monospace; font-weight: 700; font-size: clamp(26px, 6vw, 44px); letter-spacing: .1em; color: #fff7d6; text-shadow: 0 0 18px rgba(246, 232, 144, .25); word-break: break-all; user-select: all; }
.pt-code-u { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.pt-steps { text-align: left; max-width: 560px; margin: 28px auto 0; padding-left: 22px; display: grid; gap: 12px; color: var(--cream); }
.pt-steps code { word-break: break-all; }

/* THE BOOK OF THE REALM (2026-10-13): the offer, the fine print and the patent's steps written on leaves of the game's parchment in its gilt frame (manuscript.css .folio); the herald's
   card and the patent's plate stay as the game draws them, dark and gilt */
.pt-offer.folio, .pt-small.folio, .pt-leaf.folio { padding: clamp(34px, 4.5vw, 56px) clamp(24px, 4.5vw, 52px); }
.pt-offer.folio h2 { margin: 0; color: var(--rubric); font-weight: 400; text-shadow: none; }
.pt-offer.folio .rubric-rule { margin: 10px 0 20px; }
.folio .pt-list li { color: var(--ms-ink); padding-left: 24px; }
.folio .pt-list li::before { content: "\00B6"; width: auto; height: auto; background: none; transform: none; top: -.05em; left: 0; font-size: 1.15em; line-height: 1.3; color: var(--rubric); font-weight: 600; }
.folio .pt-list li:nth-child(even)::before { color: var(--lapis); }
.folio .pt-note { color: var(--ms-ink-soft); }
.folio .pt-warn { color: var(--rubric); }
.folio .pt-soon { color: var(--rubric-dk); border-color: rgba(122, 90, 42, .6); }
.pt-small.folio { max-width: 780px; margin: 0 auto clamp(48px, 7vw, 90px); }
.pt-small.folio h3 { color: var(--rubric); }
.pt-small.folio ul { color: var(--ms-ink-soft); }
.pt-small.folio li::marker { color: var(--lapis); }
.pt-leaf.folio { max-width: 620px; margin: 30px auto 0; text-align: left; }
/* A GIFT OF ONE'S CHOOSING (2026-10-28): the second offer - a sum of one's own, the crown and the Supporter role */
.pt-gift.folio { max-width: 780px; margin: 0 auto clamp(40px, 6vw, 72px); padding: clamp(34px, 4.5vw, 56px) clamp(24px, 4.5vw, 52px); }
.pt-gift.folio h2 { margin: 0; color: var(--rubric); font-weight: 400; font-size: clamp(26px, 3.2vw, 36px); text-shadow: none; }
.pt-gift-k { margin: 0 0 4px; color: var(--ms-ink-soft); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }   /* (the gift of any size: the other way to help, beneath the patent - the owner, 2026-10-29) */
.pt-alt { margin: 14px 0 0; font-size: 16px; }
.pt-alt a { color: var(--rubric); text-decoration: none; border-bottom: 1px solid rgba(161, 42, 24, .35); }
.pt-alt a:hover, .pt-alt a:focus { border-bottom-color: var(--rubric); }
.pt-gift.folio .rubric-rule { margin: 10px 0 18px; }
.pt-lead-s { margin: 0 0 18px; color: var(--ms-ink); font-size: 17px; line-height: 1.55; }
.pt-amount-l { display: block; margin: 0 0 8px; color: var(--ms-ink-soft); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.pt-amount-row { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
.pt-cur { display: flex; align-items: center; padding: 0 4px 0 2px; color: var(--rubric); font-size: 26px; }
.pt-amount-row input { width: 130px; padding: 12px 14px; border: 1px solid rgba(122, 90, 42, .6); border-radius: 3px; background: rgba(255, 248, 230, .7); color: var(--ms-ink); font-family: inherit; font-size: 22px; font-weight: 600; line-height: 1; }   /* (2026-10-29: "font: 600 22px/1 inherit" is no shorthand a browser takes - the whole of it was dropped and the sum stood at 13px) */
.pt-amount-row input:focus { outline: 2px solid var(--rubric); outline-offset: 1px; }
.pt-amount-row .pt-buy { flex: 1; min-width: 220px; width: auto; }
.pt-leaf .pt-steps { margin: 0; color: var(--ms-ink); }
.pt-leaf .pt-steps li::marker { color: var(--rubric); font-weight: 600; }

.pt-foot { border-top: 1px solid var(--line2); padding: 22px var(--gutter) 30px; text-align: center; color: var(--muted); font-size: 14px; }
.pt-foot p { margin: 4px 0; }
.pt-fine { font-size: 12px; opacity: .8; }
