/* Wiki: a parchment reading room under the night sky. */

body.wiki {
  background:
    radial-gradient(1000px 500px at 80% -10%, rgba(242, 184, 75, 0.12), transparent 60%),
    linear-gradient(180deg, var(--night-800), var(--night-900) 400px);
  background-color: var(--night-900);
}

/* ---------------------------------------------------------------- banner + search */
.wiki-banner {
  position: relative;
  padding: 30px 0 26px;
  background:
    linear-gradient(90deg, rgba(11, 17, 29, 0.92), rgba(11, 17, 29, 0.55)),
    url('../img/keyart/keyart-wide-b.jpg') center 38% / cover no-repeat;
  border-bottom: 2px solid rgba(189, 134, 59, 0.5);
}
.wiki-banner-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.wiki-banner-title { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff3d8; font: 800 clamp(26px, 3.4vw, 38px) var(--title); text-shadow: 0 3px 0 rgba(0, 0, 0, 0.35); }
.wiki-banner-title img { width: 34px; filter: drop-shadow(0 0 12px rgba(255, 200, 90, 0.8)); }
.wiki-search { position: relative; display: flex; width: min(440px, 100%); }
.wiki-search input {
  flex: 1;
  height: 48px;
  padding: 0 52px 0 18px;
  font: 700 16px var(--font);
  color: var(--cocoa);
  background: var(--parchment-light);
  border: 3px solid #8a6a3c;
  border-radius: 12px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 4px 0 rgba(0, 0, 0, 0.25);
}
.wiki-search input::placeholder { color: var(--cocoa-mute); }
.wiki-search button { position: absolute; right: 6px; top: 6px; width: 36px; height: 36px; border: 0; border-radius: 8px; background: var(--forest); color: #fbf0d6; display: grid; place-items: center; }
.wiki-search button svg { width: 20px; height: 20px; }
.suggest {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 40;
  max-height: 380px;
  overflow: auto;
  padding: 6px;
  background: var(--parchment-light);
  border: 2px solid #8a6a3c;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}
.suggest a { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; text-decoration: none; font-weight: 800; }
.suggest a img { width: 32px; height: 32px; object-fit: contain; }
.suggest a small { margin-left: auto; font-weight: 700; color: var(--cocoa-mute); font-size: 12px; }
.suggest a:hover, .suggest a[aria-selected='true'] { background: var(--parchment-dark); }

/* ---------------------------------------------------------------- layout */
.wiki-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 26px; padding: 28px 0 64px; align-items: start; }
.wiki-side { position: sticky; top: calc(var(--header-h) + 16px); }
.side-drawer { background: rgba(240, 227, 196, 0.06); border: 1px solid rgba(242, 184, 75, 0.25); border-radius: 14px; padding: 10px; }
.side-drawer summary { display: none; }
.side-nav h4 { margin: 12px 8px 6px; font: 900 12px var(--font); letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber-bright); }
html[lang='th'] .side-nav h4 { letter-spacing: 0.04em; font-size: 13px; }
.side-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 9px;
  text-decoration: none;
  color: var(--parchment);
  font-weight: 800;
  font-size: 15px;
}
.side-nav a img { width: 24px; height: 24px; object-fit: contain; }
.side-nav a small { margin-left: auto; font-size: 12px; color: var(--parchment-deep); opacity: 0.8; }
.side-nav a:hover { background: rgba(242, 184, 75, 0.12); color: var(--amber-glow); }
.side-nav a[aria-current='page'] { background: var(--parchment); color: var(--cocoa); }
.side-nav a[aria-current='page'] small { color: var(--cocoa-mute); }

