/* KankaiHost — Domain sale (discounted extensions) */
.dsale-body{background:#f3f6fd}
.dsale-body nav a.nav-active{color:#fff}

/* Hero */
.ds-hero{position:relative;overflow:hidden;color:#fff;background:radial-gradient(ellipse at 15% 0%,#3b2a63 0%,#16213f 45%,#0c162a 85%)}
.ds-orb{position:absolute;width:620px;height:620px;right:-140px;top:-260px;border-radius:50%;background:conic-gradient(from 200deg,#ff8a5c,#f472b6,#a78bfa,#facc15,#ff8a5c);opacity:.32;filter:blur(70px);pointer-events:none}
.ds-hero-inner{position:relative;padding-top:54px;padding-bottom:44px;text-align:center}
.ds-kicker{display:inline-flex;align-items:center;gap:9px;padding:6px 14px;border-radius:99px;font-size:10.5px;font-weight:750;letter-spacing:1.4px;color:#fde68a;background:rgba(250,204,21,.1);border:1px solid rgba(250,204,21,.25)}
.ds-kicker i{width:7px;height:7px;border-radius:50%;background:#facc15;box-shadow:0 0 0 4px rgba(250,204,21,.22);animation:ds-pulse 2s infinite}
@keyframes ds-pulse{50%{box-shadow:0 0 0 7px rgba(250,204,21,0)}}
.ds-hero h1{font-size:46px;line-height:1.1;letter-spacing:-1.6px;font-weight:800;margin:20px 0 14px}
.ds-hero h1 span{background:linear-gradient(90deg,#fde047,#fb923c);-webkit-background-clip:text;background-clip:text;color:transparent}
.ds-hero p{max-width:560px;margin:0 auto 28px;color:#b8c2d9;font-size:15px;line-height:1.7}
.ds-check{max-width:640px;margin:0 auto;display:flex;align-items:center;gap:8px;padding:7px;background:#fff;border-radius:14px;box-shadow:0 22px 50px -20px rgba(0,0,0,.65)}
.ds-check input{flex:1;min-width:0;height:46px;padding:0 12px;border:0;outline:0;background:transparent;font-size:16px;color:#14213b}
.ds-check input::placeholder{color:#97a1b6}
.ds-check select{height:46px;max-width:150px;padding:0 10px;border:1px solid #e3e7ef;border-radius:10px;background:#f6f8fc;font-size:15px;font-weight:700;color:#14213b}
.ds-check button{height:46px;padding:0 22px;border-radius:10px;font-size:14px;font-weight:750;color:#1f1300;background:linear-gradient(180deg,#fde047,#facc15);box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 8px 18px -8px rgba(250,204,21,.8)}
.ds-check button:disabled{opacity:.7;cursor:wait}
.ds-result{max-width:640px;margin:12px auto 0;display:flex;align-items:center;gap:14px;padding:14px 16px;border-radius:12px;text-align:left;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);backdrop-filter:blur(6px)}
.ds-result .badge{flex-shrink:0;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font-weight:800}
.ds-result.ok .badge{background:#10b981;color:#fff}
.ds-result.no .badge{background:rgba(255,255,255,.12);color:#cbd5e1}
.ds-result strong{display:block;font-size:15px;overflow-wrap:anywhere}
.ds-result small{color:#b8c2d9;font-size:12.5px}
.ds-result .price{margin-left:auto;text-align:right;white-space:nowrap}
.ds-result .price b{display:block;font-size:19px}
.ds-result a{color:#fde68a;font-weight:700}
.ds-stats{display:flex;justify-content:center;gap:12px;margin-top:26px;flex-wrap:wrap}
.ds-stats>div{min-width:160px;padding:12px 18px;border-radius:12px;text-align:left;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.09)}
.ds-stats strong{display:block;font-size:19px;font-weight:780;letter-spacing:-.4px}
.ds-stats span{font-size:12px;color:#a8b3cb}

/* Workspace */
.ds-workspace{padding-top:38px;padding-bottom:40px}
.ds-error{margin:0 0 20px;padding:13px 16px;border-radius:12px;font-size:13px;color:#9a3412;background:#fff7ed;border:1px solid #fed7aa}
.ds-section-head{text-align:center;margin-bottom:26px}
.ds-section-head h2{font-size:30px;font-weight:800;letter-spacing:-.9px;color:#0f1b3d}
.ds-section-head p{margin:6px 0 0;font-size:14px;color:#7a86a0}
.ds-section-head.row{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;text-align:left}
.ds-section-head.row h2{font-size:22px;letter-spacing:-.5px}

/* Featured cards */
.featured-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 22px;margin-bottom:46px}
.sale-card{position:relative;display:flex;flex-direction:column;align-items:center;min-height:212px;padding:34px 18px 18px;border-radius:14px;text-align:center;background:linear-gradient(180deg,#fff3c4 0%,#fffaf0 42%,#fff 62%);border-top:4px solid #facc15;box-shadow:0 1px 2px rgba(16,24,40,.05),0 16px 32px -18px rgba(30,41,90,.28);transition:transform .18s,box-shadow .18s;color:inherit}
.sale-card:hover{transform:translateY(-4px);box-shadow:0 2px 4px rgba(16,24,40,.06),0 26px 44px -20px rgba(30,41,90,.4)}
.sale-card.skeleton{background:linear-gradient(90deg,#eef2f9 25%,#e5eaf4 50%,#eef2f9 75%);background-size:200% 100%;animation:ds-shimmer 1.4s infinite;border-top-color:#e5eaf4;box-shadow:none}
@keyframes ds-shimmer{to{background-position:-200% 0}}
.off-badge{position:absolute;top:-15px;left:50%;transform:translateX(-50%);padding:4px 13px;border-radius:7px;font-size:13px;font-weight:800;color:#1f1300;background:#facc15;box-shadow:0 4px 10px -4px rgba(202,138,4,.7);white-space:nowrap}
.tld-mark{font-size:46px;line-height:1.1;font-weight:850;letter-spacing:-2px;margin:6px 0 2px;overflow-wrap:anywhere}
.tld-mark i{font-style:normal;opacity:.55;margin-right:1px}
.c0{color:#0f4c81}.c1{color:#111827}.c2{color:#6b21a8}.c3{color:#1f2937;font-family:Georgia,'Times New Roman',serif;font-style:italic;font-weight:600}
.c4{color:#1d4ed8}.c5{color:#065f46}.c6{color:#be123c}.c7{color:#0369a1}
.tld-usage{font-size:12px;color:#8a93a8;min-height:18px}
.card-price{margin-top:auto;padding-top:14px;font-size:32px;font-weight:850;letter-spacing:-1px;color:#0f1b3d;font-variant-numeric:tabular-nums}
.card-renew{font-size:12px;color:#7a86a0}
.card-renew s{color:#a0a8ba}
.card-cta{margin-top:12px;font-size:12.5px;font-weight:750;color:#c2410c;opacity:0;transform:translateY(4px);transition:opacity .18s,transform .18s}
.sale-card:hover .card-cta,.sale-card:focus-visible .card-cta{opacity:1;transform:none}

.ds-footnote{margin:20px auto 0;max-width:760px;text-align:center;font-size:12.5px;line-height:1.7;color:#7a86a0}

@media(max-width:1100px){.featured-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:820px){.featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ds-hero h1{font-size:36px}}
@media(max-width:560px){
 .ds-hero-inner{padding-top:38px}
 .ds-hero h1{font-size:30px}
 .ds-check{flex-wrap:wrap}
 .ds-check input{flex-basis:100%}
 .ds-check select{flex:1;max-width:none}
 .ds-check button{flex:1}
 .ds-stats>div{min-width:0;flex:1}
 .featured-grid{gap:22px 12px}
 .tld-mark{font-size:34px}
 .card-price{font-size:25px}
 .card-cta{opacity:1;transform:none}
}
@media(hover:none){.card-cta{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.sale-card,.sale-card.skeleton,.ds-kicker i{transition:none;animation:none}}

/* ───────── Full sales list ───────── */
.sales-list-section{margin-top:6px}
.sales-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:20px;align-items:start}
.sales-main{min-width:0;padding:22px;border-radius:18px;background:#fff;border:1px solid #e6eaf3;box-shadow:0 1px 2px rgba(16,24,40,.04),0 18px 36px -24px rgba(30,41,90,.25)}

/* Toolbar */
.sales-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.settings-wrap{position:relative}
.settings-button{display:inline-flex;align-items:center;gap:10px;height:46px;padding:0 18px;border-radius:12px;font-size:14.5px;font-weight:700;color:#fff;background:#0f1b3d;box-shadow:0 8px 18px -10px rgba(15,27,61,.8);transition:background .15s}
.settings-button:hover,.settings-button[aria-expanded=true]{background:#1b2b5c}
.settings-button svg{width:22px;height:22px}
.settings-panel{position:absolute;z-index:20;top:calc(100% + 10px);left:0;width:min(460px,calc(100vw - 48px));padding:22px;border-radius:16px;background:#fff;border:1px solid #e3e7f0;box-shadow:0 24px 50px -18px rgba(15,27,61,.35)}
.settings-cols{display:grid;grid-template-columns:1fr 1fr}
.settings-cols fieldset{margin:0;padding:0 18px;border:0}
.settings-cols fieldset:first-child{padding-left:4px;border-right:1px solid #e3e7f0}
.settings-cols legend{padding:0;margin-bottom:12px;font-size:14px;font-weight:700;color:#0f1b3d}
.radio,.check{display:flex;align-items:center;gap:10px;padding:6px 0;font-size:13.5px;color:#56627a;cursor:pointer}
.radio input,.check input{appearance:none;-webkit-appearance:none;flex-shrink:0;width:19px;height:19px;margin:0;border:1.5px solid #c3c9e0;background:#fff;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.radio input{border-radius:50%}
.check input{border-radius:6px}
.radio input:checked{border:6px solid #0f1b3d}
.check input:checked{border-color:#0f1b3d;background:#0f1b3d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat}
.radio input:focus-visible,.check input:focus-visible{box-shadow:0 0 0 4px rgba(250,204,21,.35)}
.radio input:checked+span,.check input:checked+span{color:#0f1b3d;font-weight:650}
.apply-button{width:100%;height:48px;margin-top:20px;border-radius:99px;font-size:15px;font-weight:700;color:#fff;background:#0f1b3d}
.apply-button:hover{background:#1b2b5c}
.sale-search-box{flex:1;min-width:200px;display:flex;align-items:center;gap:10px;height:46px;padding:0 14px;border:1px solid #d9deea;border-radius:12px;background:#fff;transition:border-color .15s,box-shadow .15s}
.sale-search-box:focus-within{border-color:#fcd34d;box-shadow:0 0 0 4px rgba(250,204,21,.2)}
.sale-search-box svg{width:21px;height:21px;color:#0f1b3d;flex-shrink:0}
.sale-search-box input{flex:1;min-width:0;border:0;outline:0;background:transparent;font-size:14.5px;color:#0f1b3d}
.sale-search-box input::placeholder{color:#a3abbf}
.tld-count{font-size:13.5px;font-weight:600;color:#56627a;white-space:nowrap}
.page-size select{height:46px;padding:0 10px;border:1px solid #d9deea;border-radius:12px;background:#fff;font-size:14px;font-weight:650;color:#0f1b3d}
.active-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.active-chips button{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:99px;font-size:12px;font-weight:650;color:#0f1b3d;background:#fef3c7;border:1px solid #fde68a}
.active-chips button:hover{background:#fde68a}

/* Table */
.sales-table-wrap{margin-top:16px;overflow-x:auto;border:1px solid #edf0f6;border-radius:14px}
.sales-table{width:100%;border-collapse:collapse;table-layout:auto}
.sales-table th{padding:13px 18px;text-align:left;font-size:12px;font-weight:700;letter-spacing:.4px;text-transform:uppercase;color:#7a86a0;background:#f7f9fd;border-bottom:1px solid #edf0f6;white-space:nowrap}
.sales-table td{height:auto;padding:14px 18px;border-bottom:1px solid #f0f2f7;vertical-align:middle;text-align:left;font-size:14px;color:#3d4a63}
.sales-table th:last-child,.sales-table td:last-child{width:auto;text-align:right;padding-right:18px}
.sales-table tbody tr{transition:background .12s}
.sales-table tbody tr:hover{background:#fffdf3}
.sales-table tbody tr:last-child td{border-bottom:0}
.tld-cell strong{font-size:17px;font-weight:800;color:#0f1b3d}
.tld-cell small{display:block;font-size:12px;color:#8a93a8;font-weight:500}
.rule-tag{display:inline-block;margin-top:3px;padding:1px 7px;border-radius:5px;font-size:11px;font-weight:650;color:#9a3412;background:#fff7ed}
.multi-tag{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:5px;font-size:11px;font-weight:700;color:#1d4ed8;background:#eff6ff;vertical-align:middle}
.price-cell{white-space:nowrap}
.price-cell s{margin-right:8px;font-size:13px;color:#a0a8ba}
.price-cell strong{font-size:16px;font-weight:800;color:#0f1b3d;font-variant-numeric:tabular-nums}
.price-cell small{display:block;font-size:11.5px;color:#8a93a8}
.off-pill{display:inline-block;padding:3px 10px;border-radius:7px;font-size:12px;font-weight:800;color:#1f1300;background:#facc15}
.off-pill.muted{color:#56627a;background:#eef1f6}
.renew-cell{font-size:13.5px;color:#56627a;white-space:nowrap;font-variant-numeric:tabular-nums}
.row-action{height:36px;padding:0 14px;border-radius:10px;font-size:12.5px;font-weight:700;color:#0f1b3d;background:#fff;border:1px solid #d9deea;white-space:nowrap;transition:border-color .15s,background .15s}
.row-action:hover{border-color:#facc15;background:#fffbeb}
.rows-loading,.rows-empty{padding:40px 18px!important;text-align:center!important;color:#8a93a8}
.rows-empty button{margin-top:10px;font-weight:700;color:#c2410c;text-decoration:underline}

/* Footer & pagination */
.sales-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:16px;flex-wrap:wrap}
.sales-footer p{margin:0;font-size:12.5px;color:#8a93a8}
.pagination{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.pagination button{min-width:38px;height:38px;padding:0 10px;border-radius:10px;font-size:13.5px;font-weight:700;color:#3d4a63;background:#fff;border:1px solid #e1e6ef;transition:border-color .15s,background .15s}
.pagination button:hover:not(:disabled):not(.current){border-color:#fcd34d;background:#fffbeb}
.pagination button.current{color:#fff;background:#0f1b3d;border-color:#0f1b3d;opacity:1}
.pagination button:disabled:not(.current){opacity:.4;cursor:default}
.pagination .gap{padding:0 4px;color:#a0a8ba}

/* Right-side filters */
.filters{position:sticky;top:20px}
.filters-card{padding:20px;border-radius:18px;background:#fff;border:1px solid #e6eaf3;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.filters-card summary{display:flex;align-items:center;justify-content:space-between;list-style:none;cursor:default;font-size:16px;font-weight:800;color:#0f1b3d}
.filters-card summary::-webkit-details-marker{display:none}
.reset-link{font-size:12.5px;font-weight:700;color:#c2410c}
.reset-link:hover{text-decoration:underline}
.filter-group{padding:16px 0 10px;border-top:1px solid #eef1f6;margin-top:14px}
.filter-group+.filter-group{margin-top:0}
.filter-group h3{margin:0 0 6px;font-size:13px;font-weight:750;letter-spacing:.2px;color:#0f1b3d}
.check-list .count{margin-left:auto;padding:1px 7px;border-radius:99px;font-size:11px;font-weight:700;color:#7a86a0;background:#f1f4f9}

@media(max-width:1100px){.sales-layout{grid-template-columns:minmax(0,1fr) 240px}}
@media(max-width:900px){
 .sales-layout{grid-template-columns:1fr}
 .filters{position:static;order:-1}
 .filters-card summary{cursor:pointer}
 .filters-card summary::after{content:"＋";margin-left:10px;font-size:14px;color:#7a86a0}
 .filters-card[open] summary::after{content:"－"}
 .filters-card summary .reset-link{margin-left:auto}
}
@media(max-width:560px){
 .sales-main{padding:14px}
 .sales-toolbar{gap:8px}
 .sale-search-box{order:3;flex-basis:100%}
 .tld-count{order:2;margin-left:auto}
 .settings-panel{padding:16px}
 .settings-cols{grid-template-columns:1fr;gap:12px}
 .settings-cols fieldset{padding:0}
 .settings-cols fieldset:first-child{border-right:0;border-bottom:1px solid #e3e7f0;padding-bottom:12px}
 .sales-table th:nth-child(4),.sales-table td:nth-child(4){display:none}
 .sales-table th,.sales-table td{padding:12px 10px}
 .tld-cell strong{font-size:15px}
 .row-action{padding:0 10px}
 .sales-footer{justify-content:center}
}
