@font-face { font-family: ClubSerif; src: url("/assets/serif-sc.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: ClubSans; src: url("/assets/sans-sc.woff") format("woff"); font-weight: 100 900; font-display: swap; }
* { box-sizing: border-box; }
:root { color-scheme: dark; font-family: ClubSans, system-ui, sans-serif; color: #eadfcd; background: #090a09; }
body { margin: 0; min-height: 100svh; display: grid; place-items: center; padding: clamp(12px,4vw,48px); background: radial-gradient(ellipse at 50% 15%,#29251e 0,transparent 60%),#090a09; }
.panel { width: min(100%, 38rem); padding: clamp(20px,5vw,48px); background: linear-gradient(140deg,#1b1a17,#101110 75%); border: 1px solid #806e50; border-radius: 18px; box-shadow: inset 0 0 0 4px #0c0c0b, 0 16px 54px #0005; }
header,footer,.languages,.actions { display: flex; align-items: center; }
header { justify-content: space-between; flex-wrap: wrap; gap: 12px; }
header a { display: inline-flex; align-items: center; min-height: 44px; max-width: 58%; }
.wordmark { display:block; width: clamp(135px,34vw,200px); max-width:100%; height: auto; }
.languages { gap: 2px; padding: 2px; border: 1px solid #514633; border-radius: 7px; }
button,input { font: inherit; }
button,a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
.languages button,.actions button { color: #d5c3a9; background: transparent; border: 0; }
.languages button { padding: 6px; min-width: 34px; min-height: 36px; font-size: .875rem; border-radius: 4px; }
.languages button[aria-pressed="true"] { color: #f6deb5; background: #342e23; }
.content { padding: clamp(30px,6vw,54px) 0 24px; }
h1 { font: 400 clamp(1.9rem,5vw,2.8rem)/1.24 ClubSerif,Georgia,serif; color: #ecd3aa; margin: 0; }
p { line-height: 1.7; overflow-wrap: anywhere; }
.content > p:first-of-type { margin: 14px 0 26px; color: #d3c7b7; }
form { display: grid; gap: 10px; }
[hidden] { display: none !important; }
label { color: #efdfc3; }
input { width:100%; min-width: 0; padding: 12px 14px; height: 49px; border: 1px solid #7c6d54; border-radius: 5px; color: #f2e8d7; background: #0e0e0d; font-size: 1rem; }
#code { letter-spacing: .25em; font-variant-numeric: tabular-nums; }
input::placeholder { color: #b8ada0; }
.primary { margin-top: 7px; min-height: 48px; border: 1px solid #e3c69a; border-radius: 5px; color: #1b1813; font-weight: 600; background: linear-gradient(110deg,#f0d9b1,#c9a674); padding: 10px 16px; }
.primary:hover:enabled { background: #ead0a5; }
button:disabled { cursor: default; opacity: .55; }
.actions,footer { justify-content: space-between; flex-wrap: wrap; gap: 4px 14px; }
a,.actions button { color: #e6cba1; text-underline-offset: .25em; }
.actions button { padding: 8px 0; text-decoration: underline; min-height:44px; }
.secondary { text-align: center; padding: 12px; }
.recipient { margin: -18px 0 5px; color: #eedabd; }
.feedback { min-height: 1.6rem; margin: 10px 0 0; font-size: .94rem; color: #ddc8a8; }
.feedback[data-error="true"] { color: #ffc9b8; }
footer { border-top: 1px solid #524732; font-size: .9rem; }
footer a { padding: 14px 0 0; min-height: 44px; }
:focus-visible { outline: 2px solid #f9e3bd; outline-offset: 3px; }
noscript { display:block; margin: 12px 0; }
