@import url('./tokens.css');
* {
  box-sizing:border-box
}

body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Inter,"Segoe UI",-apple-system,BlinkMacSystemFont,sans-serif;
  font-size:14px;
  line-height:1.5
}

button,input,select,textarea {
  font:inherit
}

button,a,input,select,textarea {
  -webkit-tap-highlight-color:transparent
}

button {
  cursor:pointer
}

button:disabled {
  opacity:.4;
  cursor:not-allowed
}

button {
  color:inherit
}

button,a {
  touch-action:manipulation
}

a {
  color:inherit;
  text-decoration:none
}

button:focus-visible,a:focus-visible,summary:focus-visible {
  outline:2px solid var(--lime);
  outline-offset:4px
}

button {
  transition:background .18s,transform .18s,border-color .18s,box-shadow .18s
}

button:active:not(:disabled) {
  transform:translateY(1px)
}

.icon {
  width:19px;
  height:19px;
  flex-shrink:0;
  vertical-align:middle
}

.sidebar {
  position:fixed;
  inset:0 auto 0 0;
  width:232px;
  display:flex;
  flex-direction:column;
  border-right:1px solid var(--border);
  padding:38px 22px 20px;
  background:#111214;
  z-index:10
}

.brand {
  display:flex;
  gap:12px;
  align-items:center;
  font-weight:700;
  font-size:23px;
  letter-spacing:-1px;
  margin:0 0 60px 7px
}

.brand-light {
  font-weight:350
}

.brand small {
  display:block;
  font-size:8px;
  font-weight:550;
  letter-spacing:2.05px;
  color:#777c79;
  margin-top:3px
}

.brand-mark {
  position:relative;
  font-size:33px;
  font-weight:900;
  font-style:italic;
  line-height:1;
  letter-spacing:-15px;
  color:var(--lime);
  width:35px;
  overflow:hidden
}

.brand-mark span {
  color:#899b6e
}

.nav-label {
  font-size:10px;
  font-weight:600;
  letter-spacing:1.9px;
  color:#686d6b;
  margin:0 14px 15px
}

.nav-item {
  width:100%;
  min-height:48px;
  border:1px solid transparent;
  background:none;
  border-radius:8px;
  display:flex;
  align-items:center;
  gap:13px;
  text-align:left;
  padding:12px 14px;
  color:#949994;
  font-size:13px;
  margin-bottom:6px
}

.nav-item:hover {
  background:#1b1e1c;
  color:var(--text)
}

.nav-item.active {
  color:var(--lime);
  background:#c8f2820b;
  border-color:#c8f28217
}

.nav-item i {
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--lime);
  margin-left:auto
}

.sidebar-bottom {
  margin-top:auto
}

.quiet-note {
  display:grid;
  grid-template-columns:23px 1fr;
  column-gap:10px;
  align-items:center;
  margin:30px 12px;
  color:#a5aaa3
}

.quiet-note>.icon {
  color:#8ca277
}

.quiet-note p {
  margin:0 0 12px;
  font-size:14px;
  line-height:1.65
}

.quiet-note strong {
  font-weight:500;
  color:#d7dfd0
}

.quiet-note>span {
  grid-column:1 / -1;
  color:#707770;
  font-size:11px;
  line-height:1.9
}

.local-status {
  display:flex;
  align-items:center;
  gap:8px;
  border-top:1px solid var(--border);
  margin:18px 8px 0;
  padding-top:20px;
  font-size:10px;
  color:#7f857e
}

.local-status>span,.online-dot {
  width:5px;
  height:5px;
  border-radius:50%;
  background:#9ac179;
  display:inline-block
}

.local-status .icon {
  width:13px;
  height:13px;
  margin-left:auto
}

.main {
  margin-left:232px
}

.topbar {
  height:82px;
  padding:0 42px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--border)
}

.breadcrumb {
  font-size:9px;
  letter-spacing:1.6px;
  color:#838881
}

.breadcrumb span {
  margin:0 17px;
  color:#51554f
}

.breadcrumb strong {
  font-size:11px;
  font-weight:400;
  letter-spacing:.3px;
  color:#c4c7c0
}

.profile {
  display:flex;
  align-items:center;
  gap:8px;
  color:#9b9e95;
  font-size:9px;
  letter-spacing:1.3px
}

.avatar {
  width:31px;
  height:31px;
  border-radius:50%;
  border:1px solid #d2ebba27;
  background:#a4c0840e;
  display:grid;
  place-items:center;
  color:#b9c9aa;
  margin-left:16px;
  font-size:12px
}

.page-content {
  max-width:1460px;
  margin:auto;
  padding:36px 42px 0
}

.page-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:31px
}

.eyebrow {
  font-size:9px;
  letter-spacing:2px;
  font-weight:600;
  color:#9aa191;
  display:flex;
  align-items:center;
  gap:8px
}

h1 {
  font-size:clamp(25px,2.6vw,37px);
  line-height:1.25;
  font-weight:550;
  letter-spacing:-1.4px;
  margin:12px 0 10px
}

h1 span {
  color:#858a80;
  font-weight:400
}

.page-heading p {
  font-size:12px;
  margin:0;
  color:#94998e
}

.heading-actions {
  display:flex;
  gap:10px;
  flex-shrink:0
}

.primary,.secondary {
  border:1px solid transparent;
  border-radius:7px;
  min-height:42px;
  padding:10px 17px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  font-weight:600;
  font-size:12px;
  white-space:nowrap
}

.primary {
  background:var(--lime);
  color:#19200f;
  box-shadow:0 2px 12px #c8f28208
}

.primary:hover {
  background:#d9ffa0;
  box-shadow:0 0 22px #c8f28218
}

.secondary {
  background:#ffffff04;
  color:#d1d5cb;
  border-color:#ffffff18
}

.secondary:hover {
  background:#ffffff0b;
  border-color:#ffffff35
}

