/* 韓遊帖樣式表
   排列順序：設計權杖 → 基礎 → 版面骨架 → 共用元件 → 各分頁區塊 → 響應式 → 動態效果
   字型以 <link> 在 HTML head 載入，避免 @import 延後字型請求。 */

/* ── 1. 設計權杖 ───────────────────────────────── */
:root {
  /* 色彩：韓紙暖白底、墨色文字、朱紅印章、靛藍重點 */
  --paper: #f4efe3;
  --paper-2: #fffaf0;
  --paper-3: #faf4e7;
  --ink: #1e2928;
  --ink-soft: #2c3a38;
  --muted: #68706b;
  --red: #a3312d;
  --red-soft: #c0564f;
  --blue: #243e60;
  --line: #d8cdb9;
  --line-soft: #e6ddcc;
  --amber-bg: #f1dfbb;
  --amber-ink: #664d24;

  --shadow: 0 18px 45px rgba(42, 39, 31, .1);
  --shadow-sm: 0 6px 18px rgba(42, 39, 31, .08);

  --serif: "Shippori Mincho B1", "Noto Serif KR", serif;
  --sans: "Avenir Next", "PingFang TC", "Noto Sans TC", sans-serif;

  /* 間距：桌面與手機各一組，區塊節奏統一由此控制 */
  --gap-section: 5rem;
  --gap-block: 1.5rem;
  --pad-page: 2rem;
  --radius: 6px;
  --radius-sm: 4px;
}

/* ── 2. 基礎 ──────────────────────────────────── */
* { box-sizing: border-box }

html {
  scroll-behavior: smooth;
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  background-image: radial-gradient(rgba(44, 54, 47, .055) .7px, transparent .7px);
  background-size: 7px 7px;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.7;
}

a { color: inherit }
button, input, select { font: inherit }
button, a { touch-action: manipulation }
h2, h3, p { margin-top: 0 }
h2, h3 { font-family: var(--serif); line-height: 1.3 }
img { max-width: 100% }

[hidden] { display: none !important }

:focus-visible {
  outline: 3px solid var(--red-soft);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.nowrap { white-space: nowrap }

.skip {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 99;
  padding: .6rem 1rem;
  background: var(--ink);
  color: #fff;
}
.skip:focus { top: 1rem }

/* ── 3. 版面骨架：頁首、導覽、主內容、頁尾 ────────── */
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  padding: 1.25rem var(--pad-page);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  gap: .75rem;
  align-items: center;
  text-decoration: none;
}
.brand b {
  font: 700 1.15rem var(--serif);
  letter-spacing: .12em;
}
.brand small {
  display: block;
  color: var(--muted);
  font-size: .65rem;
  letter-spacing: .13em;
}

/* 朱紅印章：品牌記號，也用在列表的類別圖示 */
.seal {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.2rem;
  height: 2.2rem;
  background: var(--red);
  color: #fff8ec;
  border-radius: var(--radius-sm);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .18);
  font: 700 1.1rem var(--serif);
  transform: rotate(-2deg);
}
.seal-lg {
  width: 4.25rem;
  height: 4.25rem;
  font-size: 2rem;
}

.site-nav { display: flex; gap: .35rem }
.site-nav a {
  padding: .5rem .72rem;
  border-radius: 2rem;
  font-size: .85rem;
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--ink);
  color: var(--paper-2);
}

main {
  max-width: 1200px;
  margin: auto;
  padding: 3.5rem var(--pad-page) 6rem;
}

.page-head { max-width: 760px; margin-bottom: 2.5rem }
.page-head h1 {
  margin: .25rem 0;
  font: 700 clamp(2.25rem, 6vw, 4.8rem)/1.12 var(--serif);
  letter-spacing: -.04em;
}

.eyebrow {
  margin: 0;
  color: var(--red);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.brush {
  display: block;
  width: 6rem;
  height: .32rem;
  margin-top: 1.2rem;
  background: var(--blue);
  transform: skewX(-22deg);
}

.lead {
  max-width: 650px;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 1.05rem;
}

section + section { margin-top: var(--gap-section) }

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: var(--gap-block);
}
.section-title h2 { margin: .2rem 0; font-size: 2rem }
.section-title > a { font-size: .85rem }

