/* Ham & Negroni */

@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces-italic.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("assets/fonts/figtree.woff2") format("woff2-variations");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("assets/fonts/figtree-italic.woff2") format("woff2-variations");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --pink: #f6d7d2;
  --pink-deep: #e9b4ab;
  --pink-soft: #fbe8e3;
  --cream: #fff7ee;
  --paper: #fffdf9;
  --negroni: #c8371e;
  --negroni-dark: #a12a14;
  --amber: #f2a33a;
  --amber-soft: #fbe3b8;
  --espresso: #2b1812;
  --cocoa: #6b4a3f;
  --latte: #9a7d72;
  --night: #39506b;
  --night-soft: #dde5ee;
  --dill: #5f7f3a;
  --display: "Fraunces", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", Georgia, serif;
  --sans: "Figtree", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", system-ui, -apple-system, sans-serif;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 10px 30px rgba(91, 40, 30, 0.12);
  --shadow-sm: 0 3px 10px rgba(91, 40, 30, 0.10);
  --head-h: 64px;
  --tabbar-h: 66px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--espresso);
  background: var(--pink);
  min-height: 100dvh;
}
@media (min-width: 720px) { body { font-size: 17px; } }

img { display: block; max-width: 100%; }
a { color: var(--negroni-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 6px; }

h1, h2, h3, .display {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.012em;
  margin: 0;
}
h1 { font-size: clamp(2.5rem, 7vw, 4.4rem); }
h2 { font-size: clamp(1.85rem, 4.2vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0; }
.lede { font-size: 1.12rem; color: var(--cocoa); max-width: 34em; }
.small { font-size: 0.9rem; color: var(--cocoa); }
.muted { color: var(--latte); }

.wrap { width: min(1040px, 100% - 40px); margin-inline: auto; }
@media (max-width: 480px) { .wrap { width: calc(100% - 32px); } }

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

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1.1;
  text-decoration: none; white-space: nowrap;
  transition: transform 120ms ease, background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--negroni); color: var(--cream); }