.panel {
  border:1px solid var(--border);
  border-radius:12px;
  background:linear-gradient(120deg,#ffffff03,#ffffff00),var(--panel);
  overflow:hidden
}

.hero-grid {
  display:grid;
  grid-template-columns:minmax(0,1.85fr) minmax(275px,1fr);
  gap:20px
}

.rank-card {
  min-height:252px;
  display:flex;
  align-items:center;
  background:radial-gradient(ellipse at 15% 45%,#bf89531a,transparent 55%),linear-gradient(115deg,#1c1d1b,#191b1b);
  position:relative
}

.rank-art {
  width:36%;
  max-width:240px;
  min-width:168px;
  align-self:stretch;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column
}

.rank-emblem {
  width:200px;
  max-width:100%;
  height:190px;
  filter:drop-shadow(0 7px 12px #0009);
  z-index:1
}

.rank-art-caption {
  font-size:7px;
  letter-spacing:2.4px;
  color:#ac9b82;
  margin-top:-1px;
  z-index:1
}

.orbit {
  width:170px;
  height:170px;
  border:1px solid #c59c5b12;
  position:absolute;
  border-radius:50%;
  top:29px
}

.orbit-two {
  width:202px;
  height:202px;
  top:13px;
  border-style:dashed;
  opacity:.6
}

.rank-details {
  flex:1;
  padding:25px 28px 25px 5px;
  min-width:0
}

.tiny-diamond {
  height:5px;
  width:5px;
  transform:rotate(45deg);
  background:#c9a882
}

.rank-details .eyebrow {
  color:#b8a58a;
  font-size:8px
}

.rank-details h2 {
  font-size:35px;
  font-weight:550;
  letter-spacing:-1px;
  margin:5px 0;
  color:#ede7dc
}

.rank-details>p {
  font-size:11px;
  color:#8e9288;
  margin:0 0 24px
}

.xp-label {
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:baseline;
  font-size:10px;
  color:#999e92
}

.xp-label strong {
  color:#e0e8d4;
  font-size:15px;
  font-weight:500
}

.xp-label strong span {
  color:#8d9485;
  font-size:11px
}

.progress {
  height:6px;
  background:#ffffff09;
  border-radius:20px;
  overflow:hidden
}

.progress>div {
  height:100%;
  background:var(--lime);
  border-radius:20px;
  transition:width .8s cubic-bezier(.16,1,.3,1);
  box-shadow:0 0 12px #c8f28244
}

.rank-progress {
  margin-top:10px;
  height:7px
}

.rank-foot {
  display:flex;
  justify-content:space-between;
  gap:5px;
  margin-top:13px;
  font-size:9px;
  color:#848b7d
}

.rank-foot>span {
  display:flex;
  align-items:center;
  gap:5px
}

.rank-foot .icon {
  width:12px;
  height:12px
}

.rank-foot>span:last-child {
  color:#bdcba9
}

.bank-card {
  padding:27px 25px 20px;
  background:radial-gradient(ellipse at 100% 0,#c8f28208,transparent 70%),var(--panel);
  display:flex;
  flex-direction:column;
  justify-content:center
}

.section-kicker {
  display:flex;
  align-items:center;
  gap:9px;
  font-size:8px;
  letter-spacing:1.15px;
  color:#aab29f
}

.section-kicker>.icon {
  color:var(--lime);
  width:20px
}

.small-pill {
  font-size:6px;
  letter-spacing:1px;
  border:1px solid #c8f28225;
  padding:3px 5px;
  border-radius:3px;
  color:#bdd397;
  margin-left:auto;
  white-space:nowrap
}

.bank-number {
  font-size:58px;
  line-height:1.1;
  letter-spacing:-3px;
  font-weight:450;
  color:#e4edda;
  margin-top:18px;
  font-variant-numeric:tabular-nums
}

.bank-number span {
  font-size:16px;
  letter-spacing:0;
  font-weight:400;
  color:#939e87;
  margin-left:10px
}

.bank-card>p {
  font-size:11px;
  color:#909887;
  margin:7px 0 19px
}

.bank-divider {
  height:1px;
  background:#ffffff0a
}

.bank-bottom {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:15px
}

.bank-bottom>span {
  font-size:9px;
  color:#858e7b
}

.text-button {
  background:none;
  border:0;
  padding:3px 0;
  color:var(--lime);
  font-size:11px;
  display:inline-flex;
  gap:7px;
  align-items:center
}

.text-button:hover {
  color:#e2ffba
}

.text-button .icon {
  width:14px;
  height:14px
}

.quests-section {
  margin-top:35px
}

.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px
}

.section-heading h2 {
  font-size:17px;
  font-weight:550;
  margin:0;
  letter-spacing:-.3px;
  display:flex;
  gap:10px;
  align-items:center
}

.count-badge {
  color:#949b8c;
  background:#ffffff06;
  border:1px solid #ffffff09;
  border-radius:5px;
  font-size:10px;
  padding:2px 6px;
  font-weight:400
}

.date-select {
  display:flex;
  align-items:center;
  gap:7px
}

.date-select>.icon {
  color:#8f9785;
  width:14px
}

.date-select input {
  background:transparent;
  border:0;
  color:#a8b09c;
  font-size:10px;
  padding:6px;
  width:116px;
  color-scheme:dark
}

.quest-toolbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:17px 0 18px
}

.tabs {
  display:flex;
  gap:4px;
  padding:4px;
  background:#0d0f0d55;
  border:1px solid #ffffff08;
  border-radius:7px
}

.tabs button {
  background:none;
  border:0;
  color:#93988c;
  padding:6px 13px;
  border-radius:4px;
  font-size:10px;
  min-height:30px
}

.tabs button.selected {
  color:#dde6d3;
  background:#2a2e26;
  box-shadow:0 1px 5px #0004
}

.focus-hint {
  display:flex;
  align-items:center;
  gap:6px;
  color:#838c79;
  font-size:9px
}

.focus-hint .icon {
  width:12px;
  height:12px
}

.quest-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px
}

.quest-card {
  position:relative;
  padding:21px 20px 17px;
  border:1px solid #ffffff10;
  border-radius:10px;
  background:linear-gradient(125deg,#ffffff03,transparent),#1b1d1a;
  display:flex;
  flex-direction:column;
  min-height:223px;
  transition:border-color .2s,transform .2s,opacity .2s
}

.quest-card:hover {
  border-color:#c8f28232;
  transform:translateY(-2px)
}

.quest-card.main-quest {
  border-top:2px solid #aac87a85
}

.quest-card.boss-quest {
  border-top:2px solid #b69bdb85;
  background:linear-gradient(120deg,#a78bce09,transparent),#1b1b20
}

.quest-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px
}

.quest-type {
  display:flex;
  align-items:center;
  gap:6px;
  font-size:7px;
  letter-spacing:1.4px;
  color:#b3c79a
}

.quest-type .icon {
  width:12px;
  height:12px
}

.boss-quest .quest-type {
  color:#c0a6e0
}

.side-quest .quest-type {
  color:#abb7bc
}

.priority {
  display:flex;
  align-items:center;
  gap:4px;
  font-size:8px;
  color:#9b9c90
}

.priority i {
  width:4px;
  height:4px;
  border-radius:50%;
  background:#8ba282
}

.priority.high i {
  background:#d7ae7c
}

.priority.high {
  color:#baa58a
}

.priority.medium i {
  background:#b5b783
}

.quest-card h3 {
  font-size:16px;
  line-height:1.45;
  font-weight:500;
  letter-spacing:-.3px;
  margin:20px 0 11px;
  overflow-wrap:anywhere
}

.quest-category {
  font-size:9px;
  display:flex;
  align-items:center;
  gap:6px
}

.quest-category .icon {
  width:12px;
  height:12px
}

.cat-0 {
  --category:#bca3d8;
  color:var(--category)
}

.cat-1 {
  --category:#8db8c6;
  color:var(--category)
}

.cat-2 {
  --category:#d4b17f;
  color:var(--category)
}

.cat-3 {
  --category:#9ab88c;
  color:var(--category)
}

.cat-4 {
  --category:#c99fae;
  color:var(--category)
}

.cat-5 {
  --category:#b1b3af;
  color:var(--category)
}

.quest-notes {
  font-size:10px;
  color:#92998a;
  line-height:1.6;
  margin:10px 0 0;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden
}

.quest-bottom {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-top:auto;
  padding-top:24px
}

.quest-xp {
  display:flex;
  align-items:center;
  gap:5px;
  font-size:17px;
  font-weight:500;
  color:#d5e6bc;
  flex-wrap:wrap
}

.quest-xp .icon {
  width:15px;
  height:15px;
  color:#b4d387
}

.quest-xp small {
  font-weight:400;
  font-size:10px;
  color:#9cad88
}

.quest-xp em {
  font-size:8px;
  font-style:normal;
  width:100%;
  color:#92998a
}

.task-buttons {
  display:flex;
  gap:4px;
  align-items:center
}

.icon-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  background:transparent;
  color:#8f9686;
  width:32px;
  height:32px;
  border-radius:5px
}

.icon-button:hover {
  background:#ffffff08;
  color:#dae6c8
}

.icon-button .icon {
  width:15px;
  height:15px
}

.complete-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  border:1px solid #c8f28230;
  border-radius:5px;
  background:#c8f28208;
  color:#c5dbac;
  padding:7px 10px;
  font-size:10px;
  min-height:33px
}

