/* Phone seat selection uses the existing supplier seat coordinates and booking controls. */
.ebr-mobile #ets-seat-dialog{--ebs-blue:var(--th-primary,#1468d6);--ebs-ink:#172e4b;--ebs-muted:#61748c;position:fixed;inset:8px;width:calc(100% - 16px);max-width:560px;height:calc(100vh - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);margin:auto;padding:0;border:1px solid #e0e8f2;border-radius:20px;background:#f6f9fd;color:var(--ebs-ink);font-family:inherit;overflow:hidden}
.ebr-mobile #ets-seat-dialog[open]{display:flex;flex-direction:column}
.ebr-mobile #ets-seat-dialog::backdrop{background:#142a466b;backdrop-filter:blur(3px)}
.ebr-mobile #ets-seat-dialog .eb-dialog-head{padding:13px 14px 11px;gap:10px;flex:none;background:#fff;border-bottom:0}
.ebr-mobile #ets-seat-dialog .eb-eyebrow{margin:0 0 4px;color:var(--ebs-blue);font-size:8px;line-height:14px;font-weight:800;letter-spacing:1.2px}
.ebr-mobile #ets-seat-dialog #ets-seat-title{font-family:inherit;font-size:16px;line-height:22px;font-weight:800;letter-spacing:-.4px;margin:0}
.ebr-mobile #ets-seat-dialog #ets-seat-subtitle{font-size:10px;line-height:16px;margin:4px 0 0;color:var(--ebs-muted);overflow-wrap:anywhere}
.ebr-mobile #ets-seat-close{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;border:0;border-radius:11px;background:#edf4ff;color:#496482;padding:0}
.ebr-mobile #ets-seat-close .eb-icon{width:18px;height:18px}
.ebr-mobile .ebs-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;flex:none;padding:0 14px 11px;background:#fff;border-bottom:1px solid #e5edf7}
.ebr-mobile .ebs-step{display:flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:8px;border:1px solid #e0e8f2;border-radius:10px;background:#f5f8fd;color:#5d7591;font-size:10px;font-weight:700;line-height:18px}
.ebr-mobile .ebs-step .eb-icon{width:15px;height:15px;color:var(--ebs-blue)}
.ebr-mobile .ebs-step.active{background:#eaf3ff;border-color:#b9d5ff;color:var(--ebs-blue)}
.ebr-mobile #ets-seat-dialog #ets-seat-status{flex:none;margin:0;padding:0 14px;background:#fff4ed;color:#9f442a;font-size:11px;line-height:18px;max-height:70px;overflow:auto}
.ebr-mobile #ets-seat-dialog #ets-seat-status:not(:empty){padding:8px 14px;border-bottom:1px solid #f6dfd2}
.ebr-mobile #ets-seat-dialog .eb-seat-content{display:block;flex:1 1 auto;min-height:0;padding:12px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:auto;scroll-behavior:auto}
.ebr-mobile #ets-seat-dialog .eb-seat-content>div{min-width:0;padding:12px;background:#fff;border:1px solid #e0e8f2;border-radius:14px;scroll-margin:12px}
.ebr-mobile .ebs-map-heading{margin:0 0 6px;font-family:inherit;font-size:13px;font-weight:800;line-height:20px;color:var(--ebs-ink)}
.ebr-mobile #ets-seat-dialog .eb-price-filter{margin:4px 0 10px;padding:6px 8px;gap:6px}
.ebr-mobile #ets-seat-dialog .eb-price-filter-label{font-size:10px}
.ebr-mobile #ets-seat-dialog .eb-price-filter-pills{gap:5px}
.ebr-mobile #ets-seat-dialog .eb-price-pill{padding:3px 9px;min-height:25px;font-size:10px}
.ebr-mobile #ets-seat-dialog .eb-decks{display:flex;flex-direction:column;gap:10px;width:100%;min-width:0;padding:0;overflow:visible}
.ebr-mobile #ets-seat-dialog .eb-deck{--eb-col-w:24px;--eb-row-h:24px;--eb-aisle-h:10px;--eb-gap:4px;display:flex;flex-direction:row;align-items:stretch;gap:8px;width:100%;min-width:0;max-width:100%;margin:0;padding:8px 10px 8px 6px;border:1.5px solid #cfd5de;border-radius:12px;background:#f7f8fa}
.ebr-mobile #ets-seat-dialog .eb-deck-side{width:22px;flex:0 0 22px;padding-right:2px}
.ebr-mobile #ets-seat-dialog .eb-deck-head{padding:0;margin:0;font-size:10px;line-height:1.2;color:#525866;gap:5px}
.ebr-mobile #ets-seat-dialog .eb-deck-head .eb-icon{width:18px;height:18px;color:#9ea6b4}
.ebr-mobile #ets-seat-dialog .eb-deck-head>span{font-size:10px}
.ebr-mobile .ebs-grid-scroll{flex:1 1 auto;min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;padding:2px 1px 4px;scrollbar-width:thin;scrollbar-color:#b8cfe8 transparent}
.ebr-mobile #ets-seat-dialog .eb-deck-grid{display:grid;grid-auto-columns:var(--eb-col-w,24px);gap:var(--eb-gap,4px);width:max-content;margin:0;align-items:stretch;justify-items:stretch}
.ebr-mobile #ets-seat-dialog .eb-seat{width:100%;height:100%;min-width:0;min-height:0;touch-action:manipulation}
.ebr-mobile #ets-seat-dialog .eb-seat.berth{min-width:calc(var(--eb-col-w,24px)*2 + var(--eb-gap,4px));min-height:var(--eb-row-h,24px);border-radius:6px}
.ebr-mobile #ets-seat-dialog .eb-seat.berth.berth-v{min-width:var(--eb-col-w,24px);min-height:calc(var(--eb-row-h,24px)*2 + var(--eb-gap,4px))}
.ebr-mobile #ets-seat-dialog .eb-seat.seater{min-width:var(--eb-col-w,24px);min-height:var(--eb-row-h,24px);border-radius:4px 6px 6px 4px}
.ebr-mobile #ets-seat-dialog .eb-seat .eb-seat-label{position:static!important;transform:none!important;font-size:8.5px;line-height:1;font-weight:650}
.ebr-mobile #ets-seat-dialog .eb-seat.seater .eb-seat-label{font-size:8px}
.ebr-mobile #ets-seat-dialog .eb-seat:hover:not(:disabled){transform:none}
.ebr-mobile #ets-seat-dialog .eb-special-seat{font-size:6.5px;line-height:1.1;display:grid;place-items:center;color:#788ca3}
.ebr-mobile #ets-seat-dialog .eb-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 12px;margin:10px 0 4px;color:#4b5563;font-size:9px;line-height:1.2}
.ebr-mobile #ets-seat-dialog .eb-legend-item small{font-size:8.5px}
.ebr-mobile #ets-seat-dialog .eb-seat-content>div>.eb-muted{margin:8px 0 0;font-size:10px;line-height:16px;color:var(--ebs-muted);text-align:center}
.ebr-mobile #ets-seat-dialog .eb-seat-summary{margin:10px 0 0;padding:14px;border:1px solid #e0e8f2;border-radius:14px;background:#fff;scroll-margin:12px}
.ebr-mobile #ets-seat-dialog .eb-seat-summary h3{font-family:inherit;font-size:13px;font-weight:800;line-height:21px;margin:0 0 12px}
.ebr-mobile #ets-seat-dialog .eb-seat-summary h3 .eb-icon{width:16px;height:16px;color:var(--ebs-blue)}
.ebr-mobile #ets-seat-dialog .eb-seat-summary label{display:block;margin:12px 0 5px;font-size:11px;line-height:18px;font-weight:600;color:#607996}
.ebr-mobile #ets-seat-dialog .eb-seat-summary select{display:block;width:100%;min-width:0;max-width:100%;min-height:46px;margin:6px 0 0;padding:11px 28px 11px 12px;border:0;border-radius:10px;background-color:#f0f5fc;color:var(--ebs-ink);font-family:inherit;font-size:13px;line-height:22px;text-overflow:ellipsis}
.ebr-mobile #ets-seat-dialog .eb-point-detail{font-size:10px;line-height:17px;color:var(--ebs-muted);margin:5px 0 0;overflow-wrap:anywhere}
.ebr-mobile #ets-seat-dialog .eb-selection-info{margin:16px 0 0;padding-top:13px;border-color:#e0e8f2}
.ebr-mobile #ets-seat-dialog .eb-selection-info>small{font-size:8px;line-height:14px;font-weight:700;letter-spacing:1px}
.ebr-mobile #ets-seat-dialog #ets-selected-seats{font-size:13px;line-height:21px;margin:4px 0 10px;color:var(--ebs-blue);overflow-wrap:anywhere}
.ebr-mobile #ets-seat-dialog .eb-fare-row{margin:8px 0;font-size:11px;line-height:18px}
.ebr-mobile #ets-seat-dialog .eb-fare-total{padding-top:10px;margin-top:12px}
.ebr-mobile #ets-seat-dialog .eb-fare-total>span{font-size:12px}
.ebr-mobile #ets-seat-dialog .eb-fare-total>strong{font-size:22px;line-height:30px}
.ebr-mobile #ets-seat-dialog .eb-dialog-footer{display:grid;grid-template-columns:minmax(0,1fr) minmax(136px,1fr);gap:7px 10px;align-items:center;flex:none;padding:11px 14px max(11px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e0e8f2;box-shadow:0 -5px 18px #1e4b7806}
.ebr-mobile .ebs-footer-summary{min-width:0;grid-column:1;grid-row:1}
.ebr-mobile .ebs-footer-summary small{display:block;font-size:9px;line-height:15px;color:#71859e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ebr-mobile .ebs-footer-summary strong{display:block;font-size:19px;line-height:26px;font-weight:800;letter-spacing:-.5px;color:var(--ebs-ink);white-space:nowrap}
.ebr-mobile #ets-continue{grid-column:2;grid-row:1;width:100%;min-height:46px;padding:10px 8px;border:0;border-radius:11px;background:var(--th-btn,#1468d6);color:#fff;font-size:11px;line-height:20px;font-weight:700;white-space:normal}
.ebr-mobile #ets-continue .eb-icon{width:15px;height:15px}
.ebr-mobile #ets-continue:disabled{background:#dbe6f4;color:#758ca6;opacity:1;cursor:default;box-shadow:none}
.ebr-mobile #ets-seat-dialog .eb-dialog-footer>.eb-muted{grid-column:1/-1;grid-row:2;font-size:8px;line-height:13px;margin:0;color:#8292a6}
.ebr-mobile #ets-seat-dialog :is(button,select):focus-visible{outline:3px solid #8ab9f1;outline-offset:2px}
@media(max-height:480px){.ebr-mobile #ets-seat-dialog .eb-dialog-head{padding:8px 12px}.ebr-mobile #ets-seat-dialog .eb-eyebrow,.ebr-mobile #ets-seat-dialog #ets-seat-subtitle{display:none}.ebr-mobile .ebs-steps{padding:0 12px 7px}.ebr-mobile .ebs-step{min-height:34px;padding:5px}.ebr-mobile #ets-seat-dialog .eb-dialog-footer{padding:7px 12px;gap:3px 8px}}
