#q-wallet-drawer {
  inset: 0;
  width: min(420px, calc(100vw - 32px));
  height: fit-content;
  max-height: calc(100dvh - 36px);
  margin: auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 24px 96px #20150e45;
  overscroll-behavior: contain;
}
#q-wallet-drawer::backdrop {
  background: rgb(29 21 15 / 56%);
}
#q-wallet-drawer .q-drawer {
  min-height: 0;
  padding: 28px;
}
.w-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.w-network, .w-group h3 {
  font: 600 11px/1.2 Inter, sans-serif;
  letter-spacing: .06em;
  color: var(--muted);
}
.w-network {
  color: var(--orange);
  text-transform: uppercase;
}
.w-head h2 {
  font: 400 37px/1.13 var(--serif, Georgia, serif);
  letter-spacing: -.045em;
  margin: 6px 0 0;
}
.w-head .q-icon-btn, #q-wallet-drawer .q-address .q-icon-btn {
  min-width: 40px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}
.w-group {
  margin-top: 20px;
}
.w-group h3 {
  margin: 0 0 7px;
}
.w-choice {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 53px;
  width: 100%;
  border: 1px solid transparent;
  border-bottom-color: var(--line);
  background: transparent;
  padding: 7px 3px;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
  text-decoration: none;
}
.w-choice:last-child { border-bottom-color: transparent; }
.w-choice:hover:enabled, .w-choice:is(a):hover {
  background: color-mix(in srgb, var(--orange) 6%, transparent);
  border-radius: 7px;
}
.w-choice strong, .w-account strong, .w-await h3 { overflow-wrap: anywhere; }
.w-choice strong { font-size: 14px; font-weight: 600; }
.w-choice:disabled { cursor: default; }
.w-choice-end {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  font-size: 12px;
  color: var(--muted);
}
.w-choice-end svg, .w-links svg { width: 15px; height: 15px; }
.w-mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 11px;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.w-initial {
  background-color: color-mix(in srgb, var(--orange) 12%, var(--white));
  color: var(--orange);
  font: 650 13px Inter, sans-serif;
}
.w-initial img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
#q-wallet-drawer .w-empty, #q-wallet-drawer .w-status {
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  margin: 13px 0 0;
}
#q-wallet-drawer .w-status:empty { display: none; }
.w-mobile-hint { display: none; }
.w-await { padding: 30px 0 4px; text-align: center; }
.w-await .w-mark { width: 56px; height: 56px; border-radius: 14px; }
.w-await h3 { font-size: 18px; margin: 14px 0 0; }
#q-wallet-drawer .w-await p { margin: 5px 0 20px; color: var(--muted); font-size: 14px; }
.w-account { display: flex; align-items: center; gap: 12px; margin: 22px 0 4px; }
.w-account strong, .w-account small { display: block; }
.w-account small { color: var(--muted); font-size: 12px; margin-top: 3px; }
#q-wallet-drawer .q-address { gap: 15px; }
#q-wallet-drawer .q-address code { word-break: break-all; }
.w-balances { border-top: 1px solid var(--line); }
.w-links { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; margin-top: 15px; }
.w-links a { display: flex; width: 100%; min-height: 40px; align-items: center; justify-content: space-between; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; }
.w-links .q-btn, .w-await .q-btn { font-size: 13px; min-height: 40px; }
.q-settings #q-preferences { max-width: 658px; }
.q-settings .q-setting { border-top: 1px solid var(--line); padding-block: 19px; }
.q-settings .q-setting small { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; font-weight: 400; }
.q-settings .q-setting :is(select,input:not([type='checkbox'])) { border-color: var(--line); background: var(--white); color: var(--ink); }
.q-settings .q-toggle:checked { border-color: var(--orange); background: var(--orange); }
.q-settings .q-toggle:checked::after { background: white; }
.q-settings #q-settings-status { display: block; min-height: 21px; }
@media (max-width: 520px) {
  .w-mobile-hint { display: inline; }
  #q-wallet-drawer {
    inset: auto 0 0;
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - 16px);
    border-radius: 23px 23px 0 0;
    border-bottom: 0;
    margin: 0;
  }
  #q-wallet-drawer .q-drawer { padding: 23px max(20px, env(safe-area-inset-right)) max(22px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)); }
  .w-head h2 { font-size: 34px; }
  .w-choice { min-height: 54px; }
}
/* https://phantom.com/_web_platform_assets/favicon-96x96.png */
.w-brand-phantom { background-image: url("data:image/webp;base64,UklGRswCAABXRUJQVlA4TMACAAAvX8AXEFegoG0bxit/DiP6aBhI2yabfyfz+Jtp28Ytf7b9N4Jsm/pT7WQP6O08z4eSuCk5og1AN9r2OGLzS/JyxgxRwfIliGBDjCpABRz63ogD3y7AsUtwCRzdUpv48QNkpDCi/xMgX90/f/njw3id40fUbbjG8QPGPF7guWDO5z1h1nwCyGcF7B4Yzgnojqkot1MCXW8nPOm79XvS/rrg1mtHjRVH6YDc6Vg0klZPMPZ50JhqwK3LjjVSjdqbHsdiat96PDh16rBTJoNrYGwLSrur3Zp2IPUoffGmaeHsphVjss21rWWxgMfxQUKxjf8vXVaas8hRDCIrzOAalrZBRAIkETki+MRoWmkXEblDFhFZKG3BMJlWeFM82nZSrbqdFDDHqbbDS8tg2J0WFVX5D970CfQs1kpommoJmLVRRO6wdVlxFfNNRAIwiuy0BEpfOCAqWWQHeCPyKJJhp9Gh5y9Lwb9PV8BYubeUnmYHfFsJmjd1Fn3nspW7JRomw1xMRLZKsJSp8Mw1fYas7bROwBzpWbkbJuXEN1rQEue/1JgUXEOqTYZB2ek6A0xFZG4JgG8rPVVfGbXIZaXcuaDX8nWqb5RgczC3OC0CL3t0TBj9oOD6OM1jlnJHnYDZ1DUrd4gYXW1uSJZAGSsneuab6VQ/AQ4YFC46Q5Zyb0jaXEm1hC0azh2Ue0Sf42micfZUy1o4zXg7wTclRfSlR90BG4ADcoXGCXKolQH8BDB0Al46U36gZ+k3YL7VhsrR8BryAZNhvGtZOgHfHABey7Jqwwnjgac+yIED3oslgrf8KoLxNxEJwHsxtQ4ii2EQEfnnjy9iJtqyiASSU95IVxoHEVnRN+m72LKIyKFtY6dgGwoJxTZK54cpi/4j8YdReq/gKttYORnjINd81N7LRY8FmD3v5bJ7AH4Y5cpfvsjXew=="); }
/* https://www.solflare.com/wp-content/themes/solflare-web-2024/static/ui/favicon/favicon-96x96.png */
.w-brand-solflare { background-image: url("data:image/webp;base64,UklGRtQCAABXRUJQVlA4TMcCAAAvX8AXEK+gKJKk5hL+VcETLznD2iCQtPH9S/3FjqK2kZzsfo/Z8SfS+90wjiQ5jZjfmP9TGSiUy0JodriEfz+yJA3gITjQZgYMTYBPlAFAY56BwtSJMLPB8NGufeP2zSgsIcCSbbdtI1lw78aD9r/XSER5yH9E/xm4jRRnttNjoDfsrgQvWB2bv/fLeRGaLefL/TuvCXs9jtLAjo9XFO+rtLHrO4LfTVrZ7efic5Jmdvo4eB6knR2eY0pLGy2fQ08c9oW/kzS10+5iN2lrt21/k8b2/sO1M65/zkha22tdH73xWOdjIRQMJzt/pQywaZpQL3zvZXvTxgjC/VJ0nb8aE0e4nEuw3UsL0Zc9LzVq0Azuj4stS9k144LzaVUCVsWkMKDRCOSFDcHbVxHNXpZHGT6xIk1iJRs5pn4cYCSEScXku9cYeeXB/qToQR00/GCQ4FPyT65siqY9te1IxqhCfJ+JnKPWUZPjlgSEPlRLOOoh2SrUwkIXbkJyzJpwysc1sImKyGmg+juUhX7eXZ1elhMAYrgpFNqEgyY7mXDQRbT4s2KXBoV7eylGO9EsIygYKx4gmsSEsj2t3LjCiE4zoG78R44GSYC0QWXbBOmCWumEtOgilV0M6i8UbNt+mQAHbYRgO4eI9BGAiARSflFRgQndZxJBT+cf8oioH5rMA6iUoAAHyqJmHJGRMuxs7omIpyOVZ5JDuMB224ci6hWQmMx6dAxwmHSlIjaqqBSPh3xA0BGMzfCdbA/QGBQCAI0FIWfnbplXS7trI9OSVQ1DKIcbP52svn9FHsUX4rkuAyiI/NQ4bBMK2llttSXg0kJeDkR1OZf9L7CS9POlskmAcrfLvbjVob6z3b+EPK+4N3znIyNZqh2XaT+u1H9crP24Xv9xyfbjqv3HhduPa7cfl28/r6D9vIj28zq6z0v5T/Nq2s8LWgEA"); }
/* https://metamask.io/favicons/default/favicon-96x96.png */
.w-brand-metamask { background-image: url("data:image/webp;base64,UklGRqIEAABXRUJQVlA4TJUEAAAvX8AXEO/BNpIcJnqIXEZKP/RfB0RWXmqDbWTbSs7HnUi7of8SiN3dCRhGkqTkXbAEiI+oycDdYZdNbW1BXgSOE5tEoAGHAGYgg0nIYANNwPkbEOF3Y/xMYJzV8ROymtjHLTXO0mop3iN4thA3fhBclggme6R2ByoVOFmaOg8/GvSXWn1jVhqq+EK/Gtd2BpQF7x08PXhR9lUgvgwQFJAqBEC+BL2RE8gpmRvMwkYJ/WpNShq7LPhzUvxcfo1xYpz4Ac9XfHFDtemSfMQNAfnEg/I3fyJJ1D2NeU1MPoyqjUsGZNu27bSN0uxUN+HYN+FiIxyVNJSoHbf7/98lLvvsc0h9i+i/A7dtI0lOMOOmGezZmT1ekDL9mKRfTpM2Id1Ie3Xza3Fz3cotYivSxvpXoo6tyD1iKV3EX6ZpEruUHUIkj1+j6eY6T1nDSj9+haY69lJQYSso4mToLpRyjyo4rprhaK5R4oIIjCGb6qikrEFFicGaJhGmUtiKFnmTfxdOrbAUKmLt3YVTLYio4b8ziWSKZNypyLR/M6uJ014Ve0xF5S6vGCJeeXAdtSQKS+HCramOajIFEWNUE1uXMUWyijW61dawgupJFLoKH+amOhLJFZYsa0z8OCYUImbNsusqLhFOCQUtae0rPlFQ6MkWfooljBQ+KT83YgojPin79IlTSnrSk8Wm1oNWbCzvxSVKDp+UbRJzGChdUlLa2cOASy5TuhePCBwhS7tPt+IQNB4p3Yq88YiCxCM3KblYWQeOhYiL39shjYt3sOvpfgrd1rp480HXg77vljl3Jqa2dckedynXerB11b6TktW2XueF1uJtdj01npeLiNQafUrkqO95v2U9sLbRrJHtNJ76l4h7ZlQVi3FwC6/RiFEPoq7pWvWQ+QJqFhkVzExGM3zr5xiHmxwIHO485HIIggMXiPEQlL8a5RCMoSdwaIweL75hKVhYO/a5zYNy6kJwgrSXPNOeKEp8u3guafSVLGtUwWtpCyDtmKXVVlmGqUg/jJzq9K4YbGSnAv3qm1gcgScGwieBIh6UQv8o/Clk15Zc4eKU1eLbCj8swcDq24K+6RegYi7phM7DGs0YVMylqUq532Y1s9gKeRFRqsx8bu8F76llVL8ZvxhBaSzApbDd7r0ThU7xq3GqTAzd1suO3QiYMhZ+FBapmxKjPmsWVdGgstA2+D6q66RBVR1NCjSKD9Gkpol+EQv0QClpJHU4zQoBrera9ZHJp4St9WQOCAUc9cFr1vs+H3CafeqsfZbKGZhmp//9rNOsxaqnBRi1ezdi0L7nWPTSxefWZ9YKscqnefiMKrro/ItAfT+K0ck72fPzg9HoM+ZxNDpiB6iv4xvryMHBqNMrzPEo09G5vWIu7I8LhEG35ujI5m22ykYQX7HHOjiqBqDunrM3Ci8fgF4qPEupaSrO98WM5HqHdw7hTcB77/o/HVZqifyJpaqbBPXczony62RdQQ9BxyX02sZr6hfQCngkcgQ0MeAubqBSYWpKE8lB3kUPNHVy1WuVrOsX+6PGG41nT9Ivp+cvngK9PUn/TUoA"); }

