2026-10-13 22:50:37 +08:00
|
|
|
.home-page {
|
2026-10-15 21:56:45 +08:00
|
|
|
position: relative; width: 100%; max-width: 750px; min-height: 100vh; margin: 0 auto;
|
|
|
|
|
padding: calc(182px + env(safe-area-inset-top)) 30px calc(210px + env(safe-area-inset-bottom));
|
|
|
|
|
box-sizing: border-box; color: #2c263a; overflow-x: hidden;
|
|
|
|
|
background: linear-gradient(180deg,#9d81fb 0,#c6acfb 300px,#eddaff 660px,#f7edff 1120px,#f6f2ff 100%);
|
|
|
|
|
}
|
2026-10-17 22:44:09 +08:00
|
|
|
.home-protected { position: relative; }
|
|
|
|
|
.home-locked .binding-gate-content { margin-top: 16vh; }
|
2026-10-15 21:56:45 +08:00
|
|
|
.home-preview-note { position: absolute; top: calc(110px + env(safe-area-inset-top)); left: 0; right: 0; color: rgba(60,41,104,.65); font-size: 22px; line-height: 1.5; text-align: center; }
|
|
|
|
|
.home-day-switch { display: flex; align-items: center; gap: 38px; padding: 0 16px; }
|
|
|
|
|
.home-avatar-orb { flex: none; width: 108px; height: 108px; border: 3px solid rgba(255,255,255,.75); border-radius: 50%; box-sizing: border-box; background: #fffef0; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 20px rgba(115,78,168,.1); overflow: hidden; }
|
|
|
|
|
.home-water-image { width: 86px; height: 86px; }
|
|
|
|
|
.home-avatar-image { width: 100%; height: 100%; border-radius: 50%; }
|
|
|
|
|
.home-day-tabs { display: flex; flex: 1; min-width: 0; align-items: center; }
|
|
|
|
|
.home-page .home-day-tab { flex: 1; min-width: 0; height: 108px; margin: 0; padding: 0; position: relative; display: flex; flex-direction: column; align-items: center; color: #6f568f; background: transparent; border: 0; font-weight: 500; }
|
|
|
|
|
.home-page .home-day-tab + .home-day-tab { margin-top: 0; }
|
|
|
|
|
.home-day-tab + .home-day-tab::before { content: ''; position: absolute; left: 0; top: 23px; width: 2px; height: 9px; border-radius: 2px; background: rgba(79,52,112,.3); }
|
|
|
|
|
.home-day-label { display: block; height: 58px; font-size: 35px; line-height: 58px; white-space: nowrap; }
|
|
|
|
|
.home-day-status { min-width: 96px; height: 40px; padding: 0 8px; box-sizing: border-box; margin-top: 6px; border-radius: 24px; font-size: 25px; line-height: 40px; color: #a17bb8; white-space: nowrap; }
|
|
|
|
|
.home-day-tab.active .home-day-label { color: #2e2340; font-size: 43px; font-weight: 800; }
|
|
|
|
|
.home-day-tab.active .home-day-status { color: #fff; background: linear-gradient(135deg,#9864fa,#8150ee); box-shadow: 0 5px 12px rgba(124,71,216,.13); font-weight: 700; }
|
|
|
|
|
.home-date-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 20px; margin: 38px 10px 28px; color: #5e486f; font-size: 25px; line-height: 1.5; }
|
|
|
|
|
.home-solar-date { display: flex; align-items: baseline; white-space: nowrap; }
|
|
|
|
|
.home-date-number { font-size: 38px; font-weight: 800; line-height: 1.1; }
|
|
|
|
|
.home-lunar-date { font-size: 24px; }
|
|
|
|
|
.home-summary-card { position: relative; min-height: 200px; padding: 28px; border-radius: 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; box-sizing: border-box; color: #fff; background: linear-gradient(115deg,#7841f6 0,#8749fc 50%,#c773ef 100%); box-shadow: 0 12px 24px rgba(139,81,211,.1); overflow: hidden; }
|
|
|
|
|
.home-summary-card::after { content: ''; position: absolute; right: -40px; top: -90px; width: 330px; height: 330px; border: 2px solid rgba(255,255,255,.15); border-radius: 50%; }
|
|
|
|
|
.home-summary-copy { position: relative; z-index: 1; flex: 1; min-width: 0; font-size: 28px; font-weight: 600; line-height: 1.8; letter-spacing: 1px; }
|
|
|
|
|
.home-index-halo { position: relative; z-index: 1; width: 174px; height: 174px; padding: 9px; border: 2px solid rgba(240,208,255,.4); border-radius: 50%; box-sizing: border-box; background: rgba(230,195,255,.16); box-shadow: 0 0 16px rgba(255,218,251,.3); flex: none; }
|
|
|
|
|
.home-index-orb { width: 100%; height: 100%; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: radial-gradient(circle at 36% 25%,#b8f3ff 0,#77b7ec 28%,#547be3 61%,#96b6fc 87%,#d9d7ff 100%); box-shadow: inset 0 3px 9px rgba(255,255,255,.8),inset 0 -8px 16px rgba(64,81,187,.2); }
|
|
|
|
|
.home-index-number { font-size: 76px; font-weight: 800; line-height: 1; letter-spacing: -3px; }
|
|
|
|
|
.home-index-label { margin-top: 8px; font-size: 22px; line-height: 1.3; }
|
|
|
|
|
.home-summary-stars { position: absolute; inset: 0; pointer-events: none; }
|
|
|
|
|
.home-summary-stars > view { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: rgba(255,240,255,.7); }
|
|
|
|
|
.home-summary-stars > view:nth-child(1) { top: 25px; left: 42px; }
|
|
|
|
|
.home-summary-stars > view:nth-child(2) { top: 35px; right: 15px; width: 4px; height: 4px; }
|
|
|
|
|
.home-summary-stars > view:nth-child(3) { bottom: 27px; right: 29px; width: 3px; height: 3px; }
|
|
|
|
|
.home-lucky-row { display: flex; gap: 20px; margin-top: 20px; }
|
|
|
|
|
.home-lucky-box { min-width: 0; min-height: 90px; padding: 18px 20px; box-sizing: border-box; border: 1px solid rgba(255,255,255,.3); border-radius: 22px; display: flex; align-items: center; gap: 16px; }
|
|
|
|
|
.home-colors-box { flex: 1.8; background: rgba(231,211,250,.68); }
|
|
|
|
|
.home-numbers-box { flex: 1; background: rgba(220,208,252,.72); }
|
|
|
|
|
.home-direction-box { flex: 1; background: linear-gradient(110deg,#ffe6bd,#fff0df); }
|
|
|
|
|
.home-hours-box { flex: 1.8; background: linear-gradient(110deg,#c2e7fa,#dfedff); }
|
|
|
|
|
.home-lucky-label { flex: none; font-size: 27px; font-weight: 800; white-space: nowrap; }
|
|
|
|
|
.home-color-list { display: flex; gap: 16px; min-width: 0; flex: 1; flex-wrap: wrap; }
|
|
|
|
|
.home-color-chip { display: flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 25px; }
|
|
|
|
|
.home-swatch { width: 42px; height: 42px; flex: none; border-radius: 12px; border: 1px solid rgba(120,100,150,.06); box-sizing: border-box; }
|
|
|
|
|
.home-number-slots { display: flex; gap: 10px; }
|
|
|
|
|
.home-number-slot { position: relative; width: 43px; height: 52px; border-radius: 8px; color: #fff; background: linear-gradient(180deg,#9279ee 49%,#a18af1 50%); text-align: center; }
|
|
|
|
|
.home-number-slot > text { position: relative; z-index: 1; font-size: 43px; font-weight: 700; line-height: 52px; }
|
|
|
|
|
.home-number-slot::after { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: rgba(92,65,152,.26); }
|
|
|
|
|
.home-compass { flex: none; width: 42px; height: 42px; border: 5px solid #f8d787; border-radius: 50%; background: #fff9eb; box-sizing: border-box; position: relative; }
|
|
|
|
|
.home-compass-needle { position: absolute; inset: 0; }
|
|
|
|
|
.home-compass-needle::before { content: ''; position: absolute; left: 10px; top: 3px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 14px solid #ee9b82; }
|
|
|
|
|
.home-compass-needle::after { content: ''; position: absolute; left: 10px; bottom: 3px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 14px solid #7eafdd; }
|
|
|
|
|
.home-direction-value { font-size: 25px; white-space: nowrap; }
|
|
|
|
|
.home-hours-list { display: flex; gap: 12px; flex-wrap: wrap; min-width: 0; }
|
|
|
|
|
.home-hour-chip { display: flex; align-items: center; gap: 5px; color: #39495c; font-size: 23px; white-space: nowrap; }
|
|
|
|
|
.home-hour-branch { width: 34px; height: 34px; border-radius: 50%; color: #fff; background: #72b8df; line-height: 34px; text-align: center; font-weight: 700; }
|
|
|
|
|
.home-no-hour { font-size: 22px; color: #7385a1; }
|
|
|
|
|
.home-dimension-head { display: flex; align-items: center; justify-content: space-between; margin-top: 42px; }
|
|
|
|
|
.home-dimension-head > text { flex: none; white-space: nowrap; font-size: 37px; font-weight: 800; letter-spacing: -1px; }
|
|
|
|
|
.home-dimension-head > button { width: auto; flex: none; margin: 0; display: flex; align-items: center; gap: 9px; color: #85738f; font-size: 25px; padding: 14px 0 14px 20px; }
|
|
|
|
|
.home-sort-symbol { width: 21px; height: 23px; position: relative; }
|
|
|
|
|
.home-sort-symbol > view { position: absolute; top: 3px; width: 3px; height: 16px; border-radius: 2px; background: currentColor; }
|
|
|
|
|
.home-sort-symbol > view:first-child { left: 5px; }
|
|
|
|
|
.home-sort-symbol > view:last-child { right: 5px; }
|
|
|
|
|
.home-sort-symbol > view:first-child::after { content: ''; position: absolute; top: 0; left: -3px; width: 6px; height: 6px; border-left: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); }
|
|
|
|
|
.home-sort-symbol > view:last-child::after { content: ''; position: absolute; bottom: 0; left: -3px; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
|
|
|
|
|
.home-dimension-list { display: flex; flex-direction: column; gap: 18px; margin-top: 26px; }
|
|
|
|
|
.home-dimension-card { min-height: 206px; padding: 20px 26px 28px; border: 2px solid rgba(255,255,255,.9); border-radius: 26px; box-sizing: border-box; background: linear-gradient(180deg,#fff8ec,#fff 65%); box-shadow: 0 7px 18px rgba(115,83,149,.025); }
|
|
|
|
|
.home-dimension-card.dimension-emotion { background: linear-gradient(180deg,#fff0f7,#fff 65%); }
|
|
|
|
|
.home-dimension-card.dimension-life { background: linear-gradient(180deg,#f3fff0,#fff 65%); }
|
|
|
|
|
.home-dimension-card.dimension-social { background: linear-gradient(180deg,#f6efff,#fff 65%); }
|
|
|
|
|
.home-dimension-card.dimension-career { background: linear-gradient(180deg,#effff9,#fff 65%); }
|
|
|
|
|
.home-dimension-card.dimension-travel { background: linear-gradient(180deg,#f0f7ff,#fff 65%); }
|
|
|
|
|
.home-dimension-title-row { display: flex; align-items: center; gap: 11px; min-width: 0; }
|
|
|
|
|
.home-dimension-icon { display: block; width: 56px; height: 56px; flex: none; }
|
|
|
|
|
.home-dimension-title { font-size: 33px; font-weight: 800; white-space: nowrap; }
|
|
|
|
|
.home-dimension-headline { min-width: 0; flex: 1; margin-left: 4px; font-size: 26px; line-height: 1.45; color: #665b6c; }
|
|
|
|
|
.home-dimension-tag { flex: none; width: 43px; height: 43px; border-radius: 50%; color: #fff; font-size: 25px; font-weight: 700; line-height: 43px; text-align: center; }
|
|
|
|
|
.home-dimension-tag.suitable { background: #6ac87d; }
|
|
|
|
|
.home-dimension-tag.avoid { background: #f17d8f; }
|
|
|
|
|
.home-dimension-detail { display: block; margin: 24px 1px 0; color: #77707d; font-size: 27px; line-height: 1.85; }
|
|
|
|
|
.home-entertainment-note { display: block; margin: 28px 12px 0; color: #b0a1bd; font-size: 21px; line-height: 1.7; text-align: center; }
|
|
|
|
|
.home-empty { display: flex; flex-direction: column; align-items: center; gap: 28px; padding: 90px 20px; color: #7d6593; font-size: 28px; line-height: 1.8; text-align: center; }
|
|
|
|
|
.home-empty-image { width: 120px; height: 120px; }
|
|
|
|
|
.home-empty button { padding: 22px 40px; border-radius: 40px; color: #fff; background: #9977e9; font-size: 28px; }
|
|
|
|
|
.home-sort-page { padding-top: calc(130px + env(safe-area-inset-top)); }
|
|
|
|
|
.home-sort-nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
|
|
|
|
|
.home-sort-nav > text { flex: 1; text-align: center; white-space: nowrap; font-size: 36px; font-weight: 800; }
|
|
|
|
|
.home-sort-nav > button { width: auto; flex: none; min-width: 70px; margin: 0; font-size: 29px; color: #6e4e9c; line-height: 60px; }
|
|
|
|
|
.home-sort-nav > button:first-child { font-size: 64px; text-align: left; }
|
|
|
|
|
.home-sort-hint { display: block; margin: 24px 0; color: #8e7c9e; font-size: 25px; line-height: 1.8; }
|
|
|
|
|
.home-sort-list { display: flex; flex-direction: column; gap: 12px; }
|
|
|
|
|
.home-sort-item { min-height: 96px; display: flex; align-items: center; gap: 20px; padding: 18px 24px; border-radius: 22px; box-sizing: border-box; background: rgba(255,255,255,.75); font-size: 28px; color: #5c466d; }
|
|
|
|
|
.home-sort-icon { width: 48px; height: 48px; }
|
|
|
|
|
.home-sort-controls { display: flex; gap: 16px; margin-left: auto; }
|
|
|
|
|
.home-sort-controls > button { width: 46px; height: 46px; border-radius: 50%; font-size: 27px; color: #9174cc; background: rgba(175,144,223,.12); line-height: 46px; }
|
|
|
|
|
.home-sort-controls > button[disabled] { opacity: .3; }
|
|
|
|
|
@media screen and (max-height: 700px) { .home-page { padding-top: calc(148px + env(safe-area-inset-top)); } .home-preview-note { top: calc(98px + env(safe-area-inset-top)); } .home-sort-page { padding-top: calc(110px + env(safe-area-inset-top)); } }
|