:root{--text:#6b6375;--text-h:#08060d;--bg:#fff;--border:#e5e4e7;--code-bg:#f4f3ec;--accent:#aa3bff;--accent-bg:#aa3bff1a;--accent-border:#aa3bff80;--social-bg:#f4f3ec80;--shadow:#0000001a 0 10px 15px -3px, #0000000d 0 4px 6px -2px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:18px/145% var(--sans);letter-spacing:.18px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}@media (width<=1024px){:root{font-size:16px}}@media (prefers-color-scheme:dark){:root{--text:#9ca3af;--text-h:#f3f4f6;--bg:#16171d;--border:#2e303a;--code-bg:#1f2028;--accent:#c084fc;--accent-bg:#c084fc26;--accent-border:#c084fc80;--social-bg:#2f303a80;--shadow:#0006 0 10px 15px -3px, #00000040 0 4px 6px -2px}#social .button-icon{filter:invert()brightness(2)}}#root{text-align:center;border-inline:1px solid var(--border);box-sizing:border-box;flex-direction:column;width:1126px;max-width:100%;min-height:100svh;margin:0 auto;display:flex}body{margin:0}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-1.68px;margin:32px 0;font-size:56px}@media (width<=1024px){h1{margin:20px 0;font-size:36px}}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (width<=1024px){h2{font-size:20px}}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}*{box-sizing:border-box}body{color:#f5f0e8;background:#11131b;margin:0;font-family:Arial,sans-serif}.app{min-height:100vh}.header{background:#191b26;border-bottom:1px solid #30313d;padding:25px 7%}.header h1{color:#d9b879;letter-spacing:2px;margin:0;font-size:28px}.header p{color:#aaaaba;margin-bottom:0}.main{width:min(900px,90%);margin:45px auto}.welcome{background:linear-gradient(135deg,#292536,#1c202d);border:1px solid #48404a;border-radius:16px;padding:35px}.eyebrow{color:#d9b879;letter-spacing:2px;font-size:12px}.welcome h2{font-size:30px}.welcome p{color:#c3c0ca;line-height:1.7}.campaigns{margin-top:40px}.campaigns h2{color:#d9b879}.empty{text-align:center;background:#191b26;border:1px dashed #555365;border-radius:16px;padding:35px 20px}.icon{font-size:35px}.empty p{color:#aaaaba}button{color:#fff;cursor:not-allowed;background:#514a5e;border:0;border-radius:8px;padding:12px 20px}footer{text-align:center;color:#777888;padding:25px;font-size:13px}@media (width<=600px){.welcome{padding:24px}.welcome h2{font-size:24px}}.actions{flex-wrap:wrap;justify-content:center;gap:15px;margin-top:20px;display:flex}.actions button{cursor:pointer;color:#17131b;background:#a78b59;padding:14px 22px;font-weight:700;transition:background .2s}.actions button:hover{background:#d9b879}.form-container{background:#191b26;border:1px solid #48404a;border-radius:16px;margin-top:30px;padding:25px}.form-container h2{color:#d9b879}.form-container label{margin-bottom:10px;display:block}.form-container input{color:#fff;background:#11131b;border:1px solid #555365;border-radius:8px;width:100%;padding:13px;font-size:16px}.form-actions{flex-wrap:wrap;gap:10px;margin-top:20px;display:flex}.campaign-list{gap:15px;display:grid}.campaign-card{background:#191b26;border:1px solid #48404a;border-radius:12px;padding:20px}.campaign-card h3{color:#d9b879;margin-top:0}.role{color:#aaaaba;font-size:13px}.form-actions button{cursor:pointer}.form-actions button:disabled{cursor:not-allowed}.campaign-code{color:#aaaaba;margin-top:12px;font-size:14px}.campaign-code p{margin-bottom:10px}.campaign-code strong{color:#d9b879;letter-spacing:2px;font-size:16px}.copy-button{color:#d9b879;cursor:pointer;background:0 0;border:1px solid #d9b879;border-radius:8px;padding:9px 14px;transition:background .2s}.copy-button:hover{background:#302b24}.auth-container{background:#191b26;border:1px solid #48404a;border-radius:16px;max-width:480px;margin:35px auto;padding:25px}.auth-tabs{gap:10px;margin:25px 0;display:flex}.auth-tabs button{color:#aaaaba;cursor:pointer;background:#11131b;border:1px solid #48404a;border-radius:8px;flex:1;padding:12px}.auth-tabs button.active{color:#d9b879;border-color:#d9b879}.auth-form{flex-direction:column;gap:12px;display:flex}.auth-form label{margin-top:8px}.auth-form input{color:#fff;background:#11131b;border:1px solid #555365;border-radius:8px;width:100%;padding:13px;font-size:16px}.auth-form button,.logout-button{color:#11131b;cursor:pointer;background:#d9b879;border:1px solid #d9b879;border-radius:8px;margin-top:15px;padding:13px;font-weight:700}.auth-form button:disabled{opacity:.6;cursor:not-allowed}.auth-error{color:#ff8585;margin-top:15px}.auth-message{color:#a6dca6;margin-top:15px}.auth-form small{color:#aaaaba;margin-top:-6px;font-size:13px}.sheet-category{background:#191b26;border:1px solid #48404a;border-radius:12px;min-width:0;margin:0 0 22px;padding:18px}.sheet-category legend{color:#d9b879;letter-spacing:.5px;padding:0 10px;font-weight:700}.sheet-category>div{margin-bottom:14px}.sheet-category>div:last-child{margin-bottom:0}.theatre-intro{z-index:1000;isolation:isolate;color:#f5e8cf;background:radial-gradient(at 50% 44%,#69372557,#0000 48%),linear-gradient(#10080b 0%,#090709 100%);place-items:center;min-height:100dvh;display:grid;position:fixed;inset:0;overflow:hidden}.theatre-stage-light{z-index:0;pointer-events:none;background:radial-gradient(at 50% 0,#ffd6992e,#0000 43%),linear-gradient(#0000 60%,#00000094);position:absolute;inset:0}.theatre-title-panel{z-index:3;text-align:center;text-shadow:0 3px 18px #000c;width:min(680px,76vw);padding:44px 24px;transition:opacity .35s,transform .55s;position:relative}.theatre-kicker{color:#e4c58c;letter-spacing:.34em;margin:0 0 18px;font-size:clamp(10px,1.5vw,13px);font-weight:700}.theatre-title-panel h2{color:#fff0d2;letter-spacing:.12em;margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(54px,10vw,112px);font-weight:500;line-height:1}.theatre-title-panel h2 span{color:#d7ad70}.theatre-subtitle{color:#ffeed3d1;letter-spacing:.04em;margin:22px 0 0;font-family:Georgia,Times New Roman,serif;font-size:clamp(14px,2vw,19px);font-style:italic}.theatre-instruction{color:#f2d8a9;letter-spacing:.08em;margin:52px 0 0;font-size:clamp(12px,1.8vw,15px);font-weight:700;animation:2.2s ease-in-out infinite theatre-prompt}.theatre-ornament{color:#bd8b52;margin-top:17px;font-size:17px;display:inline-block}.theatre-curtain{z-index:2;will-change:transform;background:repeating-linear-gradient(90deg,#1c000873 0,#1c00081f 5%,#ff6f701f 10%,#1c00084d 15%,#0000 20%,#16000759 25%),linear-gradient(90deg,#3a0613 0%,#861b2b 18%,#a82c3a 39%,#741322 68%,#350610 100%);width:53%;position:absolute;top:-2%;bottom:-2%;box-shadow:inset 0 0 55px #000000b8,0 0 35px #00000080}.theatre-curtain-left{transform-origin:0;border-right:3px solid #deb16f8c;left:0}.theatre-curtain-right{transform-origin:100%;border-left:3px solid #deb16f8c;right:0;transform:scaleX(-1)}.theatre-curtain-valance{z-index:3;pointer-events:none;background:repeating-linear-gradient(90deg,#14000547 0 7%,#0000 7% 14%),linear-gradient(#3b0612,#8c1d2d 68%,#4b0917);border-bottom:5px solid #bd8b52;border-radius:0 0 48% 48%;width:104%;height:clamp(52px,10vh,100px);position:absolute;top:-3%;left:-2%;box-shadow:0 12px 24px #00000073}.theatre-rope{z-index:4;cursor:pointer;touch-action:manipulation;background:0 0;border:0;border-radius:0;flex-direction:column;align-items:center;width:64px;height:min(57vh,510px);min-height:250px;padding:0;animation:.9s cubic-bezier(.2,.8,.25,1.15) .35s both theatre-rope-drop;display:flex;position:absolute;top:0;right:clamp(28px,12vw,170px)}.theatre-rope:focus-visible{outline-offset:5px;border-radius:24px;outline:2px solid #f4d59e}.theatre-rope-line{background:repeating-linear-gradient(135deg,#e6c18a 0 3px,#9c6b3c 3px 6px);border:1px solid #3a190db3;border-radius:8px;width:8px;height:calc(100% - 62px);display:block;box-shadow:2px 2px 5px #0000008c}.theatre-rope-knot{background:radial-gradient(circle at 35% 30%,#f1d6a3,#a87540 72%);border:2px solid #704321;border-radius:50%;width:19px;height:19px;margin-top:-2px;display:block;box-shadow:2px 3px 6px #0000008c}.theatre-rope-tassel{background:linear-gradient(90deg,#8c5a31,#edc58c 48%,#8c5a31);border:2px solid #80512d;border-radius:45% 45% 55% 55%;width:26px;height:39px;margin-top:-2px;display:block;box-shadow:2px 4px 8px #00000080}.theatre-intro.is-opening .theatre-title-panel{opacity:0;transform:translateY(-18px)scale(.96)}.theatre-intro.is-opening .theatre-rope{pointer-events:none;animation:.52s ease-in forwards theatre-rope-pull}.theatre-intro.is-opening .theatre-curtain-left{animation:1.75s cubic-bezier(.72,0,.22,1) .25s forwards theatre-curtain-left-open}.theatre-intro.is-opening .theatre-curtain-right{animation:1.75s cubic-bezier(.72,0,.22,1) .25s forwards theatre-curtain-right-open}.theatre-intro.is-opening .theatre-curtain-valance{animation:1.5s ease-in forwards theatre-valance-lift}@keyframes theatre-rope-drop{0%{transform:translateY(-105%)}to{transform:translateY(0)}}@keyframes theatre-rope-pull{0%{transform:translateY(0)rotate(0)}35%{transform:translateY(34px)rotate(4deg)}65%{transform:translateY(-12px)rotate(-2deg)}to{transform:translateY(0)rotate(0)}}@keyframes theatre-curtain-left-open{0%{transform:translate(0)scaleX(1)}to{transform:translate(-104%)scaleX(.9)}}@keyframes theatre-curtain-right-open{0%{transform:scaleX(-1)}to{transform:translate(104%)scaleX(-.9)}}@keyframes theatre-valance-lift{to{opacity:0;transform:translateY(-110%)}}@keyframes theatre-prompt{0%,to{opacity:.65}50%{opacity:1}}@media (width<=600px){.theatre-title-panel{width:88vw;padding:30px 12px}.theatre-kicker{letter-spacing:.2em}.theatre-subtitle{max-width:270px;margin:18px auto 0;line-height:1.6}.theatre-instruction{max-width:220px;margin:42px auto 0;line-height:1.6}.theatre-rope{width:56px;height:min(48vh,390px);min-height:210px;right:20px}.theatre-curtain{width:56%}.theatre-curtain-valance{height:58px}}@media (prefers-reduced-motion:reduce){.theatre-instruction{animation:none}.theatre-rope,.theatre-intro.is-opening .theatre-curtain-left,.theatre-intro.is-opening .theatre-curtain-right,.theatre-intro.is-opening .theatre-curtain-valance,.theatre-intro.is-opening .theatre-rope{animation-duration:.01ms;animation-delay:0s}}
