﻿/* cyrillic-ext */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("../fonts/inter-400-normal-cyrillic-ext.woff2") format("woff2");
  unicode-range:
    U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
} /* cyrillic */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("../fonts/inter-400-normal-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
} /* greek-ext */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("../fonts/inter-400-normal-greek-ext.woff2") format("woff2");
  unicode-range: U+1F00-1FFF;
} /* greek */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("../fonts/inter-400-normal-greek.woff2") format("woff2");
  unicode-range:
    U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
} /* vietnamese */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("../fonts/inter-400-normal-vietnamese.woff2") format("woff2");
  unicode-range:
    U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
    U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
    U+1EA0-1EF9, U+20AB;
} /* latin-ext */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("../fonts/inter-400-normal-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
} /* latin */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("../fonts/inter-400-normal-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
} /* cyrillic-ext */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url("../fonts/inter-500-normal-cyrillic-ext.woff2") format("woff2");
  unicode-range:
    U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
} /* cyrillic */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url("../fonts/inter-500-normal-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
} /* greek-ext */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url("../fonts/inter-500-normal-greek-ext.woff2") format("woff2");
  unicode-range: U+1F00-1FFF;
} /* greek */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url("../fonts/inter-500-normal-greek.woff2") format("woff2");
  unicode-range:
    U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
} /* vietnamese */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url("../fonts/inter-500-normal-vietnamese.woff2") format("woff2");
  unicode-range:
    U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
    U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
    U+1EA0-1EF9, U+20AB;
} /* latin-ext */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url("../fonts/inter-500-normal-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
} /* latin */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url("../fonts/inter-500-normal-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
} /* cyrillic-ext */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: block;
  src: url("../fonts/inter-600-normal-cyrillic-ext.woff2") format("woff2");
  unicode-range:
    U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
} /* cyrillic */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: block;
  src: url("../fonts/inter-600-normal-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
} /* greek-ext */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: block;
  src: url("../fonts/inter-600-normal-greek-ext.woff2") format("woff2");
  unicode-range: U+1F00-1FFF;
} /* greek */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: block;
  src: url("../fonts/inter-600-normal-greek.woff2") format("woff2");
  unicode-range:
    U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
} /* vietnamese */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: block;
  src: url("../fonts/inter-600-normal-vietnamese.woff2") format("woff2");
  unicode-range:
    U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
    U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
    U+1EA0-1EF9, U+20AB;
} /* latin-ext */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: block;
  src: url("../fonts/inter-600-normal-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
} /* latin */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: block;
  src: url("../fonts/inter-600-normal-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
} /* cyrillic-ext */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url("../fonts/inter-700-normal-cyrillic-ext.woff2") format("woff2");
  unicode-range:
    U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
} /* cyrillic */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url("../fonts/inter-700-normal-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
} /* greek-ext */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url("../fonts/inter-700-normal-greek-ext.woff2") format("woff2");
  unicode-range: U+1F00-1FFF;
} /* greek */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url("../fonts/inter-700-normal-greek.woff2") format("woff2");
  unicode-range:
    U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
} /* vietnamese */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url("../fonts/inter-700-normal-vietnamese.woff2") format("woff2");
  unicode-range:
    U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
    U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
    U+1EA0-1EF9, U+20AB;
} /* latin-ext */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url("../fonts/inter-700-normal-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
} /* latin */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url("../fonts/inter-700-normal-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
} /* cyrillic-ext */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  font-display: block;
  src: url("../fonts/inter-800-normal-cyrillic-ext.woff2") format("woff2");
  unicode-range:
    U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
} /* cyrillic */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  font-display: block;
  src: url("../fonts/inter-800-normal-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
} /* greek-ext */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  font-display: block;
  src: url("../fonts/inter-800-normal-greek-ext.woff2") format("woff2");
  unicode-range: U+1F00-1FFF;
} /* greek */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  font-display: block;
  src: url("../fonts/inter-800-normal-greek.woff2") format("woff2");
  unicode-range:
    U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
} /* vietnamese */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  font-display: block;
  src: url("../fonts/inter-800-normal-vietnamese.woff2") format("woff2");
  unicode-range:
    U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
    U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
    U+1EA0-1EF9, U+20AB;
} /* latin-ext */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  font-display: block;
  src: url("../fonts/inter-800-normal-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
} /* latin */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  font-display: block;
  src: url("../fonts/inter-800-normal-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
:root {
  --bg-primary: #0d1421;
  --bg-secondary: #0d1421;
  --bg-tertiary: #1a2332;
  --bg-card: #131a29;
  --bg-hover: #1e2d3d;
  --bg-dropdown: #1a2332;
  --text-primary: #eaecef;
  --text-secondary: #848e9c;
  --text-muted: #5e6673;
  --accent-blue: #3861fb;
  --accent-blue-hover: #2f54e0;
  --accent-green: #16c784;
  --accent-red: #ea3943;
  --border-color: #1e2d3d;
  --progress-bg: #1e2d3d;
  --logo-color: #ffffff;
  --theme-toggle-bg: #1a2332;
  --theme-toggle-border: #1e2d3d;
  --card-shadow: none;
  --dropdown-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}
[data-theme="light"] {
  --bg-primary: #f8fafd;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f8fafd;
  --bg-card: #ffffff;
  --bg-hover: #eff2f5;
  --bg-dropdown: #ffffff;
  --text-primary: #0d1421;
  --text-secondary: #58667e;
  --text-muted: #a6b0c3;
  --border-color: #eff2f5;
  --progress-bg: #eff2f5;
  --logo-color: #0d1421;
  --theme-toggle-bg: #f2f4f8;
  --theme-toggle-border: #e6e9ef;
  --card-shadow: 0 4px 16px rgba(88, 102, 126, 0.08);
  --dropdown-shadow: 0 8px 32px rgba(88, 102, 126, 0.16);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
* {
  -webkit-font-smoothing: inherit;
  -moz-osx-font-smoothing: inherit;
}
body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
}
body.is-token-loading {
  overflow: hidden;
}
.token-loading-overlay {
  position: fixed;
  top: 56px;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 900;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.is-token-loading .token-loading-overlay {
  display: flex;
}
.token-loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.token-loading-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(56, 97, 251, 0.25);
  border-top-color: var(--accent-blue);
  border-radius: 50%;
  animation: tokenLoadingSpin 0.85s linear infinite;
}
.token-loading-title {
  font-size: 16px;
  font-weight: 800;
}
.token-loading-text {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
}
@keyframes tokenLoadingSpin {
  to {
    transform: rotate(360deg);
  }
}
.mobile-app-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  padding: 6px 16px 6px 12px;
  background: #0c1424;
  border-bottom: 1px solid #263246;
  color: #ffffff;
}
.mobile-app-banner[hidden] {
  display: none;
}
.mobile-app-banner-close {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  color: #9aa4b2;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.mobile-app-banner-close svg {
  width: 14px;
  height: 14px;
}
.mobile-app-banner-logo {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  object-fit: cover;
}
.mobile-app-banner-copy {
  min-width: 0;
  flex: 1 1 auto;
  line-height: 1.2;
}
.mobile-app-banner-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}
.mobile-app-banner-text {
  margin-top: 2px;
  overflow: hidden;
  color: #9aa4b2;
  font-size: 11px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mobile-app-banner-open {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 8px;
  background: #3861fb;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
[data-theme="light"] .mobile-app-banner {
  background: #ffffff;
  border-bottom-color: #eff2f5;
  color: #0d1421;
}
[data-theme="light"] .mobile-app-banner-close {
  color: #a6b0c3;
}
[data-theme="light"] .mobile-app-banner-title {
  color: #0d1421;
}
[data-theme="light"] .mobile-app-banner-text {
  color: #58667e;
}
[data-theme="light"] .network-badge,
[data-theme="light"] .contract-badge {
  background: #eff2f5;
  border: 1px solid #e6e9ef;
}
@media (min-width: 769px) {
  .mobile-app-banner {
    display: none;
  }
}
.header {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 16px;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
  text-decoration: none;
}
.logo svg {
  width: 32px;
  height: 32px;
}
.cmc-logo-img {
  fill: var(--logo-color);
  display: block;
  width: 169px;
  height: 29px;
}
.nav-main {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 56px;
}
.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  padding: 0;
  border-radius: 0;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 100%;
  white-space: nowrap;
}
.nav-link:hover {
  background: transparent;
  color: var(--accent-blue);
}
.nav-link.active {
  color: var(--accent-blue);
}
.nav-link svg.chevron {
  width: 12px;
  height: 12px;
  opacity: 0.5;
}
.beta-badge {
  background: var(--accent-blue);
  color: white;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-left: 4px;
}
.new-badge {
  background: var(--accent-green);
  color: white;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-left: 6px;
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-dropdown);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  box-shadow: var(--dropdown-shadow);
  z-index: 1001;
}
.dropdown.wide {
  min-width: 560px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.dropdown.medium {
  min-width: 360px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-section {
  min-width: 140px;
}
.dropdown-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  padding-left: 4px;
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 500;
  transition: background 0.15s;
}
.dropdown-item:hover {
  background: var(--bg-hover);
}
.dropdown-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dropdown-icon svg {
  width: 14px;
  height: 14px;
  color: white;
}
.icon-blue {
  background: linear-gradient(135deg, #3861fb, #5b7cfe);
}
.icon-green {
  background: linear-gradient(135deg, #16c784, #1dd994);
}
.icon-orange {
  background: linear-gradient(135deg, #f7931a, #f9a940);
}
.icon-purple {
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}
.icon-red {
  background: linear-gradient(135deg, #ea3943, #f06068);
}
.icon-yellow {
  background: linear-gradient(135deg, #f0b90b, #f5cc3e);
}
.icon-cyan {
  background: linear-gradient(135deg, #00d4aa, #2eebc9);
}
.icon-pink {
  background: linear-gradient(135deg, #ea3980, #f06098);
}
.icon-indigo {
  background: linear-gradient(135deg, #6366f1, #818cf8);
}
.icon-teal {
  background: linear-gradient(135deg, #14b8a6, #2dd4bf);
}
.icon-sky {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
}
.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-icon-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s;
  background: none;
  border: none;
  cursor: pointer;
}
.header-icon-btn:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}
.header-icon-btn svg {
  width: 18px;
  height: 18px;
}
.watchlist-icon {
  transition:
    fill 0.2s,
    color 0.2s,
    transform 0.2s;
}
#watchlistToggle.is-active .watchlist-icon {
  color: #f0b90b;
  fill: currentColor;
  stroke: currentColor;
  transform: scale(1.05);
}
#themeToggle {
  width: 36px;
  height: 36px;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--theme-toggle-border);
  border-radius: 50%;
  background: var(--theme-toggle-bg);
  color: var(--text-secondary);
}
#themeToggle:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}
#sunIcon {
  display: none;
}
[data-theme="dark"] #moonIcon {
  display: none;
}
[data-theme="dark"] #sunIcon {
  display: block;
}
[data-theme="light"] #moonIcon {
  display: block;
}
[data-theme="light"] #sunIcon {
  display: none;
}
.main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px;
}
.site-footer {
  padding: 24px 24px 28px;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
}
.site-footer-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.site-footer-copy {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.site-footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.store-badge-link {
  display: inline-flex;
  flex: 0 0 auto;
  height: 36px;
  border-radius: 6px;
  text-decoration: none;
}
.store-badge-link img {
  display: block;
  width: auto;
  height: 36px;
}
.terms-page[hidden] {
  display: none;
}
.terms-page {
  min-height: calc(100vh - 56px);
  padding: 32px 24px 112px;
}
.terms-page-inner {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}
.terms-card {
  padding: 28px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: var(--bg-card);
  box-shadow: var(--card-shadow);
}
.terms-kicker {
  margin-bottom: 8px;
  color: var(--accent-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.terms-card h1 {
  color: var(--text-primary);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.15;
}
.terms-card > p {
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}
.terms-rules {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}
.terms-rule {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: var(--bg-tertiary);
}
.terms-rule > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(56, 97, 251, 0.12);
  color: var(--accent-blue);
  font-size: 12px;
  font-weight: 800;
}
.terms-rule h2 {
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}
.terms-rule p {
  margin-top: 6px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
}
.terms-back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 18px;
  border: 0;
  border-radius: 8px;
  background: var(--accent-blue);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
.terms-back-btn:hover {
  background: var(--accent-blue-hover);
}
.maintenance-page[hidden] {
  display: none;
}
.maintenance-page {
  min-height: calc(100vh - 56px);
  padding: 48px 24px 112px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.maintenance-card {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 0;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: var(--bg-card);
  box-shadow: var(--card-shadow);
  text-align: center;
}
.maintenance-loading,
.maintenance-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.maintenance-loading {
  width: 100%;
  max-width: 520px;
  justify-content: center;
  gap: 14px;
  padding: 32px;
  text-align: center;
}
.maintenance-content {
  padding: 32px;
}
.maintenance-content[hidden],
.maintenance-loading[hidden] {
  display: none;
}
.maintenance-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--bg-tertiary);
  color: var(--accent-blue);
}
.maintenance-icon svg {
  width: 24px;
  height: 24px;
}
.maintenance-card h1 {
  color: var(--text-primary);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
}
.maintenance-card p {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}
.maintenance-back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 24px;
  border: 0;
  border-radius: 8px;
  background: var(--accent-blue);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
.maintenance-back-btn:hover {
  background: var(--accent-blue-hover);
}
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  transition: color 0.2s;
}
.back-btn:hover {
  color: var(--accent-blue);
}
.back-btn svg {
  width: 18px;
  height: 18px;
}
.page-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
}
.token-header-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
}
.token-header-bg {
  height: 100px;
  background: linear-gradient(
    135deg,
    rgba(56, 97, 251, 0.2),
    rgba(139, 92, 246, 0.1)
  );
}
.token-header-content {
  padding: 0 24px 24px;
  margin-top: -40px;
  position: relative;
}
.token-logo-large {
  position: relative;
  z-index: 1;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid var(--bg-card);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  margin-bottom: 16px;
  overflow: hidden;
  background: var(--bg-tertiary);
}
.token-logo-large img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.token-title-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.token-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.18;
}
.token-symbol-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  max-width: 118px;
  padding: 0 14px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--bg-tertiary);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.token-badges {
  display: flex;
  gap: 8px;
}
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.badge-trending {
  background: rgba(22, 199, 132, 0.15);
  color: var(--accent-green);
}
.badge-trending.is-hidden-mobile {
  display: none;
}
.badge-rank {
  background: linear-gradient(135deg, #ffd700, #ffab00);
  color: #1a1a1a;
}
.badge svg {
  width: 12px;
  height: 12px;
}
.token-meta-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.network-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  min-width: 120px;
  padding: 0 14px;
  background: var(--bg-tertiary);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}
