:root{font-family:Arial,"Microsoft YaHei",sans-serif;color:#111827;background:#f3f4f6;font-synthesis:none;--ink:#111827;--muted:#6b7280;--gold:#edbf4e;--gold-deep:#8a5600;--line:#e7ebf0}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:#f3f4f6}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #b87607;outline-offset:4px}svg{width:22px;height:22px;flex-shrink:0}.page-shell{max-width:1000px;margin:0 auto;padding:16px 16px calc(120px + env(safe-area-inset-bottom))}.home-page{background:radial-gradient(circle at top left,#e0ab2838,transparent 32%),radial-gradient(circle at top right,#1e263314,transparent 28%),linear-gradient(180deg,#fbf8f2,#f2ece0);--muted:#6f6658;--line:#6f665829}.topbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.brand{display:flex;align-items:center;gap:12px;min-width:0}.brand-mark{width:50px;height:50px;flex:0 0 50px;display:grid;place-items:center;border-radius:16px;background:linear-gradient(135deg,#fff9e7,#f4df9a);box-shadow:0 10px 24px #b0760729;color:#9d6b13;font:800 32px Georgia,serif;border:1px solid #e4c579}.brand-copy strong{display:block;font-size:16px}.brand-copy small{display:block;margin-top:5px;font-size:10px;letter-spacing:.12em;color:var(--muted)}.preview-tag{font-size:11px;white-space:nowrap;border:1px solid #dfcc99;background:#fff8df;color:#8a630d;border-radius:999px;padding:7px 10px}.hero{position:relative;overflow:hidden;padding:22px;border-radius:24px;color:#fff;background:linear-gradient(135deg,#0f172a,#253142);box-shadow:0 18px 42px #0f172a26}.hero h1{font-size:28px;line-height:1.3;margin:10px 0 12px;overflow-wrap:anywhere}.hero p{color:#ffffffcc;font-size:14px;line-height:1.8;margin:0}.hero.teal{background:linear-gradient(135deg,#111827,#0f766e)}.home-hero{padding:24px;border-radius:30px;background:radial-gradient(circle at top right,#fff2b16b,transparent 32%),linear-gradient(145deg,#1f2632,#242c3a 48%,#a46508);box-shadow:0 24px 48px #22190b3d}.home-hero h1{font-size:30px;margin:14px 0 12px}.kicker{display:inline-flex;font-size:11px;font-weight:700;letter-spacing:.1em;color:#fde59a}.home-hero .kicker{padding:8px 12px;border-radius:999px;background:#fff2b124}.hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.button,button[type=submit],form>button,form>.actions>button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 16px;border-radius:15px;border:0;font-weight:700;line-height:1.4;cursor:pointer;text-align:center;background:#111827;color:#fff}.button.dark{background:#111827;color:#fff}.button.gold{background:linear-gradient(135deg,#fee7a7,#edbf4e);color:#1b1813;box-shadow:0 10px 20px #edbf4e33}.button.light{background:#eef2f7;color:#111827}.button.translucent{background:#ffffff1f;border:1px solid #ffffff2e;color:#fff}.button.full{width:100%}.entry-strip{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:18px 2px 0;font-size:12px;color:var(--muted)}.entry-strip>div{display:flex;gap:16px;font-weight:700;white-space:nowrap}.text-gold{color:var(--gold-deep)}.section{margin-top:22px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.section-head h2{margin:0;font-size:21px}.section-head>span{font-size:12px;color:var(--muted)}.section-link{display:inline-flex;align-items:center;gap:4px;color:#8a5600;font-size:12px;font-weight:700}.section-link svg{width:14px;height:14px}.feature-grid{display:grid;gap:12px}.feature-card,.lot-card,.empty-card{border:1px solid var(--line);background:#fffaf1ef;border-radius:22px;box-shadow:0 14px 28px #271f1414}.feature-card{padding:18px;display:flex;align-items:center;gap:14px}.feature-card>div{flex:1}.feature-card>svg{width:16px;color:#9a8763}.feature-card h3{font-size:17px;margin:0 0 7px}.feature-card p{font-size:13px;line-height:1.7;margin:0;color:var(--muted)}.feature-icon{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(135deg,#fff1c7,#efc459);color:#35230d;box-shadow:0 10px 18px #e0ab2833}.panel{padding:18px;border-radius:20px;margin-top:14px;background:#fff;box-shadow:0 10px 30px #0f172a0d}.panel h1{font-size:26px;margin:0 0 12px}.panel h2{font-size:20px;margin:0 0 14px}.panel h3{font-size:17px;margin:0 0 10px}.panel p{font-size:14px;line-height:1.8}.home-page .panel{background:#fffaf1ef;border:1px solid var(--line)}.muted,.helptext{color:var(--muted);font-size:13px;line-height:1.8}.empty-card{text-align:center;padding:28px 20px}.empty-card h3{margin:14px 0 8px;font-size:18px}.empty-card p{font-size:13px;line-height:1.8;color:var(--muted);max-width:440px;margin:0 auto 14px}.empty-icon{width:52px;height:52px;border-radius:16px;display:inline-grid;place-items:center;background:#f7edd3;color:#a0782a}.lot-card{padding:18px;margin-top:14px;background:#fff}.lot-card.is-success{border-color:#16a34a2e;background:linear-gradient(#fff,#f7fcf8)}.lot-card h3{font-size:22px;line-height:1.35;margin:12px 0 8px}.lot-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.lot-code{font-size:10px;color:var(--muted);letter-spacing:.03em}.status-pill{font-size:11px;font-weight:700;display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#fff3d5;color:#8a5600;white-space:nowrap}.status-pill.success{background:#dcfce7;color:#166534}.status-pill.neutral{background:#eff3f8;color:#596679}.mini-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}.mini-grid>div{background:#f8fafc;border-radius:14px;padding:12px;min-width:0}.mini-grid span,.mini-grid label{display:block;color:var(--muted);font-size:12px;margin-bottom:6px}.mini-grid strong{display:block;font-size:16px;overflow-wrap:anywhere;line-height:1.5}.mini-grid small{font-size:10px;font-weight:400;color:var(--muted)}.summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.summary-card{padding:18px;background:#fff;box-shadow:0 10px 30px #0f172a0d;border-radius:20px;min-width:0}.summary-card strong{display:block;font-size:24px;overflow-wrap:anywhere}.summary-card span{display:block;margin-top:7px;font-size:12px;color:var(--muted)}.quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}.quick-action{padding:16px 6px;background:#fff;border-radius:18px;display:flex;flex-direction:column;align-items:center;gap:9px;font-size:12px;font-weight:700;box-shadow:0 8px 24px #0f172a08}.quick-action svg{color:#ac7916}.record-list{list-style:none;margin:0;padding:0}.record-list>li{padding:15px 0;border-bottom:1px solid #eef2f7}.record-list>li:last-child{border-bottom:0}.record-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.record-head strong{font-size:15px;line-height:1.6;overflow-wrap:anywhere}.record-meta{color:var(--muted);font-size:12px;line-height:1.9;margin-top:7px;overflow-wrap:anywhere}.record-meta a{color:#0f766e;font-weight:700}.empty{padding:16px;border-radius:14px;background:#f8fafc;color:var(--muted);font-size:13px;line-height:1.8}.link-list{list-style:none;padding:0;margin:0}.link-list a{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #eef2f7;font-size:14px}.link-list li:last-child a{border:0}.link-list a>svg:first-child{color:#9a762b;width:20px}.link-list a>span{flex:1}.link-list a>svg:last-child{width:15px;color:#a3aab3}.back-link{display:inline-block;font-size:13px;color:#667085;margin:0 0 14px}.form-card form>p{margin:0 0 17px}.form-card label{display:block;font-size:13px;color:#475569;margin:0 0 8px}.form-card input:not([type=hidden]),.form-card select,.form-card textarea{width:100%;display:block;border:1px solid #d8dee8;border-radius:15px;padding:13px 14px;background:#f8fafc;color:#111827;min-height:46px;max-width:100%}.form-card textarea{min-height:110px;resize:vertical}.form-card input[type=file]{padding:14px;font-size:12px;border-style:dashed;min-height:66px;background:linear-gradient(#fff,#f8fafc)}.form-card input:focus,.form-card select:focus,.form-card textarea:focus{outline:2px solid #ddba5c;outline-offset:2px}.form-card button[type=submit],.form-card form>button{width:100%;margin-top:7px}.form-card .helptext{display:block;margin-top:7px;font-size:12px}.form-card ul{padding-left:18px}.errorlist,.error-note{list-style:none;padding:12px 14px!important;background:#fff0ed;color:#a02d21;font-size:13px;line-height:1.7;border-radius:12px;margin:0 0 14px}.errorlist li+li{margin-top:5px}.note-box{padding:14px;border-radius:15px;margin-top:14px;background:#fff7e7;color:#8a5d1f;font-size:13px;line-height:1.8}.info-list{margin:0}.info-row{display:flex;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid #eef2f7;font-size:13px}.info-row:last-child{border:0}.info-row dt{color:var(--muted)}.info-row dd{margin:0;font-weight:700;text-align:right;max-width:68%;overflow-wrap:anywhere}.wallet-address{display:block;border-radius:15px;background:#f8fafc;border:1px solid #e3e9f0;padding:16px;overflow-wrap:anywhere;font-size:14px;line-height:1.8;color:#0f766e;user-select:all}.faq-panel details{border-bottom:1px solid var(--line);padding:14px 0}.faq-panel details:last-child{border:0}.faq-panel summary{font-size:14px;font-weight:700;cursor:pointer;line-height:1.7}.faq-panel p{font-size:13px;color:var(--muted);margin:12px 0 0}.page-foot{text-align:center;font-size:11px;color:#8b8f97;line-height:1.7;padding:24px 8px 0}.mobile-dock{position:fixed;z-index:100;left:max(12px,calc((100% - 760px)/2));right:max(12px,calc((100% - 760px)/2));bottom:calc(14px + env(safe-area-inset-bottom));border-radius:24px;background:#fffffff2;border:1px solid #e2e8f0f5;box-shadow:0 20px 40px #0f172a29;backdrop-filter:blur(14px)}.mobile-dock-inner{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:10px}.dock-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#64748b;font-size:11px;font-weight:700;padding:8px 4px}.dock-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:14px;background:#f8fafc}.dock-icon svg{width:21px;height:21px}.dock-item.is-active{color:#111827}.dock-item.is-active .dock-icon{background:linear-gradient(135deg,#fde59a,#f0bf44);box-shadow:0 12px 20px #f0bf4447}.auth-page{background:linear-gradient(#f6f7fb,#e8eef6)}.auth-shell{max-width:520px;margin:0 auto}.brand-card{padding:26px;border-radius:24px;text-align:center;background:radial-gradient(circle at top left,#fff7d6,white 45%,#eef4ff);box-shadow:0 16px 38px #0f172a1a}.brand-card .brand-mark{width:96px;height:96px;border-radius:50%;font-size:62px;margin:auto;border:5px double #b9913e;box-shadow:inset 0 0 0 6px #f8e4ab,0 12px 24px #b9913e24}.brand-card h1{font-size:24px;margin:20px 0 8px}.brand-card p{font-size:13px;line-height:1.8;color:var(--muted);margin:0}.auth-links{display:grid;gap:10px;margin-top:14px}.auth-links a{width:100%}.balance-total{font-size:31px;letter-spacing:-.03em;overflow-wrap:anywhere;margin:14px 0 8px;font-weight:800}.hero .balance-label{font-size:12px;color:#ffffffb3}.rule-lines{padding:0;margin:0;list-style:none}.rule-lines li{font-size:13px;line-height:1.9;padding:9px 0;border-bottom:1px solid #eef2f7}.rule-lines li:last-child{border:0}@media(min-width:760px){.page-shell{padding:25px 28px 140px}.home-hero{padding:38px}.home-hero h1{font-size:38px}.feature-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.feature-card{align-items:flex-start;flex-direction:column}.feature-card>svg:last-child{display:none}.feature-card h3{margin-top:0}.hero-actions{max-width:500px}.summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.quick-actions{max-width:600px}.two-column{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}.two-column>.panel{margin-top:14px}.auth-shell{padding-top:28px}.form-card{padding:24px}.inner-page .page-shell{max-width:920px}}@media(max-width:360px){.brand-copy strong{font-size:14px}.brand-mark{width:44px;height:44px;flex-basis:44px}.preview-tag{padding:6px;font-size:10px}.hero{padding:19px}.hero h1{font-size:25px}.summary-card{padding:15px}.summary-card strong{font-size:21px}.feature-card{padding:16px}.entry-strip{align-items:flex-start;flex-direction:column;gap:8px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.center-hero{background:linear-gradient(145deg,#161e2b,#222c3b 50%,#9c6307);border-radius:26px}.center-hero .kicker{padding:8px 12px;background:#ffffff1f;border-radius:999px}.center-actions .button{min-height:50px;font-size:14px;border-radius:18px}.money-summary .summary-card>span:first-child{margin:0 0 8px}.pagination{display:flex;justify-content:center;align-items:center;gap:18px;padding-top:16px;font-size:13px}.pagination a{color:#8a5600;font-weight:700}
.material-preview{display:block;width:100%;height:auto;max-width:100%;border-radius:8px}

.front-header-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.header-login{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 13px;border:1px solid #d7b369;border-radius:10px;background:#fffaf0;color:#8a630d;font-size:12px;font-weight:700;white-space:nowrap}@media(max-width:600px){.front-header-actions .preview-tag{display:none}}

.member-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}
.member-section-head h2 { margin: 0; }
.member-small-button { font-size: 13px; padding: 8px 12px; }
.member-records { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.member-record {
    padding: 14px;
    border: 1px solid #e7ebf0;
    border-radius: 16px;
    background: #f8fafc;
}
.member-record .record-meta strong { color: #111827; }
.member-record-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.member-record-actions > .button { flex: 1 1 130px; font-size: 13px; }
.member-record-actions > .button:only-child { flex-grow: 0; }
.button:disabled, .button:disabled:hover { background: #e7ebf0; color: #556173; cursor: default; }
.member-shortcuts, .member-service-grid { display: grid; gap: 10px; }
.member-shortcuts { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 14px; }
.member-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.member-shortcuts .button, .member-service-grid .button { padding-inline: 8px; font-size: 13px; }
.member-logout { margin-top: 14px; }
.member-back { margin-bottom: 12px; font-size: 13px; }
.claim-picker { display: grid; gap: 9px; }
.claim-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border: 1px solid #e1e6ed;
    border-radius: 14px;
}
.claim-option:hover { border-color: #b88936; }
.claim-option.is-selected { border-color: #c18c26; background: #fff8e7; }
.claim-option-info { display: grid; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
.claim-option-info small { color: var(--muted); font-size: 12px; }
.form-card select option:disabled { color: #697586; }

.legacy-home .brand-copy strong { line-height: 1.25; }
.legacy-home .home-register { background: #f8df97; color: #332204; }
.home-language { color: var(--muted); font-size: 12px; white-space: nowrap; }
.legacy-home .home-features .feature-card { display: block; }
.legacy-home .home-features .feature-card h3 { margin-top: 14px; }
.legacy-home .lot-card { background: var(--card, #fffaf1); }
.legacy-home .lot-card.is-success { background: linear-gradient(#fff, #f7fcf8); }
.legacy-home .lot-card p { color: #51483b; line-height: 1.8; }
.legacy-home .lot-card > a { margin-top: 10px; }
.home-news { display: grid; gap: 12px; }
.home-news-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fffaf1;
    box-shadow: 0 16px 30px #271f1414;
    overflow: hidden;
}
.home-news-featured { display: block; padding: 0; }
.home-news-media {
    width: 96px;
    height: 96px;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(145deg, #fff1c8, #e8bf63);
    display: flex;
    align-items: flex-end;
}
.home-news-featured .home-news-media { width: 100%; height: 180px; border-radius: 0; }
.home-news-media img { width: 100%; height: 100%; object-fit: cover; }
.home-news-media span { padding: 12px; font-weight: 700; color: #583805; }
.home-news-featured .home-news-copy { padding: 18px; }
.home-news-copy h3 { margin: 8px 0 6px; font-size: 16px; line-height: 1.45; }
.home-news-featured .home-news-copy h3 { font-size: 22px; }
.home-news-copy p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.home-news-featured .home-news-copy p { font-size: 14px; }
.home-news-copy time { display: block; margin-top: 10px; color: #795e3d; font-size: 12px; }
.home-notices { padding-block: 4px; }
.home-notices li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; }
.home-notices li a { font-weight: 700; line-height: 1.65; }
.home-notices time { font-size: 12px; color: var(--muted); }
.public-article img { display: block; max-width: 100%; height: auto; border-radius: 14px; }
.public-article { overflow-wrap: anywhere; }

.hall-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.hall-stats .summary-card { padding: 14px 12px; }
.hall-stats .summary-card strong { margin-top: 8px; font-size: 18px; }
.lot-countdown { color: var(--muted); font-size: 12px; text-align: right; font-variant-numeric: tabular-nums; }
.lot-card.is-success .lot-countdown { color: #166534; }
.center-logout { grid-column: 1 / -1; margin: 0; }
.center-section-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 12px; }
.publish-section + .publish-section { margin-top: 22px; padding-top: 22px; border-top: 1px solid #e9edf2; }
.publish-field { margin-bottom: 14px; }
.publish-additional summary { cursor: pointer; margin-bottom: 12px; font-weight: 700; }
.claim-publish .upload-card { padding: 14px; margin-bottom: 12px; border: 1px solid #e2e8f0; border-radius: 16px; background: #f8fafc; }
.claim-publish .upload-card p { margin: 4px 0 10px; }
@media (max-width: 520px) { .hall-stats { grid-template-columns: 1fr; } }
.identity-upload-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 20px 0; }
.identity-upload { padding: 14px; border: 1px solid #e5e7eb; border-radius: 18px; background: #f9fafb; }
.identity-upload-preview { display: flex; align-items: center; justify-content: center; height: 140px; margin: 12px 0; border: 1px dashed #d1d5db; border-radius: 16px; overflow: hidden; background: #fff; }
.identity-upload-preview img { width: 100%; height: 100%; object-fit: contain; }
.identity-upload input[type="file"], .upload-control input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.identity-upload-preview [hidden] { display: none; }
@media (max-width: 360px) { .identity-upload-grid { grid-template-columns: 1fr; } }

/* Original debt-center deposit dialog. */
.pay-modal{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:18px}
.pay-modal[hidden]{display:none}
.pay-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.56)}
.pay-modal-panel{position:relative;width:min(100%,360px);padding:22px 18px;border-radius:22px;background:#fff;box-shadow:0 24px 48px rgba(15,23,42,.24)}
.pay-modal-title{font-size:19px;font-weight:800;color:#111827}
.pay-modal-message{margin-top:10px;color:#4b5563;line-height:1.8;font-size:14px}
.pay-modal-field{margin-top:14px}
.pay-modal-field[hidden]{display:none}
.pay-modal-label{display:block;margin-bottom:8px;color:#374151;font-size:13px;font-weight:700}
.pay-modal-input{width:100%;min-height:46px;padding:0 14px;border:1px solid #d1d5db;border-radius:14px;background:#f9fafb;color:#111827}
.pay-modal-error{min-height:18px;margin-top:8px;color:#dc2626;font-size:12px}
.pay-modal-actions{display:flex;flex-direction:column;gap:10px;margin-top:18px}
.pay-modal-actions button,.pay-modal-actions a{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:46px;padding:0 16px;border-radius:14px;border:none;text-decoration:none;font-weight:700;cursor:pointer}
.pay-modal-actions .btn-confirm{background:#111827;color:#fff}
.pay-modal-actions .btn-cancel{background:#e5e7eb;color:#111827}
.pay-modal-actions .btn-recharge{background:linear-gradient(135deg,#fee5a0,#edbf4e);color:#1b1813}
.pay-modal-actions button:disabled{opacity:.65;cursor:wait}
.deposit-enhanced .deposit-password-fallback{display:none}
.member-record-actions>.js-deposit-form{flex:0 1 auto;margin:0}