.complete-button:hover {
  background:#c8f28220;
  border-color:#c8f28270
}

.complete-button .icon {
  width:13px;
  height:13px
}

.completed {
  opacity:.7;
  border-color:#c8f2821a
}

.completed h3 {
  color:#a6b09a
}

.completed-label {
  font-size:10px;
  color:#acc18e;
  display:flex;
  align-items:center;
  gap:5px
}

.completed-label .icon {
  width:14px;
  height:14px
}

.secondary-quests {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:16px
}

.quest-card.compact {
  min-height:174px;
  padding:17px 19px
}

.quest-card.compact h3 {
  margin-top:12px
}

.quest-card.compact .quest-bottom {
  padding-top:16px
}

.empty-quest-intro {
  margin:23px 0 17px
}

.empty-quest-intro h3 {
  font-size:14px;
  font-weight:500;
  margin:0 0 5px;
  color:#c5cebb
}

.empty-quest-intro p {
  font-size:11px;
  color:#89927e;
  margin:0
}

.starter-card {
  border:1px solid #ffffff0f;
  background:linear-gradient(140deg,#ffffff03,transparent),#191b19;
  border-radius:10px;
  text-align:left;
  padding:21px 19px;
  min-height:216px;
  display:flex;
  flex-direction:column
}

.starter-card:hover {
  border-color:var(--category);
  background:#20221e;
  transform:translateY(-3px)
}

.starter-top {
  display:flex;
  align-items:center;
  gap:10px
}

.starter-top>span:nth-child(2) {
  font-size:7px;
  letter-spacing:1.4px;
  color:#949b8c
}

.starter-top>.icon {
  width:14px;
  margin-left:auto;
  color:#8b9380
}

.starter-icon {
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border:1px solid color-mix(in srgb,var(--category) 20%,transparent);
  background:color-mix(in srgb,var(--category) 5%,transparent);
  border-radius:8px
}

.starter-icon .icon {
  width:17px;
  height:17px
}

.starter-card h3 {
  color:#d4d9ce;
  font-size:15px;
  line-height:1.5;
  font-weight:500;
  letter-spacing:-.3px;
  margin:15px 0 7px
}

.starter-card p {
  color:#8d9584;
  font-size:10px;
  line-height:1.7;
  margin:0 0 22px
}

.starter-bottom {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:5px;
  margin-top:auto;
  font-size:8px
}

.starter-bottom strong {
  font-size:10px;
  font-weight:450;
  color:#bfcea9;
  display:flex;
  gap:5px;
  align-items:center;
  white-space:nowrap
}

.starter-bottom .icon {
  width:12px;
  height:12px
}

.daily-card {
  display:flex;
  align-items:center;
  gap:23px;
  padding:25px;
  margin-top:25px;
  background:linear-gradient(110deg,#c8f28204,transparent),#191b18
}

.daily-icon {
  width:44px;
  height:44px;
  background:#c8f28209;
  border:1px solid #c8f28219;
  border-radius:10px;
  display:grid;
  place-items:center;
  color:#b8d78c;
  flex-shrink:0
}

.daily-icon .icon {
  width:22px;
  height:22px
}

.daily-progress {
  flex:1;
  padding-right:24px;
  min-width:0
}

.daily-title {
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:8px;
  margin-bottom:10px
}

.daily-title h3 {
  font-size:13px;
  font-weight:500;
  margin:0
}

.daily-title strong {
  font-size:13px;
  color:#d5e6be;
  font-weight:500;
  white-space:nowrap
}

.daily-title strong span {
  font-size:10px;
  color:#89967b;
  font-weight:400
}

.daily-progress p {
  font-size:9px;
  margin:8px 0 0;
  color:#858f79
}

.daily-stat {
  padding:0 0 0 23px;
  border-left:1px solid #ffffff0c;
  display:flex;
  flex-direction:column;
  gap:4px
}

.daily-stat strong {
  font-size:24px;
  line-height:1.2;
  font-weight:450;
  color:#d6dfcb
}

.daily-stat span {
  font-size:8px;
  color:#8b9580
}

.victory {
  border-color:#c8f28245;
  background:linear-gradient(100deg,#c8f28210,transparent),#191c17
}

.victory h3 {
  letter-spacing:3px;
  color:var(--lime)
}

.bottom-note {
  display:flex;
  align-items:center;
  gap:7px;
  color:#77836b;
  font-size:9px;
  margin:16px 2px 0
}

.bottom-note .icon {
  width:12px;
  height:12px
}

.bottom-note>span {
  margin-left:auto
}

footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  border-top:1px solid #ffffff07;
  margin-top:44px;
  padding:20px 0 23px;
  color:#687260;
  font-size:9px
}

footer>span {
  font-size:8px;
  letter-spacing:1.5px
}

footer b {
  font-weight:400;
  color:#9da98e;
  margin-left:8px
}

.carryover {
  margin-top:20px;
  border-top:1px solid var(--border);
  padding-top:17px
}

.carryover summary {
  font-size:11px;
  color:#a3af95;
  cursor:pointer;
  list-style:none;
  display:flex;
  align-items:center;
  gap:10px
}

.carryover summary .icon {
  width:13px;
  height:13px
}

.carryover[open] summary .icon {
  transform:rotate(90deg)
}

.planned-date {
  font-size:10px;
  color:#8d9782;
  margin:0 0 5px
}

.stats-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  margin-bottom:22px
}

.stat-panel {
  padding:22px;
  position:relative;
  display:flex;
  flex-direction:column;
  gap:4px
}

.stat-panel>.icon {
  color:#a4be80;
  width:18px;
  height:18px;
  margin-bottom:14px
}

.stat-panel strong {
  font-size:31px;
  line-height:1.3;
  font-weight:450;
  letter-spacing:-1px;
  color:#dde7d1
}

.stat-panel>span {
  font-size:11px;
  color:#929d84
}

.week-controls {
  display:flex;
  align-items:center;
  gap:7px;
  border:1px solid var(--border);
  border-radius:7px;
  padding:4px
}

.week-controls>span {
  font-size:10px;
  color:#afbba0
}

.flip {
  transform:rotate(180deg)
}

.report-chart,.category-report,.reward-history,.history-day {
  padding:25px;
  margin-bottom:22px
}

.chart-legend {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:9px;
  color:#929f84
}

.chart-legend i {
  width:7px;
  height:7px;
  border-radius:2px;
  background:var(--lime)
}

.chart-legend b {
  font-weight:400;
  color:#5b6750
}

.bar-chart {
  display:flex;
  align-items:flex-end;
  justify-content:space-around;
  height:260px;
  position:relative;
  padding:20px 25px 0;
  gap:20px
}

.chart-column {
  flex:1;
  max-width:68px;
  text-align:center;
  z-index:1
}

.bar-space {
  height:200px;
  display:flex;
  align-items:flex-end;
  justify-content:center
}

.chart-bar {
  width:100%;
  max-width:42px;
  background:linear-gradient(#a7c98388,#a7c98325);
  border:1px solid #c8f28220;
  border-radius:5px 5px 0 0;
  position:relative
}

.chart-bar.today {
  background:linear-gradient(#c8f282,#86a357)
}

.chart-bar>span {
  position:absolute;
  bottom:100%;
  left:0;
  right:0;
  padding-bottom:7px;
  color:#b9cda5;
  font-size:10px
}

.chart-column>span {
  font-size:10px;
  color:#8d9c7f;
  display:block;
  height:40px;
  padding-top:13px
}

.goal-line {
  position:absolute;
  left:20px;
  right:20px;
  border-top:1px dashed #c8f28223
}

.goal-line>span {
  position:absolute;
  right:0;
  top:-16px;
  font-size:8px;
  color:#839571
}

.category-report>.section-heading {
  margin-bottom:14px
}

.section-heading>span {
  font-size:9px;
  letter-spacing:.8px;
  color:#8f9c81
}

.category-row {
  display:flex;
  gap:14px;
  align-items:center;
  padding:18px 0;
  border-bottom:1px solid var(--border)
}

.category-row:last-child {
  border-bottom:0;
  padding-bottom:0
}

.category-symbol {
  height:37px;
  width:37px;
  flex-shrink:0;
  display:grid;
  place-items:center;
  background:#ffffff04;
  border:1px solid #ffffff0a;
  border-radius:9px
}

.category-row-info {
  flex:1;
  min-width:0
}

.category-row-info h3 {
  font-size:12px;
  font-weight:500;
  margin:0 0 4px;
  overflow-wrap:anywhere
}

.category-row-info p {
  font-size:10px;
  color:#8d9a7e;
  margin:0
}

.category-meter {
  width:16%;
  margin-right:15px
}

.category-row>strong {
  min-width:62px;
  text-align:right;
  font-weight:450;
  color:#bacda7;
  font-size:14px
}

.category-row>strong>span {
  font-size:9px
}

.muted {
  color:#99a18f!important
}

.footnote {
  font-size:11px;
  color:#8f9b81;
  line-height:1.8
}

.history-day>.section-heading {
  padding-bottom:17px;
  border-bottom:1px solid var(--border)
}

.history-day>.section-heading>h2 {
  font-size:14px
}

.history-row {
  display:flex;
  align-items:center;
  gap:14px;
  border-bottom:1px solid var(--border);
  padding:18px 0
}

.history-row:last-child {
  border-bottom:0
}

.history-row>div {
  flex:1;
  min-width:0
}

.history-row h3 {
  font-size:12px;
  font-weight:500;
  margin:0 0 4px;
  overflow-wrap:anywhere
}

.history-row p {
  font-size:10px;
  color:#8c9b7d;
  margin:0
}

.history-row .history-notes {
  margin-top:7px;
  white-space:pre-wrap;
  overflow-wrap:anywhere
}

.history-row>strong {
  font-size:14px;
  font-weight:450;
  white-space:nowrap
}

.history-row small {
  font-size:10px
}

.positive {
  color:#c3dfa1!important
}

.event-icon {
  width:32px;
  height:32px;
  border:1px solid #c8f28215;
  background:#c8f28206;
  border-radius:50%;
  color:#b9d39a;
  display:grid;
  place-items:center;
  flex-shrink:0
}

.event-icon .icon {
  width:15px;
  height:15px
}

.purple {
  color:#bfafd1;
  background:#c0a3df09;
  border-color:#c0a3df20
}

.bank-page-grid {
  display:grid;
  grid-template-columns:1fr 1.4fr;
  gap:20px
}

.reward-rules {
  padding:27px
}

.reward-rules h2,.settings-panel h2 {
  font-size:18px;
  font-weight:500;
  letter-spacing:-.3px;
  margin:0 0 20px
}

.reward-rules>div {
  display:flex;
  justify-content:space-between;
  gap:15px;
  font-size:12px;
  padding:13px 0;
  border-bottom:1px solid var(--border);
  color:#b4bdaa
}

.reward-rules strong {
  font-weight:500;
  color:#c8dfa8
}

.reward-rules p {
  font-size:10px;
  color:#8f9a83;
  margin:18px 0 0
}

.play-banner {
  display:flex;
  align-items:center;
  gap:18px;
  padding:26px 6px
}

.play-banner>.icon {
  width:29px;
  height:29px;
  color:#a5b990
}

.play-banner>div {
  flex:1
}

.play-banner h3 {
  font-size:14px;
  font-weight:500;
  margin:0 0 4px
}

.play-banner p {
  font-size:10px;
  color:#8e9d7e;
  margin:0
}

.empty-state {
  text-align:center;
  padding:65px 25px;
  color:#98a889
}

.empty-state>.icon {
  width:35px;
  height:35px;
  color:#b0c991;
  margin-bottom:15px
}

.empty-state h3 {
  color:#c9d6bd;
  font-size:19px;
  font-weight:450;
  margin:0 0 8px
}

.empty-state p {
  font-size:12px;
  margin:0 0 23px
}

.small-empty {
  padding:35px 20px
}

.small-empty h3 {
  font-size:15px
}

.small-empty p {
  margin-bottom:0
}

.settings-panel {
  padding:30px;
  margin-bottom:22px
}

.settings-panel>p {
  max-width:750px;
  color:#9aa78c;
  font-size:12px;
  line-height:1.9
}

.settings-icon {
  color:var(--lime);
  margin-bottom:14px
}

.settings-actions {
  display:flex;
  gap:12px;
  margin:23px 0
}

.category-chips {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:20px 0
}

.category-chip {
  background:#ffffff04;
  border:1px solid #ffffff10;
  border-radius:5px;
  font-size:11px;
  padding:7px 11px;
  overflow-wrap:anywhere;
  max-width:100%
}

.inline-form {
  display:flex;
  gap:10px;
  max-width:540px
}

.inline-form input {
  flex:1;
  min-width:0
}

.principles p:last-child {
  margin-bottom:0
}

input,select,textarea {
  color:#e1e6da;
  background:#11150f;
  border:1px solid #ffffff15;
  border-radius:6px;
  padding:10px 12px;
  min-height:42px;
  width:100%;
  color-scheme:dark;
  outline:none;
  transition:border-color .2s
}

input:focus,select:focus,textarea:focus {
  border-color:#c8f28280;
  box-shadow:0 0 0 2px #c8f28208
}

input::placeholder,textarea::placeholder {
  color:#64725a
}

textarea {
  resize:vertical
}

select {
  font-size:12px
}

dialog {
  width:min(580px,calc(100% - 32px));
  max-height:calc(100dvh - 40px);
  border:1px solid #c8f28225;
  border-radius:15px;
  background:linear-gradient(145deg,#20251c,#171b15);
  color:var(--text);
  padding:32px;
  box-shadow:0 30px 100px #0009;
  overflow-y:auto;
  overscroll-behavior:contain
}

dialog::backdrop {
  background:#040704b8;
  backdrop-filter:blur(7px)
}

dialog[open] {
  animation:modal-in .22s ease-out
}

.close-modal {
  position:absolute;
  right:14px;
  top:14px
}

dialog h2 {
  font-size:25px;
  letter-spacing:-.7px;
  font-weight:500;
  line-height:1.3;
  margin:11px 0
}

.modal-subtitle {
  font-size:12px;
  color:#a2af94;
  margin:0 0 24px
}

form label {
  display:block;
  font-size:11px;
  font-weight:500;
  color:#bbc9ae;
  margin-bottom:15px
}

form label>input,form label>select,form label>textarea {
  display:block;
  margin-top:7px;
  font-weight:400
}

.form-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:13px
}

.form-grid.three {
  grid-template-columns:.7fr 1fr 1.2fr
}

.form-grid label {
  min-width:0
}

.form-hint {
  font-size:10px;
  color:#8e9d80;
  margin:0 0 17px;
  line-height:1.7
}

.optional {
  font-size:10px;
  font-weight:400;
  color:#839476;
  margin-left:4px
}

.activity-details {
  margin-top:4px
}

.activity-details summary {
  font-size:11px;
  color:#b6c7a5;
  cursor:pointer;
  padding:10px 0
}

.activity-details summary span {
  font-size:10px;
  color:#819371;
  margin-left:5px
}

.activity-details .form-grid {
  padding-top:12px
}

.modal-actions {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  border-top:1px solid var(--border);
  padding-top:20px;
  margin-top:18px
}

.import-summary {
  display:flex;
  justify-content:space-around;
  padding:20px 0;
  margin:15px 0;
  border-block:1px solid var(--border)
}

.import-summary>div {
  display:flex;
  flex-direction:column;
  text-align:center
}

.import-summary strong {
  font-size:24px;
  color:#cde5b0;
  font-weight:450
}

.import-summary span {
  font-size:11px;
  color:#9daf8c
}

.import-summary+p {
  font-size:12px;
  color:#9fb38b;
  line-height:1.8
}

#notifications {
  position:fixed;
  bottom:25px;
  left:calc(50% + 116px);
  transform:translateX(-50%);
  z-index:100;
  width:max-content;
  max-width:calc(100% - 35px);
  pointer-events:none
}

.toast {
  background:#2b3623;
  border:1px solid #c8f28250;
  color:#e2f3ce;
  border-radius:9px;
  padding:14px 22px;
  box-shadow:0 10px 30px #0006;
  margin-top:8px;
  font-size:12px;
  animation:toast-in .25s ease-out;
  max-width:580px
}

.toast.error {
  border-color:#d9b59575;
  background:#382d24;
  color:#f0d8c2
}

body:has(dialog[open]) {
  overflow:hidden
}

.promotion-dialog {
  text-align:center;
  width:min(490px,calc(100% - 32px));
  padding:40px 32px;
  isolation:isolate
}

.promotion-dialog>.eyebrow {
  justify-content:center;
  color:#c4d7ac
}

.promotion-dialog .rank-emblem {
  width:230px;
  height:215px;
  margin-top:15px;
  animation:badge-in .85s cubic-bezier(.16,1,.3,1)
}

.promotion-label {
  letter-spacing:6px;
  color:#b5ce96;
  font-size:11px;
  margin:0
}

.promotion-dialog h2 {
  font-size:36px;
  color:#ecf3e2;
  margin:5px 0 15px
}

.promotion-dialog>p:not(.promotion-label) {
  font-size:12px;
  color:#a5b995
}

.promotion-dialog>p .icon {
  width:14px;
  margin:0 8px
}

.promotion-reward {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:1px solid #c8f28230;
  background:#c8f28208;
  padding:13px;
  border-radius:7px;
  color:#d1efad;
  margin:25px 0 15px
}

.promotion-dialog>.primary {
  margin-top:7px
}

.promotion-rays {
  position:absolute;
  inset:-30%;
  z-index:-1;
  opacity:.2;
  background:conic-gradient(from 20deg,transparent 0deg,#c8f28222 20deg,transparent 40deg,#c8f28222 60deg,transparent 80deg,#c8f28222 100deg,transparent 120deg,#c8f28222 140deg,transparent 160deg,#c8f28222 180deg,transparent 200deg,#c8f28222 220deg,transparent 240deg,#c8f28222 260deg,transparent 280deg,#c8f28222 300deg,transparent 320deg,#c8f28222 340deg,transparent 360deg);
  animation:rays 30s linear infinite;
  pointer-events:none
}

.just-completed {
  animation:quest-complete .9s ease-out
}

.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}

@keyframes modal-in {
  from {
    opacity:0;
    transform:translateY(10px)
  }
  to {
    opacity:1;
    transform:translateY(0)
  }
}

@keyframes badge-in {
  from {
    opacity:0;
    transform:scale(.72) translateY(15px)
  }
  to {
    opacity:1;
    transform:scale(1) translateY(0)
  }
}

@keyframes toast-in {
  from {
    opacity:0;
    transform:translateY(10px)
  }
  to {
    opacity:1;
    transform:translateY(0)
  }
}

@keyframes quest-complete {
  0% {
    box-shadow:0 0 0 0 #c8f28270;
    opacity:1
  }
  40% {
    box-shadow:0 0 25px 2px #c8f28220;
    opacity:1
  }
  100% {
    box-shadow:0 0 0 0 #c8f28200;
    opacity:.7
  }
}

@keyframes rays {
  to {
    transform:rotate(360deg)
  }
}

@media(min-width:1600px) {
  .page-content {
    padding-top:45px
  }
  .hero-grid {
    gap:24px
  }
  .rank-card {
    min-height:280px
  }
  .rank-art {
    max-width:270px
  }
  .rank-emblem {
    width:230px;
    height:215px
  }
  .orbit-one {
    width:195px;
    height:195px;
    top:31px
  }
  .orbit-two {
    width:230px;
    height:230px;
    top:14px
  }
  .rank-details {
    padding-right:35px
  }
  .rank-details h2 {
    font-size:41px
  }
  .quest-card {
    min-height:245px
  }
  .starter-card {
    min-height:235px
  }
}

@media(max-width:1200px) {
  .sidebar {
    width:204px;
    padding-inline:16px
  }
  .main {
    margin-left:204px
  }
  .brand {
    font-size:21px;
    margin-left:3px
  }
  .topbar {
    padding-inline:28px
  }
  .page-content {
    padding-inline:28px
  }
  .hero-grid {
    grid-template-columns:minmax(0,1.6fr) minmax(255px,1fr);
    gap:16px
  }
  .rank-art {
    min-width:145px;
    width:34%
  }
  .rank-details {
    padding-right:20px
  }
  .rank-details h2 {
    font-size:30px
  }
  .rank-emblem {
    height:165px
  }
  .orbit-one {
    width:135px;
    height:135px;
    top:43px
  }
  .orbit-two {
    width:160px;
    height:160px;
    top:31px
  }
  .rank-art-caption {
    font-size:6px
  }
  .rank-foot {
    font-size:8px
  }
  .rank-details>p {
    font-size:10px
  }
  .bank-card {
    padding:23px 20px
  }
  .small-pill {
    display:none
  }
  .focus-hint {
    font-size:8px
  }
  .quest-grid {
    gap:12px
  }
  .quest-card {
    padding:18px 15px
  }
  .quest-card h3 {
    font-size:14px
  }
  .priority {
    font-size:7px
  }
  .quest-type {
    font-size:6px;
    letter-spacing:1px
  }
  .quest-xp {
    font-size:15px
  }
  .task-buttons {
    gap:0
  }
  .complete-button {
    padding:7px;
    font-size:9px
  }
  .task-buttons>.icon-button {
    width:25px
  }
  .daily-card {
    gap:16px;
    padding:22px
  }
  .daily-progress {
    padding-right:5px
  }
  .daily-stat {
    padding-left:16px
  }
  .daily-stat span {
    max-width:88px
  }
  .starter-card {
    padding:18px 15px
  }
  .starter-bottom {
    flex-wrap:wrap;
    gap:10px
  }
  .starter-card h3 {
    font-size:14px
  }
  #notifications {
    left:calc(50% + 102px)
  }
}

@media(max-width:1000px) {
  .hero-grid {
    grid-template-columns:1fr
  }
  .rank-card {
    min-height:238px
  }
  .rank-art {
    min-width:210px;
    width:35%;
    max-width:none
  }
  .rank-emblem {
    height:185px;
    width:200px
  }
  .orbit-one {
    width:162px;
    height:162px;
    top:23px
  }
  .orbit-two {
    width:190px;
    height:190px;
    top:9px
  }
  .rank-art-caption {
    font-size:7px
  }
  .rank-details {
    padding-right:32px
  }
  .rank-details h2 {
    font-size:35px
  }
  .bank-card {
    min-height:180px;
    display:grid;
    grid-template-columns:1fr 1fr;
    column-gap:20px;
    align-items:center
  }
  .bank-card .section-kicker {
    grid-column:1
  }
  .bank-number {
    grid-column:2;
    grid-row:1 / 3;
    margin-top:0;
    text-align:right;
    font-size:50px
  }
  .bank-card>p {
    margin:7px 0 14px
  }
  .bank-divider,.bank-bottom {
    grid-column:1 / -1
  }
  .bank-bottom {
    margin-top:12px
  }
  .small-pill {
    display:none
  }
  .focus-hint {
    display:none
  }
  .quest-grid {
    grid-template-columns:1fr
  }
  .quest-card {
    min-height:185px;
    padding:22px
  }
  .quest-card h3 {
    font-size:17px;
    margin-top:16px
  }
  .quest-type {
    font-size:8px
  }
  .priority {
    font-size:9px
  }
  .quest-category {
    font-size:11px
  }
  .quest-xp {
    font-size:19px
  }
  .complete-button {
    padding:8px 12px;
    font-size:11px
  }
  .quest-bottom {
    padding-top:20px
  }
  .starter-grid {
    grid-template-columns:repeat(3,minmax(0,1fr))
  }
  .starter-top>span:nth-child(2) {
    display:none
  }
  .starter-card {
    min-height:225px
  }
  .secondary-quests {
    grid-template-columns:1fr
  }
  .daily-card {
    flex-wrap:wrap
  }
  .daily-progress {
    flex-basis:calc(100% - 70px)
  }
  .daily-stat {
    width:calc(50% - 12px);
    margin-top:8px
  }
  .daily-stat span {
    max-width:none
  }
  .daily-stat:first-of-type {
    margin-left:0
  }
  .daily-title h3 {
    font-size:14px
  }
  .bottom-note {
    flex-wrap:wrap
  }
  .bottom-note>span {
    margin-left:19px;
    width:100%
  }
  .page-heading {
    align-items:flex-start
  }
  .page-heading p {
    max-width:340px
  }
  .page-heading .primary {
    margin-top:18px
  }
  .stats-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .bank-page-grid {
    grid-template-columns:1fr
  }
  .category-meter {
    display:none
  }
  .page-heading:has(.week-controls) {
    flex-direction:column
  }
  .page-heading:has(.heading-actions>.secondary) {
    flex-direction:column
  }
  .page-heading:has(.heading-actions>.secondary) .primary {
    margin-top:0
  }
}

@media(max-width:760px) {
  .sidebar {
    position:fixed;
    top:auto;
    bottom:0;
    left:0;
    right:0;
    width:100%;
    height:calc(64px + env(safe-area-inset-bottom));
    padding:0 8px env(safe-area-inset-bottom);
    display:block;
    border-right:0;
    border-top:1px solid #ffffff12;
    background:#131711f5;
    backdrop-filter:blur(15px)
  }
  .brand,.nav-label,.quiet-note,.local-status {
    display:none
  }
  .sidebar nav {
    display:flex;
    justify-content:space-around;
    width:80%;
    height:64px
  }
  .nav-item {
    margin:0;
    min-height:56px;
    height:64px;
    padding:8px 2px;
    gap:4px;
    flex-direction:column;
    justify-content:center;
    border-radius:0;
    font-size:8px;
    border:0;
    color:#99a78b
  }
  .nav-item .icon {
    width:19px;
    height:19px
  }
  .nav-item.active {
    background:none;
    border:0;
    color:var(--lime)
  }
  .nav-item i {
    display:none
  }
  .sidebar-bottom {
    position:absolute;
    right:8px;
    top:0;
    width:19%;
    margin:0
  }
  .sidebar-bottom .nav-item {
    font-size:0
  }
  .sidebar-bottom .nav-item span:after {
    content:'Data';
    font-size:8px
  }
  .main {
    margin-left:0;
    padding-bottom:calc(70px + env(safe-area-inset-bottom))
  }
  .topbar {
    height:62px;
    padding:0 22px
  }
  .breadcrumb {
    font-size:8px;
    letter-spacing:1px
  }
  .breadcrumb>span {
    margin:0 10px
  }
  .breadcrumb strong {
    font-size:10px
  }
  .profile {
    font-size:0;
    gap:0
  }
  .profile .online-dot {
    display:none
  }
  .avatar {
    font-size:11px;
    width:28px;
    height:28px;
    margin-left:10px
  }
  .page-content {
    padding:25px 22px 0
  }
  .page-heading {
    margin-bottom:25px;
    gap:10px
  }
  h1 {
    font-size:29px;
    letter-spacing:-1.2px
  }
  .page-heading p {
    font-size:11px;
    max-width:260px
  }
  .eyebrow {
    font-size:8px;
    letter-spacing:1.5px
  }
  .heading-actions .primary {
    padding:9px 12px;
    font-size:10px
  }
  .rank-art {
    min-width:155px;
    width:37%
  }
  .rank-card {
    min-height:235px
  }
  .rank-emblem {
    height:170px
  }
  .rank-details {
    padding-right:22px
  }
  .rank-details h2 {
    font-size:31px
  }
  .rank-details .eyebrow {
    font-size:7px
  }
  .rank-details>p {
    font-size:9px
  }
  .rank-foot {
    font-size:8px;
    flex-wrap:wrap;
    gap:7px
  }
  .xp-label {
    font-size:9px
  }
  .bank-card {
    min-height:165px;
    padding:20px 23px
  }
  .bank-number {
    font-size:45px
  }
  .bank-number span {
    font-size:13px
  }
  .bank-card .section-kicker {
    font-size:8px
  }
  .bank-card>p {
    font-size:10px
  }
  .bank-bottom>span {
    font-size:9px
  }
  .quests-section {
    margin-top:28px
  }
  .quest-toolbar {
    margin-top:14px
  }
  .section-heading h2 {
    font-size:16px
  }
  .tabs button {
    font-size:10px;
    padding:5px 11px
  }
  .starter-grid {
    grid-template-columns:1fr
  }
  .starter-card {
    min-height:168px;
    padding:20px
  }
  .starter-top>span:nth-child(2) {
    display:block
  }
  .starter-card h3 {
    font-size:16px;
    margin:12px 0 5px
  }
  .starter-card p {
    font-size:11px;
    margin-bottom:17px
  }
  .starter-bottom {
    font-size:10px
  }
  .starter-bottom strong {
    font-size:11px
  }
  .empty-quest-intro h3 {
    font-size:14px
  }
  .empty-quest-intro p {
    font-size:11px;
    line-height:1.8
  }
  .quest-card {
    padding:22px;
    min-height:202px
  }
  .quest-category {
    font-size:10px
  }
  .quest-notes {
    font-size:11px
  }
  .daily-card {
    padding:20px;
    gap:15px
  }
  .daily-icon {
    width:37px;
    height:37px
  }
  .daily-progress {
    flex-basis:calc(100% - 55px)
  }
  .daily-progress p {
    font-size:9px;
    line-height:1.7
  }
  .daily-stat {
    margin-top:7px
  }
  .daily-stat strong {
    font-size:24px
  }
  .daily-stat span {
    font-size:9px
  }
  .bottom-note {
    font-size:9px;
    line-height:1.8
  }
  footer {
    font-size:8px;
    margin-top:30px;
    align-items:flex-start
  }
  footer>span {
    font-size:7px;
    white-space:nowrap
  }
  footer b {
    margin-left:4px
  }
  #notifications {
    left:50%;
    bottom:calc(80px + env(safe-area-inset-bottom));
    width:calc(100% - 34px)
  }
  .toast {
    font-size:11px;
    padding:12px 15px
  }
  .report-chart,.category-report,.reward-history,.history-day {
    padding:21px 18px
  }
  .report-chart .section-heading {
    align-items:flex-start;
    flex-direction:column;
    gap:7px
  }
  .bar-chart {
    padding-inline:5px;
    gap:10px
  }
  .chart-column>span {
    font-size:9px
  }
  .goal-line {
    left:5px;
    right:5px
  }
  .stats-grid {
    gap:12px
  }
  .stat-panel {
    padding:20px
  }
  .stat-panel>span {
    font-size:10px
  }
  .category-row {
    gap:10px
  }
  .category-row-info h3 {
    font-size:11px
  }
  .category-row-info p {
    font-size:9px
  }
  .category-symbol {
    width:31px;
    height:31px
  }
  .category-symbol .icon {
    width:16px;
    height:16px
  }
  .category-row>strong {
    min-width:48px;
    font-size:12px
  }
  .history-day>.section-heading {
    align-items:flex-start;
    gap:9px;
    flex-direction:column
  }
  .history-row {
    gap:10px
  }
  .history-row h3 {
    font-size:11px
  }
  .history-row p {
    font-size:9px
  }
  .history-row>strong {
    font-size:12px
  }
  .play-banner {
    flex-wrap:wrap
  }
  .play-banner>div {
    min-width:220px
  }
  .play-banner>.secondary {
    margin-left:46px
  }
  .settings-panel {
    padding:24px 20px
  }
  .settings-panel h2 {
    font-size:17px
  }
  .settings-panel>p {
    font-size:11px
  }
  .settings-actions {
    flex-direction:column;
    align-items:flex-start
  }
  .settings-actions button {
    width:100%;
    font-size:11px
  }
  .inline-form {
    flex-direction:column
  }
  .inline-form button {
    align-self:flex-start
  }
  .category-chip {
    font-size:10px
  }
  .settings-panel>.text-button {
    font-size:10px
  }
  dialog {
    padding:29px 22px;
    max-height:calc(100dvh - 30px);
    width:calc(100% - 24px)
  }
  dialog h2 {
    font-size:23px
  }
  .form-grid.three {
    grid-template-columns:1fr 1fr
  }
  .form-grid.three>label:last-child {
    grid-column:1 / -1
  }
  input,select,textarea {
    font-size:16px
  }
  form label {
    font-size:11px
  }
  .modal-subtitle {
    font-size:11px
  }
  .activity-details summary span {
    font-size:9px
  }
  .modal-actions .primary,.modal-actions .secondary {
    font-size:11px
  }
  .promotion-dialog {
    padding:35px 24px
  }
  .promotion-dialog h2 {
    font-size:33px
  }
  .promotion-dialog .rank-emblem {
    height:195px;
    width:215px
  }
}