/* 區塊內的次級分組標題（美食方位、購物分類） */
.group + .group { margin-top: 2.5rem }
.group-head {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  padding-bottom: .5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.group-head h3 {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: .04em;
}
.group-head span {
  color: var(--muted);
  font-size: .78rem;
}

body > footer {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  padding: 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .75rem;
}
body > footer p { margin: 0 }

/* ── 4. 共用元件 ──────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .65rem 1.15rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
}
.button.primary {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.button:hover { transform: translateY(-2px) }

.status, .chip {
  display: inline-flex;
  align-items: center;
  padding: .28rem .62rem;
  border-radius: 2rem;
  font-size: .72rem;
  white-space: nowrap;
}
.status { background: var(--amber-bg); color: var(--amber-ink) }
.chip { border: 1px solid var(--line); color: var(--muted) }

.text-link {
  display: inline-block;
  padding: .15rem 0;
  color: var(--blue);
  font-size: .82rem;
  font-weight: 700;
}

/* 卡片：景點、美食、商店、商品共用 */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.catalog-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .42);
  overflow-wrap: anywhere;
}
.catalog-card:target {
  outline: 3px solid var(--red);
  scroll-margin-top: 5rem;
}
.catalog-card .card-title {
  margin: 0 0 .15rem;
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.3;
}
.catalog-card > p:not(.ko) { color: var(--muted) }
.catalog-card .ko {
  margin-bottom: 1rem;
  color: var(--blue);
  font-family: "Noto Serif KR", serif;
}
.catalog-card footer {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  padding-top: .8rem;
  margin-top: auto;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .75rem;
}

.card-top {
  display: flex;
  gap: .4rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: .9rem;
}
.card-top .status { margin-left: auto }

/* 展開區：餐點、備註、商品規格 */
.catalog-card details {
  padding-top: .7rem;
  margin-top: auto;
  border-top: 1px solid var(--line-soft);
}
.catalog-card summary {
  padding: .3rem 0;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
}
.catalog-card details .detail-label {
  margin: .9rem 0 .25rem;
  font-family: var(--serif);
  font-size: .92rem;
  font-weight: 700;
}
.catalog-card details ul {
  padding-left: 1.2rem;
  margin: .25rem 0;
  font-size: .85rem;
}
.catalog-card details p { margin: .25rem 0; font-size: .82rem }
.catalog-card details .muted { color: var(--muted) }

/* 營業時間區塊 */
.hours {
  padding: .75rem 1rem;
  margin: 0 0 1rem;
  border-radius: var(--radius-sm);
  background: var(--paper-2);
}
.hours small {
  color: var(--red);
  font-weight: 700;
  letter-spacing: .04em;
}
.hours p { margin: .25rem 0 0; font-size: .88rem }

/* 參考截圖：點開可看原圖 */
.reference-image {
  display: block;
  margin: 0 -1.4rem 1.1rem;
  background: var(--ink);
  text-decoration: none;
  overflow: hidden;
}
.reference-image img {
  display: block;
  width: 100%;
  height: 200px;
  background: var(--paper-2);
  object-fit: cover;
  object-position: center 28%;
}
.reference-image span {
  display: block;
  padding: .4rem .75rem;
  color: var(--paper-2);
  font-size: .72rem;
  text-align: right;
}

.empty-state {
  padding: 4rem 1rem;
  margin-top: 1.2rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
}
.empty-state h2 { margin: 1rem 0 .25rem }
.empty-state p { color: var(--muted) }

/* 深色區塊：出發前提醒 */
.ink-section {
  padding: clamp(1.5rem, 5vw, 4rem);
  margin-left: calc(var(--pad-page) * -1);
  margin-right: calc(var(--pad-page) * -1);
  background: var(--ink);
  color: var(--paper-2);
}
.ink-section .section-title > a { color: var(--paper-2) }

