hyapp-h5/host-center/style.css
2026-05-26 02:56:37 +08:00

1421 lines
25 KiB
CSS

:root {
--page-bg: var(--hy-theme-bg, #f7f3ff);
--card-bg: var(--hy-theme-surface, rgba(255, 255, 255, 0.96));
--text: var(--hy-theme-text, #282333);
--muted: var(--hy-theme-muted, #8d879a);
--line: var(--hy-theme-line, #eee7f8);
--mint: var(--hy-theme-primary, #b89af4);
--gold: var(--hy-theme-accent, #f0c774);
--shadow: var(--hy-theme-shadow, 0 10px 26px rgba(109, 69, 189, 0.1));
}
* {
box-sizing: border-box;
}
html,
body {
width: 100%;
min-height: 100%;
margin: 0;
-webkit-font-smoothing: antialiased;
-webkit-text-size-adjust: 100%;
-webkit-tap-highlight-color: transparent;
}
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;
}
.host-center {
position: relative;
width: 100%;
max-width: 430px;
min-height: 100vh;
overflow: hidden;
background:
linear-gradient(
145deg,
rgba(255, 255, 255, 0.82),
rgba(250, 246, 255, 0) 42%
),
var(--page-bg);
}
.host-center[data-loading='true'] .title-bar,
.host-center[data-loading='true'] .content,
.host-center[data-loading='true'] .home-indicator {
visibility: hidden;
}
.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(241, 233, 255, 0.98),
rgba(247, 243, 255, 0.98) 44%,
rgba(247, 243, 255, 0.96) 100%
);
}
.loading-mask[hidden] {
display: none;
}
.runner-stick {
position: relative;
width: 92px;
height: 82px;
color: var(--hy-theme-primary-strong, #8f64df);
filter: drop-shadow(0 8px 14px rgba(143, 100, 223, 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(143, 100, 223, 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: var(--hy-theme-primary-deep, #6d45bd);
font-size: 15px;
font-weight: 900;
letter-spacing: 0;
}
.hero-bg {
position: absolute;
inset: 0 0 auto;
height: 215px;
background: var(
--hy-theme-hero,
linear-gradient(
151deg,
#f0e6ff 0%,
#fffbff 58%,
rgba(250, 246, 255, 0.82) 100%
)
);
clip-path: polygon(0 0, 100% 0, 100% 76%, 70% 47%, 40% 58%, 0 78%);
}
.title-bar,
.content,
.home-indicator {
position: relative;
z-index: 1;
}
.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: var(--hy-theme-text, #282333);
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: var(--hy-theme-text, #282333);
stroke-linecap: round;
stroke-linejoin: round;
stroke-width: 3;
}
.language-switcher {
position: relative;
justify-self: end;
}
.language-button {
justify-self: end;
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: var(--hy-theme-text, #282333);
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: var(--hy-theme-text, #282333);
font-size: 12px;
font-weight: 900;
}
.language-menu button.is-active {
background: var(--hy-theme-primary-soft, #f4ebff);
color: var(--hy-theme-primary-deep, #7d57c7);
}
.language-menu[hidden] {
display: none;
}
.content {
display: flex;
flex-direction: column;
gap: 15px;
padding: 8px 14px 90px;
}
.policy-content {
padding-top: 18px;
}
.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;
}
.avatar-shell {
position: relative;
width: 64px;
height: 64px;
flex: 0 0 64px;
}
.avatar-image,
.avatar-fallback {
display: block;
width: 64px;
height: 64px;
border-radius: 50%;
}
.avatar-image {
object-fit: cover;
}
.avatar-image[hidden],
.avatar-fallback[hidden] {
display: none;
}
.profile-copy {
min-width: 0;
margin-left: 20px;
}
.name {
color: var(--hy-theme-text, #282333);
font-size: 20px;
font-weight: 900;
line-height: 1.1;
}
.meta,
.agency {
color: var(--muted);
font-size: 13px;
font-weight: 750;
line-height: 1.2;
}
.meta {
margin-top: 6px;
}
.agency {
display: flex;
align-items: center;
max-width: 100%;
margin-top: 6px;
}
.agency span:first-child {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.join-agency-card {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
min-height: 86px;
padding: 17px 18px;
}
.join-agency-copy {
min-width: 0;
}
.join-agency-title {
color: var(--hy-theme-text, #282333);
font-size: 17px;
font-weight: 900;
line-height: 1.2;
}
.join-agency-text {
margin-top: 5px;
color: var(--muted);
font-size: 13px;
font-weight: 750;
line-height: 1.35;
}
.join-agency-action {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 38px;
flex: 0 0 auto;
padding: 0 15px;
border-radius: 8px;
background: var(--hy-theme-button, #c5a6f6);
color: #ffffff;
font-size: 13px;
font-weight: 900;
box-shadow: var(
--hy-theme-button-shadow,
0 8px 18px rgba(132, 90, 212, 0.11)
);
white-space: nowrap;
}
.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;
}
.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: var(--hy-theme-muted, #8d879a);
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,
.income-value {
display: flex;
align-items: center;
}
.gift-value {
margin-top: 7px;
color: #252a30;
font-size: 24px;
font-weight: 900;
line-height: 1;
}
.gift-value .amount-text {
min-width: 0;
overflow-wrap: anywhere;
}
.dollar-symbol {
display: inline-flex;
align-items: center;
justify-content: center;
width: 25px;
height: 25px;
flex: 0 0 25px;
margin-right: 8px;
border-radius: 50%;
background: linear-gradient(145deg, #ffe179 0%, #ffb62d 52%, #f49b20 100%);
color: #fff;
font-size: 18px;
font-weight: 950;
line-height: 1;
box-shadow:
inset 0 1px 2px rgba(255, 255, 255, 0.7),
0 1px 2px rgba(195, 117, 12, 0.24);
}
.income-card {
display: flex;
flex-direction: column;
justify-content: center;
min-height: 143px;
padding: 18px 24px;
}
.income-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.income-title {
display: flex;
align-items: center;
min-width: 0;
color: var(--hy-theme-text, #282333);
font-size: 17px;
font-weight: 900;
}
.income-title svg {
width: 17px;
height: 17px;
margin-left: 7px;
}
.income-title circle,
.income-title path {
fill: none;
stroke: #272b31;
stroke-linecap: round;
stroke-width: 2;
}
.cash-link {
display: flex;
align-items: center;
flex: 0 0 auto;
color: var(--mint);
font-size: 13px;
font-weight: 900;
}
.cash-link .chevron {
margin-left: 5px;
color: var(--mint);
font-size: 20px;
}
.income-value {
margin-top: 14px;
max-width: 100%;
color: #23272d;
font-size: 34px;
font-weight: 950;
line-height: 1.05;
}
.income-currency {
flex: 0 0 auto;
margin-right: 6px;
color: var(--gold);
font-size: 28px;
font-weight: 950;
line-height: 1;
}
.income-value .amount-text {
min-width: 0;
overflow-wrap: anywhere;
}
.income-value .chevron {
margin-left: 9px;
color: #b4b6ba;
font-size: 24px;
}
.policy-entry-card {
min-height: 64px;
padding: 0 16px;
}
.policy-entry-link {
display: flex;
align-items: center;
justify-content: space-between;
min-height: 64px;
}
.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;
}
.policy-entry-left span {
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: var(--hy-theme-muted, #8d879a);
font-size: 24px;
}
@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);
}
}
.policy-card {
min-height: 184px;
padding: 18px 16px 16px;
}
.policy-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-bottom: 13px;
}
.policy-head h2 {
min-width: 0;
margin: 0;
overflow: hidden;
color: var(--hy-theme-text, #282333);
font-size: 17px;
font-weight: 900;
line-height: 1.2;
text-overflow: ellipsis;
white-space: nowrap;
}
.policy-region {
flex: 0 1 auto;
overflow: hidden;
color: var(--hy-theme-muted, #8d879a);
font-size: 12px;
font-weight: 800;
line-height: 1.2;
text-align: right;
text-overflow: ellipsis;
white-space: nowrap;
}
.policy-status {
display: flex;
align-items: center;
justify-content: center;
min-height: 112px;
border: 1px dashed #e5e8ea;
border-radius: 8px;
color: var(--hy-theme-muted, #8d879a);
font-size: 14px;
font-weight: 800;
text-align: center;
}
.policy-list {
display: grid;
gap: 10px;
}
.policy-status[hidden],
.policy-list[hidden] {
display: none;
}
.policy-row {
display: grid;
gap: 10px;
padding: 12px;
border: 1px solid var(--hy-theme-line, #eee7f8);
border-radius: 8px;
background: #fbfcfc;
}
.policy-row-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
}
.policy-level {
color: var(--hy-theme-text, #282333);
font-size: 16px;
font-weight: 950;
}
.policy-effective-day {
color: var(--hy-theme-muted, #8d879a);
font-size: 12px;
font-weight: 850;
}
.policy-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 8px;
}
.policy-cell {
min-width: 0;
}
.policy-cell-label {
overflow: hidden;
color: #96989d;
font-size: 11px;
font-weight: 800;
line-height: 1.2;
text-overflow: ellipsis;
white-space: nowrap;
}
.policy-cell-value {
margin-top: 4px;
overflow-wrap: anywhere;
color: #292d33;
font-size: 14px;
font-weight: 900;
line-height: 1.2;
}
.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 var(--hy-theme-line, #eee7f8);
}
.daily-sheet-head h2 {
margin: 0;
color: var(--hy-theme-text, #282333);
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: var(--hy-theme-primary-soft, #efe6ff);
color: var(--hy-theme-primary-deep, #6d45bd);
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: var(--hy-theme-muted, #8d879a);
font-size: 14px;
font-weight: 850;
}
.daily-summary strong {
color: var(--hy-theme-text, #282333);
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 var(--hy-theme-line, #eee7f8);
border-radius: 8px;
background: #fbfcfc;
}
.daily-date {
color: var(--hy-theme-text, #282333);
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: var(--hy-theme-muted, #8d879a);
font-size: 14px;
font-weight: 850;
text-align: center;
}
.join-agency-modal[hidden] {
display: none;
}
.join-agency-modal {
position: fixed;
z-index: 24;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
padding: 18px;
}
.join-agency-backdrop {
position: absolute;
inset: 0;
background: rgba(15, 21, 28, 0.38);
}
.join-agency-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);
}
.join-agency-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
min-height: 58px;
padding: 16px 18px 12px;
border-bottom: 1px solid var(--hy-theme-line, #eee7f8);
}
.join-agency-head h2 {
margin: 0;
color: var(--hy-theme-text, #282333);
font-size: 18px;
font-weight: 950;
line-height: 1.2;
}
.join-agency-close {
display: flex;
align-items: center;
justify-content: center;
width: 34px;
height: 34px;
border-radius: 50%;
background: var(--hy-theme-primary-soft, #efe6ff);
color: var(--hy-theme-primary-deep, #6d45bd);
font-size: 25px;
font-weight: 500;
line-height: 1;
}
.join-agency-modal-body {
display: grid;
flex: 1 1 auto;
gap: 12px;
min-height: 0;
overflow-y: auto;
padding: 16px 18px max(18px, env(safe-area-inset-bottom));
-webkit-overflow-scrolling: touch;
}
.join-agency-field {
display: grid;
gap: 10px;
}
.join-agency-field > span,
.join-agency-section-title {
color: var(--hy-theme-text, #282333);
font-size: 16px;
font-weight: 900;
line-height: 1.2;
}
.join-agency-search-control {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 10px;
align-items: center;
}
.join-agency-search-control input {
width: 100%;
height: 44px;
min-width: 0;
border: 1px solid var(--hy-theme-line, #eee7f8);
border-radius: 8px;
outline: none;
background: var(--hy-theme-surface-soft, #fbf8ff);
color: var(--hy-theme-text, #282333);
font: inherit;
font-size: 15px;
font-weight: 750;
padding: 0 12px;
}
.join-agency-search-control input::placeholder {
color: #b3b5ba;
}
.join-agency-search-button,
.join-agency-apply-button,
.join-agency-cancel-button {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 44px;
border-radius: 8px;
font-size: 15px;
font-weight: 900;
}
.join-agency-search-button {
min-width: 86px;
padding: 0 16px;
background: var(--hy-theme-button, #c5a6f6);
color: #fff;
box-shadow: var(
--hy-theme-button-shadow,
0 8px 18px rgba(132, 90, 212, 0.11)
);
}
.join-agency-search-button:disabled,
.join-agency-apply-button:disabled,
.join-agency-cancel-button:disabled {
opacity: 0.58;
}
.join-agency-status {
min-height: 38px;
border-radius: 8px;
padding: 10px 12px;
background: var(--hy-theme-surface-soft, #fbf8ff);
color: var(--hy-theme-muted, #8d879a);
font-size: 13px;
font-weight: 800;
line-height: 1.3;
}
.join-agency-status.is-error {
color: var(--hy-theme-danger, #d95d72);
}
.join-agency-status.is-success {
color: var(--hy-theme-success, #31c6a8);
}
.join-agency-modal-card {
display: grid;
gap: 14px;
padding: 14px;
border: 1px solid var(--hy-theme-line, #eee7f8);
border-radius: 8px;
background: #fbfcfc;
}
.join-agency-profile-row {
display: flex;
align-items: center;
gap: 14px;
min-width: 0;
}
.join-agency-avatar {
display: flex;
align-items: center;
justify-content: center;
width: 56px;
height: 56px;
flex: 0 0 56px;
overflow: hidden;
border-radius: 50%;
background: var(--hy-theme-primary, #dbc8ff);
color: var(--hy-theme-primary-deep, #6d45bd);
font-size: 21px;
font-weight: 950;
}
.join-agency-avatar img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.join-agency-profile-copy {
min-width: 0;
flex: 1;
}
.join-agency-profile-name {
overflow: hidden;
color: var(--hy-theme-text, #282333);
font-size: 18px;
font-weight: 900;
line-height: 1.2;
text-overflow: ellipsis;
white-space: nowrap;
}
.join-agency-profile-account {
margin-top: 6px;
overflow: hidden;
color: var(--hy-theme-muted, #8d879a);
font-size: 13px;
font-weight: 800;
line-height: 1.2;
text-overflow: ellipsis;
white-space: nowrap;
}
.join-agency-apply-button {
width: 100%;
background: var(--hy-theme-button, #c5a6f6);
color: #fff;
box-shadow: var(
--hy-theme-button-shadow,
0 8px 18px rgba(132, 90, 212, 0.11)
);
}
.join-agency-cancel-button {
width: 100%;
border: 1px solid #e9edf0;
background: #fff;
color: #4b4e55;
}
.join-agency-pending-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.join-agency-pending-head span {
flex: 0 0 auto;
color: #f2a329;
font-size: 13px;
font-weight: 900;
}
.join-agency-pending-note {
margin: 0;
color: var(--hy-theme-muted, #8d879a);
font-size: 13px;
font-weight: 800;
line-height: 1.35;
}
.daily-modal-open {
overflow: hidden;
}
.home-indicator {
position: absolute;
left: 50%;
bottom: 8px;
width: 154px;
height: 5px;
border-radius: 999px;
background: #050506;
transform: translateX(-50%);
}
[dir='rtl'] .content {
direction: rtl;
}
[dir='rtl'] .profile-copy {
margin-right: 20px;
margin-left: 0;
text-align: right;
}
[dir='rtl'] .income-title svg {
margin-right: 7px;
margin-left: 0;
}
[dir='rtl'] .dollar-symbol,
[dir='rtl'] .income-currency {
margin-right: 0;
margin-left: 8px;
}
[dir='rtl'] .chevron {
margin-right: 8px;
margin-left: 0;
transform: rotate(180deg);
}
[dir='rtl'] .cash-link .chevron {
margin-right: 5px;
margin-left: 0;
}
[dir='rtl'] .policy-entry-left svg {
margin-right: 0;
margin-left: 18px;
}
[dir='rtl'] .policy-entry-link > .chevron {
margin-right: 12px;
margin-left: 0;
}
[dir='rtl'] .policy-region {
text-align: left;
}
[dir='rtl'] .daily-sheet {
direction: rtl;
}
[dir='rtl'] .join-agency-profile-copy,
[dir='rtl'] .join-agency-field {
text-align: right;
}
@media (max-width: 360px) {
.join-agency-search-control {
grid-template-columns: 1fr;
}
.join-agency-search-button {
width: 100%;
}
}
.avatar-shell::before {
content: 'N';
display: flex;
align-items: center;
justify-content: center;
width: 64px;
height: 64px;
border-radius: 50%;
background: var(--hy-theme-primary, #dbc8ff);
color: var(--hy-theme-primary-deep, #6d45bd);
font-size: 24px;
font-weight: 950;
}
.join-agency-dialog-static {
display: flex;
flex-direction: column;
width: 100%;
overflow: hidden;
border-radius: 14px;
background: #fff;
box-shadow: 0 18px 44px rgba(23, 31, 42, 0.12);
}
@media (max-width: 360px) {
.content {
padding-right: 12px;
padding-left: 12px;
}
.profile-card,
.metrics-card,
.income-card {
padding-right: 18px;
padding-left: 18px;
}
.profile-copy {
margin-left: 14px;
}
.gift-metric {
padding-left: 18px;
}
.income-value {
font-size: 29px;
}
.policy-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
[dir='rtl'] .profile-copy {
margin-right: 14px;
margin-left: 0;
}
}