@media (max-width: 900px) {
  .wiki-layout { grid-template-columns: 1fr; gap: 16px; padding-top: 16px; }
  .wiki-side { position: static; }
  .side-drawer summary { display: block; padding: 6px 8px; color: var(--amber-bright); font-weight: 900; }
  .side-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; }
  .side-nav h4 { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------------- page */
.wiki-main { min-width: 0; }
.wiki-main:focus { outline: none; }
.page { padding: 26px 30px 30px; animation: page-in 0.25s ease both; }
@keyframes page-in { from { opacity: 0; transform: translateY(6px); } }
@media (max-width: 600px) { .page { padding: 20px 16px; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 14px; font-weight: 800; color: var(--cocoa-mute); margin-bottom: 14px; }
.crumbs a { text-decoration: none; color: var(--forest-dark); }
.crumbs a:hover { text-decoration: underline; }
.page h1 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 8px; }
.page h2 { font-size: 26px; margin: 30px 0 12px; padding-bottom: 6px; border-bottom: 2px solid var(--parchment-deep); }
.page h3 { font-size: 21px; margin: 22px 0 8px; }
.page p, .page li { color: #43392c; }
.page a:not(.btn):not(.slot):not(.card):not(.tile):not(.ref) { color: var(--forest-dark); font-weight: 800; text-decoration-color: rgba(63, 77, 51, 0.4); text-underline-offset: 3px; }
.lead { font-size: 18px; color: var(--cocoa-soft); }
.page ul.plain { padding-left: 1.2em; }
.page ul.plain li { margin-bottom: 4px; }
.muted { color: var(--cocoa-mute); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 14px; }

/* Header block of a detail page: art on the left, facts on the right. */
.entity-head { display: grid; grid-template-columns: 220px 1fr; gap: 26px; align-items: center; margin-bottom: 8px; }
.entity-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 220px;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 60%, #fff6dd, #e9d6a8 70%);
  border: 3px solid #a07c48;
  box-shadow: inset 0 0 0 3px var(--parchment-light);
  overflow: hidden;
}
.entity-art > img { max-height: 200px; width: auto; max-width: 92%; object-fit: contain; filter: drop-shadow(0 8px 8px rgba(48, 44, 36, 0.3)); }
.entity-art .slot { --s: 120px; }
.entity-art canvas { height: 110px; }
.entity-art .live { position: absolute; right: 8px; bottom: 8px; padding: 4px; border-radius: 10px; background: rgba(255, 255, 255, 0.55); border: 1.5px solid var(--parchment-deep); }
.entity-art .live canvas { display: block; height: 64px; }
@media (max-width: 680px) { .entity-head { grid-template-columns: 1fr; } .entity-art { min-height: 180px; } }

/* Fact grid ("Level 6 · HP 420 …"). */
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 12px 0; }
.fact { padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.5); border: 1.5px solid var(--parchment-deep); }
.fact span { display: block; font-size: 12px; font-weight: 900; color: var(--cocoa-mute); text-transform: uppercase; letter-spacing: 0.06em; }
html[lang='th'] .fact span { text-transform: none; letter-spacing: 0; font-size: 13px; }
.fact strong { display: flex; align-items: center; gap: 6px; font-size: 18px; }
.fact strong img { width: 22px; height: 22px; }

/* Tables. */
.table-wrap { overflow-x: auto; margin: 8px 0 16px; border-radius: 12px; border: 2px solid var(--parchment-deep); background: rgba(255, 255, 255, 0.4); }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; }
table.data th { text-align: left; padding: 10px 12px; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; color: #fbf0d6; background: var(--forest); white-space: nowrap; }
html[lang='th'] table.data th { text-transform: none; letter-spacing: 0; font-size: 13px; }
table.data td { padding: 8px 12px; border-top: 1px solid var(--parchment-dark); vertical-align: middle; }
table.data tr:hover td { background: rgba(242, 184, 75, 0.12); }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.data .slot { --s: 40px; }
.ref { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; color: var(--cocoa); }
.ref:hover span { text-decoration: underline; }
.ref img { width: 30px; height: 30px; object-fit: contain; }
.ref.round img { border-radius: 50%; background: var(--parchment-dark); }
.chance-bar { display: inline-block; width: 70px; height: 8px; margin-right: 8px; border-radius: 4px; background: var(--parchment-deep); vertical-align: middle; overflow: hidden; }
.chance-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--amber), var(--amber-bright)); }

