/* Desktop newspaper-style shell — no third-party CSS. */

/* Scroll only on html — overflow on both html+body causes a flash scrollbar on reflow */
html {
  overflow-x: clip;
  overflow-y: auto;
  scrollbar-gutter: stable;
}
html, body.v2-pc {
  --v2-pc-title-color: #1a1a1a;
  --v2-pc-text-color: #333333;
  --v2-pc-meta-color: #666666;
  --v2-pc-card-bg: #ffffff;
  --v2-pc-page-bg: #f3f1ec;
  --v2-pc-border-color: #dddddd;
  --v2-pc-link-color: #0677d6;
  --v2-pc-card-bg-alpha: 0.55;
  --v2-pc-card-bg-alpha-pct: 55%;
  --v2-pc-border-alpha: 1;
  --v2-pc-border-alpha-pct: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 4px;
  padding-left: max(4px, env(safe-area-inset-left, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  color: var(--v2-pc-text-color, #333);
  font: calc(16px * var(--v2-pc-font-scale, 1)) / 1.35 Helvetica, Arial, sans-serif;
  background: var(--v2-pc-page-bg, #f3f1ec);
  min-height: 100%;
  -webkit-text-size-adjust: 100%;
}
body.v2-pc {
  /* clip (not hidden) so absolute/fixed popovers are not forced into a short scroll box */
  overflow-x: clip;
  overflow-y: visible;
}
.v2-pc .ul_customstyle {
  display: block;
  list-style: none;
  margin: 0;
  padding: 0;
}
.v2-pc .ul_customstyle > li {
  display: inline-block;
  margin: 0 0.25rem 0 0;
  vertical-align: middle;
}
.v2-pc select {
  font: inherit;
  max-width: 16rem;
}
.v2-pc #content_container,
.v2-pc #content {
  width: auto !important;
  max-width: 100%;
  box-sizing: border-box;
  overflow: visible;
  padding-right: max(3.25rem, env(safe-area-inset-right, 0px)); /* room for right toolbar */
}
.v2-pc #content {
  padding-left: 10px;
}

.v2-pc .v2-pc-topbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0;
}

.v2-pc .v2-pc-brand {
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.v2-pc .v2-pc-switch {
  font-size: 0.85rem;
  color: #0677d6;
}

.v2-pc .v2-pc-setting-brand {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.v2-pc .v2-pc-setting-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e5e5e5;
}

.v2-pc .v2-pc-btn {
  font: inherit;
  font-size: 0.8rem;
  padding: 0.25rem 0.6rem;
  cursor: pointer;
}
.v2-pc .v2-pc-btn.v2-pc-btn-ico,
.v2-pc .v2-pc-dialog-title {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.v2-pc svg.v2-pc-btn-ico {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  display: block;
}
.v2-pc .v2-pc-dialog-title {
  font-weight: 600;
  gap: 0.4rem;
}
.v2-pc .v2-pc-dialog-title > svg.v2-pc-btn-ico {
  width: 1.15em;
  height: 1.15em;
  opacity: 0.9;
}
.v2-pc .v2-pc-layout-select {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
}
.v2-pc .v2-pc-layout-select select {
  font: inherit;
  font-size: 0.8rem;
  padding: 0.2rem 0.35rem;
}

.v2-pc .v2-pc-options-dialog {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 4vh 1rem 2rem;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.35);
}
.v2-pc .v2-pc-options-dialog.pkhide[hidden],
.v2-pc .v2-pc-options-dialog.pkhide {
  display: none !important;
}
.v2-pc .v2-pc-options-panel {
  width: min(34rem, 94vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  text-align: left;
  overflow: hidden;
}
.v2-pc .v2-pc-options-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e5e5e5;
  flex: 0 0 auto;
}
.v2-pc .v2-pc-dialog-close {
  min-width: 2rem;
  padding: 0.15rem 0.45rem;
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 500;
}
.v2-pc .v2-pc-settings-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  padding: 0.45rem 0.75rem 0;
  border-bottom: 1px solid #e5e5e5;
  flex: 0 0 auto;
  background: #fafafa;
}
.v2-pc .v2-pc-settings-tab {
  font: inherit;
  font-size: 0.82rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid transparent;
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  background: transparent;
  color: #555;
  cursor: pointer;
}
.v2-pc .v2-pc-settings-tab:hover {
  color: #111;
  background: #f0f0f0;
}
.v2-pc .v2-pc-settings-tab.is-active {
  color: #0677d6;
  font-weight: 600;
  background: #fff;
  border-color: #e5e5e5;
  margin-bottom: -1px;
  padding-bottom: calc(0.4rem + 1px);
}
.v2-pc .v2-pc-options-body {
  padding: 0.85rem 1rem 1.1rem;
  overflow: auto;
  flex: 1 1 auto;
  -webkit-overflow-scrolling: touch;
}
.v2-pc .v2-pc-settings-panel[hidden],
.v2-pc .v2-pc-settings-panel:not(.is-active) {
  display: none !important;
}
.v2-pc .v2-pc-settings-panel.is-active {
  display: block;
}
.v2-pc .v2-pc-about-line {
  margin: 0.4rem 0 0.75rem;
  font-size: 0.9rem;
  line-height: 1.4;
}
.v2-pc .v2-pc-about-line a {
  color: #0677d6;
  word-break: break-all;
}
.v2-pc .v2-pc-danger {
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #c0392b;
  border-radius: 4px;
  background: #fdecea;
  color: #7b1e1e;
  font-size: 0.82rem;
  line-height: 1.4;
  font-weight: 600;
}
.v2-pc .v2-pc-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.35;
  min-height: 8rem;
  resize: vertical;
  white-space: pre;
}
.v2-pc .v2-pc-options-foot {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-top: 1px solid #e5e5e5;
  flex: 0 0 auto;
  background: #fafafa;
}
.v2-pc .v2-pc-options-body h3,
.v2-pc .v2-pc-options-panel h3 {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
}
.v2-pc .v2-pc-radio {
  display: block;
  margin: 0.35rem 0;
  font-size: 0.82rem;
  line-height: 1.35;
  cursor: pointer;
}
.v2-pc .v2-pc-check {
  display: block;
  margin: 0.35rem 0;
  font-size: 0.82rem;
  line-height: 1.35;
  cursor: pointer;
}
.v2-pc .v2-pc-check input {
  margin-right: 0.35rem;
  vertical-align: middle;
}
.v2-pc .v2-pc-radio code,
.v2-pc .v2-pc-check code,
.v2-pc .v2-pc-hint code {
  font-size: 0.72rem;
  word-break: break-all;
}
.v2-pc .v2-pc-cors-presets {
  margin: 0.25rem 0 0.75rem;
}
.v2-pc .v2-pc-cors-customs {
  margin: 0.5rem 0 0.75rem;
}
.v2-pc .v2-pc-cors-customs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.v2-pc .v2-pc-cors-custom-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.v2-pc .v2-pc-cors-custom-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.3rem 0;
}
.v2-pc .v2-pc-cors-custom-row .v2-pc-input {
  flex: 1;
  margin: 0;
  min-width: 0;
}
.v2-pc .v2-pc-cors-enable {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  cursor: pointer;
}
.v2-pc .v2-pc-cors-custom-row .cors-custom-del {
  flex: 0 0 auto;
  min-width: 1.75rem;
  padding: 0.2rem 0.4rem;
  line-height: 1;
  font-size: 1.1rem;
}
.v2-pc .v2-pc-cors-empty {
  margin: 0.25rem 0;
  font-size: 0.78rem;
  color: #888;
}
.v2-pc .v2-pc-input {
  width: 100%;
  box-sizing: border-box;
  margin: 0.35rem 0 0.5rem;
  padding: 0.35rem 0.5rem;
  font: inherit;
  font-size: 0.8rem;
}
.v2-pc .v2-pc-hint {
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  color: #666;
}
.v2-pc .v2-pc-clean-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0.35rem 0 0.75rem;
}
.v2-pc .v2-pc-db-size {
  font-size: 0.78rem;
  color: #555;
  white-space: nowrap;
}
.v2-pc .v2-pc-field {
  display: block;
  margin: 0.4rem 0;
  font-size: 0.82rem;
}
.v2-pc .v2-pc-field > span {
  display: block;
  margin-bottom: 0.2rem;
  color: #444;
}
.v2-pc .v2-pc-options-body h3 {
  margin-top: 0.85rem;
}
.v2-pc .v2-pc-options-body h3:first-child {
  margin-top: 0;
}
.v2-pc .v2-pc-settings-details {
  margin: 0.55rem 0 0;
  font-size: 0.86rem;
  border-top: 1px solid #ececec;
  padding-top: 0.35rem;
}
.v2-pc .v2-pc-settings-details:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.v2-pc .v2-pc-settings-details > summary {
  cursor: pointer;
  user-select: none;
  margin: 0 0 0.45rem;
  color: #333;
  font-weight: 600;
  font-size: 0.92rem;
  list-style: none;
}
.v2-pc .v2-pc-settings-details > summary::-webkit-details-marker {
  display: none;
}
.v2-pc .v2-pc-settings-details > summary::before {
  content: '▸';
  display: inline-block;
  width: 0.9em;
  color: #888;
  font-weight: 400;
}
.v2-pc .v2-pc-settings-details[open] > summary::before {
  content: '▾';
}
.v2-pc .v2-pc-feed-ctrl {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.v2-pc .v2-pc-feed-ctrl-head,
.v2-pc .v2-pc-feed-ctrl-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 5.5rem 5.5rem;
  gap: 0.35rem;
  align-items: center;
}
.v2-pc .v2-pc-feed-ctrl-head {
  font-size: 0.72rem;
  color: #777;
  padding: 0 0.15rem;
}
.v2-pc .v2-pc-feed-ctrl-head span:nth-child(2),
.v2-pc .v2-pc-feed-ctrl-head span:nth-child(3),
.v2-pc .v2-pc-feed-ctrl-row .v2-pc-feed-ctrl-tog {
  text-align: center;
  justify-self: center;
}
.v2-pc .v2-pc-feed-ctrl-list {
  max-height: 14rem;
  overflow: auto;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  background: #fafafa;
}
.v2-pc .v2-pc-feed-ctrl-row {
  padding: 0.35rem 0.45rem;
  border-bottom: 1px solid #eee;
  font-size: 0.8rem;
}
.v2-pc .v2-pc-feed-ctrl-row:last-child {
  border-bottom: 0;
}
.v2-pc .v2-pc-feed-ctrl-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.v2-pc .v2-pc-feed-ctrl-empty {
  padding: 0.65rem 0.5rem;
  color: #888;
  font-size: 0.8rem;
}

.v2-pc .v2-pc-status {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: 0.8rem;
  color: #666;
  cursor: pointer;
  text-align: left;
  max-width: min(28rem, 55vw);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.v2-pc .v2-pc-status:hover {
  color: #333;
  text-decoration: underline;
}
.v2-pc .v2-pc-status-log-panel {
  width: min(28rem, 94vw);
}
.v2-pc .v2-pc-status-log-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.v2-pc .v2-pc-status-log-list li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid #eee;
  font-size: 0.88rem;
  line-height: 1.35;
}
.v2-pc .v2-pc-status-log-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.v2-pc .v2-pc-status-log-list time {
  font-size: 0.75rem;
  color: #888;
}
.v2-pc .v2-pc-auto-refresh {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.v2-pc .v2-pc-auto-refresh-label {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.78rem;
  color: #555;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.v2-pc .v2-pc-auto-refresh-label input {
  margin: 0;
}
.v2-pc .v2-pc-btn-pending-refresh {
  font-size: 0.75rem;
  padding: 0.15rem 0.45rem;
}

/* Contain the legacy float:left on #content_navbar_filters so #container
   does not start under the nav — absolute first-row cards were covering it. */
.v2-pc .content_navbar {
  display: flow-root;
  position: relative;
  z-index: 2;
  margin-bottom: 0.45rem;
}
.v2-pc #content_navbar_filters {
  float: none !important;
  width: 100% !important;
}
.v2-pc .v2-pc-navrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
}
.v2-pc .v2-pc-nav-sep {
  color: #888;
  user-select: none;
}
.v2-pc .v2-pc-nav-select-li {
  position: relative;
  flex: 0 0 auto;
}
.v2-pc .v2-pc-nav-combo {
  position: relative;
  width: 12.5rem;
  min-width: 12.5rem;
  max-width: 12.5rem;
}
.v2-pc .v2-pc-nav-select-sr {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.v2-pc .v2-pc-nav-combo-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  font-size: 0.82rem;
  line-height: 1.2;
  padding: 0.2rem 0.4rem;
  border: 1px solid #ccc;
  border-radius: 3px;
  background: #fff;
  color: #222;
  cursor: pointer;
  text-align: left;
}
.v2-pc .v2-pc-nav-combo-btn:hover {
  border-color: #0677d6;
}
.v2-pc .v2-pc-nav-combo.is-open .v2-pc-nav-combo-btn {
  border-color: #0677d6;
  box-shadow: 0 0 0 1px rgba(6, 119, 214, 0.2);
}
.v2-pc .v2-pc-nav-combo-ico {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #555;
}
.v2-pc .v2-pc-nav-combo-ico .v2-pc-cat-ico,
.v2-pc .v2-pc-nav-combo-ico .v2-pc-cat-ico svg,
.v2-pc .v2-pc-cat-ico svg {
  width: 14px;
  height: 14px;
  display: block;
}
.v2-pc .v2-pc-nav-combo-label {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.v2-pc .v2-pc-nav-combo-caret {
  flex: 0 0 auto;
  color: #888;
  font-size: 0.7rem;
}
.v2-pc .v2-pc-nav-combo-menu {
  position: absolute;
  z-index: 50;
  left: 0;
  right: 0;
  top: calc(100% + 2px);
  margin: 0;
  padding: 0.2rem 0;
  list-style: none;
  max-height: min(18rem, 50vh);
  overflow: auto;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
.v2-pc .v2-pc-nav-combo-menu li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.45rem;
  font-size: 0.82rem;
  cursor: pointer;
}
.v2-pc .v2-pc-nav-combo-menu li:hover,
.v2-pc .v2-pc-nav-combo-menu li[aria-selected='true'] {
  background: #f0f7fc;
  color: #0677d6;
}
.v2-pc img.v2-pc-site-ico {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex: 0 0 auto;
  border-radius: 2px;
  vertical-align: -0.15em;
}
.v2-pc .rss_author .v2-pc-site-ico--author {
  margin-right: 0.35rem;
  display: inline-block;
  flex: 0 0 auto;
}
.v2-pc .v2-pc-mine-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
}
.v2-pc .v2-pc-mine-panel {
  max-width: min(40rem, 96vw);
}
.v2-pc .v2-pc-mine-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  margin-bottom: 0.5rem;
}
.v2-pc .v2-pc-mine-form .v2-pc-input {
  flex: 1 1 8rem;
  margin: 0;
  width: auto;
}
.v2-pc .v2-pc-mine-form--feed .v2-pc-input[type="url"] {
  flex: 2 1 12rem;
}
.v2-pc .v2-pc-mine-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  max-height: 12rem;
  overflow: auto;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
}
.v2-pc .v2-pc-mine-list li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.5rem;
  border-bottom: 1px solid #eee;
  font-size: 0.82rem;
}
.v2-pc .v2-pc-mine-list li:last-child {
  border-bottom: 0;
}
.v2-pc .v2-pc-mine-list .v2-pc-mine-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.v2-pc .v2-pc-mine-list .v2-pc-mine-meta {
  color: #777;
  font-size: 0.72rem;
  max-width: 40%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.v2-pc.is-mine-source #navLocaleWrap,
.v2-pc.is-mine-source #navLocaleSep,
.v2-pc.is-fav-source #navLocaleWrap,
.v2-pc.is-fav-source #navLocaleSep,
.v2-pc.is-social-source #navLocaleWrap,
.v2-pc.is-social-source #navLocaleSep {
  display: none !important;
}
.v2-pc.is-fav-source .v2-pc-auto-refresh,
.v2-pc.is-fav-source #navitem_status {
  display: none !important;
}
.v2-pc .v2-pc-fav-actions,
.v2-pc .v2-pc-social-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
}
.v2-pc .v2-pc-social-base-label {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: #555;
  white-space: nowrap;
}
.v2-pc .v2-pc-social-base-input {
  min-width: 10rem;
  max-width: 16rem;
  width: 14rem;
}
.v2-pc .v2-locale-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  max-width: 12rem;
  /* Match sibling <select> height in the nav row */
  padding: 0.1rem 0.35rem;
  font: inherit;
  font-size: inherit;
  line-height: 1.25;
  cursor: pointer;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}
.v2-pc .v2-locale-trigger:hover {
  border-color: #0677d6;
}
/* Sprite is 48×48; slot is the layout size (matches select text). */
.v2-pc .v2-flag-slot {
  display: inline-block;
  position: relative;
  width: 16px;
  height: 12px;
  overflow: hidden;
  flex-shrink: 0;
  vertical-align: middle;
}
.v2-pc .v2-flag-slot .v2-flag {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  transform: scale(calc(16 / 48));
  transform-origin: top left;
}
.v2-pc .v2-locale-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.85rem;
}
.v2-pc .v2-locale-placeholder {
  font-size: 0.85rem;
}
.v2-pc .v2-locale-caret {
  color: #666;
  font-size: 0.7rem;
}

.v2-pc .v2-locale-dialog {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.35);
}
.v2-pc .v2-locale-dialog.pkhide[hidden],
.v2-pc .v2-locale-dialog.pkhide {
  display: none !important;
}
.v2-pc .v2-locale-dialog-panel {
  background: #fff;
  border: 1px solid #bbb;
  border-radius: 8px;
  padding: 0.75rem;
  max-width: min(640px, 94vw);
  width: 100%;
  max-height: 80vh;
  overflow: auto;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}
.v2-pc .v2-locale-dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.v2-pc .v2-locale-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.v2-pc .v2-locale-grid li .v2-locale-pick {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  width: 4.5rem;
  padding: 0.25rem;
  text-decoration: none;
  color: #222;
  border: 2px solid transparent;
  border-radius: 4px;
  font-size: 0.65rem;
  text-align: center;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}
.v2-pc .v2-locale-grid li .v2-locale-pick:hover,
.v2-pc .v2-locale-grid li.is-selected .v2-locale-pick,
.v2-pc .v2-locale-grid li.pkflagico_sel .v2-locale-pick {
  border-color: #0677d6;
  background: #e8f4ff;
}
.v2-pc .v2-locale-grid .v2-flag-slot {
  width: 24px;
  height: 18px;
}
.v2-pc .v2-locale-grid .v2-flag-slot .v2-flag {
  transform: scale(calc(24 / 48));
}
.v2-pc .v2-locale-pick-name {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Masonry host (JS positions .box); briefnews overrides to normal flow */
.v2-pc #container {
  position: relative;
  z-index: 1;
  clear: both;
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: clip;
  /* Prevent unpositioned cards from spilling and flashing a page scrollbar */
  overflow-y: clip;
  --masonry-col-w: 17.5rem;
}

.v2-pc #container .box {
  float: none !important;
  width: 100%;
  max-width: 100%;
  display: block;
  margin: 0;
  padding: 8px;
  color: var(--v2-pc-text-color, #333);
  background: color-mix(
    in srgb,
    var(--v2-pc-card-bg, #fff) var(--v2-pc-card-bg-alpha-pct, 100%),
    transparent
  );
  border: 1px solid color-mix(
    in srgb,
    var(--v2-pc-border-color, #ddd) var(--v2-pc-border-alpha-pct, 100%),
    transparent
  );
  border-radius: 4px;
  box-sizing: border-box;
  cursor: pointer;
  overflow: hidden;
  word-break: break-word;
}
/*
 * Absolute + column width before JS runs so cards never stack in document flow
 * (scrollbar flash) and never paint at width:100% overlapping neighbors.
 * Hidden until .is-masonry-ready after layoutMasonry sets left/top.
 */
.v2-pc #container:not(.layout-briefnews) > .box {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--masonry-col-w);
  max-width: none;
  opacity: 0;
  pointer-events: none;
}
.v2-pc #container:not(.layout-briefnews).is-masonry-ready > .box {
  opacity: 1;
  pointer-events: auto;
}
.v2-pc #container .box {
  transition: border-color 0.45s ease, box-shadow 0.45s ease;
}
.v2-pc #container .box.is-new {
  border-color: var(--v2-pc-new-border, #22c55e);
  box-shadow: inset 0 0 0 2px var(--v2-pc-new-border, #22c55e);
}
.v2-pc #container .box img {
  max-width: 100% !important;
  height: auto !important;
  display: block;
}

.v2-pc #container .box .rss_title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--v2-pc-title-color, #1a1a1a);
}
.v2-pc #container .box .rss_title a {
  color: inherit;
  text-decoration: none;
}
.v2-pc #container .box .rss_title a:hover {
  color: var(--v2-pc-link-color, #0677d6);
}

.v2-pc #container .box .rss_desc {
  font-size: 0.9rem;
  line-height: 1.35;
  max-height: 12em;
  overflow: hidden;
  color: var(--v2-pc-text-color, #333);
}

.v2-pc #container .box .rss_desc img {
  max-width: 100%;
  height: auto;
}

.v2-pc #container .box .rss_author.text_oneline {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  overflow: hidden;
  white-space: nowrap;
  word-break: normal;
}
.v2-pc #container .box .rss_author.text_oneline .v2-pc-site-ico--author {
  margin-right: 0;
}
.v2-pc #container .box .rss_author.text_oneline .v2-pc-feed-name {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.v2-pc #container .box .text_oneline:not(.rss_author) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: break-word;
}

.v2-pc #container .box .rss_bottom,
.v2-pc #container .box .text_meta {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  color: var(--v2-pc-meta-color, #666);
}

.v2-pc .v2-pc-detail {
  position: fixed;
  top: 0;
  right: 0;
  width: min(480px, 100%);
  height: 100%;
  overflow: auto;
  color: var(--v2-pc-text-color, #333);
  background: var(--v2-pc-card-bg, #fff);
  border-left: 1px solid var(--v2-pc-border-color, #ccc);
  box-shadow: -4px 0 16px rgba(0, 0, 0, 0.12);
  z-index: 50;
  padding: 1rem;
  box-sizing: border-box;
}
.v2-pc .v2-pc-detail h2 {
  color: var(--v2-pc-title-color, #1a1a1a);
}
.v2-pc .v2-pc-detail a {
  color: var(--v2-pc-link-color, #0677d6);
}

.v2-pc .v2-pc-detail.pkhide,
.v2-pc .pkhide {
  display: none !important;
}

.v2-pc .v2-pc-detail-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin-bottom: 0.75rem;
}
.v2-pc .v2-pc-translate-target {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8rem;
}
.v2-pc .v2-pc-font-btns {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}
.v2-pc .v2-pc-page-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
}
.v2-pc .v2-pc-page-bg.pkhide,
.v2-pc .v2-pc-page-bg[hidden] {
  display: none !important;
}
.v2-pc.has-page-bg {
  background: transparent;
}
.v2-pc.has-page-bg #container.layout-briefnews .box {
  background: color-mix(
    in srgb,
    var(--v2-pc-card-bg, #fff) var(--v2-pc-card-bg-alpha-pct, 100%),
    transparent
  );
  border-bottom-color: color-mix(
    in srgb,
    var(--v2-pc-border-color, #ddd) var(--v2-pc-border-alpha-pct, 100%),
    transparent
  );
}
.v2-pc .v2-pc-theme-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}
.v2-pc .v2-pc-theme-btn.is-active {
  background: #0677d6;
  color: #fff;
  border-color: #0677d6;
}
.v2-pc .v2-pc-color {
  width: 3rem;
  height: 1.75rem;
  padding: 0;
  border: 1px solid var(--v2-pc-border-color, #ccc);
  background: transparent;
  cursor: pointer;
}
.v2-pc .v2-pc-opacity-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.v2-pc .v2-pc-opacity-row input[type="range"] {
  flex: 1 1 auto;
  min-width: 0;
}
.v2-pc .v2-pc-opacity-row .v2-pc-opacity-val {
  min-width: 2.75rem;
  text-align: right;
  font-size: 0.85rem;
  color: var(--v2-pc-meta-color, #555);
}
.v2-pc .v2-pc-bg-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 0.5rem;
  max-width: 14rem;
}
.v2-pc .v2-pc-bg-thumb {
  width: 48px;
  height: 48px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: #ddd center / cover no-repeat;
  flex: 0 0 auto;
}
.v2-pc .v2-pc-bg-thumb.is-none {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eee;
  color: #666;
  font-size: 1.1rem;
  line-height: 1;
}
.v2-pc .v2-pc-bg-thumb.is-active,
.v2-pc .v2-pc-bg-thumb:hover {
  border-color: #0677d6;
}
.v2-pc .v2-pc-bg-upload {
  display: block;
  font-size: 0.75rem;
  color: #444;
}
.v2-pc .v2-pc-bg-upload input {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.7rem;
}
.v2-pc #loadmoreajaxloader {
  text-align: center;
  padding: 1rem 0 2rem;
}
.v2-pc #tool_right_pane_ui {
  top: 2.5rem;
}
.v2-pc .v2-pc-tools-panel {
  padding: 0.4rem 0.55rem 0.65rem;
}
.v2-pc .v2-pc-tools-head {
  display: flex;
  align-items: flex-end;
  gap: 0.25rem;
  margin: 0 0 0.55rem;
  border-bottom: 1px solid #e5e5e5;
}
.v2-pc .v2-pc-tools-head .v2-pc-tools-tabs {
  flex: 1 1 auto;
  margin: 0;
  border-bottom: 0;
}
.v2-pc .v2-pc-tools-collapse {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  margin: 0 0 0.15rem;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #666;
  cursor: pointer;
}
.v2-pc .v2-pc-tools-collapse:hover {
  background: #eee;
  color: #111;
}
.v2-pc .v2-pc-tools-collapse-ico {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
  transition: transform 0.15s ease;
}
.v2-pc .v2-pc-tools-panel.is-collapsed .v2-pc-tools-collapse-ico {
  transform: rotate(180deg);
}
.v2-pc .v2-pc-tools-panel.is-collapsed {
  padding-bottom: 0.35rem;
}
.v2-pc .v2-pc-tools-panel.is-collapsed .v2-pc-tools-head {
  margin-bottom: 0;
  border-bottom: 0;
}
.v2-pc .v2-pc-tools-panel.is-collapsed .v2-pc-tools-panel-body {
  display: none !important;
}
.v2-pc .v2-pc-tools-tabs {
  display: flex;
  gap: 0.15rem;
  margin: 0 0 0.55rem;
  border-bottom: 1px solid #e5e5e5;
}
.v2-pc .v2-pc-tools-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font: inherit;
  font-size: 0.75rem;
  padding: 0.3rem 0.55rem;
  border: 1px solid transparent;
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
  background: transparent;
  color: #555;
  cursor: pointer;
}
.v2-pc .v2-pc-tools-tab:hover {
  color: #111;
  background: #f0f0f0;
}
.v2-pc .v2-pc-tools-tab.is-active {
  color: #0677d6;
  font-weight: 600;
  background: #fff;
  border-color: #e5e5e5;
  margin-bottom: -1px;
  padding-bottom: calc(0.3rem + 1px);
}
.v2-pc .v2-pc-tools-tab-ico {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  display: block;
}
.v2-pc .v2-pc-tools-panel-body[hidden],
.v2-pc .v2-pc-tools-panel-body:not(.is-active) {
  display: none !important;
}
.v2-pc .v2-pc-tools-panel-body.is-active {
  display: block;
}
.v2-pc .v2-pc-tools-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
}
.v2-pc .v2-pc-tools-row select {
  flex: 1 1 auto;
  min-width: 0;
  font: inherit;
  font-size: 0.78rem;
}
.v2-pc .v2-pc-tools-full-btn {
  display: block;
  width: 100%;
  margin: 0;
  text-align: center;
}
.v2-pc .v2-pc-tools-speak-actions {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0 0 0.55rem;
}
.v2-pc .v2-pc-tools-textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 0.55rem;
  padding: 0.4rem 0.45rem;
  font: inherit;
  font-size: 0.78rem;
  line-height: 1.35;
  resize: vertical;
  min-height: 5.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
}
.v2-pc .v2-pc-tools-textarea.pkhide,
.v2-pc .v2-pc-tools-textarea[hidden] {
  display: none !important;
}
.v2-pc .v2-pc-speak-std-only[hidden] {
  display: none !important;
}
.v2-pc .v2-pc-btn.v2-pc-speak-std-only[hidden] {
  display: none !important;
}
.v2-pc .v2-pc-speak-browser-only[hidden],
.v2-pc .v2-pc-speak-wasm-only[hidden],
.v2-pc .v2-pc-speak-none-only[hidden],
.v2-pc .v2-pc-translate-browser-only[hidden],
.v2-pc .v2-pc-translate-wasm-only[hidden] {
  display: none !important;
}
.v2-pc #wasmTranslateStatus:empty {
  display: none;
}
.v2-pc .v2-pc-wasm-tts {
  margin: 0 0 0.65rem;
  padding: 0.55rem 0.6rem;
  border: 1px solid #cfe3f7;
  border-radius: 6px;
  background: #f4f9fd;
}
.v2-pc .v2-pc-wasm-tts-actions {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0.35rem 0 0;
}
.v2-pc .v2-pc-wasm-tts-actions .v2-pc-btn-primary {
  font-weight: 600;
}
.v2-pc .v2-pc-wasm-tts-actions .v2-pc-btn-secondary {
  opacity: 0.92;
}
.v2-pc .v2-pc-model-links {
  margin: 0.35rem 0 0.15rem;
  padding: 0 0 0 1.1rem;
  font-size: 0.72rem;
  line-height: 1.35;
  max-height: 9rem;
  overflow: auto;
}
.v2-pc .v2-pc-model-links[hidden],
.v2-pc .v2-pc-model-links.pkhide {
  display: none !important;
}
.v2-pc .v2-pc-model-links a {
  color: #0b5cab;
  word-break: break-all;
}
.v2-pc .v2-pc-wasm-progress {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.35rem 0;
}
.v2-pc .v2-pc-wasm-progress[hidden],
.v2-pc .v2-pc-wasm-progress.pkhide {
  display: none !important;
}
.v2-pc .v2-pc-wasm-progress progress {
  flex: 1;
  min-width: 0;
  height: 0.65rem;
}
.v2-pc #wasmTtsStatus:empty {
  display: none;
}
.v2-pc .v2-pc-tools-range {
  display: grid;
  grid-template-columns: 3.2rem 1fr 2.4rem;
  gap: 0.35rem;
  align-items: center;
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
}
.v2-pc .v2-pc-tools-range input[type='range'] {
  width: 100%;
  min-width: 0;
}
.v2-pc .v2-pc-tools-range-val {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: #444;
}
.v2-pc .v2-pc-tools-full-btn.is-on {
  background: #e8f4ff;
  border-color: #0677d6;
  color: #0677d6;
  font-weight: 600;
}
.v2-pc .v2-pc-tools-check {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  line-height: 1.35;
  cursor: pointer;
}
.v2-pc .v2-pc-tools-check input {
  margin-top: 0.15rem;
}
.v2-pc .v2-pc-provider-block {
  margin: 0 0 0.55rem;
}
.v2-pc .v2-pc-provider-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  margin: 0;
  padding: 0.35rem 0.45rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #f7f7f7;
  font: inherit;
  font-size: 0.78rem;
  text-align: left;
  cursor: pointer;
}
.v2-pc .v2-pc-provider-toggle:hover {
  background: #eee;
}
.v2-pc .v2-pc-provider-toggle-title {
  font-weight: 600;
}
.v2-pc .v2-pc-provider-toggle-right {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
  max-width: 62%;
}
.v2-pc .v2-pc-provider-current {
  color: #555;
  font-size: 0.72rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.v2-pc .v2-pc-provider-chevron {
  width: 0.95rem;
  height: 0.95rem;
  flex: 0 0 auto;
  color: #777;
  transition: transform 0.15s ease;
}
.v2-pc .v2-pc-provider-toggle.is-open .v2-pc-provider-chevron {
  transform: rotate(180deg);
}
.v2-pc .v2-pc-provider-toggle.is-open {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.v2-pc .v2-pc-provider-body {
  margin: 0;
  padding: 0.4rem 0.45rem 0.35rem;
  border: 1px solid #ccc;
  border-top: 0;
  border-radius: 0 0 4px 4px;
  background: #fff;
}
.v2-pc .v2-pc-provider-body.pkhide[hidden],
.v2-pc .v2-pc-provider-body.pkhide {
  display: none !important;
}
.v2-pc .v2-pc-provider-group {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin: 0 0 0.35rem;
}
.v2-pc .v2-pc-provider-group .v2-pc-tools-check {
  margin-bottom: 0.1rem;
}
.v2-pc .v2-pc-provider-group .v2-pc-tools-check input:disabled + span {
  opacity: 0.45;
}
.v2-pc .v2-pc-tools-details {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
}
.v2-pc .v2-pc-tools-details > summary {
  cursor: pointer;
  user-select: none;
  margin: 0 0 0.35rem;
  color: #444;
}
.v2-pc .v2-pc-tools-details[hidden] {
  display: none !important;
}
.v2-pc .v2-pc-tools-row .v2-pc-input {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  font-size: 0.78rem;
  padding: 0.25rem 0.4rem;
}
.v2-pc .v2-pc-tools-panel .v2-pc-hint {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.35;
  color: #666;
}
.v2-pc .v2-pc-check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: flex-start;
}
.v2-pc .v2-pc-detail-bar .v2-pc-btn.is-on,
.v2-pc .v2-pc-tools-full-btn.is-on {
  background: #e8f4ff;
  border-color: #0677d6;
  color: #0677d6;
  font-weight: 600;
}
.v2-pc #tool_right_pane_ui.v2-pc-layout-panel {
  min-width: 16rem;
  max-width: min(20rem, 78vw);
}
.v2-pc .v2-pc-word-tip {
  position: fixed;
  z-index: 80;
  max-width: min(18rem, 70vw);
  padding: 0.35rem 0.55rem;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #111;
  background: rgba(255, 255, 252, 0.98);
  border: 1px solid #bbb;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  pointer-events: none;
  white-space: pre-wrap;
  word-break: break-word;
}
.v2-pc .v2-pc-translate-popup {
  position: fixed;
  z-index: 85;
  width: min(22rem, calc(100vw - 1.5rem));
  max-height: min(70vh, 28rem);
  display: flex;
  flex-direction: column;
  color: #1a1a1a;
  background: rgba(255, 255, 252, 0.98);
  border: 1px solid #bbb;
  border-radius: 6px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}
.v2-pc .v2-pc-translate-popup.pkhide,
.v2-pc .v2-pc-translate-popup[hidden] {
  display: none;
}
.v2-pc .v2-pc-translate-popup-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.55rem 0.35rem;
  border-bottom: 1px solid #e0e0e0;
  font-size: 0.78rem;
  font-weight: 600;
  color: #444;
  flex-shrink: 0;
}
.v2-pc .v2-pc-translate-popup-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.v2-pc .v2-pc-translate-popup-speak {
  font-size: 0.72rem;
  padding: 0.12rem 0.45rem;
  line-height: 1.2;
}
.v2-pc .v2-pc-translate-popup-speak.is-on {
  font-weight: 600;
}
.v2-pc .v2-pc-translate-popup-close {
  appearance: none;
  border: 0;
  background: transparent;
  color: #666;
  font-size: 1.15rem;
  line-height: 1;
  padding: 0.1rem 0.35rem;
  cursor: pointer;
  border-radius: 3px;
}
.v2-pc .v2-pc-translate-popup-close:hover {
  background: #eee;
  color: #111;
}
.v2-pc .v2-pc-translate-popup-body {
  padding: 0.55rem 0.7rem 0.75rem;
  overflow: auto;
  font-size: 0.88rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}
.v2-pc .v2-pc-translate-popup-body .v2-pc-tp-title {
  font-weight: 600;
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  line-height: 1.35;
}
.v2-pc .v2-pc-translate-popup-body .v2-pc-tp-desc {
  margin: 0;
  color: #333;
}
.v2-pc .v2-pc-translate-popup-body .v2-pc-tp-pending {
  color: #888;
  font-style: italic;
}
.v2-pc .v2-pc-translate-popup-body .v2-pc-tp-error {
  margin: 0;
  color: #a33;
  font-size: 0.88rem;
  line-height: 1.45;
  white-space: pre-wrap;
}
.v2-pc .v2-pc-translate-popup-body .v2-pc-tp-error-tip {
  margin: 0.55rem 0 0;
  color: #555;
  font-size: 0.84rem;
  line-height: 1.45;
  white-space: pre-wrap;
}
.v2-pc body.is-hover-translate,
.v2-pc.is-hover-translate {
  cursor: help;
}

.v2-pc .v2-pc-detail .body img,
.v2-pc .v2-pc-detail .v2-pc-detail-img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0.65rem 0;
  border-radius: 4px;
}
.v2-pc .v2-pc-detail-media {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0.75rem 0 0.35rem;
}
.v2-pc .v2-pc-detail-media .v2-pc-detail-img {
  margin: 0;
  width: 100%;
  background: #f3f3f3;
}
.v2-pc .v2-pc-detail .v2-pc-detail-av,
.v2-pc .v2-pc-detail .body video,
.v2-pc .v2-pc-detail .body audio {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0.65rem 0;
}
.v2-pc .v2-pc-detail .body video {
  max-height: min(50vh, 28rem);
  background: #111;
}

@media screen and (max-width: 720px) {
  .v2-pc #content_container,
  .v2-pc #content {
    padding-right: max(3rem, env(safe-area-inset-right, 0px));
  }
  .v2-pc #container.layout-briefnews {
    max-width: 100%;
  }
  .v2-pc .v2-pc-navrow {
    gap: 0.25rem;
  }
  .v2-pc .v2-pc-navrow select,
  .v2-pc .v2-locale-trigger {
    max-width: min(42vw, 11rem);
    font-size: 0.78rem;
  }
  .v2-pc .v2-pc-nav-combo {
    width: min(42vw, 11rem);
    min-width: min(42vw, 11rem);
    max-width: min(42vw, 11rem);
  }
  .v2-pc .v2-pc-nav-combo-btn {
    font-size: 0.78rem;
  }
  .v2-pc .v2-pc-status {
    font-size: 0.72rem;
    max-width: 100%;
  }
  .v2-pc #tool_right_pane_container {
    top: auto;
    bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
    right: max(4px, env(safe-area-inset-right, 0px));
  }
  .v2-pc .v2-pc-layout-panel,
  .v2-pc #tool_right_pane_ui.v2-pc-layout-panel {
    position: fixed;
    right: max(4px, env(safe-area-inset-right, 0px));
    left: auto;
    top: auto;
    bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
    min-width: 0;
    width: min(18rem, calc(100vw - 3.5rem));
    max-width: calc(100vw - 3.5rem);
    max-height: min(60vh, 24rem);
    overflow: auto;
    z-index: 40;
  }
  .v2-pc .v2-pc-detail {
    width: 100%;
    max-width: 100%;
  }
  .v2-pc .v2-pc-options-panel,
  .v2-pc .v2-pc-mine-panel {
    width: min(36rem, 96vw);
    max-height: 92vh;
  }
  .v2-pc .v2-pc-settings-tab {
    font-size: 0.75rem;
    padding: 0.35rem 0.5rem;
  }
  .v2-pc #container .box {
    padding: 0.65rem;
  }
  .v2-pc #container.layout-imagenews .v2-pc-thumb {
    max-height: 10rem;
    object-fit: cover;
  }
}

/* Right toolbar — text buttons (sprite optional; always readable) */
.v2-pc #tool_right_pane_container {
  position: fixed;
  top: 28%;
  right: 6px;
  z-index: 30;
}
.v2-pc #tool_right_pane {
  list-style: none;
  margin: 0;
  padding: 0;
}
.v2-pc #tool_right_pane > li {
  width: auto;
  height: auto;
  margin: 0 0 6px;
}
.v2-pc #tool_right_pane > li > a.v2-pc-rail-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-height: 36px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-align: center;
  text-decoration: none;
  text-indent: 0;
  font-size: 0;
  line-height: 0;
  color: #222;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}
.v2-pc #tool_right_pane > li > a.v2-pc-rail-btn:hover,
.v2-pc #tool_right_pane > li > a.v2-pc-rail-btn.is-on {
  background: #e8f4ff;
  border-color: #0677d6;
  color: #0677d6;
}
.v2-pc .v2-pc-rail-ico {
  width: 18px;
  height: 18px;
  display: block;
}
.v2-pc #container .box .rss_bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.v2-pc .v2-pc-item-when {
  flex: 1 1 auto;
  min-width: 0;
}
.v2-pc .v2-pc-item-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  flex: 0 0 auto;
}
.v2-pc .v2-pc-item-act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
  color: #555;
  cursor: pointer;
}
.v2-pc .v2-pc-item-act:hover {
  color: #0677d6;
  border-color: #cfe6fb;
  background: #f3f9ff;
}
.v2-pc .v2-pc-item-act.is-speaking {
  color: #0677d6;
  border-color: #0677d6;
  background: #e8f4ff;
}
/* Floating speech highlight — fixed small square; never mutates article text */
.v2-pc .v2-pc-speech-hl-box {
  position: fixed;
  z-index: 70;
  pointer-events: none;
  border-radius: 2px;
  background: var(--speech-hl, var(--speech-hl-default, #ffe566));
  opacity: 0.6;
  mix-blend-mode: multiply;
  box-shadow: none;
  transition: left 0.06s linear, top 0.06s linear;
  will-change: left, top;
}
.v2-pc .v2-pc-speech-hl-box.pkhide,
.v2-pc .v2-pc-speech-hl-box[hidden] {
  display: none;
}
/* Legacy mark (cleanup only if any remain from older sessions) */
.v2-pc mark.v2-pc-speech-hl {
  background: transparent !important;
  color: inherit;
  padding: 0;
  box-shadow: none;
}
.v2-pc .box.is-speech-active {
  outline: 2px solid color-mix(in srgb, var(--speech-hl, #ffe566) 70%, #0677d6);
  outline-offset: 2px;
}
.v2-pc .v2-pc-speech-hl-color {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.35rem 0 0.5rem;
  font-size: 0.9em;
}
.v2-pc .v2-pc-speech-hl-color input[type='color'] {
  width: 2rem;
  height: 1.4rem;
  padding: 0;
  border: 1px solid #ccc;
  border-radius: 3px;
  background: #fff;
  cursor: pointer;
}
.v2-pc .v2-pc-act-ico {
  width: 15px;
  height: 15px;
  display: block;
}
.v2-pc .v2-pc-act-ico-speaking .v2-pc-eq-bar {
  transform-origin: center bottom;
  animation: v2-pc-eq 0.9s ease-in-out infinite;
}
.v2-pc .v2-pc-act-ico-speaking .v2-pc-eq-bar:nth-child(2) {
  animation-delay: 0.15s;
}
.v2-pc .v2-pc-act-ico-speaking .v2-pc-eq-bar:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes v2-pc-eq {
  0%,
  100% {
    transform: scaleY(0.45);
  }
  50% {
    transform: scaleY(1);
  }
}
.v2-pc .v2-pc-layout-panel {
  position: absolute;
  right: 48px;
  top: 0;
  min-width: 9rem;
  padding: 0.5rem 0.65rem;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.v2-pc #tool_right_pane_ui.v2-pc-layout-panel {
  min-width: 15rem;
  max-width: min(18rem, 70vw);
}
.v2-pc .v2-pc-layout-title {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
}
.v2-pc .v2-pc-layout-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.v2-pc .v2-pc-layout-list li {
  margin: 0.25rem 0;
}
.v2-pc .v2-pc-layout-list a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: #222;
  font-size: 0.8rem;
  text-indent: 0;
  width: auto;
  height: auto;
  background-color: transparent;
  padding: 0.2rem 0;
}
.v2-pc .v2-pc-layout-list a.tool_right_pane_li_a_sel,
.v2-pc .v2-pc-layout-list a.is-active {
  font-weight: 700;
  color: #0677d6;
}

/* Layout modes */
.v2-pc #container.layout-briefnews {
  position: static;
  height: auto !important;
  max-width: 52rem;
  margin: 0 auto;
}
.v2-pc #container.layout-briefnews .box {
  position: static !important;
  left: auto !important;
  top: auto !important;
  width: 100% !important;
  display: block;
  border: 0;
  border-bottom: 1px solid color-mix(
    in srgb,
    var(--v2-pc-border-color, #ddd) var(--v2-pc-border-alpha-pct, 100%),
    transparent
  );
  border-radius: 0;
  margin: 0;
  padding: 0.55rem 0;
  background: color-mix(
    in srgb,
    var(--v2-pc-card-bg, #fff) var(--v2-pc-card-bg-alpha-pct, 100%),
    transparent
  );
  cursor: pointer;
}
.v2-pc #container.layout-briefnews .rss_desc {
  display: none;
}
/* Reveal body while speaking so skip-title karaoke is visible on compact rows */
.v2-pc #container.layout-briefnews .box.is-speech-active .rss_desc {
  display: block;
  margin: 0.25rem 0 0.15rem;
  max-height: 4.5em;
  font-size: 0.88rem;
  line-height: 1.35;
  overflow: hidden;
}
.v2-pc #container.layout-imagenews {
  /* column width handled by JS masonry (min 220px) */
}
.v2-pc #container.layout-imagenews .box {
  padding: 0;
  overflow: hidden;
}
.v2-pc #container.layout-imagenews .v2-pc-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #ddd;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.v2-pc #container.layout-imagenews .v2-pc-thumb--video {
  position: relative;
  background:
    linear-gradient(145deg, #2a2a2a 0%, #111 55%, #1a1a1a 100%);
}
.v2-pc #container .v2-pc-card-media {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.35rem;
  margin: 0.55rem 0 0.35rem;
  max-width: 100%;
}
.v2-pc #container .v2-pc-card-media-item {
  appearance: none;
  flex: 0 0 calc((100% - 0.7rem) / 3);
  width: calc((100% - 0.7rem) / 3);
  max-width: calc((100% - 0.7rem) / 3);
  aspect-ratio: 1 / 1;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 3px;
  overflow: hidden;
  background: #e8e8e8;
  cursor: pointer;
  position: relative;
}
.v2-pc #container .v2-pc-card-media-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.v2-pc #container .v2-pc-card-media-item.is-video,
.v2-pc #container .v2-pc-thumb--video {
  background:
    radial-gradient(circle at 35% 30%, #3a3a3a 0%, transparent 45%),
    linear-gradient(160deg, #2c2c2c, #0f0f0f 70%);
}
.v2-pc #container .v2-pc-card-media-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.55rem;
  height: 1.55rem;
  margin: 0;
  transform: translate(-42%, -50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
.v2-pc #container .v2-pc-card-media-play::before {
  content: '';
  position: absolute;
  left: 55%;
  top: 50%;
  transform: translate(-40%, -50%);
  border-style: solid;
  border-width: 0.38rem 0 0.38rem 0.62rem;
  border-color: transparent transparent transparent #222;
}
.v2-pc #container.layout-briefnews .v2-pc-card-media {
  margin: 0.35rem 0 0.25rem;
}
.v2-pc #container.layout-briefnews .v2-pc-card-media-item {
  /* Keep ~⅓ of the line card; slightly tighter on narrow rows */
  flex-basis: min(5.5rem, calc((100% - 0.7rem) / 3));
  width: min(5.5rem, calc((100% - 0.7rem) / 3));
  max-width: min(5.5rem, calc((100% - 0.7rem) / 3));
}
.v2-pc #container.layout-imagenews .rss_desc {
  display: none;
}
/* Overlay body on the image while this card is being read */
.v2-pc #container.layout-imagenews .box.is-speech-active .rss_desc {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  max-height: 5.5em;
  margin: 0;
  padding: 0.4rem 0.5rem 0.5rem;
  overflow: hidden;
  font-size: 0.82rem;
  line-height: 1.35;
  color: #111;
  background: linear-gradient(transparent, rgba(255, 255, 252, 0.96) 18%);
}
.v2-pc #container.layout-imagenews .rss_title,
.v2-pc #container.layout-imagenews .rss_author,
.v2-pc #container.layout-imagenews .rss_bottom {
  padding: 0.35rem 0.5rem;
}
