/* 印象足拍 y5my5b.cn — 橙青兴趣街区：仅本地系统字体，无外部依赖 */
:root {
--orange: #ff651c;
--orange-deep: #df4f0b;
--orange-soft: #fff0e6;
--teal: #008a86;
--teal-deep: #006d6a;
--teal-soft: #e5f5f3;
--blue: #356df3;
--blue-soft: #eaf0ff;
--apricot: #ffc867;
--apricot-soft: #fff7df;
--paper: #ffffff;
--mist: #f6f8f8;
--ink: #213437;
--ink-soft: #455b5e;
--muted: #718083;
--line: #dfe8e7;
--line-strong: #c9d9d7;
--shadow-xs: 0 3px 10px rgba(21, 65, 63, .05);
--shadow-sm: 0 8px 24px rgba(21, 65, 63, .08);
--shadow-md: 0 16px 38px rgba(21, 65, 63, .12);
--radius: 12px;
--font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
}

* {
box-sizing: border-box;
}

html {
scroll-behavior: smooth;
scroll-padding-top: 130px;
}

body {
min-width: 320px;
margin: 0;
padding: 0;
color: var(--ink);
background: var(--mist);
font-family: var(--font-ui);
font-size: 15px;
line-height: 1.65;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}

body.is-dialog-open {
overflow: hidden;
}

img {
display: block;
max-width: 100%;
height: auto;
}

svg {
display: block;
flex: none;
}

[hidden] {
display: none !important;
}

a {
color: inherit;
text-decoration: none;
transition: color .15s ease;
}

a:hover {
color: var(--orange-deep);
}

button,
input,
textarea,
select {
color: inherit;
font: inherit;
}

button {
cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
outline: 3px solid rgba(53, 109, 243, .3);
outline-offset: 3px;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
margin-top: 0;
}

h1,
h2,
h3,
h4 {
color: var(--ink);
font-weight: 780;
line-height: 1.25;
letter-spacing: -.035em;
}

h1 {
font-size: 22px;
}

h2 {
font-size: 24px;
}

h3 {
font-size: 17px;
}

p {
margin-bottom: 1em;
}

ul,
ol {
padding-left: 1.2em;
}

::selection {
color: #fff;
background: var(--orange);
}

.wrap {
width: min(1280px, calc(100% - 48px));
margin-right: auto;
margin-left: auto;
}

#main-content {
overflow: clip;
}

.visually-hidden {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}

.muted {
color: var(--muted);
}

.small {
font-size: 13px;
}

.kicker {
display: inline-flex;
align-items: center;
gap: 6px;
margin-bottom: 8px;
color: var(--teal-deep);
font-size: 11px;
font-weight: 800;
line-height: 1.35;
letter-spacing: .11em;
text-transform: uppercase;
}

.kicker::before {
width: 7px;
height: 7px;
border-radius: 3px;
background: var(--orange);
content: "";
}

.pill,
.taglite,
.editor-tag {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 25px;
padding: 4px 9px;
border: 1px solid transparent;
border-radius: 999px;
color: var(--orange-deep);
background: var(--orange-soft);
font-size: 11px;
font-weight: 750;
line-height: 1.1;
white-space: nowrap;
}

.taglite {
color: var(--teal-deep);
background: var(--teal-soft);
}

.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 7px;
min-height: 40px;
padding: 9px 15px;
border: 1px solid var(--orange);
border-radius: 999px;
color: #fff;
background: var(--orange);
box-shadow: 0 8px 18px rgba(255, 101, 28, .17);
font-size: 13px;
font-weight: 750;
line-height: 1.2;
text-align: center;
transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
}

.btn:hover {
color: #fff;
border-color: var(--orange-deep);
background: var(--orange-deep);
box-shadow: 0 11px 22px rgba(255, 101, 28, .23);
transform: translateY(-1px);
}

.btn svg {
width: 17px;
height: 17px;
}

.btn-orange {
color: #fff;
border-color: var(--orange);
background: var(--orange);
}

.btn-ghost,
.btn.btn-ghost {
color: var(--ink-soft);
border-color: var(--line-strong);
background: #fff;
box-shadow: none;
}

.btn-ghost:hover,
.btn.btn-ghost:hover {
color: var(--teal-deep);
border-color: #a9dcd8;
background: var(--teal-soft);
}

/* 公共头：PC 为水平粘性导航，搜索独立置于头部之下。 */
.site-header {
position: sticky;
z-index: 60;
top: 0;
width: 100%;
min-height: 76px;
border-bottom: 1px solid var(--line);
background: rgba(255, 255, 255, .97);
box-shadow: 0 4px 14px rgba(21, 65, 63, .025);
}

.header-inner {
display: flex;
align-items: center;
min-height: 76px;
gap: 12px;
}

.brand,
.site-brand {
display: inline-flex;
flex: 0 0 220px;
align-items: center;
gap: 10px;
min-width: 0;
color: var(--ink);
}

.brand:hover,
.site-brand:hover {
color: var(--ink);
}

.brand-icon,
.brand-iconlogo {
width: 38px;
height: 38px;
object-fit: contain;
}

.brand-text {
display: grid;
gap: 0;
min-width: 0;
line-height: 1;
}

