:root {
    --brand: #b3262b;
    --brand-dark: #8f1f23;
    --brand-soft: #fff4f2;
    --ink: #202124;
    --muted: #74777f;
    --line: #edf0f3;
    --paper: #ffffff;
    --page: #f7f3ee;
    --green: #2f8c65;
    --blue: #2f63b7;
    --gold: #c69045;
    --danger-soft: #fff2f2;
    --shadow: 0 10px 30px rgba(32, 33, 36, .08);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
    background: #e8eaed;
    color: var(--ink);
    letter-spacing: 0;
}

button,
input,
textarea {
    font: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

.app-shell {
    position: relative;
    width: min(430px, 100vw);
    min-height: 100vh;
    margin: 0 auto;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 50% -80px, rgba(179, 38, 43, .14), transparent 280px),
        var(--page);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .04);
}

.loading-screen {
    display: grid;
    min-height: 100vh;
    place-content: center;
    gap: 12px;
    color: var(--muted);
    text-align: center;
}

.loading-mark {
    width: 34px;
    height: 34px;
    margin: 0 auto;
    border: 3px solid #ead0d0;
    border-top-color: var(--brand);
    border-radius: 50%;
    animation: spin .8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    min-height: 56px;
    padding: max(8px, env(safe-area-inset-top)) 12px 8px;
    border-bottom: 1px solid rgba(179, 38, 43, .08);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(12px);
}

