@charset "UTF-8";

/* Kajero Phase B — green version
   based on the restrained mock, with a green palette inspired by the site icon
*/

:root {
  --green-900: #356e56;
  --green-700: #4f8b68;
  --green-500: #7dad90;
  --green-300: #cfe1d5;
  --green-100: #f2f8f4;
  --green-050: #f8fcf9;
  --line: #d7e2da;
  --line-strong: #c5d5ca;
  --text: #27392f;
  --muted: #667a71;
  --bg: linear-gradient(180deg, #f6faf7 0%, #edf5ef 100%);
  --card: rgba(255, 255, 255, 0.96);
  --shadow: 0 8px 24px rgba(34, 71, 52, 0.08);
  --shadow-soft: 0 3px 10px rgba(34, 71, 52, 0.05);
  --radius-xl: 22px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --highlight: #e8efb0;
  --font-eo: "Segoe UI Variable Text", "Segoe UI", "Arial", "Noto Sans", "Liberation Sans", sans-serif;
  --font-ja: "Yu Gothic UI", "Yu Gothic", "Meiryo UI", "Meiryo", "Noto Sans CJK JP", "Source Han Sans JP", sans-serif;
  --font-zh: "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", "PingFang SC", "SimHei", sans-serif;
  --font-zh-trad: "Microsoft JhengHei UI", "Microsoft JhengHei", "Noto Sans CJK TC", "Source Han Sans TC", "PingFang TC", sans-serif;
  --font-ui: "Segoe UI Variable Text", "Segoe UI", "Arial", "Yu Gothic UI", "Meiryo UI", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans", sans-serif;
  --emoji-font: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla", "Segoe UI Symbol", sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-ui);
  font-synthesis-weight: none;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

:where(:lang(ja), [lang="ja"]) {
  font-family: var(--font-ja);
}

:where(:lang(eo), [lang="eo"]) {
  font-family: var(--font-eo);
}

:where(:lang(zh), [lang="zh"], [lang="zh-Hans"]) {
  font-family: var(--font-zh);
}

:where(:lang(zh-tw), [lang="zh-tw"], [lang="zh-TW"], :lang(yue), [lang="yue"]) {
  font-family: var(--font-zh-trad);
}

body:lang(zh) :where(.title, .card-title h2, .entry__head h2, .entry__head .headword, .meaning, .language-pill, .row-label, .translation-row strong, .info-page-header h2),
body:lang(zh-tw) :where(.title, .card-title h2, .entry__head h2, .entry__head .headword, .meaning, .language-pill, .row-label, .translation-row strong, .info-page-header h2),
body:lang(yue) :where(.title, .card-title h2, .entry__head h2, .entry__head .headword, .meaning, .language-pill, .row-label, .translation-row strong, .info-page-header h2),
:where([lang="zh"], [lang="zh-Hans"], [lang="zh-tw"], [lang="zh-TW"], [lang="yue"]) :where(.headword, .meaning, .example-source-text, .related-text a),
:where([lang="zh"], [lang="zh-Hans"], [lang="zh-tw"], [lang="zh-TW"], [lang="yue"]).headword,
:where([lang="zh"], [lang="zh-Hans"], [lang="zh-tw"], [lang="zh-TW"], [lang="yue"]).example-source-text {
  font-weight: 650;
}

button,
input,
select,
textarea {
  font: inherit;
}

.emoji {
  font-family: var(--emoji-font);
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  text-rendering: auto;
}

.page {
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px 20px 48px;
}

.hero {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 26px 26px 22px;
  overflow: visible;
}

.hero::before {
  content: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  background: var(--green-700);
  color: #fff;
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .03em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
  position: relative;
}

.title {
  position: relative;
  margin: 16px 0 10px;
  color: var(--green-900);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  font-weight: 850;
  letter-spacing: .015em;
}

.title a,
.h1a {
  color: inherit;
  text-decoration: none;
}

.title-icon {
  width: 62px;
  height: 62px;
  margin-right: 12px;
  vertical-align: -10px;
}

.title .light {
  font-size: .68em;
  font-weight: 800;
}

.subtitle {
  position: relative;
  display: inline-block;
  margin-top: 4px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-900);
  border: 1px solid var(--line);
  font-size: 1rem;
  font-weight: 700;
}

.search-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  margin-top: 22px;
  align-items: center;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--muted);
  font-size: 1.03rem;
  box-shadow: var(--shadow-soft);
}

