@font-face{font-family:Fraunces Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/fraunces-vietnamese-opsz-normal-Czevyj-6.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Fraunces Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/fraunces-latin-ext-opsz-normal-CJcjJNj7.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Fraunces Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/fraunces-latin-opsz-normal-DihXLNYH.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Fraunces Variable;font-style:italic;font-display:swap;font-weight:100 900;src:url(/assets/fraunces-vietnamese-opsz-italic-DxWqP7Ku.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Fraunces Variable;font-style:italic;font-display:swap;font-weight:100 900;src:url(/assets/fraunces-latin-ext-opsz-italic-CGbN9UgK.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Fraunces Variable;font-style:italic;font-display:swap;font-weight:100 900;src:url(/assets/fraunces-latin-opsz-italic-lSdLDfvT.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-wght-normal-CkhJZR-_.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-wght-normal-Dx4kXJAl.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--bg:#faf7f2;--surface:#fff;--surface-2:#f4efe7;--surface-3:#ebe4d8;--border:#e7dfd3;--border-strong:#d6cbbb;--text:#2a2520;--muted:#7a7064;--accent:#a8513b;--accent-hover:#93432f;--accent-contrast:#fff;--accent-soft:#f6e8e1;--gold:#b8955a;--danger:#b42318;--danger-soft:#fdecea;--success:#2f7a52;--success-soft:#e6f3eb;--warn:#8a5a00;--warn-soft:#fbf0d9;--ink:#221d19;--chart-1:#a8513b;--chart-track:#efe9e0;--on-ink:#f6f0e7;--radius-sm:8px;--radius:14px;--radius-lg:20px;--shadow-sm:0 1px 2px #3c28140d;--shadow:0 1px 2px #3c28140a, 0 8px 24px #3c28140f;--shadow-lg:0 2px 6px #3c28140f, 0 24px 48px #3c28141f;--font:"Inter Variable", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--font-display:"Fraunces Variable", Georgia, "Times New Roman", serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root{--bg:#14110f;--surface:#1c1916;--surface-2:#25211c;--surface-3:#2f2a24;--border:#36302a;--border-strong:#4a4239;--text:#f3ede4;--muted:#a89d8f;--accent:#e08b6f;--accent-hover:#eb9d83;--accent-contrast:#1d120d;--accent-soft:#3a251d;--gold:#cfae74;--chart-1:#cf7a5c;--chart-track:#2b2620;--danger:#f28b82;--danger-soft:#3b1d1b;--success:#6fcf97;--success-soft:#16301f;--warn:#f2c063;--warn-soft:#3a2e14;--shadow-sm:0 1px 2px #0000004d;--shadow:0 1px 2px #0000004d, 0 8px 24px #00000040;--shadow-lg:0 24px 48px #00000073;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}*,:before,:after{box-sizing:border-box}html,body{background:var(--bg);color:var(--text);font-family:var(--font);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;margin:0;font-size:15px;line-height:1.55}h1,h2,h3{font-family:var(--font-display);letter-spacing:-.01em;font-optical-sizing:auto;margin:0;font-weight:500;line-height:1.15}h1{font-size:clamp(1.8rem,1.4rem + 1.2vw,2.4rem)}h2{font-size:1.25rem}h3{font-size:1.05rem}p{margin:0}a{color:var(--accent);text-underline-offset:3px}img{max-width:100%}hr{border:0;border-top:1px solid var(--border);width:100%;margin:4px 0}::selection{background:var(--accent-soft)}input,select,textarea{font:inherit;color:inherit;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);width:100%;min-width:0;padding:9px 12px;transition:border-color .15s,box-shadow .15s}input:hover,select:hover,textarea:hover{border-color:var(--muted)}input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);outline:none}button:focus-visible,a:focus-visible,[role=button]:focus-visible{outline:2px solid var(--accent);outline-offset:2px}input:disabled,textarea:disabled,select:disabled{opacity:.65;cursor:not-allowed}input[type=checkbox]{width:16px;height:16px;accent-color:var(--accent);box-shadow:none}select{appearance:none;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a7064' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;padding-right:34px}textarea{resize:vertical}progress{width:100%;height:6px;accent-color:var(--accent)}.muted{color:var(--muted)}.small{font-size:.85rem}.block{display:block}.mono{font-family:ui-monospace,Menlo,monospace}.center{text-align:center;align-items:center}.text-danger{color:var(--danger)}.stack{flex-direction:column;gap:20px;display:flex}.stack-tight{flex-direction:column;gap:8px;display:flex}.row{align-items:center;gap:8px;display:flex}.row.wrap{flex-wrap:wrap;align-items:flex-end}.row.wrap>.field{flex:180px}.row.wrap:has(>.field){align-items:flex-start}.form-submit{align-self:flex-start}@media (width<=760px){.form-submit{align-self:stretch}}.space-between{justify-content:space-between}.grid-2{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));align-items:start;gap:20px;display:grid}.eyebrow{font-family:var(--font);letter-spacing:.14em;text-transform:uppercase;color:var(--accent);font-size:.72rem;font-weight:600;display:inline-block}.big{font-size:2.5rem}.icon{flex-shrink:0;width:1.1em;height:1.1em}.btn{font:inherit;border:1px solid var(--border-strong);background:var(--surface);color:var(--text);cursor:pointer;white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;gap:8px;padding:9px 18px;font-size:.92rem;font-weight:550;text-decoration:none;transition:background .15s,border-color .15s,transform .1s,box-shadow .15s;display:inline-flex}.btn:hover:not(:disabled){background:var(--surface-2);border-color:var(--muted)}.btn:active:not(:disabled){transform:translateY(1px)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:var(--accent);border-color:var(--accent);color:var(--accent-contrast);box-shadow:0 1px 2px #78321e33,0 4px 12px #a8513b38}.btn-primary:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover)}.btn-danger{color:var(--danger);border-color:color-mix(in srgb, var(--danger) 45%, transparent)}.btn-danger:hover:not(:disabled){background:var(--danger-soft);border-color:var(--danger)}.btn-ghost{background:0 0;border-color:#0000}.btn-ghost:hover:not(:disabled){border-color:#0000}.btn-small{padding:5px 12px;font-size:.83rem}.btn-large{padding:13px 24px;font-size:1rem}.btn-icon{border-radius:50%;width:32px;height:32px;padding:6px}.btn-block{width:100%}.btn-google{font-weight:600}.link{color:var(--accent);cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;padding:0}.link:hover{text-decoration:underline}.link.small{font-size:.85rem}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:22px}.card>h2:first-child{margin-bottom:2px}.card-link{color:inherit;flex-direction:column;gap:6px;text-decoration:none;transition:border-color .2s,box-shadow .2s,transform .2s;display:flex}.card-link:hover{border-color:var(--border-strong);box-shadow:var(--shadow-lg);transform:translateY(-2px)}.cards{grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:20px;display:grid}.stat-cards{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;display:grid}.stat-card{flex-direction:row;align-items:center;gap:16px}.stat-card .stat-icon{background:var(--accent-soft);width:48px;height:48px;color:var(--accent);border-radius:12px;flex-shrink:0;place-items:center;display:grid}.stat-card .stat-icon svg{width:22px;height:22px}.stat-card .stat{font-family:var(--font-display);font-size:1.8rem;line-height:1}.stat-card .stat-label{color:var(--muted);font-size:.9rem}.stat-card .stat-arrow{color:var(--muted);margin-left:auto;transition:transform .2s}.stat-card:hover .stat-arrow{color:var(--accent);transform:translate(3px)}.badge{background:var(--surface-2);color:var(--muted);white-space:nowrap;border-radius:999px;align-self:flex-start;align-items:center;margin-right:6px;padding:3px 9px;font-size:.72rem;font-weight:600;display:inline-flex}.badge-accent{background:var(--accent-soft);color:var(--accent)}.badge-warn{background:var(--warn-soft);color:var(--warn)}.badge-danger{background:var(--danger-soft);color:var(--danger)}.badge-success{background:var(--success-soft);color:var(--success)}.alert{border-radius:var(--radius-sm);background:var(--surface-2);justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex}.alert-error{background:var(--danger-soft);color:var(--danger);animation:.2s ease-out alert-in;position:relative;overflow:hidden}@keyframes alert-in{0%{opacity:0;transform:translateY(-4px)}}.error-timer{opacity:.35;transform-origin:0;background:currentColor;width:100%;height:3px;animation:linear forwards error-timer;position:absolute;bottom:0;left:0}@keyframes error-timer{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.inline-error{animation:.2s ease-out alert-in}.studio-error:empty{display:none}.alert-success{background:var(--success-soft);color:var(--success);align-items:stretch}.field{flex-direction:column;gap:6px;display:flex}.field-label{font-size:.85rem;font-weight:600}.field-hint{color:var(--muted);font-size:.8rem}.field-hint.ok{color:var(--success)}.password-input{display:flex;position:relative}.password-input input{padding-right:90px}.password-input .btn{position:absolute;top:50%;right:4px;transform:translateY(-50%)}.copy-field{flex-direction:column;gap:6px;display:flex}.copy-field input{background:var(--surface-2);font-family:ui-monospace,Menlo,monospace;font-size:.82rem}.toggle{cursor:pointer;border-radius:var(--radius-sm);border:1px solid var(--border);align-items:flex-start;gap:12px;padding:12px;transition:border-color .15s;display:flex}.toggle:hover{border-color:var(--border-strong)}.toggle input{margin-top:3px}.checkbox{cursor:pointer;white-space:nowrap;align-items:center;gap:6px;display:inline-flex}.chips{flex-wrap:wrap;gap:8px;display:flex}.chip{font:inherit;border:1px solid var(--border-strong);background:var(--surface);color:inherit;cursor:pointer;border-radius:999px;align-items:center;gap:6px;padding:7px 14px;font-size:.88rem;transition:background .15s,border-color .15s;display:inline-flex}.chip:hover:not(.active){border-color:var(--muted)}.chip.active{background:var(--text);border-color:var(--text);color:var(--bg)}.chip-count{text-align:center;background:var(--surface-2);min-width:20px;color:var(--muted);border-radius:999px;padding:0 6px;font-size:.72rem;display:inline-block}.chip.active .chip-count{background:color-mix(in srgb, var(--bg) 20%, transparent);color:inherit}.chip-dashed{color:var(--muted);border-style:dashed}.tabs{background:var(--surface-2);border-radius:999px;align-self:flex-start;gap:4px;max-width:100%;padding:4px;display:flex;overflow-x:auto}.tab{font:inherit;color:var(--muted);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:999px;padding:7px 16px;font-size:.9rem;font-weight:500}.tab.active{color:var(--text);background:var(--surface);box-shadow:var(--shadow-sm)}.list{margin:0;padding:0;list-style:none}.list-item{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:12px 0;display:flex}.list-item:last-child{border-bottom:0}.table-wrap{overflow-x:auto}.table{border-collapse:collapse;width:100%;font-size:.9rem}.table th,.table td{text-align:left;border-bottom:1px solid var(--border);vertical-align:middle;padding:10px 12px}.table th{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-size:.72rem;font-weight:600}.table tbody tr:hover td{background:var(--surface-2)}.table select{width:auto;padding:5px 30px 5px 10px}.table .actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.row-disabled td{opacity:.55}.row-warn td{background:var(--warn-soft)}.empty{text-align:center;border:1px dashed var(--border-strong);border-radius:var(--radius);background:color-mix(in srgb, var(--surface) 60%, transparent);flex-direction:column;align-items:center;gap:8px;padding:56px 24px;display:flex}.empty-icon{background:var(--accent-soft);width:56px;height:56px;color:var(--accent);border-radius:50%;place-items:center;margin-bottom:6px;display:grid}.empty-icon svg{width:26px;height:26px}.empty-title{font-family:var(--font-display);font-size:1.2rem}.owner{color:var(--muted);align-items:center;gap:8px;font-size:.85rem;display:inline-flex}.avatar{--avatar-hue:20;--size:28px;width:var(--size);height:var(--size);background:hsl(var(--avatar-hue) 55% 88%);color:hsl(var(--avatar-hue) 45% 32%);font-weight:700;font-size:calc(var(--size) * .38);letter-spacing:.02em;-webkit-user-select:none;user-select:none;border-radius:50%;flex-shrink:0;place-items:center;line-height:1;display:inline-grid;overflow:hidden}@media (prefers-color-scheme:dark){.avatar{background:hsl(var(--avatar-hue) 30% 26%);color:hsl(var(--avatar-hue) 70% 80%)}}.avatar img{object-fit:cover;width:100%;height:100%;display:block}.avatar-xs{--size:22px}.avatar-sm{--size:28px}.avatar-md{--size:36px}.avatar-lg{--size:56px}.avatar-xl{--size:96px}.avatar-stack{align-items:center;display:inline-flex}.avatar-stack .avatar{box-shadow:0 0 0 2px var(--surface)}.avatar-stack .avatar+.avatar{margin-left:-6px}.avatar-more{background:var(--surface-3);color:var(--muted);font-size:.62rem}.likers{align-items:center;gap:8px;min-width:0;display:inline-flex}.audit-text .avatar{vertical-align:middle;margin-right:6px}.montage-owner{z-index:1;position:absolute;bottom:12px;left:12px}.montage-owner .avatar{box-shadow:0 0 0 2px #fff,0 4px 10px #00000040}.profile{flex-wrap:wrap;align-items:center;gap:24px;display:flex}.avatar-editor{flex-direction:column;align-items:center;gap:10px;display:flex}.avatar-editor-button{cursor:pointer;background:0 0;border:0;border-radius:50%;padding:0;position:relative}.avatar-editor-button .avatar{box-shadow:0 0 0 4px var(--surface), 0 0 0 5px var(--border)}.avatar-editor-overlay{color:#fff;opacity:0;background:#00000073;border-radius:50%;place-items:center;font-size:.85rem;font-weight:600;transition:opacity .15s;display:grid;position:absolute;inset:0}.avatar-editor-button:hover .avatar-editor-overlay,.avatar-editor-button:focus-visible .avatar-editor-overlay{opacity:1}.qr{flex-wrap:wrap;align-items:center;gap:20px;display:flex}.qr-frame{border-radius:var(--radius);border:1px solid var(--border);background:#fff;padding:10px;line-height:0}.spinner{border:2px solid var(--border);border-top-color:var(--accent);border-radius:50%;width:18px;height:18px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.spinner-inline,.spinner-full{justify-content:center;align-items:center;gap:10px;padding:24px;display:flex}.spinner-full{min-height:100vh}.modal{border-radius:var(--radius-lg);background:var(--surface);width:min(520px,100vw - 32px);max-height:calc(100vh - 32px);color:var(--text);box-shadow:var(--shadow-lg);border:0;padding:0}.modal[open]{animation:.18s ease-out pop}@keyframes pop{0%{opacity:0;transform:translateY(8px)scale(.98)}}.modal-wide{width:min(1100px,100vw - 32px)}.modal::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#140e0a8c}.modal-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:18px 24px;display:flex}.modal-header h2{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.modal-body{padding:24px}.topbar{background:color-mix(in srgb, var(--bg) 82%, transparent);-webkit-backdrop-filter:saturate(1.4)blur(12px);backdrop-filter:saturate(1.4)blur(12px);border-bottom:1px solid var(--border);z-index:20;justify-content:space-between;align-items:center;gap:16px;padding:12px 32px;display:flex;position:sticky;top:0}.brand{color:inherit;white-space:nowrap;font-family:var(--font-display);align-items:center;gap:10px;font-size:1.25rem;font-weight:500;text-decoration:none;display:inline-flex}.brand-mark{background:var(--accent);width:32px;height:32px;color:var(--accent-contrast);font-family:var(--font-display);border-radius:50%;place-items:center;font-size:1.05rem;font-style:italic;display:grid}.topnav{align-items:center;gap:2px;display:flex;overflow-x:auto}.topnav a{color:var(--muted);white-space:nowrap;border-radius:999px;padding:7px 14px;font-size:.92rem;font-weight:500;text-decoration:none;transition:color .15s,background .15s}.topnav a:hover{color:var(--text)}.topnav a.active{color:var(--text);background:var(--surface-2)}.nav-short{display:none}.topnav .user-link{align-items:center;gap:8px;padding-left:6px;display:inline-flex}.page{max-width:1200px;margin:0 auto;padding:36px 32px 64px}.page-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;display:flex}.page-header p{margin-top:6px}.back{color:var(--muted);align-self:flex-start;align-items:center;gap:6px;font-size:.88rem;font-weight:500;text-decoration:none;display:inline-flex}.back:hover{color:var(--accent)}.cover{aspect-ratio:16/10;background:var(--surface-2);gap:3px;display:grid;position:relative;overflow:hidden}.cover img{object-fit:cover;width:100%;height:100%;transition:transform .5s;display:block}.cover-1{grid-template-columns:1fr}.cover-2{grid-template-columns:1fr 1fr}.cover-3,.cover-4{grid-template-rows:1fr 1fr;grid-template-columns:2fr 1fr}.cover-3 img:first-child,.cover-4 img:first-child{grid-row:span 2}.cover-4 img:nth-child(4){display:none}.cover-empty{background:radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%), radial-gradient(circle at 80% 90%, color-mix(in srgb, var(--gold) 25%, transparent), transparent 55%), var(--surface-2);place-items:center;display:grid}.cover-monogram{font-family:var(--font-display);color:color-mix(in srgb, var(--accent) 75%, var(--text));font-size:2.6rem;font-style:italic}.event-card{gap:0;padding:0;overflow:hidden}.event-card:hover .cover img{transform:scale(1.04)}.event-card-body{flex-direction:column;gap:6px;padding:18px 20px 20px;display:flex}.event-card-meta{color:var(--muted);gap:14px;font-size:.85rem;display:flex}.event-card-meta span{align-items:center;gap:5px;display:inline-flex}.new-card{min-height:280px;font:inherit;color:var(--muted);cursor:pointer;border:1.5px dashed var(--border-strong);border-radius:var(--radius);background:0 0;flex-direction:column;justify-content:center;align-items:center;gap:10px;transition:border-color .2s,color .2s,background .2s;display:flex}.new-card:hover{border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}.new-card .plus{border:1.5px solid;border-radius:50%;place-items:center;width:48px;height:48px;font-size:1.5rem;display:grid}.event-hero{border-radius:var(--radius-lg);background:var(--surface);border:1px solid var(--border);min-height:260px;box-shadow:var(--shadow);grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);display:grid;position:relative;overflow:hidden}.event-hero-text{flex-direction:column;justify-content:center;gap:10px;padding:36px;display:flex}.event-hero-text .actions{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.event-hero .cover{aspect-ratio:auto;height:100%}.auth-page{place-items:center;min-height:100vh;padding:16px;display:grid}.auth-split{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);min-height:100vh;display:grid}.auth-aside{color:var(--on-ink);background:radial-gradient(ellipse at 20% 10%, #e08b6f73, transparent 55%), radial-gradient(ellipse at 90% 85%, #cfae7459, transparent 50%), var(--ink);flex-direction:column;justify-content:space-between;padding:48px;display:flex;position:relative;overflow:hidden}.auth-aside .brand{color:var(--on-ink)}.auth-aside blockquote{max-width:460px;font-family:var(--font-display);margin:0;font-size:clamp(2rem,1.4rem + 2vw,3.2rem);font-weight:400;line-height:1.1}.auth-aside blockquote em{color:#f0b39c}.auth-aside p{color:#f6f0e7b3;max-width:380px}.auth-frames{opacity:.9;pointer-events:none;gap:14px;display:grid;position:absolute;top:50%;right:-40px;transform:translateY(-50%)}.auth-frames span{border:6px solid #ffffffeb;border-radius:6px;width:150px;height:110px;display:block;box-shadow:0 12px 30px #00000059}.auth-frames span:first-child{background:linear-gradient(135deg,#e9b9a5,#a8513b);transform:rotate(-8deg)translate(-60px)}.auth-frames span:nth-child(2){background:linear-gradient(135deg,#d9c49c,#8c6b3d);transform:rotate(5deg)}.auth-frames span:nth-child(3){background:linear-gradient(135deg,#b9c7c0,#5d7368);transform:rotate(-3deg)translate(-30px)}.auth-main{place-items:center;padding:32px 24px;display:grid}.auth-card{flex-direction:column;gap:18px;width:min(400px,100%);display:flex}.auth-card.card{padding:32px}.auth-card h1{font-size:2rem}.public-shell{background:radial-gradient(ellipse 80% 50% at 50% -10%, color-mix(in srgb, var(--accent) 14%, transparent), transparent), var(--bg);min-height:100vh}.public-page{max-width:600px;margin:0 auto;padding:40px 18px 120px}.public-page-wide{max-width:1200px}.public-hero{text-align:center;flex-direction:column;align-items:center;gap:10px;margin-bottom:28px;display:flex}.public-hero h1{font-size:clamp(2.4rem,1.6rem + 4vw,3.6rem);font-weight:400;line-height:1.05}.public-hero h1 em{color:var(--accent);font-style:italic}.public-hero .subtitle{font-family:var(--font-display);color:var(--muted);font-size:1.1rem}.ornament{color:var(--gold);letter-spacing:.16em;text-transform:uppercase;align-items:center;gap:12px;font-size:.8rem;font-weight:600;display:flex}.ornament:before,.ornament:after{content:"";opacity:.6;background:currentColor;width:36px;height:1px}.public-intro{max-width:440px;color:var(--muted)}.public-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:8px;display:flex}.dropzone{border:1.5px dashed var(--border-strong);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow);cursor:pointer;text-align:center;flex-direction:column;align-items:center;gap:8px;padding:40px 20px;transition:border-color .2s,background .2s,transform .2s;display:flex}.dropzone:hover,.dropzone.active{border-color:var(--accent);background:color-mix(in srgb, var(--accent-soft) 50%, var(--surface))}.dropzone.active{transform:scale(1.01)}.dropzone-icon{background:var(--accent);width:64px;height:64px;color:var(--accent-contrast);border-radius:50%;place-items:center;margin-bottom:6px;display:grid;box-shadow:0 8px 20px #a8513b4d}.dropzone-icon svg{width:28px;height:28px}.dropzone strong{font-family:var(--font-display);font-size:1.35rem;font-weight:500}.or-divider{color:var(--muted);align-items:center;gap:12px;font-size:.82rem;display:flex}.or-divider:before,.or-divider:after{content:"";background:var(--border);flex:1;height:1px}.details-card summary{cursor:pointer;justify-content:space-between;align-items:center;font-weight:600;list-style:none;display:flex}.details-card summary::-webkit-details-marker{display:none}.details-card summary:after{content:"+";color:var(--muted);font-size:1.3rem;font-weight:400}.details-card[open] summary:after{content:"−"}.details-card[open] summary{margin-bottom:16px}.upload-list{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.upload-item{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:12px}.upload-item.status-error{border-color:var(--danger)}.upload-item.status-uploading{border-color:var(--accent)}.upload-item-main{align-items:flex-start;gap:12px;display:flex}.upload-thumb{object-fit:cover;background:var(--surface-2);border-radius:10px;flex-shrink:0;width:68px;height:68px}.upload-item-info{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex}.upload-item-details{border-top:1px solid var(--border);margin-top:12px;padding-top:12px}.sticky-actions{background:linear-gradient(transparent, var(--bg) 35%);flex-direction:column;gap:6px;padding:16px 0 12px;display:flex;position:sticky;bottom:0}.thanks{text-align:center;flex-direction:column;align-items:center;gap:12px;padding:40px 24px;display:flex}.thanks h2{font-size:2rem;font-weight:400}.toolbar{border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:8px;padding:10px;display:flex}.toolbar>select{background-color:var(--surface-2);border-color:#0000;flex:0 auto;width:auto;min-width:0;font-size:.88rem}.toolbar-search{flex:220px;background:var(--surface-2)!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237a7064' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E")!important;background-position:12px!important;background-repeat:no-repeat!important;border-color:#0000!important;padding-left:36px!important}.toolbar-count{flex:none;margin-left:auto;padding:0 6px}.album-bar{flex-direction:column;gap:8px;display:flex}.album-actions{gap:4px}.photo-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px;display:grid}.photo-tile{aspect-ratio:1;background:var(--surface-2);border-radius:10px;position:relative;overflow:hidden}.photo-tile-open{cursor:pointer;background:0 0;border:0;width:100%;height:100%;padding:0;display:block}.photo-tile img{object-fit:cover;width:100%;height:100%;transition:transform .4s,opacity .2s;display:block}.photo-tile:hover img{transform:scale(1.05)}.photo-tile.hidden img{opacity:.35}.photo-tile-caption{color:#fff;text-align:left;white-space:nowrap;text-overflow:ellipsis;opacity:0;background:linear-gradient(#0000,#000000a6);padding:28px 10px 8px;font-size:.8rem;font-weight:500;transition:opacity .2s,transform .2s;position:absolute;inset:auto 0 0;overflow:hidden;transform:translateY(4px)}.photo-tile:hover .photo-tile-caption,.photo-tile.hidden .photo-tile-caption,.photo-tile-open:focus-visible .photo-tile-caption{opacity:1;transform:none}@media (hover:none){.photo-tile-caption{opacity:1;transform:none}}.photo-tile.selected{outline:3px solid var(--accent);outline-offset:-3px}.photo-tile.selected img{border-radius:6px;transform:scale(.9)}.photo-tile-check{width:24px;height:24px;color:var(--accent-contrast);background:#00000040;border:2px solid #fff;border-radius:50%;place-items:center;font-size:.8rem;font-weight:700;display:grid;position:absolute;top:8px;left:8px}.photo-tile.selected .photo-tile-check{background:var(--accent)}.selection-bar{z-index:10;background:var(--ink);color:var(--on-ink);box-shadow:var(--shadow-lg);border-radius:999px;flex-wrap:wrap;align-items:center;gap:10px;padding:10px 12px 10px 18px;display:flex;position:sticky;top:70px}.selection-bar select{border-radius:999px;width:auto;padding-top:6px;padding-bottom:6px}.selection-bar .btn-ghost{color:var(--on-ink)}.selection-bar .btn-ghost:hover{background:#ffffff1a}.selection-bar .btn:not(.btn-ghost){margin-left:auto}.viewer{grid-template-columns:minmax(0,1fr) 320px;gap:24px;display:grid}.viewer-image{object-fit:contain;border-radius:var(--radius);background:#0d0b0a;width:100%;max-height:75vh}.meta-list dt{letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-top:14px;font-size:.72rem}.meta-list dd{margin:2px 0 0}.photo-tile-like{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);color:#fff;cursor:pointer;opacity:0;background:#00000059;border:0;border-radius:50%;place-items:center;width:34px;height:34px;transition:opacity .15s,transform .15s,background .15s;display:grid;position:absolute;top:8px;right:8px}.photo-tile-like svg{width:18px;height:18px}.photo-tile:hover .photo-tile-like,.photo-tile-like:focus-visible,.photo-tile-like.liked{opacity:1}.photo-tile-like:hover{transform:scale(1.1)}.photo-tile-like.liked{color:#d9443a;background:#fff}@media (hover:none){.photo-tile-like{opacity:1}}.photo-tile-badges{pointer-events:none;flex-wrap:wrap;gap:6px;display:flex;position:absolute;top:10px;left:10px}.photo-tile-duplicate{color:#172b4d;background:#ffc400;border-radius:999px;padding:3px 9px;font-size:.72rem;font-weight:700;box-shadow:0 1px 3px #00000040}.photo-tile-stats{color:#fff;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);pointer-events:none;background:#00000073;border-radius:999px;gap:8px;padding:3px 9px;font-size:.75rem;font-weight:600;display:flex}.photo-tile-stats span{align-items:center;gap:4px;display:inline-flex}.photo-tile-stats svg{width:12px;height:12px}.viewer-story{border-left:3px solid var(--gold);border-radius:0 var(--radius-sm) var(--radius-sm) 0;background:var(--surface-2);font-family:var(--font-display);margin:0;padding:12px 16px;font-style:italic}.social-likes{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.like-button{font:inherit;border:1px solid var(--border-strong);background:var(--surface);color:var(--text);cursor:pointer;border-radius:999px;align-items:center;gap:8px;padding:8px 16px;font-weight:600;transition:background .15s,border-color .15s,color .15s;display:inline-flex}.like-button:hover:not(:disabled){color:#d9443a;border-color:#d9443a}.like-button.liked{color:#c2362d;background:#fdecea;border-color:#f3b3ad}.like-button.liked svg{animation:.3s ease-out like-pop}@keyframes like-pop{50%{transform:scale(1.35)}}.like-count{background:#00000012;border-radius:999px;padding:0 7px;font-size:.78rem}.likers{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.comments{flex-direction:column;gap:12px;max-height:280px;padding:4px 2px;display:flex;overflow-y:auto}.comment{align-items:flex-start;gap:10px;display:flex}.comment .avatar{flex-shrink:0}.comment-body{background:var(--surface-2);border-radius:4px 14px 14px;flex:1;min-width:0;padding:8px 12px}.comment-body p{white-space:pre-wrap;overflow-wrap:anywhere}.comment-meta{align-items:baseline;gap:8px;font-size:.85rem;display:flex}.comment-delete{color:var(--muted);margin-left:auto}.comment-delete:hover{color:var(--danger)}.comment-form{align-items:flex-end;gap:8px;display:flex}.comment-form textarea{resize:none}.viewer-edit{border-top:1px solid var(--border);padding-top:12px}.viewer-edit summary{cursor:pointer;color:var(--muted);font-size:.9rem;font-weight:600}.viewer-edit[open] summary{margin-bottom:14px}.viewer-side{max-height:75vh;overflow-y:auto}.pool-photo-likes{color:#c2362d;background:#fff;border-radius:999px;align-items:center;gap:3px;padding:1px 6px;font-size:.65rem;font-weight:700;display:inline-flex;position:absolute;bottom:4px;right:4px}.pool-photo-likes svg{width:10px;height:10px}.studio-shell{flex-direction:column;height:100vh;display:flex}.studio-header{background:var(--surface);border-bottom:1px solid var(--border);align-items:center;gap:14px;padding:10px 18px;display:flex}.studio-header-title{flex-direction:column;flex:1;min-width:0;display:flex}.studio-header-title strong{font-family:var(--font-display);text-overflow:ellipsis;white-space:nowrap;font-size:1.15rem;font-weight:500;overflow:hidden}.studio-header-actions{align-items:center;gap:12px;display:flex}.save-state{color:var(--success);align-items:center;gap:6px;font-size:.83rem;display:inline-flex}.save-state:before{content:"";background:currentColor;border-radius:50%;width:7px;height:7px}.save-state.dirty{color:var(--warn)}.studio-error{padding:8px 18px}.studio{background:var(--bg);flex:1;grid-template-columns:300px minmax(0,1fr) 340px;min-height:0;display:grid}.studio-pool,.studio-timeline,.studio-preview{min-height:0;overflow-y:auto}.studio-pool{border-right:1px solid var(--border);background:var(--surface)}.studio-timeline{padding:24px}.studio-preview{border-left:1px solid var(--border);background:var(--surface);flex-direction:column;gap:14px;padding:20px;display:flex}.pool{min-height:100%;transition:background .2s}.pool-over{background:var(--danger-soft)}.pool-header{z-index:1;background:var(--surface);border-bottom:1px solid var(--border);padding:16px;position:sticky;top:0}.pool-filters{grid-template-columns:1fr;gap:6px;display:grid}.pool-filters select{padding-top:7px;padding-bottom:7px;font-size:.85rem}.pool-grid{grid-template-columns:repeat(3,1fr);gap:6px;padding:14px 16px;display:grid}.pool-photo{aspect-ratio:1;background:var(--surface-2);cursor:grab;touch-action:none;border-radius:8px;transition:transform .15s;position:relative;overflow:hidden}.pool-photo:hover{transform:scale(1.03)}.pool-photo img{object-fit:cover;pointer-events:none;width:100%;height:100%;display:block}.pool-photo.used img{opacity:.35}.pool-photo.dragging{opacity:.3}.pool-photo-age{color:#fff;background:#0000008c;border-radius:999px;padding:1px 6px;font-size:.65rem;font-weight:600;position:absolute;bottom:4px;left:4px}.pool-photo-add{background:var(--accent);width:24px;height:24px;color:var(--accent-contrast);cursor:pointer;opacity:0;border:0;border-radius:50%;font-weight:700;transition:opacity .15s;position:absolute;top:4px;right:4px}.pool-photo:hover .pool-photo-add,.pool-photo-add:focus-visible{opacity:1}@media (hover:none){.pool-photo-add{opacity:1}}.timeline{flex-direction:column;gap:16px;max-width:900px;margin:0 auto;display:flex}.chapter{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm);flex-direction:column;gap:10px;padding:16px;transition:border-color .15s,box-shadow .15s,background .15s;display:flex}.chapter.selected{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.chapter.over{background:color-mix(in srgb, var(--accent-soft) 60%, var(--surface))}.chapter-header{align-items:center;gap:10px;display:flex}.chapter-number{background:var(--accent-soft);width:30px;height:30px;color:var(--accent);font-family:var(--font-display);border-radius:50%;flex-shrink:0;place-items:center;font-weight:600;display:inline-grid}.chapter.selected .chapter-number{background:var(--accent);color:var(--accent-contrast)}.chapter-title{font-family:var(--font-display);background:0 0;border-color:#0000;padding-left:6px;font-size:1.15rem;font-weight:500}.chapter-title:hover:not(:disabled){border-color:var(--border)}.chapter-actions{gap:2px;display:flex}.chapter-narration{font-family:var(--font-display);background:var(--surface-2);border-color:#0000;font-size:.95rem;font-style:italic}.chapter-timing{flex-wrap:wrap;align-items:center;gap:8px 12px;display:flex}.chapter-total{color:var(--muted);margin-left:auto;font-size:.85rem}.chapter-total strong{color:var(--text);font-family:var(--font-display);font-weight:600}.stepper{border:1px solid var(--border-strong);background:var(--surface);border-radius:999px;align-items:center;display:inline-flex;overflow:hidden}.stepper button{width:30px;height:30px;color:var(--text);cursor:pointer;background:0 0;border:0;font-size:1rem}.stepper button:hover:not(:disabled){background:var(--surface-2)}.stepper button:disabled{opacity:.35;cursor:not-allowed}.stepper-value{text-align:center;font-variant-numeric:tabular-nums;min-width:52px;font-size:.88rem;font-weight:600}.stepper.inherited .stepper-value{color:var(--muted);font-weight:500}.stepper:not(.inherited){border-color:var(--accent)}.chapter-photos{border:1.5px dashed var(--border);border-radius:10px;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px;min-height:104px;padding:8px;display:grid}.chapter-empty{text-align:center;grid-column:1/-1;align-self:center}.chapter-photo{aspect-ratio:1;background:var(--surface-2);cursor:grab;touch-action:none;border-radius:8px;position:relative;overflow:hidden}.chapter-photo img{object-fit:cover;pointer-events:none;width:100%;height:100%;display:block}.chapter-photo.dragging{opacity:.3}.chapter-photo .missing{height:100%;color:var(--muted);place-items:center;display:grid}.chapter-photo-remove{color:#fff;cursor:pointer;opacity:0;background:#0009;border:0;border-radius:50%;width:22px;height:22px;font-size:.7rem;transition:opacity .15s;position:absolute;top:4px;right:4px}.chapter-photo:hover .chapter-photo-remove,.chapter-photo-remove:focus-visible{opacity:1}.add-chapter{border-radius:var(--radius);color:var(--muted);border-style:dashed;padding:14px}.add-chapter:hover:not(:disabled){color:var(--accent);border-color:var(--accent);background:var(--accent-soft)}.drag-overlay{object-fit:cover;width:96px;height:96px;box-shadow:var(--shadow-lg);cursor:grabbing;border-radius:8px;transform:rotate(-3deg)}.preview{flex-direction:column;gap:14px;display:flex}.preview-stats{grid-template-columns:repeat(3,1fr);gap:6px;display:grid}.preview-stats>div{background:var(--surface-2);color:var(--muted);border-radius:10px;flex-direction:column;padding:10px;font-size:.72rem;display:flex}.preview-stats strong{font-family:var(--font-display);color:var(--text);font-size:1.05rem;font-weight:600}.preview-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.preview-intro{background:radial-gradient(ellipse at 20% 0%, #e08b6f66, transparent 60%), var(--ink);color:var(--on-ink);border-radius:10px;align-items:center;gap:10px;padding:18px 12px;display:flex}.preview-title-card{font-family:var(--font-display);font-size:1.1rem;font-style:italic}.preview-chapter{text-align:left;width:100%;font:inherit;color:inherit;border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:10px;gap:10px;padding:10px;transition:border-color .15s;display:flex}.preview-chapter:hover{border-color:var(--accent)}.preview-time{color:var(--muted);min-width:34px;padding-top:2px;font-family:ui-monospace,Menlo,monospace;font-size:.72rem}.preview-intro .preview-time{color:#f6f0e799}.preview-chapter-body{flex-direction:column;gap:4px;min-width:0;display:flex}.preview-chapter-body strong{font-family:var(--font-display);font-weight:500}.preview-narration{font-family:var(--font-display);color:var(--muted);font-size:.85rem}.preview-strip{flex-wrap:wrap;align-items:center;gap:3px;display:flex}.preview-strip img{object-fit:cover;border-radius:4px;width:30px;height:30px}.session-card{gap:0;padding:0;overflow:hidden}.session-card .cover{aspect-ratio:16/8}.session-card-body{flex-direction:column;gap:10px;padding:16px 18px 18px;display:flex}.session-card h2 a{color:inherit;text-decoration:none}.session-card h2 a:hover{color:var(--accent)}@media (width<=1100px){.studio{grid-template-columns:260px minmax(0,1fr)}.studio-preview{display:none}}@media (width<=900px){.auth-split{grid-template-columns:1fr}.auth-aside{display:none}.event-hero{grid-template-columns:1fr}.event-hero .cover{aspect-ratio:16/9;order:-1}.event-hero-text{padding:24px}}@media (width<=760px){.page{padding:24px 16px 48px}.topbar{padding:10px 16px}.brand-name{display:none}.viewer{grid-template-columns:1fr}.studio-shell{height:auto;min-height:100vh}.studio{grid-template-columns:1fr}.studio-pool{border-right:0;border-bottom:1px solid var(--border);max-height:45vh}.studio-timeline{padding:16px}.pool-grid{grid-template-columns:repeat(4,1fr)}.studio-header-actions .save-state{display:none}.photo-grid{grid-template-columns:repeat(auto-fill,minmax(105px,1fr));gap:6px}.selection-bar{border-radius:var(--radius)}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.transition-select{cursor:pointer;align-items:center;gap:6px;display:inline-flex;position:relative}.transition-select select{opacity:0;cursor:pointer;background:0 0;border:0;width:100%;height:100%;padding:0;position:absolute;inset:0}.transition-select.disabled select{cursor:default}.transition-select.badge{color:#fff;background:var(--accent);border-radius:999px;justify-content:center;min-width:26px;height:22px;padding:0 6px;font-size:.75rem;font-weight:700;position:absolute;bottom:4px;left:4px;box-shadow:0 1px 3px #0000004d}.transition-select.badge.inherited{background:#0000008c}.transition-select.inline{border:1px solid var(--border-strong);background:var(--surface);border-radius:999px;padding:6px 14px;font-size:.88rem;font-weight:500}.transition-select.inline:hover:not(.disabled){border-color:var(--accent)}.transition-select.inline:after{content:"▾";color:var(--muted);font-size:.7rem}.transition-glyph{font-family:system-ui,sans-serif}.transition-select.inline .transition-glyph{color:var(--accent)}.preview-item{align-items:stretch;gap:6px;display:flex}.preview-item .preview-chapter{flex:1;min-width:0}.preview-play{border:1px solid var(--border);background:var(--surface);width:30px;color:var(--accent);cursor:pointer;border-radius:10px;flex-shrink:0;font-size:.75rem}.preview-play:hover{background:var(--accent);color:var(--accent-contrast);border-color:var(--accent)}.slideshow{z-index:100;color:#f6f0e7;background:#000;outline:none;animation:.3s ease-out slideshow-in;position:fixed;inset:0;overflow:hidden}@keyframes slideshow-in{0%{opacity:0}}.slideshow.idle{cursor:none}.slideshow-stage{position:absolute;inset:0}.slide{animation-duration:var(--transition);animation-timing-function:cubic-bezier(.4,0,.2,1);animation-fill-mode:both;position:absolute;inset:0;overflow:hidden}.slide-card{text-align:center;background:radial-gradient(at 30% 20%,#e08b6f47,#0000 60%),radial-gradient(at 80% 90%,#cfae7438,#0000 55%),#120e0c;flex-direction:column;justify-content:center;align-items:center;gap:18px;padding:8vh 10vw;display:flex}.slide-card h1,.slide-card h2{font-family:var(--font-display);font-weight:400;line-height:1.05;animation:1.2s cubic-bezier(.2,.7,.2,1) .2s both rise}.slide-card h1{font-size:clamp(2.5rem,7vw,6.5rem);font-style:italic}.slide-card h2{font-size:clamp(2rem,5.5vw,5rem)}.slide-eyebrow{letter-spacing:.3em;text-transform:uppercase;color:#cfae74;font-size:clamp(.7rem,1.1vw,.95rem);font-weight:600;animation:1s cubic-bezier(.2,.7,.2,1) both rise}.slide-narration{max-width:900px;font-family:var(--font-display);color:#f6f0e7d1;font-size:clamp(1.1rem,2.2vw,1.9rem);font-style:italic;animation:1.2s cubic-bezier(.2,.7,.2,1) .6s both rise}@keyframes rise{0%{opacity:0;transform:translateY(18px)}}.slide-photo{background:#000}.slide-backdrop{object-fit:cover;filter:blur(40px)brightness(.45)saturate(1.2);width:calc(100% + 80px);height:calc(100% + 80px);position:absolute;inset:-40px}.slide-image{object-fit:contain;width:100%;height:100%;animation-duration:var(--duration);animation-timing-function:linear;animation-fill-mode:both;position:absolute;inset:0}.kb-0{animation-name:kb-0}.kb-1{animation-name:kb-1}.kb-2{animation-name:kb-2}.kb-3{animation-name:kb-3}@keyframes kb-0{0%{transform:scale(1)}to{transform:scale(1.08)translate(1.5%,1%)}}@keyframes kb-1{0%{transform:scale(1.08)translate(-1.5%)}to{transform:scale(1)}}@keyframes kb-2{0%{transform:scale(1.02)translateY(1.5%)}to{transform:scale(1.1)translate(-1%,-1%)}}@keyframes kb-3{0%{transform:scale(1.1)translate(1%,-1%)}to{transform:scale(1.02)}}.slide-caption{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);max-width:min(80vw,900px);font-family:var(--font-display);text-align:center;background:#00000073;border-radius:999px;padding:10px 22px;font-size:clamp(1rem,1.8vw,1.5rem);animation:.9s ease-out .5s both rise;position:absolute;bottom:13vh;left:50%;transform:translate(-50%)}.slide-caption span{color:#f6f0e7a6}.enter-fade{animation-name:enter-fade}@keyframes enter-fade{0%{opacity:0}}.enter-fadeBlack{animation-name:enter-fadeBlack}@keyframes enter-fadeBlack{0%,45%{opacity:0}}.exit-fadeBlack{animation-name:exit-fadeBlack}@keyframes exit-fadeBlack{to{opacity:0}}.enter-slide{animation-name:enter-slide}@keyframes enter-slide{0%{transform:translate(100%)}}.exit-slide{animation-name:exit-slide}@keyframes exit-slide{to{filter:brightness(.5);transform:translate(-30%)}}.enter-zoom{animation-name:enter-zoom}@keyframes enter-zoom{0%{opacity:0;transform:scale(1.35)}}.enter-wipe{animation-name:enter-wipe}@keyframes enter-wipe{0%{clip-path:inset(0 100% 0 0)}}.slideshow.paused .slide,.slideshow.paused .slide *{animation-play-state:paused!important}.slideshow-top,.slideshow-controls{z-index:2;transition:opacity .3s;position:absolute;left:0;right:0}.slideshow-top{background:linear-gradient(#0000008c,#0000);justify-content:space-between;align-items:center;padding:16px 20px;display:flex;top:0}.slideshow-where{color:#f6f0e7cc;font-size:.9rem}.slideshow-controls{background:linear-gradient(#0000,#000000b3);padding:28px 20px 16px;bottom:0}.slideshow.idle .slideshow-top,.slideshow.idle .slideshow-controls{opacity:0}.slideshow-track{cursor:pointer;background:#ffffff38;border-radius:999px;height:6px;margin-bottom:12px;position:relative}.slideshow-track:hover{height:8px;margin-top:-2px}.slideshow-progress{border-radius:inherit;background:#e08b6f;height:100%}.slideshow-marker{background:#f6f0e7;border-radius:2px;width:3px;height:calc(100% + 6px);position:absolute;top:-3px;transform:translate(-1px)}.slideshow-buttons{align-items:center;gap:6px;display:flex}.slideshow-spacer{flex:1}.slideshow-icon{color:#f6f0e7;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;min-width:40px;height:40px;font-size:1rem;display:grid}.slideshow-icon:hover{background:#ffffff24}.slideshow-icon.play{color:#120e0c;background:#f6f0e7;min-width:48px;height:48px;font-size:.95rem}.slideshow-icon.play:hover{background:#fff}.slideshow-clock{font-variant-numeric:tabular-nums;color:#f6f0e7d9;margin-left:8px;font-size:.9rem}.slideshow-pill{color:#f6f0e7;font:inherit;cursor:pointer;background:0 0;border:1px solid #ffffff59;border-radius:999px;padding:6px 14px;font-size:.85rem}.slideshow-pill.active{background:#ffffff2e}.slideshow-end{z-index:1;font-family:var(--font-display);background:#000000a6;flex-direction:column;justify-content:center;align-items:center;gap:16px;font-size:1.8rem;animation:.4s ease-out slideshow-in;display:flex;position:absolute;inset:0}.home{gap:40px}.home-section{flex-direction:column;gap:16px;display:flex}.section-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;display:flex}.section-header h2{font-size:1.5rem}.section-header p{margin-top:4px}.section-header>select{width:auto;min-width:200px}.rail{scroll-snap-type:x proximity;grid-auto-columns:minmax(300px,340px);grid-auto-flow:column;gap:20px;margin:-4px -4px 0;padding:4px 4px 16px;display:grid;overflow-x:auto}.rail>*{scroll-snap-align:start}.montage-card{flex-direction:column;padding:0;transition:box-shadow .2s,transform .2s;display:flex;overflow:hidden}.montage-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px)}.montage-cover{display:block;position:relative}.montage-cover .cover{aspect-ratio:16/9}.montage-cover:after{content:"";background:linear-gradient(#0000 50%,#00000059);position:absolute;inset:0}.montage-play{z-index:1;width:56px;height:56px;color:var(--accent);opacity:0;background:#ffffffeb;border-radius:50%;place-items:center;transition:opacity .2s,transform .2s;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(.9);box-shadow:0 8px 24px #00000040}.montage-play svg{width:22px;height:22px;margin-left:3px}.montage-card:hover .montage-play,.montage-cover:focus-visible .montage-play{opacity:1;transform:translate(-50%,-50%)scale(1)}.montage-body{flex-direction:column;flex:1;gap:8px;padding:16px 18px 18px;display:flex}.montage-body h3{font-size:1.25rem}.montage-body h3 a{color:inherit;text-decoration:none}.montage-body h3 a:hover{color:var(--accent)}.montage-body .row{margin-top:auto;padding-top:4px}.recent-photos{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;display:grid}.recent-photo{aspect-ratio:1;background:var(--surface-2);border-radius:12px;position:relative;overflow:hidden}.recent-photo img{object-fit:cover;width:100%;height:100%;transition:transform .4s;display:block}.recent-photo:hover img{transform:scale(1.06)}.recent-photo-meta{color:#fff;opacity:0;background:linear-gradient(#0000,#000000a6);flex-direction:column;padding:24px 10px 8px;font-size:.72rem;line-height:1.3;transition:opacity .2s;display:flex;position:absolute;inset:auto 0 0}.recent-photo-meta span:first-child{white-space:nowrap;text-overflow:ellipsis;font-weight:600;overflow:hidden}.recent-photo:hover .recent-photo-meta,.recent-photo:focus-visible .recent-photo-meta{opacity:1}.event-card{flex-direction:column;transition:box-shadow .2s;display:flex}.event-card:hover{box-shadow:var(--shadow-lg)}.event-card-cover{text-decoration:none;display:block;overflow:hidden}.event-card h2 a{color:inherit;text-decoration:none}.event-card h2 a:hover{color:var(--accent)}.event-actions{grid-template-columns:1fr 1fr;gap:10px;margin-top:10px;display:grid}.event-action{border:1px solid var(--border);background:var(--surface-2);color:inherit;border-radius:12px;align-items:center;gap:10px;padding:12px;text-decoration:none;transition:background .15s,border-color .15s,color .15s;display:flex}.event-action>svg{width:22px;height:22px;color:var(--accent);flex-shrink:0}.event-action span{flex-direction:column;line-height:1.25;display:flex}.event-action strong{font-size:.95rem}.event-action small{color:var(--muted);font-size:.78rem}.event-action:hover{background:var(--accent);border-color:var(--accent);color:var(--accent-contrast)}.event-action:hover>svg,.event-action:hover small{color:inherit}.event-settings{color:var(--muted);align-self:flex-start;align-items:center;gap:6px;margin-top:4px;font-size:.82rem;text-decoration:none;display:inline-flex}.event-settings:hover{color:var(--accent)}.welcome{text-align:center;background:radial-gradient(ellipse at 15% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 55%), var(--surface);flex-direction:column;align-items:center;gap:28px;padding:48px 32px;display:flex}.welcome h2{max-width:560px;font-size:1.8rem}.welcome-steps{grid-template-columns:repeat(3,minmax(0,220px));gap:24px;margin:0;padding:0;list-style:none;display:grid}.welcome-steps li{flex-direction:column;align-items:center;gap:6px;display:flex}.welcome-icon{background:var(--accent-soft);width:52px;height:52px;color:var(--accent);border-radius:50%;place-items:center;margin-bottom:4px;display:grid}.welcome-icon svg{width:24px;height:24px}@media (width<=900px){.recent-photos{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width<=760px){.home{gap:32px}.topnav{gap:0}.topnav a{padding:7px 10px}.user-name,.logout-label,.nav-long{display:none}.nav-short{display:inline}.topnav .user-link{padding:4px}.recent-photos{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.rail{grid-auto-columns:82%}.welcome-steps{grid-template-columns:1fr}}.audit-list{margin:0;padding:0;list-style:none}.audit-day{z-index:1;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);background:var(--surface);border-bottom:1px solid var(--border);padding:14px 0 6px;font-size:.72rem;font-weight:700;position:sticky;top:64px}.audit-row{border-bottom:1px solid var(--border);grid-template-columns:48px 190px minmax(0,1fr) auto;align-items:center;gap:12px;padding:9px 4px;font-size:.88rem;display:grid}.audit-item.alert-row .audit-row{background:color-mix(in srgb, var(--danger-soft) 55%, transparent)}.audit-time{font-variant-numeric:tabular-nums;color:var(--muted)}.audit-badge{white-space:nowrap;text-overflow:ellipsis;border-radius:999px;justify-self:start;max-width:100%;padding:3px 10px;font-size:.75rem;font-weight:600;overflow:hidden}.cat-security{background:var(--surface-3);color:var(--text)}.cat-users{color:#4b3c9a;background:#e7e3f7}.cat-events{background:var(--warn-soft);color:var(--warn)}.cat-photos{background:var(--accent-soft);color:var(--accent)}.cat-montages{background:var(--success-soft);color:var(--success)}@media (prefers-color-scheme:dark){.cat-users{color:#b9aef0;background:#2b2645}}.audit-text{overflow-wrap:anywhere;min-width:0}@media (width<=760px){.audit-row{grid-template-columns:44px minmax(0,1fr)}.audit-badge{grid-column:2}.audit-text{grid-column:1/-1}.audit-ip{display:none}}.stats .page-header>select{width:auto;min-width:240px}.stat-tiles{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;display:grid}.stat-tile{border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);flex-direction:column;gap:2px;padding:18px;display:flex}.stat-tile-value{font-family:var(--font-display);font-variant-numeric:tabular-nums;font-size:2rem;line-height:1.1}.stat-tile-label{color:var(--muted);font-size:.85rem}.stat-tile-hint{color:var(--muted);font-size:.75rem}.stats-grid{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:start;gap:20px;display:grid}.podium{justify-content:center;align-items:flex-end;gap:12px;padding-top:8px;display:flex}.podium-step{flex-direction:column;align-items:center;width:150px;display:flex}.podium-person{text-align:center;flex-direction:column;align-items:center;gap:4px;padding-bottom:10px;display:flex}.podium-person strong{text-overflow:ellipsis;white-space:nowrap;max-width:140px;overflow:hidden}.podium-block{width:100%;font-family:var(--font-display);color:var(--muted);background:var(--surface-2);border:1px solid var(--border);border-radius:10px 10px 4px 4px;place-items:center;font-size:1.6rem;display:grid}.rank-1 .podium-block{background:var(--accent-soft);height:96px;color:var(--accent);border-color:color-mix(in srgb, var(--accent) 30%, transparent)}.rank-2 .podium-block{height:68px}.rank-3 .podium-block{height:48px}.rank-1 .avatar{box-shadow:0 0 0 3px var(--surface), 0 0 0 5px var(--gold)}.rank-list{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.rank-row{border-bottom:1px solid var(--border);grid-template-columns:22px 28px minmax(0,1.2fr) minmax(60px,1fr) 56px;align-items:center;gap:10px;padding:9px 0;display:grid}.rank-row:last-child{border-bottom:0}.rank-pos{font-variant-numeric:tabular-nums;color:var(--muted);text-align:right;font-size:.85rem}.rank-name{flex-direction:column;min-width:0;display:flex}.rank-name strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.rank-meter{background:var(--chart-track);border-radius:4px;height:8px;overflow:hidden}.rank-meter span{background:var(--chart-1);border-radius:0 4px 4px 0;height:100%;display:block}.rank-value{font-variant-numeric:tabular-nums;flex-direction:column;align-items:flex-end;line-height:1.2;display:flex}.bar-chart{grid-template-rows:160px auto;grid-template-columns:auto minmax(0,1fr);column-gap:8px;display:grid;position:relative}.bar-chart-max{font-variant-numeric:tabular-nums;align-self:start}.bar-chart-plot{border-bottom:1px solid var(--border-strong);background:linear-gradient(var(--border) 1px, transparent 1px) 0 0 / 100% 100% no-repeat;align-items:stretch;gap:2px;display:flex;position:relative}.bar{cursor:default;background:0 0;border:0;flex:1;align-items:flex-end;min-width:0;padding:0;display:flex;position:relative}.bar:focus-visible{outline:2px solid var(--accent);outline-offset:0}.bar-fill{background:var(--chart-1);border-radius:4px 4px 0 0;width:100%;max-width:22px;min-height:3px;margin:0 auto;transition:filter .15s}.bar.active .bar-fill{filter:brightness(1.15)}.bar.active{background:color-mix(in srgb, var(--chart-1) 10%, transparent)}.bar-chart-axis{grid-column:2;justify-content:space-between;padding-top:6px;display:flex}.chart-tooltip{z-index:2;background:var(--ink);color:var(--on-ink);white-space:nowrap;pointer-events:none;box-shadow:var(--shadow);border-radius:8px;flex-direction:column;align-items:center;padding:6px 12px;font-size:.82rem;display:flex;position:absolute;transform:translate(-50%)}.chart-tooltip span{opacity:.75;font-size:.75rem}.data-table summary{cursor:pointer;color:var(--muted);font-size:.85rem}.data-table .table{margin-top:8px}.organizer-stats{gap:14px;display:flex}.organizer-stats span{font-variant-numeric:tabular-nums;align-items:center;gap:4px;display:inline-flex}.top-photo-rank{background:var(--surface);width:26px;height:26px;color:var(--text);font-family:var(--font-display);box-shadow:var(--shadow-sm);border-radius:50%;place-items:center;font-weight:600;display:grid;position:absolute;top:8px;left:8px}.top-photo-likes{color:#c2362d;background:#fff;border-radius:999px;align-items:center;gap:4px;padding:3px 9px;font-size:.8rem;font-weight:700;display:inline-flex;position:absolute;bottom:8px;right:8px}.top-photo-likes svg{width:13px;height:13px}@media (width<=1000px){.stat-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}.stats-grid{grid-template-columns:minmax(0,1fr)}}@media (width<=760px){.stat-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.podium-step{width:30%}.rank-row{grid-template-columns:18px 28px minmax(0,1fr) 48px}.rank-meter{display:none}.stats .page-header>select{width:100%}.topnav a{padding:7px 8px;font-size:.85rem}}.preset-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.preset{color:inherit;font:inherit;cursor:pointer;background:0 0;border:2px solid #0000;border-radius:14px;flex-direction:column;align-items:center;gap:6px;padding:10px 4px;font-size:.8rem;transition:background .15s,border-color .15s,transform .15s;display:flex}.preset img{border-radius:50%;width:64px;height:64px;transition:transform .15s}.preset:hover:not(:disabled){background:var(--surface-2)}.preset:hover:not(:disabled) img{transform:scale(1.06)}.preset.active{border-color:var(--accent);background:var(--accent-soft)}.preset-actions{border-top:1px solid var(--border);justify-content:center;padding-top:4px}@media (width<=480px){.preset-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.preset img{width:56px;height:56px}}.photo-days{flex-direction:column;gap:28px;display:flex}.photo-day{flex-direction:column;gap:10px;display:flex}.photo-day-header{z-index:4;background:color-mix(in srgb, var(--bg) 92%, transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);align-items:baseline;gap:12px;padding:8px 0;display:flex;position:sticky;top:62px}.photo-day-header h3{font-size:1.05rem}.day-check{color:inherit;font-family:var(--font-display);cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;padding:0;font-size:1.05rem;font-weight:500;display:inline-flex}.day-check span{border:2px solid var(--border-strong);width:22px;height:22px;font-family:var(--font);color:var(--accent-contrast);border-radius:50%;place-items:center;font-size:.75rem;font-weight:700;display:grid}.day-check.checked span{background:var(--accent);border-color:var(--accent)}.photo-tile.skeleton{background:linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 50%, var(--surface-2) 75%) 0 0 / 200% 100%;animation:1.4s ease-in-out infinite shimmer}@keyframes shimmer{to{background-position:-200% 0}}.scroll-sentinel{height:1px}.gallery-end{text-align:center;padding:12px 0 24px}.back-to-top{z-index:30;border:1px solid var(--border);background:var(--surface);width:46px;height:46px;color:var(--text);box-shadow:var(--shadow-lg);cursor:pointer;border-radius:50%;place-items:center;font-size:1.2rem;animation:.2s ease-out pop;display:grid;position:fixed;bottom:24px;right:24px}.back-to-top:hover{background:var(--accent);border-color:var(--accent);color:var(--accent-contrast)}.duplicates-banner{border-radius:var(--radius);background:color-mix(in srgb, #ffc400 14%, var(--surface));border:1px solid #ffc4008c;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 16px;display:flex}.duplicates-banner>span:nth-child(2){flex:1;min-width:220px}.duplicates-banner.active{border-color:var(--accent);background:var(--accent-soft)}.duplicates-icon{color:#172b4d;background:#ffc400;border-radius:50%;place-items:center;width:32px;height:32px;font-weight:700;display:grid}.duplicate-panel{border-radius:var(--radius-sm);background:color-mix(in srgb, #ffc400 12%, var(--surface));border:1px solid #ffc4008c;flex-direction:column;gap:10px;padding:14px;display:flex}.duplicate-compare{grid-template-columns:1fr 1fr;gap:8px;display:grid}.duplicate-compare figure{margin:0}.duplicate-compare img{aspect-ratio:1;object-fit:cover;border-radius:8px;width:100%;display:block}.duplicate-compare figcaption{color:var(--muted);text-align:center;margin-top:4px;font-size:.75rem}.daily-link-note{border-radius:var(--radius-sm);background:var(--surface-2);border-left:3px solid var(--gold);color:var(--muted);padding:10px 14px;font-size:.85rem}.daily-link-note strong{color:var(--text)}.event-actions>.event-action:nth-child(3){grid-column:1/-1}.page:has(>.chat-layout){padding-top:20px;padding-bottom:20px}.chat-layout{grid-template-columns:280px minmax(0,1fr);gap:16px;height:calc(100dvh - 101px);min-height:420px;display:grid}.chat-sidebar{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);flex-direction:column;min-height:0;display:flex;overflow:hidden}.chat-sidebar-header{border-bottom:1px solid var(--border);align-items:center;gap:8px;padding:12px;display:flex}.chat-sidebar-header h2{flex:1;font-size:1.1rem}.chat-channels{flex-direction:column;gap:2px;padding:8px;display:flex;overflow-y:auto}.chat-channel{color:inherit;border-radius:12px;align-items:center;gap:10px;padding:8px 10px;text-decoration:none;display:flex}.chat-channel:hover{background:var(--surface-2)}.chat-channel.active{background:var(--accent-soft)}.chat-channel-icon{background:var(--accent-soft);width:38px;height:38px;color:var(--accent);border-radius:50%;flex-shrink:0;place-items:center;font-weight:700;display:grid}.chat-channel-icon svg{width:18px;height:18px}.chat-channel.active .chat-channel-icon{background:var(--accent);color:var(--accent-contrast)}.chat-channel-icon.group{background:var(--surface-2);color:var(--text);border:1px solid var(--border)}.chat-channel-text{flex-direction:column;flex:1;min-width:0;display:flex}.chat-channel-text strong,.chat-channel-text small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chat-channel-text small{color:var(--muted)}.chat-unread{background:var(--accent);border-radius:50%;flex-shrink:0;width:10px;height:10px}.chat-sidebar-hint{padding:4px 18px 16px}.chat-missing{text-align:center;place-content:center;justify-items:center;gap:12px;padding:24px;display:grid!important}.chat-notice{background:var(--warn-soft);color:var(--warn);justify-content:space-between;align-items:center;gap:8px;padding:6px 8px 6px 16px;font-size:.88rem;display:flex}.people-picker{flex-direction:column;gap:8px;display:flex}.people-picker ul,.group-members{max-height:260px;margin:0;padding:0;list-style:none;overflow-y:auto}.people-picker label{cursor:pointer;border-radius:10px;align-items:center;gap:10px;padding:6px 8px;display:flex}.people-picker label:hover,.people-picker label.selected{background:var(--surface-2)}.group-members li{align-items:center;gap:10px;padding:6px 0;display:flex}.group-member-name{flex:1;align-items:center;gap:8px;display:flex}.group-danger{border-top:1px solid var(--border);justify-content:space-between;padding-top:12px}.chat-page{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);min-height:0;box-shadow:var(--shadow);flex-direction:column;display:flex;position:relative;overflow:hidden}.chat-header{border-bottom:1px solid var(--border);background:var(--surface);align-items:center;gap:12px;padding:12px 16px;display:flex}.chat-title{flex-direction:column;flex:1;min-width:0;display:flex}.chat-title h1{font-size:1.25rem;line-height:1.2}.chat-title .small{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.chat-status{color:var(--success)}.chat-status.offline{color:var(--warn)}.chat-online{display:flex}.chat-online .avatar{box-shadow:0 0 0 2px var(--surface);margin-left:-6px}.chat-scroll{overscroll-behavior:contain;background:radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--border) 70%, transparent) 1px, transparent 0) 0 0 / 18px 18px, var(--bg);flex:1;padding:16px 16px 8px;overflow-y:auto}.chat-older{margin:0 auto 12px;display:block}.chat-empty{text-align:center;max-width:380px;color:var(--muted);place-items:center;gap:8px;margin:15% auto 0;display:grid}.chat-empty>span{font-size:2.4rem}.chat-day{justify-content:center;margin:14px 0 10px;display:flex}.chat-day span{background:var(--surface);border:1px solid var(--border);color:var(--muted);border-radius:999px;padding:4px 12px;font-size:.78rem;font-weight:600}.chat-row{align-items:flex-end;gap:8px;margin-top:10px;display:flex}.chat-row.grouped{margin-top:3px}.chat-row.mine{justify-content:flex-end}.chat-avatar{flex-shrink:0;align-self:flex-start;width:32px}.chat-bubble-wrap{flex-direction:column;max-width:min(72%,520px);display:flex;position:relative}.chat-row.mine .chat-bubble-wrap{align-items:flex-end}.chat-bubble{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);overflow-wrap:anywhere;border-radius:16px;padding:7px 12px 8px;position:relative}.chat-row:not(.mine):not(.grouped) .chat-bubble{border-top-left-radius:4px}.chat-row.mine .chat-bubble{background:var(--accent-soft);border-color:color-mix(in srgb, var(--accent) 22%, var(--border))}.chat-row.mine:not(.grouped) .chat-bubble{border-top-right-radius:4px}.chat-bubble.deleted{color:var(--muted);background:var(--surface)}.chat-bubble.has-photo{padding:4px 4px 8px}.chat-bubble.has-photo .chat-author,.chat-bubble.has-photo .chat-text{padding:0 8px}.chat-author{color:var(--accent);margin-bottom:1px;font-size:.8rem;font-weight:650;display:block}.chat-text{white-space:pre-wrap;margin:0;display:inline}.chat-time{float:right;color:var(--muted);font-variant-numeric:tabular-nums;margin:6px 0 -4px 10px;font-size:.7rem}.chat-bubble.has-photo .chat-time{margin-right:8px}.chat-photo{cursor:zoom-in;background:0 0;border:0;margin-bottom:4px;padding:0;display:block}.chat-photo img{object-fit:cover;background:var(--surface-2);border-radius:12px;width:min(280px,60vw);max-height:320px;display:block}.chat-reactions{z-index:1;gap:4px;margin-top:-6px;padding:0 8px;display:flex;position:relative}.chat-reaction{border:1px solid var(--border);background:var(--surface);cursor:pointer;box-shadow:var(--shadow-sm);border-radius:999px;align-items:center;gap:3px;padding:1px 7px;font-size:.85rem;display:inline-flex}.chat-reaction span{color:var(--muted);font-size:.75rem}.chat-reaction.active{border-color:var(--accent);background:var(--accent-soft)}.chat-actions{opacity:0;gap:2px;transition:opacity .15s;display:flex;position:absolute;top:0}.chat-row:not(.mine) .chat-actions{padding-left:4px;left:100%}.chat-row.mine .chat-actions{flex-direction:row-reverse;padding-right:4px;right:100%}.chat-row:hover .chat-actions,.chat-actions.open,.chat-actions:focus-within{opacity:1}.chat-actions .btn-icon{color:var(--muted)}.chat-picker{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-lg);z-index:5;border-radius:999px;gap:2px;padding:4px;display:flex;position:absolute;bottom:calc(100% + 4px)}.chat-row.mine .chat-picker{right:0}.chat-picker button{cursor:pointer;background:0 0;border:0;border-radius:50%;width:36px;height:36px;font-size:1.3rem;transition:transform .12s}.chat-picker button:hover{transform:scale(1.2)}.chat-picker button.active{background:var(--accent-soft)}.chat-typing{min-height:28px;color:var(--muted);align-items:center;gap:8px;padding:6px 4px 0;font-size:.85rem;font-style:italic;display:flex}.typing-dots{background:var(--surface);border:1px solid var(--border);border-radius:999px;gap:3px;padding:7px 10px;display:inline-flex}.typing-dots i{background:var(--muted);border-radius:50%;width:6px;height:6px;animation:1.2s ease-in-out infinite typing}.typing-dots i:nth-child(2){animation-delay:.15s}.typing-dots i:nth-child(3){animation-delay:.3s}@keyframes typing{0%,60%,to{opacity:.5;transform:translateY(0)}30%{opacity:1;transform:translateY(-4px)}}.chat-new-pill{background:var(--accent);color:var(--accent-contrast);box-shadow:var(--shadow-lg);cursor:pointer;z-index:3;border:0;border-radius:999px;align-items:center;gap:6px;padding:7px 14px;font-size:.85rem;font-weight:600;display:inline-flex;position:absolute;bottom:84px;left:50%;transform:translate(-50%)}.chat-composer{border-top:1px solid var(--border);background:var(--surface);padding:10px 12px}.chat-composer-row{align-items:flex-end;gap:8px;display:flex}.chat-composer textarea{resize:none;border:1px solid var(--border-strong);background:var(--bg);min-height:42px;max-height:160px;color:var(--text);font:inherit;border-radius:21px;flex:1;padding:10px 14px;line-height:1.4}.chat-composer textarea:focus{outline:2px solid color-mix(in srgb, var(--accent) 40%, transparent);border-color:var(--accent)}.chat-composer .btn-icon{flex-shrink:0;width:42px;height:42px}.chat-send svg{width:18px;height:18px}.chat-composer-error{color:var(--danger);margin:0 0 8px;font-size:.85rem}.chat-attachment{background:var(--surface-2);border-radius:12px;align-items:center;gap:10px;margin-bottom:8px;padding:6px;display:flex}.chat-attachment img{object-fit:cover;border-radius:8px;width:48px;height:48px}.chat-attachment span{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.chat-picker-grid{grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:6px;display:grid}.chat-picker-grid button{background:var(--surface-2);cursor:pointer;aspect-ratio:1;border:2px solid #0000;border-radius:10px;padding:0;overflow:hidden}.chat-picker-grid button:hover,.chat-picker-grid button:focus-visible{border-color:var(--accent)}.chat-picker-grid img{object-fit:cover;width:100%;height:100%;display:block}.chat-photo-view{justify-items:center;gap:12px;display:grid}.chat-photo-view img{border-radius:var(--radius);max-width:100%;max-height:70vh}@media (hover:none){.chat-actions{opacity:1;position:static;padding:2px 0 0!important}}@media (width<=760px){.page:has(>.chat-layout){padding:0}.chat-layout{grid-template-rows:auto minmax(0,1fr);grid-template-columns:1fr;gap:0;height:calc(100dvh - 57px)}.chat-sidebar{border-width:0 0 1px;border-radius:0}.chat-sidebar-header{border:0;padding:6px 8px}.chat-channels{flex-direction:row;padding:0 8px 8px;overflow-x:auto}.chat-channel{border:1px solid var(--border);border-radius:999px;flex-shrink:0;padding:4px 12px 4px 4px}.chat-channel-icon{width:28px;height:28px}.chat-channel-text small,.chat-sidebar-hint{display:none}.chat-page{border:0;border-radius:0}.chat-bubble-wrap{max-width:82%}}.chat-composer{position:relative}.chat-composer .btn-icon.active{color:var(--accent);background:var(--accent-soft)}.emoji-picker{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);width:min(360px,100% - 24px);height:340px;box-shadow:var(--shadow-lg);z-index:10;flex-direction:column;animation:.15s ease-out pop;display:flex;position:absolute;bottom:calc(100% + 8px);left:12px;overflow:hidden}.emoji-tabs{border-bottom:1px solid var(--border);gap:2px;padding:6px;display:flex;overflow-x:auto}.emoji-tabs button{cursor:pointer;opacity:.55;filter:grayscale(.6);background:0 0;border:0;border-radius:8px;flex:1;min-width:34px;height:34px;font-size:1.15rem;transition:opacity .15s,filter .15s}.emoji-tabs button:hover,.emoji-tabs button.active{opacity:1;filter:none}.emoji-tabs button.active{background:var(--accent-soft)}.emoji-grid{overscroll-behavior:contain;flex:1;padding:0 6px 8px;overflow-y:auto}.emoji-grid h4{background:var(--surface);color:var(--muted);text-transform:uppercase;letter-spacing:.04em;margin:0;padding:8px 4px 4px;font-size:.75rem;font-weight:600;position:sticky;top:0}.emoji-grid section>div{grid-template-columns:repeat(auto-fill,minmax(38px,1fr));display:grid}.emoji-grid section>div button{cursor:pointer;background:0 0;border:0;border-radius:8px;height:38px;font-size:1.45rem;line-height:1}.emoji-grid section>div button:hover,.emoji-grid section>div button:focus-visible{background:var(--surface-2)}@media (width<=760px){.emoji-picker{width:auto;height:300px;left:8px;right:8px}}.chat-channel-icon.public{background:var(--success-soft);color:var(--success);border-color:color-mix(in srgb, var(--success) 30%, var(--border))}.visibility-choice{grid-template-columns:1fr 1fr;gap:10px;display:grid}.visibility-choice label{border:1px solid var(--border);cursor:pointer;border-radius:12px;align-items:center;gap:10px;padding:10px 12px;transition:border-color .15s,background .15s;display:flex;position:relative}.visibility-choice label.selected{border-color:var(--accent);background:var(--accent-soft)}.visibility-choice input{opacity:0;pointer-events:none;width:100%;height:100%;margin:0;position:absolute;inset:0}.visibility-choice label:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}.visibility-choice label>span:first-of-type{font-size:1.4rem}.visibility-choice strong,.visibility-choice small{display:block}.visibility-choice small{color:var(--muted);font-size:.78rem}@media (width<=480px){.visibility-choice{grid-template-columns:1fr}}.trash-events{gap:12px;margin:0;padding:0;list-style:none;display:grid}.trash-event{flex-flow:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.trash-event h3{margin:2px 0 4px}.trash-photos{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:14px;display:grid}.trash-photo{margin:0;padding:0;overflow:hidden}.trash-photo img{aspect-ratio:4/3;object-fit:cover;filter:grayscale(.6);opacity:.85;background:var(--surface-2);width:100%;display:block}.trash-photo figcaption{flex-direction:column;gap:6px;padding:10px 12px 12px;display:flex}.home-trash-link{text-align:center;margin:8px 0 0}.home-trash-link a{align-items:center;gap:6px;text-decoration:none;display:inline-flex}.home-trash-link a:hover{color:var(--accent)}.text-danger.btn{color:var(--danger)}
