:root{--paper:#faf9f7;--white:#fff;--ink:#161514;--stone:#6b6966;--rule:#e7e5e1;--tile:#efede9;--dot:#e0412b;--accent:#c8331d;--accent-ink:#fff;--danger:#c8331d;--bg:var(--paper);--surface:var(--white);--surface-2:#f2f0ec;--text:var(--ink);--muted:var(--stone);--border:var(--rule);--radius-btn:999px;--radius-photo:10px;--radius-card:18px;--radius-field:12px;--ring:inset 0 0 0 1px var(--rule);--edge:#8e8b85;--ring-control:inset 0 0 0 1px var(--edge);--placeholder:#75726d;--font:"Host Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;--mono:"DM Mono", ui-monospace, "SF Mono", Menlo, monospace;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}html,body{margin:0;padding:0}body{background:var(--paper);color:var(--ink);font-family:var(--font);-webkit-font-smoothing:antialiased;touch-action:manipulation;font-size:16px;line-height:1.45}a{color:inherit}img{max-width:100%;display:block}button,input,select,textarea{font:inherit;color:inherit}h1,h2,h3{letter-spacing:-.03em;margin:0;font-weight:500;line-height:1.05}h1{letter-spacing:-.035em;font-size:clamp(32px,8.5vw,44px)}h2{font-size:26px}h3{letter-spacing:-.015em;font-size:19px;font-weight:600}.serif{font-family:var(--font)}.mono{font-family:var(--mono);letter-spacing:0;font-size:12px}.chapter{letter-spacing:-.015em;text-align:center;font-size:19px;font-weight:600}.label{font-family:var(--mono);letter-spacing:.02em;text-transform:uppercase;font-size:12px;font-weight:400}.label-wide{font-family:var(--mono);letter-spacing:.04em;text-transform:uppercase;color:var(--stone);font-size:12px;font-weight:400}.names{letter-spacing:-.035em;overflow-wrap:anywhere;font-weight:500;line-height:1}.names .and{font-weight:500}.names.stacked{font-size:48px;display:block}.muted{color:var(--stone)}.small{font-size:14px}.tiny{font-size:12px}.accent{color:var(--accent)}.dot-live{background:var(--dot);border-radius:50%;flex:none;width:8px;height:8px;display:inline-block}.brand{letter-spacing:-.02em;align-items:center;gap:8px;font-size:18px;font-weight:650;text-decoration:none;display:inline-flex}.brand:before{content:"";background:var(--dot);border-radius:50%;width:9px;height:9px}.ruled{font-family:var(--mono);letter-spacing:.02em;color:var(--stone);align-self:stretch;align-items:center;gap:12px;font-weight:400;display:flex}.ruled:before,.ruled:after{content:"";background:var(--rule);flex:1;height:1px}.page{min-width:0;max-width:1100px;margin:0 auto;padding:20px 20px 80px}.narrow{max-width:520px}.row{align-items:center;gap:12px;display:flex}.stack{flex-direction:column;gap:12px;display:flex}.spread{justify-content:space-between;align-items:center;gap:12px;display:flex}.center{justify-content:center;align-items:center;min-height:40vh;display:flex}.grid-2{grid-template-columns:1fr 1fr;gap:16px;display:grid}@media (max-width:520px){.grid-2{grid-template-columns:1fr}}.topbar{justify-content:space-between;align-items:center;gap:12px;width:100%;max-width:1100px;margin:0 auto;padding:12px 20px;display:flex}.section-rule{border-top:1px solid var(--rule);padding-top:14px}.frame{background:var(--white);box-shadow:var(--ring);border-radius:24px;padding:0}.frame>.frame-inner{border:0}.btn{border-radius:var(--radius-btn);background:var(--white);min-height:44px;box-shadow:var(--ring-control);color:var(--ink);cursor:pointer;letter-spacing:-.005em;border:0;justify-content:center;align-items:center;gap:8px;padding:10px 20px;font-size:15px;font-weight:600;text-decoration:none;display:inline-flex}.btn:disabled{opacity:.4;cursor:default}.btn.primary{background:var(--ink);color:var(--paper);box-shadow:none;min-height:54px;padding:12px 28px;font-size:16px}.btn.ghost{box-shadow:none;background:0 0}.btn.danger{color:var(--accent)}.btn.block{width:100%}.btn.sm{min-height:36px;padding:6px 14px;font-size:14px}.btn.provider{min-height:54px;font-size:16px}.text-btn{cursor:pointer;min-height:44px;color:var(--ink);background:0 0;border:0;align-items:center;gap:6px;padding:0;font-size:15px;font-weight:600;text-decoration:none;display:inline-flex}.text-btn.on,.text-btn[aria-selected=true]{color:var(--ink)}.icon-btn{cursor:pointer;min-width:44px;min-height:44px;color:var(--ink);background:0 0;border:0;border-radius:50%;justify-content:center;align-items:center;gap:6px;padding:0;text-decoration:none;display:inline-flex}.icon-btn svg{width:22px;height:22px}.field{flex-direction:column;gap:8px;display:flex}.field>span{letter-spacing:-.01em;font-size:15px;font-weight:600}.input,.select{border-radius:var(--radius-field);background:var(--white);width:100%;min-height:50px;box-shadow:var(--ring-control);color:var(--ink);border:0;padding:0 16px;font-size:17px}.input::placeholder,.textarea::placeholder{color:var(--placeholder)}.textarea{border-radius:var(--radius-field);background:var(--white);width:100%;min-height:110px;box-shadow:var(--ring-control);resize:vertical;border:0;padding:12px 16px;font-size:16px}.input:focus,.textarea:focus,.select:focus{box-shadow:inset 0 0 0 1.5px var(--ink);outline:none}.btn:focus-visible,.text-btn:focus-visible,.icon-btn:focus-visible,.tile:focus-visible,.list-item:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.error{color:var(--accent);font-size:14px}.card{background:var(--white);border-radius:var(--radius-card);box-shadow:var(--ring);padding:18px}.tabrow{scrollbar-width:none;gap:6px;min-width:0;padding:2px 0 12px;display:flex;overflow-x:auto}.tabrow .text-btn{background:var(--white);min-height:36px;box-shadow:var(--ring-control);border-radius:999px;flex:none;padding:0 15px;font-size:14px}.tabrow .text-btn.on,.tabrow .text-btn[aria-selected=true]{background:var(--ink);color:var(--paper);box-shadow:none}.tabs{z-index:20;background:var(--paper);border-top:1px solid var(--rule);padding:0 8px env(safe-area-inset-bottom);justify-content:space-around;display:flex;position:sticky;bottom:0}.tab{cursor:pointer;min-height:54px;color:var(--stone);background:0 0;border:0;flex:1;font-size:14px;font-weight:500;position:relative}.tab.on{color:var(--ink);font-weight:650}.tab .dot{background:var(--dot);border-radius:50%;width:7px;height:7px;position:absolute;top:13px;right:calc(50% - 36px)}.add-bar{z-index:19;pointer-events:none;justify-content:center;padding:12px 20px;display:flex;position:sticky;bottom:55px}.add-bar .btn{pointer-events:auto;box-shadow:0 8px 24px #16151433}.album-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;display:grid}@media (min-width:700px){.album-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:6px}}.tile{aspect-ratio:1;background:var(--tile);cursor:pointer;border-radius:var(--radius-photo);border:0;padding:0;position:relative;overflow:hidden}.tile img{object-fit:cover;width:100%;height:100%}.tile .badge{color:var(--ink);font-family:var(--mono);background:#faf9f7eb;border-radius:999px;padding:2px 7px;font-size:11px;position:absolute;bottom:6px;left:6px}.tile .likes{color:var(--ink);font-family:var(--mono);background:#faf9f7eb;border-radius:999px;align-items:center;gap:5px;padding:2px 7px 2px 6px;font-size:11px;display:inline-flex;position:absolute;bottom:6px;right:6px}.tile .likes:before{content:"";background:var(--dot);border-radius:50%;width:7px;height:7px}.tile .placeholder{width:100%;height:100%;color:var(--stone);font-family:var(--mono);text-align:center;justify-content:center;align-items:center;padding:8px;font-size:12px;display:flex}.tile.hidden-item img{opacity:.35}.tile .check{background:var(--ink);width:24px;height:24px;color:var(--white);box-shadow:0 0 0 2px var(--white);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;top:7px;right:7px}.tile .check.off{background:#ffffff59}.tile.deselected img{opacity:.45}.moment-head{justify-content:space-between;align-items:baseline;gap:8px;padding:20px 2px 10px;display:flex}.moment-head h3{font-size:16px}.moment-head .count{font-family:var(--mono);color:var(--stone);font-size:12px}.highlights{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;display:grid}.highlights .tile:nth-child(7n+1){aspect-ratio:16/10;border-radius:var(--radius-card);grid-column:span 3}@media (min-width:700px){.highlights{grid-template-columns:repeat(4,1fr)}.highlights .tile:nth-child(7n+1){aspect-ratio:1;grid-area:span 2/span 2}}.banner{background:var(--white);box-shadow:var(--ring);border-radius:14px;justify-content:space-between;align-items:center;gap:12px;margin:4px 0 8px;padding:12px 16px;display:flex}.progress{background:var(--rule);border-radius:3px;height:3px;overflow:hidden}.progress>div{background:var(--ink);height:100%;transition:width .2s}.viewer{background:var(--paper);height:100%;color:var(--ink);z-index:50;flex-direction:column;display:flex;position:fixed;inset:0;overflow:hidden}.viewer-top{z-index:2;flex:none;justify-content:space-between;align-items:center;padding:8px 10px 6px;display:flex;position:relative}.viewer-top .label{color:var(--stone)}.viewer-stage{-webkit-user-select:none;user-select:none;flex:1 1 0;justify-content:center;align-items:center;min-height:0;margin:0 10px;display:flex;position:relative;overflow:hidden}.viewer-photo{border-radius:18px;max-width:100%;max-height:100%;display:flex;position:relative;overflow:hidden}.viewer-photo img,.viewer-stage video{object-fit:contain;max-width:100%;max-height:100%}.viewer-stage video{border-radius:18px}.viewer-info{z-index:2;background:var(--paper);text-align:left;flex-direction:column;flex:none;gap:12px;max-height:42%;padding:16px 20px 8px;display:flex;position:relative;overflow:auto}.viewer-bar{z-index:2;background:var(--paper);padding:6px 16px calc(14px + env(safe-area-inset-bottom));flex:none;justify-content:center;gap:8px;display:flex;position:relative}.viewer-bar .text-btn{background:var(--white);min-height:48px;box-shadow:var(--ring-control);border-radius:999px;padding:0 20px}.viewer-bar .text-btn.on,.viewer-bar .text-btn[aria-pressed=true]{background:var(--ink);color:var(--paper);box-shadow:none}.viewer-nav{background:var(--white);color:var(--ink);box-shadow:var(--ring-control);cursor:pointer;border:0;border-radius:50%;width:44px;height:44px;font-size:20px;position:absolute;top:50%;transform:translateY(-50%)}.viewer-nav:disabled{opacity:.3}.viewer-nav.prev{left:12px}.viewer-nav.next{right:12px}@media (max-width:700px){.viewer-nav{display:none}}.tag-box{pointer-events:none;flex-direction:column;align-items:center;gap:6px;display:flex;position:absolute;transform:translate(-50%,-50%)}.tag-box .frame-sq{border:1.5px solid var(--white);border-radius:12px;width:64px;height:64px;box-shadow:0 0 0 1px #0003}.tag-box .name{background:var(--white);color:var(--ink);white-space:nowrap;border-radius:999px;padding:4px 11px;font-size:13px;font-weight:600}.person-chip{background:var(--white);min-height:36px;box-shadow:var(--ring-control);color:var(--ink);cursor:pointer;border:0;border-radius:999px;align-items:center;gap:8px;padding:0 14px;font-size:14px;font-weight:500;display:inline-flex}.person-chip .x{color:var(--stone);font-size:14px}.heart-pop{background:var(--dot);color:#0000;pointer-events:none;border-radius:50%;width:84px;height:84px;font-size:0;animation:.7s forwards pop;position:absolute}@keyframes pop{0%{opacity:0;transform:scale(.3)}30%{opacity:.95;transform:scale(1.05)}to{opacity:0;transform:scale(1)}}.sheet-backdrop{z-index:60;background:#16151452;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{background:var(--paper);color:var(--ink);width:100%;max-width:560px;max-height:88vh;padding:18px 20px calc(20px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0;overflow:auto}@media (min-width:700px){.sheet-backdrop{align-items:center}.sheet{border-radius:24px}}.sheet-head{justify-content:space-between;align-items:center;padding-bottom:6px;display:flex}.list{flex-direction:column;display:flex}.list-item{border:0;border-bottom:1px solid var(--rule);text-align:left;cursor:pointer;width:100%;color:var(--ink);background:0 0;align-items:center;gap:14px;padding:12px 0;text-decoration:none;display:flex}.avatar{background:var(--surface-2);border-radius:50%;flex:none;justify-content:center;align-items:center;width:40px;height:40px;font-size:15px;font-weight:600;display:flex}.avatar.lg{width:64px;height:64px;font-size:22px}.thumb-sm{object-fit:cover;background:var(--tile);border-radius:10px;flex:none;width:48px;height:48px}.event-card{border-radius:var(--radius-card);background:var(--white);box-shadow:var(--ring);color:var(--ink);border:0;align-items:center;gap:16px;width:100%;margin-bottom:8px;padding:10px;text-decoration:none;display:flex}.event-card .cover{object-fit:cover;background:var(--tile);border-radius:12px;flex:none;width:76px;height:76px}.live{font-family:var(--mono);letter-spacing:.02em;text-transform:uppercase;color:var(--ink);align-items:center;gap:6px;font-size:12px;display:inline-flex}.live:before{content:"";background:var(--dot);border-radius:50%;width:7px;height:7px}.people-grid{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:14px;display:grid}.person{text-align:center;cursor:pointer;color:var(--ink);background:0 0;border:0;flex-direction:column;align-items:center;gap:6px;padding:6px;display:flex}.dropzone{border:1.5px dashed var(--edge);border-radius:var(--radius-card);text-align:center;background:var(--white);flex-direction:column;align-items:center;gap:12px;padding:28px 16px;display:flex}.dropzone.over{border-color:var(--ink);background:var(--surface-2)}.template-grid{flex-wrap:wrap;gap:6px;display:flex}.template{background:var(--white);min-height:40px;box-shadow:var(--ring-control);cursor:pointer;color:var(--ink);border:0;border-radius:999px;padding:0 16px;font-size:14px;font-weight:600}.template.on{background:var(--ink);color:var(--paper);box-shadow:none}.hero{gap:36px;padding:40px 0;display:grid}.hero p{max-width:560px;font-size:18px}.qr-box{background:var(--white);border-radius:var(--radius-card);width:min(260px,100%);box-shadow:var(--ring);padding:14px}.qr-box svg,.qr-box img{width:100%;height:auto}.card-sizes{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.card-size{border-radius:var(--radius-field);background:var(--white);min-height:64px;box-shadow:var(--ring-control);color:var(--ink);font:inherit;text-align:left;cursor:pointer;border:0;align-items:center;gap:10px;padding:10px 12px 10px 8px;display:flex}.card-size strong{letter-spacing:-.01em;font-size:15px;font-weight:600}.card-size .mono{font-size:11px}.card-size.on{box-shadow:inset 0 0 0 1.5px var(--ink)}.card-size:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.slideshow{background:var(--paper);color:var(--ink);cursor:none;padding:2vh;position:fixed;inset:0}.slideshow>.frame{height:100%;box-shadow:none;background:0 0}.slideshow .frame-inner{gap:4vh;height:100%;padding:1.5vh;display:flex}.slideshow .stage{background:var(--surface-2);border-radius:28px;flex:1;min-width:0;position:relative;overflow:hidden}.slideshow .slide{opacity:0;justify-content:center;align-items:center;transition:opacity 1.4s;display:flex;position:absolute;inset:0}.slideshow .slide.on{opacity:1}.slideshow .slide img{object-fit:contain;max-width:100%;max-height:100%}.slideshow .side{text-align:left;flex-direction:column;flex:none;justify-content:space-between;align-items:flex-start;gap:2vh;width:30vw;max-width:380px;padding:2vh 0;display:flex;overflow:hidden}.slideshow .names.stacked{font-size:min(8vh,64px)}.slideshow .credit{letter-spacing:-.02em;font-size:min(3vh,24px);font-weight:500}.slideshow .qr-box{width:min(26vh,200px);padding:12px}.slideshow .empty{text-align:center;letter-spacing:-.02em;color:var(--stone);justify-content:center;align-items:center;padding:40px;font-size:28px;font-weight:500;display:flex;position:absolute;inset:0}@media (max-aspect-ratio:1){.slideshow .frame-inner{flex-direction:column}.slideshow .stage{min-height:0}.slideshow .side{flex-direction:row;align-items:center;width:100%;max-width:none;max-height:32vh}.slideshow .names.stacked{font-size:min(5vh,40px)}.slideshow .qr-box{width:min(18vh,140px)}}.spinner{border:2px solid var(--rule);border-top-color:var(--ink);border-radius:50%;width:22px;height:22px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.toast{background:var(--ink);color:var(--paper);z-index:80;border-radius:999px;padding:11px 18px;font-size:14px;font-weight:500;position:fixed;bottom:128px;left:50%;transform:translate(-50%)}.sr-only{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.footer-mark{text-align:center;color:var(--stone);padding:24px 0;font-size:13px}.event-card .names{font-size:21px}.album-head{text-align:left;flex-direction:column;align-items:flex-start;gap:8px;padding:6px 0 16px;display:flex}.album-head .names{font-size:clamp(30px,8vw,38px);line-height:1.02}.album-head .label{color:var(--stone);align-items:center;gap:14px;display:flex}.stat-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:8px;display:grid}.stat{background:var(--white);border-radius:var(--radius-card);box-shadow:var(--ring);flex-direction:column;gap:6px;padding:16px 18px;display:flex}.stat-value{letter-spacing:-.03em;font-size:36px;font-weight:500;line-height:1}.admin-thumb{object-fit:cover;background:var(--tile);border-radius:10px;flex:none;width:72px;height:72px;display:block}.admin-row a{color:inherit}@media (max-width:560px){.admin-row{flex-wrap:wrap}}.feedback-message{white-space:pre-wrap;overflow-wrap:anywhere}.feedback-context{gap:2px;margin:8px 0 0;display:grid}.feedback-context div{gap:10px;display:flex}.feedback-context dt{font-family:var(--mono);text-transform:uppercase;min-width:84px;font-size:12px}.feedback-context dd{overflow-wrap:anywhere;margin:0}.feedback-errors{font-family:var(--mono);white-space:pre-wrap;overflow-wrap:anywhere;background:var(--surface-2);border-radius:var(--radius-field);margin:8px 0 0;padding:10px 12px;font-size:12px}.admin-row.focused{box-shadow:inset 0 0 0 1.5px var(--ink);border-radius:var(--radius-card)}.footer-mark .text-btn{color:var(--stone);font-size:14px;font-weight:500}.legal{flex-direction:column;gap:14px;line-height:1.55;display:flex}.legal h3{margin-top:14px}.legal p,.legal ul{margin:0}.legal ul{flex-direction:column;gap:6px;padding-left:20px;display:flex}.legal a{color:inherit;text-underline-offset:2px;text-decoration:underline}
