/* 오스트리아 기념품 쇼핑 가이드 — 튀르키예 여행코스(플래너)와 같은 모양
   흰 바탕 · 파랑 #3182F6 · 둥근 알약 탭 · 그림자 옅은 흰 카드 · 제목 앞 파란 아이콘 칸 · Paperlogy 제목
   전부 #ts-app 아래 (사이트 셸에 안 새게) */
#ts-app {
  --blue: #3182f6; --blue-soft: #eaf2fe; --navy: #0a1224; --ink0: #111827; --ink1: #3d4152; --ink2: #5f6478;
  --line: #e9ecf5; --bg1: #f8f9fd; --card-shadow: 0 6px 24px rgba(49,130,246,.07), 0 1px 3px rgba(17,24,39,.04);
  color: #1f1f1f; background: #fff; font-family: "Noto Sans KR", sans-serif; line-height: 1.6; word-break: keep-all;
  padding-bottom: 96px;
}
#ts-app * { box-sizing: border-box; }
#ts-app button { font: inherit; cursor: pointer; }
#ts-app a { color: inherit; }
#ts-app .ts-wrap, #ts-app .ts-sec, #ts-app .ts-hero > * { max-width: 760px; margin-left: auto; margin-right: auto; }

/* 머리 — 코스 히어로처럼 짙은 남색 */
#ts-app .ts-hero { padding: 40px 16px 24px; background: linear-gradient(0deg, rgba(10,18,36,.96), rgba(10,18,36,.82)); color: #fff; }
#ts-app .ts-eyebrow { margin: 0 auto 8px; font-size: .85rem; color: rgba(255,255,255,.75); font-weight: 700; }
#ts-app .ts-title { margin: 0 auto; font-family: Paperlogy, "Noto Sans KR", sans-serif; font-size: 2rem; line-height: 1.3; font-weight: 800; }
#ts-app .ts-sub { margin: 10px auto 18px; font-size: .95rem; color: rgba(255,255,255,.8); }
#ts-app .ts-search input { width: 100%; padding: 14px 18px; border: 0; border-radius: 999px; font-size: 1rem; color: var(--ink0); background: #fff; -webkit-appearance: none; appearance: none; }
#ts-app .ts-search input::placeholder { color: #9aa0b0; }
#ts-app .ts-jump { display: flex; gap: 8px; margin-top: 14px; overflow-x: auto; scrollbar-width: none; }
#ts-app .ts-jump a { flex: none; padding: 9px 16px; border-radius: 999px; background: #fff; color: var(--ink0); font-size: .9rem; font-weight: 700; text-decoration: none; }

/* 섹션 — 코스처럼 흰 바탕과 옅은 바탕이 번갈아 */
#ts-app .ts-sec { padding: 36px 16px 8px; scroll-margin-top: 70px; max-width: none; }
#ts-app .ts-sec > * { max-width: 760px; margin-left: auto; margin-right: auto; }
#ts-app #ts-shops, #ts-app #ts-list-sec { background: var(--bg1); padding-bottom: 32px; }
#ts-app .ts-h { display: flex; align-items: center; gap: 10px; margin-top: 0; margin-bottom: 6px; font-family: Paperlogy, "Noto Sans KR", sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--ink0); }
#ts-app .ts-h-sm { font-size: 1.2rem; }
#ts-app .ts-h-xs { display: block; font-size: .95rem; margin-top: 18px; }
#ts-app .ts-ico { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); flex: none; }
#ts-app .ts-desc { margin-top: 0; margin-bottom: 16px; color: var(--ink2); font-size: .95rem; }
#ts-app .ts-empty { color: var(--ink2); font-size: .9rem; padding: 12px 0; }
#ts-app .ts-note { margin-top: 10px; color: var(--ink2); font-size: .85rem; }

/* 알약 탭 — 코스의 도시 탭과 같은 모양 */
#ts-app .ts-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin-bottom: 8px; scrollbar-width: none; }
#ts-app .ts-chip { flex: none; padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink1); font-size: .875rem; font-weight: 700; white-space: nowrap; }
#ts-app .ts-chip.on { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 4px 10px -3px rgba(49,130,246,.45); }