.profile-avatar {
  --avatar-size: 32px;
  display: inline-block;
  flex: none;
  width: var(--avatar-size);
  height: var(--avatar-size);
  overflow: hidden;
  border-radius: 50%;
  background: #c76b30 url('/assets/mosaic/portraits.webp') 0 0 / 200% 200% no-repeat;
  box-shadow: inset 0 0 0 1px #5a2f0c38;
}
html[data-portrait='1'] .profile-avatar { background-position: 100% 0; }
html[data-portrait='2'] .profile-avatar { background-position: 0 100%; }
html[data-portrait='3'] .profile-avatar { background-position: 100% 100%; }
.w-title, .q-profile-line {
  display: flex;
  gap: 11px;
  align-items: center;
}
.w-title .profile-avatar, .w-account-portrait .profile-avatar { --avatar-size: 51px; }
.w-account-portrait { position: relative; display: inline-flex; }
.w-account-portrait .w-mark {
  width: 20px;
  height: 20px;
  position: absolute;
  right: -3px;
  bottom: -1px;
  background-color: var(--white);
  border: 2px solid var(--white);
  border-radius: 6px;
  font-size: 8px;
}
.q-page-head .q-profile-line { margin-top: 11px; gap: 8px; }
.q-profile-line .profile-avatar { --avatar-size: 29px; }
@media (max-width: 660px) {
  .mast .profile-avatar { --avatar-size: 28px; }
}

.w-rings { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.w-rings summary { cursor: pointer; font-weight: 600; }
.w-rings form, .w-rings label { display: grid; gap: 8px; }
.w-rings form { gap: 12px; margin-top: 16px; }
.w-rings [hidden] { display: none; }
.w-rings p, .w-rings dt { color: var(--muted); font-size: 13px; line-height: 1.5; }
.w-rings dd { margin: 0 0 10px; overflow-wrap: anywhere; }
.w-rings input { width: 100%; min-width: 0; padding: 10px 12px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.w-rings [data-ring-status]:empty { display: none; }
