/* DayO 홈 — 여행 매거진 · with TasteTrip 카드 줄 (2026-11-14 초안) */
.tt-magazine { padding: 56px 0 64px; background: #fbf6ea; border-top: 1px solid #e3e3d7; }
.tt-magazine .ttm-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.tt-magazine .ttm-title { margin: 0; font-size: clamp(28px, 2.9vw, 38px); font-weight: 700; line-height: 1.4; letter-spacing: -0.02em; color: #2f2a25; }
.tt-magazine .ttm-heading-wrap { min-width: 0; }
.tt-magazine .ttm-lead { margin: 6px 0 0; font-size: 14px; line-height: 1.6; color: #7a7064; word-break: keep-all; }
.tt-magazine .ttm-arrows { display: flex; gap: 8px; flex: none; }
.tt-magazine .ttm-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #d7d2c3; background: #fff; color: #4c6850; font-size: 18px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.tt-magazine .ttm-arrow:disabled { opacity: .35; cursor: default; }
.tt-magazine .ttm-track { list-style: none; margin: 0; padding: 4px 2px 12px; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tt-magazine .ttm-track::-webkit-scrollbar { display: none; }
.tt-magazine .ttm-card { flex: 0 0 260px; scroll-snap-align: start; }
.tt-magazine .ttm-link { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: 18px; overflow: hidden; color: inherit; text-decoration: none; box-shadow: 0 6px 18px #40362f14; border: 1px solid #ece6d6; }
.tt-magazine .ttm-link:focus-visible { outline: 3px solid #4c6850; outline-offset: 2px; }
.tt-magazine .ttm-photo { position: relative; display: block; aspect-ratio: 4 / 3; background: #e9e4d6; }
.tt-magazine .ttm-photo { overflow: hidden; }
.tt-magazine .ttm-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.tt-magazine .ttm-credit { position: absolute; right: 8px; bottom: 8px; padding: 2px 7px; border-radius: 999px; background: #0000008c; color: #fff; font-size: 10px; line-height: 1.6; }
.tt-magazine .ttm-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.tt-magazine .ttm-region { font-size: 13px; font-weight: 700; color: #5b7354; letter-spacing: .02em; }
.tt-magazine .ttm-heading { font-size: 16px; font-weight: 700; line-height: 1.5; color: #2f2a25; word-break: keep-all; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tt-magazine .ttm-sub { font-size: 13px; line-height: 1.45; color: #7a7064; word-break: keep-all; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tt-magazine .ttm-read { margin-top: auto; padding-top: 6px; font-size: 15px; font-weight: 700; color: #4c6850; }
@media (max-width: 767px) {
  .tt-magazine { padding: 36px 0 44px; }
  .tt-magazine .ttm-arrows { display: none; }
  .tt-magazine .ttm-card { flex-basis: 74%; }
}

.tt-magazine .ttm-until { margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: #fde8d7; color: #9a4a17; font-size: 11px; font-weight: 700; letter-spacing: 0; }

/* 읽기 팝업 (DayO 돼요 디자인) */
html.ttm-reader-open, html.ttm-reader-open body { overflow: hidden; }
.ttm-reader { position: fixed; inset: 0; z-index: 9000; background: #1f1a1599; display: flex; align-items: center; justify-content: center; padding: 24px; }
.ttm-reader[hidden] { display: none; }
.ttm-reader-dialog { position: relative; width: min(560px, 100%); max-height: min(820px, 100%); background: #fff; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 20px 48px #00000040; }
.ttm-reader-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #ffffffe6; color: #2f2a25; font-size: 16px; cursor: pointer; box-shadow: 0 2px 8px #0000002e; }
.ttm-reader-scroll { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.ttm-reader-photo { position: relative; aspect-ratio: 16 / 10; background: #e9e4d6; overflow: hidden; }
.ttm-reader-photo[hidden] { display: none; }
.ttm-reader-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ttm-reader-photo .ttm-credit { position: absolute; right: 10px; bottom: 10px; padding: 2px 8px; border-radius: 999px; background: #0000008c; color: #fff; font-size: 11px; line-height: 1.6; }
.ttm-reader-content { padding: 20px 24px 8px; }
.ttm-reader-region { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: #5b7354; }
.ttm-reader-region .ttm-until { margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: #fde8d7; color: #9a4a17; font-size: 11px; }
.ttm-reader-title { margin: 0; font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; line-height: 1.45; letter-spacing: -0.01em; color: #2f2a25; word-break: keep-all; }
.ttm-reader-sub { margin: 4px 0 0; font-size: 16px; line-height: 1.45; color: #7a7064; word-break: keep-all; }
.ttm-reader-summary { margin-top: 18px; padding-top: 16px; border-top: 1px solid #ece6d6; }
.ttm-reader-summary p { margin: 0 0 14px; font-size: 16px; font-weight: 400; line-height: 1.75; color: #3d362f; word-break: keep-all; overflow-wrap: anywhere; }
.ttm-reader-summary .ttm-reader-empty { color: #7a7064; }
.ttm-reader-foot { padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid #ece6d6; background: #fbf6ea; display: flex; justify-content: flex-end; }
.ttm-reader-go { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 999px; background: #4c6850; color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; }
@media (max-width: 767px) {
  .ttm-reader { padding: 0; align-items: flex-end; }
  .ttm-reader-dialog { width: 100%; max-height: 92%; border-radius: 22px 22px 0 0; }
  .ttm-reader-content { padding: 18px 20px 6px; }
  .ttm-reader-go { flex: 1; }
}
