:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#241b20;background:#f2f3f5;font-synthesis:none;text-rendering:optimizeLegibility;--berry: #b53668;--berry-dark: #92264f;--blush: #fff4f7;--line: #e8e3e6;--muted: #776c72;--green: #247a4f;--danger: #b4233b}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{min-height:100dvh;background:#f2f3f5}button,input,textarea{font:inherit;letter-spacing:0}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}.app-shell{width:min(100%,480px);min-height:100dvh;margin:0 auto;background:#fff;padding-bottom:calc(92px + env(safe-area-inset-bottom));overflow-x:hidden}.brand-header{height:68px;padding:calc(10px + env(safe-area-inset-top)) 18px 10px;display:flex;align-items:center;gap:11px;border-bottom:1px solid var(--line)}.brand-mark{width:38px;height:38px;display:grid;place-items:center;color:#fff;background:var(--berry);border-radius:50% 50% 50% 8px;font-family:Georgia,serif;font-size:22px;font-style:italic}.brand-copy{display:grid;gap:2px;min-width:0}.brand-header strong{font-size:15px;line-height:1.15}.brand-header span{color:var(--muted);font-size:12px}.header-tool{width:38px;height:38px;margin-left:auto;display:grid;place-items:center;flex:0 0 auto;padding:0;border:0;border-radius:50%;color:var(--berry-dark);background:var(--blush)}.participant-row{display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:12px;padding:18px}.participant-row img,.avatar-fallback{width:48px;height:48px;border-radius:50%;object-fit:cover}.avatar-fallback{display:grid;place-items:center;color:#fff;background:var(--berry);font-weight:700}.participant-row div:nth-child(2){display:grid;gap:3px;min-width:0}.participant-row span{color:var(--muted);font-size:12px}.participant-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.max-badge{padding:4px 6px;border-radius:5px;background:#edf2ff;color:#315bd6;font-size:10px;font-weight:800}.period-line{padding:11px 18px;display:flex;justify-content:space-between;gap:12px;background:var(--blush);border-top:1px solid #f3dce5;border-bottom:1px solid #f3dce5;font-size:12px}.period-line span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.period-line strong{color:var(--berry-dark);white-space:nowrap}.form-section,.camera-section{padding:20px 18px;border-bottom:1px solid var(--line)}.form-section{display:grid;gap:10px}label{margin-top:4px;display:flex;align-items:baseline;justify-content:space-between;font-size:13px;font-weight:650}label b{color:var(--berry)}label small{color:var(--muted);font-size:11px;font-weight:500}.input-wrap{height:46px;display:flex;align-items:center;gap:9px;padding:0 12px;border:1px solid #dcd5d9;border-radius:8px}.input-wrap:focus-within{border-color:var(--berry);box-shadow:0 0 0 3px #f9e4ec}.input-wrap svg{color:var(--muted);flex:0 0 auto}input{width:100%;min-width:0;border:0;outline:0;color:#241b20;background:transparent}textarea{width:100%;min-height:104px;resize:vertical;padding:12px;border:1px solid #dcd5d9;border-radius:8px;outline:0;color:#241b20}textarea:focus{border-color:var(--berry);box-shadow:0 0 0 3px #f9e4ec}input::placeholder,textarea::placeholder{color:#aaa0a5}.fixed-caption{padding:11px 12px;display:grid;gap:3px;background:#f7f7f8;border-left:3px solid #c9c2c6;font-size:12px}.fixed-caption span{color:var(--muted)}.fixed-caption strong{font-weight:600}.vote-fact{display:flex;gap:10px;align-items:center;padding:12px 0 2px}.vote-fact>span{width:23px;height:23px;display:grid;place-items:center;border-radius:6px;color:#fff;background:var(--green)}.vote-fact div{display:grid;gap:2px}.vote-fact strong{font-size:13px}.vote-fact small{color:var(--muted);font-size:11px}.section-heading{min-height:30px;display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.section-heading>div{display:flex;align-items:baseline;gap:8px}.section-heading span{font-size:14px;font-weight:700}.section-heading strong{color:var(--muted);font-size:11px}.icon-button{width:34px;height:34px;display:grid;place-items:center;border:0;border-radius:50%;color:var(--muted);background:#f4f4f5}.camera-launch{width:100%;min-height:112px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:1px dashed #c9b8c0;border-radius:8px;color:var(--berry-dark);background:var(--blush);font-size:14px;font-weight:650;cursor:pointer}.camera-input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}.is-disabled{cursor:default;opacity:.55;pointer-events:none}.live-camera{position:relative;width:100%;aspect-ratio:3 / 4;overflow:hidden;border-radius:8px;background:#171216}.live-camera video{width:100%;height:100%;display:block;object-fit:cover}.camera-controls{position:absolute;inset:auto 0 0;height:86px;display:grid;place-items:center;background:#140c1073}.shutter{width:62px;height:62px;padding:4px;border:3px solid #fff;border-radius:50%;background:transparent}.shutter span{width:100%;height:100%;display:block;border-radius:50%;background:#fff}.shutter:active span{transform:scale(.88)}.photo-strip,.published-strip{display:grid;grid-auto-flow:column;grid-auto-columns:72px;gap:8px;margin-top:12px;overflow-x:auto;scrollbar-width:none}.photo-strip::-webkit-scrollbar,.published-strip::-webkit-scrollbar{display:none}.photo-strip figure{position:relative;width:72px;height:90px;margin:0}.photo-strip img,.published-strip img,.add-photo-tile{width:72px;height:90px;object-fit:cover;border-radius:7px}.photo-strip figure button{position:absolute;top:4px;right:4px;width:25px;height:25px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;color:#fff;background:#191115b8}.add-photo-tile{position:relative;display:grid;place-items:center;margin:0;border:1px dashed #c9b8c0;color:var(--berry);background:var(--blush);cursor:pointer}.field-error,.submit-error{display:flex;align-items:flex-start;gap:7px;color:var(--danger);font-size:12px;line-height:1.35}.submit-error{margin:14px 18px 0}.field-error svg,.submit-error svg{flex:0 0 auto}.bottom-action{position:fixed;z-index:10;left:50%;bottom:0;width:min(100%,480px);transform:translate(-50%);padding:12px 18px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fffffff5}.primary-button,.secondary-button{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:8px;font-weight:700}.primary-button{width:100%;border:0;color:#fff;background:var(--berry)}.primary-button:active{background:var(--berry-dark)}.secondary-button{width:100%;border:1px solid #d9d1d5;color:#3b3036;background:#fff}.centered,.state-block{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.centered{min-height:100dvh;padding:28px;color:var(--muted)}.centered h1,.state-block h1{margin:16px 0 7px;color:#241b20;font-size:22px;line-height:1.2}.centered p,.state-block p{max-width:330px;margin:0 0 22px;color:var(--muted);font-size:14px;line-height:1.5}.centered .primary-button{max-width:280px}.state-block{min-height:calc(100dvh - 68px);padding:34px 22px calc(34px + env(safe-area-inset-bottom))}.state-block .primary-button,.state-block .secondary-button{max-width:320px;margin-top:8px}.success-seal{width:62px;height:62px;display:grid;place-items:center;border-radius:50%;color:#fff;background:var(--green)}.error-state>svg{color:var(--danger)}.published-strip{width:100%;grid-auto-columns:90px;margin:2px 0 20px}.published-strip img{width:90px;height:112px}.spin{animation:spin 1s linear infinite}.admin-shell{padding-bottom:calc(28px + env(safe-area-inset-bottom))}.admin-topbar{min-height:68px;padding:calc(10px + env(safe-area-inset-top)) 18px 10px;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line)}.admin-topbar>div{display:grid;gap:2px}.admin-topbar>strong,.admin-topbar>div strong{font-size:16px}.admin-topbar>div span{color:var(--muted);font-size:11px}.admin-control-section{min-height:76px;padding:15px 18px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line)}.admin-control-section>div{display:grid;gap:4px}.admin-control-section strong{font-size:14px}.admin-control-section>div span{color:var(--muted);font-size:12px}.switch-control{position:relative;width:48px;height:28px;flex:0 0 auto;margin:0;display:block;cursor:pointer}.switch-control input{position:absolute;opacity:0;pointer-events:none}.switch-control>span{position:absolute;inset:0;border-radius:14px;background:#c9c4c7;transition:background .16s ease}.switch-control>span:after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #1e141940;transition:transform .16s ease}.switch-control input:checked+span{background:var(--green)}.switch-control input:checked+span:after{transform:translate(20px)}.switch-control input:focus-visible+span{outline:3px solid #d8e9df;outline-offset:2px}.admin-current{padding:18px;display:grid;gap:14px;border-bottom:1px solid #efdde4;background:var(--blush)}.admin-section-title{display:grid;gap:5px}.admin-section-title>div{display:flex;align-items:center;gap:6px;color:var(--green);font-size:11px;font-weight:700;text-transform:uppercase}.admin-section-title>strong{font-size:18px}.status-dot{width:7px;height:7px;border-radius:50%;background:var(--green)}.admin-current>p{margin:0;display:flex;align-items:flex-start;gap:7px;color:var(--muted);font-size:12px;line-height:1.45}.admin-current>p svg{flex:0 0 auto}.admin-stats{display:grid;grid-template-columns:repeat(2,1fr);border-top:1px solid #ead4dc;border-bottom:1px solid #ead4dc}.admin-stats>div{padding:12px;display:grid;gap:2px;text-align:center}.admin-stats>div+div{border-left:1px solid #ead4dc}.admin-stats strong{font-size:20px}.admin-stats span{color:var(--muted);font-size:11px}.admin-current-empty{justify-items:center;padding:28px 18px;text-align:center;color:var(--muted)}.admin-current-empty strong{color:#241b20}.admin-current-empty span{font-size:12px}.danger-button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 14px;border:1px solid #e0aebb;border-radius:8px;color:var(--danger);background:#fff;font-weight:700}.admin-form{padding:20px 18px;display:grid;gap:10px;border-bottom:1px solid var(--line)}.admin-form-heading{min-height:40px;display:flex;align-items:center;justify-content:space-between;gap:12px}.admin-form-heading>div{display:grid;gap:3px;min-width:0}.admin-form-heading span{color:var(--muted);font-size:11px}.admin-form-heading strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.text-command{padding:7px 0 7px 12px;border:0;color:var(--berry-dark);background:transparent;font-size:13px;font-weight:700}.admin-input{width:100%;height:46px;min-width:0;padding:0 12px;border:1px solid #dcd5d9;border-radius:8px;outline:0;color:#241b20;background:#fff}.admin-input:focus{border-color:var(--berry);box-shadow:0 0 0 3px #f9e4ec}.admin-date-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}.admin-date-grid>div{display:grid;gap:6px;min-width:0}.admin-form .primary-button{margin-top:8px}.admin-periods{padding:18px;display:grid;gap:9px}.admin-history-title{display:flex;align-items:center;gap:8px;margin-bottom:3px}.admin-history-title strong{font-size:14px}.admin-period-row{width:100%;min-height:72px;padding:11px 12px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid var(--line);border-radius:8px;color:#241b20;background:#fff;text-align:left}.admin-period-row.selected{border-color:#d49ab0;background:#fff9fb}.admin-period-row>div{min-width:0;display:grid;gap:4px}.admin-period-row>div:last-child{justify-items:end}.admin-period-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.admin-period-row span,.admin-period-row small{color:var(--muted);font-size:10px;line-height:1.35}.period-status{width:fit-content;padding:3px 6px;border-radius:5px;font-weight:700}.period-status.active{color:var(--green);background:#e8f5ee}.period-status.scheduled{color:#795c12;background:#fff6d9}.period-status.finished{color:var(--muted);background:#f1eff0}.admin-empty{margin:10px 0;color:var(--muted);font-size:13px;text-align:center}@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.spin{animation-duration:2s}}@media(min-width:600px){.app-shell{box-shadow:0 0 28px #2d1f2617}}