.brand-text strong {
color: var(--ink);
font-size: 19px;
font-weight: 850;
letter-spacing: -.075em;
white-space: nowrap;
}

.brand-text small {
margin-top: 4px;
color: var(--muted);
font-size: 11px;
font-weight: 650;
letter-spacing: .02em;
white-space: nowrap;
}

.nav-toggle {
display: none;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
margin-left: auto;
padding: 0;
border: 1px solid var(--line);
border-radius: 10px;
color: var(--teal-deep);
background: #fff;
}

.nav-toggle svg {
width: 22px;
height: 22px;
}

.header-nav {
display: grid;
flex: 1 1 800px;
grid-template-columns: repeat(7, minmax(0, 1fr));
align-items: center;
min-width: 0;
gap: 4px;
}

.header-nav a {
display: flex;
align-items: center;
justify-content: center;
gap: 5px;
min-height: 38px;
padding: 7px 5px;
border-radius: 9px;
color: var(--ink-soft);
font-size: 14px;
font-weight: 720;
line-height: 1.1;
text-align: center;
white-space: nowrap;
}

.header-nav a svg {
width: 22px;
height: 22px;
max-width: 22px;
max-height: 22px;
}

.header-nav a:hover {
color: var(--orange-deep);
background: var(--orange-soft);
}

.header-nav a.active,
.header-nav a[aria-current="page"] {
color: var(--orange-deep);
background: var(--orange-soft);
}

.header-action {
display: inline-flex;
flex: 0 0 auto;
align-items: center;
justify-content: center;
min-height: 38px;
padding: 8px 12px;
border: 1px solid var(--teal);
border-radius: 999px;
color: #fff;
background: var(--teal);
box-shadow: 0 7px 16px rgba(0, 138, 134, .14);
font-size: 13px;
font-weight: 750;
line-height: 1.1;
white-space: nowrap;
}

.header-action:hover {
color: #fff;
border-color: var(--teal-deep);
background: var(--teal-deep);
}

.search-bar {
position: relative;
z-index: 30;
border-bottom: 1px solid var(--line);
background: #fff;
}

.search-bar > .wrap {
display: flex;
align-items: center;
min-height: 44px;
}

.search-form {
display: flex;
flex: 1 1 auto;
align-items: center;
gap: 8px;
min-width: 0;
}

.search-form label {
flex: 1 1 auto;
min-width: 0;
}

.search-form input {
width: 100%;
height: 30px;
padding: 5px 12px;
border: 1px solid transparent;
border-radius: 8px;
color: var(--ink);
background: var(--mist);
font-size: 13px;
outline: none;
}

.search-form input::placeholder {
color: #93a1a3;
}

.search-form input:focus {
border-color: #8dd3d0;
background: #fff;
}

.search-form button {
display: inline-flex;
align-items: center;
justify-content: center;
width: 30px;
height: 30px;
padding: 0;
border: 0;
border-radius: 8px;
color: #fff;
background: var(--orange);
}

.search-form button svg {
width: 18px;
height: 18px;
}

.header-note {
flex: 0 0 auto;
margin-left: 12px;
color: var(--muted);
font-size: 11px;
white-space: nowrap;
}

/* 首页：紧凑的橙青共创首屏。 */
.community-hero {
padding: 20px 0 12px;
}

.community-hero-grid {
display: grid;
grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
align-items: stretch;
gap: 24px;
min-height: 300px;
}