input.search-box {
  width: 100%;
  outline: 0;
}

.search-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
  min-height: 58px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--green-700);
  color: #fff;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
  cursor: default;
}

.option-toggle {
  grid-column: 1 / -1;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: .95rem;
  font-weight: 700;
}

.lang-panel {
  position: relative;
  margin-top: 18px;
  padding: 14px;
  border-radius: var(--radius-lg);
  background: rgba(242, 248, 244, 0.92);
  border: 1px solid var(--line);
}

.lang-panel .menu {
  margin-top: 12px;
}

.hero-menu {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 10;
}

.hero-menu .menu {
  margin: 0;
}

.structure {
  margin: 0;
  padding: 0;
  list-style: none;
}

.structure ul {
  display: none;
  position: absolute;
  z-index: 20;
  min-width: 240px;
  max-height: min(70vh, 520px);
  overflow: auto;
  margin: 8px 0 0;
  padding: 10px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow);
}

.structure .branch {
  position: relative;
  cursor: pointer;
  color: var(--green-900);
  font-weight: 800;
}

.hero-menu .structure > .branch {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.hero-menu .structure > .branch > ul {
  top: 100%;
  right: 0;
  min-width: 280px;
  overflow: visible;
}

.hero-menu .structure > .branch > ul > .branch > ul {
  top: 0;
  right: 100%;
  min-width: 220px;
  max-height: min(70vh, 520px);
  margin: 0 10px 0 0;
  overflow: auto;
}

.detail-card .inner,
.detail-card .row-content,
.detail-card .row-content .km {
  overflow: visible;
}

.detail-card .row-box {
  overflow: hidden;
}

.detail-card .row-box:has(.structure .branch:hover),
.detail-card .row-box:has(.structure .branch.active) {
  overflow: visible;
}

.detail-card .row-content .structure {
  display: grid;
  gap: 6px;
}

.detail-card .row-content .structure .branch {
  width: fit-content;
  max-width: 100%;
  padding: 4px 0;
}

.detail-card .row-content .structure ul {
  left: 100%;
  top: 0;
  min-width: min(560px, calc(100vw - 48px));
  max-width: min(680px, calc(100vw - 48px));
  margin: 0 0 0 12px;
  white-space: normal;
}

.detail-card .row-content .structure ul ul {
  left: 100%;
  right: auto;
}

.detail-card.card.is-collapsible .inner:has(.structure .branch.active) {
  max-height: none;
  overflow: visible;
}

.detail-card.card.is-collapsible .inner:has(.structure .branch.active)::after {
  display: none;
}

.structure .branch.active > ul,
.structure .branch:hover > ul {
  display: grid;
  gap: 4px;
}

.structure a {
  color: var(--green-900);
  text-decoration: none;
}

.lang-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lang-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--green-900);
  font-weight: 750;
  text-decoration: none;
  line-height: 1.2;
  box-shadow: var(--shadow-soft);
}

.lang-tab.active {
  background: var(--green-700);
  color: #fff;
  border-color: transparent;
}

.lang-tab:hover,
.lang-tab:focus-visible {
  border-color: var(--green-500);
  outline: none;
}

.lang-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.6;
}

.grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 10000px) {
  .grid {
    grid-template-columns: fit-content(50%) 1fr;
  }
}

#serĉrezulto {
  margin-top: 24px;
}

.entry {
  display: contents;
}

