/* Pics: page styles on top of the shared tickets.css shell. */
.app-pics { --app: #3fbf7f; --app-soft: #dff5ea; }  /* meadow green: 7.5:1 with full ink */

body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 1rem/1.5 var(--text);
}
h1 { font: 900 clamp(2.4rem, 6vw, 4rem)/1 var(--display); text-transform: uppercase; margin: 0 0 16px; }
h2 { font: 800 1.5rem/1.2 var(--display); text-transform: uppercase; margin: 0 0 16px; }
.lead { font-size: 1.2rem; color: var(--ink-2); margin: 0 0 20px; }
.rules { color: var(--ink-2); padding-left: 1.2em; margin: 0 0 20px; }
a { color: var(--ink); }

.card { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); padding: 24px; }

.drop {
  display: grid; place-items: center; min-height: 140px; padding: 16px; text-align: center; cursor: pointer;
  border: 2px dashed var(--edge); border-radius: var(--radius); background: var(--paper);
}
.drop:hover, .drop.over { border-style: solid; border-color: var(--ink); background: var(--app-soft); }
.drop:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }

.preview { margin: 16px 0 0; }
.preview img { display: block; max-width: 100%; max-height: 260px; border: 1px solid var(--line); border-radius: var(--radius); }
.preview figcaption { margin-top: 6px; font-size: .9rem; color: var(--ink-2); overflow-wrap: anywhere; }

button { font: inherit; color: var(--ink); }
button {
  min-height: 44px; padding: 0 18px; border: 2px solid var(--ink); border-radius: var(--radius);
  background: var(--paper); cursor: pointer; font-weight: 700;
}
button:hover:not(:disabled) { background: var(--app-soft); }
button:disabled { border-style: dashed; border-color: var(--edge); color: var(--ink-2); cursor: not-allowed; }
button.primary { margin-top: 16px; background: var(--ink); color: var(--paper); font: 800 1.25rem/1 var(--display); text-transform: uppercase; letter-spacing: .04em; padding: 0 32px; }
button.primary:hover:not(:disabled) { background: var(--ink-2); }
button.primary:disabled { background: var(--paper); color: var(--ink-2); }

a.link { flex: 1; min-width: 0; padding: 10px 12px; border: 2px solid var(--edge); border-radius: var(--radius); overflow-wrap: anywhere; font-weight: 700; }
.row { display: flex; gap: 8px; }

/* Messages say what happened in words, with a leading label so colour is never the only cue. */
.msg { margin: 16px 0 0; padding: 12px 14px; border: 2px solid var(--ink); border-left-width: 10px; border-radius: var(--radius); background: var(--paper); }
.msg.error { border-color: var(--danger); }
.msg.error::before { content: "Not uploaded. "; font-weight: 800; color: var(--danger); }
.msg.busy::before { content: "Working… "; font-weight: 800; }
.result { margin-top: 16px; padding-top: 16px; border-top: var(--perf); }
.result-label { margin: 0 0 8px; }

.landing-foot .foot-inner p { margin: 0; }
.theme-open { min-height: 36px; font-weight: 600; }

/* Classic theme: plainer, bevelled, early-web look. */
:root[data-theme-name="classic"] body { background: #c0c0c0; font-family: "Times New Roman", serif; }
:root[data-theme-name="classic"] .card,
:root[data-theme-name="classic"] button { border-radius: 0; border-style: outset; border-width: 3px; }
:root[data-theme-name="classic"] h1,
:root[data-theme-name="classic"] h2,
:root[data-theme-name="classic"] .brand { font-family: "Times New Roman", serif; text-transform: none; }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
