.employee {
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}
.employee .copyable {
    -webkit-user-select: text;
    user-select: text;
    -webkit-touch-callout: default;
}
.employee img {
    -webkit-user-drag: none;
    pointer-events: none;
}
.employee [hidden] { display: none !important; }

.employee .shell {
    padding-top: max(16px, env(safe-area-inset-top));
    padding-bottom: max(14px, env(safe-area-inset-bottom));
}
.employee .brand { gap: 10px; margin-bottom: 13px; }
.imtoken-logo { flex: none; width: clamp(75px, 23vw, 111px); height: auto; }
.brand-label { border-left: 1px solid #d6e4f8; padding-left: 10px; }
.employee .brand-label strong { font-size: 14px; }
.employee .badge { padding: 5px 9px; }

.employee .hero {
    min-height: 151px;
    padding: 17px 18px 15px;
    border-radius: 22px;
    background: linear-gradient(122deg, #12439d, #075bc9 57%, #0784d5);
    box-shadow: 0 12px 25px #1766bd2e;
}
.employee .hero h1 { margin: 8px 0 2px; font-size: 14px; }
.employee .balance { font-size: clamp(34px, 10vw, 47px); line-height: 1.05; }
.employee .balance span+span { font-size: 15px; }
.employee .balance .positive, .employee .balance .positive + span { color: #88ffd0; }
.employee .hero-note { margin-top: 7px; }
.watermark {
    position: absolute;
    z-index: -1;
    width: 160px;
    height: 160px;
    right: -8px;
    bottom: -38px;
    opacity: .3;
    mix-blend-mode: screen;
    -webkit-mask-image: radial-gradient(circle, #000 49%, transparent 71%);
    mask-image: radial-gradient(circle, #000 49%, transparent 71%);
}
.wallet, .wallet-status {
    position: absolute;
    top: 11px;
    right: 12px;
    z-index: 1;
    font-size: 11px;
}
.wallet summary, .wallet-status {
    padding: 5px 8px;
    color: #fff;
    background: #163f8580;
    border: 1px solid #ffffff56;
    border-radius: 20px;
}
.wallet summary { cursor: pointer; list-style: none; white-space: nowrap; }
.wallet summary::-webkit-details-marker { display: none; }
.wallet summary::after { content: '⌄'; padding-left: 5px; }
.wallet[open] summary::after { content: '⌃'; }
.wallet-full {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    width: min(279px, calc(100vw - 68px));
    padding: 9px 11px;
    color: var(--navy);
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 6px 20px #14234045;
}
.wallet-full small { margin: 0 0 4px; }
.wallet-full code { overflow-wrap: anywhere; }

.employee .tasks { margin-top: 12px; padding: 13px 14px; border-radius: 17px; }
.employee .section-title h2 { font-size: 18px; }
.employee progress { margin: 9px 0 4px; }
.employee #steps li { padding: 8px 0; }
.employee #steps li:last-child { padding-bottom: 0; }
.employee .step { width: 30px; height: 30px; border-radius: 9px; }
.employee #steps small { margin-top: 2px; }
.employee .actions { margin-top: 13px; }
.employee .primary {
    background: linear-gradient(112deg, #0875ec, #0799db);
    border-color: #087fe3;
    box-shadow: 0 6px 15px #147aeb2b;
}
.employee .secondary {
    background: linear-gradient(110deg, #edf4ff, #eaf9ff);
    border-color: #d7e9fb;
    color: #1656a9;
}
.employee #withdraw.ready {
    color: #fff;
    background: linear-gradient(112deg, #0875ec, #078dc9);
    border-color: #087fe3;
}
.employee dialog::backdrop {
    background: #11264f73;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.employee .modal-head { gap: 8px; justify-content: flex-start; }
#payout-modal .modal-head { justify-content: space-between; }
.employee .campaign-head { justify-content: space-between; }
.entry-page { margin-top: 14px; }
.entry-banner {
    padding: 23px 20px;
    border-radius: 22px;
    color: white;
    background: radial-gradient(ellipse at right top, #199fdd, transparent 64%), linear-gradient(125deg, #164095, #1266cc);
    box-shadow: 0 12px 25px #1766bd2e;
}
.entry-banner h1 { margin: 7px 0; font-size: 27px; }
.entry-banner p { margin: 0; color: #edf6ff; font-size: 14px; }
.entry-panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; margin-top: 12px; }
.entry-wallet { margin: 0 0 12px; color: #234f87; font-size: 13px; }
.entry-panel label { display: block; font-size: 13px; font-weight: 700; }
.entry-panel input {
    display: block; width: 100%; margin: 7px 0 12px; min-height: 44px; padding: 8px 10px;
    border: 1px solid #d2e4fa; border-radius: 11px; background: #f4f8ff; color: var(--navy);
}
.campaign-copy { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.65; }
.browser-gate {
    display: grid;
    justify-items: center;
    align-content: center;
    min-height: 100vh;
    text-align: center;
}
.browser-gate p { margin: 10px 0 0; }
.browser-gate img + p { margin-top: 18px; }
.language-toggle {
    margin-left: auto;
    padding: 5px 8px;
    border: 1px solid #d7e6f9;
    border-radius: 12px;
    background: #f1f7ff;
    color: #234e88;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}
.employee #support-header { margin-left: 0; white-space: nowrap; }
.employee .brand-label strong { line-height: 1.15; display: block; }
.employee .brand { gap: 7px; }
.support-contact { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.support-logo { width: 24px; height: 24px; flex: none; }
.support-account { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.support-contact a, .support-contact button { padding: 6px 8px; min-height: 33px; font-size: 12px; text-decoration: none; }
.support-copy { min-width: 57px; white-space: nowrap; }
.employee .support-copy.copied { background: #e3f7eb; border-color: #b4e6c6; color: #086b40; }
.clipboard-field { position: fixed; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; }
.employee .practice-go {
    color: white;
    background: linear-gradient(118deg, #133783, #125db5);
    border-color: #174e9e;
}
.employee .practice-go:disabled {
    color: #66778e;
    background: #ecf0f5;
    border-color: #dce5f0;
    opacity: 1;
}
.modal-balance {
    margin-left: auto;
    padding: 5px 7px;
    border-radius: 9px;
    background: #edf9f2;
    color: #355b49;
    font-size: 11px;
    white-space: nowrap;
}
.modal-balance strong { color: #087144; font-variant-numeric: tabular-nums; }
.recipient .copyable { display: block; margin-top: 3px; }
.reward-scene { text-align: center; padding: 14px 4px 22px; }
.reward-medal {
    display: grid;
    place-items: center;
    width: 67px;
    height: 67px;
    margin: 0 auto 15px;
    border-radius: 50%;
    color: #09744a;
    background: radial-gradient(circle at 32% 25%, #f4fff9, #c9f5df);
    box-shadow: 0 0 0 7px #e8faf0, 0 10px 24px #1ba5662a;
    font-size: 32px;
    animation: reward-rise .45s cubic-bezier(.18,.85,.39,1.24) both;
}
.reward-earned {
    margin: 0;
    color: #087144;
    font-size: clamp(24px, 7vw, 34px);
    font-weight: 800;
    animation: reward-rise .4s .08s ease-out both;
}
.reward-total { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.payout-scene { padding: 15px 0 18px; text-align: center; }
.payout-scene p { color: var(--muted); font-size: 14px; line-height: 1.5; }
.payout-scene a { color: #145ac0; font-size: 14px; }
.payout-icon {
    display: grid;
    place-items: center;
    width: 57px;
    height: 57px;
    margin: 0 auto 16px;
    border-radius: 50%;
    border: 4px solid #e3effd;
    border-top-color: #0875ec;
    animation: payout-spin .95s linear infinite;
}
.payout-icon[data-stage=paid], .payout-icon[data-stage=retry] {
    border: 0;
    background: #def7eb;
    color: #09744a;
    font-size: 27px;
    font-weight: 800;
    animation: reward-rise .35s ease-out;
}
.payout-icon[data-stage=retry] { background: #fff0df; color: #925018; }
@keyframes payout-spin { to { transform: rotate(360deg); } }
@keyframes reward-rise {
    from { opacity: 0; transform: translateY(9px) scale(.85); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
    .reward-medal, .reward-earned, .payout-icon { animation: none; }
}
@media (max-width: 360px) {
    .employee .hero { padding-left: 14px; }
    .wallet, .wallet-status { right: 8px; }
    .employee .hero > .eyebrow { letter-spacing: .1em; }
}