.community-intro {
display: flex;
flex-direction: column;
justify-content: center;
min-height: 300px;
padding: 28px clamp(22px, 3vw, 42px);
border-radius: var(--radius);
background: linear-gradient(132deg, #fff0e6 0%, #fff8e9 100%);
}

.community-intro .kicker {
color: var(--orange-deep);
}

.community-title {
max-width: 530px;
margin-bottom: 10px;
font-size: clamp(26px, 2.4vw, 32px);
line-height: 1.18;
}

.community-intro p {
max-width: 450px;
margin-bottom: 17px;
color: var(--ink-soft);
font-size: 14px;
}

.hero-actions {
display: flex;
flex-wrap: wrap;
gap: 9px;
}

.community-metrics {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 8px;
margin-top: 18px;
}

.community-metrics > * {
min-width: 0;
padding: 7px 8px;
border-left: 3px solid var(--orange);
color: var(--muted);
background: rgba(255, 255, 255, .58);
font-size: 11px;
line-height: 1.3;
}

.community-metrics strong,
.community-metrics b {
display: block;
color: var(--ink);
font-size: 15px;
}

.community-visual {
position: relative;
align-self: center;
overflow: hidden;
max-height: 260px;
border-radius: var(--radius);
background: #dcebea;
box-shadow: var(--shadow-sm);
}

.community-visual img {
width: 100%;
height: auto;
aspect-ratio: 16 / 9;
object-fit: cover;
}

.visual-label {
position: absolute;
right: 12px;
bottom: 12px;
padding: 6px 10px;
border-radius: 7px;
color: #fff;
background: rgba(0, 87, 84, .91);
font-size: 12px;
font-weight: 700;
line-height: 1.25;
}

.block {
padding: 32px 0;
}

.block-head {
display: flex;
align-items: end;
justify-content: space-between;
gap: 16px;
margin-bottom: 16px;
}

.block-head h2 {
margin-bottom: 0;
font-size: 24px;
}

.block-head .muted,
.block-head p {
margin-bottom: 0;
color: var(--muted);
font-size: 14px;
}

.block-warm {
background: var(--orange-soft);
}

.block-green {
background: var(--teal-soft);
}

.block-blue {
background: var(--blue-soft);
}

.featured-live-layout {
display: grid;
grid-template-columns: minmax(0, 1fr) 250px;
align-items: start;
gap: 22px;
}

.live-feed {
min-width: 0;
}

.filter-area {
min-width: 0;
margin-bottom: 14px;
overflow-x: auto;
scrollbar-width: thin;
}

.channel-nav,
.tabs {
display: flex;
gap: 8px;
width: max-content;
min-width: 100%;
padding-bottom: 3px;
}

.tab-button,
.channel-nav button,
.tabs button {
display: inline-flex;
flex: 0 0 auto;
align-items: center;
justify-content: center;
min-height: 32px;
padding: 6px 12px;
border: 1px solid var(--line);
border-radius: 999px;
color: var(--ink-soft);
background: #fff;
font-size: 12px;
font-weight: 720;
line-height: 1.15;
white-space: nowrap;
}

.tab-button:hover,
.channel-nav button:hover,
.tabs button:hover {
border-color: #ffc5a8;
color: var(--orange-deep);
}

.tab-button.active,
.tab-button.is-active,
.tab-button[aria-pressed="true"],
.channel-nav .active,
.channel-nav .is-active,
.channel-nav [aria-pressed="true"],
.tabs .active,
.tabs .is-active,
.tabs [aria-pressed="true"],
.filters .active,
.filters .is-active,
.filters [aria-pressed="true"] {
border-color: var(--orange);
color: #fff;
background: var(--orange);
}

.live-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 16px;
}

.live-card {
min-width: 0;
overflow: hidden;
border: 1px solid var(--line);
border-radius: var(--radius);
background: #fff;
box-shadow: var(--shadow-xs);
transition: transform .15s ease, box-shadow .15s ease;
}

.live-card:hover {
box-shadow: var(--shadow-sm);
transform: translateY(-2px);
}

.thumb-button {
position: relative;
display: block;
width: 100%;
padding: 0;
overflow: hidden;
border: 0;
border-radius: 11px;
background: #dce8e6;
text-align: left;
}

.live-card .thumb-button {
border-radius: 0;
}

.thumb {
display: block;
width: 100%;
height: auto;
aspect-ratio: 4 / 3;
object-fit: cover;
transition: transform .2s ease;
}

.thumb-button:hover .thumb {
transform: scale(1.025);
}

.play-button {
position: absolute;
top: 50%;
left: 50%;
display: flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
border-radius: 50%;
color: var(--orange);
background: rgba(255, 255, 255, .94);
box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
transform: translate(-50%, -50%) scale(.9);
opacity: 0;
transition: opacity .15s ease, transform .15s ease;
}

.play-button svg {
width: 18px;
height: 18px;
margin-left: 2px;
}

.thumb-button:hover .play-button,
.thumb-button:focus-visible .play-button {
opacity: 1;
transform: translate(-50%, -50%) scale(1);
}

.live-badge {
position: absolute;
top: 8px;
left: 8px;
display: inline-flex;
align-items: center;
min-height: 24px;
padding: 4px 7px;
border-radius: 6px;
color: #fff;
background: var(--orange);
font-size: 11px;
font-weight: 800;
line-height: 1;
}

.live-badge.teal,
.live-badge.is-teal {
background: var(--teal);
}

.live-info {
padding: 11px 12px 12px;
}

.live-info h3,
.live-info .live-title {
display: -webkit-box;
margin-bottom: 5px;
overflow: hidden;
color: var(--ink);
font-size: 15px;
line-height: 1.35;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
line-clamp: 2;
}

.live-info .meta,
.live-info .hostline,
.live-info small {
color: var(--muted);
font-size: 12px;
line-height: 1.45;
}

.live-info .hostline {
margin-top: 3px;
}

.community-aside {
display: grid;
gap: 14px;
}

.notice-card,
.community-aside .panel,
.panel {
padding: 18px;
border: 1px solid var(--line);
border-radius: var(--radius);
background: #fff;
box-shadow: var(--shadow-xs);
}

.notice-card {
border-top: 3px solid var(--teal);
}

.notice-card h3,
.community-aside h3,
.panel h3 {
margin-bottom: 9px;
font-size: 16px;
}

.notice-card p,
.community-aside p,
.panel p {
color: var(--ink-soft);
font-size: 13px;
}

.notice-card ul,
.community-aside ul,
.panel ul {
margin: 0;
padding: 0;
list-style: none;
}

.notice-card li,
.community-aside li,
.panel li {
padding: 7px 0;
border-bottom: 1px dashed var(--line);
color: var(--ink-soft);
font-size: 12px;
line-height: 1.45;
}

.notice-card li:last-child,
.community-aside li:last-child,
.panel li:last-child {
border-bottom: 0;
}

.notice-card a,
.community-aside a,
.panel a {
color: var(--teal-deep);
}

