:root {
    --brand: #1f6bff;
    --brand-deep: #0f45b5;
    --brand-soft: #eaf1ff;
    --ink: #101a2b;
    --muted: #7a879b;
    --line: #e8edf5;
    --bg: #f4f6fb;
    --card: #ffffff;
    --green: #0f9d58;
    --orange: #ef8b22;
    --red: #e5484d;
    --radius: 14px;
    --shadow: 0 6px 20px rgba(20, 40, 80, 0.06);
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* 只在根元素上裁掉横向溢出，body 用 clip 避免变成滚动容器（否则顶部吸顶会失效） */
html {
    overflow-x: hidden;
}

body {
    overflow-x: clip;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--ink);
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img,
video,
canvas {
    max-width: 100%;
}

button {
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
}

/* 移动端输入框字号不得小于 16px，否则 iOS Safari 聚焦时会自动放大整页（表现为网页宽度变大） */
input,
textarea,
select {
    font-family: inherit;
    font-size: 16px;
    color: inherit;
    max-width: 100%;
}

.app {
    max-width: 720px;
    margin: 0 auto;
    min-height: 100vh;
    padding-bottom: calc(70px + env(safe-area-inset-bottom));
    background: var(--bg);
}

/* ---------- top bar ---------- */

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 14px 16px 10px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.topbar.plain {
    display: flex;
    align-items: center;
    gap: 10px;
}

.topbar-title {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.topbar-sub {
    margin: 2px 0 0;
    font-size: 12px;
    color: var(--muted);
}

.icon-btn {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    font-size: 16px;
    line-height: 1;
}

/* ---------- search ---------- */

.search-wrap {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.search-input {
    flex: 1;
    height: 40px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    outline: none;
}

.search-input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(31, 107, 255, 0.1);
}

.chips {
    display: flex;
    gap: 8px;
    padding: 12px 16px 2px;
    overflow-x: auto;
    scrollbar-width: none;
}

.chips::-webkit-scrollbar {
    display: none;
}

.chip {
    flex-shrink: 0;
    padding: 7px 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: #4a586e;
    font-size: 13px;
}

.chip.active {
    border-color: transparent;
    background: var(--brand);
    color: #fff;
    font-weight: 600;
}

/* ---------- view ---------- */

.view {
    padding: 12px 16px 20px;
}

/* 首页头部自带底部留白，列表区顶部收紧一点 */
.view.home-view {
    padding-top: 4px;
}

.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 14px 2px 12px;
}

.section-title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.2px;
    color: #16181d;
}

.section-note {
    font-size: 13px;
    color: #8a93a3;
}

/* ---------- 首页头部（蓝底渐变 + 搜索 + 分类） ---------- */

.topbar.home-top {
    position: static;
    padding: 0;
    border-bottom: 0;
    background: none;
    backdrop-filter: none;
}

.hero {
    padding: 16px 16px 14px;
    background: linear-gradient(180deg, #196bff 0%, #4a8aff 100%);
    color: #fff;
}

.hero-eyebrow {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.82);
    letter-spacing: 0.2px;
}

.hero-title {
    margin: 7px 0 0;
    font-size: clamp(21px, 6.2vw, 25px);
    font-weight: 700;
    line-height: 1.32;
    letter-spacing: 0.2px;
    color: #fff;
}

.hero-sub {
    margin: 6px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.hero-search {
    position: relative;
    display: block;
    margin-top: 15px;
}

.hero-search-ico {
    position: absolute;
    left: 15px;
    top: 50%;
    width: 19px;
    height: 19px;
    margin-top: -9px;
    color: #8c96a8;
    pointer-events: none;
}

.hero-search-ico svg {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-search .search-input {
    width: 100%;
    height: 44px;
    padding: 0 16px 0 43px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    font-size: 16px;
    color: #16181d;
    box-shadow: 0 4px 12px rgba(12, 44, 110, 0.12);
}

.hero-search .search-input::placeholder {
    color: #9aa3b2;
}

.hero-search .search-input:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4);
}

.hero-chips {
    margin: 12px -16px 0;
    padding: 0 16px;
    gap: 9px;
}

.hero-chips .chip {
    height: 34px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 14px;
    line-height: 32px;
    transition: background 0.16s ease, color 0.16s ease;
}

.hero-chips .chip.active {
    border-color: #fff;
    background: #fff;
    color: var(--brand);
    font-weight: 700;
}

/* ---------- job card ---------- */