/* 카드 — 코스 맛집 카드처럼 흰 바탕·옅은 테두리·옅은 파란 그림자 */
#ts-app .ts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { #ts-app .ts-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
#ts-app .ts-card, #ts-app .ts-shop, #ts-app .ts-li, #ts-app .ts-mini {
  background: #fff; border: 1px solid rgba(233,236,245,.7); border-radius: 16px; box-shadow: var(--card-shadow);
}
#ts-app .ts-card { display: flex; flex-direction: column; gap: 10px; padding: 14px; }
#ts-app .ts-card-main { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 0; border: 0; background: none; text-align: left; color: inherit; }
#ts-app .ts-tile { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--blue-soft); font-size: 1.6rem; }
#ts-app .ts-tile.sm { width: 40px; height: 40px; border-radius: 12px; font-size: 1.2rem; }
#ts-app .ts-card-text { display: flex; flex-direction: column; min-width: 0; }
#ts-app .ts-card-text strong { font-size: 1rem; font-weight: 700; color: var(--ink0); }
#ts-app .ts-card-text em { font-style: normal; font-size: .8rem; color: var(--ink2); }
#ts-app .ts-card-desc { margin-top: 6px; font-size: .84rem; color: var(--ink1); line-height: 1.5; }
#ts-app .ts-card-shops { margin-top: 8px; font-size: .8rem; font-weight: 700; color: var(--blue); }

/* 버튼 — 코스의 '구글맵' 같은 작은 테두리 버튼, 강조는 파란 알약 */
#ts-app .ts-add { padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--blue); font-weight: 700; font-size: .84rem; }
#ts-app .ts-add.on { background: var(--blue); border-color: var(--blue); color: #fff; }
#ts-app .ts-add.sm { padding: 2px 9px; border-radius: 999px; font-size: .74rem; margin-left: 6px; }
#ts-app .ts-btns { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
#ts-app .ts-btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; flex: 1 1 0; min-width: 96px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; text-decoration: none; font-size: .86rem; font-weight: 700; color: var(--ink0); }
#ts-app .ts-btn svg { width: 15px; height: 15px; }
#ts-app .ts-btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; border-radius: 999px; }

/* 가게 */
#ts-app .ts-shop-list { display: flex; flex-direction: column; gap: 12px; }
#ts-app .ts-shop { padding: 20px; scroll-margin-top: 70px; transition: box-shadow .3s; }
#ts-app .ts-shop.flash { box-shadow: 0 0 0 3px var(--blue); }
#ts-app .ts-shop-head, #ts-app .ts-sheet-head { display: flex; gap: 12px; align-items: center; }
#ts-app .ts-shop h3, #ts-app .ts-sheet-head h3 { margin: 0; font-size: 1.1rem; font-weight: 700; color: var(--ink0); }
#ts-app .ts-city { margin: 0; font-size: .75rem; font-weight: 700; color: var(--blue); }
#ts-app .ts-local { margin: 0; font-size: .82rem; color: var(--ink2); }
#ts-app .ts-intro { margin: 12px 0; font-size: .92rem; color: var(--ink1); }
#ts-app .ts-label { margin: 14px 0 8px; font-size: .78rem; font-weight: 700; color: var(--ink2); }
#ts-app .ts-shop-items { display: flex; flex-wrap: wrap; gap: 6px; }
#ts-app .ts-pill { display: inline-flex; align-items: center; padding: 5px 6px 5px 12px; border-radius: 999px; background: var(--bg1); border: 1px solid var(--line); font-size: .85rem; color: var(--ink1); }
#ts-app .ts-info { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: .86rem; }
#ts-app .ts-info dt { font-weight: 700; color: var(--ink2); }
#ts-app .ts-info dd { margin: 0; color: var(--ink1); }

/* 내 리스트 */
#ts-app .ts-mylist { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
#ts-app .ts-li { display: flex; align-items: center; gap: 8px; padding: 12px 14px; }
#ts-app .ts-check { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; cursor: pointer; }
#ts-app .ts-check input { width: 20px; height: 20px; accent-color: var(--blue); flex: none; }
#ts-app .ts-check strong { display: block; color: var(--ink0); }
#ts-app .ts-check small { display: block; font-size: .78rem; color: var(--ink2); }
#ts-app .ts-li.done strong { text-decoration: line-through; color: var(--ink2); }
#ts-app .ts-del { flex: none; padding: 6px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: .8rem; font-weight: 700; color: var(--ink2); }

#ts-app .ts-notice { font-size: .88rem; }
#ts-app .ts-bullets { padding-left: 18px; color: var(--ink2); }
#ts-app .ts-src { padding-left: 18px; font-size: .8rem; color: var(--ink2); }
#ts-app .ts-src a { word-break: break-all; }

