.s360-centering-page {
  background: #eef5fa;
}

.s360-centering-shell,
.s360-centering-shell * {
  box-sizing: border-box;
}

.s360-centering-shell {
  --cc-blue: #0878d1;
  --cc-blue-dark: #075b9f;
  --cc-ink: #172033;
  --cc-muted: #64788b;
  --cc-line: #d8e5ef;
  --cc-green: #13a870;
  --cc-amber: #e99016;
  --cc-red: #dc4c55;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 56px;
  color: var(--cc-ink);
}

.s360-centering-intro {
  position: relative;
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 18px;
  padding: 27px 30px;
  border: 1px solid #cfe2f0;
  border-radius: 22px;
  background:
    radial-gradient(circle at 86% 22%, rgba(52, 178, 235, .19), transparent 28%),
    linear-gradient(135deg, #fff 0%, #f4faff 62%, #e8f5fd 100%);
  box-shadow: 0 18px 45px rgba(20, 79, 128, .1);
}

.s360-centering-intro::after {
  position: absolute;
  top: -72px;
  right: -48px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(8, 120, 209, .12);
  border-radius: 48px;
  content: "";
  transform: rotate(18deg);
}

.s360-centering-intro-copy {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.s360-centering-kicker,
.s360-centering-section-head > div > span {
  display: block;
  margin-bottom: 5px;
  color: var(--cc-blue);
  font-size: max(var(--s360-readable-floor, 14px), .68rem);
  font-weight: 950;
  letter-spacing: .14em;
}

.s360-centering-intro h1 {
  margin: 0;
  color: var(--cc-ink);
  font-size: clamp(1.65rem, 3.3vw, 2.45rem);
  font-weight: 950;
  letter-spacing: -.035em;
  line-height: 1.18;
}

.s360-centering-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.s360-centering-dev-badge {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 4px 10px;
  border: 1px solid rgba(217, 126, 13, .28);
  border-radius: 999px;
  background: #fff5df;
  color: #a95f07;
  font-size: max(var(--s360-readable-floor, 14px), .64rem);
  font-weight: 950;
  letter-spacing: .06em;
}

.s360-centering-intro p {
  margin: 10px 0 0;
  color: #526b80;
  font-size: max(var(--s360-readable-floor, 14px), .88rem);
  font-weight: 650;
  line-height: 1.75;
}

.s360-centering-intro .s360-centering-beta-note {
  display: inline-flex;
  max-width: 620px;
  margin-top: 12px;
  padding: 8px 11px;
  border: 1px solid rgba(217, 126, 13, .22);
  border-radius: 9px;
  background: rgba(255, 248, 232, .9);
  color: #80541d;
  font-size: max(var(--s360-readable-floor, 14px), .65rem);
  font-weight: 750;
  line-height: 1.6;
}

.s360-centering-privacy {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  min-width: 260px;
  padding: 12px 14px;
  border: 1px solid rgba(19, 168, 112, .2);
  border-radius: 13px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 8px 22px rgba(19, 91, 86, .08);
}

.s360-centering-privacy-icon {
  position: relative;
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #e2f7ef;
}

.s360-centering-privacy-icon::before {
  position: absolute;
  top: 8px;
  left: 10px;
  width: 14px;
  height: 16px;
  border: 2px solid var(--cc-green);
  border-radius: 5px;
  content: "";
}

.s360-centering-privacy-icon::after {
  position: absolute;
  top: 5px;
  left: 13px;
  width: 8px;
  height: 8px;
  border: 2px solid var(--cc-green);
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  content: "";
}

.s360-centering-privacy strong,
.s360-centering-privacy span {
  display: block;
}

.s360-centering-privacy strong {
  color: #147856;
  font-size: max(var(--s360-readable-floor, 14px), .72rem);
  line-height: 1.4;
}

.s360-centering-privacy div > span {
  margin-top: 2px;
  color: #638174;
  font-size: max(var(--s360-readable-floor, 14px), .59rem);
  line-height: 1.45;
}

.s360-centering-app {
  display: grid;
  gap: 18px;
}

.s360-centering-toolbar,
.s360-centering-camera-panel,
.s360-centering-result-panel,
.s360-centering-both-results,
.s360-centering-howto,
.s360-centering-notice {
  border: 1px solid var(--cc-line);
  background: #fff;
  box-shadow: 0 12px 34px rgba(25, 75, 116, .075);
}

.s360-centering-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 220px 250px;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 17px;
}

.s360-centering-card-reference {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.s360-centering-card-thumb {
  display: grid;
  flex: 0 0 auto;
  width: 52px;
  height: 72px;
  place-items: center;
  overflow: hidden;
  padding: 3px;
  border: 1px solid #dbe6ef;
  border-radius: 8px;
  background: #f1f6fa;
  color: #8395a6;
  font-size: max(var(--s360-readable-floor, 14px), .54rem);
}

.s360-centering-card-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.s360-centering-card-symbol {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 48px;
  height: 66px;
  border: 2px solid #72b4df;
  border-radius: 8px;
  background: linear-gradient(145deg, #fff, #eaf6fd);
  box-shadow: 5px 5px 0 #d9edf9;
}

.s360-centering-card-symbol::before,
.s360-centering-card-symbol::after {
  position: absolute;
  content: "";
}

.s360-centering-card-symbol::before {
  inset: 8px;
  border: 1px dashed #62a9d8;
  border-radius: 4px;
}

.s360-centering-card-symbol::after {
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  border: 2px solid var(--cc-blue);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.s360-centering-card-copy {
  display: block;
  min-width: 0;
}

.s360-centering-card-copy small,
.s360-centering-card-copy strong,
.s360-centering-card-copy > span {
  display: block;
}

.s360-centering-card-copy small {
  margin-bottom: 3px;
  color: var(--cc-blue);
  font-size: max(var(--s360-readable-floor, 14px), .59rem);
  font-weight: 900;
}

.s360-centering-card-copy strong {
  overflow: hidden;
  color: var(--cc-ink);
  font-size: max(var(--s360-readable-floor, 14px), .82rem);
  font-weight: 950;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.s360-centering-card-copy > span {
  overflow: hidden;
  margin-top: 3px;
  color: var(--cc-muted);
  font-size: max(var(--s360-readable-floor, 14px), .62rem);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.s360-centering-select {
  display: grid;
  gap: 5px;
}

.s360-centering-select > span {
  color: #65788b;
  font-size: max(var(--s360-readable-floor, 14px), .61rem);
  font-weight: 900;
}

.s360-centering-select select {
  width: 100%;
  min-height: 43px;
  padding: 0 34px 0 12px;
  border: 1px solid #cad9e5;
  border-radius: 10px;
  background-color: #f9fbfd;
  color: var(--cc-ink);
  font-size: max(var(--s360-readable-floor, 14px), .72rem);
  font-weight: 850;
}

.s360-centering-side-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 5px;
  border: 1px solid #d9e5ee;
  border-radius: 12px;
  background: #f2f6f9;
}

.s360-centering-side-tabs button {
  min-height: 48px;
  padding: 6px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #6b7f91;
  cursor: pointer;
}

.s360-centering-side-tabs button span,
.s360-centering-side-tabs button small {
  display: block;
}

.s360-centering-side-tabs button span {
  font-size: max(var(--s360-readable-floor, 14px), .75rem);
  font-weight: 950;
}

.s360-centering-side-tabs button small {
  margin-top: 1px;
  font-size: max(var(--s360-readable-floor, 14px), .5rem);
  font-weight: 900;
  letter-spacing: .12em;
}

.s360-centering-side-tabs button.is-active {
  background: #fff;
  color: var(--cc-blue);
  box-shadow: 0 4px 12px rgba(31, 85, 128, .12);
}

.s360-centering-side-tabs button:focus-visible,
.s360-centering-camera-actions button:focus-visible,
.s360-centering-save-side:focus-visible,
.s360-centering-section-head button:focus-visible,
.s360-centering-reset-adjust:focus-visible {
  outline: 3px solid rgba(8, 120, 209, .3);
  outline-offset: 2px;
}

.s360-centering-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, .75fr);
  gap: 18px;
  align-items: start;
}

.s360-centering-camera-panel,
.s360-centering-result-panel {
  padding: 17px;
  border-radius: 18px;
}

.s360-centering-panel-head,
.s360-centering-result-head,
.s360-centering-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.s360-centering-panel-head {
  margin-bottom: 12px;
}

.s360-centering-panel-head > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.s360-centering-panel-head strong {
  font-size: max(var(--s360-readable-floor, 14px), .78rem);
}

.s360-centering-live-dot {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #a9b8c4;
  box-shadow: 0 0 0 5px rgba(143, 160, 174, .12);
}

.is-camera-live .s360-centering-live-dot {
  background: #20c984;
  box-shadow: 0 0 0 5px rgba(32, 201, 132, .14);
  animation: s360-centering-live 1.8s infinite;
}

@keyframes s360-centering-live {
  0%, 100% { box-shadow: 0 0 0 4px rgba(32, 201, 132, .14); }
  50% { box-shadow: 0 0 0 8px rgba(32, 201, 132, 0); }
}

.s360-centering-camera-status {
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef3f7;
  color: #687d8e;
  font-size: max(var(--s360-readable-floor, 14px), .58rem);
  font-weight: 850;
}

.is-camera-live .s360-centering-camera-status {
  background: #e4f8f0;
  color: #12845b;
}

.s360-centering-camera-stage {
  position: relative;
  display: grid;
  min-height: 560px;
  place-items: center;
  overflow: hidden;
  border-radius: 15px;
  background:
    linear-gradient(45deg, rgba(255, 255, 255, .02) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, .02) 75%),
    #101820;
  background-size: 24px 24px;
}

.s360-centering-camera-stage video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s360-centering-camera-stage video.is-user-camera {
  transform: scaleX(-1);
}

.s360-centering-camera-empty {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 28px;
  color: #dce8f1;
  text-align: center;
}

.s360-centering-camera-empty[hidden],
.s360-centering-card-guide[hidden],
.s360-centering-live-message[hidden] {
  display: none !important;
}

.s360-centering-camera-empty strong {
  margin-top: 14px;
  font-size: max(var(--s360-readable-floor, 14px), .85rem);
}

.s360-centering-camera-empty > span:last-child {
  margin-top: 5px;
  color: #91a3b2;
  font-size: max(var(--s360-readable-floor, 14px), .62rem);
}

.s360-centering-camera-icon {
  position: relative;
  display: block;
  width: 64px;
  height: 48px;
  border: 2px solid #77a3c2;
  border-radius: 12px;
}

.s360-centering-camera-icon::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 21px;
  height: 21px;
  border: 3px solid #77a3c2;
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.s360-centering-camera-icon::after {
  position: absolute;
  top: -8px;
  left: 9px;
  width: 21px;
  height: 8px;
  border-radius: 5px 5px 0 0;
  background: #77a3c2;
  content: "";
}

.s360-centering-card-guide {
  --inner-left: 8%;
  --inner-right: 8%;
  --inner-top: 8%;
  --inner-bottom: 8%;
  position: relative;
  z-index: 2;
  height: 86%;
  max-width: 80%;
  aspect-ratio: 63 / 88;
  border: 3px solid #fff;
  border-radius: 4.5% / 3.3%;
  box-shadow:
    0 0 0 2px rgba(2, 12, 20, .92),
    0 0 0 5px rgba(255, 255, 255, .68),
    0 0 22px 6px rgba(255, 255, 255, .32),
    0 0 0 999px rgba(3, 9, 15, .42),
    inset 0 0 0 1px rgba(2, 19, 33, .72);
  pointer-events: none;
}

.s360-centering-card-guide .corner {
  position: absolute;
  width: 34px;
  height: 34px;
  border-color: #4ff0b0;
  border-style: solid;
  filter:
    drop-shadow(0 0 1px rgba(0, 0, 0, .95))
    drop-shadow(0 0 7px rgba(79, 240, 176, .85));
}

.s360-centering-card-guide .corner-tl { top: -5px; left: -5px; border-width: 6px 0 0 6px; border-radius: 12px 0 0 0; }
.s360-centering-card-guide .corner-tr { top: -5px; right: -5px; border-width: 6px 6px 0 0; border-radius: 0 12px 0 0; }
.s360-centering-card-guide .corner-bl { bottom: -5px; left: -5px; border-width: 0 0 6px 6px; border-radius: 0 0 0 12px; }
.s360-centering-card-guide .corner-br { right: -5px; bottom: -5px; border-width: 0 6px 6px 0; border-radius: 0 0 12px 0; }

.s360-centering-guide-label {
  position: absolute;
  top: 10px;
  left: 50%;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 999px;
  background: rgba(4, 56, 92, .88);
  box-shadow: 0 3px 12px rgba(0, 0, 0, .32);
  color: #fff;
  font-size: max(var(--s360-readable-floor, 14px), .64rem);
  font-weight: 950;
  transform: translateX(-50%);
}

.s360-centering-inner-line {
  position: absolute;
  opacity: .94;
  background: #51e6a9;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .28), 0 0 10px rgba(81, 230, 169, .48);
  transition: left .12s linear, right .12s linear, top .12s linear, bottom .12s linear;
}

.s360-centering-inner-line.is-left,
.s360-centering-inner-line.is-right {
  top: 9%;
  bottom: 9%;
  width: 1px;
}

.s360-centering-inner-line.is-top,
.s360-centering-inner-line.is-bottom {
  right: 9%;
  left: 9%;
  height: 1px;
}

.s360-centering-inner-line.is-left { left: var(--inner-left); }
.s360-centering-inner-line.is-right { right: var(--inner-right); }
.s360-centering-inner-line.is-top { top: var(--inner-top); }
.s360-centering-inner-line.is-bottom { bottom: var(--inner-bottom); }

.s360-centering-crosshair::before,
.s360-centering-crosshair::after {
  position: absolute;
  top: 50%;
  left: 50%;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .35);
  content: "";
  transform: translate(-50%, -50%);
}

.s360-centering-crosshair::before { width: 38px; height: 1px; }
.s360-centering-crosshair::after { width: 1px; height: 38px; }

.s360-centering-live-message {
  position: absolute;
  z-index: 3;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 9px;
  background: rgba(5, 18, 29, .76);
  color: #fff;
  font-size: max(var(--s360-readable-floor, 14px), .64rem);
  font-weight: 800;
  text-align: center;
  backdrop-filter: blur(5px);
}

.s360-centering-camera-actions {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 8px;
  margin-top: 11px;
}

.s360-centering-camera-actions button,
.s360-centering-save-side,
.s360-centering-reset-adjust,
.s360-centering-section-head button {
  min-height: 43px;
  padding: 8px 12px;
  border: 1px solid #ccdae5;
  border-radius: 9px;
  background: #f8fafc;
  color: #51687b;
  font-size: max(var(--s360-readable-floor, 14px), .67rem);
  font-weight: 900;
  cursor: pointer;
}

.s360-centering-camera-actions button:hover:not(:disabled),
.s360-centering-reset-adjust:hover,
.s360-centering-section-head button:hover {
  border-color: #91bad8;
  background: #eff8fe;
  color: var(--cc-blue);
}

.s360-centering-camera-actions button:disabled,
.s360-centering-save-side:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.s360-centering-camera-actions .s360-centering-primary {
  border-color: var(--cc-blue);
  background: var(--cc-blue);
  color: #fff;
  box-shadow: 0 7px 16px rgba(8, 120, 209, .2);
}

.s360-centering-camera-actions .s360-centering-primary:hover:not(:disabled) {
  border-color: var(--cc-blue-dark);
  background: var(--cc-blue-dark);
  color: #fff;
}

.s360-centering-camera-tip {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 9px;
  background: #f3f8fc;
  color: #5b7184;
  font-size: max(var(--s360-readable-floor, 14px), .61rem);
  line-height: 1.55;
}

.s360-centering-camera-tip strong {
  flex: 0 0 auto;
  color: var(--cc-blue-dark);
}

.s360-centering-result-panel {
  position: sticky;
  top: 18px;
}

.s360-centering-result-head {
  padding-bottom: 12px;
  border-bottom: 1px solid #e4ebf1;
}

.s360-centering-result-head > div > span,
.s360-centering-result-head > div > strong {
  display: block;
}

.s360-centering-result-head > div > span {
  color: var(--cc-muted);
  font-size: max(var(--s360-readable-floor, 14px), .56rem);
  font-weight: 800;
}

.s360-centering-result-head > div > strong {
  margin-top: 2px;
  font-size: max(var(--s360-readable-floor, 14px), .83rem);
}

.s360-centering-confidence {
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef3f7;
  color: #748696;
  font-size: max(var(--s360-readable-floor, 14px), .56rem);
  font-weight: 900;
}

.s360-centering-confidence.is-stable {
  background: #dff7ed;
  color: #0e8258;
}

.s360-centering-confidence.is-check {
  background: #fff2d8;
  color: #9a620a;
}

.s360-centering-score {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 14px;
  padding: 14px;
  border-radius: 13px;
  background: linear-gradient(135deg, #f3f9fd, #fff);
}

.s360-centering-score-ring {
  --score-angle: 0deg;
  position: relative;
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--cc-blue) var(--score-angle), #dfe8ef 0);
}

.s360-centering-score-ring::before {
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.s360-centering-score-ring strong,
.s360-centering-score-ring small {
  position: relative;
  z-index: 1;
}

.s360-centering-score-ring strong {
  align-self: end;
  font-size: 1.28rem;
  font-weight: 950;
  line-height: 1;
}

.s360-centering-score-ring small {
  align-self: start;
  margin-top: 2px;
  color: #718395;
  font-size: max(var(--s360-readable-floor, 14px), .5rem);
  font-weight: 900;
}

.s360-centering-score > div:last-child > span,
.s360-centering-score > div:last-child > strong,
.s360-centering-score > div:last-child > small {
  display: block;
}

.s360-centering-score > div:last-child > span {
  color: var(--cc-muted);
  font-size: max(var(--s360-readable-floor, 14px), .58rem);
  font-weight: 800;
}

.s360-centering-score > div:last-child > strong {
  margin-top: 3px;
  color: var(--cc-blue-dark);
  font-size: 1.06rem;
  font-weight: 950;
}

.s360-centering-score > div:last-child > small {
  margin-top: 3px;
  color: #718496;
  font-size: max(var(--s360-readable-floor, 14px), .56rem);
  line-height: 1.45;
}

.s360-centering-ratio-list {
  display: grid;
  gap: 9px;
  margin-top: 11px;
}

.s360-centering-ratio-card {
  padding: 11px 12px;
  border: 1px solid #e0e9f0;
  border-radius: 10px;
}

.s360-centering-ratio-title,
.s360-centering-ratio-labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.s360-centering-ratio-title span {
  color: #63778a;
  font-size: max(var(--s360-readable-floor, 14px), .6rem);
  font-weight: 900;
}

.s360-centering-ratio-title strong {
  color: var(--cc-ink);
  font-size: max(var(--s360-readable-floor, 14px), .82rem);
  font-weight: 950;
}

.s360-centering-balance-bar {
  position: relative;
  height: 8px;
  margin-top: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffb0b3 0 18%, #ffd888 34%, #83dcb9 44% 56%, #ffd888 66%, #ffb0b3 82%);
}

.s360-centering-balance-bar::after {
  position: absolute;
  top: -3px;
  bottom: -3px;
  left: 50%;
  width: 1px;
  background: rgba(24, 42, 57, .35);
  content: "";
}

.s360-centering-balance-bar i {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--cc-ink);
  box-shadow: 0 2px 6px rgba(9, 31, 49, .3);
  transform: translate(-50%, -50%);
  transition: left .16s ease;
}

.s360-centering-ratio-labels {
  margin-top: 5px;
  color: #8795a3;
  font-size: max(var(--s360-readable-floor, 14px), .5rem);
  font-weight: 800;
}

.s360-centering-detection-state {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 11px;
  padding: 10px 11px;
  border-radius: 10px;
  background: #f1f5f8;
}

.s360-centering-state-icon {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  border: 2px solid #92a5b4;
  border-radius: 50%;
}

.s360-centering-state-icon::before {
  position: absolute;
  top: 6px;
  left: 7px;
  width: 8px;
  height: 5px;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  color: #92a5b4;
  content: "";
  transform: rotate(-45deg);
}

.s360-centering-detection-state.is-good {
  background: #e6f8f1;
}

.s360-centering-detection-state.is-good .s360-centering-state-icon {
  border-color: var(--cc-green);
}

.s360-centering-detection-state.is-good .s360-centering-state-icon::before {
  color: var(--cc-green);
}

.s360-centering-detection-state.is-warning {
  background: #fff4df;
}

.s360-centering-detection-state.is-warning .s360-centering-state-icon {
  border-color: var(--cc-amber);
}

.s360-centering-detection-state > div strong,
.s360-centering-detection-state > div span {
  display: block;
}

.s360-centering-detection-state > div strong {
  font-size: max(var(--s360-readable-floor, 14px), .65rem);
}

.s360-centering-detection-state > div span {
  margin-top: 2px;
  color: #6b7f90;
  font-size: max(var(--s360-readable-floor, 14px), .54rem);
  line-height: 1.45;
}

.s360-centering-adjustments {
  margin-top: 11px;
  border: 1px solid #dfe8ef;
  border-radius: 10px;
  background: #fbfcfd;
}

.s360-centering-adjustments summary {
  padding: 10px 11px;
  color: #536a7d;
  font-size: max(var(--s360-readable-floor, 14px), .62rem);
  font-weight: 900;
  cursor: pointer;
}

.s360-centering-adjustments[open] summary {
  border-bottom: 1px solid #e5ebf0;
}

.s360-centering-adjustments > p {
  margin: 10px 11px 6px;
  color: #748697;
  font-size: max(var(--s360-readable-floor, 14px), .54rem);
  line-height: 1.5;
}

.s360-centering-adjust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
  padding: 5px 11px 11px;
}