.topbar-title {
    min-width: 0;
    overflow: hidden;
    font-size: 16px;
    font-weight: 800;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.icon-button {
    display: inline-grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 18px;
    border: 1px solid rgba(28, 31, 36, .06);
    background: rgba(255, 255, 255, .76);
    color: #30343a;
    box-shadow: 0 6px 18px rgba(24, 27, 32, .06);
}

.icon-button:active {
    background: #f0f1f3;
    transform: translateY(1px);
}

.ui-icon {
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.ui-icon .icon-fill {
    fill: currentColor;
    stroke: none;
}

.page {
    min-height: calc(100vh - 56px);
    padding: 14px 14px 92px;
}

.page.flush {
    padding-inline: 0;
}

.search-bar {
    display: grid;
    grid-template-columns: 22px 1fr 32px;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(179, 38, 43, .82);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(179, 38, 43, .06);
    color: var(--muted);
}

.search-bar .search-submit {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    box-shadow: 0 8px 18px rgba(179, 38, 43, .22);
}

.search-leading {
    color: #818894;
}

.search-bar.compact {
    min-height: 38px;
    border-color: transparent;
    background: #f1f2f4;
}

.search-bar input {
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
}

.search-bar input::placeholder {
    color: #9da1a8;
}

.hero-banner {
    position: relative;
    min-height: 132px;
    margin-top: 14px;
    overflow: hidden;
    border-radius: 10px;
    background: #ead8bf;
}

.hero-banner img {
    display: block;
    width: 100%;
    height: 132px;
    object-fit: cover;
}

.banner-copy {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px;
    color: #7b2f16;
    pointer-events: none;
}

.banner-copy strong {
    max-width: 78%;
    font-size: 25px;
    line-height: 1.12;
}

.banner-copy span {
    width: fit-content;
    margin-top: 9px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(47, 140, 101, .9);
    color: #fff;
    font-size: 12px;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 16px;
}

.quick-card {
    position: relative;
    min-height: 100px;
    overflow: hidden;
    border-radius: 10px;
    padding: 12px;
    color: #fff;
    text-align: left;
    box-shadow: 0 10px 22px rgba(112, 56, 37, .12);
}

.quick-card strong {
    display: block;
    font-size: 20px;
    line-height: 1.1;
}

.quick-card span {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.35;
}

.quick-card::after {
    position: absolute;
    right: -10px;
    bottom: -12px;
    width: 68px;
    height: 68px;
    border: 1px solid rgba(255, 255, 255, .36);
    border-radius: 50%;
    color: rgba(255, 255, 255, .9);
    content: attr(data-mark);
    display: grid;
    font-size: 30px;
    place-items: center;
}

.quick-card.red {
    background: linear-gradient(135deg, #d33b45, #b3262b);
}

.quick-card.blue {
    background: linear-gradient(135deg, #377bd1, #2452a5);
}

.quick-card.gold {
    background: linear-gradient(135deg, #dfb271, #b97938);
}

.tool-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 8px;
    margin-top: 16px;
    padding: 18px 8px 14px;
    border: 1px solid rgba(179, 38, 43, .06);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(40, 31, 26, .05);
}

.tool-button {
    display: grid;
    min-height: 88px;
    place-items: center;
    gap: 8px;
    background: transparent;
    color: #3e4045;
}

.tool-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(179, 38, 43, .48);
    border-radius: 50%;
    color: var(--brand);
    font-weight: 700;
    background: #fff8f6;
}

.bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    width: min(430px, 100vw);
    margin: 0 auto;
    padding: 8px 22px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(12px);
    box-shadow: 0 -12px 32px rgba(31, 34, 40, .08);
}

.bottom-nav-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.nav-item {
    display: grid;
    min-height: 48px;
    place-items: center;
    gap: 4px;
    background: transparent;
    color: #777b83;
    font-size: 12px;
}

.nav-icon {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.nav-item.active {
    color: var(--brand);
    font-weight: 700;
}

.nav-item.active .nav-icon {
    background: var(--brand);
    color: #fff;
    transform: translateY(-1px);
}

.list {
    display: grid;
    margin-top: 12px;
    background: #fff;
}

.hospital-item,
.doctor-item,
.order-item {
    display: grid;
    grid-template-columns: 76px 1fr 24px;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border-bottom: 1px solid #f0ebe6;
    background: #fff;
    text-align: left;
}

.hospital-item img,
.doctor-avatar,
.avatar {
    width: 76px;
    height: 76px;
    border-radius: 6px;
    background: #e4e7eb;
    object-fit: cover;
}

.hospital-info,
.doctor-info {
    min-width: 0;
}

.item-title {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    font-size: 15px;
    font-weight: 700;
}

.item-title span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.item-meta {
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
}

.chevron {
    color: #a7abb2;
    font-size: 22px;
}

.website-hero {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 14px;
    align-items: center;
    padding: 18px 16px;
    border-radius: 8px;
    background: linear-gradient(135deg, #fff8f0 0%, #fff 58%, #f6fbf8 100%);
    box-shadow: 0 12px 28px rgba(66, 44, 28, .08);
}

.website-hero img {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: #fff;
    object-fit: cover;
    box-shadow: 0 8px 22px rgba(179, 38, 43, .14);
}

.website-hero strong {
    display: block;
    color: var(--text);
    font-size: 22px;
    line-height: 1.2;
}

.website-hero span {
    display: block;
    margin-top: 8px;
    color: #6f5660;
    font-size: 14px;
    line-height: 1.55;
}

.website-info {
    display: grid;
    gap: 1px;
    margin-top: 12px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--line);
}

.website-info div {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 12px;
    align-items: start;
    padding: 13px 14px;
    background: #fff;
}

.website-info span {
    color: var(--muted);
    font-size: 13px;
}

.website-info strong {
    color: #2f333a;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}

.website-detail {
    margin-top: 12px;
    padding: 16px;
    border-radius: 8px;
    background: #fff;
    color: #26282d;
    font-size: 15px;
    line-height: 1.78;
    box-shadow: 0 10px 24px rgba(66, 44, 28, .06);
}

.website-detail h2,
.website-detail h3,
.website-detail h4 {
    margin: 4px 0 12px;
    color: #1f2228;
    line-height: 1.35;
}

.website-detail p {
    margin: 0 0 12px;
}

.website-detail img,
.website-detail video,
.website-detail iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 12px 0;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    background: #f1eee9;
}

.website-detail video,
.website-detail iframe {
    aspect-ratio: 16 / 9;
}

.website-hospitals {
    display: grid;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
}

.website-hospital {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border-bottom: 1px solid #f0ebe6;
    background: #fff;
    text-align: left;
}

.website-hospital:last-child {
    border-bottom: 0;
}

.website-hospital img {
    width: 84px;
    height: 72px;
    border-radius: 6px;
    object-fit: cover;
}

.website-hospital span {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.website-hospital strong {
    font-size: 16px;
}

.website-hospital small,
.website-hospital em {
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.department-layout {
    display: grid;
    grid-template-columns: 112px 1fr;
    min-height: calc(100vh - 110px);
    margin-top: 10px;
    background: #fff;
}

.category-list {
    border-right: 1px solid var(--line);
    background: #f2f3f5;
}

.category-button {
    width: 100%;
    min-height: 48px;
    padding: 0 10px;
    border-left: 3px solid transparent;
    background: transparent;
    color: #3b3d42;
    text-align: center;
}

.category-button.active {
    border-left-color: var(--brand);
    background: #fff;
    color: var(--brand);
    font-weight: 700;
}

.department-list {
    display: grid;
    align-content: start;
}

.department-button {
    display: grid;
    grid-template-columns: 1fr 24px;
    align-items: center;
    min-height: 48px;
    padding: 0 14px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    color: #26282d;
    text-align: left;
}

.department-button strong,
.department-button small {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.department-button strong {
    font-size: 14px;
}

.department-button small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

.date-tabs {
    display: flex;
    gap: 8px;
    margin: 10px -14px 0;
    padding: 0 14px 10px;
    overflow-x: auto;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.date-tab {
    flex: 0 0 72px;
    min-height: 48px;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: #666a72;
}

.date-tab.active {
    border-bottom-color: var(--brand);
    color: var(--brand);
    font-weight: 700;
}

.doctor-list {
    display: grid;
    background: #fff;
}

.doctor-item {
    grid-template-columns: 62px 1fr auto;
}

.doctor-avatar {
    width: 62px;
    height: 62px;
    border-radius: 50%;
}

.doctor-title-line {
    display: flex;
    align-items: center;
    gap: 8px;
}

.doctor-name {
    font-size: 16px;
    font-weight: 700;
}

.doctor-title {
    color: #686c74;
    font-size: 13px;
}

.doctor-desc {
    margin-top: 6px;
    color: #797d85;
    font-size: 13px;
    line-height: 1.35;
}

.doctor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 7px;
}

.tag {
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    min-height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: #f4ede7;
    color: #8f4f24;
    font-size: 12px;
}

.reserve-button {
    min-width: 58px;
    height: 34px;
    border: 1px solid var(--brand);
    border-radius: 17px;
    background: #fff;
    color: var(--brand);
    font-weight: 700;
}

.reserve-button[disabled] {
    border-color: #c9ccd2;
    color: #a7abb2;
}

.profile-card {
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 12px;
    align-items: center;
    margin: -2px -14px 0;
    padding: 16px 14px;
    background: #fff;
}

.profile-card .avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
}

.chip-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.chip {
    display: grid;
    min-height: 44px;
    place-items: center;
    border: 0;
    border-radius: 6px;
    background: #eef0f2;
    color: #303238;
    cursor: pointer;
    font-size: 13px;
    text-align: center;
}

.chip.active {
    background: var(--brand);
    color: #fff;
}

.schedule-table {
    margin-top: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.schedule-row {
    display: grid;
    grid-template-columns: 86px 1fr;
    border-bottom: 1px solid var(--line);
}

.schedule-row:last-child {
    border-bottom: 0;
}

.schedule-date {
    display: grid;
    place-items: center;
    padding: 12px 8px;
    border-right: 1px solid var(--line);
    color: #4b4f57;
    text-align: center;
}

.session-list {
    display: grid;
}

.session-button {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    min-height: 45px;
    padding: 0 12px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    color: #3a3d43;
}

.session-button:last-child {
    border-bottom: 0;
}

.session-button.available strong {
    color: var(--brand);
}

.session-button.full {
    color: #a2a6ad;
}

.section-title {
    margin: 16px 0 8px;
    font-size: 15px;
    font-weight: 800;
}

.empty {
    display: grid;
    min-height: 180px;
    place-content: center;
    gap: 8px;
    color: #8a8e96;
    text-align: center;
}

.drawer-mask {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: none;
    background: rgba(0, 0, 0, .48);
}

.drawer-mask.show {
    display: block;
}

.drawer {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width: min(430px, 100vw);
    max-height: 84vh;
    margin: 0 auto;
    overflow: auto;
    border-radius: 8px 8px 0 0;
    background: #fff;
}

.drawer-header {
    display: grid;
    grid-template-columns: 36px 1fr 36px;
    align-items: center;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
}

.drawer-title {
    font-weight: 800;
    text-align: center;
}

.slot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 14px;
}

.slot-button {
    min-height: 40px;
    border: 1px solid #dedfe3;
    border-radius: 6px;
    background: #fff;
    color: #33363d;
}

.slot-button.active {
    border-color: var(--brand);
    background: var(--danger-soft);
    color: var(--brand);
    font-weight: 700;
}

.form-panel {
    display: grid;
    gap: 10px;
    padding: 0 14px 16px;
}

.field {
    display: grid;
    gap: 6px;
}

.field label {
    color: #5f636b;
    font-size: 13px;
}

.field input {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid #dfe2e7;
    border-radius: 6px;
    outline: 0;
}

.field input:focus {
    border-color: var(--brand);
}

.submit-button {
    width: 100%;
    min-height: 46px;
    margin-top: 4px;
    border-radius: 6px;
    background: var(--brand);
    color: #fff;
    font-weight: 800;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--line);
    color: #555961;
}

.summary-line strong {
    color: var(--ink);
}

.toast {
    position: fixed;
    right: 22px;
    bottom: 88px;
    left: 22px;
    z-index: 70;
    width: min(386px, calc(100vw - 44px));
    margin: 0 auto;
    padding: 12px 14px;
    border-radius: 8px;
    background: rgba(32, 33, 36, .92);
    color: #fff;
    text-align: center;
}

.system-note {
    margin-top: 12px;
    padding: 10px 12px;
    border: 1px solid #f0dcc7;
    border-radius: 8px;
    background: #fffaf5;
    color: #8a5d28;
    font-size: 13px;
    line-height: 1.45;
}

.content-section {
    margin-top: 18px;
}

.content-section.compact {
    padding-top: 4px;
}

.content-tabs {
    position: sticky;
    top: 56px;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: 0 -14px 14px;
    padding: 0 14px;
    border-bottom: 1px solid #f0ebe6;
    background: rgba(255, 255, 255, .96);
}

.content-tab {
    position: relative;
    min-height: 44px;
    background: transparent;
    color: #24272d;
    font-weight: 700;
}

.content-tab.active {
    color: var(--brand);
}

.content-tab.active::after {
    position: absolute;
    right: 28%;
    bottom: 0;
    left: 28%;
    height: 2px;
    border-radius: 2px;
    background: var(--brand);
    content: "";
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
}

.video-card {
    display: grid;
    overflow: hidden;
    border-radius: 12px;
    background: #101114;
    box-shadow: 0 12px 26px rgba(31, 20, 18, .14);
    color: #fff;
    text-align: left;
}

.video-cover {
    position: relative;
    display: block;
    aspect-ratio: 9 / 12.6;
    overflow: hidden;
    background: #1f2128;
}

.video-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-cover::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .72));
    content: "";
}

.video-hot {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    min-height: 20px;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .42);
    color: #fff;
    font-size: 12px;
}

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(255, 255, 255, .24);
    backdrop-filter: blur(6px);
}

