/* Halloween only: shared account, generation and footer markup stay intact. */
.halloween-page{background:#160f20;isolation:isolate}
.halloween-backdrop{position:fixed;inset:0;z-index:-2;pointer-events:none;background:#160f20 url('/assets/branch-art/halloween-background.webp') center/cover no-repeat}
.halloween-backdrop video{width:100%;height:100%;object-fit:cover;opacity:.65}
.halloween-backdrop:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(16,9,25,.86),rgba(25,12,35,.56),rgba(16,9,25,.8))}
.halloween-page .branch-atmosphere{z-index:-1;opacity:.4}
.halloween-page .branch-header{padding-top:18px;padding-bottom:12px}
.halloween-page main{padding-top:8px}
.halloween-page-tools{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;color:#d8cbe4;font-size:12px}
.halloween-page #background-toggle{font-size:12px;padding:8px 12px;min-height:36px;background:#2d203b;border:1px solid #665078;color:#f8f3ff;border-radius:12px;white-space:nowrap}
.halloween-page .studio,.halloween-page .branch-demo{background:#251b32f5}
.halloween-page .studio{padding:22px;scroll-margin-top:14px}
.halloween-page .studio-heading{gap:10px;margin-bottom:12px}
.halloween-page .studio-heading h2{font-size:clamp(23px,2.3vw,32px)}
.halloween-page .studio-heading .pill{display:none}
.halloween-page #campaign-notice:empty{display:none}
.halloween-page .studio-grid{gap:14px}
.halloween-page .photo{min-height:178px;padding:18px;gap:8px}
.halloween-page .photo .pumpkin{width:58px;height:58px}
.halloween-page .photo p{margin:0;font-size:16px}
.halloween-page .photo #preview{max-height:240px;object-fit:contain}
.halloween-page .photo-column>.muted{font-size:12px;line-height:1.5;margin:8px 0 0}
.halloween-page .label{margin-bottom:9px}
.halloween-page textarea{min-height:88px;padding:12px;font-size:14px;color:#fbf8ff;background:#1e152a}
.halloween-page textarea::placeholder{color:#bdb0ca;opacity:1}
.halloween-page .chips{gap:7px}
.halloween-page .chips button{font-size:13px;min-height:40px;padding:8px 12px;border-radius:13px;transition:transform .18s ease,background .18s ease,border-color .18s ease}
.halloween-page .chips button:hover{transform:translateY(-2px);background:#4b345d;border-color:#b58ed5}
.halloween-page .chips button[aria-pressed=true]{background:#664289;color:#fff;border-color:#be93e9;box-shadow:0 0 0 1px #be93e922}
.halloween-page .studio #random{background:#e4cdff;color:#30194a;font-weight:700;border:1px solid #c7a0ee;border-radius:13px;min-height:42px;padding:9px 14px;transition:transform .18s,box-shadow .18s}
.halloween-page .studio #random:hover{transform:translateY(-2px);box-shadow:0 4px 20px #bf8aff33}
.halloween-page .studio #random:disabled{color:#563a70;background:#d7c5e9;opacity:.85}
.halloween-page :is(button,a,input,textarea):focus-visible{outline:3px solid #d8ff81;outline-offset:3px}
.halloween-page .idea-actions{margin-top:10px;gap:10px;flex-wrap:wrap}
.halloween-page .idea-actions small{color:#d3c4df}
.halloween-page #idea-notice{font-size:12px;margin:7px 0 12px}
.halloween-page fieldset{margin-top:14px}
.halloween-page .branch-demo-heading{padding:22px 22px 16px}
.halloween-page #halloween-demo-tabs{display:flex;flex-wrap:wrap}
.halloween-page #halloween-demo-tabs button{display:flex;align-items:center;justify-content:center;gap:6px;flex:1 1 28%;white-space:nowrap;min-width:0}
.halloween-page #halloween-demo-tabs img{width:26px;height:26px;border-radius:50%;object-fit:cover}
.halloween-page .branch-demo-image{height:510px}
.halloween-page .branch-gallery-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.halloween-page .branch-gallery-grid img{height:250px}
.halloween-page .branch-gallery-grid strong{font-size:14px}
.halloween-page .branch-hero{margin-top:30px;padding:28px;border:1px solid #59406c;border-radius:28px;background:#251b32ee}
.halloween-page .branch-hero h1{font-size:clamp(30px,4vw,48px)}
.halloween-page .branch-hero-art{height:170px}
.halloween-page .nw-footer{background:#211829f5;color:#faf5ff}
.halloween-page .nw-footer .nw-footer-contact{background:#33243f;border-color:#634778}
.halloween-page .nw-footer .nw-footer-contact :is(p,span),.halloween-page .nw-footer .nw-footer-contact-label{color:#e0d1ec}
.halloween-page .nw-footer .nw-footer-badge{background:#3a2949;color:#e6d4fb;border-color:#72538c}
.halloween-page .nw-footer .nw-footer-branches nav{display:flex;flex-wrap:wrap;gap:8px;max-width:460px}
.halloween-page .nw-footer .nw-footer-branches nav a{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;min-height:42px;border:1px solid #684b7b;border-radius:14px;background:#372542;color:#faf5ff;font-size:12px;line-height:1.4}
.halloween-page .nw-footer .nw-footer-branches nav a[href='/love/']{background:#50233f;color:#ffd5e9}
.halloween-page .nw-footer .nw-footer-branches nav .nw-telegram-link{background:#193a51;color:#d5efff;border-color:#3a6e91}
.halloween-page .nw-footer :is(p,.nw-footer-bottom,.nw-footer-note){color:#d2c3df}
.halloween-page .nw-footer .nw-footer-nav{display:flex;flex-direction:column;gap:2px}
@media(max-width:1000px){.halloween-page .branch-demo-image{height:430px}.halloween-page .branch-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.halloween-page .studio{padding:16px}.halloween-page .branch-demo-heading{padding:18px}.halloween-page .photo{min-height:160px}.halloween-page .branch-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.halloween-page .branch-gallery-grid img{height:210px}.halloween-page .branch-hero{padding:20px}.halloween-page .branch-demo-image{height:430px}.halloween-page .branch-hero-art{height:125px}.halloween-page .nw-footer .nw-footer-branches nav{max-width:none;width:100%}.halloween-page .nw-footer .nw-footer-branches nav a{flex:1 1 42%}.halloween-page .halloween-page-tools>span{max-width:190px}}
@media(prefers-reduced-motion:reduce){.halloween-page *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.halloween-page .nw-telegram-app{color:#d6efff!important;background:#203a51!important;border-color:#476b87!important}
.halloween-page .nw-footer .nw-footer-nav{justify-content:flex-start;text-align:left}
.halloween-page .nw-footer .nw-footer-contact-icon{color:#233013}
@media(max-width:600px){.halloween-page .nw-footer .nw-footer-nav:last-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}}
.halloween-page .photo{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 50% 10%,#79509777,transparent 68%),linear-gradient(140deg,#392545,#211a32);border-color:#76528e;min-height:215px}
.halloween-page .photo:not(.has-photo):before{content:'';position:absolute;inset:12px;border:1px dashed #ad85ca55;border-radius:18px;pointer-events:none;z-index:-1}
.halloween-page .photo:not(.has-photo):after{content:'✧';position:absolute;right:14%;top:22%;font-size:28px;color:#ffcb89;animation:hw-spark 4s ease-in-out infinite;pointer-events:none}
.halloween-page .photo:not(.has-photo) .pumpkin{animation:hw-pumpkin 5s ease-in-out infinite;filter:drop-shadow(0 8px 18px #dc864655)}
.hw-upload-options{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;width:100%;position:relative;z-index:1;margin-top:8px}
.halloween-page .studio .hw-upload-options button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;border-radius:14px;font-size:13px;font-weight:700;transition:transform .2s,box-shadow .2s}
.halloween-page .studio .hw-upload-options #camera{background:#edcfaa;color:#382336;border-color:#f9dfbd}
.halloween-page .studio .hw-upload-options #upload{background:#e5d5ff;color:#38204f;border-color:#c7a6ee}
.hw-upload-options svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}
.halloween-page .studio .hw-upload-options button:hover{transform:translateY(-2px);box-shadow:0 6px 20px #0f071e66}
.halloween-page .photo.has-photo .hw-upload-options{margin-top:12px}
.halloween-page .branch-demo-image{height:auto;aspect-ratio:3/4}
.halloween-page .branch-demo-image>img{height:100%;width:100%;object-fit:contain;background:#211629}
.halloween-page .branch-gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.halloween-page .branch-gallery-grid img{height:auto;aspect-ratio:3/4;object-fit:contain}
.halloween-page #halloween-demo-tabs button{flex:1 1 40%}
@keyframes hw-pumpkin{50%{transform:translateY(-6px) rotate(5deg)}}
@keyframes hw-spark{50%{opacity:.35;transform:scale(.7) rotate(30deg)}}
@media(max-width:600px){.halloween-page .branch-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.halloween-page .studio .hw-upload-options button{flex:1 1 110px;padding:10px 8px;font-size:12px}.halloween-page .photo{min-height:200px}}
@media(prefers-reduced-motion:reduce){.halloween-page .photo:after,.halloween-page .photo .pumpkin{animation:none!important}}
