/* Fistar surface pass: presentation only. Existing markup, forms and route order stay intact. */
:root{--surface-bg:#f4f8f5;--surface-ink:#183c35;--surface-green:#13866a;--surface-mint:#e5f5ed;--surface-line:#dfeae3;--surface-lilac:#8978c7;--surface-shadow:0 18px 46px rgba(25,76,60,.09),0 3px 10px rgba(25,76,60,.05)}
html{background:var(--surface-bg)}
body.fistar{position:relative;min-height:100vh;overflow-x:hidden;background:radial-gradient(circle at 8% 4%,rgba(215,242,228,.9),transparent 25%),radial-gradient(circle at 94% 18%,rgba(235,229,253,.78),transparent 25%),linear-gradient(135deg,#f9fcf9 0%,#f2f7f3 54%,#faf9fc 100%)}
body.fistar:before{content:"";position:fixed;inset:0;pointer-events:none;opacity:.34;background-image:linear-gradient(rgba(24,60,53,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(24,60,53,.035) 1px,transparent 1px);background-size:28px 28px;mask-image:linear-gradient(to bottom,#000,transparent 82%)}
body.fistar:after{content:"";position:fixed;width:520px;height:520px;right:-260px;top:120px;border:1px solid rgba(19,134,106,.11);border-radius:50%;box-shadow:0 0 0 24px rgba(19,134,106,.025),0 0 0 48px rgba(19,134,106,.018);pointer-events:none}
.site-header{background:rgba(255,255,255,.78);border-bottom-color:rgba(223,234,227,.9);box-shadow:0 12px 32px rgba(27,74,62,.07)}
.header-inner{height:82px}.brand{letter-spacing:-2px}.brand img{filter:drop-shadow(0 5px 8px rgba(19,134,106,.16))}.balance strong{color:var(--surface-ink)}.add{background:linear-gradient(145deg,#e8f8f0,#d9f1e6);border-color:#c8e8da;box-shadow:0 8px 18px rgba(19,134,106,.18)}
main#content{position:relative;z-index:1;padding-top:34px}
.page-top,.section-head,.panel,.farm-hero,.friends-hero,.profile-hero,.selected-coin,.dep-requisites,.dep-qr-panel,.qr,.notice,.fistar-table-scroll,.list-row,.ref-invite,.ref-collect-panel,.steps,.coin-card,.gpu-card{border-color:rgba(223,234,227,.9)}
.panel,.farm-hero,.friends-hero,.profile-hero,.selected-coin,.dep-requisites,.dep-qr-panel,.qr,.notice,.fistar-table-scroll,.list-row,.ref-invite,.ref-collect-panel,.steps,.coin-card,.gpu-card{box-shadow:var(--surface-shadow)}
.panel,.farm-hero,.friends-hero,.profile-hero,.selected-coin,.dep-requisites,.dep-qr-panel,.qr,.fistar-table-scroll,.ref-invite,.ref-collect-panel{background:linear-gradient(145deg,rgba(255,255,255,.88),rgba(247,252,249,.74))}
.farm-hero,.friends-hero{position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.9)}
.farm-hero:after,.friends-hero:after{content:"";position:absolute;width:180px;height:180px;right:-62px;top:-70px;border-radius:50%;border:1px solid rgba(19,134,106,.12);box-shadow:0 0 0 16px rgba(19,134,106,.025),0 0 0 32px rgba(19,134,106,.018);pointer-events:none}
.gpu-card,.coin-card,.list-row{border:1px solid rgba(223,234,227,.9);background:linear-gradient(145deg,rgba(255,255,255,.9),rgba(247,252,249,.72));transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.gpu-card:hover,.coin-card:hover,.list-row:hover{transform:translateY(-2px);box-shadow:0 18px 38px rgba(25,76,60,.13);border-color:#cfe6da}
.primary,button.primary{background:linear-gradient(135deg,#158b6d,#10765d);box-shadow:0 12px 25px rgba(19,134,106,.22),inset 0 1px rgba(255,255,255,.25)}
.primary:hover,button.primary:hover{transform:translateY(-2px)}
.dock{background:rgba(255,255,255,.86);border:1px solid rgba(223,234,227,.95);box-shadow:0 -10px 28px rgba(33,60,55,.1);backdrop-filter:blur(18px)}.dock a{border-radius:14px;transition:background .2s ease,color .2s ease,transform .2s ease}.dock a.active{background:linear-gradient(145deg,#e8f8f0,#d9f1e6);color:var(--surface-green);box-shadow:0 4px 12px rgba(19,134,106,.12)}.dock a:hover{transform:translateY(-2px)}
.notice{background:linear-gradient(135deg,#fff9ec,#fff3d9);border-color:#f0dca9;box-shadow:0 12px 26px rgba(227,169,60,.13)}
/* Public gate: same textures as the authenticated shell, with the existing content order. */
.public-gate main{position:relative;z-index:1;padding-top:36px}.public-gate .narrow.gate{max-width:660px;margin:0 auto;text-align:center;padding:54px 38px 58px;position:relative;border:1px solid rgba(255,255,255,.9);border-radius:38px;background:linear-gradient(145deg,rgba(255,255,255,.8),rgba(246,252,248,.48));box-shadow:0 30px 70px rgba(34,82,66,.12),inset 0 1px 0 #fff;backdrop-filter:blur(18px)}.public-gate .gate:before{content:"";position:absolute;inset:11px;border:1px solid rgba(19,134,106,.09);border-radius:28px;pointer-events:none}.public-gate .gate:after{content:"";position:absolute;width:160px;height:160px;left:-50px;top:18px;border-radius:50%;background:radial-gradient(circle,rgba(213,242,228,.75),transparent 68%);z-index:-1}.public-gate .eyebrow{color:#5d8779;letter-spacing:2.3px}.public-gate .gate h1{font-size:clamp(38px,7vw,62px);line-height:1.02;letter-spacing:-3px;margin:17px 0 22px}.public-gate .gate h1 span{display:inline-block;background:linear-gradient(100deg,#13866a,#5a9b82);-webkit-background-clip:text;background-clip:text;color:transparent!important}.public-gate .hero{width:min(100%,380px);height:230px;object-fit:contain;filter:drop-shadow(0 22px 24px rgba(35,90,70,.22));animation:fistarSurfaceFloat 6s ease-in-out infinite}.public-gate .gate p{font-size:14px;color:#688078;letter-spacing:.1px;margin:5px 0 25px}.public-gate .primary{min-height:50px;border-radius:15px}.public-gate .input-hint{margin-top:15px;color:#83968f;font-size:10px;letter-spacing:.2px}
@keyframes fistarSurfaceFloat{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-8px) rotate(1deg)}}
@media(max-width:759px){.header-inner{height:76px;padding:0 20px}main#content{padding-top:24px}.public-gate main{padding:20px 14px 70px}.public-gate .narrow.gate{padding:42px 22px 40px;border-radius:30px}.public-gate .gate:before{inset:8px;border-radius:22px}.public-gate .gate h1{font-size:41px;letter-spacing:-2.2px;margin-top:15px}.public-gate .hero{height:180px;width:100%;margin:2px 0 7px}.public-gate .gate p{font-size:12px;margin-bottom:21px}.public-gate .primary{width:100%;min-height:49px}.dock{max-width:calc(100% - 16px);margin-left:8px;margin-right:8px}}
@media(prefers-reduced-motion:reduce){.public-gate .hero{animation:none}}
