:root {
  color-scheme: light;
  --blue: #4370f5;
  --blue-hover: #315cdb;
  --blue-pale: #edf2ff;
  --page: #f5f7fd;
  --ink: #242832;
  --muted: #858b98;
  --line: #edf0f5;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--page);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 14px; line-height: 1.6; }
body.detail-open { overflow: hidden; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
button, a, input { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
button:disabled { cursor: wait; opacity: .6; }
button { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.container { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 200; background: #fff; padding: 10px 16px; border: 1px solid var(--blue); border-radius: 6px; }
.skip-link:focus { top: 10px; }

.site-header { position: sticky; top: 0; z-index: 20; height: 72px; background: #fff; border-bottom: 1px solid #e9edf6; }
.header-inner { display: flex; align-items: center; gap: 52px; height: 100%; }
.brand { flex-shrink: 0; }
.brand img { width: 162px; height: 60px; object-fit: contain; }
.main-nav { align-self: stretch; display: flex; align-items: stretch; gap: 36px; font-size: 15px; }
.main-nav a { position: relative; display: flex; align-items: center; gap: 7px; }
.main-nav a.active { color: var(--blue); font-weight: 600; }
.main-nav a.active::after { content: ""; position: absolute; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--blue); left: 0; right: 0; }
.nav-dot { width: 5px; height: 5px; background: var(--blue); border-radius: 50%; }
.header-return { display: flex; align-items: center; gap: 6px; color: #717889; margin-left: auto; font-size: 13px; white-space: nowrap; }
.header-return .icon { width: 14px; height: 14px; }
.mobile-channel-label { display: none; }
.page-main { padding-bottom: 12px; }
.breadcrumb { display: flex; gap: 12px; align-items: center; color: #9399a7; padding-block: 22px 18px; font-size: 12px; }
.breadcrumb span:last-child { color: #686f7e; }
.channel-intro { display: grid; grid-template-columns: 1fr auto; padding: 27px 30px 20px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.intro-title-row { display: flex; align-items: center; gap: 12px; }
.channel-mark { display: grid; place-items: center; color: var(--blue); width: 35px; height: 35px; border-radius: 9px; background: var(--blue-pale); }
.channel-mark .icon { width: 23px; height: 23px; }
h1 { font-size: 27px; line-height: 1.3; letter-spacing: .4px; margin: 0; font-weight: 650; }
.intro-label { color: #8d94a2; border-left: 1px solid #e3e7ef; padding-left: 12px; font-size: 12px; letter-spacing: 1px; }
.intro-heading > p { margin: 11px 0 23px; color: #747c8b; }
.content-provenance { display: flex; gap: 6px; align-items: center; align-self: start; color: #9299a7; font-size: 11px; margin-top: 10px; white-space: nowrap; }
.content-provenance > span { width: 5px; height: 5px; background: #a4aebe; border-radius: 50%; }
.search-form { grid-column: 1 / -1; display: flex; gap: 12px; align-items: center; padding: 5px 5px 5px 17px; background: #f8faff; border: 1px solid #dfe6f5; border-radius: 7px; min-height: 54px; transition: border-color .2s, box-shadow .2s; }
.search-form:focus-within { border-color: #a2b8fc; box-shadow: 0 0 0 3px #4370f50b; }
.search-icon { color: #939db1; }
.search-form input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 14px; padding: 7px 0; }
.search-form input:focus-visible { outline: 0; }
.search-form input::placeholder { color: #a0a7b6; }
.search-submit { display: flex; align-items: center; justify-content: center; gap: 12px; align-self: stretch; border: 0; padding: 0 21px; border-radius: 5px; color: #fff; background: var(--blue); white-space: nowrap; font-size: 13px; }
.search-submit:hover { background: var(--blue-hover); }
.search-submit .icon { width: 17px; height: 17px; }
.search-caption { grid-column: 1 / -1; display: flex; gap: 7px; align-items: center; margin-top: 12px; color: #939aa9; font-size: 11px; }
.search-caption .icon { width: 13px; height: 13px; }

.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 268px; gap: 24px; align-items: start; margin-top: 23px; }
.knowledge-feed { min-width: 0; }
.type-bar { display: flex; gap: 24px; align-items: center; border-bottom: 1px solid #e3e8f2; min-height: 49px; overflow-x: auto; scrollbar-width: none; }
.type-bar::-webkit-scrollbar { display: none; }
.type-tab { position: relative; flex-shrink: 0; align-self: stretch; padding: 0 1px 13px; min-height: 47px; border: 0; color: #6a7282; background: transparent; font-size: 13px; }
.type-tab:hover { color: var(--blue); }
.type-tab.active { color: var(--blue); font-weight: 600; }
.type-tab.active::after { content: ""; position: absolute; height: 3px; left: 0; right: 0; bottom: 0; border-radius: 3px 3px 0 0; background: var(--blue); }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 17px; }
.filter-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 5px 9px; border: 1px solid #dbe4ff; background: #fff; color: var(--blue); border-radius: 5px; font-size: 12px; }
.filter-chip span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filter-chip .icon { width: 13px; height: 13px; }
.reset-filters { background: transparent; border: 0; color: #8a93a4; padding: 6px; font-size: 12px; }
.reset-filters:hover { color: var(--blue); }
.feed-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 22px 0 16px; }
.feed-heading h2 { font-size: 15px; font-weight: 600; margin: 0; }
.feed-heading > span { color: #929aa9; font-size: 11px; text-align: right; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 18px; scroll-margin-top: 90px; outline: 0; }
.knowledge-card { min-width: 0; background: #fff; padding: 9px; border: 1px solid #e8edf6; border-radius: 9px; transition: transform .2s, box-shadow .2s, border-color .2s; overflow: hidden; }
.knowledge-card:hover { transform: translateY(-3px); border-color: #d7e0f5; box-shadow: 0 8px 24px #2439670a; }
.card-image-shell { position: relative; aspect-ratio: 3 / 4; border-radius: 5px; background: #edf0f8; overflow: hidden; }
.card-image-button { display: block; width: 100%; height: 100%; border: 0; padding: 0; background: transparent; }
.card-image { width: 100%; height: 100%; object-fit: contain; }
.card-open-hint { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px; background: #fffef6f2; border: 1px solid #fff; border-radius: 5px; color: #3a5278; font-size: 12px; opacity: 0; transform: translateY(5px); transition: opacity .2s, transform .2s; pointer-events: none; }
.card-open-hint .icon { width: 14px; height: 14px; }
.card-image-button:hover .card-open-hint, .card-image-button:focus-visible .card-open-hint { opacity: 1; transform: translateY(0); }
.image-fallback { position: absolute; inset: 0; padding: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; color: #7e8a9f; font-size: 12px; }
.image-fallback > .icon { width: 30px; height: 30px; color: #a6b3ca; }
.image-fallback strong { font-weight: 500; color: #586881; }
.image-fallback button { border: 1px solid #d8e0f0; border-radius: 5px; background: #fff; padding: 7px 11px; color: #536889; font-size: 12px; }
.image-fallback .fallback-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.card-info { padding: 13px 4px 2px; }
.card-type-line { display: flex; gap: 5px; align-items: center; color: #7e8daf; font-size: 10px; letter-spacing: .3px; margin-bottom: 6px; }
.card-type-line::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #9aaedc; }
.card-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-align: left; padding: 0; border: 0; background: transparent; font-size: 15px; font-weight: 600; line-height: 1.55; min-height: 46.5px; width: 100%; }
.card-title:hover { color: var(--blue); }
.card-tags { display: flex; gap: 7px; overflow: hidden; margin: 10px 0 11px; min-height: 23px; }
.card-tag { min-width: 0; border: 0; border-radius: 3px; background: #f4f6fb; color: #8a93a5; padding: 3px 6px; font-size: 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: 58%; }
.card-tag:hover { background: var(--blue-pale); color: var(--blue); }
.card-source { display: flex; gap: 5px; align-items: center; border-top: 1px solid #f0f2f7; padding-top: 10px; color: #969daa; font-size: 10px; min-height: 30px; }
.card-source > span:first-child { flex-shrink: 0; }
.card-source a, .card-source .source-title { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-source .icon { width: 11px; height: 11px; margin-left: auto; color: #a5afc0; }
.load-more-area { display: flex; align-items: center; flex-direction: column; padding: 32px 0 15px; }
.load-more { min-width: 182px; min-height: 44px; display: flex; justify-content: center; align-items: center; gap: 22px; border: 1px solid #dbe2ef; border-radius: 6px; background: #fff; color: #77849b; font-size: 13px; }
.load-more:hover { border-color: #b3c5fb; color: var(--blue); }
.load-more .icon { width: 16px; height: 16px; transform: rotate(90deg); }
.pagination-message { margin: 14px 0 0; text-align: center; color: #9ca4b3; font-size: 12px; }
.pagination-message.is-error { color: #a16049; }
.feed-state { min-height: 290px; padding: 48px 22px; background: #fff; border: 1px solid var(--line); border-radius: 9px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.feed-state > .icon { color: #adbbd7; width: 40px; height: 40px; margin-bottom: 14px; }
.feed-state h3 { font-size: 16px; font-weight: 500; margin: 0 0 8px; }
.feed-state p { color: #959eae; font-size: 13px; margin: 0; max-width: 400px; overflow-wrap: anywhere; }
.state-action { margin-top: 20px; padding: 8px 18px; color: var(--blue); border: 1px solid #d6e1ff; background: #f7f9ff; border-radius: 5px; }
.skeleton { pointer-events: none; }
.skeleton .card-image-shell, .skeleton-line { background: linear-gradient(100deg, #edf1f8 25%, #f7f9fd 45%, #edf1f8 65%); background-size: 220% 100%; animation: shimmer 1.7s ease-in-out infinite; }
.skeleton-line { height: 12px; margin: 14px 4px 10px; border-radius: 3px; }
.skeleton-line.short { width: 60%; height: 9px; margin-bottom: 18px; }

.channel-sidebar { position: sticky; top: 95px; padding-top: 0; }
.sidebar-panel { background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 23px 21px; }
.sidebar-title { display: flex; align-items: center; gap: 8px; }
.sidebar-title h2 { margin: 0; font-size: 15px; font-weight: 600; }
.section-indicator { width: 3px; height: 14px; border-radius: 2px; background: var(--blue); }
.tiny-label { margin-left: auto; color: #bcc4d2; font-size: 9px; letter-spacing: 1px; }
.sidebar-description { color: #9aa2b0; font-size: 11px; margin: 9px 0 18px; }
.topic-tags { display: flex; flex-wrap: wrap; gap: 10px 8px; }
.topic-tags button { border: 1px solid #e9edf6; background: #fbfcff; color: #78859b; border-radius: 5px; padding: 7px 10px; max-width: 100%; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; font-size: 12px; }
.topic-tags button::before { content: "#"; margin-right: 4px; color: #a1aec5; }
.topic-tags button:hover, .topic-tags button.active { border-color: #cbd9ff; background: var(--blue-pale); color: var(--blue); }
.topic-loading { color: #aab2c0; font-size: 12px; }
.reading-guide { margin-top: 18px; }
.guide-kicker { font-size: 11px; color: #8398bd; letter-spacing: 2px; }
.reading-guide h2 { font-size: 20px; line-height: 1.65; margin: 12px 0 24px; font-weight: 600; color: #3f4e69; }
.reading-guide ol { list-style: none; margin: 0; padding: 0; }
.reading-guide li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 21px; }
.reading-guide li > span { color: #b5c4e3; font-size: 12px; font-family: ui-monospace, monospace; padding-top: 1px; }
.reading-guide strong { font-size: 12px; color: #69788f; font-weight: 500; }
.reading-guide li p { font-size: 10px; color: #9aa4b5; margin: 3px 0 0; }
.guide-footer { display: flex; align-items: center; gap: 8px; border-top: 1px dashed #e6ebf5; padding-top: 17px; margin-top: 5px; color: #97a5bd; font-size: 11px; }
.guide-footer .icon { width: 16px; height: 16px; }
.sidebar-footnote { padding: 4px 5px 0; color: #a6adba; font-size: 10px; line-height: 1.9; }
.sidebar-links { display: flex; gap: 8px; padding: 1px 5px; color: #a6adba; font-size: 10px; }
.page-footer { border-top: 1px solid #e5eaf4; text-align: center; color: #aab0bc; font-size: 11px; padding: 24px 0; margin-top: 24px; }
.page-footer span { padding-inline: 8px; }
.noscript-notice { background: #fff; padding: 20px; text-align: center; color: #6a7891; }

.card-detail-dialog { width: min(1000px, calc(100% - 64px)); max-width: none; max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); padding: 0; border: 0; border-radius: 12px; color: var(--ink); background: #fff; box-shadow: 0 24px 100px #111c3a33; overflow: hidden; }
.card-detail-dialog::backdrop { background: #17223985; backdrop-filter: blur(3px); }
.detail-shell { display: flex; flex-direction: column; max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); }
.detail-header { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; padding: 11px 18px 11px 24px; border-bottom: 1px solid var(--line); }
.detail-header > span, .detail-header > div { display: flex; align-items: center; gap: 10px; }
.detail-header > span { font-size: 13px; font-weight: 500; color: #6c7c97; }
.detail-header > span .icon { color: var(--blue); width: 18px; height: 18px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 0; border-radius: 6px; background: transparent; color: #8792a5; }
.icon-button:hover { background: var(--blue-pale); color: var(--blue); }
.detail-scroll { overflow-y: auto; overscroll-behavior: contain; min-height: 260px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.detail-media { align-self: start; position: sticky; top: 0; padding: 24px; background: #f4f6fb; }
.detail-media .card-image-shell { border: 1px solid #e2e8f4; border-radius: 7px; }
.detail-image-link { display: block; width: 100%; height: 100%; }
.original-image-link { display: flex; justify-content: center; gap: 6px; align-items: center; color: #8997ae; margin-top: 15px; font-size: 12px; }
.original-image-link .icon { width: 14px; height: 14px; }
.detail-text { padding: 27px 27px 24px; min-width: 0; }
.detail-type { display: inline-flex; gap: 12px; align-items: center; color: var(--blue); font-size: 12px; }
.detail-type small { font-size: 10px; color: #9ba4b5; }
.detail-text h2 { font-size: 23px; line-height: 1.5; margin: 13px 0 14px; overflow-wrap: anywhere; }
.detail-summary { font-size: 14px; line-height: 1.9; color: #798395; margin: 0 0 24px; }
.detail-section { border-top: 1px solid var(--line); padding-top: 19px; margin-top: 20px; }
.detail-section h3 { font-size: 13px; margin: 0 0 12px; color: #455574; font-weight: 600; }
.detail-points { padding-left: 17px; margin: 0; color: #7c879a; font-size: 13px; line-height: 1.95; overflow-wrap: anywhere; }
.detail-points li { padding-left: 3px; margin: 0 0 11px; }
.detail-points li::marker { color: #b5c4e3; }
.detail-points strong { color: #526581; font-weight: 600; }
.detail-evidence { border-left: 2px solid #dce5ff; padding-left: 12px; color: #959fb0; font-size: 12px; line-height: 1.9; overflow-wrap: anywhere; }
.detail-evidence p { margin: 0 0 8px; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.detail-tags .card-tag { font-size: 12px; padding: 6px 9px; max-width: 100%; }
.detail-source-link { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: #617da8; }
.detail-source-link .icon { width: 14px; height: 14px; margin-top: 4px; }
.detail-date { color: #a2aab8; font-size: 11px; margin: 7px 0 0; }
.detail-actions { display: flex; gap: 10px; margin-top: 25px; }
.action-primary, .action-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid transparent; padding: 10px 16px; border-radius: 6px; font-size: 12px; min-height: 44px; }
.action-primary { color: #fff; background: var(--blue); flex: 1; }
.action-primary:hover { color: #fff; background: var(--blue-hover); }
.action-secondary { color: #7184a4; background: #fff; border-color: #dce4f2; }
.action-secondary:hover { background: #f5f8ff; color: var(--blue); }
.detail-actions .icon { width: 15px; height: 15px; }
.detail-unavailable { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 320px; padding: 30px; }
.detail-unavailable h2 { font-size: 18px; margin: 15px 0 8px; }
.detail-unavailable p { color: #969fb0; margin: 0; }
.detail-unavailable > .icon { width: 36px; height: 36px; color: #b1c0dd; }
.detail-loading { display: flex; align-items: center; gap: 12px; justify-content: center; min-height: 320px; color: #8d9bb1; font-size: 13px; }
.spinner { display: inline-block; flex-shrink: 0; width: 17px; height: 17px; border: 2px solid #d9e2f7; border-top-color: var(--blue); border-radius: 50%; animation: spin .8s linear infinite; }
.toast { position: fixed; bottom: max(36px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); padding: 11px 21px; border-radius: 8px; background: #263655f2; color: #fff; z-index: 100; box-shadow: 0 5px 20px #1723441f; font-size: 13px; text-align: center; max-width: calc(100% - 40px); width: max-content; }
.card-detail-dialog .toast { position: absolute; bottom: 18px; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1100px) {
  .header-inner { gap: 35px; }
  .content-layout { grid-template-columns: minmax(0, 1fr) 236px; gap: 20px; }
  .type-bar { gap: 19px; }
  .sidebar-panel { padding: 21px 17px; }
  .reading-guide h2 { font-size: 18px; }
  .card-grid { gap: 16px 13px; }
  .card-title { font-size: 14px; min-height: 43.4px; }
}
@media (max-width: 1023px) {
  .content-layout { display: block; }
  .channel-sidebar { display: none; }
  .card-grid { gap: 20px; }
  .type-bar { gap: 28px; }
  .main-nav { gap: 25px; }
  .header-inner { gap: 30px; }
  .header-return { font-size: 12px; }
  .card-title { font-size: 15px; min-height: 46.5px; }
}
@media (max-width: 767px) {
  .container { width: calc(100% - 32px); }
  .site-header { height: 58px; }
  .header-inner { justify-content: space-between; gap: 0; }
  .brand img { width: 135px; height: 50px; }
  .main-nav, .header-return { display: none; }
  .mobile-channel-label { display: inline; color: #7d8aa4; font-size: 13px; border-left: 1px solid #e3e8f2; padding-left: 13px; }
  .breadcrumb { padding: 16px 0 13px; font-size: 10px; gap: 8px; }
  .channel-intro { padding: 20px 17px 16px; border-radius: 8px; position: relative; }
  .intro-title-row { gap: 9px; }
  .channel-mark { width: 29px; height: 29px; border-radius: 7px; }
  .channel-mark .icon { width: 20px; height: 20px; }
  h1 { font-size: 23px; }
  .intro-label { display: none; }
  .intro-heading > p { font-size: 11px; margin: 12px 0 19px; line-height: 1.7; }
  .content-provenance { font-size: 9px; gap: 4px; margin-top: 10px; }
  .search-form { min-height: 48px; gap: 8px; padding-left: 11px; }
  .search-icon { width: 16px; height: 16px; }
  .search-form input { font-size: 16px; width: 100%; padding: 4px 0; }
  .search-form input::placeholder { font-size: 11px; }
  .search-submit { font-size: 11px; padding: 0 13px; gap: 0; }
  .search-submit .icon { display: none; }
  .search-caption { font-size: 9px; gap: 6px; align-items: flex-start; margin-top: 11px; }
  .search-caption .icon { margin-top: 1px; width: 12px; height: 12px; }
  .content-layout { margin-top: 17px; }
  .type-bar { gap: 25px; min-height: 46px; }
  .type-tab { padding-bottom: 11px; min-height: 46px; font-size: 12px; }
  .feed-heading { padding: 18px 0 13px; }
  .feed-heading h2 { font-size: 13px; }
  .feed-heading > span { font-size: 9px; }
  .active-filters { margin-top: 13px; }
  .filter-chip { font-size: 11px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 11px; scroll-margin-top: 75px; }
  .knowledge-card { border-radius: 7px; padding: 6px; }
  .knowledge-card:hover { transform: none; box-shadow: none; }
  .card-image-shell { border-radius: 4px; }
  .card-info { padding: 10px 3px 1px; }
  .card-type-line { font-size: 9px; margin-bottom: 5px; }
  .card-title { font-size: 13px; min-height: 40.3px; }
  .card-tags { gap: 5px; margin: 8px 0 9px; min-height: 21px; }
  .card-tag { font-size: 9px; padding: 3px 4px; }
  .card-source { font-size: 9px; gap: 4px; padding-top: 8px; min-height: 28px; }
  .card-source .icon { display: none; }
  .card-open-hint { display: none; }
  .image-fallback { padding: 8px; gap: 8px; font-size: 10px; }
  .image-fallback > .icon { width: 22px; height: 22px; }
  .image-fallback button { font-size: 10px; padding: 6px 8px; }
  .load-more-area { padding-top: 25px; }
  .page-footer { margin-top: 20px; font-size: 10px; }
  .card-detail-dialog { width: 100%; height: 100%; max-height: 100%; max-height: 100dvh; margin: 0; border-radius: 0; }
  .detail-shell { height: 100%; max-height: 100%; max-height: 100dvh; padding-top: env(safe-area-inset-top); }
  .detail-header { padding: 7px 10px 7px 17px; }
  .detail-header .icon-button { width: 42px; height: 42px; }
  .detail-scroll { flex: 1; }
  .detail-grid { display: block; }
  .detail-media { position: static; padding: 18px 22px; }
  .detail-media .card-image-shell { max-width: 460px; margin-inline: auto; }
  .original-image-link { margin-top: 11px; }
  .detail-text { padding: 23px 22px calc(25px + env(safe-area-inset-bottom)); }
  .detail-text h2 { font-size: 22px; }
  .detail-actions { margin-top: 24px; }
  .detail-actions .action-primary, .detail-actions .action-secondary { min-height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
