/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--card); color: var(--text); font-weight: 600; font-size: 14px; white-space: nowrap; transition: background .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease), box-shadow .15s var(--ease); }
.btn:hover { background: var(--card-2); border-color: var(--line-2); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }
.btn.primary { background: linear-gradient(135deg, var(--purple), #4B2BF0 55%, var(--blue)); border-color: transparent; color: #fff; box-shadow: 0 6px 22px rgba(99, 32, 238, .32); }
.btn.primary:hover { box-shadow: 0 8px 28px rgba(99, 32, 238, .5); filter: brightness(1.08); }
.btn.gold { background: transparent; color: var(--bronze-text); border-color: rgba(166, 138, 66, .6); }
.btn.gold:hover { background: rgba(166, 138, 66, .12); }
.btn.ghost { background: transparent; }
.btn.danger { color: var(--bad); border-color: rgba(255, 107, 122, .45); background: transparent; }
.btn.sm { min-height: 34px; padding: 0 12px; font-size: 13px; }
.btn.lg { min-height: 50px; padding: 0 26px; font-size: 15px; }
.btn.block { width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--card); color: var(--text-2); }
.icon-btn:hover { color: #fff; background: var(--card-2); }
.ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico.sm { width: 15px; height: 15px; }
.ico.lg { width: 24px; height: 24px; }

/* ---------- cards, chips, badges ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); }
.card.pad { padding: 20px; }
.card.hover { transition: transform .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease); }
.card.hover:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: var(--shadow); }
.panel { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: transparent; color: var(--text-2); font-size: 13px; font-weight: 500; }
.chip:hover { color: #fff; border-color: var(--line-2); }
.chip[aria-pressed="true"], .chip.on { background: rgba(99, 32, 238, .22); border-color: rgba(99, 32, 238, .7); color: #fff; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 5px; min-height: 22px; padding: 0 8px; border-radius: var(--r-pill); font-size: 11px; font-weight: 600; letter-spacing: .02em; border: 1px solid var(--line-2); color: var(--text-2); background: rgba(255, 255, 255, .04); white-space: nowrap; }
.badge.sample { color: var(--warn); border-color: rgba(242, 184, 75, .5); background: rgba(242, 184, 75, .08); }
.badge.ok { color: var(--ok); border-color: rgba(61, 214, 160, .45); background: rgba(61, 214, 160, .08); }
.badge.bad { color: var(--bad); border-color: rgba(255, 107, 122, .45); background: rgba(255, 107, 122, .08); }
.badge.info { color: var(--blue-text); border-color: rgba(124, 156, 255, .45); background: rgba(124, 156, 255, .08); }
.badge.gold { color: var(--bronze-text); border-color: rgba(166, 138, 66, .55); background: rgba(166, 138, 66, .1); }
.badge.chain::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--steel)); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--steel); display: inline-block; flex: none; }
.dot.ok { background: var(--ok); } .dot.warn { background: var(--warn); } .dot.bad { background: var(--bad); }

/* ---------- notices ---------- */
.notice { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-2); color: var(--text-2); font-size: 14px; }
.notice > .ico { margin-top: 2px; color: var(--info); }
.notice.warn { border-color: rgba(242, 184, 75, .45); background: rgba(242, 184, 75, .07); } .notice.warn > .ico { color: var(--warn); }
.notice.bad { border-color: rgba(255, 107, 122, .45); background: rgba(255, 107, 122, .07); } .notice.bad > .ico { color: var(--bad); }
.notice.ok { border-color: rgba(61, 214, 160, .4); background: rgba(61, 214, 160, .06); } .notice.ok > .ico { color: var(--ok); }
.notice b { color: var(--text); }
.sample-bar { margin-top: 16px; }

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; }
.field > label, .label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.hint { font-size: 12.5px; color: var(--muted); }
.input, .select, .textarea { width: 100%; min-height: 44px; padding: 10px 14px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-2); color: var(--text); transition: border-color .15s, box-shadow .15s; }
.textarea { min-height: 96px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: #6B7380; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--line-2); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(99, 32, 238, .28); }
.input[aria-invalid="true"] { border-color: var(--bad); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238E9AA6' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.err { color: var(--bad); font-size: 13px; }
.check { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); cursor: pointer; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--purple); flex: none; }
.check:has(input:checked) { border-color: rgba(99, 32, 238, .7); }
.search { position: relative; }
.search > .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search .input { padding-left: 42px; border-radius: var(--r-pill); }

