Files
hfb_show/src/styles.css
T
yml2213 f856473d0d 优化移动端列表卡片布局,并接入企微客服跳转
移动端详情改为双列、强化价格层级;桌面与移动端客服入口均跳转企业微信。
2026-07-16 23:46:36 +08:00

1462 lines
24 KiB
CSS

:root {
--brand: #ff6b00;
--brand-dark: #e85d00;
--brand-soft: #fff3e8;
--brand-line: #ffd7b5;
--page-bg: #f4f6f8;
--text-main: #172033;
--text-muted: #718096;
color: #253137;
background: var(--page-bg);
font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
min-width: 320px;
background: var(--page-bg);
}
a {
color: inherit;
text-decoration: none;
}
button,
input {
font: inherit;
}
.show-page {
min-height: 100vh;
background: var(--page-bg);
}
.site-header {
position: sticky;
top: 0;
z-index: 20;
background: rgba(255, 255, 255, 0.96);
color: var(--text-main);
border-bottom: 1px solid #e9edf3;
box-shadow: 0 8px 24px rgba(21, 32, 43, 0.06);
backdrop-filter: blur(10px);
}
.nav-inner {
width: min(1680px, calc(100% - 120px));
min-height: 68px;
margin: 0 auto;
display: grid;
grid-template-columns: max-content 1fr max-content;
align-items: center;
gap: 34px;
}
.brand,
.brand > div,
.nav-actions,
.listing-head,
.price-line,
.filter-footer,
.sort-toolbar,
.toolbar-actions,
.pagination-bar,
.site-footer {
display: flex;
align-items: center;
}
.brand {
gap: 10px;
min-width: 0;
}
.brand-mark {
width: 42px;
height: 42px;
border-radius: 8px;
display: grid;
place-items: center;
color: #fff;
background: linear-gradient(135deg, #ff8b2f, var(--brand));
font-size: 22px;
font-weight: 900;
box-shadow: 0 8px 18px rgba(255, 107, 0, 0.24);
}
.brand > div {
flex-direction: column;
align-items: flex-start;
line-height: 1.15;
}
.brand strong {
font-size: 22px;
font-weight: 900;
letter-spacing: 0;
white-space: nowrap;
}
.brand span:not(.brand-mark) {
margin-top: 3px;
color: var(--text-muted);
font-size: 12px;
white-space: nowrap;
}
.nav-links {
display: flex;
align-items: center;
gap: 12px;
min-width: 0;
}
.nav-links a {
min-height: 40px;
display: inline-flex;
align-items: center;
padding: 0 18px;
border-radius: 9px;
color: #435066;
font-size: 15px;
font-weight: 800;
white-space: nowrap;
}
.nav-links a.active {
color: var(--brand);
background: var(--brand-soft);
}
.nav-actions {
justify-content: flex-end;
gap: 16px;
color: #64748b;
font-size: 13px;
white-space: nowrap;
}
.nav-actions .cs-btn {
min-width: 112px;
font-weight: 800;
box-shadow: 0 8px 18px rgba(255, 107, 0, 0.18);
}
.cs-btn .cs-btn-label {
margin-left: 2px;
}
/* 移动端悬浮客服入口,桌面端隐藏 */
.cs-float {
display: none;
position: fixed;
right: 16px;
bottom: calc(20px + env(safe-area-inset-bottom, 0px));
z-index: 40;
width: 56px;
height: 56px;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 1px;
border-radius: 50%;
color: #fff;
background: linear-gradient(145deg, #ff8b2f, var(--brand));
box-shadow: 0 10px 24px rgba(255, 107, 0, 0.36);
font-size: 11px;
font-weight: 800;
line-height: 1;
text-decoration: none;
transition:
transform 0.15s ease,
box-shadow 0.15s ease;
}
.cs-float .anticon {
font-size: 20px;
}
.cs-float:active {
transform: scale(0.96);
}
.cs-float:hover {
color: #fff;
box-shadow: 0 12px 28px rgba(255, 107, 0, 0.42);
}
.warning-line {
min-height: 28px;
padding: 6px 16px;
display: flex;
align-items: center;
justify-content: center;
color: #b95600;
background: #fff7ef;
border-bottom: 1px solid #ffe0c2;
font-size: 12px;
font-weight: 700;
text-align: center;
line-height: 1.4;
}
.search-stage,
.filter-board,
.result-area {
width: min(1480px, calc(100% - 160px));
margin-right: auto;
margin-left: auto;
}
.search-stage {
display: flex;
justify-content: center;
padding: 18px 0 14px;
}
.search-stage .ant-input-search {
width: min(420px, 100%);
}
.search-stage .ant-input {
font-weight: 600;
}
.search-stage .ant-btn {
width: 48px;
background: var(--brand);
border-color: var(--brand);
}
.notice-line {
width: min(1480px, calc(100% - 160px));
height: 34px;
margin: 0 auto 12px;
padding: 0 12px 0 10px;
display: flex;
align-items: center;
gap: 10px;
color: #b07a00;
background: #fffbf0;
border: 1px solid #f3e2b0;
border-radius: 8px;
font-size: 13px;
overflow: hidden;
}
.notice-label {
flex: none;
height: 20px;
padding: 0 8px;
display: inline-flex;
align-items: center;
border-radius: 4px;
color: #fff;
background: linear-gradient(135deg, #f0a202, #e08a00);
font-size: 11px;
font-weight: 900;
letter-spacing: 0.04em;
}
.notice-marquee {
min-width: 0;
flex: 1;
overflow: hidden;
}
.marquee-track {
display: inline-flex;
align-items: center;
gap: 48px;
width: max-content;
white-space: nowrap;
will-change: transform;
animation: marquee-scroll 22s linear infinite;
}
.marquee-track span {
flex: none;
}
.notice-marquee:hover .marquee-track {
animation-play-state: paused;
}
@keyframes marquee-scroll {
from {
transform: translateX(0);
}
to {
transform: translateX(calc(-50% - 24px));
}
}
@media (prefers-reduced-motion: reduce) {
.marquee-track {
animation: none;
}
}
.filter-board,
.result-area {
background: #fff;
border: 1px solid #e8edf3;
border-radius: 14px;
box-shadow: 0 8px 24px rgba(21, 32, 43, 0.05);
}
.filter-board {
padding: 18px 22px 12px;
}
.section-title {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 14px;
color: var(--text-main);
font-size: 15px;
font-weight: 900;
letter-spacing: 0.01em;
}
.section-title i {
width: 3px;
height: 14px;
border-radius: 99px;
background: linear-gradient(180deg, #ff8b2f, var(--brand));
}
.filter-grid {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(360px, 0.74fr);
gap: 14px 56px;
}
.filter-row {
min-width: 0;
display: grid;
grid-template-columns: 72px minmax(0, 1fr);
align-items: start;
gap: 12px;
}
.filter-label,
.range-fields > label > span {
min-height: 30px;
display: inline-flex;
align-items: center;
color: #667085;
font-size: 13px;
font-weight: 700;
white-space: nowrap;
}
.chip-list {
min-width: 0;
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.chip-list button {
min-width: 44px;
height: 30px;
padding: 0 12px;
border: 1px solid transparent;
border-radius: 999px;
background: #f4f6f9;
color: #5b6572;
font-size: 12px;
font-weight: 700;
line-height: 1;
cursor: pointer;
transition:
color 0.15s ease,
background 0.15s ease,
border-color 0.15s ease,
box-shadow 0.15s ease,
transform 0.15s ease;
}
.chip-list button:hover {
color: var(--brand-dark);
background: #fff4ea;
border-color: #ffd7b5;
}
.chip-list button.selected {
color: #fff;
background: linear-gradient(135deg, #ff8b2f, var(--brand));
border-color: transparent;
box-shadow: 0 6px 14px rgba(255, 107, 0, 0.22);
}
.chip-list button.selected:hover {
color: #fff;
background: linear-gradient(135deg, #ff9a45, var(--brand-dark));
}
.chip-list button:active {
transform: translateY(1px);
}
.compact-select .ant-select {
width: min(280px, 100%);
}
.compact-select .ant-select-selector {
min-height: 34px !important;
border-radius: 10px !important;
border-color: #e6ebf2 !important;
background: #f8fafc !important;
}
.compact-select .ant-select-focused .ant-select-selector {
border-color: var(--brand) !important;
box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.12) !important;
}
.advanced-panel {
display: none;
padding-top: 16px;
border-top: 1px dashed #e8edf3;
margin-top: 16px;
}
.advanced-panel.open {
display: grid;
gap: 14px;
}
.range-fields {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 16px 38px;
}
.range-fields > label {
display: grid;
grid-template-columns: 72px minmax(0, 1fr);
align-items: center;
gap: 12px;
}
.range-inputs {
min-width: 0;
display: grid;
grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
align-items: center;
gap: 8px;
}
.range-inputs em {
color: #98a2b3;
font-size: 12px;
font-style: normal;
font-weight: 700;
}
.range-inputs .ant-input {
border-radius: 10px;
background: #f8fafc;
}
.filter-footer {
justify-content: center;
min-height: 44px;
padding-top: 4px;
}
.advanced-toggle {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 6px 14px;
border: none;
border-radius: 999px;
background: transparent;
color: #667085;
font-size: 13px;
font-weight: 700;
cursor: pointer;
transition: color 0.15s ease, background 0.15s ease;
}
.advanced-toggle:hover {
color: var(--brand-dark);
background: var(--brand-soft);
}
.advanced-toggle .anticon {
font-size: 11px;
}
.result-area {
margin-top: 14px;
padding: 16px 16px 28px;
}
.sort-toolbar {
justify-content: space-between;
align-items: center;
gap: 14px;
margin-bottom: 16px;
padding-bottom: 14px;
border-bottom: 1px solid #eef2f6;
}
.sort-segment {
min-width: 0;
display: inline-flex;
flex-wrap: wrap;
gap: 4px;
padding: 4px;
border-radius: 12px;
background: #f3f5f8;
border: 1px solid #e8edf3;
}
.sort-segment button {
height: 32px;
padding: 0 12px;
border: none;
border-radius: 9px;
background: transparent;
color: #667085;
font-size: 13px;
font-weight: 700;
white-space: nowrap;
cursor: pointer;
transition:
color 0.15s ease,
background 0.15s ease,
box-shadow 0.15s ease;
}
.sort-segment button:hover {
color: var(--text-main);
background: rgba(255, 255, 255, 0.7);
}
.sort-segment button.active {
color: var(--brand-dark);
background: #fff;
box-shadow: 0 2px 8px rgba(21, 32, 43, 0.08);
}
.toolbar-actions {
flex: none;
justify-content: flex-end;
gap: 10px;
}
.toolbar-actions .ant-btn {
border-radius: 9px;
font-weight: 800;
}
.toolbar-actions .ant-btn-primary {
font-weight: 900;
box-shadow: 0 6px 14px rgba(255, 107, 0, 0.18);
}
.listing-list {
display: grid;
gap: 12px;
}
.listing-row {
min-height: 182px;
display: grid;
grid-template-columns: 286px minmax(0, 1fr);
gap: 22px;
padding: 18px;
background: #fff;
border: 1px solid #e7edf5;
border-radius: 14px;
box-shadow: 0 6px 20px rgba(21, 32, 43, 0.05);
}
.listing-cover {
width: 100%;
aspect-ratio: 16 / 8.2;
align-self: center;
border-radius: 6px;
overflow: hidden;
display: grid;
place-items: center;
color: #718086;
background:
linear-gradient(135deg, rgba(255, 107, 0, 0.14), transparent),
#e8edf3;
font-weight: 800;
}
.listing-cover img {
width: 100%;
height: 100%;
display: block;
object-fit: cover;
}
.listing-main {
min-width: 0;
display: grid;
grid-template-rows: max-content 1fr max-content max-content;
gap: 11px;
}
.listing-head {
min-width: 0;
justify-content: space-between;
gap: 16px;
}
.listing-head-main {
min-width: 0;
display: flex;
align-items: center;
gap: 8px;
flex: 1;
}
.listing-head-actions {
flex: none;
display: inline-flex;
align-items: center;
gap: 4px;
}
.listing-title {
min-width: 0;
color: #29383e;
font-size: 18px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.listing-head .ant-btn {
color: #7c8a91;
}
.detail-grid {
display: grid;
grid-template-columns: repeat(5, minmax(120px, 1fr));
gap: 8px 28px;
align-content: start;
}
.detail-item {
min-width: 0;
display: grid;
grid-template-columns: 58px minmax(0, 1fr);
gap: 5px;
color: #56646c;
font-size: 13px;
line-height: 1.45;
}
.detail-item span {
color: #6f7d84;
white-space: nowrap;
}
.detail-item span::after {
content: ":";
}
.detail-item strong {
min-width: 0;
color: #202d33;
font-weight: 800;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.listing-meta {
min-width: 0;
display: flex;
flex-wrap: wrap;
gap: 6px;
align-items: center;
}
.listing-meta .ant-tag {
margin-inline-end: 0;
}
.mini-tag {
border-radius: 4px;
font-weight: 800;
}
.tag-green {
color: var(--brand-dark);
background: var(--brand-soft);
border-color: var(--brand-line);
}
.tag-red {
color: #d9480f;
background: #fff4ed;
border-color: #ffd8bd;
}
.tag-purple {
color: #7651d8;
background: #f4f0ff;
border-color: #ded2ff;
}
.tag-gold {
color: var(--brand-dark);
background: #fff8ed;
border-color: var(--brand-line);
}
.remark {
min-width: 0;
color: #3d4c52;
font-size: 12px;
font-weight: 800;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.price-line {
min-width: 0;
flex-wrap: wrap;
align-items: center;
gap: 12px 28px;
color: #526168;
font-size: 14px;
}
.price-item {
display: inline-flex;
align-items: baseline;
gap: 6px;
white-space: nowrap;
}
.price-item em {
font-style: normal;
font-weight: 600;
color: #667085;
}
.price-line strong {
color: var(--brand);
font-weight: 900;
}
.price-line .rental-days {
color: #ff5b66;
}
.price-hint {
cursor: help;
border-bottom: 1px dotted #d0d5dd;
padding-bottom: 1px;
transition: border-color 0.15s ease, color 0.15s ease;
}
.price-hint:hover {
border-bottom-color: var(--brand);
}
.price-hint:hover strong {
color: var(--brand-dark);
}
.copy-info-btn {
margin-left: auto;
}
/* 额外物品悬浮卡片 */
.resource-tooltip-root .ant-tooltip-container,
.resource-tooltip-root .ant-tooltip-inner {
width: 340px !important;
max-width: min(340px, calc(100vw - 24px)) !important;
padding: 0 !important;
overflow: hidden;
border-radius: 12px !important;
border: 1px solid #e8edf3 !important;
background: #fff !important;
color: var(--text-main) !important;
box-shadow: 0 12px 32px rgba(21, 32, 43, 0.14) !important;
}
.resource-popover {
min-width: 0;
text-align: left;
}
.resource-popover.empty {
padding: 14px 16px;
color: #98a2b3;
font-size: 13px;
font-weight: 700;
}
.resource-popover-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 12px 14px;
background: linear-gradient(180deg, #fff8f1, #fff);
border-bottom: 1px solid #f0f2f5;
}
.resource-popover-head > div {
display: flex;
align-items: baseline;
gap: 8px;
min-width: 0;
}
.resource-popover-head strong {
color: var(--text-main);
font-size: 13px;
font-weight: 900;
}
.resource-popover-head span {
color: #98a2b3;
font-size: 12px;
font-weight: 700;
}
.resource-popover-head em {
flex: none;
color: var(--brand);
font-size: 13px;
font-style: normal;
font-weight: 900;
}
.resource-popover-list {
max-height: 280px;
overflow: auto;
padding: 6px 0;
}
.resource-popover-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 8px 14px;
}
.resource-popover-row:hover {
background: #fafbfc;
}
.resource-popover-main {
min-width: 0;
display: flex;
align-items: center;
gap: 6px;
flex-wrap: wrap;
}
.resource-name {
color: #1f2a37;
font-size: 12px;
font-weight: 800;
white-space: nowrap;
}
.resource-qty {
color: #667085;
font-size: 12px;
font-weight: 700;
white-space: nowrap;
}
.resource-mode {
height: 18px;
padding: 0 6px;
border-radius: 999px;
font-size: 11px;
font-weight: 800;
line-height: 18px;
white-space: nowrap;
}
.resource-mode.paid {
color: var(--brand-dark);
background: var(--brand-soft);
}
.resource-mode.gift {
color: #027a48;
background: #ecfdf3;
}
.resource-popover-side {
flex: none;
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 2px;
}
.resource-unit {
color: #98a2b3;
font-size: 11px;
font-weight: 600;
white-space: nowrap;
}
.resource-amount {
color: var(--brand);
font-size: 12px;
font-weight: 900;
white-space: nowrap;
}
.price-line .ant-btn,
.price-line .copy-info-btn {
margin-left: auto;
padding-right: 0;
font-weight: 900;
}
.price-line .ant-btn-link {
color: var(--brand-dark);
}
.price-line .ant-btn-link:hover {
color: var(--brand);
}
.empty-state {
padding: 80px 0;
}
.pagination-bar {
justify-content: center;
margin-top: 26px;
}
.site-footer {
margin-top: 20px;
padding: 16px 20px;
justify-content: center;
color: #8a94a6;
background: #fafbfc;
border-top: 1px solid #e9edf3;
}
.footer-inner {
width: min(1480px, 100%);
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: 6px 4px;
text-align: center;
font-size: 12px;
line-height: 1.5;
}
.site-footer strong {
color: #4a5568;
font-size: 13px;
font-weight: 800;
}
.site-footer span,
.site-footer a {
color: #8a94a6;
font-weight: 600;
}
.footer-divider {
margin: 0 6px;
color: #c5ccd6;
font-weight: 400;
}
.site-footer a:hover {
color: var(--brand);
}
@media (max-width: 1280px) {
.nav-inner,
.search-stage,
.filter-board,
.result-area,
.notice-line {
width: min(100% - 48px, 1180px);
}
.nav-inner {
grid-template-columns: max-content 1fr max-content;
}
.nav-trust {
display: none;
}
.nav-actions .cs-btn {
min-width: 40px;
width: 40px;
height: 40px;
padding: 0;
border-radius: 999px;
display: inline-flex;
align-items: center;
justify-content: center;
}
.nav-actions .cs-btn .cs-btn-label {
display: none;
}
.nav-actions .cs-btn .anticon {
font-size: 18px;
margin-inline-end: 0 !important;
}
.detail-grid {
grid-template-columns: repeat(4, minmax(120px, 1fr));
}
}
@media (max-width: 920px) {
.site-header {
position: static;
}
.nav-inner {
width: calc(100% - 28px);
min-height: 78px;
grid-template-columns: 1fr auto;
grid-template-areas:
"brand actions"
"links links";
gap: 10px;
padding: 12px 0;
}
.brand {
grid-area: brand;
}
.nav-actions {
grid-area: actions;
justify-self: end;
}
.nav-links {
grid-area: links;
gap: 18px;
overflow-x: auto;
}
.cs-float {
display: flex;
}
.search-stage,
.filter-board,
.result-area,
.notice-line {
width: calc(100% - 24px);
}
.filter-grid,
.range-fields {
grid-template-columns: 1fr;
}
.listing-row {
grid-template-columns: 220px minmax(0, 1fr);
}
.detail-grid {
grid-template-columns: repeat(2, minmax(120px, 1fr));
}
}
@media (max-width: 680px) {
.footer-inner {
flex-direction: column;
gap: 4px;
}
.footer-divider {
display: none;
}
.brand-mark {
width: 36px;
height: 36px;
font-size: 18px;
}
.brand strong {
font-size: 18px;
}
.nav-inner {
min-height: 64px;
padding: 10px 0;
}
.nav-links a {
min-height: 34px;
padding: 0 12px;
font-size: 14px;
}
.warning-line {
padding: 6px 12px;
font-size: 11px;
}
.search-stage {
padding: 12px 0 10px;
}
.search-stage,
.filter-board,
.result-area,
.notice-line {
width: calc(100% - 20px);
}
.notice-line {
margin-left: 10px;
margin-right: 10px;
width: calc(100% - 20px);
height: 32px;
font-size: 12px;
}
.notice-marquee .marquee-track {
animation-duration: 16s;
}
.filter-board {
padding: 14px 14px 10px;
border-radius: 12px;
}
.result-area {
margin-top: 10px;
padding: 12px 10px 20px;
border-radius: 12px;
}
.section-title {
margin-bottom: 10px;
font-size: 14px;
}
.filter-row,
.range-fields > label {
grid-template-columns: 1fr;
gap: 7px;
}
.chip-list {
gap: 6px;
}
.chip-list button {
min-height: 32px;
height: 32px;
padding: 0 11px;
}
.sort-segment {
width: 100%;
overflow-x: auto;
flex-wrap: nowrap;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
}
.sort-segment::-webkit-scrollbar {
display: none;
}
.sort-segment button {
flex: 0 0 auto;
height: 30px;
padding: 0 10px;
font-size: 12px;
}
.compact-select .ant-select {
width: 100%;
}
.sort-toolbar {
align-items: stretch;
flex-direction: column;
gap: 10px;
margin-bottom: 12px;
padding-bottom: 12px;
}
.toolbar-actions {
justify-content: stretch;
}
.toolbar-actions .ant-btn {
flex: 1;
}
.listing-list {
gap: 10px;
}
.listing-row {
grid-template-columns: 1fr;
gap: 10px;
min-height: 0;
padding: 12px;
border-radius: 12px;
box-shadow: 0 4px 14px rgba(21, 32, 43, 0.05);
}
.listing-cover {
aspect-ratio: 16 / 9;
border-radius: 8px;
}
.listing-main {
gap: 10px;
}
.listing-head {
align-items: flex-start;
gap: 8px;
}
.listing-head > .ant-tag {
flex: none;
margin-inline-end: 0;
margin-top: 2px;
}
.listing-head-main {
min-width: 0;
flex: 1;
flex-direction: column;
align-items: flex-start;
gap: 6px;
}
.listing-title {
width: 100%;
font-size: 15px;
line-height: 1.35;
white-space: normal;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.listing-head-actions {
width: 100%;
}
.listing-head-actions .ant-tag {
margin-inline-end: 0;
}
.listing-head-actions .ant-btn {
height: 28px;
padding-inline: 6px;
font-size: 12px;
}
.detail-grid {
grid-template-columns: 1fr 1fr;
gap: 0;
padding: 2px 10px;
border-radius: 10px;
background: #f7f9fb;
border: 1px solid #eef2f6;
}
.detail-item {
grid-template-columns: 44px minmax(0, 1fr);
gap: 4px;
align-items: baseline;
padding: 7px 4px;
font-size: 12px;
line-height: 1.35;
border-bottom: 1px solid #eef2f6;
}
.detail-item:nth-last-child(-n + 2) {
border-bottom: none;
}
.detail-item:nth-child(odd) {
padding-right: 8px;
}
.detail-item:nth-child(even) {
padding-left: 8px;
border-left: 1px solid #eef2f6;
}
.detail-item span {
font-size: 11px;
color: #98a2b3;
}
.detail-item strong {
font-size: 12px;
white-space: normal;
word-break: break-all;
}
.listing-meta {
gap: 5px;
}
.listing-meta .ant-tag {
margin: 0;
line-height: 20px;
font-size: 11px;
}
.remark {
width: 100%;
white-space: normal;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.price-line {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px 10px;
padding-top: 10px;
border-top: 1px solid #eef2f6;
font-size: 12px;
}
.price-item {
min-width: 0;
gap: 4px;
}
.price-item em {
font-size: 11px;
color: #98a2b3;
}
.price-rent {
grid-column: 1 / -1;
align-items: baseline;
justify-content: space-between;
padding: 8px 10px;
border-radius: 8px;
background: linear-gradient(135deg, #fff8f1, #fff3e8);
border: 1px solid #ffe0c2;
}
.price-rent em {
font-size: 12px;
color: #9a5b24;
font-weight: 700;
}
.price-rent strong {
font-size: 18px;
letter-spacing: -0.02em;
}
.price-total strong {
font-size: 14px;
}
.price-line .ant-btn,
.price-line .copy-info-btn {
grid-column: 1 / -1;
width: 100%;
height: 40px;
margin-left: 0;
margin-top: 2px;
padding: 0 12px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 8px;
background: var(--brand-soft);
border: 1px solid var(--brand-line);
color: var(--brand-dark);
font-size: 14px;
}
.price-line .ant-btn-link:hover {
background: #ffe8d4;
color: var(--brand);
}
.resource-tooltip-root .ant-tooltip-container,
.resource-tooltip-root .ant-tooltip-inner {
width: min(320px, calc(100vw - 24px)) !important;
max-width: min(320px, calc(100vw - 24px)) !important;
}
.pagination-bar {
margin-top: 16px;
}
.pagination-bar .ant-pagination {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 4px;
}
.site-footer {
margin-top: 14px;
padding: 14px 12px;
}
}
@media (max-width: 360px) {
.detail-item {
grid-template-columns: 40px minmax(0, 1fr);
padding: 6px 2px;
}
.detail-item:nth-child(odd) {
padding-right: 6px;
}
.detail-item:nth-child(even) {
padding-left: 6px;
}
.price-rent strong {
font-size: 16px;
}
}