.video-play .ui-icon {
    width: 22px;
    height: 22px;
}

.video-duration {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 1;
    color: #fff;
    font-size: 12px;
}

.video-caption {
    display: grid;
    gap: 5px;
    min-height: 74px;
    padding: 9px 10px 11px;
}

.video-caption strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.video-caption span {
    overflow: hidden;
    color: rgba(255, 255, 255, .82);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-list {
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(179, 38, 43, .06);
    border-radius: 12px;
    background: #fff;
}

.news-item {
    display: grid;
    grid-template-columns: 1fr 104px;
    gap: 12px;
    align-items: center;
    min-height: 112px;
    padding: 14px;
    border-bottom: 1px solid #f0ebe6;
    background: #fff;
    text-align: left;
}

.news-item:last-child {
    border-bottom: 0;
}

.news-copy {
    display: grid;
    min-width: 0;
    gap: 7px;
}

.news-copy strong {
    display: -webkit-box;
    overflow: hidden;
    color: #15171b;
    font-size: 15px;
    line-height: 1.36;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.news-copy span,
.news-copy small {
    color: #7f838b;
    font-size: 12px;
}

.news-thumb {
    width: 104px;
    height: 78px;
    border-radius: 8px;
    background: #e5e7eb;
    object-fit: cover;
}

.content-page {
    padding-top: 0;
}

.video-detail {
    min-height: calc(100vh - 56px);
    padding-bottom: 86px;
    background: #101114;
    color: #fff;
}

.video-stage {
    position: relative;
    min-height: 62vh;
    overflow: hidden;
    background: #222;
}

.video-stage img {
    width: 100%;
    height: 62vh;
    object-fit: cover;
}

.video-player {
    display: block;
    width: 100%;
    height: 62vh;
    background: #000;
    object-fit: cover;
}

.video-stage-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .32));
}