/* Card grids (lists of monsters, NPCs, …). */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin: 14px 0; }
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 12px;
  text-align: center;
  text-decoration: none;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  border: 2px solid var(--parchment-deep);
  transition: transform 0.15s, border-color 0.15s, background 0.15s;
}
.card:hover { transform: translateY(-3px); border-color: var(--amber); background: rgba(255, 255, 255, 0.8); }
.card img.port { width: 96px; height: 96px; object-fit: contain; border-radius: 50%; background: radial-gradient(circle, #fff6dd, #e2cf9f); border: 3px solid #a07c48; }
.card img.wide { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; border: 2px solid #a07c48; }
.card strong { font-family: var(--title); font-size: 20px; line-height: 1.15; color: var(--cocoa); }
.card small { color: var(--cocoa-mute); font-weight: 700; }

/* Home tiles. */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin: 12px 0 8px; }
.tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.55);
  border: 2px solid var(--parchment-deep);
  font-weight: 900;
  transition: transform 0.15s, border-color 0.15s;
}
.tile:hover { transform: translateY(-2px); border-color: var(--amber); }
.tile img { width: 38px; height: 38px; object-fit: contain; }
.tile small { display: block; font-weight: 700; color: var(--cocoa-mute); font-size: 12px; }
.welcome { display: grid; grid-template-columns: 1fr 260px; gap: 20px; align-items: center; }
.welcome canvas { height: 150px; }
.welcome .duo { display: flex; justify-content: center; align-items: flex-end; gap: 4px; }
@media (max-width: 680px) { .welcome { grid-template-columns: 1fr; } }