.notice-list {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, .14);
}
.notice {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.2rem;
  padding: 1.25rem;
  background: var(--ink);
}
.notice > span {
  color: #e8b4a1;
  font-size: .72rem;
  letter-spacing: .1em;
}
.notice h3 { margin-bottom: .2rem }
.notice p { margin: 0; color: #d5d5ce }

/* ── 5. 首頁 ──────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
  align-items: center;
  gap: 7vw;
  padding: 2rem 0 5rem;
}
.hero-ko {
  font: 500 1rem var(--serif);
  letter-spacing: .28em;
  color: var(--red);
}
.hero h2 {
  margin: .2rem 0 1.75rem;
  font: 700 clamp(2.8rem, 7vw, 6.4rem)/1.1 var(--serif);
  letter-spacing: -.06em;
}
.hero > div > p:not(.hero-ko) {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.05rem;
}
.hero-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* 車票造型的旅程摘要 */
.trip-ticket {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 370px;
  padding: 2.5rem;
  background: var(--blue);
  color: #f8f1df;
  box-shadow: var(--shadow);
}
.trip-ticket::before,
.trip-ticket::after {
  content: "";
  position: absolute;
  left: -14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--paper);
}
.trip-ticket::before { top: 20% }
.trip-ticket::after { bottom: 20% }
.trip-ticket p {
  margin: 2rem 0 1rem;
  font-size: .75rem;
  letter-spacing: .2em;
}
.trip-ticket strong {
  font: 700 clamp(1.7rem, 3.5vw, 3rem)/1.2 var(--serif);
  letter-spacing: .04em;
}
.trip-ticket small { margin-top: 2rem }
.trip-ticket .status { background: #fff1d3; color: var(--ink) }

/* 七日入口：桌面橫向七欄，手機改為整齊清單 */
.day-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.day-card {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  min-height: 190px;
  padding: 1.15rem;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, .28);
  text-decoration: none;
}
.day-card:last-child { border-right: 0 }
.day-card:hover {
  background: var(--paper-2);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.day-card span, .day-card small { color: var(--muted); font-size: .75rem }
.day-card b { color: var(--red) }
.day-card strong {
  margin-top: auto;
  font: 700 1.15rem var(--serif);
}

/* 航班與住宿摘要 */
.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.summary-grid > div {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
}
.summary-grid h3 { font-size: 1rem; color: var(--red) }
.summary-grid article {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .25rem 1rem;
  padding: .8rem 0;
  border-top: 1px solid var(--line);
}
.summary-grid article b { font-family: var(--serif) }
.summary-grid article span { color: var(--blue); font-size: .82rem }
.summary-grid article small { grid-column: 1 / -1; color: var(--muted) }

/* 旅遊摘要入口 */
.update-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  border-radius: var(--radius);
  background: var(--paper-2);
}
.update-entry h2 { margin: .2rem 0; font-size: 1.8rem }
.update-entry p { margin-bottom: 0; color: var(--muted) }

/* ── 6. 每日行程 ──────────────────────────────── */
/* 日期頁籤在捲動時固定在頂端，長行程也能直接換日 */
.day-tabs {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: .5rem;
  padding: .75rem 0;
  margin-bottom: 2rem;
  background: var(--paper);
}
.day-tabs button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .55);
  cursor: pointer;
}
.day-tabs button b { font: 700 1.3rem var(--serif) }
.day-tabs button span { color: var(--muted); font-size: .7rem }
.day-tabs button[aria-selected="true"] {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.day-tabs button[aria-selected="true"] span { color: #f8d7cb }

.day-panel > header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 2rem;
  margin-bottom: 2rem;
}
.day-panel h2 { margin: .3rem 0; font-size: 2.2rem }
.day-panel > header p:not(.eyebrow) { color: var(--muted) }
.day-panel:focus { outline: none }

.timeline {
  max-width: 820px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  padding-bottom: 1.5rem;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 44px;
  bottom: -4px;
  border-left: 1px solid var(--line);
}
.timeline li:last-child::before { display: none }

.timeline-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font: 700 .8rem var(--serif);
}
.timeline article {
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
}
.timeline h3 { margin: .25rem 0; font-size: 1.25rem }
.timeline p { margin-bottom: .6rem; color: var(--muted) }

.event-meta {
  display: flex;
  gap: 1rem;
  color: var(--red);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .06em;
}

/* 沒有 JavaScript 時顯示全部日期，不讓內容消失 */
.no-js-note {
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-2);
  color: var(--muted);
  font-size: .85rem;
}

/* ── 7. 購物 ─────────────────────────────────── */
.shopping-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}
.shopping-intro > div {
  padding: 2rem;
  border-top: 4px solid var(--red);
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--paper-2);
}

.product-card .card-title { font-size: 1.2rem }
.product-card .reference-image { flex-shrink: 0 }
.product-brand {
  color: var(--blue);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
}
.product-spec {
  margin: .35rem 0 .8rem;
  color: var(--muted);
  font-size: .85rem;
}
.product-price {
  margin: 0 0 .75rem;
  color: var(--red);
  font-size: 1.05rem;
  font-weight: 700;
}
.product-price small {
  display: block;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 400;
}
.product-empty {
  border: 0;
  background: var(--blue);
  color: #fff;
}
.product-empty p { color: #d8dce3 }

/* ── 8. 實用資訊 ─────────────────────────────── */
.info-list { border-top: 1px solid var(--line) }
.info-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.2rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}
.info-row h3 { margin: .15rem 0; font-size: 1.3rem }
.info-row p { margin: 0 }
.info-row small { color: var(--muted) }
.info-row .route-time {
  color: var(--blue);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
}