/* ---------- tabs ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: thin; }
.tab { padding: 12px 16px; background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); font-weight: 600; font-size: 14px; white-space: nowrap; margin-bottom: -1px; }
.tab:hover { color: #fff; }
.tab[aria-selected="true"] { color: #fff; border-bottom-color: var(--purple); }
.tab .count { margin-left: 6px; font-size: 12px; color: var(--muted); font-weight: 500; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
table.table { width: 100%; border-collapse: collapse; min-width: 560px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: rgba(255, 255, 255, .02); }
.table .r { text-align: right; }

/* ---------- breadcrumbs, page head ---------- */
.crumbs { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 13px; padding: 22px 0 6px; flex-wrap: wrap; }
.crumbs a:hover { color: #fff; }
.crumbs .sep { opacity: .5; }
.page-head { padding: 12px 0 8px; }
.page-head p.lede { color: var(--text-2); font-size: 17px; margin-top: 10px; max-width: 70ch; }

/* ---------- states ---------- */
.state { display: grid; place-items: center; gap: 10px; text-align: center; padding: 44px 20px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); color: var(--muted); }
.state h3, .state h1 { color: var(--text); font-family: inherit; font-size: 18px; font-weight: 600; letter-spacing: normal; }
.state p { max-width: 52ch; }
.skel { position: relative; overflow: hidden; background: var(--card); border-radius: var(--r); }
.skel::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .06), transparent); animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--purple-text); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- modal + toast ---------- */
.overlay { position: fixed; inset: 0; z-index: 100; background: var(--overlay); display: grid; place-items: center; padding: 16px; backdrop-filter: blur(4px); }
.modal { width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.modal-body { padding: 20px; display: grid; gap: 14px; }
.modal-foot { padding: 16px 20px; border-top: 1px solid var(--line); display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 120; display: grid; gap: 10px; width: min(380px, calc(100vw - 32px)); }
.toast { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r); background: var(--card-2); border: 1px solid var(--line-2); box-shadow: var(--shadow); font-size: 14px; animation: pop .2s var(--ease); }
.toast.ok { border-color: rgba(61, 214, 160, .5); } .toast.bad { border-color: rgba(255, 107, 122, .55); } .toast.warn { border-color: rgba(242, 184, 75, .5); }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }

/* ---------- wallet list ---------- */
.wlist { display: grid; gap: 10px; }
.wopt { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-2); }
.wopt:hover:not([disabled]) { border-color: var(--purple); background: rgba(99, 32, 238, .1); }
.wopt[disabled] { opacity: .55; cursor: not-allowed; }
.wopt .wmark { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--card-2); font-weight: 700; color: var(--text-2); flex: none; }
.wopt .wsub { display: block; color: var(--muted); font-size: 12.5px; }

/* ---------- header ---------- */
.hdr-host { position: sticky; top: 0; z-index: 60; background: rgba(13, 14, 18, .86); backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--line); }
.hdr { height: var(--hdr-h); }
.hdr .wrap { height: 100%; display: flex; align-items: center; gap: 14px; }
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand img { width: 42px; height: 43px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(99, 32, 238, .55)); }
.brand .wm { font: 700 19px/1 var(--font-display); letter-spacing: .13em; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.nav a, .nav button.navbtn { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px; border-radius: var(--r-pill); color: var(--text-2); font-weight: 600; font-size: 14px; background: none; border: 0; }
.nav a:hover, .nav button.navbtn:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .06); }
.hdr-search { flex: 1 1 200px; min-width: 120px; max-width: 420px; margin-left: auto; }
.hdr-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.langbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--card); color: var(--text-2); font-weight: 600; font-size: 13px; }
.langbtn:hover { color: #fff; background: var(--card-2); }
.pop { position: absolute; z-index: 70; min-width: 200px; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: var(--shadow); padding: 6px; }
.pop a, .pop button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-sm); background: none; border: 0; text-align: left; color: var(--text-2); font-size: 14px; }
.pop a:hover, .pop button:hover, .pop [aria-checked="true"] { background: rgba(255, 255, 255, .06); color: #fff; }
.pop hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }
.pop .who { padding: 10px 12px; color: var(--muted); font-size: 12.5px; }