.job-card {
    display: block;
    width: 100%;
    padding: 16px 16px 14px;
    margin-bottom: 12px;
    border: 0;
    border-radius: 16px;
    background: var(--card);
    box-shadow: 0 2px 10px rgba(20, 40, 80, 0.05);
    text-align: left;
}

/* 第一行：置顶 + 岗位名 + 薪资 */
.job-top {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.job-pin {
    flex-shrink: 0;
    align-self: center;
    padding: 1px 5px;
    border-radius: 4px;
    background: #ff4d4f;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
}

.job-title {
    flex: 1;
    min-width: 0;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.2px;
    color: #16181d;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.job-salary {
    flex-shrink: 0;
    margin-left: 8px;
    color: #1a6dff;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.2px;
    white-space: nowrap;
}

.job-salary small {
    margin-left: 1px;
    font-size: 13px;
    font-weight: 700;
}

/* 第二行：区域 · 学历 · 经验 · 人数 */
.job-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 7px;
    font-size: 14px;
    line-height: 1.5;
    color: #6b7280;
}

.job-meta i {
    margin: 0 6px;
    color: #b9c0cc;
    font-style: normal;
}

/* 第三行：福利标签 */
.job-welfare {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 11px;
}

.welfare-tag {
    padding: 3px 10px;
    border-radius: 8px;
    background: #f3f5f9;
    color: #7c8494;
    font-size: 13px;
    line-height: 1.45;
}

/* 第四行：企业简称 + 企业名称 + 认证标识 */
.job-company-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 13px;
}

.job-company-name {
    min-width: 0;
    font-size: 14.5px;
    color: #2b2f36;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vbadge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    height: 19px;
    padding: 0 7px 0 2px;
    border: 0;
    border-radius: 999px;
    background: #e9f1ff;
    color: #1a6dff;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1;
}

.vbadge[hidden] {
    display: none;
}

/* 蓝底白勾的圆形认证图标 */
.vbadge svg {
    display: block;
    width: 15px;
    height: 15px;
    padding: 3px;
    border-radius: 50%;
    background: #1a6dff;
    color: #fff;
}

/* 企业简称：浅蓝小方块，未上传 Logo 时显示 */
.logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 21px;
    padding: 0 6px;
    border-radius: 6px;
    background: #eaf2ff;
    color: #1a6dff;
    font-weight: 700;
    font-size: 12.5px;
    line-height: 1;
}

.logo-txt {
    display: block;
    white-space: nowrap;
    letter-spacing: -0.1px;
}

/* 已上传 Logo：收成 21×21 圆角方块，不再撑宽 */
.logo:has(img) {
    width: 21px;
    padding: 0;
    background: #fff;
}

/* Logo 整幅等比缩放显示，不裁切任何边（默认 Logo 带文字与底栏，切了就看不全） */
.logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: inherit;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.tag {
    padding: 3px 8px;
    border-radius: 6px;
    background: #f4f6fb;
    color: #5b6a80;
    font-size: 11.5px;
}

.tag.hot {
    background: #fff2e8;
    color: #c25a11;
}

/* 详情页标签行里的发布时间：弱化为纯文字，不再单独占一行 */
.tag.time {
    background: none;
    color: #9aa6b8;
    padding-left: 2px;
    padding-right: 0;
}

.job-foot {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--line);
    font-size: 12px;
    color: var(--muted);
}

/* ---------- detail（按设计稿重排：卡片分块 / 统一栅格与字级） ---------- */

/* 顶栏：返回箭头 + 居中标题 + 右上分享，与卡片同底色、不画分隔线 */
.detail-top {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    border-bottom-color: transparent;
}

.dt-back,
.dt-share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: none;
    color: #12141a;
}

.dt-back svg,
.dt-share svg {
    width: 23px;
    height: 23px;
}

.dt-back:active,
.dt-share:active {
    background: rgba(18, 20, 26, 0.06);
}

.dt-title {
    flex: 1;
    min-width: 0;
    margin: 0;
    text-align: center;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.2px;
    color: #12141a;
}

/* 卡片：16px 内边距、16px 圆角，卡间 12px 呼吸 */
.jd-card {
    margin-top: 12px;
    padding: 16px;
    border-radius: 16px;
    background: var(--card);
    box-shadow: 0 2px 10px rgba(20, 40, 80, 0.05);
}

.jd-card:first-child {
    margin-top: 0;
}

.jd-title {
    margin: 0;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.3px;
    color: #12141a;
    word-break: break-word;
}

.jd-salary {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 10px;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.3px;
    color: #ff6a1a;
}

