:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #25262c;
  background: #f3f0ea;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --accent: #7668d7;
  --accent-dark: #594bb7;
  --muted: #777782;
  --line: #e4e0d9;
  --paper: #fffdfa;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: radial-gradient(ellipse at 50% -20%, #fffdfa 0, #f3f0ea 62%); }
button, input { font: inherit; }
.page-shell { width: min(100% - 40px, 520px); margin: 0 auto; padding: max(24px, env(safe-area-inset-top)) 0 max(28px, env(safe-area-inset-bottom)); }
.brandbar { display: flex; align-items: center; justify-content: space-between; min-height: 40px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand-mark { width: 27px; height: 27px; border-radius: 9px; background: var(--accent); display: flex; align-items: center; justify-content: center; gap: 2px; transform: rotate(-7deg); }
.brand-mark i { display: block; width: 3px; border-radius: 3px; background: white; }
.brand-mark i:nth-child(1) { height: 9px; opacity: .7; }.brand-mark i:nth-child(2) { height: 15px; }.brand-mark i:nth-child(3) { height: 11px; opacity: .82; }
.brand-name { font-size: 13px; letter-spacing: -.03em; }.brand-name b { font-weight: 700; }
.live-note { display: flex; gap: 7px; align-items: center; color: var(--muted); font-size: 10px; letter-spacing: .02em; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #8c80df; box-shadow: 0 0 0 3px rgba(118,104,215,.1); }
.main-content { padding: 40px 0 0; }
.event-hero { text-align: center; padding: 20px 4px 30px; }
.eyebrow { margin: 0 0 12px; color: var(--accent); text-transform: uppercase; font-size: 9px; font-weight: 700; letter-spacing: .16em; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 13px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(33px, 8.2vw, 46px); font-weight: 500; line-height: 1.08; letter-spacing: -.045em; }
.hero-copy { max-width: 350px; margin: 0 auto; color: #71717a; font-size: 13px; line-height: 1.6; }
.hero-rule { display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 22px; }
.hero-rule span { width: 4px; height: 4px; border-radius: 50%; background: #c5bfdc; }.hero-rule span:nth-child(2) { width: 20px; border-radius: 4px; background: var(--accent); }
.upload-panel { padding: 24px; border: 1px solid rgba(255,255,255,.9); border-radius: 18px; background: var(--paper); box-shadow: 0 14px 40px rgba(62,53,38,.055), 0 1px 2px rgba(62,53,38,.035); }
.panel-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 19px; }.panel-heading .eyebrow { margin-bottom: 5px; font-size: 8px; }
h2 { margin-bottom: 0; font-family: Georgia, "Times New Roman", serif; font-size: 23px; font-weight: 500; letter-spacing: -.025em; }
.upload-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 11px; background: #f1effa; color: var(--accent); font-size: 17px; }
.choose-button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 14px; border: 1px dashed #cbc5e9; border-radius: 11px; color: #292833; text-align: left; background: #fbfaff; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.choose-button:hover { background: #f5f2ff; border-color: var(--accent); transform: translateY(-1px); }
.plus-icon { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 10px; background: #ece9fa; color: var(--accent-dark); font-size: 21px; flex: 0 0 auto; }
.choose-button strong, .choose-button small { display: block; }.choose-button strong { font-size: 12px; font-weight: 600; }.choose-button small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.button-arrow { margin-left: auto; color: var(--accent); font-size: 17px; }
.format-note { margin: 8px 0 0; color: #9a98a0; font-size: 9px; text-align: center; }
.file-list { display: grid; gap: 8px; margin-top: 15px; max-height: 310px; overflow: auto; }
.file-item { display: grid; grid-template-columns: 45px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 8px; border: 1px solid #eeeaf3; border-radius: 10px; background: #fff; }
.file-thumb { width: 45px; height: 45px; border-radius: 7px; object-fit: cover; background: #efedf4; }
.file-meta { min-width: 0; }.file-name { overflow: hidden; margin: 0 0 4px; color: #373640; font-size: 10px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }.file-state { color: #888690; font-size: 9px; }.file-state.success { color: #36866b; }.file-state.error { color: #b9525b; }
.file-action { border: 0; padding: 6px; color: var(--accent); background: transparent; cursor: pointer; font-size: 10px; font-weight: 600; }
.progress-track { height: 3px; margin-top: 5px; border-radius: 5px; background: #eeecf1; overflow: hidden; }.progress-track progress { display: block; width: 100%; height: 3px; border: 0; appearance: none; }.progress-track progress::-webkit-progress-bar { background: #eeecf1; }.progress-track progress::-webkit-progress-value { border-radius: 3px; background: var(--accent); transition: width .15s; }.progress-track progress::-moz-progress-bar { border-radius: 3px; background: var(--accent); }
.consent-row { display: flex; align-items: flex-start; gap: 9px; margin: 18px 1px 13px; color: #777681; font-size: 10px; line-height: 1.5; cursor: pointer; }.consent-row input { position: absolute; opacity: 0; }.custom-check { position: relative; width: 15px; height: 15px; flex: 0 0 auto; border: 1px solid #cecad5; border-radius: 4px; background: white; }.consent-row input:focus-visible + .custom-check { outline: 2px solid #aa9fff; outline-offset: 2px; }.consent-row input:checked + .custom-check { border-color: var(--accent); background: var(--accent); }.consent-row input:checked + .custom-check::after { position: absolute; left: 4px; top: 1px; width: 4px; height: 8px; border: solid white; border-width: 0 1.5px 1.5px 0; content: ""; transform: rotate(45deg); }
.send-button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 13px 15px; border: 0; border-radius: 9px; color: white; background: var(--accent); cursor: pointer; font-size: 11px; font-weight: 600; transition: background .2s, transform .2s, opacity .2s; }.send-button:hover:not(:disabled) { background: var(--accent-dark); transform: translateY(-1px); }.send-button:disabled { cursor: not-allowed; opacity: .42; }
.form-message { min-height: 14px; margin: 9px 0 0; color: #777681; font-size: 10px; text-align: center; }.form-message.error { color: #b9525b; }.form-message.success { color: #36866b; }
.privacy-note { display: flex; align-items: flex-start; gap: 8px; padding-top: 12px; border-top: 1px solid #f0ede9; color: #96939c; }.privacy-note span { color: #a59bcb; font-size: 13px; }.privacy-note p { margin: 0; font-size: 9px; line-height: 1.5; }
.page-footer { display: flex; justify-content: center; align-items: center; gap: 7px; padding: 25px 0 4px; color: #99969e; font-family: Georgia, "Times New Roman", serif; font-size: 11px; font-style: italic; }.page-footer span { color: #a59bcb; font-style: normal; }
.closed-message { padding: 21px; border: 1px solid var(--line); border-radius: 12px; color: #676670; background: #faf8f4; text-align: center; font-size: 13px; line-height: 1.6; }
.palette-violet { --accent: #7668d7; --accent-dark: #594bb7; }.palette-rose { --accent: #c75e79; --accent-dark: #a43f5e; }.palette-blue { --accent: #4d7cbf; --accent-dark: #345c96; }.palette-green { --accent: #4f9278; --accent-dark: #35745e; }.palette-amber { --accent: #c68b38; --accent-dark: #a66d20; }
@media (max-width: 390px) { .page-shell { width: min(100% - 28px, 520px); }.main-content { padding-top: 26px; }.upload-panel { padding: 19px 16px; }.live-note { font-size: 9px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