.entry-tabs {
  display: grid;
  grid-template-columns: minmax(210px, 280px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.entry-tabs__nav {
  position: sticky;
  top: 16px;
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow-soft);
}

.entry-tab {
  display: block;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: var(--green-050);
  color: var(--green-900);
  font-size: .93rem;
  line-height: 1.35;
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
  text-align: left;
}

.entry-tab:hover,
.entry-tab:focus-visible {
  border-color: var(--green-500);
  background: #fff;
  outline: none;
}

.entry-tabs__panels {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.entry-tabs .entry-panel {
  display: grid;
  gap: 22px;
  scroll-margin-top: 16px;
}

.result-wide,
.site-info,
.comments-section,
.external-card {
  grid-column: 1 / -1;
}

.search-mode-card {
  overflow: hidden;
}

.search-mode-title {
  align-items: center;
}

.search-mode-title .num {
  min-width: 42px;
  padding: 0 8px;
  font-size: .78rem;
  letter-spacing: 0;
}

.search-mode-body {
  display: grid;
  gap: 16px;
}

@media (min-width: 1180px) {
  .search-mode-header {
    display: grid;
    grid-template-columns: minmax(190px, 260px) minmax(0, 1fr);
    align-items: center;
    column-gap: 24px;
  }

  .search-mode-header .card-title {
    margin-bottom: 0;
    border-right: 1px solid var(--line);
    padding-right: 22px;
  }

  .search-mode-header .search-mode-body {
    min-width: 0;
  }
}

.search-mode-query {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 0;
}

.search-mode-query-label {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px 8px;
  background: var(--green-050);
  color: #5b7468;
  font-size: .82rem;
  line-height: 1.2;
  font-weight: 850;
}

.search-mode-query strong {
  color: var(--green-900);
  font-size: 1.06rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.search-mode-focus {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.search-mode-empty {
  margin: 0;
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  background: var(--green-050);
  color: #5b7468;
  font-weight: 750;
}

.search-mode-expression {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  color: var(--green-900);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.search-mode-expression a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--green-300);
  border-radius: var(--radius-sm);
  padding: 4px 9px;
  background: #fff;
  color: var(--green-800);
  text-decoration: none;
}

.search-mode-expression a:hover,
.search-mode-expression a:focus-visible {
  border-color: var(--green-700);
  background: var(--green-050);
  outline: none;
}

.search-mode-operator {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  color: #5b7468;
  font-weight: 900;
}

.search-mode-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.search-mode-list li {
  min-width: 0;
}

.search-mode-list-item {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.search-mode-list .star-check {
  width: 28px;
  height: 28px;
}

.search-mode-list .star-check__icon {
  width: 22px;
  height: 22px;
}

.search-mode-list a {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 9px 11px;
  background: #fff;
  color: var(--green-800);
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.search-mode-list a:hover,
.search-mode-list a:focus-visible {
  border-color: var(--green-700);
  background: var(--green-050);
  outline: none;
}

.search-mode-result {
  min-width: 0;
}

.search-mode-result .km {
  padding-left: 0 !important;
}

.search-mode-result table {
  width: 100%;
  border-spacing: 0;
  border-collapse: separate;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.search-mode-result th,
.search-mode-result td {
  border-bottom: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.search-mode-result th {
  background: var(--green-100);
  color: var(--green-900);
  font-size: .9rem;
  font-weight: 850;
}

.search-mode-result tr:last-child td,
.search-mode-result table > tbody > tr:last-child td {
  border-bottom: 0;
}

.search-mode-result td:first-child {
  color: #5b7468;
  font-weight: 800;
  white-space: nowrap;
}

.search-mode-result td:nth-child(2) {
  min-width: 160px;
  font-weight: 800;
}

.search-mode-result input[type="checkbox"] {
  margin-right: 7px;
}

.search-mode-result > p {
  margin: 0 0 12px;
  color: #5b7468;
  font-weight: 700;
}

.search-mode-result ol {
  margin-top: 0;
}

.frazanalizo-title {
  grid-column: 1 / -1;
  width: min(96vw, 1680px);
  max-width: none;
  margin: 0 calc((100% - min(96vw, 1680px)) / 2);
  color: var(--green-900);
  font-size: 1.35rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.frazanalizo-title-label {
  white-space: nowrap;
}

.frazanalizo-sentence {
  display: inline;
}

.frazanalizo-token {
  display: inline;
  margin: 0 -1px;
  padding: 1px 3px 2px;
  border-radius: 5px;
  color: inherit;
  cursor: pointer;
  transition: background .12s ease, box-shadow .12s ease, color .12s ease;
}

.frazanalizo-token:hover,
.frazanalizo-token:focus-visible {
  background: #fff7c2;
  box-shadow: 0 0 0 2px rgba(201, 185, 95, .28);
  outline: none;
}

.frazanalizo-token.is-related {
  background: #eaf5ee;
  box-shadow: 0 0 0 1px #9fc5ae inset;
}

.frazanalizo-token.is-selected {
  background: #234f3e;
  color: #fff;
  box-shadow: 0 0 0 2px rgba(35, 79, 62, .2);
}

.frazanalizo-card {
  grid-column: 1 / -1;
  width: min(96vw, 1680px);
  max-width: none;
  margin-left: calc((100% - min(96vw, 1680px)) / 2);
  margin-right: calc((100% - min(96vw, 1680px)) / 2);
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow-soft);
  min-width: 0;
}

.frazanalizo-toolbar {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #eef6f1;
}

.frazanalizo-mode {
  min-height: 34px;
  min-width: 84px;
  padding: 0 13px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--green-900);
  font-size: .94rem;
  font-weight: 800;
  cursor: pointer;
}

.frazanalizo-mode:hover,
.frazanalizo-mode:focus-visible {
  background: #fff;
  outline: 2px solid transparent;
}

.frazanalizo-mode.is-active {
  background: #234f3e;
  color: #fff;
  box-shadow: 0 1px 4px rgba(35, 79, 62, .22);
}

.frazanalizo-panels,
.frazanalizo-panel {
  min-width: 0;
}

.frazanalizo-panel[hidden] {
  display: none;
}

.frazanalizo-graph-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 14px;
  align-items: start;
}

.frazanalizo-graph-scroll {
  min-width: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfb;
  overscroll-behavior: contain;
}

.frazanalizo-svg {
  display: block;
  min-width: 100%;
  font-family: var(--font-ui);
}

.parse-root-node rect {
  fill: #234f3e;
  stroke: #234f3e;
}

.parse-root-node text {
  fill: #fff;
  font-size: 13px;
  font-weight: 850;
  text-anchor: middle;
}

.dependency-edge {
  fill: none;
  stroke: #96aaa0;
  stroke-width: 2;
  opacity: .8;
}

.dependency-edge.is-orphan {
  stroke: #bb6b6b;
  stroke-dasharray: 7 5;
}

.dependency-edge.is-related,
.dependency-edge.is-selected {
  stroke: #234f3e;
  stroke-width: 3;
  opacity: 1;
}

.parse-node {
  cursor: pointer;
}

.parse-node rect {
  fill: #fff;
  stroke: #b9c9c0;
  stroke-width: 1.5;
  filter: drop-shadow(0 2px 4px rgba(39, 57, 47, .07));
}

.parse-node text {
  pointer-events: none;
  text-anchor: middle;
}

.parse-node-word {
  fill: var(--text);
  font-size: 14px;
  font-weight: 850;
}

.parse-node-role {
  fill: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.parse-node.role-subj rect { fill: #f2f8ff; stroke: #6295c8; }
.parse-node.role-obj rect { fill: #fff7ea; stroke: #d39a4d; }
.parse-node.role-pred rect { fill: #f5f0ff; stroke: #8a75bb; }
.parse-node.role-advl rect { fill: #f4fbf7; stroke: #6aa17f; }
.parse-node.role-mod rect { fill: #fffdf0; stroke: #c9b95f; }
.parse-node.role-clause rect { fill: #eef7fb; stroke: #5ca0b6; }
.parse-node.role-prep rect { fill: #f5f7fa; stroke: #8190a0; }
.parse-node.role-conj rect { fill: #fff3f3; stroke: #c87575; }
.parse-node.role-verb rect { fill: #edf7f1; stroke: #356e56; stroke-width: 2; }
.parse-node.role-inf rect { fill: #f0f7f7; stroke: #4c8b8b; }
.parse-node.role-punct rect { fill: #f7f7f4; stroke: #b8b8a9; }

.parse-node.is-related rect {
  stroke: #234f3e;
  stroke-width: 2.5;
}

.parse-node.is-selected rect {
  stroke: #142f25;
  stroke-width: 3.5;
}

.parse-node:focus-visible rect {
  stroke: #142f25;
  stroke-width: 3;
}

.frazanalizo-node-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  min-width: 0;
  position: sticky;
  top: 12px;
}

.frazanalizo-node-panel h3 {
  margin: 0;
  color: var(--green-900);
  font-size: 1rem;
  line-height: 1.3;
}

.frazanalizo-node-panel dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.frazanalizo-node-panel dl > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.frazanalizo-node-panel dt {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
}

.frazanalizo-node-panel dd {
  margin: 0;
  color: var(--text);
  font-size: .95rem;
  font-weight: 750;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.frazanalizo-text-pre,
.frazanalizo-status {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfb;
  color: var(--text);
}

.frazanalizo-text-pre {
  overflow: auto;
  white-space: pre;
  font-family: "Cascadia Mono", "Consolas", "Menlo", monospace;
  font-size: .92rem;
  line-height: 1.55;
}

.frazanalizo-status {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .frazanalizo-title,
  .frazanalizo-card {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .frazanalizo-card {
    padding: 12px;
  }

  .frazanalizo-toolbar {
    width: 100%;
  }

  .frazanalizo-mode {
    flex: 1 1 0;
  }

  .frazanalizo-graph-layout {
    grid-template-columns: 1fr;
  }

  .frazanalizo-node-panel {
    position: static;
  }
}

.external-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.external-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid #b8d2c2;
  border-radius: 999px;
  background: var(--green-050);
  color: var(--green-900);
  font-size: .95rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.partial-pager .inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  color: var(--muted);
  font-weight: 750;
}

.partial-match-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100%, 1440px);
  margin: 8px auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-soft);
  color: var(--green-900);
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 800;
}

.partial-match-item .star-check {
  width: 30px;
  height: 30px;
}

.partial-match-item .star-check__icon {
  width: 24px;
  height: 24px;
}

.partial-match-text {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 9px;
  min-width: 0;
}

.partial-match-text a {
  color: var(--green-800);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.partial-match-translation {
  color: var(--muted);
  font-size: .95rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.pager-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid #b8d2c2;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-900);
  font-weight: 850;
  text-decoration: none;
}

.external-pill:hover,
.external-pill:focus-visible {
  background: var(--green-100);
  border-color: #86b59e;
  color: var(--green-900);
}

.info-page-card {
  padding: 0;
  overflow: visible;
}

.info-page-header {
  display: grid;
  gap: 8px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--line);
  border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0;
  background: var(--green-050);
}

.info-page-kicker {
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid #b8d2c2;
  border-radius: 999px;
  background: #fff;
  color: var(--green-900);
  font-size: .86rem;
  line-height: 1;
  font-weight: 850;
}

.info-page-header h2 {
  margin: 0;
  color: var(--green-900);
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  line-height: 1.18;
  font-weight: 900;
}

.info-page-body {
  padding: 24px;
}

.info-page-section {
  max-width: 76ch;
  color: #2f4639;
  font-size: 1.05rem;
  line-height: 1.85;
}

.info-page-section .km,
.info-page-section[style] {
  padding-left: 0 !important;
}

.info-page-section h3,
.info-page-section h4,
.info-page-section h5 {
  clear: both;
  float: none !important;
  color: var(--green-900);
  line-height: 1.35;
}

.info-page-section h3 {
  margin: 0 0 18px;
  font-size: 1.55rem;
  font-weight: 900;
}

.info-page-section h4 {
  margin: 24px 0 10px;
  font-size: 1.22rem;
  font-weight: 900;
}

.info-page-section h5 {
  margin: 18px 0 8px;
  font-size: 1.04rem;
  font-weight: 850;
}

.info-page-section p,
.info-page-section ul,
.info-page-section ol {
  margin: 0 0 14px;
}

.info-page-section ul,
.info-page-section ol {
  padding-left: 1.45em;
}

.info-page-section li {
  margin: 6px 0;
}

.info-page-section a {
  color: var(--green-900);
  text-decoration-color: rgba(79, 139, 104, .35);
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
  font-weight: 750;
}

.info-page-section a:hover,
.info-page-section a:focus-visible {
  color: #214a38;
  text-decoration-color: currentColor;
  outline: none;
}

.leghelpilo-card .card-title a {
  color: inherit;
  text-decoration: none;
}

.leghelpilo__inner {
  display: grid;
  gap: 16px;
}

.leghelpilo-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}

.leghelpilo-share,
.leghelpilo-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 15px;
  border: 0;
  border-radius: 999px;
  background: var(--green-700);
  color: #fff;
  font-weight: 850;
  box-shadow: var(--shadow-soft);
}

.leghelpilo-shorturl {
  color: var(--muted);
  font-size: .94rem;
  font-weight: 650;
}

.leghelpilo-shorturl a {
  color: var(--green-900);
  font-weight: 800;
}

.leghelpilo-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--green-050);
}

.leghelpilo-legend span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #c8dbcf;
  border-radius: 999px;
  background: #fff;
  color: var(--green-900);
  font-size: .88rem;
  font-weight: 800;
}

.leghelpilo-text {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  color: #365443;
  font-size: 1.16rem;
  line-height: 2;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.leghelpilo-text a {
  display: inline-block;
  margin: 1px 1px;
  padding: 0 4px;
  border-radius: .32em;
  color: var(--green-900);
  text-decoration: none;
}

.leghelpilo-text a.leghelpilo-parse-sentence {
  min-width: 1.65em;
  margin-left: .25em;
  padding: 0 .38em;
  border: 1px solid #bfd7c8;
  background: var(--green-050);
  color: var(--green-900);
  text-align: center;
  font-size: .88em;
  font-weight: 800;
  vertical-align: baseline;
}

.leghelpilo-text a:hover,
.leghelpilo-text a:focus-visible {
  background: var(--green-100);
  outline: none;
}

.leghelpilo-editor {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--green-050);
}

.leghelpilo-note {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.7;
  font-weight: 650;
}

.leghelpilo-note .eo,
.leghelpilo-note .zh,
.leghelpilo-note .ja {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin: 0 .35em 0 0;
  padding: 0 7px;
  border: 1px solid #c8dbcf;
  border-radius: 999px;
  background: #fff;
  color: var(--green-900);
  font-size: .8rem;
  line-height: 1;
  font-weight: 850;
}

.leghelpilo-form {
  display: grid;
  gap: 10px;
}

.leghelpilo-textarea {
  width: 100%;
  min-height: 132px;
  padding: 13px 14px;
  resize: vertical;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--text);
  line-height: 1.6;
  box-shadow: var(--shadow-soft);
  outline: none;
}

.leghelpilo-textarea:focus {
  border-color: var(--green-500);
}

.leghelpilo-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 650;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 18px;
}

.entry__head h2 {
  margin: 0 0 14px;
  color: var(--green-900);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.1;
  font-weight: 900;
}

.entry__head h2 input,
.entry__head h2 span {
  font-size: 1rem;
  vertical-align: middle;
}

.entry__head .word-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.entry__head .language-row,
.entry__head .headword-row {
  display: flex;
  align-items: center;
}

.entry__head .headword-row {
  gap: 12px;
}

.language-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--green-100);
  color: var(--green-900);
  font-size: .9rem;
  line-height: 1;
  font-weight: 850;
}

.star-check {
  position: relative;
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: none;
  place-items: center;
  cursor: pointer;
}

.star-check__input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.star-check__icon {
  width: 29px;
  height: 29px;
  background: var(--line-strong);
  clip-path: polygon(50% 3%, 61% 36%, 96% 36%, 68% 56%, 79% 91%, 50% 70%, 21% 91%, 32% 56%, 4% 36%, 39% 36%);
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.8));
  transition: background .16s ease, transform .16s ease, filter .16s ease;
}

.star-check__input:checked + .star-check__icon {
  background: #e6ad38;
  filter: drop-shadow(0 2px 4px rgba(88, 58, 6, .22));
  transform: scale(1.04);
}

.star-check__input:focus-visible + .star-check__icon {
  outline: 3px solid rgba(79, 139, 104, .32);
  outline-offset: 3px;
}

input[name="check_save"]:not(.star-check__input) {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  margin: 0 7px 2px 0;
  vertical-align: middle;
  background: var(--line-strong);
  clip-path: polygon(50% 3%, 61% 36%, 96% 36%, 68% 56%, 79% 91%, 50% 70%, 21% 91%, 32% 56%, 4% 36%, 39% 36%);
  cursor: pointer;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.8));
  transition: background .16s ease, transform .16s ease, filter .16s ease;
}

input[name="check_save"]:not(.star-check__input):checked {
  background: #e6ad38;
  filter: drop-shadow(0 2px 4px rgba(88, 58, 6, .22));
  transform: scale(1.04);
}

input[name="check_save"]:not(.star-check__input):focus-visible {
  outline: 3px solid rgba(79, 139, 104, .32);
  outline-offset: 3px;
}

.entry__head .headword {
  color: var(--green-900);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1;
  font-weight: 900;
}

.entry__head .headword a {
  color: inherit;
  text-decoration: none;
}

.pronunciation-line {
  margin: -2px 0 12px 46px;
  color: #5b7468;
  font-size: 1.08rem;
  line-height: 1.4;
  font-weight: 750;
}

.pronunciation-line b {
  color: var(--green-900);
  font-weight: 950;
  padding: 0 .08em;
  border-radius: .18em;
  background: rgba(79, 139, 104, .12);
}

.root-card .root-meta {
  display: grid;
  gap: 10px;
  margin: 4px 0 14px 46px;
}

.root-card .root-meta-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: #334f42;
  font-size: 1rem;
  line-height: 1.45;
}

