/* One-news reading page (website → app). Covers chrome. Forest + gold + cream. */
body.tan-handoff-open {
  overflow: hidden !important;
}
body.tan-handoff-open .app-header,
body.tan-handoff-open .bottom-nav,
body.tan-handoff-open .guest-banner,
body.tan-handoff-open #guest-banner,
body.tan-handoff-open .tan-guest-banner {
  display: none !important;
}

#premium-overlay.tan-handoff {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  flex-direction: column;
  background: #f4efe4;
  color: #1a1a14;
  overflow: hidden;
}
#premium-overlay.tan-handoff.active {
  display: flex;
}

.tan-ho-top {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 10px 22px;
  padding-top: calc(10px + env(safe-area-inset-top, 0px));
  background: #0a2518;
  color: #f5f0e6;
  border-bottom: 1px solid rgba(201, 168, 76, 0.35);
}
.tan-ho-brand {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.tan-ho-brand-name {
  font-family: Georgia, "Playfair Display", serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: #c9a84c;
}
.tan-ho-brand-sub {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(245, 240, 230, 0.62);
  text-transform: uppercase;
}
.tan-ho-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.tan-ho-lang {
  position: relative;
}
.tan-ho-lang-btn,
.tan-ho-dismiss {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  font-family: inherit;
}
.tan-ho-lang-btn {
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.45);
  color: #f5f0e6;
}
.tan-ho-dismiss {
  background: #c9a84c;
  border: 1px solid #c9a84c;
  color: #0a2518;
}
.tan-ho-dismiss:hover { filter: brightness(1.06); }
.tan-ho-lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 2;
  min-width: 168px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #0f2f20;
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.tan-ho-lang-menu[hidden] { display: none !important; }
.tan-ho-lang-menu button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border: 0;
  background: transparent;
  color: #f5f0e6;
  font-size: 13px;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
}
.tan-ho-lang-menu button.is-active,
.tan-ho-lang-menu button:hover {
  background: rgba(201, 168, 76, 0.16);
  color: #c9a84c;
}

.tan-ho-scroll {
  flex: 1 1 auto;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.tan-ho-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(280px, 3fr);
  gap: 0;
  min-height: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.tan-ho-main {
  padding: 36px 48px 64px 48px;
  border-right: 1px solid rgba(10, 37, 24, 0.08);
}
.tan-ho-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 16px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5c6b62;
}
.tan-ho-kicker-gs {
  color: #0a2518;
  font-weight: 800;
  background: rgba(201, 168, 76, 0.18);
  border: 1px solid rgba(201, 168, 76, 0.4);
  padding: 3px 8px;
  border-radius: 4px;
}
.tan-ho-title {
  font-family: Georgia, "Playfair Display", serif;
  font-size: clamp(1.7rem, 2.6vw, 2.55rem);
  line-height: 1.22;
  font-weight: 700;
  color: #0a2518;
  margin: 0 0 14px;
}
.tan-ho-hook {
  font-family: Georgia, "Playfair Display", serif;
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.55;
  color: #3d4a43;
  margin: 0 0 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.35);
}
.tan-ho-block { margin: 0 0 28px; }
.tan-ho-label {
  margin: 0 0 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c9a84c;
}
.tan-ho-body {
  font-size: 1.02rem;
  line-height: 1.72;
  color: #22281f;
}
.tan-ho-body p { margin: 0 0 0.9em; }
.tan-ho-body h2, .tan-ho-body h3, .tan-ho-body h4 {
  font-family: Georgia, "Playfair Display", serif;
  color: #0a2518;
  margin: 1.2em 0 0.5em;
}

.tan-ho-rail {
  background: #efe8d8;
  padding: 28px 22px 56px;
}
.tan-ho-rail-inner {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tan-ho-card {
  background: #fbf7ee;
  border: 1px solid rgba(10, 37, 24, 0.08);
  border-radius: 14px;
  padding: 16px 16px 14px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}
.tan-ho-card-label {
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0a2518;
}
.tan-ho-card-label span {
  display: inline-block;
  color: #c9a84c;
  margin-right: 6px;
}
.tan-ho-card-body {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #2a332c;
}
.tan-ho-card-body p { margin: 0 0 0.7em; }

.tan-ho-note {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(10, 37, 24, 0.14);
}
.tan-ho-note-label {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  color: #5c6b62;
}
.tan-ho-note-input {
  width: 100%;
  box-sizing: border-box;
  min-height: 64px;
  padding: 8px 10px;
  border: 1px solid rgba(10, 37, 24, 0.16);
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-size: 12px;
  resize: vertical;
}
.tan-ho-note-send {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: #0a2518;
  color: #f5f0e6;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.tan-ho-note.is-sent .tan-ho-note-input,
.tan-ho-note.is-sent .tan-ho-note-send { display: none; }
.tan-ho-note-thanks {
  display: none;
  margin: 0;
  font-size: 12px;
  color: #0a2518;
  font-weight: 700;
}
.tan-ho-note.is-sent .tan-ho-note-thanks { display: block; }

.tan-ho-thanks {
  background: #0a2518;
  color: #f5f0e6;
  border: 1px solid rgba(201, 168, 76, 0.4);
}
.tan-ho-thanks .tan-ho-card-label { color: #c9a84c; }
.tan-ho-thanks p {
  margin: 0 0 12px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(245, 240, 230, 0.88);
}
.tan-ho-thanks-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: #c9a84c;
  color: #0a2518;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.tan-ho-tg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(201, 168, 76, 0.45);
  color: #c9a84c;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}
.tan-ho-tg:hover { background: rgba(201, 168, 76, 0.1); }

@media (max-width: 980px) {
  .tan-ho-grid {
    grid-template-columns: 1fr;
  }
  .tan-ho-main {
    padding: 22px 18px 28px;
    border-right: 0;
  }
  .tan-ho-rail {
    padding: 8px 14px 36px;
  }
  .tan-ho-rail-inner { position: static; }
  .tan-ho-title { font-size: 1.55rem; }
  .tan-ho-top { padding-left: 14px; padding-right: 14px; }
}
