:root { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; color: #15191f; background: #f6faff; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: #f6faff; }
button, input { font: inherit; }
.warranty-home { min-height: 100dvh; padding: env(safe-area-inset-top) 18px 100px; overflow-x: hidden; }
.home-hero { height: 268px; margin: -18px -18px -128px; padding: 34px 38px 0; color: #fff; background: radial-gradient(circle at 70% 12%, #3fafff 0 5%, transparent 35%), linear-gradient(145deg, #0064eb, #0b94ee); border-radius: 0 0 42px 42px; }
.hero-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.hero-top > div:first-child { min-width: 0; padding-top: 4px; }
.hero-actions { display: flex; align-items: center; gap: 12px; }
.language-picker { display: grid; gap: 4px; color: rgba(255,255,255,.9); font-size: 11px; }
.language-select { width: 150px; padding: 7px 24px 7px 9px; border: 1px solid rgba(255,255,255,.5); border-radius: 9px; color: #fff; background: rgba(0,48,116,.24); font-size: 12px; outline: none; }
.language-select option { color: #15191f; background: #fff; }
h1, h2, h3, p { margin: 0; }
h1 { color: rgba(255,255,255,.92); font-size: clamp(22px, 5.8vw, 33px); font-weight: 800; letter-spacing: .03em; line-height: 1.25; }
.brand-mark { margin: 0 0 10px; color: #fff; font-size: clamp(34px, 8.8vw, 52px); font-weight: 950; letter-spacing: .14em; line-height: .95; text-shadow: 0 6px 18px rgba(0,45,124,.25); white-space: nowrap; }
.avatar { width: 64px; height: 64px; border: 3px solid #fff; border-radius: 50%; color: #3772a9; background: #eef5ff; font-size: 12px; box-shadow: 0 3px 10px rgba(0, 48, 116, .25); }
.register-panel { position: relative; padding: 36px 38px 34px; background: rgba(255,255,255,.96); border-radius: 32px; box-shadow: 0 13px 28px rgba(21, 77, 142, .13); }
.panel-title { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; }
.write-icon { display: grid; place-items: center; flex: 0 0 58px; width: 58px; height: 58px; border-radius: 50%; color: #fff; background: #0d73f5; font-size: 36px; font-weight: 700; }
.panel-title h2 { font-size: 31px; }
.panel-title p { margin-top: 8px; color: #727985; font-size: 17px; }
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-bottom: 32px; }
.platform { min-height: 66px; padding: 6px; border: 2px solid #e2e5e9; border-radius: 18px; color: #323841; background: #fff; font-size: 16px; cursor: pointer; }
.platform.active { border-color: #086fff; color: #076bfb; background: #f8fbff; box-shadow: 0 3px 9px rgba(8,111,255,.08); }
.platform-loading { grid-column: 1 / -1; min-height: 66px; display: grid; place-items: center; border: 1px dashed #cfd8e3; border-radius: 18px; color: #7d8796; background: #f8fbff; font-size: 15px; }
.platform-loading.error { color: #c83535; background: #fff7f7; border-color: #f1b8b8; }
form { display: grid; gap: 13px; }
label { font-size: 24px; font-weight: 700; }
input { width: 100%; padding: 20px 24px; border: 2px solid #e0e3e7; border-radius: 15px; color: #1b222b; background: #fff; font-size: 18px; outline: none; }
input:focus { border-color: #0a72fb; box-shadow: 0 0 0 4px rgba(10,114,251,.12); }
.submit-order { min-height: 77px; margin-top: 14px; border: 0; border-radius: 22px; color: #fff; background: #0875f7; font-size: 26px; font-weight: 800; cursor: pointer; box-shadow: 0 10px 18px rgba(8,117,247,.22); }
.order-message { min-height: 16px; color: #c83535; font-size: 13px; }
.cards-section { padding: 36px 6px 0; }
.module-page { padding-bottom: 105px; }
.module-hero { margin-bottom: -110px; }
.module-section { position: relative; padding: 32px 6px 0; }
.cards-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 14px; }
.cards-heading h2 { font-size: 31px; }.cards-heading p { margin-top: 6px; color: #5d6470; font-size: 17px; }.cards-heading > span { color: #71849c; font-size: 13px; }
.warranty-list { display: grid; gap: 16px; }
.warranty-card { display: grid; grid-template-columns: 116px minmax(0, 1fr) 126px; align-items: center; gap: 16px; min-height: 182px; padding: 20px 18px 20px 24px; border: 2px solid #9fceff; border-radius: 26px; background: #fff; box-shadow: 0 8px 18px rgba(27,94,164,.08); }
.warranty-card.reviewing { border-color: #ffd38e; }
.warranty-card.rejected { border-color: #ffb8b8; }
.product-thumb { display: grid; place-items: center; height: 140px; border-radius: 17px; color: #6a7d92; background: #edf5ff; font-size: 14px; }
.purifier-two { background: #eff7ff; }.purifier-three { background: #fff7e7; }
.product-info h3 { font-size: 23px; white-space: nowrap; }.product-info p, .card-side p { margin-top: 22px; color: #6c737d; font-size: 14px; }.product-info strong { display: block; margin-top: 8px; color: #0872f6; font-size: 20px; }
.card-side { position: relative; align-self: stretch; padding-top: 8px; }.card-side em { display: inline-block; padding: 9px 11px; border-radius: 9px; color: #07965b; background: #dff9ed; font-style: normal; font-size: 14px; font-weight: 700; white-space: nowrap; }.reviewing .card-side em { color: #ec8c00; background: #fff4db; }.card-side time { display: block; margin-top: 8px; font-size: 15px; }.card-side span { position: absolute; right: 0; bottom: 29px; color: #4d555e; font-size: 40px; line-height: .6; }
.rejected .card-side em { color: #d83b3b; background: #ffeded; }.rejected .product-info strong { color: #d83b3b; }
.records-empty { padding: 36px 20px; border: 1px dashed #bfd3ea; border-radius: 20px; color: #71849c; background: rgba(255,255,255,.75); text-align: center; line-height: 1.7; }
.records-empty a { color: #0875f7; font-weight: 700; text-decoration: none; }
.bottom-nav { position: fixed; z-index: 4; bottom: 0; left: 0; display: flex; width: 100%; padding: 10px max(18px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)); border-top: 1px solid #d9dde4; background: rgba(255,255,255,.96); justify-content: space-around; backdrop-filter: blur(10px); }.bottom-nav a { display: grid; gap: 2px; color: #99a4b4; text-align: center; text-decoration: none; font-size: 25px; line-height: 1; }.bottom-nav span { font-size: 14px; }.bottom-nav .active { color: #0875f7; }
@media (max-width: 520px) {
  .warranty-home { padding-inline: 12px; }
  .home-hero { height: 246px; margin-inline: -12px; margin-bottom: -116px; padding: 28px 24px 0; border-radius: 0 0 34px 34px; }
  .hero-top { gap: 10px; }
  .avatar { width: 54px; height: 54px; }
  .hero-actions { gap: 7px; }.language-picker span { display: none; }.language-select { width: 118px; }
  .register-panel { padding: 28px 20px; border-radius: 26px; }
  .panel-title { gap: 12px; margin-bottom: 24px; }.write-icon { flex-basis: 48px; width: 48px; height: 48px; font-size: 29px; }.panel-title h2 { font-size: 27px; }.panel-title p { font-size: 15px; }
  label { font-size: 21px; } input { padding: 17px 18px; font-size: 16px; }.submit-order { min-height: 62px; margin-top: 8px; border-radius: 18px; font-size: 22px; }
  .warranty-card { position: relative; grid-template-columns: 84px minmax(0, 1fr); min-height: 144px; padding: 13px; gap: 12px; border-radius: 21px; }
  .product-thumb { height: 110px; }.product-info { padding-right: 0; align-self: center; }.product-info h3 { padding-right: 82px; font-size: 18px; white-space: normal; line-height: 1.35; }.product-info p { margin-top: 13px; }.product-info strong { font-size: 17px; }
  .card-side { position: absolute; top: 13px; right: 13px; padding: 0; }.card-side p, .card-side time, .card-side span { display: none; }.card-side em { padding: 6px 8px; font-size: 12px; }
  .cards-section { padding-inline: 4px; }.cards-heading h2 { font-size: 26px; }
}
@media (max-width: 420px) {
  .home-hero { height: 232px; margin-bottom: -102px; padding: 24px 20px 0; }.home-hero h1 { font-size: 22px; }.brand-mark { margin-bottom: 8px; font-size: 33px; letter-spacing: .11em; }
  .register-panel { padding: 22px 16px 24px; }.panel-title h2 { font-size: 25px; }.panel-title p { font-size: 14px; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); gap: 9px; margin-bottom: 25px; }.platform { min-height: 54px; border-radius: 14px; font-size: 13px; }.platform:last-child { grid-column: span 2; }
  .cards-section { padding-top: 28px; }.cards-heading h2 { font-size: 24px; }.cards-heading p { font-size: 15px; }
  .avatar { display: none; }.language-select { width: 122px; }
}
[dir="rtl"] .card-side span { right: auto; left: 0; transform: scaleX(-1); }
@media (max-width: 350px) {
  .warranty-home { padding-inline: 9px; }.home-hero { margin-inline: -9px; padding-inline: 18px; }.register-panel { padding-inline: 13px; }
  .brand-mark { font-size: 29px; letter-spacing: .09em; }.home-hero h1 { font-size: 20px; }
  .warranty-card { grid-template-columns: 70px minmax(0, 1fr); gap: 9px; }.product-thumb { height: 96px; font-size: 12px; }.product-info h3 { font-size: 16px; }.product-info strong { font-size: 16px; }
}
