:root {
  --wood: #8a5428; --wood2: #6e3e18; --wood3: #b5733a; --cream: #fff4dc; --cream2: #f6e2b8;
  --green: #4cb83a; --green2: #2f8a24; --orange: #f08a24; --red: #e0402a; --ink: #4a2a10; --gold: #ffcf3a;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #7ccc4c; font-family: Fredoka, system-ui, sans-serif; color: var(--ink); user-select: none; }
canvas#world { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }
canvas#farm { position: fixed; z-index: 1; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: pointer; }
canvas#farm.panning { cursor: grabbing; }
.hidden { display: none !important; }
button { font-family: inherit; cursor: pointer; border: 0; }


.pcard { position: fixed; left: 8px; top: 8px; display: flex; gap: 8px; align-items: center; padding: 6px 12px 6px 6px; z-index: 5;
  background: linear-gradient(#a8662e, #7a4519); border: 3px solid #5a300f; border-radius: 12px; box-shadow: 0 4px 0 rgba(0,0,0,.25); color: #fff; min-width: 250px; }
.pcard2 { top: 96px; }
.avatar { width: 64px; height: 64px; border-radius: 10px; display: grid; place-items: center; font: 34px 'Lilita One'; color: #fff;
  background: linear-gradient(135deg, #ffb347, #ff6a3d); border: 3px solid #fff3; text-shadow: 0 2px 0 #0004; }
.pname { font: 20px 'Lilita One'; letter-spacing: .5px; text-shadow: 0 2px 0 #0005; }
.prow { display: flex; align-items: center; gap: 6px; margin: 2px 0; }
.lv { font: 17px 'Lilita One'; color: #9bf06a; min-width: 22px; }
.xpbar { position: relative; flex: 1; height: 16px; background: #3a1f0a; border-radius: 9px; overflow: hidden; min-width: 120px; }
.xpbar i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(#8ee05a, #3fae2a); border-radius: 9px; }
.xpbar span { position: absolute; inset: 0; text-align: center; font: 600 11px Fredoka; line-height: 16px; }
.gold { display: flex; align-items: center; gap: 6px; background: #3a1f0a; border-radius: 9px; padding: 1px 10px 1px 2px; }
.gold b { font: 17px 'Lilita One'; color: var(--gold); letter-spacing: .5px; }
.coin { width: 20px; height: 20px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff59a, #ffc61a 55%, #c88a0a); border: 2px solid #a86a00; }
.dogtag { font: 600 12px Fredoka; background: #0004; border-radius: 8px; padding: 1px 8px; }


#ticker { position: fixed; top: 74px; left: 270px; right: 340px; height: 30px; display: flex; align-items: center; z-index: 4;
  background: rgba(30,20,10,.65); border-radius: 15px; color: #fff; overflow: hidden; }
#ticker .mega { font-size: 20px; padding: 0 8px; }
.tk-win { position: relative; flex: 1; height: 100%; overflow: hidden; }
#tk-text { position: absolute; white-space: nowrap; line-height: 30px; font: 600 14px Fredoka; left: 100%; }
#tk-text b { color: #8ef06a; } #tk-text em { color: var(--gold); font-style: normal; }


#topbar { position: fixed; top: 6px; right: 8px; display: flex; gap: 4px; z-index: 5; }
#topbar button, #rightbar .side { position: relative; background: none; display: flex; flex-direction: column; align-items: center; width: 74px; padding: 0; }
#topbar button { width: 86px; }
#topbar i, #rightbar .side i { font-style: normal; font-size: 30px; width: 50px; height: 50px; display: grid; place-items: center;
  background: radial-gradient(circle at 40% 30%, #fff6d8, #ffd07a); border: 3px solid #c47a2a; border-radius: 14px; box-shadow: 0 3px 0 #8a4a14; transition: transform .1s; }
#topbar button:hover i, #rightbar button:hover i, .sq:hover { transform: translateY(-2px) scale(1.05); }
#topbar span, #rightbar .side span { font: 12px 'Lilita One'; color: #fff; text-shadow: 0 2px 0 #5a300f, 0 0 3px #5a300f; margin-top: 2px; white-space: nowrap; }
#topbar .exit i { background: radial-gradient(circle at 40% 30%, #ffe27a, #f0a020); border-radius: 50%; }
.dot { position: absolute; top: -2px; right: 10px; width: 14px; height: 14px; border-radius: 50%; background: #ff3a2a; border: 2px solid #fff; }

#rightbar { position: fixed; right: 8px; top: 110px; bottom: 120px; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; z-index: 5; pointer-events: none; }
#rightbar button { pointer-events: auto; }
.topbtn { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 50px; padding: 10px 0; margin-top: auto; margin-bottom: auto;
  background: linear-gradient(90deg, #a8662e, #8a5022); border: 3px solid #5a300f; border-radius: 12px 0 0 12px; box-shadow: 0 4px 0 #0003; }
.topbtn span { font: 30px 'Lilita One'; color: #ffe07a; text-shadow: 0 2px 0 #5a300f; line-height: 1; }

#leftbar { position: fixed; left: 8px; bottom: 16px; display: flex; flex-direction: column; gap: 10px; z-index: 5; }
.sq { width: 84px; height: 84px; border-radius: 14px; background: linear-gradient(#fff8e2, #f4dca4); border: 3px solid #e0b060; box-shadow: 0 4px 0 #b07a30;
  display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; transition: transform .1s; }
.sq i { font-style: normal; font-size: 34px; line-height: 1; }
.sq span { font: 11px 'Lilita One'; color: #fff; text-shadow: 0 1px 0 #6a3a10, 0 0 3px #6a3a10; line-height: 1.05; margin-top: 2px; }
.sq b { font: 16px 'Lilita One'; color: #fff; text-shadow: 0 1px 0 #333, 0 0 3px #333; }


#seedbar { position: fixed; left: 50%; bottom: 8px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; z-index: 5;
  background: linear-gradient(#fff8e6, #f4ddb0); border: 3px solid #d8a050; border-radius: 18px 18px 12px 12px; padding: 6px 8px; box-shadow: 0 4px 0 #a8702a; max-width: calc(100vw - 200px); }
#seeds { display: flex; gap: 6px; overflow: hidden; }
.seed { position: relative; width: 70px; height: 76px; border-radius: 12px; background: #fffdf4; border: 2px solid #ead1a0; display: flex; flex-direction: column; align-items: center; padding-top: 2px; }
.seed img { width: 48px; height: 48px; }
.seed .sp { font: 600 11px Fredoka; color: #c43aa0; }
.seed .sn { position: absolute; top: 2px; right: 4px; font: 11px 'Lilita One'; color: #2f8a24; }
.seed.sel { border-color: #3fae2a; background: #eaffd8; box-shadow: 0 0 0 3px #8ee05a; }
.seed.lock { opacity: .45; }
.seed.lock::after { content: '🔒'; position: absolute; bottom: 18px; font-size: 14px; }
.arrow { width: 34px; height: 60px; border-radius: 10px; background: linear-gradient(#ffd07a, #f0a030); color: #fff; font-size: 18px; text-shadow: 0 1px 0 #8a4a14; box-shadow: 0 3px 0 #b06a14; }
.sickle { margin-left: 6px; width: 86px; height: 76px; border-radius: 12px; background: linear-gradient(#8ee05a, #3fae2a); box-shadow: 0 3px 0 #2a7a1a; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; }
.sickle i { font-style: normal; font-size: 30px; } .sickle span { font: 11px 'Lilita One'; text-shadow: 0 1px 0 #2a6a1a; }

#visitbar { position: fixed; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; align-items: center; z-index: 5;
  background: rgba(40,20,5,.75); color: #fff; padding: 8px 10px 8px 18px; border-radius: 30px; font: 600 15px Fredoka; }


.btn { font: 16px 'Lilita One'; color: #fff; padding: 10px 22px; border-radius: 14px; text-shadow: 0 2px 0 #0003; letter-spacing: .5px; transition: transform .08s, filter .1s; }
.btn:active { transform: translateY(2px); }
.btn:disabled { filter: grayscale(1) brightness(1.1); cursor: not-allowed; }
.btn.green { background: linear-gradient(#7edc4a, #3a9e26); box-shadow: 0 4px 0 #22701a; }
.btn.orange { background: linear-gradient(#ffc04a, #f08a10); box-shadow: 0 4px 0 #b05a08; }
.btn.red { background: linear-gradient(#ff7a5a, #d83a22); box-shadow: 0 4px 0 #9a2210; }
.btn.small { padding: 6px 12px; font-size: 13px; border-radius: 10px; }
.btn.big { font-size: 22px; padding: 12px 40px; }


#tip { position: fixed; z-index: 20; pointer-events: none; background: rgba(40,20,5,.88); color: #fff; padding: 6px 10px; border-radius: 10px; font: 600 13px Fredoka; white-space: nowrap; }
#tip b { color: #8ef06a; } #tip em { color: var(--gold); font-style: normal; }
#toasts { position: fixed; top: 128px; left: 50%; transform: translateX(-50%); z-index: 60; display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; }
.toast { background: rgba(40,25,10,.88); color: #fff; padding: 6px 16px; border-radius: 12px; font: 600 14px Fredoka; animation: tin .25s ease-out, tout .4s ease-in 2.2s forwards; text-align: center; max-width: 80vw; }
.toast.good { background: rgba(40,120,20,.92); } .toast.bad { background: rgba(160,30,20,.92); }
@keyframes tin { from { transform: translateY(14px) scale(.9); opacity: 0; } }
@keyframes tout { to { transform: translateY(-14px); opacity: 0; } }
.floater { position: fixed; z-index: 30; pointer-events: none; font: 22px 'Lilita One'; color: var(--gold); text-shadow: 0 2px 0 #6a3a00, 0 0 4px #6a3a00; animation: fl 1.2s ease-out forwards; }
@keyframes fl { to { transform: translateY(-60px); opacity: 0; } }


#modal { position: fixed; inset: 0; z-index: 40; background: rgba(20,12,4,.55); display: grid; place-items: center; padding: 16px; }
.mbox { position: relative; width: min(860px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column;
  background: linear-gradient(#fff6e0, #f8e4bc); border: 5px solid #e08a3a; border-radius: 26px; box-shadow: 0 8px 0 #a85a1a, 0 20px 60px #0006; }
.mtitle { align-self: center; margin-top: -26px; padding: 6px 40px; font: 30px 'Lilita One'; color: #fff; letter-spacing: 1px;
  background: linear-gradient(#ff7a5a, #e0402a); border: 4px solid #fff3; border-radius: 16px; text-shadow: 0 3px 0 #9a2210; box-shadow: 0 4px 0 #9a2210; }
.mclose { position: absolute; top: -18px; right: -14px; width: 50px; height: 50px; border-radius: 50%; font: 24px 'Lilita One'; color: #fff;
  background: radial-gradient(circle at 40% 30%, #8ee05a, #2f9a24); border: 4px solid #fff; box-shadow: 0 3px 0 #1a6a14; }
.mbody { padding: 16px 20px 20px; overflow: auto; }

.tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 14px; flex-wrap: wrap; }
.tab { font: 17px 'Lilita One'; color: #fff; padding: 8px 20px; border-radius: 12px; background: linear-gradient(#c9884a, #a0622a); box-shadow: 0 3px 0 #6e3e18; text-shadow: 0 2px 0 #6e3e18; }
.tab.on { background: linear-gradient(#fff8e6, #f4ddb0); color: var(--wood2); text-shadow: none; box-shadow: 0 3px 0 #c49050, inset 0 0 0 2px #e0b060; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.card { background: #fffaf0; border: 3px solid #f0d8a8; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; align-items: center; cursor: pointer; transition: transform .1s; }
.card:hover { transform: translateY(-3px); }
.card .ch { width: 100%; text-align: center; font: 18px 'Lilita One'; color: var(--wood); background: repeating-linear-gradient(-45deg, #fde8c4, #fde8c4 8px, #fbe0b4 8px, #fbe0b4 16px); padding: 4px; }
.card img { width: 84px; height: 84px; margin: 6px 0 2px; }
.card .cp { display: flex; align-items: center; gap: 6px; font: 20px 'Lilita One'; color: #e040a0; }
.card .cg { width: 100%; text-align: center; background: #e8f8c0; padding: 4px; margin-top: 6px; font: 600 12px Fredoka; color: #6a8a2a; }
.card .cg b { display: block; font: 20px 'Lilita One'; color: #f08a10; }
.card .soilreq { font: 600 11px Fredoka; color: #a0622a; }
.card.locked { opacity: .55; }

.row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: #fffaf0; border: 2px solid #f0d8a8; border-radius: 14px; margin-bottom: 8px; }
.row .grow { flex: 1; }
.row .t1 { font: 17px 'Lilita One'; color: var(--wood); } .row .t2 { font: 600 13px Fredoka; color: #9a7a5a; }
.bar { height: 12px; background: #ead8b8; border-radius: 6px; overflow: hidden; margin-top: 4px; } .bar i { display: block; height: 100%; background: linear-gradient(#8ee05a, #3fae2a); }
.mini-av { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; font: 22px 'Lilita One'; color: #fff; background: linear-gradient(135deg, #6ac0ff, #3a7ae0); flex: none; }
.rank { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 16px 'Lilita One'; color: #fff; background: #c9a07a; flex: none; }
.rank.r1 { background: #f0b020; } .rank.r2 { background: #7ab8e0; } .rank.r3 { background: #d88a4a; }
.plus { width: 42px; height: 42px; border-radius: 50%; font: 26px 'Lilita One'; color: #fff; background: radial-gradient(circle at 40% 30%, #8ee05a, #2f9a24); box-shadow: 0 3px 0 #1a6a14; }
.plus.on { background: radial-gradient(circle at 40% 30%, #ffd07a, #f08a10); box-shadow: 0 3px 0 #a85a08; }

.qty { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 12px 0; }
.qty button { width: 46px; height: 46px; border-radius: 50%; font: 28px 'Lilita One'; color: #fff; background: radial-gradient(circle at 40% 30%, #8ee05a, #2f9a24); box-shadow: 0 3px 0 #1a6a14; }
.qty input { width: 120px; text-align: center; font: 26px 'Lilita One'; color: var(--wood2); border: 3px solid #e0c08a; border-radius: 12px; background: #fff; padding: 4px; }
.center { text-align: center; } .mt { margin-top: 12px; }
.note { font: 600 13px Fredoka; color: #9a6a3a; background: #fff3d6; border: 2px dashed #e8c080; border-radius: 12px; padding: 8px 12px; }
.big-price { font: 22px 'Lilita One'; color: var(--red); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font: 600 15px Fredoka; }
.kv b { color: var(--wood); } .kv span { color: #c43a20; }


.soil-wrap { display: grid; grid-template-columns: 170px 1fr; gap: 14px; }
.soil-tabs { display: flex; flex-direction: column; gap: 8px; }
.soil-tabs .tab { text-align: center; }
.soil-banner { border-radius: 16px; height: 120px; display: flex; align-items: center; justify-content: space-around; padding: 0 20px;
  background: linear-gradient(#bfe8ff, #e6f6ff 60%, #9ed46a 60%); border: 3px solid #fff; box-shadow: inset 0 0 0 2px #d8b07a; }
.soil-banner h3 { font: 30px 'Lilita One'; margin: 0; color: #ffe04a; text-shadow: 0 3px 0 #c43a20, 0 0 4px #c43a20; text-align: center; line-height: 1; }
.soil-banner h3 small { display: block; font-size: 20px; color: #3a9aff; text-shadow: 0 2px 0 #fff; }
ol.rules { font: 600 15px Fredoka; color: #a0461e; padding-left: 22px; } ol.rules b { color: #e0202a; }
.soil-foot { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.soilcount { display: flex; align-items: center; gap: 6px; font: 22px 'Lilita One'; color: var(--wood2); }


.daily-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.dcell { position: relative; aspect-ratio: 1.15; border-radius: 10px; background: linear-gradient(#ffb04a, #f08a10); display: grid; place-items: center; box-shadow: 0 3px 0 #b05a08; }
.dcell img { width: 70%; height: 70%; } .dcell b { position: absolute; right: 6px; bottom: 2px; font: 13px 'Lilita One'; color: #fff; text-shadow: 0 1px 0 #6a3a00; }
.dcell .dn { position: absolute; left: 6px; top: 2px; font: 11px 'Lilita One'; color: #fff8; }
.dcell.got { background: linear-gradient(#f0e6d0, #ddd0b4); box-shadow: 0 3px 0 #b0a080; }
.dcell.got::after { content: '✔'; position: absolute; font: 30px 'Lilita One'; color: #3fae2a; text-shadow: 0 2px 0 #fff; }
.dcell.next { outline: 3px solid #3fae2a; outline-offset: 2px; }
.chests { position: relative; display: flex; justify-content: space-between; margin: 18px 6px 4px; }
.chests::before { content: ''; position: absolute; left: 0; right: 0; top: 18px; height: 10px; background: #e8d4a8; border-radius: 6px; }
.chest { position: relative; text-align: center; font: 13px 'Lilita One'; color: #f08a10; }
.chest i { font-style: normal; font-size: 30px; display: block; }
.chest small { display: block; font: 600 10px Fredoka; color: #fff; background: #888; border-radius: 6px; padding: 1px 6px; }
.chest.ok small { background: #3fae2a; }


#login { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: radial-gradient(circle at 50% 30%, #bff27a, #4aa82a); }
.lbox { width: min(420px, 92vw); background: linear-gradient(#fff6e0, #f8e4bc); border: 5px solid #e08a3a; border-radius: 26px; padding: 24px; text-align: center; box-shadow: 0 8px 0 #a85a1a; }
.logo { font: 64px 'Lilita One'; line-height: .9; color: #ffe04a; text-shadow: 0 5px 0 #c43a20, 0 0 6px #c43a20; transform: rotate(-3deg); margin-bottom: 10px; }
.logo span { color: #7ee04a; text-shadow: 0 5px 0 #2a7a1a, 0 0 6px #2a7a1a; }
.lbox p { font: 600 15px Fredoka; color: #8a5a2a; }
.lbox input { width: 100%; font: 22px 'Lilita One'; padding: 12px; text-align: center; border: 3px solid #e0c08a; border-radius: 14px; margin: 8px 0 14px; color: var(--wood2); }
.lerr { color: var(--red); font-weight: 600; min-height: 20px; margin-top: 8px; }

@media (max-width: 900px) {
  #topbar button { width: 52px; } #topbar i { width: 40px; height: 40px; font-size: 22px; } #topbar span { font-size: 9px; }
  #ticker { left: 8px; right: 8px; top: 96px; }
  .pcard { min-width: 0; transform: scale(.82); transform-origin: top left; }
  .pcard2 { top: 82px; }
  .sq { width: 64px; height: 64px; } .sq i { font-size: 24px; } .sq span { font-size: 9px; }
  #seedbar { max-width: calc(100vw - 90px); left: auto; right: 6px; transform: none; }
  .seed { width: 56px; height: 66px; } .seed img { width: 38px; height: 38px; } .sickle { width: 64px; height: 66px; }
  .soil-wrap { grid-template-columns: 1fr; } .soil-tabs { flex-direction: row; flex-wrap: wrap; }
  .daily-grid { gap: 4px; }
}


.gplus { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; font: 18px 'Lilita One'; line-height: 20px; color: #fff; padding: 0;
  background: radial-gradient(circle at 40% 30%, #8ee05a, #2f9a24); box-shadow: 0 2px 0 #1a6a14; }
.lor { display: flex; align-items: center; gap: 10px; margin: 14px 0 10px; color: #b08050; font-weight: 600; }
.lor::before, .lor::after { content: ''; flex: 1; height: 2px; background: #e8cc98; }
.wlist { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.wopt { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: #fffaf0; border: 2px solid #f0d8a8;
  font: 16px 'Lilita One'; color: var(--wood2); text-decoration: none; cursor: pointer; }
.wopt img { width: 28px; height: 28px; border-radius: 6px; } .wopt em { margin-left: auto; font: 600 11px Fredoka; color: #2f8a24; font-style: normal; }
.wopt.off em { color: #a08060; }
.packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.pack { text-align: center; padding: 10px; border-radius: 14px; background: #fffaf0; border: 3px solid #f0d8a8; cursor: pointer; }
.pack b { display: block; font: 22px 'Lilita One'; color: #e040a0; } .pack span { font: 600 13px Fredoka; color: #6a8a2a; }
.pack:hover { border-color: #8ee05a; }
.tin { display: flex; gap: 8px; align-items: center; justify-content: center; margin: 12px 0; flex-wrap: wrap; }
.tin input { width: 170px; text-align: center; font: 22px 'Lilita One'; color: var(--wood2); border: 3px solid #e0c08a; border-radius: 12px; padding: 6px; }
.addr { font: 600 13px monospace; word-break: break-all; color: #6a4a2a; }
.st-paid { color: #2f8a24; } .st-pending, .st-processing { color: #d08a10; } .st-refunded { color: #888; }


.pcard { background: linear-gradient(#b8763a, #8a4c1c 60%, #74400f); border: 3px solid #4a2408; border-radius: 14px;
  box-shadow: inset 0 2px 0 #e0a868, inset 0 -3px 0 #5a2e0c, 0 4px 0 rgba(0,0,0,.3); padding: 6px 14px 6px 6px; }
.avatar { padding: 0; overflow: hidden; border: 3px solid #ffe6b0; box-shadow: 0 2px 0 #4a2408; background: #8ad0ff; }
.avatar img { width: 100%; height: 100%; display: block; }
.pname { color: #fff; -webkit-text-stroke: 0; text-shadow: 0 2px 0 #4a2408, 2px 0 0 #4a2408, -2px 0 0 #4a2408, 0 -1px 0 #4a2408; }
.xpbar { border: 2px solid #4a2408; height: 18px; } .xpbar span { line-height: 14px; text-shadow: 0 1px 0 #2a5a10; }
.gold { border: 2px solid #4a2408; }
img.mini-av { width: 46px; height: 46px; border-radius: 10px; border: 2px solid #fff; box-shadow: 0 2px 0 #c49050; }

#ticker { background: linear-gradient(rgba(40,25,10,.72), rgba(20,12,4,.72)); border: 2px solid rgba(255,255,255,.15); height: 32px; }
#ticker .mega { width: 44px; height: 44px; padding: 0; margin: 0 4px 0 -6px; display: grid; place-items: center; }
#ticker .mega img { width: 44px; height: 44px; filter: drop-shadow(0 2px 0 #0005); }

#topbar { gap: 2px; }
#topbar i, #rightbar .side i { width: 64px; height: 60px; background: none; border: 0; box-shadow: none; border-radius: 0; }
#topbar i img, #rightbar .side i img { width: 64px; height: 64px; filter: drop-shadow(0 3px 0 rgba(60,30,5,.45)); }
#topbar span, #rightbar .side span { font-size: 14px; margin-top: -2px; letter-spacing: .3px;
  text-shadow: 0 2px 0 #4a2408, 2px 0 0 #4a2408, -2px 0 0 #4a2408, 0 -2px 0 #4a2408, 1px 1px 0 #4a2408, -1px 1px 0 #4a2408; }
#topbar .exit i { background: none; }
#rightbar .side { width: 84px; }

.topbtn { background: linear-gradient(90deg, #b8763a, #8a4c1c); border: 3px solid #4a2408; box-shadow: inset 2px 0 0 #e0a868, 0 4px 0 #0003; width: 56px; padding: 14px 0; }
.topbtn span { font-size: 34px; color: #ffe07a; text-shadow: 0 3px 0 #4a2408, 2px 0 0 #4a2408, -2px 0 0 #4a2408, 0 -2px 0 #4a2408; }

.sq { width: 86px; height: 86px; border-radius: 16px; background: linear-gradient(#fffbea, #f7e2ac); border: 3px solid #fff; box-shadow: 0 0 0 2px #d8a050, 0 5px 0 #b07a30; }
.sq i { width: 58px; height: 58px; } .sq i img { width: 58px; height: 58px; filter: drop-shadow(0 2px 0 rgba(60,30,5,.35)); }
.sq span { font-size: 12px; margin-top: -4px; text-shadow: 0 2px 0 #4a2408, 2px 0 0 #4a2408, -2px 0 0 #4a2408, 0 -1px 0 #4a2408; }
.sq b { position: absolute; bottom: 2px; font-size: 17px; text-shadow: 0 2px 0 #333, 2px 0 0 #333, -2px 0 0 #333, 0 -1px 0 #333; }

#seedbar { background: linear-gradient(#fffbea, #f4ddb0); border: 3px solid #fff; box-shadow: 0 0 0 3px #c88a3a, 0 6px 0 #8a5420; border-radius: 22px 22px 14px 14px; }
.seed { border: 2px solid #f0d8a8; box-shadow: 0 3px 0 #e0c090; }
.sickle { background: linear-gradient(#9af06a, #3fae2a); border: 3px solid #fff; box-shadow: 0 0 0 2px #2a7a1a, 0 4px 0 #1a5a10; }
.sickle i img { width: 48px; height: 48px; filter: drop-shadow(0 2px 0 rgba(0,0,0,.3)); }
.sickle i { width: 48px; height: 48px; }
.sickle span { text-shadow: 0 2px 0 #1a5a10, 1px 0 0 #1a5a10, -1px 0 0 #1a5a10; }
@media (max-width: 900px) {
  #topbar i, #topbar i img { width: 44px; height: 44px; } #topbar span { font-size: 9px; }
  .sq i, .sq i img { width: 40px; height: 40px; }
}


.btn.gray { background: linear-gradient(#e4e4e4, #a8a8a8); box-shadow: 0 4px 0 #7a7a7a; color: #fff; }
.btn.gray:disabled { filter: none; }
.mis-btn { min-width: 92px; padding: 10px 14px; font-size: 17px; border-radius: 14px; }
.mis-head { display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin-bottom: 10px; border-radius: 16px;
  background: linear-gradient(#fff6dc, #ffe6b0); border: 3px solid #f0c070; }
.mis-count { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 86px; }
.mis-count span { font: 600 12px Fredoka; color: #fff; background: #8a5a2a; border-radius: 10px; padding: 2px 8px; }
.mis-count b { font: 22px 'Lilita One'; color: #fff; background: linear-gradient(#f2a43a, #d8761a); border-radius: 10px; padding: 2px 14px; text-shadow: 0 2px 0 #9a4a0a; }
.mis-chest { width: 58px; height: 58px; display: grid; place-items: center; font-size: 30px; border-radius: 14px;
  background: linear-gradient(#ffe27a, #f2b52e); border: 3px solid #c98a1e; box-shadow: inset 0 3px 0 rgba(255,255,255,.5); }
.mis-chest.ready { animation: mis-pulse 1s ease-in-out infinite; }
@keyframes mis-pulse { 50% { transform: scale(1.08) rotate(-4deg); } }
.mis-all { flex: 1; } .mis-all .t1 { font: 18px 'Lilita One'; color: #b0461a; } .mis-all .t2 { font: 700 13px Fredoka; color: #e08a10; }
.mis-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin-bottom: 8px; border-radius: 16px;
  background: #fffaf0; border: 3px solid #f2dca8; }
.mis-row.done { opacity: .7; }
.mis-row .grow { flex: 1; min-width: 0; }
.mis-row .t1 { font: 17px 'Lilita One'; color: #b0461a; } .mis-row .t2 { font: 600 12px Fredoka; color: #9a7a5a; margin-top: 2px; }
.mis-rw { font: 700 13px Fredoka; color: #e8a010; }
.mis-ic { width: 56px; height: 56px; flex: none; display: grid; place-items: center; border-radius: 14px;
  background: linear-gradient(#ffe27a, #f2b52e); border: 3px solid #c98a1e; }
.mis-ic img { width: 44px; height: 44px; object-fit: contain; }
.mis-tag { font: 600 11px Fredoka; font-style: normal; color: #fff; background: #3fae2a; border-radius: 8px; padding: 1px 6px; vertical-align: middle; }
@media (max-width: 900px) { #toasts { top: 165px; } }


#seedtip { position: fixed; z-index: 70; width: 230px; pointer-events: none; padding: 10px 12px; border-radius: 16px;
  background: linear-gradient(#fffaf0, #fff0d0); border: 3px solid #e8b860; box-shadow: 0 6px 0 rgba(150,90,20,.35), 0 10px 24px rgba(0,0,0,.25); }
#seedtip.hidden { display: none; }
#seedtip::after { content: ''; position: absolute; left: 50%; bottom: -11px; margin-left: -9px; border: 9px solid transparent; border-bottom: 0; border-top-color: #e8b860; }
.st-h { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.st-h img { width: 54px; height: 54px; }
.st-h b { display: block; font: 19px 'Lilita One'; color: #7a3a10; }
.st-h span { font: 600 12px Fredoka; color: #b07a3a; }
.st-r { display: flex; justify-content: space-between; font: 600 13px Fredoka; color: #8a6a4a; padding: 3px 0; border-top: 1px dashed #ecd2a0; }
.st-r em { font-style: normal; font-weight: 700; color: #5a3a1a; }
.st-r.good em { color: #2f9a22; }
.st-lock { margin-top: 6px; font: 700 12px Fredoka; color: #fff; background: #c0442a; border-radius: 10px; padding: 4px 8px; text-align: center; }
.seed img { width: 54px; height: 54px; margin-top: -2px; filter: drop-shadow(0 2px 1px rgba(90,50,10,.25)); }
#leftbar .sq img { filter: drop-shadow(0 2px 1px rgba(90,50,10,.3)); }
@media (max-width: 900px) { .seed img { width: 42px; height: 42px; } }
.st-coin { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 4px; vertical-align: -1px; background: radial-gradient(circle at 35% 35%, #fff3a0, #f2b520 55%, #c07a10); box-shadow: 0 0 0 1px #b07010; }


canvas#farm.sickle-on { cursor: none; }
.sickle.on { background: linear-gradient(#ffe27a, #f2a020); box-shadow: 0 0 0 2px #b06a08, 0 4px 0 #8a4a00, 0 0 18px 4px rgba(255,220,80,.8); animation: sk-pulse 1s ease-in-out infinite; }
.sickle.on span { text-shadow: 0 2px 0 #8a4a00, 1px 0 0 #8a4a00, -1px 0 0 #8a4a00; }
@keyframes sk-pulse { 50% { transform: translateY(-3px); } }
.coinfly { position: fixed; z-index: 40; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 35% 35%, #fff6b0, #f5c020 55%, #c07a10); box-shadow: 0 0 0 2px #a86a08, 0 0 10px rgba(255,210,60,.8);
  transition: transform .55s cubic-bezier(.5,-0.3,.7,1), opacity .55s ease-in; }


.scard { position: relative; overflow: visible; background: linear-gradient(#fffbe8, #fff3c8); border: 3px solid #f2d68a; box-shadow: 0 4px 0 #e0b860; }
.scard .ch { border-radius: 13px 13px 0 0; color: #a0521a; }
.scard .cimg { position: relative; width: 100%; height: 100px; display: grid; place-items: center; overflow: hidden; }
.scard .cimg::before { content: ''; position: absolute; width: 170px; height: 170px; left: 50%; top: 50%; margin: -85px 0 0 -85px; border-radius: 50%;
  background: repeating-conic-gradient(rgba(255,255,255,.75) 0 10deg, rgba(255,240,180,0) 10deg 22deg);
  -webkit-mask: radial-gradient(circle, #000 20%, transparent 68%); mask: radial-gradient(circle, #000 20%, transparent 68%); animation: rays 14s linear infinite; }
.scard .cimg::after { content: ''; position: absolute; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.95), rgba(255,255,255,0) 70%); }
.scard .cimg img { position: relative; z-index: 1; width: 86px; height: 86px; margin: 0; filter: drop-shadow(0 3px 2px rgba(120,70,10,.3)); }
@keyframes rays { to { transform: rotate(360deg); } }
.scard .cp { font-size: 22px; color: #e83aa8; border-bottom: 2px solid #f0d8a8; padding: 0 10px 2px; }
.scard .cp .coin { width: 20px; height: 20px; }
.scard .cg { background: linear-gradient(#fff6a8, #ffe680); border-radius: 0 0 13px 13px; color: #a8701a; font: 700 14px Fredoka; }
.scard .cg b { font-size: 24px; color: #f08a10; text-shadow: 0 2px 0 #fff2c0; }
.soilbadge { position: absolute; z-index: 2; left: -10px; top: -14px; width: 58px; height: 46px; display: grid; place-items: center;
  background: #fffaf0; border: 3px solid #e8b860; border-radius: 50%; box-shadow: 0 3px 0 rgba(150,90,20,.3); }
.soilbadge::after { content: ''; position: absolute; left: 14px; bottom: -9px; border: 7px solid transparent; border-bottom: 0; border-top-color: #e8b860; }
.soilbadge img { width: 40px; height: 40px; }
.scard.locked { opacity: 1; filter: grayscale(.55) brightness(.97); }
.scard.locked .soilbadge { filter: none; border-color: #e05a3a; }
.grid { padding-top: 12px; }

.st-soil { display: flex; align-items: center; gap: 8px; margin: 2px 0 6px; padding: 4px 8px; border-radius: 12px; border: 2px solid #9ad070; background: #f0ffe0; }
.st-soil.no { border-color: #e07a5a; background: #fff0ea; }
.st-soil img { width: 38px; height: 38px; }
.st-soil small { display: block; font: 600 11px Fredoka; color: #9a7a5a; }
.st-soil b { font: 15px 'Lilita One'; color: #7a3a10; }
.st-soil i { margin-left: auto; font-style: normal; font-size: 16px; }
.scard .ch { padding: 4px 8px 4px 46px; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }


.bank-head { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: linear-gradient(#fff6dc, #ffe6b0); border: 3px solid #f0c070; margin-bottom: 10px; }
.bank-head img { width: 76px; height: 76px; }
.bh1 { font: 22px 'Lilita One'; color: #8a4a10; } .bh2 { font: 600 13px Fredoka; color: #9a6a3a; }
.bank-new { padding: 10px 12px; border-radius: 16px; background: #fffaf0; border: 3px solid #f2dca8; }
.bank-new .t1, .t1.mt { font: 17px 'Lilita One'; color: #b0461a; }
.bank-in input { width: 100%; font: 22px 'Lilita One'; text-align: center; }
.bank-quick { display: flex; gap: 6px; justify-content: center; margin: 8px 0; }
.bank-calc { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font: 600 14px Fredoka; color: #8a6a4a; padding: 8px 10px; border-radius: 12px; background: #fff3d6; margin-bottom: 8px; }
.bank-calc b { font: 18px 'Lilita One'; color: #5a3a1a; text-align: right; } .bank-calc b.good { color: #2f9a22; }
.bank-dep { display: flex; align-items: center; gap: 10px; padding: 8px 12px; margin-top: 8px; border-radius: 14px; background: #fffaf0; border: 3px solid #f2dca8; }
.bank-dep.ready { border-color: #8ee05a; background: #f2ffe6; }
.bank-dep .grow { flex: 1; } .bank-dep .t1 { font: 16px 'Lilita One'; color: #7a3a10; } .bank-dep .t1 b { color: #2f9a22; } .bank-dep .t2 { font: 600 12px Fredoka; color: #9a7a5a; }

.bank-terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 6px 0 10px; }
.bank-term { display: flex; flex-direction: column; align-items: center; padding: 8px 4px; border-radius: 14px; background: #fff6dc; border: 3px solid #f0d090; box-shadow: 0 3px 0 #e0b860; cursor: pointer; }
.bank-term b { font: 17px 'Lilita One'; color: #8a4a10; } .bank-term span { font: 22px 'Lilita One'; color: #f08a10; } .bank-term small { font: 700 12px Fredoka; color: #2f9a22; }
.bank-term.on { background: linear-gradient(#eaffd8, #c8f0a0); border-color: #3fae2a; box-shadow: 0 3px 0 #2a7a1a, 0 0 0 3px #8ee05a; }


#topbar { top: 8px; right: 10px; gap: 4px; }
#topbar button, #rightbar .side { width: 84px; }
#topbar i, #rightbar .side i { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font-style: normal;
  background: radial-gradient(circle at 35% 28%, #fffdf2, #ffeab0 55%, #f3c45a); border: 3px solid #fff;
  box-shadow: 0 0 0 3px #c07a2a, 0 6px 0 3px #8a4a14, inset 0 -5px 0 rgba(200,120,30,.3); transition: transform .12s; }
#topbar i img, #rightbar .side i img { width: 46px; height: 46px; filter: drop-shadow(0 2px 0 rgba(90,50,10,.35)); }
#topbar span, #rightbar .side span { margin-top: 10px; padding: 2px 8px; border-radius: 10px; background: linear-gradient(#94541e, #5e300c);
  border: 2px solid #ffd27a; font: 11px 'Lilita One'; letter-spacing: .3px; color: #fff; text-shadow: 0 1px 0 #3a1a04; white-space: nowrap; }
#topbar button:hover i, #rightbar .side:hover i { transform: translateY(-3px) scale(1.07); }
#topbar button:active i, #rightbar .side:active i { transform: translateY(2px) scale(.96); }
#topbar .exit i { background: radial-gradient(circle at 35% 28%, #ffe2d6, #ff8a66 58%, #d8462a); }
#topbar .dot, #rightbar .dot { top: -2px; right: 12px; width: 16px; height: 16px; border: 2px solid #fff; }
#rightbar { top: 120px; gap: 10px; align-items: center; }
#rightbar .side i.crown { font-size: 30px; background: radial-gradient(circle at 35% 28%, #fff7d0, #ffd84a 55%, #e8a010); }
#rightbar .side i.crown + span { background: linear-gradient(#d8901a, #8a4a08); }


#ticker { top: 104px; left: 50%; right: auto; transform: translateX(-50%); width: min(520px, calc(100vw - 32px)); height: 28px; border-radius: 14px;
  z-index: 6; transition: opacity .35s, transform .35s; background: linear-gradient(rgba(60,34,12,.88), rgba(34,18,6,.88)); border: 2px solid #ffd27a; }
#ticker.idle { opacity: 0; transform: translateX(-50%) translateY(-10px); pointer-events: none; }
#ticker .mega { width: 34px; height: 34px; margin: 0 2px 0 -8px; } #ticker .mega img { width: 34px; height: 34px; }
#tk-text { line-height: 26px; font-size: 13px; }


.pcard { border-radius: 18px; background: linear-gradient(#c88a48, #9a5a22 55%, #7a4212); border: 3px solid #5a2e0c;
  box-shadow: inset 0 2px 0 #f0b878, inset 0 -3px 0 #5a2e0c, 0 5px 0 rgba(0,0,0,.28); padding: 6px 16px 6px 6px; gap: 10px; }
.avatar { width: 74px; height: 74px; border-radius: 50%; overflow: visible; position: relative; cursor: pointer;
  background: radial-gradient(circle at 50% 35%, #d8f2ff, #7cc4f0); border: 4px solid #ffd76a; box-shadow: 0 0 0 3px #8a4a14, 0 4px 0 3px #5a2e0c; transition: transform .12s; }
.avatar img { border-radius: 50%; width: 100%; height: 100%; object-fit: cover; }
#me-avatar:hover { transform: scale(1.06) rotate(-3deg); }
#tg-avatar { cursor: default; }
.av-edit { position: absolute; right: -6px; bottom: -4px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  font-style: normal; font-size: 13px; color: #fff; background: #3fae2a; border: 2px solid #fff; box-shadow: 0 2px 0 #1a5a10; }
.av-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; padding: 6px; }
.av-pick { aspect-ratio: 1; border-radius: 50%; padding: 4px; background: radial-gradient(circle at 50% 35%, #d8f2ff, #7cc4f0); border: 4px solid #f0d8a8; box-shadow: 0 4px 0 #c49050; cursor: pointer; transition: transform .1s; }
.av-pick img { width: 100%; height: 100%; border-radius: 50%; }
.av-pick:hover { transform: translateY(-3px) scale(1.05); }
.av-pick.on { border-color: #3fae2a; box-shadow: 0 0 0 3px #8ee05a, 0 4px 0 #2a7a1a; }

@media (max-width: 900px) {
  #topbar button, #rightbar .side { width: 54px; }
  #topbar i, #rightbar .side i { width: 42px; height: 42px; border-width: 2px; box-shadow: 0 0 0 2px #c07a2a, 0 4px 0 2px #8a4a14; }
  #topbar i img, #rightbar .side i img { width: 32px; height: 32px; }
  #topbar span, #rightbar .side span { font-size: 8px; padding: 1px 4px; margin-top: 6px; }
  #ticker { top: 150px; }
  .av-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  
  #topbar { top: 78px; left: 4px; right: 4px; justify-content: space-between; }
  #topbar button { width: 48px; }
  #ticker { top: 146px; }
  #rightbar { top: 176px; }
}


.ag-hero { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 18px; color: #fff;
  background: linear-gradient(135deg, #1e2d52, #2f4a86 60%, #3a5aa0); border: 3px solid #d8b46a; box-shadow: inset 0 2px 0 rgba(255,255,255,.2), 0 4px 0 #14203c; }
.ag-hero > img { width: 96px; height: 96px; filter: drop-shadow(0 4px 4px rgba(0,0,0,.35)); }
.ag-ht { flex: 1; } .ag-title { font: 24px 'Lilita One'; color: #ffe08a; letter-spacing: .4px; text-shadow: 0 2px 0 #0e1830; }
.ag-sub { font: 600 13px Fredoka; color: #d8e4ff; }
.ag-rank { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 14px; background: rgba(0,0,0,.25); border: 2px solid rgba(255,224,138,.5); }
.ag-rank small { font: 700 10px Fredoka; letter-spacing: 1px; color: #c8d4f0; } .ag-rank span { font: 700 12px Fredoka; color: #8ef06a; }
.ag-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0; }
.ag-stats > div { text-align: center; padding: 8px; border-radius: 14px; background: #fffaf0; border: 2px solid #f0d8a8; }
.ag-stats small { display: block; font: 700 11px Fredoka; color: #9a7a5a; text-transform: uppercase; letter-spacing: .5px; }
.ag-stats b { font: 22px 'Lilita One'; color: #2a3a66; } .ag-stats .gold-t { color: #e08a10; } .ag-stats .green-t { color: #2f9a22; }
.ag-card { padding: 10px 12px; border-radius: 16px; background: #fffaf0; border: 2px solid #f0d8a8; margin-bottom: 10px; }
.ag-h { font: 16px 'Lilita One'; color: #2a3a66; margin-bottom: 6px; }
.vip-tiers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.vip-tier { text-align: center; padding: 8px 4px; border-radius: 12px; background: #f4f0e8; border: 2px solid #e6dcc8; opacity: .7; }
.vip-tier.got { opacity: 1; background: #fff6dc; border-color: #f0c060; }
.vip-tier.cur { box-shadow: 0 0 0 3px #3fae2a; background: #effee4; }
.vt-n { font: 15px 'Lilita One'; color: #5a3a1a; margin-top: 4px; } .vt-n small { font: 600 10px Fredoka; color: #9a7a5a; }
.vt-p { font: 18px 'Lilita One'; color: #2f9a22; }
.ag-prog { display: flex; align-items: center; gap: 10px; margin-top: 8px; } .ag-prog .bar { flex: 1; margin: 0; } .ag-prog span { font: 600 12px Fredoka; color: #7a5a3a; white-space: nowrap; }
.ag-link { display: flex; gap: 8px; align-items: center; } .ag-link code { flex: 1; font: 600 13px monospace; color: #2a3a66; background: #eef2ff; border: 2px dashed #9ab0e0; border-radius: 10px; padding: 8px 10px; word-break: break-all; }
.ag-friends { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.ag-friend { display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 12px; background: #fff; border: 2px solid #f0e0c0; }
.ag-friend img { width: 40px; height: 40px; border-radius: 50%; background: #9ad4f8; } .ag-friend b { display: block; font: 14px 'Lilita One'; color: #5a3a1a; } .ag-friend small { font: 600 11px Fredoka; color: #9a7a5a; }
.ag-empty { font: 600 13px Fredoka; color: #9a7a5a; padding: 6px; }

.vip-badge { display: inline-block; padding: 1px 7px; border-radius: 8px; font: 12px 'Lilita One'; letter-spacing: .5px; color: #fff; text-shadow: 0 1px 0 rgba(0,0,0,.4); border: 2px solid #fff; box-shadow: 0 2px 0 rgba(0,0,0,.25); }
.vip-badge.big { font-size: 20px; padding: 2px 12px; border-radius: 12px; }
.vip-badge.v0 { background: #8a8a8a; } .vip-badge.v1 { background: linear-gradient(#c8925a, #8a5424); } .vip-badge.v2 { background: linear-gradient(#d8dce4, #8a94a4); }
.vip-badge.v3 { background: linear-gradient(#ffe27a, #d89a10); } .vip-badge.v4 { background: linear-gradient(#7ae0ff, #2a7ad8); } .vip-badge.v5 { background: linear-gradient(#ff9ae0, #8a2ad8); }
#me-avatar .vip-badge { position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%); font-size: 11px; padding: 0 6px; white-space: nowrap; }
@media (max-width: 900px) { .ag-hero > img { width: 64px; height: 64px; } .ag-rank { display: none; } .vip-tiers { grid-template-columns: repeat(5, 1fr); gap: 3px; } .vt-n small { display: none; } }
.ag-hero > img { padding: 8px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fffdf2, #ffe6a8 60%, #e8b84a); border: 3px solid #fff; box-shadow: 0 0 0 3px #d8b46a, 0 4px 0 3px #14203c; }

.ag-hint { font: 600 11px Fredoka; color: #7a8ab0; margin-left: 6px; }
.vt-g { font: 600 12px Fredoka; color: #5a3a1a; margin-top: 2px; } .vt-g small { display: block; font-size: 10px; color: #9a7a5a; }


.soil-wrap2 { display: grid; grid-template-columns: 210px 1fr; gap: 14px; }
.soil-tabs2 { display: flex; flex-direction: column; gap: 8px; }
.soil-tab { position: relative; display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border-radius: 14px; cursor: pointer; text-align: left;
  background: #fffaf0; border: 3px solid #ecd6a8; box-shadow: 0 3px 0 #d8b880; transition: transform .1s; }
.soil-tab:hover { transform: translateX(3px); }
.soil-tab img { width: 42px; height: 42px; }
.soil-tab b { display: block; font: 15px 'Lilita One'; color: #6a3a12; } .soil-tab small { font: 700 11px Fredoka; color: #2f9a22; }
.soil-tab.on { background: linear-gradient(135deg, var(--a), var(--b)); border-color: #fff; box-shadow: 0 0 0 3px var(--b), 0 4px 0 3px rgba(0,0,0,.25); }
.soil-tab.on b { color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,.35); } .soil-tab.on small { color: #fff6c0; }
.soil-tab .st { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font: 700 10px Fredoka; font-style: normal; padding: 2px 6px; border-radius: 8px; }
.st.ok { background: #3fae2a; color: #fff; } .st.go { background: #f0a020; color: #fff; } .st.lock { background: rgba(0,0,0,.08); }
.soil-hero { position: relative; overflow: hidden; height: 150px; border-radius: 18px; display: flex; align-items: center; gap: 16px; padding: 0 20px;
  background: radial-gradient(circle at 25% 50%, var(--c), transparent 55%), linear-gradient(135deg, var(--a), var(--b)); border: 3px solid #fff; box-shadow: 0 0 0 3px var(--b), 0 5px 0 3px rgba(0,0,0,.2); }
.sh-rays { position: absolute; left: -60px; top: 50%; width: 300px; height: 300px; margin-top: -150px; border-radius: 50%; opacity: .35;
  background: repeating-conic-gradient(rgba(255,255,255,.9) 0 9deg, transparent 9deg 20deg); animation: rays 18s linear infinite; }
.sh-tile { position: relative; width: 120px; height: 120px; filter: drop-shadow(0 8px 6px rgba(0,0,0,.35)); animation: sh-float 3s ease-in-out infinite; }
@keyframes sh-float { 50% { transform: translateY(-6px) rotate(-2deg); } }
.sh-title { position: relative; flex: 1; color: #fff; } .sh-title small { display: block; font: 700 13px Fredoka; letter-spacing: 2px; opacity: .9; }
.sh-title b { display: block; font: 32px 'Lilita One'; line-height: 1.05; text-shadow: 0 3px 0 rgba(0,0,0,.35); }
.sh-title span { display: inline-block; margin-top: 6px; padding: 2px 10px; border-radius: 10px; background: rgba(255,255,255,.92); color: #2f9a22; font: 14px 'Lilita One'; }
.sh-crops { position: relative; display: flex; gap: 8px; }
.sh-crops div { display: flex; flex-direction: column; align-items: center; padding: 6px; border-radius: 14px; background: rgba(255,255,255,.88); box-shadow: 0 3px 0 rgba(0,0,0,.2); }
.sh-crops img { width: 62px; height: 62px; } .sh-crops small { font: 700 11px Fredoka; color: #6a3a12; }
.soil-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0 8px; }
.soil-stats > div { text-align: center; padding: 6px; border-radius: 12px; background: #fffaf0; border: 2px solid #f0d8a8; }
.soil-stats small { display: block; font: 700 11px Fredoka; color: #9a7a5a; text-transform: uppercase; letter-spacing: .4px; }
.soil-stats b { font: 18px 'Lilita One'; color: #5a3a1a; } .soil-stats b.g { color: #2f9a22; }
.soil-prog { padding: 8px 12px; border-radius: 14px; background: #fffaf0; border: 2px solid #f0d8a8; }
.sp-top { display: flex; justify-content: space-between; font: 600 13px Fredoka; color: #7a5a3a; } .sp-top b { font: 15px 'Lilita One'; color: #5a3a1a; }
.soil-prog .bar { height: 14px; margin: 4px 0; } .sp-st { font: 700 12px Fredoka; color: #c0602a; } .sp-st.ok { color: #2f9a22; }
.srules { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 8px 0; }
.srule { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 12px; background: #fff6e4; font: 600 13px Fredoka; color: #6a4a2a; }
.srule i { font-style: normal; font-size: 20px; } .srule b { color: #c8302a; }
.soil-foot2 { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.soil-foot2 .btn { display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.soil-foot2 .btn small { font: 700 12px Fredoka; opacity: .95; margin-top: 2px; }
@media (max-width: 900px) { .soil-wrap2 { grid-template-columns: 1fr; } .soil-tabs2 { flex-direction: row; overflow-x: auto; } .soil-tab { min-width: 160px; }
  .sh-crops { display: none; } .srules { grid-template-columns: 1fr; } }
.sh-title b { text-shadow: 0 3px 0 var(--b), 2px 0 0 var(--b), -2px 0 0 var(--b), 0 -2px 0 var(--b); } .sh-title small { text-shadow: 0 1px 0 var(--b), 0 0 3px var(--b); }


#m-body .tabs { margin-bottom: 4px; }
.scard2 { position: relative; overflow: visible; background: linear-gradient(#fffdf4, #fff4d6); border: 3px solid var(--a); border-radius: 18px;
  box-shadow: 0 0 0 2px #fff inset, 0 5px 0 var(--b); transition: transform .12s, box-shadow .12s; }
.scard2:hover { transform: translateY(-4px); box-shadow: 0 0 0 2px #fff inset, 0 9px 0 var(--b), 0 10px 18px rgba(0,0,0,.18); }
.scard2 .ch { border-radius: 14px 14px 0 0; padding: 5px 8px 5px 46px; background: linear-gradient(var(--a), var(--b)); color: #fff; font: 16px 'Lilita One';
  text-shadow: 0 2px 0 rgba(0,0,0,.3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scard2 .cimg { position: relative; width: 100%; height: 104px; display: grid; place-items: center; overflow: hidden; }
.scard2 .cimg::before { content: ''; position: absolute; width: 180px; height: 180px; left: 50%; top: 50%; margin: -90px 0 0 -90px; border-radius: 50%;
  background: repeating-conic-gradient(rgba(255,255,255,.85) 0 10deg, transparent 10deg 22deg); -webkit-mask: radial-gradient(circle, #000 18%, transparent 66%); mask: radial-gradient(circle, #000 18%, transparent 66%); animation: rays 16s linear infinite; }
.scard2 .cimg::after { content: ''; position: absolute; width: 96px; height: 96px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.95), rgba(255,255,255,0) 70%); }
.scard2 .cimg img { position: relative; z-index: 1; width: 90px; height: 90px; filter: drop-shadow(0 4px 3px rgba(120,70,10,.3)); transition: transform .15s; }
.scard2:hover .cimg img { transform: scale(1.08) translateY(-3px); }
.scard2 .sub { font: 700 11px Fredoka; color: #9a6a3a; margin: -2px 0 6px; text-align: center; padding: 0 6px; }
.scard2 .buy { display: inline-flex; align-items: center; gap: 5px; padding: 4px 16px; border-radius: 14px; font: 19px 'Lilita One'; color: #fff;
  background: linear-gradient(#8ee05a, #3fae2a); border: 2px solid #fff; box-shadow: 0 3px 0 #2a7a1a; text-shadow: 0 2px 0 #2a6a1a; margin-bottom: 8px; }
.scard2 .buy .st-coin { width: 16px; height: 16px; }
.scard2 .cg { margin-top: auto; border-radius: 0 0 15px 15px; background: linear-gradient(#fff6b8, #ffe68a); padding: 4px 6px 6px; text-align: center; }
.scard2 .cg span { display: block; font: 700 11px Fredoka; color: #a8701a; text-transform: uppercase; letter-spacing: .5px; }
.scard2 .cg b { font: 21px 'Lilita One'; color: #f08a10; text-shadow: 0 2px 0 #fff2c0; }
.scard2 .cg small { display: block; font: 700 11px Fredoka; color: #2f9a22; }
.scard2.locked { filter: grayscale(.6) brightness(.97); } .scard2.locked .buy { background: linear-gradient(#c8c8c8, #9a9a9a); box-shadow: 0 3px 0 #6a6a6a; text-shadow: none; }
.ctag { position: absolute; right: -6px; top: -10px; z-index: 3; font: 12px 'Lilita One'; font-style: normal; color: #fff; padding: 2px 8px; border-radius: 10px; background: #3fae2a; border: 2px solid #fff; box-shadow: 0 2px 0 #1a5a10; }
.scard2.locked { filter: none; }
.scard2.locked .cimg img { filter: grayscale(.45) drop-shadow(0 4px 3px rgba(120,70,10,.3)); opacity: .85; }
.scard2.locked::after { content: '🔒'; position: absolute; right: -6px; top: -10px; z-index: 3; width: 30px; height: 30px; display: grid; place-items: center; font-size: 15px;
  border-radius: 50%; background: #fff; border: 2px solid var(--b); box-shadow: 0 2px 0 var(--b); }
.card.scard2.locked { opacity: 1; filter: none; }


.dhero { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 18px; margin-bottom: 10px;
  background: linear-gradient(135deg, #ffb84a, #ff7a3a 55%, #e8502a); border: 3px solid #fff; box-shadow: 0 0 0 3px #c8501a, 0 5px 0 3px #8a300a; color: #fff; }
.dflame { display: flex; flex-direction: column; align-items: center; min-width: 74px; padding: 4px 8px; border-radius: 14px; background: rgba(255,255,255,.22); font-size: 26px; line-height: 1; }
.dflame b { font: 26px 'Lilita One'; text-shadow: 0 2px 0 #8a300a; } .dflame small { font: 700 10px Fredoka; letter-spacing: .5px; text-transform: uppercase; }
.dht { flex: 1; } .dtitle { font: 22px 'Lilita One'; text-shadow: 0 2px 0 #8a300a; } .dsub { font: 600 13px Fredoka; color: #fff4e0; } .dsub b { color: #fff; }
.dclaim { display: flex; flex-direction: column; align-items: center; line-height: 1.05; min-width: 150px; } .dclaim small { font: 700 13px Fredoka; opacity: .95; }
.daily-grid2 { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.dcell2 { position: relative; display: flex; flex-direction: column; align-items: center; padding: 18px 4px 6px; border-radius: 14px;
  background: linear-gradient(#fffdf4, #fff0cc); border: 3px solid #f2d690; box-shadow: 0 3px 0 #d8b060; transition: transform .12s; }
.dcell2:hover { transform: translateY(-2px); }
.dcell2 .dn { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); padding: 1px 8px; border-radius: 9px; font: 11px 'Lilita One'; color: #fff; white-space: nowrap;
  background: linear-gradient(#e8a03a, #b8661a); border: 2px solid #fff; }
.dcell2 img { width: 62px; height: 62px; filter: drop-shadow(0 3px 2px rgba(120,70,10,.25)); }
.dcell2 .dq { position: absolute; right: 6px; top: 16px; font: 14px 'Lilita One'; color: #fff; background: #3fae2a; border-radius: 8px; padding: 0 5px; border: 2px solid #fff; }
.dcell2 .dname { font: 700 10px Fredoka; color: #8a5a2a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.dcell2.rare { background: linear-gradient(#fffbe6, #ffe39a); border-color: #f0b830; }
.dcell2.big { border-color: #b87ae8; box-shadow: 0 3px 0 #7a3ab8; background: linear-gradient(#fdf6ff, #f0dcff); }
.dcell2.big .dn { background: linear-gradient(#b87ae8, #7a3ab8); }
.dcell2.got { background: #eef6e6; border-color: #9ad070; box-shadow: 0 3px 0 #6aa040; }
.dcell2.got img { opacity: .45; filter: grayscale(.4); }
.dcheck { position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; font-size: 34px; color: #2f9a22; text-shadow: 0 2px 0 #fff, 0 0 6px #fff; }
.dcell2.next { border-color: #ffcf2a; background: linear-gradient(#fffbe0, #ffe680); box-shadow: 0 0 0 3px #ff9a1a, 0 0 18px 4px rgba(255,200,40,.75); animation: mis-pulse 1.2s ease-in-out infinite; z-index: 1; }
.dtoday { position: absolute; bottom: -9px; font: 10px 'Lilita One'; font-style: normal; color: #fff; padding: 1px 8px; border-radius: 9px; background: #e8302a; border: 2px solid #fff; }
.dtrack { position: relative; height: 84px; margin: 18px 30px 0; }
.dbar { position: absolute; left: 0; right: 0; top: 18px; height: 12px; border-radius: 6px; background: #ead8b8; overflow: hidden; box-shadow: inset 0 2px 0 rgba(0,0,0,.08); }
.dbar i { display: block; height: 100%; background: linear-gradient(#ffd24a, #f08a10); }
.dchest { position: absolute; top: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; }
.dchest > i { width: 46px; height: 46px; display: grid; place-items: center; font-style: normal; font-size: 24px; border-radius: 50%;
  background: radial-gradient(circle at 40% 30%, #fffbe0, #ffd24a 60%, #e8a010); border: 3px solid #fff; box-shadow: 0 0 0 2px #c07a10, 0 3px 0 2px #8a4a08; }
.dchest.ok > i { background: radial-gradient(circle at 40% 30%, #eaffd8, #8ee05a 60%, #3fae2a); box-shadow: 0 0 0 2px #2a7a1a, 0 3px 0 2px #1a5a10; color: #fff; }
.dchest b { font: 12px 'Lilita One'; color: #b0461a; margin-top: 2px; } .dchest small { font: 700 11px Fredoka; color: #7a5a3a; white-space: nowrap; }
.dchest small .st-coin { width: 10px; height: 10px; }
@media (max-width: 900px) { .daily-grid2 { grid-template-columns: repeat(4, 1fr); } .dhero { flex-wrap: wrap; } .dtrack { margin: 18px 16px 0; } .dchest small { display: none; } }
.daily-grid2 { row-gap: 16px; padding-top: 8px; }


.mhero { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 18px; margin-bottom: 10px; color: #fff;
  background: linear-gradient(135deg, #5cc84a, #2f9a3a 55%, #1e7a2e); border: 3px solid #fff; box-shadow: 0 0 0 3px #1e6a24, 0 5px 0 3px #124a18; }
.mring { width: 84px; height: 84px; border-radius: 50%; padding: 7px; flex: none; background: conic-gradient(#ffd24a var(--deg), rgba(255,255,255,.25) 0); }
.mring > div { width: 100%; height: 100%; border-radius: 50%; background: #1e7a2e; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.mring b { font: 26px 'Lilita One'; line-height: 1; } .mring b small { font-size: 14px; opacity: .8; } .mring span { font: 700 10px Fredoka; text-transform: uppercase; letter-spacing: .5px; }
.mht { flex: 1; } .mh-title { font: 22px 'Lilita One'; text-shadow: 0 2px 0 #124a18; }
.mtimer { display: inline-block; margin: 3px 0; padding: 1px 8px; border-radius: 8px; background: rgba(0,0,0,.22); font: 600 12px Fredoka; } .mtimer b { font-family: monospace; }
.mgoal { font: 600 13px Fredoka; color: #e8ffd8; } .mgoal b { color: #ffe27a; }
.mbig { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mbig > i { width: 64px; height: 64px; display: grid; place-items: center; font-style: normal; font-size: 32px; border-radius: 16px;
  background: linear-gradient(#ffe27a, #f2b52e); border: 3px solid #fff; box-shadow: 0 0 0 2px #c98a1e, 0 4px 0 2px #8a5a08; }
.mbig.ready > i { animation: mis-pulse 1s ease-in-out infinite; box-shadow: 0 0 0 2px #c98a1e, 0 0 18px 6px rgba(255,220,80,.9); }
.mbig .btn { padding: 6px 16px; font-size: 14px; }
.mlist { display: flex; flex-direction: column; gap: 8px; }
.mcard { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 16px; background: #fffaf0; border: 3px solid #f2dca8; box-shadow: 0 3px 0 #e0c080; }
.mcard.ready { border-color: #8ee05a; background: linear-gradient(90deg, #f0ffe4, #fffaf0); box-shadow: 0 3px 0 #5aa83a, 0 0 12px rgba(120,220,80,.45); }
.mcard.done { opacity: .6; box-shadow: none; }
.mic { width: 58px; height: 58px; flex: none; display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #fffdf2, #ffeab0 55%, #f3c45a); border: 3px solid #fff; box-shadow: 0 0 0 2px #c07a2a, 0 3px 0 2px #8a4a14; }
.mic img { width: 42px; height: 42px; object-fit: contain; }
.mi-body { flex: 1; min-width: 0; } 
.mname { font: 17px 'Lilita One'; color: #6a3a12; margin-bottom: 5px; }
.mbar { position: relative; height: 20px; border-radius: 10px; background: #ead8b8; overflow: hidden; box-shadow: inset 0 2px 0 rgba(0,0,0,.08); }
.mbar i { display: block; height: 100%; border-radius: 10px; background: linear-gradient(#ffd24a, #f08a10); }
.mcard.ready .mbar i, .mcard.done .mbar i { background: linear-gradient(#8ee05a, #3fae2a); }
.mbar span { position: absolute; inset: 0; display: grid; place-items: center; font: 12px 'Lilita One'; color: #fff; text-shadow: 0 1px 0 rgba(0,0,0,.45); }
.mrw { display: flex; flex-direction: column; align-items: center; min-width: 74px; } .mrw small { font: 700 10px Fredoka; color: #9a7a5a; text-transform: uppercase; }
.mrw b { font: 17px 'Lilita One'; color: #e08a10; white-space: nowrap; } .mrw .st-coin { width: 13px; height: 13px; }
.mnote { text-align: center; font: 600 12px Fredoka; color: #9a7a5a; margin: 8px 0 0; }
@media (max-width: 900px) { .mrw { display: none; } .mring { width: 64px; height: 64px; } .mbig > i { width: 48px; height: 48px; font-size: 24px; } }

.mhero { padding: 8px 12px; margin-bottom: 8px; }
.mring { width: 64px; height: 64px; padding: 6px; } .mring b { font-size: 21px; }
.mh-title { font-size: 19px; } .mbig > i { width: 50px; height: 50px; font-size: 26px; } .mbig .btn { padding: 4px 12px; font-size: 13px; }
.mlist { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mcard { flex-wrap: wrap; gap: 8px; padding: 8px 10px; }
.mic { width: 44px; height: 44px; } .mic img { width: 32px; height: 32px; }
.mi-body { flex: 1 1 140px; } .mname { font-size: 15px; margin-bottom: 4px; } .mbar { height: 16px; }
.mrw { min-width: 0; flex-direction: row; gap: 4px; align-items: baseline; } .mrw b { font-size: 15px; }
.mcard .mis-btn { min-width: 0; padding: 6px 12px; font-size: 14px; margin-left: auto; }
.mcard .mrw { margin-left: 52px; }
.mnote { margin-top: 6px; }
@media (max-width: 900px) { .mlist { grid-template-columns: 1fr; } .mcard .mrw { display: none; } }

.vt-f { font: 13px 'Lilita One'; color: #2f9a22; }
.vip-perk { font: 600 12px Fredoka; color: #5a3a8a; background: #f4ecff; border: 2px dashed #c8a8f0; border-radius: 10px; padding: 5px 10px; margin-bottom: 8px; } .vip-perk b { color: #7a3ab8; }


.vip-tiers.v10 { grid-template-columns: repeat(5, 1fr); }
.vt-free { font: 14px 'Lilita One'; color: #3a78d8; margin-top: 6px; }
.vt-d { font: 12px 'Lilita One'; color: #d8402a; } .vt-f small, .vt-d small { font: 600 9px Fredoka; color: #9a7a5a; }
.vsteps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.vstep { padding: 8px 10px; border-radius: 14px; background: #fffaf0; border: 2px solid #f0d8a8; }
.vs-h { display: flex; align-items: center; gap: 6px; font: 15px 'Lilita One'; color: #2a3a66; } .vs-h em { margin-left: auto; font: 12px 'Lilita One'; font-style: normal; color: #fff; background: #7a3ab8; border-radius: 8px; padding: 1px 7px; }
.vs-marks { display: flex; gap: 4px; flex-wrap: wrap; margin: 6px 0 4px; }
.vs-marks span { font: 700 11px Fredoka; padding: 1px 6px; border-radius: 8px; background: #eee6d6; color: #8a7a6a; } .vs-marks span.ok { background: #3fae2a; color: #fff; }
.vs-next { font: 600 12px Fredoka; color: #7a5a3a; } .vs-next b { color: #7a3ab8; }
.ag-friend .act { color: #2f9a22; font-weight: 700; }
.vip-badge.v6 { background: linear-gradient(#ff8a5a, #d8401a); } .vip-badge.v7 { background: linear-gradient(#5ae8b0, #1a9a6a); }
.vip-badge.v8 { background: linear-gradient(#ffd24a, #e0701a); box-shadow: 0 0 6px #ffd24a; } .vip-badge.v9 { background: linear-gradient(#ff5a8a, #9a1a5a); box-shadow: 0 0 6px #ff5a8a; }
.vip-badge.v10 { background: linear-gradient(135deg, #ff5a5a, #ffd24a, #5ae86a, #5aa0ff, #c85aff); box-shadow: 0 0 8px #ffd24a; }
@media (max-width: 900px) { .vsteps { grid-template-columns: 1fr; } }

.vsteps { grid-template-columns: repeat(3, 1fr); }
.vip-perk.xp { color: #2a6a1a; background: #eefee4; border-color: #9ad070; } .vip-perk.xp b { color: #2f9a22; }
@media (max-width: 900px) { .vsteps { grid-template-columns: 1fr; } }
.ag-stats { margin: 6px 0; } .vsteps { margin-bottom: 6px; }

.ag-banner { position: relative; height: 150px; border-radius: 18px; overflow: hidden; margin-bottom: 10px; border: 3px solid #fff; box-shadow: 0 0 0 3px #d8b46a, 0 5px 0 3px #8a5a14; }
.ag-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; display: block; }
.ag-bt { position: absolute; left: 14px; bottom: 10px; font: 26px 'Lilita One'; color: #fff; text-shadow: 0 3px 0 #1e2d52, 2px 0 0 #1e2d52, -2px 0 0 #1e2d52, 0 -2px 0 #1e2d52; }
.ag-hero .ag-title { display: none; }
#topbar i[data-ic="agent"] img { width: 52px; height: 40px; object-fit: contain; }
.ag-hero-img { position: relative; overflow: hidden; min-height: 132px; align-items: flex-end; background: #1e2d52; }
.ag-hero-img .ag-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; filter: none; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: none; }
.ag-hero-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,24,48,.88) 0%, rgba(14,24,48,.55) 45%, rgba(14,24,48,0) 75%); }
.ag-hero-img .ag-ht, .ag-hero-img .ag-rank { position: relative; z-index: 1; }
.ag-hero-img .ag-ht { max-width: 58%; } .ag-hero-img .ag-title { display: block; } .ag-hero-img .ag-rank { background: rgba(14,24,48,.7); }
.vip-tiers.v10 .vip-tier { padding: 5px 4px; }
.ag-hero-img { min-height: 150px; }
.ag-hero-img .ag-bg { object-position: 75% 45%; width: 72%; left: auto; right: 0; }
.ag-hero-img::after { background: linear-gradient(90deg, #1e2d52 0%, #1e2d52 28%, rgba(30,45,82,.6) 36%, rgba(30,45,82,0) 46%); }
.ag-hero-img .ag-ht { max-width: 36%; } .ag-hero-img .ag-rank { display: none; }
.ag-hero-img .ag-title .vip-badge { font-size: 13px; vertical-align: 3px; margin-left: 4px; }

.ag-hero-img { min-height: 0; height: 170px; padding: 0 0 0 16px; align-items: center; }
.ag-hero-img .ag-bg { position: absolute; top: 0; right: 0; left: auto; width: auto; height: 100%; aspect-ratio: 1000 / 563; object-fit: contain; object-position: center; }
.ag-hero-img::after { background: linear-gradient(90deg, #1e2d52 0%, #1e2d52 calc(100% - 302px - 40px), rgba(30,45,82,0) calc(100% - 302px + 10px)); }
.ag-hero-img .ag-ht { max-width: calc(100% - 302px - 24px); }
@media (max-width: 900px) { .ag-hero-img { height: 120px; } .ag-hero-img::after { background: linear-gradient(90deg, #1e2d52 0%, #1e2d52 calc(100% - 213px - 30px), rgba(30,45,82,0) calc(100% - 213px + 10px)); } .ag-hero-img .ag-ht { max-width: calc(100% - 213px - 16px); } .ag-hero-img .ag-sub { display: none; } }
#me-lv { font-size: 12px; padding: 0 6px; border-radius: 8px; background: linear-gradient(#b87ae8, #7a3ab8); color: #fff; border: 2px solid #fff; white-space: nowrap; } .xpbar span { white-space: nowrap; }
#me-lv { display: none; }


#seedbar .arrow { display: none; }
#seeds { --sw: 70px; overflow-x: auto; scrollbar-width: none; }
#seeds::-webkit-scrollbar { display: none; }
#seeds .seed { width: var(--sw); height: calc(var(--sw) * 1.09); flex: 0 0 auto; }
#seeds .seed img { width: calc(var(--sw) * .77); height: calc(var(--sw) * .77); }
#seeds.tiny .seed .sp { font-size: 9px; }
#seeds.tiny .seed .sn { font-size: 9px; top: 0; right: 2px; }
#seeds.tiny .seed.lock::after { font-size: 10px; bottom: 12px; }


.usd { display: inline-block; margin-left: 4px; font: 700 11px Fredoka; color: #2f8a24; background: #e6f8d8; border: 1px solid #a8dc8a; border-radius: 8px; padding: 0 5px; vertical-align: middle; white-space: nowrap; }
.btn .usd, .btn small .usd { background: rgba(255,255,255,.25); border-color: rgba(255,255,255,.5); color: #fff; }
.scard2 .buy .usd { display: block; margin: 2px auto 0; width: max-content; }
.soil-stats .usd, .dchest .usd, .mrw .usd { display: block; margin: 2px auto 0; width: max-content; }


.av-grid { grid-template-columns: repeat(4, 1fr); max-width: 520px; margin: 0 auto; }
.av-pick { padding: 0; background: none; border: 0; box-shadow: 0 4px 6px rgba(90,50,10,.3); }
.av-pick.on { box-shadow: 0 0 0 4px #3fae2a, 0 0 0 8px #8ee05a; }


#rightbar .side i.share { font-size: 30px; background: radial-gradient(circle at 35% 28%, #ffe6ff, #c77dff 55%, #7b2cbf); }
#rightbar .side i.share + span { background: linear-gradient(#b5179e, #6a0dad); animation: shpulse 1.6s infinite; }
@keyframes shpulse { 50% { transform: scale(1.08); } }
.sh-hero { text-align: center; padding: 14px 10px 12px; border-radius: 16px; color: #fff; margin-bottom: 10px;
  background: radial-gradient(circle at 50% 20%, #7b4dff, #3a127a 75%); border: 3px solid #ffd27a; box-shadow: inset 0 -6px 0 rgba(0,0,0,.25); }
.sh-top { font: 18px 'Lilita One'; letter-spacing: .5px; text-shadow: 0 2px 0 #1a0640; }
.sh-sites { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 8px 0 10px; }
.sh-sites span { font: 14px 'Lilita One'; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); padding: 3px 9px; border-radius: 12px; }
.sh-pill { display: inline-block; font: 22px 'Lilita One'; color: #5a2a08; padding: 6px 22px; border-radius: 30px;
  background: linear-gradient(#fff4b0, #ffc830 55%, #e89a10); border: 3px solid #fff; box-shadow: 0 0 0 3px #b86a08, 0 6px 16px rgba(255,200,40,.5); }
.sh-pill b { font-size: 34px; color: #2f8a14; text-shadow: 0 2px 0 #fff; vertical-align: -3px; margin: 0 4px; }
.sh-sub { margin-top: 8px; font: 600 13px Fredoka; opacity: .9; }
.sh-steps { margin: 4px 0 10px 4px; padding-left: 22px; font: 600 15px Fredoka; color: #6a3e18; line-height: 1.5; }
.sh-form { display: flex; gap: 8px; margin: 10px 0 4px; }
.sh-form input { flex: 1; min-width: 0; font: 600 15px Fredoka; padding: 10px 12px; border-radius: 12px; border: 3px solid #d8a060; background: #fffaf0; color: #5a2a08; }
.sh-done { margin: 10px 0 4px; padding: 10px; text-align: center; border-radius: 12px; background: #e2f7d2; color: #2f7a14; font: 16px 'Lilita One'; }
.sh-row .sh-link { word-break: break-all; font-size: 12px; }
.sh-st { text-align: right; display: flex; flex-direction: column; align-items: flex-end; max-width: 45%; }
.sh-st small { font: 600 11px Fredoka; color: #8a5428; }
.sh-ok { color: #2f8a14; } .sh-no { color: #c43a20; } .sh-wait { color: #c8780a; }
.sh-big { margin: 0 0 10px; padding: 10px 12px; border-radius: 12px; background: linear-gradient(#fff1d6, #ffe0a8); border: 2px dashed #e8901a; font: 600 14px Fredoka; color: #7a3e08; line-height: 1.4; }
.sh-big b { color: #c4400a; }


#share-ev { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: rgba(20,10,0,.55); padding: 10px; }
#share-ev.hidden { display: none; }
.sev { position: relative; height: min(86vh, calc((100vw - 20px) * 1392 / 1130)); aspect-ratio: 1130 / 1392; container-type: inline-size;
  animation: sevIn .25s ease-out; }
@keyframes sevIn { from { transform: scale(.9); opacity: 0; } }
.sev > img { width: 100%; height: 100%; display: block; border-radius: 4cqw; box-shadow: 0 14px 40px rgba(0,0,0,.5); user-select: none; }
.sev button { position: absolute; background: transparent; border: 0; padding: 0; cursor: pointer; border-radius: 50%; }
.sev-x { left: 89.6%; top: 2.3%; width: 9%; height: 7.4%; }
.sev-x:hover { background: rgba(255,255,255,.18); }
.sev-field { position: absolute; left: 10.5%; top: 79.4%; width: 79.5%; height: 5.6%; border-radius: 4cqw; cursor: text; }
.sev-in { position: absolute; left: 18.2%; top: 80.15%; width: 70.4%; height: 4.1%; border: 0; outline: 0; background: #fef3e4; border-radius: 0 3cqw 3cqw 0;
  font: 600 3.4cqw Fredoka, sans-serif; color: #5a2a08; padding: 0 1cqw; }
.sev-in::placeholder { color: #8a7660; opacity: 1; }
.sev-field:hover, .sev:focus-within .sev-field { box-shadow: 0 0 0 .6cqw #ffb43a; }
.sev-done { position: absolute; left: 11%; top: 79.6%; width: 78.5%; height: 5.8%; display: flex; align-items: center; justify-content: center; text-align: center;
  background: #e8f9d8; border: .5cqw solid #6cc23a; border-radius: 4cqw; font: 3cqw 'Lilita One', sans-serif; color: #2f7a14; padding: 0 2cqw; }
.sev-send { left: 22.3%; top: 86.4%; width: 55.8%; height: 8%; border-radius: 6cqw !important; transition: transform .1s, filter .1s; }
.sev-send:hover { background: rgba(255,255,255,.14) !important; }
.sev-send:active { transform: scale(.97); }
.sev-send.off { cursor: default; background: rgba(120,120,120,.45) !important; }
.sev-bar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.sev-bar button { font: 14px 'Lilita One', sans-serif; color: #fff; padding: 8px 14px; border-radius: 14px; border: 2px solid #ffd27a; cursor: pointer;
  background: linear-gradient(#94541e, #5e300c); text-shadow: 0 1px 0 #3a1a04; }
.sev-bar button b { color: #ffe27a; font-weight: normal; }


#modal[data-m="vip"] .mbox { width: min(980px, 100%); }
#modal[data-m="vip"] .mbody { padding: 12px 16px 16px; }
.vp { font-family: Fredoka, sans-serif; color: #5a2a08; }
.vp-hero { display: flex; align-items: center; gap: 12px; border-radius: 18px; padding: 12px 16px; color: #fff;
  background: radial-gradient(circle at 80% 50%, #8a3ad8, #4a1590 70%); border: 3px solid #ffd27a; box-shadow: inset 0 -5px 0 rgba(0,0,0,.25), 0 3px 0 #c07a2a; }
.vp-ht { flex: 1; min-width: 0; }
.vp-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vp-title img { height: 40px; }
.vp-title span { font: 32px 'Lilita One'; color: #ffd84a; text-shadow: 0 3px 0 #8a4a08, 0 0 2px #5a2a08; }
.vp-hero p { margin: 6px 0 0; font: 600 15px/1.35 Fredoka; }
.vp-hero p b { color: #ffe23a; font: 22px 'Lilita One'; }
.vp-hand { width: 34%; max-width: 300px; border-left: 2px solid rgba(255,255,255,.25); padding-left: 10px; border-radius: 0 12px 12px 0;
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%); mask: linear-gradient(90deg, transparent, #000 12%); }
.vp-ribbon { display: flex; justify-content: center; align-items: center; gap: 4px; margin: 12px 0 8px; }
.vp-ribbon b { font: 26px 'Lilita One'; color: #fff; padding: 4px 34px; border-radius: 30px; background: linear-gradient(#a64ae8, #6a1ab8);
  border: 3px solid #ffd27a; text-shadow: 0 2px 0 #3a0a70; box-shadow: 0 3px 0 #8a4a14; }
.vp-ribbon span { font-size: 28px; } .vp-ribbon .flip { transform: scaleX(-1); display: inline-block; }
.vp-ribbon.small b { font-size: 18px; padding: 2px 22px; }
.vp-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 10px; border-radius: 16px; background: #f6e3c2; border: 2px solid #ecd2a4; }
.vp-tier { position: relative; text-align: center; padding: 8px 4px 9px; border-radius: 14px; background: #fff8ea; border: 2px solid #efd9b4; box-shadow: 0 3px 0 #e2c69a; }
.vp-tier.got { background: #fffdf6; }
.vp-tier.cur { background: linear-gradient(#f2ffd8, #c8f290); border-color: #6cd23a; box-shadow: 0 0 0 3px #b8f47a, 0 0 16px #8ce04a; }
.vp-ok { position: absolute; top: 4px; right: 7px; font-style: normal; color: #3aa020; font-size: 14px; }
.vp-badge { display: inline-block; font: 17px 'Lilita One'; color: #fff; padding: 1px 14px; border-radius: 14px; border: 2px solid #fff; text-shadow: 0 1px 0 rgba(0,0,0,.4); box-shadow: 0 2px 0 rgba(0,0,0,.2); }
.vp-title .vp-badge { font-size: 18px; }
.vp-badge.b1 { background: linear-gradient(#c8803a, #8a4a14); } .vp-badge.b2 { background: linear-gradient(#6ab0ff, #2a6ad8); }
.vp-badge.b3 { background: linear-gradient(#ffb040, #e0700a); } .vp-badge.b4 { background: linear-gradient(#5ad0ff, #1a8ad8); }
.vp-badge.b5 { background: linear-gradient(#c070ff, #8a2ad8); } .vp-badge.b6 { background: linear-gradient(#ff7ac8, #e0308a); }
.vp-badge.b7 { background: linear-gradient(#3ad8b0, #0a9a7a); } .vp-badge.b8 { background: linear-gradient(#ffd040, #e09a0a); }
.vp-badge.b9 { background: linear-gradient(#e83a8a, #a8105a); } .vp-badge.b10 { background: linear-gradient(90deg, #ff4a4a, #ffb43a, #4ad84a, #3a8aff, #b04aff); }
.vp-free { display: flex; align-items: center; justify-content: center; gap: 6px; font: 28px 'Lilita One'; color: #1a5ad8; margin-top: 6px; }
.vp-free img { height: 28px; }
.vp-f, .vp-d { font: 600 14px Fredoka; color: #6a3e18; margin-top: 4px; white-space: nowrap; }
.vp-f b { color: #2f9a14; font: 18px 'Lilita One'; } .vp-d b { color: #d81a1a; font: 18px 'Lilita One'; }
.vp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.vp-card { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 16px; background: #fff8ea; border: 2px solid #efd9b4; box-shadow: 0 3px 0 #e2c69a; }
.vp-card > img { width: 62px; flex: none; }
.vp-ct { flex: 1; min-width: 0; }
.vp-ch { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.vp-ch b { font: 20px 'Lilita One'; color: #5a2a08; }
.vp-ch em { font: 13px 'Lilita One'; font-style: normal; color: #fff; padding: 1px 10px; border-radius: 12px; background: linear-gradient(#a64ae8, #6a1ab8); white-space: nowrap; }
.vp-card p { margin: 2px 0 0; font: 600 13.5px/1.3 Fredoka; color: #6a3e18; }
.vp-bar { position: relative; height: 16px; margin-top: 6px; border-radius: 10px; background: #ead2a8; overflow: hidden; border: 1px solid #d8b47a; }
.vp-bar i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(#8ae04a, #3aa020); border-radius: 10px; }
.vp-bar span { position: relative; display: block; text-align: center; font: 11px 'Lilita One'; color: #3a1a04; line-height: 15px; text-shadow: 0 1px 0 #fff; }
.vp-rule { margin-top: 8px; font: 600 12px/1.4 Fredoka; color: #8a5428; text-align: center; }
.vp-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 10px; border-radius: 16px; background: #fff8ea; border: 2px solid #efd9b4; box-shadow: 0 3px 0 #e2c69a; }
.vp-stats > div { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 8px; }
.vp-stats > div + div { border-left: 2px solid #ecd6b0; }
.vp-stats img { height: 46px; }
.vp-stats span { display: flex; flex-direction: column; align-items: center; }
.vp-stats small { font: 16px 'Lilita One'; color: #5a2a08; }
.vp-stats b { font: 28px 'Lilita One'; line-height: 1; }
.vp-stats .blue { color: #1a5ad8; } .vp-stats .green { color: #2f9a14; } .vp-stats .orange { color: #e0700a; }
.vp-link { margin-top: 12px; padding: 8px 14px 12px; border-radius: 16px; background: linear-gradient(#8a3ad8, #5a1aa8); border: 3px solid #ffd27a; box-shadow: 0 3px 0 #c07a2a; }
.vp-lh { font: 20px 'Lilita One'; color: #fff; text-shadow: 0 2px 0 #3a0a70; margin-bottom: 6px; }
.vp-lrow { display: flex; gap: 10px; align-items: center; }
.vp-lrow code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 17px Fredoka; color: #5a2a8a;
  background: #f2ecff; border: 2px solid #c8b0f0; border-radius: 12px; padding: 8px 14px; }
.vp-copy { flex: none; font: 19px 'Lilita One'; color: #fff; padding: 9px 22px; border-radius: 16px; cursor: pointer; border: 3px solid #d8ff9a;
  background: linear-gradient(#6ae03a, #2a9a10); text-shadow: 0 2px 0 #1a5a04; box-shadow: 0 4px 0 #1a6a08; }
.vp-copy:active { transform: translateY(2px); box-shadow: 0 2px 0 #1a6a08; }
.vp-friends { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.vp-note { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 8px 14px; border-radius: 14px; border: 2px dashed #e8a040; background: #fff8e8; font: 600 13px/1.35 Fredoka; color: #5a2a08; }
.vp-note img { height: 26px; flex: none; }
.vp-note b { background: #ffe23a; color: #6a1ab8; padding: 0 4px; border-radius: 6px; font: 15px 'Lilita One'; }
@media (max-width: 760px) {
  .vp-grid { grid-template-columns: repeat(2, 1fr); }
  .vp-grid { padding: 6px; gap: 6px; }
  .vp-tier { min-width: 0; padding: 6px 2px; }
  .vp-f, .vp-d { white-space: normal; font-size: 12px; }
  .vp-f b, .vp-d b { font-size: 15px; }
  .vp-ribbon b { font-size: 20px; padding: 3px 22px; }
  .vp-cards { grid-template-columns: 1fr; }
  .vp-hand { display: none; }
  .vp-title span { font-size: 24px; }
  .vp-stats small { font-size: 12px; } .vp-stats img { height: 32px; } .vp-stats b { font-size: 22px; }
  .vp-lrow { flex-direction: column; align-items: stretch; }
}

#modal[data-m="vip"] .mbody { padding: 8px 14px 12px; }
.vp-hero { padding: 6px 14px; }
.vp-title img { height: 30px; } .vp-title span { font-size: 26px; }
.vp-hero p { font-size: 13.5px; margin-top: 2px; } .vp-hero p b { font-size: 18px; }
.vp-hand { max-height: 96px; object-fit: cover; }
.vp-ribbon { margin: 6px 0 5px; } .vp-ribbon b { font-size: 20px; padding: 1px 28px; } .vp-ribbon span { font-size: 20px; }
.vp-grid { gap: 6px; padding: 6px; }
.vp-tier { padding: 4px 4px 5px; border-radius: 12px; }
.vp-badge { font-size: 14px; padding: 0 12px; }
.vp-free { font-size: 22px; margin-top: 4px; } .vp-free img { height: 22px; }
.vp-f, .vp-d { font-size: 12.5px; margin-top: 1px; } .vp-f b, .vp-d b { font-size: 15px; }
.vp-cards { gap: 8px; margin-top: 7px; }
.vp-card { padding: 6px 10px; gap: 8px; } .vp-card > img { width: 44px; }
.vp-ch b { font-size: 16px; } .vp-ch em { font-size: 11.5px; padding: 0 8px; }
.vp-card p { font-size: 12px; } .vp-bar { height: 14px; margin-top: 3px; } .vp-bar span { line-height: 13px; font-size: 10px; }
.vp-rule { margin-top: 4px; font-size: 11px; line-height: 1.3; }
.vp-bottom { display: grid; grid-template-columns: 1fr 1.35fr; gap: 8px; margin-top: 7px; align-items: stretch; }
.vp-bottom .vp-stats { margin-top: 0; }
.vp-stats > div { flex-direction: column; gap: 2px; padding: 5px 4px; }
.vp-stats img { height: 30px; } .vp-stats small { font-size: 12px; white-space: nowrap; } .vp-stats b { font-size: 22px; }
.vp-bottom .vp-link { margin-top: 0; padding: 6px 10px 8px; }
.vp-lh { font-size: 15px; margin-bottom: 4px; }
.vp-lrow { gap: 8px; } .vp-lrow code { font-size: 14px; padding: 6px 10px; } .vp-copy { font-size: 15px; padding: 6px 14px; border-width: 2px; }
.vp-note { margin-top: 7px; padding: 5px 12px; font-size: 12px; } .vp-note img { height: 20px; } .vp-note b { font-size: 13px; }
@media (max-width: 760px) { .vp-bottom { grid-template-columns: 1fr; } .vp-lrow { flex-direction: row; } .vp-lrow code { font-size: 12px; } }

.vp-bottom .vp-link { display: flex; align-items: center; gap: 10px; }
.vp-lc { flex: 1; min-width: 0; }
.vp-20 { flex: none; width: 74px; height: 74px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 30%, #fff8b0, #ffd21a 50%, #e89a00); border: 3px solid #fff; box-shadow: 0 0 0 3px #b86a00, 0 0 18px #ffd21a;
  transform: rotate(-8deg); animation: vp20 1.8s ease-in-out infinite; }
.vp-20 b { font: 28px/1 'Lilita One'; color: #c4200a; text-shadow: 0 2px 0 #fff; }
.vp-20 small { font: 11px 'Lilita One'; color: #6a1ab8; letter-spacing: .5px; }
@keyframes vp20 { 50% { transform: rotate(-8deg) scale(1.08); } }
.vp-lh span { color: #ffe23a; font-size: 1.25em; }
@media (max-width: 760px) { .vp-20 { width: 58px; height: 58px; } .vp-20 b { font-size: 21px; } }

#leftbar .sq.art { position: relative; width: 96px; height: 96px; padding: 0; border: 0; border-radius: 22px; background: none; box-shadow: none; display: block; }
#leftbar .sq.art img { width: 100%; height: 100%; display: block; filter: drop-shadow(0 4px 3px rgba(60,30,5,.35)); }
#leftbar .sq.art b { position: absolute; left: 50%; top: 76%; bottom: auto; transform: translate(-50%, -50%); font: 19px 'Lilita One'; color: #fff;
  text-shadow: 0 2px 0 #6a2a04, 2px 0 0 #6a2a04, -2px 0 0 #6a2a04, 0 -1px 0 #6a2a04; }
#leftbar .sq.art:hover { transform: translateY(-2px) scale(1.05); }
#leftbar .sq.art:active { transform: translateY(1px) scale(.97); }
@media (max-width: 760px) { #leftbar .sq.art { width: 68px; height: 68px; } #leftbar .sq.art b { font-size: 14px; } }
.helmet-card { width: 170px; border-radius: 22px; border: 4px solid #fff; box-shadow: 0 0 0 3px #e0a040, 0 5px 0 3px #b07a30; display: block; margin: 4px auto 8px; }


#modal[data-m="bank"] .mbox { width: min(980px, 100%); }
#modal[data-m="bank"] .mbody { padding: 10px 16px 14px; }
.fb { font-family: Fredoka, sans-serif; color: #5a2a08; }
.fb-hero { display: flex; align-items: center; gap: 14px; padding: 8px 16px; border-radius: 18px; color: #fff;
  background: linear-gradient(100deg, #5a1080, #4a0a70 60%, #5a147e); border: 3px solid #ffd27a; box-shadow: inset 0 -5px 0 rgba(0,0,0,.25), 0 3px 0 #c07a2a; }
.fb-bld { width: 150px; flex: none; }
.fb-ht { flex: 1.1; min-width: 0; border-right: 2px solid rgba(255,255,255,.2); padding-right: 14px; }
.fb-ht b { font: 36px 'Lilita One'; color: #ffe8b0; text-shadow: 0 3px 0 #3a0a50; }
.fb-ht p { margin: 2px 0 0; font: 600 15px/1.35 Fredoka; }
.fb-checks { flex: 1; list-style: none; margin: 0; padding: 0; font: 600 15px Fredoka; }
.fb-checks li { display: flex; align-items: center; gap: 8px; margin: 5px 0; }
.fb-checks li::before { content: '✓'; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 14px 'Lilita One'; color: #fff;
  background: radial-gradient(circle at 35% 30%, #ffe27a, #e89a10); box-shadow: 0 2px 0 #9a5a04; }
.fb-shield { width: 110px; flex: none; }
.fb-lbl { display: inline-block; margin: 10px 0 6px; padding: 3px 16px; border-radius: 12px; font: 17px 'Lilita One'; color: #fff; text-shadow: 0 1px 0 #3a1a04;
  background: linear-gradient(#a8642a, #7a4214); }
.fb-terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 10px; border-radius: 16px; background: #f6e3c2; }
.fb-term { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 10px; border-radius: 18px; cursor: pointer; color: #fff;
  background: linear-gradient(#6a1aa0, #48107a); border: 3px solid #ffc848; box-shadow: 0 4px 0 #8a4a10; transition: transform .1s; }
.fb-term:hover { transform: translateY(-2px); }
.fb-term.on { background: linear-gradient(#3cb030, #1a7a14); border-color: #d8ff6a; box-shadow: 0 0 0 3px #ffd24a, 0 0 18px #9ae04a, 0 4px 0 #1a5a08; }
.fb-cal { position: relative; width: 54px; height: 56px; flex: none; border-radius: 10px; background: #fff; box-shadow: 0 3px 0 rgba(0,0,0,.3); overflow: hidden; }
.fb-cal i { position: absolute; inset: 0 0 auto 0; height: 15px; background: linear-gradient(#ff5a4a, #d82a1a); }
.fb-cal i::before, .fb-cal i::after { content: ''; position: absolute; top: -3px; width: 6px; height: 10px; border-radius: 3px; background: #8a8a8a; left: 12px; }
.fb-cal i::after { left: auto; right: 12px; }
.fb-cal b { position: absolute; inset: 15px 0 0 0; display: grid; place-items: center; font: 26px 'Lilita One'; color: #3a2a1a; }
.fb-tt { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.fb-tt small { font: 20px 'Lilita One'; color: #fff; }
.fb-tt b { font: 40px 'Lilita One'; color: #ffd84a; text-shadow: 0 3px 0 #8a4a08, 0 0 2px #5a2a08; margin-top: 2px; }
.fb-amt { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 16px; background: #f6e3c2; }
.fb-in { flex: 1; display: flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 28px; background: #fffaf0; border: 3px solid #e8c890; }
.fb-in .st-coin { width: 26px; height: 26px; }
.fb-in input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; text-align: center; font: 28px 'Lilita One'; color: #5a2a08; }
.fb-pct { font: 20px 'Lilita One'; color: #fff; padding: 8px 18px; border-radius: 14px; cursor: pointer; border: 2px solid #ffd27a;
  background: linear-gradient(#ffa030, #e0700a); text-shadow: 0 2px 0 #8a3a04; box-shadow: 0 4px 0 #a04a04; }
.fb-pct:active { transform: translateY(2px); box-shadow: 0 2px 0 #a04a04; }
.fb-calc { display: flex; align-items: center; gap: 20px; margin-top: 10px; padding: 8px 18px; border-radius: 16px; color: #fff;
  background: linear-gradient(100deg, #5a1080, #4a0a70); border: 2px solid #8a4ac0; }
.fb-calc > img { width: 56px; }
.fb-calc > div { flex: 1; text-align: center; }
.fb-calc > div + div { border-left: 2px solid rgba(255,255,255,.2); }
.fb-calc small { display: block; font: 17px 'Lilita One'; }
.fb-calc b { display: inline-flex; align-items: center; gap: 8px; font: 32px 'Lilita One'; }
.fb-calc b.g { color: #9aff5a; }
.fb-calc .st-coin { width: 28px; height: 28px; }
.fb-ret { font: 20px 'Lilita One'; font-style: normal; color: #fff; padding: 6px 16px; border-radius: 12px; background: linear-gradient(#3cb030, #1a7a14); border: 2px solid #9ae04a; white-space: nowrap; }
.fb-lock { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 12px auto 0; padding: 10px 40px; min-width: min(560px, 100%); cursor: pointer;
  font: 32px 'Lilita One'; color: #fff; text-shadow: 0 3px 0 #1a5a04; border-radius: 40px; border: 4px solid #ffd24a;
  background: linear-gradient(#6ae03a, #2a9a10); box-shadow: 0 6px 0 #1a6a08, 0 0 0 3px #b8860a; transition: transform .1s; }
.fb-lock img { height: 44px; }
.fb-lock:hover { transform: translateY(-2px); } .fb-lock:active { transform: translateY(3px); box-shadow: 0 3px 0 #1a6a08, 0 0 0 3px #b8860a; }
.fb-lock:disabled { filter: grayscale(1); opacity: .6; cursor: not-allowed; transform: none; }
.fb-note { margin: 10px auto 0; padding: 6px 14px; width: fit-content; max-width: 100%; text-align: center; border-radius: 12px; background: #fff8e8; border: 2px solid #ecd2a4; font: 600 14px Fredoka; }
.fb-deps { display: flex; flex-direction: column; gap: 8px; }
.fb-dep { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 14px; background: #fff8ea; border: 2px solid #efd9b4; box-shadow: 0 3px 0 #e2c69a; }
.fb-dep > img { width: 34px; }
.fb-dep.ready { background: #ecfbe0; border-color: #8ad85a; }
.fb-d1 { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font: 19px 'Lilita One'; }
.fb-d1 span { color: #8a6a48; } .fb-d1 b { color: #2f8a14; font-weight: normal; }
.fb-d1 em { font: 12px 'Lilita One'; font-style: normal; color: #fff; padding: 1px 8px; border-radius: 10px; background: linear-gradient(#a64ae8, #6a1ab8); }
.fb-bar { height: 10px; margin: 5px 0 3px; border-radius: 6px; background: #ead2a8; overflow: hidden; }
.fb-bar i { display: block; height: 100%; background: linear-gradient(90deg, #8ae04a, #3aa020); }
.fb-d2 { font: 600 13px Fredoka; color: #8a5428; }
.fb-claim { flex: none; font: 17px 'Lilita One'; color: #fff; padding: 8px 18px; border-radius: 14px; cursor: pointer; border: 2px solid #d8ff9a;
  background: linear-gradient(#6ae03a, #2a9a10); box-shadow: 0 4px 0 #1a6a08; }
.fb-claim:disabled { background: linear-gradient(#b8b0a4, #8a8278); border-color: #ddd; box-shadow: 0 4px 0 #6a6258; cursor: not-allowed; }
@media (max-width: 760px) {
  .fb-hero { flex-wrap: wrap; } .fb-bld { width: 90px; } .fb-shield, .fb-checks { display: none; } .fb-ht { border: 0; } .fb-ht b { font-size: 26px; }
  .fb-terms { grid-template-columns: 1fr; } .fb-tt b { font-size: 30px; }
  .fb-amt { flex-wrap: wrap; } .fb-in { flex-basis: 100%; } .fb-pct { flex: 1; padding: 6px; font-size: 16px; }
  .fb-calc { flex-wrap: wrap; gap: 8px; } .fb-calc > img { display: none; } .fb-calc b { font-size: 24px; }
  .fb-lock { font-size: 22px; padding: 8px 16px; } .fb-lock img { height: 30px; }
}
.fb-lbl .st-coin { width: 18px; height: 18px; vertical-align: -3px; }

.fb-usd { display: inline-block; font: 15px 'Lilita One'; color: #2f8a14; background: #e2f7d2; border: 2px solid #9ad86a; border-radius: 12px; padding: 1px 10px; white-space: nowrap; }
.fb-in .fb-usd { flex: none; font-size: 17px; }
.fb-calc .fb-usd { margin-left: 8px; vertical-align: 6px; background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.35); color: #fff; }
.fb-calc .fb-usd.g { color: #b8ff8a; border-color: #9ad86a; }
.fb-calc small.fb-usd { display: inline-block; font-size: 15px; }

#topbar .bankbtn i img { width: 50px; height: auto; }


#modal[data-m="daily"] .mbox { width: min(1020px, 100%); }
#modal[data-m="daily"] .mbody { padding: 10px 16px 14px; }
.dr { font-family: Fredoka, sans-serif; color: #5a2a08; }
.dr-hero { display: flex; align-items: center; gap: 14px; padding: 6px 16px; border-radius: 22px; color: #fff;
  background: linear-gradient(100deg, #5a1080, #4a0a70 60%, #5a147e); border: 3px solid #ffd27a; box-shadow: inset 0 -5px 0 rgba(0,0,0,.25), 0 3px 0 #c07a2a; }
.dr-streak { position: relative; width: 150px; flex: none; }
.dr-streak img { width: 100%; display: block; }
.dr-streak b { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); font: 44px 'Lilita One'; color: #8a3a08; text-shadow: 0 2px 0 #fff3d0; }
.dr-ht { flex: 1; min-width: 0; }
.dr-ht > b { font: 34px 'Lilita One'; color: #ffd84a; text-shadow: 0 3px 0 #6a2a04; }
.dr-ht p { margin: 2px 0 0; font: 600 15px/1.35 Fredoka; } .dr-ht em { font-style: normal; color: #ffe27a; }
.dr-chestimg { width: 150px; flex: none; }
.dr-claim { flex: none; display: flex; align-items: center; gap: 10px; padding: 8px 22px; border-radius: 22px; cursor: pointer; border: 4px solid #ffd24a;
  background: linear-gradient(#6ae03a, #2a9a10); box-shadow: 0 6px 0 #1a6a08, 0 0 0 3px #b8860a; color: #fff; text-shadow: 0 3px 0 #1a5a04; transition: transform .1s; animation: drPulse 1.6s ease-in-out infinite; }
.dr-claim img { width: 52px; }
.dr-claim span { font: 30px/1 'Lilita One'; text-align: center; } .dr-claim small { display: block; font-size: 22px; }
.dr-claim:hover { transform: translateY(-2px); } .dr-claim:active { transform: translateY(3px); }
.dr-claim:disabled { animation: none; filter: grayscale(1); opacity: .65; cursor: not-allowed; transform: none; }
@keyframes drPulse { 50% { box-shadow: 0 6px 0 #1a6a08, 0 0 0 3px #b8860a, 0 0 22px #9ae04a; } }
.dr-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px 10px; margin-top: 16px; }
.dr-cell { position: relative; display: flex; flex-direction: column; align-items: center; padding: 14px 4px 6px; border-radius: 16px;
  background: linear-gradient(#fffaf0, #fbecd0); border: 3px solid #efd9b4; box-shadow: 0 4px 0 #dcbf90; }
.dr-cell.chest { background: linear-gradient(#f4ecff, #e2d0fb); border-color: #b48ae8; box-shadow: 0 4px 0 #9a6ad0; }
.dr-cell.got { background: linear-gradient(#e6fbd8, #c6f0a8); border-color: #6cc23a; box-shadow: 0 4px 0 #4a9a20; }
.dr-cell.next { background: radial-gradient(circle at 50% 40%, #fff6b0, #ffd84a 70%); border-color: #ffb81a; box-shadow: 0 0 0 3px #fff3a0, 0 0 18px #ffd84a, 0 4px 0 #c08a10; cursor: pointer; animation: drGlow 1.4s ease-in-out infinite; }
@keyframes drGlow { 50% { transform: translateY(-3px); } }
.dr-dn { position: absolute; top: -11px; padding: 1px 12px; border-radius: 12px; font: 15px 'Lilita One'; color: #fff; white-space: nowrap;
  background: linear-gradient(#e8902a, #b85a0a); text-shadow: 0 1px 0 #6a2a04; }
.dr-cell.chest .dr-dn, .dr-cell.next .dr-dn { background: linear-gradient(#a64ae8, #6a1ab8); }
.dr-cell.got .dr-dn { background: linear-gradient(#4cc030, #238a14); }
.dr-cell img { width: 64px; height: 64px; object-fit: contain; }
.dr-q { position: absolute; right: 8px; top: 40px; font: 15px 'Lilita One'; color: #fff; padding: 0 8px; border-radius: 10px; background: linear-gradient(#4cc030, #238a14); border: 2px solid #fff; }
.dr-nm { font: 14px 'Lilita One'; color: #5a2a08; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.dr-today { position: absolute; bottom: -10px; font: 13px 'Lilita One'; font-style: normal; color: #fff; padding: 0 10px; border-radius: 8px; background: linear-gradient(#ff5a4a, #d82a1a); border: 2px solid #fff; }
.dr-ok { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 16px 'Lilita One'; font-style: normal; color: #fff;
  background: radial-gradient(circle at 35% 30%, #8ae04a, #2f9a14); border: 2px solid #fff; box-shadow: 0 2px 0 #1a6a08; }
.dr-gift { position: absolute; top: 6px; left: 6px; width: 22px; height: 22px; background: url(../img/daily/gift.png) center / contain no-repeat; }
.dr-track { margin-top: 18px; padding: 10px 44px 8px; border-radius: 20px; background: linear-gradient(#5a1080, #3e0a62); border: 3px solid #c07a2a; }
.dr-rail { position: relative; height: 128px; }
.dr-bar { position: absolute; left: 0; right: 0; top: 26px; height: 14px; border-radius: 8px; background: rgba(255,255,255,.18); overflow: hidden; }
.dr-bar i { display: block; height: 100%; background: linear-gradient(90deg, #ffe27a, #ffb81a); box-shadow: 0 0 10px #ffd84a; }
.dr-chest { position: absolute; top: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; }
.dr-chest > img { width: 58px; filter: drop-shadow(0 0 8px rgba(255,220,90,.8)); }
.dr-chest > i { position: absolute; top: 18px; right: -6px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 14px 'Lilita One'; font-style: normal; color: #fff; background: #2f9a14; border: 2px solid #fff; }
.dr-chest.ok > img { filter: grayscale(.2) drop-shadow(0 0 4px rgba(140,255,90,.6)); }
.dr-ctag { margin-top: -4px; padding: 3px 10px; border-radius: 12px; text-align: center; background: linear-gradient(#a8642a, #7a4214); border: 2px solid #ffd27a; color: #fff; white-space: nowrap; }
.dr-ctag b { display: block; font: 15px 'Lilita One'; }
.dr-ctag span { display: flex; align-items: center; justify-content: center; gap: 4px; font: 16px 'Lilita One'; color: #ffe27a; }
.dr-ctag .st-coin { width: 16px; height: 16px; }
.dr-ctag small { display: inline-block; margin-top: 2px; font: 12px 'Lilita One'; color: #2f8a14; background: #e2f7d2; border-radius: 8px; padding: 0 6px; }
@media (max-width: 760px) {
  .dr-hero { flex-wrap: wrap; justify-content: center; } .dr-chestimg { display: none; } .dr-streak { width: 100px; } .dr-streak b { font-size: 30px; }
  .dr-ht > b { font-size: 24px; } .dr-claim { width: 100%; justify-content: center; }
  .dr-grid { grid-template-columns: repeat(4, 1fr); } .dr-cell img { width: 48px; height: 48px; } .dr-q { top: 30px; }
  .dr-track { padding: 8px 26px; overflow-x: auto; } .dr-rail { min-width: 560px; }
}
.dr-cell .dr-nm { font: 14px 'Lilita One' !important; color: #5a2a08 !important; background: none !important; padding: 0 !important; margin-top: 2px; }
.dr-streak b { top: 54%; }


#rightbar .side i.raid { font-size: 30px; background: radial-gradient(circle at 35% 28%, #ffd0c0, #ff5a3a 55%, #b8160a); animation: rdBeat 2.4s ease-in-out infinite; }
#rightbar .side i.raid + span { background: linear-gradient(#e8402a, #8a1206); }
@keyframes rdBeat { 0%, 80%, 100% { transform: none; } 88% { transform: rotate(-10deg) scale(1.08); } 94% { transform: rotate(8deg) scale(1.08); } }
.rd-pop { text-align: center; color: #5a2a08; font-family: Fredoka, sans-serif; }
.rd-pop h3 { margin: 6px 0 10px; font: 26px 'Lilita One'; color: #c8301a; text-shadow: 0 2px 0 #fff3d0; }
.rd-pop > p { font: 600 15px/1.4 Fredoka; margin: 0 auto; max-width: 440px; }
.rd-ic { width: 92px; height: 92px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; font-size: 52px; border: 4px solid #fff;
  background: radial-gradient(circle at 35% 28%, #ffd0c0, #ff5a3a 55%, #b8160a); box-shadow: 0 0 0 4px #c07a2a, 0 6px 0 4px #8a4a14; }
.rd-ic::before { content: '⚔️'; } .rd-ic.lock::before { content: '🔒'; }
.rd-ic.lock { background: radial-gradient(circle at 35% 28%, #f0e0ff, #a66ae8 55%, #5a1ab0); }
.rd-rules { list-style: none; margin: 0 auto 14px; padding: 0; max-width: 470px; text-align: left; display: grid; gap: 6px; }
.rd-rules li { display: flex; gap: 10px; align-items: center; padding: 7px 12px; border-radius: 12px; background: #fff7e6; border: 2px solid #efd9b4; font: 600 14px/1.3 Fredoka; }
.rd-rules li i { font-style: normal; font-size: 20px; flex: none; }
.rd-rules b { color: #c8301a; }
.rd-btns { display: flex; gap: 16px; justify-content: center; }
.rd-btns .btn.big { padding: 12px 32px; }
#raid-box { display: flex; gap: 10px; align-items: center; }
#visitbar { width: max-content; max-width: calc(100% - 20px); white-space: nowrap; }
#raid-box:empty { display: none; }
.rd-sk { width: 34px; height: 34px; object-fit: contain; flex: none; }
.rd-go { display: flex; align-items: center; gap: 10px; padding: 8px 24px !important; animation: drPulse 1.4s ease-in-out infinite; }
.rd-go > span { display: flex; flex-direction: column; line-height: 1; font-size: 24px; }
.rd-go small { font: 13px 'Lilita One'; color: #f4ffd8; margin-top: 3px; letter-spacing: 0; }
.rd-timer { display: flex; align-items: center; gap: 10px; padding: 4px 8px; }
.rd-timer b { font: 18px 'Lilita One'; color: #ffe27a; letter-spacing: .5px; }
.rd-timer .rd-sk { animation: rdCut .5s ease-in-out infinite alternate; transform-origin: 70% 70%; }
@keyframes rdCut { from { transform: rotate(-25deg); } to { transform: rotate(20deg); } }
.rd-bar { width: 230px; height: 14px; margin-top: 4px; border-radius: 8px; background: rgba(255,255,255,.2); overflow: hidden; border: 2px solid #ffd27a; }
.rd-bar i { display: block; height: 100%; background: linear-gradient(90deg, #7edc4a, #ffe27a); box-shadow: 0 0 10px #ffd84a; transition: width .25s linear; }
.rd-done { font: 26px 'Lilita One'; color: #ffe27a; text-shadow: 0 2px 0 #6a2a04; animation: rdPop .5s ease-out; }
.rd-done small { font-size: 14px; color: #c8f7a8; }
@keyframes rdPop { from { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.2); } to { transform: none; opacity: 1; } }
.rd-note { font: 15px 'Lilita One'; color: #ffe27a; }
#raid-search { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; background: rgba(30,12,2,.55); }
.rs-card { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 46px; border-radius: 26px; color: #fff;
  background: linear-gradient(#5a1080, #3e0a62); border: 4px solid #ffd27a; box-shadow: 0 8px 0 #2a0640; }
.rs-card b { font: 26px 'Lilita One'; color: #ffd84a; text-shadow: 0 3px 0 #2a0640; }
.rs-card small { font: 600 15px Fredoka; }
.rs-glass { width: 84px; height: 84px; display: grid; place-items: center; font-size: 60px; animation: rsLook 1.1s ease-in-out infinite; }
.rs-glass::before { content: '🔎'; }
@keyframes rsLook { 0%, 100% { transform: translate(-16px, 0) rotate(-10deg); } 50% { transform: translate(16px, -8px) rotate(10deg); } }
@media (max-width: 760px) {
  #visitbar { flex-wrap: wrap; justify-content: center; width: calc(100% - 20px); border-radius: 18px; padding: 8px; }
  .rd-bar { width: 150px; } .rd-go > span { font-size: 18px; } .rd-btns .btn.big { padding: 10px 20px; font-size: 18px; }
}
.vipb { display: inline-block; padding: 0 8px; border-radius: 8px; font: 13px 'Lilita One'; color: #fff; letter-spacing: .3px;
  background: linear-gradient(#ffcf3a, #e08a10); text-shadow: 0 1px 0 #8a4a08; box-shadow: 0 2px 0 #a8620a; vertical-align: 1px; }


#rightbar .rb-art { position: relative; width: 96px; padding: 0; background: none; border: 0; cursor: pointer; transition: transform .12s; }
#rightbar .rb-art img { width: 100%; display: block; filter: drop-shadow(0 4px 0 rgba(60,30,5,.35)); pointer-events: none; }
#rightbar .rb-art:hover { transform: translateY(-3px) scale(1.06); }
#rightbar .rb-art:active { transform: translateY(2px) scale(.96); }
#rightbar .rb-art .dot { position: absolute; top: 2px; right: 4px; width: 20px; height: 20px; border: 3px solid #fff; }
#rightbar .rb-art[data-open="raid"] img { animation: rdBeat 2.4s ease-in-out infinite; }
@media (max-width: 760px) { #rightbar .rb-art { width: 62px; } #rightbar .rb-art .dot { width: 14px; height: 14px; border-width: 2px; } }


#raid-lock { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: rgba(20,10,0,.55); padding: 10px; }
#raid-lock.hidden { display: none; }
.rlk { position: relative; width: min(980px, calc(100vw - 20px), calc((100vh - 20px) * 1648 / 918)); aspect-ratio: 1648 / 918; container-type: inline-size; animation: sevIn .25s ease-out; }
.rlk > img { width: 100%; height: 100%; display: block; user-select: none; filter: drop-shadow(0 14px 30px rgba(0,0,0,.45)); }
.rlk button { position: absolute; background: transparent; border: 0; padding: 0; cursor: pointer; }
.rlk-x { left: 93.33%; top: 6.1%; width: 6.1%; height: 10.9%; border-radius: 50%; }
.rlk-x:hover { background: rgba(255,255,255,.2); }
.rlk-go { left: 26.58%; top: 76.58%; width: 46.97%; height: 15.58%; border-radius: 6cqw; transition: transform .1s, background .1s; }
.rlk-go:hover { background: rgba(255,255,255,.16); transform: scale(1.02); }
.rlk-go:active { transform: scale(.97); }
.rlk-vip { position: absolute; left: 32.34%; top: 59.91%; width: 6.6%; height: 4.9%; display: grid; place-items: center; border-radius: 1.6cqw;
  background: #4f1a02; color: #ffe23a; font: 2.3cqw 'Lilita One', sans-serif; letter-spacing: .05cqw; pointer-events: none; }



#login { background: radial-gradient(ellipse at 50% 50%, rgba(20,10,0,.1), rgba(20,10,0,.5)); }
.lbox { width: min(440px, 92vw); padding: 22px 26px 18px; animation: sevIn .35s ease-out; box-shadow: 0 8px 0 #a85a1a, 0 20px 50px rgba(0,0,0,.45); }
.lbox .logo { font-size: 70px; margin: -4px 0 8px; }
.ltag { margin: 0 0 10px; font: 600 15px/1.35 Fredoka; color: #8a5a2a; } .ltag b { color: #2f8a24; }
.lfeat { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.lfeat span { font: 13px 'Lilita One'; color: #8a5428; background: #fff6dc; border: 2px solid #efd3a0; border-radius: 12px; padding: 3px 10px; }
.lgo { width: 100%; font-size: 30px !important; padding: 14px !important; border-radius: 18px; animation: drPulse 1.6s ease-in-out infinite; }
.lnote { display: block; margin-top: 10px; font: 600 12.5px/1.35 Fredoka; color: #a07a50; }
.lhead { display: flex; align-items: center; gap: 10px; justify-content: center; position: relative; }
.lhead b { font: 22px 'Lilita One'; color: #8a5428; }
.lback { position: absolute; left: 0; width: 34px; height: 34px; border-radius: 50%; background: #f4dcae; color: #8a5428; font: 15px 'Lilita One'; border: 2px solid #e0b878; cursor: pointer; }
.lback:hover { background: #ffe8be; }
#l-wallets .wopt { padding: 11px 14px; font: 17px 'Lilita One'; color: #6a3a10; cursor: pointer; transition: transform .1s, background .1s; }
#l-wallets .wopt:hover { transform: translateY(-1px); background: #fff3d0; }
#l-wallets .wopt img { width: 32px; height: 32px; }
.ldev { display: flex; gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 2px dashed #e8cc98; }
.ldev input { margin: 0 !important; font-size: 14px !important; padding: 8px !important; }
.ldev.hidden { display: none; }



.lbox.nick .lfeat, .lbox.nick .ltag { display: none; }
.ltop { margin: 2px 0 10px !important; }
.lnick { position: relative; }
.lnick input { width: 100%; font: 24px 'Lilita One'; padding: 12px 44px 12px 14px; text-align: center; border: 3px solid #e0c08a; border-radius: 14px; color: #6a3a10; background: #fffdf6; outline: 0; }
.lnick input:focus { border-color: #f0a030; box-shadow: 0 0 0 3px #ffe2a0; }
.lnick i { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 16px 'Lilita One'; font-style: normal; color: #fff; }
.lnick i.ok { background: #3aa82a; } .lnick i.bad { background: #e0402a; } .lnick i.wait { background: #c8a878; }
.lnote.ok { color: #2f8a24; } .lnote.bad { color: #d0381e; }
#l-start { margin-top: 12px; font-size: 26px !important; }
#l-start:disabled { animation: none; }


.llogo { display: block; width: 100%; max-width: 330px; margin: -70px auto 2px; filter: drop-shadow(0 6px 8px rgba(60,30,5,.35)); animation: llogoIn .5s ease-out; user-select: none; }
@keyframes llogoIn { from { transform: scale(.7) rotate(-4deg); opacity: 0; } 70% { transform: scale(1.05); } }
.lbox { margin-top: 60px; }
@media (max-height: 640px) { .llogo { max-width: 240px; margin-top: -50px; } }


@media (min-width: 1321px) { .pcard { transform: scale(1.18); transform-origin: top left; } .pcard2 { top: 128px; } }
@media (min-width: 1700px) { .pcard { transform: scale(1.38); } .pcard2 { top: 148px; } }
@media (min-width: 1181px) and (max-width: 1320px) { .pcard { transform: scale(1.08); transform-origin: top left; } .pcard2 { top: 118px; } }
@media (min-width: 901px) and (max-width: 1320px) {
  #ticker { left: 400px; right: auto; transform: none; width: min(520px, calc(100vw - 400px - 120px)); }
  #ticker.idle { transform: translateY(-10px); }
}
@media (max-width: 900px) {
  .pcard { transform: none; }
  #topbar { top: 106px; }
  #ticker { top: 174px; }
  #rightbar { top: 204px; }
  .pcard2 { top: 204px; transform: scale(.82); }
}
@media (max-width: 420px) { #topbar { gap: 0; } #topbar button { width: calc((100vw - 8px) / 8); } }


.pcard .prefs { position: absolute; left: 100%; top: 4px; margin-left: 8px; display: flex; flex-direction: column; gap: 6px; }
.pref { display: flex; align-items: center; gap: 5px; height: 30px; padding: 0 9px 0 5px; border-radius: 15px; cursor: pointer;
  background: linear-gradient(#c88a48, #9a5a22 55%, #7a4212); border: 2px solid #5a2e0c; box-shadow: inset 0 2px 0 #f0b878, 0 3px 0 rgba(0,0,0,.28);
  color: #fff; font: 14px 'Lilita One'; text-shadow: 0 1px 0 #4a2408; white-space: nowrap; transition: transform .1s; }
.pref:hover { transform: translateY(-1px); filter: brightness(1.08); }
.pref:active { transform: translateY(1px); }
.pflag { display: inline-block; width: 24px; height: 16px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1.5px #fff, 0 1px 2px rgba(0,0,0,.4); line-height: 0; flex: none; }
.pflag svg { width: 100%; height: 100%; display: block; }
.pcur { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 3px; border-radius: 11px; font: 12px 'Lilita One'; font-style: normal;
  background: radial-gradient(circle at 40% 30%, #ffe680, #e0a018); color: #7a4208; text-shadow: none; box-shadow: 0 1px 0 #8a5a08; flex: none; }
.pcur.big { min-width: 40px; height: 40px; border-radius: 20px; font-size: 18px; }
.llangs { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 8px; }
.llang { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px; cursor: pointer; text-align: left;
  background: #fffaf0; border: 2px solid #f0d8a8; box-shadow: 0 3px 0 #e0c088; font: 18px 'Lilita One'; color: #6a3a10; transition: transform .1s, background .1s; }
.llang:hover { transform: translateY(-1px); background: #fff3d0; }
.llang.on { border-color: #4caf2a; background: #f0ffe0; box-shadow: 0 3px 0 #2f8a24; }
.llang .pflag { width: 40px; height: 27px; border-radius: 4px; }
.llang span { flex: 1; }
.llang small { font: 600 12px Fredoka; color: #a07040; }
.llangs.inmodal { max-width: 420px; margin: 12px auto 4px; }
html[data-lang="zh"] body { font-family: Fredoka, "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif; }


.anbox .big-price { font-size: 30px; }
.anbox .kv { font-size: 21px; gap: 8px 18px; }
.anbox .kv b { font-size: 21px; }
.anbox .usd { font-size: 15px; padding: 1px 8px; border-radius: 10px; }
.anbox .note { font-size: 16px; line-height: 1.45; }

.llaunch { margin: 2px auto 12px; padding: 10px 12px 8px; border-radius: 16px; text-align: center; color: #fff;
  background: linear-gradient(#ff8a3a, #e0402a); box-shadow: inset 0 2px 0 #ffc08a, 0 4px 0 #a82a14; }
.ll-t { display: block; font: 18px 'Lilita One'; letter-spacing: .04em; text-shadow: 0 2px 0 #a82a14; }
.ll-cd { display: flex; justify-content: center; gap: 8px; margin: 6px 0 4px; }
.ll-cd span { min-width: 62px; padding: 4px 6px 3px; border-radius: 10px; background: rgba(90,20,6,.35); }
.ll-cd b { display: block; font: 30px/1 'Lilita One'; } .ll-cd small { font: 700 10px Fredoka; opacity: .9; letter-spacing: .06em; }
.ll-d { display: block; font: 600 12px Fredoka; opacity: .95; text-transform: capitalize; }
.ltest { margin-top: 12px; padding-top: 12px; border-top: 2px dashed #f0d8a8; }
.ltest .lnote b { color: #e0402a; }
#testbar { position: fixed; left: 50%; bottom: 112px; transform: translateX(-50%); z-index: 6; padding: 5px 14px; border-radius: 14px; white-space: nowrap;
  font: 14px 'Lilita One'; color: #fff; background: linear-gradient(#ff8a3a, #e0402a); box-shadow: 0 3px 0 #a82a14; pointer-events: none; }
#testbar b { font-family: 'Lilita One'; color: #fff6a0; }
@media (max-width: 900px) { #testbar { bottom: 96px; font-size: 12px; } .ll-cd span { min-width: 52px; } .ll-cd b { font-size: 24px; } }

.lref { display: block; margin: 0 auto 12px; padding: 9px 12px; border-radius: 14px; text-align: center; color: #fff;
  background: linear-gradient(#8a4ae8, #5a24b8); box-shadow: inset 0 2px 0 #b88aff, 0 4px 0 #3a1480; }
.lref b { display: block; font: 17px 'Lilita One'; color: #ffe23a; text-shadow: 0 2px 0 #3a1480; letter-spacing: .02em; }
.lref span { display: block; font: 600 12.5px/1.35 Fredoka; margin-top: 2px; }
.vp-beta { margin-bottom: 12px; padding: 12px 14px; border-radius: 16px; text-align: center; color: #fff;
  background: linear-gradient(#8a4ae8, #5a24b8); box-shadow: inset 0 2px 0 #b88aff, 0 4px 0 #3a1480; }
.vb-t { font: 24px 'Lilita One'; color: #ffe23a; text-shadow: 0 2px 0 #3a1480; }
.vp-beta p { margin: 4px 0 10px; font: 600 15px/1.35 Fredoka; }
.vb-row { display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; }
.vb-row code { background: rgba(0,0,0,.25); padding: 7px 10px; border-radius: 10px; font: 600 13px Fredoka; word-break: break-all; }
.vb-copy { font: 16px 'Lilita One'; color: #5a2a08; padding: 9px 16px; border-radius: 12px; cursor: pointer;
  background: linear-gradient(#ffe680, #f0b020); box-shadow: 0 4px 0 #a86a08; border: 0; }
.vb-copy:active { transform: translateY(2px); box-shadow: 0 2px 0 #a86a08; }
