/* 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-legend{display:flex;flex-wrap:wrap;gap:7px 10px;margin:8px 0 12px;color:var(--ebs-muted);font-size:9px;line-height:18px}
.ebr-mobile #ets-seat-dialog .eb-legend>span{gap:4px;white-space:nowrap}
.ebr-mobile #ets-seat-dialog .eb-legend i{width:12px;height:12px;flex:none}
.ebr-mobile #ets-seat-dialog .eb-legend i.selected{background:var(--ebs-blue);border-color:var(--ebs-blue)}
.ebr-mobile .ebs-deck-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:0 0 10px;padding:4px;border-radius:11px;background:#eff4fb}
.ebr-mobile .ebs-deck-tab{min-height:38px;padding:8px;border:0;border-radius:8px;background:transparent;color:#5a7392;font-size:11px;font-weight:700;line-height:20px}
.ebr-mobile .ebs-deck-tab[aria-selected=true]{background:#fff;color:var(--ebs-blue);box-shadow:0 2px 6px #234c7520}
.ebr-mobile #ets-seat-dialog .eb-decks{display:block;width:100%;min-width:0;padding:0;overflow:visible}
.ebr-mobile #ets-seat-dialog .eb-deck{display:block;width:100%;min-width:0;max-width:none;margin:0;padding:10px;border:1px solid #e1e9f4;border-radius:14px;background:linear-gradient(180deg,#f8fbff,#fff 100px)}
.ebr-mobile #ets-seat-dialog .eb-deck-head{padding:0 2px 9px;margin:0 0 11px;font-size:10px;line-height:18px;color:#617b98;gap:10px}
.ebr-mobile #ets-seat-dialog .eb-deck-head .eb-icon{width:22px;height:22px;color:#587798}
.ebr-mobile .ebs-grid-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;padding:3px 2px 8px;scrollbar-width:thin;scrollbar-color:#b8cfe8 transparent}
.ebr-mobile #ets-seat-dialog .eb-deck-grid{grid-auto-columns:var(--ebs-cell,38px);grid-auto-rows:46px;gap:6px;width:max-content;margin:0 auto;align-items:stretch;justify-items:stretch}
.ebr-mobile #ets-seat-dialog .eb-seat{width:100%;height:100%;min-width:32px;min-height:44px;border-radius:6px;color:#43937c;touch-action:manipulation}
.ebr-mobile #ets-seat-dialog .eb-seat .eb-icon{width:100%;height:100%;max-width:40px;stroke-width:1.5}
.ebr-mobile #ets-seat-dialog .eb-seat.berth .eb-icon{max-width:42px}
.ebr-mobile #ets-seat-dialog .eb-seat .eb-seat-label{top:49%;bottom:auto;transform:translateY(-50%);font-size:9px;line-height:12px;font-weight:750}
.ebr-mobile #ets-seat-dialog .eb-seat.berth .eb-seat-label{top:53%}
.ebr-mobile #ets-seat-dialog .eb-seat.ladies{color:#c8669e}
.ebr-mobile #ets-seat-dialog .eb-seat.males{color:#548ec8}
.ebr-mobile #ets-seat-dialog .eb-seat:disabled{color:#c5ceda;background:#f4f6f9}
.ebr-mobile #ets-seat-dialog .eb-seat.selected{color:var(--ebs-blue);background:#eaf3ff;filter:none}
.ebr-mobile #ets-seat-dialog .eb-seat.selected .eb-icon{fill:#1468d61a;stroke-width:2}
.ebr-mobile #ets-seat-dialog .eb-seat:hover:not(:disabled){transform:none}
.ebr-mobile #ets-seat-dialog .eb-special-seat{font-size:8px;line-height:12px;display:grid;place-items:center;color:#788ca3}
.ebr-mobile #ets-seat-dialog .eb-seat-content>div>.eb-muted{margin:11px 0 0;font-size:10px;line-height:17px;color:var(--ebs-muted)}
.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}}
