.sea-photo-booth{position:absolute;inset:0;z-index:65;pointer-events:none;color:#f8f7f3;font-family:var(--sea-font,'Avenir Next','Apple SD Gothic Neo',sans-serif);--photo-blue:#1755e8;--photo-edge:#dbe8ff70;--photo-glass:#17375bec}
.sea-photo-booth[hidden],.sea-photo-booth [hidden]{display:none!important}
#sea-app[data-photo="true"] #sea-chrome{visibility:hidden}
.sea-photo-glass{border:1px solid var(--photo-edge);background:var(--photo-glass);box-shadow:0 8px 30px #05193526,inset 0 1px 0 #e8f1ff1f;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);pointer-events:auto}
.sea-photo-heading{position:absolute;top:calc(env(safe-area-inset-top,0px) + 16px);left:16px;right:16px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-radius:20px;padding:14px 16px}
.sea-photo-eyebrow{display:block;font-size:10px;line-height:1.3;letter-spacing:.15em;font-weight:650;color:#bfd6ff}
.sea-photo-heading h2{margin:4px 0;font-size:21px;line-height:1.25;letter-spacing:-.04em;color:#f8f7f3;font-weight:650}
.sea-photo-heading p{margin:0;color:#d6e5ff;font-size:12px;line-height:1.6}
.sea-photo-booth button{min-height:44px;border:1px solid #bfd6ff5c;border-radius:13px;background:#1e466f;color:#f8f7f3;font:600 14px/1.4 var(--sea-font,'Avenir Next','Apple SD Gothic Neo',sans-serif);padding:10px 14px;cursor:pointer;touch-action:manipulation;transition:background 160ms ease,transform 160ms ease,border-color 160ms ease}
.sea-photo-booth button:focus-visible,.sea-photo-booth input:focus-visible{outline:3px solid #f9d884;outline-offset:3px}
.sea-photo-booth button:active{transform:translateY(1px);background:#2a5687}
.sea-photo-booth button:disabled{opacity:.55;cursor:wait;transform:none}
.sea-photo-booth .sea-photo-close{flex-shrink:0;background:#102a47;border-color:#bfd6ff45;padding-inline:14px}
.sea-photo-viewfinder{position:absolute;inset:155px 24px 285px;opacity:.67;pointer-events:none}
.sea-photo-viewfinder i{position:absolute;width:25px;height:25px;border-color:#fff7dc;border-style:solid;border-width:0}
.sea-photo-viewfinder i:nth-child(1){top:0;left:0;border-top-width:2px;border-left-width:2px;border-top-left-radius:13px}
.sea-photo-viewfinder i:nth-child(2){top:0;right:0;border-top-width:2px;border-right-width:2px;border-top-right-radius:13px}
.sea-photo-viewfinder i:nth-child(3){bottom:0;left:0;border-bottom-width:2px;border-left-width:2px;border-bottom-left-radius:13px}
.sea-photo-viewfinder i:nth-child(4){bottom:0;right:0;border-bottom-width:2px;border-right-width:2px;border-bottom-right-radius:13px}
.sea-photo-panel{position:absolute;bottom:calc(env(safe-area-inset-bottom,0px) + 16px);left:16px;right:16px;border-radius:22px;padding:17px 18px 13px;max-height:calc(100% - 155px - env(safe-area-inset-top,0px));overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.sea-photo-poses{border:0;margin:0 0 13px;padding:0;min-width:0}
.sea-photo-poses legend{font-size:12px;line-height:1.4;font-weight:650;color:#d6e5ff;margin-bottom:9px;padding:0}
.sea-photo-poses>div{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:8px}
.sea-photo-poses button{padding:10px 5px;font-size:13px;white-space:nowrap;background:#112e4c}
.sea-photo-poses button[aria-pressed=true]{color:#132e50;background:#e3edff;border-color:#f1f5ff;box-shadow:0 0 0 1px #d5e5ff36}
.sea-photo-booth .sea-photo-shutter{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:54px;background:#e7edff;color:#143766;border-color:#f2f5ff;box-shadow:0 3px 10px #061c3829;font-size:16px}
.sea-photo-shutter-icon{width:27px;height:27px;box-sizing:border-box;border:2px solid currentColor;border-radius:50%;outline:1px solid currentColor;outline-offset:3px}
.sea-photo-help{font-size:11px;line-height:1.6;color:#d6e5ff;text-align:center;margin:11px 0 0}
.sea-photo-invite{border-top:1px solid #bdd5ff2e;margin-top:14px;padding-top:10px}
.sea-photo-booth .sea-photo-invite button{border:0;background:transparent;padding:6px 0;min-height:44px;width:100%;color:#dceaff;font-size:12px;text-decoration:underline;text-decoration-color:#b9d2ff6e;text-underline-offset:4px}
.sea-photo-invite-url{display:block;width:100%;min-height:44px;margin-bottom:8px;box-sizing:border-box;padding:8px;border:1px solid #b8d5ff;background:#eff4ff;color:#17375b;font:13px/1.5 var(--sea-font);border-radius:8px}
.sea-photo-status{font-size:12px;line-height:1.6;margin:0;color:#f8e6b9;overflow-wrap:anywhere}
.sea-photo-status:empty{display:none}
.sea-photo-privacy{font-size:10px;line-height:1.5;text-align:center;margin:4px 0 0;color:#c8daf1}
.sea-photo-countdown{position:absolute;left:50%;top:44%;transform:translate(-50%,-50%);font-size:100px;font-weight:650;line-height:1;color:#fff8e9;text-shadow:0 3px 25px #163357b3;font-variant-numeric:tabular-nums}
.sea-photo-result{position:absolute;inset:136px 24px 295px;display:flex;justify-content:center;align-items:center;background:#091e3670;border-radius:16px;padding:10px;pointer-events:auto}
.sea-photo-result img{max-height:100%;max-width:100%;width:auto;height:auto;object-fit:contain;border-radius:5px;box-shadow:0 5px 28px #04142670}
.sea-photo-result-controls h3{font-size:19px;margin:0;letter-spacing:-.04em;color:#f8f7f3}
.sea-photo-result-note{font-size:12px;line-height:1.6;color:#d6e5ff;margin:5px 0 14px}
.sea-photo-file-actions{display:flex;gap:8px}
.sea-photo-file-actions button{flex:1}
.sea-photo-booth .sea-photo-primary{background:var(--photo-blue);border-color:#89adff}
.sea-photo-booth .sea-photo-retake{display:block;margin:10px auto 0;border-color:transparent;background:transparent;min-height:44px}
@media(hover:hover){.sea-photo-booth button:hover:not(:disabled){background:#2a5687}.sea-photo-booth .sea-photo-shutter:hover:not(:disabled){background:#f2f5ff}.sea-photo-poses button[aria-pressed=true]:hover:not(:disabled){background:#f2f5ff}}
@media(min-width:700px) and (min-height:600px){.sea-photo-heading{top:24px;left:24px;right:auto;width:340px}.sea-photo-panel{left:auto;right:24px;bottom:24px;width:310px;padding:22px}.sea-photo-viewfinder{inset:165px 395px 80px 70px}.sea-photo-result{inset:155px 395px 42px 42px}.sea-photo-countdown{left:calc(50% - 140px)}}
@media(orientation:landscape) and (max-height:599px){.sea-photo-heading{top:max(10px,env(safe-area-inset-top));left:max(12px,env(safe-area-inset-left));right:calc(270px + max(12px,env(safe-area-inset-right)));padding:10px 14px;border-radius:17px}.sea-photo-heading p{display:none}.sea-photo-heading h2{font-size:18px;margin-bottom:0}.sea-photo-eyebrow{font-size:8px}.sea-photo-booth .sea-photo-close{min-height:44px}.sea-photo-panel{top:10px;bottom:10px;left:auto;right:max(12px,env(safe-area-inset-right));width:250px;max-height:none;box-sizing:border-box;padding:14px}.sea-photo-viewfinder{inset:108px 300px 28px 30px}.sea-photo-countdown{left:calc(50% - 130px);top:54%;font-size:75px}.sea-photo-result{inset:104px 285px 15px 15px}.sea-photo-poses>div{gap:5px}.sea-photo-poses button{font-size:11px}.sea-photo-poses{margin-bottom:10px}.sea-photo-help{font-size:10px;margin-top:7px}.sea-photo-invite{margin-top:7px;padding-top:4px}.sea-photo-privacy{font-size:9px}.sea-photo-status{font-size:11px}.sea-photo-file-actions{flex-direction:column;gap:7px}.sea-photo-result-note{margin-bottom:8px}.sea-photo-booth .sea-photo-retake{margin-top:3px}}
@media(prefers-reduced-motion:reduce){.sea-photo-booth button{transition:none}}
/* Portrait rows follow the actual control height, including sharing fallback
   messages, so the complete photograph stays between the heading and tray. */
@media(orientation:portrait) and (max-width:699px){
  .sea-photo-booth{display:grid;grid-template-rows:auto minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr);gap:14px;padding:calc(env(safe-area-inset-top,0px) + 16px) 16px calc(env(safe-area-inset-bottom,0px) + 16px);box-sizing:border-box}
  .sea-photo-heading{position:static;grid-column:1;grid-row:1;min-width:0}
  .sea-photo-panel{position:static;grid-column:1;grid-row:3;min-width:0;max-height:none}
  .sea-photo-viewfinder{position:relative;grid-column:1;grid-row:2;inset:auto;min-width:0;min-height:0;margin:0 8px}
  .sea-photo-result{position:relative;grid-column:1;grid-row:2;inset:auto;min-width:0;min-height:0;margin:0 8px;overflow:hidden}
  .sea-photo-countdown{position:relative;grid-column:1;grid-row:2;left:auto;top:auto;transform:none;place-self:center}
}