.topic-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 14px;
}

.topic-card {
min-width: 0;
padding: 18px;
border: 1px solid var(--line);
border-radius: var(--radius);
background: #fff;
box-shadow: var(--shadow-xs);
transition: transform .15s ease, border-color .15s ease;
}

.topic-card:hover {
border-color: #ffbd9c;
transform: translateY(-2px);
}

.topic-card h3 {
margin-bottom: 6px;
font-size: 17px;
}

.topic-card p {
margin-bottom: 0;
color: var(--ink-soft);
font-size: 14px;
}

.interest-strip {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 12px;
}

.interest-tile {
position: relative;
min-height: 126px;
padding: 17px;
overflow: hidden;
border: 1px solid rgba(255, 255, 255, .9);
border-radius: var(--radius);
background: #fff3e7;
}

.interest-tile:nth-child(2n) {
background: #e8f7f5;
}

.interest-tile:nth-child(3n) {
background: #eef3ff;
}

.interest-tile:nth-child(4n) {
background: #fff7df;
}

.interest-tile .number,
.interest-tile .label {
display: block;
margin-bottom: 15px;
color: var(--orange-deep);
font-size: 11px;
font-weight: 850;
letter-spacing: .08em;
}

.interest-tile h3 {
margin-bottom: 4px;
font-size: 16px;
}

.interest-tile p {
margin-bottom: 0;
color: var(--ink-soft);
font-size: 12px;
}

.community-pulse {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 16px;
}

.pulse-card {
display: grid;
grid-template-columns: 118px minmax(0, 1fr);
overflow: hidden;
border: 1px solid var(--line);
border-radius: var(--radius);
background: #fff;
box-shadow: var(--shadow-xs);
}

.pulse-card > img,
.pulse-card .pulse-image {
width: 100%;
height: 100%;
min-height: 118px;
aspect-ratio: 1 / 1;
object-fit: cover;
}

.pulse-body {
min-width: 0;
padding: 14px;
}

.pulse-body h3 {
margin-bottom: 6px;
font-size: 16px;
}

.pulse-body p {
display: -webkit-box;
margin-bottom: 0;
overflow: hidden;
color: var(--ink-soft);
font-size: 13px;
line-height: 1.5;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
line-clamp: 3;
}

.rank-snapshot {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 11px;
}

.rank-snapshot > * {
display: flex;
align-items: center;
gap: 10px;
min-width: 0;
padding: 11px;
border: 1px solid var(--line);
border-radius: 10px;
background: #fff;
}

.rank-snapshot img,
.rank-snapshot .avatar {
flex: 0 0 40px;
width: 40px;
height: 40px;
border-radius: 50%;
object-fit: cover;
}

.rank-snapshot .rank-no,
.rank-snapshot .number {
color: var(--orange);
font-size: 19px;
font-weight: 850;
}

.rank-snapshot h3,
.rank-snapshot p {
margin: 0;
}

.rank-snapshot h3 {
overflow: hidden;
font-size: 14px;
text-overflow: ellipsis;
white-space: nowrap;
}

.rank-snapshot p {
color: var(--muted);
font-size: 11px;
}

.chip-row,
.chips {
display: flex;
gap: 8px;
overflow-x: auto;
padding: 2px 0 5px;
scrollbar-width: thin;
}

.chip,
.chips a,
.chips button {
display: inline-flex;
flex: 0 0 auto;
align-items: center;
min-height: 27px;
padding: 4px 9px;
border: 1px solid var(--line);
border-radius: 999px;
color: var(--ink-soft);
background: #fff;
font-size: 11px;
font-weight: 700;
white-space: nowrap;
}

.replay-layout {
display: grid;
grid-template-columns: 230px minmax(0, 1fr);
align-items: start;
gap: 22px;
}

.replay-layout > aside,
.replay-layout .replay-aside {
min-width: 0;
}

.replay-log,
.replay-strip {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 14px;
}

.replay-note {
display: grid;
grid-template-columns: 120px minmax(0, 1fr);
gap: 12px;
min-width: 0;
padding: 10px;
border: 1px solid var(--line);
border-radius: var(--radius);
background: #fff;
box-shadow: var(--shadow-xs);
}

.replay-note img {
width: 120px;
height: 80px;
border-radius: 8px;
object-fit: cover;
}

.replay-note h3 {
margin-bottom: 4px;
font-size: 14px;
}

.replay-note p,
.replay-note small {
margin-bottom: 0;
color: var(--muted);
font-size: 11px;
line-height: 1.4;
}

/* 通用内页：不隐藏说明正文，采用轻色内容引导。 */
.breadcrumb {
border-bottom: 1px solid var(--line);
background: #fff;
}

.breadcrumb .wrap {
display: flex;
flex-wrap: wrap;
gap: 8px;
padding-top: 12px;
padding-bottom: 12px;
color: var(--muted);
font-size: 12px;
}

.breadcrumb a {
color: var(--teal-deep);
}

.page-hero {
padding: 25px 0;
background: var(--teal-soft);
}

.page-hero.orange,
.page-hero.is-orange {
background: var(--orange-soft);
}

.page-hero.blue,
.page-hero.is-blue {
background: var(--blue-soft);
}

