.chart-view,
.member-view {
  --chart-cosmic: var(--cosmic, #070A15);
  --chart-night: #10172B;
  --chart-night-deep: #0b1020;
  --chart-gold: var(--gold, #C5A777);
  --chart-cyan: var(--cyan, #65D8D4);
  --chart-ivory: var(--ivory, #f3eee4);
  --chart-muted: #8e9aaf;
  --chart-line: rgba(197, 167, 119, .28);
  --chart-soft-line: rgba(101, 216, 212, .18);
  box-sizing: border-box;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  color: var(--chart-ivory);
  background:
    radial-gradient(circle at 87% 4%, rgba(101, 216, 212, .13), transparent 25rem),
    radial-gradient(circle at 5% 18%, rgba(197, 167, 119, .10), transparent 22rem),
    linear-gradient(145deg, var(--chart-cosmic), var(--chart-night));
  font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
  line-height: 1.7;
  isolation: isolate;
  overflow: hidden;
  position: relative;
}

.chart-view *,
.member-view * {
  box-sizing: border-box;
}

.chart-view a,
.member-view a {
  color: inherit;
  text-decoration: none;
}

.chart-view button,
.chart-view input,
.chart-view select,
.member-view button {
  color: inherit;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

.chart-view button,
.member-view button {
  cursor: pointer;
  touch-action: manipulation;
}

.chart-view button:focus-visible,
.chart-view a:focus-visible,
.chart-view input:focus-visible,
.chart-view select:focus-visible,
.member-view button:focus-visible,
.member-view a:focus-visible {
  outline: 2px solid var(--chart-cyan);
  outline-offset: 3px;
}

.chart-view [hidden],
.member-view [hidden] {
  display: none !important;
}

.chart-view h1,
.chart-view h2,
.chart-view h3,
.chart-view h4,
.member-view h1,
.member-view h2,
.member-view h3,
.member-view h4,
.chart-view p,
.member-view p {
  margin: 0;
}

.chart-view h1,
.chart-view h2,
.chart-view h3,
.chart-view h4,
.member-view h1,
.member-view h2,
.member-view h3,
.member-view h4 {
  font-family: Georgia, "Noto Serif TC", "Songti TC", serif;
  font-weight: 500;
  letter-spacing: .045em;
}

.chart-view::before,
.member-view::before {
  background-image: linear-gradient(rgba(101, 216, 212, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(101, 216, 212, .045) 1px, transparent 1px);
  background-size: 46px 46px;
  content: "";
  inset: 0;
  opacity: .36;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.chart-sample-banner,
.member-sample-banner {
  align-items: center;
  background: rgba(12, 19, 39, .86);
  border: 1px solid rgba(197, 167, 119, .42);
  border-radius: 4px;
  color: #eadfcf;
  display: flex;
  gap: 12px;
  margin: 18px 18px 0;
  min-height: 58px;
  padding: 10px 13px;
}

.chart-sample-banner strong,
.member-sample-banner strong {
  color: var(--chart-gold);
  display: block;
  font-size: 12px;
  letter-spacing: .08em;
}

.chart-sample-banner span:not(.chart-sample-mark):not(.chart-sample-code),
.member-sample-banner span:not(.member-sample-mark):not(.member-sample-code) {
  color: #a8b4c6;
  display: block;
  font-size: 10px;
  line-height: 1.55;
}

.chart-sample-mark,
.member-sample-mark {
  align-items: center;
  border: 1px solid rgba(101, 216, 212, .7);
  border-radius: 50%;
  color: var(--chart-cyan);
  display: flex;
  flex: 0 0 29px;
  font-size: 13px;
  height: 29px;
  justify-content: center;
  line-height: 1;
  width: 29px;
}

.chart-sample-code,
.member-sample-code {
  color: #7893a3;
  font-family: Arial, sans-serif;
  font-size: 8px;
  letter-spacing: .16em;
  margin-left: auto;
  white-space: nowrap;
}

.chart-hero,
.member-hero {
  align-items: center;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) 140px;
  min-height: 310px;
  padding: 54px 26px 38px;
}

.chart-hero-copy,
.member-hero > div {
  position: relative;
  z-index: 1;
}

.chart-eyebrow,
.member-eyebrow {
  color: var(--chart-cyan);
  display: inline-block;
  font-family: Arial, sans-serif;
  font-size: 9px;
  letter-spacing: .2em;
  line-height: 1.5;
  text-transform: uppercase;
}

.chart-hero h1,
.member-hero h1 {
  color: var(--chart-ivory);
  font-size: clamp(29px, 7vw, 48px);
  line-height: 1.4;
  margin-top: 14px;
}

.chart-hero h1 em,
.member-hero h1 em {
  color: var(--chart-gold);
  font-style: normal;
}

.chart-hero-copy > p,
.member-hero > div > p {
  color: #aab5c6;
  font-size: 13px;
  line-height: 2;
  margin-top: 17px;
  max-width: 560px;
}

.chart-hero-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 19px;
  margin-top: 25px;
}

.chart-link-primary,
.member-primary-link {
  align-items: center;
  background: linear-gradient(110deg, #bda272, #e0c99b);
  border-radius: 2px;
  box-shadow: 0 10px 28px rgba(197, 167, 119, .14);
  color: #111729 !important;
  display: inline-flex;
  font-size: 11px;
  gap: 22px;
  justify-content: space-between;
  letter-spacing: .11em;
  min-height: 45px;
  padding: 9px 15px;
}

.chart-link-primary span,
.member-primary-link span {
  font-size: 17px;
  line-height: 1;
}

.chart-link-muted,
.member-secondary-link {
  border-bottom: 1px solid rgba(101, 216, 212, .4);
  color: #a9ced0 !important;
  font-size: 11px;
  letter-spacing: .08em;
  padding-bottom: 4px;
}

.chart-orbit {
  height: 154px;
  justify-self: center;
  position: relative;
  transform: rotate(-18deg);
  width: 140px;
}

.chart-orbit-ring {
  border: 1px solid rgba(101, 216, 212, .45);
  border-radius: 50%;
  inset: 13px 0;
  position: absolute;
  transform: rotate(22deg);
}

.chart-orbit-ring-one {
  box-shadow: 0 0 30px rgba(101, 216, 212, .12), inset 0 0 24px rgba(101, 216, 212, .08);
}

.chart-orbit-ring-two {
  border-color: rgba(197, 167, 119, .42);
  inset: 28px -13px;
  transform: rotate(-48deg);
}

.chart-orbit-star {
  align-items: center;
  color: var(--chart-gold);
  display: flex;
  font-family: Georgia, "Noto Serif TC", serif;
  font-size: 39px;
  inset: 0;
  justify-content: center;
  position: absolute;
  text-shadow: 0 0 25px rgba(197, 167, 119, .55);
  transform: rotate(18deg);
}

.chart-orbit-dot {
  background: var(--chart-cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--chart-cyan);
  height: 5px;
  position: absolute;
  width: 5px;
}

.chart-orbit-dot-one {
  left: 8px;
  top: 40px;
}

.chart-orbit-dot-two {
  background: var(--chart-gold);
  bottom: 35px;
  box-shadow: 0 0 12px var(--chart-gold);
  right: 5px;
}

.chart-input-panel,
.member-profile-panel {
  background: rgba(16, 23, 43, .84);
  border: 1px solid rgba(101, 216, 212, .19);
  border-radius: 6px;
  margin: 0 18px 35px;
  padding: 23px 18px 18px;
}

.chart-panel-heading,
.member-panel-heading,
.chart-board-heading,
.chart-elements-title {
  align-items: flex-start;
  display: flex;
  gap: 15px;
  justify-content: space-between;
}

.chart-panel-heading h2,
.member-panel-heading h2,
.chart-board-heading h2 {
  color: var(--chart-ivory);
  font-size: 23px;
  line-height: 1.45;
  margin-top: 8px;
}

.chart-state-pill,
.chart-board-meta,
.member-state-dot,
.member-muted-chip {
  border: 1px solid rgba(101, 216, 212, .28);
  border-radius: 20px;
  color: #9fd2d0;
  flex: 0 0 auto;
  font-family: Arial, sans-serif;
  font-size: 8px;
  letter-spacing: .08em;
  padding: 5px 9px;
  white-space: nowrap;
}

.chart-state-pill.is-updated {
  border-color: rgba(197, 167, 119, .7);
  color: var(--chart-gold);
}

.chart-panel-intro,
.member-panel-intro {
  color: #9da9bd;
  font-size: 11px;
  line-height: 1.9;
  margin-top: 14px;
}

.chart-form-grid {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.chart-field {
  display: block;
}

.chart-field > span,
.chart-field > label > span {
  color: #d9d9d2;
  display: block;
  font-size: 11px;
  letter-spacing: .04em;
  margin-bottom: 7px;
}

.chart-field > span b {
  color: var(--chart-gold);
  font-weight: 400;
}

.chart-field > span i {
  color: #7e91a7;
  font-size: 9px;
  font-style: normal;
  margin-left: 4px;
}

.chart-field input,
.chart-field select {
  background: rgba(7, 10, 21, .72);
  border: 1px solid rgba(142, 166, 186, .28);
  border-radius: 2px;
  min-height: 43px;
  padding: 8px 11px;
  width: 100%;
}

.chart-field input::placeholder {
  color: #607086;
}

.chart-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--chart-cyan) 50%), linear-gradient(135deg, var(--chart-cyan) 50%, transparent 50%);
  background-position: calc(100% - 15px) 18px, calc(100% - 10px) 18px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  color: #dbe5df;
}

.chart-field small,
.chart-time-input small,
.chart-leap-option {
  color: #7f91a6;
  display: block;
  font-size: 9px;
  line-height: 1.65;
  margin-top: 6px;
}

.chart-segmented {
  background: rgba(7, 10, 21, .66);
  border: 1px solid rgba(142, 166, 186, .27);
  border-radius: 3px;
  display: flex;
  gap: 3px;
  padding: 3px;
}

.chart-segment {
  background: transparent;
  border: 0;
  border-radius: 2px;
  color: #8493a5;
  flex: 1;
  font-size: 10px;
  letter-spacing: .03em;
  min-height: 35px;
  padding: 6px 5px;
}

.chart-segment.is-selected {
  background: rgba(101, 216, 212, .16);
  box-shadow: inset 0 0 0 1px rgba(101, 216, 212, .38);
  color: #d8f7ef;
}

.chart-date-row {
  align-items: flex-start;
  display: grid;
  gap: 7px;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, .75fr) auto minmax(0, .75fr);
}

.chart-date-row label {
  min-width: 0;
}

.chart-date-row label input {
  text-align: center;
}

.chart-date-row label small {
  text-align: center;
}

.chart-date-row > span {
  color: var(--chart-gold);
  font-size: 18px;
  padding-top: 8px;
}

.chart-check {
  align-items: center;
  display: flex;
  gap: 6px;
}

.chart-check input {
  accent-color: var(--chart-cyan);
  min-height: auto;
  width: 15px;
}

.chart-time-input {
  display: block;
  margin-top: 10px;
}

.chart-time-input input {
  letter-spacing: .18em;
  max-width: 150px;
}

.chart-time-unknown-copy {
  color: var(--chart-gold) !important;
}

.chart-form-foot {
  align-items: center;
  border-top: 1px solid rgba(101, 216, 212, .14);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-top: 23px;
  padding-top: 17px;
}

.chart-input-disclaimer {
  color: #9db1b8;
  flex: 1;
  font-size: 10px;
  line-height: 1.7;
}

.chart-preview-button {
  align-items: center;
  background: linear-gradient(110deg, #a7dddd, #65d8d4);
  border: 0;
  border-radius: 2px;
  color: #09131e;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 10px;
  gap: 13px;
  justify-content: space-between;
  letter-spacing: .06em;
  min-height: 44px;
  padding: 9px 13px;
}

.chart-preview-button span:last-child {
  font-size: 17px;
}

.chart-board {
  margin: 0 18px;
}

.chart-board-heading {
  align-items: end;
  border-bottom: 1px solid rgba(197, 167, 119, .25);
  padding: 0 0 18px;
}

.chart-board-heading h2 {
  margin-top: 8px;
}

.chart-board-meta {
  border-color: rgba(197, 167, 119, .38);
  color: var(--chart-gold);
}

.chart-board-warning {
  align-items: flex-start;
  background: rgba(197, 167, 119, .08);
  border-left: 2px solid var(--chart-gold);
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 13px;
}

.chart-warning-icon {
  align-items: center;
  border: 1px solid var(--chart-gold);
  border-radius: 50%;
  color: var(--chart-gold);
  display: flex;
  flex: 0 0 18px;
  font-family: Georgia, serif;
  font-size: 11px;
  height: 18px;
  justify-content: center;
  line-height: 1;
  margin-top: 2px;
  width: 18px;
}

.chart-board-warning p {
  color: #c1c3bc;
  font-size: 10px;
  line-height: 1.8;
}

.chart-board-warning strong {
  color: #efe4cb;
  font-weight: 500;
}

.chart-pillars,
.chart-essence {
  padding-top: 34px;
}

.chart-section-heading {
  margin-bottom: 17px;
}

.chart-section-heading h3 {
  color: var(--chart-ivory);
  font-size: 22px;
  margin-top: 7px;
}

.chart-pillar-grid {
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.chart-pillar {
  background: linear-gradient(160deg, rgba(28, 39, 68, .9), rgba(13, 19, 38, .94));
  border: 1px solid rgba(101, 216, 212, .22);
  border-radius: 3px;
  min-width: 0;
  padding: 13px 11px 11px;
  position: relative;
}

.chart-pillar-daymaster {
  border-color: rgba(197, 167, 119, .78);
  box-shadow: inset 0 0 0 1px rgba(197, 167, 119, .08), 0 8px 28px rgba(197, 167, 119, .07);
}

.chart-daymaster-tag {
  background: var(--chart-gold);
  color: #181426;
  font-family: Arial, sans-serif;
  font-size: 7px;
  letter-spacing: .13em;
  padding: 4px 6px;
  position: absolute;
  right: 0;
  top: 0;
}

.chart-pillar-top {
  align-items: center;
  color: #e5e0d6;
  display: flex;
  font-family: Georgia, "Noto Serif TC", serif;
  font-size: 13px;
  justify-content: space-between;
}

.chart-pillar-top small {
  color: #788da0;
  font-family: Arial, sans-serif;
  font-size: 7px;
  letter-spacing: .08em;
}

.chart-pillar-glyph {
  align-items: baseline;
  display: flex;
  gap: 7px;
  justify-content: center;
  margin: 14px 0 11px;
}

.chart-pillar-glyph b,
.chart-pillar-glyph span {
  color: #e8d3a5;
  font-family: Georgia, "Noto Serif TC", serif;
  font-size: 35px;
  font-weight: 500;
  line-height: 1;
  text-shadow: 0 0 17px rgba(197, 167, 119, .18);
}

.chart-pillar-glyph span {
  color: var(--chart-cyan);
  font-size: 27px;
}

.chart-pillar-lines,
.chart-detail-lines {
  border-top: 1px solid rgba(101, 216, 212, .14);
  display: grid;
  gap: 6px;
  padding-top: 10px;
}

.chart-pillar-lines span,
.chart-detail-lines span {
  color: #8295a6;
  font-size: 9px;
  line-height: 1.5;
}

.chart-pillar-lines b,
.chart-detail-lines b {
  color: #d4e2dc;
  font-weight: 500;
  margin-left: 3px;
}

.chart-pillar-details {
  border-top: 1px solid rgba(101, 216, 212, .14);
  margin-top: 10px;
  padding-top: 7px;
}

.chart-pillar-details summary {
  color: #9ad9d5;
  cursor: pointer;
  font-size: 9px;
  list-style-position: inside;
}

.chart-pillar-details[open] summary {
  color: var(--chart-gold);
  margin-bottom: 8px;
}

.chart-pillar-note {
  color: #8e9bac;
  font-size: 10px;
  line-height: 1.75;
  margin-top: 12px;
}

.chart-hour-unknown {
  color: var(--chart-gold);
  font-family: Georgia, "Noto Serif TC", serif;
  font-size: 15px;
  line-height: 1.7;
  margin: 14px 0 11px;
  text-align: center;
}

.chart-essence-grid {
  display: grid;
  gap: 11px;
}

.chart-daymaster-card,
.chart-elements-card {
  border: 1px solid rgba(197, 167, 119, .42);
  border-radius: 3px;
  padding: 18px 16px;
}

.chart-daymaster-card {
  background: radial-gradient(circle at 70% 10%, rgba(197, 167, 119, .16), transparent 14rem), rgba(35, 28, 45, .68);
}

.chart-elements-card {
  background: rgba(13, 19, 38, .72);
  border-color: rgba(101, 216, 212, .22);
}

.chart-card-kicker,
.chart-elements-title span,
.member-card-kicker {
  color: var(--chart-gold);
  font-family: Arial, sans-serif;
  font-size: 8px;
  letter-spacing: .17em;
}

.chart-daymaster-symbol {
  color: #e5c98d;
  font-family: Georgia, "Noto Serif TC", serif;
  font-size: 52px;
  line-height: 1;
  margin-top: 12px;
}

.chart-daymaster-symbol span {
  color: var(--chart-cyan);
  font-size: 18px;
  margin-left: 5px;
}

.chart-daymaster-card h4,
.chart-elements-card h4 {
  color: #ece8df;
  font-size: 17px;
  margin-top: 8px;
}

.chart-daymaster-card p,
.chart-elements-card > p {
  color: #aeb3b2;
  font-size: 11px;
  line-height: 1.9;
  margin-top: 8px;
}

.chart-elements-title {
  align-items: center;
}

.chart-elements-title h4 {
  margin-top: 0;
}

.chart-elements-title span {
  color: #8fd4d0;
  letter-spacing: .08em;
}

.chart-element-grid {
  display: grid;
  gap: 5px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 16px;
}

.chart-element {
  align-items: center;
  background: rgba(7, 10, 21, .6);
  border-bottom: 2px solid currentColor;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 56px;
  padding: 8px 2px 5px;
}

.chart-element b {
  color: #e1e7dd;
  font-family: Georgia, "Noto Serif TC", serif;
  font-size: 15px;
  font-weight: 500;
}

.chart-element strong {
  color: #9da8b5;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 400;
}

.chart-element-wood { color: #87c99e; }
.chart-element-fire { color: #dd8b7b; }
.chart-element-earth { color: #d4b269; }
.chart-element-metal { color: #aeb9d4; }
.chart-element-water { color: #72ced3; }

.chart-tabs {
  border-bottom: 1px solid rgba(101, 216, 212, .24);
  display: flex;
  gap: 4px;
  margin-top: 38px;
  overflow-x: auto;
}

.chart-tab {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #7e91a5;
  flex: 1;
  font-size: 10px;
  letter-spacing: .05em;
  min-height: 44px;
  min-width: 104px;
  padding: 8px 7px;
  white-space: nowrap;
}

.chart-tab.is-active {
  border-bottom-color: var(--chart-gold);
  color: var(--chart-ivory);
}

.chart-tab-panel {
  animation: chartPanelIn .32s ease both;
  padding: 20px 0 8px;
}

.chart-ivory-block,
.member-ivory-block {
  background: linear-gradient(140deg, #f4eee3, #e9e3d6);
  border-left: 3px solid var(--chart-gold);
  color: #252b3b;
  padding: 22px 18px;
}

.chart-ivory-block .chart-eyebrow,
.member-ivory-block .member-eyebrow {
  color: #8f7548;
}

.chart-ivory-block h3,
.member-ivory-block h2 {
  color: #282b3c;
  font-size: 22px;
  line-height: 1.5;
  margin-top: 8px;
}

.chart-ivory-block p,
.member-ivory-block p {
  color: #5d625f;
  font-size: 12px;
  line-height: 2;
  margin-top: 13px;
}

.chart-inline-link {
  border-bottom: 1px solid #ad8f58;
  color: #705c38 !important;
  display: inline-flex;
  font-size: 11px;
  gap: 15px;
  letter-spacing: .08em;
  margin-top: 17px;
  padding-bottom: 4px;
}

.chart-overview-list {
  display: grid;
  gap: 0;
  margin-top: 21px;
}

.chart-overview-list > div {
  border-bottom: 1px solid rgba(197, 167, 119, .22);
  display: grid;
  gap: 7px;
  grid-template-columns: 1fr auto;
  padding: 14px 0;
}

.chart-overview-list span {
  color: #8ba2ab;
  font-size: 10px;
}

.chart-overview-list strong {
  color: var(--chart-gold);
  font-family: Georgia, "Noto Serif TC", serif;
  font-size: 17px;
  font-weight: 500;
}

.chart-overview-list p {
  color: #99a4b4;
  font-size: 10px;
  grid-column: 1 / -1;
  line-height: 1.75;
}

.chart-detail-columns {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.chart-detail-columns article {
  background: rgba(16, 23, 43, .74);
  border: 1px solid rgba(101, 216, 212, .17);
  padding: 18px 15px;
}

.chart-detail-index {
  color: var(--chart-gold);
  font-family: Arial, sans-serif;
  font-size: 10px;
  letter-spacing: .15em;
}

.chart-detail-columns h4 {
  color: #eee8dc;
  font-size: 16px;
  margin-top: 8px;
}

.chart-detail-columns p {
  color: #a2adbc;
  font-size: 11px;
  line-height: 1.9;
  margin-top: 7px;
}

.chart-phase-two-block {
  border-left-color: var(--chart-cyan);
}

.chart-checklist {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.chart-checklist li {
  border-top: 1px solid #d4c8b8;
  display: grid;
  gap: 3px;
  padding: 12px 0;
}

.chart-checklist b {
  color: #705b36;
  font-family: Arial, sans-serif;
  font-size: 10px;
  letter-spacing: .03em;
}

.chart-checklist span {
  color: #60645f;
  font-size: 10px;
  line-height: 1.75;
}

.chart-pending-note {
  background: #ded5c5;
  border: 1px solid #c8bba5;
  display: grid;
  gap: 3px;
  margin-top: 15px;
  padding: 11px 12px;
}

.chart-pending-note strong {
  color: #7f6031;
  font-family: Arial, sans-serif;
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.chart-pending-note span {
  color: #66675e;
  font-size: 10px;
  line-height: 1.65;
}

.chart-convention-footnote {
  color: #95a2b0;
  font-size: 10px;
  line-height: 1.8;
  margin-top: 14px;
}

.chart-footer,
.member-footer {
  border-top: 1px solid rgba(197, 167, 119, .24);
  display: flex;
  gap: 22px;
  justify-content: space-between;
  margin: 42px 18px 0;
  padding: 23px 0 35px;
}

.chart-footer p,
.member-footer p {
  color: #8f9eaf;
  font-size: 10px;
  line-height: 1.75;
  margin-top: 6px;
  max-width: 240px;
}

.chart-footer-links {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chart-footer-links a,
.member-footer a {
  color: #9ad5d2;
  font-size: 10px;
}

.chart-visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/* Member mock screen */
.member-view {
  background:
    radial-gradient(circle at 82% 12%, rgba(197, 167, 119, .14), transparent 20rem),
    radial-gradient(circle at 17% 42%, rgba(101, 216, 212, .08), transparent 22rem),
    linear-gradient(145deg, var(--chart-cosmic), var(--chart-night));
}

.member-hero {
  min-height: 285px;
  padding-bottom: 25px;
  padding-top: 50px;
}

.member-hero-seal {
  align-items: center;
  border: 1px solid rgba(197, 167, 119, .54);
  border-radius: 50%;
  color: var(--chart-gold);
  display: flex;
  font-family: Arial, sans-serif;
  font-size: 17px;
  height: 112px;
  justify-content: center;
  letter-spacing: .12em;
  position: relative;
  transform: rotate(12deg);
  width: 112px;
}

.member-hero-seal::after {
  border: 1px solid rgba(101, 216, 212, .45);
  border-radius: 50%;
  content: "";
  inset: 11px -8px;
  position: absolute;
  transform: rotate(-34deg);
}

.member-profile-panel {
  margin-bottom: 18px;
}

.member-state-dot {
  border: 0;
  color: #91aaa8;
  padding-right: 0;
}

.member-state-dot i {
  background: var(--chart-cyan);
  border-radius: 50%;
  box-shadow: 0 0 9px var(--chart-cyan);
  display: inline-block;
  height: 5px;
  margin-right: 4px;
  width: 5px;
}

.member-profile-switcher {
  background: rgba(7, 10, 21, .62);
  border: 1px solid rgba(101, 216, 212, .2);
  display: flex;
  gap: 3px;
  margin-top: 19px;
  padding: 3px;
}

.member-profile-button {
  background: transparent;
  border: 0;
  color: #8395a7;
  flex: 1;
  min-height: 50px;
  padding: 6px 8px;
  text-align: left;
}

.member-profile-button span,
.member-profile-button small {
  display: block;
}

.member-profile-button span {
  color: inherit;
  font-family: Georgia, "Noto Serif TC", serif;
  font-size: 14px;
}

.member-profile-button small {
  color: #708095;
  font-size: 9px;
  margin-top: 2px;
}

.member-profile-button.is-active {
  background: rgba(101, 216, 212, .14);
  color: #dbf4e9;
}

.member-profile-button.is-active small {
  color: var(--chart-cyan);
}

.member-active-card {
  align-items: center;
  background: linear-gradient(110deg, rgba(197, 167, 119, .13), rgba(101, 216, 212, .06));
  border: 1px solid rgba(197, 167, 119, .33);
  display: flex;
  gap: 12px;
  margin-top: 15px;
  padding: 15px 12px;
}

.member-avatar {
  align-items: center;
  background: #0b1928;
  border: 1px solid var(--chart-gold);
  border-radius: 50%;
  color: var(--chart-gold);
  display: flex;
  flex: 0 0 44px;
  font-family: Georgia, serif;
  font-size: 20px;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.member-active-card h3 {
  color: #f1e9db;
  font-size: 17px;
  margin-top: 4px;
}

.member-active-card p {
  color: #9ca9b7;
  font-size: 10px;
  line-height: 1.7;
  margin-top: 4px;
}

.member-active-card p a {
  color: var(--chart-cyan);
}

.member-active-label {
  align-self: flex-start;
  color: var(--chart-gold);
  font-family: Arial, sans-serif;
  font-size: 7px;
  letter-spacing: .13em;
  margin-left: auto;
  white-space: nowrap;
}

.member-grid {
  display: grid;
  gap: 11px;
  margin: 0 18px;
}

.member-feature-card {
  background: rgba(16, 23, 43, .84);
  border: 1px solid rgba(101, 216, 212, .2);
  min-height: 195px;
  padding: 19px 16px;
}

.member-feature-card h3 {
  color: #e9e6dc;
  font-size: 19px;
  margin-top: 10px;
}

.member-feature-card p {
  color: #9eabba;
  font-size: 11px;
  line-height: 1.9;
  margin-top: 7px;
}

.member-credit-number {
  color: var(--chart-gold);
  font-family: Georgia, serif;
  font-size: 40px;
  line-height: 1;
  margin-top: 16px;
}

.member-credit-card h3 {
  margin-top: 7px;
}

.member-muted-chip {
  display: inline-block;
  margin-top: 13px;
}

.member-save-card {
  border-color: rgba(197, 167, 119, .32);
}

.member-disabled-button {
  background: #263044 !important;
  border: 1px solid #4b566c;
  border-radius: 2px;
  color: #8d98a7 !important;
  cursor: not-allowed !important;
  font-size: 10px;
  margin-top: 13px;
  min-height: 40px;
  opacity: 1 !important;
  padding: 7px 12px;
}

.member-disabled-reason {
  color: #bd9b60;
  display: block;
  font-size: 9px;
  line-height: 1.6;
  margin-top: 7px;
}

.member-ivory-block {
  margin: 35px 18px 0;
}

.member-ivory-block h2 {
  font-size: 21px;
}

.member-phase-list {
  border-top: 1px solid #d2c7b7;
  margin-top: 18px;
}

.member-phase-list div {
  align-items: flex-start;
  border-bottom: 1px solid #d2c7b7;
  display: grid;
  gap: 3px 10px;
  grid-template-columns: 26px 1fr;
  padding: 12px 0;
}

.member-phase-list b {
  color: #927646;
  font-family: Arial, sans-serif;
  font-size: 10px;
  grid-row: span 2;
  letter-spacing: .1em;
}

.member-phase-list span {
  color: #414752;
  font-size: 11px;
  font-weight: 600;
}

.member-phase-list small {
  color: #767970;
  font-size: 10px;
  line-height: 1.6;
}

.member-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 26px 18px 0;
}

.member-primary-link {
  gap: 17px;
}

.member-footer {
  align-items: flex-start;
  margin-top: 38px;
}

@keyframes chartPanelIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 620px) {
  .chart-view,
  .member-view {
    padding-left: 18px;
    padding-right: 18px;
  }

  .chart-sample-banner,
  .member-sample-banner,
  .chart-input-panel,
  .member-profile-panel,
  .chart-board,
  .member-grid,
  .member-ivory-block,
  .chart-footer,
  .member-footer {
    margin-left: 0;
    margin-right: 0;
  }

  .chart-hero,
  .member-hero {
    padding-left: 25px;
    padding-right: 25px;
  }

  .chart-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chart-field-wide {
    grid-column: span 2;
  }

  .chart-essence-grid,
  .member-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chart-detail-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .member-profile-panel {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (min-width: 1000px) {
  .chart-view,
  .member-view {
    padding: 0 34px 20px;
  }

  .chart-sample-banner,
  .member-sample-banner {
    margin-top: 24px;
  }

  .chart-hero,
  .member-hero {
    grid-template-columns: minmax(0, 1fr) 240px;
    min-height: 370px;
    padding: 66px 48px 54px;
  }

  .chart-orbit {
    height: 210px;
    transform: rotate(-18deg) scale(1.18);
    width: 190px;
  }

  .chart-input-panel,
  .member-profile-panel {
    padding: 29px 30px 23px;
  }

  .chart-form-grid {
    gap: 19px 22px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .chart-field-wide {
    grid-column: span 2;
  }

  .chart-board {
    display: grid;
    column-gap: 27px;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  }

  .chart-board-heading,
  .chart-board-warning,
  .chart-pillars,
  .chart-essence,
  .chart-tabs,
  .chart-tab-panel {
    grid-column: 1 / -1;
  }

  .chart-essence {
    padding-top: 40px;
  }

  .chart-essence-grid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  }

  .chart-pillar-grid {
    gap: 13px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .chart-pillar {
    padding: 16px 14px 13px;
  }

  .chart-pillar-glyph b {
    font-size: 43px;
  }

  .chart-pillar-glyph span {
    font-size: 32px;
  }

  .chart-tab-panel {
    min-height: 260px;
  }

  .chart-overview-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }

  .chart-footer,
  .member-footer {
    margin-left: 0;
    margin-right: 0;
  }

  .member-profile-panel {
    margin-left: 0;
    margin-right: 0;
  }

  .member-grid {
    margin-left: 0;
    margin-right: 0;
  }

  .member-ivory-block {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 420px) {
  .chart-sample-banner,
  .member-sample-banner {
    align-items: flex-start;
    margin-left: 12px;
    margin-right: 12px;
  }

  .chart-sample-code,
  .member-sample-code {
    display: none;
  }

  .chart-hero,
  .member-hero {
    grid-template-columns: minmax(0, 1fr) 88px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .chart-orbit {
    height: 108px;
    transform: rotate(-18deg) scale(.78);
    width: 100px;
  }

  .member-hero-seal {
    font-size: 13px;
    height: 78px;
    width: 78px;
  }

  .chart-input-panel,
  .member-profile-panel,
  .chart-board,
  .member-grid,
  .member-ivory-block,
  .chart-footer,
  .member-footer {
    margin-left: 12px;
    margin-right: 12px;
  }

  .chart-panel-heading h2,
  .member-panel-heading h2,
  .chart-board-heading h2 {
    font-size: 20px;
  }

  .chart-panel-heading,
  .member-panel-heading,
  .chart-board-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .chart-state-pill,
  .chart-board-meta,
  .member-state-dot {
    margin-top: -5px;
  }

  .chart-form-foot {
    align-items: stretch;
    flex-direction: column;
  }

  .chart-preview-button {
    justify-content: space-between;
    width: 100%;
  }

  .chart-pillar-glyph b {
    font-size: 31px;
  }

  .chart-pillar-glyph span {
    font-size: 25px;
  }

  .chart-pillar-top small {
    font-size: 6px;
  }

  .chart-pillar-lines span,
  .chart-detail-lines span {
    font-size: 8px;
  }

  .chart-daymaster-tag {
    font-size: 6px;
    letter-spacing: .04em;
  }

  .member-active-card {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .member-active-label {
    margin-left: 56px;
    margin-top: -5px;
  }

  .member-active-card p {
    max-width: 210px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chart-view *,
  .member-view * {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
