.dish-videos {
  --dv-ink:#173f39; --dv-accent:#185746; --dv-muted:#52685f; --dv-rule:#d4dcd2;
  --dv-paper:#fffefa; --dv-sage:#eef3eb;
  color:var(--dv-ink); min-width:0; margin-block:12px;
  font-family:"Microsoft YaHei",system-ui,sans-serif;
}
.dish-videos *, .dish-videos *::before, .dish-videos *::after { box-sizing:border-box; }
.dish-videos [hidden] { display:none !important; }
.dish-videos .dv-panel { overflow:hidden; border:1px solid #bacdc0; border-radius:13px; background:var(--dv-paper); }
.dish-videos summary { cursor:pointer; }
.dish-videos .dv-panel > summary { display:flex; align-items:center; gap:10px; background:var(--dv-sage); padding:10px 14px; min-height:48px; font-size:16px; font-weight:650; list-style:none; }
.dish-videos .dv-panel > summary::-webkit-details-marker { display:none; }
.dish-videos .dv-brand-icon { width:28px; height:28px; border-radius:8px; background:var(--dv-ink); color:white; display:grid; place-items:center; font:18px/1 system-ui; }
.dish-videos .dv-panel > summary small { margin-left:auto; font-weight:500; font-size:12px; color:var(--dv-muted); }
.dish-videos .dv-panel > summary small::after { content:"⌄"; margin-left:6px; }
.dish-videos .dv-panel[open] > summary small::after { content:"⌃"; }
.dish-videos .dv-body { display:grid; gap:11px; min-width:0; padding:clamp(8px,2vw,15px); border-top:1px solid var(--dv-rule); container-type:inline-size; }
.dish-videos .dv-body input, .dish-videos .dv-body select, .dish-videos .dv-body button {
  font:500 14px/1.4 "Microsoft YaHei",system-ui,sans-serif; color:var(--dv-ink);
  min-width:0; min-height:40px; padding:8px 10px; border:1px solid var(--dv-rule);
  border-radius:8px; background:var(--dv-paper); margin:0;
}
.dish-videos .dv-body button { font-weight:600; cursor:pointer; }
.dish-videos .dv-body button:disabled { opacity:.55; cursor:default; }
.dish-videos .dv-body button:not(:disabled):hover { border-color:#6e9582; }
.dish-videos .dv-body a { color:var(--dv-accent); font-size:13px; text-decoration:underline; text-underline-offset:3px; }
.dish-videos :focus-visible { outline:3px solid #b47b2e; outline-offset:-2px; }
.dish-videos .dv-search { display:grid; gap:8px; }
.dish-videos .dv-query { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:6px; }
.dish-videos .dv-query input { width:100%; }
.dish-videos .dv-query button, .dish-videos .dv-body .dv-primary { background:var(--dv-ink); color:white; border-color:var(--dv-ink); }
.dish-videos .dv-query button { padding-inline:15px; }
.dish-videos .dv-feedback { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:4px 10px; }
.dish-videos .dv-feedback button { border:0; background:transparent; padding:4px 0; min-height:32px; color:var(--dv-accent); }
.dish-videos .dv-feedback:has(.dv-status:empty) { display:none; }
.dish-videos .dv-body .dv-filters { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto; gap:6px; align-items:center; }
.dish-videos .dv-body .dv-filters select { width:100%; margin:0; }
.dish-videos .dv-filters, .dish-videos .dv-links, .dish-videos .dv-save, .dish-videos .dv-external, .dish-videos .dv-paste > div {
  display:flex; flex-wrap:wrap; gap:7px; align-items:center;
}
.dish-videos .dv-filters select { width:auto; max-width:100%; background:#f7f8f2; }
.dish-videos .dv-filters button { margin-left:auto; border-color:transparent; color:var(--dv-accent); background:transparent; }
.dish-videos .dv-tabs { display:flex; border-bottom:1px solid var(--dv-rule); gap:18px; }
.dish-videos .dv-tabs button {
  border:0; border-bottom:2px solid transparent; border-radius:0; padding:5px 1px;
  background:transparent; font-size:14px; color:var(--dv-muted);
}
.dish-videos .dv-tabs button[aria-pressed=true] { color:var(--dv-ink); border-bottom-color:var(--dv-accent); }
.dish-videos .dv-body .dv-status, .dish-videos .dv-info p {
  margin:0; color:var(--dv-muted); font-size:13px; line-height:1.6; overflow-wrap:anywhere;
}
.dish-videos .dv-feed { min-width:0; display:grid; gap:0; overflow:hidden; border:1px solid var(--dv-rule); border-radius:10px; background:#fafbf6; }
.dish-videos .dv-stage { display:grid; min-width:0; align-items:start; grid-template-columns:minmax(0,1fr); }
.dish-videos .dv-watch { min-width:0; display:flex; justify-content:center; align-items:start; }
.dish-videos .dv-viewer {
  position:static; inset:auto; width:100%; max-width:none; max-height:none;
  padding:0; margin:0; border:0; background:transparent; color:inherit;
}
.dish-videos .dv-screen { display:flex; flex-direction:column; align-items:center; gap:6px; }
.dish-videos .dv-body .dv-fullscreen { min-height:44px; padding-inline:16px; }
.dish-videos .dv-viewer:modal {
  position:fixed; inset:0; width:100%; height:100%; height:100dvh;
  overflow:hidden; overscroll-behavior:contain; background:#000;
}
.dish-videos .dv-viewer::backdrop { background:#000; }
.dish-videos .dv-viewer:modal .dv-screen {
  width:100%; height:100%; gap:0; padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
  background:#000;
}
.dish-videos .dv-viewer:modal .dv-player { flex:1; min-height:0; width:100%; border-radius:0; background:#000; }
.dish-videos .dv-viewer:modal .dv-player::before { display:none; }
.dish-videos .dv-viewer:modal .dv-fullscreen {
  flex:none; margin:4px; color:#fff; background:#292929; border-color:#666;
}
.dish-videos .dv-player {
  --dv-ratio:1.77778; --dv-max-height:min(64dvh,600px);
  position:relative; isolation:isolate; overflow:hidden; flex:none;
  width:min(100%, calc(var(--dv-max-height) * var(--dv-frame-ratio,var(--dv-ratio))));
  scroll-margin-block-start:clamp(52px,8vh,80px);
  background:radial-gradient(ellipse at 50% 20%,#285247,#132e29 75%);
  border-radius:8px;
}
.dish-videos .dv-player::before { content:""; display:block; padding-bottom:calc(100% / var(--dv-frame-ratio,var(--dv-ratio))); }
.dish-videos .dv-player iframe, .dish-videos .dv-player img { position:absolute; inset:0; display:block; border:0; width:100%; height:100%; }
.dish-videos [data-provider=douyin] .dv-player > iframe {
  inset:auto; top:50%; left:50%; width:var(--dv-native-width); height:var(--dv-native-height);
  max-width:none; max-height:none; transform-origin:center;
  transform:translate(-50%,-50%) scale(var(--dv-scale,1));
}
.dish-videos [data-provider=douyin] .dv-player { background:#13231f; }
.dish-videos .dv-player img { object-fit:contain; opacity:.63; }
.dish-videos .dv-player .dv-play {
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); white-space:nowrap;
  display:inline-flex; align-items:center; justify-content:center; min-height:44px; text-decoration:none;
  border:1px solid #90b5a3; border-radius:24px; padding:10px 16px; color:white; background:#173b32f2;
}
.dish-videos .dv-info { display:grid; align-content:start; gap:9px; min-width:0; padding:13px; overflow-wrap:anywhere; }
.dish-videos .dv-meta { display:flex; gap:7px; color:var(--dv-muted); font-size:12px; line-height:1.6; align-items:baseline; flex-wrap:wrap; }
.dish-videos .dv-meta span:first-child { background:#e4eee4; color:#285e46; border-radius:4px; padding:2px 7px; font-weight:650; }
.dish-videos .dv-info .dv-title { color:#193c35; font-size:clamp(17px,2.8vw,22px); line-height:1.4; letter-spacing:0; font-family:"Songti SC","SimSun",serif; }
.dish-videos .dv-format { margin-top:1px; }
.dish-videos .dv-format label { display:inline-flex; align-items:center; gap:7px; font-size:12px; color:var(--dv-muted); font-weight:500; }
.dish-videos .dv-format select { min-height:34px; padding:4px 6px; width:auto; font-size:13px; }
.dish-videos .dv-info .dv-help { color:#52655a; font-size:12px; }
.dish-videos .dv-links { gap:13px; }
.dish-videos .dv-links button, .dish-videos .dv-links a { display:inline-flex; align-items:center; min-height:32px; font-size:13px; }
.dish-videos .dv-links button { background:transparent; border:0; border-radius:0; padding:0; color:var(--dv-accent); text-decoration:underline; text-underline-offset:3px; }
.dish-videos .dv-save button { min-height:43px; }
.dish-videos .dv-info .dv-report-note { font-size:12px; color:var(--dv-muted); }
.dish-videos .dv-feed .dv-pager {
  display:grid; grid-template-columns:auto minmax(40px,1fr) auto; align-items:center; gap:5px;
  padding:8px 10px; border-block:1px solid var(--dv-rule); background:#eff4eb; touch-action:pan-x; user-select:none;
}
.dish-videos .dv-pager button { display:inline-flex; align-items:center; justify-content:center; gap:6px; font-size:13px; min-height:38px; padding:5px 10px; background:var(--dv-paper); }
.dish-videos .dv-pager button span { font:22px/1 system-ui; }
.dish-videos .dv-pager output { display:grid; gap:1px; text-align:center; color:var(--dv-accent); font:600 13px/1.4 system-ui; font-variant-numeric:tabular-nums; }
.dish-videos .dv-list { display:grid; max-height:230px; overflow:auto; padding:3px; scrollbar-width:thin; scrollbar-color:#b4c9ba transparent; }
.dish-videos .dv-list .dv-row {
  display:grid; grid-template-columns:25px minmax(0,1fr) auto; align-items:center; gap:8px;
  width:100%; min-height:43px; padding:6px 9px; text-align:left; border:1px solid transparent; background:transparent; border-radius:6px;
}
.dish-videos .dv-row + .dv-row { border-top-color:#e6eae2; }
.dish-videos .dv-row[aria-pressed=true] { background:#e2ece0; }
.dish-videos .dv-row .dv-number { font-size:12px; font-weight:650; color:var(--dv-muted); font-variant-numeric:tabular-nums; }
.dish-videos .dv-row[aria-pressed=true] .dv-number { color:#186044; }
.dish-videos .dv-row .dv-list-title { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; color:var(--dv-ink); font-size:13px; }
.dish-videos .dv-row small { font-size:11px; font-weight:500; color:var(--dv-muted); }
.dish-videos .dv-external { gap:6px 13px; }
.dish-videos .dv-external:empty { display:none; }
.dish-videos .dv-external a { display:inline-flex; align-items:center; min-height:34px; }
.dish-videos .dv-paste { border-top:1px solid var(--dv-rule); }
.dish-videos .dv-paste > summary { width:fit-content; min-height:40px; padding-block:10px; font-size:14px; }
.dish-videos .dv-paste input { flex:1 1 100%; width:100%; }
.dish-videos .dv-stage { padding:10px; }
.dish-videos .dv-info { padding:12px 0 2px; }
@container (min-width:430px) {
  .dish-videos [data-orientation=compact] .dv-stage { grid-template-columns:minmax(0,.97fr) minmax(0,1fr); align-items:center; gap:clamp(12px,3cqi,25px); }
  .dish-videos [data-orientation=compact] .dv-info { padding:8px 5px 8px 0; }
  .dish-videos [data-orientation=compact] .dv-watch { justify-content:flex-end; }
}
@container (min-width:730px) {
  .dish-videos [data-orientation=wide] .dv-stage { grid-template-columns:minmax(0,1.65fr) minmax(0,1fr); align-items:center; gap:16px; }
  .dish-videos [data-orientation=wide] .dv-info { padding:8px 3px 8px 0; }
}
@container (max-width:310px) {
  .dish-videos .dv-filters button { margin-left:0; padding:3px 5px; }
  .dish-videos .dv-filters { gap:4px; }
  .dish-videos .dv-filters select { padding:6px 3px; font-size:13px; }
  .dish-videos .dv-query button { padding:7px; }
}
@media (pointer:coarse) {
  .dish-videos .dv-pager output::after { content:"上下滑动"; font-size:10px; font-weight:500; }
  .dish-videos .dv-filters select,.dish-videos .dv-pager button { min-height:44px; }
}

.rv-shelf {
  display:grid; gap:16px; margin:0 0 18px; min-width:0;
  color:#143e38; container-type:inline-size;
}
.rv-group { min-width:0; overflow:hidden; border:1px solid #ccdad3; border-radius:12px; background:#fffefa; }
.rv-system { background:#f3f7f2; border-color:#bdd0c5; }
.rv-heading { display:flex; gap:12px; align-items:center; justify-content:space-between; padding:13px 16px; }
.rv-system .rv-heading { background:#143e38; color:#fffaf0; }
.rv-community .rv-heading { border-bottom:1px solid #dee5dc; }
.rv-shelf .rv-heading h3 { margin:0; font:650 17px/1.45 "Microsoft YaHei",system-ui,sans-serif; color:inherit; }
.rv-count { font-size:12px; font-variant-numeric:tabular-nums; opacity:.8; }
.rv-row { display:flex; gap:12px; align-items:center; justify-content:space-between; padding:13px 0; margin:0 16px; }
.rv-row + .rv-row { border-top:1px solid #d8e4da; }
.rv-info { display:grid; gap:5px; min-width:0; overflow-wrap:anywhere; }
.rv-title { font-size:15px; line-height:1.5; color:#163e36; }
.rv-meta { display:flex; align-items:center; flex-wrap:wrap; gap:3px 8px; font-size:12px; line-height:1.5; color:#546b60; }
.rv-provider { font-weight:650; }
.rv-preferred { border-radius:4px; padding:1px 5px; color:#714c12; background:#f6e8c6; }
.rv-shelf .rv-empty { margin:0; padding:13px 16px; font-size:14px; line-height:1.6; color:#52685e; }
.rv-shelf button,.rv-tools button { cursor:pointer; font:600 14px/1.4 "Microsoft YaHei",system-ui,sans-serif; }
.rv-shelf .rv-play {
  display:inline-flex; gap:7px; align-items:center; justify-content:center; flex:none;
  min-height:42px; padding:8px 13px; color:#174d42; background:#fffefa;
  border:1px solid #a6c1b2; border-radius:8px; white-space:nowrap;
}
.rv-play::before { content:""; border:5px solid transparent; border-right:0; border-left:7px solid currentColor; }
.rv-tools { display:flex; flex-wrap:wrap; gap:8px; }
.rv-community .rv-tools { padding:4px 16px 14px; }
.rv-tools button { min-height:42px; padding:8px 14px; color:#174d42; background:#fffefa; border:1px solid #a6c1b2; border-radius:8px; }
.rv-tools .rv-search { color:#fffaf0; background:#15483e; border-color:#15483e; }
.rv-shelf button:hover,.rv-tools button:hover { box-shadow:0 0 0 1px #497764; }
.rv-shelf button:focus-visible,.rv-tools button:focus-visible { outline:3px solid #bd913e; outline-offset:2px; }
.rv-drafts { display:grid; gap:4px; padding:0; margin:12px 0; list-style:none; }
.rv-drafts li { display:flex; align-items:center; justify-content:space-between; gap:10px; border-bottom:1px solid #d8e4da; padding:6px 0; }
.rv-drafts li span { overflow-wrap:anywhere; font-size:14px; }
@media (pointer:coarse) { .rv-shelf .rv-play,.rv-tools button { min-height:44px; } }
@container (max-width:335px) {
  .rv-row { margin-inline:10px; gap:6px; }
  .rv-shelf .rv-play { padding-inline:9px; }
}