.btn-primary:hover { background: var(--negroni-dark); }
.btn-ghost { background: transparent; border-color: var(--espresso); color: var(--espresso); }
.btn-ghost:hover { background: rgba(43, 24, 18, 0.06); }
.btn-soft { background: var(--cream); color: var(--espresso); box-shadow: var(--shadow-sm); }
.btn-soft:hover { background: #fff; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 0.92rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: default; }

/* verdict buttons */
.btn-round { background: var(--negroni); color: var(--cream); }
.btn-round:hover { background: var(--negroni-dark); }
.btn-night { background: var(--cream); border-color: var(--night); color: var(--night); }
.btn-night:hover { background: var(--night-soft); }
.btn-round.is-active, .btn-night.is-active { box-shadow: inset 0 0 0 3px var(--amber); }
.btn-night.is-active { background: var(--night); color: #fff; }
.clink { animation: clink 360ms cubic-bezier(.2,.8,.3,1.2); }
@keyframes clink {
  0% { transform: rotate(0) scale(1); }
  35% { transform: rotate(-7deg) scale(1.06); }
  70% { transform: rotate(4deg) scale(1.02); }
  100% { transform: rotate(0) scale(1); }
}

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field input, .field textarea, .field select {
  width: 100%; border: 2px solid var(--pink-deep); background: #fff; border-radius: var(--radius-sm);
  padding: 12px 14px; min-height: 48px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft); }
.field .hint { font-size: 0.85rem; color: var(--latte); }
.form-error {
  background: #fde8e4; color: var(--negroni-dark); border-radius: var(--radius-sm);
  padding: 10px 14px; font-size: 0.95rem;
}
.form-ok {
  background: #e8f0dc; color: #35521a; border-radius: var(--radius-sm);
  padding: 10px 14px; font-size: 0.95rem;
}

/* ---------- landing ---------- */
.site-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand img { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 3px var(--cream), 0 0 0 4px var(--pink-deep); }
.brand .name { font-family: var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; font-weight: 700; font-size: 1.35rem; line-height: 1; }
.brand .jp { display: block; font-family: var(--sans); font-weight: 500; font-size: 0.72rem; color: var(--cocoa); letter-spacing: 0.02em; margin-top: 3px; }

.hero {
  display: grid; gap: 36px; align-items: center;
  padding: 24px 0 56px;
}
.hero-copy { display: grid; gap: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { color: var(--cocoa); font-size: 0.95rem; }
.coaster-wrap { position: relative; width: min(100%, 420px); margin-inline: auto; }
.coaster {
  width: 100%; height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 10px var(--cream), 0 0 0 12px var(--pink-deep), var(--shadow);
}
.sticker {
  position: absolute; right: -6px; bottom: 26px;
  background: var(--amber); color: var(--espresso);
  font-family: var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; font-weight: 700; font-size: 1.05rem;
  padding: 10px 16px; border-radius: 999px; transform: rotate(-7deg);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 880px) {
  .hero { grid-template-columns: 1.1fr 0.9fr; gap: 56px; padding: 40px 0 80px; }
  .coaster-wrap { margin-inline: 0 auto; }
}

.section { padding: 48px 0; }
.section + .section { border-top: 2px dashed var(--pink-deep); }
.section-head { display: grid; gap: 10px; margin-bottom: 28px; max-width: 40em; }
@media (min-width: 720px) { .section { padding: 64px 0; } }

.steps { display: grid; gap: 18px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.step {
  background: var(--cream); border-radius: var(--radius); padding: 22px 22px 22px 70px; position: relative;
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 20px; top: 20px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--negroni); color: var(--cream); font-family: var(--display); font-weight: 700; font-size: 1.1rem;
  display: grid; place-items: center;
}
.step h3 { margin-bottom: 6px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.tab-teaser {
  background: var(--espresso); color: var(--cream); border-radius: var(--radius);
  padding: 28px 24px; display: grid; gap: 18px;
}
.tab-teaser h2 { color: var(--amber); }
.tab-teaser .lede { color: #f1dccd; }
.teaser-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.teaser-list li {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  padding: 10px 0; border-bottom: 1px dashed rgba(255, 247, 238, 0.25);
}
.teaser-list li:last-child { border-bottom: 0; }
.teaser-list .who { font-weight: 600; }
.teaser-list time { color: #cbb5a8; font-size: 0.85rem; }
@media (min-width: 720px) { .tab-teaser { grid-template-columns: 1fr 1.2fr; gap: 40px; padding: 40px; align-items: center; } }

.founders { max-width: 720px; }
.founders-photo { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: auto; }
.founders figcaption { margin-top: 10px; font-size: 0.92rem; color: var(--cocoa); }

.site-foot { padding: 40px 0 56px; color: var(--cocoa); font-size: 0.92rem; display: grid; gap: 8px; }

/* ---------- sheet / modal ---------- */
.sheet {
  position: fixed; inset: 0; z-index: 50; display: grid; place-items: end center;
  background: rgba(43, 24, 18, 0.45); padding: 0;
  animation: fade 160ms ease;
}
.sheet-card {
  width: min(520px, 100%); max-height: 92dvh; overflow: auto;
  background: var(--paper); border-radius: 26px 26px 0 0; padding: 22px 22px 32px;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.2);
  animation: rise 220ms cubic-bezier(.2,.8,.3,1);
}
@media (min-width: 720px) {
  .sheet { place-items: center; padding: 24px; }
  .sheet-card { border-radius: 26px; padding: 28px; }
}
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--pink-soft); font-size: 1.2rem; line-height: 1;
  display: grid; place-items: center;
}
.icon-btn:hover { background: var(--pink); }
.auth-switch { display: flex; gap: 6px; background: var(--pink-soft); padding: 4px; border-radius: 999px; margin-bottom: 18px; }
.auth-switch button { flex: 1; border: 0; background: transparent; border-radius: 999px; min-height: 40px; font-weight: 600; color: var(--cocoa); }
.auth-switch button[aria-selected="true"] { background: var(--paper); color: var(--espresso); box-shadow: var(--shadow-sm); }
.auth-form { display: grid; gap: 14px; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- app shell ---------- */
.app-head {
  position: sticky; top: 0; z-index: 20;
  background: rgba(246, 215, 210, 0.92); backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--pink-deep);
}
.app-head .wrap { display: flex; align-items: center; justify-content: space-between; min-height: var(--head-h); gap: 12px; }
.tabs { display: none; gap: 4px; }
.tab-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px;
  text-decoration: none; color: var(--cocoa); font-weight: 600; border: 0; background: transparent; position: relative;
}
.tab-link:hover { background: rgba(255, 247, 238, 0.7); color: var(--espresso); }
.tab-link[aria-current="page"] { background: var(--cream); color: var(--espresso); box-shadow: var(--shadow-sm); }
.tab-link .badge, .tabbar .badge {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--negroni); color: var(--cream);
  font-size: 0.75rem; font-weight: 700; display: grid; place-items: center;
}
.tabbar .badge { position: absolute; top: 6px; right: calc(50% - 26px); }
.head-me { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }

.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--cream); border-top: 2px solid var(--pink-deep);
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.tabbar a {
  display: grid; place-items: center; gap: 2px; text-decoration: none; color: var(--cocoa); font-size: 0.72rem; font-weight: 600;
  position: relative; padding-top: 8px;
}
.tabbar a .ico { font-size: 1.35rem; line-height: 1; }
.tabbar a[aria-current="page"] { color: var(--negroni-dark); }
.tabbar a[aria-current="page"]::after {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--negroni);
}
@media (min-width: 880px) {
  .tabs { display: inline-flex; }
  .tabbar { display: none; }
}

.app-main { padding: 22px 0 calc(var(--tabbar-h) + 34px); min-height: calc(100dvh - var(--head-h)); }
@media (min-width: 880px) { .app-main { padding-bottom: 60px; } }
.view { display: grid; gap: 20px; }
.view-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.view-head p { color: var(--cocoa); }

.notice {
  background: var(--amber-soft); border: 2px solid var(--amber); border-radius: var(--radius-sm);
  padding: 10px 14px; font-size: 0.95rem; margin-bottom: 18px;
}

.empty {
  background: var(--cream); border-radius: var(--radius); padding: 34px 24px; text-align: center; display: grid; gap: 10px; justify-items: center;
}
.empty h3 { font-size: 1.5rem; }

/* avatars */
.avatar {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none;
  background: var(--amber-soft); color: var(--negroni-dark); display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 1.1rem;
  box-shadow: 0 0 0 2px var(--cream), 0 0 0 3px var(--pink-deep);
}
.avatar.lg { width: 96px; height: 96px; font-size: 2.2rem; }
.avatar.xl { width: 128px; height: 128px; font-size: 3rem; }
.avatar.sm { width: 36px; height: 36px; font-size: 0.85rem; }
.pair { display: inline-flex; align-items: center; }
.pair .avatar:nth-child(2) { margin-left: -14px; }
.teaser-list .pair { min-width: 58px; }