/* 떠 있는 버튼 — 코스의 '내 일정 담기'와 같은 파란 알약 */
#ts-app .ts-fab { position: fixed; left: 50%; transform: translateX(-50%); bottom: 20px; z-index: 40; min-width: 200px; padding: 14px 28px; border: 0; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; font-size: 1rem; box-shadow: 0 8px 24px rgba(49,130,246,.35); }
#ts-app .ts-fab span { display: inline-block; min-width: 22px; margin-left: 6px; padding: 0 7px; border-radius: 999px; background: #fff; color: var(--blue); font-size: .85rem; }

/* 아래에서 올라오는 시트 */
#ts-app .ts-sheet { position: fixed; inset: 0; z-index: 60; }
#ts-app .ts-sheet[hidden] { display: none; }
#ts-app .ts-sheet-bg { position: absolute; inset: 0; background: rgba(10,18,36,.45); }
#ts-app .ts-sheet-panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 82vh; overflow-y: auto; padding: 22px 16px 28px; background: #fff; border-radius: 20px 20px 0 0; max-width: 760px; margin: 0 auto; }
#ts-app .ts-sheet-panel > .ts-add { width: 100%; margin-top: 6px; padding: 11px; }
#ts-app .ts-sheet-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--bg1); color: var(--ink1); }
#ts-app .ts-mini { padding: 14px; margin-top: 10px; }
#ts-app .ts-mini strong { display: block; color: var(--ink0); }
#ts-app .ts-mini span { display: block; font-size: .8rem; color: var(--ink2); }
body.ts-lock { overflow: hidden; }

#ts-app .ts-toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%) translateY(20px); z-index: 70; padding: 10px 18px; border-radius: 999px; background: rgba(17,24,39,.92); color: #fff; font-size: .88rem; opacity: 0; pointer-events: none; transition: .25s; }
#ts-app .ts-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* 사기 전 알아두기 (기념품 추천 글을 합침, 2026-10-18) */
#ts-app #ts-tips .ts-h3 { margin: 28px auto 10px; font-size: 1.1rem; font-weight: 700; color: var(--ink0); }
#ts-app .ts-table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
#ts-app .ts-table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: .88rem; }
#ts-app .ts-table th, #ts-app .ts-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; color: var(--ink1); }
#ts-app .ts-table thead th { background: var(--bg1); font-size: .8rem; color: var(--ink2); }
#ts-app .ts-table tbody th { color: var(--ink0); white-space: nowrap; }
#ts-app .ts-table small { display: block; font-weight: 400; font-size: .76rem; color: var(--ink2); }
#ts-app .ts-table tr:last-child > * { border-bottom: 0; }
#ts-app .ts-steps { list-style: none; counter-reset: st; margin: 0 auto; padding: 0; display: grid; gap: 10px; }
#ts-app .ts-steps li { counter-increment: st; position: relative; padding: 14px 16px 14px 56px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
#ts-app .ts-steps li::before { content: counter(st); position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; font-size: .85rem; display: grid; place-items: center; }
#ts-app .ts-steps strong, #ts-app .ts-tip strong, #ts-app .ts-links strong { display: block; color: var(--ink0); font-size: .95rem; }
#ts-app .ts-steps span, #ts-app .ts-tip span, #ts-app .ts-links span { display: block; margin-top: 2px; font-size: .85rem; color: var(--ink2); }
#ts-app .ts-steps a { color: var(--blue); font-weight: 700; }
#ts-app .ts-tipgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
#ts-app .ts-tip { padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
#ts-app .ts-tip.warn { background: #fff8eb; border-color: #fde3b0; }
#ts-app .ts-tip.danger { background: #fff1f1; border-color: #fcc9c9; }
#ts-app .ts-faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 8px; }
#ts-app .ts-faq summary { padding: 14px 16px; font-weight: 700; color: var(--ink0); cursor: pointer; }
#ts-app .ts-faq details p { margin: 0; padding: 0 16px 14px; font-size: .9rem; color: var(--ink1); }
#ts-app .ts-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
#ts-app .ts-links a { padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; }
#ts-app .ts-links a strong { color: var(--blue); }

/* 카드 담기 = 사진 모서리 파란 장바구니 (10-23) */
#ts-app .ts-card { position: relative; }
#ts-app .ts-add.ico { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--blue); color: #fff; box-shadow: 0 4px 12px rgba(49,130,246,.35); }
#ts-app .ts-add.ico.on { background: #fff; color: var(--blue); border: 2px solid var(--blue); }

/* 가게 종류 표시 (마트) (10-27) */
#ts-app .ts-type { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: var(--blue); color: #fff; font-size: .72rem; font-weight: 700; vertical-align: 1px; word-break: keep-all; }
