.dji360-viewer-wrap, .dji360-gallery { --dji360-teal: #29c4b8; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.dji360-viewer-wrap { position: relative; width: 100%; height: 500px; min-height: 320px; overflow: hidden; border-radius: 18px; background: #10232b; box-shadow: 0 18px 46px rgba(16, 35, 43, .2); }
.dji360-height-350px { height: 350px; }
.dji360-height-400px { height: 400px; }
.dji360-height-450px { height: 450px; }
.dji360-height-500px { height: 500px; }
.dji360-height-550px { height: 550px; }
.dji360-height-600px { height: 600px; }
.dji360-height-650px { height: 650px; }
.dji360-height-700px { height: 700px; }
.dji360-height-750px { height: 750px; }
.dji360-height-800px { height: 800px; }
.dji360-height-50vh { height: 50vh; }
.dji360-height-60vh { height: 60vh; }
.dji360-height-70vh { height: 70vh; }
.dji360-height-80vh { height: 80vh; }
.dji360-viewer { position: relative; width: 100%; height: 100%; color: #fff; background: #10232b; }
.dji360-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; touch-action: none; }
.dji360-overlay { position: absolute; z-index: 2; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: clamp(18px, 3vw, 30px); pointer-events: none; background: linear-gradient(180deg,rgba(8,19,25,.56),transparent 30%,transparent 55%,rgba(8,19,25,.55)); }
.dji360-viewer__label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.23); border-radius: 24px; color: rgba(255,255,255,.94); background: rgba(15,35,43,.36); backdrop-filter: blur(12px); font-size: 10px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.dji360-viewer__dot { width: 7px; height: 7px; border-radius: 50%; background: #4de1b8; box-shadow: 0 0 10px #4de1b8; }
.dji360-viewer__title { max-width: 68%; margin-top: auto; margin-bottom: 18px; text-shadow: 0 2px 14px rgba(0,0,0,.4); }
.dji360-viewer__title h2 { margin: 0 0 5px; color: #fff; font-size: clamp(19px, 3vw, 30px); font-weight: 650; letter-spacing: -.035em; line-height: 1.15; }
.dji360-viewer__title p { margin: 0; color: rgba(255,255,255,.79); font-size: 12px; line-height: 1.5; }
.dji360-controls { display: flex; align-items: center; gap: 5px; padding: 5px; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; background: rgba(12,27,34,.48); backdrop-filter: blur(16px); pointer-events: auto; }
.dji360-controls button { display: grid; width: 36px; height: 36px; place-items: center; padding: 0; border: 0; border-radius: 8px; color: #fff; background: transparent; cursor: pointer; font-family: inherit; font-size: 20px; line-height: 1; transition: color .18s ease, background .18s ease, transform .18s ease; }
.dji360-controls button:hover, .dji360-controls button:focus-visible, .dji360-controls button.is-active { color: #082d30; background: #60d9c9; outline: none; }
.dji360-controls button:active { transform: scale(.92); }
.dji360-hint { position: absolute; right: clamp(18px, 3vw, 30px); bottom: 31px; color: rgba(255,255,255,.75); font-size: 10px; text-shadow: 0 1px 5px rgba(0,0,0,.55); }
.dji360-error { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 24px; color: white; background: linear-gradient(135deg,#173b45,#10232b); text-align: center; }
.dji360-error strong { font-size: 16px; }
.dji360-error span { color: rgba(255,255,255,.7); font-size: 12px; }
.dji360-fallback-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dji360-error { background: rgba(10,25,32,.48); backdrop-filter: blur(2px); }
.dji360-load-error { position: absolute; z-index: 3; inset: 0; display: grid; place-items: center; padding: 24px; color: #fff; background: rgba(10,25,32,.75); text-align: center; }
.dji360-gallery { max-width: 1280px; margin: 36px auto; color: #1d3038; }
.dji360-gallery__heading { margin: 0 0 22px; }
.dji360-gallery__eyebrow { display: block; margin-bottom: 7px; color: #168d89; font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.dji360-gallery__heading h2 { margin: 0; color: inherit; font-size: clamp(24px, 3vw, 36px); font-weight: 650; letter-spacing: -.04em; line-height: 1.15; }
.dji360-gallery__heading p { max-width: 650px; margin: 9px 0 0; color: #5e7078; font-size: 13px; line-height: 1.6; }
.dji360-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.dji360-card { position: relative; display: block; min-width: 0; overflow: hidden; padding: 0; border: 0; border-radius: 14px; color: #fff; background: #142a32; cursor: pointer; text-align: left; box-shadow: 0 8px 20px rgba(8,25,32,.12); isolation: isolate; }
.dji360-card:focus-visible { outline: 3px solid #32c6b8; outline-offset: 3px; }
.dji360-card__image { display: block; overflow: hidden; aspect-ratio: 1.65; }
.dji360-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .4s ease; }
.dji360-card:after { position: absolute; z-index: -1; inset: 28% 0 0; background: linear-gradient(180deg,transparent,rgba(8,21,28,.92)); content: ""; }
.dji360-card__meta { position: absolute; right: 17px; bottom: 15px; left: 17px; display: grid; gap: 6px; }
.dji360-card__category { justify-self: start; padding: 5px 8px; border: 1px solid rgba(255,255,255,.22); border-radius: 20px; color: #e7fbf6; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); font-size: 9px; font-weight: 600; letter-spacing: .03em; }
.dji360-card__title { overflow: hidden; color: #fff; font-size: 16px; font-weight: 650; letter-spacing: -.02em; text-overflow: ellipsis; white-space: nowrap; }
.dji360-card__action { color: rgba(255,255,255,.7); font-size: 10px; }
.dji360-card__action span { display: inline-block; margin-left: 3px; transition: transform .2s ease; }
.dji360-card:hover .dji360-card__image img { filter: saturate(1.08); transform: scale(1.045); }
.dji360-card:hover .dji360-card__action span { transform: translate(2px,-2px); }
.dji360-dialog { position: fixed; inset: 0; width: min(96vw, 1500px); max-width: none; height: min(92vh, 900px); max-height: none; overflow: visible; padding: 0; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; color: white; background: #10232b; box-shadow: 0 30px 100px rgba(0,0,0,.45); }
.dji360-dialog::backdrop { background: rgba(3,12,16,.82); backdrop-filter: blur(7px); }
.dji360-dialog__viewer { width: 100%; height: 100%; }
.dji360-viewer--modal { min-height: 0; border-radius: 16px; }
.dji360-dialog__close { position: absolute; z-index: 5; top: 14px; right: 14px; display: grid; width: 40px; height: 40px; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; color: #fff; background: rgba(11,26,32,.48); backdrop-filter: blur(12px); cursor: pointer; font-size: 25px; line-height: 1; transition: background .2s ease, transform .2s ease; }
.dji360-dialog__close:hover { background: rgba(255,255,255,.19); transform: rotate(90deg); }
.dji360-block-preview { display: flex; min-height: 150px; align-items: center; justify-content: center; padding: 22px; border: 1px dashed #b6cdca; border-radius: 8px; background: linear-gradient(135deg,#f1f8f7,#fff); }
.dji360-block-preview__content { display: grid; justify-items: center; gap: 6px; color: #28444b; text-align: center; }
.dji360-block-preview__content .dashicons { color: #168d89; font-size: 26px; }
.dji360-block-preview__content p { margin: 0; color: #62777d; font-size: 12px; }
@media (max-width: 900px) { .dji360-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) {
	.dji360-viewer-wrap { min-height: 300px; border-radius: 12px; }
	.dji360-overlay { padding: 16px; }
	.dji360-viewer__title { max-width: 100%; margin-bottom: 12px; }
	.dji360-viewer__title p { font-size: 11px; }
	.dji360-controls { gap: 2px; padding: 4px; }
	.dji360-controls button { width: 33px; height: 33px; }
	.dji360-hint { right: 14px; bottom: 24px; max-width: 120px; text-align: right; }
	.dji360-grid { grid-template-columns: 1fr; gap: 12px; }
	.dji360-card__image { aspect-ratio: 1.8; }
	.dji360-dialog { width: 100vw; height: 100dvh; border: 0; border-radius: 0; }
	.dji360-viewer--modal { border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) { .dji360-card__image, .dji360-controls button, .dji360-dialog__close { transition: none; } }
