:root{--bg:#f7f9f6;--surface:#fff;--pale:#e7f1eb;--line:#d8e4dd;--green:#175f50;--green-dark:#104a3e;--ink:#20332e;--muted:#70857d;--warning:#fff3e9;--radius:12px;font-family:Inter,"Noto Sans SC",system-ui,-apple-system,sans-serif;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #348d78;outline-offset:2px}.site-header{height:70px;padding:0 clamp(18px,3vw,44px);display:flex;align-items:center;gap:32px;border-bottom:1px solid var(--line);background:var(--surface)}.brand{display:flex;align-items:baseline;gap:8px;color:var(--ink);font-weight:750;font-size:20px;white-space:nowrap}.brand-mark{color:var(--green);font-size:25px;letter-spacing:-1px}.top-nav{display:flex;gap:29px;margin-left:14px}.top-nav a{color:var(--muted);padding:24px 0}.top-nav a.active{color:var(--green);font-weight:700;border-bottom:2px solid var(--green)}.wallet-button{margin-left:auto;border:1px solid var(--line);border-radius:9px;background:var(--pale);color:var(--green);padding:9px 16px;font-weight:700;white-space:nowrap}.page{max-width:1600px;margin:auto;padding:24px clamp(18px,3vw,44px) 52px}.promos{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:22px}.promo{min-height:88px;padding:15px 17px;border:1px solid var(--line);border-radius:10px;background:var(--surface);display:flex;flex-direction:column;justify-content:space-between}.promo small{font-size:11px;color:var(--muted)}.promo strong{font-size:14px}.promo a{font-size:12px;font-weight:700}.page-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:18px;gap:20px}h1{font-size:30px;letter-spacing:-.02em;margin:0 0 4px}h2{font-size:18px;margin:0 0 12px}.subtle{color:var(--muted);font-size:13px;margin:0}.workspace{display:grid;grid-template-columns:310px minmax(0,1fr);gap:18px}.filters,.results{background:var(--surface);border:1px solid var(--line);border-radius:12px}.filters{padding:22px 20px;align-self:start}.filters h2{font-size:18px}.filter-section{border-top:1px solid var(--line);padding:17px 0}.filter-section h3{font-size:14px;margin:0 0 12px}.chips{display:flex;flex-wrap:wrap;gap:7px}.chip{border:1px solid var(--line);background:#f5f8f6;border-radius:8px;padding:8px 11px;color:var(--ink);font-size:12px;line-height:1.2}.chip.selected{background:var(--pale);border-color:#6ea98d;color:var(--green);font-weight:700}.chip.selected:before{content:"✓ ";font-weight:800}.field-row{display:flex;gap:8px}.field-row input{min-width:0;width:50%}.input,select{border:1px solid var(--line);border-radius:8px;background:#f8faf8;color:var(--ink);padding:10px 11px;width:100%}.cpu-list{max-height:190px;overflow:auto;display:flex;flex-direction:column;gap:5px;margin-top:8px}.cpu-option{display:flex;align-items:center;gap:8px;padding:5px 2px;font-size:12px}.cpu-option em{margin-left:auto;font-style:normal;color:var(--muted);font-size:11px}.results{min-width:0;padding:19px}.toolbar{display:flex;align-items:center;gap:10px;margin-bottom:15px;flex-wrap:wrap}.toolbar-title{margin-right:auto}.toolbar-title strong{display:block;font-size:17px}.toolbar-title small{font-size:11px;color:var(--muted)}.toolbar .input{width:220px}.toolbar select{width:145px}.view-switch{display:flex;gap:4px}.icon-button{height:38px;min-width:38px;background:#fff;border:1px solid var(--line);border-radius:8px;color:var(--muted)}.icon-button.active{background:var(--pale);color:var(--green);border-color:#70a88b}.notice{border:1px solid var(--line);background:#f5f8f6;color:var(--muted);padding:14px;border-radius:9px;font-size:12px;line-height:1.5}.notice.error{background:var(--warning);color:#80503b;border-color:#f1d7c4}.list-table{width:100%;border-collapse:collapse;font-size:13px}.list-table th{text-align:left;color:var(--muted);font-weight:650;background:#f2f7f3;padding:13px 12px;white-space:nowrap}.list-table td{padding:15px 12px;border-bottom:1px solid #eef2ef;vertical-align:middle}.list-table tbody tr:hover{background:#edf6f0}.asset-title{font-weight:750;font-size:16px;color:var(--ink)}.asset-title small{display:block;color:var(--muted);font-size:11px;font-weight:400;margin-top:3px}.feature-tags{display:flex;gap:5px;flex-wrap:wrap}.tag{display:inline-block;font-size:11px;border-radius:5px;background:#edf4ef;color:var(--green);padding:4px 6px}.price{font-weight:750;white-space:nowrap}.source{font-size:11px;color:var(--muted)}.mini-action{border:1px solid var(--line);background:white;border-radius:7px;color:var(--green);padding:7px 11px;font-size:12px;font-weight:700;white-space:nowrap}.mini-action.primary,.primary{background:var(--green);color:#fff;border:1px solid var(--green)}.primary:hover{background:var(--green-dark)}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.asset-card{border:1px solid var(--line);border-radius:11px;overflow:hidden;background:white}.card-art{height:140px;padding:17px;background:#eaf2ec;display:flex;flex-direction:column;justify-content:space-between}.card-art.domain{background:#e8f0ec}.card-art span{font-size:11px;color:var(--green)}.card-art strong{font-size:27px;letter-spacing:-.035em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.card-info{padding:15px}.card-info h3{margin:0 0 7px;font-size:15px}.card-info .card-price{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:19px}.pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 2px 0;color:var(--muted);font-size:12px}.page-controls{display:flex;align-items:center;gap:8px}.empty{padding:55px 20px;text-align:center}.empty h2{font-size:23px}.empty-links{display:flex;justify-content:center;gap:14px;margin-top:20px}.empty-link{width:min(250px,46%);padding:22px;border-radius:11px;background:#edf5ef;text-align:center}.empty-link strong{display:block;font-size:18px;color:var(--ink);margin-bottom:8px}.empty-link span{font-size:12px}.guide{max-width:920px}.guide section{background:#fff;padding:24px;border:1px solid var(--line);border-radius:12px;margin:15px 0;line-height:1.7}.overlay{position:fixed;inset:0;background:#17271fd9;display:flex;justify-content:center;align-items:center;padding:18px;z-index:20}.modal{width:min(510px,100%);max-height:min(92vh,850px);overflow:auto;background:white;border-radius:15px;padding:23px;box-shadow:0 16px 80px #0003}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.modal-head h2{font-size:21px;margin:0}.close{border:0;background:#f2f6f3;border-radius:7px;width:34px;height:34px;color:var(--ink);font-size:22px;line-height:1}.modal p{font-size:13px;line-height:1.55}.modal .row{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #edf2ee;font-size:13px}.modal .row span:first-child{color:var(--muted)}.modal-actions{display:grid;gap:8px;margin-top:18px}.modal-actions button{min-height:43px;border-radius:8px;font-weight:700;text-align:center}.modal .choice{display:block;width:100%;text-align:left;background:#f6f9f7;border:1px solid var(--line);padding:13px;border-radius:9px;margin:9px 0;color:var(--ink)}.modal .choice.selected{border-color:#7fb395;background:var(--pale)}.modal label{display:block;font-size:13px;font-weight:700;margin:13px 0}.modal label input,.modal label select{margin-top:6px}.qr{display:flex;justify-content:center;margin:16px auto}.small{font-size:11px!important;color:var(--muted)}.status-line{font-size:12px;color:var(--muted)}.mobile-filter-button{display:none}.toast{position:fixed;bottom:18px;right:18px;background:var(--ink);color:#fff;padding:11px 16px;border-radius:9px;z-index:50;max-width:420px;font-size:13px}@media(max-width:1100px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.list-table th:nth-child(3),.list-table td:nth-child(3){display:none}.workspace{grid-template-columns:280px minmax(0,1fr)}}@media(max-width:760px){.site-header{height:60px;padding:0 16px;gap:12px}.brand{font-size:15px}.brand-mark{font-size:19px}.top-nav{margin-left:auto;gap:12px}.top-nav a{padding:19px 0;font-size:12px}.wallet-button{margin-left:0;padding:7px 8px;font-size:11px}.page{padding:16px 13px 38px}.promos{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:4px}.promo{min-width:82%;scroll-snap-align:start}.page-head h1{font-size:26px}.workspace{display:block}.filters{display:none}.filters.open{display:block;position:fixed;z-index:15;inset:0 0 0 auto;width:min(360px,100vw);overflow:auto;border-radius:0;box-shadow:-8px 0 30px #0002}.mobile-filter-button{display:inline-block}.results{padding:13px}.toolbar .input{width:100%;order:5}.toolbar select{width:130px}.list-table{display:block}.list-table thead{display:none}.list-table tbody{display:block}.list-table tr{display:grid;grid-template-columns:1fr auto;gap:4px;border-bottom:1px solid var(--line);padding:12px 3px}.list-table td{display:block;padding:3px 4px;border:0}.list-table td:nth-child(2),.list-table td:nth-child(3),.list-table td:nth-child(5){display:none}.cards{grid-template-columns:1fr}.card-art{height:115px}.overlay{align-items:end;padding:0}.modal{border-radius:18px 18px 0 0;width:100%;max-height:92vh;padding:20px}.empty-links{flex-direction:column;align-items:center}.empty-link{width:100%}}@media(max-width:410px){.top-nav{gap:8px}.brand span:last-child{display:none}}

.filter-apply{display:block;width:100%;min-height:43px;border-radius:8px;font-weight:700;text-align:center}.table-scroll{overflow-x:auto}.qr canvas,.qr img{margin:auto}.cpu-option input{accent-color:var(--green)}@media(max-width:760px){.filters.open{width:min(390px,100vw);padding:22px 20px 36px}.filters.open .filter-apply{margin-top:18px}.list-table tr{align-items:center}}
.cpu-option{min-width:0;border-radius:6px;padding:6px}.cpu-option.selected{background:var(--pale);color:var(--green);font-weight:700}.cpu-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cpu-name small{color:var(--muted)}.cpu-option em{white-space:nowrap}.cpu-empty{padding:8px 6px}

@media(max-width:760px){
  .list-table tr{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto;column-gap:10px;row-gap:7px;align-items:start}
  .list-table td{min-width:0}
  .list-table td:first-child{grid-column:1;grid-row:1}
  .list-table td:nth-child(2){display:block;grid-column:1 / -1;grid-row:2}
  .list-table td:nth-child(4){grid-column:1;grid-row:3;overflow-wrap:anywhere}
  .list-table td:nth-child(5){display:block;grid-column:2;grid-row:3;text-align:right}
  .list-table td:nth-child(6){grid-column:2;grid-row:1;text-align:right}
  .list-table .asset-title{overflow-wrap:anywhere}
  .list-table .feature-tags{max-width:100%}
  .list-table .price{font-size:13px}
}
.purchase-review .row{align-items:flex-start}
.purchase-review .row span{flex:0 0 112px}
.purchase-review .row strong{min-width:0;max-width:calc(100% - 124px);text-align:right;overflow-wrap:anywhere;font-size:12px}
@media(max-width:760px){.purchase-review .row span{flex-basis:96px}.purchase-review .row strong{max-width:calc(100% - 108px)}}
.score-tag{color:var(--green);font-size:11px;font-weight:700;white-space:nowrap}.card-info>.score-tag{display:inline-block;margin-bottom:8px}.toolbar select{width:175px}
.cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.card-art{height:102px;padding:12px}
.card-art strong{font-size:22px}
.card-info{padding:11px}
.card-info h3{margin-bottom:5px;font-size:14px}
.card-info .card-price{margin-top:10px}
.card-info .source{margin:8px 0 0}
.page-controls{gap:5px;flex-wrap:wrap;justify-content:flex-end}
.page-controls .mini-action{min-width:34px;text-align:center}
.page-controls .page-number.active{background:var(--pale);border-color:#70a88b;color:var(--green)}
.page-ellipsis{display:inline-flex;align-items:center;justify-content:center;min-width:20px;color:var(--muted);font-weight:700}
.wallet-mobile-actions{display:grid;gap:8px}
.wallet-app-link{display:flex;align-items:center;justify-content:center;min-height:43px;border-radius:8px;font-size:13px;font-weight:700;text-align:center}
@media(max-width:1050px){.cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.cards{grid-template-columns:1fr}.pagination{align-items:flex-start;flex-direction:column}.page-controls{justify-content:flex-start}.card-art{height:95px}}

/* Transaction dialogs use the same compact rows and quiet notices as the design. */
.listing-asset{margin:2px 0 17px!important;color:var(--muted);font-size:13px!important}
.listing-rows{display:grid;gap:0}
.listing-rows .row{min-height:46px;align-items:center;padding:11px 0}
.listing-rows .row strong{font-size:13px;text-align:right;font-weight:700}
.listing-rows .row span:first-child,.listing-rows .row label{color:var(--muted);font-weight:500}
.listing-control label{margin:0!important}
.listing-price{display:flex;align-items:center;gap:6px;max-width:58%;margin-left:auto}
.listing-price input{width:100%;min-width:0;border:0;background:transparent;text-align:right;color:var(--ink);font-weight:700;outline:0}
.listing-price input::placeholder{color:#9aaea5;font-weight:400}
.listing-price span{color:var(--ink)!important;font-weight:700!important;white-space:nowrap}
.listing-select{width:auto;min-width:115px;border:0;background-color:transparent;text-align:right;text-align-last:right;font-weight:700;padding:5px 26px 5px 7px;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2370857d' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 4px center;background-size:16px}
.listing-note{margin:13px 0;padding:12px 14px;background:var(--pale);border-color:transparent;color:var(--green)}
.notice.listing-note.error,.modal .status-line.error:not(:empty){background:#fff1e9;border:1px solid #e6aa87;color:#913e20}
.listing-success{display:flex;align-items:center;gap:10px;padding:15px 0;color:var(--green);font-size:20px}
.listing-success strong{font-size:17px}
.asset-actions{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}
.modal-actions .mini-action{font-size:13px}
.modal .status-line:not(:empty){padding:10px 12px;border-radius:8px;background:#f5f8f6;color:var(--green)}
@media(max-width:760px){.listing-price{max-width:63%}.listing-rows .row{min-height:48px}}
.guide{max-width:none}
.guide>h1{margin-bottom:5px}
.guide-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px}
.guide-steps section{margin:0;padding:25px 28px;line-height:1.6}
.guide-steps ol{list-style:none;counter-reset:step;padding:0;margin:14px 0 0}
.guide-steps li{counter-increment:step;padding:7px 0;color:var(--muted);font-size:14px}
.guide-steps li:before{content:counter(step,decimal-leading-zero);color:var(--green);font-weight:750;margin-right:14px}
.guide-domain{margin:16px 0;padding:20px 27px;background:var(--pale);border-radius:10px}
.guide-domain h2{margin:0 0 7px;color:var(--green)}
.guide-domain p{margin:0;font-size:13px;line-height:1.65}
.guide .guide-faq{background:transparent;border:0;padding:2px 0;margin:20px 0}
.guide-faq dl{display:grid;grid-template-columns:minmax(180px,1fr) 2fr;gap:10px 22px;font-size:13px}
.guide-faq dt{font-weight:750}.guide-faq dd{margin:0;color:var(--muted)}
@media(max-width:760px){.guide-steps{grid-template-columns:1fr}.guide-faq dl{grid-template-columns:1fr}.guide-faq dd{margin-bottom:12px}}
.quote-choice{display:block;text-align:left!important;cursor:pointer}
.quote-choice-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:7px;color:var(--ink)}
.quote-choice small{color:var(--muted);font-size:12px;line-height:1.5}
.quote-choice.selected{border-color:#6ea98d!important;background:var(--pale)!important}
.contract-detail{font-size:12px!important;color:var(--muted);margin:0 0 13px;overflow-wrap:anywhere}
.purchase-review .listing-rows .row{min-height:42px}
.purchase-review #domain-review-details .row{border-bottom:1px solid #edf2ee}
.purchase-review .row strong a{color:var(--green)}
.asset-external{display:block;font-size:11px;font-weight:600;margin-top:5px;white-space:nowrap}
.header-sell[hidden]{display:none}
.toolbar #sort{appearance:none;-webkit-appearance:none;height:42px;padding:9px 36px 9px 12px;line-height:1.3;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2370857d' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 11px center;background-size:16px}
.domain-expiry{color:var(--muted);font-size:12px;margin:12px 0 0}
.listing-cell{font-size:12px;line-height:1.6;color:var(--muted)}
.listing-cell strong{color:var(--ink);font-size:13px}
@media(min-width:761px){.list-table th:nth-child(3),.list-table td:nth-child(3){display:table-cell}}
@media(max-width:760px){
  .list-table tr{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto}
  .list-table td:nth-child(n){display:block;grid-column:auto;grid-row:auto}
  .list-table td:first-child{grid-column:1;grid-row:1}
  .list-table td:nth-child(2){grid-column:1 / -1;grid-row:2}
  .list-table td:nth-child(3){grid-column:2;grid-row:3;text-align:right}
  .list-table td:nth-child(4){grid-column:1;grid-row:3}
  .list-table td:nth-child(5){grid-column:2;grid-row:1;text-align:right}
  .mine-table tr{grid-template-rows:auto auto auto auto}
  .mine-table td:nth-child(3){grid-column:1;grid-row:3;text-align:left}
  .mine-table td:nth-child(4){grid-column:1 / -1;grid-row:4}
}
.cpu-picker{position:relative}
.cpu-picker summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:41px;padding:9px 11px;border:1px solid var(--line);border-radius:8px;background:#f8faf8;font-size:12px;cursor:pointer;list-style:none}
.cpu-picker summary::-webkit-details-marker{display:none}
.cpu-picker summary span:first-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.picker-chevron{flex:none;width:9px;height:9px;border-right:1.8px solid var(--muted);border-bottom:1.8px solid var(--muted);transform:rotate(45deg);margin:0 4px 5px 0}
.cpu-picker[open] .picker-chevron{transform:rotate(225deg);margin:5px 4px 0 0}
.cpu-picker-panel{position:absolute;z-index:5;top:calc(100% + 5px);left:0;right:0;padding:10px;background:white;border:1px solid var(--line);border-radius:9px;box-shadow:0 12px 30px #102b201c}
.cpu-picker-panel .small{margin:8px 2px 0}
@media(max-width:760px){.cpu-picker-panel{position:static;box-shadow:none;margin-top:6px}}
.header-sell{margin-left:auto;border:1px solid var(--line);border-radius:8px;padding:9px 14px;color:var(--green);font-size:12px;font-weight:750;white-space:nowrap}
.wallet-button{margin-left:0}
@media(min-width:761px){.header-sell[hidden]+.wallet-button{margin-left:auto}}
@media(max-width:760px){.header-sell{display:none}.wallet-button{margin-left:0}}
.pending-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 18px;margin-bottom:18px;border:1px solid #94bda5;border-radius:10px;background:var(--pale)}
.pending-banner strong{color:var(--green)}
.pending-banner p{margin:5px 0;font-size:12px}.pending-banner a{font-size:12px;font-weight:700}
@media(max-width:760px){.pending-banner{align-items:flex-start;flex-direction:column}}

/* Approved four-slot information rail. */
.promo-wrap{min-width:0}
.promo-wrap .promos{margin-bottom:22px}
.promo-wrap .promo{border-color:transparent;min-height:104px;padding:15px 17px}
.promo-wrap .promo small{font-size:11px;color:#58736a}
.promo-wrap .promo strong{font-size:15px;line-height:1.3}
.promo-wrap .promo a,.promo-link-disabled{font-size:12px;font-weight:750;color:var(--green)}
.promo-wrap .promo a{width:max-content}
.promo-link-disabled{opacity:.55;cursor:not-allowed}
.promo-bem{background:#e5f0e9}
.promo-tapecode{background:#eaf0f3}
.promo-tapeup{background:#eef0e9}
.promo-guide{background:#f4efe5}
.promo-progress{display:none}
@media(max-width:760px){
  .promo-wrap .promos{gap:10px;margin-bottom:8px;padding-bottom:2px;scrollbar-width:none;overscroll-behavior-x:contain}
  .promo-wrap .promos::-webkit-scrollbar{display:none}
  .promo-wrap .promo{flex:0 0 82%;min-width:0;scroll-snap-align:start}
  .promo-progress{display:flex;align-items:center;justify-content:center;gap:11px;margin-bottom:18px;color:var(--muted);font-size:11px}
  .promo-dots{display:flex;gap:5px}
  .promo-dots i{display:block;width:5px;height:5px;border-radius:50%;background:#c6d5cc}
  .promo-dots i.active{width:13px;border-radius:4px;background:var(--green)}
}

/* Wallet connection follows the ddns-web flow in the marketplace palette. */
.wallet-dialog{width:min(520px,100%);background:var(--surface);color:var(--ink);border:1px solid var(--line);padding:28px}
.wallet-dialog .modal-head{margin-bottom:18px}
.wallet-dialog .modal-head h2{color:var(--ink);font-size:21px;font-weight:700}
.wallet-dialog .close{width:40px;height:40px;border:1px solid var(--line);border-radius:50%;background:#f5f8f6;color:var(--ink)}
.wallet-dialog .wallet-lead,.wallet-dialog .wallet-privacy{color:var(--muted);font-size:13px;line-height:1.6;margin:0 0 10px}
.wallet-options{display:flex;flex-direction:column;gap:10px;margin-bottom:10px}
.wallet-options .wallet-privacy{margin:0}
.wallet-row{display:flex;align-items:center;gap:14px;width:100%;min-height:68px;padding:11px 12px;margin:0 0 10px;border:1px solid var(--line);border-radius:12px;background:#f8faf8;color:var(--ink);text-align:left;text-decoration:none}
.wallet-row:hover{border-color:#79ae97;background:var(--pale);text-decoration:none}
.wallet-row:disabled{opacity:.55}
.wallet-row-icon{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:10px;background:var(--pale);color:var(--green);font-size:12px;font-weight:750;overflow:hidden}
.wallet-row-icon img{width:100%;height:100%;object-fit:cover}
.wallet-row-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}
.wallet-row-copy strong{font-size:15px;font-weight:650}
.wallet-row-copy small{color:var(--muted);font-size:12px;line-height:1.35}
.wallet-row-arrow{font-size:20px;color:var(--muted)}
.wallet-dialog .wallet-remember{display:flex;align-items:flex-start;gap:8px;color:var(--muted);font-size:13px;font-weight:400;margin:4px 0 14px}
.wallet-remember input{width:auto;margin:2px 0 0;accent-color:var(--green)}
.wallet-dialog .wallet-error{padding:10px 12px;margin:12px 0 0;border:1px solid #f1d7c4;border-radius:8px;background:var(--warning);color:#80503b;font-size:12px;overflow-wrap:anywhere}
.wallet-dialog .wallet-error[hidden]{display:none}
.wallet-qr{display:grid;place-items:center;min-height:270px;margin:0 auto 14px;color:var(--muted);text-align:center}
.wallet-qr img,.wallet-qr canvas{display:block;max-width:100%;height:auto;image-rendering:pixelated;background:white}
.wallet-uri{display:block;width:100%;height:72px;padding:9px;border:1px solid var(--line);border-radius:8px;background:#f8faf8;color:var(--muted);font:11px/1.5 ui-monospace,SFMono-Regular,monospace;resize:vertical;overflow-wrap:anywhere}
.wallet-qr-actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:12px 0}
.wallet-dialog .mini-action{display:inline-flex;align-items:center;justify-content:center;min-height:43px;border:1px solid var(--line);background:#f5f8f6;color:var(--green);text-align:center;text-decoration:none}
.wallet-dialog .mini-action:hover:not(:disabled):not(.disabled){border-color:#79ae97;background:var(--pale)}
.wallet-dialog .mini-action.disabled{opacity:.5;pointer-events:none}
.wallet-dialog .wallet-app-link{padding:8px 14px}
.wallet-mobile-actions{display:flex;justify-content:center}
.wallet-mobile-actions:empty{display:none}
.wallet-back{display:flex!important;width:100%;margin-top:13px}
.wallet-footer{display:grid;gap:8px;margin-top:15px}
.wallet-dialog .wallet-connected-address{overflow-wrap:anywhere;color:var(--ink)}
@media(max-width:760px){.wallet-dialog{max-height:88vh;padding:24px 20px max(24px,env(safe-area-inset-bottom));border-radius:20px 20px 0 0}.wallet-qr{min-height:230px}.wallet-qr-actions>*{flex:1}}

.modal-actions button[hidden]{display:none}

.modal .listing-highlight{font-size:clamp(20px,3.5vw,26px);font-weight:750;line-height:1.5;text-align:center;color:var(--ink);margin:24px 0 28px;overflow-wrap:anywhere}

/* Complete original guide, isolated from marketplace controls and tables. */
.reference-guide{max-width:1240px;line-height:1.85;overflow-wrap:anywhere}
.reference-guide .hero{padding:18px 0 24px}
.reference-guide .eyebrow{font-size:12px;letter-spacing:.08em;color:var(--green);font-weight:700}
.reference-guide h1{font-size:clamp(25px,3vw,36px);margin:8px 0 14px;line-height:1.4}
.reference-guide .subtitle{color:var(--muted);max-width:760px}
.reference-guide .hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 12px}
.reference-guide .button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 16px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--green);text-decoration:none;font-weight:650}
.reference-guide .button.primary{background:var(--green);color:white}
.reference-guide .hero-meta{font-size:12px;color:var(--muted)}
.reference-guide .guide-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:32px;align-items:start}
.reference-guide .guide-toc{position:sticky;top:88px;max-height:calc(100vh - 110px);overflow:auto;border:1px solid var(--line);border-radius:12px;background:white;padding:16px;font-size:13px}
.reference-guide .guide-toc>summary{font-weight:750;color:var(--green);cursor:pointer}
@media(min-width:901px){.reference-guide .guide-toc:not([open])>nav{display:block}.reference-guide .guide-toc>summary{display:none}}
.reference-guide .guide-toc .pdf{width:100%;margin-bottom:12px;font-size:12px}
.reference-guide .side-title{font-weight:750;color:var(--muted)}
.reference-guide .toc{list-style:none;padding:0;margin:0}
.reference-guide .toc a{display:block;padding:6px 4px;text-decoration:none;color:var(--ink)}
.reference-guide .toc a:hover{background:var(--pale);color:var(--green)}
.reference-guide .toc ol{list-style:none;padding-left:12px;border-left:1px solid var(--line);font-size:12px;color:var(--muted)}
.reference-guide .guide-article{min-width:0;font-size:15px}
.reference-guide .guide-article h2{font-size:24px;margin:48px 0 16px;padding-top:20px;border-top:1px solid var(--line);line-height:1.45;scroll-margin-top:90px}
.reference-guide .guide-article>h2:first-child{margin-top:0}
.reference-guide h3{font-size:19px;margin:30px 0 12px;line-height:1.5;scroll-margin-top:90px}
.reference-guide h4{font-size:16px;color:var(--green);margin:24px 0 10px}
.reference-guide p{margin:12px 0}
.reference-guide ul,.reference-guide ol{padding-left:1.4em}
.reference-guide li{margin:6px 0}
.reference-guide code{font-size:.87em;background:var(--pale);border-radius:4px;padding:2px 5px;overflow-wrap:anywhere}
.reference-guide .vn{white-space:nowrap}
.reference-guide .tbl{max-width:100%;overflow-x:auto;margin:18px 0;border:1px solid var(--line);border-radius:10px;background:white}
.reference-guide table{width:100%;min-width:560px;border-collapse:collapse;table-layout:auto;font-size:13px;line-height:1.65}
.reference-guide th,.reference-guide td{padding:10px 12px;text-align:left;white-space:normal;border-bottom:1px solid var(--line);vertical-align:top}
.reference-guide th{background:var(--pale);font-weight:700}
.reference-guide tr:last-child td{border-bottom:0}
.reference-guide figure{margin:24px 0}
.reference-guide figure img{display:block;width:100%;height:auto;border-radius:10px;border:1px solid var(--line)}
.reference-guide figcaption{font-size:12px;text-align:center;color:var(--muted);margin-top:8px}
.reference-guide blockquote,.reference-guide .callout{margin:18px 0;padding:16px 20px;border:1px solid var(--line);border-left:4px solid var(--green);border-radius:10px;background:white}
.reference-guide .callout.tip,.reference-guide .callout.info{background:var(--pale)}
.reference-guide .callout.warn,.reference-guide .callout.gold{background:#fff6e7;border-left-color:#b7791f}
.reference-guide .callout.danger{background:#fff0eb;border-left-color:#b6422b}
.reference-guide .callout ul{padding-left:1.2em}
.reference-guide .steps ol{padding-left:1.5em}
.reference-guide .steps li{background:white;border:1px solid var(--line);border-radius:10px;padding:14px;margin:10px 0}
.reference-guide .cta{padding:24px;border-radius:12px;background:var(--pale);border:1px solid var(--line);margin:20px 0}
.reference-guide .cta-title{font-size:26px;font-weight:750;color:var(--green)}
.reference-guide .cta-note,.reference-guide .cta-kicker{font-size:12px;color:var(--muted)}
.reference-guide .cta-btn a{display:inline-flex;justify-content:center;align-items:center;background:var(--green);color:white;border-radius:8px;padding:10px 18px;text-decoration:none}
.reference-guide hr{display:none}
@media(max-width:900px){.reference-guide .guide-layout{display:block}.reference-guide .guide-toc{position:static;max-height:none;margin-bottom:24px}.reference-guide .guide-toc[open] nav{max-height:60vh;overflow:auto;margin-top:14px}.reference-guide .guide-article{font-size:14px}.reference-guide .guide-article h2{font-size:21px}.reference-guide .hero-actions .button{flex:1 1 auto}}
