1405 lines
22 KiB
CSS
1405 lines
22 KiB
CSS
:root {
|
|
--page-bg: #f6f7f7;
|
|
--card-bg: rgba(255, 255, 255, 0.96);
|
|
--text: #25282e;
|
|
--muted: #8f9196;
|
|
--line: #eef0f2;
|
|
--mint: #43e7d8;
|
|
--green: #25d878;
|
|
--gold: #e3b55b;
|
|
--shadow: 0 8px 22px rgba(36, 46, 60, 0.055);
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
width: 100%;
|
|
min-height: 100%;
|
|
margin: 0;
|
|
-webkit-font-smoothing: antialiased;
|
|
-webkit-tap-highlight-color: transparent;
|
|
-webkit-text-size-adjust: 100%;
|
|
}
|
|
|
|
body {
|
|
display: flex;
|
|
justify-content: center;
|
|
background: #111;
|
|
color: var(--text);
|
|
font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
}
|
|
|
|
button {
|
|
border: 0;
|
|
padding: 0;
|
|
background: transparent;
|
|
color: inherit;
|
|
font: inherit;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
.agency-center {
|
|
position: relative;
|
|
width: 100%;
|
|
max-width: 430px;
|
|
min-height: 100vh;
|
|
overflow: hidden;
|
|
background: var(--page-bg);
|
|
}
|
|
|
|
.agency-center[data-loading="true"] .title-bar,
|
|
.agency-center[data-loading="true"] .content,
|
|
.agency-center[data-loading="true"] .home-indicator {
|
|
visibility: hidden;
|
|
}
|
|
|
|
.hero-bg {
|
|
position: absolute;
|
|
inset: 0 0 auto;
|
|
height: 215px;
|
|
background:
|
|
radial-gradient(circle at 72% 4%, rgba(209, 255, 248, 0.98) 0, rgba(209, 255, 248, 0.88) 23%, rgba(209, 255, 248, 0) 48%),
|
|
radial-gradient(circle at 14% 20%, rgba(185, 250, 244, 0.78) 0, rgba(185, 250, 244, 0) 35%),
|
|
linear-gradient(151deg, #ccf7ef 0%, #ebfffa 58%, rgba(242, 255, 252, 0.7) 100%);
|
|
clip-path: polygon(0 0, 100% 0, 100% 76%, 70% 47%, 40% 58%, 0 78%);
|
|
}
|
|
|
|
.status-bar,
|
|
.title-bar,
|
|
.content,
|
|
.home-indicator {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.status-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
height: 47px;
|
|
padding: 18px 29px 0 38px;
|
|
color: #11161c;
|
|
direction: ltr;
|
|
font-size: 15px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.status-icons {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.cellular {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
gap: 2px;
|
|
width: 18px;
|
|
height: 12px;
|
|
}
|
|
|
|
.cellular i {
|
|
width: 3px;
|
|
border-radius: 2px;
|
|
background: #11161c;
|
|
}
|
|
|
|
.cellular i:nth-child(1) {
|
|
height: 4px;
|
|
}
|
|
|
|
.cellular i:nth-child(2) {
|
|
height: 6px;
|
|
}
|
|
|
|
.cellular i:nth-child(3) {
|
|
height: 9px;
|
|
}
|
|
|
|
.cellular i:nth-child(4) {
|
|
height: 11px;
|
|
}
|
|
|
|
.wifi {
|
|
position: relative;
|
|
width: 18px;
|
|
height: 13px;
|
|
}
|
|
|
|
.wifi i {
|
|
position: absolute;
|
|
left: 50%;
|
|
border: 2px solid #11161c;
|
|
border-bottom: 0;
|
|
border-left-color: transparent;
|
|
border-right-color: transparent;
|
|
border-radius: 12px 12px 0 0;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.wifi i:nth-child(1) {
|
|
top: 1px;
|
|
width: 16px;
|
|
height: 8px;
|
|
}
|
|
|
|
.wifi i:nth-child(2) {
|
|
top: 5px;
|
|
width: 10px;
|
|
height: 5px;
|
|
}
|
|
|
|
.wifi i:nth-child(3) {
|
|
top: 10px;
|
|
width: 4px;
|
|
height: 4px;
|
|
border: 0;
|
|
border-radius: 50%;
|
|
background: #11161c;
|
|
}
|
|
|
|
.battery {
|
|
position: relative;
|
|
width: 24px;
|
|
height: 12px;
|
|
border: 2px solid #11161c;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.battery::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 3px;
|
|
right: -4px;
|
|
width: 2px;
|
|
height: 4px;
|
|
border-radius: 0 2px 2px 0;
|
|
background: #11161c;
|
|
}
|
|
|
|
.battery i {
|
|
display: block;
|
|
width: 16px;
|
|
height: 100%;
|
|
background: #11161c;
|
|
}
|
|
|
|
.title-bar {
|
|
display: grid;
|
|
grid-template-columns: 52px 1fr 52px;
|
|
align-items: center;
|
|
z-index: 3;
|
|
height: 60px;
|
|
padding: 0 14px;
|
|
direction: ltr;
|
|
}
|
|
|
|
.title-bar h1 {
|
|
margin: 0;
|
|
color: #24282e;
|
|
font-size: 22px;
|
|
font-weight: 900;
|
|
line-height: 1;
|
|
text-align: center;
|
|
}
|
|
|
|
.back-button {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
width: 44px;
|
|
height: 44px;
|
|
}
|
|
|
|
.back-button svg {
|
|
width: 28px;
|
|
height: 28px;
|
|
}
|
|
|
|
.back-button path {
|
|
fill: none;
|
|
stroke: #24282e;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
stroke-width: 3;
|
|
}
|
|
|
|
.language-switcher {
|
|
position: relative;
|
|
justify-self: end;
|
|
}
|
|
|
|
.language-button {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 42px;
|
|
height: 30px;
|
|
border: 1px solid rgba(35, 40, 46, 0.12);
|
|
border-radius: 15px;
|
|
background: rgba(255, 255, 255, 0.68);
|
|
color: #25282e;
|
|
font-size: 13px;
|
|
font-weight: 900;
|
|
box-shadow: 0 4px 12px rgba(43, 118, 107, 0.08);
|
|
}
|
|
|
|
.language-menu {
|
|
position: absolute;
|
|
z-index: 4;
|
|
top: calc(100% + 7px);
|
|
right: 0;
|
|
display: grid;
|
|
gap: 2px;
|
|
min-width: 58px;
|
|
padding: 5px;
|
|
border: 1px solid rgba(35, 40, 46, 0.1);
|
|
border-radius: 8px;
|
|
background: rgba(255, 255, 255, 0.96);
|
|
box-shadow: 0 10px 26px rgba(36, 46, 60, 0.14);
|
|
}
|
|
|
|
.language-menu button {
|
|
min-height: 28px;
|
|
border-radius: 6px;
|
|
color: #25282e;
|
|
font-size: 12px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.language-menu button.is-active {
|
|
background: #e6fbf8;
|
|
color: #0e8f82;
|
|
}
|
|
|
|
.content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 15px;
|
|
padding: 8px 14px 90px;
|
|
}
|
|
|
|
.card {
|
|
width: 100%;
|
|
border-radius: 8px;
|
|
background: var(--card-bg);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.profile-card {
|
|
display: flex;
|
|
align-items: center;
|
|
min-height: 103px;
|
|
padding: 16px 24px;
|
|
gap: 0;
|
|
}
|
|
|
|
.avatar-shell {
|
|
position: relative;
|
|
width: 64px;
|
|
height: 64px;
|
|
flex: 0 0 64px;
|
|
}
|
|
|
|
.avatar-image,
|
|
.avatar-fallback {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 64px;
|
|
height: 64px;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.avatar-image {
|
|
object-fit: cover;
|
|
}
|
|
|
|
.avatar-fallback {
|
|
background: linear-gradient(145deg, #55f2df 0%, #d9fff5 100%);
|
|
color: #13745f;
|
|
font-size: 25px;
|
|
font-weight: 950;
|
|
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.62);
|
|
}
|
|
|
|
.profile-copy {
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
margin-left: 20px;
|
|
}
|
|
|
|
.profile-message-button {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 42px;
|
|
height: 42px;
|
|
flex: 0 0 42px;
|
|
margin-left: 14px;
|
|
border-radius: 50%;
|
|
background: #f2fbf9;
|
|
color: #4c5058;
|
|
box-shadow: inset 0 0 0 1px rgba(34, 44, 55, 0.07);
|
|
}
|
|
|
|
.profile-message-button svg {
|
|
width: 25px;
|
|
height: 25px;
|
|
}
|
|
|
|
.profile-message-button path {
|
|
fill: none;
|
|
stroke: currentColor;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
stroke-width: 2.2;
|
|
}
|
|
|
|
.message-unread-dot {
|
|
position: absolute;
|
|
top: 7px;
|
|
right: 7px;
|
|
width: 9px;
|
|
height: 9px;
|
|
border: 2px solid #fff;
|
|
border-radius: 50%;
|
|
background: #ff3b30;
|
|
}
|
|
|
|
.name {
|
|
overflow: hidden;
|
|
color: #25282e;
|
|
font-size: 20px;
|
|
font-weight: 900;
|
|
line-height: 1.1;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.meta,
|
|
.agency-line {
|
|
overflow: hidden;
|
|
color: var(--muted);
|
|
font-size: 13px;
|
|
font-weight: 750;
|
|
line-height: 1.2;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.meta {
|
|
margin-top: 6px;
|
|
}
|
|
|
|
.agency-line {
|
|
margin-top: 6px;
|
|
}
|
|
|
|
.access-card {
|
|
display: grid;
|
|
grid-template-columns: 48px minmax(0, 1fr) auto;
|
|
align-items: center;
|
|
gap: 14px;
|
|
min-height: 92px;
|
|
padding: 18px;
|
|
}
|
|
|
|
.access-icon {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 50%;
|
|
background: #e9fbf6;
|
|
}
|
|
|
|
.access-icon svg {
|
|
width: 27px;
|
|
height: 27px;
|
|
}
|
|
|
|
.access-icon path {
|
|
fill: none;
|
|
stroke: #1fb879;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
stroke-width: 2.3;
|
|
}
|
|
|
|
.access-copy {
|
|
min-width: 0;
|
|
}
|
|
|
|
.access-title {
|
|
color: #24282e;
|
|
font-size: 16px;
|
|
font-weight: 900;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.access-text {
|
|
margin-top: 5px;
|
|
color: var(--muted);
|
|
font-size: 13px;
|
|
font-weight: 750;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.access-action {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 36px;
|
|
padding: 0 14px;
|
|
border-radius: 8px;
|
|
background: var(--green);
|
|
color: #fff;
|
|
font-size: 13px;
|
|
font-weight: 900;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.metrics-card {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1px 1fr;
|
|
min-height: 111px;
|
|
padding: 23px 24px 20px;
|
|
}
|
|
|
|
.metric {
|
|
min-width: 0;
|
|
}
|
|
|
|
.metric:first-child {
|
|
padding-right: 20px;
|
|
}
|
|
|
|
.gift-metric {
|
|
padding-left: 25px;
|
|
}
|
|
|
|
.vertical-line {
|
|
width: 1px;
|
|
background: var(--line);
|
|
}
|
|
|
|
.label {
|
|
min-height: 36px;
|
|
color: #8b8d92;
|
|
font-size: 16px;
|
|
font-weight: 750;
|
|
line-height: 1.12;
|
|
}
|
|
|
|
.value {
|
|
margin-top: 4px;
|
|
color: #292d33;
|
|
font-size: 25px;
|
|
font-weight: 900;
|
|
line-height: 1;
|
|
}
|
|
|
|
.gift-value {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-top: 7px;
|
|
color: #252a30;
|
|
font-size: 24px;
|
|
font-weight: 900;
|
|
line-height: 1;
|
|
}
|
|
|
|
.gift-value .amount-text {
|
|
min-width: 0;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.salary-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
min-height: 113px;
|
|
padding: 18px 24px;
|
|
}
|
|
|
|
.salary-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
|
|
.salary-title {
|
|
display: flex;
|
|
align-items: center;
|
|
min-width: 0;
|
|
color: #24282e;
|
|
font-size: 17px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.salary-title svg {
|
|
width: 17px;
|
|
height: 17px;
|
|
margin-left: 7px;
|
|
}
|
|
|
|
.salary-title circle,
|
|
.salary-title path {
|
|
fill: none;
|
|
stroke: #272b31;
|
|
stroke-linecap: round;
|
|
stroke-width: 2;
|
|
}
|
|
|
|
.salary-link {
|
|
display: flex;
|
|
align-items: center;
|
|
flex: 0 0 auto;
|
|
color: var(--mint);
|
|
font-size: 13px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.salary-link .chevron {
|
|
margin-left: 5px;
|
|
color: var(--mint);
|
|
font-size: 20px;
|
|
}
|
|
|
|
.salary-value {
|
|
display: flex;
|
|
align-items: center;
|
|
max-width: 100%;
|
|
margin-top: 14px;
|
|
color: #23272d;
|
|
font-size: 34px;
|
|
font-weight: 950;
|
|
line-height: 1.05;
|
|
}
|
|
|
|
.salary-currency {
|
|
flex: 0 0 auto;
|
|
margin-right: 6px;
|
|
color: var(--gold);
|
|
font-size: 28px;
|
|
font-weight: 950;
|
|
line-height: 1;
|
|
}
|
|
|
|
.amount-text {
|
|
min-width: 0;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.chevron {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-left: 8px;
|
|
color: #8b8e94;
|
|
font-size: 25px;
|
|
font-weight: 500;
|
|
line-height: 0.8;
|
|
}
|
|
|
|
.salary-value .chevron {
|
|
margin-left: 9px;
|
|
color: #b4b6ba;
|
|
font-size: 24px;
|
|
}
|
|
|
|
.policy-entry-card {
|
|
padding: 0 16px;
|
|
}
|
|
|
|
.policy-entry-link {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
min-height: 64px;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.policy-entry-divider {
|
|
height: 1px;
|
|
margin-left: 42px;
|
|
background: var(--line);
|
|
}
|
|
|
|
.policy-entry-left {
|
|
display: flex;
|
|
align-items: center;
|
|
min-width: 0;
|
|
}
|
|
|
|
.policy-entry-left svg {
|
|
width: 24px;
|
|
height: 24px;
|
|
flex: 0 0 24px;
|
|
margin-right: 18px;
|
|
}
|
|
|
|
.policy-entry-left svg path {
|
|
fill: none;
|
|
stroke: #55585f;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
stroke-width: 2.2;
|
|
}
|
|
|
|
.question-icon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 24px;
|
|
height: 24px;
|
|
flex: 0 0 24px;
|
|
margin-right: 18px;
|
|
border: 2px solid #55585f;
|
|
border-radius: 50%;
|
|
color: #55585f;
|
|
font-size: 15px;
|
|
font-weight: 950;
|
|
line-height: 1;
|
|
}
|
|
|
|
.policy-entry-left span:not(.question-icon) {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
color: #464951;
|
|
font-size: 16px;
|
|
font-weight: 850;
|
|
line-height: 1.2;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.policy-entry-link > .chevron {
|
|
flex: 0 0 auto;
|
|
margin-left: 12px;
|
|
color: #8b8d92;
|
|
font-size: 24px;
|
|
}
|
|
|
|
.team-member-entry-card {
|
|
margin-top: -1px;
|
|
}
|
|
|
|
.team-member-entry-right {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
flex: 0 0 auto;
|
|
margin-left: 12px;
|
|
color: #8b8d92;
|
|
font-size: 14px;
|
|
font-weight: 900;
|
|
line-height: 1;
|
|
}
|
|
|
|
.team-member-entry-right .chevron {
|
|
margin-left: 7px;
|
|
color: #8b8d92;
|
|
font-size: 24px;
|
|
}
|
|
|
|
.daily-modal[hidden] {
|
|
display: none;
|
|
}
|
|
|
|
.daily-modal {
|
|
position: fixed;
|
|
z-index: 20;
|
|
inset: 0;
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: center;
|
|
}
|
|
|
|
.daily-backdrop {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(15, 21, 28, 0.38);
|
|
}
|
|
|
|
.daily-sheet {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: min(430px, 100%);
|
|
max-height: 80vh;
|
|
max-height: 80dvh;
|
|
overflow: hidden;
|
|
border-radius: 16px 16px 0 0;
|
|
background: #fff;
|
|
box-shadow: 0 -14px 34px rgba(23, 31, 42, 0.16);
|
|
}
|
|
|
|
.daily-sheet-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
min-height: 58px;
|
|
padding: 16px 18px 12px;
|
|
border-bottom: 1px solid #eef0f2;
|
|
}
|
|
|
|
.daily-sheet-head h2 {
|
|
margin: 0;
|
|
color: #24282e;
|
|
font-size: 18px;
|
|
font-weight: 950;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.daily-close {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 34px;
|
|
height: 34px;
|
|
border-radius: 50%;
|
|
background: #f4f6f7;
|
|
color: #50545b;
|
|
font-size: 25px;
|
|
font-weight: 500;
|
|
line-height: 1;
|
|
}
|
|
|
|
.daily-summary {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 13px 18px;
|
|
border-bottom: 1px solid #f0f2f3;
|
|
color: #8b8d92;
|
|
font-size: 14px;
|
|
font-weight: 850;
|
|
}
|
|
|
|
.daily-summary strong {
|
|
color: #24282e;
|
|
font-size: 20px;
|
|
font-weight: 950;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.daily-list {
|
|
display: grid;
|
|
flex: 1 1 auto;
|
|
gap: 10px;
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
padding: 14px 18px max(18px, env(safe-area-inset-bottom));
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
.daily-row {
|
|
display: grid;
|
|
gap: 10px;
|
|
padding: 12px;
|
|
border: 1px solid #eef0f2;
|
|
border-radius: 8px;
|
|
background: #fbfcfc;
|
|
}
|
|
|
|
.daily-date {
|
|
color: #24282e;
|
|
font-size: 15px;
|
|
font-weight: 950;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.daily-values {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 10px;
|
|
}
|
|
|
|
.daily-cell {
|
|
min-width: 0;
|
|
}
|
|
|
|
.daily-cell span {
|
|
display: block;
|
|
overflow: hidden;
|
|
color: #96989d;
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
line-height: 1.2;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.daily-cell strong {
|
|
display: block;
|
|
margin-top: 4px;
|
|
overflow-wrap: anywhere;
|
|
color: #292d33;
|
|
font-size: 16px;
|
|
font-weight: 950;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.daily-empty {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 92px;
|
|
border: 1px dashed #e5e8ea;
|
|
border-radius: 8px;
|
|
color: #8b8d92;
|
|
font-size: 14px;
|
|
font-weight: 850;
|
|
text-align: center;
|
|
}
|
|
|
|
.daily-modal-open {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.invite-steps {
|
|
display: grid;
|
|
flex: 1 1 auto;
|
|
gap: 12px;
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
padding: 16px 18px max(20px, env(safe-area-inset-bottom));
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
.invite-step {
|
|
display: grid;
|
|
grid-template-columns: 30px minmax(0, 1fr);
|
|
gap: 12px;
|
|
align-items: start;
|
|
padding: 13px 12px;
|
|
border: 1px solid #eef0f2;
|
|
border-radius: 8px;
|
|
background: #fbfcfc;
|
|
color: #3d4148;
|
|
font-size: 14px;
|
|
font-weight: 800;
|
|
line-height: 1.42;
|
|
}
|
|
|
|
.invite-step-number {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 30px;
|
|
height: 30px;
|
|
border-radius: 50%;
|
|
background: #e6fbf8;
|
|
color: #10a89b;
|
|
font-size: 14px;
|
|
font-weight: 950;
|
|
line-height: 1;
|
|
}
|
|
|
|
.message-modal[hidden] {
|
|
display: none;
|
|
}
|
|
|
|
.message-modal {
|
|
position: fixed;
|
|
z-index: 24;
|
|
inset: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 18px;
|
|
}
|
|
|
|
.message-backdrop {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(15, 21, 28, 0.38);
|
|
}
|
|
|
|
.message-dialog {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: min(394px, 100%);
|
|
max-height: 78vh;
|
|
max-height: 78dvh;
|
|
overflow: hidden;
|
|
border-radius: 14px;
|
|
background: #fff;
|
|
box-shadow: 0 18px 44px rgba(23, 31, 42, 0.2);
|
|
}
|
|
|
|
.message-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
min-height: 58px;
|
|
padding: 16px 18px 12px;
|
|
border-bottom: 1px solid #eef0f2;
|
|
}
|
|
|
|
.message-head h2 {
|
|
margin: 0;
|
|
color: #24282e;
|
|
font-size: 18px;
|
|
font-weight: 950;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.message-list {
|
|
display: grid;
|
|
flex: 1 1 auto;
|
|
gap: 12px;
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
padding: 14px 14px 16px;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
.message-card {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
gap: 12px;
|
|
align-items: center;
|
|
padding: 12px;
|
|
border: 1px solid #eef0f2;
|
|
border-radius: 8px;
|
|
background: #fbfcfc;
|
|
}
|
|
|
|
.message-user {
|
|
display: flex;
|
|
align-items: center;
|
|
min-width: 0;
|
|
}
|
|
|
|
.message-avatar {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 50px;
|
|
height: 50px;
|
|
flex: 0 0 50px;
|
|
overflow: hidden;
|
|
border-radius: 50%;
|
|
background: linear-gradient(145deg, #55f2df 0%, #d9fff5 100%);
|
|
color: #13745f;
|
|
font-size: 20px;
|
|
font-weight: 950;
|
|
}
|
|
|
|
.message-avatar img {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.message-copy {
|
|
min-width: 0;
|
|
margin-left: 12px;
|
|
}
|
|
|
|
.message-name {
|
|
overflow: hidden;
|
|
color: #24282e;
|
|
font-size: 15px;
|
|
font-weight: 950;
|
|
line-height: 1.2;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.message-id {
|
|
margin-top: 5px;
|
|
overflow: hidden;
|
|
color: #8d9096;
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
line-height: 1.2;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.message-actions {
|
|
display: flex;
|
|
gap: 6px;
|
|
}
|
|
|
|
.message-action {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 54px;
|
|
min-height: 34px;
|
|
padding: 0 10px;
|
|
border-radius: 8px;
|
|
font-size: 12px;
|
|
font-weight: 950;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.agree-btn {
|
|
background: var(--green);
|
|
color: #fff;
|
|
}
|
|
|
|
.refuse-btn {
|
|
background: #f1f3f4;
|
|
color: #4d525a;
|
|
}
|
|
|
|
.message-empty {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 136px;
|
|
border: 1px dashed #e5e8ea;
|
|
border-radius: 8px;
|
|
color: #8b8d92;
|
|
font-size: 14px;
|
|
font-weight: 850;
|
|
text-align: center;
|
|
}
|
|
|
|
.home-indicator {
|
|
position: absolute;
|
|
right: 0;
|
|
bottom: max(8px, env(safe-area-inset-bottom));
|
|
left: 0;
|
|
display: flex;
|
|
justify-content: center;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.home-indicator::before {
|
|
content: "";
|
|
width: 156px;
|
|
height: 5px;
|
|
border-radius: 999px;
|
|
background: #050505;
|
|
}
|
|
|
|
.toast {
|
|
position: fixed;
|
|
z-index: 40;
|
|
left: 50%;
|
|
bottom: 72px;
|
|
width: max-content;
|
|
max-width: min(350px, calc(100% - 44px));
|
|
padding: 10px 14px;
|
|
border-radius: 8px;
|
|
background: rgba(19, 25, 32, 0.88);
|
|
color: #fff;
|
|
font-size: 13px;
|
|
font-weight: 800;
|
|
line-height: 1.35;
|
|
text-align: center;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.loading-mask {
|
|
position: absolute;
|
|
z-index: 30;
|
|
inset: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
gap: 18px;
|
|
min-height: 100vh;
|
|
background:
|
|
radial-gradient(circle at 50% 35%, rgba(230, 255, 243, 0.98), rgba(246, 247, 247, 0.98) 44%, rgba(246, 247, 247, 0.96) 100%);
|
|
}
|
|
|
|
.runner-stick {
|
|
position: relative;
|
|
width: 92px;
|
|
height: 82px;
|
|
color: #1ecf70;
|
|
filter: drop-shadow(0 8px 14px rgba(30, 207, 112, 0.22));
|
|
animation: runner-bob 0.42s ease-in-out infinite;
|
|
}
|
|
|
|
.runner-head,
|
|
.runner-body,
|
|
.runner-arm,
|
|
.runner-leg,
|
|
.runner-ground {
|
|
position: absolute;
|
|
display: block;
|
|
}
|
|
|
|
.runner-head {
|
|
top: 5px;
|
|
left: 39px;
|
|
width: 18px;
|
|
height: 18px;
|
|
border: 4px solid currentColor;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.runner-body {
|
|
top: 26px;
|
|
left: 47px;
|
|
width: 5px;
|
|
height: 28px;
|
|
border-radius: 999px;
|
|
background: currentColor;
|
|
transform-origin: 50% 3px;
|
|
animation: runner-body 0.42s ease-in-out infinite;
|
|
}
|
|
|
|
.runner-arm,
|
|
.runner-leg {
|
|
left: 47px;
|
|
width: 5px;
|
|
border-radius: 999px;
|
|
background: currentColor;
|
|
transform-origin: 50% 2px;
|
|
}
|
|
|
|
.runner-arm {
|
|
top: 31px;
|
|
height: 27px;
|
|
}
|
|
|
|
.runner-arm-front {
|
|
animation: runner-arm-front 0.42s ease-in-out infinite;
|
|
}
|
|
|
|
.runner-arm-back {
|
|
animation: runner-arm-back 0.42s ease-in-out infinite;
|
|
}
|
|
|
|
.runner-leg {
|
|
top: 51px;
|
|
height: 33px;
|
|
}
|
|
|
|
.runner-leg-front {
|
|
animation: runner-leg-front 0.42s ease-in-out infinite;
|
|
}
|
|
|
|
.runner-leg-back {
|
|
animation: runner-leg-back 0.42s ease-in-out infinite;
|
|
}
|
|
|
|
.runner-ground {
|
|
right: 6px;
|
|
bottom: 2px;
|
|
width: 70px;
|
|
height: 4px;
|
|
overflow: hidden;
|
|
border-radius: 999px;
|
|
background: rgba(30, 207, 112, 0.18);
|
|
}
|
|
|
|
.runner-ground::before,
|
|
.runner-ground::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
width: 24px;
|
|
height: 4px;
|
|
border-radius: 999px;
|
|
background: currentColor;
|
|
animation: runner-ground 0.6s linear infinite;
|
|
}
|
|
|
|
.runner-ground::after {
|
|
animation-delay: 0.3s;
|
|
}
|
|
|
|
.loading-copy {
|
|
color: #139a55;
|
|
font-size: 15px;
|
|
font-weight: 900;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
@keyframes runner-bob {
|
|
0%,
|
|
100% {
|
|
transform: translateY(0);
|
|
}
|
|
50% {
|
|
transform: translateY(-5px);
|
|
}
|
|
}
|
|
|
|
@keyframes runner-body {
|
|
0%,
|
|
100% {
|
|
transform: rotate(-7deg);
|
|
}
|
|
50% {
|
|
transform: rotate(7deg);
|
|
}
|
|
}
|
|
|
|
@keyframes runner-arm-front {
|
|
0%,
|
|
100% {
|
|
transform: rotate(62deg);
|
|
}
|
|
50% {
|
|
transform: rotate(-58deg);
|
|
}
|
|
}
|
|
|
|
@keyframes runner-arm-back {
|
|
0%,
|
|
100% {
|
|
transform: rotate(-58deg);
|
|
}
|
|
50% {
|
|
transform: rotate(62deg);
|
|
}
|
|
}
|
|
|
|
@keyframes runner-leg-front {
|
|
0%,
|
|
100% {
|
|
transform: rotate(-58deg);
|
|
}
|
|
50% {
|
|
transform: rotate(54deg);
|
|
}
|
|
}
|
|
|
|
@keyframes runner-leg-back {
|
|
0%,
|
|
100% {
|
|
transform: rotate(54deg);
|
|
}
|
|
50% {
|
|
transform: rotate(-58deg);
|
|
}
|
|
}
|
|
|
|
@keyframes runner-ground {
|
|
0% {
|
|
transform: translateX(78px);
|
|
}
|
|
100% {
|
|
transform: translateX(-30px);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 360px) {
|
|
.access-card {
|
|
grid-template-columns: 44px minmax(0, 1fr);
|
|
}
|
|
|
|
.access-action {
|
|
grid-column: 2;
|
|
justify-self: start;
|
|
}
|
|
|
|
.metrics-card,
|
|
.daily-values {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.vertical-line {
|
|
display: none;
|
|
}
|
|
|
|
.metric:first-child,
|
|
.gift-metric {
|
|
padding-right: 0;
|
|
padding-left: 0;
|
|
}
|
|
|
|
.message-card {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.message-actions {
|
|
justify-content: flex-end;
|
|
}
|
|
}
|
|
|
|
html[dir="rtl"] .profile-copy {
|
|
margin-right: 20px;
|
|
margin-left: 0;
|
|
}
|
|
|
|
html[dir="rtl"] .profile-message-button {
|
|
margin-right: 14px;
|
|
margin-left: 0;
|
|
}
|
|
|
|
html[dir="rtl"] .message-unread-dot {
|
|
right: auto;
|
|
left: 7px;
|
|
}
|
|
|
|
html[dir="rtl"] .message-copy {
|
|
margin-right: 12px;
|
|
margin-left: 0;
|
|
}
|
|
|
|
html[dir="rtl"] .salary-title svg {
|
|
margin-right: 7px;
|
|
margin-left: 0;
|
|
}
|
|
|
|
html[dir="rtl"] .metric:first-child {
|
|
padding-right: 0;
|
|
padding-left: 20px;
|
|
}
|
|
|
|
html[dir="rtl"] .gift-metric {
|
|
padding-right: 25px;
|
|
padding-left: 0;
|
|
}
|
|
|
|
html[dir="rtl"] .policy-entry-left svg {
|
|
margin-right: 0;
|
|
margin-left: 18px;
|
|
}
|
|
|
|
html[dir="rtl"] .question-icon {
|
|
margin-right: 0;
|
|
margin-left: 18px;
|
|
}
|
|
|
|
html[dir="rtl"] .policy-entry-link {
|
|
text-align: right;
|
|
}
|
|
|
|
html[dir="rtl"] .policy-entry-divider {
|
|
margin-right: 42px;
|
|
margin-left: 0;
|
|
}
|
|
|
|
html[dir="rtl"] .chevron {
|
|
margin-right: 8px;
|
|
margin-left: 0;
|
|
transform: rotate(180deg);
|
|
}
|