.root-card .root-label {
  min-width: 4.5em;
  color: #5b7468;
  font-size: .88rem;
  font-weight: 850;
}

.root-card .root-forms {
  display: inline;
}

.root-card .root-meaning {
  margin-left: 46px;
}

.entry__body h4,
.inner h4 {
  margin: 18px 0 10px;
  color: var(--green-900);
  font-size: 1.02rem;
  font-weight: 800;
}

.entry__body ul,
.inner ul {
  margin: 0;
  padding-left: 1.35em;
}

.morpheme-analysis {
  display: inline-block;
  max-width: 100%;
  vertical-align: top;
}

.morpheme-parts {
  display: inline-flex;
  align-items: stretch;
  flex-wrap: wrap;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
}

.morpheme-part {
  display: grid;
  grid-template-rows: minmax(1.35em, auto) auto;
  gap: 2px;
  min-width: 3.2em;
  padding: 7px 10px 8px;
  text-align: center;
}

.morpheme-part + .morpheme-part {
  border-left: 1px dashed var(--green-500);
}

.morpheme-meaning {
  color: var(--green-900);
  font-size: .86rem;
  line-height: 1.25;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.morpheme-meaning--empty::before {
  content: "\00a0";
}

.morpheme-form {
  color: var(--green-700);
  font-size: .98rem;
  line-height: 1.25;
  font-weight: 800;
  text-decoration-thickness: .08em;
  text-underline-offset: .16em;
}

.referencoj ul {
  display: grid;
  gap: 8px;
}

.translation-table {
  display: grid;
  gap: 10px;
}

.translation-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--green-050);
}