.update-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.update-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
}
.update-card h3 { margin: .2rem 0 .8rem; font-size: 1.3rem }
.update-card > p { color: var(--muted) }
.update-card > small {
  display: block;
  margin-top: 1rem;
  color: var(--blue);
}

.official-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}
.official-links a {
  padding: .4rem .65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--blue);
  font-size: .78rem;
  font-weight: 700;
}

/* ── 9. 響應式：平板與手機 ───────────────────────── */
@media (max-width: 900px) {
  :root { --gap-section: 4rem }

  .hero { grid-template-columns: 1fr }
  .day-grid { grid-template-columns: repeat(4, 1fr) }
  .day-card:nth-child(4) { border-right: 0 }
  .day-card:nth-child(n+5) { border-top: 1px solid var(--line) }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
}

@media (max-width: 620px) {
  :root {
    --gap-section: 3.25rem;
    --gap-block: 1.15rem;
    --pad-page: 1rem;
  }

  /* 底部導覽列：六個分頁全部可直接點，實用資訊不再被藏起來 */
  body { padding-bottom: 72px }
  .masthead { padding: 1rem }
  .brand { margin: auto }
  .site-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--paper-2);
    border-top: 1px solid var(--line);
  }
  .site-nav a {
    padding: .85rem .1rem;
    border-radius: 0;
    font-size: .74rem;
    text-align: center;
  }

  main { padding: 2rem var(--pad-page) 3.5rem }
  .page-head { margin-bottom: 1.75rem }
  .page-head h1 { font-size: clamp(2rem, 10vw, 3rem) }

  .hero { padding: 0 0 3rem; gap: 2rem; min-height: 0 }
  .hero h2 { font-size: clamp(2.35rem, 12vw, 3.5rem); line-height: 1.14 }
  .trip-ticket { min-height: 260px; padding: 2rem }
  .trip-ticket strong { font-size: 2rem }
  .trip-ticket p { margin: 1.25rem 0 .75rem }
  .trip-ticket small { margin-top: 1.25rem }

  /* 七天改成直向清單，一眼看完，不需要左右滑 */
  .day-grid { display: flex; flex-direction: column }
  .day-card {
    display: grid;
    grid-template-columns: 5.5rem 1fr;
    grid-template-areas: "num title" "date city";
    align-items: baseline;
    gap: .1rem .75rem;
    min-height: 0;
    padding: .9rem 1rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .day-card:last-child { border-bottom: 0 }
  .day-card:hover { transform: none; box-shadow: none }
  .day-card span { grid-area: num }
  .day-card b { grid-area: date; white-space: nowrap }
  .day-card strong { grid-area: title; margin-top: 0; font-size: 1.05rem }
  .day-card small { grid-area: city }

  .section-title { align-items: start }
  .ink-section { padding: 1.5rem 1rem }
  .notice { grid-template-columns: 1fr; gap: .3rem }

  .day-tabs {
    display: flex;
    gap: .4rem;
    padding: .6rem 0;
    margin-right: calc(var(--pad-page) * -1);
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .day-tabs::-webkit-scrollbar { display: none }
  .day-tabs button { min-width: 66px; scroll-snap-align: center }

  .day-panel > header { display: block }
  .day-panel h2 { font-size: 1.85rem }
  .timeline li { grid-template-columns: 38px 1fr; gap: .6rem }
  .timeline li::before { left: 17px; top: 34px }
  .timeline-mark { width: 36px; height: 36px }
  .timeline article { padding: 1rem }

  .catalog-grid { grid-template-columns: 1fr }
  .reference-image { margin: 0 -1.4rem 1rem }
  .reference-image img { height: 170px }

  .shopping-intro { grid-template-columns: 1fr }
  .summary-grid, .update-grid { grid-template-columns: 1fr }

  .update-entry { display: block; padding: 1.3rem }
  .update-entry .button { width: 100%; margin-top: 1rem }

  body > footer { display: block; padding: 1.5rem 1rem }
  body > footer p + p { margin-top: .3rem }
}

/* ── 10. 動態效果 ────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .hero h2, .hero p, .hero-actions, .trip-ticket { animation: rise .65s both }
  .hero p { animation-delay: .08s }
  .hero-actions { animation-delay: .16s }
  .trip-ticket { animation-delay: .24s }

  .day-card, .catalog-card, .timeline article, .button {
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  }

  @keyframes rise {
    from { opacity: 0; transform: translateY(16px) }
    to { opacity: 1; transform: none }
  }
}
