:root {
  --red:#cb0708;
  --red-deep:#a80810;
  --red-soft:#fff0ee;
  --ink:#25282b;
  --muted:#73787b;
  --line:#e8e6e2;
  --paper:#f7f6f3;
  --card:#fff;
  --shadow:0 14px 36px rgba(53,46,39,.055);
}
* { box-sizing:border-box; }
html,body { margin:0; min-width:320px; background:#ece9e4; color:var(--ink); font:14px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif; -webkit-font-smoothing:antialiased; }
body { background:radial-gradient(circle at 15% 10%,#faf7f3 0,#ece9e4 45%,#e7e4df 100%); }
a { color:inherit; text-decoration:none; }
img { max-width:100%; object-fit:cover; }
button,input,select,textarea { font:inherit; }
button { cursor:pointer; }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible { outline:3px solid #e98181; outline-offset:2px; }
h1,h2,h3,p { margin:0; }
h1 { font-size:30px; line-height:1.18; letter-spacing:-.035em; }
h2 { font-size:20px; line-height:1.25; letter-spacing:-.025em; }
h3 { font-size:16px; line-height:1.35; }
.ui-icon { width:22px; height:22px; flex:none; vertical-align:middle; }
.server-app { width:min(100%,560px); min-height:100vh; margin:auto; padding-bottom:88px; background:var(--paper); box-shadow:0 0 50px rgba(44,37,33,.11); overflow:hidden; }
.page-login,.page-register { padding-bottom:0; }
main { padding:0 20px 20px; }
.page-login main,.page-register main { padding:0; }
.page-header { height:76px; padding:12px 20px; display:flex; align-items:center; justify-content:space-between; background:#fff; border-bottom:1px solid var(--line); }
.brand { display:flex; align-items:center; gap:10px; font-size:18px; font-weight:800; letter-spacing:-.04em; white-space:nowrap; }
.brand img { width:38px; height:38px; object-fit:contain; }
.brand span { max-width:270px; overflow:hidden; text-overflow:ellipsis; }
.header-account { width:39px; height:39px; border:1px solid #eee0de; border-radius:13px; display:grid; place-items:center; color:var(--red); background:#fff7f5; transition:transform .2s,background .2s; }
.header-account:hover { transform:translateY(-2px); background:#ffebe7; }
.page-heading { padding:24px 20px 4px; display:flex; align-items:center; gap:11px; }
.page-heading-line { width:4px; height:29px; border-radius:3px; background:var(--red); box-shadow:0 0 0 5px #fae8e5; }
.page-heading h1 { font-size:24px; }
.section-kicker { display:flex; align-items:center; gap:7px; font-size:10px; font-weight:800; line-height:1.1; text-transform:uppercase; letter-spacing:.18em; color:var(--red); }
.section-kicker i { width:14px; height:2px; border-radius:2px; background:currentColor; }
.section-heading { display:flex; justify-content:space-between; align-items:end; gap:12px; margin-bottom:16px; }
.section-heading h2 { margin-top:7px; }
.module-section { margin:22px 0; }
.panel { margin:16px 0; padding:22px; background:var(--card); border:1px solid var(--line); border-radius:24px 10px 24px 12px; box-shadow:var(--shadow); }
.panel h2 { margin-bottom:14px; }
.panel summary { display:flex; align-items:center; gap:10px; font-weight:700; font-size:15px; cursor:pointer; list-style:none; }
.panel summary::-webkit-details-marker { display:none; }
.panel summary .ui-icon { color:var(--red); }
.panel summary + * { margin-top:16px; }
.panel[open] summary { padding-bottom:14px; border-bottom:1px solid var(--line); }
.button { display:flex; justify-content:center; align-items:center; gap:9px; width:100%; min-height:48px; padding:11px 17px; margin:17px 0 0; color:#fff; background:var(--red); border:1px solid var(--red); border-radius:14px 6px 14px 6px; font-size:14px; font-weight:750; text-align:center; box-shadow:0 8px 18px rgba(203,7,8,.15); transition:transform .2s,background .2s,box-shadow .2s; }
.button:hover { background:var(--red-deep); box-shadow:0 11px 20px rgba(203,7,8,.22); transform:translateY(-2px); }
.button:active { transform:translateY(0); }
.button.small { width:auto; min-height:36px; margin:0; padding:6px 14px; font-size:12px; }
.button.outline { color:var(--red); background:#fff; box-shadow:none; }
.button.outline:hover { background:var(--red-soft); }
.button[disabled] { opacity:.5; pointer-events:none; }
.text-button { padding:3px 0; color:var(--red); border:0; background:none; font-size:12px; font-weight:650; }
.field { display:block; margin:16px 0; min-width:0; }
.field > span { display:block; margin-bottom:7px; color:#51565a; font-size:12px; font-weight:700; }
.field input,.field select,select { width:100%; min-width:0; height:49px; padding:0 14px; border:1px solid #dedbd7; border-radius:11px; background:#fbfaf8; color:var(--ink); }
.field input:focus,.field select:focus { border-color:var(--red); outline:2px solid #f7ceca; background:#fff; }
.field-hint { margin:-8px 0 15px; color:var(--muted); font-size:11px; line-height:1.45; }
.payment-method-picker { min-width:0; margin:18px 0; padding:0; border:0; }
.payment-method-picker legend { margin-bottom:9px; padding:0; color:#42474a; font-size:12px; font-weight:700; }
.payment-method-options { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr)); gap:9px; }
.payment-choice { position:relative; display:block; min-width:0; cursor:pointer; }
.payment-choice input { position:absolute; width:1px; height:1px; opacity:0; }
.payment-choice-face { display:flex; align-items:center; gap:10px; min-height:58px; padding:10px 13px; border:1px solid #dedbd7; border-radius:15px 5px 15px 5px; background:#fbfaf8; transition:border-color .2s,background-color .2s,box-shadow .2s,transform .2s; }
.payment-choice:hover .payment-choice-face { border-color:#d88c82; transform:translateY(-1px); }
.payment-choice-symbol { display:grid; place-items:center; width:34px; height:34px; flex:none; border-radius:10px 3px 10px 3px; color:#716d6a; background:#f0ece8; }
.payment-choice-symbol .ui-icon { width:19px; height:19px; }
.payment-choice-title { flex:1; min-width:0; font-size:14px; font-weight:700; overflow-wrap:anywhere; }
.payment-choice-check { position:relative; width:20px; height:20px; flex:none; border:1.5px solid #c8c4c0; border-radius:50%; background:#fff; }
.payment-choice input:checked + .payment-choice-face { border-color:var(--red); background:#fff7f5; box-shadow:0 5px 15px rgba(203,7,8,.1); }
.payment-choice input:checked + .payment-choice-face .payment-choice-symbol { color:var(--red); background:#ffe8e4; }
.payment-choice input:checked + .payment-choice-face .payment-choice-check { border-color:var(--red); background:var(--red); }
.payment-choice input:checked + .payment-choice-face .payment-choice-check::after { content:""; position:absolute; left:6px; top:2px; width:5px; height:9px; border:solid #fff; border-width:0 2px 2px 0; transform:rotate(45deg); }
.payment-choice input:focus-visible + .payment-choice-face { outline:3px solid #e98181; outline-offset:2px; }
.form-picker { min-width:0; margin:18px 0 22px; padding:0; border:0; }
.form-picker legend { margin-bottom:8px; padding:0; color:#51565a; font-size:12px; font-weight:700; }
.form-dropdown { position:relative; }
.form-dropdown summary { display:flex; align-items:center; gap:11px; width:100%; min-height:52px; padding:7px 14px 7px 9px; border:1px solid #dedbd7; border-radius:12px; background:#fbfaf8; cursor:pointer; list-style:none; transition:border-color .2s,background-color .2s,box-shadow .2s; }
.form-dropdown summary::-webkit-details-marker { display:none; }
.form-dropdown summary::marker { content:""; }
.form-dropdown summary:hover,.form-dropdown[open] summary { border-color:var(--red); background:#fff; box-shadow:0 0 0 3px #fff0ee; }
.form-dropdown summary:focus-visible { outline:3px solid #e98181; outline-offset:2px; }
.form-dropdown-leading { display:grid; place-items:center; width:34px; height:34px; flex:none; border-radius:9px; color:var(--red); background:var(--red-soft); }
.form-dropdown-leading .ui-icon { width:19px; height:19px; }
.form-dropdown-value { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-weight:650; }
.form-dropdown-value.is-placeholder { color:var(--muted); font-weight:500; }
.form-dropdown-arrow { width:9px; height:9px; flex:none; margin:0 3px 4px 0; border-right:2px solid #676d70; border-bottom:2px solid #676d70; transform:rotate(45deg); transition:transform .2s,margin .2s; }
.form-dropdown[open] .form-dropdown-arrow { margin:5px 3px 0 0; transform:rotate(225deg); }
.form-dropdown-list { position:absolute; z-index:12; top:calc(100% + 6px); left:0; right:0; max-height:236px; overflow:auto; padding:6px; border:1px solid var(--line); border-radius:14px; background:#fff; box-shadow:0 16px 38px rgba(48,38,35,.16); }
.form-dropdown summary + .form-dropdown-list { margin-top:0; }
.form-dropdown-option { position:relative; display:flex; align-items:center; gap:12px; min-height:43px; padding:9px 11px; border-radius:9px; cursor:pointer; font-size:13px; }
.form-dropdown-option:hover,.form-dropdown-option:has(input:focus-visible) { background:#fff4f2; }
.form-dropdown-option input { position:absolute; width:1px; height:1px; opacity:0; }
.form-dropdown-option > span:first-of-type { flex:1; min-width:0; overflow-wrap:anywhere; }
.form-dropdown-option:has(input:checked) { color:var(--red); background:#fff4f2; font-weight:700; }
.form-dropdown-check { display:none; width:7px; height:12px; margin-right:4px; border:solid var(--red); border-width:0 2px 2px 0; transform:rotate(45deg); }
.form-dropdown-option:has(input:checked) .form-dropdown-check { display:block; }
.field input[type=file] { height:auto; min-height:49px; padding:12px; }
.field-pair { display:grid; grid-template-columns:1fr; gap:0 12px; }
.field-note { display:flex; align-items:center; gap:7px; margin:10px 0; color:var(--muted); font-size:12px; }
.field-note .ui-icon { width:18px; height:18px; color:var(--red); }
.muted,.empty { color:var(--muted); font-size:13px; }
.empty { padding:22px; border:1px dashed #d7d3ce; border-radius:18px; text-align:center; background:#fff; }
.notice { margin:16px 0; padding:14px 16px; border:1px solid #ffd8d4; border-left:4px solid var(--red); border-radius:13px; color:#6b3b35; background:#fff7f5; overflow-wrap:anywhere; }
.notice.success { color:#426b45; border-color:#c9e1cb; border-left-color:#5d9360; background:#f1f8f1; }
.notice a { display:block; margin-top:6px; font-weight:700; color:var(--red); }
.image-hero { position:relative; min-height:220px; overflow:hidden; display:flex; align-items:end; isolation:isolate; color:#fff; background:linear-gradient(90deg,rgba(27,27,29,.86),rgba(27,27,29,.18)),url('/static/canadian-solar/solar-hero.jpg') center/cover; border-radius:26px 8px 26px 10px; }
.image-hero::after { content:""; position:absolute; right:-44px; top:-60px; width:185px; height:185px; border:1px solid rgba(255,255,255,.38); border-radius:50%; box-shadow:0 0 0 28px rgba(255,255,255,.035),0 0 0 55px rgba(255,255,255,.025); z-index:-1; }
.hero-content { position:relative; z-index:1; width:100%; padding:24px; }
.hero-content h1,.hero-content h2 { margin:6px 0 10px; color:#fff; }
.hero-content h1 { max-width:380px; font-size:31px; }
.hero-content h2 { font-size:26px; }
.hero-content p { color:rgba(255,255,255,.86); }
.hero-emblem { display:inline-grid; place-items:center; width:39px; height:39px; margin-bottom:10px; border:1px solid rgba(255,255,255,.45); border-radius:13px 4px 13px 4px; background:rgba(255,255,255,.14); backdrop-filter:blur(6px); }
.hero-kicker { font-size:11px; font-weight:700; letter-spacing:.08em; }
.home-hero { min-height:254px; margin-top:18px; background-position:47% center; }
.hero-runtime { display:inline-flex; margin-top:17px; padding:7px 13px; border:1px solid rgba(255,255,255,.35); border-radius:999px; background:rgba(255,255,255,.15); backdrop-filter:blur(5px); font-size:12px; font-weight:700; }
.quick-action-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; }
.quick-action { min-height:104px; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:10px; padding:11px 5px; border:1px solid var(--line); border-radius:17px 5px 17px 5px; background:#fff; text-align:center; box-shadow:var(--shadow); transition:transform .2s,border-color .2s; }
.quick-action:hover { transform:translateY(-4px); border-color:#edb0a9; }
.quick-action strong { font-size:11px; font-weight:700; line-height:1.25; }
.quick-action-icon { display:grid; place-items:center; width:39px; height:39px; border-radius:13px 4px 13px 4px; color:var(--red); background:var(--red-soft); }
.quick-action-icon img { width:28px; height:28px; object-fit:contain; }
.quick-action:nth-child(2) .quick-action-icon { color:#39383a; background:#f1eeea; }
.quick-action:nth-child(3) .quick-action-icon { color:#ad5914; background:#fff3e4; }
.quick-action:nth-child(4) .quick-action-icon { color:#657369; background:#edf3ee; }
.notice-panel { margin:20px 0; }
.product-grid { display:grid; grid-template-columns:1fr; gap:13px; }
.product-card { position:relative; overflow:hidden; display:grid; grid-template-columns:34% 1fr; min-height:205px; border:1px solid var(--line); border-radius:23px 7px 23px 8px; background:#fff; box-shadow:var(--shadow); }
.product-media { display:block; overflow:hidden; height:100%; min-height:205px; background:#e7e4df; }
.product-media img { width:100%; height:100%; transition:transform .35s; }
.product-card:hover .product-media img { transform:scale(1.05); }
.product-body { position:relative; padding:16px 15px 14px; }
.product-symbol { position:absolute; right:12px; top:12px; color:var(--red); opacity:.38; }
.product-symbol .ui-icon { width:25px; height:25px; }
.product-body h2 { max-width:90%; margin-bottom:6px; font-size:15px; line-height:1.32; }
.product-price { color:var(--red); font-size:20px; font-weight:850; letter-spacing:-.04em; }
.product-stats { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px 5px; margin:9px 0 12px; }
.product-stats small,.metric-tile small { display:block; color:var(--muted); font-size:10px; line-height:1.25; }
.product-stats strong { display:block; margin-top:2px; font-size:12px; }
.product-body .button { width:fit-content; min-width:76px; }
.profile-hero,.share-hero,.withdraw-hero,.team-hero,.download-hero,.about-hero { margin-top:18px; background-image:linear-gradient(90deg,rgba(31,31,32,.87),rgba(43,37,36,.32)),url('/static/canadian-solar/solar-panels.jpg'); }
.profile-hero { min-height:280px; }
.profile-avatar { display:grid; place-items:center; width:44px; height:44px; margin-bottom:13px; background:#fff; color:var(--red); border-radius:15px 5px 15px 5px; }
.profile-hero .balance,.withdraw-hero .balance { display:block; margin:4px 0 18px; color:#fff; font-size:30px; line-height:1.1; font-weight:850; letter-spacing:-.04em; }
.hero-actions { display:flex; gap:8px; }
.hero-actions a { display:flex; align-items:center; justify-content:center; gap:6px; min-width:110px; padding:9px 12px; color:#2e2d2d; background:#fff; border-radius:12px 4px 12px 4px; font-size:12px; font-weight:700; }
.hero-actions .ui-icon { width:16px; height:16px; color:var(--red); }
.metrics { display:grid; gap:9px; }
.metrics-two { grid-template-columns:repeat(2,minmax(0,1fr)); }
.metrics-three { grid-template-columns:repeat(3,minmax(0,1fr)); }
.metric-tile { min-width:0; padding:15px 11px; border:1px solid var(--line); border-radius:18px 6px 18px 6px; background:#fff; box-shadow:var(--shadow); }
.metric-tile strong { display:block; margin-top:7px; font-size:16px; line-height:1.2; overflow-wrap:anywhere; }
.tile-icon { display:grid; place-items:center; width:29px; height:29px; margin-bottom:11px; border-radius:9px 3px 9px 3px; background:var(--red-soft); color:var(--red); }
.tile-icon .ui-icon { width:18px; height:18px; }
.menu-list { overflow:hidden; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.menu-list-single { grid-template-columns:1fr; }
.menu-list a,.menu-list button { display:flex; align-items:center; gap:10px; width:100%; min-width:0; min-height:70px; padding:11px; background:#fff; border:1px solid var(--line); border-radius:16px 5px 16px 5px; box-shadow:var(--shadow); color:inherit; font:inherit; text-align:left; cursor:pointer; transition:transform .2s,border-color .2s; }
.menu-list a:hover,.menu-list button:hover { transform:translateY(-3px); border-color:#eab5b0; }
.menu-list form { min-width:0; margin:0; }
.menu-list strong { font-size:12px; font-weight:700; line-height:1.2; }
.menu-icon { display:grid; place-items:center; width:36px; height:36px; flex:none; border-radius:12px 4px 12px 4px; background:#fff0ee; color:var(--red); }
.menu-icon .ui-icon { width:19px; height:19px; }
.menu-icon img { width:24px; height:24px; object-fit:contain; }
.menu-list > :nth-child(3n+2) .menu-icon { background:#f3f0ec; color:#45494a; }
.menu-list > :nth-child(3n) .menu-icon { background:#f8eee2; color:#a75c16; }
.share-hero { min-height:198px; }
.share-card { margin-top:-20px; position:relative; z-index:1; text-align:center; border-radius:25px 8px 25px 8px; }
.share-card .section-heading { display:block; text-align:left; }
.qr-frame { display:inline-grid; place-items:center; width:245px; height:245px; max-width:100%; margin:7px auto 12px; padding:12px; background:#fff; border:1px solid #f0e3e0; border-radius:23px 8px 23px 8px; box-shadow:inset 0 0 0 8px #fff8f7; }
.qr-code canvas { max-width:100%; display:block; }
.share-code { margin:5px 0 17px; color:var(--red); font-size:24px; font-weight:850; letter-spacing:.05em; overflow-wrap:anywhere; }
.share-link { display:flex; align-items:center; gap:8px; padding:9px 12px; border:1px solid var(--line); border-radius:11px; background:#fbfaf8; }
.share-link .ui-icon { color:var(--red); width:18px; }
.share-link input { width:100%; border:0; background:transparent; color:var(--muted); font-size:12px; outline:0; }
.feature-hero { display:flex; align-items:center; gap:16px; min-height:138px; margin-top:16px; padding:22px; color:#fff; background:#303033; border-radius:23px 7px 23px 7px; overflow:hidden; position:relative; }
.feature-hero::after { content:""; position:absolute; width:170px; height:170px; right:-54px; top:-50px; border:1px solid rgba(255,255,255,.22); border-radius:50%; box-shadow:0 0 0 26px rgba(255,255,255,.035),0 0 0 52px rgba(255,255,255,.025); }
.feature-hero-icon { display:grid; place-items:center; flex:none; width:54px; height:54px; color:#fff; background:var(--red); border-radius:17px 5px 17px 5px; }
.feature-hero-icon .ui-icon { width:27px; height:27px; }
.feature-hero h2 { color:#fff; margin-bottom:6px; }
.feature-hero p { max-width:300px; color:rgba(255,255,255,.74); font-size:12px; }
.recharge-hero { background:linear-gradient(110deg,#b91b1f,#df4037); }
.form-panel { margin:16px 0 22px; }
.account-links { display:grid; grid-template-columns:1fr; gap:9px; margin:12px 0 18px; }
.account-links a { display:flex; align-items:center; gap:8px; padding:11px; background:#fff7f5; border:1px solid #f4d9d5; border-radius:13px 4px 13px 4px; font-size:11px; font-weight:700; }
.account-links .ui-icon { color:var(--red); width:18px; height:18px; }
.amount-options { display:flex; flex-wrap:wrap; gap:8px; margin:14px 0; }
.amount-options button { padding:9px 12px; border:1px solid #e7d7d4; border-radius:10px 3px 10px 3px; background:#fff8f7; color:var(--red); font-weight:700; }
.amount-options button:hover { background:var(--red); color:#fff; }
.rule-panel { border-left:4px solid var(--red); }
.record-list { display:grid; gap:11px; }
.record-card { padding:17px; background:#fff; border:1px solid var(--line); border-radius:20px 6px 20px 6px; box-shadow:var(--shadow); }
.record-head { display:flex; align-items:center; gap:11px; padding-bottom:13px; border-bottom:1px solid #f0eeeb; }
.record-symbol { display:grid; place-items:center; width:38px; height:38px; flex:none; background:#fff0ee; color:var(--red); border-radius:12px 4px 12px 4px; }
.record-symbol .ui-icon { width:19px; height:19px; }
.record-lead { min-width:0; }
.record-lead small { display:block; color:var(--muted); font-size:11px; }
.record-lead strong { display:block; margin-top:2px; color:#292c30; font-size:16px; overflow-wrap:anywhere; }
.record-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 10px; margin:14px 0 0; }
.record-grid > div { min-width:0; }
.record-grid dt { color:var(--muted); font-size:11px; }
.record-grid dd { margin:2px 0 0; font-size:12px; font-weight:700; overflow-wrap:anywhere; }
.record-grid .record-status { display:inline-block; width:fit-content; padding:3px 8px; border-radius:7px; color:var(--red); background:var(--red-soft); }
.record-actions { display:flex; justify-content:end; margin-top:13px; padding-top:12px; border-top:1px solid #f0eeeb; }
.order-reference { padding:5px 10px; border-radius:8px; color:var(--red); background:var(--red-soft); font-weight:800; font-size:12px; }
.upload-dropzone { margin:18px 0; padding:20px; border:1px dashed #dba09a; border-radius:20px 6px 20px 6px; background:#fff9f8; text-align:center; }
.upload-picker { position:relative; display:flex; flex-direction:column; align-items:center; gap:10px; min-height:92px; cursor:pointer; }
.upload-picker input[type=file] { position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer; }
.upload-picker:focus-within .upload-dropzone-icon { outline:2px solid var(--red); outline-offset:3px; }
.upload-picker-text { max-width:100%; color:var(--muted); font-size:12px; font-weight:700; overflow-wrap:anywhere; }
.upload-dropzone-icon { display:inline-grid; place-items:center; width:45px; height:45px; color:var(--red); background:#ffe9e6; border-radius:15px 5px 15px 5px; }
.upload-example { max-width:180px; margin:14px auto; }
.upload-example img { border-radius:12px; }
.proof-preview { display:block; max-width:100%; max-height:250px; margin:14px auto 0; border-radius:10px; }
.proof-preview[hidden] { display:none; }
.orders-hero { background:linear-gradient(110deg,#303033,#66635e); }
.team-hero { min-height:217px; }
.team-hero .hero-content > p strong { margin-left:6px; font-size:19px; color:#fff; }
.invite-button .ui-icon { width:18px; height:18px; }
.level-list { display:grid; gap:10px; }
.level-card { display:flex; gap:14px; padding:18px; border:1px solid var(--line); border-radius:20px 6px 20px 6px; background:#fff; box-shadow:var(--shadow); }
.level-badge { display:grid; place-items:center; width:42px; height:42px; flex:none; border-radius:14px 4px 14px 4px; color:var(--red); background:var(--red-soft); }
.level-content { flex:1; min-width:0; }
.level-content h3 { margin:3px 0 12px; }
.metric { display:flex; justify-content:space-between; gap:8px; margin:8px 0; color:var(--muted); font-size:12px; }
.metric strong { color:var(--ink); font-weight:750; }
.small-link { display:inline-block; margin-top:7px; color:var(--red); font-size:12px; font-weight:750; }
.pagination { display:flex; align-items:center; justify-content:center; gap:20px; padding:16px; color:var(--muted); }
.pagination a { display:grid; place-items:center; width:32px; height:32px; border:1px solid var(--line); border-radius:10px; background:#fff; color:var(--red); font-size:22px; line-height:1; }
.about-hero,.download-hero { min-height:245px; }
.about-content .rich { line-height:1.8; }
.download-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px; }
.download-card { min-height:175px; padding:18px; background:#fff; border:1px solid var(--line); border-radius:21px 6px 21px 6px; box-shadow:var(--shadow); }
.download-icon { display:grid; place-items:center; width:38px; height:38px; margin-bottom:14px; color:var(--red); background:var(--red-soft); border-radius:12px 4px 12px 4px; }
.download-card h3 { margin-bottom:8px; }
.download-card .button { margin-top:14px; }
.download-card .muted { line-height:1.5; }
.faq-card,.article-card,.article-detail { margin:16px 0; }
.article-card { display:flex; align-items:flex-start; gap:14px; }
.article-card h2 { font-size:17px; }
.article-card p { margin:7px 0; color:var(--muted); font-size:12px; }
.article-icon { display:grid; place-items:center; width:37px; height:37px; flex:none; border-radius:12px 4px 12px 4px; color:var(--red); background:var(--red-soft); }
.rich { line-height:1.8; overflow-wrap:anywhere; }
.rich img { max-width:100%; height:auto; border-radius:10px; }
.rich table { display:block; max-width:100%; overflow:auto; }
.product-detail .product-cover { display:block; width:100%; max-height:260px; margin-bottom:16px; border-radius:16px; }
.product-detail h3 { margin:10px 0 14px; color:var(--red); font-size:26px; }
.product-detail .metrics { grid-template-columns:repeat(2,minmax(0,1fr)); margin:18px 0; }
.product-detail .metrics > div { padding:12px; border-radius:12px; background:#faf8f6; color:var(--muted); font-size:11px; }
.product-detail .metrics strong { display:block; margin-top:3px; color:var(--ink); font-size:14px; }
.quick-links { display:flex; gap:9px; flex-wrap:wrap; }
.quick-links a { padding:7px 12px; border-radius:10px; background:var(--red-soft); color:var(--red); font-weight:700; font-size:12px; }
.game-panel { text-align:center; }
.game-panel .field { text-align:left; }
.wheel-art { width:220px; height:220px; margin:20px auto; border:9px solid #f2d1cc; border-radius:50%; display:grid; place-items:center; background:conic-gradient(#cb0708 0deg 45deg,#f4b8b0 45deg 90deg,#343434 90deg 135deg,#f4b8b0 135deg 180deg,#cb0708 180deg 225deg,#f4b8b0 225deg 270deg,#343434 270deg 315deg,#f4b8b0 315deg); }
.wheel-art > span { padding:24px; border-radius:50%; color:#fff; background:#303033; font-size:30px; }
.is-spinning .wheel-art { animation:spin 1s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }
.treasure-image { width:160px; height:160px; object-fit:contain; }
.prize-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; margin-top:15px; }
.prize-list > div { min-width:0; padding:10px; border:1px solid var(--line); border-radius:12px; background:#fff; font-size:11px; overflow-wrap:anywhere; }
.prize-list img { width:45px; height:45px; object-fit:contain; }
.prize-list span,.prize-list strong { display:block; }
.prize-result { margin:12px 0; color:var(--red); font-size:21px; font-weight:800; }
.cb-auth { margin:0; }
.auth-page { background:var(--paper); }
.auth-visual { min-height:320px; display:flex; flex-direction:column; justify-content:space-between; padding:24px 24px 55px; color:#fff; background:linear-gradient(180deg,rgba(21,21,23,.4),rgba(21,21,23,.08) 35%,rgba(21,21,23,.83)),url('/static/canadian-solar/solar-hero.jpg') 46% center/cover; }
.auth-brand { display:flex; align-items:center; gap:9px; width:fit-content; padding:7px 12px 7px 7px; border-radius:12px 4px 12px 4px; background:rgba(255,255,255,.94); color:var(--ink); font-size:17px; font-weight:800; letter-spacing:-.03em; }
.auth-brand img { width:32px; height:32px; }
.auth-visual-copy { display:flex; align-items:center; gap:10px; max-width:280px; }
.auth-visual-copy p { font-size:13px; font-weight:650; }
.auth-sun { display:grid; place-items:center; width:35px; height:35px; flex:none; border:1px solid rgba(255,255,255,.55); border-radius:11px 3px 11px 3px; }
.auth-sheet { position:relative; margin-top:-29px; padding:28px 24px 37px; border-radius:28px 10px 0 0; background:var(--paper); }
.auth-sheet h1 { margin:13px 0 7px; }
.auth-subtitle { margin-bottom:19px; color:var(--muted); font-size:13px; }
.auth-sheet form { padding:20px; border:1px solid var(--line); border-radius:22px 7px 22px 7px; background:#fff; box-shadow:var(--shadow); }
.auth-sheet .field:first-of-type { margin-top:0; }
.password-toggle { display:block; margin:-8px 0 12px auto; }
.remember { display:flex; align-items:center; gap:7px; margin:13px 0; color:#53585a; font-size:12px; }
.remember input { accent-color:var(--red); }
.auth-switch { margin:18px 0; text-align:center; color:var(--muted); font-size:13px; }
.auth-switch a,.auth-help a { color:var(--red); font-weight:750; }
.auth-help { text-align:center; color:var(--muted); font-size:12px; }
.captcha-block { margin:4px 0 16px; }
.captcha-controls { display:grid; grid-template-columns:minmax(0,1fr) minmax(116px,42%); align-items:end; gap:10px; }
.captcha-controls .field { min-width:0; margin:0; }
.captcha-image { display:flex; align-items:center; justify-content:center; height:49px; overflow:hidden; border:1px solid #dedbd7; border-radius:11px; background:#f7fafb; }
.captcha-image img { display:block; width:100%; height:100%; object-fit:contain; cursor:pointer; }
.captcha-refresh { display:block; max-width:100%; margin:7px 0 0 auto; color:var(--red); font-size:11px; text-align:right; }
.form-busy { opacity:.66; pointer-events:none; }
.bottom-nav { position:fixed; z-index:20; bottom:0; left:50%; transform:translateX(-50%); display:grid; grid-template-columns:repeat(4,1fr); width:min(560px,100%); padding:8px 9px calc(8px + env(safe-area-inset-bottom)); border-top:1px solid #eee4e1; background:rgba(255,255,255,.97); box-shadow:0 -10px 28px rgba(40,34,31,.06); backdrop-filter:blur(10px); }
.bottom-nav a { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; min-height:50px; color:#878484; font-size:10px; font-weight:700; transition:color .2s; }
.bottom-nav a:hover,.bottom-nav a[aria-current] { color:var(--red); }
.nav-icon-wrap { position:relative; display:grid; place-items:center; width:32px; height:29px; }
.nav-icon-wrap .ui-icon { position:relative; z-index:1; transition:transform .22s; }
.bottom-nav a:hover .ui-icon { transform:translateY(-3px) rotate(-5deg); }
.bottom-nav a[aria-current] .nav-icon-wrap::before { content:""; position:absolute; inset:0; border-radius:11px 4px 11px 4px; background:var(--red-soft); animation:navGlow 2.8s ease-in-out infinite; }
.bottom-nav a[aria-current] .ui-icon { animation:navFloat 2.8s ease-in-out infinite; }
@keyframes navFloat { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-3px); } }
@keyframes navGlow { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.65; transform:scale(1.08); } }
.site-footer { display:flex; align-items:center; justify-content:center; gap:5px; padding:25px 20px 30px; color:#a39f9b; font-size:10px; }
.site-footer img { width:19px; height:19px; opacity:.55; }
.page-login .site-footer,.page-register .site-footer { padding:0 20px 24px; }
@media (min-width:470px) { .field-pair { grid-template-columns:repeat(2,minmax(0,1fr)); } .quick-action-grid { gap:12px; } .quick-action strong { font-size:12px; } .product-media { min-height:200px; } }
@media (max-width:370px) { main { padding-left:15px; padding-right:15px; } .metrics-three { grid-template-columns:repeat(2,minmax(0,1fr)); } .menu-list strong { font-size:11px; } .product-body { padding:12px 10px; } .product-stats { gap:5px; } .product-price { font-size:17px; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }
[dir=rtl] .section-kicker i { order:2; }
