/* arts.css — https://letakunga.com/arts/ (patch 18). Phone first; no external font. */
:root { --bg: #080b26; --card: #141a40; --ink: #f5f1e6; --dim: #b9b4a3; --gold: #d4af37; --gold2: #e8c66b; --line: rgba(212, 175, 55, .3); }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--gold2); }
code { font-family: Consolas, "Courier New", monospace; }
.arts-head { display: flex; align-items: center; gap: .7rem; padding: .8rem 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.arts-head img { border-radius: 8px; }
.arts-head span { color: var(--dim); font-size: .85rem; }
.arts-lang { margin-left: auto; display: flex; gap: .6rem; font-size: .9rem; }
.arts-lang a[aria-current] { font-weight: 700; text-decoration: underline; }
.arts-main { max-width: 640px; margin: 0 auto; padding: 16px; }
.arts-card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.1rem; margin: 0 0 1rem; }
.arts-card h1 { font-size: 1.35rem; margin: 0 0 .4rem; color: var(--gold); }
.arts-card h2 { font-size: 1.15rem; margin: 0 0 .5rem; color: var(--gold); }
.arts-card h3 { font-size: 1rem; margin: .8rem 0 .3rem; }
.arts-form { display: grid; gap: .5rem; }
.arts-form label { font-weight: 600; font-size: .9rem; }
.arts-form input, .arts-form textarea, .arts-keytext { width: 100%; font: 1rem/1.4 Consolas, "Courier New", monospace; padding: .7rem; border-radius: 8px;
  border: 1px solid var(--line); background: #0b0f2c; color: var(--ink); }
.arts-form input { font-size: 1.05rem; }
#arts-code { font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase; }
.arts-form .arts-text, .arts-form .arts-small { font-family: inherit; }
.arts-form .arts-small { max-width: 8rem; }
.arts-choices { border: 0; padding: 0; margin: 0 0 .3rem; display: grid; gap: .45rem; }
.arts-choices legend { font-weight: 600; font-size: .9rem; margin-bottom: .3rem; }
.arts-choice { display: flex; gap: .6rem; align-items: center; min-height: 48px; padding: .5rem .7rem; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.arts-choice input { width: 1.25rem !important; height: 1.25rem; padding: 0 !important; flex: none; accent-color: var(--gold); }
.arts-choice small { display: block; color: var(--dim); font-size: .75rem; }
.arts-choice:has(input:checked) { border-color: var(--gold); background: rgba(212, 175, 55, .12); }
.arts-ref { font: 700 1.8rem/1.2 Consolas, "Courier New", monospace; color: var(--gold2); text-align: center; letter-spacing: .06em; margin: .2rem 0 .6rem; }
.arts-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.arts-keytext { font-size: .78rem; word-break: break-all; }
.arts-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .6rem 1.1rem; border-radius: 8px; border: 1px solid var(--gold);
  background: var(--gold); color: #1a1405; font-weight: 700; text-decoration: none; font-size: 1rem; cursor: pointer; width: 100%; }
.arts-btn--line { background: transparent; color: var(--gold2); }
.arts-btn[disabled] { opacity: .5; }
.arts-actions { display: grid; gap: .5rem; margin: .6rem 0; }
.arts-accept { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400 !important; font-size: .88rem; line-height: 1.45; cursor: pointer; }
.arts-accept input { width: 1.4rem; height: 1.4rem; flex: none; margin-top: .1rem; padding: 0; accent-color: var(--gold); }
.arts-link { background: none; border: 0; color: var(--gold2); text-decoration: underline; padding: 0; font: inherit; cursor: pointer; }
.arts-inline { margin: 0; }
.arts-hint { color: var(--dim); font-size: .85rem; overflow-wrap: anywhere; }
.arts-sha { font-size: .72rem; word-break: break-all; }
.arts-msg { padding: .7rem .9rem; border-radius: 8px; margin: 0 0 1rem; }
.arts-msg--error { background: rgba(192, 57, 43, .18); color: #f6b3ab; }
.arts-msg--success { background: rgba(39, 174, 96, .15); color: #8de0b0; }
.arts-msg--info { background: rgba(41, 128, 185, .15); color: #a9d2ee; }
.arts-qr { background: #fff; padding: 10px; width: min(100%, 320px); margin: .5rem auto; border-radius: 8px; }
.arts-qr svg { display: block; width: 100%; height: auto; }
.arts-foot { text-align: center; color: var(--dim); font-size: .8rem; padding: 1rem 16px 2rem; }
@media (min-width: 700px) { .arts-actions { grid-template-columns: 1fr 1fr; } .arts-btn { width: auto; } .arts-form .arts-btn { justify-self: start; } }

/* The standalone Arts pages also host the international phone field. */
.arts-form .ltk-tel { min-width: 0; }
.arts-form .ltk-tel-row { display: grid; gap: .5rem; }
.arts-form .ltk-tel-row input, .arts-form .ltk-tel-row select {
  display: block; width: 100%; min-width: 0; box-sizing: border-box;
  padding: .7rem; border: 1px solid var(--line, #a59052); border-radius: 8px;
  font: inherit; color: inherit; background: var(--panel, #151831);
}
.arts-form .ltk-tel .ltk-sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%);
}
.arts-form .ltk-tel-hint, .arts-form .ltk-tel-msg { margin: .4rem 0 0; }
.arts-form .arts-referral summary { cursor: pointer; }
#trk-go-box[hidden] { display: none; }