.translation-row strong {
  padding: 12px 14px;
  border-right: 1px solid var(--line);
  background: var(--green-100);
  color: var(--green-900);
  font-weight: 800;
}

.translation-row .translation-values {
  padding: 12px 14px;
  color: #365443;
  line-height: 1.65;
  font-weight: 650;
}

.translation-values a {
  white-space: nowrap;
}

.example-card .referencoj ul {
  padding-left: 0;
  list-style: none;
}

.example-language {
  display: flex;
  margin: 0 0 14px;
}

.related-language {
  display: flex;
  margin: 0 0 14px;
}

.example-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}

.example-card li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.example-card .example-text {
  padding-top: 6px;
  line-height: 1.65;
}

.example-card .example-source-text,
.example-card .example-translation {
  display: block;
}

.example-card .example-translation {
  color: #2f5a49;
}

.related-card .referencoj ul {
  display: grid;
  gap: 8px;
  padding-left: 0;
  list-style: none;
}

.related-card .related-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}

.related-card .related-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.related-card .related-text {
  padding-top: 6px;
  line-height: 1.65;
}

.card.is-collapsible .inner {
  position: relative;
  max-height: 430px;
  overflow: hidden;
}

.card.is-collapsible .inner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 64px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), var(--card));
  pointer-events: none;
}

