/* 회복기 스케줄러 (/plan, /en/plan). 섹션 리듬·카드·통계는 global.css 의 .section/.sec-head/.grid/.card/.stats/.stat 을 그대로 쓰고, 여기에는 입력 컨트롤·타임라인·배지처럼 이 페이지에만 있는 요소만 둔다. 흰 배경 강조는 인디고, 연보라는 다크 전용. */ :root { --indigo: #1D0024; } /* 히어로 (다크, videos.astro 규격) */ .plan-hero { padding: 3.5rem 0 3rem; } .plan-hero h1 { font-family: "Playfair Display", Georgia, serif; font-size: 2.3rem; font-weight: 700; letter-spacing: 0; line-height: 1.15; display: inline-block; background: linear-gradient(to right, var(--purple-300), var(--blue-300)); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0; } .plan-hero .lede { color: rgba(255,255,255,0.82); font-size: 1.02rem; max-width: 760px; margin: 0.6rem 0 0; } .plan-hero .lede strong { color: #fff; } .lang-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; } .lang-links a { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 1rem 0.45rem 0.55rem; border-radius: 999px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); color: #fff; text-decoration: none; font-size: 0.9rem; font-weight: 600; } .lang-links a .ico { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 999px; background: rgba(255,255,255,0.12); font-family: Inter, sans-serif; font-size: 0.66rem; letter-spacing: 0.06em; color: var(--purple-200); } .lang-links a.on { background: linear-gradient(to right, var(--grad-start), var(--grad-end)); border-color: transparent; } .lang-links a.on .ico { background: rgba(255,255,255,0.2); color: #fff; } .lang-links a:hover { text-decoration: none; border-color: rgba(216,180,254,0.6); } .plan-hero .stats { margin-top: 1.8rem; } .plan-hero .stat b { font-size: 2.2rem; } /* 입력 단계 카드 (틴트 섹션) */ .steps-grid { display: grid; grid-template-columns: minmax(260px, 1fr) 2fr; gap: 1.25rem; } .steps-grid .card.span { grid-column: 1 / -1; } @media (max-width: 860px) { .steps-grid { grid-template-columns: 1fr; } } .card .cat.step { display: inline-flex; align-items: center; gap: 0.45rem; } .card .cat.step .n { display: inline-grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 999px; background: linear-gradient(to right, var(--grad-start), var(--grad-end)); color: #fff; font-family: "Playfair Display", Georgia, serif; font-size: 0.8rem; font-weight: 700; } .card h3.serif { font-family: "Playfair Display", Georgia, serif; font-size: 1.2rem; } .card .sub2 { font-size: 0.88rem; color: var(--slate-600); margin: 0; flex: 0; } .card .hint { font-size: 0.83rem; color: var(--slate-500); margin: 0.4rem 0 0; flex: 0; } .field { display: grid; gap: 0.35rem; margin-top: 0.5rem; } .field label { font-size: 0.82rem; font-weight: 600; color: var(--slate-600); } .field select, .field input[type="date"] { font: inherit; font-size: 1rem; padding: 0.6rem 0.8rem; border: 1px solid var(--slate-200); border-radius: 12px; background: #fff; color: var(--indigo); max-width: 320px; } .lang-inline { display: inline-flex; gap: 0.35rem; } .lang-inline a { border: 1px solid var(--slate-200); background: #fff; color: var(--slate-600); border-radius: 999px; padding: 0.35rem 0.9rem; font-size: 0.85rem; font-weight: 600; text-decoration: none; } .lang-inline a.on { background: var(--primary-900); color: #fff; border-color: var(--primary-900); } .proc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.55rem; } .proc-grid button { text-align: left; border: 1px solid var(--slate-200); background: #fff; border-radius: 14px; padding: 0.7rem 0.85rem; font: inherit; cursor: pointer; color: var(--indigo); display: grid; gap: 0.1rem; } .proc-grid button small { color: var(--slate-500); font-size: 0.7rem; letter-spacing: 0.05em; text-transform: uppercase; font-family: Inter, Pretendard, sans-serif; } .proc-grid button b { font-size: 0.95rem; font-weight: 700; } .proc-grid button.on { border-color: var(--accent); background: var(--st-good-bg); box-shadow: 0 0 0 2px rgba(108,92,231,0.25) inset; } .pref-row { display: flex; flex-wrap: wrap; gap: 0.5rem; } .pref-row button { border: 1px solid var(--slate-200); background: #fff; color: var(--indigo); border-radius: 999px; padding: 0.5rem 1rem; font: inherit; font-size: 0.92rem; font-weight: 600; cursor: pointer; } .pref-row button.on { background: linear-gradient(to right, var(--grad-start), var(--grad-end)); color: #fff; border-color: transparent; } .plan-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin-top: 1rem; } .btn.small { padding: 0.55rem 1rem; font-size: 0.88rem; } .btn.ghost { background: #fff; color: var(--indigo); border: 1px solid var(--slate-200); } button.btn { font: inherit; cursor: pointer; border: 0; } /* 빈 상태 (다크) */ .empty { text-align: center; padding: 2.4rem 1rem; border: 1px dashed rgba(255,255,255,0.25); border-radius: 16px; color: rgba(255,255,255,0.75); } .empty b { display: block; color: #fff; font-size: 1.1rem; margin-bottom: 0.3rem; } /* 배지 */ .tag { display: inline-block; font-size: 0.72rem; font-weight: 700; padding: 0.12rem 0.55rem; border-radius: 999px; border: 1px solid transparent; vertical-align: middle; white-space: nowrap; } .tag.prov { background: var(--st-warning-bg); color: var(--st-warning-text); border-color: var(--st-warning-border); } .tag.clinic { background: var(--st-good-bg); color: var(--st-good-text); border-color: var(--st-good-border); } .tag.l0 { background: var(--st-critical-bg); color: var(--st-critical-text); border-color: var(--st-critical-border); } .tag.l1 { background: var(--st-warning-bg); color: var(--st-warning-text); border-color: var(--st-warning-border); } .tag.l2 { background: var(--st-info-bg); color: var(--st-info-text); border-color: var(--st-info-border); } .tag.l3 { background: var(--st-good-bg); color: var(--st-good-text); border-color: var(--st-good-border); } .tag.diet { background: var(--slate-100); color: var(--slate-700); } /* 다크 섹션 핵심 날짜: 글래스 통계 카드 변형 */ .stats.dates { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); } .stats.dates .stat { padding: 1.2rem 1.3rem; display: flex; flex-direction: column; } .stats.dates .stat .label { order: -1; margin: 0 0 0.35rem; font-size: 0.8rem; color: rgba(255,255,255,0.72); font-weight: 600; letter-spacing: 0.02em; } .stats.dates .stat b { font-size: 1.75rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem; } .stats.dates .stat b .wd { font-family: Pretendard, Inter, sans-serif; font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.7); } .stats.dates .stat b .txt { font-family: Pretendard, Inter, sans-serif; font-size: 1.15rem; color: #fff; } .stats.dates .stat .desc { margin-top: 0.55rem; } .stats.dates .tag.clinic { background: rgba(175,144,255,0.18); color: var(--purple-200); border-color: rgba(216,180,254,0.45); } .section.dark .note { color: rgba(255,255,255,0.72); font-size: 0.88rem; margin: 1.2rem 0 0; max-width: 900px; } .section.dark .note a { color: var(--purple-300); } /* 라이트 섹션 카드 내용 */ .card ul.rules { margin: 0.2rem 0 0; padding-left: 1.15rem; font-size: 0.92rem; color: var(--slate-700); } .card ul.rules li { margin-bottom: 0.4rem; } .card.ok { background: var(--st-good-bg); border-color: var(--st-good-border); } .card.warn { background: var(--st-warning-bg); border-color: var(--st-warning-border); } .card.warn h3, .card.warn p { color: var(--st-warning-text); } .card.ok h3, .card.ok p { color: var(--st-good-text); } .card .fine { font-size: 0.8rem; color: var(--slate-500); margin-top: 0.3rem; flex: 0; } .card.warn .fine, .card.ok .fine { color: inherit; opacity: 0.85; } /* 타임라인 (틴트 섹션 위 흰 카드) */ .legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; font-size: 0.85rem; color: var(--slate-600); margin: -0.4rem 0 1.2rem; } .legend span { display: inline-flex; align-items: center; gap: 0.35rem; } .timeline { display: grid; gap: 0.6rem; } .day { display: grid; grid-template-columns: 160px 1fr; gap: 0.6rem 1.2rem; align-items: start; padding: 0.95rem 1.2rem; border-radius: 16px; border: 1px solid var(--slate-100); background: #fff; box-shadow: var(--shadow); } .day.mark { border-color: var(--st-good-border); background: #FBFAFF; } .day .d { display: grid; gap: 0.1rem; } .day .d b { color: var(--primary-900); font-size: 1rem; font-family: "Playfair Display", Georgia, serif; font-weight: 700; } .day .d span { font-size: 0.78rem; color: var(--slate-500); } .day .d .ev { font-size: 0.78rem; font-weight: 700; color: var(--grad-start); } .day .body { display: grid; gap: 0.45rem; } .day .tags { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; } .day .tags .desc { font-size: 0.85rem; color: var(--slate-600); } .day .picks { display: flex; flex-wrap: wrap; gap: 0.4rem; } .day .picks a, .day .picks span.pick { display: inline-flex; align-items: center; gap: 0.35rem; border: 1px solid var(--slate-200); border-radius: 999px; padding: 0.3rem 0.75rem; font-size: 0.85rem; color: var(--indigo); background: #fff; } .day .picks a:hover { border-color: var(--accent); text-decoration: none; } .day .picks small { color: var(--slate-500); font-size: 0.72rem; } .day .rest { font-size: 0.88rem; color: var(--slate-500); } @media (max-width: 640px) { .day { grid-template-columns: 1fr; } } /* 예약 (다크 섹션 위 흰 카드) */ .hotel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; } .hotel-grid .card small { color: var(--slate-500); font-size: 0.78rem; } .hotel-grid .card .links { display: flex; gap: 0.7rem; flex-wrap: wrap; font-size: 0.85rem; font-weight: 600; } .book-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; margin-top: 1.5rem; } .book-row .card .plan-actions { margin-top: 0.4rem; } .section.dark .disclosure { color: rgba(255,255,255,0.6); border-top-color: rgba(255,255,255,0.12); } .section.dark .disclosure a, .section.dark .sources-list a { color: var(--purple-300); } .section.dark .sources-list { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin: 0.3rem 0 0; } .toast { position: fixed; left: 50%; bottom: 2rem; transform: translateX(-50%); background: var(--primary-900); color: #fff; padding: 0.6rem 1.1rem; border-radius: 999px; font-size: 0.9rem; opacity: 0; transition: opacity 0.2s; pointer-events: none; z-index: 20; } .toast.show { opacity: 1; } /* 방문 안내 진입 CTA 카드 (웜 그라디언트는 CTA 카드 한 장에만) */ .plan-entry { background: linear-gradient(to right, #fff3eb, #e4cfff, #f5f9ff); border-radius: 16px; padding: 1.3rem 1.5rem; box-shadow: var(--shadow); margin: 2rem 0; display: grid; gap: 0.4rem; } .plan-entry h2 { margin: 0; font-size: 1.1rem; color: var(--indigo); } .plan-entry p { margin: 0; color: var(--slate-700); font-size: 0.95rem; } .plan-entry .btn { justify-self: start; margin-top: 0.4rem; } @media print { .site-header, .backbar-wrap, .totop, .site-footer, .sample-banner, .plan-input, .plan-actions, .toast, .lang-links { display: none !important; } .section { padding: 1rem 0 !important; } .section.dark, .section.tint { background: #fff !important; color: var(--primary-900); } .section.dark .sec-head h2, .plan-hero h1 { -webkit-text-fill-color: var(--primary-900); background: none; } .stat { background: #fff; border: 1px solid var(--slate-200); } .stat b { color: var(--primary-900); } .stat .label, .stat .desc { color: var(--slate-700); } .card, .day { box-shadow: none; break-inside: avoid; } }