.jd-unit {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    color: #ff8d4d;
}

.jd-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 6px;
    margin-top: 10px;
    font-size: 13.5px;
    line-height: 1.5;
    color: #6b7383;
}

.jd-meta i {
    font-style: normal;
    color: #c4cad6;
}

.jd-meta-time {
    color: #9aa1ae;
}

.jd-divider {
    height: 1px;
    margin: 13px 0 11px;
    background: #f0f2f7;
}

.jd-rows {
    display: grid;
    gap: 10px;
}

.jd-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.jd-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: #eef3ff;
    color: #3b6fe0;
}

.jd-ico svg {
    width: 16px;
    height: 16px;
}

.jd-row-text {
    flex: 1;
    min-width: 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    color: #262c3a;
    word-break: break-word;
}

.jd-row-text.is-weak {
    font-weight: 400;
    color: #7b8394;
}

/* 卡片小标题：福利待遇 / 岗位说明 */
.jd-h2 {
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.2px;
    color: #12141a;
}

/* 福利：三等分等宽格子，行距与格子高度拉齐 */
.jd-chips {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.jd-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    padding: 0 6px;
    border-radius: 8px;
    background: #f2f5fb;
    color: #4e5868;
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 岗位说明：原文照排，保留企业填写时的换行，不加任何符号 */
.jd-text {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.7;
    color: #3d4454;
    white-space: pre-wrap;
    word-break: break-word;
}

.jd-empty {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #7b8394;
}

/* 详情页安全提醒：标题 + 右侧「了解更多」，正文里的「立即举报」是蓝色文字链 */
.safety-card {
    margin-top: 12px;
    padding: 16px;
    border-radius: 16px;
    background: var(--card);
    box-shadow: 0 2px 10px rgba(20, 40, 80, 0.05);
}

.safety-head {
    display: flex;
    align-items: center;
    gap: 7px;
}

.safety-icon {
    display: inline-flex;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.safety-icon svg {
    width: 100%;
    height: 100%;
}

.safety-title {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.2px;
    color: #12141a;
}

.safety-more {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    flex-shrink: 0;
    color: #9aa1ae;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
}

.safety-more svg {
    width: 13px;
    height: 13px;
}

.safety-text {
    margin: 10px 0 0;
    font-size: 13.5px;
    line-height: 1.65;
    color: #7e8695;
}

.safety-report {
    color: #3b6fe0;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
}

.safety-tips {
    margin: 4px 0 16px;
    padding-left: 18px;
    font-size: 13.5px;
    line-height: 1.85;
    color: #33405a;
}

.safety-tips li {
    margin-bottom: 8px;
}

/* 详情页底部「更多职位」：卡片复用首页 .job-card，这里只补区块间距 */
.more-jobs {
    margin-top: 18px;
}

.more-jobs .section-head {
    margin: 0 2px 12px;
}

.more-jobs .job-card:last-child {
    margin-bottom: 0;
}

/* 详情页底部固定操作栏：左「分享」，右「拨打电话」 */
.detail-bar {
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 40;
    transform: translateX(-50%);
    width: 100%;
    max-width: 720px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid #eef1f6;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 -4px 18px rgba(20, 40, 80, 0.07);
}

.db-share {
    flex: 0 0 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 2px 0;
    border: 0;
    background: none;
    color: #3f4b5e;
    font-size: 11.5px;
    line-height: 1.2;
}

.db-share-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #3f4b5e;
}

.db-share-icon svg {
    width: 22px;
    height: 22px;
}

.db-call {
    flex: 1;
    height: 46px;
    border: 0;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-size: 16.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.db-call:active {
    background: var(--brand-deep);
}

.db-call:disabled {
    background: #cfd8e6;
    color: #fff;
    cursor: not-allowed;
}

/* 详情页没有底部导航，给内容留出操作栏的高度 */
.with-detail-bar .app {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
}

.share-link {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f4f6fb;
    color: #6b7789;
    font-size: 12px;
    word-break: break-all;
    line-height: 1.5;
}

.share-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.share-actions .btn {
    flex: 1;
}

.phone-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px;
    border-radius: 12px;
    background: var(--brand-soft);
}

.phone-number {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--brand-deep);
}

.placeholder-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    border: 1px dashed #c9d6ea;
    border-radius: 12px;
    background: #fbfcff;
    color: var(--muted);
    font-size: 13px;
}

