:root{--cream:#fff3cf;--paper:#fffaf0;--ink:#3d2d1c;--green:#7eae35;--green-dark:#5c8127;--line:#dec489;--gold:#e7ae2d;--danger:#c74437;--admin:#101712;--admin-card:#18211a;--admin-line:#2a372d;--admin-text:#edf5ee;--admin-muted:#92a396}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:radial-gradient(circle at 12% 18%,rgba(255,255,255,.72),transparent 24rem),repeating-linear-gradient(0deg,rgba(114,78,35,.035) 0 1px,transparent 1px 5px),var(--cream);font-family:Arial,Helvetica,sans-serif}a{color:inherit}.farm-shell{min-height:100vh;overflow:hidden}.tree-header{position:relative;min-height:148px;color:#fff;background:linear-gradient(180deg,#4c7c26 0 47%,#8b5a2a 48% 78%,transparent 79%)}.tree-header:before{content:"";position:absolute;inset:0;opacity:.2;background:repeating-linear-gradient(94deg,transparent 0 34px,rgba(45,25,10,.8) 35px 37px,transparent 38px 70px)}.canopy{position:absolute;z-index:1;width:270px;height:110px;border-radius:50%;background:#6e9d34;filter:drop-shadow(0 8px 0 #416a24)}.canopy-left{left:-70px;top:-46px;transform:rotate(-9deg)}.canopy-right{right:-60px;top:-54px;transform:rotate(10deg)}.topbar{position:relative;z-index:3;width:min(1180px,calc(100% - 28px));min-height:118px;margin:0 auto;display:flex;align-items:center;gap:24px}.brand{display:flex;align-items:center;gap:10px;min-width:190px;color:#ffe28d;text-decoration:none;font-family:Georgia,serif;text-shadow:0 3px 0 #4f3018,0 5px 12px rgba(0,0,0,.25)}.brand-mark{width:54px;height:54px;display:grid;place-items:center;border:4px solid #ffe28d;border-radius:50%;background:#6fa22f;box-shadow:inset 0 -8px 0 rgba(0,0,0,.15);font-size:29px}.brand>span:last-child{display:flex;flex-direction:column;line-height:.85;font-size:29px}.brand em{font-style:normal;margin-left:22px}.nest-nav{flex:1;display:flex;align-self:stretch;justify-content:center;gap:8px}.nest-nav a{min-width:90px;color:#fff6d8;font-weight:800;font-size:12px;text-align:center;text-decoration:none;text-shadow:0 2px #4a2a12;display:grid;align-content:center;justify-items:center;gap:4px}.nest-nav a span{width:56px;height:42px;display:grid;place-items:center;color:#70501f;background:#f1d282;border:3px solid #c89d4c;border-radius:50%;box-shadow:0 5px 0 #a46f2d,inset 0 5px 0 rgba(255,255,255,.5);transition:.2s}.nest-nav a:hover span{transform:translateY(-4px) rotate(-2deg)}.account-area{display:flex;align-items:center;gap:7px}.account-area form{margin:0}.profile-chip{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff6d8;font-size:12px;font-weight:700;padding:9px 12px;border:1px solid rgba(255,255,255,.25);border-radius:999px;background:rgba(55,31,15,.35)}.profile-chip i{display:inline-block;width:8px;height:8px;margin-right:7px;border-radius:50%;background:#b4e94c}.header-link{display:inline-flex;align-items:center;min-height:34px;padding:0 11px;border:1px solid rgba(255,255,255,.32);border-radius:9px;color:#fff9e8;background:rgba(58,35,17,.28);font-size:11px;font-weight:800;text-decoration:none;cursor:pointer}.header-link.filled{border-color:#d8ee95;background:#719e31}.branch{position:absolute;z-index:2;left:50%;bottom:8px;width:min(1200px,95%);height:31px;transform:translateX(-50%) rotate(-.3deg);border-radius:55% 20% 45% 40%;background:linear-gradient(#966739,#67401e);box-shadow:0 7px 0 #4a2d16}.farm-layout{position:relative;z-index:5;width:min(1180px,calc(100% - 28px));margin:-8px auto 48px;display:grid;grid-template-columns:260px 1fr;gap:22px;align-items:start}.sidebar,.content-column{display:grid;gap:18px}.content-column{min-width:0}.side-card,.overview-card,.market-section{border:3px solid var(--line);background:rgba(255,250,237,.95);box-shadow:0 5px 14px rgba(95,62,25,.11),inset 0 0 0 1px #fff}.side-card{position:relative;border-radius:18px;padding:30px 15px 15px}.ribbon{position:absolute;top:-14px;left:50%;min-width:176px;padding:7px 18px 9px;transform:translateX(-50%);color:#254011;font-family:Georgia,serif;font-size:16px;font-weight:800;text-align:center;background:linear-gradient(#b9df52,#91be38);border-radius:48% 48% 28% 28%;box-shadow:0 4px 0 #638c25}.level-row{display:flex;justify-content:space-between;gap:8px;color:#725d3e;font-size:11px}.level-row span{padding:2px 7px;color:#fff;background:#77a938;border-radius:5px;font-weight:800}.progress-track{height:8px;margin:7px 0 14px;border-radius:10px;background:#dfcda4;overflow:hidden}.progress-track span{display:block;height:100%;background:linear-gradient(90deg,#91c33d,#c4e85b)}.balance-row{display:grid;grid-template-columns:26px 1fr auto;align-items:center;gap:8px;padding:9px 0;border-top:1px dashed #d6bd85}.balance-row span{color:#756347;font-size:12px}.balance-row strong{font-size:14px}.side-menu{padding-top:18px}.side-menu a{display:flex;gap:10px;align-items:center;padding:10px 8px;border-radius:10px;color:#4d3c26;text-decoration:none;font-size:13px;font-weight:700}.side-menu a:hover{background:#ecf6cc}.mini-info{margin-top:8px}.mini-info p{margin:4px 0 10px;font-size:13px;line-height:1.55}.mini-info small{display:block;padding:10px;border-radius:10px;color:#745d37;background:#f6e6ba;font-size:10px;line-height:1.45}.overview-card{display:grid;grid-template-columns:1.3fr .8fr;gap:22px;padding:26px 28px;border-radius:21px;background:linear-gradient(120deg,rgba(255,253,244,.98),rgba(239,249,211,.96))}.eyebrow{margin:0;color:#668b2e;font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.overview-card h1{max-width:590px;margin:8px 0;font:800 33px/1.07 Georgia,serif}.overview-card>div>p:last-child{max-width:650px;margin:0;color:#79684f;font-size:13px;line-height:1.65}.overview-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-content:center}.overview-stats>div{padding:12px;border:1px solid #d7c695;border-radius:13px;background:rgba(255,255,255,.65)}.overview-stats span{display:block;color:#7b6a4c;font-size:10px}.overview-stats strong{display:block;margin-top:4px;font:700 16px Georgia,serif}.overview-stats form,.overview-stats>.primary-link{grid-column:1/-1}.overview-stats .primary-button{width:100%}.market-section{padding:23px;border-radius:21px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.section-heading h2{margin:5px 0 0;font:800 25px Georgia,serif}.sale-badge{padding:9px 15px;border:2px dashed #d39b28;border-radius:13px;transform:rotate(2deg);color:#82570c;background:#fff1aa;text-align:center;font-size:10px}.sale-badge strong{font-size:13px}.bird-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.bird-card{min-width:0;display:grid;grid-template-columns:122px 1fr;overflow:hidden;border:1px solid #dfca9c;border-radius:16px;background:#fff;box-shadow:0 3px 8px rgba(97,70,35,.08);transition:.2s}.bird-card:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(97,70,35,.13)}.bird-visual{position:relative;display:grid;place-items:center;min-height:166px;background:linear-gradient(145deg,#fff8df,#f3e4b7);border-right:1px dashed #ddc693}.sprite-bird{position:relative;z-index:2;display:block;width:116px;height:116px;background:url("birds-sprite.png") no-repeat;background-size:300% 200%;filter:drop-shadow(0 6px 2px rgba(73,48,19,.16))}.sprite-0{background-position:0 0}.sprite-1{background-position:50% 0}.sprite-2{background-position:100% 0}.sprite-3{background-position:0 100%}.sprite-4{background-position:50% 100%}.sprite-5{background-position:100% 100%}.bird-details{min-width:0;padding:15px 14px 13px}.bird-title-row{display:flex;align-items:center;gap:7px}.bird-title-row h3{margin:0;font:800 17px Georgia,serif}.rare{padding:3px 6px;border-radius:999px;color:#fff;background:#9c55a6;font-size:8px;font-weight:900;text-transform:uppercase}.bird-details dl{display:grid;gap:6px;margin:12px 0}.bird-details dl div{display:flex;align-items:center;justify-content:space-between;gap:12px}.bird-details dt{color:#8b795f;font-size:10px}.bird-details dd{margin:0;font-size:11px;font-weight:800;text-align:right}.buy-row{display:flex;gap:8px}.quantity-control{flex:0 0 auto;display:grid;grid-template-columns:26px 34px 26px;align-items:center;overflow:hidden;border:1px solid #d5c194;border-radius:8px}.quantity-control button{height:30px;border:0;color:#6d5a3c;background:#f5e9c8;cursor:pointer;font-weight:900}.quantity-control input{width:100%;height:30px;padding:0;border:0;outline:0;text-align:center;font-weight:800}.quantity-control input::-webkit-outer-spin-button,.quantity-control input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.buy-button,.primary-button,.primary-link,.admin-primary{display:inline-flex;align-items:center;justify-content:center;min-height:34px;border:0;border-radius:8px;color:#fff;background:linear-gradient(#9bcc40,#76a92e);box-shadow:0 3px 0 #5b8322;font-size:11px;font-weight:900;text-decoration:none;text-transform:uppercase;cursor:pointer}.buy-button{flex:1}.primary-button,.primary-link{min-height:43px;padding:0 20px}.buy-button:disabled,.primary-button:disabled{opacity:.45;cursor:not-allowed}.notice{padding:12px 15px;border:1px solid;border-radius:12px;font-size:12px;font-weight:700}.notice.success{color:#355d1c;border-color:#a5c878;background:#eff9dc}.notice.error{color:#8a2e24;border-color:#d9897e;background:#fff0ec}.notice.info{color:#6f5714;border-color:#dbc069;background:#fff7c9}footer{width:min(1180px,calc(100% - 28px));margin:0 auto 30px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border-top:1px solid #ddc68f;color:#796a52;font-size:11px}
.auth-body{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 50% 0,#ecfac9,transparent 34rem),var(--cream)}.auth-card{width:min(440px,100%);padding:30px;border:3px solid var(--line);border-radius:24px;background:rgba(255,252,241,.97);box-shadow:0 18px 50px rgba(80,50,18,.18);text-align:center}.install-card{width:min(520px,100%)}.auth-logo{display:grid;place-items:center;width:70px;height:70px;margin:0 auto 15px;border:4px solid #ffe28d;border-radius:50%;background:#6fa22f;box-shadow:0 6px 0 #4f7622;color:#fff;text-decoration:none;font-size:37px}.auth-card h1{margin:6px 0 10px;font:800 32px Georgia,serif}.auth-copy,.auth-bottom{color:#79684f;font-size:13px;line-height:1.5}.auth-form{display:grid;gap:13px;margin-top:20px;text-align:left}.auth-form label,.admin-form label,.bird-admin-fields label{display:grid;gap:6px;color:#6c5b43;font-size:11px;font-weight:800}.auth-form input,.admin-form input,.bird-admin-fields input,.inline-form input{width:100%;height:42px;padding:0 12px;border:1px solid #d8c18e;border-radius:9px;background:#fff;font:inherit;outline:0}.auth-form input:focus,.admin-form input:focus,.bird-admin-fields input:focus,.inline-form input:focus{border-color:#82b638;box-shadow:0 0 0 3px rgba(130,182,56,.15)}.auth-form .primary-button{width:100%;margin-top:3px}.auth-bottom a,.text-link{color:#5c8426;font-weight:800}.text-link{display:inline-block;margin-top:15px;text-decoration:none}
.admin-body{min-height:100vh;color:var(--admin-text);background:#0c120e}.admin-shell{min-height:100vh;display:grid;grid-template-columns:245px 1fr}.admin-sidebar{position:sticky;top:0;height:100vh;padding:24px 17px;display:flex;flex-direction:column;background:linear-gradient(180deg,#172019,#101611);border-right:1px solid var(--admin-line)}.admin-brand{display:grid;grid-template-columns:45px 1fr;column-gap:10px;align-items:center;margin-bottom:30px;color:var(--admin-text);text-decoration:none}.admin-brand>span{grid-row:1/3;display:grid;place-items:center;width:45px;height:45px;border-radius:13px;background:#79a83a;font-size:24px}.admin-brand strong{align-self:end;font-family:Georgia,serif}.admin-brand small{align-self:start;color:var(--admin-muted)}.admin-sidebar nav{display:grid;gap:6px}.admin-sidebar nav a{padding:11px 12px;border-radius:10px;color:#aebaaf;text-decoration:none;font-size:12px;font-weight:700}.admin-sidebar nav a:hover,.admin-sidebar nav a.active{color:#eff9ee;background:#243129}.admin-side-bottom{margin-top:auto;display:grid;gap:8px}.admin-side-bottom a,.admin-side-bottom button{width:100%;padding:10px 12px;border:1px solid #344238;border-radius:9px;color:#aebaaf;background:transparent;text-align:left;text-decoration:none;font:700 11px Arial;cursor:pointer}.admin-main{min-width:0;padding:28px}.admin-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.admin-top h1{margin:5px 0 0;font:700 29px Georgia,serif}.admin-user{padding:9px 13px;border:1px solid #344238;border-radius:999px;color:#b9c6bc;font-size:11px}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:18px}.stat-grid article,.admin-card{border:1px solid var(--admin-line);border-radius:15px;background:var(--admin-card);box-shadow:0 9px 22px rgba(0,0,0,.12)}.stat-grid article{padding:18px}.stat-grid span{color:var(--admin-muted);font-size:11px}.stat-grid strong{display:block;margin:7px 0;font:700 25px Georgia,serif}.stat-grid small{color:#6f8173}.admin-card{margin-bottom:18px;padding:20px}.narrow-card{max-width:700px}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}.card-heading h2{margin:0;font:700 18px Georgia,serif}.card-heading p,.card-heading span,.card-heading a{margin:4px 0 0;color:var(--admin-muted);font-size:11px}.card-heading a{color:#aada62;text-decoration:none}.table-wrap{overflow:auto;border:1px solid #2b382f;border-radius:11px}.table-wrap table{width:100%;border-collapse:collapse;white-space:nowrap}.table-wrap th,.table-wrap td{padding:11px 12px;border-bottom:1px solid #29352c;text-align:left;font-size:11px}.table-wrap th{color:#91a096;background:#141c16;text-transform:uppercase;letter-spacing:.06em}.table-wrap tr:last-child td{border-bottom:0}.table-wrap tbody tr:hover{background:#1c271f}.status-pill{display:inline-block;padding:4px 7px;border-radius:999px;color:#bfe27e;background:#2b3d25;font-size:9px;font-weight:900;text-transform:uppercase}.amount-plus{color:#9bd35e}.amount-minus{color:#ec8d84}.empty-cell{text-align:center!important;color:var(--admin-muted)}.subline{display:block;margin-top:3px;color:var(--admin-muted)}.admin-form input,.bird-admin-fields input,.inline-form input{color:var(--admin-text);border-color:#35433a;background:#111813}.form-grid{display:grid;grid-template-columns:repeat(6,minmax(100px,1fr));gap:10px;align-items:end}.form-grid .admin-primary{min-height:42px}.admin-primary{padding:0 14px;box-shadow:none;text-transform:none}.bird-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bird-admin-card{display:grid;grid-template-columns:145px 1fr;overflow:hidden;border:1px solid #2e3b32;border-radius:13px;background:#121914}.admin-bird-sprite{display:grid;place-items:center;background:#202b22}.admin-bird-sprite .sprite-bird{width:138px;height:138px}.bird-admin-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:13px}.bird-admin-fields small{align-self:center;color:var(--admin-muted)}.check-label{display:flex!important;flex-direction:row;align-items:center}.check-label input{width:17px!important;height:17px!important}.admin-actions{display:flex;gap:7px;grid-column:1/-1}.danger-button{min-height:34px;padding:0 12px;border:1px solid #7d3732;border-radius:8px;color:#f3a19a;background:#301b19;font-size:11px;font-weight:800;cursor:pointer}.inline-form{display:grid;grid-template-columns:110px 160px auto;gap:6px}.inline-form input{height:32px}.settings-form{display:grid;gap:13px}.settings-form .admin-primary{width:max-content;min-height:40px;padding:0 20px}
@media(max-width:980px){.nest-nav{display:none}.topbar{justify-content:space-between}.farm-layout{grid-template-columns:1fr;margin-top:2px}.sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}.mini-info{display:none}.content-column{grid-row:1}.admin-shell{grid-template-columns:1fr}.admin-sidebar{position:relative;height:auto;display:block}.admin-sidebar nav{display:flex;overflow:auto;margin-top:15px}.admin-sidebar nav a{white-space:nowrap}.admin-side-bottom{display:flex;margin-top:14px}.admin-main{padding:18px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.bird-admin-grid{grid-template-columns:1fr}}
@media(max-width:640px){.tree-header{min-height:125px}.topbar{min-height:108px;width:calc(100% - 18px);gap:8px}.brand{min-width:auto}.brand>span:last-child{font-size:21px}.brand-mark{width:45px;height:45px;font-size:23px}.account-area{gap:4px}.profile-chip{display:none}.header-link{min-height:31px;padding:0 8px;font-size:9px}.farm-layout{width:calc(100% - 18px);margin-bottom:24px;gap:12px}.overview-card{grid-template-columns:1fr;padding:20px}.overview-card h1{font-size:27px}.market-section{padding:14px 9px}.section-heading{align-items:flex-start}.section-heading h2{font-size:20px}.sale-badge{padding:7px 8px;font-size:8px}.bird-grid{gap:8px}.bird-card{grid-template-columns:1fr}.bird-visual{min-height:110px;border-right:0;border-bottom:1px dashed #ddc693}.sprite-bird{width:100px;height:100px}.bird-details{padding:10px 8px}.bird-title-row h3{font-size:13px}.bird-details dl div{display:block}.bird-details dd{margin-top:2px;font-size:10px}.buy-row{display:grid}.quantity-control{width:100%;grid-template-columns:1fr 42px 1fr}.buy-button{min-height:34px}.sidebar{grid-template-columns:1fr}.side-menu{display:none}footer{width:calc(100% - 18px);flex-wrap:wrap;padding:16px 4px}.admin-main{padding:12px}.admin-top h1{font-size:23px}.admin-user{display:none}.stat-grid{grid-template-columns:1fr 1fr;gap:8px}.stat-grid article{padding:13px}.stat-grid strong{font-size:20px}.admin-card{padding:13px}.form-grid{grid-template-columns:1fr 1fr}.form-grid .admin-primary{grid-column:1/-1}.bird-admin-card{grid-template-columns:1fr}.admin-bird-sprite{min-height:130px}.bird-admin-fields{grid-template-columns:1fr 1fr}.inline-form{grid-template-columns:100px 130px auto}}

/* Payment methods */
.payment-section{padding:23px;border:3px solid var(--line);border-radius:21px;background:rgba(255,250,237,.96);box-shadow:0 5px 14px rgba(95,62,25,.11),inset 0 0 0 1px #fff}.payment-heading{margin-bottom:15px}.payment-safe{padding:7px 10px;border:1px solid #d7c695;border-radius:999px;color:#756347;background:#fff9e7;font-size:9px;font-weight:800}.payment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.payment-card{display:grid;grid-template-columns:64px 1fr;gap:13px;align-items:start;padding:15px;border:1px solid #dfca9c;border-radius:15px;background:#fff;box-shadow:0 3px 8px rgba(97,70,35,.08)}.payment-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:16px;color:#fff;background:linear-gradient(145deg,#83b83c,#5f8d25);font:900 24px Georgia,serif;box-shadow:0 4px 0 #4f7622}.payment-content{min-width:0}.payment-title-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.payment-title-row h3{margin:0;font:800 16px Georgia,serif}.payment-title-row span{flex:0 0 auto;padding:4px 7px;border-radius:999px;color:#557526;background:#edf7d5;font-size:8px;font-weight:900}.payment-meta{margin:6px 0 0;color:#745f43;font-size:10px}.payment-value{display:flex;align-items:stretch;gap:7px;margin-top:9px}.payment-value code{min-width:0;flex:1;padding:9px 10px;overflow-wrap:anywhere;border:1px dashed #d4bc84;border-radius:9px;color:#463721;background:#fff8df;font:700 10px/1.4 monospace}.payment-value button{flex:0 0 auto;padding:0 10px;border:0;border-radius:8px;color:#fff;background:#6f9d31;font-size:9px;font-weight:900;cursor:pointer}.payment-content small{display:block;margin-top:8px;color:#897456;font-size:9px;line-height:1.45}
.admin-form select,.payment-admin-fields select{width:100%;height:42px;padding:0 10px;border:1px solid #35433a;border-radius:9px;color:var(--admin-text);background:#111813;font:inherit;outline:0}.payment-admin-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:end}.payment-admin-form .wide-field{grid-column:span 2}.payment-admin-form .admin-primary{min-height:42px}.payment-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.payment-admin-card{overflow:hidden;border:1px solid #2e3b32;border-radius:13px;background:#121914}.payment-admin-badge{padding:11px 13px;color:#cfe6ab;background:#202b22;font-size:11px;font-weight:900}.payment-admin-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:13px}.payment-admin-fields label{display:grid;gap:6px;color:#91a096;font-size:11px;font-weight:800}.payment-admin-fields input{width:100%;height:42px;padding:0 12px;border:1px solid #35433a;border-radius:9px;color:var(--admin-text);background:#111813;font:inherit;outline:0}.payment-admin-fields .wide-field{grid-column:1/-1}.payment-admin-fields .check-label{grid-column:1/-1}.empty-admin-state{grid-column:1/-1;padding:22px;border:1px dashed #344238;border-radius:12px;color:var(--admin-muted);text-align:center;font-size:11px}
@media(max-width:980px){.payment-admin-form{grid-template-columns:repeat(2,minmax(0,1fr))}.payment-admin-grid{grid-template-columns:1fr}}
@media(max-width:640px){.payment-section{padding:14px 9px}.payment-grid{grid-template-columns:1fr}.payment-card{grid-template-columns:48px 1fr;padding:11px;gap:9px}.payment-icon{width:44px;height:44px;font-size:19px}.payment-title-row{align-items:flex-start}.payment-value{display:grid}.payment-value button{min-height:34px}.payment-safe{display:none}.payment-admin-form{grid-template-columns:1fr}.payment-admin-form .wide-field{grid-column:auto}.payment-admin-form .admin-primary{width:100%}.payment-admin-fields{grid-template-columns:1fr}.payment-admin-fields .wide-field,.payment-admin-fields .check-label{grid-column:auto}}

/* Finance center: deposit / withdrawal / history */
.finance-launcher,.finance-panel{padding:23px;border:3px solid var(--line);border-radius:21px;background:rgba(255,250,237,.96);box-shadow:0 5px 14px rgba(95,62,25,.11),inset 0 0 0 1px #fff}.finance-heading{margin-bottom:14px}.finance-balance{padding:8px 11px;border:1px solid #d9c187;border-radius:999px;color:#745d35;background:#fff8df;font-size:10px}.finance-button-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.finance-main-button{display:flex;align-items:center;gap:12px;min-height:74px;padding:12px 14px;border:1px solid #d9c28e;border-radius:15px;color:#4b3a22;background:#fff;box-shadow:0 4px 8px rgba(97,70,35,.08);text-align:left;cursor:pointer;transition:.18s}.finance-main-button:hover{transform:translateY(-2px);box-shadow:0 7px 13px rgba(97,70,35,.12)}.finance-main-button>b{display:grid;place-items:center;flex:0 0 45px;width:45px;height:45px;border-radius:13px;background:#edf6d3;font-size:22px}.finance-main-button span{display:grid;gap:3px}.finance-main-button strong{font:800 14px Georgia,serif}.finance-main-button small{color:#806e51;font-size:9px}.finance-main-button.withdraw>b{background:#fff0d5}.finance-main-button.history>b{background:#e8f0ff}.finance-login-note{padding:15px;border:1px dashed #d2bb82;border-radius:12px;color:#725f40;background:#fff9e9;font-size:12px}.finance-login-note a{font-weight:900}.finance-panel[hidden]{display:none!important}.finance-panel{scroll-margin-top:14px}.finance-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:15px}.finance-panel-head h2{margin:5px 0 0;font:800 24px Georgia,serif}.panel-close{width:34px;height:34px;border:1px solid #d7c18c;border-radius:50%;color:#755d39;background:#fff;font-size:23px;line-height:1;cursor:pointer}.finance-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:15px;padding:15px;border:1px solid #ddca9e;border-radius:15px;background:#fffaf0}.finance-form label{display:grid;gap:6px;color:#715e40;font-size:10px;font-weight:900}.finance-form input,.finance-form select{width:100%;height:43px;padding:0 11px;border:1px solid #d5bf8b;border-radius:10px;color:#44331f;background:#fff;font:inherit;outline:0}.finance-form input:focus,.finance-form select:focus{border-color:#81a93e;box-shadow:0 0 0 3px rgba(126,174,53,.13)}.finance-form>.primary-button{align-self:end;min-height:43px}.finance-help{margin:10px 2px 0;color:#806d50;font-size:10px;line-height:1.5}.finance-empty{padding:20px;border:1px dashed #d5bf8b;border-radius:13px;color:#7a6748;background:#fff8e5;text-align:center;font-size:11px}.withdraw-type-switch{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-width:430px}.withdraw-type-switch button{min-height:42px;border:1px solid #d4bd87;border-radius:11px;color:#5f4c31;background:#fff;font-size:11px;font-weight:900;cursor:pointer}.withdraw-type-switch button.active{color:#fff;border-color:#678f2b;background:#779f37}.withdraw-form>[data-withdraw-fields]{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.withdraw-form>[data-withdraw-fields][hidden]{display:none}.withdraw-balance-note{align-self:end;padding:11px;border-radius:10px;color:#6b593d;background:#f5e7bd;font-size:10px}.history-block+ .history-block{margin-top:18px}.history-block h3{margin:0 0 9px;font:800 16px Georgia,serif}.user-history-table{border:1px solid #dfca9d;border-radius:12px;background:#fff}.user-history-table table{width:100%;border-collapse:collapse;min-width:610px}.user-history-table th,.user-history-table td{padding:10px 9px;border-bottom:1px solid #eee0c2;text-align:left;font-size:10px}.user-history-table th{color:#705d3f;background:#fbf2dc;font-size:9px;text-transform:uppercase}.user-history-table td small{display:block;margin-top:3px;color:#8a785c}.history-empty{padding:20px!important;color:#887558;text-align:center!important}.history-destination{display:block;max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.request-status{display:inline-block;padding:5px 8px;border-radius:999px;font-size:8px;font-weight:900;text-transform:uppercase}.status-pending{color:#8a6613;background:#fff0bd}.status-approved{color:#416f23;background:#def0cc}.status-rejected{color:#9c3e36;background:#ffe0dc}.side-action{width:100%;display:flex;gap:10px;align-items:center;padding:10px 8px;border:0;border-radius:10px;color:#4d3c26;background:transparent;font:700 13px Arial,Helvetica,sans-serif;text-align:left;cursor:pointer}.side-action:hover{background:#ecf6cc}.admin-nav-count{display:inline-grid;place-items:center;min-width:20px;height:20px;margin-left:auto;padding:0 6px;border-radius:999px;color:#15200f;background:#bce36e;font-size:9px}.request-admin-actions{display:grid;grid-template-columns:minmax(120px,1fr) auto auto;gap:5px;min-width:360px}.request-admin-actions input{height:34px;padding:0 9px;border:1px solid #35433a;border-radius:8px;color:var(--admin-text);background:#111813}.request-admin-actions .admin-primary,.request-admin-actions .danger-button{min-height:34px}.admin-destination{max-width:260px;overflow-wrap:anywhere}
@media(max-width:980px){.finance-button-grid{grid-template-columns:1fr 1fr}.finance-main-button.history{grid-column:1/-1}.request-admin-actions{min-width:320px}}
@media(max-width:640px){.finance-launcher,.finance-panel{padding:14px 9px}.finance-heading{align-items:flex-start}.finance-balance{font-size:8px}.finance-button-grid{grid-template-columns:1fr}.finance-main-button.history{grid-column:auto}.finance-main-button{min-height:64px}.finance-panel-head h2{font-size:20px}.deposit-method-grid{grid-template-columns:1fr}.finance-form{grid-template-columns:1fr;padding:11px}.withdraw-form>[data-withdraw-fields]{grid-template-columns:1fr}.withdraw-type-switch{max-width:none}.user-history-table{overflow-x:auto}.side-action{font-size:12px}.request-admin-actions{min-width:260px;grid-template-columns:1fr 1fr}.request-admin-actions input{grid-column:1/-1}}

/* Compact balance actions + finance modal */
.balance-actions{margin-top:10px;padding-top:10px;border-top:1px dashed #d6bd85}.balance-actions-title{display:block;margin-bottom:7px;color:#705d3f;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.balance-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.balance-action-grid button{display:grid;place-items:center;gap:3px;min-width:0;min-height:52px;padding:6px 4px;border:1px solid #d8c18d;border-radius:10px;color:#4f3c24;background:#fffaf0;box-shadow:0 2px 5px rgba(92,65,31,.07);font:800 9px Arial,Helvetica,sans-serif;cursor:pointer}.balance-action-grid button:hover{background:#edf6d3;border-color:#a9c66d}.balance-action-grid button b{font-size:17px;line-height:1}.balance-action-grid button span{white-space:nowrap}
.payment-logo{display:block;width:100%;height:100%;object-fit:contain;border-radius:12px;background:#fff}.payment-admin-logo{display:block;width:58px;height:38px;object-fit:contain;border-radius:8px;background:#fff;padding:4px}.payment-admin-badge{min-height:60px;display:flex;align-items:center}
body.finance-modal-open{overflow:hidden}body.finance-modal-open:after{content:"";position:fixed;inset:0;z-index:90;background:rgba(30,22,12,.62);backdrop-filter:blur(2px)}.finance-panel{position:fixed;z-index:100;left:50%;top:50%;transform:translate(-50%,-50%);width:min(940px,calc(100% - 28px));max-height:88vh;overflow:auto;margin:0;padding:22px;border:3px solid var(--line);border-radius:21px;background:rgba(255,250,237,.99);box-shadow:0 24px 70px rgba(31,20,9,.42),inset 0 0 0 1px #fff;scroll-margin-top:0}.finance-panel[data-finance-panel="withdraw"]{width:min(720px,calc(100% - 28px))}.finance-panel[data-finance-panel="history"]{width:min(1000px,calc(100% - 28px))}.finance-panel[hidden]{display:none!important}.finance-panel-head{position:sticky;top:-22px;z-index:2;margin:-22px -22px 15px;padding:19px 22px 14px;border-bottom:1px solid #ead9b4;background:rgba(255,250,237,.98);border-radius:18px 18px 0 0}.panel-close{flex:0 0 36px}
@media(max-width:640px){.balance-action-grid{gap:5px}.balance-action-grid button{min-height:49px;font-size:8px}.finance-panel,.finance-panel[data-finance-panel="withdraw"],.finance-panel[data-finance-panel="history"]{width:calc(100% - 16px);max-height:92vh;padding:13px;border-width:2px}.finance-panel-head{top:-13px;margin:-13px -13px 13px;padding:14px 13px 11px}.payment-logo{border-radius:9px}.payment-admin-logo{width:52px;height:34px}}

/* Premium mobile refresh */
.mobile-nav-toggle{display:none;flex:0 0 auto;align-items:center;justify-content:center;flex-direction:column;gap:4px;width:44px;height:44px;border:1px solid rgba(255,255,255,.28);border-radius:12px;color:#fff;background:rgba(63,37,17,.28);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);cursor:pointer}.mobile-nav-toggle span{display:block;width:19px;height:2px;border-radius:99px;background:#fff6d8;transition:.18s}.mobile-nav-toggle.is-active span:nth-child(1){transform:translateY(6px) rotate(45deg)}.mobile-nav-toggle.is-active span:nth-child(2){opacity:0}.mobile-nav-toggle.is-active span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
.mobile-nav{display:none;position:relative;z-index:4;width:min(1180px,calc(100% - 28px));margin:8px auto 0;padding:12px;border-radius:20px;background:rgba(58,35,17,.35);backdrop-filter:blur(6px);grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;border:1px solid rgba(255,255,255,.12)}.mobile-nav a{display:grid;grid-template-columns:40px 1fr;grid-template-areas:'icon title' 'icon text';column-gap:10px;row-gap:2px;align-items:center;padding:12px;border-radius:16px;color:#fffbe8;text-decoration:none;background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.06));box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}.mobile-nav a span{grid-area:icon;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;color:#735120;background:#f2d58e;font-size:18px;box-shadow:0 4px 0 #ab7a2f}.mobile-nav a strong{grid-area:title;font-size:13px}.mobile-nav a small{grid-area:text;color:#f6ecd1;font-size:10px}
.premium-action-grid{grid-template-columns:1fr;gap:9px}.balance-premium-button{display:grid!important;grid-template-columns:54px 1fr;place-items:initial!important;align-items:center;gap:12px;min-height:70px!important;padding:12px 14px!important;border:1px solid #dcc591!important;border-radius:18px!important;color:#382615!important;background:linear-gradient(180deg,#fffdfa,#fff4df)!important;box-shadow:0 10px 20px rgba(96,66,28,.08),inset 0 1px 0 rgba(255,255,255,.88)!important;text-align:left}.balance-premium-button:hover{transform:translateY(-2px);border-color:#adc96b!important;box-shadow:0 14px 26px rgba(96,66,28,.12),inset 0 1px 0 rgba(255,255,255,.95)!important}.balance-premium-button b{display:grid;place-items:center;width:54px;height:54px;border-radius:16px;font-size:23px!important;box-shadow:0 6px 14px rgba(102,71,30,.12)}.balance-premium-button.deposit b{background:linear-gradient(180deg,#e7f6cd,#cbe9a0)}.balance-premium-button.withdraw b{background:linear-gradient(180deg,#ffeccd,#ffd59d)}.balance-premium-button.history b{background:linear-gradient(180deg,#dde9ff,#c7dbff)}.balance-premium-button span{display:grid;gap:2px;white-space:normal!important}.balance-premium-button strong{font:800 14px/1.15 Georgia,serif}.balance-premium-button small{color:#7e6a4a;font-size:10px;font-weight:700;line-height:1.35}
.finance-panel{animation:financePop .18s ease-out}.finance-panel .eyebrow{letter-spacing:.16em}.finance-panel-head h2{letter-spacing:-.01em}.finance-form label{font-size:11px}.finance-form input,.finance-form select{height:48px;font-size:13px}.payment-card{position:relative;overflow:hidden;border-radius:18px}.payment-card:before{content:'';position:absolute;inset:0 0 auto;left:0;right:0;height:4px;background:linear-gradient(90deg,#d7b15e,#8bb53f)}.payment-value button{min-width:94px;font-size:10px}.payment-value code{font-size:11px}.finance-help{padding:11px 12px;border:1px dashed #dcc48f;border-radius:12px;background:#fff7e7}.withdraw-type-switch button{min-height:46px;font-size:12px;border-radius:14px}.request-status{font-size:9px;padding:6px 10px}.user-history-table th,.user-history-table td{font-size:11px}.history-block h3{font-size:18px}
@keyframes financePop{from{opacity:0;transform:translate(-50%,-47%)}to{opacity:1;transform:translate(-50%,-50%)}}
@media(max-width:980px){.mobile-nav-toggle{display:inline-flex}.account-area{margin-left:auto}.mobile-nav.is-open{display:grid}.topbar{flex-wrap:wrap;gap:10px;align-items:center}.nest-nav{display:none!important}.brand{min-width:0;flex:1}}
@media(max-width:640px){.tree-header{min-height:136px}.topbar{min-height:auto;padding-top:14px}.mobile-nav{width:calc(100% - 18px);grid-template-columns:1fr 1fr;padding:10px;margin-top:10px}.mobile-nav a{padding:10px;border-radius:14px}.mobile-nav a strong{font-size:12px}.mobile-nav a small{font-size:9px}.balance-actions{margin-top:12px;padding-top:12px}.balance-actions-title{font-size:11px}.balance-premium-button{grid-template-columns:46px 1fr;gap:10px;min-height:64px!important;padding:11px 12px!important;border-radius:16px!important}.balance-premium-button b{width:46px;height:46px;font-size:20px!important;border-radius:14px}.balance-premium-button strong{font-size:13px}.balance-premium-button small{font-size:9px}.finance-panel,.finance-panel[data-finance-panel='withdraw'],.finance-panel[data-finance-panel='history']{left:50%;top:auto;bottom:8px;transform:translateX(-50%);width:calc(100% - 12px);max-height:88vh;padding:14px 12px 16px;border-radius:22px 22px 18px 18px}.finance-panel-head{top:-14px;margin:-14px -12px 12px;padding:16px 12px 12px;border-radius:22px 22px 0 0}.finance-panel-head h2{font-size:22px}.finance-form{grid-template-columns:1fr;gap:10px;padding:12px}.finance-form label{font-size:12px}.finance-form input,.finance-form select{height:46px;font-size:14px}.payment-card{grid-template-columns:54px 1fr;gap:10px;padding:12px;border-radius:16px}.payment-icon{width:48px;height:48px;border-radius:14px}.payment-value{grid-template-columns:1fr}.payment-value button{width:100%;min-height:38px}.withdraw-type-switch{max-width:none;grid-template-columns:1fr 1fr}.withdraw-type-switch button{min-height:44px}.user-history-table table{min-width:540px}.user-history-table th,.user-history-table td{padding:10px 8px;font-size:10px}}

/* Premium typography and copy hierarchy */
body{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;letter-spacing:-.005em}.brand,.ribbon,.overview-card h1,.section-heading h2,.bird-title-row h3,.finance-panel-head h2,.history-block h3,.balance-premium-button strong{font-family:"Georgia","Times New Roman",serif}.eyebrow{font-size:10px;letter-spacing:.19em;font-weight:950}.overview-card h1{font-size:36px;letter-spacing:-.035em;line-height:1.02}.overview-card>div>p:last-child{font-size:13px;line-height:1.75;font-weight:550}.level-row{align-items:center}.level-badge{display:inline-flex!important;align-items:center;min-height:28px;padding:0 9px!important;border:1px solid #6d9a2d;border-radius:999px!important;color:#fff!important;background:linear-gradient(180deg,#8dbb43,#668f2c)!important;box-shadow:0 4px 10px rgba(86,126,35,.16);font-size:9px!important;letter-spacing:.11em}.xp-value{font-size:13px!important;letter-spacing:.01em}.xp-value small{color:#8b7858;font-size:8px;font-weight:800}.balance-row{min-height:58px}.balance-row>b{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:#fff7dd;box-shadow:0 3px 9px rgba(101,75,35,.08)}.balance-row>span{display:grid;gap:2px;color:#4a3824!important;font-size:12px!important;font-weight:850}.balance-row>span small{display:block;color:#9a8664;font-size:7px;line-height:1;letter-spacing:.14em;font-weight:950}.balance-row>strong{font:800 17px Georgia,serif;color:#302213}.balance-actions-title{font-size:9px!important;letter-spacing:.16em!important;color:#8a744f!important}.side-menu a{min-height:42px;font-size:12px;font-weight:850;letter-spacing:.01em}.mini-info p{font-size:12px;line-height:1.7;font-weight:550}.mini-info small{font-size:9px;line-height:1.65}.overview-stats span{font-size:8px;letter-spacing:.14em;font-weight:950}.overview-stats strong{font-size:18px}.section-heading h2{font-size:27px;letter-spacing:-.02em}.sale-badge{font-size:8px;letter-spacing:.08em;font-weight:850}.sale-badge strong{font-size:12px;letter-spacing:.03em}.bird-title-row h3{font-size:19px;letter-spacing:-.015em}.rare{padding:4px 8px;background:linear-gradient(135deg,#8b5ea7,#5d3778);box-shadow:0 3px 8px rgba(89,54,116,.18);font-size:7px;letter-spacing:.12em}.bird-details dt{color:#9a8667;font-size:7px;font-weight:950;letter-spacing:.11em}.bird-details dd{color:#3e2f1d;font-size:12px}.buy-button,.primary-button,.primary-link{letter-spacing:.055em;font-size:9px}.buy-button{min-height:38px}.finance-panel-head .eyebrow{font-size:9px}.finance-panel-head h2{font-size:27px}.finance-form label{letter-spacing:.035em;text-transform:none}.finance-help{font-size:10px;line-height:1.65}.payment-title-row h3{font-size:17px;letter-spacing:-.01em}.payment-title-row span{font-size:7px;letter-spacing:.09em}.payment-meta{font-size:10px}.payment-content small{font-size:9px;line-height:1.6}.history-block h3{letter-spacing:-.01em}.user-history-table th{font-size:8px;letter-spacing:.1em}.request-status{letter-spacing:.06em}.mobile-nav a strong{font-family:Georgia,serif;letter-spacing:-.01em}.mobile-nav a small{line-height:1.35}
@media(max-width:640px){.overview-card h1{font-size:28px}.overview-card>div>p:last-child{font-size:12px;line-height:1.65}.level-row{gap:10px}.level-badge{font-size:8px!important}.xp-value{font-size:12px!important}.balance-row>span{font-size:11px!important}.balance-row>strong{font-size:16px}.section-heading h2{font-size:21px;line-height:1.08}.bird-title-row h3{font-size:16px}.bird-details dt{font-size:7px}.bird-details dd{font-size:11px}.buy-button{font-size:8px;letter-spacing:.04em}.finance-panel-head h2{font-size:23px}.eyebrow{font-size:9px}.balance-premium-button strong{font-size:14px}.balance-premium-button small{font-size:9px;line-height:1.45}}
@media(max-width:640px){.finance-panel{animation:none}.nest-nav a{min-width:0}}

/* Collection, referral and receipt */
.mobile-nav-card{display:grid;grid-template-columns:40px 1fr;grid-template-areas:'icon title' 'icon text';column-gap:10px;row-gap:2px;align-items:center;padding:12px;border:0;border-radius:16px;color:#fffbe8;background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.06));box-shadow:inset 0 0 0 1px rgba(255,255,255,.06);text-align:left;font:inherit;cursor:pointer}.mobile-nav-card>span{grid-area:icon;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;color:#735120;background:#f2d58e;font-size:18px;box-shadow:0 4px 0 #ab7a2f}.mobile-nav-card strong{grid-area:title;font-size:13px}.mobile-nav-card small{grid-area:text;color:#f6ecd1;font-size:10px}.receipt-field{grid-column:1/-1}.receipt-field input[type=file]{height:auto;min-height:48px;padding:10px;background:#fff}.receipt-field small{font-size:9px;color:#8b7656}.collection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.collection-card{display:grid;grid-template-columns:120px 1fr;overflow:hidden;border:1px solid #dfca9c;border-radius:18px;background:#fff;box-shadow:0 8px 22px rgba(82,57,26,.09)}.collection-bird-visual{display:grid;place-items:center;min-height:150px;padding:8px;background:linear-gradient(145deg,#fff8df,#f3e4b7);border-right:1px dashed #ddc693}.collection-bird-visual img{width:105px;height:105px;object-fit:contain}.collection-bird-visual .sprite-bird{width:105px;height:105px}.collection-info{padding:15px}.collection-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.collection-title h3{margin:0;font:800 18px Georgia,serif}.collection-title span{padding:5px 8px;border-radius:999px;background:#edf6d3;color:#5d7f2d;font-size:9px;font-weight:900}.collection-metrics{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:13px}.collection-metrics div{padding:11px;border:1px solid #ead8af;border-radius:12px;background:#fffaf0}.collection-metrics small{display:block;color:#897556;font-size:8px;font-weight:900}.collection-metrics strong{display:block;margin-top:5px;font:800 13px Georgia,serif}.live-earning{color:#6d982e}.collection-date{display:block;margin-top:10px;color:#8b785b;font-size:9px}.referral-link-box{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px;border:1px solid #dfca9d;border-radius:15px;background:#fffaf0}.referral-link-box>div{min-width:0;display:grid;gap:6px}.referral-link-box small{color:#776444;font-size:8px;font-weight:900}.referral-link-box code{overflow-wrap:anywhere;font:700 11px/1.5 monospace}.referral-link-box button,.receipt-button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 13px;border:0;border-radius:10px;color:#fff;background:#759f35;font-size:10px;font-weight:900;text-decoration:none;cursor:pointer}.referral-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0 18px}.referral-stats div{padding:14px;border:1px solid #dfca9d;border-radius:14px;background:#fff}.referral-stats small{display:block;color:#897556;font-size:8px;font-weight:900}.referral-stats strong{display:block;margin-top:6px;font:800 16px Georgia,serif}

/* Corporate admin */
.corporate-admin{background:#0a100d}.corporate-admin .admin-sidebar{background:linear-gradient(180deg,#111b15,#0c130f);border-color:#223129}.admin-nav-clean{display:grid!important;gap:4px!important}.admin-nav-label{display:block;margin:15px 10px 5px;color:#66786c;font-size:8px;font-weight:900;letter-spacing:.16em}.admin-nav-clean a{display:flex!important;align-items:center;gap:10px!important;min-height:42px;padding:0 12px!important;border-radius:10px!important}.admin-nav-clean a>span{width:22px;text-align:center}.admin-nav-clean a.active{background:linear-gradient(90deg,#26382c,#1c2a21)!important;box-shadow:inset 3px 0 0 #9bca4e}.muted-count{background:#3a453e!important;color:#cad5cc!important}.corporate-top{padding-bottom:16px;border-bottom:1px solid #202f27}.corporate-top .admin-user{display:flex;align-items:center;gap:8px}.corporate-top .admin-user i{width:8px;height:8px;border-radius:50%;background:#99d34e;box-shadow:0 0 0 4px rgba(153,211,78,.1)}.admin-page-sub{margin:7px 0 0;color:#7e9184;font-size:11px}.admin-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:16px;padding:24px;border:1px solid #28392f;border-radius:17px;background:linear-gradient(135deg,#18261d,#111a15);box-shadow:0 15px 35px rgba(0,0,0,.16)}.admin-hero small{color:#91b65f;font-size:8px;font-weight:900;letter-spacing:.16em}.admin-hero h2{margin:7px 0 5px;font:700 24px Georgia,serif}.admin-hero p{margin:0;color:#8fa095;font-size:11px}.admin-hero-actions{display:flex;gap:8px;flex-wrap:wrap}.admin-hero-actions a{display:inline-flex;align-items:center;min-height:38px;padding:0 13px;border:1px solid #3a4d40;border-radius:9px;color:#dce8df;background:#1e2c23;font-size:10px;font-weight:900;text-decoration:none}.admin-stat-premium article{position:relative;overflow:hidden}.admin-stat-premium article:before{content:'';position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,#9bcc50,#526e5c)}.admin-dashboard-grid,.admin-security-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.dashboard-list{display:grid;gap:8px}.dashboard-list>a,.dashboard-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid #2a392f;border-radius:10px;color:#bbc8bf;background:#111a15;text-decoration:none;font-size:11px}.dashboard-list strong{font:800 17px Georgia,serif;color:#eaf2ec}.admin-section-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:20px 2px 9px}.admin-section-intro h2{margin:0;font:700 18px Georgia,serif}.admin-section-intro p{margin:4px 0 0;color:#829388;font-size:10px}.admin-section-intro>span{padding:6px 9px;border-radius:999px;color:#d8e6dc;background:#223128;font-size:9px;font-weight:900}.clean-actions{min-width:420px}.receipt-button{min-height:32px;background:#263e2f;border:1px solid #3d5945}.missing-receipt{color:#8d9a91;font-size:9px}.status-chip{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:8px;font-weight:900;text-transform:uppercase}.status-chip.active{color:#bce88f;background:#243a25}.status-chip.blocked{color:#ffd18b;background:#4a3218}.status-chip.deleted{color:#ffaaa2;background:#462421}.user-balance-form{grid-template-columns:105px 150px auto!important;min-width:330px}.security-form{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:end}.security-list{display:grid;gap:8px}.security-list>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px;border:1px solid #2a382f;border-radius:10px;background:#111813}.security-list span{display:grid;gap:4px}.security-list small{color:#87978d;font-size:9px}.security-actions{display:flex;gap:5px;flex-wrap:wrap}.warning-button{min-height:34px;padding:0 11px;border:1px solid #795b27;border-radius:8px;color:#ffd790;background:#352914;font-size:10px;font-weight:900;cursor:pointer}.locked-setting{display:grid;gap:5px;padding:12px;border:1px solid #35433a;border-radius:10px;background:#101812}.locked-setting span{color:#9bad9f;font-size:10px;font-weight:700}.locked-setting strong{font:800 18px Georgia,serif}.locked-setting small{color:#738177;font-size:9px}.admin-bird-sprite{position:relative}.admin-bird-sprite>small{position:absolute;left:8px;bottom:8px;padding:4px 7px;border-radius:999px;color:#d8ead9;background:rgba(10,16,13,.75);font-size:8px}.wide-field{grid-column:span 2}
@media(max-width:1100px){.admin-dashboard-grid,.admin-security-grid{grid-template-columns:1fr}.clean-actions{min-width:330px}.referral-stats{grid-template-columns:1fr 1fr}.collection-grid{grid-template-columns:1fr}}
@media(max-width:640px){.mobile-nav-card{padding:10px;border-radius:14px}.mobile-nav-card strong{font-size:12px}.mobile-nav-card small{font-size:9px}.collection-card{grid-template-columns:90px 1fr}.collection-bird-visual{min-height:120px}.collection-bird-visual img,.collection-bird-visual .sprite-bird{width:78px;height:78px}.collection-info{padding:11px}.collection-title h3{font-size:15px}.collection-metrics{grid-template-columns:1fr}.referral-link-box{align-items:stretch;flex-direction:column}.referral-link-box button{width:100%}.referral-stats{grid-template-columns:1fr 1fr}.corporate-admin .admin-sidebar{padding:14px 10px}.admin-nav-label{display:none}.admin-nav-clean{display:flex!important;overflow:auto;padding-bottom:5px}.admin-nav-clean a{min-width:max-content}.admin-hero{align-items:flex-start;flex-direction:column;padding:17px}.admin-hero h2{font-size:20px}.security-form{grid-template-columns:1fr}.user-balance-form{grid-template-columns:1fr!important;min-width:190px}.clean-actions{min-width:260px}.receipt-button{white-space:nowrap}.wide-field{grid-column:auto}}

.username-block-form{grid-template-columns:minmax(220px,1fr) auto;max-width:560px}
@media(max-width:640px){.username-block-form{grid-template-columns:1fr}}

/* Premium referral center + editable farm guide */
.referral-premium-panel{width:min(1040px,calc(100% - 28px))!important;background:linear-gradient(155deg,rgba(255,252,244,.995),rgba(246,250,231,.995))!important}.referral-panel-head{background:linear-gradient(180deg,rgba(255,252,244,.99),rgba(248,249,235,.99))!important}.referral-subtitle{display:block;max-width:640px;margin-top:7px;color:#7c6c50;font-size:11px;line-height:1.5}.referral-invite-card{position:relative;display:grid;grid-template-columns:68px minmax(0,1fr) auto;align-items:center;gap:16px;padding:20px;border:1px solid #d7c084;border-radius:20px;background:linear-gradient(135deg,#fffef8 0%,#f8efd5 55%,#eff6d9 100%);box-shadow:0 14px 34px rgba(86,61,28,.10),inset 0 1px 0 rgba(255,255,255,.95);overflow:hidden}.referral-invite-card:after{content:"";position:absolute;width:180px;height:180px;right:-70px;top:-105px;border-radius:50%;background:rgba(139,181,63,.09)}.referral-invite-icon{position:relative;z-index:1;display:grid;place-items:center;width:68px;height:68px;border:1px solid #d4ba78;border-radius:19px;background:linear-gradient(145deg,#f7dc99,#e8bf61);box-shadow:0 7px 0 #bb8b35,0 11px 20px rgba(100,70,23,.14);font-size:29px}.referral-invite-content{position:relative;z-index:1;min-width:0;display:grid;gap:7px}.referral-kicker{color:#6f8d32;font-size:9px;font-weight:950;letter-spacing:.13em}.referral-code-shell{max-width:100%;padding:11px 13px;border:1px dashed #cdb16d;border-radius:12px;background:rgba(255,255,255,.82);box-shadow:inset 0 1px 3px rgba(87,57,17,.05)}.referral-code-shell code{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#493821;font:800 12px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace}.referral-invite-content>small{color:#826f50;font-size:9px;line-height:1.45}.referral-copy-button{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:48px;padding:0 17px;border:0;border-radius:13px;color:#fff;background:linear-gradient(180deg,#8fbd47,#6f9930);box-shadow:0 5px 0 #557820,0 10px 20px rgba(80,112,31,.15);font-size:11px;font-weight:950;cursor:pointer;white-space:nowrap}.referral-copy-button:hover{transform:translateY(-1px);filter:brightness(1.03)}.referral-copy-button span{font-size:15px}.premium-referral-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:15px 0 18px}.premium-referral-stats article{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:10px;min-height:96px;padding:14px;border:1px solid #dfca9d;border-radius:17px;background:rgba(255,255,255,.9);box-shadow:0 8px 20px rgba(83,60,28,.07)}.ref-stat-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:linear-gradient(145deg,#f4e8c6,#fff7e4);font-size:19px;box-shadow:inset 0 0 0 1px #ead5a7}.premium-referral-stats article>div{min-width:0}.premium-referral-stats small{color:#877354;font-size:8px;font-weight:950;letter-spacing:.06em}.premium-referral-stats strong{display:block;margin-top:4px;color:#3f2f1c;font:850 16px/1.15 Georgia,serif}.premium-referral-stats em{display:block;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#9a896d;font-size:8px;font-style:normal}.referral-members-card{margin-top:0!important;padding:16px;border:1px solid #dfca9d;border-radius:18px;background:#fff;box-shadow:0 9px 24px rgba(83,60,28,.06)}.referral-members-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:11px}.referral-members-heading span{display:block;color:#7a9c3c;font-size:8px;font-weight:950;letter-spacing:.13em}.referral-members-heading h3{margin:4px 0 0!important;font-size:19px!important}.referral-members-heading>b{padding:7px 10px;border:1px solid #d8c593;border-radius:999px;color:#5c782d;background:#f3f8e4;font-size:9px}.referral-member-table{border-radius:13px!important}.referral-empty-state{display:grid;place-items:center;gap:5px;padding:13px}.referral-empty-state>span{font-size:24px}.referral-empty-state>strong{color:#564428;font-size:12px}.referral-empty-state>small{color:#8b795e;font-size:9px;font-weight:500}.premium-guide p{white-space:normal}.premium-guide small{white-space:normal}.settings-form textarea{width:100%;min-height:110px;resize:vertical;padding:11px 12px;border:1px solid #35433a;border-radius:10px;color:var(--admin-text);background:#111813;font:12px/1.55 Arial,Helvetica,sans-serif;outline:0}.settings-form textarea:focus{border-color:#6f9f45;box-shadow:0 0 0 3px rgba(126,174,53,.11)}.settings-divider{display:grid;gap:4px;margin-top:8px;padding:14px;border:1px solid #334239;border-radius:12px;background:#121a14}.settings-divider span{color:#92a396;font-size:8px;font-weight:900;letter-spacing:.13em}.settings-divider strong{font:800 16px Georgia,serif}.settings-divider small,.field-help{color:#829087;font-size:9px;line-height:1.45}
@media(max-width:900px){.premium-referral-stats{grid-template-columns:1fr 1fr}.referral-invite-card{grid-template-columns:58px minmax(0,1fr)}.referral-invite-icon{width:58px;height:58px}.referral-copy-button{grid-column:1/-1;width:100%}.referral-code-shell code{white-space:normal;overflow-wrap:anywhere;text-overflow:clip}}
@media(max-width:640px){.referral-premium-panel{width:calc(100% - 12px)!important}.referral-invite-card{grid-template-columns:48px minmax(0,1fr);gap:11px;padding:14px;border-radius:17px}.referral-invite-icon{width:48px;height:48px;border-radius:14px;font-size:21px;box-shadow:0 4px 0 #bb8b35}.referral-kicker{font-size:8px}.referral-code-shell{padding:9px 10px}.referral-code-shell code{font-size:10px;line-height:1.5}.referral-invite-content>small{font-size:8px}.referral-copy-button{min-height:44px}.premium-referral-stats{grid-template-columns:1fr 1fr;gap:8px}.premium-referral-stats article{grid-template-columns:38px minmax(0,1fr);gap:8px;min-height:88px;padding:11px;border-radius:14px}.ref-stat-icon{width:38px;height:38px;font-size:17px}.premium-referral-stats strong{font-size:13px}.premium-referral-stats em{display:none}.referral-members-card{padding:11px;border-radius:15px}.referral-members-heading h3{font-size:16px!important}.referral-members-heading>b{font-size:8px}.referral-member-table table{min-width:620px}}
@media(max-width:980px){.premium-guide{display:block!important}}

/* Multi-animal farm + product vault */
.animal-fallback-emoji{display:grid;place-items:center;width:96px;height:96px;border-radius:28px;background:linear-gradient(145deg,#fff7d7,#e9f2cf);box-shadow:inset 0 0 0 1px #e0ca91,0 10px 20px rgba(85,58,24,.10);font-size:54px;line-height:1}.market-animal-emoji{width:105px;height:105px;font-size:60px}.animal-type-kicker{display:block;margin-bottom:3px;color:#7c9860;font-size:8px;font-weight:900;letter-spacing:.12em}.bird-title-row>div{min-width:0}.bird-title-row>div h3{margin:0}.bird-details dl{gap:7px}.bird-details dl div{padding-bottom:5px;border-bottom:1px dashed #efe1bf}.bird-details dl div:last-child{border-bottom:0}
.farm-center-panel{width:min(1060px,calc(100% - 28px))!important}.product-vault{margin-bottom:18px;padding:16px;border:1px solid #dbc28a;border-radius:18px;background:linear-gradient(145deg,#fffdf7,#f8efd7)}.product-vault-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:13px}.product-vault-head span{color:#6e8f35;font-size:9px;font-weight:900;letter-spacing:.12em}.product-vault-head h3{margin:4px 0 0;font:800 20px Georgia,serif}.product-vault-head form{margin:0}.product-sell-button{white-space:nowrap}.product-vault-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.product-vault-grid article{display:grid;grid-template-columns:52px 1fr;gap:10px;align-items:center;min-width:0;padding:12px;border:1px solid #ead8af;border-radius:14px;background:#fff;box-shadow:0 5px 13px rgba(86,61,28,.06)}.product-vault-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;background:#f6edcf;font-size:26px}.product-vault-grid article>div:last-child{min-width:0}.product-vault-grid small{display:block;color:#8b7754;font-size:8px;font-weight:900;letter-spacing:.08em}.product-vault-grid strong{display:block;margin-top:4px;font:800 16px Georgia,serif;color:#537629}.product-vault-grid span{display:block;margin-top:4px;color:#8c795a;font-size:9px;line-height:1.35}.animal-collection-grid{grid-template-columns:1fr 1fr}.animal-collection-card{grid-template-columns:120px 1fr}.animal-collection-visual{position:relative;align-content:center;gap:6px}.animal-collection-visual>small{padding:4px 7px;border-radius:999px;color:#59762e;background:#eff6dc;font-size:8px;font-weight:900}.animal-product-badge{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:10px;padding:8px 10px;border-radius:11px;background:#f4f8e8;color:#5c7531;font-size:10px}.animal-product-badge span{margin-left:auto;color:#857253;font-size:9px}.animal-collection-card .collection-metrics{grid-template-columns:1fr 1fr}.animal-collection-card .collection-metrics>div:last-child{grid-column:1/-1;background:#f6f9ed}.live-product-qty{font-variant-numeric:tabular-nums}
.animal-admin-create{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:11px;align-items:end}.animal-admin-create .wide-field{grid-column:span 2}.animal-admin-create .admin-primary{min-height:42px}.animal-admin-grid{grid-template-columns:1fr}.animal-admin-card{grid-template-columns:170px 1fr}.animal-admin-visual{gap:8px;align-content:center;padding:14px}.animal-admin-visual>strong{font:800 13px Georgia,serif}.animal-admin-fields{grid-template-columns:repeat(4,minmax(120px,1fr))}.animal-admin-fields .wide-field{grid-column:span 2}.admin-production-preview{grid-column:span 2;display:grid;gap:3px;padding:10px 12px;border:1px solid #35463a;border-radius:10px;background:#101713}.admin-production-preview span{color:#a9d66d;font-size:10px;font-weight:900}.admin-production-preview strong{font-size:12px}.admin-production-preview small{color:var(--admin-muted);font-size:9px}
@media(max-width:1100px){.product-vault-grid{grid-template-columns:1fr 1fr}.animal-admin-create{grid-template-columns:repeat(2,minmax(0,1fr))}.animal-admin-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.animal-admin-create .wide-field,.animal-admin-fields .wide-field,.admin-production-preview{grid-column:1/-1}}
@media(max-width:740px){.product-vault-head{align-items:stretch;flex-direction:column}.product-vault-head .primary-button{width:100%}.product-vault-grid{grid-template-columns:1fr}.animal-collection-grid{grid-template-columns:1fr}.animal-collection-card{grid-template-columns:92px 1fr}.animal-collection-visual .animal-fallback-emoji{width:74px;height:74px;font-size:42px}.animal-collection-card .collection-metrics{grid-template-columns:1fr}.animal-collection-card .collection-metrics>div:last-child{grid-column:auto}.animal-product-badge span{width:100%;margin-left:0}.animal-admin-card{grid-template-columns:1fr}.animal-admin-visual{min-height:150px}.animal-admin-create,.animal-admin-fields{grid-template-columns:1fr}.animal-admin-create .wide-field,.animal-admin-fields .wide-field,.admin-production-preview{grid-column:auto}.market-animal-emoji{width:88px;height:88px;font-size:50px}}
.animal-admin-fields select{width:100%;height:42px;padding:0 10px;border:1px solid #35433a;border-radius:9px;color:var(--admin-text);background:#111813;font:inherit;outline:0}.animal-admin-fields label,.animal-admin-create label{display:grid;gap:6px;color:#91a096;font-size:11px;font-weight:800}.animal-admin-create input,.animal-admin-fields input{width:100%;height:42px;padding:0 12px;border:1px solid #35433a;border-radius:9px;color:var(--admin-text);background:#111813;font:inherit;outline:0}.animal-admin-create input[type=file],.animal-admin-fields input[type=file]{height:auto;min-height:42px;padding:9px}

/* Animal market category selector */
.market-intro{max-width:650px;margin:8px 0 0;color:#806c4e;font-size:11px;line-height:1.6}.animal-market-filter{display:flex;gap:9px;margin:0 0 13px;padding:4px 2px 9px;overflow-x:auto;scrollbar-width:thin;scroll-snap-type:x proximity}.animal-filter-chip{scroll-snap-align:start;flex:0 0 auto;display:grid;grid-template-columns:38px auto;grid-template-areas:'icon title' 'icon meta';column-gap:9px;align-items:center;min-width:135px;min-height:58px;padding:8px 12px;border:1px solid #dfca9d;border-radius:16px;color:#554127;background:linear-gradient(180deg,#fff,#fff8e8);box-shadow:0 5px 12px rgba(92,65,30,.07);text-align:left;cursor:pointer;transition:.18s}.animal-filter-chip>span{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#f6e8c4;font-size:21px}.animal-filter-chip>b{grid-area:title;font:800 13px Georgia,serif}.animal-filter-chip>small{grid-area:meta;color:#947f5e;font-size:8px;font-weight:850}.animal-filter-chip.active{color:#fff;border-color:#668d2d;background:linear-gradient(180deg,#86b442,#648f2e);box-shadow:0 7px 16px rgba(88,129,40,.22)}.animal-filter-chip.active>span{background:rgba(255,255,255,.18)}.animal-filter-chip.active>small{color:#edf8d3}.animal-filter-result{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 2px 12px;padding:10px 12px;border:1px solid #ead8af;border-radius:12px;background:#fffaf0}.animal-filter-result strong{font:800 14px Georgia,serif}.animal-filter-result span{color:#8e7858;font-size:9px;font-weight:800}.animal-filter-empty{padding:25px;border:1px dashed #d7bf89;border-radius:15px;color:#806b4c;background:#fff8e7;text-align:center;font-size:12px;font-weight:800}.bird-card[hidden]{display:none!important}

/* PWA / app install */
.app-install-button{white-space:nowrap}.app-install-button.install-ready{border-color:#e7f9a9;background:linear-gradient(180deg,#8fc048,#699632);box-shadow:0 0 0 2px rgba(210,239,137,.12)}.install-card.install-ready{box-shadow:inset 0 0 0 1px rgba(224,246,166,.3)}.install-help{position:fixed;z-index:160;right:18px;bottom:18px;display:flex;align-items:flex-start;gap:14px;width:min(390px,calc(100% - 28px));padding:15px 16px;border:1px solid #d9c28d;border-radius:16px;color:#3f301e;background:#fffaf0;box-shadow:0 20px 48px rgba(38,26,13,.28)}.install-help[hidden]{display:none!important}.install-help strong{font:800 15px Georgia,serif}.install-help p{margin:5px 0 0;color:#7b684b;font-size:10px;line-height:1.5}.install-help button{flex:0 0 32px;width:32px;height:32px;border:1px solid #dac38e;border-radius:50%;color:#705936;background:#fff;font-size:20px;cursor:pointer}.mobile-bottom-nav{display:none}

/* Strong phone-app layout */
@media(max-width:768px){
  body{padding-bottom:76px;background:#f7edd3;-webkit-tap-highlight-color:transparent}.farm-shell{overflow:visible}.tree-header{min-height:91px;background:linear-gradient(180deg,#4d7c29,#3f6922)}.tree-header:before,.canopy,.branch{display:none}.topbar{position:sticky;top:0;width:100%;min-height:76px;padding:10px 12px;background:linear-gradient(180deg,#4d7c29,#426d25);box-shadow:0 8px 22px rgba(53,78,28,.17)}.brand-mark{width:42px;height:42px;border-width:3px;font-size:21px}.brand>span:last-child{font-size:19px;line-height:.9}.brand em{margin-left:14px}.mobile-nav-toggle{order:3}.account-area{order:2}.account-area .app-install-button{display:none}.header-link{min-height:38px;border-radius:12px;font-size:9px}.mobile-nav{position:absolute;left:9px;right:9px;top:75px;width:auto;margin:0;border-radius:0 0 20px 20px;background:#416925;box-shadow:0 14px 28px rgba(37,56,23,.28)}.farm-layout{width:100%;margin:0;gap:10px}.content-column{gap:10px}.sidebar{padding:0 9px}.side-card{border-width:1px;border-radius:16px;box-shadow:0 4px 14px rgba(74,53,26,.08)}.balance-card{margin-top:8px}.overview-card,.market-section{margin:0 9px;border-width:1px;border-radius:18px;box-shadow:0 5px 17px rgba(74,53,26,.08)}.overview-card{padding:18px 14px}.overview-card h1{font-size:25px}.market-section{padding:16px 10px 18px}.section-heading{margin-bottom:13px}.section-heading .sale-badge{display:none}.market-intro{font-size:10px;line-height:1.5}.animal-market-filter{margin-left:-2px;margin-right:-2px;padding-bottom:7px}.animal-filter-chip{min-width:128px;min-height:58px}.animal-filter-result{margin-bottom:9px}.bird-grid{grid-template-columns:1fr;gap:10px}.bird-card{grid-template-columns:112px minmax(0,1fr);border-radius:17px;box-shadow:0 5px 16px rgba(81,58,27,.09)}.bird-visual{min-height:172px;border-right:1px dashed #ddc693;border-bottom:0}.bird-upload{max-width:104px;max-height:128px}.market-animal-emoji{font-size:55px}.bird-details{padding:12px 10px}.bird-title-row h3{font-size:17px}.bird-details dl{margin:9px 0;gap:5px}.bird-details dl div{display:flex}.bird-details dt{font-size:6px}.bird-details dd{font-size:9px}.buy-row{display:grid;grid-template-columns:96px minmax(0,1fr);gap:7px}.quantity-control{width:96px;grid-template-columns:29px 38px 29px}.buy-button{min-height:40px}.mobile-bottom-nav{position:fixed;z-index:120;left:8px;right:8px;bottom:8px;display:grid;grid-template-columns:repeat(4,1fr);gap:4px;padding:6px;border:1px solid rgba(255,255,255,.72);border-radius:20px;background:rgba(43,61,31,.94);box-shadow:0 16px 40px rgba(30,39,24,.28);backdrop-filter:blur(10px)}.mobile-bottom-nav a,.mobile-bottom-nav button{display:grid;place-items:center;gap:2px;min-width:0;min-height:54px;padding:5px 2px;border:0;border-radius:15px;color:#f7f1da;background:transparent;text-decoration:none;font:inherit;cursor:pointer}.mobile-bottom-nav span{font-size:20px}.mobile-bottom-nav b{font-size:8px;letter-spacing:.02em}.mobile-bottom-nav a:active,.mobile-bottom-nav button:active{background:rgba(255,255,255,.13)}footer{margin-bottom:14px;padding-bottom:12px}.finance-panel,.finance-panel[data-finance-panel='withdraw'],.finance-panel[data-finance-panel='history'],.finance-panel[data-finance-panel='collection'],.finance-panel[data-finance-panel='referral']{bottom:76px;max-height:calc(100% - 92px)}.install-help{right:10px;bottom:82px;width:calc(100% - 20px)}
}
@media(max-width:420px){.bird-card{grid-template-columns:96px minmax(0,1fr)}.bird-visual{min-height:164px}.bird-upload{max-width:88px;max-height:112px}.market-animal-emoji{font-size:48px}.bird-details{padding:11px 8px}.bird-title-row h3{font-size:15px}.bird-details dd{font-size:8px}.buy-row{grid-template-columns:88px minmax(0,1fr)}.quantity-control{width:88px;grid-template-columns:27px 34px 27px}.animal-filter-chip{min-width:119px;padding:7px 9px}.mobile-bottom-nav{left:5px;right:5px;bottom:5px}}

/* PWA install + MySQL installer refinements */
.mobile-install-banner{display:none}.mysql-install-form h3{margin:12px 0 0;padding-top:10px;border-top:1px solid #dec993;color:#4c371f;font:800 16px Georgia,serif}.install-migrate-check{display:flex!important;grid-template-columns:none!important;flex-direction:row!important;align-items:flex-start!important;gap:10px;padding:12px;border:1px solid #cfe29f;border-radius:13px;background:#f2f9df}.install-migrate-check input{flex:0 0 18px;width:18px!important;height:18px!important;margin-top:2px}.install-migrate-check span{display:grid;gap:3px}.install-migrate-check b{font-size:11px}.install-migrate-check small{color:#6f6047;font-size:9px;line-height:1.45}
@media(max-width:760px){.mobile-install-banner{display:block;margin:8px 9px 0}.mobile-install-banner button{width:100%;min-height:62px;display:grid;grid-template-columns:45px 1fr;grid-template-areas:'icon title' 'icon note';gap:2px 10px;align-items:center;padding:10px 13px;border:1px solid #c9dd96;border-radius:17px;color:#f9ffe9;background:linear-gradient(135deg,#648f31,#4f7626);box-shadow:0 8px 20px rgba(58,86,33,.17);text-align:left;cursor:pointer}.mobile-install-banner button span{grid-area:icon;display:grid;place-items:center;width:45px;height:45px;border-radius:13px;background:rgba(255,255,255,.15);font-size:22px}.mobile-install-banner button b{grid-area:title;font:800 13px Georgia,serif}.mobile-install-banner button small{grid-area:note;color:#e3efc7;font-size:9px}.mobile-install-banner button.install-ready{border-color:#ecf8b9;background:linear-gradient(135deg,#7eaf3c,#5f8d2c)}.mobile-install-banner button:disabled{opacity:.7}}
.admin-top-status{display:flex;align-items:center;gap:8px}.admin-db-badge{display:inline-flex;align-items:center;min-height:34px;padding:0 11px;border:1px solid #365039;border-radius:999px;color:#bce889;background:#17251a;font-size:9px;font-weight:900;letter-spacing:.06em}.admin-db-badge::first-letter{color:#83d84d}@media(max-width:640px){.admin-db-badge{min-height:30px;padding:0 9px;font-size:8px}.admin-top-status{margin-left:auto}}


/* Animal breed & description */
.animal-breed-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:9px 0 0;padding:8px 10px;border:1px solid #e5d2a7;border-radius:10px;background:#fff8e7}.animal-breed-line span{color:#8b7453;font-size:8px;font-weight:900;letter-spacing:.11em}.animal-breed-line strong{color:#4b371f;font:800 11px Georgia,serif}.animal-card-description{margin:8px 0 2px;padding:9px 10px;border-left:3px solid #a6c65d;border-radius:0 9px 9px 0;color:#6f5d43;background:#fbf7ec;font-size:10px;line-height:1.55}.collection-breed{display:inline-flex;margin-top:4px;padding:4px 7px;border-radius:999px;color:#5f7d2d;background:#edf6d7;font-size:9px;font-weight:900}.collection-description{margin:7px 0 0;color:#79694f;font-size:10px;line-height:1.5}.animal-admin-fields textarea{width:100%;min-height:88px;padding:10px;border:1px solid #35433a;border-radius:9px;color:var(--admin-text);background:#111813;font:inherit;resize:vertical;outline:0}.animal-admin-fields textarea:focus{border-color:#6f943a}.admin-form textarea{width:100%;padding:10px;border:1px solid #35433a;border-radius:9px;color:var(--admin-text);background:#111813;font:inherit;resize:vertical;outline:0}.admin-form textarea:focus{border-color:#6f943a}
@media(max-width:640px){.animal-breed-line{padding:7px 8px}.animal-card-description{font-size:10px;line-height:1.5}.animal-admin-fields textarea,.admin-form textarea{font-size:16px}}

/* Android + iOS side-by-side install center */
.platform-install-grid{width:min(1180px,calc(100% - 28px));margin:10px auto 16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.platform-install-card{min-width:0;display:grid;grid-template-columns:52px minmax(0,1fr) 28px;align-items:center;gap:12px;min-height:78px;padding:12px 14px;border:1px solid #d7c28e;border-radius:19px;color:#382b1d;background:#fffaf0;box-shadow:0 7px 20px rgba(69,48,22,.1);text-decoration:none;text-align:left;font:inherit;cursor:pointer}.platform-install-card.android{border-color:#bcd58f;background:linear-gradient(135deg,#f4fbe8,#e5f3cd)}.platform-install-card.ios{border-color:#c8cad1;background:linear-gradient(135deg,#fff,#eef0f4)}.platform-install-card:active{transform:translateY(1px)}.platform-install-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:#fff;font-size:25px;box-shadow:0 4px 12px rgba(56,45,30,.11)}.platform-install-card.android .platform-install-icon{background:#dff1c1}.platform-install-card.ios .platform-install-icon{background:#e3e5e9;color:#111}.apple-icon{font-family:Arial,Helvetica,sans-serif;font-size:31px}.platform-install-copy{min-width:0;display:grid;gap:2px}.platform-install-copy small{color:#708056;font-size:8px;font-weight:900;letter-spacing:.12em}.platform-install-card.ios .platform-install-copy small{color:#6e7077}.platform-install-copy strong{font:800 17px Georgia,serif;white-space:normal}.platform-install-copy em{overflow:hidden;color:#79694f;font-size:9px;font-style:normal;line-height:1.35;white-space:normal}.platform-install-card>b{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;color:#fff;background:#6f9c32;font-size:17px}.platform-install-card.ios>b{background:#24262a}.platform-install-card.install-ready{outline:2px solid rgba(113,157,53,.16);box-shadow:0 8px 22px rgba(72,105,35,.15)}
@media(max-width:760px){.platform-install-grid{width:calc(100% - 18px);margin:8px 9px 10px;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.platform-install-card{grid-template-columns:38px minmax(0,1fr);grid-template-areas:'icon copy' 'action copy';align-items:center;gap:5px 8px;min-height:90px;padding:10px 9px;border-radius:16px}.platform-install-icon{grid-area:icon;width:38px;height:38px;border-radius:12px;font-size:19px}.apple-icon{font-size:24px}.platform-install-copy{grid-area:copy}.platform-install-copy small{font-size:7px}.platform-install-copy strong{font-size:13px;line-height:1.1}.platform-install-copy em{font-size:8px;line-height:1.3}.platform-install-card>b{grid-area:action;width:30px;height:24px;border-radius:9px;font-size:14px}.mobile-install-banner{display:none!important}}
@media(max-width:360px){.platform-install-grid{gap:5px}.platform-install-card{padding:9px 7px;grid-template-columns:34px minmax(0,1fr);gap:4px 6px}.platform-install-icon{width:34px;height:34px}.platform-install-copy strong{font-size:12px}.platform-install-copy em{font-size:7px}}

/* 2026 Premium button system */
:root{--premium-green-1:#9fd44e;--premium-green-2:#6d9e2f;--premium-gold-1:#f8dc8a;--premium-gold-2:#d9a63e;--premium-ink:#352616;--premium-soft:#fffaf0}
.primary-button,.primary-link,.buy-button,.product-sell-button,.referral-copy-button,.receipt-button,.balance-premium-button,.finance-main-button,.animal-filter-chip,.platform-install-card,.header-link,.mobile-nav-card,.mobile-bottom-nav a,.mobile-bottom-nav button{position:relative;isolation:isolate;overflow:hidden;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,filter .18s ease}.primary-button:before,.primary-link:before,.buy-button:before,.product-sell-button:before,.referral-copy-button:before,.receipt-button:before,.balance-premium-button:before,.finance-main-button:before,.animal-filter-chip:before,.platform-install-card:before,.header-link:before,.mobile-nav-card:before,.mobile-bottom-nav a:before,.mobile-bottom-nav button:before{content:"";position:absolute;z-index:-1;left:8%;right:8%;top:0;height:45%;border-radius:999px;background:linear-gradient(180deg,rgba(255,255,255,.32),rgba(255,255,255,0));pointer-events:none}
.primary-button,.primary-link,.buy-button,.product-sell-button{min-height:44px;border:1px solid rgba(86,125,38,.38)!important;border-radius:14px!important;color:#fff!important;background:linear-gradient(180deg,var(--premium-green-1),var(--premium-green-2))!important;box-shadow:0 5px 0 #547d25,0 10px 22px rgba(75,108,35,.18)!important;text-shadow:0 1px 0 rgba(0,0,0,.18);letter-spacing:.035em}.primary-button:hover,.primary-link:hover,.buy-button:hover,.product-sell-button:hover{transform:translateY(-2px);filter:saturate(1.08);box-shadow:0 6px 0 #547d25,0 14px 26px rgba(75,108,35,.24)!important}.primary-button:active,.primary-link:active,.buy-button:active,.product-sell-button:active{transform:translateY(3px);box-shadow:0 2px 0 #547d25,0 6px 12px rgba(75,108,35,.14)!important}
.header-link{border-radius:12px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 6px 16px rgba(38,28,17,.12)}.header-link.filled{background:linear-gradient(180deg,#9fd64b,#6d9d30)!important;border-color:#c9ec85!important;box-shadow:0 4px 0 #4f7821,0 10px 18px rgba(35,61,20,.2)!important}.header-link:hover{transform:translateY(-1px)}
.balance-premium-button,.finance-main-button{border:1px solid rgba(193,159,92,.46)!important;background:linear-gradient(145deg,#fffdf7,#fff5df)!important;box-shadow:0 8px 20px rgba(91,63,27,.09),inset 0 1px 0 #fff!important}.balance-premium-button:hover,.finance-main-button:hover{transform:translateY(-2px);border-color:#b7cf7b!important;box-shadow:0 12px 26px rgba(91,63,27,.13),inset 0 1px 0 #fff!important}
.animal-filter-chip{border:1px solid #d9c28f!important;border-radius:16px!important;background:linear-gradient(180deg,#fffdf8,#f9edd4)!important;box-shadow:0 5px 13px rgba(91,64,31,.08)!important}.animal-filter-chip.active,.animal-filter-chip[aria-pressed="true"]{color:#fff!important;border-color:#7fa839!important;background:linear-gradient(180deg,#98c74a,#668f2d)!important;box-shadow:0 5px 0 #4f7426,0 10px 18px rgba(71,105,34,.2)!important}.animal-filter-chip:hover{transform:translateY(-2px)}
.referral-copy-button,.receipt-button{border:1px solid #d6b25f!important;border-radius:13px!important;color:#553b12!important;background:linear-gradient(180deg,#fff1b8,#e7c363)!important;box-shadow:0 4px 0 #bb9132,0 9px 18px rgba(128,92,28,.15)!important}.referral-copy-button:active,.receipt-button:active{transform:translateY(3px);box-shadow:0 1px 0 #bb9132,0 5px 10px rgba(128,92,28,.12)!important}
.platform-install-grid{gap:12px}.platform-install-card{min-height:108px!important;border-radius:22px!important;border:1px solid rgba(255,255,255,.68)!important;box-shadow:0 12px 30px rgba(63,48,29,.14),inset 0 1px 0 rgba(255,255,255,.95)!important}.platform-install-card.android{background:linear-gradient(145deg,#f7ffe8,#dceebd 58%,#c7e297)!important}.platform-install-card.ios{background:linear-gradient(145deg,#ffffff,#f0f1f4 58%,#e0e2e7)!important}.platform-install-card:hover{transform:translateY(-3px) scale(1.005);box-shadow:0 18px 36px rgba(63,48,29,.18),inset 0 1px 0 #fff!important}.platform-install-card:active{transform:translateY(1px)}.platform-install-card.install-ready{border-color:#9dc65a!important;box-shadow:0 0 0 3px rgba(139,188,72,.14),0 18px 38px rgba(70,107,34,.2)!important}.platform-install-icon{border:1px solid rgba(255,255,255,.8);box-shadow:0 7px 16px rgba(56,45,30,.13),inset 0 1px 0 #fff!important}.platform-install-copy small{font-size:9px!important;letter-spacing:.16em!important}.platform-install-copy strong{font-size:18px!important;letter-spacing:-.01em}.platform-install-copy em{font-size:10px!important}.platform-install-card>b{box-shadow:0 4px 10px rgba(60,75,36,.18)}
.mobile-bottom-nav{border:1px solid rgba(218,195,144,.72);background:rgba(255,250,239,.96)!important;backdrop-filter:blur(12px);box-shadow:0 -6px 24px rgba(67,50,28,.12)!important}.mobile-bottom-nav a,.mobile-bottom-nav button{border-radius:14px!important}.mobile-bottom-nav a:active,.mobile-bottom-nav button:active{transform:scale(.96)}
.panel-close{box-shadow:0 4px 12px rgba(74,54,27,.12);transition:.18s}.panel-close:hover{transform:rotate(4deg) scale(1.05);background:#fff7e5}.withdraw-type-switch button{border-radius:14px!important;box-shadow:0 5px 13px rgba(88,62,28,.08)}.withdraw-type-switch button.active{background:linear-gradient(180deg,#91bd45,#69932f)!important;box-shadow:0 4px 0 #527426,0 9px 16px rgba(74,108,35,.17)}
@media(max-width:760px){.platform-install-grid{gap:9px}.platform-install-card{min-height:102px!important;padding:11px 9px!important}.platform-install-copy strong{font-size:14px!important}.platform-install-copy em{font-size:8px!important}.primary-button,.primary-link,.buy-button,.product-sell-button{min-height:43px}.animal-filter-chip{min-height:58px!important;border-radius:15px!important}}
@media(prefers-reduced-motion:reduce){.primary-button,.primary-link,.buy-button,.product-sell-button,.referral-copy-button,.receipt-button,.balance-premium-button,.finance-main-button,.animal-filter-chip,.platform-install-card,.header-link,.mobile-nav-card,.mobile-bottom-nav a,.mobile-bottom-nav button{transition:none!important}}

/* Android install fallback / Chrome handoff */
.install-help-body{min-width:0;flex:1}.install-status{display:block;margin-top:9px;padding:8px 9px;border-radius:10px;color:#6d604b;background:#f4ead2;font-size:8px;line-height:1.5;overflow-wrap:anywhere}.install-help-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.install-help-actions a,.install-help-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 12px;border:1px solid #b8ce80;border-radius:11px;color:#fff;background:linear-gradient(180deg,#7aaa3b,#5d872b);box-shadow:0 4px 10px rgba(68,91,37,.14);font:900 10px Arial,Helvetica,sans-serif;text-decoration:none;cursor:pointer}.install-help-actions button{border-color:#d6c69d;color:#5c4a30;background:#fff8e7;box-shadow:none}.install-help-x{flex:0 0 32px!important}.install-help-actions [hidden]{display:none!important}
@media(max-width:640px){.install-help{align-items:flex-start}.install-help-actions{display:grid;grid-template-columns:1fr 1fr}.install-help-actions a,.install-help-actions button{width:100%;min-height:42px}.install-status{font-size:7px}}


/* MOBILE COMPACT LAYOUT FIX v3 */
html,body{max-width:100%;overflow-x:hidden}
@media (max-width:900px){.farm-layout{grid-template-columns:1fr;width:calc(100% - 18px);gap:14px;margin:-2px auto 108px}.sidebar{order:2}.content-column{order:1}.topbar{width:calc(100% - 18px);min-height:auto;padding:14px 0 18px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}.brand{min-width:0;gap:9px}.brand-mark{width:42px;height:42px;font-size:22px;border-width:3px}.brand>span:last-child{font-size:23px}.brand em{margin-left:14px}.nest-nav{display:none}.account-area{grid-column:1/-1;display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}.account-area .profile-chip{max-width:none}.header-link{flex:1 1 calc(50% - 6px);justify-content:center;min-height:40px;padding:0 10px;font-size:10px}.platform-install-grid{width:calc(100% - 18px);margin:8px auto 12px;grid-template-columns:1fr;gap:8px}.platform-install-card{min-height:88px!important}.overview-card{grid-template-columns:1fr;padding:18px 16px;gap:16px;border-radius:18px}.overview-card h1{font-size:26px;line-height:1.08}.overview-card>div>p:last-child{font-size:12px;line-height:1.6}.overview-stats{grid-template-columns:1fr;gap:10px}.market-section{padding:17px 14px;border-radius:18px}.section-heading{flex-direction:column;align-items:flex-start;gap:10px}.section-heading h2{font-size:22px}.sale-badge{width:100%;transform:none}.side-card{padding:26px 12px 14px;border-radius:16px}.ribbon{width:calc(100% - 34px);min-width:0;font-size:15px}.level-row{flex-wrap:wrap}.balance-row{grid-template-columns:22px 1fr;gap:6px}.balance-row strong{grid-column:2;justify-self:start;margin-top:2px;font-size:16px}.balance-action-grid,.premium-action-grid{display:grid!important;grid-template-columns:1fr!important}.balance-premium-button{width:100%;min-height:56px}.payment-grid,.deposit-method-grid{grid-template-columns:1fr!important}.finance-panel,.finance-panel[data-finance-panel="withdraw"],.finance-panel[data-finance-panel="history"],.finance-panel[data-finance-panel="collection"],.finance-panel[data-finance-panel="referral"]{left:8px;right:8px;bottom:76px;width:auto;max-width:none}.table-wrap{overflow:auto}.table-wrap table{min-width:620px}footer{width:calc(100% - 18px);padding:16px 14px 92px;flex-direction:column;align-items:flex-start}}
@media (max-width:520px){.tree-header{min-height:124px}.canopy{display:none}.branch{height:24px;bottom:5px}.topbar{grid-template-columns:minmax(0,1fr) auto}.account-area{display:grid;grid-template-columns:1fr 1fr;gap:8px}.account-area .profile-chip{grid-column:1/-1}.header-link{min-width:0;font-size:10px}.brand>span:last-child{font-size:21px}.platform-install-copy strong{font-size:13px!important}.bird-grid{grid-template-columns:1fr;gap:10px}.bird-card{grid-template-columns:94px minmax(0,1fr)}.bird-visual{min-height:148px}.sprite-bird{width:86px;height:86px}.bird-title-row{flex-wrap:wrap}.bird-title-row h3{font-size:15px}.bird-details{padding:10px 8px}.bird-details dl div{align-items:flex-start;gap:8px}.bird-details dt{font-size:9px}.bird-details dd{font-size:10px}.buy-row{display:grid;grid-template-columns:82px minmax(0,1fr);gap:6px}.quantity-control{width:82px;grid-template-columns:24px 34px 24px}.quantity-control button,.quantity-control input{height:36px}.buy-button{min-height:36px;font-size:10px}.mobile-bottom-nav{left:6px;right:6px;bottom:6px;padding:5px;gap:3px}.mobile-bottom-nav a,.mobile-bottom-nav button{min-height:50px}.mobile-bottom-nav span{font-size:18px}.mobile-bottom-nav b{font-size:7px}}
@media (max-width:380px){.farm-layout,.platform-install-grid,footer{width:calc(100% - 14px)}.overview-card{padding:16px 12px}.overview-card h1{font-size:22px}.brand>span:last-child{font-size:19px}.brand-mark{width:38px;height:38px;font-size:19px}.header-link{font-size:9px;padding:0 7px}.platform-install-card{padding:9px 8px!important}.platform-install-copy small{font-size:6px!important}.platform-install-copy strong{font-size:12px!important}.platform-install-copy em{font-size:7px!important}.side-card,.market-section{padding-left:10px;padding-right:10px}.balance-row span{font-size:11px}}

/* REFERANS MERKEZI MOBIL GERI YUKLEME v4 */
.referral-mobile-card{border:1px solid rgba(231,174,45,.28)!important;background:linear-gradient(180deg,rgba(255,229,142,.18),rgba(255,255,255,.06))!important}
@media(max-width:900px){
  .mobile-bottom-nav{grid-template-columns:repeat(5,minmax(0,1fr))!important}
  .mobile-bottom-nav a,.mobile-bottom-nav button{min-width:0!important;padding-left:1px!important;padding-right:1px!important}
  .mobile-bottom-nav b{font-size:7px!important;white-space:nowrap}
}
@media(max-width:380px){.mobile-bottom-nav span{font-size:17px!important}.mobile-bottom-nav b{font-size:6.5px!important}}

/* APK LOGO + REFERANS MENU FIX v5 */
@media(max-width:760px){
  .mobile-bottom-nav{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media(max-width:380px){
  .mobile-bottom-nav b{white-space:normal!important;line-height:1.05}
}

/* MOBIL ACILIR MENU KOMPAKT FIX v6 */
@media(max-width:760px){
  .mobile-nav{
    top:70px!important;
    left:7px!important;
    right:7px!important;
    width:auto!important;
    max-height:calc(100vh - 82px)!important;
    overflow-y:auto!important;
    overscroll-behavior:contain;
    padding:7px!important;
    gap:6px!important;
    border-radius:0 0 16px 16px!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .mobile-nav a,
  .mobile-nav-card{
    min-height:54px!important;
    grid-template-columns:31px minmax(0,1fr)!important;
    grid-template-areas:'icon title' 'icon text'!important;
    column-gap:7px!important;
    row-gap:0!important;
    padding:6px 7px!important;
    border-radius:11px!important;
  }
  .mobile-nav a span,
  .mobile-nav-card>span{
    width:31px!important;
    height:31px!important;
    border-radius:9px!important;
    font-size:14px!important;
    box-shadow:0 2px 0 #ab7a2f!important;
  }
  .mobile-nav a strong,
  .mobile-nav-card strong{
    font-size:10px!important;
    line-height:1.05!important;
  }
  .mobile-nav a small,
  .mobile-nav-card small{
    font-size:7px!important;
    line-height:1.15!important;
  }
}
@media(max-width:380px){
  .mobile-nav{padding:6px!important;gap:5px!important}
  .mobile-nav a,.mobile-nav-card{min-height:50px!important;padding:5px 6px!important;grid-template-columns:28px minmax(0,1fr)!important;column-gap:6px!important}
  .mobile-nav a span,.mobile-nav-card>span{width:28px!important;height:28px!important;font-size:13px!important}
  .mobile-nav a strong,.mobile-nav-card strong{font-size:9px!important}
  .mobile-nav a small,.mobile-nav-card small{font-size:6.5px!important}
}

/* KUS CIFTLIGI GECE / GUNDUZ MODU v8 */
:root{color-scheme:light}
html[data-theme="dark"]{color-scheme:dark;--cream:#0e1510;--paper:#151f17;--ink:#ecf2e7;--line:#354a38;--gold:#e4b94f;--green:#8eb64b;--green-dark:#6c9235}
.theme-toggle{gap:6px;white-space:nowrap}
.theme-toggle [data-theme-icon]{font-size:15px}
.theme-menu-card{border-color:rgba(255,226,141,.22)!important}
.auth-card{position:relative}
.auth-theme-toggle{position:absolute;top:12px;right:12px;display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 10px;border:1px solid #d9c691;border-radius:999px;color:#59462d;background:#fff8e6;font:800 9px Arial,Helvetica,sans-serif;cursor:pointer;box-shadow:0 4px 12px rgba(70,50,25,.08)}

html[data-theme="dark"] body{color:#e9efe7;background:radial-gradient(circle at 10% 10%,rgba(82,118,62,.14),transparent 28rem),repeating-linear-gradient(0deg,rgba(255,255,255,.018) 0 1px,transparent 1px 5px),#0d1410!important}
html[data-theme="dark"] .farm-shell{background:linear-gradient(180deg,rgba(17,27,20,.15),rgba(10,15,12,.1))}
html[data-theme="dark"] .tree-header{background:linear-gradient(180deg,#233c25 0 47%,#45331f 48% 78%,transparent 79%)}
html[data-theme="dark"] .canopy{background:#355e31;filter:drop-shadow(0 8px 0 #1e3820)}
html[data-theme="dark"] .branch{background:linear-gradient(#654b2f,#332518);box-shadow:0 7px 0 #21170f}
html[data-theme="dark"] .brand{color:#f2d77c}
html[data-theme="dark"] .header-link,html[data-theme="dark"] .profile-chip{color:#f1f5ed;border-color:rgba(255,255,255,.16);background:rgba(11,19,13,.54)}
html[data-theme="dark"] .header-link.filled{background:#557b32;border-color:#86a85e}
html[data-theme="dark"] .mobile-nav{border-color:#354839!important;background:linear-gradient(180deg,#18231b,#101712)!important;box-shadow:0 14px 34px rgba(0,0,0,.38)!important}
html[data-theme="dark"] .mobile-nav a,html[data-theme="dark"] .mobile-nav-card{color:#edf3e9!important;border-color:#304334!important;background:#1b281e!important}
html[data-theme="dark"] .mobile-nav small{color:#9eae9e!important}
html[data-theme="dark"] .side-card,html[data-theme="dark"] .overview-card,html[data-theme="dark"] .market-section{color:#e9efe7;border-color:#334839!important;background:#151f17!important;box-shadow:0 8px 24px rgba(0,0,0,.24),inset 0 0 0 1px rgba(255,255,255,.025)!important}
html[data-theme="dark"] .overview-card{background:linear-gradient(120deg,#172219,#1c2a1e)!important}
html[data-theme="dark"] .overview-card>div>p:last-child,html[data-theme="dark"] .mini-info p,html[data-theme="dark"] .animal-card-description,html[data-theme="dark"] .finance-help,html[data-theme="dark"] .referral-subtitle{color:#aebbae!important}
html[data-theme="dark"] .eyebrow{color:#a8d36a}
html[data-theme="dark"] .ribbon{color:#10200e;background:linear-gradient(#b4db62,#7fa743);box-shadow:0 4px 0 #506d2d}
html[data-theme="dark"] .level-row,html[data-theme="dark"] .balance-row span,html[data-theme="dark"] .bird-details dt,html[data-theme="dark"] .platform-install-copy em,html[data-theme="dark"] .finance-form label{color:#aeb9aa!important}
html[data-theme="dark"] .progress-track{background:#2a382c}
html[data-theme="dark"] .balance-row{border-color:#354638}
html[data-theme="dark"] .side-menu a,html[data-theme="dark"] .side-action{color:#e6eee2!important;background:transparent!important}
html[data-theme="dark"] .side-menu a:hover,html[data-theme="dark"] .side-action:hover{background:#223126!important}
html[data-theme="dark"] .mini-info small{color:#c5b585;background:#2f2a1d}
html[data-theme="dark"] .overview-stats>div{border-color:#364a39;background:#1e2b21}
html[data-theme="dark"] .overview-stats span{color:#9faa9d}
html[data-theme="dark"] .sale-badge{color:#ebce7f;border-color:#8e6c25;background:#302719}
html[data-theme="dark"] .animal-filter-chip{color:#e8eee3!important;border-color:#3a4f3d!important;background:#1d2b20!important}
html[data-theme="dark"] .animal-filter-chip.active{color:#17210f!important;background:linear-gradient(#b0d85b,#86ae42)!important}
html[data-theme="dark"] .bird-card,html[data-theme="dark"] .collection-card,html[data-theme="dark"] .payment-card,html[data-theme="dark"] .history-block,html[data-theme="dark"] .referral-invite-card,html[data-theme="dark"] .premium-referral-stats article{color:#e9efe7!important;border-color:#35483a!important;background:#19241c!important;box-shadow:0 5px 16px rgba(0,0,0,.22)!important}
html[data-theme="dark"] .bird-visual,html[data-theme="dark"] .collection-bird-visual{border-color:#38483a!important;background:linear-gradient(145deg,#263226,#1d281f)!important}
html[data-theme="dark"] .bird-details dd,html[data-theme="dark"] .bird-title-row h3,html[data-theme="dark"] .collection-title,html[data-theme="dark"] .payment-title-row h3{color:#f2f6ef!important}
html[data-theme="dark"] .animal-breed-line,html[data-theme="dark"] .animal-product-badge{color:#c9d4c6!important;background:#263427!important;border-color:#3a4b3c!important}
html[data-theme="dark"] .quantity-control{border-color:#435244;background:#182119}
html[data-theme="dark"] .quantity-control button{color:#e7efe1;background:#2c382d}
html[data-theme="dark"] .quantity-control input{color:#eff4ec;background:#151e17}
html[data-theme="dark"] .platform-install-card{color:#e9efe7!important;border-color:#35473a!important;background:#18231b!important;box-shadow:0 12px 30px rgba(0,0,0,.24)!important}
html[data-theme="dark"] .platform-install-card.android{background:linear-gradient(145deg,#1b2d1b,#243a20 58%,#2f4925)!important}
html[data-theme="dark"] .platform-install-card.ios{background:linear-gradient(145deg,#202428,#1b1f22 58%,#15181a)!important}
html[data-theme="dark"] .platform-install-icon{border-color:#3c4a3e!important;background:#202b22!important;box-shadow:none!important}
html[data-theme="dark"] .platform-install-card.android .platform-install-icon{background:#2e4728!important}
html[data-theme="dark"] .platform-install-card.ios .platform-install-icon{color:#f2f4f5;background:#2b2e31!important}
html[data-theme="dark"] .platform-install-copy small{color:#a8bf8c!important}
html[data-theme="dark"] .finance-panel{color:#eaf0e7!important;border-color:#35483a!important;background:#121b14!important;box-shadow:0 18px 54px rgba(0,0,0,.48)!important}
html[data-theme="dark"] .finance-panel-head{border-color:#304136!important}
html[data-theme="dark"] .panel-close{color:#eef4eb!important;background:#263329!important;border-color:#3b4c3d!important}
html[data-theme="dark"] .finance-form input,html[data-theme="dark"] .finance-form select,html[data-theme="dark"] .finance-form textarea,html[data-theme="dark"] .auth-form input{color:#edf3e9!important;border-color:#435247!important;background:#101812!important}
html[data-theme="dark"] .payment-value,html[data-theme="dark"] .referral-code-shell,html[data-theme="dark"] .withdraw-balance-note{color:#dbe4d7!important;border-color:#394a3d!important;background:#101812!important}
html[data-theme="dark"] .payment-value code,html[data-theme="dark"] .referral-code-shell code{color:#e8d68d!important}
html[data-theme="dark"] .table-wrap table{color:#e2e9df!important;background:#151f17!important}
html[data-theme="dark"] .table-wrap th{color:#a8b6a6!important;background:#1c2920!important}
html[data-theme="dark"] .table-wrap td,html[data-theme="dark"] .table-wrap th{border-color:#304235!important}
html[data-theme="dark"] .mobile-bottom-nav{border-color:#35463a!important;background:rgba(18,27,20,.96)!important;box-shadow:0 -8px 28px rgba(0,0,0,.32)!important}
html[data-theme="dark"] .mobile-bottom-nav a,html[data-theme="dark"] .mobile-bottom-nav button{color:#edf3e9!important}
html[data-theme="dark"] footer{color:#9eab9c;border-color:#344638}
html[data-theme="dark"] .auth-body{background:radial-gradient(circle at 50% 0,#1b2b1f,transparent 34rem),#0d1410!important;color:#e9efe7!important}
html[data-theme="dark"] .auth-card{color:#edf3e9!important;border-color:#35483a!important;background:#162018!important;box-shadow:0 18px 50px rgba(0,0,0,.42)!important}
html[data-theme="dark"] .auth-copy,html[data-theme="dark"] .auth-bottom{color:#aeb9aa!important}
html[data-theme="dark"] .auth-bottom a{color:#b8dc76!important}
html[data-theme="dark"] .auth-theme-toggle{color:#e9efe7;border-color:#405044;background:#202d23;box-shadow:none}
html[data-theme="dark"] .notice.info{color:#e6d38f;border-color:#756633;background:#2a281a}
html[data-theme="dark"] .notice.success{color:#c7e9ac;border-color:#496a3a;background:#1b2d1c}
html[data-theme="dark"] .notice.error{color:#f1b4ad;border-color:#74433e;background:#2d1b19}
@media(max-width:760px){.theme-toggle{min-width:0!important}.theme-toggle [data-theme-label]{overflow:hidden;text-overflow:ellipsis}}
@media(max-width:420px){.auth-theme-toggle{top:9px;right:9px;min-height:30px;padding:0 8px;font-size:8px}}

/* =========================================================
   KUS CIFTLIGI v10 - PROFESYONEL MOBIL + SAGLAM TEMA
   ========================================================= */
html.theme-dark,body.theme-dark{color-scheme:dark}
html.theme-dark body,body.theme-dark{color:#eef4ea!important;background:#0b120e!important}
html.theme-dark .farm-shell,body.theme-dark .farm-shell{background:#0b120e!important}
html.theme-dark .side-card,html.theme-dark .overview-card,html.theme-dark .market-section,
body.theme-dark .side-card,body.theme-dark .overview-card,body.theme-dark .market-section{color:#eef4ea!important;border-color:#2c4232!important;background:#121c15!important;box-shadow:0 12px 30px rgba(0,0,0,.25)!important}
html.theme-dark .bird-card,body.theme-dark .bird-card{color:#edf3e9!important;border-color:#304537!important;background:#162119!important}
html.theme-dark .bird-visual,body.theme-dark .bird-visual{background:linear-gradient(145deg,#223026,#18221b)!important;border-color:#304537!important}
html.theme-dark .bird-details dt,html.theme-dark .market-intro,html.theme-dark .overview-card>div>p:last-child,
body.theme-dark .bird-details dt,body.theme-dark .market-intro,body.theme-dark .overview-card>div>p:last-child{color:#a9b6aa!important}
html.theme-dark .mobile-bottom-nav,body.theme-dark .mobile-bottom-nav{background:rgba(15,24,18,.97)!important;border-color:#2e4335!important}
html.theme-dark .mobile-nav,body.theme-dark .mobile-nav{background:#121c15!important;border-color:#2d4334!important}
html.theme-dark .mobile-nav a,html.theme-dark .mobile-nav-card,body.theme-dark .mobile-nav a,body.theme-dark .mobile-nav-card{color:#edf3e9!important;background:#19251c!important;border-color:#2f4436!important}

@media(max-width:900px){
  html{scroll-padding-top:82px}
  body{background:#f4f6f1!important}
  .farm-shell{overflow:visible;background:#f4f6f1}
  .tree-header{position:sticky!important;top:0;z-index:180;min-height:68px!important;background:rgba(52,91,44,.97)!important;box-shadow:0 6px 22px rgba(24,48,27,.18);backdrop-filter:blur(14px)}
  .tree-header:before,.canopy,.branch{display:none!important}
  .topbar{width:100%!important;min-height:68px!important;padding:8px 12px!important;display:grid!important;grid-template-columns:minmax(0,1fr) 42px 42px!important;gap:8px!important}
  .brand{min-width:0!important;gap:9px!important;text-shadow:none!important;color:#fff!important}
  .brand-mark{width:40px!important;height:40px!important;border:0!important;border-radius:13px!important;background:#fff url("app-icon-192.png") center/cover no-repeat!important;box-shadow:0 4px 12px rgba(0,0,0,.15)!important;font-size:0!important}
  .brand>span:last-child{display:block!important;font-family:Arial,Helvetica,sans-serif!important;font-size:0!important;line-height:1!important}
  .brand strong{display:block;font-size:15px!important;letter-spacing:-.01em;color:#fff}
  .brand em{display:block!important;margin:3px 0 0!important;font-size:9px!important;font-style:normal!important;font-weight:700!important;letter-spacing:.13em!important;color:#d9eccf!important;text-transform:uppercase}
  .mobile-nav-toggle{position:static!important;grid-column:3!important;grid-row:1!important;width:42px!important;height:42px!important;border:1px solid rgba(255,255,255,.2)!important;border-radius:13px!important;background:rgba(255,255,255,.1)!important;box-shadow:none!important}
  .mobile-nav-toggle span{width:18px!important;height:2px!important;background:#fff!important}
  .account-area{grid-column:2!important;grid-row:1!important;display:block!important;margin:0!important}
  .account-area>*:not(.theme-toggle){display:none!important}
  .account-area .theme-toggle{display:grid!important;place-items:center!important;width:42px!important;height:42px!important;min-height:42px!important;padding:0!important;border:1px solid rgba(255,255,255,.2)!important;border-radius:13px!important;background:rgba(255,255,255,.1)!important;color:#fff!important}
  .theme-toggle [data-theme-icon]{font-size:18px!important}
  .theme-toggle [data-theme-label]{display:none!important}
  .nest-nav{display:none!important}

  .mobile-nav{position:fixed!important;top:76px!important;left:10px!important;right:10px!important;width:auto!important;max-height:calc(100dvh - 96px)!important;overflow:auto!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;padding:10px!important;border:1px solid #dce4d8!important;border-radius:20px!important;background:rgba(255,255,255,.985)!important;box-shadow:0 20px 50px rgba(36,55,39,.22)!important;overscroll-behavior:contain}
  .mobile-nav[hidden]{display:none!important}
  .mobile-nav a,.mobile-nav-card{min-height:64px!important;padding:9px!important;display:grid!important;grid-template-columns:36px minmax(0,1fr)!important;grid-template-rows:auto auto!important;column-gap:8px!important;align-items:center!important;border:1px solid #e6ece3!important;border-radius:15px!important;background:#f8faf7!important;color:#233226!important;text-align:left!important;box-shadow:none!important}
  .mobile-nav a span,.mobile-nav-card>span{grid-row:1/3!important;width:36px!important;height:36px!important;display:grid!important;place-items:center!important;border-radius:11px!important;background:#e8f2df!important;font-size:17px!important}
  .mobile-nav a strong,.mobile-nav-card strong{font-size:10px!important;line-height:1.1!important;color:inherit!important}
  .mobile-nav a small,.mobile-nav-card small{font-size:7.5px!important;line-height:1.15!important;color:#788378!important}
  .referral-mobile-card{background:linear-gradient(145deg,#fffaf0,#f9f1db)!important;border-color:#ead8a9!important}
  .referral-mobile-card>span{background:#fff0c5!important}

  .platform-install-grid{width:calc(100% - 20px)!important;margin:10px auto!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .platform-install-card{min-height:58px!important;padding:8px 9px!important;grid-template-columns:34px minmax(0,1fr) 22px!important;grid-template-areas:none!important;gap:7px!important;border-radius:15px!important;box-shadow:0 7px 18px rgba(47,65,48,.08)!important}
  .platform-install-icon{grid-area:auto!important;width:34px!important;height:34px!important;border-radius:10px!important;font-size:16px!important}
  .platform-install-copy{grid-area:auto!important;gap:0!important}
  .platform-install-copy small{font-size:6px!important;letter-spacing:.08em!important}
  .platform-install-copy strong{font:800 11px Arial,Helvetica,sans-serif!important;line-height:1.15!important}
  .platform-install-copy em{display:none!important}
  .platform-install-card>b{grid-area:auto!important;width:22px!important;height:22px!important;font-size:11px!important}

  .farm-layout{width:calc(100% - 20px)!important;margin:10px auto 96px!important;display:flex!important;flex-direction:column!important;gap:12px!important}
  .sidebar{order:1!important;display:block!important}
  .content-column{order:2!important;display:grid!important;gap:12px!important}
  .sidebar .side-menu,.sidebar .premium-guide{display:none!important}
  .balance-card{padding:22px 13px 13px!important;border:1px solid #dce4d6!important;border-radius:20px!important;background:#fff!important;box-shadow:0 10px 26px rgba(45,65,47,.08)!important}
  .balance-card .ribbon{top:10px!important;left:12px!important;transform:none!important;width:auto!important;min-width:0!important;padding:0!important;color:#71806e!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;font:800 8px Arial,Helvetica,sans-serif!important;letter-spacing:.11em!important;text-transform:uppercase}
  .level-row{margin-top:11px!important;font-size:9px!important}
  .level-row span{padding:4px 7px!important;border-radius:8px!important}
  .progress-track{height:5px!important;margin:6px 0 9px!important}
  .balance-row{grid-template-columns:28px minmax(0,1fr) auto!important;padding:9px 0!important;gap:7px!important}
  .balance-row b{display:grid!important;place-items:center!important;width:28px!important;height:28px!important;border-radius:9px!important;background:#eef5e8!important}
  .balance-row span{font-size:10px!important}
  .balance-row span small{font-size:6px!important;letter-spacing:.08em!important}
  .balance-row strong{grid-column:auto!important;justify-self:end!important;margin:0!important;font-size:13px!important}
  .balance-actions{margin-top:8px!important}
  .balance-actions-title{display:none!important}
  .premium-action-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
  .balance-premium-button{min-height:52px!important;padding:7px 5px!important;display:grid!important;grid-template-columns:1fr!important;justify-items:center!important;text-align:center!important;border-radius:12px!important}
  .balance-premium-button>b{font-size:16px!important}
  .balance-premium-button span strong{font-size:8px!important}
  .balance-premium-button span small{display:none!important}

  .overview-card{padding:16px!important;grid-template-columns:1fr!important;gap:12px!important;border:1px solid #dce5d8!important;border-radius:20px!important;background:linear-gradient(145deg,#ffffff,#f3f8ee)!important;box-shadow:0 10px 26px rgba(45,65,47,.08)!important}
  .eyebrow{font-size:8px!important;letter-spacing:.1em!important}
  .overview-card h1{margin:6px 0!important;font:800 22px/1.08 Arial,Helvetica,sans-serif!important;letter-spacing:-.035em!important;color:#213124}
  .overview-card>div>p:last-child{font-size:10px!important;line-height:1.5!important}
  .overview-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  .overview-stats>div{padding:9px!important;border-radius:12px!important}
  .overview-stats span{font-size:7px!important}
  .overview-stats strong{font:800 13px Arial,Helvetica,sans-serif!important}
  .overview-stats form,.overview-stats>.primary-link{grid-column:1/-1!important}

  .market-section{padding:14px 10px!important;border:1px solid #dce4d8!important;border-radius:20px!important;background:#fff!important;box-shadow:0 10px 26px rgba(45,65,47,.08)!important}
  .section-heading{display:block!important;margin-bottom:10px!important}
  .section-heading h2{margin:4px 0!important;font:800 18px/1.15 Arial,Helvetica,sans-serif!important;letter-spacing:-.02em!important}
  .market-intro{margin:5px 0 0!important;font-size:9px!important;line-height:1.45!important;color:#7b867c!important}
  .sale-badge{display:none!important}
  .animal-market-filter{display:flex!important;gap:7px!important;overflow-x:auto!important;padding:2px 1px 8px!important;scrollbar-width:none!important;scroll-snap-type:x proximity}
  .animal-market-filter::-webkit-scrollbar{display:none!important}
  .animal-filter-chip{flex:0 0 auto!important;min-width:92px!important;min-height:44px!important;padding:7px 9px!important;display:grid!important;grid-template-columns:22px auto!important;grid-template-rows:auto auto!important;column-gap:6px!important;border-radius:13px!important;scroll-snap-align:start}
  .animal-filter-chip>span{grid-row:1/3!important;font-size:16px!important}
  .animal-filter-chip>b{font-size:8px!important;text-align:left!important}
  .animal-filter-chip>small{font-size:6px!important;text-align:left!important}
  .animal-filter-result{margin:0 1px 8px!important;font-size:8px!important}

  .bird-grid{grid-template-columns:1fr!important;gap:9px!important}
  .bird-card{grid-template-columns:96px minmax(0,1fr)!important;border:1px solid #e3e9df!important;border-radius:17px!important;background:#fff!important;box-shadow:0 5px 14px rgba(49,67,51,.06)!important}
  .bird-visual{min-height:144px!important;border-right:1px solid #e9eee6!important;background:#f7faf4!important}
  .bird-upload{max-width:88px!important;max-height:118px!important;border-radius:12px!important}
  .sprite-bird{width:86px!important;height:86px!important}
  .market-animal-emoji{font-size:46px!important}
  .bird-details{padding:10px 9px!important}
  .animal-type-kicker{font-size:6px!important;letter-spacing:.09em!important}
  .bird-title-row h3{font:800 14px/1.15 Arial,Helvetica,sans-serif!important;letter-spacing:-.01em!important}
  .rare{font-size:6px!important;padding:3px 5px!important}
  .animal-breed-line{margin-top:5px!important;padding:5px 6px!important;border-radius:8px!important;font-size:7px!important}
  .animal-card-description{display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;margin:6px 0!important;font-size:8px!important;line-height:1.35!important}
  .bird-details dl{margin:7px 0!important;gap:4px!important}
  .bird-details dl div{gap:7px!important}
  .bird-details dt{font-size:6px!important;letter-spacing:.02em!important}
  .bird-details dd{font-size:8px!important}
  .buy-row{grid-template-columns:78px minmax(0,1fr)!important;gap:6px!important}
  .quantity-control{width:78px!important;grid-template-columns:22px 34px 22px!important;border-radius:10px!important}
  .quantity-control button,.quantity-control input{height:36px!important}
  .buy-button{min-height:36px!important;border-radius:10px!important;font-size:8px!important;box-shadow:none!important}

  .mobile-bottom-nav{left:10px!important;right:10px!important;bottom:8px!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px!important;padding:5px!important;border:1px solid rgba(215,224,213,.95)!important;border-radius:20px!important;background:rgba(255,255,255,.97)!important;box-shadow:0 12px 36px rgba(32,49,35,.18)!important;backdrop-filter:blur(16px)!important}
  .mobile-bottom-nav a,.mobile-bottom-nav button{min-height:52px!important;border-radius:15px!important;color:#536256!important}
  .mobile-bottom-nav span{font-size:18px!important}
  .mobile-bottom-nav b{font-size:7px!important;font-weight:800!important;white-space:normal!important}

  .finance-panel,.finance-panel[data-finance-panel='withdraw'],.finance-panel[data-finance-panel='history'],.finance-panel[data-finance-panel='collection'],.finance-panel[data-finance-panel='referral']{left:8px!important;right:8px!important;bottom:72px!important;width:auto!important;max-width:none!important;max-height:calc(100dvh - 90px)!important;border-radius:20px!important}
  footer{width:calc(100% - 20px)!important;margin:0 auto!important;padding:14px 12px 90px!important;gap:5px!important;font-size:8px!important}
}

@media(max-width:380px){
  .topbar{padding-left:9px!important;padding-right:9px!important}
  .brand strong{font-size:14px!important}
  .platform-install-grid,.farm-layout{width:calc(100% - 14px)!important}
  .platform-install-card{padding:7px!important}
  .overview-card h1{font-size:20px!important}
  .premium-action-grid{gap:5px!important}
  .balance-premium-button{min-height:48px!important}
  .bird-card{grid-template-columns:88px minmax(0,1fr)!important}
  .bird-visual{min-height:138px!important}
  .bird-details{padding:9px 7px!important}
}

/* =========================================================
   v11 - QR TRANSFER + TAM MOBIL PANEL DUZENI
   ========================================================= */
.premium-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.balance-premium-button.transfer>b,.qr-mobile-card>span{background:#e4f0ff!important}
.transfer-panel{width:min(900px,calc(100% - 28px))!important}
.transfer-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:16px;align-items:start}
.transfer-qr-card,.transfer-send-card{min-width:0;border:1px solid #dfca9d;border-radius:18px;background:#fff;box-shadow:0 8px 22px rgba(82,57,26,.08)}
.transfer-qr-card{display:grid;justify-items:center;gap:8px;padding:17px;text-align:center;background:linear-gradient(145deg,#fffef8,#f2f8e8)}
.transfer-kicker,.transfer-send-head span{color:#6d9135;font-size:8px;font-weight:950;letter-spacing:.13em}
.transfer-qr-image{width:min(230px,100%);aspect-ratio:1;padding:10px;border:1px solid #d9c58f;border-radius:19px;background:#fff;box-shadow:0 9px 24px rgba(68,51,24,.10)}
.transfer-qr-image img{display:block;width:100%;height:100%;object-fit:contain;border-radius:10px}
.transfer-qr-card>strong{font:850 18px Georgia,serif;color:#3f2f1c}
.transfer-qr-card>small{color:#877353;font-size:9px;font-weight:800}
.transfer-copy-link,.qr-scan-button{min-height:40px;padding:0 12px;border:1px solid #cfb46e;border-radius:11px;color:#4d3b20;background:linear-gradient(180deg,#fff5c9,#edd17d);font-size:9px;font-weight:950;cursor:pointer}
.transfer-copy-link{width:100%;margin-top:2px}
.transfer-send-card{padding:16px}
.transfer-send-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.transfer-send-head h3{margin:4px 0 0;font:800 18px Georgia,serif}
.qr-scan-button{flex:0 0 auto}
.transfer-form{margin-top:8px!important;grid-template-columns:1fr 1fr!important}
.transfer-target-preview{margin:8px 0;padding:10px 12px;border:1px solid #a9cc85;border-radius:11px;color:#416f23;background:#edf8df;font-size:10px}
.transfer-target-preview.warning{color:#8a6613;border-color:#dec06f;background:#fff6d4}
.qr-scanner{margin-top:12px;padding:11px;border:1px solid #d9c48f;border-radius:15px;background:#111915;color:#edf4ea}
.qr-scanner[hidden]{display:none!important}
.qr-scanner-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.qr-scanner-head strong{font-size:11px}
.qr-scanner-head button{width:30px;height:30px;border:1px solid #405044;border-radius:50%;color:#fff;background:#263329;font-size:18px;cursor:pointer}
.qr-scanner video{display:block;width:100%;max-height:360px;aspect-ratio:4/3;object-fit:cover;border-radius:12px;background:#000}
.qr-scanner p{margin:8px 2px 0;color:#cbd8c8;font-size:9px;line-height:1.45}
.bird-card.animal-picked{animation:animalPickPulse .26s ease-out}
@keyframes animalPickPulse{0%{transform:scale(1)}45%{transform:scale(.985);box-shadow:0 0 0 3px rgba(126,174,53,.18)}100%{transform:scale(1)}}
html[data-theme="dark"] .transfer-qr-card,html[data-theme="dark"] .transfer-send-card{color:#eaf0e7!important;border-color:#35483a!important;background:#19241c!important}
html[data-theme="dark"] .transfer-qr-card>strong,html[data-theme="dark"] .transfer-send-head h3{color:#f1f5ef!important}
html[data-theme="dark"] .transfer-qr-image{border-color:#3b4b3d;background:#fff}
html[data-theme="dark"] .transfer-target-preview{color:#cfe8b8;background:#20321f;border-color:#49643d}
html[data-theme="dark"] .transfer-target-preview.warning{color:#ecd993;background:#302b19;border-color:#6c5c2c}

@media(max-width:900px){
  html,body{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
  .farm-shell,.farm-layout,.content-column,.sidebar,.market-section,.overview-card,.balance-card{min-width:0!important;max-width:100%!important}
  body.finance-modal-open{overflow:hidden!important;touch-action:none}
  body.finance-modal-open:after{z-index:190!important;background:rgba(12,18,14,.64)!important}

  /* Tum acilir finans ekranlari gercek mobil sheet: sola kayma/translate tamamen kapali */
  .finance-panel,
  .finance-panel[data-finance-panel='deposit'],
  .finance-panel[data-finance-panel='withdraw'],
  .finance-panel[data-finance-panel='transfer'],
  .finance-panel[data-finance-panel='history'],
  .finance-panel[data-finance-panel='collection'],
  .finance-panel[data-finance-panel='referral']{
    position:fixed!important;z-index:200!important;
    left:8px!important;right:8px!important;top:76px!important;bottom:74px!important;
    width:auto!important;max-width:none!important;height:auto!important;max-height:none!important;
    margin:0!important;padding:14px 12px 18px!important;
    transform:none!important;overflow-x:hidden!important;overflow-y:auto!important;
    border-width:1px!important;border-radius:20px!important;
    overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;
  }
  .finance-panel *{min-width:0;max-width:100%}
  .finance-panel-head{position:sticky!important;z-index:4!important;top:-14px!important;margin:-14px -12px 12px!important;padding:14px 12px 11px!important;border-radius:20px 20px 0 0!important}
  .finance-panel-head>div{min-width:0!important;padding-right:4px}
  .finance-panel-head h2{font:800 19px/1.12 Arial,Helvetica,sans-serif!important;letter-spacing:-.025em!important;overflow-wrap:anywhere}
  .finance-panel .eyebrow{font-size:7px!important;letter-spacing:.11em!important}
  .finance-panel .referral-subtitle{font-size:8px!important;line-height:1.4!important}
  .panel-close{flex:0 0 36px!important;width:36px!important;height:36px!important}

  /* Depozito */
  .payment-grid,.deposit-method-grid{grid-template-columns:1fr!important;gap:9px!important}
  .payment-card{grid-template-columns:44px minmax(0,1fr)!important;gap:9px!important;padding:11px!important;border-radius:15px!important}
  .payment-icon{width:40px!important;height:40px!important;border-radius:12px!important;font-size:17px!important}
  .payment-title-row{align-items:flex-start!important;gap:7px!important}
  .payment-title-row h3{font:800 13px/1.15 Arial,Helvetica,sans-serif!important}
  .payment-title-row span{font-size:6px!important;padding:4px 6px!important}
  .payment-meta{font-size:8px!important;line-height:1.35!important}
  .payment-value{display:grid!important;grid-template-columns:1fr!important;gap:6px!important}
  .payment-value code{width:100%!important;font-size:9px!important;white-space:normal!important;overflow-wrap:anywhere!important}
  .payment-value button{width:100%!important;min-height:36px!important}

  /* Depozito / cekim / QR formlari */
  .finance-form,.transfer-form{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;margin-top:10px!important;padding:11px!important;border-radius:14px!important}
  .finance-form label{width:100%!important;font-size:9px!important}
  .finance-form input,.finance-form select,.finance-form textarea{width:100%!important;max-width:100%!important;height:44px!important;font-size:13px!important}
  .receipt-field{grid-column:auto!important}
  .receipt-field input[type=file]{height:auto!important;min-height:48px!important;padding:8px!important;font-size:10px!important}
  .withdraw-form>[data-withdraw-fields]{grid-column:auto!important;grid-template-columns:1fr!important;gap:9px!important}
  .withdraw-type-switch{grid-template-columns:1fr 1fr!important;gap:7px!important;width:100%!important}
  .withdraw-type-switch button{min-width:0!important;min-height:42px!important;padding:5px!important;font-size:9px!important}
  .withdraw-balance-note{width:100%!important;font-size:9px!important;overflow-wrap:anywhere}
  .finance-form>.primary-button{width:100%!important;min-height:44px!important}
  .finance-help{font-size:8px!important;line-height:1.45!important}

  /* QR transfer */
  .transfer-layout{grid-template-columns:1fr!important;gap:10px!important}
  .transfer-qr-card,.transfer-send-card{border-radius:15px!important;padding:12px!important}
  .transfer-qr-card{grid-template-columns:96px minmax(0,1fr)!important;grid-template-rows:auto auto auto auto!important;justify-items:start!important;text-align:left!important;column-gap:11px!important}
  .transfer-kicker{grid-column:2!important;align-self:end!important}
  .transfer-qr-image{grid-column:1!important;grid-row:1/5!important;width:96px!important;padding:5px!important;border-radius:13px!important}
  .transfer-qr-card>strong{grid-column:2!important;font:800 14px Arial,Helvetica,sans-serif!important}
  .transfer-qr-card>small{grid-column:2!important;font-size:7px!important;overflow-wrap:anywhere}
  .transfer-copy-link{grid-column:2!important;width:100%!important;min-height:34px!important;font-size:8px!important}
  .transfer-send-head{align-items:flex-start!important;gap:8px!important}
  .transfer-send-head h3{font:800 15px/1.15 Arial,Helvetica,sans-serif!important}
  .qr-scan-button{min-height:38px!important;padding:0 9px!important;font-size:8px!important}
  .qr-scanner video{max-height:48vh!important}

  /* Islem gecmisi ve referans tablolari mobilde tablo degil kart */
  .history-block{margin-top:10px!important;padding:10px!important;border:1px solid #e4d7b6!important;border-radius:15px!important;background:rgba(255,255,255,.5)!important}
  .history-block+ .history-block{margin-top:10px!important}
  .history-block h3{margin-bottom:8px!important;font:800 14px Arial,Helvetica,sans-serif!important}
  .user-history-table{overflow:visible!important;border:0!important;background:transparent!important}
  .user-history-table table{display:block!important;width:100%!important;min-width:0!important;white-space:normal!important;background:transparent!important}
  .user-history-table thead{display:none!important}
  .user-history-table tbody{display:grid!important;gap:8px!important;width:100%!important}
  .user-history-table tr{display:grid!important;width:100%!important;padding:9px 10px!important;border:1px solid #e4d7b6!important;border-radius:12px!important;background:#fff!important;box-shadow:0 3px 10px rgba(52,45,29,.05)!important}
  .user-history-table td{display:grid!important;grid-template-columns:minmax(78px,38%) minmax(0,1fr)!important;align-items:start!important;gap:8px!important;width:100%!important;padding:5px 0!important;border:0!important;font-size:9px!important;white-space:normal!important;text-align:right!important;overflow-wrap:anywhere!important}
  .user-history-table td:before{content:attr(data-label);color:#8a795f;font-size:7px;font-weight:900;letter-spacing:.04em;text-align:left;text-transform:uppercase}
  .user-history-table td.history-empty{display:block!important;padding:15px 8px!important;text-align:center!important}
  .user-history-table td.history-empty:before{display:none!important}
  .history-destination{max-width:none!important;white-space:normal!important;overflow-wrap:anywhere!important;text-overflow:clip!important}
  .request-status{font-size:7px!important;padding:4px 6px!important}
  .referral-member-table table{min-width:0!important}
  .referral-members-heading{align-items:flex-start!important}
  .referral-members-heading h3{font-size:14px!important}
  .referral-members-heading>b{font-size:7px!important;padding:5px 7px!important}

  /* Ciftligim ve referans paneli */
  .product-vault{padding:11px!important;border-radius:15px!important}
  .product-vault-head{gap:8px!important;margin-bottom:9px!important}
  .product-vault-head h3{font-size:16px!important}
  .product-vault-grid{grid-template-columns:1fr!important;gap:7px!important}
  .product-vault-grid article{grid-template-columns:42px minmax(0,1fr)!important;padding:9px!important}
  .product-vault-icon{width:42px!important;height:42px!important;font-size:21px!important}
  .animal-collection-grid{grid-template-columns:1fr!important;gap:8px!important}
  .animal-collection-card{grid-template-columns:82px minmax(0,1fr)!important;border-radius:14px!important}
  .animal-collection-visual{min-height:116px!important;padding:6px!important}
  .animal-collection-visual img,.animal-collection-visual .sprite-bird{width:68px!important;height:68px!important}
  .animal-collection-visual .animal-fallback-emoji{width:66px!important;height:66px!important;font-size:38px!important}
  .collection-info{padding:9px!important}
  .collection-title{align-items:flex-start!important;gap:5px!important}
  .collection-title h3{font-size:13px!important}
  .collection-title>span{font-size:7px!important;padding:4px 5px!important}
  .collection-description{font-size:8px!important;line-height:1.35!important}
  .animal-product-badge{font-size:8px!important;padding:6px!important}
  .animal-product-badge span{font-size:7px!important}
  .collection-metrics{grid-template-columns:1fr!important;gap:5px!important;margin-top:7px!important}
  .collection-metrics div{padding:7px!important}
  .collection-metrics small{font-size:6px!important}
  .collection-metrics strong{font:800 10px Arial,Helvetica,sans-serif!important}
  .referral-invite-card{grid-template-columns:42px minmax(0,1fr)!important;gap:9px!important;padding:11px!important}
  .referral-invite-icon{width:42px!important;height:42px!important;font-size:18px!important}
  .referral-copy-button{grid-column:1/-1!important;min-height:40px!important;font-size:9px!important}
  .premium-referral-stats{grid-template-columns:1fr 1fr!important;gap:7px!important}
  .premium-referral-stats article{grid-template-columns:32px minmax(0,1fr)!important;min-height:72px!important;padding:8px!important}
  .ref-stat-icon{width:32px!important;height:32px!important;font-size:14px!important}
  .premium-referral-stats strong{font-size:11px!important}

  /* Ana ekran kartlari ve alt menu */
  .premium-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  .balance-premium-button{min-height:52px!important}
  .bird-card{overflow:hidden!important}
  .bird-details,.bird-title-row,.bird-details dl,.buy-row{min-width:0!important}
  .bird-details dd{overflow-wrap:anywhere!important}
  .mobile-bottom-nav{z-index:210!important}
}

@media(max-width:420px){
  .finance-panel,.finance-panel[data-finance-panel='deposit'],.finance-panel[data-finance-panel='withdraw'],.finance-panel[data-finance-panel='transfer'],.finance-panel[data-finance-panel='history'],.finance-panel[data-finance-panel='collection'],.finance-panel[data-finance-panel='referral']{left:5px!important;right:5px!important;top:72px!important;bottom:70px!important;padding:12px 9px 14px!important;border-radius:17px!important}
  .finance-panel-head{top:-12px!important;margin:-12px -9px 10px!important;padding:12px 9px 10px!important;border-radius:17px 17px 0 0!important}
  .finance-panel-head h2{font-size:17px!important}
  .transfer-qr-card{grid-template-columns:84px minmax(0,1fr)!important;column-gap:8px!important}
  .transfer-qr-image{width:84px!important}
  .premium-referral-stats{grid-template-columns:1fr!important}
  .animal-collection-card{grid-template-columns:74px minmax(0,1fr)!important}
  .animal-collection-visual img,.animal-collection-visual .sprite-bird{width:60px!important;height:60px!important}
  .user-history-table td{grid-template-columns:minmax(70px,36%) minmax(0,1fr)!important;font-size:8px!important}
}


/* =========================================================
   v12.1 - DARK THEME WHITE-SURFACE CLEANUP
   Koyu modda kalan beyaz kart/panel/form yuzeylerini tamamen temizler.
   QR goruntusunun kendi beyaz zemini taranabilirlik icin bilincli olarak korunur.
   ========================================================= */
html[data-theme="dark"] .finance-panel-head,
html.theme-dark .finance-panel-head,
body.theme-dark .finance-panel-head{
  background:linear-gradient(180deg,#17231a,#121b14)!important;
  color:#eef4eb!important;
  border-color:#304136!important;
  box-shadow:0 8px 20px rgba(0,0,0,.18)!important;
}
html[data-theme="dark"] .finance-panel-head h2,
html.theme-dark .finance-panel-head h2,
body.theme-dark .finance-panel-head h2{color:#f1f5ef!important}
html[data-theme="dark"] .finance-panel .eyebrow,
html.theme-dark .finance-panel .eyebrow,
body.theme-dark .finance-panel .eyebrow{color:#9ac85b!important}
html[data-theme="dark"] .finance-panel .referral-subtitle,
html.theme-dark .finance-panel .referral-subtitle,
body.theme-dark .finance-panel .referral-subtitle{color:#aab8aa!important}

html[data-theme="dark"] .finance-form,
html[data-theme="dark"] .transfer-form,
html[data-theme="dark"] .transfer-send-card,
html[data-theme="dark"] .transfer-qr-card,
html[data-theme="dark"] .history-block,
html[data-theme="dark"] .user-history-table tr,
html[data-theme="dark"] .product-vault,
html[data-theme="dark"] .product-vault-grid article,
html[data-theme="dark"] .animal-collection-card,
html[data-theme="dark"] .collection-metrics div,
html[data-theme="dark"] .referral-invite-card,
html[data-theme="dark"] .premium-referral-stats article,
html[data-theme="dark"] .referral-code-shell,
html[data-theme="dark"] .payment-card,
html[data-theme="dark"] .payment-value,
html[data-theme="dark"] .withdraw-balance-note,
html[data-theme="dark"] .install-status,
html[data-theme="dark"] .animal-card-description,
html[data-theme="dark"] .animal-breed-line,
html[data-theme="dark"] .animal-product-badge,
html.theme-dark .finance-form,
html.theme-dark .transfer-form,
html.theme-dark .transfer-send-card,
html.theme-dark .transfer-qr-card,
html.theme-dark .history-block,
html.theme-dark .user-history-table tr,
html.theme-dark .product-vault,
html.theme-dark .product-vault-grid article,
html.theme-dark .animal-collection-card,
html.theme-dark .collection-metrics div,
html.theme-dark .referral-invite-card,
html.theme-dark .premium-referral-stats article,
html.theme-dark .referral-code-shell,
html.theme-dark .payment-card,
html.theme-dark .payment-value,
html.theme-dark .withdraw-balance-note,
html.theme-dark .install-status,
html.theme-dark .animal-card-description,
html.theme-dark .animal-breed-line,
html.theme-dark .animal-product-badge,
body.theme-dark .finance-form,
body.theme-dark .transfer-form,
body.theme-dark .transfer-send-card,
body.theme-dark .transfer-qr-card,
body.theme-dark .history-block,
body.theme-dark .user-history-table tr,
body.theme-dark .product-vault,
body.theme-dark .product-vault-grid article,
body.theme-dark .animal-collection-card,
body.theme-dark .collection-metrics div,
body.theme-dark .referral-invite-card,
body.theme-dark .premium-referral-stats article,
body.theme-dark .referral-code-shell,
body.theme-dark .payment-card,
body.theme-dark .payment-value,
body.theme-dark .withdraw-balance-note,
body.theme-dark .install-status,
body.theme-dark .animal-card-description,
body.theme-dark .animal-breed-line,
body.theme-dark .animal-product-badge{
  color:#eaf1e7!important;
  background:#18241b!important;
  border-color:#35483a!important;
  box-shadow:none!important;
}
html[data-theme="dark"] .product-vault,
html.theme-dark .product-vault,
body.theme-dark .product-vault{background:linear-gradient(180deg,#17231a,#131d16)!important}
html[data-theme="dark"] .product-vault-grid article,
html.theme-dark .product-vault-grid article,
body.theme-dark .product-vault-grid article{background:#1d2a20!important}
html[data-theme="dark"] .product-vault-icon,
html[data-theme="dark"] .animal-collection-visual,
html.theme-dark .product-vault-icon,
html.theme-dark .animal-collection-visual,
body.theme-dark .product-vault-icon,
body.theme-dark .animal-collection-visual{background:#233126!important;border-color:#384b3c!important}
html[data-theme="dark"] .collection-metrics small,
html[data-theme="dark"] .collection-description,
html[data-theme="dark"] .product-vault-grid small,
html.theme-dark .collection-metrics small,
html.theme-dark .collection-description,
html.theme-dark .product-vault-grid small,
body.theme-dark .collection-metrics small,
body.theme-dark .collection-description,
body.theme-dark .product-vault-grid small{color:#9fac9d!important}
html[data-theme="dark"] .collection-metrics strong,
html[data-theme="dark"] .product-vault-grid strong,
html.theme-dark .collection-metrics strong,
html.theme-dark .product-vault-grid strong,
body.theme-dark .collection-metrics strong,
body.theme-dark .product-vault-grid strong{color:#e9f0e6!important}

html[data-theme="dark"] .finance-form input,
html[data-theme="dark"] .finance-form select,
html[data-theme="dark"] .finance-form textarea,
html[data-theme="dark"] .transfer-form input,
html[data-theme="dark"] .transfer-form select,
html[data-theme="dark"] .transfer-form textarea,
html.theme-dark .finance-form input,
html.theme-dark .finance-form select,
html.theme-dark .finance-form textarea,
html.theme-dark .transfer-form input,
html.theme-dark .transfer-form select,
html.theme-dark .transfer-form textarea,
body.theme-dark .finance-form input,
body.theme-dark .finance-form select,
body.theme-dark .finance-form textarea,
body.theme-dark .transfer-form input,
body.theme-dark .transfer-form select,
body.theme-dark .transfer-form textarea{
  color:#eef4eb!important;
  background:#0e1711!important;
  border-color:#405244!important;
  -webkit-text-fill-color:#eef4eb!important;
}
html[data-theme="dark"] .finance-form input::placeholder,
html[data-theme="dark"] .transfer-form input::placeholder,
html.theme-dark .finance-form input::placeholder,
html.theme-dark .transfer-form input::placeholder,
body.theme-dark .finance-form input::placeholder,
body.theme-dark .transfer-form input::placeholder{color:#7f8d80!important;opacity:1}
html[data-theme="dark"] .finance-form label,
html[data-theme="dark"] .transfer-form label,
html.theme-dark .finance-form label,
html.theme-dark .transfer-form label,
body.theme-dark .finance-form label,
body.theme-dark .transfer-form label{color:#aab7a9!important}

html[data-theme="dark"] .user-history-table td,
html.theme-dark .user-history-table td,
body.theme-dark .user-history-table td{color:#e7eee4!important}
html[data-theme="dark"] .user-history-table td:before,
html.theme-dark .user-history-table td:before,
body.theme-dark .user-history-table td:before{color:#9eac9c!important}
html[data-theme="dark"] .history-block h3,
html[data-theme="dark"] .referral-members-heading h3,
html.theme-dark .history-block h3,
html.theme-dark .referral-members-heading h3,
body.theme-dark .history-block h3,
body.theme-dark .referral-members-heading h3{color:#f1f5ef!important}

html[data-theme="dark"] .mobile-bottom-nav,
html.theme-dark .mobile-bottom-nav,
body.theme-dark .mobile-bottom-nav{
  background:rgba(14,23,17,.985)!important;
  border-color:#33473a!important;
}
html[data-theme="dark"] .mobile-bottom-nav a,
html[data-theme="dark"] .mobile-bottom-nav button,
html.theme-dark .mobile-bottom-nav a,
html.theme-dark .mobile-bottom-nav button,
body.theme-dark .mobile-bottom-nav a,
body.theme-dark .mobile-bottom-nav button{color:#edf3e9!important;background:linear-gradient(180deg,#26332b,#101713)!important}

html[data-theme="dark"] .bird-card,
html.theme-dark .bird-card,
body.theme-dark .bird-card{background:#142018!important;border-color:#304537!important}
html[data-theme="dark"] .bird-details,
html.theme-dark .bird-details,
body.theme-dark .bird-details{background:#142018!important}
html[data-theme="dark"] .bird-details dd,
html[data-theme="dark"] .bird-title-row h3,
html.theme-dark .bird-details dd,
html.theme-dark .bird-title-row h3,
body.theme-dark .bird-details dd,
body.theme-dark .bird-title-row h3{color:#edf3e9!important}

/* QR kodun kendisi kamera tarafindan guvenilir okunabilsin diye beyaz kalir; cevresi koyudur. */
html[data-theme="dark"] .transfer-qr-image,
html.theme-dark .transfer-qr-image,
body.theme-dark .transfer-qr-image{background:#fff!important;border-color:#536755!important;box-shadow:0 0 0 5px #111a14,0 9px 24px rgba(0,0,0,.25)!important}

html[data-theme="dark"] .qr-scanner,
html.theme-dark .qr-scanner,
body.theme-dark .qr-scanner{background:#0c130f!important;border-color:#405143!important}
html[data-theme="dark"] .qr-scanner video,
html.theme-dark .qr-scanner video,
body.theme-dark .qr-scanner video{background:#050806!important}

@media(max-width:900px){
  html[data-theme="dark"] body,
  html[data-theme="dark"] .farm-shell,
  html.theme-dark body,
  html.theme-dark .farm-shell,
  body.theme-dark,
  body.theme-dark .farm-shell{background:#0b120e!important}
  html[data-theme="dark"] .balance-card,
  html[data-theme="dark"] .overview-card,
  html[data-theme="dark"] .market-section,
  html.theme-dark .balance-card,
  html.theme-dark .overview-card,
  html.theme-dark .market-section,
  body.theme-dark .balance-card,
  body.theme-dark .overview-card,
  body.theme-dark .market-section{background:#121c15!important;border-color:#2d4233!important;box-shadow:0 10px 26px rgba(0,0,0,.22)!important}
  html[data-theme="dark"] .history-block,
  html[data-theme="dark"] .user-history-table tr,
  html.theme-dark .history-block,
  html.theme-dark .user-history-table tr,
  body.theme-dark .history-block,
  body.theme-dark .user-history-table tr{background:#17231a!important;border-color:#33483a!important}
}


/* v12.2 site-wide dark surface cleanup: remove stray white panels/cards while preserving QR code contrast */
html[data-theme="dark"] .finance-panel, html.theme-dark .finance-panel, body.theme-dark .finance-panel,
html[data-theme="dark"] .finance-panel-head, html.theme-dark .finance-panel-head, body.theme-dark .finance-panel-head,
html[data-theme="dark"] .finance-panel-body, html.theme-dark .finance-panel-body, body.theme-dark .finance-panel-body,
html[data-theme="dark"] .finance-help, html.theme-dark .finance-help, body.theme-dark .finance-help,
html[data-theme="dark"] .finance-empty, html.theme-dark .finance-empty, body.theme-dark .finance-empty,
html[data-theme="dark"] .transfer-qr-card, html.theme-dark .transfer-qr-card, body.theme-dark .transfer-qr-card,
html[data-theme="dark"] .transfer-send-card, html.theme-dark .transfer-send-card, body.theme-dark .transfer-send-card,
html[data-theme="dark"] .history-block, html.theme-dark .history-block, body.theme-dark .history-block,
html[data-theme="dark"] .product-vault, html.theme-dark .product-vault, body.theme-dark .product-vault,
html[data-theme="dark"] .product-vault-grid article, html.theme-dark .product-vault-grid article, body.theme-dark .product-vault-grid article,
html[data-theme="dark"] .collection-card, html.theme-dark .collection-card, body.theme-dark .collection-card,
html[data-theme="dark"] .collection-metrics>div, html.theme-dark .collection-metrics>div, body.theme-dark .collection-metrics>div,
html[data-theme="dark"] .collection-breed, html.theme-dark .collection-breed, body.theme-dark .collection-breed,
html[data-theme="dark"] .collection-description, html.theme-dark .collection-description, body.theme-dark .collection-description,
html[data-theme="dark"] .payment-card, html.theme-dark .payment-card, body.theme-dark .payment-card,
html[data-theme="dark"] .payment-value, html.theme-dark .payment-value, body.theme-dark .payment-value,
html[data-theme="dark"] .withdraw-type-switch button, html.theme-dark .withdraw-type-switch button, body.theme-dark .withdraw-type-switch button,
html[data-theme="dark"] .referral-premium-card, html.theme-dark .referral-premium-card, body.theme-dark .referral-premium-card,
html[data-theme="dark"] .referral-members-card, html.theme-dark .referral-members-card, body.theme-dark .referral-members-card{
  background:#142018!important;color:#eaf1e7!important;border-color:#33483a!important;box-shadow:none!important;
}
html[data-theme="dark"] .finance-panel-head h2, html.theme-dark .finance-panel-head h2, body.theme-dark .finance-panel-head h2,
html[data-theme="dark"] .transfer-send-card h3, html.theme-dark .transfer-send-card h3, body.theme-dark .transfer-send-card h3,
html[data-theme="dark"] .product-vault h3, html.theme-dark .product-vault h3, body.theme-dark .product-vault h3,
html[data-theme="dark"] .collection-card h3, html.theme-dark .collection-card h3, body.theme-dark .collection-card h3{color:#f2f6ef!important}
html[data-theme="dark"] .finance-help, html.theme-dark .finance-help, body.theme-dark .finance-help,
html[data-theme="dark"] .finance-empty, html.theme-dark .finance-empty, body.theme-dark .finance-empty,
html[data-theme="dark"] .referral-subtitle, html.theme-dark .referral-subtitle, body.theme-dark .referral-subtitle,
html[data-theme="dark"] .collection-description, html.theme-dark .collection-description, body.theme-dark .collection-description{color:#a8b5a6!important}
html[data-theme="dark"] .panel-close, html.theme-dark .panel-close, body.theme-dark .panel-close{background:#243329!important;color:#fff!important;border-color:#405244!important}
html[data-theme="dark"] .user-history-table tr, html.theme-dark .user-history-table tr, body.theme-dark .user-history-table tr{background:#16231a!important;border-color:#344a3b!important}
html[data-theme="dark"] .user-history-table td, html.theme-dark .user-history-table td, body.theme-dark .user-history-table td{color:#e9f0e6!important}
/* QR image remains white intentionally: black/white contrast is required by camera scanners. */
html[data-theme="dark"] .transfer-qr-image, html.theme-dark .transfer-qr-image, body.theme-dark .transfer-qr-image{background:#fff!important}


/* v13.2 mobile compact center + darker cleanup + logo refresh */
@media(max-width:900px){
  .brand-mark{background:#fff url("app-icon-192.png?v=13.2") center/cover no-repeat!important}
  .balance-card{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;align-items:start!important;padding:34px 12px 13px!important}
  .balance-card .ribbon,.balance-card .level-row,.balance-card .progress-track,.balance-card .balance-actions{grid-column:1/-1!important}
  .balance-card .balance-row{min-height:62px!important;align-content:center!important;margin:0!important}
  .premium-action-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  .balance-premium-button{min-height:50px!important;padding:7px 4px!important}
  .balance-premium-button b{width:32px!important;height:32px!important;font-size:14px!important}
  .balance-premium-button span strong{font-size:7px!important;line-height:1.1!important}
}
@media(max-width:420px){
  .balance-card{gap:8px!important;padding:34px 10px 12px!important}
  .premium-action-grid{gap:5px!important}
  .balance-premium-button span strong{font-size:6.8px!important}
}
html[data-theme="dark"] .animal-breed-line, html.theme-dark .animal-breed-line, body.theme-dark .animal-breed-line,
html[data-theme="dark"] .animal-product-badge, html.theme-dark .animal-product-badge, body.theme-dark .animal-product-badge,
html[data-theme="dark"] .animal-card-description, html.theme-dark .animal-card-description, body.theme-dark .animal-card-description,
html[data-theme="dark"] .overview-stats>div, html.theme-dark .overview-stats>div, body.theme-dark .overview-stats>div,
html[data-theme="dark"] .balance-card, html.theme-dark .balance-card, body.theme-dark .balance-card,
html[data-theme="dark"] .market-section, html.theme-dark .market-section, body.theme-dark .market-section,
html[data-theme="dark"] .platform-install-card, html.theme-dark .platform-install-card, body.theme-dark .platform-install-card,
html[data-theme="dark"] .platform-install-icon, html.theme-dark .platform-install-icon, body.theme-dark .platform-install-icon,
html[data-theme="dark"] .user-history-table tr, html.theme-dark .user-history-table tr, body.theme-dark .user-history-table tr,
html[data-theme="dark"] .quantity-control input, html.theme-dark .quantity-control input, body.theme-dark .quantity-control input,
html[data-theme="dark"] .quantity-control button, html.theme-dark .quantity-control button, body.theme-dark .quantity-control button{
  background:#152118!important;
  color:#edf4ea!important;
  border-color:#34483a!important;
}
html[data-theme="dark"] .animal-card-description, html.theme-dark .animal-card-description, body.theme-dark .animal-card-description{border-left-color:#8fc04a!important}
html[data-theme="dark"] .platform-install-card.android, html.theme-dark .platform-install-card.android, body.theme-dark .platform-install-card.android{background:linear-gradient(145deg,#19311c,#244127 60%,#2e552d)!important}
html[data-theme="dark"] .platform-install-card.ios, html.theme-dark .platform-install-card.ios, body.theme-dark .platform-install-card.ios{background:linear-gradient(145deg,#192025,#1d2528 60%,#202b30)!important}
html[data-theme="dark"] .platform-install-copy small, html.theme-dark .platform-install-copy small, body.theme-dark .platform-install-copy small,
html[data-theme="dark"] .platform-install-copy em, html.theme-dark .platform-install-copy em, body.theme-dark .platform-install-copy em,
html[data-theme="dark"] .animal-breed-line span, html.theme-dark .animal-breed-line span, body.theme-dark .animal-breed-line span{color:#a7b5a6!important}
html[data-theme="dark"] .animal-breed-line strong, html.theme-dark .animal-breed-line strong, body.theme-dark .animal-breed-line strong,
html[data-theme="dark"] .platform-install-copy strong, html.theme-dark .platform-install-copy strong, body.theme-dark .platform-install-copy strong{color:#f2f6ef!important}


/* v15 CAMERA PERMISSION + NATIVE APP + ANIMAL IMAGE ZOOM */
.camera-permission-help{display:grid;gap:8px;margin-top:10px}.camera-permission-help .finance-help{margin:0}.camera-permission-button{width:100%;min-height:46px;padding:0 14px;border:1px solid #7ca844;border-radius:13px;color:#fff;background:linear-gradient(180deg,#91c84b,#67972f);box-shadow:0 4px 0 #4d7620;font-size:11px;font-weight:950;cursor:pointer}.camera-permission-button:active{transform:translateY(2px);box-shadow:0 2px 0 #4d7620}.camera-permission-note{display:block;color:#8a775a;font-size:8px;line-height:1.45}.camera-permission-help.is-granted .finance-help{border-color:#74a347;background:#edf8e4}.camera-permission-button[hidden],.camera-permission-note[hidden]{display:none!important}
html.native-kus-app .platform-install-grid,body.native-kus-app .platform-install-grid,html.native-kus-app .app-install-button,body.native-kus-app .app-install-button{display:none!important}
.animal-zoom-source,.bird-upload,.animal-collection-visual img{cursor:zoom-in;touch-action:manipulation}.animal-zoom-source:active,.bird-upload:active,.animal-collection-visual img:active{transform:scale(.98)}
body.animal-image-open{overflow:hidden!important}.animal-image-lightbox{position:fixed;z-index:10000;inset:0;padding:18px;display:grid;place-items:center;background:rgba(5,10,7,.92);backdrop-filter:blur(10px)}.animal-image-lightbox[hidden]{display:none!important}.animal-image-lightbox-stage{width:min(720px,100%);max-height:88dvh;display:grid;justify-items:center;gap:10px;padding:14px;border:1px solid rgba(255,255,255,.17);border-radius:22px;background:#111a14;box-shadow:0 25px 80px rgba(0,0,0,.5)}.animal-image-lightbox-stage img{display:block;max-width:100%;width:auto;height:auto;max-height:70dvh;object-fit:contain;border-radius:16px;background:#fff}.animal-image-lightbox-stage strong{color:#f4f7f2;font-size:14px;text-align:center}.animal-image-lightbox-stage small{color:#aeb9ae;font-size:8px}.animal-image-lightbox-close{position:absolute;top:max(14px,env(safe-area-inset-top));right:14px;width:44px;height:44px;border:1px solid rgba(255,255,255,.25);border-radius:50%;color:#fff;background:#26342b;font-size:28px;line-height:1;cursor:pointer}
html[data-theme="dark"] .camera-permission-note,html.theme-dark .camera-permission-note,body.theme-dark .camera-permission-note{color:#aebaaa!important}html[data-theme="dark"] .camera-permission-help.is-granted .finance-help,html.theme-dark .camera-permission-help.is-granted .finance-help,body.theme-dark .camera-permission-help.is-granted .finance-help{background:#17281b!important;border-color:#41673f!important}
@media(max-width:520px){.camera-permission-button{min-height:44px;font-size:10px}.animal-image-lightbox{padding:10px}.animal-image-lightbox-stage{padding:10px;border-radius:18px}.animal-image-lightbox-stage img{max-height:72dvh}.animal-image-lightbox-close{width:40px;height:40px;font-size:25px}}


/* v19.1 mobile main balance / total assets fix */
@media(max-width:900px){
  .balance-card .main-balance-row{
    grid-column:1/-1!important;
    display:grid!important;
    grid-template-columns:38px minmax(0,1fr) auto!important;
    min-height:68px!important;
    padding:10px 11px!important;
    border:1px solid rgba(207,166,67,.42)!important;
    border-radius:15px!important;
    background:linear-gradient(135deg,#fff8df,#f3ead0)!important;
    box-shadow:0 6px 16px rgba(91,70,29,.08)!important;
  }
  .balance-card .main-balance-row>b{
    width:38px!important;height:38px!important;border-radius:12px!important;
    background:#f6e5ad!important;font-size:18px!important;
  }
  .balance-card .main-balance-row>span{font-size:11px!important;line-height:1.2!important}
  .balance-card .main-balance-row>span small{font-size:7px!important;color:#8b742d!important;margin-bottom:3px!important}
  .balance-card .main-balance-row>strong{
    font-size:17px!important;line-height:1.1!important;white-space:nowrap!important;
    color:#2e3b26!important;text-align:right!important;
  }
  html[data-theme="dark"] .balance-card .main-balance-row,
  html.theme-dark .balance-card .main-balance-row,
  body.theme-dark .balance-card .main-balance-row{
    background:linear-gradient(135deg,#26331f,#1b271d)!important;
    border-color:#77652d!important;
  }
  html[data-theme="dark"] .balance-card .main-balance-row>b,
  html.theme-dark .balance-card .main-balance-row>b,
  body.theme-dark .balance-card .main-balance-row>b{background:#3e3a20!important}
  html[data-theme="dark"] .balance-card .main-balance-row>span,
  html.theme-dark .balance-card .main-balance-row>span,
  body.theme-dark .balance-card .main-balance-row>span,
  html[data-theme="dark"] .balance-card .main-balance-row>strong,
  html.theme-dark .balance-card .main-balance-row>strong,
  body.theme-dark .balance-card .main-balance-row>strong{color:#f0f4e9!important}
  html[data-theme="dark"] .balance-card .main-balance-row>span small,
  html.theme-dark .balance-card .main-balance-row>span small,
  body.theme-dark .balance-card .main-balance-row>span small{color:#d8c477!important}
}
@media(max-width:390px){
  .balance-card .main-balance-row{grid-template-columns:34px minmax(0,1fr)!important}
  .balance-card .main-balance-row>b{width:34px!important;height:34px!important}
  .balance-card .main-balance-row>strong{grid-column:2!important;justify-self:start!important;margin-top:3px!important;font-size:16px!important;text-align:left!important}
}


/* v20 — canlı bakiye, depozito hesaplama, dekont ve bildirim */
.main-balance-values{margin-left:auto;display:flex;flex-direction:column;align-items:flex-end;gap:2px;min-width:0}
.main-balance-values>strong{font-size:1rem!important;white-space:nowrap}
.main-usdt-live{font-weight:900;color:#89e39d;font-size:.92rem;white-space:nowrap}
.main-balance-values>em{font-style:normal;font-size:.64rem;color:var(--muted,#91a394);text-align:right;max-width:220px}
.deposit-live-quote{grid-column:1/-1;border:1px solid rgba(89,201,114,.28);background:linear-gradient(135deg,rgba(20,53,31,.9),rgba(13,35,23,.86));padding:12px 14px;border-radius:16px;display:flex;flex-direction:column;gap:4px}
.deposit-live-quote>span{font-size:.68rem;font-weight:900;letter-spacing:.08em;color:#86d99b}
.deposit-live-quote>strong{font-size:1.05rem;color:#fff}
.deposit-live-quote>small{color:#b8c9bb;line-height:1.4}
.receipt-picker{grid-column:1/-1;border:1px dashed rgba(111,200,127,.38);border-radius:16px;padding:12px;background:rgba(10,25,17,.54);display:grid;grid-template-columns:auto 1fr;align-items:center;gap:8px 12px}
.receipt-file-input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.receipt-open-button{border:0;border-radius:12px;padding:11px 14px;background:#254d31;color:#fff;font-weight:900;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(129,222,147,.24)}
.receipt-open-button.has-file{background:#2f7040}
.receipt-picker>span{font-size:.82rem;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.receipt-picker>small{grid-column:1/-1;color:#8fa493}
[data-deposit-submit]:disabled{opacity:.46;filter:saturate(.5);cursor:not-allowed}
.history-credit{display:block;margin-top:3px;color:#9bc7a4;font-size:.72rem}
.harvest-notify-box{grid-column:1/-1;display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:14px;background:rgba(31,72,41,.45);border:1px solid rgba(105,202,124,.18)}
.harvest-notify-button{border:0;border-radius:11px;padding:9px 11px;background:#315f3b;color:#fff;font-weight:900;white-space:nowrap;cursor:pointer}
.harvest-notify-button:disabled{opacity:.5;cursor:not-allowed}
.harvest-notify-box small{color:#a8baab;font-size:.7rem;line-height:1.35}
@media(max-width:600px){
 .main-balance-row{align-items:center!important}
 .main-balance-values{max-width:58%;}
 .main-balance-values>strong{font-size:.9rem!important}
 .main-usdt-live{font-size:.82rem}
 .main-balance-values>em{font-size:.58rem;line-height:1.25}
 .receipt-picker{grid-template-columns:1fr}
 .receipt-picker>small{grid-column:1}
 .receipt-open-button{width:100%}
 .harvest-notify-box{flex-direction:column;align-items:stretch}
 .harvest-notify-button{width:100%}
}

.receipt-camera{grid-column:1/-1;margin-top:6px;border-radius:14px;overflow:hidden;background:#07100a;border:1px solid rgba(111,200,127,.25);padding:8px}
.receipt-camera[hidden]{display:none!important}
.receipt-camera video{display:block;width:100%;max-height:380px;object-fit:cover;border-radius:10px;background:#000}
.receipt-camera-actions{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:8px}
.receipt-camera-actions button{border:0;border-radius:10px;padding:10px 12px;background:#2d663b;color:#fff;font-weight:900}
.receipt-camera-actions button:last-child{background:#273029}
.receipt-camera em{display:block;font-style:normal;color:#aebcaf;font-size:.72rem;margin-top:7px}

/* v20 hasat hazır — bildirim izni olmasa da uygulama/site açıkken görünür */
.harvest-ready-banner{position:fixed;z-index:10060;left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));bottom:max(78px,calc(env(safe-area-inset-bottom) + 68px));display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:12px 12px 12px 14px;border:1px solid rgba(229,191,84,.35);border-radius:16px;background:#142019;color:#f5f3df;box-shadow:0 18px 50px rgba(0,0,0,.42);max-width:760px;margin:0 auto}
.harvest-ready-banner>div{display:grid;gap:2px;min-width:0}.harvest-ready-banner strong{font-size:14px;color:#f3d56d}.harvest-ready-banner span{font-size:12px;color:#d5ddcf}.harvest-ready-banner a{white-space:nowrap;text-decoration:none;background:#e6c45e;color:#162016;font-weight:800;padding:9px 12px;border-radius:10px}.harvest-ready-banner button{border:0;background:transparent;color:#fff;font-size:24px;line-height:1;padding:4px 6px;cursor:pointer}
@media(max-width:520px){.harvest-ready-banner{grid-template-columns:minmax(0,1fr) auto;bottom:max(72px,calc(env(safe-area-inset-bottom) + 62px))}.harvest-ready-banner a{grid-column:1/2;width:max-content}.harvest-ready-banner button{grid-row:1;grid-column:2;align-self:start}}

/* v20.5 — APK/mobile ana bakiye hizalama + stabil canli USDT */
@media (max-width:900px){
  .sidebar,.balance-card{width:100%!important;max-width:100%!important;margin-left:auto!important;margin-right:auto!important;justify-self:stretch!important}
  .balance-card .main-balance-row{
    width:100%!important;max-width:100%!important;min-width:0!important;
    margin-left:0!important;margin-right:0!important;justify-self:stretch!important;
    grid-template-columns:38px minmax(0,1fr) minmax(104px,auto)!important;
    column-gap:9px!important;overflow:hidden!important;
  }
  .balance-card .main-balance-row>b{grid-column:1!important;align-self:center!important}
  .balance-card .main-balance-row>span{grid-column:2!important;min-width:0!important}
  .balance-card .main-balance-row>.main-balance-values{
    grid-column:3!important;min-width:0!important;max-width:100%!important;width:auto!important;
    margin:0!important;justify-self:end!important;align-self:center!important;align-items:flex-end!important;
  }
  .main-balance-values>strong,.main-usdt-live{max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .main-balance-values>em{max-width:180px!important;overflow-wrap:anywhere!important}
}
@media (max-width:430px){
  .balance-card .main-balance-row{
    grid-template-columns:36px minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    min-height:76px!important;
    padding:10px!important;
  }
  .balance-card .main-balance-row>b{grid-column:1!important;grid-row:1/3!important;align-self:center!important}
  .balance-card .main-balance-row>span{grid-column:2!important;grid-row:1!important;align-self:end!important}
  .balance-card .main-balance-row>.main-balance-values{
    grid-column:2!important;grid-row:2!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    justify-self:stretch!important;align-self:start!important;align-items:flex-start!important;
    margin:2px 0 0!important;
  }
  .main-balance-values>strong{font-size:15px!important;line-height:1.05!important}
  .main-usdt-live{font-size:12px!important;line-height:1.1!important}
  .main-balance-values>em{font-size:8px!important;line-height:1.25!important;text-align:left!important;max-width:100%!important;white-space:normal!important}
}
