:root {
  --bg: #ffffff;
  --fg: #2f2f2f;
  --muted: #5c5c5c;
  --header: #3d666a;
  --footer: #333333;
  --border: #d8d8d8;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Work Sans", Arial, sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.5;
}
.container { max-width: 960px; margin: 0 auto; padding: 0 16px; }
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--header); color: #fff;
}
.header-inner {
  min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.logo { color: #fff; text-decoration: none; font-weight: 700; font-size: 22px; }
.nav-links { display: flex; gap: 14px; flex-wrap: wrap; }
.nav-links a { color: #fff; text-decoration: none; font-size: 14px; }
.nav-links a:hover { text-decoration: underline; }
.page-content { padding: 28px 16px 44px; }
h1 { margin: 0 0 16px; font-size: 30px; line-height: 1.2; }
h2 { margin: 24px 0 12px; font-size: 22px; }
h3 { margin: 0 0 12px; font-size: 20px; color: #efefef; }
p { margin: 0 0 16px; }
a { color: #145f85; }
.hero { text-align: center; margin-bottom: 26px; }
.hero p { color: var(--muted); }
.search-bar-wrap { max-width: 420px; margin: 0 auto 24px; text-align: center; }
#coin-search {
  width: 100%; border: 1px solid #9a9a9a; border-radius: 4px;
  padding: 10px 12px; font-size: 16px;
}
#coin-count { margin-top: 10px; color: var(--muted); font-size: 14px; }
.coins-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
}
.coin-card {
  border: 1px solid var(--border); border-radius: 8px; padding: 10px;
  text-align: center; background: #fff;
}
.coin-card img {
  max-width: 54px; max-height: 54px; object-fit: contain;
}
.coin-thumb-link { display: block; min-height: 64px; }
.coin-name { text-decoration: none; color: var(--fg); font-size: 14px; }
.asset-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.asset-card {
  border: 1px solid var(--border); border-radius: 8px;
  padding: 10px; text-align: center; background: #fff;
}
.asset-card img {
  width: 100%; height: 140px; object-fit: contain;
  border-bottom: 1px solid #efefef; margin-bottom: 10px; padding-bottom: 10px;
}
.asset-card a { font-size: 13px; word-break: break-word; }
.history-section { margin-top: 28px; }
.site-footer { background: var(--footer); color: #e3e3e3; }
.footer-grid {
  padding: 30px 16px 36px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px;
}
.footer-grid a {
  display: block; color: #e3e3e3; text-decoration: none; margin-bottom: 6px;
}
.footer-grid a:hover { text-decoration: underline; }
.note { color: var(--muted); font-size: 14px; }
@media (max-width: 640px) {
  .logo { font-size: 19px; }
  h1 { font-size: 26px; }
  .asset-card img { height: 120px; }
}