/* Referral page only. No game, payment, or other dialog layout is changed. */
#sheet[data-panel="friends"]{inset:0;margin:auto;width:min(calc(100% - 20px),580px);height:min(91dvh,730px);max-height:91dvh;border:1px solid #67d9f7;border-radius:24px;overflow:hidden;background:radial-gradient(ellipse at 50% 0,#087ca963,transparent 52%),linear-gradient(155deg,#053f62,#021e36 82%);box-shadow:inset 0 1px 8px #53e6ff4d,0 18px 60px #001524b3}
#sheet[data-panel="friends"] .sheet-head{flex:0 0 auto;padding:10px 42px 9px;background:transparent;text-align:center;border:0}
#sheet[data-panel="friends"] .popup-logo{display:block;width:min(90%,255px);height:auto;max-height:78px;object-fit:contain;margin:auto}
#sheet[data-panel="friends"] #sheetTitle{margin:2px 0 0;font-size:clamp(21px,5.8vw,30px);line-height:1.12;font-weight:850;letter-spacing:-.5px;text-shadow:0 2px 3px #003e66;color:#f1fdff}
#sheet[data-panel="friends"] #closeSheet{top:12px;right:11px;width:32px;height:32px;border:1px solid #6edcf3;background:linear-gradient(145deg,#117ca3,#064569);box-shadow:inset 0 1px 5px #95efff4a;color:#effcff}
#sheet[data-panel="friends"] #sheetBody{overflow:hidden;display:flex;flex-direction:column;min-height:0;padding:0 14px 15px}
.friends100{display:flex;flex-direction:column;flex:1;min-height:0;gap:12px;color:#edfaff}
#sheetBody .friends100 p{margin:0}.friends100-lead{display:flex;align-items:center;gap:12px;padding:1px 3px 0;flex:0 0 auto}.friends100-emblem{display:grid;place-items:center;flex:0 0 49px;width:49px;height:49px;border-radius:15px;border:1px solid #24c5e38a;background:radial-gradient(ellipse at 50% 0,#137caa,#04344d);box-shadow:inset 0 1px 6px #41e6fd33}.friends100-emblem svg{width:37px;height:37px}#sheetBody .friends100-lead p{font-size:12px;line-height:1.4;color:#c5e3f0;text-align:start}
.friends100-stats{display:grid;grid-template-columns:.86fr 1.27fr 1fr;gap:7px;flex:0 0 auto}.friends100-stats article{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-width:0;padding:13px 5px;border:1px solid #2f8bad78;border-radius:15px;background:linear-gradient(150deg,#094b66,#042c43)}.friends100-stats article>span{display:block;min-height:26px;font-size:10px;line-height:1.25;text-align:center;color:#acd2e0;overflow-wrap:anywhere}.friends100-stats strong{display:flex;align-items:baseline;justify-content:center;gap:3px;max-width:100%;font-size:clamp(22px,6vw,31px);line-height:1;font-weight:850;letter-spacing:-.7px;white-space:nowrap}.friends100-stats strong small{font-size:11px;font-weight:750;letter-spacing:0}.friends100-stats .feed-art{width:18px;height:18px;align-self:center}.friends100-reward strong{color:#ffe19a}.friends100-share{border-color:#28bba18a!important;background:linear-gradient(145deg,#09596a,#043847)!important}.friends100-share strong{color:#83f5db}
.friends100-link{display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid #347e9a80;border-radius:16px;background:#032b43b3;flex:0 0 auto}.friends100-link label{font-size:11px;line-height:1.3;font-weight:700;color:#b5dbe9}.friends100-link .refer-link{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;direction:ltr;text-align:left;padding:9px 10px;margin:0;font-family:ui-monospace,monospace;font-size:11px;line-height:1.4;background:#021f33;border:1px solid #3c88a66b;border-radius:9px;color:#b9eaff;word-break:normal}.friends100-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}.friends100-actions button{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:43px;padding:8px 6px;border-radius:10px;border:1px solid #4c9bb68c;background:linear-gradient(#0c4d69,#07364f);color:#e4f6ff;font-size:11px;font-weight:750;line-height:1.2;text-align:center}.friends100-actions #shareInvite{background:linear-gradient(130deg,#29b6eb,#087fbd);border-color:#74ddff88;box-shadow:inset 0 1px 2px #c8ffff4d;color:white}.friends100-telegram{width:19px;height:19px;flex:0 0 19px}.friends100-actions button:disabled{opacity:.55}.friends100-actions button:not(:disabled):active{transform:translateY(1px)}.friends100-actions button.copy-success{color:#a2ffe3;border-color:#4dcfb1}
#sheetBody .friends100-rule{display:flex;gap:8px;align-items:flex-start;padding:9px 10px;border:1px solid #2bb79c45;border-radius:11px;background:#07484445;color:#b7e6dd;font-size:10.5px;line-height:1.4;flex:0 0 auto}.friends100-rule>span:first-child{display:grid;place-items:center;flex:0 0 17px;height:17px;border-radius:50%;background:#1a8b77;color:#baffea;font-size:11px;font-weight:900}
.friends100-income{display:flex;flex-direction:column;justify-content:center;gap:10px;padding:14px;border:1px solid #2dada078;border-radius:17px;background:radial-gradient(ellipse at 100% 0,#0d777040,transparent 65%),linear-gradient(130deg,#074258,#042d42);margin-top:auto;flex:0 1 auto;min-height:0}.friends100-income-top{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:#badbe8;line-height:1.2}.friends100-hour{flex:0 0 auto;padding:5px 7px;border:1px solid #3c8c9a66;border-radius:20px;background:#053549;font-size:9px;color:#8cdecf}.friends100-balance{font-size:clamp(25px,6.5vw,34px);font-weight:850;letter-spacing:-.7px;line-height:1;color:#e4fff7}.friends100-balance small{font-size:12px;letter-spacing:.5px;color:#8edac9}.friends100-income #collectReferral{min-height:42px;border-radius:12px;font-size:12px;padding:9px;background:linear-gradient(#24dd8d,#09a968);border:1px solid #87f5b88c;color:#f2fff9;box-shadow:inset 0 1px 3px #caffda66,0 2px 0 #046b48}.friends100-income #collectReferral:disabled{opacity:.47}
@media(max-height:720px){#sheet[data-panel="friends"] .popup-logo{max-height:58px}#sheet[data-panel="friends"] .sheet-head{padding-top:6px;padding-bottom:7px}.friends100{gap:6px}.friends100-stats article{padding:10px 4px;gap:4px}.friends100-link{padding:9px;gap:6px}.friends100-income{padding:10px;gap:7px}}
@media(max-height:700px){#sheet[data-panel="friends"] .popup-logo{max-height:39px}#sheet[data-panel="friends"] #sheetTitle{font-size:21px}#sheet[data-panel="friends"] #sheetBody{padding:0 10px 10px}.friends100{gap:6px}.friends100-emblem{flex-basis:36px;width:36px;height:36px;border-radius:12px}.friends100-emblem svg{width:28px;height:28px}#sheetBody .friends100-lead p{font-size:10px}.friends100-stats article{padding:7px 3px;gap:3px}.friends100-stats article>span{font-size:9px;min-height:23px}.friends100-stats strong{font-size:23px}.friends100-stats .feed-art{display:none}.friends100-actions button{min-height:37px;font-size:10px;padding:6px}.friends100-link .refer-link{padding:7px 8px;font-size:10px}#sheetBody .friends100-rule{font-size:9px;padding:6px 8px}.friends100-income{gap:6px;padding:9px}.friends100-income-top{font-size:10px}.friends100-balance{font-size:25px}.friends100-income #collectReferral{min-height:36px;padding:6px;font-size:11px}}

@media(max-height:610px){.friends100-lead{display:none}}