.card.is-expanded .inner {
  max-height: none;
}

.card.is-expanded .inner::after {
  display: none;
}

.card-read-more {
  display: block;
  margin: 14px auto 0;
}

.site-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.site-info img {
  width: 72px !important;
  max-width: 72px !important;
  float: none !important;
  padding: 0 !important;
}

.atribuoj {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.7;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  padding: 24px;
  background: rgba(39, 57, 47, .32);
}

.modal-content {
  width: min(640px, 100%);
  margin: 8vh auto 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: -18px -18px 16px;
  padding: 14px 18px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--green-100);
  color: var(--green-900);
  font-weight: 850;
}

.close {
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.modal textarea {
  width: 100%;
  min-height: 160px;
}

.comments-section .inner {
  display: grid;
  gap: 14px;
}

.comment-list {
  display: grid;
  gap: 12px;
}

.comment-list .km {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--green-050);
}

#commentButton,
.read-more-btn,
.editCommentBtn,
input[type="submit"] {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--green-700);
  color: #fff;
  font-weight: 800;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin-bottom: 14px;
}

.num {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-700);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.card-title h2 {
  margin: 0;
  color: var(--green-900);
  font-size: 1.45rem;
  line-height: 1.15;
  font-weight: 800;
}

.inner {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
}

.word-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.lemma {
  margin: 0;
  color: var(--green-900);
  font-size: 3.1rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.01em;
}

