*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#06101d;color:white;font:14px system-ui}button,select{font:inherit;cursor:pointer}button{color:inherit;border:0}button:disabled{opacity:.35;cursor:default}[hidden]{display:none!important}#scene{position:absolute;inset:0;width:100%;height:100%;border:0}.glass,.circle{border:1px solid #ffffff3d;background:#09111d29;backdrop-filter:blur(22px) saturate(165%);box-shadow:0 8px 24px #00000029,inset 0 0 0 1px #ffffff0d}.circle{position:absolute;top:max(26px,env(safe-area-inset-top));width:43px;height:43px;border-radius:50%;padding:0;font-size:24px;z-index:5}.back{left:16px}.shot{right:68px;font-size:21px}.more{right:16px;font-size:16px}.capsule{position:absolute;top:max(26px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);width:min(178px,calc(100% - 200px));min-height:45px;border-radius:23px;padding:8px 9px 7px;text-align:center;pointer-events:none}.capsule strong,.capsule span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.capsule strong{font-size:13px;line-height:1.3}.capsule span{font-size:11px;line-height:1.25}.zoom{position:absolute;top:39.5%;right:15px;width:44px;border-radius:22px;overflow:hidden}.zoom button,.zoom strong{display:grid;place-items:center;width:100%;min-height:45px;background:transparent;color:white}.zoom button{font-size:24px}.zoom strong{font-size:11px;border-block:1px solid #ffffff24}.seat-bar{position:absolute;left:30px;right:30px;bottom:max(28px,calc(env(safe-area-inset-bottom) + 16px));height:55px;display:grid;grid-template-columns:minmax(0,1fr) 60px 82px;padding:5px;border:1px solid #ffffff85;border-radius:28px;background:#ffffff99;color:#0b0b0d;backdrop-filter:blur(24px) saturate(170%);box-shadow:0 12px 34px #0003}.seat-bar strong{align-self:center;padding:0 8px 0 18px;font-size:14px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.seat-bar select{border:0;border-left:1px solid #e2e4e8;background:transparent;color:#17191d;font-size:13px;min-width:0}.seat-bar button,#locate{background:#ffd42a;color:#111216;font-weight:850;border-radius:26px}.seat-bar button{font-size:15px}#menu{position:absolute;right:16px;top:80px;z-index:8;border-radius:18px;padding:16px;max-width:270px}#menu label{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 0}#menu select{color:white;background:#172736;border:1px solid #ffffff66;border-radius:8px;padding:6px}#menu small{display:block;font-size:10px;color:#ddd;margin-top:12px}#backdrop{position:absolute;inset:0;z-index:10}#sheet{position:absolute;bottom:0;left:0;right:0;z-index:11;max-height:calc(100% - 76px);overflow:auto;padding:12px 18px max(18px,env(safe-area-inset-bottom));border:1px solid #ffffff9e;border-radius:24px 24px 0 0;background:#ffffffd1;color:#101216;backdrop-filter:blur(28px) saturate(165%);box-shadow:0 -10px 34px #0004}.handle{width:38px;height:4px;border-radius:4px;background:#dfe2e6;margin:0 auto 11px}.sheet-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.sheet-title h2{margin:0;font-size:23px}.sheet-title button{width:34px;height:34px;background:transparent;color:#17191d;font-size:28px}#sheet-map{display:block;width:100%;height:180px;padding:6px;background:transparent}.fields{display:grid;grid-template-columns:1.5fr .8fr 1fr;gap:10px;margin:8px 0 12px}.fields label{border:1px solid #e4e6e8;border-radius:12px;background:#ffffffcc;padding:7px 10px;color:#9399a2;font-size:11px;min-width:0}.fields select{display:block;width:100%;border:0;background:transparent;color:#17191d;font-size:14px;font-weight:750;height:28px;min-width:0}#locate{width:100%;height:50px;font-size:16px}#loading{position:absolute;inset:0;display:grid;place-items:center;background:#06101df0;z-index:20;padding:30px;text-align:center}#toast{position:absolute;z-index:30;bottom:100px;left:50%;transform:translateX(-50%);background:#101722e8;padding:12px 18px;border-radius:12px;max-width:90%;text-align:center}
/* Fit the verified region card, not the entire ticket-guide image. */
.seat-choice-field{border:1px solid #e4e6e8;border-radius:12px;background:#ffffffcc;padding:7px 10px;color:#9399a2;font-size:11px;min-width:0}
.seat-choice{display:flex;align-items:center;justify-content:space-between;gap:6px;width:100%;min-height:28px;border:0;padding:0;background:transparent;color:#17191d;font-size:14px;font-weight:750;text-align:left}
.seat-choice>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.seat-choice-list{position:fixed;z-index:15;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;padding:4px;border:1px solid #ded6ed;border-radius:12px;background:#fffffff5;color:#17191d;box-shadow:0 6px 24px #0003;scrollbar-width:thin;scrollbar-color:#b5a1d2 #f2eef8}
.seat-choice-list button{display:block;width:100%;min-height:44px;padding:10px 12px;border-radius:8px;background:transparent;color:inherit;text-align:left;font-size:15px;line-height:24px}
.seat-choice-list [aria-selected="true"]{background:#eee7f7;color:#705297;font-weight:750}
.seat-choice-list button:focus-visible,.seat-choice:focus-visible{outline:2px solid #a58bd4;outline-offset:-2px}
.seat-choice,.seat-choice-list{-webkit-tap-highlight-color:transparent}
#sheet-map{display:flex;align-items:center;justify-content:center;width:100%;height:min(43dvh,430px);padding:0;margin:4px 0 12px;background:transparent}
#sheet-map svg{display:block;max-width:100%;width:100%;height:100%;overflow:hidden}
#sheet-map [role="button"]{cursor:pointer;outline:none}
#sheet-map [role="button"]:focus-visible{stroke:#17191d;stroke-width:2}
@media(max-height:550px){#sheet-map{height:32dvh}}
/* Pointer taps must not paint a temporary WebView highlight over the official image. */
#sheet-map,#sheet-map *{-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.seat-bar{background:#ffffff52;border-color:#ffffff59;backdrop-filter:blur(12px) saturate(145%);-webkit-backdrop-filter:blur(12px) saturate(145%)}
.seat-bar #pose{display:flex;align-items:center;justify-content:center;gap:6px;background:transparent;border-radius:0;border-left:1px solid #ffffff45;color:#17191d;font-size:13px;font-weight:400;-webkit-tap-highlight-color:transparent}
#pose-menu{position:absolute;bottom:calc(100% + 10px);right:84px;width:132px;max-width:calc(100vw - 60px);padding:5px;border:1px solid #ffffff75;border-radius:16px;background:#ffffffbd;color:#101216;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:0 6px 24px #0002;z-index:9}
.seat-bar #pose-menu button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;padding:0 14px;background:transparent;border-radius:11px;font-size:14px;font-weight:500;-webkit-tap-highlight-color:transparent}
#pose-menu [aria-checked="false"] span{visibility:hidden}
.seat-bar #pose-menu [aria-checked="true"]{background:#ffffff55}
#pose-menu button:focus-visible,#pose:focus-visible{outline:2px solid #725e00;outline-offset:1px}
/* Approved shared layout. Historical class name retained for existing preview links. */
.controls-preview{--viewer-bottom:max(28px,calc(env(safe-area-inset-bottom) + 16px))}
.controls-preview .shot{left:66px;right:auto;display:grid;place-items:center}
.controls-preview .shot svg,.controls-preview #more svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.controls-preview .capsule{left:117px;transform:none;width:min(178px,calc(100% - 270px))}
.controls-preview .zoom{top:max(26px,env(safe-area-inset-top));right:16px;width:122px;height:44px;display:flex;align-items:center}
.controls-preview .zoom button{min-height:44px;width:44px;flex:0 0 44px}
.controls-preview .zoom #minus{order:0}
.controls-preview .zoom #plus{order:2}
.controls-preview .zoom strong{order:1;min-height:24px;width:32px;flex:1;font-size:12px;border-block:0;border-inline:1px solid #ffffff24}
.controls-preview .seat-bar{left:16px;right:16px;bottom:var(--viewer-bottom);height:56px;grid-template-columns:minmax(0,1fr) 54px 44px 82px;gap:3px;padding:5px;border-color:#ffffff38;background:#09111d1f;color:white;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);box-shadow:0 3px 16px #00000014}
.controls-preview .seat-bar strong{padding-left:12px;padding-right:4px;text-shadow:0 1px 3px #000,0 0 5px #000a}
.controls-preview .seat-bar #pose{padding:0;white-space:nowrap;color:white;border-left-color:#ffffff38;text-shadow:0 1px 3px #000,0 0 5px #000a}
.controls-preview .seat-bar #more{position:static;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:white;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;-webkit-tap-highlight-color:transparent}
.controls-preview #more svg{filter:drop-shadow(0 1px 2px #000)}
.controls-preview #menu{top:auto;bottom:calc(var(--viewer-bottom) + 66px);background:#101824c7;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.controls-preview #pose-menu{right:126px}
.controls-preview #more:focus-visible,.controls-preview #shot:focus-visible{outline:2px solid #ffd42a;outline-offset:2px}
@media(max-width:360px){.controls-preview .seat-bar{left:10px;right:10px;grid-template-columns:minmax(0,1fr) 46px 44px 72px;gap:0}.controls-preview .seat-bar strong{font-size:12px;padding-left:8px}.controls-preview .seat-bar #pose{font-size:12px;gap:3px}.controls-preview .seat-bar #change{font-size:14px}.controls-preview #pose-menu{right:116px}.controls-preview .capsule strong{font-size:11px}}
@media(max-width:420px){.controls-preview .back{left:8px;width:40px}.controls-preview .shot{left:52px;width:40px}.controls-preview .capsule{left:100px;right:112px;transform:none;width:auto;min-width:0;padding-inline:5px}.controls-preview .capsule strong{font-size:11px}.controls-preview .capsule span{font-size:10px}.controls-preview .zoom{right:8px;width:96px}.controls-preview .zoom button{width:34px;flex-basis:34px}.controls-preview .zoom strong{width:28px;font-size:11px}}
/* Final approved layout: native Back only; settings replaces the in-scene Back.
   Share the seat-bar inset with zoom so its right edge matches the yellow CTA. */
.controls-preview{--bar-edge:16px;--zoom-width:122px;--bar-inset:5px}
.controls-preview #more{left:16px;right:auto;top:max(26px,env(safe-area-inset-top));width:43px;height:43px;display:grid;place-items:center;padding:0}
.controls-preview .zoom{right:calc(var(--bar-edge) + var(--bar-inset));width:var(--zoom-width)}
.controls-preview .capsule{display:flex;align-items:center;justify-content:center;right:calc(var(--bar-edge) + var(--bar-inset) + var(--zoom-width) + 8px);width:auto;max-width:none}
.controls-preview .capsule strong{min-width:0}
.controls-preview .seat-bar{left:var(--bar-edge);right:var(--bar-edge);border-width:1px;grid-template-columns:minmax(40px,.65fr) minmax(0,1.3fr) minmax(0,1.3fr) 56px 66px;gap:0;padding:4px}
.controls-preview .seat-bar #current-section,.controls-preview .seat-step button{background:transparent;color:white;padding:0;border-radius:0;text-shadow:0 1px 3px #000,0 0 5px #000a;-webkit-tap-highlight-color:transparent}
.controls-preview .seat-bar #current-section{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:13px}
.controls-preview .seat-step{display:flex;align-items:center;min-width:0;border-left:1px solid #ffffff38}
.controls-preview .seat-step button{flex:0 0 36px;height:44px;font-size:19px;font-weight:500;touch-action:manipulation}
.controls-preview .seat-step span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;font-size:13px;font-weight:750;text-shadow:0 1px 3px #000,0 0 5px #000a}
.controls-preview .seat-bar #pose{position:static;align-self:center;height:44px;min-width:44px;width:auto;margin-left:4px;border:1px solid #ffffff38;border-radius:23px;font-size:13px;gap:3px;background:#09111d1f;color:white;touch-action:manipulation}
.controls-preview .seat-bar #change{font-size:14px;padding:0;margin-left:6px;touch-action:manipulation}
.controls-preview #pose-menu{right:70px;bottom:calc(100% + 10px)}
.controls-preview #menu{top:calc(max(26px,env(safe-area-inset-top)) + 54px);left:16px;right:auto;bottom:auto;max-height:calc(100dvh - 180px);max-width:calc(100vw - 32px);overflow-y:auto}
.controls-preview .seat-step button:focus-visible,.controls-preview #current-section:focus-visible{outline:2px solid #ffd42a;outline-offset:-2px}
@media(max-width:420px){.controls-preview{--zoom-width:96px}.controls-preview #more{left:8px;width:40px}.controls-preview #menu{left:8px}.controls-preview .seat-step button{flex-basis:30px}.controls-preview .seat-step span{font-size:12px}}
@media(max-width:380px){.controls-preview{--bar-edge:8px}.controls-preview .seat-bar{grid-template-columns:minmax(40px,.65fr) minmax(0,1.3fr) minmax(0,1.3fr) 48px 54px}.controls-preview .seat-step span,.controls-preview .seat-bar #current-section{font-size:12px}.controls-preview .seat-bar #pose{font-size:12px;gap:1px}.controls-preview #pose-menu{right:58px}}
@media(max-width:360px){.controls-preview .seat-step button{flex-basis:24px}.controls-preview .seat-step span{font-size:11px}}
/* Explicit compositing order for the candidate canvas in mobile WebViews.
   Scope only this adapter; the accepted INSPIRE styling is unchanged. */
.event-candidate-viewer #scene{z-index:0}
.event-candidate-viewer .capsule,.event-candidate-viewer .zoom,.event-candidate-viewer .seat-bar{z-index:5}
.event-candidate-viewer #change,.event-candidate-viewer #current-section{position:relative;pointer-events:auto;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.loading-content{width:min(100%,360px);line-height:1.65;overflow-wrap:anywhere}
#loading-message{margin:0;font-size:16px}
#loading-note{margin:16px 0 0;color:#c2cbd6;font-size:13px}
#loading-retry{display:block;min-width:136px;min-height:44px;margin:20px auto 0;padding:10px 24px;border:1px solid #ffffff66;border-radius:14px;background:#ffffff12;color:white;touch-action:manipulation}
#loading-retry:focus-visible{outline:2px solid #ffd42a;outline-offset:3px}