.s360-centering-adjust-grid label span {
  display: flex;
  justify-content: space-between;
  color: #65788a;
  font-size: max(var(--s360-readable-floor, 14px), .54rem);
  font-weight: 850;
}

.s360-centering-adjust-grid label b {
  color: var(--cc-blue);
}

.s360-centering-adjust-grid input {
  width: 100%;
  margin: 6px 0 0;
  accent-color: var(--cc-blue);
}

.s360-centering-reset-adjust {
  width: calc(100% - 22px);
  min-height: 34px;
  margin: 0 11px 11px;
  font-size: max(var(--s360-readable-floor, 14px), .56rem);
}

.s360-centering-save-side {
  width: 100%;
  margin-top: 11px;
  border-color: var(--cc-blue);
  background: var(--cc-blue);
  color: #fff;
  box-shadow: 0 8px 18px rgba(8, 120, 209, .18);
}

.s360-centering-save-side:hover:not(:disabled) {
  border-color: var(--cc-blue-dark);
  background: var(--cc-blue-dark);
}

.s360-centering-both-results,
.s360-centering-howto,
.s360-centering-notice {
  padding: 20px;
  border-radius: 18px;
}

.s360-centering-section-head {
  margin-bottom: 14px;
}

.s360-centering-section-head h2 {
  margin: 0;
  color: var(--cc-ink);
  font-size: 1.1rem;
  font-weight: 950;
  line-height: 1.35;
}

