/* Floating glass surfaces; ordinary records remain quiet, stationary surfaces. */
:root{--glass:rgba(27,27,29,.8);--glass-line:rgba(255,255,255,.18);--safe-bottom:calc(max(env(safe-area-inset-bottom,0px),var(--tg-safe-area-inset-bottom,0px)) + var(--tg-content-safe-area-inset-bottom,0px));--safe-left:max(env(safe-area-inset-left,0px),var(--tg-safe-area-inset-left,0px));--safe-right:max(env(safe-area-inset-right,0px),var(--tg-safe-area-inset-right,0px))}
html{scrollbar-gutter:stable}html:has(dialog[open]){overflow:hidden}p{text-wrap:pretty;max-width:75ch}h1,h2,h3{text-wrap:balance}
button,input,textarea,select{-webkit-appearance:none;appearance:none}
button:active:not(:disabled){transform:none;background-color:#363638}
button.primary:active:not(:disabled){background:#ddd}
.sidebar,.choice-popover,.dialog-panel{background:linear-gradient(150deg,#ffffff0b,transparent 42%),var(--glass);border:1px solid var(--glass-line);backdrop-filter:blur(28px) saturate(125%);-webkit-backdrop-filter:blur(28px) saturate(125%);box-shadow:inset 0 1px #ffffff0d,0 12px 36px #0005}
.sidebar{isolation:isolate}.nav-button{position:relative;z-index:1;transition:color .18s;background:none!important}.nav-button[aria-current=page]{color:#fff}.nav-button:hover .icon{transform:none}
.nav-indicator{position:absolute;top:5px;left:5px;height:calc(100% - 10px);width:calc((100% - 25px)/4);border-radius:17px;background:linear-gradient(#ffffff10,#ffffff04),#ffffff0b;border:1px solid #ffffff13;transition:transform .28s var(--ease);pointer-events:none;z-index:0}
.topbar{background:#111111d9;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}
.view-profile{max-width:1280px}.view-search{max-width:1720px}.view-history{max-width:1280px}
.view-profile>.control-strip{padding:12px 0;margin-bottom:6px}.profile-grid,.profile-details{max-width:none}.profile-details .status{margin-left:12px}.profile-grid{gap:14px}.market-card{background:#171719;border-color:#303033}
.stat small{min-height:17px;white-space:nowrap}.is-loading{opacity:1}.subscriptions-grid{align-items:start}.subscription{transition:background-color .22s,border-color .22s}.subscription.off{background:#121214}.subscription.off .card-visual{filter:saturate(.4);opacity:.7;transition:opacity .22s,filter .22s}
.switch{opacity:1!important;transition:none;width:44px;min-width:44px}.switch[aria-busy=true]{cursor:progress}.switch:after{left:8px;transition:transform .24s var(--ease),background .18s}.switch:before{left:5px;width:34px;transition:background .18s}.switch[aria-checked=true]:after{transform:translateX(14px)}.switch:focus-visible{outline-offset:0}
.subscription .card-body{padding:10px 12px 11px}.subscription .card-head{margin:0;min-height:38px}.subscription .card-title h2{font-size:15px}.subscription .card-attribute-counts{font-size:12px;margin:2px 0 8px}.subscription .card-metrics small{font-size:12px}.subscription .card-edit{min-height:44px;font-size:12px}.subscription .card-foot{margin-top:9px}
.card-visual{justify-content:center;height:72px;isolation:isolate}.visual-models{justify-content:center;flex:none;margin-inline:auto;max-width:100%}.visual-models>.visual-art{width:64px;height:64px;position:relative;z-index:1}.visual-models>.visual-art+.visual-art{margin-left:-12px}.visual-models .visual-art img{filter:drop-shadow(0 3px 4px #0003)}.visual-symbols{position:absolute;right:8px;top:50%;transform:translateY(-50%);margin:0}.visual-symbols>.visual-art{width:26px;height:26px}.visual-pattern{position:absolute;right:8px;bottom:5px;margin:0;font-size:12px}
.visual-backdrops{opacity:.75}.visual-backdrop{background:radial-gradient(ellipse at 50% 20%,var(--art-color,#3b3b3b),var(--art-edge,var(--art-color,#252525)))}
dialog#modal{position:fixed;inset:0;width:100%;max-width:none;height:100%;max-height:none;margin:0;padding:calc(16px + var(--safe-top) + var(--content-top)) max(12px,var(--safe-right)) calc(16px + var(--safe-bottom)) max(12px,var(--safe-left));border:0;border-radius:0;background:transparent;box-shadow:none;overflow:hidden;backdrop-filter:none;-webkit-backdrop-filter:none;color:var(--text)}
dialog#modal[open]{display:flex;align-items:center;justify-content:center}
dialog::backdrop{background:#0006;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);animation:scrim-in .22s ease-out both}
dialog.is-closing::backdrop{animation:scrim-out .18s ease-in both}
.dialog-panel{display:flex;flex-direction:column;width:min(650px,100%);max-height:100%;min-height:0;border-radius:24px;overflow:hidden;background-color:rgba(24,24,26,.94)}
.dialog-head{position:relative;top:auto;flex:none;padding:16px 21px;background:#ffffff03;backdrop-filter:none;-webkit-backdrop-filter:none;border-color:#ffffff12}
.dialog-head h2{font-size:20px}.dialog-head .icon-button{background:#ffffff0a;border:1px solid #ffffff0b;transition:transform .18s var(--ease),background-color .18s}
.is-closing .dialog-head .icon-button{transform:rotate(90deg) scale(.88)}
.dialog-body{min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;padding:4px 21px 21px}
.is-closing .dialog-panel{pointer-events:none}.dialog-actions{margin-top:18px}.field{margin:14px 0}.field input,.field textarea{font-size:16px}.check-label{min-height:44px}.form-error{min-width:0}
.choice-popover{border-radius:18px;overflow:hidden;display:flex;flex-direction:column;padding:0;transform:none;transition:none;max-height:420px;background-color:rgba(27,27,29,.92)}
.choice-popover:not(:popover-open):not(.popover-fallback){display:none}.choice-popover.picker-closing{pointer-events:none}.choice-popover[data-side=up]{transform-origin:50% 100%}
.choice-search{min-height:58px;gap:10px;padding:6px 14px;background:#ffffff04;border:0;border-bottom:1px solid #ffffff12;outline:0;box-shadow:none}
.choice-search:focus-within{outline:0;box-shadow:inset 0 -2px #aaa}
.choice-search input,.choice-search input:hover,.choice-search input:focus,.choice-search input:focus-visible{appearance:none;-webkit-appearance:none;background:transparent!important;border:0!important;border-radius:0;padding:8px 0;min-height:44px;box-shadow:none!important;outline:0!important;font-size:16px}
input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}
.choice-options{position:relative;min-height:0;flex:1;max-height:none;padding:6px;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;overscroll-behavior:contain}
.choice-option{font-size:14px;min-height:52px;border:0;border-radius:10px;background:transparent;transition:background-color .14s}
.choice-option[aria-selected=true]{background:#ffffff0e}.choice-option.highlighted{background:#ffffff16}.choice-option:active:not(:disabled){background:#ffffff1d}
.choice-check{width:18px;height:18px;background:transparent;border:1px solid #777;border-radius:50%;transition:background-color .16s,border-color .16s}.choice-option[aria-selected=true] .choice-check{border-color:#f5f5f5;background:#f5f5f5}.choice-multiple .choice-check{border-radius:5px}.choice-multiple .choice-option[aria-selected=true] .choice-check:after{width:9px;height:5px;border-left:2px solid #171717;border-bottom:2px solid #171717;border-radius:0;background:transparent;transform:translateY(-1px) rotate(-45deg)}
.choice-footer{padding:10px;border-color:#ffffff12;background:#ffffff03}.choice-footer button{min-height:44px;font-size:13px}.choice-option-meta{font-size:12px;color:#bdbdc2}
.choice-trigger{border-color:#3b3b3e;background:#202022;min-height:44px;font-size:13px;transition:background-color .18s,border-color .18s}
.choice-trigger[aria-expanded=true]{background:#29292c;border-color:#777}.choice-trigger>.icon{transition:transform .22s var(--ease)}.choice-trigger[aria-expanded=true]>.icon{transform:rotate(180deg)}
.choice-art{display:grid;grid-template-areas:'art';background:var(--art-color,#ffffff08);border-radius:10px;overflow:hidden}.choice-art>*{grid-area:art}.choice-art:has(img)>.icon{visibility:hidden}.choice-art img{position:relative;max-width:100%;max-height:100%;width:100%;height:100%}.choice-art-backdrop{background:radial-gradient(ellipse at 50% 20%,var(--art-color,#3b3b3b),var(--art-edge,var(--art-color,#252525)))}
.art:has(img:not(.image-ready))>.icon,.choice-art:has(img:not(.image-ready))>.icon{visibility:visible}.art img:not(.image-ready),.choice-art img:not(.image-ready){opacity:0}
.toolbar>.choice-control{max-width:220px}.account-tools .choice-trigger{min-height:44px}.account-tools .choice-art{border-radius:50%}.choice-art img,.art img{object-fit:contain}
.toast{background:#e9e9eced;color:#101012;border:1px solid #fff5;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);animation:toast-in .18s ease-out}
@keyframes scrim-in{from{opacity:0}to{opacity:1}}@keyframes scrim-out{to{opacity:0}}@keyframes toast-in{from{opacity:0}to{opacity:1}}
@media(hover:hover) and (pointer:fine){.choice-option:hover:not(:disabled){background:#ffffff12}.dialog-head .icon-button:hover{background:#ffffff16}.subscription:hover{border-color:#505055}}
@media(hover:none),(pointer:coarse){button:hover:not(:disabled){border-color:var(--line)}.choice-option:hover:not(:disabled){background:transparent}.choice-option[aria-selected=true]:hover{background:#ffffff0e}.nav-button:hover:not(:disabled){background:transparent}.sidebar .nav-button:hover>.icon{transform:none}.choice-trigger:hover:not(:disabled){background:#202022}.switch:hover:not(:disabled){border-color:transparent}}
@media(max-width:760px){.dialog-head{padding:13px 16px}.dialog-head h2{font-size:19px}.dialog-body{padding:4px 16px 18px}.dialog-panel{border-radius:22px}.subscription .card-body{padding:8px 10px 10px}.subscription .card-title h2{font-size:14px}.card-visual{height:64px}.visual-models>.visual-art{width:54px;height:56px}.visual-models>.visual-art+.visual-art{margin-left:-16px}.visual-models>.visual-art:nth-child(n+4){display:none}.toolbar>.choice-control{max-width:none}.choice-art{width:36px;height:36px}.choice-search{min-height:56px}.subscription .card-metrics small{font-size:12px}.account-tools .choice-trigger-label{max-width:135px}.profile-details{gap:10px}.view-profile .profile-grid{margin-top:10px}.profile-grid .market-card{padding:17px}}

.view-profile>.control-strip{border-top:0}
.view-profile .profile-grid:has(.shared-market-card){grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.shared-market-card{min-width:0;display:flex;flex-direction:column}.shared-market-card .market-card-head{align-items:flex-start;flex-wrap:wrap;gap:10px;min-height:32px;margin-bottom:18px}.shared-market-card .market-card-head h2{margin:0;font-size:20px;line-height:1.35;text-align:left}.shared-market-card .market-card-head .status{flex:none;margin-left:auto}.shared-market-card .market-info{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-bottom:15px;border-bottom:1px solid #ffffff12;margin-bottom:10px}.shared-market-card .market-info strong{display:block}.shared-market-card>.credential-note{margin:7px 0;line-height:1.65}.shared-market-card>button{align-self:flex-start;margin-top:10px}.view-profile .profile-details>div{min-width:0}.view-profile .profile-details .status{flex:none}.view-profile .profile-details p{overflow-wrap:anywhere}.shared-buyer-card .market-card-head h2{margin:0}.shared-buyer-card .credential-note{max-width:none;line-height:1.65}.view-profile>.credential-note{line-height:1.65}
@media(max-width:760px){.view-profile .profile-grid:has(.shared-market-card){grid-template-columns:1fr}.shared-market-card .market-card-head h2{font-size:19px}.shared-market-card .market-info{gap:10px}.shared-market-card .market-info small{font-size:11px}.view-profile .profile-details{align-items:flex-start;flex-wrap:wrap}.view-profile .profile-details>.status{margin-left:0}.view-profile .account-note{align-items:center}.shared-buyer-card .market-card-head h2{font-size:19px}.shared-buyer-card .market-card-head .status{margin-left:0}}
.choice-options{scrollbar-gutter:auto;padding:6px}
.choice-sort{display:flex;gap:6px;flex:none;padding:6px 10px;border-bottom:1px solid #ffffff12}
.choice-sort button{flex:1;min-height:44px;font-size:12px;border:0;background:transparent;color:#bdbdc2}
.choice-sort button[aria-pressed=true]{background:#ffffff10;color:#fff}
.choice-backdrops .choice-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;align-content:start}
.choice-backdrops .choice-option{flex-direction:column;justify-content:center;gap:5px;text-align:center;position:relative;min-height:78px;padding:8px 5px}
.choice-backdrops .choice-check{position:absolute;right:6px;top:6px;width:14px;height:14px}
.choice-backdrops .choice-art{width:25px;height:25px;border-radius:7px}
.choice-backdrops .choice-option-label{font-size:12px;flex:none;line-height:1.4}
@media(max-width:760px){.catalog-grid .collection-button{align-items:center;text-align:center}.catalog-grid .collection-button>span{width:100%;text-align:center}}