.phonetic {
  margin-top: 8px;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 700;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--green-100);
  border: 1px solid var(--line);
  color: var(--green-900);
  font-size: .94rem;
  font-weight: 800;
}

.meaning {
  margin: 18px 0 0;
  color: #305947;
  font-size: 1.45rem;
  line-height: 1.35;
  font-weight: 800;
}

.source-list {
  margin-top: 10px;
  color: var(--muted);
  font-size: .95rem;
  font-weight: 650;
}

.source-list a {
  color: var(--green-700);
}

.micro-note {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px dashed #b6d0bf;
  background: var(--green-050);
  color: var(--green-900);
  font-weight: 700;
}

.subhead {
  margin: 18px 0 10px;
  color: var(--green-900);
  font-size: 1.02rem;
  font-weight: 800;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 999px;
  background: var(--green-100);
  border: 1px solid var(--line);
  color: var(--green-900);
  font-size: .92rem;
  font-weight: 700;
}

.example-list {
  display: grid;
  gap: 14px;
}

.example-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}

.example-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.example-index {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-700);
  color: #fff;
  font-weight: 900;
}

.eo {
  font-family: var(--font-eo);
  color: #2f5a49;
  font-size: 1.18rem;
  line-height: 1.5;
  font-weight: 700;
}

.hl {
  background: var(--highlight);
  padding: 0 .2em;
  border-radius: .25em;
}

