/* Member portal. Kept separate from the public realm's editorial styling. */
/* The member shop carries the game's forest-green, parchment and gold storefront. */
.app .member-shop { --ivory: #f5ecd8; --muted: #afc0b4; padding: 26px; border: 1px solid #435345; border-radius: 14px; background: #0d1918; box-shadow: 0 22px 65px #0002; }
.app .member-shop .app-head { margin-bottom: 22px; }
.app .member-shop .eyebrow { color: #95ac9e; }
.app .member-shop h1, .app .member-shop h2, .app .member-shop h3 { font-family: Georgia, 'Palatino Linotype', serif; font-weight: 400; color: #f5ecd8; letter-spacing: -.035em; }
.app .member-shop .app-title { font-size: 33px; }
.app .member-shop .app-lead { color: #aebfb2; }
.shop-season { position: relative; isolation: isolate; min-height: 250px; overflow: hidden; margin-bottom: 16px; border: 1px solid #8e784d; border-radius: 9px; background: #23413a url('/art/shop/winter-hero.png') 70% 48% / cover no-repeat; }
.shop-season::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,#201c1ced 8%,#201c1cb8 40%,#0e292c12 75%); }
.shop-season-copy { padding: 28px; max-width: 65%; }
.shop-kicker { display: block; color: #d9bd7c; font-size: .64rem; letter-spacing: .09em; line-height: 1.7; }
.app .shop-season h2 { margin: 10px 0; font-size: clamp(1.9rem,3.3vw,2.65rem); line-height: 1.04; }
.shop-season p { max-width: 310px; color: #d1d6c3; font-size: .77rem; line-height: 1.7; margin: 12px 0 18px; }
.app .shop-season .btn { font-size: .72rem; min-height: 37px; border-radius: 4px; gap: 12px; }
.shop-season-seal { position: absolute; right: 14px; bottom: 14px; font-size: .6rem; color: #e6dcbb; border: 1px solid #a8b19b60; background: #112b27e8; padding: 6px 9px; border-radius: 3px; }
.shop-campaigns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.shop-campaign { position: relative; isolation: isolate; overflow: hidden; padding: 23px; text-align: left; color: #f5ecd8; background: radial-gradient(ellipse at 100% 100%,#8c5b3938,transparent 75%),#202b23; border: 1px solid #6c6344; border-radius: 9px; cursor: pointer; }
.shop-campaign-forge { background: radial-gradient(ellipse at 100% 100%,#427f813f,transparent 75%),#142d2c; border-color: #3c6260; }
.shop-campaign::after { content: ''; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(135deg,transparent,transparent 22px,#d9bd7c04 23px,transparent 24px); }
.shop-campaign[aria-pressed=true] { border-color: #d9bd7c; box-shadow: inset 0 0 0 1px #d9bd7c15; }
.shop-campaign:hover { border-color: #d9bd7c; }
.shop-campaign strong { display: block; position: relative; z-index: 1; max-width: calc(100% - 78px); font: 400 clamp(1.4rem,2.4vw,1.95rem)/1.08 Georgia,serif; letter-spacing: -.03em; margin: 15px 0 12px; }
.shop-campaign-copy { display: block; max-width: 70%; min-height: 39px; font: 400 .7rem/1.7 var(--font-body); color: #b8c2ae; }
.shop-campaign-link { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid #d9bd7c25; padding-top: 12px; margin-top: 17px; color: #e1c586; font: 400 .69rem/1.5 var(--font-body); }
.shop-campaign-art { position: absolute; z-index: 0; right: 16px; top: 65px; width: 95px; height: 100px; pointer-events: none; }
.shop-campaign-art img { width: 58px; height: 58px; image-rendering: pixelated; filter: drop-shadow(0 6px 8px #0008); }
.shop-campaign-art img + img { position: absolute; width: 45px; height: 45px; right: 0; top: 40px; }
.shop-event-date { color: #a5b69e; font-size: .66rem; line-height: 1.7; margin: 12px 0 24px; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-block: 1px solid #34473b; margin-bottom: 26px; }
.shop-tabs { display: flex; gap: 18px; flex-wrap: wrap; }
.shop-tabs button { font: 400 .72rem/1.5 var(--font-body); padding: 15px 0 12px; color: #aebfb0; border: 0; border-bottom: 2px solid transparent; background: transparent; cursor: pointer; }
.shop-tabs button[aria-pressed=true] { border-bottom-color: #d9bd7c; color: #e7cb8c; }
.shop-toolbar > button { font-size: .68rem; color: #b1c1ad; }
.shop-filterbar { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr) minmax(0,1fr); gap: 12px; margin: 0 0 24px; }
.shop-filterbar label { display: grid; gap: 7px; min-width: 0; color: #a5b7a4; font-size: .66rem; }
.app .shop-filterbar .input { min-width: 0; width: 100%; border-color: #3c5340; background-color: #10211c; color: #dce4ce; font-size: .72rem; }
.shop-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -6px 0 26px; color: #a5b7a4; font-size: .72rem; }
.app .shop-pagination .btn { border-color: #3c5340; background: #172a23; color: #ddcfaa; }
.shop-catalog > .empty { grid-column: 1 / -1; }
.shop-catalog-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin: 0 0 22px; scroll-margin-top: 100px; }
.app .shop-catalog-heading h2 { font-size: clamp(1.6rem,3vw,2rem); margin-top: 8px; line-height: 1.2; }
.shop-instructions { flex: none; max-width: 200px; color: #9daf9e; font-size: .67rem; line-height: 1.8; text-align: right; }
.shop-catalog { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 16px; margin-bottom: 26px; }
.shop-catalog .shop-pack { grid-column: span 2; }
.shop-catalog .shop-pack-featured, .shop-catalog[data-collection=brave] .shop-pack { grid-column: span 3; }
.app .member-shop .shop-pack { min-width: 0; display: flex; flex-direction: column; padding: 0; overflow: hidden; border: 1px solid #344f40; border-radius: 9px; background: #14251f; box-shadow: none; }
.app .member-shop .shop-pack-featured { border-color: #7a724b; background: #172a23; }
.shop-pack-heading { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px 0; gap: 10px; }
.shop-pack-tag { color: #c9b77b; font-size: .57rem; letter-spacing: .06em; }
.shop-availability { color: #9bb9a1; font-size: .57rem; white-space: nowrap; }
.shop-availability[data-state=closed], .shop-availability[data-state=upcoming] { color: #c1a57f; }
.shop-pack-art { min-height: 115px; display: flex; gap: 9px; align-items: center; justify-content: center; padding: 20px 17px 12px; background: radial-gradient(ellipse at 50% 65%,#d9bd7c18,transparent 70%); }
.shop-art-item { position: relative; display: grid; place-items: center; width: 48px; height: 52px; }
.shop-art-item img { width: 43px; height: 43px; image-rendering: pixelated; filter: drop-shadow(0 5px 6px #0008); }
.shop-art-primary { width: 74px; height: 74px; margin-right: 3px; }
.shop-art-primary img { width: 68px; height: 68px; }
.shop-art-quantity { position: absolute; right: -2px; bottom: -3px; padding: 1px 4px; border: 1px solid #7c744540; border-radius: 3px; background: #0d1918; color: #e5ce91; font-size: .58rem; }
.shop-pack-body { flex: 1; display: flex; flex-direction: column; padding: 7px 20px 18px; }
.app .member-shop .shop-pack h3 { font-size: 1.5rem; line-height: 1.2; margin: 0 0 16px; }
.shop-price { color: #e7ca89; font: 400 1.15rem/1.4 Georgia,serif; white-space: nowrap; }
.shop-variant { display: grid; gap: 6px; font-size: .61rem; color: #a5b7a4; }
.app .member-shop .shop-variant select { width: 100%; min-height: 37px; border-radius: 4px; background-color: #10211c; border-color: #3c5340; color: #dce4ce; font-size: .7rem; }
.shop-contents { list-style: none; padding: 0; margin: 15px 0 13px; font-size: .71rem; }
.shop-contents li { display: flex; align-items: center; gap: 9px; padding: 7px 0; border-bottom: 1px solid #9fba9812; line-height: 1.45; }
.shop-contents li > span { flex: 1; min-width: 0; }
.shop-item-thumb { flex: none; width: 24px; height: 24px; image-rendering: pixelated; }
.shop-contents strong { flex: none; color: #d9bd7c; font-weight: 500; }
.shop-pack-more { font-size: .64rem; line-height: 1.8; color: #aec0ac; margin: 0 0 18px; }
.shop-pack-more summary { color: #c1c8ac; cursor: pointer; }
.shop-pack-description { color: #aabcab; font-size: .68rem; line-height: 1.8; margin: 8px 0 0; }
.shop-pack-footer { display: flex; align-items: flex-end; gap: 14px; justify-content: space-between; margin-top: auto; padding-top: 14px; border-top: 1px solid #52614280; }
.shop-pack-details { color: #9db096; font-size: .58rem; line-height: 1.8; }
.app .member-shop .shop-rules { border: 1px solid #34473b; background: #12221d; padding: 22px; }
.app .member-shop .shop-rules h2 { color: #eedcb2; font-size: 1.4rem; }
.shop-rule-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; margin-bottom: 16px; }
.shop-rule-grid p { font-size: .71rem; line-height: 1.9; color: #9fb49f; }
.shop-rule-grid strong { display: block; color: #d4dfc2; margin-bottom: 5px; font-weight: 500; }
.app .member-shop .fineprint { color: #90a58e; font-size: .64rem; }
@media (max-width:1100px) {
  .shop-catalog .shop-pack { grid-column: span 3; }
  .shop-pack-footer { align-items: flex-start; flex-direction: column-reverse; gap: 5px; }
  .shop-campaign-art { opacity: .7; right: 7px; }
}
@media (max-width:760px) {
  .app .member-shop { padding: 20px; }
  .shop-campaign strong { font-size: 1.6rem; }
  .shop-campaign { padding: 20px; }
}
@media (max-width:570px) {
  .shop-filterbar { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .shop-filterbar label:first-child { grid-column: 1 / -1; }
  .app .member-shop { padding: 15px; }
  .shop-campaigns, .shop-catalog, .shop-rule-grid { grid-template-columns: minmax(0,1fr); }
  .shop-catalog .shop-pack { grid-column: span 1; }
  .shop-season { min-height: 265px; background-position: 63% center; }
  .shop-season-copy { padding: 22px; max-width: 95%; }
  .shop-season::before { background: linear-gradient(90deg,#201c1ce8,#201c1c68); }
  .shop-season h2 { font-size: 2.1rem; }
  .shop-season-seal { display: none; }
  .shop-campaign { min-height: 205px; }
  .shop-campaign-art { opacity: 1; right: 22px; }
  .shop-tabs { gap: 12px; }
  .shop-tabs button { font-size: .67rem; padding: 12px 0; }
  .shop-toolbar { align-items: flex-start; }
  .shop-toolbar > button { margin-top: 12px; }
  .shop-catalog-heading { display: block; }
  .shop-instructions { margin-top: 12px; text-align: left; }
  .shop-pack-footer { flex-direction: row; align-items: flex-end; }
  .shop-pack-body { padding: 8px 18px 18px; }
}
.member-view { background: #11141b; color: #bcc2ce; }
.member-view::before { display: none; }
.member-view .site-header { background: #11141bf5; border-bottom-color: #ffffff0c; box-shadow: none; }
.member-view .site-footer { padding: 26px 0; background: #0e1117; border-color: #ffffff0b; }
.member-view .footer-grid { display: none; }
.member-view .footer-bottom { margin: 0; padding: 0; border: 0; }
.member-view .nav a { font-size: .82rem; }
.member-view .realm-pill { border-color: #ffffff15; background: transparent; }
.member-view .app {
  --ivory: #f0f1f4; --ivory-2: #c9ced8; --muted: #9aa3b4; --muted-2: #8893a5;
  --gold: #d9bc85; --gold-hi: #e7c995; --gold-line: #d9bc8538; --line-soft: #ffffff0e;
  max-width: 1392px; grid-template-columns: 218px minmax(0, 1fr); gap: 42px;
  padding-top: 36px; padding-bottom: 64px; min-height: calc(100vh - 155px);
}
.app h1, .app h2, .app h3, .app h4 { font-family: var(--font-body); letter-spacing: -.035em; }
.app .card { border: 1px solid #ffffff0e; border-radius: 12px; background: #191d26; box-shadow: none; }
.app .app-side { top: 112px; padding: 0 20px 20px 0; border: 0; border-right: 1px solid #ffffff0d; border-radius: 0; background: transparent; min-height: 620px; }
.portal-label { padding: 0 12px; margin-bottom: 25px; color: #737f92; font-size: .64rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.app .app-profile { gap: 11px; padding: 0 9px 24px; border: 0; }
.app .app-profile .avatar { width: 39px; height: 39px; border-radius: 11px; background: #d7bb8520; border: 1px solid #d7bb8533; color: #e7c995; font: 600 1rem var(--font-body); }
.app .app-who strong { font: 600 .88rem var(--font-body); }
.app .badge { padding: 0; background: none; color: #8f9aab; font-size: .64rem; letter-spacing: .035em; text-transform: none; }
.app .badge.ok { color: #93bfa9; }
.app .app-nav { gap: 5px; margin: 6px 0; }
.app .app-nav a { gap: 11px; padding: 11px 12px; border-radius: 8px; font-size: .85rem; font-weight: 500; color: #929dad; }
.app .app-nav a svg { width: 17px; height: 17px; color: inherit; opacity: .9; }
.app .app-nav a:hover { background: #ffffff06; color: #e4e7ef; }
.app .app-nav a[aria-current=page] { background: #d7bb8510; color: #e7c995; }
.app .app-nav a[aria-current=page]::before { left: 0; top: 13px; bottom: 13px; width: 2px; border-radius: 1px; }
.app-side-bottom { margin: 160px 12px 20px; font-size: .72rem; }
.app-side-bottom p { color: #6f7a8b; margin-bottom: 10px; }
.app-side-bottom a { color: #a8b1bf; text-decoration: none; }
.app-side-bottom a span { margin-left: 10px; }
.app .app-logout { min-height: 35px; justify-content: flex-start; padding: 8px 12px; border-color: transparent; background: none; color: #8e99aa; font-size: .8rem; }
.app .app-head { margin-bottom: 27px; }
.app .eyebrow { margin-bottom: 12px; color: #7e899c; font: 500 .72rem var(--font-body); letter-spacing: .025em; text-transform: none; }
.app .app-title { font-size: clamp(1.65rem, 2.4vw, 2.1rem); line-height: 1.25; font-weight: 600; letter-spacing: -.045em; }
.app .app-lead { margin-top: 8px; max-width: 680px; color: #8f9aac; font-size: .84rem; line-height: 1.7; }
.portal-banner { position: relative; isolation: isolate; overflow: hidden; padding: 28px 30px; margin-bottom: 24px; border: 1px solid #d1b68030; border-radius: 12px; background: linear-gradient(110deg, #26262c, #1a2029); }
.portal-banner::before { content: ''; position: absolute; z-index: -1; inset: 7px 20px 7px auto; width: 40%; background: url('/art/realm-matsuka.png') center / contain no-repeat; opacity: .4; pointer-events: none; }
.portal-kicker { display: block; margin-bottom: 9px; color: #bba781; font-size: .61rem; font-weight: 700; letter-spacing: .18em; }
.portal-banner h2 { font-size: 1.55rem; font-weight: 550; }
.portal-banner p { margin: 8px 0 18px; font-size: .8rem; color: #b1b1b8; }
.portal-banner .btn { min-height: 36px; padding: 10px 15px; font-size: .75rem; }
.portal-banner-mark { position: absolute; z-index: -1; right: 24px; bottom: 3px; color: #f5dfb821; font: 600 clamp(3rem, 8vw, 7rem)/1.1 var(--font-display); letter-spacing: -.08em; }
.app .btn { border-radius: 7px; min-height: 40px; font-size: .8rem; letter-spacing: 0; box-shadow: none; }
.app .btn svg { flex: none; width: 16px; height: 16px; }
.app .eyebrow::before { display: none; }
.app .btn-gold { color: #201a11; background: #ddc18d; border: 1px solid #e6cb9a; }
.app .btn-gold:hover { background: #edd3a6; color: #201a11; }
.app .btn-small { min-height: 34px; padding: 8px 12px; font-size: .74rem; }
.app .stat-grid { gap: 12px; margin-bottom: 24px; }
.app .stat { padding: 18px; gap: 9px; }
.app .stat-label { color: #929dad; font-size: .7rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.app .stat-value { font: 550 1.65rem/1.15 var(--font-body); letter-spacing: -.045em; }
.app .stat-value.gold { color: #e7c995; }
.app .stat-note { color: #7e899b; font-size: .69rem; line-height: 1.6; }
.app .app-grid { gap: 18px; }
.app .panel, .app .characters { padding: 23px; }
.app .panel h2 { margin-bottom: 18px; font-size: .94rem; font-weight: 600; letter-spacing: -.015em; }
.app .panel h3 { font-size: .9rem; color: #d3d8e3; }
.app .activity li { gap: 12px; padding: 15px 0; font-size: .74rem; }
.app .activity-what { color: #aab3c2; }
.app .activity-delta { font-size: .71rem; font-weight: 500; }
.app .activity time { font-size: .67rem; }
.app .quick { gap: 4px; }
.app .quick-link { padding: 12px 0; gap: 13px; border-radius: 0; border-top: 1px solid #ffffff09; }
.app .quick-link svg { width: 19px; height: 19px; color: #bdab89; }
.app .quick-link strong { font-size: .78rem; font-weight: 500; }
.app .quick-link small { display: block; margin-top: 3px; font-size: .7rem; color: #8390a4; }
.app .char-list { gap: 14px; }
.app .char { padding: 20px 16px; border-radius: 9px; background: #ffffff02; }
.app .char .class-icon { border: 1px solid #d7bb8522; background: #d7bb850b; color: #d7bb85; border-radius: 10px; }
.app .char strong { font-size: .9rem; }
.app .char span { font-size: .75rem; }
.app .input { border: 1px solid #ffffff18; border-radius: 7px; background-color: #11151d; color: #e3e7ef; min-height: 43px; padding: 10px 12px; font-size: .83rem; }
.app .input:focus { border-color: #c7af7f; box-shadow: 0 0 0 3px #d7bb850b; }
.app .input::placeholder { color: #657184; }
.app .field label { font-size: .75rem; font-weight: 500; color: #b6bfcd; }
.app .field-unit { float: right; color: #748096; font-size: .65rem; }
.app .hint, .app .fineprint { color: #7e8a9d; font-size: .7rem; line-height: 1.8; }
.app .security p, .app .panel-text { font-size: .82rem; line-height: 1.8; }
.app .alert { border-radius: 8px; font-size: .76rem; margin-bottom: 22px; }
.app .alert.notice { background: #d7bb8507; border-color: #d7bb851c; color: #aeb7c6; padding: 11px 15px; }
.app .support { padding: 0; background: none; border: 0; overflow: visible; }
.app .support-grid { grid-template-columns: minmax(0, 1fr) 288px; gap: 20px; margin-top: 0; align-items: start; }
.app .support-pay, .app .support-move { padding: 25px; border-radius: 12px; border: 1px solid #ffffff0e; background: #191d26; }
.support-aside { display: grid; gap: 18px; min-width: 0; }
.panel-heading { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 22px; }
.panel-heading .step-number { display: grid; place-items: center; flex: none; width: 29px; height: 29px; border: 1px solid #d7bb8525; border-radius: 8px; color: #c3ad85; font-size: .64rem; font-weight: 600; }
.app .panel-heading h2 { margin: 2px 0 6px; font-size: .94rem; font-weight: 550; letter-spacing: -.02em; }
.panel-heading p { color: #8894a8; font-size: .72rem; line-height: 1.8; }
.panel-heading p strong { color: #b7c0ce; font-weight: 500; }
.contribution-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.contribution { position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 17px 4px 15px; min-height: 102px; border: 1px solid #ffffff10; border-radius: 8px; color: #c6cedb; background: #ffffff02; font-family: var(--font-body); cursor: pointer; }
.contribution:hover { border-color: #d7bb8550; }
.contribution[aria-pressed=true] { border-color: #d7bb85; background: #d7bb8509; box-shadow: inset 0 0 0 1px #d7bb8520; }
.contribution strong { font-size: 1.25rem; font-weight: 550; letter-spacing: -.05em; color: #ececf0; }
.contribution span { font-size: .61rem; color: #98a2b4; white-space: nowrap; }
.contribution-bonus { color: #d7bb85; font-size: .57rem; font-weight: 500; }
.app .calc { padding-top: 0; border-top: 0; margin-top: 22px; }
.app .calc label { display: flex; justify-content: space-between; color: #a5afbf; font-size: .73rem; font-weight: 500; }
.app .calc label span { font-size: .64rem; color: #78859a; }
.app .calc-row { position: relative; gap: 18px; flex-wrap: nowrap; }
.app .calc-row .input { width: 115px; padding-left: 27px; }
.app .calc-row .currency-prefix { position: absolute; left: 13px; color: #8a96a8; font-size: .8rem; }
.app .calc-arrow { color: #617086; }
.calc-receive { display: grid; gap: 2px; }
.app .calc-receive span { color: #7e8b9e; font-size: .64rem; }
.unsung-coin { display: block; flex: none; }
.calc-value, .contribution-reward { display: flex; align-items: center; gap: 7px; }
.contribution-reward { gap: 4px; }
.app .app-nav .unsung-coin { width: 18px; height: 18px; }
.app .quick-link .unsung-coin { width: 22px; height: 22px; }
.app .stat-label-coin { display: inline-flex; align-items: center; gap: 6px; }
.app .stat-label-coin .unsung-coin { width: 17px; height: 17px; }
.app .calc-row strong { font: 500 1rem var(--font-body); color: #dfc695; white-space: nowrap; }
.app .calc .hint { margin-top: 10px; font-size: .65rem; }
.payment-heading { padding-top: 24px; margin-top: 25px; border-top: 1px solid #ffffff0c; }
.app .network-chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); gap: 8px; margin-bottom: 21px; }
.app .chip { display: flex; align-items: center; justify-content: flex-start; gap: 8px; min-height: 43px; padding: 9px; border-radius: 7px; border-color: #ffffff10; background: #ffffff02; color: #9ea9bb; font-size: .68rem; }
.app .chip[aria-pressed=true] { border-color: #d7bb85aa; background: #d7bb8509; color: #eddbb8; }
.network-symbol { display: grid; place-items: center; flex: none; width: 25px; height: 25px; border-radius: 50%; background: #ffffff08; font-size: .52rem; font-weight: 650; }
.crypto-logo { display: block; flex: none; width: 24px; height: 24px; object-fit: contain; border-radius: 50%; }
.network-symbol:has(.crypto-logo) { background: none; }
.payment-assets { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0 16px; }
.payment-asset { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border: 1px solid #ffffff0e; border-radius: 6px; color: #aeb9ca; background: #ffffff02; font-size: .64rem; }
.payment-asset .crypto-logo { width: 17px; height: 17px; }
.network-name { overflow-wrap: anywhere; text-align: left; }
.pay-box { padding: 17px; border: 1px solid #d7bb8528; border-radius: 8px; background: #12161e; }
.address-heading { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; color: #c4cbd8; font-size: .73rem; font-weight: 500; }
.network-label { color: #d1bd95; font-size: .65rem; }
.app .pay-what { color: #8795ab; font-size: .7rem; margin-bottom: 10px; }
.app .address-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.app .address-row code { padding: 12px; border: 1px solid #ffffff0e; border-radius: 6px; background: #0c1017; color: #c6cfdd; font-size: .72rem; line-height: 1.8; }
.app .address-row .btn { justify-self: start; border-color: #ffffff18; background: #ffffff05; color: #bfc8d5; }
.app .pay-notes { padding-left: 14px; color: #7e8ba1; font-size: .65rem; line-height: 1.85; margin-top: 15px; }
.app .pay-notes li + li { margin-top: 6px; }
.payment-assurance { display: flex; align-items: flex-start; gap: 9px; margin-top: 18px; color: #75839a; font-size: .65rem; line-height: 1.8; }
.payment-assurance svg { flex: none; width: 15px; height: 15px; margin-top: 3px; color: #8ba593; }
.wallet-card { display: grid; justify-items: start; padding: 24px; border: 1px solid #d7bb8533; border-radius: 12px; background: radial-gradient(ellipse at top right, #ccb17b13, transparent 70%), #1c2027; }
.wallet-icon { display: grid; place-items: center; width: 35px; height: 35px; margin-bottom: 18px; border: 1px solid #d7bb8526; border-radius: 10px; color: #d7bb85; background: #d7bb8508; }
.wallet-icon svg { width: 21px; height: 21px; }
.wallet-card .wallet-icon { width: 44px; height: 44px; border: 0; background: none; }
.wallet-icon .unsung-coin { width: 44px; height: 44px; }
.wallet-label { color: #a6afbe; font-size: .72rem; }
.wallet-card strong { margin-top: 7px; color: #e7ce9f; font-size: 2.5rem; line-height: 1.2; font-weight: 500; letter-spacing: -.06em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; max-width: 100%; }
.wallet-unit { margin-top: 4px; color: #a28f70; font-size: .59rem; letter-spacing: .14em; }
.wallet-card p { padding-top: 18px; margin-top: 18px; width: 100%; border-top: 1px solid #ffffff0b; color: #7e899a; font-size: .68rem; }
.app .support-move { padding: 23px; }
.support-move .panel-heading { gap: 9px; margin-bottom: 22px; }
.app .support-move .panel-heading h2 { font-size: .84rem; }
.app .support-move .panel-heading p { font-size: .67rem; }
.app .support-move .btn { justify-content: space-between; margin-top: 7px; width: 100%; }
.app .support-move .fineprint { margin-top: 14px; font-size: .63rem; }
.history-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 31px 0 17px; }
.app .history-title { margin: 0 0 5px; font-size: .98rem; font-weight: 550; }
.history-heading p { color: #7f8ca1; font-size: .72rem; }
.app .table-wrap { border-radius: 9px; border-color: #ffffff0e; background: #191d26; }
.app .deposits { font-size: .74rem; }
.app .deposits th { padding: 14px 16px; background: #ffffff02; color: #7d8ba0; letter-spacing: .04em; font-size: .61rem; font-weight: 550; }
.app .deposits td { padding: 16px; color: #a8b4c6; }
.app .deposits td.num { color: #d9c296; font-weight: 500; }
.app .deposits a { color: #8b9aaf; text-decoration: none; }
.app .status { padding: 4px 8px; font-size: .6rem; font-weight: 550; border-radius: 5px; }
.app .status.credited { background: #8eb79b12; color: #95bda6; }
.app .status.seen, .app .status.confirmed { background: #c2a86b12; color: #cbb47c; }
.app .empty { font-size: .78rem; }
.app .section-label { font-size: 1rem; margin-top: 28px; }
.admin-shop { overflow: hidden; margin-bottom: 32px; border: 1px solid #3b3c40; border-radius: 12px; background: #181d26; color: #e5e9f1; }
.admin-shop-intro { display: flex; align-items: center; gap: 15px; padding: 24px; border-bottom: 1px solid #d1b68023; background: linear-gradient(110deg, #3c3227, #24252d 65%, #1c222c); }
.admin-shop-emblem { display: grid; place-items: center; flex: none; width: 45px; height: 45px; border: 1px solid #d9bc8552; border-radius: 10px; color: #f0d6a6; background: #d9bc8515; }
.admin-shop-emblem svg { width: 23px; height: 23px; }
.admin-shop-intro h2 { margin: 0 0 4px; font-size: 1.32rem; font-weight: 650; letter-spacing: -.025em; }
.admin-shop-intro p { margin: 0; color: #c5bbaa; font-size: .79rem; }
.shop-editor-grid { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(300px, 1.1fr); gap: 24px; padding: 24px; }
.shop-editor-tools, .shop-editor-part { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; margin: 0 0 12px; }
.shop-editor-tools label, .shop-editor-part-name { flex: 1; min-width: 120px; }
.shop-editor-grid label { display: grid; gap: 5px; margin-bottom: 10px; font-size: .8rem; }
.shop-editor-tools label { margin-bottom: 0; }
.shop-editor-grid .shop-editor-check { display: flex; align-items: center; }
.shop-editor-offers { display: grid; gap: 4px; max-height: 400px; overflow: auto; margin-bottom: 12px; }
.shop-editor-offers button { width: 100%; justify-content: space-between; gap: 8px; text-align: left; white-space: normal; }
.shop-editor-offer-name { flex: 1; }
.shop-editor-event-name { margin: 12px 0 4px; color: #e7c995; font-size: .84rem; font-weight: 650; }
.shop-editor-event-name:first-child { margin-top: 0; }
.shop-editor-offer-name small, .shop-editor-offer-price small { display: block; margin-top: 3px; color: #abb6ca; font-size: .68rem; }
.shop-editor-offer-price { text-align: right; white-space: nowrap; }
.shop-editor-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.shop-editor-filters [aria-pressed="true"] { color: #f4ddb2; border-color: #e4bf74; background: #e4bf7422; }
.shop-editor-grid fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.shop-editor-item-matches { display: grid; gap: 4px; max-height: 230px; overflow: auto; margin-bottom: 12px; }
.shop-editor-item-matches button { justify-content: start; text-align: left; white-space: normal; }
.shop-editor-thumb { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; background: #111720; border-radius: 5px; }
.shop-editor-thumb img, .shop-editor-sprite { width: 32px; height: 32px; object-fit: contain; }
.shop-editor-thumb svg { width: 19px; height: 19px; color: #d9bc85; }
.shop-editor-sprite { background: url("/art/shop/editor-icons.webp") no-repeat; }
.shop-editor-part label { width: 76px; margin: 0; }
.shop-editor-part button { margin-left: auto; }
.shop-editor-grid details { margin: 0 0 18px; padding: 12px; background: #ffffff08; border-radius: 8px; }
.shop-editor-rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding-top: 12px; }
.shop-editor-rules p { align-self: center; }
.shop-editor-status { margin: 0 0 12px; color: #e7c995; }
.shop-editor-history { padding: 15px 24px; border-top: 1px solid #ffffff13; font-size: .8rem; }
@media (max-width: 720px) { .shop-editor-grid { grid-template-columns: 1fr; padding: 16px; } }
.admin-shop-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 18px 20px; }
.admin-shop-stat { min-width: 0; padding: 14px; border: 1px solid #ffffff13; border-radius: 8px; background: #202631; }
.admin-shop-stat:first-child { border-color: #c6a36e42; background: linear-gradient(130deg, #342e28, #252833); }
.admin-shop-stat dt { display: flex; align-items: center; gap: 6px; min-height: 1.15rem; color: #c1cad9; font-size: .74rem; }
.admin-shop-stat svg { flex: none; width: 14px; height: 14px; color: #d9bc85; }
.admin-shop-stat dd { margin: 7px 0 0; font-size: clamp(1.18rem, 2.1vw, 1.65rem); font-weight: 650; line-height: 1.2; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.admin-shop-stat:first-child dd { color: #f0d6a6; }
.admin-shop-stat small { display: block; margin-top: 6px; color: #adb7c8; font-size: .71rem; font-weight: 450; }
.admin-shop-search { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 8px; padding: 4px 20px 16px; }
.admin-shop-search > div { flex: 1 1 165px; max-width: 360px; }
.admin-shop-search label { display: block; margin-bottom: 5px; color: #c1cad9; font-size: .75rem; }
.admin-shop-search .input { width: 100%; min-height: 40px; }
.admin-shop-table { width: 100%; border-collapse: collapse; text-align: left; }
.admin-shop-table th { padding: 10px 10px; background: #111720; color: #aab7cc; font-size: .68rem; font-weight: 600; white-space: nowrap; }
.admin-shop-table td { padding: 11px 10px; border-bottom: 1px solid #ffffff0d; font-size: .8rem; vertical-align: middle; }
.admin-shop-table tr > :first-child { width: 42%; padding-left: 20px; }
.admin-shop-table tr > :last-child { padding-right: 20px; }
.admin-shop-table tbody tr:nth-child(even) { background: #ffffff02; }
.admin-shop-table tbody tr:hover { background: #ffffff05; }
.admin-shop-qty, .admin-shop-price { white-space: nowrap; font-variant-numeric: tabular-nums; }
.admin-shop-price { color: #efd3a0; font-weight: 650; }
.admin-shop-price svg { display: inline-block; width: 14px; height: 14px; margin-right: 4px; color: #d9bc85; vertical-align: -2px; }
.admin-shop-date { color: #c4cede; white-space: nowrap; }
.admin-shop-table small { display: block; margin-top: 3px; color: #adbacd; font-size: .72rem; font-weight: 450; }
.admin-shop-price small { margin: 0; }
.admin-shop-product { display: flex; align-items: center; gap: 10px; }
.admin-shop-product > div, .admin-shop-buyer { min-width: 0; overflow-wrap: anywhere; }
.admin-shop-thumbnail { display: grid; place-items: center; flex: none; width: 39px; height: 39px; border: 1px solid #d9bc853b; border-radius: 7px; background: #131822; color: #cbb17e; }
.admin-shop-thumbnail img { width: 31px; height: 31px; object-fit: contain; }
.admin-shop-thumbnail svg { width: 17px; height: 17px; }
.admin-shop-delivered { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0 0; padding: 0; list-style: none; }
.admin-shop-delivered li { display: flex; align-items: center; gap: 5px; padding: 2px 5px; border: 1px solid #ffffff14; border-radius: 4px; color: #c6cfde; background: #ffffff05; font-size: .68rem; }
.admin-shop-delivered :is(img, svg) { flex: none; width: 15px; height: 15px; object-fit: contain; }
.admin-shop-pages { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 20px; color: #b4bfd1; font-size: .74rem; }
.admin-shop-pages > div:last-child { display: flex; gap: 6px; }
[data-admin-shop-matched] { display: block; margin-top: 4px; color: #e7c995; }
.admin-shop-pages button:disabled { opacity: .45; cursor: default; }
.admin-shop-message { margin: 0; padding: 4px 20px 20px; color: #bdc8da; font-size: .83rem; }
.admin-shop-mobile-label { display: none; }
.admin-shop [hidden] { display: none; }

.admin-sections { display: flex; flex-wrap: wrap; gap: 7px; margin: -5px 0 20px; }
.admin-sections a { padding: 9px 13px; border: 1px solid #ffffff17; border-radius: 7px; color: #bcc6d6; font-size: .79rem; text-decoration: none; }
.admin-sections a:hover, .admin-sections a[aria-current=page] { border-color: #d9bc8566; color: #f0d6a6; background: #d9bc8511; }
.admin-panel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.admin-panel-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; min-height: 112px; padding: 21px; border: 1px solid #ffffff17; border-radius: 11px; color: #e8edf5; background: #191f29; text-decoration: none; }
.admin-panel-card:hover { border-color: #d9bc8566; color: #fff; background: #212732; }
.admin-panel-card strong { display: block; margin-bottom: 4px; font-size: 1rem; font-weight: 650; }
.admin-panel-card small { display: block; color: #adb9ca; font-size: .78rem; line-height: 1.45; }
.admin-panel-icon { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #d9bc853d; border-radius: 9px; color: #efd4a3; background: #d9bc8511; }
.admin-panel-icon svg { width: 22px; height: 22px; }
.admin-panel-arrow { color: #d9bc85; font-size: 1.2rem; }
.admin-report-content { display: grid; min-width: 0; gap: 14px; }
.admin-report-state { margin: 0; color: #bac6d8; font-size: .86rem; }
.earnings-overview { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 14px; }
.earnings-total { display: grid; align-content: space-between; gap: 21px; padding: clamp(20px, 3vw, 33px); border: 1px solid #d9bc8550; border-radius: 11px; background: radial-gradient(ellipse at 4% 0%, #59442d 0, #302b2c 48%, #20252e 86%); }
.earnings-total h2 { margin: 0 0 4px; color: #eee4d3; font-size: .93rem; font-weight: 600; }
.earnings-total-main > strong { display: block; color: #f4d8a2; font-size: clamp(2.35rem, 5vw, 3.55rem); line-height: 1.14; letter-spacing: -.045em; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.earnings-total-main p { margin: 8px 0 0; color: #c9c4bd; font-size: .8rem; }
.earnings-total-coins { display: flex; gap: 9px; align-items: center; border-top: 1px solid #f4d8a228; padding-top: 13px; }
.earnings-total-coins div { display: flex; gap: 4px 8px; flex-wrap: wrap; align-items: baseline; color: #efdfc3; }
.earnings-total-coins span { color: #c9c4bd; font-size: .76rem; }
.earnings-checks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.earnings-periods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.earnings-overview .stat, .earnings-periods .stat { min-height: 0; }
.earnings-periods .stat-value { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.admin-earnings-chart, .admin-report-table { min-width: 0; }
.admin-earnings-chart h2 small { display: inline-block; margin-left: 5px; color: #9daabe; font-size: .7rem; font-weight: 400; }
.admin-report-table .deposits :is(th, td) { padding: 10px 11px; }
.admin-report-table .deposits th { color: #aab7cc; }
[data-admin-donors] tbody tr:first-child { background: #d9bc850e; }
.earnings-tables { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); gap: 14px; }
.admin-report [data-admin-players] { margin-bottom: 0; }
.admin-wallets .admin-shop-stats { grid-template-columns: 1.3fr 1fr 1fr; }
.admin-wallet-ranking { min-width: 0; margin: 0 20px 18px; border: 1px solid #ffffff13; border-radius: 8px; background: #1c232e; }
.admin-wallets h3 { color: #e4e8f0; font-size: .88rem; font-weight: 600; }
.admin-wallet-ranking h3 { margin: 0; padding: 12px 13px; border-bottom: 1px solid #ffffff0e; }
.admin-wallets .deposits :is(th, td) { padding: 9px 11px; }
.admin-wallets .deposits th { color: #aab7cc; }
.admin-wallets .deposits td { overflow-wrap: anywhere; }
.admin-wallet-table, .admin-wallet-audit .table-wrap, .admin-wallet-ranking .table-wrap { margin: 0; border: 0; border-radius: 0; }
.admin-wallet-accounts, .admin-wallet-adjust, .admin-wallet-audit { border-top: 1px solid #ffffff13; }
.admin-wallet-accounts .admin-shop-search { padding-top: 14px; }
.admin-wallet-account strong { color: #e1e8f2; }
.admin-wallet-account small { display: block; max-width: 28ch; margin-top: 3px; color: #aab7cc; font-size: .71rem; }
.admin-wallet-adjust { padding: 18px 20px; background: #212631; }
.admin-wallet-adjust h3 { margin: 0 0 4px; }
.admin-wallet-adjust [data-wallet-target] { margin: 0 0 12px; color: #edcf9b; font-size: .79rem; }
.admin-wallet-adjust fieldset { display: grid; grid-template-columns: auto minmax(90px, .5fr) minmax(140px, 1.5fr) auto; align-items: end; gap: 8px; margin: 0; padding: 0; border: 0; }
.admin-wallet-adjust label { color: #ccd4e1; font-size: .73rem; }
.admin-wallet-adjust .input { display: block; width: 100%; min-height: 40px; margin-top: 4px; }
.admin-wallet-adjust select.input { padding-right: 36px; }
.admin-wallet-adjust :disabled { opacity: .7; }
.admin-wallet-adjust [data-wallet-result] { margin: 10px 0 0; padding: 0; }
.admin-wallet-audit h3 { margin: 0; padding: 14px 20px; }
.admin-wallet-audit .deposits td:last-child { white-space: normal; min-width: 145px; }
.wallet-grant { color: #a8d5af; }
.wallet-deduction { color: #f3aaa1; }

@media (max-width: 1000px) {
  .admin-shop-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .earnings-tables { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .admin-panel-grid, .earnings-overview { grid-template-columns: minmax(0, 1fr); }
  .admin-panel-card { min-height: 86px; padding: 15px; }
  .earnings-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .earnings-periods { gap: 6px; }
  .app .earnings-periods .stat { padding: 10px 8px; }
  .app .earnings-periods .stat-value { font-size: clamp(1rem, 4vw, 1.4rem); }
  .admin-shop-intro, .admin-shop-stats, .admin-shop-search, .admin-shop-pages { padding-left: 14px; padding-right: 14px; }
  .admin-shop-stat { padding: 10px; }
  .admin-shop-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .admin-shop-table, .admin-shop-table tbody { display: block; }
  .admin-shop-table tbody tr { display: grid; grid-template-columns: 1fr auto auto; gap: 10px 14px; padding: 13px 14px; border-top: 1px solid #ffffff12; }
  .admin-shop-table tbody tr > td { min-width: 0; padding: 0; border: 0; }
  .admin-shop-table tbody tr > :first-child { grid-column: 1 / -1; width: auto; padding-left: 0; }
  .admin-shop-table tbody tr > :last-child { grid-column: 1 / -1; }
  .admin-shop-date small { display: inline; margin-left: 5px; }
  .admin-shop-mobile-label { display: block; margin-bottom: 3px; color: #aab7cc; font-size: .66rem; font-weight: 500; }
  .admin-wallets .admin-shop-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-wallets .admin-shop-stat:first-child { grid-column: 1 / -1; }
  .admin-wallet-ranking { margin-left: 14px; margin-right: 14px; }
  .admin-wallet-adjust { padding-left: 14px; padding-right: 14px; }
  .admin-wallet-adjust fieldset { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-wallet-adjust label:last-of-type { grid-column: 1 / -1; }
  .admin-wallet-adjust .btn { justify-self: start; }
}
@media (max-width: 1200px) {
  .member-view .app { grid-template-columns: 185px minmax(0, 1fr); gap: 25px; }
  .app .support-grid { grid-template-columns: minmax(0, 1fr) 250px; gap: 16px; }
  .app .support-pay { padding: 20px; }
  .contribution { min-height: 95px; }
}
@media (max-width: 1000px) {
  .app .support-grid { grid-template-columns: minmax(0, 1fr); }
  .support-aside { grid-template-columns: .9fr 1.1fr; align-items: start; }
  .app .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .member-view .app { grid-template-columns: minmax(0, 1fr); padding-top: 18px; gap: 26px; }
  .app .app-side { position: static; display: grid; grid-template-columns: 1fr auto; min-height: 0; padding: 0 0 10px; border: 0; border-bottom: 1px solid #ffffff0e; }
  .portal-label, .app-side-bottom { display: none; }
  .app .app-profile { padding: 0 0 12px; }
  .app .app-nav { grid-column: 1 / -1; grid-row: 2; flex-direction: row; gap: 4px; margin: 7px 0 0; overflow: auto; }
  .app .app-nav a { flex: none; padding: 9px 11px; font-size: .75rem; border: 0; }
  .app .app-nav a[aria-current=page]::before { display: none; }
  .app .app-logout { grid-column: 2; grid-row: 1; width: auto; align-self: start; }
  .app .app-head { margin-bottom: 23px; }
  .portal-banner { padding: 24px; }
  .portal-banner::before { right: 4px; width: 48%; opacity: .18; }
  .app .app-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .support-aside { grid-template-columns: minmax(0, 1fr); }
  .app .support-pay, .app .support-move { padding: 19px; }
  .contribution-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contribution { min-height: 99px; }
  .app .calc-row { gap: 13px; }
  .app .calc-row .input { width: 100px; }
  .app .calc-row strong { font-size: .87rem; }
  .calc-receive { min-width: 0; }
  .calc-value { gap: 5px; }
  .calc-value .unsung-coin { width: 21px; height: 21px; }
  .app .calc-value strong { white-space: normal; }
  .app .activity li { grid-template-columns: minmax(0, 1fr) auto; }
  .app .activity time { grid-column: 1; }
  .app .stat { padding: 16px; }
  .app .stat-value { font-size: 1.5rem; }
}