/* people grid */
.people-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 600px) { .people-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 880px) { .people-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.person {
  min-width: 0; background: var(--cream); border-radius: var(--radius); padding: 10px 10px 12px; display: grid; gap: 10px;
  box-shadow: var(--shadow-sm);
}
.person-photo {
  width: 100%; aspect-ratio: 1; border-radius: 16px; object-fit: cover; border: 0; padding: 0; background: var(--amber-soft);
  display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 3rem; color: var(--negroni-dark);
  cursor: pointer; overflow: hidden;
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-name { font-family: var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; font-weight: 600; font-size: 1.2rem; line-height: 1.1; }
.person > * { min-width: 0; }
.person-order { font-size: 0.88rem; color: var(--cocoa); min-height: 2.6em; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.tally { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 4px; font-size: 0.8rem; font-weight: 600; padding: 3px 9px; border-radius: 999px;
  background: var(--pink-soft); color: var(--cocoa);
}
.chip.round { background: #fde3dc; color: var(--negroni-dark); }
.chip.night { background: var(--night-soft); color: var(--night); }
.verdicts { display: grid; gap: 6px; }
.verdicts .btn { min-height: 40px; padding: 0 10px; font-size: 0.88rem; }
.me-note { font-size: 0.85rem; color: var(--latte); text-align: center; padding: 8px 0 2px; }

/* the tab (feed) */
.feed { display: grid; gap: 10px; }
.feed-item {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
  background: var(--cream); border-radius: var(--radius-sm); padding: 12px 14px;
}
.feed-item.pop { animation: pop 320ms cubic-bezier(.2,.8,.3,1); }
.feed-item .line b { font-weight: 700; }
.feed-item .line .verb { color: var(--negroni-dark); font-weight: 600; }
.feed-item .line .verb.night { color: var(--night); }
.feed-item time { font-size: 0.82rem; color: var(--latte); white-space: nowrap; }
@keyframes pop { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }

/* chats */
.chat-layout { display: grid; gap: 16px; }
.convo-list { display: grid; gap: 8px; }
.convo {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; text-align: left;
  background: var(--cream); border: 0; border-radius: var(--radius-sm); padding: 10px 12px; width: 100%;
}
.convo:hover { background: #fff; }
.convo.is-active { box-shadow: inset 0 0 0 2px var(--amber); }
.convo .cname { font-weight: 700; }
.convo-text { display: block; min-width: 0; }
.convo .cname { display: block; }
.convo .cpreview { display: block; font-size: 0.88rem; color: var(--cocoa); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.convo .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--negroni); }
.thread {
  background: var(--cream); border-radius: var(--radius); display: grid; grid-template-rows: auto 1fr auto;
  min-height: 60dvh; max-height: calc(100dvh - var(--head-h) - var(--tabbar-h) - 60px);
}
.thread-head { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 2px dashed var(--pink-deep); }
.thread-head .cname { font-weight: 700; }
.thread-head .back { margin-right: -4px; }
.bubbles { overflow: auto; padding: 14px; display: grid; gap: 8px; align-content: start; }
.bubble {
  max-width: 78%; padding: 10px 14px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm);
  overflow-wrap: anywhere; justify-self: start;
}
.bubble.mine { background: var(--negroni); color: var(--cream); justify-self: end; border-bottom-right-radius: 6px; }
.bubble:not(.mine) { border-bottom-left-radius: 6px; }
.bubble time { display: block; font-size: 0.72rem; opacity: 0.7; margin-top: 3px; }
.composer { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 10px; border-top: 2px dashed var(--pink-deep); }
.composer input { border: 2px solid var(--pink-deep); border-radius: 999px; padding: 10px 16px; min-height: 46px; background: #fff; }
.composer input:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft); }
@media (min-width: 880px) {
  .chat-layout { grid-template-columns: 320px 1fr; align-items: start; }
  .thread { max-height: calc(100dvh - var(--head-h) - 110px); }
  .thread-head .back { display: none; }
}

/* me */
.me-card { background: var(--cream); border-radius: var(--radius); padding: 22px; display: grid; gap: 18px; max-width: 560px; }
.me-photo { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.me-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* profile sheet */
.profile-sheet { display: grid; gap: 16px; justify-items: start; }
.profile-sheet .big {
  width: 100%; aspect-ratio: 1; border-radius: 20px; object-fit: cover; background: var(--amber-soft);
  display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 5rem; color: var(--negroni-dark);
}
.profile-sheet .big img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.profile-sheet .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + 18px); transform: translateX(-50%); z-index: 60;
  background: var(--espresso); color: var(--cream); padding: 12px 18px; border-radius: 999px; box-shadow: var(--shadow);
  font-weight: 600; max-width: min(92vw, 480px); text-align: center; animation: rise 200ms ease;
}
@media (min-width: 880px) { .toast { bottom: 28px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- etiquette page ---------- */
.etiq-intro { padding: 28px 0 8px; display: grid; gap: 16px; }
.etiq-intro h1 { font-size: clamp(2.2rem, 6.4vw, 3.6rem); }
.etiq-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.etiq-jump a {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px;
  background: var(--cream); border: 2px solid var(--pink-deep); color: var(--espresso); text-decoration: none; font-weight: 600; font-size: 0.92rem;
}
.etiq-jump a:hover { border-color: var(--negroni); }
.etiq { display: grid; gap: 18px; }
.etiq > * { max-width: 46em; }
.etiq h2 [lang="ja"] { white-space: nowrap; }
.etiq-page .section { scroll-margin-top: 12px; }
.etiq-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.etiq-list li { position: relative; padding-left: 24px; line-height: 1.6; }
.etiq-list li::before {
  content: ""; position: absolute; left: 3px; top: 0.62em; width: 9px; height: 9px; border-radius: 50%; background: var(--negroni);
}
.callout {
  background: var(--cream); border: 2px solid var(--pink-deep); border-radius: var(--radius-sm); padding: 16px 18px; display: grid; gap: 8px; box-shadow: var(--shadow-sm);
}
.phrases { display: grid; gap: 10px; margin: 0; }
.phrases > div { background: var(--cream); border-radius: var(--radius-sm); padding: 12px 16px; display: grid; gap: 2px; }
.phrases dt { font-weight: 700; font-size: 1.05rem; }
.phrases dd { margin: 0; color: var(--cocoa); }
@media (min-width: 720px) { .phrases { grid-template-columns: 1fr 1fr; } }
.sources { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.95rem; }
.sources a { overflow-wrap: anywhere; }