/* ---------- buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 12px;
    background: var(--brand);
    color: #fff;
    font-weight: 650;
    font-size: 15px;
}

.btn.block {
    width: 100%;
}

.btn.ghost {
    border: 1px solid var(--line);
    background: #fff;
    color: #33405a;
    font-weight: 600;
}

.btn.soft {
    background: var(--brand-soft);
    color: var(--brand-deep);
}

.btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.btn.small {
    height: 34px;
    padding: 0 12px;
    border-radius: 9px;
    font-size: 13px;
}

.action-bar {
    position: sticky;
    bottom: calc(70px + env(safe-area-inset-bottom));
    display: flex;
    gap: 10px;
    margin-top: 16px;
    padding: 10px 0;
}

/* ---------- forms ---------- */

.form-row {
    margin-bottom: 14px;
}

.form-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: #4a586e;
    font-weight: 600;
}

.form-label span {
    color: var(--red);
    margin-left: 2px;
}

.input,
.textarea,
.select {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
    outline: none;
}

.textarea {
    min-height: 96px;
    resize: vertical;
    line-height: 1.6;
}

.input:focus,
.textarea:focus,
.select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(31, 107, 255, 0.1);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.form-tip {
    margin: 8px 0 0;
    font-size: 12px;
    color: var(--muted);
}

/* ---------- resume ---------- */

.picks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pick {
    padding: 9px 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: #4a586e;
    font-size: 14px;
    line-height: 1.2;
}

.pick.active {
    border-color: transparent;
    background: var(--brand);
    color: #fff;
    font-weight: 600;
}

.resume-status {
    padding: 14px 16px;
}

.resume-tip {
    margin: 8px 0 0;
    font-size: 12.5px;
    color: #7a879b;
    line-height: 1.6;
}

.resume-note {
    margin: 8px 0 0;
    padding: 9px 12px;
    border-radius: 10px;
    background: #fff4f4;
    color: #c0392b;
    font-size: 12.5px;
    line-height: 1.6;
}

.talent-card {
    margin-top: 10px;
    padding: 14px 16px;
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow);
}

.talent-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.talent-name {
    font-size: 15.5px;
    font-weight: 700;
    color: #16233a;
}

.talent-pin {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    border-radius: 5px;
    background: #fff3e6;
    color: #ef8b22;
    font-size: 11px;
    font-weight: 600;
    vertical-align: 2px;
}

.talent-salary {
    font-size: 14px;
    font-weight: 700;
    color: var(--red);
}

.talent-line {
    margin: 8px 0 0;
    font-size: 13px;
    color: #4a586e;
    line-height: 1.6;
}

.talent-line b {
    margin-right: 6px;
    color: #16233a;
}

.talent-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 9px;
    border-top: 1px solid #f0f3f8;
    font-size: 12px;
    color: #9aa6b8;
}

/* ---------- membership ---------- */

.plan {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    margin-bottom: 10px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.plan.active {
    border-color: var(--brand);
    background: linear-gradient(180deg, #f7faff, #fff);
}

.plan-name {
    font-size: 16px;
    font-weight: 700;
}

.plan-desc {
    margin-top: 2px;
    font-size: 12px;
    color: var(--muted);
}

.plan-price {
    color: #ff5a2c;
    font-size: 22px;
    font-weight: 800;
    white-space: nowrap;
}

.plan-price small {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    margin-left: 2px;
}

.plan-badge {
    position: absolute;
    top: -9px;
    left: 14px;
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
}

.status-card {
    padding: 16px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #1f6bff, #1440b0);
    color: #fff;
    box-shadow: 0 10px 24px rgba(31, 107, 255, 0.24);
}

.status-card h3 {
    margin: 0 0 4px;
    font-size: 17px;
}

.status-card p {
    margin: 0;
    font-size: 13px;
    opacity: 0.86;
}

/* ---------- my ---------- */

.profile-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow);
}

.avatar {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--brand-soft);
    color: var(--brand-deep);
    font-weight: 700;
    font-size: 18px;
}

.avatar-edit {
    position: relative;
    padding: 0;
    border: 0;
    overflow: visible;
    cursor: pointer;
}

.avatar-edit img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 14px;
    object-fit: cover;
}

.avatar-cam {
    position: absolute;
    right: -3px;
    bottom: -3px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--brand);
    box-shadow: 0 1px 3px rgba(15, 40, 80, 0.14);
}

.avatar-cam svg {
    width: 10px;
    height: 10px;
    display: block;
}

.profile-name {
    font-size: 16px;
    font-weight: 700;
}

