:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 2px;
}

.co-nav {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-size: 15px;
}
.co-nav__links { display: flex; gap: 12px; font-size: 12px; color: var(--muted); font-weight: 600; }
.co-ad {
  margin: 10px 12px 0;
  padding: 12px;
  text-align: center;
  border: 1px dashed #333;
  border-radius: 10px;
  color: var(--muted);
  font-size: 11px;
}
.co-ring {
  width: 72px; height: 72px; border-radius: 50%;
  padding: 2.5px; background: var(--ring-gradient);
  border: none; display: block;
}
.co-ring.is-seen { background: #333; }
.co-ring__inner {
  width: 100%; height: 100%; border-radius: 50%;
  background: var(--bg); color: var(--fg);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700; border: 2.5px solid var(--bg);
}
.co-icon-btn {
  -webkit-appearance: none;
  appearance: none;
  width: var(--icon-size); height: var(--icon-size);
  border-radius: 50%; border: 1px solid var(--surface-3);
  background: var(--surface-2); color: #fafafa;
  -webkit-text-fill-color: #fafafa;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0; flex-shrink: 0;
}
.co-icon-btn.is-primary {
  background: #fafafa;
  color: #111111 !important;
  -webkit-text-fill-color: #111111;
  border-color: #fafafa;
}
.co-icon-btn.is-primary svg { fill: #111111; }
.co-icon-btn svg { width: 16px; height: 16px; fill: currentColor; display: block; }
.co-icon-btn--fb { background: #1877f2; border-color: #1877f2; color: #fff; }
.co-icon-btn--ig {
  border: none;
  color: #fff;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}
.co-icon-btn--wa { background: #25d366; border-color: #25d366; color: #fff; }
.co-share-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  text-align: center;
  margin-bottom: 12px;
  font-size: 10px;
  font-weight: 600;
  color: #ccc;
}
.co-share-grid__item {
  background: none;
  border: none;
  color: #ccc;
  padding: 0;
}
.co-share-grid__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  margin: 0 auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.co-share-grid__icon svg { width: 22px; height: 22px; display: block; }
.co-share-grid__icon--ig {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}
.co-share-grid__icon--wa { background: #25d366; }
.co-share-grid__icon--more { background: #3a3a3c; }
.co-share-grid__icon--save { background: #2c2c2e; border: 1px solid #444; }
.co-tabs { display: flex; border-top: 1px solid var(--surface-3); border-bottom: 1px solid var(--surface-3); }
.co-tabs button,
.co-tabs a {
  flex: 1; background: transparent; border: none; color: var(--fg);
  padding: 12px 0; font-size: 11px; font-weight: 650;
  text-transform: uppercase; letter-spacing: 0.04em; opacity: 0.4;
  text-align: center; text-decoration: none; cursor: pointer;
}
.co-tabs button.is-active,
.co-tabs a.is-active { opacity: 1; border-bottom: 2px solid var(--fg); margin-bottom: -1px; }
.co-msg { padding: 14px 16px; border-bottom: 1px solid var(--border); }
.co-msg__meta { font-size: 11px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.co-msg__thread { display: flex; flex-direction: column; gap: 10px; }
.co-msg__text { font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; word-break: break-word; }
.co-msg__reply {
  margin-left: 4px;
  padding: 10px 12px;
  border-radius: 10px;
  border-left: 3px solid #fafafa;
  background: var(--surface-2);
}
.co-msg__reply-label {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #b8b8b8;
  margin-bottom: 4px;
}
.co-msg__reply-text {
  font-size: 14px;
  line-height: 1.45;
  color: var(--fg);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.co-share-pick-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 50vh;
  overflow: auto;
}
.co-share-pick-item {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--surface-3);
  border-radius: 12px;
  padding: 12px;
  color: var(--fg);
  cursor: pointer;
}
.co-share-pick-item:hover,
.co-share-pick-item:focus-visible {
  border-color: #555;
}
.co-share-pick-item__label {
  display: block;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.co-share-pick-item__text {
  display: block;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-height: 4.2em;
  overflow: hidden;
}
.co-msg__acts { display: flex; gap: 14px; margin-top: 10px; }
.co-msg__acts button {
  background: none; border: none; padding: 0;
  font-size: 12px; font-weight: 650; color: var(--fg);
}
.co-msg__acts .is-danger { color: var(--danger); }
.co-msg__acts .is-muted { color: var(--muted); }
.co-pager-status { text-align: center; padding: 12px 16px 8px; font-size: 12px; color: var(--muted); font-weight: 600; }
.co-pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; padding: 8px 16px 20px; }
.co-pager a, .co-pager span {
  padding: 6px 10px; border-radius: 8px; font-size: 12px; font-weight: 650;
  background: var(--surface-2); color: #ccc;
}
.co-pager .is-current { background: var(--fg); color: var(--bg); }
.co-pager .is-disabled { color: var(--muted); opacity: 0.55; cursor: default; }
.co-banner-warn {
  margin: 0 14px 12px; padding: 10px 12px; border-radius: 10px;
  background: var(--warn-bg); border: 1px solid var(--warn-border); color: var(--warn-fg);
  font-size: 12px; line-height: 1.4; display: block;
}
.co-sheet-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  display: none; align-items: flex-end; z-index: 60;
}
.co-sheet-backdrop.is-open { display: flex; }
.co-sheet {
  width: 100%; background: #1c1c1e; border-radius: 18px 18px 0 0;
  padding: 10px 14px 20px; max-width: 480px; margin: 0 auto;
}
.co-sheet__handle {
  width: 36px; height: 4px; border-radius: 2px; background: #555; margin: 4px auto 12px;
}
.co-share-card {
  border-radius: 14px; background: var(--card-gradient);
  aspect-ratio: 4/5; max-height: 280px; padding: 16px;
  display: flex; flex-direction: column; justify-content: space-between;
  border: 1px solid #333; margin-bottom: 14px;
  overflow: hidden; min-height: 0; width: 100%;
  box-sizing: border-box;
}
.co-share-card__brand {
  flex-shrink: 0;
  font-size: 11px; font-weight: 800; letter-spacing: .04em; opacity: .7;
}
.co-share-card__quote {
  flex: 1 1 auto;
  min-height: 0;
  margin: 10px 0;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.3;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: pre-wrap;
}
.co-share-card__foot {
  flex-shrink: 0;
  font-size: 11px; opacity: .5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.co-story {
  position: fixed; inset: 0; z-index: 50;
  display: none; flex-direction: column; color: var(--fg);
  background: var(--card-gradient);
  background-color: #111;
}
.co-story.is-open { display: flex; }
.co-story__card {
  flex: 1;
  margin: 8px 16px 12px;
  padding: 24px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: var(--card-gradient);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  min-height: 0;
  overflow: hidden;
}
.co-story__bars { display: flex; gap: 4px; padding: 10px; }
.co-story__bar { flex: 1; height: 2.5px; border-radius: 2px; background: rgba(255,255,255,0.25); overflow: hidden; }
.co-story__bar-fill { height: 100%; width: 0; background: #fff; }
.co-story__bar.is-done .co-story__bar-fill { width: 100%; }
.co-story__bar.is-active .co-story__bar-fill { width: 60%; }
