/* Local 360-degree photography, opened on demand. */
.panorama-section { padding-block:0 24px; }
.panorama-stage [hidden],.panorama-editor [hidden] { display:none !important; }
.panorama-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:18px; }
.panorama-label { display:inline-flex; align-items:center; gap:9px; padding:8px 13px; border:1px solid #607568; border-radius:30px; color:#d5efc5; font-size:12px; font-weight:500; white-space:nowrap; }
.panorama-label>span { font-size:19px; }
.panorama-heading>p { margin:0; color:#b7c6c3; font-size:12px; line-height:1.7; text-align:end; }
.panorama-stage { position:relative; isolation:isolate; height:clamp(340px,65svh,800px); width:100%; overflow:hidden; border:1px solid #435957; border-radius:14px; background:#0b1317; }
.panorama-fallback { display:block; width:100%; height:100%; object-fit:cover; }
.panorama-launch { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; flex-direction:column; gap:17px; padding:28px; background:linear-gradient(0deg,#061014b8,#06101426 65%,#06101447); text-align:center; color:#f5f8f0; }
.panorama-launch>p { margin:0; font-size:clamp(20px,2.4vw,32px); font-weight:500; line-height:1.4; letter-spacing:-.4px; text-shadow:0 2px 15px #000b; }
.panorama-orbit { display:grid; place-items:center; width:82px; height:82px; border:1px solid #e8f4d588; border-radius:50%; background:#0d1d20aa; font-size:23px; font-weight:500; box-shadow:0 0 0 10px #d5efc50a; }
.panorama-launch .panorama-explore { min-height:50px; gap:14px; border-radius:30px; font-size:14px; letter-spacing:0; }
.panorama-explore>span { font-size:24px; }
.panorama-canvas { position:absolute; inset:0; width:100%; height:100%; touch-action:none; visibility:hidden; }
.is-panorama-ready > .panorama-canvas { visibility:visible; }
.panorama-canvas:focus-visible { outline:2px solid #def6b7; outline-offset:-5px; }
.panorama-stage .pnlm-container { background:#0b1317; }
.panorama-tools { position:absolute; z-index:5; bottom:20px; inset-inline-end:20px; display:flex; align-items:center; gap:7px; padding:7px; border:1px solid #c3dfba55; border-radius:12px; background:#101c20e8; box-shadow:0 5px 24px #0005; }
.panorama-tool { display:inline-flex; align-items:center; justify-content:center; width:46px; min-height:46px; padding:8px; border:1px solid transparent; border-radius:7px; color:#f1f7ec; background:#2a3d3aaa; font:inherit; font-weight:500; font-size:23px; line-height:1; cursor:pointer; touch-action:manipulation; transition:background .18s,border-color .18s; }
.panorama-tool:hover { background:#466056; border-color:#b7d79d; }
.panorama-tool:focus-visible { outline:2px solid #def6b7; outline-offset:2px; }
.panorama-tool:disabled { opacity:.45; cursor:default; }
.panorama-tool--reset { width:auto; gap:9px; padding-inline:13px; }
.panorama-tool--reset>span:last-child { font-size:12px; }
.panorama-footer { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; padding-block:17px 0; }
.panorama-status,.panorama-keyboard { margin:0; color:#b1c4bd; font-size:11px; line-height:1.7; }
.panorama-status { flex:1; }
.panorama-keyboard { text-align:end; color:#91a8a4; }
.panorama-stage:fullscreen { width:100vw; height:100vh; border:0; border-radius:0; }
.panorama-stage:fullscreen .panorama-tools { bottom:max(22px,env(safe-area-inset-bottom)); }
.panorama-stage[aria-busy="true"] { cursor:wait; }

/* A separate, optional sphere workflow in the existing photography studio. */
.panorama-editor-body { padding:23px; }
.panorama-setting { padding:18px; border:1px solid #516556; border-radius:8px; background:#24322b; }
.media-studio .panorama-setting label { display:flex; gap:13px; align-items:center; margin:0; cursor:pointer; }
.panorama-setting input[type="checkbox"] { width:20px; height:20px; flex:0 0 20px; margin:0; }
.panorama-setting label>span:not(.panorama-setting-mark) { flex:1; min-width:0; }
.panorama-setting strong { display:block; font-size:13px; font-weight:500; }
.panorama-setting small { display:block; margin-top:5px; color:#b4c6bd; font-size:11px; font-weight:400; line-height:1.6; }
.panorama-setting-mark { color:#d5f0be; font-size:20px; white-space:nowrap; }
.panorama-format-guide { display:flex; align-items:flex-start; gap:20px; margin-block:25px; }
.panorama-format-guide h3,.panorama-settings-heading h3 { margin:0 0 9px; font-size:14px; font-weight:500; color:#e3eade; }
.panorama-format-guide p,.panorama-settings-heading p { margin:0 0 9px; font-size:11px; color:#b5c4c5; line-height:1.8; }
.panorama-format-art { display:flex; align-items:center; justify-content:center; flex-direction:column; gap:9px; width:90px; height:65px; flex:0 0 90px; border:1px solid #6b8671; border-radius:6px; background:linear-gradient(150deg,#2d4b3a,#142525); }
.panorama-format-art i { width:60px; height:25px; border:1px solid #abc59f; border-radius:50%; }
.panorama-format-art b { font-size:10px; font-weight:400; letter-spacing:2px; color:#d8eacb; }
.panorama-start-settings { padding:22px 0 0; border-top:1px solid #40544a; }
.panorama-start-fields { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-top:20px; }
.panorama-editor-note { display:flex; align-items:flex-start; gap:10px; margin:22px 0 0; padding-top:18px; border-top:1px solid #35463e; color:#acc3b5; font-size:11px; line-height:1.8; }
.panorama-editor-note>span { color:#d5f0be; font-size:18px; flex-shrink:0; }
.studio-create-grid--panorama { grid-template-columns:repeat(3,minmax(0,1fr)); }
.studio-create-grid--panorama .studio-create-card { flex-direction:column; align-items:flex-start; gap:20px; }
.studio-create-grid--panorama .studio-create-card>div { padding-inline-end:0; }
.studio-create-card.panorama-create { background:radial-gradient(ellipse at 0 0,#304838,#1a2922 65%); border-color:#526953; }
.studio-create-card.panorama-create:hover { background:#2b4030; border-color:#d5f0be; }
.panorama-art { display:grid; place-items:center; border:1px solid #91b088; border-radius:50%; background:linear-gradient(140deg,#4e7053,#1a302b); box-shadow:0 0 0 8px #badebc08; }
.panorama-art::before { content:""; position:absolute; inset:17px -7px; border:1px solid #c6deb180; border-radius:50%; }
.panorama-art i { position:relative; font-style:normal; color:#e0f0d2; font-size:19px; }
@media (max-width:1100px) { .studio-create-grid--panorama { grid-template-columns:repeat(2,minmax(0,1fr)); } .studio-create-grid--panorama .panorama-create { grid-column:1/-1; flex-direction:row; align-items:center; } }
@media (max-width:680px) {
  .panorama-heading { align-items:flex-start; flex-direction:column; gap:11px; }
  .panorama-heading>p { text-align:start; }
  .panorama-stage { height:65svh; min-height:340px; max-height:650px; border-radius:9px; }
  .panorama-launch { padding:20px; }
  .panorama-launch>p { font-size:23px; }
  .panorama-tools { bottom:13px; inset-inline-end:13px; gap:5px; padding:6px; }
  .panorama-tool { width:44px; min-height:44px; }
  .panorama-tool--reset { width:44px; padding:8px; }
  .panorama-tool--reset>span:last-child { display:none; }
  .panorama-footer { flex-direction:column; gap:7px; }
  .panorama-keyboard { text-align:start; }
  .panorama-editor-body { padding:20px; }
  .panorama-setting { padding:15px; }
  .panorama-setting-mark { font-size:16px; }
  .panorama-format-guide { flex-direction:column; gap:16px; }
  .panorama-start-fields { grid-template-columns:1fr; }
  .studio-create-grid--panorama { grid-template-columns:1fr; }
  .studio-create-grid--panorama .studio-create-card,.studio-create-grid--panorama .panorama-create { grid-column:auto; flex-direction:row; align-items:center; gap:16px; }
  .studio-create-grid--panorama .studio-create-card h2 { font-size:22px; }
}
@media (prefers-reduced-motion:reduce) { .panorama-tool { transition:none; } }
