:root{--wine:#681a2b;--wine-dark:#260d16;--gold:#bd965b;--paper:#f7f4ef;--ink:#2c2024;--muted:#6b6064;--line:#e4dcd5;--green:#176449;--yellow:#966000;--red:#b43237;--radius:18px;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}a{color:var(--wine);text-underline-offset:.2em}button,a,input{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.62}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #d09f3f;outline-offset:4px}[hidden]{display:none!important}h1,h2,h3,p{margin:0}p{line-height:1.8}h1{font-size:clamp(26px,6.7vw,34px);letter-spacing:.025em;line-height:1.4}h2{font-size:22px;line-height:1.5}h3{font-size:18px;line-height:1.5}.nowrap{white-space:nowrap}.brand-header{color:#fff6e6;background:linear-gradient(125deg,#481020,var(--wine-dark));padding:25px 22px 34px;border-bottom:3px solid var(--gold)}.brand-inner{max-width:1040px;margin:auto}.brand{display:inline-flex;align-items:center;gap:9px;color:inherit;text-decoration:none;font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:17px;font-weight:700;line-height:1.35}.brand-year{font-family:Georgia,"Times New Roman",serif;font-size:28px;color:#f4d79f}.header-meta{font-size:12px;color:#e6cfce;margin-top:7px;letter-spacing:.04em}.header-title{margin-top:25px}.eyebrow{font-size:12px;font-weight:800;letter-spacing:.12em;color:var(--wine);margin-bottom:7px}.brand-header .eyebrow{color:#edcf98}.header-desc{font-size:14px;color:#eee0df;margin-top:10px}.container{width:min(100% - 32px,560px);margin:26px auto 44px}.container.wide{max-width:1040px;width:min(100% - 32px,1040px)}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px;box-shadow:0 7px 25px #28101a06}.card+.card,.section-gap{margin-top:20px}.lead{color:var(--muted);font-size:15px;margin-top:8px}.steps{display:flex;list-style:none;padding:0;margin:0 0 24px;gap:9px}.steps li{flex:1;position:relative;font-size:12px;line-height:1.5;color:var(--muted);border-top:3px solid #dfd6cc;padding-top:10px}.steps li.active{color:var(--wine);border-color:var(--wine);font-weight:700}.step-number{font-family:Georgia,serif;font-size:16px;margin-right:5px}.field{margin-top:22px}.field label{display:block;font-size:15px;font-weight:700;margin-bottom:10px}.field input,.field textarea{display:block;width:100%;border:1px solid #bdb1b2;border-radius:10px;background:#fff;min-height:54px;padding:13px 14px;color:var(--ink);font-size:16px;line-height:1.5}.field input::placeholder,.field textarea::placeholder{color:#988b8e}.field small{display:block;font-size:12px;color:var(--muted);line-height:1.7;margin-top:7px}.button{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:54px;padding:14px 18px;border:1px solid transparent;border-radius:10px;background:var(--wine);color:white;font-size:16px;font-weight:700;line-height:1.5;text-align:center;text-decoration:none}.button svg{flex:none;width:21px;height:21px}.button.secondary{background:#fff;color:var(--wine);border-color:#c9b8b8}.button.subtle{background:#f3efeb;color:#503d43}.button.success{background:var(--green)}.button.small{width:auto;min-height:44px;padding:9px 14px;font-size:13px}.button-row{display:flex;gap:10px}.button-row>*{flex:1}.field+.button,.form-action{margin-top:24px}.text-button{border:0;background:none;color:var(--wine);padding:10px;font-size:14px;text-decoration:underline;text-underline-offset:.2em;min-height:44px}.center{text-align:center}.muted{color:var(--muted)}.small-copy{font-size:12px;line-height:1.8}.hint{padding:15px 16px;border-radius:10px;background:#f5f0e8;font-size:13px;line-height:1.8;color:#6c5736}.message{padding:14px 16px;border-radius:10px;font-size:14px;line-height:1.75;background:#f4efe9;color:#594c43;margin:16px 0 0;overflow-wrap:anywhere}.message.error{background:#fff0ef;color:#9e252a;border:1px solid #edc5c4}.message.success{background:#ecf8f1;color:#165a3f;border:1px solid #bfe0ca}.message.warning{background:#fff7e4;color:#765006;border:1px solid #e8d6a8}.message:empty{display:none}.icon-disc{width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#f5eee5;color:var(--wine);margin-bottom:18px}.icon-disc svg{width:28px;height:28px}.sent-address{font-weight:700;overflow-wrap:anywhere}.divider{height:1px;background:var(--line);border:0;margin:23px 0}.help-block{font-size:13px;color:var(--muted);line-height:1.8}.help-block summary{font-weight:700;color:var(--ink);cursor:pointer;min-height:44px;padding:10px 0}.help-block ul{padding-left:20px;margin:8px 0}.footer{font-size:12px;text-align:center;padding:0 16px 28px;color:var(--muted)}.footer a{color:var(--muted)}.ticket-card{padding:0;overflow:hidden}.ticket-top{padding:21px 24px 16px;border-bottom:1px dashed #d2c4bd;display:flex;align-items:center;justify-content:space-between;gap:12px}.ticket-label{font-size:13px;font-weight:700}.status-pill{display:inline-flex;align-items:center;gap:6px;border-radius:100px;padding:6px 11px;background:#eaf6ee;color:#1b6746;font-size:12px;font-weight:800;white-space:nowrap}.status-pill:before{content:"";width:6px;height:6px;background:currentColor;border-radius:50%}.status-pill.used{background:#fff2d5;color:#855b12}.ticket-body{padding:22px 24px 24px}.person-name{font-size:24px;line-height:1.5;overflow-wrap:anywhere;font-weight:700}.person-company{font-size:14px;color:var(--muted);line-height:1.7;margin-top:3px;overflow-wrap:anywhere}.qr-shell{padding:18px 8px 7px;margin:16px auto;background:#fff;max-width:330px}.qr-shell canvas{display:block;width:100%;height:auto;image-rendering:pixelated}.qr-caption{font-size:13px;text-align:center;font-weight:700;margin-top:10px}.ticket-details{display:grid;grid-template-columns:auto 1fr;gap:9px 20px;margin:18px 0 0;font-size:13px;line-height:1.65}.ticket-details dt{color:var(--muted)}.ticket-details dd{margin:0}.ticket-note{font-size:12px;text-align:center;color:var(--muted);margin-top:16px}.ticket-divider{border-top:1px solid var(--line);padding-top:16px;margin-top:20px}.staff-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.staff-name{font-size:13px;font-weight:700}.staff-name small{display:block;color:var(--muted);font-size:11px;font-weight:400;margin-bottom:3px}.staff-header .text-button{font-size:12px;padding-right:0}.camera-area{position:relative;overflow:hidden;border-radius:14px;background:#21191d;aspect-ratio:1/1;max-height:390px;margin:18px 0}.camera-area video{width:100%;height:100%;display:block;object-fit:cover}.camera-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#eedcca;gap:14px;font-size:13px;padding:25px;text-align:center}.camera-placeholder svg{width:80px;height:80px;color:#d7af75}.camera-area.scanning .camera-placeholder{display:none}.camera-area .scan-region-highlight-svg{stroke:#efc67d!important}.scan-help{text-align:center;font-size:12px;color:var(--muted);margin-top:12px}.result-head{display:flex;align-items:center;gap:12px;margin-bottom:20px}.result-head .icon-disc{margin:0;width:48px;height:48px;flex:none}.result-head.success .icon-disc{background:#e6f5ed;color:var(--green)}.result-head.warning .icon-disc{background:#fff3d6;color:var(--yellow)}.result-head h2{font-size:21px}.result-head p{font-size:12px;color:var(--muted)}.result-person{padding:20px;border-radius:12px;background:#f8f5f1;margin:18px 0 22px}.result-person .person-name{font-size:26px}.result-person .ticket-details{margin-top:14px}.file-input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}.login-foot{font-size:12px;line-height:1.8;color:var(--muted);margin-top:15px}.semantic-phrase{display:inline-block}.loading:before{content:"";display:inline-block;width:14px;height:14px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .7s linear infinite;margin-right:9px;vertical-align:-2px}@keyframes spin{to{transform:rotate(1turn)}}@media(min-width:760px){.brand-header{padding:28px 30px 38px}.container{margin-top:34px}.card{padding:28px}.ticket-card{padding:0}}@media(max-width:370px){.card{padding:20px}.ticket-card{padding:0}.ticket-body{padding:20px}.button-row{flex-direction:column}.brand{font-size:16px}.brand-year{font-size:25px}.ticket-top{padding:18px 20px}.person-name{font-size:22px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important}}

.ticket-code{display:block;overflow-wrap:anywhere;user-select:all;padding:14px 16px;margin-top:12px;background:#f3efeb;border-radius:10px;font-size:15px;line-height:1.8;letter-spacing:.025em}.steps li{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.step-number{margin:0}.ticket-details dd{min-width:0;overflow-wrap:anywhere}.result-head>div:last-child{min-width:0}.result-head h2{font-size:clamp(18px,5vw,21px)}.staff-name{min-width:0;overflow-wrap:anywhere}.brand-inner{max-width:560px}.button:focus-visible,textarea:focus-visible{outline:3px solid #d09f3f;outline-offset:4px}
