
:root{color-scheme:dark;--base:#101a16;--surface:#1a2720;--border:#35473b;--text:#f4f1e7;--soft:#bcc8b9;--gold:#e7bf78;--green:#afd0b4;font:16px/1.55 'Microsoft JhengHei','PingFang TC',system-ui,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;background:var(--base);scrollbar-color:#65736a var(--base)}body{margin:0;color:var(--text);background:var(--base)}[hidden]{display:none!important}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer;color:inherit}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.24}input,textarea,select{color:var(--text);background:#111c17;border:1px solid var(--border);padding:.65rem .8rem;border-radius:.55rem;min-width:0}textarea{resize:vertical}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--gold);outline-offset:3px}.wrap{width:min(1180px,calc(100% - 52px));margin:auto}.top{background:var(--base)}.bar{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:1rem}.brand{display:flex;align-items:center;gap:.7rem;font-weight:750;letter-spacing:.1em;white-space:nowrap}.brand small{display:block;color:var(--soft);font-size:.75rem;letter-spacing:.15em}.mark{background:#d4ae70;color:#18241b;display:grid;place-items:center;border-radius:10px;width:42px;height:42px;font-size:1.35rem}.bar nav{display:flex;align-items:center;gap:clamp(.7rem,2.6vw,2.2rem);color:var(--soft);font-size:.92rem;white-space:nowrap}.bar button{border:0;background:none;padding:0}.admin-link{border:1px solid var(--border);padding:.42rem .7rem;border-radius:.45rem}.hero{min-height:440px;display:flex;align-items:center;background:linear-gradient(90deg,#111c17 0%,#111c17ed 24%,#111c1755 60%,#111c170e),url('/botanicals.jpg') center 54%/cover}.hero-inner{padding:65px 0}.kicker{font-size:.85rem;color:var(--gold);letter-spacing:.2em;font-weight:750}.kicker span{display:inline-block;width:24px;height:1px;vertical-align:middle;margin-right:.35rem;background:var(--gold)}.hero h1{font-family:'Noto Serif TC','Songti TC','PMingLiU',serif;font-size:clamp(3.2rem,8vw,6.1rem);letter-spacing:.1em;margin:.43rem 0 .65rem}.intro{color:#e0e7dc;font-size:1.07rem;line-height:1.85;margin-bottom:1.65rem}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;padding:.61rem 1rem;border-radius:.5rem;font-weight:750;border:1px solid transparent}.primary{background:var(--gold);color:#18231a}.primary:hover{background:#f6d69a}.secondary{background:#22332a;border-color:var(--border)}.catalog{padding:45px 0 62px;scroll-margin-top:20px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:1rem}.section-heading h2,.dashboard h1{font-size:clamp(1.9rem,4vw,2.7rem);margin-top:.3rem}.filters{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.85rem}.filters button{padding:.43rem .85rem;border-radius:99px;border:1px solid var(--border);background:#17251d;color:var(--soft)}.filters button.selected{color:var(--gold);background:#342e22;border-color:#92794a}.demo,.muted,#chat-note{color:var(--soft);font-size:.9rem}.demo{margin-bottom:1rem}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.card{border:1px solid var(--border);background:var(--surface);border-radius:.75rem;overflow:hidden;display:flex;flex-direction:column}.card-content{padding:1rem;flex:1;display:flex;flex-direction:column;gap:.45rem}.card h3{font-size:1.25rem}.card p{min-height:2.8em;color:var(--soft);font-size:.88rem}.card .secondary{margin-top:auto}.row{display:flex;gap:.65rem;align-items:center;justify-content:space-between}.price{font-weight:800;color:var(--gold);font-variant-numeric:tabular-nums}.stock{font-size:.82rem;color:var(--green)}.stock.empty{color:#e5ae91}.foot{padding:1.1rem 0;display:flex;justify-content:space-between;color:var(--soft);font-size:.9rem}footer{background:var(--base)}#floating{position:fixed;bottom:22px;right:22px;border:1px solid #c4a26b;background:#23362a;border-radius:99px;padding:.7rem 1rem;font-weight:750}.visually-hidden{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
dialog{width:min(490px,calc(100% - 24px));max-height:90dvh;overflow:auto;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:14px;padding:1.15rem}dialog::backdrop{background:#000a}.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:.8rem}.dialog-head button{background:none;border:0;font-size:1.7rem;line-height:1;padding:.25rem}.detail-body>*+*{margin-top:.7rem}.detail-body svg{display:block;width:100%;height:110px;background:#111c17;border-radius:.45rem}.messages{display:flex;flex-direction:column;gap:.65rem;max-height:42dvh;overflow:auto;margin:.75rem 0;white-space:pre-wrap;overflow-wrap:anywhere}.message{padding:.55rem .7rem;border-radius:.55rem;background:#111c17;max-width:91%}.message.outgoing{align-self:end;background:#364834}.message small{display:block;color:var(--soft);font-size:.76rem}#chat-form,.reply{display:grid;gap:.55rem}#chat-form button,.reply button{justify-self:end}.dashboard{min-height:75vh;padding:36px 0 60px}.dashboard h2{font-size:1.2rem;margin-bottom:.65rem}.panel{background:var(--surface);padding:1rem;border:1px solid var(--border);border-radius:.75rem;min-width:0}.login{max-width:410px;display:grid;gap:.65rem}.login button{justify-self:start}label:not(.visually-hidden){display:grid;gap:.25rem}.inbox{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:1rem}.threads{display:grid;gap:.4rem}.thread{padding:.6rem;background:#111c17;border:1px solid var(--border);text-align:left;border-radius:.45rem;width:100%;overflow-wrap:anywhere}.thread.selected{border-color:var(--gold)}.thread span{display:block;color:var(--soft);font-size:.88rem}.inventory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.inventory form{display:grid;gap:.55rem}.inventory button{justify-self:start}#admin-note{color:var(--gold);margin-bottom:.7rem}
@media(max-width:850px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{min-height:380px}}@media(max-width:570px){.wrap{width:calc(100% - 28px)}.bar{min-height:64px}.brand{gap:.45rem}.brand small,.bar nav a[href='/#catalog']{display:none}.mark{width:32px;height:32px;font-size:1.05rem}.bar nav{font-size:.82rem}.hero{min-height:355px;background-position:64% 50%;background-image:linear-gradient(90deg,#111c17 0%,#111c17dc 22%,#111c174d 100%),url('/botanicals.jpg')}.hero-inner{padding:45px 0}.catalog{padding:30px 0 55px}.section-heading{align-items:stretch;flex-direction:column;gap:.6rem}.dashboard .section-heading{flex-direction:row;align-items:end}.grid{gap:.55rem}.card-content{padding:.7rem;gap:.4rem}.card h3{font-size:1.07rem}.card .row{flex-wrap:wrap;gap:.2rem .5rem}.inbox,.inventory{grid-template-columns:1fr}#floating{bottom:12px;right:12px}.intro{font-size:1rem}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}


@media (max-width: 570px) {
  html { -webkit-text-size-adjust: 100%; }
  .wrap { width: calc(100% - 32px); }
  .bar nav { gap: .55rem; }
  .bar nav button, .admin-link { display: inline-flex; align-items: center; min-height: 44px; }
  .hero { min-height: 330px; background-position: 62% 50%; }
  .hero-inner { padding: 40px 0 48px; }
  .hero h1 { font-size: clamp(2.65rem, 11vw, 4.4rem); }
  .primary, .secondary, .filters button { min-height: 44px; }
  .card .secondary { width: 100%; padding-inline: .35rem; }
  .catalog .demo { font-size: .82rem; }
  .foot { padding-bottom: calc(4.35rem + env(safe-area-inset-bottom)); }
  .foot a { padding: .2rem 0; }
  #floating { right: max(14px, env(safe-area-inset-right)); bottom: calc(14px + env(safe-area-inset-bottom)); min-height: 46px; }
  dialog { position: fixed; inset: auto 0 0; width: 100%; max-width: none; max-height: 88dvh; margin: 0; border-radius: 18px 18px 0 0; padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom)); }
  .dialog-head button { width: 44px; min-height: 44px; }
  .dashboard { padding: 28px 0 34px; }
  #chat-input { min-height: 65px; }
  #chat-form { grid-template-columns: minmax(0,1fr) auto; align-items: end; }
  #chat-form button { padding-inline: .8rem; }
}
@media (max-width: 350px) {
  .bar { gap: .4rem; }
  .bar nav { gap: .35rem; }
  .brand { letter-spacing: .035em; }
  .admin-link { padding-inline: .36rem; }
  .card-content { padding-inline: .55rem; }
}



.standards { color: #223429; padding: clamp(30px, 5.2vw, 65px) 0; text-align: center; }
.standards-kicker { color: #695126; font-weight: 750; font-size: .88rem; letter-spacing: .17em; }
.standards h2 { color: #193027; font-family: 'Noto Serif TC','Songti TC','PMingLiU',serif; font-size: clamp(1.62rem, 5vw, 2.8rem); letter-spacing: .08em; margin: .35rem 0 1.35rem; }
.standards-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
.standards-grid li { padding: 1rem .5rem; }
.standards-grid li+li { border-left: 1px solid #dcd3be; }
.standards-grid svg { display: block; margin: 0 auto .45rem; width: 34px; height: 34px; fill: none; stroke: #836327; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.standards-grid h3 { font-size: 1.04rem; margin: .22rem 0; }
.standards-grid p { color: #4d5144; font-size: .83rem; }
.product-photo { width: 100%; display: block; aspect-ratio: 1.55; object-fit: cover; object-position: center; background: var(--base); }
@media (max-width: 570px) {
  .standards-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .standards-grid li:nth-child(3) { border-left: 0; }
  .standards-grid li:nth-child(n+3) { border-top: 1px solid #dcd3be; }
  .standards-grid li { padding: .85rem .2rem; }
  .standards h2 { margin-bottom: .85rem; }
}



.detail-photo { aspect-ratio: 2.1; border-radius: .5rem; }

.grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.card { padding: .65rem; background: #f5f0e4; border-color: #daceb4; color: #26362b; display: grid; gap: .7rem; grid-template-columns: minmax(0, 36%) minmax(0, 1fr); align-items: stretch; }
.card-media { display: block; width: 100%; padding: 0; border: 1px solid #8f8c70; position: relative; min-height: 160px; border-radius: .45rem; overflow: hidden; background: var(--base); }
.card-media .product-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.sale-badge { position: absolute; top: .38rem; right: .38rem; padding: .24rem .48rem; border-radius: .25rem; font-size: .79rem; font-weight: 790; color: #fff; line-height: 1.3; }
.sale-badge.available { background: #b84817; }
.sale-badge.sold { background: #606761; }
.card-content { padding: .1rem .18rem; gap: .32rem; min-width: 0; }
.card-title, .card-meta { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: .1rem .45rem; }
.card h3 { color: #223629; font-size: clamp(1.03rem, 3.8vw, 1.27rem); overflow-wrap: anywhere; }
.card .price { color: #75521d; font-size: clamp(.85rem, 3.4vw, 1.05rem); white-space: nowrap; }
.card p { min-height: 0; font-size: .8rem; color: #4d5749; overflow-wrap: anywhere; }
.card-meta { margin-top: .23rem; }
.card-meta strong { font-size: .83rem; }
.card .stock { color: #515f50; font-size: .78rem; }
.trend { display: block; width: 100%; height: auto; min-width: 0; }
.trend-scroll { min-width: 0; max-width: 100%; overflow-x: auto; }
.trend-scroll .trend-wide, #trade-chart .trend-scroll .trend-wide { width: auto; min-width: 100%; }
.trend text { fill: #4a5347; font-size: 10px; font-variant-numeric: tabular-nums; }
.chart-grid { stroke: #d6cebb; fill: none; stroke-width: 1; }
.chart-fill { fill: #d3aa5c; fill-opacity: .28; }
.chart-line { fill: none; stroke: #856121; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.purchase { align-self: flex-end; background: #735522; color: #fff; border: 0; min-height: 44px; padding: .35rem .7rem; border-radius: .4rem; font-size: .83rem; font-weight: 730; }
.purchase:hover { background: #583d15; }
.card button:focus-visible { outline-color: #7b581e; }
.detail-body .trend { height: auto; background: #f5f0e4; padding: .25rem; }
@media (max-width: 950px) { .grid { grid-template-columns: 1fr; } }
@media (max-width: 570px) { .card { padding: .52rem; gap: .62rem; } .card-content { padding-inline: 0; } .sale-badge { top: .3rem; right: .3rem; } .grid { gap: .8rem; } }



:root { font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif; --soft: #d0dace; --gold: #f2ce88; }
.hero h1, .standards h2 { font-family: inherit; font-weight: 800; }
.hero { background-image: linear-gradient(90deg,#0c1712 0%,#0c1712e8 24%,#0c17123a 61%,#0c171200),url('/botanicals.jpg'); }
.intro { color: #f1f5ed; font-weight: 500; }
.hero h1 { letter-spacing: .075em; }
.standards-kicker { color: #664913; }
.standards h3 { font-weight: 780; }
.standards-grid p { font-size: .9rem; color: #454e40; }
.card h3 { color: #172a20; font-weight: 800; }
.card p { color: #36493a; font-size: .875rem; }
.card .stock { color: #314c38; font-size: .835rem; font-weight: 690; }
.chart-grid { stroke: #c5b698; }
.chart-line { stroke: #745017; stroke-width: 2.25; }
.chart-fill { fill: #c29142; fill-opacity: .25; }
.trend text { font-size: 11.5px; fill: #283a2d; font-weight: 620; }
.sale-badge { font-size: .85rem; }
.sale-badge.available {
  background: linear-gradient(145deg, #bd4f20 0%, #a83d17 53%, #803010 100%);
  border: 1px solid #e39048;
  box-shadow: inset 0 1px 0 #ffd9a34d, 0 2px 5px #17170f44;
}
.sale-badge.sold {
  background: linear-gradient(145deg, #666e6b 0%, #555c59 55%, #404845 100%);
  border: 1px solid #939b96;
  box-shadow: inset 0 1px 0 #e6eee840, 0 2px 5px #17170f44;
}
.card-media .product-photo { object-fit: cover; }
@media (max-width:570px) {
  .hero { background-image: linear-gradient(90deg,#0d1812f5 0%,#0d1812bb 26%,#0d181229 90%),url('/botanicals.jpg'); }
  .hero h1 { font-size: clamp(2.7rem, 11.3vw, 4.4rem); }
  .intro { line-height: 1.7; }
  .card-title { row-gap: .23rem; }
  .card .price { font-size: .98rem; }
}

.sale-badge.hot { background: #9d2f28; }

.foot { align-items: baseline; gap: 1rem; flex-wrap: wrap; }
@media (min-width: 480px) and (max-width: 570px) { html.hd-preview body { zoom: 1.36; } }

/* A larger desktop canvas renders the phone preview at two physical CSS pixels per layout pixel. */
@media (min-width: 740px) and (max-width: 880px) {
  html.hd-preview body { zoom: 2; -webkit-text-size-adjust: 100%; }
  .hd-preview .wrap { width: calc(100% - 32px); }
  .hd-preview .bar { min-height: 64px; }
  .hd-preview .brand { gap: .45rem; }
  .hd-preview .brand small, .hd-preview .bar nav { display: none; }
  .hd-preview .mark { width: 32px; height: 32px; font-size: 17px; }
  .hd-preview .hero { min-height: 330px; background-position: 62% 50%; background-image: linear-gradient(90deg,#0d1812f6 0%,#0d1812cb 28%,#0d181222 92%),url('/botanicals.jpg'); }
  .hd-preview .hero-inner { padding: 40px 0 48px; }
  .hd-preview .hero h1 { font-size: 45px; }
  .hd-preview .intro { font-size: 16px; line-height: 27px; }
  .hd-preview .standards h2 { font-size: 26px; margin-bottom: 14px; }
  .hd-preview .standards-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hd-preview .standards-grid li { padding: 14px 4px; }
  .hd-preview .standards-grid li:nth-child(3) { border-left: 0; }
  .hd-preview .standards-grid li:nth-child(n+3) { border-top: 1px solid #dcd3be; }
  .hd-preview .catalog { padding: 30px 0 55px; }
  .hd-preview .card { padding: 8px; gap: 10px; }
  .hd-preview .card-content { padding: 2px 0; }
  .hd-preview .card h3 { font-size: 18px; }
  .hd-preview .card .price { font-size: 15px; }
  .hd-preview .card p { font-size: 14px; }
  .hd-preview #floating { right: 14px; bottom: 14px; }
  .hd-preview .foot { padding-bottom: 68px; }
  .hd-preview dialog { position: fixed; inset: auto 0 0; width: 100%; max-width: none; max-height: 88dvh; margin: 0; border-radius: 18px 18px 0 0; }
  .hd-preview .inbox, .hd-preview .inventory { grid-template-columns: 1fr; }
}


/* Continue the front page's botanical palette through the quality section. */
.standards {
  padding: clamp(38px, 5.5vw, 76px) 0;
  color: #fbf6e9;
  background: var(--base);
}
.standards .wrap { display: grid; gap: 26px; min-width: 0; }
.standards-heading { align-self: center; }
.standards-kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #e3bf83;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
}
.standards-kicker::before, .standards-kicker::after {
  content: "";
  width: 18px;
  height: 1px;
  background: #aa834e;
}
.standards h2 {
  color: #f8efd9;
  font-size: clamp(26px, 3.6vw, 42px);
  line-height: 1.18;
  margin: .42rem 0 0;
  letter-spacing: .035em;
}
.standards-grid {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
}
.standards-grid li, .standards-grid li+li, .standards-grid li:nth-child(n+3) {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0,1fr);
  align-content: center;
  align-items: center;
  text-align: left;
  gap: 2px 10px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #ab8b5852;
  border-radius: 11px;
  background: #18251e;
}
.standards-grid li svg {
  box-sizing: border-box;
  grid-row: 1 / span 2;
  width: 40px;
  height: 40px;
  padding: 7px;
  margin: 0;
  border: 1px solid #a8865054;
  border-radius: 11px;
  background: #242d23;
  stroke: #f1c985;
}
.standards-grid li h3 { color: #f8efd9; font-size: 16px; margin: 0; }
.standards-grid li p { color: #d1dace; font-size: 14px; line-height: 1.45; }

.phone-preview { overflow: auto; }
.phone-preview-frame {
  width: 390px;
  margin-inline: auto;
  outline: 1px solid var(--border);
}
.phone-preview-frame iframe {
  display: block;
  width: 390px;
  height: 844px;
  border: 0;
  background: var(--base);
}
@media (min-width: 951px) {
  .standards .wrap { grid-template-columns: minmax(0,.8fr) minmax(0,1.62fr); gap: 34px; text-align: left; }
  .standards-kicker::after { display: none; }
}
@media (max-width: 570px) {
  .standards .wrap { gap: 19px; }
  .standards-grid li, .standards-grid li+li, .standards-grid li:nth-child(n+3) { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 4px; padding: 11px 6px 12px; }
  .standards-grid li svg { grid-row: auto; margin-bottom: 2px; }
  .standards-grid li p { font-size: 13px; }
}
@media (min-width: 740px) and (max-width: 880px) {
  .hd-preview .standards .wrap { gap: 19px; }
  .hd-preview .standards-grid li, .hd-preview .standards-grid li+li, .hd-preview .standards-grid li:nth-child(n+3) { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 4px; padding: 11px 6px 12px; border: 1px solid #ab8b5852; }
  .hd-preview .standards-grid li svg { grid-row: auto; margin-bottom: 2px; }
  .hd-preview .standards-grid li p { font-size: 13px; }
}


.member-entry { display: inline-flex; align-items: center; min-height: 44px; padding: .15rem .55rem; color: var(--gold); white-space: nowrap; }
.member-entry:hover { text-decoration: underline; }
.member-auth { max-width: 31rem; }
.member-form, .member-account { display: grid; gap: .85rem; }
.member-form .primary, .member-form .secondary { justify-self: start; }
.member-note { color: var(--gold); margin: 0 0 .7rem; }
.member-note:empty { display: none; }
.member-total { display: block; color: var(--gold); font-size: clamp(1.62rem, 6vw, 2.65rem); overflow-wrap: anywhere; }
.member-admin button { min-height: 44px; }
.member-row { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding-block: .65rem; border-top: 1px solid var(--border); overflow-wrap: anywhere; }
.member-row small, .member-holding-form small, .member-admin-caption small { display: block; color: var(--soft); font-size: .85rem; }
.member-row > strong { text-align: right; }
.record-tone.pending { color: #ffb36b; }
.record-tone.positive { color: #6de4d5; }
.record-tone.negative { color: #ff928b; }
.member-admin { display: grid; grid-template-columns: minmax(0,1fr); gap: 1rem; }
.member-results { display: grid; gap: .4rem; }
.member-holding-form { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .55rem; align-items: end; padding: .55rem 0; border-bottom: 1px solid var(--border); }
.member-admin h3 { margin-block: .75rem .35rem; }
.member-review { border-bottom: 1px solid var(--border); padding-bottom: .65rem; }
#member-request-dialog .member-form { margin-top: .75rem; }
#bank-dialog {
  width: min(28rem, calc(100% - 1.25rem));
  max-height: calc(100dvh - 1.25rem);
  padding: clamp(1rem, 4.5vw, 1.55rem);
  border: 1px solid #776749;
  border-radius: 1.25rem;
  background: radial-gradient(ellipse at top left, #273b30, transparent 60%), #182820;
  color: #f3eee2;
  color-scheme: dark;
  box-shadow: 0 18px 54px #060e0bb3, inset 0 1px #f0ce8a16;
}
#bank-dialog .dialog-head { gap: .75rem; padding-bottom: .8rem; margin-bottom: .9rem; border-bottom: 1px solid #726247; }
#bank-dialog h2 { margin: 0; font-size: clamp(1.14rem, 5vw, 1.4rem); letter-spacing: .015em; }
#bank-dialog .dialog-head button { display: grid; place-items: center; flex: 0 0 2.2rem; height: 2.2rem; border: 1px solid #516454; border-radius: 50%; background: #1b2b22; color: #e5d5b5; }
#bank-dialog .member-form { gap: .65rem; }
#bank-dialog label { gap: .3rem; font-size: .9rem; font-weight: 650; }
#bank-dialog input {
  width: 100%; min-width: 0; min-height: 44px;
  padding: .56rem .75rem; border: 1px solid #41574a; border-radius: .65rem;
  background: #112019; color: #f3eee2; font-size: 1rem; font-weight: 400;
}
#bank-dialog input::placeholder { color: #a6b4aa; opacity: 1; }
#bank-dialog input:focus { border-color: #b7955f; outline: 2px solid #d6b578; outline-offset: 1px; }
.bank-label-line { display: flex; align-items: center; gap: .45rem; }
.bank-label-line small { color: #bdc9bf; font-weight: 450; }
#bank-note { margin: 0; color: #ffc0b9; }
#bank-note:empty { display: none; }
#bank-dialog button.primary { justify-self: stretch; min-height: 44px; margin-top: .25rem; border-color: #e0bd81; border-radius: .65rem; background: linear-gradient(180deg,#f4d8a3,#dab678); color: #263026; }
#bank-dialog button.primary:hover:not(:disabled) { background: #f5dba9; }

.admin-members-header { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .7rem; padding-bottom: .85rem; border-bottom: 1px solid var(--border); }
.admin-members-header h2 { margin: 0; font-size: clamp(1.15rem, 2vw, 1.45rem); letter-spacing: .025em; }
.admin-members-tools { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; }
.admin-members-tools button { gap: .4rem; font-size: .85rem; }
.admin-members-directory { grid-column: 1 / -1; min-width: 0; }
.admin-directory-dialog { width: min(720px,calc(100% - 24px)); }
.admin-directory-dialog :is(.dialog-head h2,.admin-member-identity h3) { margin: 0; }
#admin-member-detail { border: 1px solid var(--border); border-radius: .75rem; overflow: hidden; }
#admin-member-dialog-note { color: var(--gold); margin-bottom: .5rem; }
#admin-member-dialog-note:empty { display: none; }
.admin-pending-toolbar { display: flex; justify-content: flex-end; margin-bottom: .55rem; }
.admin-members-heading { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .65rem; }
.member-admin .admin-members-heading h3 { margin: 0; font-size: .98rem; }
#admin-member-count, #admin-pending-count { display: inline-flex; align-items: center; padding: .14rem .46rem; border: 1px solid #536653; border-radius: 99px; color: var(--soft); font-size: .72rem; white-space: nowrap; }
#admin-member-count:empty, #admin-pending-count:empty { display: none; }
#admin-pending-count { margin-inline-start: .25rem; }
#member-search, .admin-grid-search { display: flex; justify-content: flex-end; gap: .45rem; margin-bottom: .75rem; }
#member-search input, .admin-grid-search input { flex: 1; min-width: 0; max-width: 22rem; }
#member-search input { width: 100%; font-size: .8rem; padding-inline: .5rem; }
#member-search button, #admin-pending-refresh { padding-inline: .65rem; white-space: nowrap; font-size: .82rem; }
.admin-member-toolbar { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: .55rem; margin-bottom: .6rem; }
.admin-member-toolbar #member-search { margin: 0; }
.admin-member-toolbar :is(button,input,summary) { min-height: 34px; }
.admin-member-toolbar button { border-radius: .25rem; padding: .35rem .55rem; }
.admin-member-toolbar button:disabled { opacity: .5; cursor: default; }
.admin-member-more { position: relative; }
.admin-member-more summary { display: grid; align-items: center; cursor: pointer; padding: .35rem .65rem; background: #293a32; border: 1px solid var(--border); border-radius: .25rem; font-size: .85rem; }
.admin-member-menu { position: absolute; z-index: 2; top: calc(100% + .3rem); min-width: max-content; padding: .4rem; display: grid; gap: .3rem; background: var(--surface); border: 1px solid var(--border); border-radius: .4rem; }
.admin-data-table.admin-member-table { min-width: 0; }
.admin-member-table :is(th,td) { padding: .4rem .35rem; font-size: .78rem; text-align: center; border-right: 1px solid var(--border); }
.admin-member-table td:is(:nth-child(7),:nth-child(9)) { min-width: 5.5rem; white-space: normal; }
.admin-member-table :is(th,td):last-child { border-right: 0; }
.admin-member-table [type="checkbox"] { width: 14px; height: 14px; vertical-align: middle; accent-color: var(--gold); }
.admin-member-table .admin-member-avatar { margin-inline: auto; width: 26px; height: 26px; object-fit: cover; border-radius: .2rem; font-size: .78rem; }
.member-account-cell { font-variant-numeric: tabular-nums; }
.member-grid-actions { display: flex; justify-content: center; gap: .25rem; }
.member-grid-actions .admin-table-action { border-radius: .25rem; }
.member-grid-actions .deposit-review-icon { min-width: 2rem; padding: .25rem; font-size: 1rem; line-height: 1.25; }
.deposit-review-icon.approve { color: #bbefc8; border-color: #4e7f59; }
.deposit-review-icon.reject { color: #ffb9b2; border-color: #925952; }
#deposit-review-submit.reject { color: #fff; background: #a43c35; border-color: #a43c35; }
.member-grid-actions [data-member-funds] { border-color: #8e7650; color: var(--gold); }
.admin-funds-dialog {
  width: min(34rem, calc(100% - 24px));
  padding: 0;
  border: 1px solid #465b4a;
  border-radius: 1.2rem;
  background: #19271f;
  box-shadow: 0 24px 72px #050b08b3;
}
.admin-funds-dialog::backdrop { background: #080e0bc4; }
.admin-funds-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: 1.1rem 1.35rem .95rem;
  border-bottom: 1px solid #34463b;
  background: #1d2e24;
}
.admin-funds-header h2 { margin: 0; font-size: 1.18rem; letter-spacing: .04em; }
.admin-funds-close {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid #405447;
  border-radius: .65rem;
  background: #24382c;
  color: #dce7df;
  font-size: 1.35rem;
  line-height: 1;
}
.admin-funds-close:hover { background: #304337; }
#admin-member-funds-form { display: grid; gap: 1rem; padding: 1.15rem 1.35rem 0; }
.admin-funds-account {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .9rem;
  padding: .9rem 1rem;
  border: 1px solid #455d4c;
  border-radius: .9rem;
  background: linear-gradient(120deg, #293e30, #1d3026);
}
.admin-funds-identity { display: flex; align-items: center; min-width: 0; gap: .65rem; }
.admin-funds-identity div, .admin-funds-balance { display: grid; gap: .25rem; min-width: 0; }
#admin-funds-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 2.5rem;
  height: 2.5rem;
  background: #3b4634;
  border: 1px solid #675f45;
  border-radius: .7rem;
  color: #f1ce89;
  font-weight: 700;
}
#admin-funds-member, #admin-funds-account { overflow-wrap: anywhere; }
#admin-funds-account, .admin-funds-balance span { color: #bdcbbf; font-size: .78rem; }
.admin-funds-balance { text-align: right; }
#admin-funds-current { color: #f3d496; font-size: 1.32rem; font-variant-numeric: tabular-nums; }
.admin-funds-field { display: grid; gap: .4rem; }
.admin-funds-field label { font-size: .88rem; font-weight: 650; }
.admin-funds-amount {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: 0 .82rem;
  background: #111d17;
  border: 1px solid #435a4b;
  border-radius: .7rem;
}
.admin-funds-amount:focus-within { border-color: #d3aa67; box-shadow: 0 0 0 2px #d3aa6736; }
.admin-funds-amount span:first-child { color: #e9c480; font-weight: 700; }
#admin-funds-currency { flex-shrink: 0; color: #bdcbbf; font-size: .78rem; }
#admin-funds-target {
  flex: 1;
  min-width: 0;
  min-height: 3rem;
  padding: .5rem 0;
  border: 0;
  outline: none;
  box-shadow: none;
  background: transparent;
  appearance: textfield;
  font-size: 1.12rem;
  font-variant-numeric: tabular-nums;
}
#admin-funds-target::-webkit-inner-spin-button, #admin-funds-target::-webkit-outer-spin-button { appearance: none; margin: 0; }
#admin-funds-reason { min-height: 5.1rem; resize: vertical; border-radius: .7rem; }
#admin-funds-change { justify-self: start; padding: .24rem .55rem; border-radius: .4rem; background: #273c30; color: #c7d6c9; font-size: .78rem; }
#admin-funds-change[data-direction="increase"] { color: #9fe1ae; }
#admin-funds-change[data-direction="decrease"] { color: #ffc0a8; }
#admin-funds-note { color: #ffe2a8; font-size: .85rem; }
#admin-funds-note:empty { display: none; }
.admin-funds-actions {
  display: flex;
  justify-content: flex-end;
  gap: .55rem;
  margin: .1rem -1.35rem 0;
  padding: .85rem 1.35rem;
  border-top: 1px solid #34463b;
  background: #17241c;
}
.admin-funds-actions button { min-height: 2.65rem; padding-inline: 1rem; border-radius: .65rem; }
@media (max-width: 430px) {
  .admin-funds-header { padding-inline: .95rem; }
  #admin-member-funds-form { padding-inline: .95rem; }
  .admin-funds-actions { margin-inline: -.95rem; padding-inline: .95rem; }
  .admin-funds-account { grid-template-columns: minmax(0,1fr); padding: .75rem; }
  .admin-funds-balance { text-align: left; }
}
.finance-reason { display: block; max-width: 18rem; margin-top: .25rem; white-space: normal; overflow-wrap: anywhere; color: var(--soft); }
.member-grid-status { color: #edaa99; }
.member-grid-active { color: #a0deb2; }
.member-grid-status::before { content: '●'; margin-inline-end: .3em; }
#admin-member-edit-form { display: grid; gap: .65rem; }
#admin-member-edit-form > label { display: grid; grid-template-columns: minmax(5rem,7rem) minmax(0,1fr); align-items: center; gap: .75rem; }
#admin-member-edit-form :is(input:not([type="radio"]),fieldset) { min-width: 0; }
#admin-member-edit-form fieldset { display: flex; flex-wrap: wrap; gap: .8rem; margin: 0; border: 1px solid var(--border); border-radius: .45rem; }
#admin-member-edit-form fieldset label { display: flex; align-items: center; }
.admin-member-edit-actions { display: flex; gap: .45rem; padding-top: .65rem; border-top: 1px solid var(--border); }
#admin-member-edit-note:empty { display: none; }
#admin-member-edit-note { color: var(--gold); }
.admin-member-avatar { display: grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid #897754; border-radius: .65rem; color: var(--gold); background: #2b3c30; font-size: .95rem; font-weight: 700; }
.admin-finance { display: grid; gap: 1rem; min-width: 0; }
.admin-grid-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: .6rem; }
.admin-data-table { width: 100%; min-width: 650px; border-collapse: collapse; font-size: .85rem; }
.admin-data-table :is(th,td) { padding: .55rem .7rem; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--border); }
.admin-data-table th { background: #23362a; color: var(--soft); font-size: .78rem; }
.admin-data-table tbody tr { background: #192920; }
.admin-data-table tbody tr:nth-child(even) { background: #1e2f25; }
.admin-data-table tbody tr:hover, .admin-data-table tbody tr:has([aria-pressed="true"]) { background: #2c3d30; }
.admin-data-table tbody tr:last-child td { border-bottom: 0; }
.admin-data-table .admin-grid-empty { height: 6rem; color: var(--soft); text-align: center; }
.admin-table-name { display: inline-flex; align-items: center; gap: .55rem; font-weight: 650; }
.admin-table-money { color: var(--gold); font-variant-numeric: tabular-nums; }
.admin-table-money.is-negative { color: #ff928b; }
.admin-table-money.is-positive { color: #6de4d5; }
.admin-data-table .admin-table-action, .admin-pager button { min-height: 32px; padding: .25rem .65rem; border-radius: .45rem; font-size: .78rem; }
.admin-table-action[aria-pressed="true"] { color: var(--gold); border-color: #897754; }
.admin-status-label { display: inline-block; padding: .12rem .45rem; border: 1px solid var(--border); border-radius: .4rem; color: var(--gold); }
.admin-status-label.is-success { color: #6de4d5; border-color: #3f847a; background: #1c3c35; }
.admin-status-label.is-failed { color: #ffc0b9; border-color: #a95650; background: #462724; }
.admin-pager, .admin-pager-controls { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; }
.admin-pager { justify-content: space-between; margin-top: .75rem; color: var(--soft); font-size: .8rem; }
.admin-pager label { display: flex; align-items: center; gap: .25rem; }
.admin-pager select { padding: .2rem .4rem; min-height: 32px; }
.admin-pager button:disabled { opacity: .45; cursor: default; }
.admin-list-empty { padding: .6rem; background: #15221a; border-radius: .55rem; font-size: .8rem; }
.admin-member-identity { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: .65rem; align-items: center; padding: .95rem; border-bottom: 1px solid #514933; background: linear-gradient(112deg,#2b3d30,#1b2c23); }
.admin-member-identity .admin-member-avatar { width: 2.7rem; height: 2.7rem; font-size: 1.2rem; }
.admin-member-identity h3 { overflow-wrap: anywhere; }
.admin-member-identity p { color: var(--soft); margin-top: .18rem; font-size: .82rem; overflow-wrap: anywhere; }
.admin-member-id { color: var(--gold); font-size: .75rem; white-space: nowrap; }
.admin-member-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .55rem; margin: .85rem .85rem .65rem; }
.admin-member-metrics > div { display: grid; gap: .18rem; align-content: start; padding: .55rem .65rem; background: #14231a; border: 1px solid var(--border); border-radius: .65rem; }
.admin-member-metrics dt, .admin-savings-breakdown dt { color: var(--soft); font-size: .75rem; }
.admin-member-metrics dd, .admin-savings-breakdown dd { margin: 0; color: var(--gold); font-size: clamp(.95rem,2vw,1.23rem); font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.admin-member-metrics .admin-metric-hint { color: var(--soft); font-size: .75rem; font-weight: 400; }
.admin-member-sections { display: grid; gap: .52rem; padding: 0 .85rem .85rem; }
.admin-member-section { border: 1px solid var(--border); border-radius: .65rem; background: #15251c; min-width: 0; }
.admin-member-section summary { display: flex; align-items: center; gap: .5rem; min-height: 44px; padding: .45rem .65rem; cursor: pointer; font-size: .88rem; font-weight: 680; }
.admin-member-section summary::-webkit-details-marker { display: none; }
.admin-member-section summary small { margin-inline-start: auto; color: var(--soft); font-weight: 400; white-space: nowrap; }
.admin-member-section summary::after { content: "›"; margin-inline-start: auto; color: var(--gold); font-size: 1.15rem; }
.admin-member-section summary:has(small)::after { margin-inline-start: 0; }
.admin-member-section[open] summary::after { rotate: 90deg; }
.admin-member-section[open] summary { border-bottom: 1px solid var(--border); }
.admin-member-section-content { padding: .7rem; }
.admin-member-section-content > h4 { margin: .3rem 0 .6rem; font-size: .87rem; }
.admin-member-section-content .member-review:last-child { border-bottom: 0; padding-bottom: 0; }
.admin-savings-breakdown { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .6rem; margin: 0 0 .65rem; }
.admin-member-gift { margin-bottom: 1rem; }
@media (max-width: 490px) {
  .admin-member-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .admin-member-metrics > div:last-child { grid-column: 1 / -1; }
}
@media (min-width: 740px) and (max-width: 880px) { .hd-preview .bar nav { display: flex; } .hd-preview .bar nav > :not(.member-entry) { display: none; } .hd-preview .member-admin { grid-template-columns: 1fr; } }


.member-auth { max-width: 32rem; margin-inline: auto; }
.auth-intro { padding: 1.05rem .2rem 1.2rem; }
.auth-intro h1 { margin-block: .3rem .55rem; font-size: clamp(1.8rem, 6vw, 2.5rem); }
.auth-intro p, .auth-panel small { color: var(--soft); }
.auth-panel { background: #17241d; padding: clamp(.85rem, 4vw, 1.4rem); }
.auth-switch { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 1.05rem; padding: .2rem; border-radius: .8rem; background: #0f1a14; }
.auth-switch button { min-height: 44px; border-radius: .6rem; }
.auth-panel .member-form { gap: .65rem; }
.auth-panel .member-form label { font-weight: 650; }
.auth-panel .member-form input, #member-recovery-form input { width: 100%; min-height: 46px; font-size: 16px; }
.auth-panel small { font-size: .85rem; font-weight: 400; }
.auth-submit { width: 100%; margin-top: .4rem; }
.auth-options, .auth-consent { display: flex; gap: .6rem; align-items: center; justify-content: space-between; }
.auth-consent { justify-content: flex-start; align-items: start; }
.auth-options .auth-check { display: inline-flex; align-items: center; gap: .55rem; }
.auth-panel .member-form input[type=checkbox] { width: 18px; min-height: 18px; flex: 0 0 18px; accent-color: #e4bb74; margin: 0; }
.auth-consent input { margin-top: .32rem !important; }
.auth-consent label { display: inline !important; }
.auth-required { color: var(--gold); font-size: .83rem; }
.text-action { border: 0; padding: .15rem .2rem; background: none; color: var(--gold); text-decoration: underline; cursor: pointer; font: inherit; }
.password-control, .phone-control { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; border: 1px solid var(--border); border-radius: .55rem; background: #101a14; }
.password-control input, .phone-control input { border: 0; }
.password-toggle { min-width: 50px; min-height: 44px; padding-inline: .35rem; color: var(--gold); background: transparent; border: 0; border-radius: .35rem; font-size: .84rem; }
.phone-control { grid-template-columns: auto minmax(0,1fr); }
.phone-control span { color: var(--soft); padding: 0 .6rem; border-right: 1px solid var(--border); }
.account-policy-copy, #member-recovery .member-form { display: grid; gap: .85rem; margin-top: .6rem; }
.auth-code { display: block; max-width: 100%; overflow-wrap: anywhere; margin: .65rem 0; padding: .55rem .7rem; border: 1px solid var(--border); border-radius: .5rem; background: #0f1a14; color: var(--gold); font-family: ui-monospace, monospace; }
.member-invite-admin { margin-block: .8rem; }
@media (max-width: 570px) { .member-page:has(#member-auth:not([hidden])) { padding-top: .85rem; } }


.brand { min-width: 0; }
.brand-name { white-space: normal; overflow-wrap: anywhere; line-height: 1.3; }
.brand .mark { flex-shrink: 0; }
.hero h1 { font-size: clamp(2.8rem, 6.1vw, 5.1rem); letter-spacing: .045em; }
.hero h1 span { display: inline-block; }
@media (max-width: 570px) {
  .brand-name { font-size: .95rem; letter-spacing: .025em; }
  .hero h1 { font-size: clamp(1.95rem, 8.7vw, 3rem); }
  .hero h1 span { display: block; }
}
@media (min-width: 740px) and (max-width: 880px) {
  .hd-preview .brand-name { font-size: .95rem; letter-spacing: .025em; }
  .hd-preview .hero h1 { font-size: 2rem; }
  .hd-preview .hero h1 span { display: block; }
}

.sale-badge.pending { background: #34473d; color: #f4f1e7; border: 1px solid #617266; } .empty-trend { padding-block: .28rem; }

.member-sections {
  display: grid; grid-template-columns: 1fr 1fr; gap: .4rem;
  padding: .25rem; border: 1px solid var(--border); border-radius: .8rem; background: #101b15;
}
.member-sections button {
  min-height: 44px; border: 1px solid transparent; border-radius: .55rem;
  background: transparent; color: var(--soft); font-weight: 720; cursor: pointer;
}
.member-sections button[aria-pressed=true] { border-color: #746249; background: #2e3326; color: var(--gold); }
.member-asset-row {
  display: grid; grid-template-columns: 3.3rem minmax(0,1fr) auto; align-items: center;
  gap: .7rem; padding: .75rem 0; border-top: 1px solid var(--border); min-width: 0;
}
.member-asset-row img { width: 3.3rem; height: 3.3rem; object-fit: cover; border-radius: .45rem; }
.member-asset-row h3 { font-size: 1rem; margin: 0 0 .15rem; }
.member-asset-row small { display: block; color: var(--soft); overflow-wrap: anywhere; }
.asset-holding-value { display: grid; justify-items: end; gap: .25rem; text-align: right; }
.asset-holding-value strong { overflow-wrap: anywhere; color: var(--gold); font-size: .94rem; }
.asset-holding-value a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 .45rem; border-radius: .4rem; background: #322b27; color: #ffb0a9; font-size: .82rem; font-weight: 650; }
.asset-holding-value a:hover { background: #44322a; }
.member-page:has(#member-account:not([hidden]) #member-profile-pane:not([hidden])) { max-width: 42rem; }
.member-page:has(#member-profile-pane:not([hidden])) #member-account-heading h1 {
  font-size: clamp(1.8rem, 6.8vw, 2.45rem); letter-spacing: .06em;
}
.member-page:has(#member-profile-pane:not([hidden])) #member-account-heading .kicker,
.member-page:has(#member-profile-pane:not([hidden])) #member-logout,
body:has(#member:not([hidden]) #member-account:not([hidden]) #member-profile-pane:not([hidden])) #floating {
  display: none;
}
.member-page:has(#member-profile-pane:not([hidden])) .member-sections button[aria-pressed=true] {
  border-color: #8c754e; background: #2f3327;
}
#member-sync-note { padding: .6rem .8rem; border: 1px solid #756140; border-radius: .65rem; font-size: .875rem; }
.profile-card { overflow: hidden; padding: 0; border-radius: 1rem; background: #192720; }
.profile-card h2 { margin: 0; font-size: 1.05rem; letter-spacing: .035em; }
.profile-identity {
  position: relative; isolation: isolate; display: grid;
  grid-template-columns: clamp(3.5rem,17vw,4.5rem) minmax(0,1fr); align-items: center;
  gap: .9rem; padding: 1.1rem 1rem .85rem;
  border-color: #796644; background: linear-gradient(115deg, #324337, #22352b 72%, #1e2f26);
}
.profile-identity::before {
  content: ""; position: absolute; z-index: -1; inset: 0 0 0 auto; width: 52%;
  background: repeating-radial-gradient(ellipse at right center, transparent 0 12px, #f3cf8d23 13px 14px, transparent 15px 22px);
  mask-image: linear-gradient(90deg, transparent, #000 86%);
}
.profile-identity-text { display: grid; justify-items: start; min-width: 0; }
.profile-identity-text strong { font-size: 1.28rem; line-height: 1.3; overflow-wrap: anywhere; }
.profile-identity p { margin-top: .22rem; color: var(--soft); font-size: .75rem; }
.profile-avatar {
  display: grid; place-items: center; position: relative; overflow: hidden; aspect-ratio: 1; border-radius: 1.07rem;
  border: 1px solid #bd9b63; background: #213328; color: #f3d096; font-size: 1.65rem; font-weight: 750;
  box-shadow: inset 0 0 0 3px #c4a26b20;
}
.profile-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.profile-card svg, .profile-logout svg {
  width: 1.1rem; height: 1.1rem; flex-shrink: 0; fill: none; stroke: currentColor;
  stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round;
}
.profile-avatar-action {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0;
  border: 0; border-radius: .3rem; background: transparent; color: var(--gold); font-size: .875rem; font-weight: 680;
}
.profile-avatar-action:hover { text-decoration: underline; }
.profile-card-body { padding: .9rem .95rem .3rem; }
.profile-card-body h2 { margin-bottom: .55rem; }
.profile-data { margin: 0; }
.profile-data > div {
  display: grid; grid-template-columns: 4.25rem minmax(0,1fr); gap: .65rem; align-items: center;
  min-height: 46px; padding-block: .6rem; border-top: 1px solid var(--border);
}
.profile-data dt { display: flex; align-items: center; gap: .52rem; color: var(--soft); font-size: .875rem; }
.profile-data dt svg { color: #e2bd80; }
.profile-data dd { margin: 0; overflow-wrap: anywhere; text-align: end; font-variant-numeric: tabular-nums; }
.profile-setting {
  display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: .65rem;
  width: 100%; min-height: 52px; padding: .45rem 0; border: 0; border-top: 1px solid var(--border);
  background: transparent; text-align: start; font-size: .9rem; font-weight: 650;
}
.profile-setting:hover { color: #f3d096; }
.profile-setting .asset-action-icon { width: 2rem; height: 2rem; border-radius: .62rem; }
.profile-logout {
  display: flex; justify-content: center; align-items: center; gap: .5rem; min-height: 46px;
  padding: .55rem .8rem; border: 1px solid #a45f59; border-radius: .75rem;
  background: linear-gradient(120deg, #682f30, #4e2529); color: #ffe4e1; font-weight: 750;
}
.profile-logout:hover { background: #743638; }
@media (max-width: 360px) { .member-asset-row { grid-template-columns: 2.6rem minmax(0,1fr) auto; gap: .5rem; } .member-asset-row img { width: 2.6rem; height: 2.6rem; } }


.purchase { display: inline-grid; place-items: center; }
#trade-receipt-body { margin-bottom: .7rem; }
.admin-invoice-form, #admin-gift-form { padding-bottom: .7rem; }
@media print {
  body:has(#trade-receipt-dialog[open]) > :not(#trade-receipt-dialog) { display: none !important; }
  #trade-receipt-dialog[open] { position: static; margin: 0; width: 100%; max-width: none; max-height: none; color: #111; background: #fff; border: 0; }
  #trade-receipt-dialog[open]::backdrop { background: transparent; }
  #trade-receipt-dialog button { display: none; }
  #trade-receipt-dialog .muted, #trade-receipt-dialog dt { color: #444; }
}

.admin-pending-heading { margin-block: .9rem .4rem; } .admin-pending-heading h2 { margin: 0; }


#trade-page {
  --trade-ink: #f3eee0;
  --trade-muted: #becabe;
  --trade-line: #405348;
  --trade-surface: #1a2a21;
  --trade-control: #142218;
  --trade-gold: #f1ce88;
  display: grid; gap: 1rem; padding-block: 1rem 2.5rem; color: var(--trade-ink);
}
.trade-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: .6rem; align-items: center; min-height: 42px; }
.trade-nav a { color: var(--trade-gold); font-weight: 650; text-decoration: none; }
.trade-nav a:hover { text-decoration: underline; }
.trade-nav-label { font-weight: 750; }
.trade-assets-link { justify-self: end; }
.trade-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(320px,1fr); gap: 1rem; align-items: start; }
.trade-surface { min-width: 0; border: 1px solid var(--trade-line); border-radius: .9rem; background: var(--trade-surface); }
.trade-detail, .trade-spec, .trade-last-order { grid-column: 1; }
.trade-detail { overflow: hidden; }
.trade-loading { margin: 1rem; color: var(--trade-muted); }
.trade-gallery { background: #1c2e23; }
.trade-gallery img { display: block; width: 100%; height: clamp(250px,42vw,480px); object-fit: cover; object-position: center; }
.trade-product-summary, .trade-order-card, .trade-spec, .trade-last-order { padding: clamp(1rem,2.6vw,1.4rem); }
.trade-product-meta, .trade-order-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .55rem; }
.trade-product-meta { align-items: flex-start; color: var(--trade-muted); font-size: .88rem; }
.trade-product-status { display: inline-block; padding: .24rem .58rem; border-radius: .32rem; font-weight: 700; background: #314437; color: #dbe7da; }
.trade-product-status.available { background: #244b36; color: #d5f0d8; }
.trade-product-status.hot { background: #9d2f28; color: #fff; }
.trade-product-status.sold { background: #393e36; color: #e0e3da; }
.trade-product-summary h1 { margin: .22rem 0 .55rem; color: var(--trade-ink); font-size: clamp(1.75rem,4vw,2.45rem); line-height: 1.12; }
.trade-product-summary p { color: var(--trade-muted); line-height: 1.5; margin: .65rem 0 0; }
.trade-product-actions { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: .55rem .85rem; }
.trade-price-block { display: flex; gap: .32rem; align-items: baseline; flex-wrap: wrap; }
.trade-price-block > span { flex-basis: 100%; color: var(--trade-muted); font-size: .84rem; }
.trade-price-block strong { color: var(--trade-gold); font-size: clamp(1.45rem,5vw,2rem); font-variant-numeric: tabular-nums; }
.trade-price-block small { color: var(--trade-muted); }
.trade-order-card { grid-column: 2; grid-row: 1 / span 3; position: sticky; top: 1rem; }
.trade-order-heading h2, .trade-spec h2 { font-size: 1.18rem; margin: 0; }
.trade-order-heading span { color: var(--trade-muted); font-size: .83rem; }
.trade-side-switch { display: grid; grid-template-columns: 1fr 1fr; gap: .28rem; padding: .25rem; border-radius: .65rem; background: var(--trade-control); margin: .75rem 0; }
.trade-side-switch button { min-height: 44px; border: 1px solid transparent; border-radius: .46rem; background: transparent; color: #c8d8c8; font-weight: 750; }
.trade-side-switch button[aria-pressed=true] { background: #326348; color: #fff; }
.trade-side-switch [data-trade-side="sell"][aria-pressed=true] { background: #ab332d; color: #fff; }
.trade-stat { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: .45rem; margin: 0 0 .85rem; }
.trade-stat > div { min-width: 0; padding: .52rem; border: 1px solid var(--trade-line); border-radius: .48rem; background: var(--trade-control); overflow-wrap: anywhere; }
.trade-stat span { display: block; color: var(--trade-muted); font-size: .8rem; }
.trade-stat strong { font-size: .97rem; font-variant-numeric: tabular-nums; }
.trade-form { display: grid; gap: .65rem; }
.trade-quantity-row, .trade-submit-bar { display: flex; justify-content: space-between; align-items: center; gap: .6rem; }
.trade-quantity-row label { display: block; font-weight: 700; }
.trade-quantity-row label span { color: var(--trade-muted); font-weight: 500; font-size: .82rem; }
.trade-quantity-controls { display: flex; align-items: center; flex-wrap: wrap; justify-content: end; gap: .4rem; }
#trade-sell-all { min-height: 43px; padding: 0 .5rem; color: #ffb0a9; border-color: #875650; }
.trade-stepper { display: grid; grid-template-columns: 42px minmax(46px,58px) 42px; min-height: 43px; border: 1px solid var(--trade-line); border-radius: .5rem; overflow: hidden; }
.trade-stepper button, .trade-stepper input { width: 100%; min-width: 0; padding: .2rem; text-align: center; border: 0; border-radius: 0; color: var(--trade-ink); background: #294033; }
.trade-stepper input { background: var(--trade-control); border-inline: 1px solid var(--trade-line); appearance: textfield; }
.trade-stepper input::-webkit-outer-spin-button,.trade-stepper input::-webkit-inner-spin-button { appearance: none; margin: 0; }
.trade-stepper button:disabled { opacity: .48; }
.trade-side-note { color: var(--trade-muted); font-size: .88rem; margin: 0; }
.trade-error { color: #ffaba1; margin: 0; }
.trade-error:empty { display: none; }
.trade-submit-bar { display: grid; grid-template-columns: minmax(0,1fr) auto; border-top: 1px solid var(--trade-line); padding-top: .75rem; }
.trade-submit-bar .trade-error { grid-column: 1 / -1; }
.trade-submit-bar span { display: block; color: var(--trade-muted); font-size: .86rem; }
.trade-submit-bar strong { color: var(--trade-gold); font-size: 1.25rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
#trade-submit { min-height: 46px; min-width: 8rem; padding: .55rem .8rem; border: 0; border-radius: .52rem; font-weight: 750; background: #326348; color: white; }
#trade-submit:disabled { background: #344b3d; color: #d0dccf; }
.trade-order-card[data-side="sell"] #trade-submit { background: #ab332d; color: #fff; }
.trade-order-card[data-side="sell"] #trade-submit:disabled { background: #60362f; color: #ffdad2; }
.trade-order-card[data-side="sell"] .trade-submit-bar strong { color: #ffada2; }
.trade-spec h3 { font-size: 1rem; margin: .9rem 0 .5rem; }
.trade-spec-list { margin: .65rem 0 0; }
.trade-spec-list > div { display: grid; grid-template-columns: 5rem 1fr; gap: .5rem; border-top: 1px solid var(--trade-line); padding: .5rem 0; }
.trade-spec-list dt { color: var(--trade-muted); }
.trade-spec-list dd { margin: 0; }
#trade-chart .trend { width: 100%; max-height: 260px; padding: .25rem; border-radius: .45rem; background: var(--trade-control); }
#trade-chart .trend text { fill: #ccdbcb; }
#trade-chart .chart-grid { stroke: #455d4b; }
#trade-chart .chart-line { stroke: #e9c377; }
#trade-chart .chart-fill { fill: #c69b54; }
.trade-picker-trigger { display: flex; align-items: center; justify-content: space-between; gap: .8rem; width: min(100%,28rem); min-height: 62px; padding: .6rem .9rem; text-align: left; color: var(--trade-ink); background: var(--trade-surface); border: 1px solid var(--trade-line); border-radius: .7rem; }
.trade-picker-trigger:hover { background: #24382b; }
.trade-picker-trigger small { display: block; color: var(--trade-muted); }
.trade-picker-chevron { width: .58rem; height: .58rem; margin-right: .2rem; border-right: 2px solid var(--trade-gold); border-bottom: 2px solid var(--trade-gold); transform: rotate(45deg) translateY(-.12rem); }
.trade-picker-dialog { width: min(100% - 1.3rem,34rem); max-height: min(80dvh,39rem); padding: .85rem; color: #f3eee0; background: #1a2a21; border: 1px solid #405348; }
.trade-picker-dialog .dialog-head { padding-inline: .2rem; }
.trade-picker-dialog .dialog-head button { color: #f3eee0; }
.trade-confirm-dialog { background: #1a2a21; border-color: #405348; padding: clamp(1rem,4vw,1.5rem); }
.trade-confirm-dialog .dialog-head { justify-content: center; }
.trade-confirm-dialog h2 { font-size: 1.25rem; margin: 0; }
.trade-confirm-details { margin: 0; padding: .25rem .8rem; border: 1px solid #405348; border-radius: .75rem; background: #14221b; }
.trade-confirm-details > div { display: grid; grid-template-columns: 5em minmax(0,1fr); align-items: start; gap: .5rem; padding: .55rem 0; }
.trade-confirm-details > div + div { border-top: 1px solid #304338; }
.trade-confirm-details dt { color: var(--soft); }
.trade-confirm-details dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.trade-confirm-number { font-size: .82rem; font-variant-numeric: tabular-nums; }
.trade-confirm-total dd { color: var(--gold); font-size: 1.1rem; font-weight: 700; }
.trade-confirm-check { display: grid; place-items: center; width: 3rem; height: 3rem; margin: 0 auto .85rem; border-radius: 50%; background: #294737; color: #a8e1b9; font-size: 1.75rem; }
.trade-confirm-check[hidden], .trade-confirm-actions button[hidden] { display: none; }
.trade-confirm-actions { display: flex; justify-content: flex-end; gap: .5rem; margin-top: .9rem; }
.trade-confirm-dialog[data-side="sell"] #trade-confirm-submit { background: #ab332d; color: #fff; }
.trade-confirm-dialog[data-side="sell"] #trade-confirm-submit:not(:disabled):hover { background: #bf4038; }
.trade-confirm-dialog[data-side="sell"] #trade-confirm-submit:disabled { background: #60362f; color: #ffdad2; }
.trade-picker-list { list-style: none; display: grid; gap: .4rem; padding: 0; margin: .65rem 0 0; }
.trade-picker-item { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; position: relative; gap: .6rem; width: 100%; min-height: 59px; padding: .35rem .55rem; text-align: left; color: #f3eee0; background: #22352a; border: 1px solid #405348; border-radius: .6rem; }
.trade-picker-item:hover, .trade-picker-item[aria-current="true"] { background: #304538; border-color: #9b8857; }
.trade-picker-item[aria-current="true"] { padding-right: 1.7rem; }
.trade-picker-item img { width: 48px; height: 48px; object-fit: cover; border-radius: .4rem; }
.trade-picker-name { min-width: 0; }
.trade-picker-name strong, .trade-picker-name small { display: block; overflow-wrap: anywhere; }
.trade-picker-name small { color: #becabe; }
.trade-picker-price { font-size: .86rem; font-weight: 700; font-variant-numeric: tabular-nums; color: #f1ce88; }
.trade-picker-selected { position: absolute; right: .5rem; color: #f1ce88; font-weight: 800; }

.brand-group { display: flex; align-items: center; min-width: 0; gap: .85rem; }
.bar .site-menu-trigger {
  display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; padding: 0;
  border: 1px solid #8c754e; border-radius: .75rem; background: linear-gradient(145deg, #29382e, #1a2720);
  color: #f0ce91; box-shadow: inset 0 0 0 2px #111c1780;
}
.bar .site-menu-trigger:hover {
  border-color: #c4a26b; background: #303e31;
}
.bar .site-menu-trigger:active { background: #18271f; }
.site-menu-trigger span, .site-menu-trigger span::before, .site-menu-trigger span::after {
  display: block; height: 1.5px; width: 18px; border-radius: 1px; background: currentColor;
}
.site-menu-trigger span { position: relative; }
.site-menu-trigger span::before, .site-menu-trigger span::after { content: ""; position: absolute; left: 0; }
.site-menu-trigger span::before { top: -5px; }
.site-menu-trigger span::after { top: 5px; width: 12px; }
.site-menu-trigger:not([hidden]) + .brand { position: relative; padding-inline-start: .8rem; }
.site-menu-trigger:not([hidden]) + .brand::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 50%; translate: 0 -50%;
  width: 1px; height: 1.25rem; background: #8c754e85;
}
.site-menu-trigger:not([hidden]) + .brand .brand-name {
  color: #f4eddd; font-weight: 750; letter-spacing: .06em; line-height: 1.25;
}
#site-menu {
  position: fixed; inset: 0 auto 0 0; margin: 0; width: min(78%,19rem); max-width: none;
  height: 100dvh; max-height: none; padding: max(1rem,env(safe-area-inset-top)) .85rem max(1rem,env(safe-area-inset-bottom));
  border: 0; border-right: 1px solid #405549; border-radius: 0; box-shadow: .5rem 0 2rem #08160b40;
  color: #f2eee1; background: #18261e; transform: translateX(-100%);
  transition: transform .23s ease, display .23s allow-discrete, overlay .23s allow-discrete;
  overscroll-behavior: contain;
}
#site-menu[open] { transform: translateX(0); }
@starting-style { #site-menu[open] { transform: translateX(-100%); } }
#site-menu::backdrop { background: #0a140f72; backdrop-filter: blur(2px); }
body:has(#site-menu[open]) { overflow: hidden; }
#site-menu .dialog-head { padding-bottom: .75rem; border-bottom: 1px solid #405549; gap: .4rem; margin-bottom: .6rem; }
#site-menu .dialog-head button { min-width: 44px; min-height: 44px; color: #f2eee1; }
.site-menu-brand { display: flex; align-items: center; min-width: 0; gap: .6rem; }
.site-menu-brand .mark { flex-shrink: 0; }
.site-menu-brand h2 { font-size: .98rem; overflow-wrap: anywhere; }
.site-menu-links { display: grid; gap: .28rem; }
.site-menu-links :is(a, button) { display: flex; align-items: center; min-height: 46px; padding: .44rem .7rem; border: 1px solid transparent; border-radius: .48rem; background: transparent; text-align: start; }
.site-menu-links :is(a, button):hover { background: #263b2e; }
.site-menu-links a[aria-current="page"] { background: #3d3829; border-color: #746640; color: #f3d398; font-weight: 750; }
@media (prefers-reduced-motion: reduce) { #site-menu { transition: none; } }
@media (max-width: 570px) {
  .brand-group { gap: .6rem; }
  .site-menu-trigger:not([hidden]) + .brand { padding-inline-start: .6rem; }
  .site-menu-trigger:not([hidden]) + .brand .mark { display: none; }
}
@media (max-width: 360px) {
  .brand-group { gap: .45rem; }
  .site-menu-trigger:not([hidden]) + .brand { padding-inline-start: .45rem; }
  .site-menu-trigger:not([hidden]) + .brand .brand-name { font-size: .875rem; letter-spacing: .02em; }
}

.savings-calculator {
  margin-block: 1.15rem; padding: clamp(1rem, 3vw, 1.65rem);
  background: radial-gradient(ellipse at top right, #354133, transparent 70%), #1a2720;
  border: 1px solid #8c754e; border-radius: 1.1rem;
  box-shadow: inset 0 1px 0 #edd3a01c;
}
.savings-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .45rem .75rem; margin-bottom: .95rem; }
.savings-heading h2 { font-size: clamp(1.2rem, 4.8vw, 1.6rem); letter-spacing: .035em; }
.savings-rate { color: #edce96; font-size: .78rem; white-space: nowrap; padding: .22rem .55rem; border: 1px solid #8c754e; border-radius: 99px; background: #2e3328; }
.savings-rate strong { margin-inline-start: .2rem; font-size: .95rem; }
.savings-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: end; gap: .65rem; }
.savings-fields label, .savings-result span { color: var(--soft); font-size: .85rem; }
.savings-input {
  display: flex; align-items: center; gap: .4rem; margin-top: .25rem; padding-inline: .65rem;
  border: 1px solid var(--border); background: var(--base); border-radius: .6rem;
}
.savings-input span { color: var(--gold); font-size: .9rem; }
.savings-input:focus-within { outline: 2px solid var(--gold); outline-offset: 2px; }
.savings-input input { width: 100%; min-height: 44px; border: 0; padding: .4rem 0; background: transparent; }
.savings-input input:focus-visible { outline: none; }
.savings-result { display: grid; align-content: center; gap: .15rem; padding: 0 0 .15rem .75rem; border-inline-start: 1px solid #aa8a5866; }
.savings-result output { color: #f1ce90; font-size: clamp(1.25rem, 5.5vw, 2rem); line-height: 1.24; font-weight: 750; overflow-wrap: anywhere; }
.savings-input input, .savings-result output { font-variant-numeric: tabular-nums; }
.savings-hint { color: var(--soft); margin-top: .6rem; font-size: .8rem; }
#savings-error { color: #f3c4ae; }
.savings-entry {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 44px;
  margin-top: .8rem; padding: .45rem .8rem; border: 1px solid #b79765; border-radius: .65rem;
  background: #30392d; color: #f4d39a; font-size: .9rem; font-weight: 750;
}
.savings-entry:hover { background: #3d4535; }
#savings-page { display: grid; gap: .9rem; max-width: 37rem; padding-top: 1.35rem; }
.savings-wallet-nav { display: flex; justify-content: space-between; gap: .5rem; }
.savings-back { display: inline-flex; align-items: center; justify-self: start; min-height: 44px; color: var(--gold); font-size: .85rem; }
.savings-back:hover { text-decoration: underline; }
.savings-page-heading { margin: 0; letter-spacing: .08em; }
.savings-account {
  position: relative; isolation: isolate; overflow: hidden; margin: 0; padding: clamp(1rem, 4vw, 1.6rem);
  background: linear-gradient(135deg, #303d30, #1d2d24 75%);
}
.savings-account::before {
  content: ""; position: absolute; z-index: -1; top: 0; right: 0; width: 53%; height: 68%;
  background: repeating-radial-gradient(ellipse at top right, transparent 0 12px, #d3b07521 13px 14px, transparent 15px 20px);
  mask-image: linear-gradient(225deg, #000, #0000 72%);
}
.savings-account-top { display: flex; justify-content: space-between; align-items: center; gap: .6rem; }
.savings-account h2 { color: #ede4d0; font-size: .9rem; letter-spacing: .06em; margin: 0; }
.savings-wallet { display: grid; place-items: center; width: 2.35rem; height: 2.35rem; border: 1px solid #b79a6880; border-radius: .7rem; color: var(--gold); background: #26362b; }
.savings-wallet svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.savings-balance { display: block; color: #f6d698; font-size: clamp(2.1rem, 9.5vw, 3.1rem); line-height: 1.15; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.savings-summary { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; margin: 1rem 0 0; padding-top: .8rem; border-top: 1px solid #aa8a5866; }
.savings-summary > div + div { border-inline-start: 1px solid #aa8a5866; padding-inline-start: .7rem; }
.savings-summary dt { color: var(--soft); font-size: .8rem; }
.savings-summary dt span { color: var(--gold); white-space: nowrap; }
.savings-summary dd { margin: .15rem 0 0; font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.savings-accrual { margin-top: .7rem; padding-top: .65rem; }
.savings-trial-note { margin-top: -.35rem; color: var(--soft); font-size: .8rem; }
.savings-operations, .savings-records { border-radius: .95rem; }
.savings-modes { display: grid; grid-template-columns: 1fr 1fr; gap: .3rem; margin: 0; padding: .25rem; min-width: 0; border: 1px solid var(--border); border-radius: .72rem; background: var(--base); }
.savings-modes label > span { display: grid; grid-auto-flow: column; justify-content: center; align-items: center; gap: .4rem; min-height: 44px; border: 1px solid transparent; border-radius: .5rem; font-weight: 700; cursor: pointer; }
.savings-modes label > span > span { font-size: 1.05rem; }
.savings-modes input:checked + span { background: #353c2e; border-color: #8c754e; color: #f4d39a; }
.savings-modes input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 1px; }
.savings-operations .member-form { gap: .65rem; }
.savings-amount-label { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .2rem .55rem; }
.savings-amount-label label { font-size: .9rem; }
#savings-minimum { color: var(--soft); font-size: .78rem; }
.savings-amount-input { margin: -.25rem 0 .1rem; }
.savings-amount-input input { min-width: 0; }
.savings-fill-all {
  flex: none;
  min-height: 36px;
  padding: .3rem .65rem;
  border: 1px solid #665a3e;
  border-radius: .5rem;
  background: #2a3528;
  color: var(--gold);
  font-size: .85rem;
  white-space: nowrap;
}
.savings-fill-all:not(:disabled):hover { background: #3b4533; }
.savings-fill-all:disabled { opacity: .45; cursor: default; }
.savings-operations .member-form .primary {
  justify-self: stretch; min-height: 46px; border-radius: .65rem;
  background: linear-gradient(110deg, #f3d69f, #e5b974);
}
.savings-operations .member-form .primary:hover:not(:disabled) { background: #f7dda9; }
.savings-operations .primary:disabled { opacity: .6; cursor: default; }
#savings-status { margin: .65rem 0 0; }
.savings-history { list-style: none; padding: 0; margin: 0; }
.savings-history li { display: flex; justify-content: space-between; align-items: center; gap: .55rem; padding-block: .6rem; border-top: 1px solid var(--border); }
.savings-history small { display: block; color: var(--soft); }
.savings-history li > strong { text-align: end; color: var(--gold); }
#savings-empty { border-top: 1px solid var(--border); padding-top: .65rem; }

.member-page:has(#member-account:not([hidden]) #member-assets-pane:not([hidden])) { max-width: 42rem; }
body:has(#member:not([hidden]) #member-account:not([hidden]) #member-assets-pane:not([hidden])) #floating { display: none; }
#member-assets-pane { gap: .8rem; }
.asset-wallet, .asset-savings-link, .asset-holdings, .asset-records { border-radius: 1rem; }
.asset-records h2 { margin-bottom: .8rem; }
#member-trades, #member-requests { display: grid; gap: .65rem; min-width: 0; }
.asset-record {
  display: grid; gap: .38rem; min-width: 0; padding: .75rem .85rem;
  border: 1px solid #394b40; border-radius: .75rem;
  background: linear-gradient(145deg, #23352b, #192820 75%);
}
.asset-record p { margin: 0; }
.asset-record-head, .asset-record-footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .3rem .65rem;
}
.asset-record-head { min-height: 1.65rem; }
.asset-record-amount { white-space: nowrap; font-size: clamp(.95rem, 4vw, 1.12rem); font-variant-numeric: tabular-nums; }
.asset-record-product, .asset-record-note { overflow-wrap: anywhere; }
.asset-record-product span, .asset-record-footer time, .asset-record-note { color: #bac9bd; font-size: .8rem; }
.asset-record-number {
  color: #bac9bd; font-family: ui-monospace, Consolas, monospace;
  font-size: .76rem; line-height: 1.45; overflow-wrap: anywhere;
}
.asset-record-footer { border-top: 1px solid #3b4e42; margin-top: .15rem; padding-top: .45rem; }
.asset-record-badge {
  padding: .16rem .52rem; border-radius: 99px; background: #101e17;
  font-size: .76rem; font-weight: 650;
}
.asset-record-detail {
  min-height: 36px; padding: .25rem .5rem; border: 0; border-radius: .4rem;
  background: #263a2e; color: #f0d4a0; font-size: .79rem; font-weight: 650;
}
.asset-record-detail:hover { background: #344d3e; }
.asset-record-detail span { margin-inline-start: .2rem; }
.asset-wallet { border: 1px solid #716043; background: #192720; min-width: 0; }
.asset-wallet-balance {
  position: relative; isolation: isolate; overflow: hidden; padding: clamp(1.05rem, 4vw, 1.5rem);
  background: linear-gradient(125deg, #35443a, #24362c 64%, #1e2e26);
  border-radius: calc(1rem - 1px) calc(1rem - 1px) 0 0;
  border-bottom: 1px solid #89765380;
}
.asset-wallet-balance::before {
  content: ""; position: absolute; z-index: -1; inset: 0 0 0 auto; width: 65%;
  background: repeating-radial-gradient(ellipse at right center, transparent 0 12px, #f3cf8d28 13px 14px, transparent 15px 22px);
  mask-image: linear-gradient(90deg, transparent, #000 83%);
}
.asset-wallet-heading { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.asset-wallet-heading h2 { font-size: 1rem; margin: 0; }
.asset-wallet-currency { padding: .12rem .48rem; border: 1px solid #ad956b99; border-radius: 99px; background: #25372d; color: #efd5a3; font-size: .72rem; letter-spacing: .08em; }
.asset-wallet-balance > strong { display: block; margin: .45rem 0 .18rem; font-size: clamp(2.1rem, 9vw, 3rem); color: #f6d8a1; line-height: 1.15; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.asset-wallet-balance p { color: #d2dccd; font-size: .82rem; }
.asset-quick-actions { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .25rem; padding: .55rem .55rem .25rem; }
.asset-quick-actions button {
  display: grid; justify-items: center; align-content: start; gap: .32rem; min-height: 68px;
  padding: .35rem .1rem; border: 0; border-radius: .65rem; background: transparent; color: var(--text); font-size: .78rem;
}
.asset-quick-actions button:hover { background: #2b3a2f; }
.asset-action-icon {
  display: grid; place-items: center; width: 2.25rem; height: 2.25rem;
  border: 1px solid #8c754e80; border-radius: .72rem; background: #2f392d; color: #f0cc90;
}
.asset-quick-actions button:first-child .asset-action-icon { background: #ecc992; border-color: #ecc992; color: #25281c; }
.asset-action-icon svg { width: 1.14rem; height: 1.14rem; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
#member-bank { display: block; padding: 0 .95rem .7rem; font-size: .76rem; }
.asset-savings-link { display: grid; grid-template-columns: auto minmax(0,1fr) minmax(0,auto) auto; align-items: center; gap: .6rem; padding: .8rem; }
.asset-savings-link:hover { border-color: #a98b5b; }
.asset-savings-label small { display: block; color: var(--soft); font-size: .75rem; }
.asset-savings-link > strong { max-width: 40vw; color: #f1cf96; text-align: end; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.asset-chevron { color: var(--gold); font-size: 1.28rem; line-height: 1; }
.asset-section-head { display: flex; justify-content: space-between; align-items: center; gap: .6rem; }
.asset-section-head h2 { margin: 0; }
#member-holding-count { color: var(--soft); font-size: .82rem; }
.asset-valuation { margin: .65rem 0; padding: .65rem .75rem; border: 1px solid var(--border); border-radius: .65rem; background: #132119; }
.asset-valuation > span, .asset-valuation p { color: var(--soft); font-size: .8rem; }
.asset-valuation strong { margin: .1rem 0 .2rem; line-height: 1.2; font-size: clamp(1.45rem, 6vw, 2rem); }
.asset-holdings-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .3rem .65rem; margin-top: .45rem; }
.asset-holdings-actions button, .asset-holdings-actions a { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-size: .83rem; }
.asset-holdings-actions a { color: var(--gold); }
.asset-holdings-actions a:hover { text-decoration: underline; }

.operations-embedded :is(.top, footer, #admin .section-heading) { display: none; }
.operations-embedded #workspace > .filters { display: none; }
.operations-embedded #admin { width: calc(100% - 36px); padding-top: 18px; }
.admin-product-tools { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.admin-product-scroll { overflow-x: auto; margin-top: .9rem; border: 1px solid var(--border); border-radius: .7rem; }
.admin-product-table { width: 100%; min-width: 660px; border-collapse: collapse; }
.admin-product-table :is(th, td) { padding: .65rem .7rem; text-align: start; border-bottom: 1px solid var(--border); }
.admin-product-table th { background: #22362b; color: #e6d4b0; }
.admin-product-table tr:last-child td { border-bottom: 0; }
.admin-product-table td small { display: block; color: var(--soft); }
.admin-editor-grid, .history-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .55rem; }
.history-row { grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto; align-items: end; margin-bottom: .5rem; }
.thread .thread-unread { color: #f3ca83; font-weight: 750; }
body :is(.sale-badge,.trade-product-status).badge-red { background: #8b3735; color: white; }
body :is(.sale-badge,.trade-product-status).badge-orange { background: #924c18; color: white; }
body :is(.sale-badge,.trade-product-status).badge-green { background: #285440; color: white; }
body :is(.sale-badge,.trade-product-status).badge-gold { background: #e9c775; color: #31271a; }
body :is(.sale-badge,.trade-product-status).badge-gray { background: #595f5a; color: white; }
body :is(.sale-badge,.trade-product-status).hot {
  outline: 1px solid #f3be3e;
  outline-offset: 1px;
  box-shadow: 0 0 7px #ffcd4e80;
  white-space: nowrap;
}
.trade-product-status.hot { position: relative; }

@property --hot-border-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
@media (prefers-reduced-motion: no-preference) {
  body :is(.sale-badge,.trade-product-status).hot::after {
    content: '';
    position: absolute;
    inset: -2px;
    padding: 2px;
    border-radius: inherit;
    pointer-events: none;
    background: conic-gradient(from var(--hot-border-angle, 0deg), transparent 0 74%, #ffd44d 88%, #fff4b4 96%, transparent 100%);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    animation: hot-badge-light-strip 3s linear infinite;
  }
}
@keyframes hot-badge-light-strip {
  to { --hot-border-angle: 360deg; }
}

#chat { padding: 0; margin: auto; width: min(100% - 2rem, 34rem); height: min(46rem, 90dvh); max-height: none; overflow: hidden; background: #122019; border-color: #465b4b; border-radius: 1.25rem; }
#chat[open] { display: grid; grid-template: "header" auto "deposit" auto "messages" minmax(0,1fr) "compose" auto / minmax(0,1fr); }
.chat-header {
  grid-area: header; display: flex; align-items: center; gap: .65rem; padding: .8rem .95rem;
  background: linear-gradient(110deg,#22382c,#1a2c23); border-bottom: 1px solid #796746;
}
.chat-header h2 { font-size: 1.125rem; letter-spacing: .035em; margin: 0; overflow-wrap: anywhere; }
.chat-header button, #chat-form button {
  display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; border-radius: .88rem;
}
.chat-header button { background: #16271e70; border: 1px solid #56705d; color: #f0cc90; }
.chat-service-mark { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border: 1px solid #b89a64; border-radius: .85rem; color: #f1cd92; background: #354638; }
.chat-header svg, #chat-form svg {
  width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 1.65;
  stroke-linecap: round; stroke-linejoin: round;
}
#chat-note { display: flex; align-items: baseline; gap: .45rem; margin: .23rem 0 0; color: #c7d4c8; font-size: .76rem; }
#chat-note::before { content: ""; flex: 0 0 6px; height: 6px; align-self: center; border-radius: 50%; background: #d2ad74; }
#chat-note.chat-connected::before { background: #8ed2ab; }
.chat-deposit { grid-area: deposit; display: flex; align-items: center; justify-content: space-between; gap: .65rem; padding: .7rem .8rem; margin: .7rem .95rem 0; border: 1px solid #8c754e; border-radius: .85rem; background: #28392f; font-size: .85rem; }
.chat-deposit span { display: block; color: var(--soft); font-size: .75rem; overflow-wrap: anywhere; }
#chat-deposit-amount { color: var(--gold); }
#chat-messages { grid-area: messages; gap: .85rem; padding: 1.05rem .95rem; margin: 0; max-height: none; overscroll-behavior: contain; }
.chat-day, .chat-empty { align-self: center; padding: .22rem .65rem; border: 1px solid #384c40; border-radius: 99px; background: #1c2d23; color: #bfcdc1; font-size: .75rem; }
.chat-turn { display: grid; justify-items: start; gap: .22rem; align-self: flex-start; max-width: 86%; min-width: 0; }
.chat-turn.outgoing { align-self: flex-end; justify-items: end; }
.chat-turn > time { margin-inline: .4rem; color: #b9c9bb; font-size: .71rem; font-variant-numeric: tabular-nums; }
#chat .message { max-width: 100%; min-width: 0; padding: .58rem .85rem; border: 1px solid #425b4b; border-radius: .4rem 1rem 1rem 1rem; background: #25392e; color: #f0f3ed; font-size: .95rem; }
#chat .outgoing .message { border-color: #a18c62; border-radius: 1rem .4rem 1rem 1rem; background: #384735; color: #fff5df; }
.chat-compose { grid-area: compose; padding: .75rem .95rem calc(.75rem + env(safe-area-inset-bottom)); background: #1e3227; border-top: 1px solid #4a6150; }
#chat-send-note { margin-bottom: .35rem; color: #f4c7ad; font-size: .82rem; }
#chat-send-note:empty { display: none; }
#chat-form { grid-template-columns: auto minmax(0,1fr) auto; gap: .55rem; align-items: end; }
#chat-input { field-sizing: content; width: 100%; min-height: 44px; max-height: 7rem; resize: none; padding: .6rem .85rem; border-color: #55715e; border-radius: 1rem; background: #12231a; font-size: 16px; }
#chat-input::placeholder { color: #a9b9ac; }
#chat-form button[type="submit"] { background: linear-gradient(135deg,#f4d9a1,#e2b971); color: #222c20; }
#chat-form button[type="submit"]:hover { background: #f5d7a0; }
#chat-form button:disabled { opacity: .6; }
#chat-file-choose, #chat-file-clear { background: #283b2f; color: var(--gold); border: 1px solid var(--border); }
.chat-file-preview { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin: 0 0 .5rem; font-size: .85rem; overflow-wrap: anywhere; }
#chat-file-clear { width: 40px; height: 40px; flex: 0 0 40px; border-radius: .5rem; }
.chat-attachment { display: grid; gap: .3rem; margin-top: .4rem; color: #f4ce90; font-size: .85rem; overflow-wrap: anywhere; }
.chat-attachment span { text-decoration: underline; }
.chat-attachment img { display: block; width: min(100%,14rem); max-height: 13rem; object-fit: contain; object-position: left center; border-radius: .5rem; }
.thread .thread-deposit { color: var(--gold); }

.staff-inbox-list, .staff-chat { width: min(100%, 62rem); margin-inline: auto; }
.staff-inbox-list { padding: 0; border-radius: 1.05rem; background: #18281f; }
.staff-inbox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .85rem 1.3rem;
  padding: clamp(1rem,3vw,1.6rem);
  border-bottom: 1px solid #384c40;
  border-radius: 1rem 1rem 0 0;
  background: linear-gradient(115deg,#263b2e,#1d3025 68%);
}
.staff-inbox-head h2 { margin: 0 0 .55rem; color: #f6eddb; font-size: 1.35rem; }
#staff-inbox-summary { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; }
#staff-inbox-summary span { padding: .18rem .52rem; border: 1px solid #486151; border-radius: 999px; color: #c7d9ce; font-size: .75rem; }
#staff-inbox-awaiting.needs-attention { color: #ffc2bc; border-color: #84544e; background: #552e2a; }
.staff-thread-search { position: relative; flex: 0 1 18rem; min-width: 0; }
.staff-thread-search input { width: 100%; padding-inline-start: 2.05rem; background: #14251c; border-color: #45604f; border-radius: .7rem; font-size: .87rem; }
.staff-search-icon { position: absolute; top: 50%; inset-inline-start: .8rem; width: .7rem; height: .7rem; transform: translateY(-62%); border: 1.5px solid #a6bcad; border-radius: 50%; pointer-events: none; }
.staff-search-icon::after { content: ''; position: absolute; top: .47rem; left: .47rem; width: .36rem; height: 1.5px; border-radius: 1px; background: #a6bcad; transform: rotate(45deg); transform-origin: left center; }
.staff-inbox-list .threads { gap: .5rem; padding: clamp(.75rem,2.5vw,1.15rem); }
.staff-inbox-empty { padding: 1rem; text-align: center; }
.staff-thread-row {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto auto;
  align-items: center;
  gap: .8rem;
  min-height: 4.65rem;
  padding: .75rem .9rem;
  background: #203328;
  border-color: #3a5143;
  border-radius: .8rem;
}
.staff-thread-row.needs-attention { background: #25392d; }
.staff-thread-row:hover, .staff-thread-row:focus-visible { border-color: #a88a57; background: #2b4234; }
.staff-thread-row > .staff-chat-avatar { position: relative; display: grid; place-items: center; color: #f4d7a3; background: #3b4636; }
.staff-thread-copy, .staff-thread-meta { min-width: 0; }
.staff-thread-copy .staff-thread-name, .staff-thread-copy > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.staff-thread-copy > span { margin-top: .25rem; color: #b9cdbf; }
.staff-thread-meta { display: grid; justify-items: end; gap: .3rem; text-align: right; }
.staff-thread-meta time { font-size: .75rem; color: var(--soft); }
.staff-thread-meta .staff-thread-labels { display: flex; justify-content: end; flex-wrap: wrap; gap: .3rem; }
.staff-thread-labels :is(.staff-thread-status,.staff-thread-pending) { padding: .16rem .48rem; border: 1px solid #506451; border-radius: 999px; background: #2c4135; color: #d0dfd4; font-size: .72rem; white-space: nowrap; }
.staff-thread-labels :is(.staff-thread-status[data-status="待回覆"],.staff-thread-pending) { border-color: #715d38; background: #443c27; color: #f2d394; }
.staff-thread-row .staff-unread-dot { position: absolute; top: -.28rem; right: -.26rem; width: .82rem; height: .82rem; background: #ff5354; border: 2px solid #25392d; border-radius: 50%; }
.staff-thread-row .staff-thread-chevron { display: grid; place-items: center; width: 1.65rem; height: 1.65rem; border-radius: 50%; color: var(--gold); background: #172a20; font-size: 1.25rem; line-height: 1; }
.staff-chat {
  display: grid;
  grid-template-rows: auto minmax(0,1fr) auto;
  height: clamp(310px,calc(100dvh - 9rem),56rem);
  overflow: hidden;
  border: 1px solid #3d5545;
  border-radius: 1rem;
  background: #14231b;
}
.operations-embedded #admin:has(#inbox:not([hidden]) #staff-chat:not([hidden])) {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100dvh;
  padding-block: .65rem;
}
.operations-embedded #admin-note:empty { display: none; }
.operations-embedded #workspace:has(#inbox:not([hidden]) #staff-chat:not([hidden])), .operations-embedded #inbox:has(#staff-chat:not([hidden])) { display: flex; flex: 1; min-height: 0; flex-direction: column; }
.operations-embedded .staff-chat { flex: 1; min-height: 0; height: auto; }
.staff-chat-head {
  display: grid;
  grid-template-columns: auto auto minmax(0,1fr) auto;
  align-items: center;
  gap: .65rem;
  padding: .75rem .9rem;
  border-bottom: 1px solid #3a5141;
  background: #203327;
}
.staff-chat-back { min-height: 2.35rem; padding: .3rem .55rem; white-space: nowrap; }
.staff-chat-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.45rem;
  height: 2.45rem;
  border: 1px solid #705d39;
  border-radius: .65rem;
  color: #f3d395;
  background: #373d2c;
  font-weight: 650;
}
.staff-chat-person { min-width: 0; }
.staff-chat-person h2, .staff-chat-person p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.staff-chat-person h2 { margin: 0; font-size: 1.05rem; }
.staff-chat-person p { color: var(--soft); font-size: .75rem; }
.staff-chat-status select { min-height: 2.35rem; max-width: 8.6rem; padding: .3rem .5rem; font-size: .82rem; }
.staff-chat-history { position: relative; min-height: 0; }
.staff-chat-history .messages {
  height: 100%;
  max-height: none;
  margin: 0;
  padding: .9rem clamp(.8rem,3vw,1.5rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.staff-chat-history .chat-turn { max-width: min(84%,42rem); }
.staff-chat-history .chat-turn .message { max-width: 100%; padding: .55rem .75rem; border: 1px solid #3b5142; background: #1e3126; }
.staff-chat-history .chat-turn.outgoing .message { border-color: #746345; background: #3e432e; }
.staff-chat-latest { position: absolute; z-index: 1; inset-inline-end: 1.25rem; bottom: .7rem; padding: .35rem .65rem; font-size: .8rem; }
.staff-chat-composer { display: grid; gap: .45rem; padding: .65rem .8rem; border-top: 1px solid #3a5141; background: #1b2d23; }
.staff-chat-composer textarea { width: 100%; height: 3.6rem; resize: none; }
.staff-chat-tools { display: flex; align-items: center; gap: .5rem; min-width: 0; }
label.staff-file-picker { position: relative; display: inline-flex; align-items: center; flex: none; min-height: 2.15rem; padding: .35rem .55rem; border: 1px solid #51644f; border-radius: .5rem; color: var(--gold); cursor: pointer; white-space: nowrap; font-size: .82rem; }
.staff-file-picker:focus-within { outline: 2px solid var(--gold); outline-offset: 2px; }
.staff-file-picker input { position: absolute; inset: 0; width: 100%; min-height: 0; opacity: 0; cursor: pointer; }
#staff-chat-file-name { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--soft); font-size: .75rem; }
.staff-remove-file { flex: none; padding: .3rem .55rem; font-size: .75rem; }
#staff-chat-note { color: var(--gold); font-size: .75rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#staff-chat-note:empty { display: none; }
#staff-chat-send { flex: none; min-height: 2.25rem; padding: .35rem .65rem; white-space: nowrap; }
#staff-chat-send:disabled { opacity: .55; cursor: default; }
@media(max-width:520px) {
  .staff-chat-head { gap: .35rem; padding-inline: .45rem; }
  .staff-chat-head .staff-chat-avatar, .staff-chat-back span:last-child { display: none; }
  .staff-chat-head { grid-template-columns: auto minmax(0,1fr) auto; }
  .staff-chat-tools { gap: .28rem; }
  .staff-thread-search { flex-basis: 100%; }
  .staff-thread-row { gap: .5rem; padding-inline: .6rem; }
  .staff-thread-row .staff-thread-chevron { width: 1.25rem; height: 1.25rem; }
}
@media (max-width: 600px) {
  html:has(#chat[open]), body:has(#chat[open]) { overflow: hidden; }
  #chat { position: fixed; inset: 0; width: 100%; max-width: none; height: 100dvh; margin: 0; border: 0; border-radius: 0; }
  .chat-header { padding-top: calc(.75rem + env(safe-area-inset-top)); }
}
.trade-help { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .48rem .72rem; border: 1px solid #ba8332; border-radius: .55rem; background: #f0c77c; color: #292315; font-weight: 750; white-space: nowrap; }
.trade-help:hover { background: #e8b961; }
@media (max-width: 740px) {
  #trade-page { padding-block: .35rem 5.8rem; gap: .65rem; }
  .trade-grid { grid-template-columns: minmax(0,1fr); gap: .65rem; }
  .trade-order-card { grid-column: 1; grid-row: auto; position: static; }
  .trade-product-summary, .trade-order-card { padding: .75rem .9rem; }
  .trade-gallery img { height: clamp(162px,52vw,245px); }
  .trade-submit-bar { position: fixed; z-index: 5; inset: auto 0 0; padding: .65rem 1rem calc(.65rem + env(safe-area-inset-bottom)); background: #19291f; box-shadow: 0 -.25rem 1.2rem #050e08a0; }
  #trade-submit { flex: 0 0 min(48%,13rem); }
  .trade-nav { font-size: .9rem; min-height: 36px; }
  .trade-stat { margin-bottom: .6rem; }
}
