.account-brand { font-family: inherit; font-size: clamp(17px, 5vw, 27px); font-weight: 700; line-height: 1.1; letter-spacing: -.035em; }
html[lang="en"] .account-brand { min-width: 0; font-size: clamp(17px, 5vw, 24px); }
html[lang="en"] .header-actions { flex: none; }
html[lang="en"] .entries-claim .account-icon { position: static; margin-inline: auto; }
html[lang="en"] .account-detail-top { text-align: center; }
html[lang="en"] .reward-hero > .account-metric { min-height: 44px; }
html[lang="en"] .account-gold { flex-shrink: 0; }
body[data-account="pool"] .account-brand { font: 400 34px/1 Georgia, serif; }
.account-page { padding: 9px 10px max(20px, env(safe-area-inset-bottom)); }
.account-content { display: grid; gap: 8px; }
.account-panel {
  position: relative;
  padding: 11px;
  border: 1px solid #eae0ce;
  border-radius: 9px;
  background: radial-gradient(ellipse at 3% -10%, #fffdf9, transparent 68%), #fbf7ee;
}
.account-green {
  overflow: hidden;
  color: #fff6db;
  border-color: #b48743;
  background: radial-gradient(ellipse at 76% 5%, #20613e 0%, #0e3b2d 52%, #05271f 100%);
  box-shadow: 0 2px 5px #44340726;
  padding: 14px;
}
.account-heading { display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.account-heading h2 { display: flex; align-items: center; gap: 7px; font: 700 clamp(15px,4.45vw,20px)/1.15 "Noto Serif SC", "Songti SC", SimSun, serif; }
.account-heading small, .account-link { font-size: 11px; }
.account-link, .account-detail-link, .entry-record-link { border: 0; background: transparent; color: inherit; padding: 3px 0; }
.account-link { flex: none; text-align: right; color: #27424d; overflow-wrap: anywhere; }
.account-green .account-link { color: #fff2ce; }
.account-green > .account-heading { position: relative; z-index: 1; }
.account-icon { display: inline-block; flex: none; width: 25px; height: 25px; background-repeat: no-repeat; vertical-align: middle; }
.account-icon.people, .account-icon.node, .account-icon.file { border-radius: 6px; }
.account-icon.people { background: url('./v3-modal-art.webp') -75px -20px / 175px auto no-repeat; }
.account-icon.node { background: url('./v3-modal-art.webp') -100px -20px / 175px auto no-repeat; }
.account-icon.file { background: url('./v3-modal-art.webp') -125px -20px / 175px auto no-repeat; }
.account-icon.wreath, .account-icon.cube { background-image: url('./v3-ornaments.png?v=3.1'); mix-blend-mode: multiply; }
.account-icon.wreath { background-size: 72px auto; }
.account-icon.cube { background-size: 137px auto; background-position: -111px 0; }
.account-icon.coins, .account-icon.crown, .account-icon.laurels {
  border-radius: 50%;
  background-image: url('./account-art.webp');
  background-size: 300% 100%;
}
.account-icon.coins { background-position: 0 0; }
.account-icon.crown { background-position: 50% 0; }
.account-icon.laurels { background-position: 100% 0; }
.account-green > .account-icon.coins { position: absolute; width: 78px; height: 78px; right: 12px; top: 8px; }
.account-green > .account-icon.laurels, .account-green > .account-icon.crown { position: absolute; width: 58px; height: 58px; left: 8px; top: 10px; }
.asset-hero > .account-metric { padding-right: 78px; }
.reward-hero > .account-metric, .node-hero > :is(.account-heading,.node-subtitle,.account-pill) { margin-left: 65px; }
.account-green:not(.asset-hero) > .account-icon.coins { top: 4px; width: 48px; height: 48px; }
body[data-account="pool"] .account-green > .account-heading { padding-right: 51px; }
.account-green .account-heading h2 { color: #fff6db; }
.account-metric { display: grid; gap: 3px; align-content: start; min-width: 0; overflow-wrap: anywhere; }
.account-metric > span { font-size: 11px; color: #34505a; }
.account-green .account-metric > span { color: #efe0be; }
.account-metric > strong { font: 700 clamp(18px,5.2vw,26px)/1.08 "Times New Roman", Georgia, serif; font-variant-numeric: tabular-nums; }
.account-metric > strong > small { font: 400 .53em/1 "Times New Roman", serif; }
.account-green > .account-metric > strong, .entries-claim strong { font-size: clamp(27px,8.5vw,41px); }
.account-green > .account-metric > span { font-size: 14px; }
.asset-total { margin: 3px 0; font-size: 12px; color: #e8d8b1; }
.asset-reference { font-size: 9px; color: #e8d8b1; }
.account-metrics { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0,1fr); align-items: stretch; text-align: center; }
.account-metrics > .account-metric { padding: 4px 4px; }
.account-metrics > .account-metric + .account-metric { border-left: 1px solid #e2d4b3; }
.account-green .account-metrics { margin-top: 10px; border-top: 1px solid #d6c28c83; padding-top: 6px; }
.account-green .account-metrics > .account-metric + .account-metric { border-color: #d6c28c83; }
.account-green .account-metrics strong { font-size: clamp(15px, 4.6vw, 23px); }
.account-green-note { text-align: center; font-size: 10px; color: #f3e2b9; border-top: 1px solid #d6c28c60; margin-top: 6px; padding-top: 5px; }
.account-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 37px;
  text-align: center;
  background: linear-gradient(155deg, #1a4f35, #062921 64%);
  box-shadow: 0 2px 4px #372b1740;
}
.account-cta:not(a):disabled { box-shadow: none; opacity: .68; }
.account-pool-link { min-height: 48px; font-size: 20px; margin-bottom: 3px; }
.account-pool-link .account-icon { width: 34px; height: 34px; }
.account-end-arrow { position: absolute; right: 15px; width: 18px; height: 18px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; }
.account-end-arrow::before { content: ''; width: 6px; height: 6px; border: solid currentColor; border-width: 1px 1px 0 0; transform: translateX(-1px) rotate(45deg); }
.account-caption { color: #3a4b52; font-size: 11px; line-height: 1.5; margin: 0; }
.account-empty { padding: 10px 4px; text-align: center; color: #53666a; font-size: 12px; line-height: 1.5; }
.account-empty:empty, .account-feedback:empty { display: none; }
.account-empty button { margin-top: 6px; }
.account-feedback { color: #46634b; padding: 6px 3px; font-size: 12px; overflow-wrap: anywhere; }
.account-retry { min-height: 33px; }
.account-list { display: grid; gap: 6px; }
.account-pill { display: inline-block; white-space: nowrap; border-radius: 999px; padding: 2px 9px; background: #e9dfd0; color: #2e3a38; font-size: 11px; font-weight: 600; }
.account-pill.gold, .account-gold { background: linear-gradient(155deg,#f9e8b5,#eac782); color: #3b2b14; }
.account-pill.green { background: #dce9df; color: #245340; }
.account-pill.gray { background: #e8e7e4; color: #444c50; }
.account-progress { display: block; border: 0; width: 100%; height: 7px; border-radius: 999px; overflow: hidden; margin: 9px 0 7px; appearance: none; background: #ede4d5; }
.account-progress::-webkit-progress-bar { background: #ede4d5; }
.account-progress::-webkit-progress-value { background: linear-gradient(90deg,#c3934c,#df960b); border-radius: 999px; }
.account-progress::-moz-progress-bar { background: #db962a; }
.position-card > .account-heading:last-child { margin-top: 5px; }
.position-card > .account-heading:last-child h2 { font-size: 12px; }
.account-position-action { margin-top: 5px; text-align: right; }
.account-detail-top { display: grid; gap: 5px; justify-items: center; }
.account-timeline > div { border-left: 2px solid #dcb56f; padding-left: 8px; }
.account-table { width: 100%; font-size: 11px; line-height: 1.25; margin-top: 5px; table-layout: auto; }
.account-table th, .account-table td { width: auto; height: 27px; padding: 4px 3px; }
.account-table th { background: #f4ebdc; }
.account-table td:first-child { text-align: left; }
.account-table .account-link { font-size: inherit; }
.account-scroll-table { overflow-x: auto; }
.reward-caption { margin: 2px 0 3px 32px; }
.reward-panel > .account-metric { text-align: center; margin: 3px 0 7px; }
.reward-panel > .account-metric > span:empty { display: none; }
.reward-panel .account-cta, .account-panel .account-cta { margin-top: 7px; }
.invite-identity { padding: 3px 11px; }
.invite-field { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; align-items: end; padding: 10px 0; }
.invite-field + .invite-field { border-top: 1px solid #eadecc; }
.invite-field > div { display: grid; gap: 4px; min-width: 0; }
.invite-field > div strong { overflow-wrap: anywhere; font-size: clamp(15px,4.55vw,22px); }
.invite-field > div span { font-size: 12px; }
.invite-qr { border-top: 1px solid #eadecc; padding: 10px 0; display: grid; justify-items: center; gap: 8px; }
.invite-qr .account-heading { justify-self: stretch; }
.invite-qr-code { width: min(100%, 168px); height: auto; border-radius: 5px; background: #fff; image-rendering: pixelated; }
.invite-qr .account-caption { text-align: center; }
.mini-copy { min-width: 58px; min-height: 26px; padding: 2px 7px; border-radius: 20px; box-shadow: 0 1px 3px #45340c21; }
.mini-copy.secondary { background: transparent; border: 1px solid #c99d56; }
.account-detail-link { display: flex; align-items: center; gap: 7px; width: 100%; text-align: left; min-height: 38px; padding-inline: 4px; }
.account-detail-link > :last-child { margin-left: auto; }
.account-detail-link + .account-detail-link { border-top: 1px solid #eee5d4; }
.node-subtitle { font: italic 13px Georgia, serif; }
.node-hero .account-pill { margin-top: 4px; }
.entries-stats { padding: 6px 5px; }
.entries-claim { text-align: center; }
.entries-claim .account-metric > span { font-weight: 700; color: #0b282a; font-size: 15px; }
.entries-claim .account-icon { position: absolute; top: 10px; left: 14%; }
.account-filters { margin: 0; }
.entry-record { display: flex; align-items: center; flex-wrap: wrap; gap: 2px; padding: 3px 7px; }
.entry-record-link { display: grid; width: 100%; align-items: center; grid-template-columns: 26px minmax(0,1fr) auto 9px; gap: 7px; text-align: left; min-height: 43px; }
.entry-record > .compact, .entry-record > .account-pill { margin-left: auto; }
.entry-summary { display: grid; gap: 3px; }
.entry-summary small { color: #675535; font-size: 11px; }
.help-card .rules-details { margin: 8px 0 0; background: #fffaf3; border: 1px solid #eee2d0; border-radius: 7px; padding-inline: 6px; }
.help-card .rules-details p { margin: 4px 0 3px; font-size: 11px; line-height: 1.55; color: #31434b; }
.account-gold { font-size: 11px; border-radius: 999px; padding: 4px 9px; border: 1px solid #d8ac68; }
.help-card .account-heading h2 { border-left: 2px solid #c4904b; padding-left: 8px; }
.help-risk p { font-size: 11px; }
@media (max-width: 349px) {
  .account-page { padding-inline: 7px; }
  .account-panel { padding-inline: 8px; }
  .account-table th, .account-table td { font-size: 10px; padding-inline: 1px; }
}