.page-hero-inner {
display: grid;
grid-template-columns: minmax(0, 1fr) 240px;
align-items: center;
gap: 28px;
}

.page-intro h1 {
margin-bottom: 5px;
font-size: 22px;
}

.page-title {
margin-bottom: 9px;
font-size: 30px;
}

.page-intro p {
max-width: 780px;
margin-bottom: 0;
color: var(--ink-soft);
font-size: 15px;
line-height: 1.75;
}

.page-image {
width: 100%;
max-height: 200px;
border-radius: var(--radius);
object-fit: cover;
box-shadow: var(--shadow-xs);
}

.split {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 22px;
}

.panel {
padding: 22px;
}

.panel > img:not(.qr),
.panel > picture > img {
width: 100%;
height: auto;
aspect-ratio: 16 / 10;
margin-bottom: 16px;
border-radius: 9px;
object-fit: cover;
}

.panel h2,
.panel h3 {
margin-bottom: 9px;
}

.panel .qr,
.qr {
width: 96px;
height: 96px;
aspect-ratio: 1 / 1;
object-fit: contain;
}

.host-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 16px;
}

.host-card {
display: flex;
gap: 13px;
min-width: 0;
padding: 18px;
border: 1px solid var(--line);
border-radius: var(--radius);
background: #fff;
box-shadow: var(--shadow-xs);
}

.host-card > img,
.host-card .portrait {
flex: 0 0 64px;
width: 64px;
height: 64px;
border-radius: 50%;
object-fit: cover;
}

.host-copy {
min-width: 0;
}

.host-copy h3 {
margin-bottom: 4px;
font-size: 18px;
}

.host-copy p {
margin-bottom: 4px;
color: var(--ink-soft);
font-size: 13px;
line-height: 1.45;
}

.host-copy small {
display: block;
color: var(--muted);
font-size: 12px;
line-height: 1.4;
}

.leaderboard {
display: grid;
gap: 10px;
}

.leader-row {
display: grid;
grid-template-columns: 32px minmax(0, 1fr) auto;
align-items: center;
gap: 10px;
padding: 12px 14px;
border: 1px solid var(--line);
border-radius: 10px;
background: #fff;
}

.rank-no {
color: var(--orange);
font-size: 20px;
font-weight: 850;
line-height: 1;
}

.leader-copy {
min-width: 0;
}

.leader-copy h3 {
margin: 0 0 2px;
font-size: 15px;
}

.leader-copy p {
margin: 0;
color: var(--muted);
font-size: 12px;
}

.rank-meter,
.leader-row progress {
display: block;
width: 100%;
height: 5px;
margin-top: 6px;
overflow: hidden;
appearance: none;
border: 0;
border-radius: 999px;
background: var(--teal-soft);
}

.rank-meter::-webkit-progress-bar,
.leader-row progress::-webkit-progress-bar {
background: var(--teal-soft);
}

.rank-meter::-webkit-progress-value,
.leader-row progress::-webkit-progress-value {
border-radius: 999px;
background: var(--teal);
}

.rank-meter::-moz-progress-bar,
.leader-row progress::-moz-progress-bar {
border-radius: 999px;
background: var(--teal);
}

.app-layout {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
align-items: center;
gap: 36px;
}

.app-shot {
width: 100%;
max-width: 420px;
height: auto;
margin: 0 auto;
object-fit: contain;
}

.partner-wall {
display: grid;
grid-template-columns: repeat(6, minmax(0, 1fr));
gap: 10px;
}

.partner-wall > * {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 7px;
min-height: 96px;
padding: 10px;
border: 1px solid var(--line);
border-radius: 10px;
background: #fff;
text-align: center;
}

.partner-wall img,
.partner-wall .partner-logo {
width: 32px;
height: 32px;
object-fit: contain;
}

.partner-wall span,
.partner-wall strong {
font-size: 13px;
line-height: 1.2;
}

.step-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 16px;
}

.step-grid > * {
padding: 16px;
border: 1px solid var(--line);
border-radius: var(--radius);
background: #fff;
}

.step-grid img {
width: 100%;
max-width: 190px;
height: auto;
aspect-ratio: 16 / 10;
margin: 0 auto 12px;
border-radius: 8px;
object-fit: cover;
}

.reviews .review-grid,
.review-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 16px;
}

.review {
display: flex;
align-items: flex-start;
gap: 10px;
padding: 16px;
border: 1px solid var(--line);
border-radius: var(--radius);
background: #fff;
}

.review > img,
.review .avatar {
flex: 0 0 32px;
width: 32px;
height: 32px;
border-radius: 50%;
object-fit: cover;
}

.review p {
margin: 0;
color: var(--ink-soft);
font-size: 14px;
line-height: 1.65;
}

.faq {
display: grid;
gap: 10px;
}

.faq details {
padding: 16px;
border: 1px solid var(--line);
border-radius: 10px;
background: #fff;
}

.faq summary {
color: var(--ink);
font-size: 15px;
font-weight: 750;
cursor: pointer;
}

.faq details p {
margin: 10px 0 0;
color: var(--ink-soft);
font-size: 14px;
}

/* 内容列表、问答与文章页面。 */
.news-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 16px;
}