.network-badge img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}
.contract-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  min-width: 148px;
  padding: 0 14px;
  background: var(--bg-tertiary);
  border-radius: 8px;
  font-size: 13px;
  font-family: "SF Mono", Monaco, monospace;
  color: var(--text-secondary);
}
.contract-badge button {
  background: none;
  border: none;
  color: var(--accent-blue);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  display: flex;
}
.contract-badge button:hover {
  background: rgba(56, 97, 251, 0.1);
}
.contract-badge svg {
  width: 14px;
  height: 14px;
}
.btn-follow {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--accent-blue);
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: white;
  cursor: pointer;
}
.btn-follow:hover {
  background: var(--accent-blue-hover);
}
.btn-follow svg {
  width: 14px;
  height: 14px;
}
.btn-more {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
}
.btn-more:hover {
  border-color: var(--accent-blue);
}
.btn-more svg {
  width: 16px;
  height: 16px;
  color: var(--text-secondary);
}
.section-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  padding: 24px;
  margin-top: 24px;
}
.section-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title svg {
  width: 20px;
  height: 20px;
  color: var(--accent-blue);
}
.description-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.description-text p {
  margin-bottom: 16px;
}
.description-text p:last-child {
  margin-bottom: 0;
}
.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.link-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}
.link-item:hover {
  border-color: var(--accent-blue);
  transform: translateY(-2px);
}
.link-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.link-icon svg {
  width: 18px;
  height: 18px;
}
.link-icon.website {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
}
.link-icon.twitter {
  background: #000;
  color: white;
}
.link-icon.telegram {
  background: linear-gradient(135deg, #0088cc, #0077b5);
  color: white;
}
.link-icon.discord {
  background: linear-gradient(135deg, #5865f2, #4752c4);
  color: white;
}
.link-icon.dexscreener {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: #4ade80;
}
.link-icon.solscan {
  background: linear-gradient(135deg, #14f195, #9945ff);
  color: white;
}
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.voting-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  padding: 24px;
  position: sticky;
  top: 88px;
}
.voting-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.voting-title {
  font-size: 18px;
  font-weight: 700;
}
.live-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--accent-green);
  font-weight: 600;
}
.live-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}
.vote-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}
.vote-stat {
  text-align: center;
}
.vote-stat-value {
  font-size: 28px;
  font-weight: 700;
}
.vote-stat-value.current {
  color: var(--accent-blue);
}
.vote-stat-value.target {
  color: var(--accent-green);
}
.vote-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}
.vote-divider {
  width: 1px;
  background: var(--border-color);
}
.progress-section {
  margin-bottom: 24px;
}
.progress-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}
.progress-label {
  font-size: 14px;
  color: var(--text-secondary);
}
.progress-percent {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-blue);
}
.progress-bar {
  height: 12px;
  background: var(--progress-bg);
  border-radius: 6px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-blue), #8b5cf6);
  border-radius: 6px;
  position: relative;
}
#progressFill {
  width: 89%;
}
.progress-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shimmer 2s infinite;
}
@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
.progress-info {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-muted);
}
.vote-btn {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent-blue);
  color: white;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.vote-btn:hover {
  background: var(--accent-blue-hover);
}
.mobile-vote-btn {
  display: none;
}
.vote-btn svg {
  width: 20px;
  height: 20px;
}
.vote-hint {
  text-align: center;
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-muted);
}
.recent-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}
.recent-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.recent-title {
  font-size: 14px;
  font-weight: 600;
}
.view-all {
  font-size: 13px;
  color: var(--accent-blue);
  text-decoration: none;
}
.voters-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.voter-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: var(--bg-tertiary);
  border-radius: 10px;
  animation: slideIn 0.3s ease;
}
.voter-item.is-new {
  animation:
    slideIn 0.3s ease,
    voter-pulse 1.2s ease;
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes voter-pulse {
  0% {
    background: rgba(22, 199, 132, 0.22);
  }
  100% {
    background: var(--bg-tertiary);
  }
}
.voter-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #14f195, #9945ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  color: white;
}
.voter-info {
  flex: 1;
}
.voter-address {
  font-size: 13px;
  font-weight: 500;
  font-family: "SF Mono", Monaco, monospace;
}
.voter-time {
  font-size: 11px;
  color: var(--text-muted);
}
.info-box {
  background: rgba(56, 97, 251, 0.1);
  border: 1px solid rgba(56, 97, 251, 0.2);
  border-radius: 12px;
  padding: 16px;
  margin-top: 24px;
}
.info-box-content {
  display: flex;
  gap: 12px;
}
.info-box svg {
  width: 20px;
  height: 20px;
  color: var(--accent-blue);
  flex-shrink: 0;
  margin-top: 2px;
}
.info-box p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-tertiary);
  color: var(--text-primary);
  padding: 14px 24px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 2000;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.toast svg {
  width: 20px;
  height: 20px;
  color: var(--accent-green);
}
.scroll-top-btn {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 1210;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
}
.scroll-top-btn.is-visible {
  opacity: 0.7;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top-btn:hover {
  opacity: 1;
}
.scroll-top-btn svg {
  width: 22px;
  height: 22px;
}
[data-theme="dark"] .scroll-top-btn {
  background: #eff2f5;
  color: #0d1421;
}
[data-theme="light"] .scroll-top-btn {
  background: #1f2937;
  color: #ffffff;
}
.vote-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(13, 20, 33, 0.56);
  backdrop-filter: blur(5px);
}
.vote-modal-overlay.is-open {
  display: flex;
}
.vote-modal {
  position: relative;
  width: min(496px, 100%);
  padding: 30px 32px 28px;
  border: 1px solid #e6e9ef;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 20px 64px rgba(13, 20, 33, 0.24);
  color: #0d1421;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
}
.vote-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  color: #8a94a6;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.vote-modal-close svg {
  width: 22px;
  height: 22px;
}
.vote-modal-kicker {
  margin-bottom: 10px;
  color: #58667e;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.vote-modal-title {
  margin: 0;
  padding-right: 28px;
  color: #0d1421;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.24;
}
.vote-modal-time {
  margin-top: 12px;
  color: #16c784;
  font-size: 12px;
  font-weight: 700;
}
.vote-modal-copy {
  margin-top: 16px;
  color: #58667e;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}
.vote-modal-token {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid #e6e9ef;
  border-radius: 10px;
  background: #f8fafd;
}
.vote-modal-token img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.vote-modal-token-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.vote-modal-token-info strong {
  color: #0d1421;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}
.vote-modal-token-info span {
  overflow: hidden;
  color: #58667e;
  font-size: 12px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vote-modal-rules {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #e6e9ef;
  border-radius: 10px;
  background: #ffffff;
  color: #0d1421;
  font-size: 13px;
  font-weight: 600;
}
.vote-modal-rules div {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.vote-modal-rules span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #16c784;
}
.vote-modal-submit {
  width: 100%;
  min-height: 48px;
  margin-top: 18px;
  border: 0;
  border-radius: 8px;
  background: #3861fb;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
.vote-modal-submit:hover {
  background: #2f54e0;
}
.vote-modal-note,
.vote-modal-terms {
  margin-top: 12px;
  color: #58667e;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.45;
}
.vote-modal-terms {
  margin-top: 8px;
  color: #8a94a6;
}
.vote-modal-terms-link {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: #3861fb;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
[data-theme="dark"] .vote-modal {
  border-color: #263246;
  background: #121826;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.48);
  color: #eaecef;
}
[data-theme="dark"] .vote-modal-close {
  color: #8a94a6;
}
[data-theme="dark"] .vote-modal-kicker,
[data-theme="dark"] .vote-modal-copy,
[data-theme="dark"] .vote-modal-token-info span,
[data-theme="dark"] .vote-modal-note {
  color: #a6b0c3;
}
[data-theme="dark"] .vote-modal-title,
[data-theme="dark"] .vote-modal-token-info strong,
[data-theme="dark"] .vote-modal-rules {
  color: #f5f7fa;
}
[data-theme="dark"] .vote-modal-token,
[data-theme="dark"] .vote-modal-rules {
  border-color: #263246;
  background: #0d1421;
}
[data-theme="dark"] .vote-modal-terms {
  color: #8a94a6;
}
@media (max-width: 1024px) {
  .page-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .content {
    display: contents;
  }
  .token-header-card {
    order: 1;
  }
  .sidebar {
    order: 2;
  }
  .section-card {
    order: 3;
    margin-top: 0;
  }
  .voting-card {
    position: relative;
    top: 0;
  }
  .dropdown.wide {
    min-width: 400px;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .token-loading-overlay {
    top: 108px;
  }
  body::after {
    content: "";
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1190;
    height: calc(82px + env(safe-area-inset-bottom));
    background: linear-gradient(
      180deg,
      rgba(10, 16, 28, 0),
      var(--bg-primary) 28%,
      var(--bg-primary) 100%
    );
    pointer-events: none;
  }
  .toast {
    right: 16px;
    bottom: calc(92px + env(safe-area-inset-bottom));
    left: 16px;
    justify-content: center;
    width: auto;
    max-width: none;
    transform: translateY(100px);
  }
  .toast.show {
    transform: translateY(0);
  }
  .scroll-top-btn {
    right: 18px;
    bottom: calc(92px + env(safe-area-inset-bottom));
    width: 46px;
    height: 46px;
  }
  .vote-modal-overlay {
    align-items: flex-end;
    padding: 16px;
  }
  .vote-modal {
    padding: 26px 22px 22px;
    border-radius: 16px;
  }
  .vote-modal-title {
    font-size: 22px;
  }
  .vote-modal-submit {
    min-height: 50px;
  }
  .header-content {
    padding: 0 14px;
  }
  .header-left {
    flex: 1;
  }
  .cmc-logo-img {
    width: 160px;
    max-width: 54vw;
  }
  .header-right {
    flex-shrink: 0;
  }
  .nav-main {
    display: none;
  }
  .header-icon-btn span {
    display: none;
  }
  .main {
    width: 100%;
    max-width: none;
    padding: 24px 16px 24px;
  }
  .site-footer {
    padding: 22px 16px calc(98px + env(safe-area-inset-bottom));
  }
  .site-footer-copy {
    font-size: 11px;
  }
  .site-footer-badges {
    gap: 8px;
    margin-top: 12px;
  }
  .terms-page {
    padding: 24px 16px calc(96px + env(safe-area-inset-bottom));
  }
  .maintenance-page {
    padding: 24px 16px calc(96px + env(safe-area-inset-bottom));
  }
  .maintenance-card {
    border-radius: 10px;
  }
  .maintenance-loading {
    padding: 36px 20px;
  }
  .maintenance-content {
    padding: 28px 20px;
  }
  .maintenance-card h1 {
    font-size: 26px;
  }
  .terms-card {
    padding: 22px 18px;
    border-radius: 10px;
  }
  .terms-card h1 {
    font-size: 28px;
  }
  .terms-card > p {
    font-size: 14px;
  }
  .terms-rule {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .terms-back-btn {
    position: fixed;
    right: 16px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    left: 16px;
    z-index: 1200;
    width: auto;
    margin-top: 0;
    box-shadow: 0 14px 34px rgba(56, 97, 251, 0.38);
  }
  .store-badge-link,
  .store-badge-link img {
    height: 32px;
  }
  .page-grid {
    width: 100%;
    min-width: 0;
    gap: 20px;
  }
  .content,
  .sidebar {
    min-width: 0;
    width: 100%;
  }
  .voting-card,
  .section-card,
  .token-header-card {
    width: 100%;
    max-width: 100%;
  }
  .token-header-bg {
    height: 66px;
  }
  .token-header-content {
    display: block;
    padding: 0 20px 20px;
    margin-top: -34px;
  }
  .token-logo-large {
    width: 72px;
    height: 72px;
    margin-bottom: 14px;
    border-width: 3px;
  }
  .token-title-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
  }
  .token-title-row .token-badges {
    flex: 0 0 auto;
    margin-left: auto;
  }
  .token-title {
    font-size: 22px;
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .token-symbol-badge {
    min-height: 36px;
    padding: 0 10px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
  }
  .token-badges {
    display: flex;
    gap: 8px;
  }
  .badge {
    justify-content: center;
    width: 82px;
    min-height: 36px;
    padding: 0 10px;
  }
  .token-meta-row {
    display: grid;
    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, 1fr);
    gap: 12px;
    margin-top: 16px;
  }
  .network-badge,
  .contract-badge {
    min-width: 0;
    justify-content: center;
    min-height: 46px;
    padding: 0 12px;
  }
  .contract-badge span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .voting-card > .vote-btn {
    display: none;
  }
  .mobile-vote-btn {
    display: flex;
    position: fixed;
    right: 16px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    left: 16px;
    z-index: 1200;
    width: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition:
      transform 0.28s ease-out,
      opacity 0.2s ease;
    box-shadow: 0 14px 34px rgba(56, 97, 251, 0.38);
  }
  .is-terms-view .mobile-vote-btn {
    display: none;
  }
  .is-maintenance-view .mobile-vote-btn {
    display: none;
  }
  .is-token-loading .mobile-vote-btn {
    opacity: 0;
    transform: translateY(calc(100% + 32px + env(safe-area-inset-bottom)));
    pointer-events: none;
  }
  .links-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .header-content {
    padding: 0 12px;
  }
  .header-left {
    gap: 12px;
  }
  .header-right {
    gap: 6px;
  }
  .header-icon-btn {
    width: 32px;
    height: 32px;
    padding: 0;
    justify-content: center;
  }
  #themeToggle {
    width: 32px;
    height: 32px;
  }
  .main {
    padding: 22px 12px 22px;
  }
  .back-btn {
    margin-left: 2px;
  }
  .token-header-card {
    border-radius: 10px;
  }
  .token-header-bg {
    height: 58px;
  }
  .token-header-content {
    padding: 0 16px 18px;
    margin-top: -30px;
  }
  .token-logo-large {
    width: 64px;
    height: 64px;
    margin-bottom: 12px;
  }
  .token-title-row {
    gap: 7px;
  }
  .token-title-row .token-badges {
    justify-content: flex-end;
    margin-left: auto;
  }
  .token-title {
    font-size: 21px;
  }
  .token-symbol-badge {
    min-height: 34px;
    padding: 0 9px;
  }
  .badge {
    width: 82px;
    min-height: 34px;
    padding: 0 9px;
    font-size: 11px;
  }
  .token-meta-row {
    gap: 10px;
    margin-top: 16px;
  }
  .network-badge,
  .contract-badge {
    min-height: 46px;
    padding: 0 10px;
    font-size: 12px;
  }
  .voting-card {
    padding: 22px 20px;
    border-radius: 10px;
  }
  .vote-stats {
    gap: 14px;
  }
  .vote-stat {
    flex: 1;
    min-width: 0;
  }
  .vote-stat-value {
    font-size: 26px;
  }
  .progress-info {
    gap: 12px;
  }
  .mobile-vote-btn {
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 12px;
    padding: 14px;
  }
  .terms-back-btn {
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 12px;
  }
  .maintenance-back-btn {
    min-height: 46px;
  }
  .links-grid {
    grid-template-columns: 1fr;
  }
}
.noir-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.noir-modal-overlay.noir-active {
  display: flex;
  opacity: 1;
}
.noir-modal-iframe {
  width: 360px;
  height: 620px;
  border: none;
  border-radius: 16px;
  background: transparent;
  overflow: hidden;
  transform: scale(0.9);
  opacity: 0;
  transition:
    transform 0.3s ease,
    opacity 0.25s ease,
    height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.noir-modal-overlay.noir-active .noir-modal-iframe {
  transform: scale(1);
}
.noir-modal-iframe.noir-iframe-ready {
  opacity: 1;
}
.noir-spinner {
  position: absolute;
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.08);
  border-top-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: noir-spin 0.7s linear infinite;
  transition: opacity 0.25s ease;
}
.noir-spinner.noir-hidden {
  opacity: 0;
  pointer-events: none;
}
@keyframes noir-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 480px) {
  .noir-modal-iframe {
    width: 100%;
    height: 100%;
    border-radius: 0;
    overflow-y: auto;
  }
}
.noir-evm,
.noir-connect {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
:root {
}