.profile-sub {
    font-size: 12px;
    color: var(--muted);
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.stat {
    padding: 14px 10px;
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow);
    text-align: center;
}

.stat-value {
    font-size: 19px;
    font-weight: 700;
}

.stat-label {
    margin-top: 2px;
    font-size: 12px;
    color: var(--muted);
}

.my-job {
    padding: 14px;
    margin-bottom: 10px;
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow);
}

.my-job-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.badge {
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.badge.green {
    background: #e7f7ee;
    color: var(--green);
}

.badge.grey {
    background: #f1f3f8;
    color: #6b7788;
}

.badge.orange {
    background: #fff3e6;
    color: #bf6413;}

.badge.red {
    background: #fdecec;
    color: #b32222;
}

.my-job-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.list-divider {
    height: 1px;
    margin: 14px 0 10px;
    background: var(--line);
}

/* ---------- tabbar ---------- */

.tabbar {
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 30;
    width: 100%;
    max-width: 720px;
    transform: translateX(-50%);
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
}

.tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 6px 0;
    border: 0;
    background: none;
    color: #93a0b4;
    font-size: 11px;
}

.tab.active {
    color: var(--brand);
    font-weight: 600;
}

.tab-icon {
    font-size: 17px;
    line-height: 1;
}

.tab-icon svg {
    width: 19px;
    height: 19px;
    display: block;
}

/* ---------- sheet / modal ---------- */

.sheet-mask {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: rgba(9, 18, 33, 0.5);
    animation: fade 0.18s ease;
}

.sheet-mask[hidden] {
    display: none;
}

.sheet-mask.center {
    align-items: center;
    padding: 20px;
}

.sheet {
    width: 100%;
    max-width: 720px;
    max-height: 88vh;
    overflow-y: auto;
    padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
    border-radius: 18px 18px 0 0;
    background: #fff;
    animation: slideUp 0.22s ease;
}

.sheet-mask.center .sheet {
    border-radius: 16px;
    max-width: 420px;
    padding-bottom: 18px;
}

.sheet-title {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 700;
}

.sheet-desc {
    margin: 0 0 16px;
    font-size: 13px;
    color: var(--muted);
}

.sheet-close {
    position: absolute;
    top: 12px;
    right: 14px;
}

.option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px;
    margin-bottom: 10px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
    text-align: left;
}

.option-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--brand-soft);
    font-size: 19px;
}

.option-title {
    font-size: 14.5px;
    font-weight: 650;
}

.option-desc {
    font-size: 12px;
    color: var(--muted);
    margin-top: 1px;
}

/* ---------- ad overlay ---------- */

.ad-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 300px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1b2a44, #0d1523);
    color: #dbe6f7;
    text-align: center;
    padding: 20px;
}

.ad-brand {
    font-size: 13px;
    letter-spacing: 3px;
    color: #7f96bb;
}

.ad-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.ad-note {
    font-size: 12px;
    color: #8fa3c4;
    line-height: 1.7;
}

.countdown {
    margin-top: 6px;
    font-size: 13px;
    color: #9fb4d6;
}

.countdown b {
    color: #fff;
    font-size: 15px;
}

/* ---------- login ---------- */

.seg {
    display: flex;
    gap: 6px;
    padding: 4px;
    margin-bottom: 16px;
    border-radius: 11px;
    background: #f2f4f9;
}