.news-card {
min-width: 0;
overflow: hidden;
border: 1px solid var(--line);
border-radius: var(--radius);
background: #fff;
box-shadow: var(--shadow-xs);
}

.news-card > img,
.news-card > a > img,
.news-card .news-image {
width: 100%;
height: auto;
aspect-ratio: 16 / 10;
object-fit: cover;
}

.news-copy {
padding: 13px 14px 15px;
}

.news-copy h3 {
margin-bottom: 6px;
font-size: 16px;
}

.news-copy p {
display: -webkit-box;
margin-bottom: 0;
overflow: hidden;
color: var(--ink-soft);
font-size: 13px;
line-height: 1.55;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
line-clamp: 3;
}

.qa-list {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 14px;
}

.qa-card {
display: flex;
align-items: flex-start;
gap: 12px;
min-width: 0;
padding: 17px;
border: 1px solid var(--line);
border-radius: var(--radius);
background: #fff;
box-shadow: var(--shadow-xs);
}

.qa-card .rank-no {
flex: 0 0 27px;
font-size: 20px;
}

.qa-card h3 {
margin-bottom: 5px;
font-size: 16px;
}

.qa-card p {
margin: 0;
color: var(--ink-soft);
font-size: 13px;
}

.article-layout {
display: grid;
grid-template-columns: minmax(0, 1fr) 260px;
align-items: start;
gap: 28px;
}

.article-main {
min-width: 0;
padding: clamp(20px, 3vw, 34px);
border: 1px solid var(--line);
border-radius: var(--radius);
background: #fff;
box-shadow: var(--shadow-xs);
}

.article-main h1 {
margin-bottom: 8px;
font-size: 22px;
}

.article-title {
margin-bottom: 12px;
font-size: 28px;
}

.article-main > img,
.article-main > figure > img {
width: 100%;
max-width: 420px;
height: auto;
margin: 18px auto;
border-radius: 10px;
object-fit: cover;
}

.article-body {
max-width: 780px;
}

.article-body h2,
.article-body h3 {
margin: 24px 0 10px;
font-size: 21px;
}

.article-body p,
.article-main > p {
color: var(--ink-soft);
font-size: 16px;
line-height: 1.9;
}

.article-sidebar {
display: grid;
gap: 14px;
}

.sidebox,
.article-sidebar > * {
padding: 18px;
border: 1px solid var(--line);
border-radius: var(--radius);
background: #fff;
box-shadow: var(--shadow-xs);
}

.sidebox h2,
.sidebox h3,
.article-sidebar h2,
.article-sidebar h3 {
margin-bottom: 8px;
font-size: 16px;
}

.sidebox p,
.article-sidebar p,
.sidebox li,
.article-sidebar li {
color: var(--ink-soft);
font-size: 13px;
}

.room-panel {
display: grid;
grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
gap: 22px;
align-items: start;
}

.room-panel .thumb-button {
max-height: 400px;
}

.room-panel .thumb {
aspect-ratio: 4 / 3;
}

.playlist {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin: 12px 0;
}

.playlist button,
.playlist a {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 32px;
padding: 6px 11px;
border: 1px solid var(--line);
border-radius: 999px;
color: var(--orange-deep);
background: #fff;
font-size: 12px;
font-weight: 700;
}

.playlist button.active,
.playlist button[aria-pressed="true"],
.playlist a.active {
border-color: var(--orange);
color: #fff;
background: var(--orange);
}

.chapter-list {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
padding: 20px;
border: 1px solid var(--line);
border-radius: var(--radius);
background: #fff;
}

.chapter-list > * {
padding: 10px;
border-radius: 8px;
background: var(--mist);
font-size: 13px;
}

/* 页脚、手机底部导航与弹层。 */
.site-footer {
border-top: 1px solid var(--line);
background: #fff;
}

.footer-columns {
display: grid;
grid-template-columns: 1.25fr repeat(3, 1fr);
gap: 24px;
padding: 34px 0 20px;
}

.footer-logo {
display: inline-flex;
align-items: center;
gap: 10px;
margin-bottom: 10px;
}

.footer-logo img {
width: 42px;
height: 42px;
object-fit: contain;
}

.footer-logo strong {
font-size: 22px;
letter-spacing: -.06em;
}

.footer-column h2 {
margin-bottom: 11px;
font-size: 15px;
}

.footer-column p {
color: var(--ink-soft);
font-size: 13px;
}

.footer-list,
.footer-column ul {
display: flex;
flex-direction: column;
gap: 6px;
margin: 0;
padding: 0;
list-style: none;
}

.footer-list a,
.footer-column li,
.footer-column a {
color: var(--ink-soft);
font-size: 13px;
line-height: 1.45;
}

.footer-list a:hover,
.footer-column a:hover {
color: var(--orange-deep);
}

.footer-contact,
.footer-contact a {
overflow-wrap: anywhere;
}

.qr-grid {
display: grid;
grid-template-columns: repeat(2, 80px);
gap: 10px;
}

.qr-grid img {
width: 80px;
height: 80px;
aspect-ratio: 1 / 1;
object-fit: contain;
}

.share-buttons {
display: flex;
flex-wrap: wrap;
gap: 7px;
}