.ja {
  font-family: var(--font-ja);
  margin-top: 6px;
  color: #5b7468;
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 600;
}

.entry__head .language-pill,
.example-card .language-pill,
.related-card .language-pill,
.translation-card .language-pill {
  color: var(--green-900);
  font-size: .9rem;
  line-height: 1;
  font-weight: 850;
}

.caption {
  margin-top: 12px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.6;
}

.bullet-list {
  margin: 0;
  padding-left: 1.35em;
  display: grid;
  gap: 10px;
  color: #365443;
  font-size: 1.08rem;
  line-height: 1.7;
  font-weight: 650;
}

.cta-line {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--green-050);
  color: var(--green-900);
  font-size: 1rem;
  font-weight: 800;
}

.rows {
  display: grid;
  gap: 12px;
}

.row-box {
  display: grid;
  grid-template-columns: 110px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--green-050);
}

.row-label {
  padding: 14px;
  border-right: 1px solid var(--line);
  border-radius: calc(var(--radius-md) - 1px) 0 0 calc(var(--radius-md) - 1px);
  background: var(--green-100);
  color: var(--green-900);
  font-weight: 800;
}

.row-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px;
  color: #365443;
  font-weight: 650;
}

.detail-card .row-content {
  line-height: 1.65;
}

.detail-card .row-content .km {
  padding-left: 0 !important;
}

.similar-card__body {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.similar-card__body ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.similar-card__body li a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-900);
  font-weight: 800;
  text-decoration: none;
}

.similar-card__more {
  margin: 0;
  font-weight: 800;
}

.similar-card__more a {
  color: var(--green-700);
}

.fold {
  margin-left: auto;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--green-100);
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
}

.footer-banner {
  margin-top: 22px;
  padding: 18px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  color: var(--green-900);
  font-size: 1.35rem;
  line-height: 1.5;
  font-weight: 850;
  text-align: center;
}

.small-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.7;
  text-align: center;
  font-weight: 600;
}

@media (max-width: 960px) {
  .grid { grid-template-columns: 1fr; }
  .entry-tabs { grid-template-columns: 1fr; }
  .entry-tabs__nav {
    position: static;
    display: flex;
    overflow-x: auto;
    padding: 8px;
  }
  .entry-tab {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .title { font-size: 2.8rem; }
  .lemma { font-size: 2.6rem; }
  .eo { font-size: 1.12rem; }
}

@media (max-width: 640px) {
  .page { padding: 16px 14px 32px; }
  .hero { padding: 20px 16px 18px; }
  .search-row { grid-template-columns: 1fr; }
  .title { font-size: 2.25rem; }
  .subtitle { font-size: .95rem; }
  .card-title h2 { font-size: 1.35rem; }
  .lemma { font-size: 2.2rem; }
  .meaning { font-size: 1.45rem; }
  .translation-row,
  .row-box { grid-template-columns: 1fr; }
  .row-label,
  .translation-row strong { border-right: 0; border-bottom: 1px solid var(--line); }
  .row-label { border-radius: calc(var(--radius-md) - 1px) calc(var(--radius-md) - 1px) 0 0; }
  .detail-card .row-content .structure ul,
  .detail-card .row-content .structure ul ul {
    left: 0;
    right: auto;
    top: 100%;
    min-width: min(320px, calc(100vw - 48px));
    max-width: calc(100vw - 48px);
    margin: 6px 0 0;
  }
}
