/* Shared by the protected preview and the approved public UI. */
.ae-shell{--ae-navy:#172240;--ae-coral:#F04A2E;--ae-paper:#F6F6EE;--ae-line:#DDE0E6;color:var(--ae-navy);font-family:'Hiragino Sans','Yu Gothic UI',Meiryo,system-ui,sans-serif;display:grid;grid-template-columns:1.05fr 1fr;max-width:1040px;margin:40px auto 64px;background:#fff;border:1px solid var(--ae-line);border-radius:20px;overflow:hidden;line-height:1.7}
.ae-shell .ae-context{display:flex;flex-direction:column;position:relative;min-height:570px;padding:36px 40px;background:var(--ae-paper);color:var(--ae-navy);border:0;border-radius:0;box-shadow:none;isolation:isolate}
.ae-back{align-self:flex-start;color:var(--ae-navy);font-size:14px;text-decoration:none;min-height:44px;display:inline-flex;align-items:center;margin-bottom:36px}
.ae-back:hover{text-decoration:underline}.ae-context-copy{position:relative;z-index:1}.ae-eyebrow{font-size:12px;font-weight:800;letter-spacing:.13em;margin:0 0 14px;color:#4A5268}.ae-context h1{font-size:clamp(27px,3.1vw,36px);line-height:1.5;letter-spacing:.01em;margin:0 0 16px;text-wrap:balance;color:var(--ae-navy)}
.ae-description{font-size:16px;color:#4A5268;line-height:1.85;margin:0}.ae-shell .auth-card,.ae-shell .ae-card{padding:44px 40px;background:#fff;color:var(--ae-navy);border:0;border-radius:0;box-shadow:none;align-self:center;min-width:0}.ae-shell h2{font-size:24px;line-height:1.5;margin:0 0 12px}.ae-shell .muted,.ae-shell .ae-help{color:#4A5268;font-size:14px}.ae-shell .ae-card p{margin-top:0}.ae-shell .btn,.ae-shell .ae-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;box-sizing:border-box;padding:12px 18px;border:2px solid var(--ae-navy);border-radius:10px;background:#fff;color:var(--ae-navy);font:700 16px/1.5 inherit;font-size:16px;font-weight:700;text-align:center;text-decoration:none;cursor:pointer;width:100%}.ae-shell .primary,.ae-shell .ae-button--primary{background:var(--ae-coral);border-color:var(--ae-coral);color:#fff}.ae-shell .primary:hover,.ae-shell .ae-button--primary:hover{background:#DB3C24;border-color:#DB3C24}.ae-shell button:disabled{background:#E4E6EA;color:#5F6575;border-color:#E4E6EA;cursor:default}.ae-shell input{display:block;width:100%;min-height:52px;padding:12px;box-sizing:border-box;border:1px solid #7A8194;border-radius:10px;font:inherit;background:#fff;color:var(--ae-navy);margin-top:8px}.ae-shell label{display:block;font-size:14px;font-weight:700;margin:20px 0}.ae-shell :focus-visible{outline:3px solid var(--ae-navy);outline-offset:3px}.ae-shell .ae-card .ae-button+.ae-button{margin-top:12px}.ae-divider{display:flex;align-items:center;gap:16px;font-size:13px;color:#4A5268;margin:24px 0}.ae-divider::before,.ae-divider::after{content:'';height:1px;background:var(--ae-line);flex:1}.ae-shell .auth-mode-link,.ae-shell .ae-text-button{background:none;border:0;color:var(--ae-navy);text-decoration:underline;font:inherit;font-size:14px;min-height:44px;cursor:pointer;padding:8px 0}.ae-shell .ae-legal{font-size:12px;color:#4A5268;margin:24px 0 0;line-height:1.8}.ae-shell .ae-note{font-size:13px;line-height:1.7;border-top:1px solid var(--ae-line);padding-top:20px;margin-top:24px}.ae-court-art{position:relative;box-sizing:border-box;margin:40px 16px 0;height:156px;border:2px solid #A9AFBD;background:#E9EBF1;transform:rotate(-8deg);border-radius:2px;overflow:visible}.ae-court-art::before{content:'';position:absolute;left:34%;right:34%;top:0;bottom:0;background:#D5DAE6;border-left:2px solid #A9AFBD;border-right:2px solid #A9AFBD}.ae-court-art::after{content:'';position:absolute;left:0;right:0;top:50%;border-top:2px solid #A9AFBD}.ae-court-net{position:absolute;top:-8px;bottom:-8px;left:50%;width:4px;background:var(--ae-navy);z-index:1}.ae-court-art i,.ae-court-art b{position:absolute;width:17px;height:17px;border:5px solid #fff;border-radius:50%;background:var(--ae-navy);left:16%;top:23%;z-index:2}.ae-court-art b{left:auto;right:16%;top:auto;bottom:23%;background:var(--ae-coral)}.ae-court-art span{position:absolute;width:16px;height:16px;right:35%;top:24%;background:var(--ae-coral);border-radius:50%;z-index:2}.ae-caption{font-size:12px;letter-spacing:.03em;color:#4A5268;margin:28px 0 0}.ae-session{margin-top:30px;border-top:1px solid #CCD0DA;padding-top:24px}.ae-sport{display:inline-flex;padding:2px 9px;border-radius:999px;background:#D6FA53;font-size:11px;font-weight:800;letter-spacing:.06em}.ae-session h2{font-size:20px;margin:12px 0 8px}.ae-session-date{font-weight:700;font-size:15px;margin:0 0 8px}.ae-venue{font-size:14px;margin:0;color:#4A5268}.ae-session-foot{font-size:12px;margin:18px 0 0;color:#4A5268}.ae-checkin-note{display:flex;align-items:center;gap:12px;margin-top:24px;padding-top:20px;border-top:1px solid #CCD0DA}.ae-checkin-note>span{display:grid;place-items:center;flex:0 0 42px;height:42px;border:2px solid var(--ae-navy);border-radius:50%;font-size:22px}.ae-checkin-note strong{font-size:14px}.ae-checkin-note p{font-size:12px;color:#4A5268;margin:2px 0 0}.ae-result{border:1px solid #CCD0DA;border-radius:12px;background:white;padding:22px 18px;margin-top:32px;text-align:center}.ae-result-label{font-size:12px;font-weight:800;letter-spacing:.08em}.ae-result-teams{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:center;margin-top:16px}.ae-result-teams>div{display:flex;flex-direction:column;min-width:0}.ae-result-teams>div>span{font-size:12px;overflow-wrap:anywhere}.ae-result-teams strong{font:800 64px/1.25 Arial,sans-serif;font-variant-numeric:tabular-nums}.ae-result-teams>div:last-child strong{color:#C53D28}.ae-result-separator{font-size:20px;color:#7A8194;margin-top:18px}.ae-result p{font-size:13px;color:#4A5268;margin:10px 0 0}.ae-host-steps{list-style:none;padding:0;margin:32px 0 0}.ae-host-steps li{display:flex;align-items:center;gap:16px;font-size:15px;font-weight:700;padding:16px 0;border-top:1px solid #CCD0DA}.ae-host-steps span{font-size:12px;color:#697187;font-weight:400}.ae-context--checkin{background:#E9EBF1!important}.ae-context--host .ae-context-copy{border-left:4px solid var(--ae-coral);padding-left:20px}.ae-complete-icon{display:grid;place-items:center;width:56px;height:56px;background:#E5F2EA;color:#1E6447;border-radius:50%;font-size:28px;margin-bottom:22px}.ae-email-address{overflow-wrap:anywhere;font-weight:700}.ae-shell .error{color:#912E35;font-size:14px;background:#FBEEEE;border-radius:8px;padding:12px}.ae-public{max-width:680px;margin:32px auto;padding:0 16px}.ae-public h1{color:#172240}.ae-event-card{border:1px solid #DDE0E6;border-radius:14px;padding:24px;background:#fff;margin:16px 0}.ae-event-card h2{font-size:20px}.ae-event-card .btn{min-height:52px}.ae-shell .auth-card h2{color:#172240}.ae-shell .auth-card .auth-methods{margin-top:24px}.ae-shell .auth-card .auth-methods button{margin-top:12px}.ae-shell .auth-card .auth-mode-links{margin-top:20px}.ae-shell .auth-card .primary{width:100%}
@media(max-width:700px){.ae-shell{display:flex;flex-direction:column;border:0;border-radius:0;margin:0 auto 32px;max-width:560px}.ae-shell .ae-context{min-height:0;padding:20px 24px 28px}.ae-back{margin-bottom:20px}.ae-context h1{font-size:27px;line-height:1.5;margin-bottom:10px}.ae-eyebrow{font-size:11px;margin-bottom:10px}.ae-description{font-size:14px;line-height:1.8}.ae-shell .auth-card,.ae-shell .ae-card{align-self:stretch;padding:28px 24px 32px}.ae-shell h2{font-size:22px}.ae-court-art{height:100px;margin:28px 20px 0}.ae-caption{font-size:11px;margin-top:22px}.ae-session{margin-top:20px;padding-top:20px}.ae-session h2{font-size:18px}.ae-session-foot{margin-top:12px}.ae-context--player .ae-court-art,.ae-context--player .ae-caption{display:none}.ae-host-steps{display:flex;gap:12px;margin-top:22px}.ae-host-steps li{display:flex;flex:1;align-items:flex-start;flex-direction:column;gap:4px;font-size:12px;padding:12px 0 0}.ae-result{margin-top:20px;padding:14px 16px}.ae-result-teams{margin-top:6px}.ae-result-teams strong{font-size:48px}.ae-checkin-note{margin-top:16px;padding-top:16px}.ae-context--host .ae-context-copy{padding-left:14px}.ae-shell .ae-legal{font-size:12px}.ae-shell .auth-card .auth-methods{margin-top:20px}}
/* Reset legacy layout only when the new entry UI is selected. */
.auth-shell.ae-shell { padding:0; gap:0; align-items:stretch; }
.ae-shell .ae-context { align-items:stretch; justify-content:flex-start; }
.ae-shell .ae-context p { max-width:none; }
.ae-shell .ae-context .ae-description,.ae-shell .ae-context .ae-caption,.ae-shell .ae-context .ae-eyebrow,.ae-shell .ae-context .ae-venue,.ae-shell .ae-context .ae-session-foot { color:#4A5268; }
.ae-shell .ae-button { font-family:inherit; }
.ae-shell #continue-google,.ae-shell #continue-email,.ae-shell #google,.ae-shell #email { width:100%; max-width:400px; height:40px; min-height:40px; padding:0 12px; background:white; color:#1F1F1F; border:1px solid #747775; font-size:14px; font-weight:500; }
.ae-shell #continue-google img,.ae-shell #google img { width:18px; height:18px; }
.crtto-modern { --ink:var(--text); --dark:var(--navy); --muted:var(--text-muted); --lime:var(--sport); --shadow:none; --display:var(--font); font-family:var(--font); color:var(--text); line-height:1.7; }
.crtto-modern .btn { min-height:52px; border:2px solid var(--navy); border-radius:10px; background:white; color:var(--navy); font-size:16px; font-weight:700; }
.crtto-modern .btn.primary { background:var(--cta); border-color:var(--cta); color:var(--on-cta); }
.crtto-modern .btn.primary:hover { background:var(--cta-hover); border-color:var(--cta-hover); }
.crtto-modern .btn:disabled { background:var(--disabled-bg); border-color:var(--disabled-bg); color:var(--disabled-text); opacity:1; }
.crtto-modern .card,.crtto-modern .panel { box-shadow:none; border:1px solid var(--line); border-radius:14px; }
.crtto-modern .eyebrow { color:var(--navy); }
.crtto-modern :is(button,a,input,select,textarea,summary):focus-visible { outline:3px solid var(--focus); outline-offset:3px; }
.crtto-modern .ae-public .section-head { align-items:flex-start; gap:16px; }
.crtto-modern .ae-public h1 { font-size:24px; line-height:1.5; letter-spacing:0; }
.crtto-modern .ae-event-card { display:grid; gap:12px; }
.crtto-modern .ae-event-card p { margin:0; }
.crtto-modern .ae-event-card .btn { width:100%; }
.crtto-modern .ae-public { max-width:560px; }
.crtto-modern .ae-public label { display:block; font-weight:700; font-size:14px; margin:20px 0 8px; }
.crtto-modern .ae-public input { display:block; width:100%; min-height:48px; border:1px solid var(--line-strong); border-radius:10px; padding:10px 12px; font:inherit; background:white; color:var(--navy); }
.ae-shell .ae-context .ae-session-date { color:var(--ae-navy); }
/* E1・E2（画面契約_v1）。カード全体が押せる／日時を主の見出しに */
.ae-public .ae-event-card.is-link { display: grid; gap: 4px; color: inherit; text-decoration: none; }
.ae-public .ae-event-card.is-link:hover { border-color: #172240; }
.ae-public .ae-card-when { margin: 0; font-size: 1.15rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.ae-public .ae-card-venue { margin: 0; font-weight: 700; }
.ae-badge { justify-self: start; display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 13px; font-weight: 700; }
.ae-badge.is-ok { background: #E5F2EA; color: #1E6447; }
.ae-badge.is-wait { background: #FFF1D6; color: #7A4E00; }
.ae-badge.is-sport { background: #DDEFC7; color: #172240; border-radius: 999px; }
.ae-public .ae-event-card.is-detail { display: grid; gap: 8px; }
.ae-public .ae-event-card.is-detail progress { width: 100%; }
