.aligned-home{background:#f6f5fc;color:#28314a;padding-bottom:28px}.aligned-home button{font:inherit;cursor:pointer;border:0;color:inherit;background:none;text-align:left}.aligned-home button:focus-visible{outline:2px solid #7861ff;outline-offset:3px}.aligned-home button:disabled{opacity:.55;cursor:default}.aligned-hero{padding:24px 20px 42px;border-radius:0 0 28px 28px;background:linear-gradient(120deg,#6663f2,#8957fb);color:white}.aligned-brand{display:flex;align-items:center;gap:12px;margin-bottom:18px}.aligned-brand img{width:64px;height:64px;object-fit:contain}.aligned-brand h1{font-size:24px;margin:0}.aligned-brand p{opacity:.8;font-size:13px;margin:4px 0}.aligned-hero form{display:flex;padding:7px;background:white;border-radius:18px;gap:6px}.aligned-hero input{width:0;flex:1;min-width:0;border:0;padding:8px;color:#28314a;background:none;font-size:14px}.aligned-hero form button{background:#7960f8;color:white;padding:10px 17px;border-radius:13px}.aligned-hot{display:flex;gap:8px;overflow:auto;align-items:center;margin-top:18px;white-space:nowrap;font-size:11px}.aligned-hot button{background:#ffffff24;border:1px solid #ffffff30;border-radius:18px;padding:5px 10px}.aligned-content{padding:0 18px}.aligned-section{margin-top:24px}.aligned-section:first-child{margin-top:-22px;position:relative;background:white;border-radius:24px;padding:18px;box-shadow:0 14px 30px -20px #7670b8}.aligned-section header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px}.aligned-section h2{font-size:17px;margin:0;display:flex;align-items:center;gap:8px}.aligned-section h2:before{content:'';width:4px;height:17px;border-radius:3px;background:#8060ff}.aligned-section header button{font-size:11px;color:#8a91a8;padding:0}.aligned-muted{font-size:11px;color:#8a91a8;margin:-6px 0 14px}.aligned-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.aligned-stages button{display:flex;flex-direction:column;align-items:center;padding:10px 3px;background:linear-gradient(#f5f2ff,white);border:1px solid #e8e2ff;border-radius:17px;gap:6px}.aligned-stages img{width:64px;max-width:100%;height:64px;object-fit:contain}.aligned-stages small{font-size:10px;color:#8790a6}.aligned-courses{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 9px}.aligned-course{padding:0!important;overflow:hidden;border-radius:14px;background:white!important;box-shadow:0 4px 10px #35306408;min-width:0}.aligned-course img{width:100%;aspect-ratio:1.5;object-fit:cover;display:block}.aligned-course span{display:block;font-size:11px;font-weight:600;text-align:center;padding:10px 3px;min-height:42px}.aligned-vip{display:flex;align-items:center;width:100%;gap:10px;margin-top:20px;padding:16px!important;border-radius:20px;background:linear-gradient(110deg,#6857dd,#8864eb)!important;color:white!important}.aligned-vip>span{background:#ffe298;color:#49352b;padding:8px;border-radius:12px;font-size:23px}.aligned-vip div{flex:1;min-width:0}.aligned-vip strong{font-size:13px}.aligned-vip p{font-size:10px;opacity:.8;margin:5px 0 0}.aligned-vip b{font-size:10px;font-weight:500}.aligned-feed{background:white;border-radius:20px;padding:14px}.aligned-feed nav{display:flex;gap:18px;align-items:center}.aligned-feed nav button{font-size:13px;padding:5px 0;color:#8a91a8}.aligned-feed nav .active{color:#6d59e7;border-bottom:3px solid #8060ff;font-weight:700}#alignedRefresh{margin-left:auto;font-size:11px}.aligned-resource{display:flex;width:100%;gap:12px;padding:14px 0!important;border-bottom:1px solid #f5f5fa!important}.aligned-resource>img{width:58px;height:72px;object-fit:contain;border-radius:8px;flex-shrink:0}.aligned-resource>div{min-width:0;flex:1}.aligned-resource strong{font-size:13px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.5}.aligned-tags{display:flex;gap:4px;flex-wrap:wrap;margin:5px 0}.aligned-tags em,.aligned-tags i{font-size:10px;font-style:normal;padding:2px 5px;border-radius:3px;background:#fff1f5;color:#e95d89}.aligned-tags em{background:#fff0bb;color:#c17a18}.aligned-tags i:first-of-type{color:#e77b3c;background:#fff3e7}.aligned-resource small{font-size:10px;color:#9aa3b6}.aligned-feed>button{width:100%;text-align:center;padding:13px 0 0;color:#7760ec;font-size:12px}.aligned-empty{text-align:center;padding:30px 0;color:#8a91a8;font-size:13px}.aligned-sign{display:flex;align-items:center;justify-content:space-between;background:white;border-radius:18px;padding:14px;margin-top:20px;font-size:12px}.aligned-sign p{font-size:10px;color:#8a91a8;margin:5px 0 0}.aligned-sign button{background:linear-gradient(120deg,#ffba26,#ff8734);color:white;border-radius:12px;padding:10px 16px}.aligned-tools{display:flex;overflow:auto;gap:10px;padding-bottom:8px}.aligned-tools .aligned-course{flex:0 0 78px;padding:10px 0 0!important}.aligned-tools img{width:42px;height:42px;object-fit:contain;margin:auto}.aligned-tools span{font-weight:400}.aligned-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.aligned-product{border:1px solid white!important;border-radius:20px;overflow:hidden;padding:0!important;box-shadow:0 8px 18px -12px #584b89;background:radial-gradient(ellipse at 75% 15%,white,#f0ebff 48%,#e5defb)!important}.aligned-product.poster{background:radial-gradient(ellipse at 75% 15%,white,#fff0e4 48%,#f7e2d1)!important}.aligned-product small{display:block;padding:12px 14px 0;color:#8d7cae;font-size:10px;letter-spacing:1px}.aligned-product small span{float:right}.aligned-product img{width:88px;height:88px;object-fit:contain;display:block;margin:0 auto 8px}.aligned-product>div{background:#ffffffc7;padding:14px}.aligned-product strong{font-size:15px}.aligned-product p{font-size:11px;color:#7b8095;line-height:1.5;min-height:33px;margin:6px 0 0}#alignedNotice button{width:100%;background:white;border-radius:15px;margin-top:18px;padding:13px;font-size:12px;color:#7b8095}
@media(max-width:380px){.category-page .col-grade-wrap{width:54px}.category-page .col-subject-wrap{width:60px}.category-page .search-input{min-width:0;width:0}.aligned-content{padding:0 12px}.aligned-section:first-child{padding:14px}.aligned-vip{padding:12px!important}.aligned-vip b{max-width:40px}}
.partner-record-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:16px}.partner-record-links a{background:white;border-radius:14px;padding:16px 8px;text-align:center;color:#6d59d6;font-size:12px;text-decoration:none}
.partner-records{min-height:100vh;background:#f6f5fc;padding:0 16px 30px;color:#29314b}.partner-records header{margin:0 -16px;padding:calc(env(safe-area-inset-top,0px) + 24px) 16px 40px;display:flex;gap:16px;align-items:center;background:linear-gradient(120deg,#6663f2,#8957fb);color:white;border-radius:0 0 26px 26px}.partner-records header button{color:white;font-size:32px;padding:8px}.partner-records h1{font-size:21px;margin:0}.partner-records header p{font-size:12px;opacity:.8;margin:6px 0}.records-summary{position:relative;margin:-18px 0 20px;background:white;border-radius:18px;padding:20px 12px;display:flex;justify-content:space-around;gap:8px;font-size:14px;box-shadow:0 8px 24px #4235720a}.records-summary div{text-align:center;min-width:0}.records-summary strong{font-size:16px;overflow-wrap:anywhere}.records-summary small{display:block;font-size:10px;color:#8990a4;margin-top:6px}.records-tabs{display:flex;gap:8px;margin-bottom:18px}.records-tabs button{flex:1;padding:9px 4px;border-radius:20px;background:white;color:#81889e}.records-tabs button.active{background:#7560ea;color:white}.record-month{font-size:13px;color:#8b91a4;margin:20px 4px 12px}.record-card{background:white;border-radius:18px;padding:18px;margin-bottom:12px;overflow-wrap:anywhere}.record-line{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.record-card strong{font-size:14px}.record-card small,.record-card p{font-size:12px;line-height:1.6;color:#8c93a6}.record-card footer{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #f3f3f8;margin-top:14px;padding-top:12px;font-size:12px;color:#8c93a6}.record-card .positive{color:#16a085}.record-card .negative{color:#d57656}.record-status{font-size:11px;background:#f0ecff;color:#7760d5;padding:4px 8px;border-radius:8px;white-space:nowrap}.record-card dl div{display:flex;justify-content:space-between;margin:8px 0;gap:12px;font-size:12px}.record-card dt{color:#858ba0}.record-card dd{margin:0}.record-user{display:flex;gap:14px;align-items:center}.record-user img{width:44px;height:44px;object-fit:cover;border-radius:50%}.records-more{display:block;margin:20px auto;padding:12px 24px;color:#7560d8;border-radius:14px;background:white}.records-more:disabled{color:#a3a7b7}.records-empty{text-align:center;padding:50px 0;color:#959bb0}

:root{--tabbar-h:66px}.app-tabbar{height:calc(var(--tabbar-h) + var(--safe-bottom));box-sizing:border-box}

.aligned-billing-note {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: -4px 2px 12px;
  color: #56516e;
  font-size: 12px;
}
.aligned-billing-note strong {
  padding: 2px 6px;
  border-radius: 5px;
  background: #eee8ff;
  color: #5d43a7;
}
