:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;color:#13233a;background:#f5f5f2;font-synthesis:none;color-scheme:light;font-size:16px;line-height:1.5;--red:#b8232f;--gold:#e8c36a;--muted:#91969a}
*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;min-height:100dvh}button,input,textarea{font:inherit}button,label.upload-tile{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.62}[hidden]{display:none!important}p{margin:0}button:focus-visible,input:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #b88a25;outline-offset:3px}input,textarea{min-width:0;max-width:100%}
.hero{background:radial-gradient(circle at 20% 0,#e8c36a1f,transparent 50%),radial-gradient(circle at 100% 100%,#b8232f26,transparent 45%),linear-gradient(#0b2a4a 0%,#122f52 60%,#1a3a5e 100%);color:#fff;text-align:center;padding:48px 20px 28px;max-width:480px;margin:auto}.hero-inner{max-width:440px;margin:auto}.emblem{display:block;width:56px;height:56px;object-fit:contain;margin:0 auto 12px;filter:drop-shadow(0 4px 12px #0000004d)}h1{font-size:18px;font-weight:700;letter-spacing:3px;line-height:1.5;margin:0 0 4px}.subtitle{color:#fff;opacity:.75;font-size:11px;letter-spacing:1.5px;line-height:1.5}.steps{display:flex;align-items:center;justify-content:center;padding:0;margin:20px 0 0;list-style:none;gap:0}.steps li{display:flex;align-items:center;gap:6px;font-size:11px;color:#ffffff73;white-space:nowrap}.steps li+li:before{content:"";width:24px;height:1px;background:#ffffff2e;margin:0 0 0 6px}.steps li span{display:grid;place-items:center;width:22px;height:22px;border:1px solid #fff3;border-radius:50%;background:#ffffff1f;font-size:11px}.steps li[aria-current=step]{color:var(--gold);font-weight:700}.steps li[aria-current=step] span,.steps li.complete span{background:var(--gold);border-color:var(--gold);color:#354350}.steps li.complete{color:var(--gold)}
.main{max-width:480px;margin:-14px auto 0;position:relative;padding:0 16px max(120px,env(safe-area-inset-bottom))}.mode-switch{display:grid;grid-template-columns:1fr 1fr;background:#fff;border-radius:10px;padding:4px;box-shadow:0 4px 16px #0b2a4a1f,0 1px 2px #0000000a;margin-bottom:14px}.mode{min-height:40px;border:0;border-radius:8px;background:#fff;color:#6b7280;font-size:13px;letter-spacing:1px;font-weight:500}.mode.active{background:var(--red);color:#fff;font-weight:600}.banner{display:flex;align-items:flex-start;gap:8px;padding:10px 12px;background:#fff8e6;border:1px solid #f5dfa3;border-radius:8px;color:#8e6a1f;line-height:1.5;font-size:12px;margin-bottom:14px}.banner-icon{flex:none;display:grid;place-items:center;border-radius:50%;background:#e8c36a;width:16px;height:16px;margin-top:1px;font-size:11px;font-weight:700;color:#5a4014}.card{background:#fff;border-radius:10px;padding:16px;margin-bottom:14px;box-shadow:0 1px 2px #0b2a4a0d}.card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.card-head h2{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;line-height:1.5;color:#0b2a4a;margin:0}.card-head h2:before{content:"";width:3px;height:14px;border-radius:2px;background:var(--red);flex:none}.muted{font-size:11px;color:#9ca3af;letter-spacing:1px;white-space:nowrap}.info-box{display:flex;gap:10px;padding:20px 16px;border-radius:8px;line-height:1.6;font-size:12px}.real-box{background:#e8f1fb;color:#0b2a4a}.anonymous-box{background:#f5e6e7;color:#8e1a24}.info-icon{font-size:16px;flex:none;line-height:1.5}.info-box strong{font-weight:700}.helper{font-size:12px;color:#707b85;line-height:1.65;margin-top:9px}.actions{display:flex;gap:10px;margin-top:20px}.button{border:0;border-radius:8px;min-height:46px;padding:10px 14px;font-weight:600;font-size:14px;letter-spacing:2px}.primary{background:var(--red);color:#fff;flex:1}.secondary{background:#fff;color:#0b2a4a;border:1px solid #0b2a4a;flex:1}.field{margin-bottom:14px}.field:last-child{margin-bottom:0}.field>label{display:flex;align-items:center;flex-wrap:wrap;gap:2px;font-weight:400;font-size:12px;margin-bottom:6px}.required{color:var(--red);margin-right:3px}.optional{font-size:11px;font-weight:400;color:#818b94;margin-left:5px}input:not([type=checkbox],[type=file]),textarea{display:block;width:100%;background:#fff;border:1px solid #0b2a4a24;border-radius:8px;padding:10px 12px;color:#173346;font-size:16px;line-height:1.45;min-height:46px}input::placeholder,textarea::placeholder{color:#9ca3af;font-size:12px}textarea{resize:vertical;min-height:145px}input[aria-invalid=true],textarea[aria-invalid=true]{border-color:var(--red)}.field-error{color:#b11b2d;font-size:12px;line-height:1.5;margin-top:6px}.counter{text-align:right;font-size:11px;color:#86929c;margin-top:6px}.error-banner,.service-notice{font-size:13px;line-height:1.65;border-radius:8px;padding:12px;margin-bottom:15px;overflow-wrap:anywhere}.error-banner{background:#fff0f0;color:#a11625;border:1px solid #ebbdc4}.service-notice{color:#715524;background:#fff8e8;border:1px solid #ead7a4}
.field>label.upload-tile{position:relative;display:flex;flex-direction:column;justify-content:center;gap:4px;border:1px dashed #bcc9d6;border-radius:8px;min-height:82px;background:#fafbfd;font-size:12px;font-weight:400;color:#6c8094;cursor:pointer;margin:0}.field>label.photo-tile{width:85px;min-height:85px}.upload-tile:focus-within{outline:3px solid #b88a25;outline-offset:3px}.upload-tile input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.plus{font-size:28px;font-weight:300;line-height:1}.image-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;margin:0;padding:0;gap:9px}.image-grid:not(:empty){margin-bottom:9px}.image-item{position:relative;min-width:0}.image-item img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:7px;background:#eee}.remove-image{position:absolute;right:0;top:0;border:0;border-radius:0 7px 0 7px;background:#971d2ded;color:#fff;width:32px;height:32px;font-size:21px}.image-item span{font-size:10px;color:#687582;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-list{list-style:none;padding:0;margin:8px 0 0}.attachment-list li{display:flex;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid #edf0f3;font-size:12px}.attachment-list span{overflow-wrap:anywhere;flex:1}.attachment-list button{background:none;border:0;color:var(--red);min-width:44px;min-height:36px}.total-size{border-top:1px solid #edf0f3;padding-top:12px;color:#6e7e8b;font-size:12px}.total-size span{display:block;font-size:11px;margin-top:5px;line-height:1.6}.check-row{font-size:12px;line-height:1.85;color:#667582}.check-row+.check-row{margin-top:12px}.check-row input{width:16px;height:16px;accent-color:var(--red);vertical-align:-3px;margin:0 6px 0 0}.text-button{display:inline;border:0;padding:0;background:none;color:#a7212f;font-size:inherit;line-height:inherit;text-decoration:underline;text-underline-offset:3px}.sending-note{text-align:center}.success-panel{text-align:center;margin-top:32px;padding:28px 20px}.success-panel h2{font-size:22px;margin:15px 0}.success-panel>p{font-size:14px;line-height:1.8;color:#657888}.success-icon{margin:auto;border-radius:50%;width:60px;height:60px;background:#e8f3ec;color:#328154;font-size:34px;display:grid;place-items:center}.receipt{display:flex;flex-direction:column;gap:8px;background:#f5f7fa;border-radius:8px;margin:20px 0;padding:16px;font-size:13px}.receipt strong{font-size:16px;overflow-wrap:anywhere}.success-panel .button{width:100%;margin-top:20px}dialog{border:0;border-radius:12px;width:calc(100% - 36px);max-width:430px;padding:22px;color:#173346;max-height:85vh;overflow:auto;box-shadow:0 20px 80px #0005}dialog::backdrop{background:#10253899}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.dialog-head h2{font-size:18px;margin:0}.dialog-head button{background:none;border:0;font-size:28px;color:#6c7c8a;width:40px;height:40px}#guide-content p{line-height:1.8;font-size:14px;margin:0 0 14px;overflow-wrap:anywhere}dialog>.button{width:100%;margin-top:8px}
@media(min-width:600px){body{background:#ecefed}.hero,.main{max-width:480px}.main{min-height:calc(100dvh - 220px)}}
@media(max-width:350px){h1{font-size:17px;letter-spacing:1px}.main{padding-left:13px;padding-right:13px}.card{padding:15px}.info-box{padding:16px 12px;gap:8px}.optional{font-size:10px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
