You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

3155 lines
60 KiB

:root {
--brand: #b11e23;
--brand-dark: #7f161b;
--college-gold: #b11e23;
--college-gold-dark: #8b1519;
--college-blue: #eef6ff;
--college-navy: #08045a;
--text: #111827;
--muted: #6b7280;
--line: #eceff3;
--soft: #f5f6f8;
--card: #ffffff;
--blue-bg: #eff6ff;
--blue: #1d64d8;
--green-bg: #ecfdf3;
--green: #16834a;
--gold-bg: #fff7e6;
--gold: #9a5b00;
}
* {
box-sizing: border-box;
}
html,
body {
min-height: 100%;
}
body {
margin: 0;
background: #e9edf2;
color: var(--text);
font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
button,
input,
textarea,
select {
font: inherit;
}
button {
border: 0;
}
.app-shell {
position: relative;
width: min(100%, 430px);
min-height: 100vh;
margin: 0 auto;
background: var(--soft);
box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.06);
}
.topbar {
position: sticky;
top: 0;
z-index: 10;
display: grid;
grid-template-columns: 48px 1fr 48px;
align-items: center;
height: calc(46px + env(safe-area-inset-top));
padding-top: env(safe-area-inset-top);
background: var(--brand);
color: #fff;
}
.topbar h1 {
grid-column: 2;
margin: 0;
overflow: hidden;
font-size: 17px;
font-weight: 400;
text-align: center;
text-overflow: ellipsis;
white-space: nowrap;
}
.back-btn,
.top-action {
height: 100%;
background: transparent;
color: #fff;
}
.back-btn {
display: none;
font-size: 30px;
font-weight: 300;
line-height: 1;
}
.back-btn.visible {
display: block;
}
.top-action {
display: none;
padding: 0;
font-size: 14px;
text-align: right;
}
.page {
position: relative;
min-height: calc(100vh - 46px);
padding: 14px 14px calc(64px + env(safe-area-inset-bottom));
background:
radial-gradient(ellipse 330px 230px at 18% 6%, rgba(255, 255, 255, 0.95), transparent 66%),
radial-gradient(ellipse 360px 250px at 92% 16%, rgba(177, 30, 35, 0.18), transparent 68%),
radial-gradient(ellipse 260px 180px at 48% 28%, rgba(255, 241, 241, 0.70), transparent 66%),
radial-gradient(ellipse 320px 220px at 2% 48%, rgba(20, 56, 95, 0.11), transparent 70%),
radial-gradient(ellipse 300px 210px at 96% 44%, rgba(20, 56, 95, 0.09), transparent 70%),
radial-gradient(ellipse 300px 210px at 18% 66%, rgba(255, 255, 255, 0.82), transparent 66%),
radial-gradient(ellipse 380px 260px at 82% 74%, rgba(255, 255, 255, 0.86), transparent 68%),
radial-gradient(ellipse 280px 190px at 24% 92%, rgba(177, 30, 35, 0.08), transparent 72%),
radial-gradient(ellipse 260px 180px at 86% 98%, rgba(177, 30, 35, 0.10), transparent 72%),
linear-gradient(128deg, rgba(255, 255, 255, 0.52) 0 13%, transparent 26% 58%, rgba(20, 56, 95, 0.055) 72%, transparent 86%),
linear-gradient(52deg, transparent 0 22%, rgba(177, 30, 35, 0.055) 38%, transparent 56%),
linear-gradient(180deg, #ffffff 0%, #eef2f7 40%, #e2e8f0 100%);
background-attachment: scroll;
}
.page::before {
position: absolute;
inset: 0;
z-index: 0;
min-height: 100%;
background:
radial-gradient(ellipse 300px 210px at 12% 12%, rgba(255, 255, 255, 0.72), transparent 68%),
radial-gradient(ellipse 320px 220px at 96% 34%, rgba(177, 30, 35, 0.09), transparent 70%),
radial-gradient(ellipse 280px 190px at 8% 78%, rgba(20, 56, 95, 0.07), transparent 72%),
radial-gradient(ellipse 260px 180px at 86% 92%, rgba(255, 255, 255, 0.64), transparent 70%);
content: "";
pointer-events: none;
}
.page > * {
position: relative;
z-index: 1;
}
body[data-route="home"] .topbar,
body.home-route .topbar {
display: none !important;
}
body[data-route="home"] .page {
min-height: 100vh;
padding: 0;
background: #f5f6f8;
}
body:not([data-route="home"]) .page {
background:
radial-gradient(ellipse 330px 230px at 18% 6%, rgba(255, 255, 255, 0.95), transparent 66%),
radial-gradient(ellipse 360px 250px at 92% 16%, rgba(177, 30, 35, 0.18), transparent 68%),
radial-gradient(ellipse 260px 180px at 48% 28%, rgba(255, 241, 241, 0.70), transparent 66%),
radial-gradient(ellipse 320px 220px at 2% 48%, rgba(20, 56, 95, 0.11), transparent 70%),
radial-gradient(ellipse 300px 210px at 96% 44%, rgba(20, 56, 95, 0.09), transparent 70%),
radial-gradient(ellipse 300px 210px at 18% 66%, rgba(255, 255, 255, 0.82), transparent 66%),
radial-gradient(ellipse 380px 260px at 82% 74%, rgba(255, 255, 255, 0.86), transparent 68%),
radial-gradient(ellipse 280px 190px at 24% 92%, rgba(177, 30, 35, 0.08), transparent 72%),
radial-gradient(ellipse 260px 180px at 86% 98%, rgba(177, 30, 35, 0.10), transparent 72%),
linear-gradient(128deg, rgba(255, 255, 255, 0.52) 0 13%, transparent 26% 58%, rgba(20, 56, 95, 0.055) 72%, transparent 86%),
linear-gradient(52deg, transparent 0 22%, rgba(177, 30, 35, 0.055) 38%, transparent 56%),
linear-gradient(180deg, #ffffff 0%, #eef2f7 40%, #e2e8f0 100%);
}
body[data-route="courses"] .page,
body[data-route="courseDetail"] .page,
body[data-route="myCourses"] .page {
background:
radial-gradient(ellipse 180px 120px at 34% 14%, rgba(255, 255, 255, 0.72), transparent 70%),
radial-gradient(ellipse 260px 180px at 78% 4%, rgba(177, 30, 35, 0.15), transparent 62%),
radial-gradient(ellipse 220px 160px at 4% 22%, rgba(20, 56, 95, 0.08), transparent 66%),
radial-gradient(ellipse 210px 140px at 96% 46%, rgba(255, 241, 241, 0.72), transparent 72%),
radial-gradient(ellipse 280px 180px at 66% 62%, rgba(177, 30, 35, 0.055), transparent 70%),
#f5f6f8;
}
body[data-route="calendar"] .page {
background:
radial-gradient(ellipse 180px 120px at 70% 12%, rgba(255, 255, 255, 0.76), transparent 70%),
radial-gradient(ellipse 270px 190px at 18% 6%, rgba(29, 100, 216, 0.14), transparent 64%),
radial-gradient(ellipse 230px 150px at 92% 26%, rgba(20, 56, 95, 0.07), transparent 68%),
radial-gradient(ellipse 210px 150px at 8% 54%, rgba(239, 246, 255, 0.82), transparent 72%),
radial-gradient(ellipse 260px 180px at 44% 68%, rgba(29, 100, 216, 0.05), transparent 72%),
#f5f6f8;
}
body[data-route="activities"] .page,
body[data-route="activityDetail"] .page,
body[data-route="activityCalendar"] .page,
body[data-route="myActivities"] .page {
background:
radial-gradient(ellipse 190px 120px at 34% 12%, rgba(255, 255, 255, 0.72), transparent 70%),
radial-gradient(ellipse 280px 180px at 80% 8%, rgba(154, 91, 0, 0.15), transparent 62%),
radial-gradient(ellipse 220px 150px at 12% 30%, rgba(177, 30, 35, 0.08), transparent 68%),
radial-gradient(ellipse 210px 140px at 94% 52%, rgba(255, 247, 230, 0.78), transparent 72%),
radial-gradient(ellipse 260px 170px at 50% 72%, rgba(255, 247, 230, 0.62), transparent 72%),
#f5f6f8;
}
body[data-route="discover"] .page,
body[data-route="newsDetail"] .page {
background:
radial-gradient(ellipse 180px 120px at 38% 12%, rgba(255, 255, 255, 0.74), transparent 70%),
radial-gradient(ellipse 270px 180px at 82% 8%, rgba(20, 56, 95, 0.12), transparent 65%),
radial-gradient(ellipse 220px 150px at 10% 24%, rgba(29, 100, 216, 0.07), transparent 70%),
radial-gradient(ellipse 210px 150px at 96% 48%, rgba(239, 246, 255, 0.78), transparent 72%),
radial-gradient(ellipse 280px 180px at 56% 66%, rgba(239, 246, 255, 0.78), transparent 72%),
#f5f6f8;
}
body[data-route="profile"] .page,
body[data-route="profileEdit"] .page,
body[data-route="about"] .page,
body[data-route="login"] .page {
background:
radial-gradient(ellipse 180px 120px at 38% 10%, rgba(255, 255, 255, 0.72), transparent 70%),
radial-gradient(ellipse 260px 180px at 16% 10%, rgba(177, 30, 35, 0.12), transparent 66%),
radial-gradient(ellipse 230px 160px at 88% 28%, rgba(20, 56, 95, 0.08), transparent 70%),
radial-gradient(ellipse 210px 150px at 8% 58%, rgba(255, 241, 241, 0.78), transparent 72%),
radial-gradient(ellipse 270px 180px at 58% 70%, rgba(255, 241, 241, 0.72), transparent 72%),
#f5f6f8;
}
body[data-route="profile"] .topbar {
display: none;
}
body[data-route="profile"] .page {
padding: 0 0 calc(64px + env(safe-area-inset-bottom));
}
body[data-route="profile"] .profile-hero-card {
border-radius: 0;
}
body[data-route="demands"] .page,
body[data-route="demandCreate"] .page {
background:
radial-gradient(ellipse 180px 120px at 36% 12%, rgba(255, 255, 255, 0.74), transparent 70%),
radial-gradient(ellipse 270px 180px at 82% 8%, rgba(37, 132, 90, 0.13), transparent 66%),
radial-gradient(ellipse 220px 150px at 10% 28%, rgba(177, 30, 35, 0.055), transparent 70%),
radial-gradient(ellipse 210px 150px at 94% 52%, rgba(236, 253, 243, 0.82), transparent 72%),
radial-gradient(ellipse 280px 190px at 54% 72%, rgba(236, 253, 243, 0.78), transparent 72%),
#f5f6f8;
}
.tabbar {
position: fixed;
right: 0;
bottom: 0;
left: 0;
z-index: 20;
display: flex;
align-items: center;
justify-content: space-evenly;
gap: 0;
width: min(100%, 430px);
height: calc(50px + env(safe-area-inset-bottom));
margin: 0 auto;
padding-bottom: env(safe-area-inset-bottom);
border-top: 1px solid var(--line);
background: #fff;
}
body[data-route="home"] .tabbar {
display: flex !important;
height: calc(50px + env(safe-area-inset-bottom));
border-top: 1px solid rgba(226, 232, 240, 0.86);
box-shadow: 0 -6px 18px rgba(15, 23, 42, 0.08);
}
.tab-item {
position: relative;
display: grid;
place-items: center;
flex: 0 0 auto;
min-width: 0;
height: 100%;
padding: 0;
background: transparent;
color: var(--muted);
font-size: 12px;
font-weight: 400;
line-height: 1;
text-align: center;
}
.tab-item span:last-child {
display: block;
width: auto;
overflow: hidden;
white-space: nowrap;
}
.tab-item.active {
color: var(--brand);
font-weight: 400;
}
body[data-route="home"] .tab-item {
color: #4b4b4b;
font-size: 12px;
}
body[data-route="home"] .tab-item.active {
color: var(--brand);
}
.home-tab-mark {
display: none;
margin-bottom: 4px;
color: #9aa3b2;
font-size: 14px;
font-weight: 400;
line-height: 1;
}
body[data-route="home"] .home-tab-mark {
display: none;
}
body[data-route="home"] .tab-item.active span:last-child {
margin-top: 0;
}
.college-home {
position: relative;
min-height: 100vh;
background:
linear-gradient(145deg, #b11e23 0%, #a91b21 52%, #8f151a 100%) 0 0 / 100% 248px no-repeat,
radial-gradient(ellipse 240px 160px at 34% 300px, rgba(255, 255, 255, 0.94), transparent 66%),
radial-gradient(ellipse 340px 230px at 90% 350px, rgba(177, 30, 35, 0.18), transparent 66%),
radial-gradient(ellipse 270px 180px at 48% 430px, rgba(255, 241, 241, 0.78), transparent 66%),
radial-gradient(ellipse 280px 190px at 2% 450px, rgba(20, 56, 95, 0.12), transparent 70%),
radial-gradient(ellipse 300px 200px at 96% 620px, rgba(255, 241, 241, 0.96), transparent 68%),
radial-gradient(ellipse 260px 180px at 14% 680px, rgba(255, 255, 255, 0.82), transparent 68%),
radial-gradient(ellipse 360px 230px at 52% 800px, rgba(177, 30, 35, 0.10), transparent 72%),
radial-gradient(ellipse 280px 190px at 96% 900px, rgba(20, 56, 95, 0.095), transparent 72%),
radial-gradient(ellipse 320px 210px at 12% 1000px, rgba(20, 56, 95, 0.08), transparent 72%),
radial-gradient(ellipse 420px 280px at 88% 1200px, rgba(255, 255, 255, 0.84), transparent 68%),
linear-gradient(128deg, transparent 248px, rgba(255,255,255,0.48) 330px, transparent 470px, rgba(20,56,95,0.055) 720px, transparent 880px),
linear-gradient(52deg, transparent 248px, rgba(177,30,35,0.055) 430px, transparent 650px),
linear-gradient(180deg, #ffffff 248px, #eef2f7 58%, #e2e8f0 100%);
}
.college-home::before {
position: absolute;
inset: 0;
height: 248px;
background:
radial-gradient(circle at 24% 42%, rgba(255,255,255,0.16) 0 5px, transparent 6px),
radial-gradient(circle at 56% 54%, rgba(255,255,255,0.12) 0 4px, transparent 5px),
radial-gradient(circle at 76% 35%, rgba(255,255,255,0.14) 0 5px, transparent 6px),
repeating-linear-gradient(90deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 48px),
repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 48px);
content: "";
pointer-events: none;
}
.college-home::after {
position: absolute;
top: 70px;
right: 52px;
width: 92px;
height: 92px;
border: 1px solid rgba(255,255,255,0.13);
border-radius: 50%;
box-shadow:
0 0 0 28px rgba(255,255,255,0.025),
inset 0 0 0 28px rgba(255,255,255,0.035);
content: "";
pointer-events: none;
}
.wechat-status {
position: relative;
z-index: 1;
display: flex;
align-items: center;
justify-content: space-between;
height: 38px;
padding: 9px 32px 0;
color: #050505;
font-size: 15px;
font-weight: 600;
}
.status-icons {
display: inline-flex;
align-items: center;
gap: 6px;
height: 14px;
}
.status-svg {
width: 62px;
height: 15px;
justify-content: flex-end;
}
.status-svg svg {
display: block;
width: 62px;
height: 15px;
}
.signal-bars {
display: inline-block;
width: 16px;
height: 12px;
flex: 0 0 auto;
background:
linear-gradient(#111, #111) 0 7px / 3px 5px no-repeat,
linear-gradient(#111, #111) 5px 5px / 3px 7px no-repeat,
linear-gradient(#111, #111) 10px 2px / 3px 10px no-repeat,
linear-gradient(#111, #111) 15px 0 / 3px 12px no-repeat;
}
.signal-bars::before {
content: none;
}
.wifi-mark {
display: inline-block;
flex: 0 0 auto;
position: relative;
width: 15px;
height: 11px;
border: 0;
background: radial-gradient(circle at 50% 95%, #111 0 2px, transparent 2.4px);
}
.wifi-mark::before,
.wifi-mark::after {
position: absolute;
right: 0;
left: 0;
margin: auto;
border: 2px solid #111;
border-bottom: 0;
content: "";
}
.wifi-mark::before {
top: 1px;
width: 15px;
height: 8px;
border-radius: 15px 15px 0 0;
}
.wifi-mark::after {
top: 6px;
width: 7px;
height: 3px;
border-radius: 8px 8px 0 0;
}
.battery-mark {
display: inline-block;
flex: 0 0 auto;
position: relative;
width: 24px;
height: 12px;
border: 1.5px solid rgba(17, 17, 17, 0.72);
border-radius: 4px;
background:
linear-gradient(90deg, #24c867 0 15px, transparent 15px) 3px 3px / 17px 5px no-repeat;
}
.battery-mark::before {
position: absolute;
top: 3px;
right: -5px;
width: 3px;
height: 4px;
border-radius: 0 2px 2px 0;
background: rgba(17, 17, 17, 0.72);
content: "";
}
.battery-mark::after {
position: absolute;
top: 1px;
left: 9px;
width: 6px;
height: 10px;
background: #ffdf4d;
clip-path: polygon(45% 0, 100% 0, 62% 42%, 100% 42%, 35% 100%, 50% 55%, 12% 55%);
content: "";
}
.mini-nav {
position: relative;
z-index: 1;
display: grid;
grid-template-columns: 72px 1fr 86px;
align-items: center;
height: 58px;
padding: 0 14px;
color: #fff;
}
.mini-title {
grid-column: 2;
font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
font-size: 19px;
font-weight: 400;
text-align: center;
letter-spacing: 1px;
text-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
}
.mini-capsule {
grid-column: 3;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
width: 64px;
height: 26px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.82);
color: #221b16;
backdrop-filter: blur(8px);
}
.capsule-dot {
display: inline-flex;
gap: 3px;
}
.capsule-dot i {
width: 3px;
height: 3px;
border-radius: 50%;
background: #221b16;
}
.capsule-line {
width: 1px;
height: 14px;
background: rgba(0, 0, 0, 0.13);
}
.capsule-circle {
width: 16px;
height: 16px;
border: 2px solid #201a18;
border-radius: 50%;
}
.capsule-circle::after {
display: block;
width: 6px;
height: 6px;
margin: 3px;
border-radius: 50%;
background: #201a18;
content: "";
}
.college-hero {
position: relative;
z-index: 1;
margin-top: 22px;
padding: 0 18px;
}
.banner-photo {
position: relative;
height: 168px;
overflow: hidden;
border-radius: 12px 12px 0 0;
background: linear-gradient(135deg, #ffffff 0%, #f8fafc 58%, #fff4f4 100%);
box-shadow: 0 10px 22px rgba(68, 76, 92, 0.12);
}
.course-banner-v2 {
position: relative;
display: grid;
grid-template-columns: minmax(0, 1fr) 112px;
width: 100%;
min-height: 168px;
overflow: hidden;
border: 0;
border-radius: 12px 12px 0 0;
background:
radial-gradient(circle at 90% 18%, rgba(177, 30, 35, 0.12) 0 44px, transparent 45px),
linear-gradient(135deg, #ffffff 0%, #f8fafc 56%, #fff3f3 100%);
box-shadow: 0 10px 22px rgba(68, 76, 92, 0.12);
text-align: left;
cursor: pointer;
}
.course-banner-main {
position: relative;
z-index: 2;
padding: 22px 0 18px 22px;
}
.course-banner-kicker {
position: relative;
z-index: 3;
display: inline-flex;
align-items: center;
min-height: 24px;
border-radius: 999px;
background: #fff1f1;
color: var(--brand);
font-size: 12px;
font-weight: 400;
padding: 0 10px;
}
.course-banner-title {
margin-top: 18px;
color: #14385f;
font-size: 22px;
font-weight: 400;
line-height: 1.18;
letter-spacing: 0;
}
.course-banner-desc {
max-width: 238px;
margin-top: 8px;
color: #667085;
font-size: 13px;
line-height: 1.45;
}
.course-banner-meta {
display: flex;
align-items: center;
gap: 6px;
margin-top: 14px;
color: #4b5563;
font-size: 12px;
}
.course-banner-meta span {
display: inline-flex;
align-items: center;
}
.course-banner-meta span:first-child {
color: var(--brand);
font-weight: 400;
}
.course-banner-meta i {
width: 3px;
height: 3px;
border-radius: 50%;
background: #c8ced8;
}
.course-banner-visual {
position: relative;
z-index: 1;
min-height: 168px;
overflow: hidden;
opacity: 0.7;
}
.campus-skyline {
position: absolute;
right: 16px;
bottom: 30px;
display: flex;
align-items: flex-end;
gap: 5px;
opacity: 0.82;
}
.campus-skyline span {
width: 14px;
border-radius: 3px 3px 0 0;
background: linear-gradient(180deg, #f3c8ca, #ffffff);
box-shadow: inset 0 0 0 1px rgba(177, 30, 35, 0.12);
}
.campus-skyline span:nth-child(1) {
height: 38px;
}
.campus-skyline span:nth-child(2) {
height: 58px;
}
.campus-skyline span:nth-child(3) {
height: 46px;
}
.campus-skyline span:nth-child(4) {
height: 66px;
}
.ai-chip {
position: absolute;
top: 34px;
right: 35px;
width: 46px;
height: 46px;
border: 1px solid rgba(20, 56, 95, 0.22);
border-radius: 10px;
background:
linear-gradient(rgba(20, 56, 95, 0.10), rgba(20, 56, 95, 0.10)) 14px 0 / 2px 46px no-repeat,
linear-gradient(rgba(20, 56, 95, 0.10), rgba(20, 56, 95, 0.10)) 30px 0 / 2px 46px no-repeat,
linear-gradient(90deg, rgba(20, 56, 95, 0.10), rgba(20, 56, 95, 0.10)) 0 14px / 46px 2px no-repeat,
linear-gradient(90deg, rgba(20, 56, 95, 0.10), rgba(20, 56, 95, 0.10)) 0 30px / 46px 2px no-repeat,
rgba(255, 255, 255, 0.72);
}
.ai-chip::after {
position: absolute;
inset: 14px;
border-radius: 5px;
background: var(--brand);
color: #fff;
content: "AI";
font-size: 10px;
font-weight: 800;
line-height: 18px;
text-align: center;
}
.radar-path {
position: absolute;
top: 72px;
right: 14px;
width: 58px;
height: 1px;
background: rgba(177, 30, 35, 0.45);
transform: rotate(-25deg);
transform-origin: right center;
}
.visual-dot {
position: absolute;
width: 9px;
height: 9px;
border: 2px solid #fff;
border-radius: 50%;
background: var(--brand);
box-shadow: 0 5px 12px rgba(177, 30, 35, 0.2);
}
.visual-dot.dot-one {
right: 86px;
bottom: 54px;
}
.visual-dot.dot-two {
right: 56px;
bottom: 70px;
}
.visual-dot.dot-three {
right: 24px;
bottom: 84px;
}
.banner-photo::before {
position: absolute;
top: -58px;
right: -44px;
width: 142px;
height: 142px;
border-radius: 50%;
background: rgba(177, 30, 35, 0.07);
content: "";
}
.banner-photo::after {
content: none;
}
.banner-copy {
position: relative;
z-index: 1;
width: 66%;
padding: 20px 0 0 20px;
}
.banner-logos {
display: flex;
align-items: center;
gap: 6px;
color: #21436d;
font-size: 10px;
font-weight: 600;
}
.banner-logos span:first-child {
border-radius: 999px;
background: #fff1f1;
color: var(--brand);
padding: 3px 8px;
}
.banner-title,
.banner-subtitle {
position: relative;
z-index: 1;
color: #18426e;
font-weight: 700;
text-align: center;
text-shadow: 0 1px #fff;
}
.banner-title {
margin-top: 22px;
max-width: 250px;
color: #14385f;
font-size: 20px;
line-height: 1.22;
text-align: left;
text-shadow: none;
}
.banner-subtitle {
position: relative;
z-index: 1;
margin-top: 10px;
color: #6b7280;
font-size: 13px;
font-weight: 500;
text-align: left;
}
.banner-meta {
position: absolute;
bottom: 20px;
left: 20px;
z-index: 1;
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.banner-meta span {
border: 1px solid #edf0f6;
border-radius: 999px;
background: #fff;
color: #374151;
font-size: 11px;
padding: 5px 9px;
}
.banner-art {
position: absolute;
top: 44px;
right: 28px;
width: 86px;
height: 86px;
opacity: 0.82;
}
.art-ring {
position: absolute;
inset: 8px;
border: 1px solid rgba(177, 30, 35, 0.16);
border-radius: 50%;
}
.art-ring::before {
position: absolute;
inset: 18px;
border: 1px solid rgba(177, 30, 35, 0.16);
border-radius: 50%;
content: "";
}
.art-line {
position: absolute;
top: 43px;
left: 42px;
width: 40px;
height: 2px;
background: var(--brand);
transform: rotate(-28deg);
transform-origin: left center;
}
.art-node {
position: absolute;
width: 9px;
height: 9px;
border: 2px solid #fff;
border-radius: 50%;
background: var(--brand);
box-shadow: 0 6px 14px rgba(177, 30, 35, 0.22);
}
.node-one {
top: 24px;
right: 20px;
}
.node-two {
top: 52px;
left: 20px;
}
.node-three {
right: 12px;
bottom: 20px;
}
.slider-count {
display: flex;
align-items: center;
justify-content: center;
gap: 7px;
height: 42px;
color: #7b7f87;
font-size: 12px;
}
.home-content {
position: relative;
z-index: 1;
padding: 0 14px calc(64px + env(safe-area-inset-bottom));
}
.notice-card {
display: flex;
align-items: center;
gap: 10px;
min-height: 44px;
border: 1px solid #f0d3d5;
border-radius: 10px;
background: #fff;
padding: 10px 12px;
box-shadow: 0 6px 18px rgba(54, 64, 82, 0.08);
}
.notice-label {
flex: 0 0 auto;
border-radius: 999px;
background: #fff1f1;
color: var(--brand);
font-size: 12px;
font-weight: 400;
padding: 3px 8px;
}
.notice-text {
min-width: 0;
overflow: hidden;
color: #4b5563;
font-size: 13px;
text-overflow: ellipsis;
white-space: nowrap;
}
.home-quick-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 10px;
margin-top: 0;
}
.slider-dot {
width: 5px;
height: 5px;
border-radius: 50%;
background: #d7dbe2;
}
.slider-dot.active {
width: 14px;
border-radius: 999px;
background: var(--brand);
}
.college-calendar {
position: relative;
z-index: 1;
margin: 0 13px;
overflow: hidden;
border-radius: 10px 10px 0 0;
background: #fff;
box-shadow: 0 10px 26px rgba(54, 64, 82, 0.12);
}
.inline-calendar {
margin: 0;
}
.calendar-legend {
display: flex;
align-items: center;
justify-content: center;
gap: 14px;
min-height: 34px;
border-top: 1px solid #edf0f4;
background: #fff;
color: #6b7280;
font-size: 12px;
}
.calendar-legend span {
display: inline-flex;
align-items: center;
gap: 5px;
}
.legend-dot {
width: 8px;
height: 8px;
border-radius: 50%;
}
.legend-dot.signup {
background: var(--brand);
}
.legend-dot.pending {
background: #1d64d8;
}
.legend-dot.active {
background: #25845a;
}
.legend-dot.done {
background: #9aa3b2;
}
.month-bar {
display: grid;
grid-template-columns: 56px 1fr 56px;
align-items: center;
height: 44px;
background: var(--college-blue);
color: var(--college-navy);
}
.month-bar span {
font-size: 16px;
font-weight: 400;
text-align: center;
}
.month-bar button {
height: 100%;
background: transparent;
color: var(--brand);
font-size: 24px;
font-weight: 300;
}
.month-bar button:disabled {
color: #c4c9d1;
cursor: default;
}
.week-grid,
.date-grid {
display: grid;
grid-template-columns: repeat(7, 1fr);
}
.week-grid {
height: 34px;
border-top: 1px solid #edf0f4;
color: #6b7280;
font-size: 13px;
font-weight: 400;
}
.week-grid span {
display: grid;
place-items: center;
border-right: 1px solid #edf0f4;
}
.week-grid span:last-child {
border-right: 0;
}
.date-cell {
position: relative;
display: grid;
grid-template-rows: auto 1fr;
justify-items: center;
align-content: start;
min-height: 86px;
border-top: 1px solid #edf0f4;
border-right: 1px solid #edf0f4;
background: #fff;
color: #2f3338;
font-size: 12px;
font-weight: 400;
padding: 8px 6px;
text-align: center;
}
.date-cell > span {
position: relative;
z-index: 6;
display: block;
width: 100%;
line-height: 1.2;
text-align: center;
}
.signed-check {
position: absolute;
top: 6px;
right: 6px;
z-index: 7;
width: 13px;
height: 13px;
border-radius: 50%;
background: #25845a;
box-shadow: 0 2px 5px rgba(37, 132, 90, 0.18);
}
.signed-check::after {
position: absolute;
left: 4px;
top: 2px;
width: 4px;
height: 7px;
border-right: 1.5px solid #fff;
border-bottom: 1.5px solid #fff;
content: "";
transform: rotate(40deg);
}
.date-cell:nth-child(7n) {
border-right: 0;
}
.date-cell.prev-month {
color: #b8bbc1;
}
.date-cell.no-course {
cursor: default;
}
.date-cell.no-course:disabled {
color: #2f3338;
opacity: 1;
}
.date-cell.prev-month.no-course:disabled {
color: #b8bbc1;
}
.date-cell.past-date,
.date-cell.past-date.no-course:disabled {
color: #b8bbc1;
background: #fafbfc;
}
.date-cell.has-course {
overflow: visible;
}
.date-cell.selected {
outline: 1px solid rgba(177, 30, 35, 0.28);
outline-offset: -2px;
background: rgba(177, 30, 35, 0.035);
}
.calendar-event {
position: relative;
z-index: 1;
justify-self: start;
display: inline-flex;
align-items: center;
gap: 4px;
width: max-content;
max-width: 178px;
margin-top: 10px;
border-radius: 6px;
background: #1d64d8;
color: #fff;
font-size: 10px;
font-weight: 400;
line-height: 1.3;
padding: 4px 6px;
text-align: left;
box-shadow: 0 4px 10px rgba(37, 132, 90, 0.18);
pointer-events: none;
white-space: normal;
word-break: break-word;
}
.calendar-event.span-event {
width: calc((100% + 1px) * var(--span-days) - 8px);
min-height: 30px;
margin-top: 18px;
transform: translateX(0);
white-space: normal;
}
.calendar-event.active {
background: #25845a;
}
.calendar-event.done {
background: #9aa3b2;
}
.section {
margin-top: 22px;
}
.section-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
margin-bottom: 12px;
}
.section-title {
margin: 0;
color: var(--text);
font-size: 19px;
font-weight: 400;
}
.feature-section-head {
align-items: center;
padding: 0;
margin-bottom: 10px;
}
.section-title-group {
position: relative;
display: flex;
align-items: center;
gap: 8px;
}
.feature-section-head .section-title {
font-size: 19px;
letter-spacing: 0;
}
.section-title-group::after {
width: 20px;
height: 2px;
border-radius: 999px;
background: rgba(177, 30, 35, 0.72);
content: "";
}
.feature-section-head .section-more {
border-radius: 999px;
background: #fff1f1;
padding: 5px 10px;
font-size: 12px;
font-weight: 400;
}
.section-more {
background: transparent;
color: var(--brand);
font-size: 14px;
}
.card {
border: 1px solid var(--line);
border-radius: 10px;
background: var(--card);
padding: 16px;
}
.course-card {
position: relative;
overflow: hidden;
border: 1px solid rgba(226, 232, 240, 0.72);
border-radius: 12px;
background:
radial-gradient(circle at 96% 0, rgba(177, 30, 35, 0.06) 0 54px, transparent 55px),
#fff;
box-shadow: 0 6px 18px rgba(31, 41, 55, 0.045);
padding: 0;
}
.course-body {
min-width: 0;
padding: 16px;
}
.course-card-top {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: start;
gap: 14px;
}
.course-card .item-title {
margin-top: 8px;
font-size: 15px;
line-height: 1.35;
}
.course-category-inline {
display: inline-flex;
border-radius: 999px;
background: #fff1f1;
color: var(--brand);
font-size: 11px;
font-weight: 400;
padding: 4px 8px;
}
.course-meta-line {
display: grid;
gap: 5px;
margin-top: 8px;
color: #667085;
font-size: 12px;
line-height: 1.35;
}
.stack {
display: grid;
gap: 12px;
}
.row {
display: flex;
align-items: center;
}
.between {
justify-content: space-between;
gap: 12px;
}
.muted {
color: var(--muted);
}
.small {
font-size: 13px;
}
.tag {
display: inline-flex;
align-items: center;
min-height: 22px;
padding: 0 8px;
border-radius: 6px;
background: #f2f4f7;
color: #4b5563;
font-size: 12px;
white-space: nowrap;
}
.tag.brand {
background: #fff1f1;
color: var(--brand);
}
.tag.green {
background: #edf8f2;
color: #25845a;
}
.tag.blue {
background: #fff1f1;
color: var(--brand);
}
.tag.gold {
background: var(--gold-bg);
color: var(--gold);
}
.hero {
position: relative;
min-height: 210px;
overflow: hidden;
border-radius: 12px;
padding: 22px;
background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 54%, #272b35 100%);
color: #fff;
}
.hero::after {
position: absolute;
right: -54px;
bottom: -70px;
width: 164px;
height: 164px;
border: 1px solid rgba(255, 255, 255, 0.18);
border-radius: 50%;
content: "";
}
.hero-kicker {
opacity: 0.82;
font-size: 13px;
}
.hero-title {
max-width: 310px;
margin-top: 24px;
font-size: 26px;
font-weight: 900;
line-height: 1.18;
}
.hero-subtitle {
margin-top: 12px;
color: rgba(255, 255, 255, 0.78);
font-size: 14px;
line-height: 1.6;
}
.hero-actions {
display: flex;
gap: 10px;
margin-top: 20px;
}
.btn,
.hero-btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 40px;
border-radius: 8px;
padding: 0 14px;
font-weight: 400;
font-size: 14px;
}
.btn-primary {
width: 100%;
background: var(--brand);
color: #fff;
}
.btn-ghost {
border: 1px solid #d9dee7;
background: #fff;
color: var(--text);
}
.btn-calendar {
border: 1px solid #f0d3d5;
background: #fff1f1;
color: var(--brand);
}
.hero-btn {
width: 100px;
background: #fff;
color: var(--brand);
}
.hero-btn.light {
border: 1px solid rgba(255, 255, 255, 0.45);
background: rgba(255, 255, 255, 0.12);
color: #fff;
}
.quick-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 9px;
margin-top: 12px;
}
.quick-item,
.service-item {
border: 1px solid var(--line);
border-radius: 10px;
background: #fff;
padding: 14px;
text-align: left;
}
.home-quick-grid .service-item {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 8px;
min-height: 78px;
overflow: hidden;
border: 0;
border-radius: 8px;
background:
radial-gradient(circle at 20% 16%, rgba(255, 255, 255, 0.16) 0 26px, transparent 27px),
linear-gradient(135deg, #c43b40 0%, #b11e23 56%, #8b1519 100%);
box-shadow: 0 8px 18px rgba(177, 30, 35, 0.18);
padding: 12px 10px;
text-align: center;
}
.home-quick-grid .service-item::before {
content: none;
}
.quick-num {
color: var(--brand);
font-size: 24px;
font-weight: 900;
}
.quick-label {
margin-top: 4px;
color: var(--muted);
font-size: 13px;
}
.radar-card {
display: flex;
gap: 14px;
min-height: 150px;
border: 1px solid var(--line);
border-radius: 10px;
background: #fff;
padding: 14px;
}
.radar-visual {
position: relative;
flex: 0 0 126px;
min-height: 126px;
overflow: hidden;
border-radius: 10px;
background: #f9fafb;
}
.radar-ring {
position: absolute;
border: 1px solid rgba(177, 30, 35, 0.18);
border-radius: 50%;
}
.ring-one {
top: 22px;
left: 24px;
width: 78px;
height: 78px;
}
.ring-two {
top: 7px;
left: 9px;
width: 108px;
height: 108px;
}
.radar-line {
position: absolute;
top: 62px;
left: 63px;
width: 54px;
height: 2px;
background: var(--brand);
transform: rotate(-28deg);
transform-origin: left center;
}
.radar-point {
position: absolute;
width: 11px;
height: 11px;
border: 2px solid #fff;
border-radius: 50%;
background: var(--brand);
box-shadow: 0 4px 16px rgba(177, 30, 35, 0.28);
}
.point-a {
top: 32px;
left: 76px;
}
.point-b {
top: 74px;
left: 42px;
}
.point-c {
top: 86px;
left: 92px;
}
.radar-info {
min-width: 0;
}
.radar-title,
.item-title,
.title {
color: var(--text);
font-size: 17px;
font-weight: 400;
line-height: 1.35;
}
.radar-title {
margin-top: 2px;
}
.radar-desc,
.item-summary,
.summary {
color: var(--muted);
font-size: 14px;
line-height: 1.6;
}
.radar-desc {
margin-top: 8px;
}
.radar-tags {
display: flex;
flex-wrap: wrap;
gap: 7px;
margin-top: 10px;
}
.service-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 10px;
}
.icon-box {
display: grid;
width: 42px;
height: 42px;
place-items: center;
border-radius: 8px;
background: #fff1f1;
color: var(--brand);
font-weight: 400;
}
.home-quick-grid .icon-box {
display: grid;
place-items: center;
flex: 0 0 auto;
width: 30px;
height: 30px;
margin: 0;
border-radius: 0;
background: transparent;
color: #fff;
font-size: 13px;
box-shadow: none;
}
.home-quick-grid .icon-box svg {
display: block;
width: 28px;
height: 28px;
fill: none;
stroke: #fff;
stroke-width: 1.7;
stroke-linecap: round;
stroke-linejoin: round;
}
.service-main {
margin-top: 12px;
color: var(--text);
font-size: 16px;
font-weight: 400;
}
.home-quick-grid .service-main {
margin-top: 0;
color: #fff;
font-size: 14px;
font-weight: 500;
line-height: 1.2;
text-shadow: 0 1px 2px rgba(78, 10, 14, 0.18);
}
.service-sub {
margin-top: 5px;
color: var(--muted);
font-size: 12px;
}
.home-quick-grid .service-sub {
margin-top: 3px;
color: #7a8392;
font-size: 11px;
line-height: 1.25;
white-space: nowrap;
}
.item-title,
.title {
margin-top: 12px;
}
.item-summary,
.summary {
margin-top: 8px;
}
.meta {
margin-top: 8px;
color: var(--muted);
font-size: 13px;
}
.news-list-card {
padding: 12px 14px;
}
.news-list-row {
display: flex;
align-items: flex-start;
}
.news-list-main {
min-width: 0;
display: flex;
align-items: flex-start;
gap: 8px;
}
.news-list-date {
margin-top: 6px;
color: #6b7280;
font-size: 12px;
line-height: 1.4;
}
.news-list-tag {
flex: 0 0 auto;
color: #6b7280;
font-size: 15px;
line-height: 1.45;
}
.news-list-tag::after {
display: inline-block;
width: 1px;
height: 0.9em;
margin: 0 0 0 8px;
background: #d5dbe4;
content: "";
vertical-align: -0.08em;
}
.news-list-title {
color: #111827;
font-size: 15px;
font-weight: 400;
line-height: 1.45;
white-space: normal;
overflow-wrap: anywhere;
}
.course-foot,
.info-row,
.menu-item {
display: flex;
justify-content: space-between;
gap: 16px;
border-top: 1px solid #eef1f5;
color: #4b5563;
font-size: 13px;
}
.course-foot {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 12px;
margin: 14px -16px -16px;
padding: 12px 16px;
border-top: 1px solid #f1f3f6;
background: #fafbfc;
font-size: 11px;
}
.course-foot-info {
display: grid;
gap: 5px;
min-width: 0;
}
.course-foot-info span {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.course-foot-action {
display: inline-flex;
flex-direction: column;
align-items: center;
justify-content: flex-end;
gap: 7px;
white-space: nowrap;
}
.seat-count {
display: inline-flex;
align-items: center;
color: #374151;
font-size: 14px;
font-weight: 400;
line-height: 1.2;
white-space: nowrap;
}
.seat-signed {
color: var(--brand);
}
.seat-divider {
width: 1px;
height: 11px;
margin: 0 4px;
background: #667085;
transform: rotate(18deg);
transform-origin: center;
}
.seat-total {
color: #667085;
}
.seat-unit {
color: #667085;
font-size: 12px;
margin-left: 2px;
}
.signup-text-btn {
min-height: 24px;
border-radius: 6px;
background: var(--brand);
color: #fff;
font-size: 12px;
font-weight: 400;
padding: 0 7px;
white-space: nowrap;
box-shadow: 0 5px 12px rgba(177, 30, 35, 0.16);
}
.activity-signup-link {
margin-top: 12px;
}
.filter-bar {
display: flex;
gap: 8px;
margin-bottom: 14px;
overflow-x: auto;
padding-bottom: 2px;
}
.status-filter {
margin-top: -6px;
}
.my-status-filter {
display: grid;
grid-template-columns: repeat(4, 1fr);
margin-top: 0;
overflow: visible;
}
.my-status-filter .filter {
width: 100%;
}
.my-card-status {
justify-content: flex-end;
}
.search-form {
display: grid;
grid-template-columns: 1fr 82px;
gap: 10px;
margin-bottom: 14px;
}
.module-actions {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 10px;
margin-bottom: 12px;
}
.module-action {
min-height: 66px;
border: 1px solid var(--line);
border-radius: 10px;
background: #fff;
padding: 12px;
text-align: left;
}
.module-action strong,
.module-action span {
display: block;
}
.module-action strong {
color: var(--brand);
font-size: 15px;
font-weight: 400;
}
.module-action span {
margin-top: 5px;
color: var(--muted);
font-size: 12px;
}
.filter {
flex: 0 0 auto;
min-width: 58px;
height: 30px;
border: 1px solid #d9dee7;
border-radius: 8px;
background: #fff;
color: #4b5563;
font-size: 13px;
font-weight: 400;
}
.filter.active {
border-color: var(--brand);
background: #fff1f1;
color: var(--brand);
font-weight: 400;
}
.detail-head {
border-color: rgba(226, 232, 240, 0.82);
background:
radial-gradient(ellipse 220px 120px at 92% 4%, rgba(177, 30, 35, 0.055), transparent 72%),
linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.90));
box-shadow: 0 12px 34px rgba(20, 56, 95, 0.08);
}
.course-detail-title {
margin: 14px 0 12px;
color: #111827;
font-size: 18px;
font-weight: 400;
line-height: 1.4;
}
.course-cover {
position: relative;
display: grid;
align-content: end;
min-height: 168px;
overflow: hidden;
border-radius: 10px;
background: linear-gradient(135deg, #f8fafc 0%, #fff4f4 100%);
padding: 18px;
margin-bottom: 12px;
}
.course-cover.compact {
min-height: 0;
margin: 0 0 12px;
padding: 0;
background: transparent;
}
.course-cover.compact strong {
display: none;
}
.course-cover.compact::after {
content: none;
}
.course-cover.compact::before {
content: none;
}
.course-cover.compact img {
display: block;
width: 100%;
height: auto;
object-fit: contain;
}
.course-cover::before {
position: absolute;
inset: 0;
background:
linear-gradient(90deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.5) 54%, rgba(255, 255, 255, 0.18)),
radial-gradient(circle at 82% 22%, rgba(177, 30, 35, 0.12) 0 46px, transparent 47px);
content: "";
}
.course-cover::after {
position: absolute;
right: 20px;
bottom: 18px;
width: 190px;
height: 108px;
opacity: 0.9;
content: "";
}
.course-cover-tags {
position: relative;
z-index: 2;
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.course-cover-tags span {
width: max-content;
border-radius: 999px;
background: #fff1f1;
color: var(--brand);
font-size: 12px;
line-height: 24px;
padding: 0 10px;
}
.course-cover strong {
position: relative;
z-index: 2;
display: block;
margin-top: 12px;
color: #14385f;
font-size: 21px;
font-weight: 400;
line-height: 1.28;
}
.course-cover-art {
position: absolute;
inset: 0;
z-index: 1;
pointer-events: none;
}
.cover-transfer::after {
border-radius: 18px;
background:
linear-gradient(90deg, rgba(20, 56, 95, 0.55), rgba(20, 56, 95, 0.55)) 30px 58px / 128px 2px no-repeat,
linear-gradient(90deg, rgba(177, 30, 35, 0.40), rgba(177, 30, 35, 0.40)) 70px 38px / 2px 52px no-repeat,
linear-gradient(90deg, rgba(20, 56, 95, 0.30), rgba(20, 56, 95, 0.30)) 112px 28px / 2px 64px no-repeat,
radial-gradient(circle, #b11e23 0 6px, #fff 7px 12px, rgba(177, 30, 35, 0.18) 13px 17px, transparent 18px) 18px 46px / 34px 34px no-repeat,
radial-gradient(circle, #b11e23 0 6px, #fff 7px 12px, rgba(177, 30, 35, 0.18) 13px 17px, transparent 18px) 72px 26px / 34px 34px no-repeat,
radial-gradient(circle, #b11e23 0 6px, #fff 7px 12px, rgba(177, 30, 35, 0.18) 13px 17px, transparent 18px) 138px 48px / 34px 34px no-repeat,
linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.18)) 42px 18px / 132px 78px no-repeat,
linear-gradient(135deg, rgba(20, 56, 95, 0.10), rgba(177, 30, 35, 0.10));
box-shadow:
-22px -16px 0 rgba(255, 255, 255, 0.54),
-46px 18px 0 rgba(255, 241, 241, 0.78),
inset 0 0 0 1px rgba(255, 255, 255, 0.64);
}
.cover-ai::after {
border: 1px solid rgba(20, 56, 95, 0.2);
border-radius: 12px;
background:
linear-gradient(rgba(20, 56, 95, 0.13), rgba(20, 56, 95, 0.13)) 36px 0 / 2px 88px no-repeat,
linear-gradient(rgba(20, 56, 95, 0.13), rgba(20, 56, 95, 0.13)) 78px 0 / 2px 88px no-repeat,
linear-gradient(90deg, rgba(20, 56, 95, 0.13), rgba(20, 56, 95, 0.13)) 0 28px / 156px 2px no-repeat,
linear-gradient(90deg, rgba(20, 56, 95, 0.13), rgba(20, 56, 95, 0.13)) 0 58px / 156px 2px no-repeat,
rgba(255, 255, 255, 0.36);
}
.cover-ai .course-cover-art::after {
position: absolute;
right: 75px;
bottom: 49px;
color: rgba(177, 30, 35, 0.72);
content: "AI";
font-size: 18px;
}
.cover-material::after {
background:
radial-gradient(circle, rgba(177, 30, 35, 0.8) 0 5px, transparent 6px) 18px 20px / 44px 44px no-repeat,
radial-gradient(circle, rgba(29, 100, 216, 0.55) 0 5px, transparent 6px) 74px 48px / 44px 44px no-repeat,
radial-gradient(circle, rgba(177, 30, 35, 0.8) 0 5px, transparent 6px) 124px 18px / 44px 44px no-repeat,
linear-gradient(26deg, transparent 0 48px, rgba(20, 56, 95, 0.2) 49px 51px, transparent 52px),
linear-gradient(-24deg, transparent 0 96px, rgba(20, 56, 95, 0.2) 97px 99px, transparent 100px);
}
.cover-robot::after {
border-radius: 14px;
background:
linear-gradient(rgba(20, 56, 95, 0.16), rgba(20, 56, 95, 0.16)) 88px 16px / 2px 50px no-repeat,
linear-gradient(90deg, rgba(20, 56, 95, 0.16), rgba(20, 56, 95, 0.16)) 48px 64px / 82px 2px no-repeat,
radial-gradient(circle, rgba(177, 30, 35, 0.76) 0 8px, transparent 9px) 78px 6px / 28px 28px no-repeat,
radial-gradient(circle, rgba(29, 100, 216, 0.5) 0 7px, transparent 8px) 118px 54px / 24px 24px no-repeat,
linear-gradient(135deg, transparent 0 52px, rgba(177, 30, 35, 0.32) 53px 57px, transparent 58px);
}
.detail-summary {
color: #5f6878;
font-size: 14px;
line-height: 1.55;
}
.detail-signup-btn {
width: 100%;
margin-top: 18px;
}
.detail-signed-btn {
border: 1px solid #c9d8cd;
background: #ecfdf3;
color: var(--green);
}
.detail-module {
padding: 15px;
border-color: rgba(226, 232, 240, 0.82);
background:
radial-gradient(ellipse 180px 110px at 96% 0%, rgba(20, 56, 95, 0.04), transparent 72%),
linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88));
box-shadow: 0 10px 28px rgba(20, 56, 95, 0.065);
}
.detail-module .section-title {
margin-bottom: 12px;
color: #111827;
font-size: 16px;
font-weight: 400;
line-height: 1.35;
}
.course-schedule {
display: grid;
gap: 8px;
}
.schedule-item {
min-height: 0;
padding: 0;
color: #4b5563;
font-size: 14px;
font-weight: 400;
line-height: 1.55;
text-align: left;
}
.teacher-card {
border-radius: 8px;
background: #f8fafc;
padding: 12px;
}
.teacher-name {
color: #1f2937;
font-size: 17px;
font-weight: 500;
line-height: 1.35;
}
.teacher-meta {
margin-top: 8px;
color: #4b5563;
font-size: 14px;
line-height: 1.55;
}
.teacher-desc {
margin-top: 8px;
color: #4b5563;
font-size: 14px;
line-height: 1.55;
}
.agenda-list {
display: grid;
gap: 8px;
}
.detail-title {
margin-top: 14px;
color: var(--text);
font-size: 21px;
font-weight: 400;
line-height: 1.32;
}
.news-detail-card {
padding: 18px 16px;
}
.news-detail-title {
margin: 0;
color: #111827;
font-size: 19px;
font-weight: 400;
line-height: 1.42;
text-align: center;
}
.news-detail-date {
margin-top: 8px;
color: #6b7280;
font-size: 12px;
line-height: 1.4;
text-align: center;
}
.news-detail-content {
margin: 18px 0 0;
color: #273142;
font-size: 15px;
line-height: 1.9;
text-indent: 2em;
}
.detail-actions {
position: sticky;
bottom: 78px;
display: grid;
grid-template-columns: 120px 1fr;
gap: 10px;
margin-top: 16px;
}
.mini-action {
width: 100%;
margin-top: 14px;
}
.signup-form {
display: grid;
gap: 12px;
}
.info-row {
padding: 11px 0;
border-top: 0;
border-bottom: 1px solid #eef1f5;
color: var(--text);
font-size: 14px;
}
.info-row:last-child {
border-bottom: 0;
}
.info-row span:first-child {
flex: 0 0 54px;
color: var(--muted);
}
.info-row span:last-child {
flex: 1;
text-align: right;
}
.agenda-item {
display: block;
min-height: 0;
color: #4b5563;
font-size: 14px;
line-height: 1.55;
}
.agenda-index {
display: grid;
flex: 0 0 auto;
width: 22px;
height: 22px;
place-items: center;
border-radius: 50%;
background: #fff1f1;
color: var(--brand);
font-size: 12px;
}
.dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--brand);
}
.calendar-item {
display: grid;
grid-template-columns: 66px 1fr;
gap: 14px;
}
.date-box {
border-radius: 8px;
background: #fff1f1;
color: var(--brand);
padding: 12px 6px;
text-align: center;
}
.date-main {
font-size: 17px;
font-weight: 400;
}
.date-sub {
margin-top: 4px;
font-size: 12px;
}
.field + .field {
margin-top: 18px;
}
.form-label {
display: inline-flex;
align-items: center;
gap: 3px;
margin-bottom: 8px;
color: #374151;
font-size: 14px;
font-weight: 400;
}
.form-label.required::after {
color: var(--brand);
content: "*";
}
#demandForm .form-label {
margin-bottom: 12px;
}
.input,
.textarea,
.select {
width: 100%;
border: 1px solid #d9dee7;
border-radius: 8px;
background: #fff;
color: var(--text);
font-size: 14px;
font-weight: 400;
}
.select {
appearance: auto;
background: #fff;
}
.input,
.select {
height: 42px;
padding: 0 12px;
}
.select {
padding-right: 46px;
}
.textarea {
min-height: 112px;
padding: 12px;
resize: vertical;
}
.input:focus,
.textarea:focus,
.select:focus {
border-color: var(--brand);
outline: none;
box-shadow: 0 0 0 2px rgba(177, 30, 35, 0.08);
}
.input::placeholder,
.textarea::placeholder {
color: #8a8a8a;
font-weight: 400;
}
.avatar {
display: grid;
width: 52px;
height: 52px;
place-items: center;
border-radius: 50%;
background: #fff1f1;
color: var(--brand);
font-size: 22px;
font-weight: 400;
}
.avatar.large {
width: 68px;
height: 68px;
margin: 4px auto;
font-size: 28px;
}
.name {
font-size: 18px;
font-weight: 400;
}
.profile-hero-card {
position: relative;
min-height: 136px;
border-radius: 14px 14px 0 0;
background:
radial-gradient(ellipse 180px 130px at 88% 16%, rgba(255, 255, 255, 0.16), transparent 72%),
radial-gradient(ellipse 220px 120px at 28% 78%, rgba(255, 255, 255, 0.10), transparent 72%),
linear-gradient(135deg, #b11e23 0%, #14385f 100%);
color: #fff;
padding: 14px 24px;
overflow: hidden;
box-shadow: 0 14px 34px rgba(20, 56, 95, 0.16);
}
.profile-hero-card::after {
position: absolute;
right: -28px;
bottom: 32px;
width: 220px;
height: 70px;
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 50%;
content: "";
transform: rotate(-12deg);
}
.profile-hero-main {
position: relative;
z-index: 1;
display: grid;
grid-template-columns: 58px minmax(0, 1fr);
align-items: center;
gap: 18px;
min-height: 82px;
}
.profile-avatar-upload {
width: 58px;
height: 58px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.18);
overflow: hidden;
box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.28);
}
.profile-avatar-upload img,
.profile-edit-avatar img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.profile-edit-avatar {
position: relative;
cursor: pointer;
overflow: hidden;
}
.profile-avatar-input {
position: absolute;
width: 1px;
height: 1px;
opacity: 0;
pointer-events: none;
}
.profile-name-line {
min-width: 0;
color: #fff;
font-size: 20px;
line-height: 1.45;
overflow-wrap: anywhere;
}
.profile-role-line {
margin-top: 6px;
color: rgba(255, 255, 255, 0.78);
font-size: 13px;
}
.profile-menu-panel {
position: relative;
z-index: 2;
min-height: calc(100vh - 270px);
margin-top: -24px;
border-radius: 26px 26px 0 0;
background: #fff;
padding: 18px 24px 12px;
box-shadow: 0 -8px 28px rgba(31, 41, 55, 0.08);
}
.menu-item {
display: grid;
grid-template-columns: 32px minmax(0, 1fr) 20px;
width: 100%;
min-height: 58px;
align-items: center;
justify-content: initial;
column-gap: 14px;
padding: 0;
border-top: 0;
border-bottom: 1px solid #e5e7eb;
background: transparent;
color: var(--text);
font-size: 16px;
font-weight: 400;
}
.menu-item:last-child {
border-bottom: 0;
}
.menu-icon {
display: inline-grid;
flex: 0 0 auto;
width: 32px;
height: 32px;
justify-self: center;
place-items: center;
color: rgba(177, 30, 35, 0.72);
}
.menu-icon svg {
width: 27px;
height: 27px;
}
.menu-icon path {
fill: none;
stroke: currentColor;
stroke-width: 1.8;
stroke-linecap: round;
stroke-linejoin: round;
}
.menu-copy {
min-width: 0;
text-align: left;
color: #4b5563;
font-size: 16px;
line-height: 1.2;
}
.arrow {
display: inline-flex;
align-items: center;
justify-content: center;
align-self: center;
justify-self: end;
width: 20px;
height: 20px;
color: #6b7280;
font-size: 24px;
font-weight: 300;
line-height: 1;
}
.login-page {
display: grid;
align-content: center;
gap: 24px;
min-height: calc(100vh - 170px);
padding: 30px 20px 100px;
}
.brand-mark {
display: grid;
width: 52px;
height: 52px;
place-items: center;
border-radius: 12px;
background: var(--brand);
color: #fff;
font-size: 26px;
font-weight: 400;
}
.brand-title {
margin-top: 18px;
font-size: 25px;
font-weight: 400;
}
.brand-subtitle {
margin-top: 10px;
color: var(--muted);
font-size: 15px;
line-height: 1.65;
}
.empty {
border: 1px dashed #d9dee7;
border-radius: 10px;
background: #fff;
padding: 34px 16px;
color: #8a94a6;
font-size: 14px;
text-align: center;
}
.toast {
display: none;
pointer-events: none;
}
.toast.visible {
display: none;
}
.signup-modal {
position: fixed;
inset: 0;
z-index: 120;
display: none;
align-items: center;
justify-content: center;
background: rgba(17, 24, 39, 0.38);
padding: 16px;
}
.signup-modal.visible {
display: flex;
}
.signup-panel {
display: grid;
gap: 14px;
width: min(100%, 402px);
border-radius: 12px;
background:
radial-gradient(ellipse 220px 130px at 96% 0%, rgba(177, 30, 35, 0.06), transparent 72%),
#fff;
padding: 18px;
box-shadow: 0 20px 48px rgba(17, 24, 39, 0.24);
}
.signup-head {
display: flex;
justify-content: space-between;
gap: 12px;
margin-bottom: 2px;
}
.signup-head h2 {
margin: 0;
color: #111827;
font-size: 18px;
font-weight: 400;
}
.signup-head p {
margin: 6px 0 0;
color: #6b7280;
font-size: 13px;
line-height: 1.45;
}
.signup-close {
position: relative;
flex: 0 0 auto;
width: 32px;
height: 32px;
border-radius: 50%;
background: #fff1f1;
color: transparent;
font-size: 0;
line-height: 1;
}
.signup-close::before,
.signup-close::after {
position: absolute;
top: 50%;
left: 50%;
width: 14px;
height: 2px;
border-radius: 999px;
background: var(--brand);
content: "";
transform-origin: center;
}
.signup-close::before {
transform: translate(-50%, -50%) rotate(45deg);
}
.signup-close::after {
transform: translate(-50%, -50%) rotate(-45deg);
}
.signup-field {
display: grid;
gap: 8px;
}
.signup-field span {
color: #374151;
font-size: 13px;
line-height: 1.2;
}
.signup-field i {
color: var(--brand);
font-style: normal;
margin-left: 2px;
}
.signup-error {
min-height: 16px;
color: #d94b4f;
font-size: 12px;
font-style: normal;
line-height: 1.3;
}
.signup-error:empty {
display: none;
}
.course-detail-promo .course-promo-head {
margin-bottom: 0;
padding-bottom: 12px;
}
.course-promo-image-wrap {
margin: 0 0 16px;
border-radius: 8px;
overflow: hidden;
background: #fff;
box-shadow: 0 10px 28px rgba(15, 23, 42, 0.065);
}
.course-promo-image {
display: block;
width: 100%;
height: auto;
vertical-align: top;
}
.signup-session-list {
display: grid;
gap: 8px;
}
.signup-session-option {
display: grid;
gap: 4px;
width: 100%;
padding: 10px 12px;
border: 1px solid #d6dde8;
border-radius: 8px;
background: #fff;
text-align: left;
color: #374151;
font-size: 13px;
}
.signup-session-option.active {
border-color: rgba(177, 30, 35, 0.58);
background: rgba(177, 30, 35, 0.06);
}
.signup-session-option:disabled {
opacity: 0.55;
cursor: not-allowed;
}
.signup-session-option strong {
color: #111827;
font-size: 14px;
font-weight: 500;
}
.signup-session-option span {
color: #667085;
font-size: 12px;
}
.signup-panel .btn-primary {
margin-top: 2px;
}
.success-panel {
justify-items: center;
gap: 10px;
width: min(100%, 330px);
padding: 24px 20px 20px;
text-align: center;
}
.success-mark {
width: 54px;
height: 54px;
border-radius: 50%;
background: rgba(177, 30, 35, 0.1);
color: var(--brand);
display: grid;
place-items: center;
font-size: 28px;
line-height: 1;
}
.success-panel h2 {
margin: 4px 0 0;
color: #111827;
font-size: 19px;
font-weight: 400;
}
.success-panel p {
margin: 0 0 8px;
color: #6b7280;
font-size: 14px;
line-height: 1.5;
}
.success-panel .btn-primary {
width: 100%;
}
body:not([data-route="home"]) .section {
margin-top: 18px;
}
body:not([data-route="home"]) .section-head {
margin-bottom: 10px;
}
body:not([data-route="home"]) .section-title {
font-size: 18px;
font-weight: 400;
}
body:not([data-route="home"]) .card {
padding: 14px;
box-shadow: 0 4px 14px rgba(31, 41, 55, 0.035);
}
body:not([data-route="home"]) .item-title,
body:not([data-route="home"]) .title {
margin-top: 10px;
font-size: 16px;
font-weight: 400;
}
body:not([data-route="home"]) .summary,
body:not([data-route="home"]) .item-summary {
margin-top: 7px;
font-size: 13px;
line-height: 1.65;
}
body:not([data-route="home"]) .meta {
margin-top: 7px;
font-size: 12px;
}
body:not([data-route="home"]) .tag {
min-height: 21px;
border-radius: 6px;
font-weight: 400;
}
body:not([data-route="home"]) .search-form {
grid-template-columns: 1fr 52px 76px;
gap: 8px;
margin-bottom: 12px;
}
body:not([data-route="home"]) .search-form .input {
height: 34px;
border-radius: 7px;
font-size: 13px;
padding: 0 10px;
}
body:not([data-route="home"]) .search-form .btn {
min-height: 34px;
border-radius: 7px;
font-size: 13px;
padding: 0 10px;
}
body:not([data-route="home"]) .btn-primary {
box-shadow: none;
}
body:not([data-route="home"]) .btn-ghost {
color: #4b5563;
}
body:not([data-route="home"]) .detail-head .summary {
color: #5f6878;
}
body:not([data-route="home"]) .signup-form {
gap: 10px;
}
body[data-route="courseDetail"] .detail-head {
border-color: transparent;
background:
radial-gradient(ellipse 250px 150px at 88% 8%, rgba(177, 30, 35, 0.105), transparent 72%),
radial-gradient(ellipse 210px 130px at 4% 92%, rgba(20, 56, 95, 0.075), transparent 72%),
radial-gradient(ellipse 220px 120px at 52% 44%, rgba(255, 255, 255, 0.86), transparent 68%),
linear-gradient(155deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.88));
box-shadow:
0 14px 34px rgba(20, 56, 95, 0.09);
}
body[data-route="courseDetail"] .detail-module {
border-color: transparent;
background:
radial-gradient(ellipse 220px 130px at 96% 6%, rgba(20, 56, 95, 0.075), transparent 72%),
radial-gradient(ellipse 180px 110px at 4% 96%, rgba(177, 30, 35, 0.055), transparent 72%),
radial-gradient(ellipse 190px 100px at 42% 42%, rgba(255, 255, 255, 0.82), transparent 68%),
linear-gradient(155deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.86));
box-shadow:
0 12px 30px rgba(20, 56, 95, 0.075);
}
body[data-route="courseDetail"] .detail-module .section-title {
font-size: 16px;
}
/* Visual polish pass: keep data and flows unchanged while tightening the UI system. */
body:not([data-route="home"]) .topbar {
background: linear-gradient(135deg, #b11e23 0%, #931820 100%);
box-shadow: 0 8px 22px rgba(127, 22, 27, 0.16);
}
body:not([data-route="home"]) .page {
padding-inline: 13px;
}
body[data-route="profile"] .page {
padding: 0 0 calc(64px + env(safe-area-inset-bottom));
}
body[data-route="profile"] .profile-hero-card,
body[data-route="profile"] .profile-menu-panel {
width: 100%;
}
.tabbar {
border-top-color: rgba(226, 232, 240, 0.9);
box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
}
.tab-item.active::before {
position: absolute;
top: 7px;
width: 18px;
height: 3px;
border-radius: 999px;
background: var(--brand);
content: "";
}
.card,
body:not([data-route="home"]) .card {
border-color: rgba(226, 232, 240, 0.84);
border-radius: 8px;
box-shadow: 0 10px 28px rgba(15, 23, 42, 0.055);
}
.course-card,
.detail-head,
.detail-module,
.news-list-card,
.signup-panel {
border-radius: 8px;
box-shadow: 0 12px 30px rgba(15, 23, 42, 0.065);
}
.course-card {
background:
linear-gradient(90deg, rgba(177, 30, 35, 0.82) 0 3px, transparent 3px),
radial-gradient(ellipse 150px 90px at 100% 0%, rgba(177, 30, 35, 0.055), transparent 72%),
#fff;
}
.course-body {
padding: 15px 15px 14px 16px;
}
.stack {
gap: 11px;
}
.section-title,
.item-title,
.title,
.course-detail-title,
.detail-title {
letter-spacing: 0;
}
.item-title,
.title {
color: #111827;
font-weight: 500;
line-height: 1.42;
}
.summary,
.detail-summary,
.meta,
.course-foot-info {
color: #667085;
}
.tag {
min-height: 23px;
border-radius: 999px;
padding: 0 9px;
font-size: 12px;
line-height: 1;
}
.tag.brand,
.tag.blue {
background: rgba(177, 30, 35, 0.085);
color: var(--brand);
}
.tag.green {
background: rgba(22, 131, 74, 0.1);
color: #15804b;
}
.filter {
height: 32px;
border-color: rgba(203, 213, 225, 0.95);
border-radius: 999px;
padding: 0 12px;
color: #475467;
}
.filter-bar:not(.my-status-filter) {
flex-wrap: nowrap;
overflow-x: auto;
padding-right: 14px;
padding-bottom: 6px;
scrollbar-width: none;
}
.filter-bar:not(.my-status-filter) .filter {
flex: 0 0 auto;
max-width: 100%;
}
.filter-bar:not(.my-status-filter)::-webkit-scrollbar {
display: none;
}
.filter.active {
border-color: rgba(177, 30, 35, 0.58);
background: rgba(177, 30, 35, 0.08);
box-shadow: 0 6px 14px rgba(177, 30, 35, 0.08);
}
.btn,
.hero-btn {
border-radius: 8px;
}
.btn-primary {
background: linear-gradient(135deg, #b11e23 0%, #94171e 100%);
box-shadow: 0 10px 20px rgba(177, 30, 35, 0.18);
}
.btn-ghost,
.btn-calendar {
border-color: rgba(203, 213, 225, 0.95);
}
.input,
.textarea,
.select {
border-color: #d6dde8;
border-radius: 8px;
background: rgba(255, 255, 255, 0.96);
}
.input:focus,
.textarea:focus,
.select:focus {
border-color: rgba(177, 30, 35, 0.88);
box-shadow: 0 0 0 3px rgba(177, 30, 35, 0.085);
}
.news-list-card {
padding: 13px 15px;
}
.news-list-title,
.news-list-tag {
font-size: 14px;
line-height: 1.45;
}
.signup-modal {
background: rgba(15, 23, 42, 0.42);
backdrop-filter: blur(6px);
}
.success-mark {
background: rgba(177, 30, 35, 0.09);
box-shadow: inset 0 0 0 1px rgba(177, 30, 35, 0.12);
}
@media (min-width: 720px) {
body {
padding: 24px 0;
}
.app-shell {
min-height: calc(100vh - 48px);
border-radius: 24px;
overflow: hidden;
}
.topbar {
position: relative;
}
.tabbar {
border-radius: 0 0 24px 24px;
}
}