.video-stage-placeholder .ui-icon {
    display: grid;
    width: 64px;
    height: 64px;
    padding: 18px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .26);
    color: #fff;
    backdrop-filter: blur(6px);
}

.video-side-actions {
    position: absolute;
    right: 14px;
    bottom: 78px;
    display: grid;
    gap: 14px;
    justify-items: center;
    pointer-events: none;
}

.video-side-actions button {
    display: grid;
    min-width: 44px;
    min-height: 44px;
    place-items: center;
    gap: 4px;
    border-radius: 22px;
    color: #fff;
    font-weight: 700;
    padding: 0 10px;
    background: var(--brand);
    font-size: 12px;
    pointer-events: auto;
    text-shadow: none;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .24);
}

.video-side-actions button span {
    min-width: 0;
}

.video-info-panel {
    display: grid;
    gap: 9px;
    padding: 16px;
}

.video-info-panel h1 {
    margin: 0;
    font-size: 20px;
    line-height: 1.28;
}

.video-info-panel p {
    margin: 0;
    color: rgba(255, 255, 255, .82);
    line-height: 1.6;
}

.video-info-panel small {
    color: rgba(255, 255, 255, .62);
}

.article-detail {
    background: #fffdf7;
}

.clinic-strip {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(179, 38, 43, .08);
    border-radius: 12px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 10px 24px rgba(100, 70, 52, .06);
}