.share-buttons button,
.share-buttons a {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 30px;
padding: 5px 9px;
border: 1px solid var(--line);
border-radius: 7px;
color: var(--ink-soft);
background: #fff;
font-size: 11px;
}

.share-buttons button:hover,
.share-buttons a:hover {
border-color: #ffbd9c;
color: var(--orange-deep);
}

.footer-disclaimer {
padding-top: 16px;
border-top: 1px solid var(--line);
color: var(--muted);
font-size: 11px;
line-height: 1.7;
}

.footer-meta {
display: flex;
flex-wrap: wrap;
gap: 8px 16px;
padding: 14px 0 20px;
color: var(--muted);
font-size: 12px;
}

.app-tabbar {
display: none;
}

.video-dialog {
width: 92vw;
max-width: 820px;
padding: 0;
border: 0;
border-radius: var(--radius);
background: #fff;
box-shadow: var(--shadow-md);
}

.video-dialog::backdrop {
background: rgba(18, 35, 36, .68);
}

.dialog-inner {
position: relative;
padding: 20px;
}

.dialog-inner .close,
.video-dialog .close {
position: absolute;
z-index: 2;
top: 9px;
right: 9px;
display: flex;
align-items: center;
justify-content: center;
width: 34px;
height: 34px;
padding: 0;
border: 1px solid var(--line);
border-radius: 50%;
color: var(--ink-soft);
background: #fff;
}

.dialog-inner .close svg,
.video-dialog .close svg {
width: 22px;
height: 22px;
}

.video-dialog video {
display: block;
width: 100%;
max-height: 55vh;
border-radius: 8px;
background: #192a2b;
object-fit: contain;
}

#toast,
.toast {
position: fixed;
z-index: 100;
right: 24px;
bottom: 24px;
display: none;
max-width: min(360px, calc(100vw - 48px));
padding: 11px 14px;
border: 1px solid var(--line);
border-radius: 10px;
color: var(--ink-soft);
background: #fff;
box-shadow: var(--shadow-md);
font-size: 13px;
opacity: 0;
transform: translateY(5px);
transition: opacity .15s ease, transform .15s ease;
}

#toast.is-visible,
#toast.visible,
#toast.show,
.toast.is-visible,
.toast.visible,
.toast.show {
display: block !important;
opacity: 1;
transform: translateY(0);
}

/* 介于宽屏和手机之间，优先保持水平头部到 1000px。 */
@media (max-width: 1200px) {
.header-inner {
gap: 8px;
}

.brand,
.site-brand {
flex-basis: 190px;
}

.header-nav {
gap: 2px;
}

.header-nav a {
gap: 3px;
padding-right: 3px;
padding-left: 3px;
font-size: 13px;
}

.header-nav a svg {
width: 18px;
height: 18px;
}

.community-pulse {
grid-template-columns: repeat(2, minmax(0, 1fr));
}

.partner-wall {
grid-template-columns: repeat(5, minmax(0, 1fr));
}
}

@media (max-width: 1000px) {
.site-header {
min-height: 58px;
}

.header-inner {
position: relative;
min-height: 58px;
}

.brand,
.site-brand {
flex: 0 1 auto;
}

.brand-icon,
.brand-iconlogo {
width: 34px;
height: 34px;
}

.brand-text strong {
font-size: 18px;
}

.nav-toggle {
display: inline-flex;
}

.header-nav {
position: absolute;
top: calc(100% - 1px);
right: 0;
left: 0;
display: none;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 6px;
padding: 12px 24px 14px;
border-top: 1px solid var(--line);
border-bottom: 1px solid var(--line);
background: #fff;
box-shadow: var(--shadow-sm);
}

.site-header.is-open .header-nav {
display: grid;
}

.header-nav a {
justify-content: flex-start;
min-height: 39px;
padding: 8px 10px;
font-size: 14px;
}

.header-nav a svg {
width: 22px;
height: 22px;
}

.header-action {
display: none;
}

.featured-live-layout,
.replay-layout {
grid-template-columns: 1fr;
}

.replay-layout > aside,
.replay-layout .replay-aside {
display: none;
}

.footer-columns {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}

@media (max-width: 760px) {
html {
scroll-padding-top: 108px;
}

body {
padding-bottom: 76px;
}

.wrap {
width: min(100% - 24px, 1280px);
}

.header-inner {
gap: 8px;
}

.brand-text small {
display: none;
}

.search-bar > .wrap {
min-height: 44px;
}

.header-note {
display: none;
}

.search-form input {
height: 30px;
}

.community-hero {
padding: 12px 0 8px;
}

.community-hero-grid {
grid-template-columns: 1fr;
gap: 10px;
min-height: 0;
}

.community-intro {
min-height: 0;
padding: 20px;
}

.community-title {
margin-bottom: 8px;
font-size: 24px;
}

.community-intro p {
margin-bottom: 12px;
}

.community-metrics {
margin-top: 13px;
}

.community-metrics > * {
padding: 6px;
}

.community-visual {
max-height: none;
}

.community-visual img {
height: 160px;
aspect-ratio: auto;
}

.block {
padding: 24px 0;
}

.block-head {
align-items: start;
flex-direction: column;
gap: 5px;
margin-bottom: 13px;
}

.block-head h2 {
font-size: 20px;
}

.block-head .muted,
.block-head p {
font-size: 13px;
}

.live-grid,
.topic-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
}

.live-info {
padding: 9px 10px 10px;
}

.live-info h3,
.live-info .live-title {
font-size: 14px;
}

.play-button {
opacity: 1;
transform: translate(-50%, -50%) scale(1);
}

.community-aside {
display: none;
}

.interest-strip {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 9px;
}

.interest-tile {
min-height: 108px;
padding: 13px;
}

.interest-tile .number,
.interest-tile .label {
margin-bottom: 10px;
}

.community-pulse {
grid-template-columns: 1fr;
gap: 10px;
}

.pulse-card {
grid-template-columns: 104px minmax(0, 1fr);
}

.pulse-card > img,
.pulse-card .pulse-image {
min-height: 104px;
}

.rank-snapshot {
grid-template-columns: 1fr;
}

.replay-log,
.replay-strip {
display: flex;
gap: 10px;
overflow-x: auto;
padding-bottom: 4px;
scrollbar-width: thin;
}

.replay-note {
flex: 0 0 80vw;
}

.breadcrumb .wrap {
padding-top: 9px;
padding-bottom: 9px;
}

.page-hero {
padding: 20px 0;
}

.page-hero-inner,
.split,
.app-layout,
.room-panel,
.article-layout {
grid-template-columns: 1fr;
gap: 16px;
}

.page-title {
font-size: 24px;
}

.page-image {
height: 150px;
max-height: none;
}

.panel {
padding: 18px;
}

.host-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
}

