You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

2137 lines
57 KiB

/* Youthome Web refresh: shared application shell and responsive baseline. */
:root {
--web-primary: #17B0CF;
--web-primary-strong: #1298B3;
--web-primary-soft: #E8F8FB;
--web-ink: #1F2328;
--web-muted: #8A9099;
--web-line: #EEF0F1;
--web-canvas: #F7F8FA;
--web-surface: #ffffff;
--web-alert: #ee5b5b;
--web-sidebar-width: 224px;
--web-topbar-height: 64px;
--web-radius: 8px;
--web-shadow: 0 8px 24px rgba(15, 23, 32, 0.07);
}
html {
min-width: 0 !important;
background: var(--web-canvas);
}
html body {
min-width: 0 !important;
min-height: 100vh;
background: var(--web-canvas) !important;
color: var(--web-ink);
font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif !important;
letter-spacing: 0;
}
button,
input,
textarea,
select {
letter-spacing: 0;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
outline: 3px solid rgba(18, 152, 179, 0.22) !important;
outline-offset: 2px;
}
body.web-shell-ready [hidden] {
display: none !important;
}
body.web-shell-ready :is(.category-tab, .feed-tab, .search-tab, .filter-chip, .sort-option, .tab-item, .profile-tab, .follow-tab, .apply-tab, .feedback-type) {
cursor: pointer;
}
body.web-shell-ready :is(.video-card, .feed-card, .post-mini-card, .result-card, .user-mini-card, .user-card, .content-card)[role="link"] {
cursor: pointer;
}
body.web-shell-ready :is(.video-card, .feed-card, .post-mini-card, .result-card, .user-mini-card, .user-card, .content-card)[role="link"]:focus-visible {
outline: 3px solid rgba(18, 152, 179, 0.22);
outline-offset: 3px;
}
.video-likes.is-liked {
color: #e5485d !important;
}
.video-likes.is-liked svg {
fill: currentColor;
}
.join-btn.secondary.is-active,
.host-follow-btn.is-followed {
border-color: var(--web-primary) !important;
background: var(--web-primary-soft) !important;
color: var(--web-primary) !important;
}
body.web-shell-ready .app {
width: 100% !important;
max-width: none !important;
height: 100vh !important;
min-height: 100vh !important;
margin: 0 !important;
overflow: hidden !important;
background: var(--web-canvas) !important;
}
body.web-shell-ready .sidebar {
position: relative !important;
inset: auto !important;
width: var(--web-sidebar-width) !important;
min-width: var(--web-sidebar-width) !important;
height: 100vh !important;
padding: 0 !important;
overflow: hidden !important;
background: var(--web-surface) !important;
border: 0 !important;
border-right: 1px solid var(--web-line) !important;
box-shadow: none !important;
z-index: 80 !important;
}
.web-sidebar {
display: flex;
flex-direction: column;
height: 100%;
}
.web-brand {
display: flex;
align-items: center;
gap: 10px;
min-height: 72px;
padding: 0 18px;
border-bottom: 1px solid #F2F3F5;
cursor: pointer;
}
.web-brand-mark {
display: grid;
place-items: center;
width: 34px;
height: 34px;
flex: 0 0 34px;
border-radius: 8px;
background: var(--web-primary);
color: #fff;
font-size: 15px;
font-weight: 750;
box-shadow: 0 5px 14px rgba(18, 152, 179, 0.2);
}
.web-brand-copy {
min-width: 0;
}
.web-brand-name {
color: var(--web-ink);
font-size: 15px;
font-weight: 720;
line-height: 1.2;
white-space: nowrap;
}
.web-brand-subtitle {
margin-top: 3px;
color: #8A9099;
font-size: 10px;
line-height: 1.2;
}
.web-publish-wrap {
position: relative;
padding: 14px 14px 8px;
}
.web-publish-button {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
width: 100%;
height: 40px;
padding: 0 13px;
border: 0;
border-radius: 7px;
background: var(--web-primary);
color: #fff;
font-size: 13px;
font-weight: 650;
box-shadow: 0 5px 14px rgba(18, 152, 179, 0.18);
transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.web-publish-button:hover {
background: var(--web-primary-strong);
box-shadow: 0 7px 18px rgba(18, 152, 179, 0.22);
transform: translateY(-1px);
}
.web-publish-button svg,
.web-topbar svg,
.web-nav-link svg,
.web-user-arrow {
width: 18px;
height: 18px;
stroke: currentColor;
stroke-width: 1.9;
fill: none;
stroke-linecap: round;
stroke-linejoin: round;
}
.web-publish-chevron {
width: 15px !important;
height: 15px !important;
margin-left: auto;
transition: transform 160ms ease;
}
.web-publish-wrap.is-open .web-publish-chevron {
transform: rotate(180deg);
}
.web-publish-menu {
position: absolute;
top: 60px;
left: 14px;
right: 14px;
display: none;
overflow: hidden;
padding: 5px;
border: 1px solid var(--web-line);
border-radius: var(--web-radius);
background: #fff;
box-shadow: var(--web-shadow);
z-index: 120;
}
.web-publish-wrap.is-open .web-publish-menu {
display: block;
animation: web-menu-in 150ms ease-out;
}
.web-publish-option {
display: flex;
align-items: center;
width: 100%;
min-height: 36px;
padding: 0 10px;
border: 0;
border-radius: 5px;
background: transparent;
color: var(--web-ink);
font-size: 12px;
text-align: left;
}
.web-publish-option:hover {
background: var(--web-primary-soft);
color: var(--web-primary-strong);
}
.web-nav {
flex: 1;
min-height: 0;
overflow-y: auto;
padding: 8px 10px 14px;
}
.web-nav::-webkit-scrollbar {
width: 4px;
}
.web-nav::-webkit-scrollbar-thumb {
border-radius: 4px;
background: #E1E4E8;
}
.web-nav-label {
padding: 15px 10px 6px;
color: #A5ADB5;
font-size: 10px;
font-weight: 700;
}
.web-nav-link {
position: relative;
display: flex;
align-items: center;
gap: 11px;
width: 100%;
height: 40px;
padding: 0 10px;
border: 0;
border-radius: 6px;
background: transparent;
color: #5A6268;
font-size: 13px;
font-weight: 520;
text-align: left;
transition: background 140ms ease, color 140ms ease;
}
.web-nav-link:hover {
background: #F4F6F8;
color: var(--web-ink);
}
.web-nav-link.is-active {
background: var(--web-primary-soft);
color: var(--web-primary-strong);
font-weight: 680;
}
.web-nav-link.is-active::before {
content: "";
position: absolute;
left: 0;
width: 3px;
height: 18px;
border-radius: 0 3px 3px 0;
background: var(--web-primary);
}
.web-nav-badge {
display: grid;
place-items: center;
min-width: 18px;
height: 18px;
margin-left: auto;
padding: 0 5px;
border-radius: 9px;
background: var(--web-alert);
color: #fff;
font-family: "DIN Alternate", "Segoe UI", sans-serif;
font-size: 10px;
font-weight: 700;
}
.web-sidebar-footer {
padding: 10px 12px 14px;
border-top: 1px solid #F2F3F5;
}
.web-user-button {
display: flex;
align-items: center;
gap: 10px;
width: 100%;
min-height: 48px;
padding: 7px;
border: 0;
border-radius: 7px;
background: transparent;
text-align: left;
}
.web-user-button:hover {
background: #F4F6F8;
}
.web-user-avatar,
.web-topbar-avatar {
display: grid;
place-items: center;
overflow: hidden;
flex: 0 0 auto;
border-radius: 50%;
background: #E8F8FB;
color: var(--web-primary-strong);
font-weight: 700;
}
.web-user-avatar {
width: 34px;
height: 34px;
}
.web-user-avatar img,
.web-topbar-avatar img {
width: 100%;
height: 100%;
object-fit: cover;
}
.web-user-copy {
min-width: 0;
flex: 1;
}
.web-user-name {
overflow: hidden;
color: var(--web-ink);
font-size: 12px;
font-weight: 680;
line-height: 1.35;
text-overflow: ellipsis;
white-space: nowrap;
}
.web-user-school {
overflow: hidden;
margin-top: 2px;
color: #8A9099;
font-size: 10px;
text-overflow: ellipsis;
white-space: nowrap;
}
.web-user-arrow {
width: 15px;
color: #A5ADB5;
}
body.web-shell-ready .web-shell-main {
position: relative !important;
flex: 1 1 auto !important;
width: auto !important;
min-width: 0 !important;
max-width: none !important;
height: 100vh !important;
min-height: 0 !important;
padding-top: var(--web-topbar-height) !important;
overflow: auto !important;
box-sizing: border-box !important;
}
body.web-shell-ready .web-shell-main > .top-bar {
display: none !important;
}
.web-topbar {
position: fixed;
top: 0;
right: 0;
left: var(--web-sidebar-width);
z-index: 70;
display: grid;
grid-template-columns: minmax(160px, 1fr) minmax(280px, 520px) minmax(220px, 1fr);
align-items: center;
height: var(--web-topbar-height);
padding: 0 24px;
border-bottom: 1px solid var(--web-line);
background: rgba(255, 255, 255, 0.96);
backdrop-filter: blur(12px);
}
.web-topbar-leading,
.web-topbar-actions {
display: flex;
align-items: center;
}
.web-topbar-leading {
gap: 10px;
min-width: 0;
}
.web-page-title {
overflow: hidden;
color: var(--web-ink);
font-size: 14px;
font-weight: 680;
text-overflow: ellipsis;
white-space: nowrap;
}
.web-menu-button,
.web-icon-button,
.web-topbar-avatar {
width: 36px;
height: 36px;
border: 0;
}
.web-menu-button {
display: none;
place-items: center;
border-radius: 6px;
background: transparent;
color: var(--web-muted);
}
.web-global-search {
position: relative;
width: 100%;
}
.web-global-search svg {
position: absolute;
top: 50%;
left: 13px;
width: 16px;
height: 16px;
color: #8A9099;
transform: translateY(-50%);
pointer-events: none;
}
.web-global-search input {
width: 100%;
height: 36px;
padding: 0 14px 0 39px;
border: 1px solid #E8EBEF;
border-radius: 7px;
background: #F7F8FA;
color: var(--web-ink);
font-size: 12px;
transition: border 150ms ease, background 150ms ease, box-shadow 150ms ease;
}
.web-global-search input:focus {
border-color: rgba(18, 152, 179, 0.65);
background: #fff;
box-shadow: 0 0 0 3px rgba(18, 152, 179, 0.1);
}
.web-topbar-actions {
justify-content: flex-end;
gap: 8px;
}
.web-icon-button {
position: relative;
display: grid;
place-items: center;
border: 1px solid var(--web-line);
border-radius: 7px;
background: #fff;
color: var(--web-muted);
}
.web-icon-button:hover,
.web-menu-button:hover {
background: #F4F6F8;
color: var(--web-primary-strong);
}
.web-notification-dot {
position: absolute;
top: 6px;
right: 6px;
width: 7px;
height: 7px;
border: 2px solid #fff;
border-radius: 50%;
background: var(--web-alert);
}
.web-topbar-publish {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
height: 36px;
padding: 0 15px;
border: 0;
border-radius: 7px;
background: var(--web-primary);
color: #fff;
font-size: 12px;
font-weight: 680;
}
.web-topbar-publish:hover {
background: var(--web-primary-strong);
}
.web-topbar-avatar {
margin-left: 2px;
padding: 0;
cursor: pointer;
}
.web-drawer-backdrop {
position: fixed;
inset: 0;
z-index: 75;
display: none;
border: 0;
background: rgba(16, 29, 27, 0.38);
}
.web-toast {
position: fixed;
top: 76px;
right: 22px;
z-index: 240;
display: flex;
align-items: center;
gap: 9px;
max-width: min(360px, calc(100vw - 28px));
min-height: 42px;
padding: 10px 14px;
border: 1px solid var(--web-line);
border-left: 3px solid var(--web-primary);
border-radius: 7px;
background: #fff;
color: var(--web-ink);
box-shadow: var(--web-shadow);
font-size: 13px;
line-height: 1.45;
animation: web-menu-in 150ms ease-out;
}
.web-toast.is-error {
border-left-color: var(--web-alert);
}
.web-empty-state {
display: grid;
place-items: center;
min-height: 260px;
padding: 32px 20px;
border: 1px dashed #E1E4E8;
border-radius: var(--web-radius);
background: #fff;
color: var(--web-muted);
text-align: center;
}
.web-empty-state strong {
display: block;
margin-bottom: 6px;
color: var(--web-ink);
font-size: 15px;
}
.activity-filter-mobile,
.activity-filter-apply {
display: none;
}
.activity-filter-mobile {
align-items: center;
gap: 7px;
height: 34px;
padding: 0 12px;
border: 1px solid var(--web-line);
border-radius: 6px;
background: #fff;
color: var(--web-ink);
font-size: 12px;
}
.activity-filter-mobile svg {
width: 15px;
height: 15px;
}
.activity-filter-count {
min-width: 18px;
height: 18px;
padding: 0 5px;
border-radius: 9px;
background: var(--web-primary-soft);
color: var(--web-primary-strong);
font-size: 10px;
line-height: 18px;
}
body.web-shell-ready :is(.filter-option, .category-item, .settings-nav-item, .message-item, .setting-item:has(.setting-arrow), .switch) {
cursor: pointer;
}
.message-item[hidden],
.activity-list-card[hidden] {
display: none !important;
}
.message-item:focus-visible,
.activity-list-card:focus-visible,
.settings-nav-item:focus-visible,
.filter-option:focus-visible,
.category-item:focus-visible {
outline: 3px solid rgba(18, 152, 179, 0.22);
outline-offset: -3px;
}
.settings-nav-item {
scroll-margin-top: 84px;
}
.settings-section {
scroll-margin-top: 84px;
}
.switch[role="switch"] {
flex: 0 0 auto;
}
body.web-shell-ready :is(.card, .widget, .post-detail-card, .related-section, .profile-header-card) {
border-radius: var(--web-radius) !important;
box-shadow: 0 2px 10px rgba(15, 23, 32, 0.045) !important;
}
body.web-shell-ready :is(.content-area, .main-content, .main-area) {
background: var(--web-canvas);
}
/* Auth pages keep their own composition but use a real responsive viewport. */
body:not(.web-shell-ready) .auth-page,
body:not(.web-shell-ready) .success-page {
width: 100% !important;
max-width: none !important;
min-height: 100vh !important;
}
@keyframes web-menu-in {
from { opacity: 0; transform: translateY(-4px); }
to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 1180px) {
:root {
--web-sidebar-width: 208px;
}
.web-topbar {
grid-template-columns: minmax(120px, 0.7fr) minmax(260px, 480px) minmax(190px, 0.7fr);
padding: 0 18px;
}
body.web-shell-ready :is(.feed-right, .right-sidebar, .topic-sidebar, .info-panel) {
display: none !important;
}
body.web-shell-ready :is(.content-grid, .favorites-grid, .result-grid, .user-grid, .video-grid, .video-grid-3, .feed-grid, .mall-grid) {
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
body.web-shell-ready :is(.publish-layout, .detail-layout, .edit-layout, .search-layout, .follow-layout, .settings-layout) {
width: 100% !important;
max-width: 100% !important;
}
}
@media (max-width: 900px) {
:root {
--web-sidebar-width: 224px;
}
body:not(.web-shell-ready) .sidebar {
position: fixed !important;
left: 0 !important;
transform: translateX(-102%) !important;
}
body.web-shell-ready .sidebar {
position: fixed !important;
top: 0 !important;
bottom: 0 !important;
left: 0 !important;
transform: translateX(-102%);
transition: transform 200ms ease;
}
body.web-drawer-open .sidebar {
transform: translateX(0);
}
body.web-drawer-open .web-drawer-backdrop {
display: block;
}
body.web-filter-open .web-drawer-backdrop {
display: block;
}
.web-topbar {
left: 0;
grid-template-columns: minmax(120px, 1fr) minmax(180px, 1.4fr) auto;
padding: 0 14px;
}
.web-menu-button {
display: grid;
}
.web-topbar-publish span,
.web-page-title {
display: none;
}
.web-topbar-publish {
width: 36px;
padding: 0;
}
body.web-shell-ready :is(.main-content, .content-area, .content-wrapper) {
width: 100% !important;
max-width: 100% !important;
min-width: 0 !important;
box-sizing: border-box !important;
}
body.web-shell-ready :is(.main-content, .content-area) {
padding: 20px !important;
}
body.web-shell-ready .content-wrapper {
padding: 20px !important;
}
body.web-shell-ready :is(.detail-layout, .settings-layout, .search-layout, .follow-layout, .edit-layout) {
display: grid !important;
grid-template-columns: minmax(0, 1fr) !important;
gap: 16px !important;
}
body.web-shell-ready :is(.publish-layout, .content-wrapper) {
flex-direction: column !important;
}
body.web-shell-ready :is(.editor-column, .publish-main, .publish-side, .sidebar-column, .form-card, .stepper-wrapper) {
width: 100% !important;
max-width: 100% !important;
min-width: 0 !important;
flex: 0 1 auto !important;
box-sizing: border-box !important;
}
body.web-shell-ready .content-wrapper[style] {
width: 100% !important;
height: auto !important;
flex: 1 1 auto !important;
}
body.web-shell-ready :is(.filter-sidebar, .sidebar-column, .publish-side) {
position: static !important;
width: 100% !important;
}
body.web-shell-ready .filter-sidebar {
display: none !important;
}
.activity-filter-mobile {
display: inline-flex;
}
body.web-shell-ready.web-filter-open .filter-sidebar {
position: fixed !important;
top: 0;
right: 0;
bottom: 0;
z-index: 100;
display: flex !important;
flex-direction: column;
width: min(360px, 90vw) !important;
overflow-y: auto;
background: #fff;
box-shadow: -14px 0 40px rgba(16, 29, 27, 0.16);
}
body.web-filter-open .filter-card {
border: 0;
box-shadow: none;
}
.activity-filter-apply {
display: block;
width: calc(100% - 28px);
height: 40px;
margin: 0 14px 14px;
border: 0;
border-radius: 7px;
background: var(--web-primary);
color: #fff;
font-size: 13px;
font-weight: 650;
}
body.web-shell-ready :is(.activity-list-card, .profile-top-row) {
align-items: stretch !important;
}
body.web-shell-ready .activity-list-card {
display: grid !important;
grid-template-columns: minmax(180px, 34%) minmax(0, 1fr) !important;
}
body.web-shell-ready .activity-list-cover {
width: 100% !important;
height: 100% !important;
min-height: 180px;
}
body.web-shell-ready .comment-section {
position: static !important;
height: min(680px, 75vh) !important;
}
body.web-shell-ready :is(.content-grid, .favorites-grid, .result-grid, .user-grid, .school-grid, .video-grid, .video-grid-3, .feed-grid, .mall-grid) {
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
}
@media (max-width: 640px) {
.web-topbar {
grid-template-columns: auto minmax(0, 1fr) auto;
gap: 8px;
height: 58px;
padding: 0 10px;
}
:root {
--web-topbar-height: 58px;
}
.web-topbar-actions {
gap: 5px;
}
.web-topbar-actions .web-icon-button {
display: none;
}
.web-global-search input {
min-width: 0;
}
body.web-shell-ready .web-shell-main {
overflow-x: hidden !important;
}
body.web-shell-ready :is(.main-content, .content-area, .content-wrapper) {
padding: 14px !important;
}
body.web-shell-ready :is(.content-grid, .favorites-grid, .result-grid, .user-grid, .school-grid, .video-grid, .video-grid-3, .feed-grid, .mall-grid) {
grid-template-columns: minmax(0, 1fr) !important;
gap: 14px !important;
}
body.web-shell-ready .activity-list-card {
display: flex !important;
flex-direction: column !important;
}
body.web-shell-ready .activity-list-cover {
height: 190px !important;
min-height: 0;
}
body.web-shell-ready :is(.activity-list-info, .post-detail-header, .post-detail-content, .post-detail-actions, .profile-body) {
padding-left: 16px !important;
padding-right: 16px !important;
}
body.web-shell-ready .profile-top-row {
flex-wrap: wrap;
gap: 12px !important;
}
body.web-shell-ready .profile-info,
body.web-shell-ready .profile-actions {
padding-top: 0 !important;
}
body.web-shell-ready .profile-actions {
width: 100%;
}
body.web-shell-ready .profile-stats {
grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
body.web-shell-ready :is(.form-row, .activity-list-footer, .activity-footer-right) {
flex-wrap: wrap !important;
}
body.web-shell-ready :is(.form-row, .activity-list-footer) {
gap: 12px !important;
}
body.web-shell-ready :is(.form-item, .form-control) {
min-width: 100% !important;
}
body:not(.web-shell-ready) .auth-layout {
display: block !important;
min-height: 100vh;
overflow: visible !important;
}
body:not(.web-shell-ready) .auth-brand-side {
display: none !important;
}
body:not(.web-shell-ready) .auth-form-side {
min-height: 100vh;
padding: 24px 16px !important;
box-sizing: border-box;
}
body:not(.web-shell-ready) .auth-card {
width: 100% !important;
max-width: 440px;
padding: 32px 24px !important;
border-radius: var(--web-radius) !important;
box-sizing: border-box;
}
body:not(.web-shell-ready) .success-card {
width: calc(100% - 32px) !important;
max-width: 420px;
box-sizing: border-box;
}
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
scroll-behavior: auto !important;
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}
/* Settings follows the same two-panel workspace as notifications. */
body.settings-page.web-shell-ready .content-area {
padding: 24px 32px 32px !important;
overflow-y: auto;
}
body.settings-page.web-shell-ready .settings-layout {
display: grid !important;
grid-template-columns: 260px minmax(0, 1fr) !important;
gap: 24px !important;
width: 100% !important;
max-width: none !important;
min-height: calc(100vh - var(--web-topbar-height) - 56px);
margin: 0;
align-items: stretch;
}
body.settings-page .settings-nav {
position: static;
align-self: stretch;
min-width: 0;
overflow: hidden;
border: 1px solid var(--web-line);
border-radius: var(--web-radius);
background: var(--web-surface);
box-shadow: 0 2px 10px rgba(15, 23, 32, 0.035);
}
body.settings-page .settings-nav-title {
display: flex;
align-items: center;
min-height: 68px;
margin: 0;
padding: 0 20px;
border-bottom: 1px solid var(--web-line);
color: var(--web-ink);
font-size: 16px;
font-weight: 700;
text-transform: none;
}
body.settings-page .settings-nav-list {
gap: 0;
padding: 8px 0;
}
body.settings-page .settings-nav-item {
position: relative;
min-height: 64px;
gap: 12px;
padding: 10px 20px;
border-radius: 0;
color: var(--web-muted);
font-size: 14px;
font-weight: 500;
}
body.settings-page .settings-nav-item::before {
position: absolute;
top: 0;
bottom: 0;
left: 0;
width: 3px;
border-radius: 0;
background: transparent;
content: '';
}
body.settings-page .settings-nav-item svg {
width: 36px;
height: 36px;
padding: 9px;
border-radius: 7px;
background: #F2F3F5;
color: #8A9099;
}
body.settings-page .settings-nav-item.active {
background: var(--web-primary-soft);
color: var(--web-primary-strong);
}
body.settings-page .settings-nav-item.active::before {
background: var(--web-primary);
}
body.settings-page .settings-nav-item.active svg {
background: #fff;
color: var(--web-primary);
}
body.settings-page .settings-content {
width: 100%;
min-width: 0;
display: flex;
flex-direction: column;
overflow: hidden;
border: 1px solid var(--web-line);
border-radius: var(--web-radius);
background: var(--web-surface);
box-shadow: 0 2px 10px rgba(15, 23, 32, 0.035);
}
body.settings-page .settings-page-heading {
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
min-height: 92px;
margin: 0;
padding: 18px 24px;
border-bottom: 1px solid var(--web-line);
}
body.settings-page .settings-eyebrow {
display: none;
}
body.settings-page .page-title {
margin: 0;
color: #1F2328;
font-size: 18px;
line-height: 1.35;
}
body.settings-page .settings-page-description {
margin: 5px 0 0;
color: #8A9099;
font-size: 13px;
}
body.settings-page .settings-status {
display: inline-flex;
align-items: center;
gap: 7px;
height: 32px;
padding: 0 12px;
border: 1px solid #E8EBEF;
border-radius: 7px;
background: #fff;
color: #5A6268;
font-size: 12px;
white-space: nowrap;
}
body.settings-page .settings-status > span {
width: 7px;
height: 7px;
border-radius: 50%;
background: #35b56f;
box-shadow: 0 0 0 3px rgba(53, 181, 111, 0.12);
}
body.settings-page .settings-section {
margin: 0;
border: 0;
border-radius: 0;
background: transparent;
box-shadow: none;
}
body.settings-page .section-header {
display: none;
}
body.settings-page .section-icon {
width: 34px;
height: 34px;
border-radius: 7px;
}
body.settings-page .section-title {
font-size: 15px;
}
body.settings-page .section-desc {
font-size: 12px;
}
body.settings-page .setting-item {
min-height: 82px;
padding: 16px 24px;
border-bottom-color: #F2F3F5;
}
body.settings-page .setting-item:hover {
background: #FAFAFA;
}
body.settings-page .setting-name {
margin-bottom: 4px;
font-size: 14px;
font-weight: 600;
}
body.settings-page .setting-desc,
body.settings-page .setting-value {
color: #8A9099;
}
body.settings-page .settings-danger-zone {
margin-top: auto;
border: 0;
border-top: 1px solid var(--web-line);
border-radius: 0;
background: var(--web-surface);
}
body.settings-page .settings-danger-zone .setting-item {
min-height: 62px;
padding: 12px 24px;
border: 0;
}
/* Profile: content-first layout inspired by mature visual communities. */
body.profile-page.web-shell-ready .main-content {
display: grid !important;
grid-template-areas:
'profile profile'
'tabs tools'
'content tools';
grid-template-columns: minmax(0, 1fr) 276px;
align-content: start;
gap: 0 28px !important;
width: 100%;
max-width: 1280px;
margin: 0 auto;
padding: 34px 38px 64px !important;
}
body.profile-page .profile-column {
display: contents;
}
body.profile-page.web-shell-ready .profile-header-card {
grid-area: profile;
overflow: visible;
border: 0 !important;
border-bottom: 1px solid #E8EBEF !important;
border-radius: 0 !important;
background: transparent;
box-shadow: none !important;
}
body.profile-page .profile-cover {
height: 0;
overflow: visible;
background: none;
}
body.profile-page .profile-cover::before,
body.profile-page .profile-cover::after {
display: none;
}
body.profile-page .profile-cover-actions {
top: 16px;
right: 4px;
z-index: 10;
}
body.profile-page .cover-icon-btn {
width: 36px;
height: 36px;
border: 1px solid #E1E4E8;
border-radius: 7px;
background: #fff;
color: #5A6268;
backdrop-filter: none;
}
body.profile-page .cover-icon-btn:hover {
border-color: var(--web-primary);
background: var(--web-primary-soft);
color: var(--web-primary-strong);
}
body.profile-page .profile-more-menu {
position: absolute;
top: 44px;
right: 4px;
z-index: 20;
width: 156px;
padding: 6px;
border: 1px solid #E8EBEF;
border-radius: 8px;
background: #fff;
box-shadow: 0 12px 30px rgba(15, 23, 32, 0.12);
}
body.profile-page .profile-more-menu button {
width: 100%;
height: 36px;
padding: 0 10px;
border: 0;
border-radius: 6px;
background: transparent;
color: #3B4045;
text-align: left;
}
body.profile-page .profile-more-menu button:hover {
background: #F4F6F8;
}
body.profile-page .profile-body {
padding: 30px 112px 28px 24px;
}
body.profile-page .profile-top-row {
align-items: flex-start;
gap: 26px;
margin-top: 0;
}
body.profile-page .profile-avatar {
width: 108px;
height: 108px;
border: 4px solid #fff;
box-shadow: 0 0 0 1px #E1E4E8, 0 8px 24px rgba(15, 23, 32, 0.09);
}
body.profile-page .profile-info {
max-width: 680px;
padding-top: 5px;
}
body.profile-page .profile-name {
font-size: 24px;
font-weight: 730;
}
body.profile-page .profile-school {
margin-bottom: 9px;
color: #5A6268;
}
body.profile-page .profile-identity-row {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin-bottom: 10px;
}
body.profile-page .profile-identity-row span {
padding: 3px 8px;
border: 1px solid #E1E4E8;
border-radius: 5px;
background: #F7F8FA;
color: #8A9099;
font-size: 11px;
}
body.profile-page .profile-bio {
max-width: 620px;
color: #3B4045;
line-height: 1.7;
}
body.profile-page .profile-actions {
margin-left: auto;
padding-top: 44px;
}
body.profile-page .btn-edit,
body.profile-page .btn-share {
height: 36px;
border-radius: 7px;
}
body.profile-page .profile-stats {
display: flex;
justify-content: flex-start;
gap: 36px;
margin: 14px 0 0 134px;
padding: 0;
border: 0;
}
body.profile-page .stat-item {
flex-direction: row;
gap: 6px;
padding: 7px 0;
border-radius: 0;
}
body.profile-page .stat-item:hover {
background: transparent;
color: var(--web-primary-strong);
}
body.profile-page .stat-num {
font-size: 15px;
font-weight: 700;
}
body.profile-page .stat-label {
margin: 0;
font-size: 13px;
}
body.profile-page .profile-tabs {
grid-area: tabs;
align-self: stretch;
justify-content: center;
gap: 42px;
margin: 0;
padding: 0;
border: 0;
border-bottom: 1px solid #E8EBEF;
border-radius: 0;
background: transparent;
box-shadow: none;
}
body.profile-page .profile-tab {
position: relative;
min-width: 72px;
padding: 18px 8px 15px;
border-radius: 0;
text-align: center;
}
body.profile-page .profile-tab.active {
background: transparent;
color: #1F2328;
box-shadow: none;
}
body.profile-page .profile-tab.active::after {
position: absolute;
right: 18px;
bottom: -1px;
left: 18px;
height: 3px;
border-radius: 2px 2px 0 0;
background: var(--web-primary);
content: '';
}
body.profile-page.web-shell-ready .content-grid {
display: block !important;
grid-area: content;
padding-top: 20px;
column-count: 3;
column-gap: 18px;
}
body.profile-page .content-card {
display: inline-flex;
width: 100%;
margin: 0 0 18px;
border-color: #E8EBEF;
border-radius: 8px;
box-shadow: none;
break-inside: avoid;
}
body.profile-page .content-card:hover {
transform: translateY(-2px);
border-color: #E1E4E8;
box-shadow: 0 8px 22px rgba(15, 23, 32, 0.08);
}
.web-review-state {
display: inline-block;
align-self: flex-start;
margin: 0 0 8px;
padding: 3px 8px;
border-radius: 4px;
background: #e8f7fa;
color: #087f98;
font-size: 12px;
font-weight: 600;
}
.web-live-empty {
margin: 20px 0;
color: #8A9099;
font-size: 14px;
}
.web-live-cover { aspect-ratio: 4 / 3; background: linear-gradient(135deg, #83d7df, #17b0cf 52%, #73D3E6); }
.web-live-cover img { width: 100%; height: 100%; object-fit: cover; }
.web-publish-actions { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.web-publish-actions strong { margin-right: auto; font-size: 18px; }
.web-publish-actions .btn { min-height: 38px; }
body.profile-page .post-img-cell img { width: 100%; height: 100%; object-fit: cover; }
.web-live-detail .post-detail-images { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.web-live-detail .post-detail-images[hidden] { display: none; }
.web-live-detail .post-detail-images img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.web-topic-input { width: 154px; height: 34px; border: 1px solid #17b0cf; border-radius: 6px; padding: 0 8px; font: inherit; }
.web-topic-remove { border: 0; background: none; color: inherit; cursor: pointer; font-size: 16px; }
.image-upload-grid.is-dragging { outline: 2px dashed #17b0cf; outline-offset: 6px; }
.upload-slot.filled .remove-btn { display: grid; place-items: center; opacity: 1; border: 0; cursor: pointer; font-size: 19px; line-height: 1; }
.preview-images[hidden] { display: none; }
.preview-images img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
body.notification-post-detail .notification-post-title {
margin: 0 0 16px;
color: #1F2328;
font-size: 22px;
line-height: 1.4;
}
body.notification-post-detail .post-detail-content {
overflow-wrap: anywhere;
}
body.notification-post-detail .post-detail-content p {
margin: 0 0 14px;
line-height: 1.85;
}
body.notification-post-detail :is(.post-detail-images, .related-section, .post-detail-header .btn-follow, .author-card .btn-follow, .action-btn-big.more) {
display: none !important;
}
body.notification-post-detail .comment-item.is-targeted {
background: #eaf8f9;
box-shadow: inset 3px 0 #17B0CF;
}
body.notification-post-detail .comment-avatar {
background: #17B0CF;
color: #fff;
}
body.notification-post-detail .notification-comment-reply {
border: 0;
background: none;
color: #0787a2;
font: inherit;
cursor: pointer;
}
body.notification-post-detail .notification-comment-reply:hover,
body.notification-post-detail .notification-comment-reply:focus-visible {
text-decoration: underline;
}
.message-list > .message-item {
color: inherit;
text-decoration: none;
}
.message-list > .message-item:focus-visible {
outline: 2px solid #17B0CF;
outline-offset: -2px;
}
body.external-user-page .post-list {
column-count: 1;
}
body.external-user-page .video-grid-3 {
grid-template-columns: minmax(0, 1fr);
}
body.profile-page .content-card:nth-child(3n + 1) .card-thumbnail {
aspect-ratio: 4 / 5;
}
body.profile-page .content-card:nth-child(3n + 2) .card-thumbnail {
aspect-ratio: 1 / 1;
}
body.profile-page .content-card:nth-child(3n) .card-thumbnail {
aspect-ratio: 4 / 3;
}
body.profile-page .card-info {
padding: 12px 13px 14px;
}
body.profile-page .card-title {
min-height: 0;
font-size: 13px;
font-weight: 560;
}
body.profile-page .right-sidebar {
grid-area: tools;
width: auto;
margin-top: 18px;
}
body.profile-page .side-card {
padding: 17px;
border-color: #E8EBEF;
border-radius: 8px;
box-shadow: none;
}
body.profile-page .side-card-title {
margin-bottom: 13px;
font-size: 14px;
}
body.profile-page .level-display {
cursor: pointer;
}
/* Feed sidebar controls now behave like controls. */
body.web-shell-ready .widget-more {
border: 0;
background: transparent;
font: inherit;
}
body.web-shell-ready .widget-more:focus-visible,
body.web-shell-ready .user-item:focus-visible,
body.profile-page .profile-more-menu button:focus-visible {
outline: 3px solid rgba(18, 152, 179, 0.22);
outline-offset: 2px;
}
.recommendation-refresh.is-refreshing svg {
animation: web-refresh-spin 420ms ease;
}
@keyframes web-refresh-spin {
to { transform: rotate(360deg); }
}
@media (max-width: 1180px) {
body.profile-page.web-shell-ready .main-content {
display: block !important;
max-width: 900px;
}
body.profile-page.web-shell-ready .profile-column {
display: flex;
}
body.profile-page.web-shell-ready .content-grid {
display: grid !important;
grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
}
@media (max-width: 900px) {
body.settings-page.web-shell-ready .content-area {
padding: 24px 20px 44px !important;
}
body.settings-page.web-shell-ready .settings-layout {
display: block !important;
}
body.settings-page .settings-nav {
position: sticky;
top: 0;
z-index: 5;
padding: 8px 0;
background: var(--web-canvas);
}
body.settings-page .settings-nav-title {
display: none;
}
body.settings-page .settings-nav-list {
flex-direction: row;
gap: 6px;
overflow-x: auto;
scrollbar-width: none;
}
body.settings-page .settings-nav-item {
flex: 0 0 auto;
min-height: 38px;
padding: 0 12px;
border: 1px solid #E8EBEF;
background: #fff;
}
body.settings-page .settings-nav-item::before {
display: none;
}
body.settings-page .settings-page-heading {
min-height: 76px;
margin: 16px 0;
}
body.profile-page.web-shell-ready .main-content {
padding: 24px 20px 48px !important;
}
body.profile-page.web-shell-ready .content-grid {
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
}
@media (max-width: 640px) {
body.settings-page.web-shell-ready .content-area {
padding: 12px 14px 36px !important;
}
body.settings-page .settings-page-heading {
align-items: flex-start;
min-height: 0;
margin: 18px 0;
}
body.settings-page .settings-status {
display: none;
}
body.settings-page .page-title {
font-size: 22px;
}
body.settings-page .setting-item {
align-items: flex-start;
gap: 12px;
min-height: 66px;
padding: 13px 15px;
}
body.settings-page .setting-right {
flex: 0 0 auto;
align-self: center;
}
body.settings-page .setting-desc {
max-width: 220px;
}
body.profile-page.web-shell-ready .main-content {
padding: 12px 14px 36px !important;
}
body.profile-page .profile-body {
padding: 54px 4px 22px !important;
}
body.profile-page .profile-cover-actions {
top: 58px;
right: 2px;
}
body.profile-page .profile-more-menu {
top: 102px;
right: 2px;
}
body.profile-page .profile-top-row {
display: grid;
grid-template-columns: 84px minmax(0, 1fr);
align-items: start !important;
}
body.profile-page .profile-avatar {
width: 82px;
height: 82px;
font-size: 30px;
}
body.profile-page .profile-actions {
grid-column: 1 / -1;
width: 100%;
margin: 0;
}
body.profile-page .btn-edit,
body.profile-page .btn-share {
flex: 1;
justify-content: center;
}
body.profile-page .profile-stats {
justify-content: space-between;
gap: 8px;
margin: 16px 0 0;
overflow-x: auto;
}
body.profile-page .stat-item {
flex: 0 0 auto;
}
body.profile-page .profile-tabs {
justify-content: flex-start;
gap: 12px;
overflow-x: auto;
}
body.profile-page .profile-tab {
flex: 0 0 auto;
min-width: 64px;
}
body.profile-page.web-shell-ready .content-grid {
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
gap: 10px !important;
padding-top: 14px;
}
body.profile-page .content-card {
margin: 0;
}
body.profile-page .card-info {
padding: 10px;
}
}
/* ============================================================
本地数据层:文字动态卡片与话题标签(2026-10-16)
============================================================ */
.feed-card.web-text-card .card-cover { display: none; }
.feed-card.web-text-card { background: #fff; }
.feed-card.web-text-card .card-content { padding-top: 16px; }
.feed-card.web-text-card .card-title {
font-size: 15px;
line-height: 1.65;
-webkit-line-clamp: 6;
}
.feed-card.web-text-card[data-cover="1"] { background: linear-gradient(165deg, #F4FBFC 0%, #E8F8FB 100%); }
.feed-card.web-text-card[data-cover="2"] { background: linear-gradient(165deg, #F2FAF6 0%, #E3F5EE 100%); }
.feed-card.web-text-card[data-cover="3"] { background: linear-gradient(165deg, #FDF7F0 0%, #FAEFE0 100%); }
.feed-card.web-text-card[data-cover="4"] { background: linear-gradient(165deg, #F5F7FD 0%, #EAEFFA 100%); }
.feed-card.web-text-card[data-cover="5"] { background: linear-gradient(165deg, #FDF4F8 0%, #FAEAF1 100%); }
.web-live-tag {
display: inline-block;
margin-bottom: 6px;
padding: 2px 8px;
border-radius: 999px;
background: rgba(23, 176, 207, 0.12);
color: #1298B3;
font-size: 12px;
font-weight: 500;
}
.content-card.web-text-card .post-card-images { display: none; }
.content-card.web-text-card .card-thumbnail {
aspect-ratio: auto;
min-height: 76px;
display: flex;
align-items: flex-start;
justify-content: flex-end;
padding: 12px;
}
.content-card.web-text-card .card-badge { position: static; }
.content-card.web-text-card[data-cover="1"] .card-thumbnail { background: linear-gradient(160deg, #F4FBFC, #E8F8FB); }
.content-card.web-text-card[data-cover="2"] .card-thumbnail { background: linear-gradient(160deg, #F2FAF6, #E3F5EE); }
.content-card.web-text-card[data-cover="3"] .card-thumbnail { background: linear-gradient(160deg, #FDF7F0, #FAEFE0); }
.content-card.web-text-card[data-cover="4"] .card-thumbnail { background: linear-gradient(160deg, #F5F7FD, #EAEFFA); }
.content-card.web-text-card[data-cover="5"] .card-thumbnail { background: linear-gradient(160deg, #FDF4F8, #FAEAF1); }
.web-demo-note {
margin: 12px 0 0;
padding: 10px 12px;
border-radius: 10px;
background: rgba(23, 176, 207, 0.08);
color: #0E8098;
font-size: 12px;
line-height: 1.6;
}
/* ============================================================
等级特权与详情页更多菜单(2026-10-16)
============================================================ */
.level-list { display: flex; flex-direction: column; gap: 10px; }
.level-item {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 14px 16px;
border: 1px solid var(--border-light, #eef0f1);
border-radius: 12px;
background: #fff;
}
.level-item.is-current {
border-color: rgba(23, 176, 207, 0.45);
background: var(--primary-bg, #E8F8FB);
}
.level-item .level-name { font-weight: 600; color: var(--text-primary, #1f2328); }
.level-item .level-need { margin-top: 2px; font-size: 12px; color: var(--text-tertiary, #8a9099); }
.level-item .level-tag { font-size: 12px; font-weight: 600; color: var(--primary, #17B0CF); }
.action-btn-big.more { position: relative; }
.web-detail-more-menu {
position: absolute;
top: calc(100% + 6px);
right: 0;
z-index: 30;
min-width: 132px;
padding: 6px;
border-radius: 10px;
border: 1px solid var(--border-light, #eef0f1);
background: #fff;
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
display: flex;
flex-direction: column;
}
.web-detail-more-menu button {
padding: 8px 10px;
border: 0;
border-radius: 8px;
background: none;
text-align: left;
font-size: 13px;
color: var(--text-primary, #1f2328);
cursor: pointer;
}
.web-detail-more-menu button:hover { background: var(--bg-hover, #f4f6f8); }
/* 头像图片:侧栏、顶栏、个人中心、编辑页统一裁切(2026-10-16) */
.web-user-avatar img,
.web-topbar-avatar img,
.profile-avatar img,
.avatar-preview img,
.web-user-button img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: inherit;
display: block;
}
/* 评论回复提示条(2026-10-16) */
.web-reply-chip {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
margin-bottom: 8px;
padding: 8px 12px;
border-radius: 10px;
background: var(--primary-bg, #E8F8FB);
color: var(--primary-active, #0E8098);
font-size: 12px;
}
.web-reply-chip[hidden] { display: none; }
.web-reply-chip button {
border: 0;
background: none;
color: inherit;
font-size: 12px;
cursor: pointer;
text-decoration: underline;
}
/* 评论区点赞/回复控件可点击反馈 */
.comment-meta .like-btn,
.comment-meta span[role="button"],
.reply-meta span[role="button"] { cursor: pointer; }
.reply-meta .like-btn.liked { color: var(--error, #f5222d); }
.web-demo-note .web-mode-switch {
margin-left: 8px;
padding: 0;
border: 0;
background: none;
color: #0E8098;
font-size: 12px;
text-decoration: underline;
cursor: pointer;
}
.web-chat-entry {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 12px;
padding: 14px 16px;
border-radius: 12px;
background: var(--primary-bg, #E8F8FB);
color: var(--text-primary, #1f2328);
text-decoration: none;
}
.web-chat-entry:hover { background: var(--primary-lighter, #BCEAF3); }
.web-chat-entry-icon {
width: 38px; height: 38px; border-radius: 50%;
display: flex; align-items: center; justify-content: center;
background: var(--primary, #17B0CF); color: #fff; font-weight: 600;
}
.web-chat-entry-copy { display: flex; flex-direction: column; gap: 2px; }
.web-chat-entry-copy strong { font-size: 14px; }
.web-chat-entry-copy span { font-size: 12px; color: var(--text-tertiary, #8a9099); }
.web-chat-entry-arrow { margin-left: auto; font-size: 13px; color: var(--primary, #17B0CF); }
.video-card.is-transcoding .video-duration { background: rgba(0,0,0,.55); }
.web-chat-frame {
flex: 1;
min-width: 0;
height: 100%;
border: 0;
border-radius: 12px;
background: #fff;
display: block;
}
.web-chat-frame[hidden] { display: none; }
.web-chat-view { flex: 1; min-width: 0; display: flex; background: var(--card-bg, #fff); border: 1px solid var(--border-light, #eef0f1); border-radius: 12px; overflow: hidden; }
.web-chat-view[hidden] { display: none; }
.web-chat-convs { width: 280px; flex-shrink: 0; border-right: 1px solid var(--border-light, #eef0f1); display: flex; flex-direction: column; }
.web-chat-convs-head { padding: 14px 16px; font-size: 14px; font-weight: 600; color: var(--text-primary, #1f2328); border-bottom: 1px solid var(--border-light, #eef0f1); }
.web-chat-conv-items { flex: 1; overflow: auto; }
.web-chat-conv { padding: 12px 16px; cursor: pointer; border-bottom: 1px solid var(--border-light, #eef0f1); }
.web-chat-conv:hover { background: var(--bg-hover, #f4f6f8); }
.web-chat-conv.active { background: var(--primary-bg, #E8F8FB); }
.web-chat-conv-name { font-size: 14px; font-weight: 600; color: var(--text-primary, #1f2328); margin-bottom: 3px; }
.web-chat-conv-preview { font-size: 12px; color: var(--text-tertiary, #8a9099); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.web-chat-pane { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.web-chat-pane-head { padding: 14px 16px; font-size: 14px; font-weight: 600; color: var(--text-primary, #1f2328); border-bottom: 1px solid var(--border-light, #eef0f1); }
.web-chat-msgs { flex: 1; overflow: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-page, #f7f8fa); }
.web-chat-msg { max-width: 72%; padding: 8px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--border-light, #eef0f1); align-self: flex-start; font-size: 14px; line-height: 1.5; color: var(--text-primary, #1f2328); }
.web-chat-msg.self { align-self: flex-end; background: var(--primary, #17B0CF); color: #fff; border-color: var(--primary, #17B0CF); }
.web-chat-inputbar { border-top: 1px solid var(--border-light, #eef0f1); padding: 12px; display: flex; gap: 10px; }
.web-chat-textarea { flex: 1; resize: none; height: 40px; border: 1px solid var(--border-light, #eef0f1); border-radius: 8px; padding: 9px 12px; font: inherit; color: var(--text-primary, #1f2328); }
.web-chat-send { padding: 0 18px; border: 0; border-radius: 8px; background: var(--primary, #17B0CF); color: #fff; cursor: pointer; font-size: 14px; }
.web-chat-convs { width: 300px; }
.web-chat-conv { display: flex; align-items: center; gap: 12px; padding: 13px 16px; cursor: pointer; border-bottom: 1px solid var(--border-light, #eef0f1); }
.web-chat-conv-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, #73D3E6, #17B0CF); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; flex-shrink: 0; }
.web-chat-conv-body { flex: 1; min-width: 0; }
.web-chat-conv-time { font-size: 12px; color: var(--text-tertiary, #8a9099); flex-shrink: 0; }
.web-chat-conv-unread { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--error, #f5222d); color: #fff; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.web-chat-conv-unread.zero { display: none; }
.web-chat-msg-row { display: flex; gap: 10px; align-items: flex-start; }
.web-chat-msg-row.self { flex-direction: row-reverse; }
.web-chat-msg-avatar { width: 32px; height: 32px; border-radius: 50%; background: #73D3E6; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; flex-shrink: 0; }
.web-chat-msg-row.self .web-chat-msg-avatar { background: var(--primary, #17B0CF); }
.video-player-wrap { position: relative; }
.web-player-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.web-player-big-play { pointer-events: auto; width: 72px; height: 72px; border-radius: 50%; border: 0; background: rgba(0,0,0,0.45); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.web-player-big-play:hover { background: rgba(0,0,0,0.6); }
.web-player-big-play svg { width: 30px; height: 30px; }
.web-player-big-play[hidden] { display: none; }
.web-player-spinner { width: 40px; height: 40px; border: 3px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: web-spin 0.8s linear infinite; }
.web-player-spinner[hidden] { display: none; }
@keyframes web-spin { to { transform: rotate(360deg); } }
.video-player-wrap { position: relative; width: 100%; height: 0; padding-top: 56.25%; overflow: hidden; background: #000; border-radius: 14px; }
.web-player-box { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }
.web-player-box video { width: 100%; height: 100%; object-fit: contain; display: block; }
.web-signup-overlay { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(15, 23, 32, 0.45); }
.web-signup-modal { width: 440px; max-width: 100%; max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 14px; box-shadow: 0 18px 48px rgba(15, 23, 32, 0.18); animation: web-signup-in .18s ease; }
@keyframes web-signup-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.web-signup-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 14px; border-bottom: 1px solid #EEF0F1; }
.web-signup-title { font-size: 17px; font-weight: 700; color: #1F2328; }
.web-signup-close { border: 0; background: none; cursor: pointer; color: #8A9099; font-size: 22px; line-height: 1; padding: 0 2px; }
.web-signup-close:hover { color: #1F2328; }
.web-signup-body { padding: 18px 20px; }
.web-signup-activity { display: flex; flex-direction: column; gap: 7px; padding: 13px 14px; border-radius: 10px; background: #F7F8FA; margin-bottom: 14px; }
.web-signup-activity-name { font-size: 15px; font-weight: 600; color: #1F2328; line-height: 1.4; }
.web-signup-meta { font-size: 13px; color: #8A9099; line-height: 1.5; }
.web-signup-user { display: flex; align-items: center; gap: 10px; }
.web-signup-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #73D3E6, #17B0CF); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; flex-shrink: 0; }
.web-signup-error { display: none; margin-top: 12px; padding: 9px 12px; border-radius: 8px; background: #FFF1F0; color: #F5222D; font-size: 13px; }
.web-signup-foot { display: flex; gap: 10px; justify-content: flex-end; padding: 0 20px 20px; }
.web-signup-btn { min-width: 96px; height: 40px; padding: 0 18px; border: 0; border-radius: 10px; cursor: pointer; font-size: 14px; font-weight: 600; }
.web-signup-btn.ghost { background: #F2F3F5; color: #1F2328; }
.web-signup-btn.ghost:hover { background: #E8EBEF; }
.web-signup-btn.primary { background: #17B0CF; color: #fff; }
.web-signup-btn.primary:hover { background: #1298B3; }
.web-signup-btn.primary:disabled { background: #BCEAF3; cursor: not-allowed; }
.web-signup-remark { width: 100%; min-height: 64px; margin-top: 12px; padding: 10px 12px; border: 1px solid #EEF0F1; border-radius: 10px; resize: vertical; font: inherit; font-size: 14px; color: #1F2328; background: #F7F8FA; }
.web-signup-remark:focus { outline: 2px solid rgba(23,176,207,0.25); border-color: #17B0CF; background: #fff; }
.web-sheet-overlay { position: fixed; inset: 0; z-index: 1100; display: flex; align-items: flex-end; justify-content: center; padding: 0; background: rgba(15,23,32,0.45); }
.web-sheet-panel { width: 460px; max-width: 100%; max-height: 86vh; overflow: auto; background: #fff; border-radius: 16px 16px 0 0; box-shadow: 0 18px 48px rgba(15,23,32,0.2); animation: web-sheet-in .18s ease; }
@keyframes web-sheet-in { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
.web-sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px 12px; border-bottom: 1px solid #EEF0F1; }
.web-sheet-title { font-size: 16px; font-weight: 700; color: #1F2328; }
.web-sheet-close { border: 0; background: none; cursor: pointer; color: #8A9099; font-size: 22px; line-height: 1; }
.web-sheet-body { padding: 8px 20px 16px; }
.web-sheet-option { display: flex; flex-direction: column; gap: 3px; width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid #F2F3F5; background: none; text-align: left; cursor: pointer; }
.web-sheet-option:last-child { border-bottom: 0; }
.web-sheet-option-label { font-size: 15px; font-weight: 600; color: #1F2328; }
.web-sheet-option-desc { font-size: 12px; color: #8A9099; }
.web-sheet-hint { margin: 0; padding: 10px 0; color: #8A9099; font-size: 13px; }
.web-sheet-hint.error { color: #F5222D; }
.web-sheet-row { display: flex; align-items: center; gap: 12px; padding: 11px 2px; border-bottom: 1px solid #F2F3F5; cursor: pointer; }
.web-sheet-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #73D3E6, #17B0CF); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; flex-shrink: 0; }
.web-sheet-row-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.web-sheet-row-info b { font-size: 14px; color: #1F2328; }
.web-sheet-row-info span { font-size: 12px; color: #8A9099; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.web-sheet-row input[type=checkbox] { width: 18px; height: 18px; accent-color: #17B0CF; }
.web-sheet-radio { display: flex; align-items: center; gap: 8px; padding: 8px 0; font-size: 14px; color: #1F2328; cursor: pointer; }
.web-sheet-radio input { accent-color: #17B0CF; }
.web-sheet-textarea { width: 100%; margin-top: 8px; padding: 10px 12px; border: 1px solid #EEF0F1; border-radius: 10px; resize: vertical; font: inherit; font-size: 14px; color: #1F2328; background: #F7F8FA; }
.web-sheet-textarea:focus { outline: 2px solid rgba(23,176,207,0.25); border-color: #17B0CF; background: #fff; }
.web-sheet-foot { display: flex; gap: 10px; justify-content: flex-end; padding: 12px 20px 20px; }
.web-sheet-btn { min-width: 96px; height: 40px; padding: 0 18px; border: 0; border-radius: 10px; cursor: pointer; font-size: 14px; font-weight: 600; }
.web-sheet-btn.ghost { background: #F2F3F5; color: #1F2328; }
.web-sheet-btn.primary { background: #17B0CF; color: #fff; }
.web-sheet-btn.primary:hover { background: #1298B3; }
.web-sheet-btn.primary:disabled { background: #BCEAF3; cursor: not-allowed; }
.comment-delete-btn { margin-left: auto; color: #8A9099; font-size: 12px; cursor: pointer; }
.comment-delete-btn:hover { color: #F5222D; }
.web-signup-field-label { margin: 14px 0 6px; font-size: 13px; font-weight: 600; color: #1F2328; }
.web-signup-field { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.web-signup-field > span { font-size: 13px; font-weight: 600; color: #1F2328; }
.web-signup-input { width: 100%; height: 40px; padding: 0 12px; border: 1px solid #EEF0F1; border-radius: 10px; font: inherit; font-size: 14px; color: #1F2328; background: #F7F8FA; }
.web-signup-input:focus { outline: 2px solid rgba(23,176,207,0.25); border-color: #17B0CF; background: #fff; }
.web-signup-ticket { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid #EEF0F1; border-radius: 10px; margin-bottom: 8px; cursor: pointer; }
.web-signup-ticket.active { border-color: #17B0CF; background: #F4FBFC; }
.web-signup-ticket input { accent-color: #17B0CF; }
.web-signup-ticket-info { display: flex; flex-direction: column; gap: 2px; }
.web-signup-ticket-info b { font-size: 14px; color: #1F2328; }
.web-signup-ticket-info span { font-size: 12px; color: #8A9099; }
.web-points-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #F2F3F5; }
.web-points-left { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.web-points-left b { font-size: 14px; font-weight: 600; color: #1F2328; }
.web-points-left span { font-size: 12px; color: #8A9099; }
.web-points-amount { font-size: 15px; font-weight: 700; white-space: nowrap; }
.web-points-amount.in { color: #17B0CF; }
.web-points-amount.out { color: #8A9099; }
.web-discussion-composer { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; padding: 14px; border: 1px solid #EEF0F1; border-radius: 14px; background: #fff; }
.web-discussion-composer textarea { width: 100%; min-height: 64px; padding: 10px 12px; border: 1px solid #EEF0F1; border-radius: 10px; resize: vertical; font: inherit; font-size: 14px; color: #1F2328; background: #F7F8FA; }
.web-discussion-composer textarea:focus { outline: 2px solid rgba(23,176,207,0.25); border-color: #17B0CF; background: #fff; }
.web-discussion-publish { align-self: flex-end; min-width: 104px; height: 38px; padding: 0 18px; border: 0; border-radius: 10px; background: #17B0CF; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; }
.web-discussion-publish:hover { background: #1298B3; }
.web-discussion-publish:disabled { background: #BCEAF3; cursor: not-allowed; }
.web-discussion-list { display: flex; flex-direction: column; gap: 12px; }
.web-discussion-card { padding: 14px 16px; border: 1px solid #EEF0F1; border-radius: 14px; background: #fff; }
.web-discussion-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.web-discussion-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #73D3E6, #17B0CF); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; flex-shrink: 0; }
.web-discussion-head b { font-size: 14px; color: #1F2328; }
.web-discussion-time { margin-left: auto; font-size: 12px; color: #8A9099; }
.web-discussion-content { margin: 0; font-size: 14px; line-height: 1.7; color: #1F2328; white-space: pre-wrap; overflow-wrap: anywhere; }
.web-discussion-media { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.web-discussion-media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }