.app-cctp-panel-content h2,
.app-cctp-panel-content h3,
.app-cctp-panel-content p { margin-top: 0; }

.app-cctp-page-heading { margin: 0 0 18px; }
.app-cctp-page-heading h2 { margin: 0 0 6px; font-size: 24px; line-height: 1.15; color: #182033; }
.app-cctp-page-heading p { margin: 0; color: #657087; line-height: 1.5; }
.app-cctp-empty-state { margin: 16px 0; padding: 18px; border-radius: 14px; background: #f5f7fa; color: #667086; text-align: center; line-height: 1.5; }

.app-cctp-menu-page { display: grid; gap: 8px; }
.app-cctp-menu-page-link {
  min-height: 52px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #e2e6ed;
  border-radius: 14px;
  background: #fff;
  color: #3366cc;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(23,34,55,.06);
}
.app-cctp-menu-page-link:visited { color: #3366cc; }
.app-cctp-menu-page-link:active { transform: translate3d(0,1px,0); }
.app-cctp-menu-page-label { min-width: 0; font-weight: 700; overflow-wrap: anywhere; }
.app-cctp-menu-page-arrow { color: #6d7688; font-size: 27px; line-height: 1; }


/* V2.1 listing/post card faithfully carried into the V3 panel shell. */
.app-cctp-v21-listing {
  --app-cctp-v21-text: #111318;
  --app-cctp-v21-muted: #687078;
  --app-cctp-v21-link: #3366cc;
  --app-cctp-v21-border: #e8eaed;
  --app-cctp-v21-radius: 7px;
  color: var(--app-cctp-v21-text);
  padding: 12px 0 34px;
}
.app-cctp-v21-listing-header { padding: 0 14px 12px; background: var(--app-cctp-panel-bg,#DEDDDE); border-bottom: 1px solid #e1e6ea; }
.app-cctp-v21-listing-tabs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; background: var(--app-cctp-panel-bg,#DEDDDE); }
.app-cctp-v21-listing-tabs a {
  min-width: 0; min-height: 40px; display: flex; align-items: center; justify-content: center;
  padding: 7px 4px; border: 1px solid #d9e0e5; border-top-color: #eef2f4; border-radius: var(--app-cctp-v21-radius);
  background: #fff; color: #0c5fb8; font-weight: 700; text-decoration: none;
  box-shadow: 3px 4px 8px rgba(42,55,68,.15), inset 0 1px #fff;
}
.app-cctp-v21-listing-tabs a.app-cctp-v21-is-active { color: #0c50a7; box-shadow: inset 3px 3px 7px rgba(60,77,92,.13), inset -3px -3px 7px #fff; }
.app-cctp-v21-listing-empty { padding: 18px; color: var(--app-cctp-v21-muted); }
.app-cctp-v21-post-list { border-top: 1px solid #75818d; }
.app-cctp-v21-post {
  position: relative; padding: 14px; scroll-margin-top: 72px;
  background: var(--app-cctp-panel-bg,#DEDDDE);
}
.app-cctp-v21-post::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 100vw; height: 2px; transform: translateX(-50%); background: #6b7280; pointer-events: none; }
.app-cctp-v21-post-header { display: flex; align-items: center; gap: 10px; }
.app-cctp-v21-post-avatar { width: 48px; height: 48px; object-fit: cover; object-position: center top; border: 1px solid #83909b; border-radius: var(--app-cctp-v21-radius); background: #f1f3f5; box-shadow: 0 2px 7px rgba(23,35,52,.24); }
.app-cctp-v21-post-identity { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; }
.app-cctp-v21-post-identity strong { font-size: 16px; }
.app-cctp-v21-post-identity span { color: #6b7280; font-size: 13px; }
.app-cctp-v21-post-title-link { margin: 0; color: var(--app-cctp-v21-text); font-size: 22px; line-height: 1.2; text-decoration: none; overflow-wrap: anywhere; }
.app-cctp-v21-post-title-link:hover { text-decoration: underline; }
.app-cctp-v21-post-reading-tools { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto; align-items: end; gap: 10px; margin: 16px 0 4px; }
.app-cctp-v21-post-font-size,
.app-cctp-v21-post-reading-mode { display: flex; align-items: center; gap: 8px; min-width: 0; color: #0b2343; font-size: 15px; font-weight: 800; }
.app-cctp-v21-post-reading-mode { justify-content: center; }
.app-cctp-v21-reading-mode-trigger { min-width: 52px; padding-inline: 10px; font-size: 23px; line-height: 1; }
.app-cctp-font-size-trigger,
.app-cctp-v21-post-save-top {
  min-height: 42px; border: 1px solid #d9e0e5; border-top-color: #eef2f4; border-radius: var(--app-cctp-v21-radius);
  padding: 7px 13px; background: #fff; color: #0b4f9f; box-shadow: 3px 4px 8px rgba(42,55,68,.14), inset 0 1px #fff;
  font: inherit; cursor: pointer;
}
.app-cctp-font-size-trigger { min-width: 88px; text-align:center; font-weight:800; }
.app-cctp-v21-post-save-top { min-width: 88px; font-weight: 750; }
.app-cctp-v21-post-save-top.app-cctp-v21-is-active { color: #0c50a7; box-shadow: inset 3px 3px 7px rgba(60,77,92,.13), inset -3px -3px 7px #fff; }
.app-cctp-v21-post-content-wrap { position: relative; display: flex; align-items: baseline; min-width: 0; gap: 5px; margin: 0; padding: 12px 0 10px; cursor: pointer; outline: none; }
.app-cctp-v21-post-content-wrap:focus-visible { outline: 2px solid #3366cc; outline-offset: 2px; border-radius: var(--app-cctp-v21-radius); }
.app-cctp-v21-post-content { display: block; flex: 1 1 auto; min-width: 0; max-height: 1.45em; margin: 0; padding: 0; overflow: hidden; color: var(--app-cctp-v21-text); font-size: var(--app-cctp-v21-reading-size,19px); line-height: 1.6; white-space: nowrap; text-overflow: ellipsis; overflow-wrap: anywhere; }
.app-cctp-v21-post-more { position: static; flex: 0 0 auto; display: inline; padding: 0; background: transparent; color: #0b4f9f; font-size: 15px; font-weight: 600; line-height: inherit; white-space: nowrap; }
.app-cctp-v21-post-more[hidden] { display: none; }
.app-cctp-v21-post-content-wrap.app-cctp-v21-is-expanded { display: block; }
.app-cctp-v21-post-content-wrap.app-cctp-v21-is-expanded .app-cctp-v21-post-content { max-height: none; overflow: visible; white-space: pre-line; }
.app-cctp-v21-post-content-wrap.app-cctp-v21-is-expanded .app-cctp-v21-post-more { display: inline-block; margin-top: 4px; color: #65676b; }

/* PATCH 67 — Reading mode is available directly on post listings. */
.app-cctp-v21-post.app-cctp-v21-reading-pages .app-cctp-v21-post-content-wrap.app-cctp-v21-is-expanded .app-cctp-v21-post-content {
  height: var(--app-cctp-v21-reading-page-height, 50dvh);
  max-height: var(--app-cctp-v21-reading-page-height, 50dvh);
  column-width: var(--app-cctp-v21-reading-page-width, 100%);
  column-gap: 0;
  column-fill: auto;
  overflow-x: hidden;
  overflow-y: hidden;
  white-space: pre-line;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
  touch-action: pan-y;
  scrollbar-width: none;
}
.app-cctp-v21-post.app-cctp-v21-reading-pages .app-cctp-v21-post-content-wrap.app-cctp-v21-is-expanded .app-cctp-v21-post-content::-webkit-scrollbar { display: none; }
.app-cctp-v21-post.app-cctp-v21-reading-pages .app-cctp-v21-post-content-wrap.app-cctp-v21-is-expanded .app-cctp-v21-post-more { margin-top: 8px; }
.app-cctp-v21-reading-page-indicator { margin: 4px 0 8px; text-align: center; color: #5f6a7e; font-size: 13px; font-weight: 700; }
.app-cctp-v21-post-media {
  display: block; width: 100vw; aspect-ratio: 4 / 3; margin: 0 calc(50% - 50vw) 10px;
  padding: 0; overflow: hidden; border: 0; border-radius: 0; background: #f0f2f5; cursor: zoom-in;
}
.app-cctp-v21-post-media:focus-visible { outline: 2px solid #3366cc; outline-offset: -2px; }
.app-cctp-v21-post-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.app-cctp-v21-post-media { position: relative; }
.app-cctp-v21-post-media-zoom {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.9); border-radius: 50%;
  background: rgba(255,255,255,.9); color: #3366cc;
  box-shadow: 2px 3px 7px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.98);
  font-size: 27px; font-weight: 700; line-height: 1;
  pointer-events: none;
}
.app-cctp-v21-post-meta { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 9px; color: #6b7280; font-size: 12px; }
.app-cctp-v21-post-actions {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  padding: 7px; border-top: 1px solid #e1e6ea; border-bottom: 1px solid #e1e6ea; background: var(--app-cctp-panel-bg,#DEDDDE);
}
.app-cctp-v21-post-action {
  min-height: 38px; border: 1px solid #dce2e6; border-top-color: #eef2f4; border-radius: var(--app-cctp-v21-radius);
  padding: 7px 0; background: #fff; color: #0b4f9f; box-shadow: 0 3px 7px rgba(42,55,68,.13), inset 0 1px #fff;
  font: inherit; font-weight: 700; cursor: pointer;
}
.app-cctp-v21-post-action.app-cctp-v21-is-active { color: #0c50a7; box-shadow: inset 3px 3px 7px rgba(60,77,92,.12), inset -3px -3px 7px #fff; }
.app-cctp-v21-post-action b { color: #0b4f9f; font: inherit; font-size: .9em; font-weight: 500; }

.app-cctp-v21-replies { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding: 4px 0 0; }
.app-cctp-v21-reply { width: 100%; box-sizing: border-box; margin: 9px 0 0; padding: 9px 11px; border: 1px solid #adb5bd; border-radius: 0; background: #dce1e5; scroll-margin-top: 72px; }
.app-cctp-v21-reply strong { font-size: 14px; }
.app-cctp-v21-more-replies { border: 0; border-radius: 0; padding: 10px 0 0; background: transparent; color: #0c5fb8; font-weight: 700; cursor: pointer; }
.app-cctp-v21-pagination { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 18px; }
.app-cctp-v21-pagination a { color: #3366cc; text-decoration: none; font-weight: 700; }
.app-cctp-v21-pagination span { color: #6b7280; }
.app-cctp-v21-image-viewer { position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: center; justify-content: center; width: 100vw; height: 100dvh; margin: 0; padding: 0; border: 0; border-radius: 0; background: #000; overflow: hidden; box-sizing: border-box; }
.app-cctp-v21-image-viewer[hidden] { display: none; }
.app-cctp-v21-image-viewer-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: #000; }
.app-cctp-v21-image-viewer-image { position: relative; z-index: 1; display: block; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 0; object-fit: contain; object-position: center center; background: #000; }
.app-cctp-v21-image-viewer-close { position: fixed; z-index: 2147483001; top: max(12px,var(--app-cctp-safe-top)); right: 12px; width: 46px; height: 46px; margin: 0; padding: 0; border: 0; border-radius: 7px; background: rgba(229,231,235,.94); color: #202124; font-size: 30px; line-height: 1; cursor: pointer; }
.app-cctp-panel.app-cctp-v21-has-image-viewer-open .app-cctp-panel-scroll { overflow: hidden; }
@media (max-width: 430px) {
  .app-cctp-v21-listing-header { padding-left: 12px; padding-right: 12px; }
  .app-cctp-v21-listing-tabs { gap: 4px; }
  .app-cctp-v21-listing-tabs a { font-size: 14px; }
  .app-cctp-v21-post { padding: 13px 12px; }
  .app-cctp-v21-post-font-size, .app-cctp-v21-post-reading-mode { gap: 6px; font-size: 13px; }
  .app-cctp-v21-post-reading-tools { grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto; gap: 7px; }
  .app-cctp-v21-reading-mode-trigger { min-width: 48px; padding-inline: 8px; }
  .app-cctp-font-size-trigger { min-width: 88px; text-align:center; font-weight:800; }
  .app-cctp-v21-post-more { font-size: 14px; }
}
@media (max-width: 390px) {
  .app-cctp-v21-listing-tabs a { font-size: 13px; }
  .app-cctp-v21-post { padding-left: 10px; padding-right: 10px; }
}


.app-cctp-account-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 2px 0 15px; }
.app-cctp-account-head h2 { margin: 0 0 3px; color: #182033; font-size: 23px; }
.app-cctp-account-head p { margin: 0; color: #737e91; font-size: 13px; }
.app-cctp-account-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; margin-bottom: 14px; }
.app-cctp-account-tabs button { min-height: 42px; border: 1px solid #dce2e9; border-radius: 11px; padding: 7px 5px; background: #fff; color: #3366cc; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.app-cctp-account-tabs button[aria-selected="true"] { border-color: #b8c9e8; background: #f3f7ff; color: #3366cc; }
.app-cctp-account-tab-panel { display: grid; gap: 8px; }
.app-cctp-account-row { min-height: 62px; display: grid; grid-template-columns: 48px minmax(0,1fr); align-items: center; gap: 11px; padding: 8px; border: 1px solid #e1e6ec; border-radius: 13px; background: #fff; color: #202b40; text-decoration: none; }
.app-cctp-account-row img { width: 48px; height: 48px; border-radius: 11px; object-fit: cover; background: #eef1f4; }
.app-cctp-account-row span { min-width: 0; display: grid; gap: 4px; }
.app-cctp-account-row strong { overflow-wrap: anywhere; }
.app-cctp-account-row small { color: #778197; }
.app-cctp-notification { display: grid; gap: 5px; padding: 12px 13px; border: 1px solid #e0e5eb; border-radius: 13px; background: #fff; color: #273249; text-decoration: none; }
.app-cctp-notification.app-cctp-is-unread { border-color: #8cd3af; background: #f1faf6; }
.app-cctp-notification span { color: #5f6a7e; font-size: 13px; line-height: 1.45; }
.app-cctp-notification small { color: #8992a2; }


.app-cctp-account-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 2px 0 15px; }
.app-cctp-account-head h2 { margin: 0 0 3px; color: #182033; font-size: 23px; }
.app-cctp-account-head p { margin: 0; color: #737e91; font-size: 13px; }
.app-cctp-account-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; margin-bottom: 14px; }
.app-cctp-account-tabs button { min-height: 42px; border: 1px solid #dce2e9; border-radius: 11px; padding: 7px 5px; background: #fff; color: #3366cc; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.app-cctp-account-tabs button[aria-selected="true"] { border-color: #b8c9e8; background: #f3f7ff; color: #3366cc; }
.app-cctp-account-tab-panel { display: grid; gap: 8px; }
.app-cctp-account-row { min-height: 62px; display: grid; grid-template-columns: 48px minmax(0,1fr); align-items: center; gap: 11px; padding: 8px; border: 1px solid #e1e6ec; border-radius: 13px; background: #fff; color: #202b40; text-decoration: none; }
.app-cctp-account-row img { width: 48px; height: 48px; border-radius: 11px; object-fit: cover; background: #eef1f4; }
.app-cctp-account-row span { min-width: 0; display: grid; gap: 4px; }
.app-cctp-account-row strong { overflow-wrap: anywhere; }
.app-cctp-account-row small { color: #778197; }
.app-cctp-notification { display: grid; gap: 5px; padding: 12px 13px; border: 1px solid #e0e5eb; border-radius: 13px; background: #fff; color: #273249; text-decoration: none; }
.app-cctp-notification.app-cctp-is-unread { border-color: #8cd3af; background: #f1faf6; }
.app-cctp-notification span { color: #5f6a7e; font-size: 13px; line-height: 1.45; }
.app-cctp-notification small { color: #8992a2; }


.app-cctp-search-summary { margin: 0 0 13px; color: #697489; font-size: 13px; }
.app-cctp-search-results { display: grid; gap: 10px; }
.app-cctp-search-result { display: grid; grid-template-columns: 88px minmax(0,1fr); gap: 11px; padding: 9px; border: 1px solid #e1e6ed; border-radius: 14px; background: #fff; color: #202b40; text-decoration: none; }
.app-cctp-search-result img { width: 88px; height: 88px; border-radius: 10px; object-fit: cover; background: #eef1f4; }
.app-cctp-search-result > span { min-width: 0; display: grid; align-content: start; gap: 4px; }
.app-cctp-search-result strong { font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.app-cctp-search-result small { color: #788298; font-size: 11px; }
.app-cctp-search-result em { max-height: 3.9em; overflow: hidden; color: #4e596e; font-size: 12px; font-style: normal; line-height: 1.3; }

/* V2.1 core Góc nhìn hierarchy inside the V3 category panels. */
.app-cctp-pillar-root {
  --app-cctp-pillar-accent: #164692;
  --app-cctp-pillar-soft: rgba(22,70,146,.08);
  display: grid;
  gap: 14px;
  padding: 12px 0 34px;
  color: #142137;
}
.app-cctp-pillar-root-chan { --app-cctp-pillar-accent: #a11526; --app-cctp-pillar-soft: rgba(161,21,38,.08); }
.app-cctp-pillar-root-com { --app-cctp-pillar-accent: #996100; --app-cctp-pillar-soft: rgba(153,97,0,.08); }
.app-cctp-pillar-root-them { --app-cctp-pillar-accent: #007052; --app-cctp-pillar-soft: rgba(0,112,82,.08); }
.app-cctp-pillar-root-pho { --app-cctp-pillar-accent: #164692; --app-cctp-pillar-soft: rgba(22,70,146,.08); }

.app-cctp-pillar-control {
  border: 1px solid #dfe4e8;
  border-left: 5px solid var(--app-cctp-pillar-accent);
  border-radius: 22px;
  background: linear-gradient(145deg,#fafbfc 0%,#eef1f3 50%,#e5e9ec 100%);
  box-shadow: -5px -5px 12px rgba(255,255,255,.9), 7px 8px 17px rgba(42,55,68,.16), inset 1px 1px 1px #fff;
  overflow: hidden;
}
.app-cctp-pillar-trigger {
  width: 100%;
  min-height: 92px;
  display: grid;
  grid-template-columns: 56px minmax(0,1fr) 66px 24px;
  align-items: center;
  gap: 11px;
  border: 0;
  padding: 12px 14px;
  background: linear-gradient(90deg,var(--app-cctp-pillar-soft),rgba(255,255,255,0) 46%);
  color: #142137;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.app-cctp-pillar-trigger[aria-expanded="true"] {
  background: linear-gradient(145deg,rgba(218,224,228,.58),rgba(250,251,252,.88));
  box-shadow: inset 3px 3px 8px rgba(82,96,108,.12), inset -3px -3px 8px rgba(255,255,255,.9);
}
.app-cctp-pillar-trigger:focus-visible,
.app-cctp-pillar-option:focus-visible,
.app-cctp-pillar-article-close:focus-visible {
  outline: 3px solid color-mix(in srgb,var(--app-cctp-pillar-accent) 28%,transparent);
  outline-offset: 3px;
}
.app-cctp-pillar-badge {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.95);
  border-radius: 50%;
  background: linear-gradient(145deg,#fbfcfd,#e5e9ec);
  color: var(--app-cctp-pillar-accent);
  box-shadow: -3px -3px 7px #fff, 4px 5px 9px rgba(43,57,70,.18), inset 1px 1px 1px #fff;
}
.app-cctp-pillar-icon { width: 27px; height: 27px; }
.app-cctp-pillar-copy { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.app-cctp-pillar-label {
  color: var(--app-cctp-pillar-accent);
  font: 600 29px/1 Georgia,serif;
  letter-spacing: -.025em;
}
.app-cctp-pillar-prompt { color: #162131; font-size: 15px; font-weight: 700; line-height: 1.2; }
.app-cctp-pillar-count {
  min-height: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-left: 1px solid #8b949d;
  color: #0a2f67;
}
.app-cctp-pillar-count strong { font: 700 25px/1 Georgia,serif; }
.app-cctp-pillar-count small { margin-top: 4px; font-size: 9px; font-weight: 800; letter-spacing: .07em; }
.app-cctp-pillar-chevron { width: 22px; height: 22px; position: relative; color: #0a2f67; }
.app-cctp-pillar-chevron::before {
  content: "›";
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%,-53%);
  font-size: 38px;
  line-height: 1;
  font-weight: 400;
}
.app-cctp-pillar-trigger[aria-expanded="true"] .app-cctp-pillar-chevron::before { content: "⌄"; font-size: 28px; transform: translate(-50%,-63%); }

.app-cctp-pillar-menu {
  overflow: hidden;
  border: 1px solid #d9dfe4;
  border-radius: 20px;
  background: linear-gradient(145deg,#fafbfc 0%,#eef1f3 48%,#e5e9ec 100%);
  box-shadow: 0 7px 20px rgba(42,55,68,.14), inset 1px 1px 1px #fff;
}
.app-cctp-pillar-option {
  min-height: 74px;
  display: grid;
  grid-template-columns: 58px minmax(0,1fr);
  align-items: center;
  gap: 13px;
  padding: 10px 16px;
  border-bottom: 1px solid #d8dde1;
  background: linear-gradient(145deg,rgba(255,255,255,.92),rgba(230,235,238,.92));
  color: #164692;
  text-decoration: none;
  box-shadow: inset 0 1px rgba(255,255,255,.88);
}
.app-cctp-pillar-option:last-of-type { border-bottom: 0; }
.app-cctp-pillar-option:active,
.app-cctp-pillar-option[aria-current="true"] { background: #e8ecef; box-shadow: inset 3px 3px 7px rgba(72,87,100,.12), inset -3px -3px 7px #fff; }
.app-cctp-pillar-option-number {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.95);
  border-radius: 50%;
  background: linear-gradient(145deg,#fbfcfd,#e1e6e9);
  color: #0b3f86;
  font-weight: 800;
  box-shadow: -2px -2px 5px #fff, 3px 4px 7px rgba(45,59,72,.18), inset 1px 1px 1px #fff;
}
.app-cctp-pillar-option-title { min-width: 0; color: #164692; font-size: 18px; line-height: 1.32; overflow-wrap: anywhere; }
.app-cctp-pillar-menu-footer { padding: 13px 12px; background: linear-gradient(180deg,#fafbfc,#e8ecef); color: #526171; font-size: 13px; text-align: center; }
.app-cctp-pillar-empty { padding: 18px; color: #677383; text-align: center; }

.app-cctp-pillar-articles { min-width: 0; }
.app-cctp-pillar-article {
  scroll-margin-top: 112px;
  border: 1px solid #d9dfe4;
  border-radius: 20px;
  padding: 18px;
  background: linear-gradient(145deg,#fafbfc 0%,#eef1f3 50%,#e5e9ec 100%);
  color: #202a35;
  box-shadow: 0 7px 20px rgba(42,55,68,.14), inset 1px 1px 1px #fff;
}
.app-cctp-pillar-article-head h2 { margin: 0 0 14px; color: var(--app-cctp-pillar-accent); font: 600 27px/1.2 Georgia,serif; }
.app-cctp-pillar-reading-size { display: flex; align-items: center; gap: 10px; margin: 0 0 15px; }
.app-cctp-pillar-reading-label { color: #18283c; font-weight: 700; }
.app-cctp-pillar-reading-size select {
  min-height: 42px;
  border: 1px solid #d2d9df;
  border-radius: 11px;
  padding: 6px 28px 6px 10px;
  background: #fff;
  color: #17365e;
  font: inherit;
  font-weight: 700;
}
 .app-cctp-pillar-reading-size .app-cctp-font-size-trigger {
  min-height: 42px;
  border: 1px solid #d2d9df;
  border-radius: 11px;
  padding: 6px 14px;
  background: #fff;
  color: #17365e;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.app-cctp-pillar-article-content { --app-cctp-pillar-reading-size: 19px; font-size: var(--app-cctp-pillar-reading-size); line-height: 1.72; overflow-wrap: anywhere; }
.app-cctp-pillar-article-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin: 20px auto 0;
  border: 1px solid #c9d1d8;
  border-radius: 50%;
  background: linear-gradient(145deg,#f9fafb,#dfe4e8);
  color: #263545;
  font: 500 30px/1 Arial,sans-serif;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(42,55,68,.14), inset 0 1px #fff;
}

@media (max-width: 430px) {
  .app-cctp-pillar-root { gap: 12px; padding-top: 10px; }
  .app-cctp-pillar-trigger { min-height: 84px; grid-template-columns: 48px minmax(0,1fr) 55px 18px; gap: 8px; padding: 10px; }
  .app-cctp-pillar-badge { width: 46px; height: 46px; }
  .app-cctp-pillar-icon { width: 24px; height: 24px; }
  .app-cctp-pillar-label { font-size: 25px; }
  .app-cctp-pillar-prompt { font-size: 12px; }
  .app-cctp-pillar-count { min-height: 46px; }
  .app-cctp-pillar-count strong { font-size: 21px; }
  .app-cctp-pillar-count small { font-size: 7px; }
  .app-cctp-pillar-option { min-height: 68px; grid-template-columns: 52px minmax(0,1fr); gap: 11px; padding: 8px 12px; }
  .app-cctp-pillar-option-number { width: 48px; height: 48px; }
  .app-cctp-pillar-option-title { font-size: 17px; }
  .app-cctp-pillar-article { padding: 16px; }
  .app-cctp-pillar-article-head h2 { font-size: 24px; }
}

@media (max-width: 359px) {
  .app-cctp-pillar-trigger { grid-template-columns: 44px minmax(0,1fr) 50px 17px; gap: 6px; padding-inline: 8px; }
  .app-cctp-pillar-badge { width: 42px; height: 42px; }
  .app-cctp-pillar-label { font-size: 23px; }
  .app-cctp-pillar-prompt { font-size: 11px; }
  .app-cctp-pillar-option { grid-template-columns: 48px minmax(0,1fr); padding-inline: 10px; }
  .app-cctp-pillar-option-number { width: 44px; height: 44px; }
  .app-cctp-pillar-option-title { font-size: 16px; }
}

/* Age root panels reuse the V2.1 Góc nhìn panel language with age-specific accents. */
.app-cctp-age-root-20 { --app-cctp-pillar-accent:#078a3d; --app-cctp-pillar-soft:rgba(7,138,61,.09); }
.app-cctp-age-root-30 { --app-cctp-pillar-accent:#5f8e0d; --app-cctp-pillar-soft:rgba(95,142,13,.09); }
.app-cctp-age-root-40 { --app-cctp-pillar-accent:#bf7000; --app-cctp-pillar-soft:rgba(191,112,0,.09); }
.app-cctp-age-root-50 { --app-cctp-pillar-accent:#ad1533; --app-cctp-pillar-soft:rgba(173,21,51,.09); }
.app-cctp-age-root-60 { --app-cctp-pillar-accent:#75452f; --app-cctp-pillar-soft:rgba(117,69,47,.09); }
.app-cctp-age-root .app-cctp-age-badge {
  overflow: hidden;
  border-radius: 15px;
  background: transparent;
  box-shadow: 0 4px 9px rgba(43,57,70,.18);
}
.app-cctp-age-badge-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.app-cctp-age-reader-eyebrow {
  margin: 0 0 6px;
  color: #637083;
  font-size: 13px;
  font-weight: 700;
}
.app-cctp-age-reader-content p { margin: 0 0 1em; }
.app-cctp-age-reader-content ul,
.app-cctp-age-reader-content ol { margin: .8em 0 1em; padding-left: 1.35em; }
.app-cctp-age-reader-content li { margin: .35em 0; }
.app-cctp-age-reader-content h2,
.app-cctp-age-reader-content h3,
.app-cctp-age-reader-content h4 { margin: 1.25em 0 .55em; line-height: 1.25; color: #163d72; }
.app-cctp-age-reader-content a { color: var(--app-cctp-link); }
.app-cctp-age-reader-note {
  margin: 18px 0 0;
  padding: 12px 13px;
  border-radius: 12px;
  background: rgba(255,255,255,.58);
  color: #667383;
  font-size: 12px;
  line-height: 1.45;
}

/* Home utility panels: Bài mới / Góp ý. Compact V2.1-style feed, 10 rows. */
.app-cctp-feed { width:100%; background:var(--app-cctp-panel-bg,#DEDDDE); color:#172233; }
.app-cctp-feed-head { padding:18px 14px 10px; background:var(--app-cctp-panel-bg,#DEDDDE); }
.app-cctp-feed-head h2 { margin:0; color:#17191c; font:700 26px/1.2 Arial,Helvetica,sans-serif; }
.app-cctp-feed-list { display:grid; }
.app-cctp-feed-item { min-width:0; border-bottom:1px solid #e3e7eb; background:var(--app-cctp-panel-bg,#DEDDDE); }
.app-cctp-feed-link {
  min-width:0;
  display:grid;
  grid-template-columns:64px minmax(0,1fr);
  gap:12px;
  padding:12px 14px;
  color:inherit;
  text-decoration:none;
}
.app-cctp-feed-thumb {
  width:64px;
  height:76px;
  overflow:hidden;
  align-self:start;
  border-radius:8px;
  background:#edf0f3;
}
.app-cctp-feed-thumb img { display:block; width:100%; height:100%; object-fit:cover; }
.app-cctp-feed-copy { min-width:0; display:grid; gap:5px; align-content:start; }
.app-cctp-feed-title-row { min-width:0; display:flex; align-items:baseline; gap:9px; }
.app-cctp-feed-title {
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--app-cctp-link);
  font-size:17px;
  line-height:1.25;
  font-weight:700;
}
.app-cctp-feed-group { flex:0 0 auto; color:var(--app-cctp-link); font-size:16px; line-height:1.2; font-weight:700; }
.app-cctp-feed-excerpt {
  min-width:0;
  display:-webkit-box;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  color:#173f79;
  font-size:16px;
  line-height:1.35;
}
.app-cctp-feed-counts { display:flex; gap:7px; color:#173f79; font-size:13px; line-height:1.3; }
.app-cctp-feed-empty { padding:18px 14px; color:#667383; }
.app-cctp-feed-link:focus-visible { outline:2px solid var(--app-cctp-link); outline-offset:-2px; }

@media (max-width:430px) {
  .app-cctp-feed-head { padding:16px 12px 8px; }
  .app-cctp-feed-head h2 { font-size:24px; }
  .app-cctp-feed-link { grid-template-columns:58px minmax(0,1fr); gap:10px; padding:11px 12px; }
  .app-cctp-feed-thumb { width:58px; height:70px; }
  .app-cctp-feed-title { font-size:16px; }
  .app-cctp-feed-group { font-size:15px; }
  .app-cctp-feed-excerpt { font-size:15px; }
}

/* TÔI từng.. opinion panel — V2.1 opinion layout inside the V3 shell. */
.app-cctp-opinion-panel { width:100%; background:#fff; color:#172233; }
.app-cctp-opinion-intro { padding:14px 14px 8px; background:#fff; }
.app-cctp-opinion-kicker {
  display:flex;
  align-items:center;
  gap:14px;
  margin:0 0 18px;
  color:#0b315f;
  font-size:18px;
  line-height:1.2;
  font-weight:800;
  letter-spacing:.01em;
}
.app-cctp-opinion-kicker::after { content:""; flex:1 1 auto; height:1px; background:#71808d; }
.app-cctp-opinion-title-row {
  width:100vw;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  padding:13px 14px;
  box-sizing:border-box;
  background:#e7e7e7;
  color:#102c54;
}
.app-cctp-opinion-heart { font-size:32px; line-height:1; font-weight:400; }
.app-cctp-opinion-title-row h2 { margin:0; font-size:24px; line-height:1.2; font-weight:800; }
.app-cctp-opinion-subtitle { margin:12px 0 14px; color:#20242a; font-size:18px; line-height:1.45; font-weight:600; }
.app-cctp-opinion-groups { display:grid; }
.app-cctp-opinion-group { --app-cctp-opinion-accent:#164692; border-top:1px solid #d7dce1; }
.app-cctp-opinion-group--chan { --app-cctp-opinion-accent:#b5263d; }
.app-cctp-opinion-group--com { --app-cctp-opinion-accent:#a06d00; }
.app-cctp-opinion-group--them { --app-cctp-opinion-accent:#157355; }
.app-cctp-opinion-group--pho { --app-cctp-opinion-accent:#164692; }
.app-cctp-opinion-group-head {
  width:100vw;
  min-height:66px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:9px;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  padding:9px 14px;
  box-sizing:border-box;
  background:#e5e5e5;
  color:#132d53;
  border-bottom:1px solid #8794a0;
}
.app-cctp-opinion-group-head strong { min-width:0; font-size:17px; line-height:1.28; font-weight:800; }
.app-cctp-opinion-share {
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:8px 13px;
  border:0;
  border-radius:24px;
  background:#fff;
  color:#123967;
  box-shadow:0 4px 10px rgba(27,48,72,.14);
  font:inherit;
  font-size:15px;
  font-weight:800;
  white-space:nowrap;
  cursor:pointer;
}
.app-cctp-opinion-share[aria-expanded="true"] { box-shadow:inset 0 2px 5px rgba(27,48,72,.13),0 2px 6px rgba(27,48,72,.10); }
.app-cctp-opinion-share:focus-visible { outline:2px solid var(--app-cctp-link); outline-offset:2px; }

.app-cctp-opinion-list { background:#fff; }
.app-cctp-opinion-item { padding:16px 14px; border-bottom:1px solid #d9dee3; background:#fff; }
.app-cctp-opinion-item p { margin:0; color:#20242a; font-size:17px; line-height:1.6; overflow-wrap:anywhere; }
.app-cctp-opinion-name { font-weight:500; }
.app-cctp-opinion-empty { margin:0; padding:16px 14px; color:#667383; font-size:14px; }

@media (max-width:430px) {
  .app-cctp-opinion-intro { padding-inline:12px; }
  .app-cctp-opinion-title-row { padding-inline:12px; }
  .app-cctp-opinion-kicker { font-size:16px; }
  .app-cctp-opinion-title-row h2 { font-size:22px; }
  .app-cctp-opinion-subtitle { font-size:17px; }
  .app-cctp-opinion-group-head { gap:7px; padding-inline:11px; }
  .app-cctp-opinion-group-head strong { font-size:15px; }
  .app-cctp-opinion-share { min-height:44px; padding:7px 11px; font-size:14px; }
  .app-cctp-opinion-item { padding:15px 12px; }
  .app-cctp-opinion-item p { font-size:16px; }
}

/* PATCH 43 — page controls keep #999999 bottom-right relief, with a small blur on the main shadow edge. */
.app-cctp-v21-listing-tabs a,
.app-cctp-font-size-trigger,
.app-cctp-v21-post-save-top,
.app-cctp-v21-post-action,
.app-cctp-account-tabs button,
.app-cctp-pillar-article-close {
  border: 1px solid var(--app-cctp-form-border, #d4d8dc);
  background: var(--app-cctp-form-control, #f8f8f6);
  box-shadow:
    4px 4px 3px #999999,
    5px 6px 7px rgba(51,51,51,.16),
    inset 0 1px 0 rgba(255,255,255,.98);
}

.app-cctp-v21-listing-tabs a:active,
.app-cctp-font-size-trigger:active,
.app-cctp-v21-post-save-top:active,
.app-cctp-v21-post-action:active,
.app-cctp-account-tabs button:active,
.app-cctp-pillar-article-close:active,
.app-cctp-v21-listing-tabs a.app-cctp-v21-is-active,
.app-cctp-v21-post-save-top.app-cctp-v21-is-active,
.app-cctp-v21-post-action.app-cctp-v21-is-active,
.app-cctp-account-tabs button[aria-selected="true"] {
  box-shadow:
    inset 0 2px 4px rgba(47,57,67,.12),
    inset 0 -1px 0 rgba(255,255,255,.92),
    2px 2px 2px rgba(51,51,51,.08);
}

.app-cctp-font-size-trigger:focus-visible,
.app-cctp-v21-post-save-top:focus-visible,
.app-cctp-v21-post-action:focus-visible,
.app-cctp-account-tabs button:focus-visible {
  outline: 3px solid var(--app-cctp-form-focus, rgba(124,157,188,.22));
  outline-offset: 2px;
}


/* PATCH 60 — shared V3 font-size Push Panel. */
.app-cctp-font-size-panel { padding: 18px 18px calc(28px + env(safe-area-inset-bottom)); }
.app-cctp-font-size-list { display: grid; gap: 10px; }
.app-cctp-font-size-option {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 18px;
  border: 1px solid var(--app-cctp-form-border, #d4d8dc);
  border-radius: 16px;
  background: var(--app-cctp-form-control, #f8f8f6);
  color: #17365e;
  box-shadow: 4px 4px 3px #999999, 5px 6px 7px rgba(51,51,51,.16), inset 0 1px 0 rgba(255,255,255,.98);
  font: inherit;
  font-size: 20px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}
.app-cctp-font-size-check {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  border: 2px solid #aab2ba;
  border-radius: 50%;
  color: transparent;
  font-size: 19px;
  line-height: 1;
}
.app-cctp-font-size-option.app-cctp-is-selected { color: var(--app-cctp-link, #3366cc); }
.app-cctp-font-size-option.app-cctp-is-selected .app-cctp-font-size-check {
  border-color: var(--app-cctp-link, #3366cc);
  background: var(--app-cctp-link, #3366cc);
  color: #fff;
}
.app-cctp-font-size-option:active {
  box-shadow: inset 0 2px 4px rgba(47,57,67,.12), inset 0 -1px 0 rgba(255,255,255,.92), 2px 2px 2px rgba(51,51,51,.08);
}
.app-cctp-font-size-option:focus-visible,
.app-cctp-font-size-trigger:focus-visible {
  outline: 3px solid var(--app-cctp-form-focus, rgba(124,157,188,.22));
  outline-offset: 2px;
}

/* Reading mode control + chooser. */
.app-cctp-pillar-reading-size {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 10px;
}
.app-cctp-reading-control-group {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.app-cctp-reading-mode-trigger {
  min-width: 58px;
  min-height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #d2d9df;
  border-radius: 11px;
  padding: 6px 12px;
  background: #fff;
  color: #17365e;
  font: 800 18px/1 Arial,sans-serif;
  cursor: pointer;
  box-shadow:
    4px 4px 6px rgba(153,153,153,.55),
    inset 0 1px 0 rgba(255,255,255,.98);
}
.app-cctp-reading-mode-trigger:active {
  transform: translate(1px,1px);
  box-shadow:
    2px 2px 4px rgba(153,153,153,.45),
    inset 0 1px 0 rgba(255,255,255,.98);
}
.app-cctp-reading-mode-panel { padding: 18px 18px calc(28px + env(safe-area-inset-bottom)); }
.app-cctp-reading-mode-list { display: grid; gap: 12px; }
.app-cctp-reading-mode-option {
  min-height: 72px;
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 1px solid #d4d8dc;
  border-radius: 16px;
  padding: 10px 14px;
  background: #fff;
  color: #17365e;
  font: 800 18px/1.2 Arial,sans-serif;
  text-align: left;
  cursor: pointer;
  box-shadow:
    4px 4px 6px rgba(153,153,153,.55),
    inset 0 1px 0 rgba(255,255,255,.98);
}
.app-cctp-reading-mode-option-icon { font-size: 28px; text-align: center; }
.app-cctp-reading-mode-check {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 2px solid #aeb8c2;
  border-radius: 50%;
  color: transparent;
  font-size: 20px;
}
.app-cctp-reading-mode-option.app-cctp-is-selected { color: var(--app-cctp-link,#3366cc); }
.app-cctp-reading-mode-option.app-cctp-is-selected .app-cctp-reading-mode-check {
  border-color: #3366cc;
  background: #3366cc;
  color: #fff;
}
.app-cctp-pillar-article.app-cctp-reading-pages [data-app-cctp-pillar-reading-content] {
  height: var(--app-cctp-reading-page-height, 50dvh);
  max-height: var(--app-cctp-reading-page-height, 50dvh);
  column-width: var(--app-cctp-reading-page-width, 100%);
  column-gap: 0;
  column-fill: auto;
  overflow-x: hidden;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  touch-action: pan-y;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.app-cctp-pillar-article.app-cctp-reading-pages [data-app-cctp-pillar-reading-content]::-webkit-scrollbar { display: none; }
.app-cctp-reading-page-indicator {
  margin: 8px 0 0;
  color: #6b7280;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
@media (max-width: 390px) {
  .app-cctp-pillar-reading-size { gap: 7px; }
  .app-cctp-reading-control-group { gap: 5px; }
  .app-cctp-pillar-reading-label { font-size: 13px; }
  .app-cctp-reading-mode-trigger { min-width: 52px; padding-inline: 9px; }
}

/* PATCH 69 — category title index + dedicated single-post reader. */
.app-cctp-title-index {
  display: grid;
  gap: 18px;
  padding: 14px 18px 38px;
}
.app-cctp-title-index-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 2px 2px;
  color: #536274;
}
.app-cctp-title-index-summary strong {
  color: #17283f;
  font-size: 22px;
}
.app-cctp-title-index-summary span {
  font-size: 13px;
  white-space: nowrap;
}
.app-cctp-title-index-group {
  display: block;
  width: 100%;
}
.app-cctp-title-index-letter {
  position: relative;
  top: auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin: 0 0 10px 2px;
  padding: 0;
  border: 1px solid rgba(126,139,153,.34);
  border-radius: 14px;
  background: #fff;
  color: #3366cc;
  font: 800 22px/1 Arial,sans-serif;
  text-align: center;
  box-shadow: 3px 3px 0 rgba(153,153,153,.72), 4px 5px 7px rgba(51,51,51,.10), inset 0 1px 0 rgba(255,255,255,.98);
}
.app-cctp-title-index-links {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(126,139,153,.28);
  border-radius: 18px;
  background: #fff;
  box-shadow: 3px 4px 0 rgba(153,153,153,.72), 4px 6px 8px rgba(51,51,51,.10), inset 0 1px 0 rgba(255,255,255,.98);
}
.app-cctp-title-index-link {
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(0,1fr) 22px;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #e1e4e8;
  color: #3366cc;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}
.app-cctp-title-index-link:last-child { border-bottom: 0; }
.app-cctp-title-index-link:visited { color: #3366cc; }
.app-cctp-title-index-link:active { background: #eef3fa; }
.app-cctp-title-index-link span { min-width: 0; overflow-wrap: anywhere; }
.app-cctp-title-index-link b {
  color: #68798b;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  text-align: right;
}

.app-cctp-single-post { padding-bottom: 22px; }
.app-cctp-single-post .app-cctp-v21-post {
  border-bottom: 0;
  padding-bottom: 26px;
}
.app-cctp-single-post .app-cctp-v21-post-content-wrap {
  cursor: default;
}
.app-cctp-single-post .app-cctp-v21-post-content-wrap:focus-visible { outline: none; }
.app-cctp-single-post .app-cctp-v21-post-more { display: none; }
.app-cctp-single-post-close {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: 24px auto 6px;
  border: 1px solid #d2d6da;
  border-radius: 50%;
  background: #fff;
  color: #3366cc;
  font: 500 34px/1 Arial,sans-serif;
  box-shadow: 3px 3px 0 rgba(153,153,153,.78), 4px 5px 7px rgba(51,51,51,.12), inset 0 1px 0 rgba(255,255,255,.98);
  cursor: pointer;
}
.app-cctp-single-post-close:active {
  transform: translate(2px,2px);
  box-shadow: 1px 1px 0 rgba(153,153,153,.76), 2px 2px 3px rgba(51,51,51,.10), inset 0 2px 4px rgba(47,57,67,.10);
}
.app-cctp-single-post-missing {
  margin: 24px 18px;
  padding: 20px;
  border-radius: 18px;
  background: #fff;
  text-align: center;
}
.app-cctp-single-post-missing a,
.app-cctp-single-post-missing a:visited { color: #3366cc; }

@media (max-width: 390px) {
  .app-cctp-title-index { padding-inline: 10px; }
  .app-cctp-title-index-letter { width: 44px; height: 44px; margin-bottom: 9px; font-size: 20px; border-radius: 13px; }
  .app-cctp-title-index-link { min-height: 58px; padding: 11px 13px; font-size: 16px; }
}
.app-cctp-single-post .app-cctp-v21-post::after { display: none; }

/* PATCH 71 — A–Z letter is a non-interactive badge inside the card. */
.app-cctp-title-index-group {
  position: relative;
}
.app-cctp-title-index-letter {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 12px;
  width: 36px;
  height: 36px;
  margin: 0;
  border: 1px solid #aeb9c4;
  border-radius: 50%;
  background: #eef3f8;
  color: #3366cc;
  font: 800 18px/1 Arial,sans-serif;
  box-shadow: none;
  pointer-events: none;
}
.app-cctp-title-index-links {
  padding-top: 48px;
}
@media (max-width: 390px) {
  .app-cctp-title-index-letter {
    top: 9px;
    left: 11px;
    width: 34px;
    height: 34px;
    margin: 0;
    border-radius: 50%;
    font-size: 17px;
  }
  .app-cctp-title-index-links {
    padding-top: 45px;
  }
}

/* PATCH 72 — single-post reader prioritizes reading space; identity/category nav move below reactions. */
.app-cctp-single-post .app-cctp-v21-post-reading-tools {
  margin-top: 0;
}
.app-cctp-single-post.app-cctp-single-post,
.app-cctp-single-post .app-cctp-v21-post {
  min-height: 0;
}
.app-cctp-single-post .app-cctp-v21-post.app-cctp-v21-reading-pages .app-cctp-v21-post-content-wrap.app-cctp-v21-is-expanded .app-cctp-v21-post-content {
  height: 60dvh;
  max-height: 60dvh;
}
.app-cctp-single-post-bottom-nav {
  margin: 16px 0 8px;
  padding-top: 14px;
  border-top: 1px solid #cfd5da;
}
.app-cctp-single-post-header-bottom {
  padding: 0 2px 12px;
}
.app-cctp-single-post-header-bottom .app-cctp-v21-post-identity strong {
  color: #17283f;
  font-size: 17px;
  line-height: 1.25;
}
.app-cctp-single-post-category-tabs {
  margin-top: 2px;
  padding: 0;
}
@media (max-width: 390px) {
  .app-cctp-single-post .app-cctp-v21-post.app-cctp-v21-reading-pages .app-cctp-v21-post-content-wrap.app-cctp-v21-is-expanded .app-cctp-v21-post-content {
    height: 58dvh;
    max-height: 58dvh;
  }
  .app-cctp-single-post-bottom-nav { margin-top: 14px; }
}

/* PATCH 73 — tighter single-reader top spacing + faster page turn. */
.app-cctp-v21-listing[data-app-cctp-v21-view="single"] {
  margin-top: calc((var(--app-cctp-content-padding, 18px) * -1) + 12px);
  padding-top: 0;
}
.app-cctp-v21-listing[data-app-cctp-v21-view="single"] .app-cctp-single-post .app-cctp-v21-post {
  padding-top: 0;
}
.app-cctp-single-post .app-cctp-v21-post.app-cctp-v21-reading-pages .app-cctp-v21-post-content-wrap.app-cctp-v21-is-expanded .app-cctp-v21-post-content,
.app-cctp-pillar-article.app-cctp-reading-pages [data-app-cctp-pillar-reading-content] {
  scroll-behavior: auto;
}


/* PATCH 74 — end-of-reader down action replaces the old “Thu gọn” text. */
.app-cctp-single-post .app-cctp-v21-post-more {
  display: none;
}
.app-cctp-reader-down {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin: 8px auto 4px;
  padding: 0;
  border: 1px solid #cfd5da;
  border-radius: 50%;
  background: #fff;
  color: #3366cc;
  box-shadow: 3px 3px 0 rgba(153,153,153,.72), 4px 5px 7px rgba(51,51,51,.10), inset 0 1px 0 rgba(255,255,255,.98);
  font: 700 28px/1 Arial,sans-serif;
  cursor: pointer;
}
.app-cctp-reader-down[hidden] { display: none; }
.app-cctp-reader-down:active {
  transform: translate(2px,2px);
  box-shadow: 1px 1px 0 rgba(153,153,153,.70), 2px 2px 3px rgba(51,51,51,.10), inset 0 2px 4px rgba(47,57,67,.10);
}


/* PATCH 90 — Save belongs at the end of the reader, beside the down action. */
.app-cctp-single-post .app-cctp-v21-post-reading-tools {
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
}
.app-cctp-reader-end-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin: 8px 0 4px;
}
.app-cctp-reader-end-actions[hidden] { display: none; }
.app-cctp-reader-end-actions .app-cctp-v21-post-save-top {
  min-width: 96px;
  min-height: 52px;
  margin: 0;
}
.app-cctp-reader-end-actions .app-cctp-reader-down {
  margin: 0;
}

/* PATCH 91 — keep the down arrow centered; pin Save to the right edge. */
.app-cctp-reader-end-actions {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
}
.app-cctp-reader-end-actions .app-cctp-reader-down {
  margin: 0 auto;
}
.app-cctp-reader-end-actions .app-cctp-v21-post-save-top {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
}

/* PATCH 92 — reader controls use a debossed / pressed-into-surface treatment.
   Scope is limited to the controls requested in the single-post reader. */
.app-cctp-single-post .app-cctp-font-size-trigger,
.app-cctp-single-post .app-cctp-reading-mode-trigger,
.app-cctp-single-post .app-cctp-v21-post-save-top,
.app-cctp-single-post .app-cctp-v21-post-action,
.app-cctp-single-post .app-cctp-single-post-category-tabs a {
  border-color: rgba(125,132,140,.28);
  background: #e7e5e6;
  box-shadow:
    inset 3px 3px 6px rgba(90,90,90,.28),
    inset -3px -3px 6px rgba(255,255,255,.78),
    0 1px 0 rgba(255,255,255,.65);
}

.app-cctp-single-post .app-cctp-font-size-trigger:active,
.app-cctp-single-post .app-cctp-reading-mode-trigger:active,
.app-cctp-single-post .app-cctp-v21-post-save-top:active,
.app-cctp-single-post .app-cctp-v21-post-action:active,
.app-cctp-single-post .app-cctp-single-post-category-tabs a:active,
.app-cctp-single-post .app-cctp-v21-post-save-top.app-cctp-v21-is-active,
.app-cctp-single-post .app-cctp-v21-post-action.app-cctp-v21-is-active,
.app-cctp-single-post .app-cctp-single-post-category-tabs a.app-cctp-v21-is-active {
  box-shadow:
    inset 4px 4px 8px rgba(76,82,88,.34),
    inset -2px -2px 5px rgba(255,255,255,.68);
}

/* Keep the end-of-reader Save positioning from PATCH 91 while changing only its surface. */
.app-cctp-single-post .app-cctp-reader-end-actions .app-cctp-v21-post-save-top,
.app-cctp-single-post .app-cctp-reader-end-actions .app-cctp-v21-post-save-top:active {
  transform: translateY(-50%);
}

/* PATCH 93 — apply the same debossed surface to the four category tabs
   at the top of the A–Z category listing. No layout or behavior changes. */
.app-cctp-v21-listing-tabs a {
  border-color: rgba(125,132,140,.28);
  background: #e7e5e6;
  box-shadow:
    inset 3px 3px 6px rgba(90,90,90,.28),
    inset -3px -3px 6px rgba(255,255,255,.78),
    0 1px 0 rgba(255,255,255,.65);
}

.app-cctp-v21-listing-tabs a:active,
.app-cctp-v21-listing-tabs a.app-cctp-v21-is-active {
  box-shadow:
    inset 4px 4px 8px rgba(76,82,88,.34),
    inset -2px -2px 5px rgba(255,255,255,.68);
}