.seg button {
    flex: 1;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.seg button.active {
    background: #fff;
    color: var(--ink);
    box-shadow: 0 2px 8px rgba(20, 40, 80, 0.08);
}

.code-row {
    display: flex;
    gap: 8px;
}

.code-row .input {
    flex: 1;
}

.code-row .btn {
    height: 43px;
    flex-shrink: 0;
    padding: 0 14px;
    font-size: 13px;
}

/* ---------- states ---------- */

.empty {
    padding: 48px 20px;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}

.empty-icon {
    font-size: 30px;
    margin-bottom: 8px;
    opacity: 0.5;
}

.skeleton {
    height: 104px;
    margin-bottom: 10px;
    border-radius: var(--radius);
    background: linear-gradient(90deg, #eef2f9 25%, #f7f9fd 37%, #eef2f9 63%);
    background-size: 400% 100%;
    animation: shine 1.3s ease infinite;
}

.load-more {
    padding: 14px;
    text-align: center;
    font-size: 13px;
    color: var(--muted);
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 96px;
    z-index: 90;
    max-width: 78vw;
    padding: 10px 16px;
    border-radius: 10px;
    background: rgba(16, 26, 43, 0.92);
    color: #fff;
    font-size: 13px;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

@keyframes shine {
    0% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0 50%;
    }
}

@keyframes fade {
    from {
        opacity: 0;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(18px);
        opacity: 0.6;
    }
}

@media (min-width: 560px) {
    .view {
        padding: 16px 20px 24px;
    }

    .view.home-view {
        padding-top: 4px;
    }
}

/* 桌面端：把 App 收成居中的一列，四周留出画布底色，避免卡片被拉得过宽 */
@media (min-width: 780px) {
    body {
        background: #e9edf4;
    }

    .app {
        box-shadow: 0 0 0 1px rgba(16, 24, 40, 0.04), 0 16px 44px rgba(16, 24, 40, 0.1);
    }

    .tabbar {
        box-shadow: 0 -1px 0 var(--line), 0 -10px 30px rgba(16, 24, 40, 0.06);
    }
}

/* ---------- 企业招聘（B 端入口） ---------- */

.biz-hero {
    margin-top: 12px;
    padding: 20px 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, #1f6bff, #1440b0);
    color: #fff;
    box-shadow: 0 10px 24px rgba(31, 107, 255, 0.22);
}

.biz-hero h2 {
    margin: 0 0 6px;
    font-size: 18px;
}

.biz-hero p {
    margin: 0;
    font-size: 13px;
    line-height: 1.65;
    opacity: 0.88;
}

.biz-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.biz-hero-tags span {
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 11.5px;
}

.plan-perks {
    margin: 6px 0 0;
    padding-left: 16px;
    font-size: 12px;
    line-height: 1.7;
    color: var(--muted);
}

.biz-flow {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 10px;
}

.biz-flow div {
    padding: 10px 12px;
    border-radius: 10px;
    background: #f7f9fd;
    font-size: 12.5px;
    color: #41506a;
}

/* ---------- 我解锁的岗位 ---------- */

.unlock-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: none;
    text-align: left;
}

.unlock-row:last-of-type {
    border-bottom: 0;
}

.unlock-main {
    flex: 1;
    min-width: 0;
}

.unlock-title {
    font-size: 14.5px;
    font-weight: 650;
    color: var(--ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.unlock-meta {
    margin-top: 2px;
    font-size: 11.5px;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.unlock-salary {
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 700;
    color: #ff5a2c;
}

.plan-price .plan-free {
    font-size: 16px;
    font-weight: 700;
    color: var(--muted);
}

/* ---------- 求职会员 ---------- */
.member-card {
    margin-top: 14px;
    border: 1px solid #f2dfc4;
    background: linear-gradient(140deg, #fffaf1 0%, #fff 62%);
}

.member-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.member-crown {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #fff2d8;
    color: #b8791a;
    font-size: 17px;
}

.member-title {
    font-size: 15px;
    font-weight: 700;
    color: #1f2733;
}

.member-sub {
    margin-top: 2px;
    font-size: 12px;
    color: #8b7a5f;
}

.member-quota {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #f0e2cb;
    font-size: 13px;
    color: #8b7a5f;
}

.member-quota b {
    font-size: 15px;
    color: #b8791a;
}

.member-price {
    margin-top: 10px;
    font-size: 24px;
    font-weight: 700;
    color: #b8791a;
}

.member-price small {
    font-size: 12px;
    font-weight: 500;
    color: #8b7a5f;
}

.badge.gold {
    background: #fff3dc;
    color: #a9701a;
}

.pay-amount {
    margin: 6px 0 14px;
    font-size: 30px;
    font-weight: 700;
    color: #e0455f;
    letter-spacing: .5px;
}

.pay-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-top: 1px solid #eef1f6;
    border-bottom: 1px solid #eef1f6;
    font-size: 13px;
    color: #7a879b;
}

.pay-line b {
    color: #1f2733;
    font-size: 13px;
}

/* ---------- 首次登录选择身份 ---------- */

.identity-sheet {
    padding-top: 22px;
}

.identity-card {
    display: flex;
    align-items: center;
    gap: 13px;
    width: 100%;
    padding: 15px 14px;
    margin-bottom: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    text-align: left;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.identity-card:active {
    background: #f6f9ff;
    border-color: #cfe0ff;
}

.identity-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: var(--brand-soft);
    color: var(--brand);
}

.identity-card.is-enterprise .identity-icon {
    background: #fff0f3;
    color: #e0455f;
}

.identity-icon svg {
    width: 22px;
    height: 22px;
}

.identity-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.identity-body b {
    font-size: 15px;
    font-weight: 650;
    color: var(--ink);
}

.identity-body i {
    font-style: normal;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--muted);
}

.identity-arrow {
    flex: 0 0 auto;
    font-size: 19px;
    color: #c2cad8;
}

/* ---------- houses（租房模块） ---------- */

.req {
    margin-left: 2px;
    color: var(--red);
}

.house-tools {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.house-card {
    display: flex;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow);
    text-align: left;
}

.house-cover {
    position: relative;
    flex: 0 0 96px;
    width: 96px;
    height: 96px;
    align-self: center;
    border-radius: 12px;
    overflow: hidden;
    background: var(--brand-soft);
}

.house-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.house-cover-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 26px;
    opacity: 0.45;
}

.house-kind {
    position: absolute;
    left: 6px;
    bottom: 6px;
    padding: 2px 7px;
    border-radius: 6px;
    background: rgba(16, 26, 43, 0.62);
    color: #fff;
    font-size: 10.5px;
    line-height: 1.5;
    backdrop-filter: blur(2px);
}

.house-pin {
    position: absolute;
    left: 6px;
    top: 6px;
    padding: 2px 7px;
    border-radius: 6px;
    background: #ff4d3d;
    color: #fff;
    font-size: 10.5px;
    line-height: 1.5;
}

.house-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.house-title {
    font-size: 15px;
    font-weight: 650;
    letter-spacing: -0.2px;
    color: var(--ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.house-meta {
    margin-top: 4px;
    font-size: 12px;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.house-foot {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 6px;
}

.house-price {
    color: #ff5a2c;
    font-weight: 700;
    font-size: 16px;
    white-space: nowrap;
}

.house-price small {
    font-size: 11px;
    font-weight: 500;
    color: #9aa6b8;
}

.house-time {
    font-size: 11.5px;
    color: #9aa6b8;
    white-space: nowrap;
}

/* 详情页图集：横向滑动 + 图片计数点 */
.house-gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin: 0 -16px;
    border-radius: 0 0 var(--radius) var(--radius);
    background: #eef2f9;
}

.house-gallery::-webkit-scrollbar {
    display: none;
}

.house-slide {
    flex: 0 0 100%;
    scroll-snap-align: center;
    aspect-ratio: 4 / 3;
    background: #eef2f9;
    cursor: zoom-in;
}

.house-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.house-gallery.empty {
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    color: #9aa6b8;
    font-size: 13px;
}

.house-dots {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: -18px;
    position: relative;
    padding-bottom: 8px;
}

.house-dots i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.62);
    box-shadow: 0 0 0 1px rgba(16, 26, 43, 0.16), 0 1px 3px rgba(16, 26, 43, 0.3);
}

.house-dots i.on {
    background: #fff;
    width: 16px;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(16, 26, 43, 0.22), 0 1px 4px rgba(16, 26, 43, 0.35);
}

.house-head-card {
    margin-top: 8px;
}

.house-detail-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.3px;
    color: var(--ink);
}

.house-detail-price {
    margin-top: 8px;
    color: #ff5a2c;
    font-size: 22px;
    font-weight: 750;
    letter-spacing: -0.4px;
}

.house-detail-price small {
    font-size: 12px;
    font-weight: 500;
    color: #9aa6b8;
}

.house-detail-addr {
    margin-top: 10px;
    font-size: 13px;
    color: #5b6a80;
    line-height: 1.6;
}

.house-desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.85;
    color: #33405a;
    white-space: pre-wrap;
    word-break: break-word;
}

