@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap');

:root { --ink:#101428; --navy:#080b17; --paper:#f5f2eb; --cream:#fffdf8; --pink:#ff5a8b; --pink-dark:#e84275; --blue:#8fcdf3; --muted:#747687; --line:#dedbd3; --green:#3b9571; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; min-width:320px; color:var(--ink); background:var(--paper); font-family:"DM Sans",Arial,sans-serif; }
button,input,select { font:inherit; }
button { cursor:pointer; }
.app-shell { overflow:hidden; }
.topbar { height:74px; display:flex; align-items:center; justify-content:space-between; max-width:1170px; padding:0 26px; margin:auto; }
.brand { color:var(--ink); display:flex; gap:9px; align-items:center; text-decoration:none; font-size:18px; letter-spacing:-.5px; }.brand b { font-weight:700; }.brand-mark { position:relative; width:28px; height:23px; display:flex; align-items:end; gap:2px; }.brand-mark i { width:7px; border-radius:7px 7px 1px 1px; transform:rotate(-17deg); background:var(--pink); }.brand-mark i:nth-child(1) { height:12px; }.brand-mark i:nth-child(2) { height:22px; background:var(--blue); }.brand-mark i:nth-child(3) { height:16px; background:var(--ink); }
.sync-status { font:12px "DM Mono",monospace; color:#606375; display:flex; gap:7px; align-items:center; }.sync-status span { width:7px; height:7px; border-radius:50%; background:var(--green); box-shadow:0 0 0 3px #d8eadf; }
.hero { background:var(--navy); color:white; min-height:438px; display:flex; position:relative; isolation:isolate; }.hero:before { content:""; position:absolute; width:530px; height:530px; border:1px solid rgba(143,205,243,.16); border-radius:50%; right:-132px; top:-255px; }.hero-copy { max-width:1170px; width:100%; margin:auto; padding:71px 500px 76px 26px; position:relative; z-index:1; }.eyebrow { font:11px "DM Mono",monospace; letter-spacing:1.15px; color:var(--pink-dark); margin:0 0 12px; }.hero .eyebrow { color:#ff9ab8; }.hero h1 { font:500 clamp(44px,6vw,72px)/.97 "Playfair Display",Georgia,serif; letter-spacing:-2.8px; margin:0; }.hero h1 em { color:var(--blue); }.hero-text { color:#bfc4d3; max-width:365px; font-size:15px; line-height:1.6; margin:21px 0 27px; }.primary-button,.secondary-button,.upload-button,.filter-button,.text-button { border:0; transition:transform .15s, box-shadow .15s, background .15s; }.primary-button:hover,.secondary-button:hover,.upload-button:hover { transform:translateY(-2px); }.primary-button { display:inline-flex; align-items:center; gap:10px; padding:13px 18px; min-height:46px; border-radius:9px; background:var(--pink); color:#fff; font-weight:700; box-shadow:0 7px 18px rgba(255,90,139,.25); }.primary-button:hover { background:var(--pink-dark); }.camera-icon { position:relative; width:18px; height:13px; display:inline-block; border:2px solid currentColor; border-radius:3px; }.camera-icon:before { content:""; position:absolute; width:6px; height:2px; background:currentColor; border-radius:2px; top:-5px; left:4px; }.camera-icon:after { content:""; position:absolute; width:4px; height:4px; border:1.5px solid currentColor; border-radius:50%; left:5px; top:2.5px; }.camera-icon.large { width:30px; height:22px; color:var(--pink); border-width:3px; }.camera-icon.large:before { width:10px; height:3px; top:-7px; left:7px; }.camera-icon.large:after { width:7px; height:7px; border-width:2px; left:8px; top:4px; }
.hero-art { position:absolute; width:440px; height:100%; right:max(12px,calc((100vw - 1170px)/2)); top:0; }.ticket-shape { position:absolute; width:287px; height:170px; overflow:hidden; border-radius:10px 10px 12px 12px; box-shadow:0 22px 45px rgba(0,0,0,.36); }.ticket-shape:before,.ticket-shape:after { content:""; position:absolute; width:22px; height:22px; background:var(--navy); border-radius:50%; left:-11px; top:65px; box-shadow:287px 0 var(--navy); }.ticket-back { right:7px; top:86px; background:var(--pink); transform:rotate(9deg); }.ticket-back span { position:absolute; right:21px; bottom:12px; color:#e64977; font:700 36px/1 "DM Mono"; letter-spacing:-4px; }.ticket-front { right:77px; top:158px; padding:22px 25px; color:#1f2335; background:var(--cream); transform:rotate(-8deg); }.ticket-front:before,.ticket-front:after { background:var(--navy); }.mini-logo { font:8px "DM Mono"; letter-spacing:1px; }.mini-title { font:500 25px "Playfair Display",serif; margin-top:14px; }.mini-details { border-top:1px solid #d5d2cb; display:flex; justify-content:space-between; margin-top:14px; padding-top:8px; font:7px/1.4 "DM Mono"; }.mini-details b { font-size:9px; }.mini-barcode { margin-top:11px; height:15px; width:110px; background:repeating-linear-gradient(90deg,#15192a 0 2px,transparent 2px 4px,#15192a 4px 5px,transparent 5px 8px); }.mini-seat { position:absolute; font:500 26px "Playfair Display"; right:24px; bottom:22px; }.sticker { position:absolute; z-index:2; }.star { color:var(--pink); top:62px; left:25px; font-size:35px; transform:rotate(-12deg); }.heart { color:#fff; bottom:45px; right:3px; font-size:34px; transform:rotate(19deg); }.doodle { color:var(--blue); font:54px "Playfair Display"; position:absolute; left:14px; bottom:37px; transform:rotate(-27deg); }
.overview { max-width:1170px; margin:0 auto; padding:39px 26px; display:grid; gap:18px; grid-template-columns:repeat(3,1fr); }.metric-card { background:var(--cream); min-height:124px; padding:21px 23px; border:1px solid #e3e0d8; border-radius:11px; box-shadow:0 5px 14px rgba(30,30,40,.025); }.metric-card.accent { background:#fbd8e3; border-color:#f4c8d5; }.metric-label { display:block; color:#66687a; font:10px "DM Mono"; letter-spacing:.7px; }.metric-card strong { display:block; color:var(--ink); font:600 38px/1.1 "Playfair Display",serif; margin-top:9px; }.metric-note { font-size:12px; color:#838494; display:block; margin-top:4px; }
.archive-section { max-width:1170px; padding:26px 26px 70px; margin:auto; }.section-header { display:flex; align-items:end; justify-content:space-between; margin-bottom:22px; }.section-header .eyebrow { margin-bottom:7px; }.section-header h2 { font:600 32px/1.1 "Playfair Display",serif; letter-spacing:-1px; margin:0; }.archive-actions { position:relative; display:flex; align-items:center; gap:16px; }.text-button { background:transparent; color:#5b5d6d; font-size:13px; padding:8px 0; }.text-button:hover { color:var(--pink-dark); }.filter-button { color:var(--ink); background:#fffdf8; border:1px solid var(--line); padding:9px 12px; font-size:13px; border-radius:7px; }.filter-button span { margin-left:16px; }.filter-menu { position:absolute; z-index:3; top:44px; right:0; min-width:190px; background:#fffdf8; border:1px solid var(--line); box-shadow:0 8px 20px rgba(10,14,30,.1); border-radius:8px; padding:7px; }.filter-menu button { width:100%; color:var(--ink); text-align:left; background:transparent; border:0; border-radius:4px; padding:9px; font-size:13px; }.filter-menu button:hover { background:#f5f1ea; }
.ticket-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }.ticket-card { position:relative; min-height:204px; padding:20px; overflow:hidden; color:var(--ink); background:var(--cream); border:1px solid #dedbd3; border-radius:10px; box-shadow:0 8px 16px rgba(25,25,35,.03); }.ticket-card:after { content:""; position:absolute; left:0; right:0; bottom:0; height:5px; background:var(--pink); }.ticket-card:nth-child(3n+2):after { background:var(--blue); }.ticket-card:nth-child(3n+3):after { background:#a99ee7; }.card-top { display:flex; justify-content:space-between; align-items:start; }.card-venue { color:#787988; font:10px "DM Mono"; letter-spacing:.7px; }.delete-ticket { padding:0; width:24px; height:24px; color:#a1a1ad; background:transparent; border:0; font-size:20px; line-height:1; opacity:0; }.ticket-card:hover .delete-ticket { opacity:1; }.delete-ticket:hover { color:var(--pink-dark); }.card-setlist { font:500 25px/1.05 "Playfair Display",serif; letter-spacing:-.8px; max-width:90%; margin:23px 0 9px; }.card-date { font:12px "DM Mono"; color:#5e6070; text-transform:uppercase; }.card-rule { border-top:1px dashed #d2cec5; margin:17px 0 12px; }.card-bottom { display:flex; align-items:baseline; justify-content:space-between; }.card-seat { font:600 26px "Playfair Display",serif; }.card-code { color:#777887; font:11px "DM Mono"; }.empty-state { min-height:280px; border:1px dashed #c9c5bb; border-radius:10px; display:grid; place-content:center; text-align:center; color:#717280; }.empty-state[hidden] { display:none; }.empty-ticket { color:var(--pink); font:34px "Playfair Display"; }.empty-state h3 { color:var(--ink); font:500 23px "Playfair Display"; margin:7px 0; }.empty-state p { font-size:13px; margin:0 0 17px; }.secondary-button { background:#e8e5de; color:var(--ink); border-radius:8px; padding:11px 14px; font-weight:600; }
footer { background:#e9e6de; color:#747583; text-align:center; padding:25px; font:12px "DM Mono"; }
.scanner-dialog { color:var(--ink); width:min(1010px,calc(100vw - 28px)); max-height:calc(100vh - 28px); border:0; background:var(--cream); padding:0; border-radius:14px; box-shadow:0 25px 80px rgba(0,0,0,.35); }.scanner-dialog::backdrop { background:rgba(8,11,23,.72); backdrop-filter:blur(4px); }.dialog-head { padding:24px 28px 18px; display:flex; align-items:start; justify-content:space-between; border-bottom:1px solid #e5e2db; }.dialog-head .eyebrow { margin-bottom:7px; }.dialog-head h2 { font:600 28px/1 "Playfair Display"; margin:0; letter-spacing:-.7px; }.icon-button { border:0; width:34px; height:34px; border-radius:50%; font-size:28px; line-height:25px; color:#626474; background:#f0ede6; }.icon-button:hover { color:var(--pink-dark); }.scan-layout { display:grid; grid-template-columns:1.05fr 1fr; min-height:485px; }.scan-panel { background:#131827; padding:24px; color:white; }.camera-frame { width:100%; height:266px; position:relative; display:grid; place-items:center; overflow:hidden; border-radius:8px; background:#090d19; }.camera-frame video,.camera-frame img { position:absolute; width:100%; height:100%; object-fit:cover; }.camera-placeholder { position:relative; z-index:1; text-align:center; color:#aab1c5; font-size:13px; }.camera-placeholder p { margin:14px 0 0; }.scan-guide { position:absolute; z-index:2; width:76%; height:70%; pointer-events:none; }.scan-guide i { position:absolute; width:27px; height:27px; border-color:var(--pink); border-style:solid; }.scan-guide i:nth-child(1) { left:0; top:0; border-width:3px 0 0 3px; }.scan-guide i:nth-child(2) { right:0; top:0; border-width:3px 3px 0 0; }.scan-guide i:nth-child(3) { left:0; bottom:0; border-width:0 0 3px 3px; }.scan-guide i:nth-child(4) { right:0; bottom:0; border-width:0 3px 3px 0; }.scan-controls { display:grid; grid-template-columns:1fr 1.35fr 1fr; gap:8px; margin-top:14px; }.scan-controls button,.upload-button { min-height:39px; padding:9px 7px; font-size:12px; text-align:center; justify-content:center; }.upload-button { cursor:pointer; display:flex; justify-content:center; align-items:center; color:#d3d8e6; border:1px solid #343a4d; background:transparent; border-radius:8px; font-weight:600; }.upload-button:hover { background:#22293a; }.upload-button input { position:absolute; width:1px; height:1px; opacity:0; }.compact { border-radius:8px; }.primary-button:disabled { opacity:.45; cursor:not-allowed; transform:none; }.scan-help { color:#969eb4; margin:14px 0 0; font-size:11px; line-height:1.45; }.details-panel { padding:27px 28px; }.details-title-row { display:flex; justify-content:space-between; align-items:start; margin-bottom:20px; }.details-title-row .eyebrow { margin-bottom:7px; }.details-title-row h3 { font:500 23px "Playfair Display"; margin:0; }.read-status { padding:5px 7px; border-radius:20px; color:#6e7080; background:#eeece6; font:10px "DM Mono"; }.read-status.reading { background:#fff0c9; color:#986d00; }.read-status.success { background:#dcf1e6; color:#237453; }.form-row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }.form-field { margin-bottom:13px; }.form-field label { display:block; color:#4f5161; margin-bottom:6px; font-size:11px; font-weight:600; }.form-field label span { color:#999aa6; font-weight:400; } input,select { width:100%; min-height:39px; color:var(--ink); outline:0; border:1px solid #d9d6ce; border-radius:6px; padding:8px 9px; background:#fffefa; font-size:13px; } input:focus,select:focus { border-color:var(--pink); box-shadow:0 0 0 3px rgba(255,90,139,.12); }.dedup-message { color:#a14228; background:#fff0ea; border:1px solid #f6c6b6; border-radius:6px; margin:-2px 0 12px; padding:8px 10px; font-size:11px; line-height:1.4; }.save-button { width:100%; margin-top:3px; justify-content:center; }.save-button span { font-size:20px; line-height:10px; }.toast { visibility:hidden; opacity:0; position:fixed; z-index:9; bottom:24px; left:50%; transform:translate(-50%,12px); color:#fff; background:#172036; border-radius:8px; padding:11px 15px; box-shadow:0 10px 30px rgba(0,0,0,.2); font-size:13px; transition:.2s; }.toast.show { visibility:visible; opacity:1; transform:translate(-50%,0); }
.auto-controls { grid-template-columns:1fr 1fr; align-items:center; }.auto-scan-status { color:#d4d9e6; display:flex; align-items:center; gap:7px; font:11px "DM Mono"; }.auto-scan-status i { width:7px; height:7px; background:#67d9a8; border-radius:50%; box-shadow:0 0 0 3px rgba(103,217,168,.17); animation:pulse 1.4s infinite; } @keyframes pulse { 50% { opacity:.4; transform:scale(.75); } }
.manual-controls { grid-template-columns:1.35fr 1fr; }.manual-controls .primary-button { justify-content:center; }
@media (max-width:760px) { .topbar { height:63px; padding:0 18px; }.sync-status { font-size:10px; }.hero { min-height:615px; }.hero-copy { padding:48px 23px 0; }.hero h1 { font-size:54px; }.hero-art { width:345px; height:335px; right:-5px; top:280px; }.ticket-front { right:54px; top:86px; transform:rotate(-8deg) scale(.88); }.ticket-back { right:-11px; top:24px; transform:rotate(9deg) scale(.88); }.sticker.star { top:13px; left:17px; }.heart { bottom:13px; right:0; }.doodle { bottom:3px; }.overview { padding:25px 18px; grid-template-columns:1fr 1fr; gap:10px; }.metric-card { min-height:103px; padding:16px; }.metric-card strong { font-size:32px; }.metric-card.accent { grid-column:span 2; min-height:90px; }.archive-section { padding:20px 18px 48px; }.section-header { align-items:start; gap:12px; }.section-header h2 { font-size:28px; }.archive-actions { gap:8px; flex-direction:column; align-items:end; }.text-button { padding:0; }.filter-button { white-space:nowrap; }.ticket-grid { grid-template-columns:1fr; gap:12px; }.ticket-card { min-height:187px; }.delete-ticket { opacity:1; }.scanner-dialog { width:100vw; max-height:100dvh; min-height:100dvh; border-radius:0; }.dialog-head { padding:19px 20px 16px; }.scan-layout { display:block; }.scan-panel { padding:18px; }.camera-frame { height:232px; }.details-panel { padding:23px 20px 30px; }.scan-controls { grid-template-columns:1fr 1.35fr 1fr; }.dialog-head h2 { font-size:25px; } }
@media (max-width:380px) { .hero h1 { font-size:47px; }.scan-controls { gap:5px; }.scan-controls button,.upload-button { font-size:10px; } }
@media (max-width:760px) { .scan-controls.auto-controls,.scan-controls.manual-controls { grid-template-columns:1fr 1fr; } }