@media(max-width:390px) {
  .page-content {
    padding-inline:16px
  }
  .topbar {
    padding-inline:16px
  }
  .page-heading {
    flex-direction:column
  }
  .heading-actions .primary {
    margin-top:4px
  }
  .page-heading p {
    max-width:none
  }
  h1 {
    font-size:28px
  }
  .rank-art {
    min-width:126px
  }
  .rank-emblem {
    height:145px
  }
  .orbit-one {
    width:115px;
    height:115px;
    top:47px
  }
  .orbit-two {
    width:135px;
    height:135px;
    top:37px
  }
  .rank-art-caption {
    font-size:5px;
    letter-spacing:1.4px
  }
  .rank-details {
    padding-right:17px
  }
  .rank-details h2 {
    font-size:28px
  }
  .rank-details>p {
    font-size:8px
  }
  .xp-label {
    font-size:8px
  }
  .rank-details .eyebrow {
    font-size:6px
  }
  .rank-foot {
    font-size:7px
  }
  .date-select input {
    width:110px
  }
  .daily-title h3 {
    font-size:12px
  }
  .daily-card {
    padding:16px;
    gap:10px
  }
  .breadcrumb {
    font-size:7px
  }
  .form-grid {
    grid-template-columns:1fr
  }
  .form-grid.three {
    grid-template-columns:1fr 1fr
  }
  .history-row .event-icon {
    display:none
  }
  footer>span {
    display:none
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important
  }
}