/* mega menu */
.mega { position: fixed; left: 0; right: 0; bottom: 0; top: var(--hdr-h); z-index: 55; background: var(--overlay); backdrop-filter: blur(6px); overflow: auto; }
.mega-panel { max-width: 1120px; margin: 14px auto 40px; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 20px; }
.mega-find { margin-bottom: 18px; }
.mega-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; }
.mega-col h4 { font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--bronze-text); margin-bottom: 10px; }
.mega-link { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; margin: 0 -10px; border-radius: var(--r-sm); color: var(--text-2); font-size: 14px; }
.mega-link:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.mega-link .ico { margin-top: 2px; color: var(--purple-text); }
.mega-link small { display: block; color: var(--muted); font-size: 12px; line-height: 1.35; }
.mega-link .badge { margin-left: auto; }
.mega-empty { color: var(--muted); padding: 16px 0; }
@media (max-width: 1100px) { .mega-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* The header has to fit in every language at every width, so the navigation gives way step by step: the later links go first, then the "Menu" label, then the whole row (the Menu button always has everything). */
@media (max-width: 1560px) { .nav a:nth-child(n+5) { display: none; } }
@media (max-width: 1440px) { .nav a:nth-child(n+4) { display: none; } }
@media (max-width: 1300px) { .nav a:nth-child(n+3) { display: none; } .menu-btn .mb-t { display: none; } .menu-btn { padding: 0 13px; } }
@media (max-width: 1160px) { .nav a:nth-child(n+2) { display: none; } }
@media (max-width: 1080px) { .nav { display: none; } }
@media (max-width: 1000px) { .nav { display: none; } .hdr-search { display: none; } .hdr-actions { margin-left: auto; } }
@media (max-width: 720px) { .mega-grid { grid-template-columns: minmax(0, 1fr); gap: 4px; } .mega-col { border-bottom: 1px solid var(--line); padding: 4px 0 12px; } .mega-panel { margin: 0; border-radius: 0; border-left: 0; border-right: 0; min-height: 100%; } .brand .wm { display: none; } .hdr .wrap { gap: 8px; } .langbtn span.lt { display: none; } }
.menu-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--card); font-weight: 600; font-size: 14px; }
.menu-btn:hover { background: var(--card-2); }
.menu-btn[aria-expanded="true"] { border-color: var(--purple); box-shadow: var(--glow-purple); }
/* Phones: the header has to fit in every language, so the menu button keeps only its icon (its name stays for screen readers) and the wallet button is a little tighter. */
@media (max-width: 560px) { .menu-btn .mb-t { display: none; } .menu-btn { padding: 0 13px; } .hdr-actions { gap: 6px; } .hdr-actions .btn.primary { padding-inline: 14px; white-space: nowrap; } }
.hdr-search-mobile { display: none; }
@media (max-width: 1000px) { .hdr-search-mobile { display: block; } }