.house-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 10px;
}

.house-fact {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.house-fact span {
    font-size: 12px;
    color: var(--muted);
}

.house-fact b {
    font-size: 14px;
    font-weight: 650;
    color: var(--ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.house-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.house-contact-name {
    font-size: 15px;
    font-weight: 650;
    color: var(--ink);
}

.house-contact-phone {
    margin-top: 3px;
    font-size: 14px;
    color: var(--brand-deep);
    letter-spacing: 0.3px;
}

/* 房源形式选择：三列等宽，标题 + 说明两行 */
.house-kinds {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

/* 计费方式：月 / 季 / 年 三等分 */
.picks-inline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.picks-inline .pick {
    padding: 10px 0;
    text-align: center;
}

.house-kinds .pick {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 10px 6px;
    text-align: center;
}

.house-kinds .pick b {
    font-size: 14px;
    font-weight: 650;
}

.house-kinds .pick i {
    font-style: normal;
    font-size: 11px;
    opacity: 0.72;
}

/* 带单位后缀的输入框 */
.input-affix {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
}

.input-affix:focus-within {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(31, 107, 255, 0.1);
}

.input-affix .input {
    flex: 1;
    min-width: 0;
    padding: 11px 0;
    border: 0;
    box-shadow: none;
    background: transparent;
}

.input-affix .input:focus {
    box-shadow: none;
}

.input-affix span {
    flex: 0 0 auto;
    font-size: 12.5px;
    color: var(--muted);
}

/* 租金 + 面议 */
.price-line {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-line .input-affix {
    flex: 1;
    min-width: 0;
}

.input-affix.is-off {
    background: #f5f7fb;
}

.input-affix.is-off span {
    color: #b6bfcd;
}

.input-affix .input:disabled {
    color: #a9b3c3;
    -webkit-text-fill-color: #a9b3c3;
}

.nego-check {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 0;
    font-size: 13.5px;
    color: #4a586e;
    cursor: pointer;
    user-select: none;
}

.nego-check input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--brand);
}

/* 房源图片管理 */
.house-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    min-height: 10px;
}

.house-images.loading {
    opacity: 0.6;
    pointer-events: none;
}

.house-img {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    overflow: hidden;
    background: #eef2f9;
}

.house-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.house-img.is-cover {
    box-shadow: 0 0 0 2px var(--brand);
}

.house-img-tag {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 2px 7px;
    border-radius: 0 7px 0 0;
    background: rgba(31, 107, 255, 0.9);
    color: #fff;
    font-size: 10.5px;
    line-height: 1.6;
}

.house-img-del {
    position: absolute;
    right: 4px;
    top: 4px;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(16, 26, 43, 0.62);
    color: #fff;
    font-size: 13px;
    line-height: 20px;
    text-align: center;
}

.house-img-add {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    aspect-ratio: 1 / 1;
    padding: 0;
    border: 1px dashed #c9d4e5;
    border-radius: 10px;
    background: #f8fafd;
    color: var(--muted);
    font-size: 11.5px;
}

.house-img-add b {
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    color: #9aa6b8;
}

/* 我的房源 */
.my-house {
    padding: 14px;
}

.my-house-top {
    display: flex;
    gap: 12px;
}

.my-house-cover {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--brand-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    opacity: 0.9;
}

.my-house-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.my-house-main {
    flex: 1;
    min-width: 0;
}

.my-house-title {
    font-size: 15px;
    font-weight: 650;
    color: var(--ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.my-house-meta {
    margin-top: 4px;
    font-size: 12px;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.my-house-price {
    margin-top: 6px;
    color: #ff5a2c;
    font-weight: 700;
    font-size: 15px;
}

.my-house-price small {
    font-size: 11px;
    font-weight: 500;
    color: #9aa6b8;
}

.my-house-status {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.my-house-time {
    margin-left: auto;
    font-size: 11.5px;
    color: #9aa6b8;
}

.my-house-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--line);
}

.btn.danger {
    color: var(--red);
}

.sheet-close {
    position: absolute;
    right: 10px;
    top: 6px;
}

/* ---------- 我看过（浏览记录） ---------- */

.stat-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

.view-panel {
    padding: 16px;
}

.view-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 13px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: none;
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.view-row:last-child {
    padding-bottom: 2px;
    border-bottom: 0;
}

.view-row-main {
    min-width: 0;
}

.view-row-title {
    font-size: 15px;
    font-weight: 650;
    color: #16233a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.view-row-meta {
    margin-top: 4px;
    font-size: 12.5px;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.view-row-side {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.view-type {
    padding: 1px 7px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.6;
}

.view-type.job {
    background: #e8f0ff;
    color: #2c62d4;
}

.view-type.house {
    background: #fdefe2;
    color: #b5711e;
}

.view-row-time {
    font-size: 11.5px;
    color: #9aa6b8;
    white-space: nowrap;
}

/* ---------- 房源大图查看 ---------- */

body.viewer-open {
    overflow: hidden;
}

.img-viewer {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
    flex-direction: column;
    background: #070b12;
    opacity: 0;
    transition: opacity 0.18s ease;
}

.img-viewer.open {
    display: flex;
    opacity: 1;
}

.iv-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px 6px;
}

.iv-count {
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    letter-spacing: 0.3px;
}

.iv-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.iv-stage {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px 24px;
    overflow: hidden;
}

.iv-stage img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.iv-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.iv-nav.prev {
    left: 10px;
}

.iv-nav.next {
    right: 10px;
}