.host-card {
flex-direction: column;
padding: 14px;
}

.partner-wall {
grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-grid,
.reviews .review-grid,
.review-grid {
grid-template-columns: 1fr;
gap: 10px;
}

.news-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
}

.news-copy {
padding: 10px;
}

.news-copy h3,
.qa-card h3 {
font-size: 15px;
}

.qa-list,
.chapter-list {
grid-template-columns: 1fr;
gap: 10px;
}

.qa-card {
padding: 14px;
}

.article-main {
padding: 20px;
}

.article-title {
font-size: 23px;
}

.article-body p,
.article-main > p {
font-size: 16px;
}

.article-sidebar {
grid-template-columns: 1fr;
}

.site-footer {
padding-bottom: 0;
}

.footer-columns {
gap: 22px 16px;
padding: 26px 0 16px;
}

.app-tabbar {
position: fixed;
z-index: 70;
right: 0;
bottom: 0;
left: 0;
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
height: calc(62px + env(safe-area-inset-bottom, 0px));
padding-bottom: env(safe-area-inset-bottom, 0px);
border-top: 1px solid var(--line);
background: rgba(255, 255, 255, .98);
box-shadow: 0 -4px 15px rgba(21, 65, 63, .06);
}

.app-tabbar a {
display: grid;
align-content: center;
justify-items: center;
gap: 2px;
min-width: 0;
color: var(--muted);
font-size: 10px;
font-weight: 680;
line-height: 1.15;
}

.app-tabbar svg {
width: 22px;
height: 22px;
}

.app-tabbar a.active,
.app-tabbar a[aria-current="page"] {
color: var(--orange);
}

#toast,
.toast {
right: 12px;
bottom: 90px;
max-width: calc(100vw - 24px);
}

.dialog-inner {
padding: 16px;
}
}

@media (max-width: 410px) {
.brand-text strong {
font-size: 17px;
}

.header-nav {
padding-right: 12px;
padding-left: 12px;
}

.community-metrics strong,
.community-metrics b {
font-size: 13px;
}

.footer-columns {
grid-template-columns: 1fr;
}

.host-grid {
grid-template-columns: 1fr;
}
}

@media (prefers-reduced-motion: reduce) {
html {
scroll-behavior: auto;
}

*,
*::before,
*::after {
scroll-behavior: auto !important;
transition-duration: .01ms !important;
animation-duration: .01ms !important;
animation-iteration-count: 1 !important;
}
}

/* 实际搜索字段是label+input+文字按钮，禁止flex挤成竖排。 */
.search-form label {
flex: 0 0 auto;
width: auto;
min-width: 48px;
font-size: 12px;
white-space: nowrap;
}
.search-form input {
flex: 1 1 0;
width: 0;
min-width: 0;
}
.search-form button {
flex: 0 0 60px;
width: 60px;
min-width: 60px;
white-space: nowrap;
font-size: 13px;
}
@media(max-width:700px) {
.search-form { gap: 6px; }
.search-form label { min-width: 44px; font-size: 11px; }
.search-form button { flex-basis: 48px; width: 48px; min-width: 48px; }
.community-intro { padding: 16px; }
.community-intro h1 { margin-bottom: 6px; }
.community-intro .kicker { margin-bottom: 6px; font-size: 10px; }
.community-intro p { font-size: 13px; line-height: 1.6; margin-bottom: 10px; }
.community-metrics { display: none; }
.community-visual,
.community-visual > img { height: 128px; min-height: 0; }
.community-visual > img { width: 100%; object-fit: cover; }
.home-page .featured-live-layout { margin-top: 0; }
.home-page .block-head { gap: 8px; }
}
