:root{
    --page:#f1f2f6;
    --card:#fff;
    --text:#515259;
    --muted:#8f929c;
    --line:#e8e9ed;
    --teal:#12bdae;
    --teal-dark:#0fa99c;
    --pink:#fb527b;
    --pink-dark:#ee416c;
    --danger:#d8435f;
    --success:#139c74;
    --warning:#b57b10;
}
*{box-sizing:border-box}
html{background:var(--page)}
body{margin:0;background:var(--page);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
.mobile-shell{width:min(100%,470px);min-height:100vh;margin:0 auto;padding:30px 20px 36px}
.topbar{display:flex;align-items:center;gap:18px;margin:2px 4px 38px;color:#55565c}
.topbar-icon{font-size:31px;font-weight:400;line-height:1}
.topbar-title{font-size:28px;font-weight:500;letter-spacing:.1px}
.topbar.with-back{justify-content:space-between;gap:12px;margin-bottom:24px}
.topbar.with-back .title-wrap{display:flex;align-items:center;gap:12px}
.icon-button{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#fff;border:1px solid var(--line);box-shadow:0 5px 15px rgba(35,40,55,.04)}
.card{background:var(--card);border:1px solid #e7e8eb;border-radius:18px;padding:36px 35px 44px;box-shadow:0 1px 2px rgba(25,30,45,.01)}
.earnings-label{font-size:28px;font-weight:500;margin:0 0 6px;line-height:1.25}
.balance{font-size:64px;line-height:1;font-weight:600;letter-spacing:-2.4px;margin:0 0 22px;color:#55565d}
.action-stack{display:grid;gap:10px}
.action-btn{height:50px;border:0;border-radius:7px;color:#fff;display:flex;align-items:center;justify-content:center;gap:10px;font-size:19px;font-weight:400;letter-spacing:.2px;cursor:pointer;transition:transform .15s ease,filter .15s ease}
.action-btn:hover{filter:brightness(.98)}
.action-btn:active{transform:translateY(1px)}
.action-btn.teal{background:var(--teal)}
.action-btn.pink{background:var(--pink)}
.action-btn svg{width:22px;height:22px;stroke-width:1.7}
.section{margin-top:22px}
.section-title{display:flex;justify-content:space-between;align-items:center;margin:0 4px 12px}
.section-title h2{font-size:17px;margin:0;font-weight:700}
.section-title a{font-size:13px;color:var(--teal-dark);font-weight:650}
.history-card{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}
.history-item{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 16px;border-bottom:1px solid var(--line)}
.history-item:last-child{border-bottom:0}
.history-main{min-width:0}.history-name{font-weight:700;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-meta{font-size:12px;color:var(--muted);margin-top:4px}
.history-amount{text-align:right;font-weight:750;font-size:14px}.amount-positive{color:var(--success)}.amount-negative{color:var(--danger)}
.empty{padding:24px;text-align:center;color:var(--muted);font-size:14px}
.form-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px}
.form-group{margin-bottom:17px}.form-group:last-child{margin-bottom:0}
.form-label{display:block;font-weight:700;font-size:14px;margin:0 0 8px}
.form-control{width:100%;border:1px solid #dcdde3;background:#fff;border-radius:10px;padding:12px 13px;color:var(--text);outline:none;min-height:46px}
.form-control:focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(18,189,174,.12)}
textarea.form-control{min-height:94px;resize:vertical}
.form-hint{font-size:12px;color:var(--muted);margin-top:6px;line-height:1.5}
.method-info{background:#f7f8fa;border:1px solid #ebecf0;border-radius:12px;padding:14px;margin:0 0 16px;display:none}
.method-info.active{display:block}
.info-row{padding:8px 0;border-bottom:1px dashed #dedfe4}.info-row:last-child{border-bottom:0}.info-label{font-size:12px;color:var(--muted);margin-bottom:3px}.info-value{font-weight:700;word-break:break-word}.instructions{font-size:13px;line-height:1.6;color:#666872;margin-top:9px}
.qr-image{display:block;width:min(180px,100%);aspect-ratio:1;object-fit:contain;background:#fff;border-radius:10px;border:1px solid var(--line);margin:10px auto 4px;padding:8px}
.submit-btn{width:100%;height:50px;border:0;border-radius:9px;background:var(--teal);color:#fff;font-weight:700;cursor:pointer}.submit-btn.pink{background:var(--pink)}
.balance-note{display:flex;justify-content:space-between;align-items:center;background:#fff;border:1px solid var(--line);padding:14px 16px;border-radius:13px;margin-bottom:16px}.balance-note span{font-size:13px;color:var(--muted)}.balance-note strong{font-size:19px}
.alert{padding:13px 14px;border-radius:10px;margin-bottom:15px;font-size:14px;line-height:1.5}.alert-danger{background:#fff1f3;color:#aa2948}.alert-success{background:#ecfbf6;color:#147759}.alert-warning{background:#fff8e7;color:#8c6112}
.flash{padding:13px 14px;border-radius:11px;margin:0 0 15px;font-size:14px}.flash-success{background:#eafbf5;color:#137459}.flash-error{background:#fff0f3;color:#a82d48}.flash-warning{background:#fff7e7;color:#8a6115}
.badge{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:750}.badge-success{background:#e8f9f3;color:#11755a}.badge-danger{background:#fff0f3;color:#ac2d4b}.badge-warning{background:#fff7e5;color:#92640e}
.request-list{display:grid;gap:12px}.request-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:15px}.request-top{display:flex;justify-content:space-between;gap:12px}.request-title{font-weight:750}.request-meta{font-size:12px;color:var(--muted);margin-top:5px}.request-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:13px;padding-top:12px;border-top:1px solid var(--line)}
.file-link{color:var(--teal-dark);font-weight:700;text-decoration:underline;text-underline-offset:2px}
@media(max-width:420px){
    .mobile-shell{padding:26px 18px 30px}.topbar{margin-bottom:34px}.topbar-title{font-size:26px}.card{padding:34px 34px 43px}.earnings-label{font-size:27px}.balance{font-size:61px}.action-btn{font-size:18px}
}
@media(max-width:360px){
    .mobile-shell{padding-left:14px;padding-right:14px}.card{padding:29px 26px 36px}.balance{font-size:54px}.earnings-label{font-size:24px}
}