.clinic-strip img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.clinic-strip span {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.clinic-strip strong {
    font-size: 15px;
}

.clinic-strip small {
    color: var(--muted);
    font-size: 12px;
}

.clinic-strip button {
    min-height: 32px;
    padding: 0 12px;
    border-radius: 16px;
    background: var(--brand);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.article-detail h1 {
    margin: 8px 0 10px;
    font-size: 24px;
    line-height: 1.32;
}

.article-meta {
    color: #8a8e96;
    font-size: 13px;
}

.article-hero {
    display: block;
    width: 100%;
    max-height: 280px;
    margin: 18px 0;
    border-radius: 8px;
    object-fit: cover;
}

.article-lead {
    margin: 0 0 16px;
    color: #565a62;
    font-size: 16px;
    line-height: 1.7;
}

.article-body {
    color: #26282d;
    font-size: 16px;
    line-height: 1.82;
}

.article-body img {
    max-width: 100%;
    border-radius: 8px;
}

.article-body video,
.article-body iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    margin: 12px 0;
    border: 0;
    border-radius: 8px;
    background: #f1eee9;
}

@media (max-width: 360px) {
    .quick-card strong {
        font-size: 17px;
    }

    .tool-grid {
        gap: 6px;
        padding-inline: 4px;
    }

    .department-layout {
        grid-template-columns: 96px 1fr;
    }

    .slot-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-tab {
        font-size: 13px;
    }

    .video-grid {
        gap: 10px 8px;
    }

    .news-item {
        grid-template-columns: 1fr 92px;
    }

    .news-thumb {
        width: 92px;
        height: 72px;
    }
}
