/* 一室体检 PC：沿用移动端淡墨罗盘语言，仅重排桌面首屏。 */

.single-room-pc-only {
  display: none;
}

@media (min-width: 1440px) {
  :root {
    --single-room-pc-paper: #faf7f1;
    --single-room-pc-ink: #1d1e1c;
    --single-room-pc-muted: rgba(53, 50, 45, 0.58);
    --single-room-pc-jade: #456f62;
    --single-room-pc-gold: rgba(160, 128, 77, 0.24);
  }

  html:has(.single-room-capture-screen.is-active) {
    scrollbar-gutter: stable;
  }

  body:has(.single-room-capture-screen.is-active) {
    background-color: var(--single-room-pc-paper);
    background-image: url("/prototype/assets/auth-ink/auth-mist-mountains-v1.webp");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center 82px;
    background-size: 100vw calc(100dvh - 82px);
    overflow-anchor: none;
  }

  body:has(.single-room-capture-screen.is-active)::before {
    background: rgba(250, 247, 241, 0.18);
    mix-blend-mode: normal;
    opacity: 1;
  }

  .workspace:not(.is-auth-route) > .single-room-capture-screen.is-active {
    position: relative;
    display: block;
    width: 100%;
    max-width: none;
    min-height: calc(100dvh - 94px);
    margin: 0;
    padding: 22px 22px 42px;
    overflow-x: hidden;
    color: var(--single-room-pc-ink);
    background: transparent;
    box-shadow: none;
    isolation: isolate;
    overflow-anchor: none;
  }

  .single-room-capture-screen.is-active .single-room-pc-only {
    display: block;
  }

  .single-room-capture-screen.is-active > :not(.single-room-type-panel) {
    z-index: 3;
  }

  .single-room-capture-screen .fortune-top,
  .single-room-capture-screen:not(.has-room-type) .fortune-top,
  .single-room-capture-screen.has-room-type .fortune-top {
    position: absolute;
    top: 28px;
    right: 1px;
    left: 1px;
    z-index: 9;
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr) 128px;
    align-items: start;
    min-height: 102px;
    margin: 0;
    overflow-anchor: none;
  }

  .single-room-capture-screen .fortune-title {
    align-self: start;
    padding-top: 3px;
  }

  .single-room-capture-screen .fortune-title h1,
  .single-room-capture-screen:not(.has-room-type) .fortune-title h1,
  .single-room-capture-screen.has-room-type .fortune-title h1 {
    color: #171917;
    font-size: 52px;
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: 0.08em;
  }

  .single-room-capture-screen .fortune-title .seal {
    margin-left: 4px;
    vertical-align: 7px;
  }

  .single-room-capture-screen .fortune-title .sub,
  .single-room-capture-screen:not(.has-room-type) .fortune-title .sub,
  .single-room-capture-screen.has-room-type .fortune-title .sub {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 13px;
    color: rgba(94, 79, 57, 0.56);
    font-family: var(--serif);
    font-size: 17px;
    letter-spacing: 0.16em;
  }

  .single-room-capture-screen .fortune-title .sub::before,
  .single-room-capture-screen .fortune-title .sub::after,
  .single-room-capture-screen:not(.has-room-type) .fortune-title .sub::before,
  .single-room-capture-screen:not(.has-room-type) .fortune-title .sub::after,
  .single-room-capture-screen.has-room-type .fortune-title .sub::before,
  .single-room-capture-screen.has-room-type .fortune-title .sub::after {
    width: 42px;
    height: 1px;
    background: rgba(160, 128, 77, 0.24);
    content: "";
  }

  .single-room-capture-screen .icon-button,
  .single-room-capture-screen:not(.has-room-type) .icon-button,
  .single-room-capture-screen.has-room-type .icon-button {
    width: 52px;
    height: 52px;
    border: 1px solid rgba(160, 128, 77, 0.16);
    border-radius: 14px;
    background: rgba(255, 253, 249, 0.7);
    box-shadow: 0 8px 22px rgba(65, 52, 34, 0.035);
  }

  .single-room-capture-screen .fortune-top > .icon-button:last-child {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 124px;
    padding: 0 14px;
  }

  .single-room-capture-screen .fortune-top > .icon-button:last-child::after {
    color: rgba(56, 53, 48, 0.62);
    content: "空间档案";
    font-family: var(--serif);
    font-size: 14px;
    letter-spacing: 0.06em;
    white-space: nowrap;
  }

  .single-room-capture-screen .fortune-top > .icon-button:last-child svg {
    width: 21px;
    height: 21px;
  }

  .single-room-capture-screen .single-room-intro {
    display: none !important;
  }

  .single-room-capture-screen .single-room-type-panel,
  .single-room-capture-screen.has-room-type .single-room-type-panel {
    position: absolute;
    top: 225px;
    left: 150px;
    z-index: 2;
    width: 680px;
    margin: 0;
    transform: none;
    overflow-anchor: none;
  }

  .single-room-capture-screen .single-room-compass-stage {
    width: 100%;
    max-width: none;
  }

  .single-room-capture-screen .single-room-compass-stage::before {
    background: rgba(255, 253, 249, 0.08);
  }

  .single-room-capture-screen .single-room-compass-dividers .compass-outer-ring,
  .single-room-capture-screen .single-room-compass-dividers .compass-guide-ring {
    stroke: rgba(160, 128, 77, 0.25);
  }

  .single-room-capture-screen .single-room-compass-dividers .compass-tick-ring,
  .single-room-capture-screen .single-room-compass-dividers .compass-sector {
    stroke: rgba(160, 128, 77, 0.18);
  }

  .single-room-capture-screen .single-room-compass-center {
    width: 39%;
    border-color: rgba(160, 128, 77, 0.24);
    background: rgba(255, 253, 249, 0.9);
    box-shadow: inset 0 0 0 5px rgba(255, 253, 249, 0.42);
  }

  .single-room-capture-screen .single-room-compass-center::before {
    opacity: 0.48;
  }

  .single-room-capture-screen .single-room-compass-center-mountain {
    bottom: -25%;
    width: 102%;
    opacity: 0.5;
    filter: brightness(0.98) saturate(0.68) contrast(0.96);
  }

  .single-room-capture-screen .single-room-compass-center span {
    color: rgba(69, 111, 98, 0.78);
    font-size: 12px;
  }

  .single-room-capture-screen .single-room-compass-center strong {
    color: #181a18;
    font-size: 42px;
  }

  .single-room-capture-screen .single-room-compass-center i {
    width: 34%;
    background: rgba(69, 111, 98, 0.42);
  }

  .single-room-capture-screen .single-room-compass-center small {
    max-width: 11em;
    color: rgba(44, 42, 38, 0.62);
    font-size: 14px;
    line-height: 1.5;
  }

  .single-room-capture-screen .single-room-type-grid strong,
  .single-room-capture-screen:not(.has-room-type) .single-room-type-grid strong {
    min-height: 29px;
    padding: 3px 11px 5px;
    border-color: rgba(160, 128, 77, 0.16);
    background: rgba(255, 253, 249, 0.84);
    box-shadow: 0 5px 14px rgba(65, 52, 34, 0.025);
    font-size: 15px;
  }

  .single-room-capture-screen .single-room-type-art,
  .single-room-capture-screen:not(.has-room-type) .single-room-type-art {
    width: min(48%, 188px);
    height: 29%;
    filter: grayscale(0.09) saturate(0.72) contrast(0.92);
  }

  .single-room-capture-screen .single-room-type-grid button.active .single-room-type-art {
    filter: grayscale(0.04) saturate(0.78) contrast(0.94);
  }

  .single-room-capture-screen .single-room-reference-decor {
    z-index: -1;
    display: none;
    opacity: 0;
    filter: saturate(0.58) contrast(0.88);
  }

  .single-room-capture-screen .single-room-reference-decor--mountain-upper-left {
    top: 14%;
    left: -52%;
    width: 88%;
  }

  .single-room-capture-screen .single-room-reference-decor--bamboo-upper-right {
    top: -10%;
    right: -107%;
    width: 39%;
  }

  .single-room-capture-screen .single-room-reference-decor--mountain-lower-right {
    right: -106%;
    bottom: -5%;
    width: 96%;
  }

  .single-room-capture-screen .single-room-protocol {
    position: absolute;
    top: 447px;
    left: 66%;
    z-index: 5;
    width: min(340px, 27vw);
    margin: 0;
  }

  .single-room-capture-screen .single-room-protocol h2 {
    grid-template-columns: minmax(34px, 1fr) auto minmax(34px, 1fr);
    gap: 12px;
    margin: 0 0 18px;
    color: rgba(35, 34, 31, 0.78);
    font-size: 21px;
    letter-spacing: 0.08em;
  }

  .single-room-capture-screen .single-room-protocol h2 span {
    background: rgba(160, 128, 77, 0.28);
  }

  .single-room-capture-screen .single-room-protocol .room-upload-proof-row {
    position: absolute;
    top: -297px;
    right: 228px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    width: 620px;
    height: 76px;
    padding: 0;
    overflow: visible;
    border: 1px solid rgba(160, 128, 77, 0.18);
    border-radius: 14px;
    background: rgba(255, 253, 249, 0.48);
  }

  .single-room-capture-screen .room-upload-proof-row li {
    grid-template-columns: 38px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    justify-items: start;
    gap: 2px 10px;
    height: 74px;
    min-height: 0;
    padding: 10px 17px;
    border: 0;
    border-radius: 0;
    background: transparent;
    text-align: left;
  }

  .single-room-capture-screen .room-upload-proof-row li + li {
    border-left: 1px solid rgba(160, 128, 77, 0.15);
  }

  .single-room-capture-screen .room-upload-proof-row li:not(:last-child)::after {
    top: 25px;
    right: -9px;
    color: rgba(126, 103, 67, 0.48);
    font-size: 18px;
  }

  .single-room-capture-screen .room-upload-proof-row i {
    grid-row: 1 / 3;
    width: 34px;
    height: 34px;
    font-size: 17px;
  }

  .single-room-capture-screen .room-upload-proof-row b {
    align-self: end;
    font-size: 16px;
  }

  .single-room-capture-screen .room-upload-proof-row em {
    align-self: start;
    font-size: 11px;
  }

  .single-room-capture-screen .single-room-three-shot-note {
    grid-template-columns: 34px minmax(0, 1fr);
    min-height: 56px;
    margin: 0;
    padding: 0 15px;
    border-color: rgba(160, 128, 77, 0.17);
    border-radius: 12px;
    background: rgba(255, 253, 249, 0.44);
    color: rgba(39, 37, 33, 0.72);
    font-size: 14px;
  }

  .single-room-capture-screen .single-room-three-shot-note::after {
    display: none;
  }

  .single-room-capture-screen .single-room-three-shot-note svg {
    width: 23px;
    height: 23px;
    stroke: var(--single-room-pc-jade);
  }

  .single-room-capture-screen .single-room-pc-choice-hint {
    margin: 26px 0 0;
    color: rgba(49, 47, 43, 0.56);
    font-size: 13px;
    letter-spacing: 0.03em;
  }

  .single-room-capture-screen .single-room-pc-start {
    width: 100%;
    min-height: 58px;
    margin: 22px 0 0;
    border: 1px solid rgba(69, 111, 98, 0.62);
    border-radius: 11px;
    background: rgba(255, 253, 249, 0.52);
    color: var(--single-room-pc-jade);
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.08em;
    box-shadow: none;
  }

  .single-room-capture-screen .single-room-pc-start:disabled {
    border-color: rgba(93, 88, 80, 0.2);
    color: rgba(60, 58, 53, 0.36);
    cursor: not-allowed;
  }

  .single-room-capture-screen .single-room-pc-reset {
    width: auto;
    margin: 12px auto 0;
    padding: 6px 12px;
    border: 0;
    background: transparent;
    color: rgba(49, 47, 43, 0.52);
    font-family: var(--serif);
    font-size: 13px;
    letter-spacing: 0.06em;
  }

  .single-room-capture-screen:not(.has-room-type) .single-room-pc-reset {
    visibility: hidden;
  }

  .single-room-capture-screen .single-room-required-panel {
    width: min(980px, calc(100% - 180px));
    margin: 910px auto 0;
    padding-top: 24px;
    scroll-margin-top: 112px;
    overflow-anchor: none;
  }

  .single-room-capture-screen:not(.has-room-type) [data-fengshui-submit="room"] {
    display: none;
  }

  .single-room-capture-screen.has-room-type [data-fengshui-submit="room"] {
    width: min(980px, calc(100% - 180px));
    margin-right: auto;
    margin-left: auto;
  }

  .single-room-capture-screen :is(.single-room-pc-start, .single-room-pc-reset, .single-room-type-grid button, .icon-button):focus-visible {
    outline: 2px solid rgba(166, 64, 49, 0.58);
    outline-offset: 3px;
  }

  @media (hover: hover) and (pointer: fine) {
    .single-room-capture-screen .single-room-pc-start:not(:disabled):hover {
      background: rgba(237, 244, 238, 0.72);
    }

    .single-room-capture-screen .single-room-type-grid button:hover .single-room-type-art {
      filter: grayscale(0.02) saturate(0.8) contrast(0.95);
    }
  }
}

/* PC 首屏不再按窗口高度切换两套坐标，避免点选时卡在临界高度导致标题、步骤条和罗盘跳位。 */

@media (prefers-reduced-motion: reduce) {
  .single-room-capture-screen .single-room-type-art,
  .single-room-capture-screen .single-room-pc-start,
  .single-room-capture-screen .single-room-pc-reset {
    transition-duration: 0.01ms !important;
  }
}