/* Filter chips. */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 12px; }
.filters button {
  padding: 6px 14px;
  font: 800 14px var(--font);
  color: var(--cocoa-soft);
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid var(--parchment-deep);
  border-radius: 999px;
}
.filters button[aria-pressed='true'] { background: var(--forest); border-color: var(--forest-dark); color: #fbf0d6; }

/* Skill tree (3 x 3 like the in-game window). */
.tree { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 34px; max-width: 560px; margin: 16px 0 6px; padding: 22px; border-radius: 16px; background: rgba(255, 255, 255, 0.4); border: 2px solid var(--parchment-deep); }
.tree-cell { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; text-decoration: none; font-weight: 800; font-size: 13px; line-height: 1.2; color: var(--cocoa); }
.tree-cell .slot { --s: 64px; transition: transform 0.15s; }
.tree-cell:hover .slot { transform: scale(1.07); }
.tree-cell small { color: var(--cocoa-mute); font-weight: 700; font-size: 11px; }
.tree-cell.from-left::before { content: ''; position: absolute; top: 30px; right: calc(50% + 36px); width: calc(100% - 38px); height: 4px; border-radius: 2px; background: var(--amber); }
.tree-cell.from-top::after { content: ''; position: absolute; bottom: calc(100% + 2px); left: calc(50% - 2px); width: 4px; height: 24px; border-radius: 2px; background: var(--amber); }
.badge-passive { position: absolute; z-index: 2; top: -10px; right: calc(50% - 44px); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.3); padding: 0 6px; border-radius: 6px; font-size: 10px; font-weight: 900; color: #fbf0d6; background: var(--job); }

/* NPC speech bubble and quest dialogue. */
.speech {
  position: relative;
  margin: 12px 0 18px;
  padding: 14px 18px;
  font-size: 17px;
  font-style: italic;
  background: #fffaf0;
  border: 2px solid #a07c48;
  border-radius: 14px;
}
.speech::before { content: ''; position: absolute; left: 26px; top: -12px; border: 10px solid transparent; border-bottom-color: #a07c48; border-top: 0; }
.speech cite { display: block; margin-top: 6px; font-style: normal; font-weight: 900; font-size: 13px; color: var(--cocoa-mute); }

/* Keyboard keys. */
kbd {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  font: 900 14px var(--font);
  color: var(--cocoa);
  border-style: solid;
  border-image: url('../img/skin/buttons/keycap.png') 14 14 14 14 fill / 7px stretch;
}
.callout { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; margin: 14px 0; border-radius: 12px; background: #e7eedb; border: 2px solid #a9bb8c; }
.callout img { width: 26px; flex: none; }
.callout p { margin: 0; }
.formula { display: block; padding: 8px 12px; margin: 6px 0; border-radius: 8px; background: rgba(48, 44, 36, 0.06); font: 700 14px ui-monospace, Consolas, monospace; color: var(--cocoa); overflow-x: auto; }

/* Item hover tooltip in the game's style. */
.item-tip {
  position: fixed;
  z-index: 90;
  width: 270px;
  padding: 12px 14px;
  pointer-events: none;
  border-style: solid;
  border-image: url('../img/skin/panels/tooltip.png') 10 10 10 10 fill / 5px stretch;
  filter: drop-shadow(0 8px 16px rgba(5, 8, 16, 0.4));
  font-size: 14px;
}
.item-tip strong { display: block; font-family: var(--title); font-size: 19px; line-height: 1.1; }
.item-tip .k { font-size: 12px; font-weight: 900; color: var(--cocoa-mute); }
.item-tip p { margin: 6px 0 0; color: var(--cocoa-soft); }
.item-tip ul { margin: 6px 0 0; padding: 0; list-style: none; font-weight: 800; color: var(--forest-dark); }

.empty { text-align: center; padding: 40px 0; }
.empty img { width: 70px; margin: 0 auto 10px; opacity: 0.7; }
.wiki-updated { opacity: 0.8; }

/* ---------------------------------------------------------------- big lists: filters + pager */
.list-tools { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: flex-end; margin: 14px 0 6px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.45); border: 2px solid var(--parchment-deep); }
.list-tools label { display: flex; flex-direction: column; gap: 3px; font-size: 12px; font-weight: 900; color: var(--cocoa-mute); }
.list-tools label > span { padding-left: 2px; }
.list-tools input, .list-tools select { height: 38px; padding: 0 10px; font: 700 15px var(--font); color: var(--cocoa); background: var(--parchment-light); border: 2px solid #b99a66; border-radius: 9px; }
.list-tools select { max-width: 220px; }
.lt-search { flex: 1 1 220px; }
.lt-search input { width: 100%; }
.lt-range { flex-direction: row !important; flex-wrap: wrap; align-items: center; }
.lt-range > span { width: 100%; }
.lt-range input { width: 74px; }
.lt-range b { padding: 0 4px; color: var(--cocoa-mute); }
.list-count { margin: 6px 2px 4px; font-weight: 800; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 18px 0 4px; }
.pager button { min-width: 40px; height: 40px; padding: 0 10px; font: 900 15px var(--font); color: var(--cocoa); background: rgba(255, 255, 255, 0.6); border: 2px solid var(--parchment-deep); border-radius: 10px; }
.pager button:hover { border-color: var(--amber); }
.pager button[aria-current='page'] { background: var(--forest); border-color: var(--forest-dark); color: #fbf0d6; }
.pager span { align-self: center; color: var(--cocoa-mute); font-weight: 900; }
.gold-i { width: 18px; height: 18px; display: inline; vertical-align: -3px; margin-right: 3px; }
ul.effects { margin: 6px 0 10px; padding-left: 1.1em; }
ul.effects li { font-weight: 800; color: var(--forest-dark); }

/* ---------------------------------------------------------------- classes */
.class-card { position: relative; padding-top: 10px; }
.class-card .cc-art { position: relative; display: grid; place-items: end center; width: 100%; height: 150px; border-radius: 12px; background: radial-gradient(circle at 50% 70%, #fff6dd, #e2cf9f 75%); border: 2px solid #a07c48; overflow: hidden; }
.class-card .cc-pose { max-height: 140px; width: auto; filter: drop-shadow(0 6px 6px rgba(48, 44, 36, 0.3)); }
.class-card .cc-emblem { position: absolute; left: 6px; top: 6px; width: 42px; height: 42px; }
.class-card.later .cc-art { filter: saturate(0.75); }
.chip.coming { background: #e6dcef; border-color: #b9a2cf; color: #5a3f78; }
.entity-art .corner-emblem { position: absolute; left: 8px; top: 8px; width: 56px; height: 56px; filter: none; }
.stage-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 8px 0; }
.stage { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.5); border: 2px solid var(--parchment-deep); }
.stage img { width: 96px; height: 96px; object-fit: contain; border-radius: 50%; background: radial-gradient(circle, #fff6dd, #e2cf9f); border: 3px solid #a07c48; }
.gauge-dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(0, 0, 0, 0.25); }
.rank-table th img { width: 18px; height: 18px; display: inline; vertical-align: -4px; margin-right: 4px; }

/* ---------------------------------------------------------------- cards (drawn like the game: the portrait in its tier's lantern frame) */
.cardface { position: relative; width: 210px; aspect-ratio: 3 / 4; flex: none; }
.cardface.sm { width: 150px; }
.cardface .cw { position: absolute; left: 12.2%; top: 14.7%; width: 75.6%; height: 61.6%; overflow: hidden; background: #2b2620; }
.cardface .cw img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.cardface .cf { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cardface .cn { position: absolute; left: 13%; right: 13%; top: 80.5%; height: 11%; display: grid; place-items: center; text-align: center; font: 900 13px/0.95 var(--font); color: #3a2a18; }
.cardface.sm .cn { font-size: 11px; }
/* The diamond tier glows (a box shadow behind it: a drop-shadow filter on the frame stalls painting). */
.cardface.tier-3::before { content: ''; position: absolute; inset: 5% 7%; border-radius: 14px; box-shadow: 0 0 22px 4px rgba(150, 220, 255, 0.65); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; margin: 12px 0; }
.card-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 6px 10px; border-radius: 12px; text-decoration: none; color: var(--cocoa); transition: transform 0.15s, background 0.15s; }
.card-tile:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.5); }
.card-tile small { font-weight: 800; font-size: 12px; color: var(--forest-dark); text-align: center; line-height: 1.25; }
.card-head { display: grid; grid-template-columns: 230px 1fr; gap: 26px; align-items: center; }
.card-big .cardface { width: 230px; }
.tier-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.tier-col { display: flex; flex-direction: column; align-items: center; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.45); border: 2px solid var(--parchment-deep); }
.tier-col h3 { margin: 8px 0 2px; }
.tier-col ul.effects { align-self: stretch; }
@media (max-width: 680px) { .card-head { grid-template-columns: 1fr; justify-items: center; } }

/* ---------------------------------------------------------------- monsters + regions */
.mon-card small + small { font-size: 12px; }
.mon-card.rank-boss { border-color: #d99a8a; background: rgba(255, 236, 228, 0.6); }
.mon-card.rank-elite { border-color: #e1b663; }
.chip.rank-boss { background: #f1d2c8; border-color: #d99a8a; color: #8a3a2c; }
.chip.rank-elite { background: #f7e0ad; border-color: #e1b663; color: #7a531c; }
.region-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin: 12px 0; }
.region { display: block; overflow: hidden; padding: 14px 16px; border-radius: 14px; text-decoration: none; color: var(--cocoa); background: rgba(255, 255, 255, 0.55); border: 2px solid var(--parchment-deep); transition: transform 0.15s, border-color 0.15s; }
.region:hover { transform: translateY(-2px); border-color: var(--amber); }
.region strong { display: block; font: 800 20px var(--title); }
.region small { color: var(--cocoa-mute); font-weight: 800; }
.region p { margin: 6px 0 0; font-size: 14px; }
.region-id { float: right; padding: 0 8px; border-radius: 8px; font-weight: 900; font-size: 12px; background: var(--parchment-dark); }

.region-pic { display: block; width: calc(100% + 32px); max-width: none; margin: -14px -16px 12px; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 2px solid var(--parchment-deep); transition: transform 0.3s; }
.region:hover .region-pic { transform: scale(1.03); }
.region-banner { display: block; width: 100%; max-height: 340px; aspect-ratio: 16 / 9; object-fit: cover; margin: 4px 0 16px; border-radius: 14px; border: 3px solid #a07c48; box-shadow: 0 0 0 3px var(--parchment-light); }

/* Pet rarities (docs/97) */
.chip.rar-common { background: #ece6da; border-color: #c4b8a2; color: #5e5546; }
.chip.rar-uncommon { background: #dcebd2; border-color: #96bf84; color: #33652a; }
.chip.rar-rare { background: #d6e4f3; border-color: #8cb0d9; color: #27507f; }
.chip.rar-epic { background: #ead9f3; border-color: #bd94d6; color: #5c2f7b; }
.chip.rar-legendary { background: #f9e4b3; border-color: #dfae4a; color: #7a5210; }
.pet-rates td:first-child { white-space: nowrap; }
.pet-rates { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 14px; }
.pet-rates th, .pet-rates td { padding: 6px 10px; text-align: left; border-bottom: 1px solid rgba(120, 90, 50, 0.18); }
.pet-rates th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.03em; color: #7a5a2a; }
@media (max-width: 640px) { .pet-rates { display: block; overflow-x: auto; white-space: nowrap; } }