/* ---------- footer ---------- */
.ftr { border-top: 1px solid var(--line); background: var(--bg-2); padding: 44px 0 28px; }
.ftr-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; }
.ftr h4 { font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--bronze-text); margin-bottom: 12px; }
.ftr li + li { margin-top: 8px; }
.ftr li a { display: inline-flex; align-items: center; gap: 8px; }
.ftr a { color: var(--text-2); font-size: 14px; }
.ftr a:hover { color: #fff; }
.ftr .tag { color: var(--muted); max-width: 38ch; margin-top: 12px; font-size: 14px; }
.ftr-legal { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; display: grid; gap: 10px; }
@media (max-width: 860px) { .ftr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ftr-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .ftr-grid { grid-template-columns: minmax(0, 1fr); } }
.lang-note { border-bottom: 1px solid rgba(242, 184, 75, .35); background: rgba(242, 184, 75, .07); color: var(--text-2); font-size: 13px; padding: 8px 0; }

/* ---------- art + cards for NFTs / collections / tokens ---------- */
.art { position: relative; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--bg-2); }
.art svg { width: 100%; height: 100%; }
.art .badge { position: absolute; left: 8px; top: 8px; backdrop-filter: blur(6px); background: rgba(13, 14, 18, .7); }
.nft-card { display: block; overflow: hidden; }
.nft-card .art { border-radius: 0; }
.nft-card .meta { padding: 12px 14px 14px; display: grid; gap: 6px; }
.nft-card .name { font-weight: 600; }
.nft-card .sub { color: var(--muted); font-size: 12.5px; }
.price { font-weight: 700; font-variant-numeric: tabular-nums; }
.col-card { display: block; overflow: hidden; }
.col-card .banner { aspect-ratio: 16/7; position: relative; }
.col-card .banner .art { aspect-ratio: auto; height: 100%; border-radius: 0; }
.col-card .logo { position: absolute; left: 14px; bottom: -22px; width: 52px; height: 52px; border-radius: 14px; border: 3px solid var(--card); overflow: hidden; background: var(--bg-2); }
.col-card .logo .art { height: 100%; aspect-ratio: auto; border-radius: 0; }
.col-card .body { padding: 30px 16px 16px; display: grid; gap: 8px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stat { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); }
.stat .k { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.stat .v { margin-top: 4px; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat .v.na { font-size: 15px; color: var(--muted); font-weight: 500; }
.kv { display: grid; grid-template-columns: minmax(0, max-content) minmax(0, 1fr); gap: 10px 20px; font-size: 14px; }
.kv dt { color: var(--muted); overflow-wrap: anywhere; } .kv dd { margin: 0; word-break: break-all; }
@media (max-width: 560px) { .kv { grid-template-columns: minmax(0, 1fr); gap: 2px 0; } .kv dd { margin-bottom: 10px; } }
.trait { padding: 10px 12px; border: 1px solid rgba(26, 83, 255, .4); border-radius: var(--r); background: rgba(26, 83, 255, .07); }
.trait .k { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--blue-text); font-weight: 600; }
.pager { display: flex; justify-content: center; gap: 10px; margin-top: 24px; align-items: center; }

/* ---------- profile picture, beta badge, profile icon, holdings, offers, whitelist (beta) ---------- */
.avatar { --s: 96px; flex: none; width: var(--s); height: var(--s); border-radius: 28%; overflow: hidden; border: 1px solid var(--line-2, var(--line)); background: var(--card-2, var(--card)); box-shadow: 0 10px 34px rgba(99, 32, 238, .22); }
.avatar img, .avatar svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.crop-stage { display: grid; place-items: center; padding: 6px 0; }
.crop-canvas { width: 280px; max-width: 100%; height: auto; aspect-ratio: 1; border-radius: 28%; border: 1px solid var(--line-2, var(--line)); background: #0c0c14; cursor: grab; touch-action: none; box-shadow: 0 10px 34px rgba(99, 32, 238, .22); }
.crop-canvas:active { cursor: grabbing; }
.crop-canvas:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }
.crop input[type="range"] { width: 100%; accent-color: var(--purple); }
.avatar-picker .err:empty, .offer-card .err:empty { display: none; }
.bio { max-width: 70ch; overflow-wrap: anywhere; line-height: 1.55; }

.badge.beta { text-transform: uppercase; letter-spacing: .12em; font-family: var(--mono, ui-monospace, monospace); font-size: 11px; color: var(--ok); border-color: rgba(61, 214, 160, .5); background: rgba(61, 214, 160, .09); }
.beta-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(61, 214, 160, .6); animation: beta-pulse 2.2s ease-out infinite; }
@keyframes beta-pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 214, 160, .55); } 70% { box-shadow: 0 0 0 7px rgba(61, 214, 160, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 214, 160, 0); } }

.profile-btn { position: relative; overflow: visible; flex: none; }
.profile-btn .avatar { --s: 34px; border-radius: 50%; border: 0; box-shadow: none; }
.profile-dot { position: absolute; top: 5px; right: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--bad); border: 2px solid var(--bg, #0d0e12); }
.profile-dot[hidden] { display: none; }

.hold-card { overflow: hidden; display: grid; }
.hold-img { aspect-ratio: 1; overflow: hidden; background: var(--card-2, var(--card)); }
.hold-img img, .hold-img .art, .hold-img svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.pad-s { padding: 12px; }
.clip { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
details > summary { cursor: pointer; font-weight: 600; }

.offer-card { display: grid; gap: 10px; }
.offer-amount { font-size: 20px; font-weight: 700; white-space: nowrap; }
.offer-msg { margin: 0; color: var(--text-2); overflow-wrap: anywhere; }
.wl-card form .input { min-width: 0; flex: 1 1 auto; min-height: 36px; padding: 6px 12px; }
@media (max-width: 560px) { .profile-btn { width: 38px; height: 38px; } .hdr-actions { gap: 4px; } .avatar { --s: 88px; } }
/* A long display name (up to 40 characters) must not push the header wider than the screen. */
.hdr-actions .langbtn .lt { max-width: 14ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 400px) { .hdr-actions .btn.primary .ico { display: none; } .hdr-actions .langbtn { padding: 0 10px; } }
