.eid { padding-bottom: 112px; }
.eid [hidden] { display: none !important; }
.eid-panel { max-width: 460px; }
.eid-panel.wide { max-width: 880px; }
.eid h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: 0.02em; text-transform: uppercase; }
.eid h2:focus { outline: none; }
.eid h3 { margin: 48px 0 16px; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.eid .sub2 { margin: 0 0 24px; color: var(--mu); max-width: 46ch; }
.eid-msg { margin: 0 0 24px; padding: 14px 16px; max-width: 460px; border: 1px solid var(--red-hi); border-left-width: 3px; color: var(--tx); font-size: 15px; line-height: 1.45; }
.eid-msg.ok { border-color: var(--au); }
.eid .fld input { color: var(--tx); position: static; opacity: 1; height: auto; }
.eid .fld small { display: block; margin-top: 6px; color: var(--mu); font-size: 13px; line-height: 1.4; }
.eid .pw { display: flex; gap: 8px; }
.eid .pw input { flex: 1; min-width: 0; }
.eid .pw button { flex: 0 0 auto; min-width: 64px; min-height: 48px; padding: 0 12px; border: 1px solid var(--ln2); border-radius: 2px; background: none; color: var(--tx); font: inherit; font-size: 14px; cursor: pointer; }
.eid .pw button:hover { border-color: var(--tx); }
.eid .code input { font-family: var(--mono); font-size: 24px; letter-spacing: 0.4em; text-align: center; }
.eid .agree { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; font-size: 14px; line-height: 1.45; color: var(--mu); }
.eid .agree input { flex: 0 0 auto; width: 20px; height: 20px; margin: 1px 0 0; accent-color: #C9A227; position: static; opacity: 1; }
.eid .agree a, .eid .alt a, .eid .alt button { color: var(--tx); text-decoration: underline; text-decoration-color: var(--ln2); text-underline-offset: 0.2em; }
.eid .go { margin-top: 28px; width: 100%; min-height: 52px; border: 1px solid var(--red); border-radius: 2px; background: var(--red); color: #fff; font: inherit; font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; }
.eid .go:hover { background: var(--red-hi); border-color: var(--red-hi); }
.eid .go:disabled { opacity: 0.45; cursor: default; }
.eid .go.line { background: none; border-color: var(--ln2); color: var(--tx); width: auto; padding: 0 28px; }
.eid .go.line:hover { border-color: var(--tx); background: none; }
.eid .alt { margin: 24px 0 0; font-size: 14px; color: var(--mu); display: flex; flex-wrap: wrap; gap: 8px 24px; }
.eid .alt button { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.eid .alt a:hover, .eid .alt button:hover { text-decoration-color: var(--au); }
.eid .hello { margin: 0 0 4px; color: var(--mu); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.eid .facts { margin: 0; border-top: 1px solid var(--ln2); }
.eid .facts > div { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--ln); }
.eid .facts dt { font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; padding-top: 3px; }
.eid .facts dd { margin: 0; text-align: right; overflow-wrap: anywhere; color: rgba(240,240,250,.78); }
.eid .svc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1px; background: var(--ln); border: 1px solid var(--ln); }
.eid .svc li { background: var(--bg); padding: 20px; display: flex; flex-direction: column; gap: 6px; min-height: 132px; }
.eid .svc b { font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; }
.eid .svc span { color: var(--mu); font-size: 13px; }
.eid .svc a { margin-top: auto; color: var(--tx); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: underline; text-decoration-color: var(--red-hi); text-underline-offset: 0.3em; }
.eid .svc i { margin-top: auto; font-style: normal; color: var(--mu); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.eid .note2 { color: var(--mu); font-size: 14px; max-width: 60ch; }
.eid .go.danger { border-color: var(--red-hi); }
.eid .go.danger:hover { border-color: var(--red-hi); background: rgba(192,22,50,.14); }
.eid .del-banner { margin: 0 0 32px; padding: 16px; max-width: 620px; border: 1px solid var(--red-hi); border-left-width: 3px; font-size: 15px; line-height: 1.45; }
.eid .del-banner p { margin: 0; }
.eid .del-banner .go { margin-top: 14px; }
.hc { width: 368px; max-width: calc(100vw - 24px); margin: auto; padding: 24px; border: 1px solid var(--ln2); border-radius: 2px; background: var(--bg); color: var(--tx); }
.hc::backdrop { background: rgba(0,0,0,.8); }
.hc.hc-fb { position: fixed; z-index: 1000; left: 50%; top: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 100vmax rgba(0,0,0,.8); }
.eid .hc h2 { font-size: 1.25rem; }
.eid .hc .sub2 { margin-bottom: 16px; }
.hc-stage { position: relative; width: 100%; height: 0; padding-top: 56.25%; overflow: hidden; border: 1px solid var(--ln2); background: #0B0B0C; -webkit-user-select: none; user-select: none; }
.hc-stage canvas { position: absolute; display: block; }
#hc-pic { left: 0; top: 0; width: 100%; height: 100%; }
#hc-piece { left: 0; top: 0; width: 19.375%; height: auto; filter: drop-shadow(0 2px 5px rgba(0,0,0,.75)); pointer-events: none; }
.hc-track { position: relative; height: 48px; margin-top: 12px; border: 1px solid var(--ln2); border-radius: 2px; background: rgba(255,255,255,.04); overflow: hidden; touch-action: none; }
.hc-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: rgba(201,162,39,.18); }
.hc-knob { position: absolute; top: 0; left: 0; width: 56px; height: 46px; display: flex; align-items: center; justify-content: center; background: var(--red); color: #fff; font-size: 20px; cursor: grab; touch-action: none; -webkit-user-select: none; user-select: none; }
.hc-knob:focus-visible { outline: 2px solid var(--au); outline-offset: -2px; }
.hc.ok .hc-knob { background: var(--au); color: #000; }
.hc.miss .hc-stage { animation: hc-shake .3s; }
@keyframes hc-shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
@media (prefers-reduced-motion: reduce) { .hc.miss .hc-stage { animation: none; } }
.hc-help { margin: 12px 0 0; color: var(--mu); font-size: 13px; line-height: 1.4; }
.hc-say { min-height: 20px; margin: 8px 0 0; font-size: 14px; }
.hc.ok .hc-say { color: var(--au); }
