/* White-blue surfaces with restrained, satin-metal edges. Keep the original home scale. */
:root{color:#243c58;background:#f1f5fa}
button{-webkit-tap-highlight-color:transparent}
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline-color:#79a9e3}
.member-active .member-app,.auth-wrap{background:#f1f5fa}
.muted,.empty,.page-title p,.subpage-head p{color:#607994}.loading{color:#356c9f}
.home-head{margin-bottom:16px}.member-identity{gap:12px}.member-identity strong{font-size:17px}.member-identity small{font-size:11px}
.home-head .account-icon{width:43px;height:43px;border-radius:13px}.home-head .account-icon svg{width:25px;height:25px}
.account-icon{background:linear-gradient(145deg,#285988,#10385e);color:#e8f3ff;box-shadow:inset 0 1px 0 #ffffff4d,0 5px 13px #183e6330}
.invite-pill{padding:9px 12px;font-size:12px;border-color:#ccdaea;color:#295c8c;background:linear-gradient(165deg,#fff,#f6faff);box-shadow:inset 0 1px 0 #fff,0 4px 13px #31577915}
.carousel{width:100%;aspect-ratio:2.55/1;max-height:270px;border-radius:16px;background:#123b64;box-shadow:0 13px 30px #23446c2b}
.member-active .page-home{overflow-y:hidden;overscroll-behavior:none;touch-action:pan-x}
.carousel-empty{background:radial-gradient(circle at 88% 17%,#c7dff447 0 18%,transparent 19%),linear-gradient(135deg,#143959,#336eaa);color:#fff}
.carousel-empty span{color:#e5f1ff}
.slide-dots{bottom:7px;gap:2px}.slide-dots button,.slide-dots button.on{width:28px;height:26px;border:0;border-radius:10px;background:transparent;display:grid;place-items:center}
.slide-dots button::after{content:'';width:8px;height:8px;border-radius:50%;background:#ffffff9e}.slide-dots button.on::after{width:18px;border-radius:5px;background:#fff}
.quick-actions{margin:18px 0;gap:9px}.quick-actions button{min-height:86px;gap:7px;border-radius:15px;border-color:#d7e2ed;background:linear-gradient(150deg,#fff 20%,#f4f8fc);color:#244865;box-shadow:inset 0 1px 0 #fff,0 5px 14px #31507114}
.quick-actions button span{width:34px;height:34px;border-radius:10px;background:#e5f0fb;color:#316aab}.quick-actions svg{width:21px;height:21px}.quick-actions button strong{font-size:12px}
.ticker{margin-bottom:16px;padding:10px 12px;background:#e8f2fd;border:1px solid #d8e7f6}.ticker>span{color:#285e94;border-right-color:#bbd4ee}.ticker-window{color:#365b7d}.ticker-window small{color:#7290ab}
.ticker-window{flex:1}.ticker-text{display:flex;width:max-content;min-width:0;animation:ticker-loop var(--ticker-duration,18s) linear infinite}.ticker-text span{flex:none;padding-right:3rem}
@keyframes ticker-loop{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.home-notices,.panel,.profile,.contact-card,.chat-panel{background:linear-gradient(155deg,#fff 62%,#f8fbff);border:1px solid #d9e3ef;box-shadow:inset 0 1px 0 #fff,0 6px 18px #29496b12}
.home-notices,.panel{padding:18px;margin-bottom:15px;border-radius:17px}.home-notices{display:block}
.section-head{margin-bottom:8px}.section-head h2{margin:0}.section-head h2,.panel h2{font-size:17px;color:#253f5c}.panel h2{margin-bottom:14px}
.section-head button,.balance-strip button{color:#286ca9}.section-head button{min-height:40px;padding:7px 10px;margin:-6px -10px -6px 0;border-radius:10px}.section-head button:active{background:#dcecfb}
.home-notice-preview{height:132px;overflow:hidden}.home-notice-preview .notice-row:first-child{border-top:0}
.home-notice-preview .empty{height:100%;display:grid;place-items:center;margin:0}
.notice-row{height:44px;padding:8px 2px;border-color:#e7edf5}.notice-row strong{font-size:13px;color:#294762}.notice-row>span{color:#4382c1}.notice-row small,.notice-card small{color:#728ba5}
.notice-card span{min-width:0;overflow-wrap:anywhere}.notice-card small{flex:none}
.notice-card,.faq,.record,.wallet-chain-row,.panel>button.menu-row,.asset-section+.asset-section{border-color:#e8eef5}
.faq p,.prose,.record strong,.wallet-chain-row,.panel>button.menu-row,.asset-section-head,.contact-card{color:#2b4a69}
.platform-intro .prose{line-height:1.7}.platform-intro h2{margin-bottom:8px}
.member-identity small,.profile small,.record small,.faq p,.chat-heading small,.bubble small,.asset-section-head small,.team-stats small,.wallet-chain-row small{color:#7189a2}
.wallet-editor{border-top-color:#dce7f3}.team-stats strong{overflow-wrap:anywhere}
.page-title h1,.subpage-head h1{color:#203e60}.subpage-head>button{background:#e7f1fb;color:#2e699e}
.subpage-head>button{width:42px;height:42px}.profile button{min-height:40px;padding-inline:12px}
.bottom-nav{border-top-color:#ceddeb;background:linear-gradient(#fff,#f7faff);box-shadow:0 -8px 24px #2d4b6a18}.bottom-nav button{color:#7d91a8;border-radius:12px;margin:2px 3px;transition:background-color .15s,color .15s}.bottom-nav button.selected{color:#286daa;background:#eaf3fc}
.asset-summary{background:linear-gradient(130deg,#1b4369,#386e9f);box-shadow:inset 0 1px 0 #ffffff40}.asset-summary small{color:#cddfed}.asset-summary em,.asset-summary b{color:#edf6ff}
.asset-section-head b,.contact-card b,.record span{color:#3c77af}.asset-section-body,.chat-heading{border-color:#e6eef6}
.contact-icon,.chat-heading>span,.quick-actions button span{background:#e7f1fb;color:#3573b1}
.profile button,.secondary,.pager button,.subpage-head>button{background:#e7f0f9;color:#2e689d}
.primary,.chat-compose button{background:#2868a5;color:#fff;box-shadow:inset 0 1px 0 #ffffff40}
.primary:hover:not(:disabled),.chat-compose button:hover:not(:disabled){background:#1d5c98}
.field{color:#3c5873}.field input,.field select,.field textarea,.chat-compose input{border-color:#cbd9e7;background:#fbfdff;color:#253e59}
.field-hint{display:block;color:#657f99;font-size:11px;font-weight:400;line-height:1.55}
.field input:focus,.field textarea:focus,.field select:focus{border-color:#6da2da;box-shadow:0 0 0 3px #89b5e342}
.deposit-network-choice,.deposit-box,.team-stats>div,.destination-label,.current-address,.invite-field{background:#f4f8fd;border-color:#dbe7f3;color:#315879}
.deposit-network-choice:has(input:checked),.wallet-chain-row.active{border-color:#72a6d6;background:#eaf4ff}.deposit-network-choice:focus-within{outline-color:#a4c6e8}
.deposit-network-choice strong,.chain-heading,.deposit-box code,.invite-field code{color:#2d5e8c}.radio-mark{border-color:#9eb7cf}.deposit-network-choice input:checked+.radio-mark{border-color:#367abb}.deposit-network-choice input:checked+.radio-mark:after{background:#367abb}
.chat-screen .messages{background:#f4f8fc}.bubble p{background:#e5edf6}.bubble.mine p{background:#d8eafd}
.group-list{padding:8px 14px}.group-entry{display:flex;align-items:center;gap:12px;width:100%;min-height:68px;text-align:left;border:0;border-bottom:1px solid #e8eef5;background:transparent;padding:10px 2px;color:#294867}.group-entry:last-child{border-bottom:0}.group-entry-text{flex:1;min-width:0;display:grid;gap:3px}.group-entry-text strong{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.group-entry-text small{font-size:11px;color:#738ba4}.group-avatar{width:43px;height:43px;flex:none;display:grid;place-items:center;border-radius:14px;background:linear-gradient(145deg,#3675b5,#214a7b);color:white;font-weight:800;font-size:18px}.group-entry b{color:#7b9abb}.group-badge{font-style:normal;flex:none;min-width:21px;height:21px;padding:2px 6px;border-radius:12px;background:#d53b53;color:white;text-align:center;font-size:11px;font-weight:800}.group-room .messages{background:#f4f8fc}.group-muted{margin:0;padding:14px;text-align:center;background:#edf3fa;color:#526e8d;font-size:12px;border-top:1px solid #dce7f3}.group-room .bubble small{font-size:11px}
/* Dedicated group room instead of the fixed-height support-chat grid. */
.member-active .page-group-room{height:calc(100dvh - 69px - env(safe-area-inset-bottom));display:flex;flex-direction:column;min-height:0;overflow:hidden;padding:10px 13px 8px!important}.page-group-room .subpage-head{flex:none;align-items:center;margin-bottom:8px;min-height:43px}.page-group-room .subpage-head>button{width:39px;height:39px;border-radius:12px}.page-group-room .subpage-head h1{font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.page-group-room .subpage-head>div{flex:1;min-width:0}.page-group-room .subpage-head p{font-size:11px;margin-top:2px}
.chat-panel.group-room{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden;border-radius:18px;background:#fff;border:1px solid #d9e6f2;box-shadow:0 8px 20px #29496b12}.group-room-note{flex:none;display:flex;align-items:center;gap:7px;padding:8px 13px;border-bottom:1px solid #e1ebf5;background:#f8fbff;color:#67839e;font-size:11px}.group-room-note svg{width:16px;height:16px;flex:none;color:#3979ae}.group-room .messages{flex:1;min-height:0;height:auto;max-height:none;overflow-y:auto;display:flex;flex-direction:column;gap:12px;padding:16px 13px;background:linear-gradient(150deg,#f4f8fc,#edf4fb);overscroll-behavior:contain}.group-room .group-message{display:flex;align-items:flex-end;gap:8px;max-width:88%;align-self:flex-start}.group-room .group-message.mine{align-self:flex-end;flex-direction:row-reverse}.group-room .group-message-avatar{width:29px;height:29px;flex:none;display:grid;place-items:center;border-radius:10px;background:#dbe9f7;color:#376f9e;font-size:12px;font-weight:800}.group-room .group-message.mine .group-message-avatar{background:#c3def5}.group-room .group-message-content{min-width:0;display:grid;gap:4px}.group-room .group-message-meta{display:flex;align-items:center;flex-wrap:wrap;gap:4px 6px;min-width:0;font-size:10px;color:#7790a8}.group-room .group-message.mine .group-message-meta{justify-content:flex-end}.group-room .group-message-meta strong{font-size:11px;color:#325b7b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:110px}.group-room .group-message-meta em{font-style:normal;font-size:10px;color:#3675a8;background:#e0edf9;border-radius:5px;padding:1px 4px}.group-room .group-message-meta time{color:#8aa0b4;font-size:10px}.group-room .group-message-content p{margin:0;padding:10px 12px;border:1px solid #e0eaf4;border-radius:13px 13px 13px 3px;background:#fff;color:#294762;font-size:14px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;box-shadow:0 2px 8px #173c590b}.group-room .group-message.mine .group-message-content p{background:#dceefd;border-color:#c7dff2;border-radius:13px 13px 3px 13px}.group-room .group-empty-state{margin:auto;display:grid;justify-items:center;text-align:center;gap:6px;color:#7892a9}.group-room .group-empty-state>span{width:44px;height:44px;display:grid;place-items:center;border-radius:15px;background:#e0eef9;color:#3675aa}.group-room .group-empty-state svg{width:23px;height:23px}.group-room .group-empty-state strong{font-size:13px;color:#416886}.group-room .group-empty-state small{font-size:11px}.group-room .group-older{align-self:center;margin-bottom:2px;font-size:11px;padding:7px 11px}
.group-room .chat-compose{flex:none;display:flex;align-items:flex-end;gap:8px;border-top:1px solid #dfeaf4;background:#fff;padding:9px 10px max(9px,env(safe-area-inset-bottom))}.group-room .chat-input-wrap{flex:1;min-width:0}.group-room .chat-compose textarea{display:block;width:100%;min-height:43px;max-height:105px;resize:vertical;border:1px solid #c9dcea;border-radius:12px;padding:10px 12px;background:#f9fcff;color:#294961;font-size:16px;line-height:1.4}.group-room .chat-compose textarea:focus{outline:none;border-color:#7eaed7;box-shadow:0 0 0 3px #9bc8ed52}.group-room .chat-compose button{min-height:43px;display:flex;align-items:center;gap:5px;padding:9px 12px;border-radius:12px;font-size:12px}.group-room .chat-compose button svg{width:17px;height:17px}.group-room .field-error{display:block;min-height:0;font-size:10px}.group-room .group-muted{flex:none;padding:14px;background:#eef4fa;border-top:1px solid #dce8f3;color:#53728e;font-size:12px}
@media(max-width:640px) and (max-height:720px){.member-active .page-group-room{padding-top:6px!important}.page-group-room .subpage-head{margin-bottom:5px;min-height:38px}.group-room-note{padding:6px 10px}.group-room .messages{padding:10px}.group-room .group-message-content p{padding:8px 10px}.group-room .chat-compose{padding:6px 8px max(7px,env(safe-area-inset-bottom))}.group-room .chat-compose button span{display:none}}
.shade{background:#0b2441ab}.sheet{background:linear-gradient(160deg,#fff,#f8fbff);border:1px solid #d0deec;box-shadow:0 22px 55px #0f2e5045}.sheet header{border-color:#e2ebf4}.sheet header button{background:#e8f1fa;color:#346e9e}.toast{background:#193d64}
.captcha-shade,.security-shade{align-items:center;padding:12px;overflow-y:auto}.captcha-sheet,.security-sheet{width:min(380px,100%);max-height:calc(100dvh - 24px);padding-bottom:0;border-radius:18px;flex:none}.captcha-sheet{padding-bottom:10px}.captcha-sheet>p,.captcha-sheet>.captcha-label,.captcha-sheet>.puzzle,.captcha-sheet>button{margin:9px 16px}.captcha-sheet header,.security-sheet header{padding:13px 16px}.captcha-sheet .puzzle{background:#e7f0fa}.captcha-slider{accent-color:#3479b6}.security-sheet .sheet-body{padding:14px 16px 18px}.security-sheet .muted{margin:0 0 12px}.security-sheet .stack{gap:9px}.security-sheet .field{gap:4px}.security-sheet .field input{min-height:42px;padding:8px 10px}.security-sheet .stack .primary{margin-top:3px}.security-sheet .sheet-body>button{border:0;background:none;color:#4d7194;padding:5px 0}
.security-page{max-width:560px;margin-inline:auto}.security-page .stack{gap:12px}
.auth-hero{background:linear-gradient(145deg,#173a61,#326da5)}.brand-glyph{background:linear-gradient(140deg,#f1f7ff,#c4d8ec);color:#214e7e;box-shadow:inset 0 1px 0 #fff}
.eyebrow,.auth-links button{color:#3775ad}.auth-wrap{background:#f1f5fa}
.invite-field button{background:#dfedfa;color:#286797}.invite-field small{color:#718ca5}
.invite-field button{min-height:38px}.auth-links button{min-height:40px;padding:8px}
.invite-sheet{width:min(380px,calc(100% - 24px));border-radius:20px!important;box-shadow:0 24px 60px #0a2d5366}
.invite-sheet header{padding:16px 18px}.invite-sheet .sheet-body{padding:15px 18px 20px}
.registration-pause-shade{align-items:center;padding:12px;overflow-y:auto}.registration-pause-sheet{width:min(360px,100%);max-height:calc(100dvh - 24px);border-radius:18px;flex:none;padding-bottom:0}.registration-pause-sheet header{padding:13px 16px}.registration-pause-sheet .sheet-body{padding:18px 16px 20px}.registration-pause-sheet .muted{margin:0;text-align:center}
.invite-intro{font-size:12px;line-height:1.6;color:#607b96;margin:0 0 14px}
.invite-fields{gap:12px}.invite-field{padding:12px 13px;border-radius:13px;background:linear-gradient(145deg,#f8fbff,#eef5fd);border-color:#d7e5f2}
.invite-field small{font-size:11px;font-weight:700;letter-spacing:.04em;margin-bottom:7px;color:#547495}
.invite-code-row,.invite-link-row{display:flex;align-items:center;gap:9px;min-width:0}
.invite-code{flex:1;min-width:0;color:#1b4e7b;font-size:21px;line-height:1.35;letter-spacing:.14em;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}
.invite-link{flex:1;min-width:0;color:#355d7e;font-size:12px;line-height:1.45;overflow-wrap:anywhere;user-select:text}
.invite-field button{font-size:12px;padding:8px 10px;border:1px solid #c8dbed;border-radius:9px;background:#fff;color:#286797;white-space:nowrap;box-shadow:0 2px 6px #28557913}
.invite-field button:active{background:#e0efff}
.team-overview .team-level{display:flex;align-items:baseline;justify-content:space-between;gap:10px;border-radius:14px;padding:13px 16px;margin-bottom:12px;background:linear-gradient(130deg,#214a76,#3275ad);color:#edf6ff}
.team-level span{font-size:12px;font-weight:700}.team-level strong{font-size:27px;line-height:1.1;font-variant-numeric:tabular-nums}.team-level strong small{font-size:13px;font-weight:600}
.team-overview .team-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:10px}.team-overview .team-stats>div:last-child{grid-column:auto}
.team-overview .team-stats>div{padding:11px}.team-overview .team-stats strong{font-size:16px}.team-note{margin:0 0 5px;font-size:11px}
.team-levels h2{margin-bottom:7px}.team-level-row{display:flex;align-items:center;gap:8px;padding:10px 2px;border-top:1px solid #e8eef5;font-size:11px;color:#617b95}
.team-level-row strong{min-width:35px;font-size:13px;color:#2e5e8b}.team-level-row span{flex:1;min-width:0}.team-level-row small{white-space:nowrap;color:#8197ad}.team-level-row.achieved small{color:#2874ae;font-weight:700}
.deposit-detail-screen .address-copy{border-color:#d1e0ee;background:#fff}.deposit-detail-screen .deposit-box small{color:#647d95}
.wallet-chain-row b{color:#3476b0}.wallet-chain-row small{color:#718ba4}.mine-actions .menu-row small{color:#7d92a9}
.withdraw-screen .withdraw-balances{gap:8px;margin-bottom:12px}
.withdraw-screen .withdraw-balances>div{padding:10px 12px}
.withdraw-screen .withdraw-balances strong{font-size:17px;white-space:nowrap}
.withdraw-screen .stack{gap:9px}.withdraw-screen .stack .primary{margin-top:0;min-height:43px}
.withdraw-select-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.withdraw-choice{padding:0;margin:0;border:0;min-width:0}.withdraw-choice legend{font-size:12px;font-weight:700;color:#3c5873;padding:0;margin-bottom:4px}
.withdraw-dropdown{position:relative;min-width:0}.withdraw-dropdown summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:43px;border:1px solid #cbd9e7;border-radius:10px;padding:8px 11px;background:#fbfdff;color:#253e59;font-size:14px;font-weight:650;user-select:none}
.withdraw-dropdown summary::-webkit-details-marker{display:none}.withdraw-dropdown summary::marker{content:''}
.withdraw-dropdown[open] summary{border-color:#6da2da;background:#f5faff;box-shadow:0 0 0 3px #89b5e342}
.withdraw-chevron{flex:none;color:#5382ae;font-size:18px;line-height:1;transition:transform .15s}.withdraw-dropdown[open] .withdraw-chevron{transform:rotate(180deg)}
.withdraw-options{position:absolute;top:calc(100% + 5px);left:0;right:0;z-index:20;display:grid;gap:2px;padding:5px;border:1px solid #c8d9e9;border-radius:11px;background:#fff;box-shadow:0 10px 24px #173f6830}
.withdraw-options label{display:flex;align-items:center;gap:7px;min-height:39px;padding:7px 8px;border-radius:8px;color:#315575;font-size:13px;cursor:pointer;white-space:nowrap}
.withdraw-options label:has(input:checked){background:#e7f2fd;color:#245b90;font-weight:700}
.withdraw-options label:active{background:#d9ecfb}.withdraw-options input{width:16px;height:16px;margin:0;accent-color:#367abb;flex:none}
.withdraw-screen .destination-label{display:grid;gap:1px;margin:0;padding:7px 10px;border:1px solid #d9e6f3;min-width:0}
.withdraw-screen .destination-label small{font-size:10px;color:#6e88a2;line-height:1.2}
.withdraw-screen .destination-label code{font:clamp(10px,2.7vw,12px)/1.35 ui-monospace,SFMono-Regular,Consolas,monospace;color:#294e74;overflow-wrap:anywhere;user-select:text}
.withdraw-screen .withdraw-guidance{margin:0;font-size:11px;line-height:1.5}
.member-app .field input[aria-invalid="true"],.auth-box .field input[aria-invalid="true"],.sheet .field input[aria-invalid="true"]{border-color:#c63c50;background:#fff9fa;box-shadow:0 0 0 2px #f2c4cc55}
.field-error{display:block;color:#be3144!important;font-size:11px;font-weight:650;line-height:1.45;margin:0}
.field-error:empty{display:none}
.chat-input-wrap{display:grid;min-width:0;flex:1;align-content:start}.chat-input-wrap input{width:100%}
.asset-list-scroll{scrollbar-color:#aec8e1 transparent}
button:active:not(:disabled),.deposit-network-choice:active{filter:brightness(.97)}
.quick-actions button:active,.contact-card:active,.panel>button.menu-row:active,.notice-row:active,.bottom-nav button:active,.wallet-chain-row:active{background:#dcecfb}
.panel>button.menu-row:active,.notice-row:active,.wallet-chain-row:active{border-radius:10px}
@media(max-width:640px){
  .member-main{padding:16px 15px 16px}.home-head{margin-bottom:14px}
  .page-home{padding-inline:13px}.page-home .carousel{width:100%;margin-inline:0;border-radius:16px;aspect-ratio:2.25/1;max-height:270px}
  .quick-actions{margin:15px 0}.quick-actions button{min-height:80px}
  .home-notices,.panel{padding:15px}.home-notice-preview{height:132px}.notice-row{height:44px}
  .section-head h2,.panel h2{font-size:16px;margin-bottom:10px}.ticker{margin-bottom:13px}
  .member-active .member-main{padding-top:14px;padding-bottom:12px}
  .chat-main{padding-bottom:8px!important}.chat-screen .chat-compose{padding-bottom:max(8px,env(safe-area-inset-bottom))}
}
@media(max-width:640px) and (max-height:720px){
  .member-active .member-main{padding-top:10px}.home-head{margin-bottom:9px}
  .quick-actions{margin:10px 0}.quick-actions button{min-height:72px}
  .ticker{margin-bottom:9px;padding:8px 10px}.home-notices{padding:12px}
}
@media(max-width:640px) and (max-height:680px){.page-home .home-notices{margin-bottom:0}}
@media(max-width:640px) and (max-height:600px){
  .member-active .page-home{padding-top:5px;padding-bottom:4px}
  .page-home .home-head{margin-bottom:4px}.page-home .carousel{max-height:22dvh}
  .page-home .quick-actions{margin:6px 0}.page-home .ticker{padding:6px 10px;margin-bottom:5px}
  .page-home .home-notices{padding:8px 10px;margin-bottom:0}.page-home .section-head{margin-bottom:4px}.page-home .section-head button{min-height:34px}
  .page-home .home-notice-preview{height:120px}.page-home .notice-row{height:40px}
  .page-mine .page-title{padding-bottom:7px}.page-mine .page-title p{display:none}
  .page-mine .profile{padding:15px;margin-bottom:10px}
}
@media(max-width:640px) and (max-height:720px){
  .withdraw-screen{padding:11px!important}.withdraw-screen .withdraw-balances{margin-bottom:9px}
  .withdraw-screen .withdraw-balances>div{padding:8px 10px}
  .withdraw-screen .stack{gap:7px}.withdraw-screen .withdraw-guidance{font-size:10.5px;line-height:1.4}
}
@media(max-width:640px) and (max-height:600px){
  .page-withdraw .subpage-head{margin-bottom:6px}
  .withdraw-screen{margin-bottom:0}.withdraw-screen .withdraw-balances{margin-bottom:5px}
  .withdraw-screen .stack{gap:4px}.withdraw-screen .field{gap:3px}
}
@media(max-width:640px) and (max-height:500px){
  .member-active .page-withdraw{padding-bottom:4px}
  .page-withdraw .subpage-head p{display:none}
  .withdraw-screen .stack{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:7px}
  .withdraw-screen .withdraw-select-grid,.withdraw-screen .destination-label,.withdraw-screen .withdraw-guidance,.withdraw-screen .primary{grid-column:1/-1}
  .withdraw-screen .field{min-width:0}.withdraw-screen .withdraw-balances>div{padding:6px 8px}
  .withdraw-screen .field-error{font-size:10px;line-height:1.25;letter-spacing:-.3px;white-space:nowrap}
  .withdraw-screen:has(.field-error:not(:empty)){padding:7px!important}
  .withdraw-screen:has(.field-error:not(:empty)) .destination-label{padding-block:4px}
  .withdraw-screen:has(.field-error:not(:empty)) .stack{row-gap:3px}
}
@media(max-width:640px) and (max-height:500px) and (orientation:portrait){
  .page-home .carousel{max-height:16dvh}
  .page-home .quick-actions button{min-height:60px}
  .page-home .home-notice-preview{height:108px}.page-home .notice-row{height:36px}
}
@media(min-width:641px) and (max-height:800px){.page-home .carousel{max-height:205px}}
@media(min-width:641px) and (max-height:500px) and (orientation:landscape){
  .member-active .page-home{display:grid;grid-template-columns:minmax(0,42%) minmax(0,1fr);grid-template-areas:"head head" "banner notices" "actions ticker";grid-template-rows:auto minmax(0,1fr) auto;column-gap:14px;row-gap:6px;padding:8px 16px}
  .page-home .home-head{grid-area:head;margin:0}.page-home .carousel{grid-area:banner;align-self:start;max-height:160px}
  .page-home .quick-actions{grid-area:actions;margin:0}.page-home .quick-actions button{min-height:58px}
  .page-home .ticker{grid-area:ticker;align-self:center;margin:0}
  .page-home .home-notices{grid-area:notices;padding:8px;margin:0}.page-home .home-notice-preview{height:120px}.page-home .notice-row{height:40px}
}
@media(prefers-reduced-motion:reduce){.ticker-text{animation:none}}
