 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     -webkit-touch-callout: none;
     -webkit-user-select: none;
     -moz-user-select: none;
     -ms-user-select: none;
     user-select: none;
 }

 body {
     font-family: 'Microsoft YaHei', Arial, sans-serif;
     background: #f8f9fa;
     height: 100vh;
     display: flex;
     flex-direction: column;
     overflow: hidden;
 }

 .header {
     background: linear-gradient(135deg, #2c80ff 0%, #1565c0 100%);
     color: white;
     padding: 15px 20px;
     text-align: center;
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
     position: relative;
     z-index: 10;
 }

 .header h1 {
     font-size: 20px;
     margin-bottom: 5px;
     font-weight: 600;
 }

 .header .subtitle {
     font-size: 12px;
     opacity: 0.9;
 }

 .main-container {
     flex: 1;
     display: flex;
     flex-direction: column;
     overflow: hidden;
 }

 .content-section {
     flex: 1;
     overflow-y: auto;
     -webkit-overflow-scrolling: touch;
     padding: 15px 15px 8px;
     background: #f8f9fa;
 }

 .compass-overlay {
     position: absolute;
     top: 15px;
     left: 15px;
     width: 50px;
     height: 50px;
     background: rgba(255, 255, 255, 0.95);
     border: 2px solid #2c80ff;
     border-radius: 50%;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     z-index: 1000;
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
     pointer-events: none;
     font-family: 'Microsoft YaHei', Arial, sans-serif;
     transition: transform 0.1s ease;
 }

 .compass-direction {
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     position: relative;
     width: 100%;
     height: 100%;
 }

 .compass-arrow {
     width: 0;
     height: 0;
     border-left: 10px solid transparent;
     border-right: 10px solid transparent;
     border-bottom: 18px solid #2c80ff;
     margin-bottom: 5px;
 }

 .compass-text {
     color: #333;
     font-size: 14px;
     font-weight: bold;
     line-height: 1;
 }

 .gray-top-section {
     height: 50vh;
     min-height: 200px;
     background: linear-gradient(135deg, #e0e0e0 0%, #b0b0b0 100%);
     position: relative;
     z-index: 5;
     margin-bottom: 20px;
     border-radius: 12px;
     overflow: hidden;
 }

 .gray-placeholder {
     width: 100%;
     height: 100%;
     display: flex;
     align-items: center;
     justify-content: center;
     color: #666;
     font-size: 16px;
     font-weight: bold;
 }

 .building-selection {
     margin-bottom: 12px;
     background: white;
     border-radius: 10px;
     padding: 10px 12px;
     box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
 }

 .building-selection h2 {
     font-size: 14px;
     color: #333;
     margin-bottom: 8px;
     padding-bottom: 6px;
     border-bottom: 1px solid #e8e8e8;
     font-weight: 600;
 }

 .buildings-grid {
     display: flex;
     flex-direction: column;
     gap: 0;
 }

 .buildings-row {
     display: flex;
     gap: 6px;
     flex-wrap: nowrap;
 }

 .building-badge {
     flex: 1;
     min-width: 0;
     background: #e3f2fd;
     padding: 7px 4px;
     border-radius: 16px;
     font-size: 12px;
     color: #1565c0;
     cursor: pointer;
     transition: all 0.2s ease;
     text-align: center;
     white-space: nowrap;
     line-height: 1.2;
 }

 .building-badge:hover {
     background: #bbdefb;
 }

 .building-badge.selected {
     background: #2c80ff;
     color: white;
     box-shadow: 0 2px 8px rgba(44, 128, 255, 0.25);
 }

 .building-info {
     background: white;
     border-radius: 12px;
     margin-bottom: 10px;
     padding: 14px;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
 }

 .building-info h2 {
     font-size: 18px;
     color: #333;
     margin-bottom: 15px;
     display: flex;
     align-items: center;
     justify-content: space-between;
 }

 .building-stats {
     display: grid;
     grid-template-columns: repeat(2, 1fr);
     gap: 15px;
     margin-bottom: 20px;
 }

 .stat-item {
     text-align: center;
 }

 .stat-value {
     font-size: 20px;
     font-weight: bold;
     color: #2c80ff;
     margin-bottom: 5px;
 }

 .stat-label {
     font-size: 12px;
     color: #666;
 }

 /* 楼层：左侧 Tab（单列）+ 右侧房间 */
 .floor-panel {
     display: flex;
     gap: 10px;
     align-items: flex-start;
 }

 .floor-tabs {
     flex: 0 0 76px;
     display: flex;
     flex-direction: column;
     gap: 6px;
     overflow: visible;
 }

 .floor-tab {
     position: relative;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     gap: 3px;
     padding: 8px 4px;
     background: #f8f9fa;
     border: 1px solid #e8e8e8;
     border-radius: 8px;
     cursor: pointer;
     transition: all 0.2s ease;
     text-align: center;
     min-width: 0;
 }

 .floor-tab:hover {
     border-color: #90caf9;
     background: #f0f7ff;
 }

 .floor-tab.active {
     border-color: #2c80ff;
     background: #e3f2fd;
     box-shadow: 0 2px 6px rgba(44, 128, 255, 0.18);
 }

 .floor-tab-label {
     font-weight: 700;
     color: #333;
     font-size: 13px;
     line-height: 1.2;
 }

 .floor-tab-type {
     font-size: 9px;
     line-height: 1.15;
     padding: 1px 4px;
     border-radius: 6px;
     background: rgba(0, 0, 0, 0.04);
     max-width: 100%;
     overflow: hidden;
     text-overflow: ellipsis;
     white-space: nowrap;
 }

 .floor-tab .floor-selected-indicator {
     position: absolute;
     top: 4px;
     right: 4px;
     width: 6px;
     height: 6px;
     margin: 0;
 }

 .floor-detail {
     flex: 1;
     min-width: 0;
     background: #fafafa;
     border: 1px solid #e8e8e8;
     border-radius: 10px;
     overflow: hidden;
 }

 .floor-content {
     display: none;
     padding: 12px;
 }

 .floor-content.active {
     display: block;
 }

 .floor-desc {
     font-size: 12px;
     color: #666;
     margin-bottom: 10px;
     padding-bottom: 8px;
     border-bottom: 1px dashed #e0e0e0;
     line-height: 1.5;
 }

 .floor-desc-row {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 10px;
 }

 .floor-desc-text {
     flex: 1;
     min-width: 0;
 }

 .floor-desc strong {
     color: #333;
     font-size: 13px;
 }

 .view-floor-plan-btn {
     flex-shrink: 0;
     padding: 5px 10px;
     border: 1px solid #2c80ff;
     border-radius: 14px;
     background: #e3f2fd;
     color: #2c80ff;
     font-size: 11px;
     font-weight: 600;
     line-height: 1.2;
     cursor: pointer;
     white-space: nowrap;
     touch-action: manipulation;
     -webkit-tap-highlight-color: transparent;
     transition: all 0.2s ease;
 }

 .view-floor-plan-btn:hover {
     background: #2c80ff;
     color: #fff;
 }

 .rooms-list {
     display: grid;
     grid-template-columns: repeat(2, minmax(0, 1fr));
     gap: 10px;
 }

 .room-card {
     background: white;
     border: 1px solid #e0e0e0;
     border-radius: 8px;
     padding: 10px;
     cursor: pointer;
     transition: all 0.2s ease;
     min-width: 0;
 }

 .room-card:hover {
     border-color: #2c80ff;
     box-shadow: 0 3px 8px rgba(44, 128, 255, 0.2);
     transform: translateY(-2px);
 }

 .room-card.selected {
     border-color: #ff4081;
     background: #fff0f5;
 }

 .room-name {
     font-weight: 600;
     color: #333;
     margin-bottom: 6px;
     font-size: 13px;
     line-height: 1.35;
     display: flex;
     flex-wrap: wrap;
     align-items: center;
     gap: 4px;
 }

 .room-details {
     font-size: 11px;
     color: #666;
     line-height: 1.45;
     margin-bottom: 2px;
     overflow: hidden;
     text-overflow: ellipsis;
     white-space: nowrap;
 }

 .room-price {
     color: #d32f2f;
     font-weight: bold;
     font-size: 11px;
     margin-top: 4px;
     overflow: hidden;
     text-overflow: ellipsis;
     white-space: nowrap;
 }

 .legend {
     background: white;
     border-radius: 10px;
     padding: 12px 14px;
     margin-bottom: 0;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
 }

 .legend h4 {
     font-size: 13px;
     color: #333;
     margin: 0 0 8px;
     padding-bottom: 6px;
     border-bottom: 1px solid #e8e8e8;
 }

 .legend h4.legend-subtitle {
     margin-top: 10px;
 }

 .legend-grid {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 4px 10px;
 }

 .legend-item {
     display: flex;
     align-items: center;
     font-size: 11px;
     color: #666;
     padding: 2px 0;
     min-width: 0;
 }

 .legend-color {
     width: 10px;
     height: 10px;
     border-radius: 2px;
     margin-right: 6px;
     flex-shrink: 0;
 }

 .legend-color.sold {
     background-color: #4caf50;
 }

 .legend-color.for-sale {
     background-color: #ff9800;
 }

 .legend-color.selected {
     background-color: #2c80ff;
 }

 .legend-color.room-selected {
     background-color: #ff4081;
 }

 .legend-color.shop {
     background-color: #ff9800;
 }

 .legend-color.entertainment {
     background-color: #9c27b0;
 }

 .legend-color.gym {
     background-color: #4caf50;
 }

 .legend-color.restaurant {
     background-color: #f44336;
 }

 .legend-color.hotel {
     background-color: #2196f3;
 }

 .legend-color.loft {
     background-color: #00bcd4;
 }

 .legend-color.residence {
     background-color: #8bc34a;
 }

 .legend-color.other {
     background-color: #cccccc;
 }

 .legend-color.underground {
     background-color: #795548;
 }

 .legend-color.floor-selected {
     background-color: #FF9800;
 }

 .bottom-menu {
     position: fixed;
     bottom: 0;
     left: 0;
     right: 0;
     height: 60px;
     background: white;
     display: flex;
     justify-content: space-around;
     align-items: center;
     border-top: 1px solid #e0e0e0;
     z-index: 100;
     box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
 }

 .menu-button {
     flex: 1;
     height: 100%;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 14px;
     color: #333;
     cursor: pointer;
     transition: all 0.3s ease;
     border-right: 1px solid #f0f0f0;
 }

 .menu-button:last-child {
     border-right: none;
 }

 .menu-button:hover {
     background-color: #f5f5f5;
 }

 .menu-button.active {
     background-color: #2c80ff;
     color: white;
 }

 .back-to-top {
     position: fixed;
     bottom: 70px;
     right: 15px;
     width: 45px;
     height: 45px;
     background: #2c80ff;
     color: white;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
     box-shadow: 0 4px 12px rgba(44, 128, 255, 0.3);
     z-index: 99;
     transition: all 0.3s ease;
 }

 .back-to-top:hover {
     transform: translateY(-3px);
     box-shadow: 0 6px 15px rgba(44, 128, 255, 0.4);
 }

 .content-spacer {
     height: 0;
     display: none;
 }

 .floor-selected-indicator {
     display: inline-block;
     width: 12px;
     height: 12px;
     background-color: #FF9800;
     border-radius: 50%;
     margin-right: 8px;
     animation: pulse 1.5s infinite;
 }

 @keyframes pulse {
     0% {
         transform: scale(0.8);
         opacity: 0.7;
     }

     50% {
         transform: scale(1.1);
         opacity: 1;
     }

     100% {
         transform: scale(0.8);
         opacity: 0.7;
     }
 }

 /* 楼层平面图模态框 */
 .floor-plan-modal {
     display: none;
     position: fixed;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background: #0d1018;
     z-index: 10000;
     padding: 0;
 }

 .floor-plan-modal.active {
     display: flex;
     flex-direction: column;
 }

 .floor-plan-container {
     background: #0d1018;
     border-radius: 0;
     width: 100%;
     height: 100%;
     max-width: none;
     max-height: none;
     flex: 1;
     display: flex;
     flex-direction: column;
     overflow: hidden;
     position: relative;
 }

 .floor-plan-header {
     background: linear-gradient(135deg, #2c80ff 0%, #1565c0 100%);
     color: white;
     padding: 12px 16px;
     display: flex;
     justify-content: space-between;
     align-items: center;
     flex-shrink: 0;
 }

 .floor-plan-header h3 {
     font-size: 18px;
     margin: 0;
 }

 .floor-plan-close {
     background: rgba(255, 255, 255, 0.2);
     border: none;
     color: white;
     font-size: 24px;
     width: 36px;
     height: 36px;
     border-radius: 50%;
     cursor: pointer;
     display: flex;
     align-items: center;
     justify-content: center;
     transition: all 0.3s ease;
     touch-action: manipulation;
     -webkit-tap-highlight-color: transparent;
 }

 .floor-plan-close:hover {
     background: rgba(255, 255, 255, 0.3);
 }

 .floor-plan-content {
     flex: 1;
     position: relative;
     overflow: hidden;
     background: #0d1018;
     display: flex;
     flex-direction: column;
     min-height: 0;
 }

 .fpv-bar {
     display: flex;
     align-items: center;
     gap: 8px;
     padding: 8px 12px;
     background: #181c27;
     border-bottom: 1px solid #2a3048;
     flex-shrink: 0;
     flex-wrap: wrap;
     position: relative;
     z-index: 20;
     touch-action: manipulation;
 }

 .fpv-title {
     font-size: 12px;
     font-weight: 600;
     color: #4f8ef7;
     margin-right: 4px;
 }

 .fpv-zoom {
     width: 28px;
     height: 28px;
     border-radius: 6px;
     border: 1px solid #2a3048;
     background: #1e2333;
     color: #e8ecf4;
     display: flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
     font-size: 16px;
     user-select: none;
     flex-shrink: 0;
     touch-action: manipulation;
     -webkit-tap-highlight-color: transparent;
 }

 .fpv-zoom-disp {
     font-size: 11px;
     color: #8892a4;
     min-width: 38px;
     text-align: center;
     flex-shrink: 0;
 }

 .fpv-btn {
     padding: 4px 10px;
     border-radius: 6px;
     border: 1px solid #2a3048;
     background: #1e2333;
     color: #e8ecf4;
     font-size: 11px;
     cursor: pointer;
     flex-shrink: 0;
     touch-action: manipulation;
     -webkit-tap-highlight-color: transparent;
 }

 .fpv-hint {
     margin-left: auto;
     font-size: 10px;
     color: #535d72;
     overflow: hidden;
     text-overflow: ellipsis;
     white-space: nowrap;
     min-width: 0;
 }

 .fpv-wrap {
     flex: 1;
     position: relative;
     overflow: hidden;
     touch-action: none;
     cursor: grab;
     min-height: 0;
     background: linear-gradient(rgba(79, 142, 247, 0.03) 1px, transparent 1px),
         linear-gradient(90deg, rgba(79, 142, 247, 0.03) 1px, transparent 1px);
     background-size: 40px 40px;
     background-color: #0d1018;
 }

 .fpv-wrap:active {
     cursor: grabbing;
 }

 .fpv-wrap .canvas-container {
     position: absolute !important;
     top: 0 !important;
     left: 0 !important;
     z-index: 1;
 }

 .fpv-wrap canvas {
     display: block !important;
 }

 .fpv-popup {
     position: absolute;
     background: #181c27;
     border: 1px solid #2a3048;
     border-radius: 10px;
     padding: 12px 14px;
     min-width: 190px;
     max-width: 240px;
     box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
     z-index: 30;
     display: none;
     pointer-events: all;
 }

 .fpv-popup.on {
     display: block;
 }

 .fpv-pop-close {
     position: absolute;
     top: 8px;
     right: 8px;
     width: 20px;
     height: 20px;
     display: flex;
     align-items: center;
     justify-content: center;
     border-radius: 50%;
     border: 1px solid #2a3048;
     background: #1e2333;
     cursor: pointer;
     color: #8892a4;
     font-size: 12px;
     touch-action: manipulation;
     -webkit-tap-highlight-color: transparent;
 }

 .fpv-pop-head {
     display: flex;
     align-items: center;
     gap: 6px;
     margin-bottom: 8px;
     padding-right: 20px;
 }

 .fpv-dot {
     width: 9px;
     height: 9px;
     border-radius: 2px;
     flex-shrink: 0;
 }

 .fpv-name {
     font-size: 13px;
     font-weight: 700;
     color: #e8ecf4;
     flex: 1;
     overflow: hidden;
     text-overflow: ellipsis;
     white-space: nowrap;
 }

 .fpv-cat {
     font-size: 10px;
     color: #8892a4;
     padding: 2px 6px;
     background: #1e2333;
     border-radius: 10px;
     border: 1px solid #2a3048;
     white-space: nowrap;
 }

 .fpv-row {
     display: flex;
     justify-content: space-between;
     font-size: 11px;
     padding: 2px 0;
     color: #8892a4;
 }

 .fpv-row span:last-child {
     color: #e8ecf4;
     margin-left: 8px;
     text-align: right;
 }

 .fpv-desc {
     font-size: 11px;
     color: #8892a4;
     margin-top: 6px;
     padding-top: 6px;
     border-top: 1px solid #2a3048;
     line-height: 1.5;
 }

 .floor-plan-canvas {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     cursor: grab;
     touch-action: none; /* 完全禁用浏览器默认触摸行为 */
 }

 .floor-plan-canvas:active {
     cursor: grabbing;
 }

 .shop-info-popup {
     position: absolute;
     background: white;
     border-radius: 8px;
     padding: 15px;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
     min-width: 200px;
     max-width: 250px;
     z-index: 10001;
     display: none;
     pointer-events: none; /* 防止遮挡点击 */
 }

 .shop-info-popup.active {
     display: block;
 }

 .shop-info-popup h4 {
     margin: 0 0 10px 0;
     color: #2c80ff;
     font-size: 16px;
 }

 .shop-info-popup p {
     margin: 5px 0;
     font-size: 13px;
     color: #666;
 }

 /* 平面图确认弹窗样式 */
 .floor-plan-confirm-modal {
     display: none;
     position: fixed;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background: rgba(0, 0, 0, 0.5);
     z-index: 10001;
     justify-content: center;
     align-items: center;
     animation: fadeIn 0.3s ease;
 }

 .floor-plan-confirm-modal.active {
     display: flex;
 }

 @keyframes fadeIn {
     from {
         opacity: 0;
     }

     to {
         opacity: 1;
     }
 }

 .floor-plan-confirm-container {
     background: white;
     border-radius: 16px;
     width: 90%;
     max-width: 400px;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
     overflow: hidden;
     animation: slideUp 0.4s ease;
 }

 @keyframes slideUp {
     from {
         opacity: 0;
         transform: translateY(20px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 .floor-plan-confirm-header {
     background: linear-gradient(135deg, #2c80ff 0%, #1565c0 100%);
     color: white;
     padding: 20px;
     text-align: center;
 }

 .floor-plan-confirm-header h3 {
     font-size: 18px;
     margin: 0;
     font-weight: 600;
 }

 .floor-plan-confirm-content {
     padding: 25px 20px;
     text-align: center;
 }

 .floor-plan-confirm-icon {
     font-size: 48px;
     color: #2c80ff;
     margin-bottom: 15px;
     animation: pulse 2s infinite;
 }

 .floor-plan-confirm-text {
     font-size: 16px;
     color: #333;
     line-height: 1.5;
     margin-bottom: 5px;
 }

 .floor-plan-confirm-subtext {
     font-size: 14px;
     color: #666;
     margin-bottom: 25px;
 }

 .floor-plan-confirm-buttons {
     display: flex;
     gap: 12px;
     justify-content: center;
 }

 .floor-plan-confirm-btn {
     padding: 12px 28px;
     border-radius: 25px;
     font-size: 15px;
     font-weight: 500;
     cursor: pointer;
     border: none;
     transition: all 0.3s ease;
     min-width: 100px;
 }

 .floor-plan-confirm-btn.primary {
     background: #2c80ff;
     color: white;
     box-shadow: 0 4px 12px rgba(44, 128, 255, 0.3);
 }

 .floor-plan-confirm-btn.primary:hover {
     background: #1565c0;
     transform: translateY(-2px);
     box-shadow: 0 6px 16px rgba(44, 128, 255, 0.4);
 }

 .floor-plan-confirm-btn.secondary {
     background: #f5f5f5;
     color: #666;
     border: 1px solid #e0e0e0;
 }

 .floor-plan-confirm-btn.secondary:hover {
     background: #e0e0e0;
     transform: translateY(-2px);
 }

 /* 楼层平面图全屏 */
 .floor-plan-modal .floor-plan-container {
     width: 100%;
     height: 100%;
     max-width: none;
     max-height: none;
 }

 .floor-plan-modal .floor-plan-content {
     display: flex;
     flex-direction: column;
     flex: 1;
     min-height: 0;
     overflow: hidden;
     position: relative;
 }

 .floor-plan-modal .floor-plan-canvas {
     cursor: grab;
     touch-action: none;
 }

 .floor-plan-modal .floor-plan-canvas:active {
     cursor: grabbing;
 }

 .floor-plan-zoom-info {
     position: absolute;
     top: 20px;
     right: 20px;
     background: rgba(255, 255, 255, 0.9);
     padding: 8px 15px;
     border-radius: 15px;
     font-size: 13px;
     color: #666;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
 }

 /* 鼠标滚轮提示 */
 .wheel-hint {
     position: absolute;
     bottom: 10px;
     left: 50%;
     transform: translateX(-50%);
     background: rgba(0, 0, 0, 0.7);
     color: white;
     padding: 8px 15px;
     border-radius: 15px;
     font-size: 12px;
     animation: fadeInOut 3s ease-in-out;
     white-space: nowrap;
 }

 @keyframes fadeInOut {

     0%,
     100% {
         opacity: 0;
     }

     10%,
     90% {
         opacity: 1;
     }
 }

 /* 移动端优化 */
 @media (max-width: 768px) {
     .building-stats {
         grid-template-columns: repeat(2, 1fr);
     }

     .floor-tabs {
         flex: 0 0 68px;
     }

     .floor-tab {
         padding: 7px 3px;
     }

     .rooms-list {
         grid-template-columns: repeat(2, minmax(0, 1fr));
         gap: 8px;
     }

     .legend-grid {
         grid-template-columns: repeat(2, 1fr);
         gap: 4px 8px;
     }

     .header {
         padding: 12px 15px;
     }

     .header h1 {
         font-size: 18px;
     }

     .content-section {
         padding: 12px;
     }

     .gray-top-section {
         height: 40vh;
         min-height: 180px;
     }

     .floor-plan-confirm-container {
         width: 85%;
     }

     .floor-plan-confirm-buttons {
         flex-direction: column;
     }

     .floor-plan-confirm-btn {
         width: 100%;
     }

     .floor-plan-zoom-info {
         top: 15px;
         right: 15px;
         font-size: 12px;
     }
 }

 @media (max-width: 480px) {
     .floor-tabs {
         flex: 0 0 64px;
     }

     .floor-tab-label {
         font-size: 12px;
     }

     .legend {
         padding: 10px 12px;
     }

     .legend-grid {
         grid-template-columns: repeat(2, 1fr);
     }

     .room-card {
         padding: 8px;
     }

     .room-name {
         font-size: 12px;
     }

     .building-stats {
         grid-template-columns: 1fr;
     }

     .building-selection {
         padding: 8px 10px;
         margin-bottom: 10px;
     }

     .building-selection h2 {
         font-size: 13px;
         margin-bottom: 6px;
     }

     .buildings-row {
         gap: 5px;
     }

     .building-badge {
         padding: 6px 2px;
         font-size: 11px;
         border-radius: 14px;
     }

     .gray-top-section {
         height: 45vh;
         min-height: 150px;
     }
 }

 ::-webkit-scrollbar {
     width: 6px;
     height: 6px;
 }

 ::-webkit-scrollbar-track {
     background: #f1f1f1;
     border-radius: 3px;
 }

 ::-webkit-scrollbar-thumb {
     background: #c1c1c1;
     border-radius: 3px;
 }

 ::-webkit-scrollbar-thumb:hover {
     background: #a8a8a8;
 }

 .loading {
     text-align: center;
     padding: 40px;
     color: #666;
 }

 .no-data {
     grid-column: 1 / -1;
     text-align: center;
     padding: 30px 12px;
     color: #999;
     font-size: 13px;
 }

 .status-tag {
     display: inline-block;
     padding: 2px 8px;
     border-radius: 10px;
     font-size: 10px;
     margin-left: 5px;
 }

 .status-available {
     background: #e8f5e9;
     color: #2e7d32;
 }

 .status-sold {
     background: #ffebee;
     color: #c62828;
 }

 .status-reserved {
     background: #fff3e0;
     color: #ef6c00;
 }

 .floor-highlight {
     position: relative;
     animation: highlightPulse 2s ease-in-out;
 }

 @keyframes highlightPulse {
     0% {
         background: #f0f7ff;
     }

     50% {
         background: #e3f2fd;
     }

     100% {
         background: #f0f7ff;
     }
 }

 /* 分享遮罩层样式 */
 .share-overlay {
     display: none;
     position: fixed;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background: rgba(0, 0, 0, 0.85);
     z-index: 20000;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     animation: fadeIn 0.3s ease;
 }

 .share-overlay.active {
     display: flex;
 }

 .share-content {
     background: white;
     border-radius: 20px;
     padding: 30px;
     max-width: 80%;
     text-align: center;
     position: relative;
     animation: slideUp 0.4s ease;
     margin-top: 80px;
     /* 给箭头留出空间 */
 }

 .share-title {
     font-size: 20px;
     color: #2c80ff;
     margin-bottom: 15px;
     font-weight: bold;
 }

 .share-tip {
     font-size: 16px;
     color: #666;
     margin-bottom: 20px;
 }

 .share-arrow {
     position: fixed;
     top: 15px;
     right: 15px;
     font-size: 50px;
     color: #2c80ff;
     animation: arrowPoint 1.5s infinite;
     z-index: 20001;
     text-shadow: 0 2px 10px rgba(44, 128, 255, 0.5);
 }

 @keyframes arrowPoint {

     0%,
     100% {
         transform: translate(0, 0);
     }

     50% {
         transform: translate(5px, -5px);
     }
 }

 .share-close {
     margin-top: 20px;
     padding: 10px 25px;
     background: #2c80ff;
     color: white;
     border: none;
     border-radius: 25px;
     font-size: 16px;
     cursor: pointer;
     transition: all 0.3s ease;
 }

 .share-close:hover {
     background: #1565c0;
     transform: scale(1.05);
 }

 /* 为道路添加轻微的阴影效果，使其看起来是在草坪上方的 */
 .road-shadow {
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
 }

 /* 为草坪添加渐变效果，使其与道路衔接更自然 */
 .lawn-gradient {
     background: linear-gradient(to top, #4CAF50, #66BB6A);
 }