o2o-infinith-demo/supporters/src/styles/global.css

267 lines
22 KiB
CSS

/* INFINITH Design Tokens (docs/DESIGN_SYSTEM.md) 적용.
원색 금지 · 라인 아이콘 금지 · 이모지 금지 · 다크/라이트 섹션 리듬 · 다크 위 흰 카드 · 대각선 그림자 · 파스텔 상태색 */
:root {
--primary-900: #0A1128;
--primary-800: #1A2B5E;
--primary-50: #F4F6FB;
--accent: #6C5CE7;
--grad-start: #4F1DA1;
--grad-end: #021341;
--slate-700: #334155; --slate-600: #475569; --slate-500: #64748B; --slate-200: #E2E8F0; --slate-100: #F1F5F9;
--purple-200: #E9D5FF; --purple-300: #D8B4FE; --blue-300: #93C5FD;
--st-critical-bg: #FFF0F0; --st-critical-text: #7C3A4B; --st-critical-border: #F5D5DC;
--st-warning-bg: #FFF6ED; --st-warning-text: #7C5C3A; --st-warning-border: #F5E0C5;
--st-good-bg: #F3F0FF; --st-good-text: #4A3A7C; --st-good-border: #D5CDF5;
--st-info-bg: #EFF0FF; --st-info-text: #3A3F7C; --st-info-border: #C5CBF5;
--shadow: 3px 4px 12px rgba(0,0,0,0.06);
--shadow-hover: 4px 6px 16px rgba(0,0,0,0.09);
--max: 760px; --wide: 1280px;
font-size: 17px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
margin: 0; background: #fff; color: var(--primary-900);
font-family: Pretendard, "Pretendard Variable", Inter, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
line-height: 1.7; word-break: keep-all; -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.3; margin: 0; color: var(--primary-900); }
h1 { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: 1.45rem; font-weight: 700; margin-top: 2.8rem; margin-bottom: 0.8rem; letter-spacing: -0.01em; }
h3 { font-size: 1.12rem; font-weight: 700; margin-top: 1.8rem; margin-bottom: 0.5rem; }
.serif { font-family: "Playfair Display", Georgia, serif; }
p { margin: 0 0 1rem; color: var(--slate-700); }
ul, ol { padding-left: 1.3rem; margin: 0 0 1rem; color: var(--slate-700); }
li { margin-bottom: 0.35rem; }
table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1rem 0 1.5rem; font-size: 0.95rem; background: #fff; border: 1px solid var(--slate-100); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
th, td { padding: 0.7rem 0.9rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--slate-100); }
tr:last-child td { border-bottom: 0; }
th { background: var(--primary-900); color: #fff; font-weight: 600; font-size: 0.88rem; letter-spacing: 0.02em; }
td { color: var(--slate-700); }
.table-wrap { overflow-x: auto; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.wrap-wide { max-width: var(--wide); margin: 0 auto; padding: 0 1.5rem; }
/* sections: dark / light rhythm */
.section { padding: 4rem 0; }
.section.dark { background: var(--primary-900); background-image: radial-gradient(ellipse at 20% 0%, rgba(108,92,231,0.18), transparent 55%); color: #fff; }
.section.dark h1, .section.dark h2, .section.dark h3 { color: #fff; }
.section.dark p { color: rgba(255,255,255,0.8); }
.section.light { background: #fff; }
.section.tint { background: var(--primary-50); }
.grad-text { background: linear-gradient(to right, var(--purple-300), var(--blue-300)); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,0.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--slate-100); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--primary-900); font-weight: 800; font-size: 1.1rem; }
.brand .mark { display: none; }
.brand-logo { height: 40px; width: auto; display: block; }
.brand-name { height: auto; font-weight: 800; font-size: 1.05rem; color: var(--primary-900); letter-spacing: -0.01em; white-space: nowrap; }
.brand-sep { width: 1px; height: 26px; background: var(--slate-200); margin: 0 0.35rem; }
.brand-text { display: flex; align-items: baseline; gap: 0.45rem; }
.brand small { font-family: "Playfair Display", Georgia, serif; font-weight: 700; color: var(--slate-500); font-size: 0.8rem; letter-spacing: 0.05em; }
.nav a { color: var(--slate-600); margin-left: 1.3rem; font-size: 0.93rem; font-weight: 500; }
.nav a:hover { color: var(--primary-900); text-decoration: none; }
.sample-banner { background: var(--st-warning-bg); color: var(--st-warning-text); border-bottom: 1px solid var(--st-warning-border); font-size: 0.83rem; text-align: center; padding: 0.5rem 1rem; font-weight: 500; }
/* pills & badges */
.pill { display: inline-flex; align-items: center; gap: 0.4rem; border-radius: 999px; padding: 0.35rem 0.9rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; }
.pill.grad { background: linear-gradient(to right, var(--grad-start), var(--grad-end)); color: #fff; }
.pill.ghost { background: rgba(255,255,255,0.1); color: var(--purple-200); border: 1px solid rgba(255,255,255,0.15); }
.pill.soft { background: var(--st-good-bg); color: var(--st-good-text); border: 1px solid var(--st-good-border); }
.badge { display: inline-block; font-size: 0.74rem; font-weight: 600; padding: 0.15rem 0.6rem; border-radius: 999px; margin-left: 0.4rem; vertical-align: middle; border: 1px solid transparent; }
.badge.reviewed { background: var(--st-good-bg); color: var(--st-good-text); border-color: var(--st-good-border); }
.badge.pending { background: var(--st-warning-bg); color: var(--st-warning-text); border-color: var(--st-warning-border); }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 999px; padding: 0.75rem 1.4rem; font-weight: 600; font-size: 0.95rem; text-decoration: none; }
.btn.primary { background: linear-gradient(to right, var(--grad-start), var(--grad-end)); color: #fff; box-shadow: var(--shadow); }
.btn.secondary { background: #fff; color: var(--grad-end); border: 1px solid var(--slate-200); }
.btn:hover { text-decoration: none; box-shadow: var(--shadow-hover); }
/* article */
.eyebrow { color: var(--accent); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.7rem; font-family: Inter, Pretendard, sans-serif; }
.article-head { padding: 3rem 0 1.2rem; }
.meta { color: var(--slate-500); font-size: 0.88rem; display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; margin-top: 1rem; }
.summary { background: #F2F6FF; border: 1px solid #E3EAFB; border-radius: 16px; padding: 1.3rem 1.5rem; margin: 1.6rem 0 2.2rem; box-shadow: var(--shadow); }
.summary h2 { margin: 0 0 0.6rem; font-size: 0.8rem; color: var(--grad-start); letter-spacing: 0.08em; text-transform: uppercase; font-family: Inter, Pretendard, sans-serif; }
.summary ol { margin: 0; padding-left: 1.2rem; }
.summary li { margin-bottom: 0.35rem; font-weight: 500; color: var(--primary-900); }
.figure { margin: 1.8rem 0; }
.figure img { border-radius: 16px; box-shadow: var(--shadow); }
.figure figcaption { font-size: 0.83rem; color: var(--slate-500); margin-top: 0.6rem; }
.video { position: relative; aspect-ratio: 16 / 9; background: var(--primary-900); border-radius: 16px; overflow: hidden; margin: 0.6rem 0 0.5rem; box-shadow: var(--shadow); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-note { font-size: 0.85rem; color: var(--slate-500); margin-bottom: 1.4rem; }
.faq details { background: #fff; border: 1px solid var(--slate-100); border-radius: 16px; padding: 0.95rem 1.2rem; margin-bottom: 0.6rem; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; color: var(--primary-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 999px; background: var(--st-good-bg); color: var(--accent); font-size: 0.75rem; margin-right: 0.6rem; font-family: Inter, sans-serif; }
.faq details p { margin: 0.7rem 0 0 2.1rem; color: var(--slate-600); }
.review-box { display: grid; grid-template-columns: 56px 1fr; gap: 1rem; align-items: start; background: #fff; border: 1px solid var(--slate-100); border-radius: 16px; padding: 1.1rem 1.25rem; margin: 2.4rem 0 1rem; font-size: 0.92rem; box-shadow: var(--shadow); color: var(--slate-700); }
.review-box img { width: 56px; height: 56px; object-fit: cover; border-radius: 50%; }
.review-box .avatar { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--grad-start), var(--grad-end)); display: grid; place-items: center; color: #fff; font-weight: 800; }
.sources { font-size: 0.88rem; color: var(--slate-600); }
.sources li { margin-bottom: 0.3rem; }
.disclosure { font-size: 0.84rem; color: var(--slate-500); border-top: 1px solid var(--slate-100); padding-top: 1.1rem; margin-top: 2.2rem; }
.fact-block { background: #fff; border: 1px solid var(--slate-100); border-radius: 16px; padding: 1.3rem 1.5rem; margin: 2.4rem 0; font-size: 0.93rem; box-shadow: var(--shadow); }
.fact-block h2 { margin: 0 0 0.8rem; font-size: 1rem; }
.fact-block dl { display: grid; grid-template-columns: 7.5em 1fr; gap: 0.4rem 0.9rem; margin: 0; }
.fact-block dt { color: var(--slate-500); }
.fact-block dd { margin: 0; color: var(--slate-700); }
.section.dark .fact-block { color: var(--slate-700); }
/* home */
.hero { padding: 5rem 0 4rem; }
.hero h1 { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin-top: 1rem; }
.hero .lede { font-size: 1.1rem; color: rgba(255,255,255,0.8); margin-top: 1.2rem; max-width: 680px; }
.hero .actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.card { background: #fff; border: 1px solid var(--slate-100); border-radius: 16px; padding: 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.55rem; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.card .cat { font-size: 0.75rem; color: var(--accent); font-weight: 700; letter-spacing: 0.06em; font-family: Inter, Pretendard, sans-serif; }
.card h3 { margin: 0; font-size: 1.08rem; color: var(--primary-900); }
.card h3 a { color: var(--primary-900); }
.card p { color: var(--slate-600); font-size: 0.93rem; margin: 0; flex: 1; }
.card .foot { font-size: 0.78rem; color: var(--slate-500); }
.section.dark .card p, .section.dark .card h3, .section.dark .card h3 a { color: var(--primary-900); }
.section.dark .card p { color: var(--slate-600); }
.section-title { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 1.4rem; }
.section-title h2 { margin: 0; font-size: 1.7rem; }
.section-title .sub { color: var(--slate-600); font-size: 1rem; margin: 0.3rem 0 0; }
.section.dark .section-title .sub { color: var(--purple-200); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin: 2rem 0 0; }
.kpi { background: linear-gradient(to right, #fff3eb, #e4cfff, #f5f9ff); border-radius: 16px; padding: 1.1rem 1.2rem; box-shadow: var(--shadow); }
.kpi b { display: block; font-size: 1.6rem; letter-spacing: -0.02em; color: var(--primary-900); font-family: "Playfair Display", Georgia, serif; }
.kpi span { font-size: 0.8rem; color: var(--slate-600); font-weight: 500; }
.notice { background: var(--st-warning-bg); color: var(--st-warning-text); border: 1px solid var(--st-warning-border); border-radius: 16px; padding: 0.95rem 1.2rem; font-size: 0.9rem; margin: 1.4rem 0; }
/* footer */
.site-footer { margin-top: 0; background: var(--primary-900); color: rgba(255,255,255,0.75); padding: 3rem 0 3rem; font-size: 0.85rem; }
.site-footer .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.site-footer p { margin-bottom: 0.5rem; color: rgba(255,255,255,0.75); }
.site-footer strong { color: #fff; }
.site-footer a { color: var(--purple-300); }
.site-footer .powered { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,0.1); font-family: "Playfair Display", Georgia, serif; letter-spacing: 0.05em; color: var(--purple-300); font-size: 0.8rem; }
@media (max-width: 720px) {
.brand-logo { height: 32px; }
.brand-text small { display: none; }
:root { font-size: 16px; }
h1 { font-size: 1.7rem; }
.hero h1 { font-size: 1.9rem; }
.hero { padding: 3.5rem 0 3rem; }
.section { padding: 3rem 0; }
.site-footer .cols { grid-template-columns: 1fr; }
.nav a { margin-left: 0.9rem; font-size: 0.86rem; }
.fact-block dl { grid-template-columns: 6em 1fr; }
}
/* ── INFINITH 실측 규격 보정 (plan/view-clinic · discovery 랜딩 기준) ── */
/* 히어로: 라이트 파스텔 라디얼 (PlanHeader.tsx 공식) */
.hero-light { position: relative; overflow: hidden; padding: 5rem 0 4.5rem;
background: radial-gradient(ellipse at top left, #e0e7ff, transparent 50%), radial-gradient(ellipse at bottom right, #fce7f3, transparent 50%), radial-gradient(ellipse at center, #f5f3ff, transparent 60%); }
.hero-light .blob { position: absolute; border-radius: 999px; filter: blur(60px); pointer-events: none; }
.hero-light .blob.a { top: 2rem; left: 2rem; width: 18rem; height: 18rem; background: rgba(108,92,231,0.10); }
.hero-light .blob.b { bottom: 2rem; right: 2rem; width: 24rem; height: 24rem; background: rgba(213,205,245,0.30); }
.hero-light .inner { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.hero-light h1 { font-size: 2.86rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.18; color: var(--primary-900); }
.hero-light h1 .accent { color: var(--accent); }
.hero-light .lede { font-size: 1.08rem; color: var(--slate-600); margin-top: 1.1rem; max-width: 640px; }
.hero-light .chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.3rem; }
.chip { display: inline-flex; align-items: center; gap: 0.4rem; border-radius: 999px; background: rgba(255,255,255,0.6); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.4); padding: 0.3rem 0.8rem; font-size: 0.85rem; font-weight: 500; color: var(--slate-700); }
.chip .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); }
.ring { width: 8.5rem; height: 8.5rem; border-radius: 999px; background: linear-gradient(to right, var(--grad-start), var(--grad-end)); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 10px 25px rgba(2,19,65,0.25); }
.ring b { font-family: "Playfair Display", Georgia, serif; font-size: 2.6rem; line-height: 1; font-weight: 700; }
.ring span { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--purple-200); margin-top: 0.3rem; font-family: Inter, sans-serif; }
/* 섹션 제목: 영문 Playfair + 한글 부제 (SectionWrapper 규격) */
.sec-head { margin-bottom: 1.6rem; }
.sec-head h2 { font-family: "Playfair Display", Georgia, serif; font-size: 2rem; font-weight: 700; margin: 0; letter-spacing: 0; }
.sec-head .sub { margin: 0.35rem 0 0; color: var(--slate-600); font-size: 1rem; }
.section.dark .sec-head h2 { background: linear-gradient(to right, var(--purple-300), var(--blue-300)); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
.section.dark .sec-head .sub { color: var(--purple-200); }
.sec-head .row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.sec-head .eyebrow { margin-bottom: 0.5rem; }
/* 다크 섹션 KPI: 다크 글래스 카드 + Playfair 숫자 #AF90FF (WhyNow.tsx 규격) */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.stat { background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.10); backdrop-filter: blur(4px); border-radius: 16px; padding: 1.5rem 1.6rem; }
.stat b { display: block; font-family: "Playfair Display", Georgia, serif; font-size: 2.6rem; font-weight: 700; line-height: 1.15; color: #AF90FF; }
.stat .label { display: block; color: #fff; font-weight: 700; font-size: 0.98rem; margin-top: 0.4rem; }
.stat .desc { display: block; color: rgba(255,255,255,0.7); font-size: 0.86rem; margin-top: 0.35rem; line-height: 1.6; }
/* 라이트 섹션 카드: 표준 카드(bg-white · border-slate-100 · shadow-sm) */
.section.light .card { box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.section.light .card:hover { box-shadow: var(--shadow-hover); }
/* 헤더: INFINITH 헤더 규격 (흰 배경, 우측 그라디언트 pill CTA) */
.site-header .right { display: flex; align-items: center; gap: 1rem; }
.site-header .cta { background: linear-gradient(to right, var(--grad-start), var(--grad-end)); color: #fff; border-radius: 999px; padding: 0.5rem 1.05rem; font-size: 0.86rem; font-weight: 600; }
.site-header .cta:hover { text-decoration: none; box-shadow: var(--shadow); }
.nav a, .site-header .cta, .brand-text { white-space: nowrap; }
/* 720~1040px: 메뉴 5개가 한 줄에 들어가도록 간격·크기 축소, 브랜드 영문 서브 숨김 */
@media (max-width: 1040px) {
.nav a { margin-left: 0.85rem; font-size: 0.86rem; }
.site-header .right { gap: 0.7rem; }
.site-header .cta { padding: 0.45rem 0.85rem; font-size: 0.82rem; }
.brand-text small { display: none; }
}
@media (max-width: 720px) {
.hero-light .inner { grid-template-columns: 1fr; }
.hero-light h1 { font-size: 1.9rem; }
.ring { display: none; }
.site-header .cta { display: none; }
.sec-head h2 { font-size: 1.6rem; }
}
/* ── 미디어: 라이트 유튜브 임베드 · 갤러리 · 썸네일 카드 ── */
.yt { margin: 1.4rem 0 1.8rem; }
.yt-btn { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: pointer; background: var(--primary-900); box-shadow: var(--shadow); }
.yt-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.yt-btn:hover img { transform: scale(1.03); }
.yt-btn .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 999px; background: linear-gradient(to right, var(--grad-start), var(--grad-end)); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(2,19,65,0.35); }
.yt-frame { aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); background: #000; }
.yt-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.yt figcaption { margin-top: 0.6rem; font-size: 0.86rem; color: var(--slate-500); display: flex; flex-direction: column; gap: 0.1rem; }
.yt figcaption strong { color: var(--primary-900); font-size: 0.95rem; }
.yt.compact { margin: 0; }
.yt.compact .play { width: 48px; height: 48px; }
.yt.compact figcaption strong { font-size: 0.9rem; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.1rem; margin: 0.8rem 0 1.6rem; }
.gallery { display: grid; gap: 1rem; margin: 1.4rem 0 1.8rem; }
.gallery.cols-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.gallery.cols-3 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.gallery .figure { margin: 0; }
.gallery .figure img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.figure.portrait img { aspect-ratio: auto; }
.card.has-thumb { padding: 0; overflow: hidden; }
.card.has-thumb .thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card.has-thumb .thumb.thumb-logo { display: block; background: #F7F8FC; aspect-ratio: 16 / 9; }
.card.has-thumb .thumb.thumb-logo img { object-fit: contain; padding: 18% 22%; box-sizing: border-box; }
.card.has-thumb .body { padding: 1.2rem 1.4rem 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.card.has-thumb .body p { flex: 1; }
.doctor-strip { display: flex; gap: 1rem; align-items: center; background: #fff; border: 1px solid var(--slate-100); border-radius: 16px; padding: 1rem 1.2rem; margin: 1.4rem 0; box-shadow: var(--shadow); }
.doctor-strip img { width: 72px; height: 92px; object-fit: cover; object-position: top; border-radius: 12px; }
.doctor-strip .name { font-weight: 800; color: var(--primary-900); }
.doctor-strip .creds { font-size: 0.85rem; color: var(--slate-600); margin: 0.2rem 0 0; }
.hero-light .hero-img { border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(2,19,65,0.18); max-width: 440px; }
.hero-light .hero-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-light .hero-img.square { max-width: 420px; }
.hero-light .hero-img.collage { max-width: 500px; }
.hero-light .hero-img.collage img { aspect-ratio: 500 / 425; }
.hero-light .hero-img.square img { aspect-ratio: 1 / 1; }
@media (max-width: 720px) { .hero-light .hero-img { max-width: 100%; } }
/* ── 이전 페이지 버튼 · 플로팅 맨 위로 ── */
.backbar-wrap { background: #fff; border-bottom: 1px solid var(--slate-100); }
.backbar { padding: 0.8rem 1.5rem; }
.backbtn { display: inline-flex; align-items: center; gap: 0.35rem; background: #fff; border: 1px solid var(--slate-200); color: var(--grad-end); border-radius: 999px; padding: 0.4rem 0.95rem 0.4rem 0.7rem; font-size: 0.85rem; font-weight: 600; box-shadow: var(--shadow); }
.backbtn:hover { text-decoration: none; box-shadow: var(--shadow-hover); }
.totop { position: fixed; right: 1.4rem; bottom: 1.6rem; width: 48px; height: 48px; border: 0; border-radius: 999px; background: linear-gradient(to right, var(--grad-start), var(--grad-end)); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 24px rgba(2,19,65,0.30); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s, transform .2s, box-shadow .2s; z-index: 20; }
.totop.show { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { box-shadow: 0 10px 28px rgba(2,19,65,0.40); }
@media (max-width: 720px) { .totop { right: 1rem; bottom: 1.1rem; width: 44px; height: 44px; } }