.s360-centering-section-head button {
  min-height: 36px;
  font-size: max(var(--s360-readable-floor, 14px), .58rem);
}

.s360-centering-face-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) 1.25fr;
  gap: 11px;
}

.s360-centering-face-results article {
  min-width: 0;
  padding: 14px;
  border: 1px solid #dce7ef;
  border-radius: 12px;
  background: #f9fbfd;
}

.s360-centering-face-badge {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e9f4fb;
  color: var(--cc-blue-dark);
  font-size: max(var(--s360-readable-floor, 14px), .54rem);
  font-weight: 950;
}

.s360-centering-face-results article > strong {
  display: block;
  margin-top: 8px;
  font-size: max(var(--s360-readable-floor, 14px), .84rem);
  font-weight: 950;
}

.s360-centering-face-results article > div {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  color: #687b8c;
  font-size: max(var(--s360-readable-floor, 14px), .57rem);
}

.s360-centering-face-results article > div span {
  display: flex;
  gap: 4px;
}

.s360-centering-face-results article > div b {
  color: var(--cc-ink);
}

.s360-centering-face-results article.is-saved {
  border-color: #a8d8c6;
  background: #f1fbf7;
}

.s360-centering-overall {
  background: linear-gradient(135deg, #f1f8fd, #fff) !important;
}

.s360-centering-overall.is-complete {
  border-color: #9bc9e7;
}

.s360-centering-overall p {
  margin: 6px 0 0;
  color: #6c8091;
  font-size: max(var(--s360-readable-floor, 14px), .56rem);
  line-height: 1.5;
}

.s360-centering-howto ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.s360-centering-howto li {
  display: flex;
  gap: 10px;
  padding: 13px;
  border: 1px solid #e0e9ef;
  border-radius: 11px;
  background: #fafcfd;
}

.s360-centering-howto li > b {
  display: grid;
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 8px;
  background: var(--cc-blue);
  color: #fff;
  font-size: max(var(--s360-readable-floor, 14px), .64rem);
}

.s360-centering-howto li strong,
.s360-centering-howto li span {
  display: block;
}

.s360-centering-howto li strong {
  font-size: max(var(--s360-readable-floor, 14px), .68rem);
}

.s360-centering-howto li span {
  margin-top: 3px;
  color: #6b7f90;
  font-size: max(var(--s360-readable-floor, 14px), .56rem);
  line-height: 1.5;
}

.s360-centering-notice {
  border-color: #ead7b6;
  background: linear-gradient(145deg, #fffdf9, #fff9ed);
}

.s360-centering-notice header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.s360-centering-notice-icon {
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: #e99016;
  color: #fff;
  font-size: max(var(--s360-readable-floor, 14px), .9rem);
  font-weight: 950;
  box-shadow: 0 6px 15px rgba(196, 112, 10, .18);
}

.s360-centering-notice header > div > span {
  display: block;
  color: #b4680c;
  font-size: max(var(--s360-readable-floor, 14px), .58rem);
  font-weight: 950;
  letter-spacing: .14em;
}

.s360-centering-notice h2 {
  margin: 2px 0 0;
  color: #392b1d;
  font-size: 1.05rem;
  font-weight: 950;
  line-height: 1.35;
}

.s360-centering-notice header p {
  margin: 5px 0 0;
  color: #735e46;
  font-size: max(var(--s360-readable-floor, 14px), .63rem);
  line-height: 1.6;
}

.s360-centering-notice ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
}

.s360-centering-notice li {
  position: relative;
  padding: 11px 12px 11px 29px;
  border: 1px solid #eee0c7;
  border-radius: 10px;
  background: rgba(255, 255, 255, .72);
}

.s360-centering-notice li::before {
  position: absolute;
  top: 13px;
  left: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e99016;
  content: "";
  box-shadow: 0 0 0 3px rgba(233, 144, 22, .14);
}

.s360-centering-notice li strong,
.s360-centering-notice li span {
  display: block;
}

.s360-centering-notice li strong {
  color: #4c3925;
  font-size: max(var(--s360-readable-floor, 14px), .65rem);
  line-height: 1.5;
}

.s360-centering-notice li span {
  margin-top: 3px;
  color: #77644f;
  font-size: max(var(--s360-readable-floor, 14px), .56rem);
  line-height: 1.65;
}

.s360-centering-disclaimer {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-left: 3px solid #d37a10;
  border-radius: 7px;
  background: #f7ecd9;
  color: #675038;
  font-size: max(var(--s360-readable-floor, 14px), .56rem);
  font-weight: 700;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .s360-centering-toolbar {
    grid-template-columns: minmax(0, 1fr) 210px;
  }

  .s360-centering-side-tabs {
    grid-column: 1 / -1;
  }

  .s360-centering-workspace {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .s360-centering-camera-stage {
    min-height: 500px;
  }

  .s360-centering-face-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .s360-centering-overall {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .s360-centering-shell {
    width: min(100% - 20px, 600px);
    padding: 17px 0 42px;
  }

  .s360-centering-intro {
    display: block;
    padding: 21px 19px;
    border-radius: 17px;
  }

  .s360-centering-intro p {
    font-size: max(var(--s360-readable-floor, 14px), .76rem);
  }

  .s360-centering-privacy {
    width: 100%;
    min-width: 0;
    margin-top: 15px;
  }

  .s360-centering-toolbar {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .s360-centering-side-tabs {
    grid-column: auto;
  }

  .s360-centering-workspace {
    grid-template-columns: 1fr;
  }

  .s360-centering-camera-panel,
  .s360-centering-result-panel {
    padding: 12px;
    border-radius: 15px;
  }

  .s360-centering-camera-stage {
    min-height: 520px;
    max-height: 72vh;
  }

  .s360-centering-card-guide {
    height: 88%;
  }

  .s360-centering-result-panel {
    position: static;
  }

  .s360-centering-both-results,
  .s360-centering-howto,
  .s360-centering-notice {
    padding: 15px;
    border-radius: 15px;
  }

  .s360-centering-face-results,
  .s360-centering-howto ol,
  .s360-centering-notice ul {
    grid-template-columns: 1fr;
  }

  .s360-centering-overall {
    grid-column: auto;
  }
}

@media (max-width: 430px) {
  .s360-centering-camera-stage {
    min-height: 480px;
  }

  .s360-centering-camera-actions {
    grid-template-columns: 1fr 1fr;
  }

  .s360-centering-camera-actions .s360-centering-primary {
    grid-column: 1 / -1;
  }

  .s360-centering-score {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .s360-centering-score-ring {
    width: 74px;
    height: 74px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .s360-centering-live-dot,
  .s360-centering-inner-line,
  .s360-centering-balance-bar i {
    animation: none;
    transition: none;
  }
}
