/* 社区农场 · QQ经典农场风格 */
:root{
  --fm-grass:#7ec850;
  --fm-grass-d:#57a63a;
  --fm-grass-l:#d8f3c0;
  --fm-soil:#c98d5c;
  --fm-soil-d:#9c6740;
  --fm-soil-l:#e6c9a8;
  --fm-gold:#f5b731;
  --fm-gold-d:#d99111;
  --fm-wood:#a9703f;
  --fm-wood-d:#83512b;
  --fm-sky:#bfe9ff;
  --fm-sky-d:#7fd3f7;
  --fm-text:#33402c;
  --fm-sub:#8a9680;
  --fm-line:#e7e2d3;
  --fm-card:#fffef8;
  --fm-red:#e2603c;
}
.fm-wrap{max-width:1100px;margin:0 auto;color:var(--fm-text);font-size:14px;font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif}

/* ---------- 顶部农场场景 ---------- */
.fm-banner{position:relative;border-radius:14px;overflow:hidden;padding:14px 16px 34px;margin-bottom:12px;
  background:linear-gradient(180deg,#a9e4ff 0%,#c8efff 46%,#dff5c6 47%,#8fd365 100%);
  box-shadow:0 4px 14px rgba(96,140,70,.18);border:2px solid #ffffff}
.fm-banner::before{content:"";position:absolute;left:16px;top:12px;width:64px;height:22px;border-radius:20px;
  background:radial-gradient(circle at 22% 70%, rgba(255,255,255,.85) 0 12px, transparent 13px),
             radial-gradient(circle at 52% 40%, rgba(255,255,255,.9) 0 16px, transparent 17px),
             radial-gradient(circle at 82% 72%, rgba(255,255,255,.8) 0 11px, transparent 12px);opacity:.75;pointer-events:none}
.fm-banner::after{content:"";position:absolute;left:0;right:0;bottom:0;height:34px;
  background:
    radial-gradient(circle at 12% 100%, #74bd4b 0 13px, transparent 14px),
    radial-gradient(circle at 34% 100%, #7cc84f 0 16px, transparent 17px),
    radial-gradient(circle at 60% 100%, #74bd4b 0 12px, transparent 13px),
    radial-gradient(circle at 84% 100%, #7cc84f 0 15px, transparent 16px),
    linear-gradient(180deg,#8fd365,#63ad41)}
.fm-banner-top{display:flex;align-items:center;gap:12px;position:relative;z-index:2}
.fm-avatar-box{position:relative;flex:none}
.fm-avatar{border-radius:10px;overflow:hidden;border:3px solid #fff;box-shadow:0 3px 8px rgba(60,90,40,.25);background:#eef7e6}
.fm-avatar img,.fm-avatar{width:62px;height:62px;object-fit:cover}
.fm-lvl-badge{position:absolute;right:-6px;bottom:-6px;background:linear-gradient(180deg,#ffe28a,#f0a51e);
  color:#7a4a00;font-size:11px;font-weight:800;padding:1px 7px;border-radius:10px;border:2px solid #fff;box-shadow:0 2px 4px rgba(0,0,0,.18)}
.fm-me{flex:1;min-width:0}
.fm-me-name{font-size:16px;font-weight:800;color:#25422a;text-shadow:0 1px 0 rgba(255,255,255,.7);display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.fm-title-chip{background:linear-gradient(180deg,#fff6d2,#ffdf92);border:1px solid #efc25a;color:#8a5a12;
  font-size:10.5px;font-weight:700;padding:1px 7px;border-radius:8px}
.fm-expbar{position:relative;height:13px;margin-top:7px;background:rgba(255,255,255,.55);border:1px solid rgba(255,255,255,.9);border-radius:10px;overflow:hidden;max-width:340px}
.fm-expbar span{display:block;height:100%;border-radius:10px;background:linear-gradient(90deg,#9be15d,#43a92b);box-shadow:inset 0 -3px 0 rgba(0,0,0,.12)}
.fm-expbar b{position:absolute;inset:0;font-size:9.5px;font-weight:600;color:#345030;text-align:center;line-height:13px;letter-spacing:.2px}
.fm-me-coin{font-size:12px;color:#3c5a2c;margin-top:5px}
.fm-me-coin b{color:#8a5a12;font-size:15px;font-weight:800}
.fm-me-coin i{color:#e8a11c}
.fm-dog-line{font-size:11.5px;margin-top:3px;line-height:1.5}
.fm-dog-line b{font-weight:700}
.fm-sky-actions{position:absolute;right:14px;top:14px;display:flex;gap:6px;z-index:3;flex-wrap:wrap;justify-content:flex-end;max-width:56%}
.fm-sky-btn{display:inline-flex;align-items:center;gap:4px;padding:5px 10px;border-radius:20px;font-size:11.5px;font-weight:600;
  background:rgba(255,255,255,.85);border:1px solid #fff;color:#3f7a2c;text-decoration:none;box-shadow:0 2px 5px rgba(40,80,30,.16);backdrop-filter:blur(4px)}
.fm-sky-btn:hover{background:#fff;color:#2c6a1c}
.fm-sky-btn.warm{background:linear-gradient(180deg,#ffe38f,#f7bd39);border-color:#ffeecd;color:#7c4b00}

/* 被偷提示 */
.fm-alert{display:flex;align-items:center;gap:8px;background:#fff4e5;border:1px dashed #f0b96a;color:#a25a12;
  border-radius:10px;padding:8px 12px;font-size:12px;margin-bottom:10px}
.fm-alert i{font-size:15px;color:#e58c1e}

/* ---------- 布局 ---------- */
.fm-layout{display:flex;gap:14px;align-items:flex-start}
.fm-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:12px}
.fm-aside{width:270px;flex:none;display:flex;flex-direction:column;gap:12px}

.fm-two{display:grid;grid-template-columns:1.1fr .9fr;gap:12px}
@media(max-width:900px){.fm-two{grid-template-columns:1fr}}
.fm-card{background:var(--fm-card);border:1px solid var(--fm-line);border-radius:14px;padding:12px 14px 14px;
  box-shadow:0 2px 8px rgba(120,110,80,.08)}
.fm-card-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:-12px -14px 12px;padding:9px 14px;
  background:linear-gradient(180deg,#fff9e6,#fff0cc);border-bottom:1px solid #f2e5c4;border-radius:14px 14px 0 0}
.fm-card-title{font-size:13.5px;font-weight:800;color:#6b4a2a;display:flex;align-items:center;gap:6px;letter-spacing:.3px}
.fm-card-title i{color:var(--fm-grass-d);font-size:15px}
.fm-card-tools{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.fm-card-tools .fm-hint{white-space:nowrap}
.fm-tag{font-size:10.5px;font-weight:700;color:#2f7c22;background:#e8f7d8;border:1px solid #cbeab0;padding:1px 7px;border-radius:8px}
.fm-hint{font-size:11px;color:var(--fm-sub)}
.fm-mini{font-size:11px;color:var(--fm-sub)}
.fm-empty{font-size:12px;color:var(--fm-sub);padding:16px 0;text-align:center}

/* ---------- 按钮（立体农场风） ---------- */
.fm-btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;border-radius:10px;padding:8px 14px;font-size:12.5px;
  font-weight:700;cursor:pointer;line-height:1.15;font-family:inherit;border:1px solid transparent;
  box-shadow:0 3px 0 rgba(0,0,0,.16),0 4px 8px rgba(0,0,0,.08);transition:transform .1s,box-shadow .1s}
.fm-btn:active{transform:translateY(2px);box-shadow:0 1px 0 rgba(0,0,0,.16)}
.fm-btn-main{background:linear-gradient(180deg,#8fd85f,#57ab33);border-color:#4c9b2c;color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.25)}
.fm-btn-main:hover{background:linear-gradient(180deg,#9ce36c,#61b73c)}
.fm-btn-ghost{background:linear-gradient(180deg,#fffdf5,#f6efdc);border-color:#e2d6b8;color:#7a5a2e;box-shadow:0 2px 0 #ded0ae}
.fm-btn-ghost:hover{background:#fff}
.fm-btn-gold{background:linear-gradient(180deg,#ffd35c,#efa31b);border-color:#d68d0d;color:#6f4400;text-shadow:0 1px 0 rgba(255,255,255,.4)}
.fm-btn:disabled{opacity:.55;cursor:not-allowed;transform:none}

/* ---------- 土地 ---------- */
.fm-land-tools{display:flex;gap:6px;margin-bottom:10px;flex-wrap:wrap}
.fm-land-preview{background:linear-gradient(180deg,#f2ede2,#e4dfd1)!important;border-color:#cdc6b5!important}
.fm-lands{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
@media(min-width:760px){.fm-lands{grid-template-columns:repeat(auto-fit,minmax(76px,1fr));gap:5px;max-width:720px;margin:0 auto}}
.fm-land{position:relative;aspect-ratio:1/1.02;border-radius:11px;cursor:pointer;overflow:hidden;transition:transform .12s;
  border:2px solid #c79a6a;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.16) 0 5px, rgba(255,255,255,.04) 5px 10px, rgba(120,80,40,.10) 10px 15px),
    linear-gradient(180deg,#f0d3ac 0%,#e4bd8e 45%,#d6a877 100%);
  box-shadow:inset 0 2px 0 rgba(255,255,255,.55),inset 0 -8px 12px rgba(140,95,50,.28),0 3px 8px rgba(90,70,40,.14)}
.fm-land:hover{transform:translateY(-2px)}
.fm-land.soil-1{border-color:#c4694a;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.18) 0 5px, rgba(255,255,255,.05) 5px 10px, rgba(120,40,20,.12) 10px 15px),
    linear-gradient(180deg,#f2b394 0%,#e2946f 48%,#c9744f 100%)}
.fm-land.soil-2{border-color:#4b3c28;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.12) 0 5px, rgba(255,255,255,.03) 5px 10px, rgba(0,0,0,.18) 10px 15px),
    linear-gradient(180deg,#7a6547 0%,#5d4b33 48%,#40331f 100%)}
.fm-land.mature{border-color:#7dc24b;box-shadow:inset 0 0 0 2px rgba(255,255,255,.4),0 0 0 3px rgba(150,220,90,.55),0 4px 12px rgba(90,170,50,.4)}
.fm-land.locked{background:linear-gradient(180deg,#f3f1e7,#e7e4d6);border:2px dashed #cdc9b8;cursor:default;box-shadow:none}
.fm-land.locked:hover{transform:none}
.fm-soil-flag{position:absolute;top:0;left:0;font-size:9px;font-weight:700;padding:1px 6px;border-radius:0 0 8px 0;z-index:3}
.fm-soil-flag.red{background:#c2603f;color:#ffe5da}
.fm-soil-flag.black{background:#2f2a20;color:#f0d78f}
.fm-land-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
  color:rgba(255,255,255,.82);font-size:10.5px;text-shadow:0 1px 1px rgba(0,0,0,.2)}
.fm-land-empty i{font-size:22px;color:rgba(255,255,255,.9)}
.fm-land.locked .fm-land-empty{color:#8d8875;text-shadow:none}
.fm-land.locked .fm-land-empty i{color:#b6bfa9}
.fm-land-body{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4px 5px 16px}
.fm-crop-art{font-size:30px;line-height:1;filter:drop-shadow(0 3px 3px rgba(0,0,0,.22));animation:fmFloat 3s ease-in-out infinite}
@keyframes fmFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
.fm-crop-art.stage-1{font-size:18px;opacity:.85;animation:none}
.fm-crop-art.stage-2{font-size:23px;animation:none}
.fm-crop-art.stage-3{font-size:26px}
.fm-crop-art.stage-4{animation:fmPop 1.6s ease-in-out infinite}
@keyframes fmPop{0%,100%{transform:scale(1)}50%{transform:scale(1.09)}}
.fm-land-name{font-size:10.5px;font-weight:700;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.35);margin-top:2px;
  max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fm-land-state{font-size:9px;color:#fff;opacity:.92;text-shadow:0 1px 1px rgba(0,0,0,.3);white-space:nowrap}
.fm-land-state.ready{color:#fff8c6;font-weight:800}
.fm-land-bar{position:absolute;left:8px;right:8px;bottom:7px;height:5px;border-radius:4px;background:rgba(0,0,0,.24);overflow:hidden}
.fm-land-bar span{display:block;height:100%;border-radius:4px;background:linear-gradient(90deg,#ffe98c,#ffbe30)}
.fm-trouble{position:absolute;top:2px;right:2px;display:flex;gap:2px;z-index:4}
.fm-trouble span{width:18px;height:18px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:11px;
  background:rgba(255,255,255,.92);box-shadow:0 1px 3px rgba(0,0,0,.2);cursor:pointer}
.fm-trouble span:hover{transform:scale(1.1)}
.fm-mature-glow{position:absolute;top:2px;left:2px;background:linear-gradient(180deg,#fff07a,#f7b324);color:#7a4a00;
  font-size:9px;font-weight:800;padding:1px 5px;border-radius:7px;box-shadow:0 1px 3px rgba(0,0,0,.2);z-index:4}

/* ---------- 概览统计条 ---------- */
.fm-chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:0}
.fm-chip{flex:1;min-width:110px;display:flex;align-items:center;gap:8px;background:#fffdf3;border:1px solid #efe6cd;border-radius:12px;padding:8px 11px}
.fm-chip i{width:26px;height:26px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:14px;color:#fff}
.fm-chip .c1{background:linear-gradient(180deg,#8fd85f,#54a831)}
.fm-chip .c2{background:linear-gradient(180deg,#ffd35c,#ef9f16)}
.fm-chip .c3{background:linear-gradient(180deg,#7fd0ef,#3ba7d2)}
.fm-chip .c4{background:linear-gradient(180deg,#e79a86,#c0563b)}
.fm-chip b{display:block;font-size:14px;font-weight:800;color:#4b3a20;line-height:1.2}
.fm-chip small{font-size:10.5px;color:var(--fm-sub)}

/* ---------- 任务 ---------- */
.fm-task-list{display:flex;flex-direction:column;gap:7px}
.fm-task{display:flex;align-items:center;gap:8px;background:#fbfdf6;border:1px solid #ecefd8;border-radius:10px;padding:7px 9px}
.fm-task-icon{width:22px;height:22px;border-radius:7px;background:#e9f6d8;color:#4d9b2c;display:flex;align-items:center;justify-content:center;font-size:12px;flex:none}
.fm-task-main{flex:1;min-width:0}
.fm-task-title{font-size:11.5px;font-weight:700;color:#4a4030}
.fm-task-bar{height:4px;border-radius:3px;background:#e8ecdc;overflow:hidden;margin-top:4px}
.fm-task-bar span{display:block;height:100%;background:linear-gradient(90deg,#a6e06a,#5cb83a)}
.fm-task-prog{font-size:10px;color:var(--fm-sub)}
.fm-task .fm-btn{padding:5px 9px;font-size:11px;border-radius:8px}
.fm-task.done{background:#f4ffe6;border-color:#cbeab0}

/* ---------- 仓库 ---------- */
.fm-store-list{display:flex;flex-direction:column;gap:6px;max-height:250px;overflow:auto}
.fm-store-item{display:flex;align-items:center;gap:7px;font-size:12px;padding:6px 2px;border-bottom:1px dashed #eee7d5}
.fm-store-item:last-child{border-bottom:0}
.fm-store-emoji{font-size:18px;width:24px;text-align:center;flex:none}
.fm-store-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
.fm-store-val{color:#a5722a;font-size:11px;font-weight:700;flex:none}
.fm-store-item .fm-btn{padding:4px 9px;font-size:10.5px;border-radius:7px;box-shadow:0 2px 0 rgba(0,0,0,.12)}
.fm-seeds{margin-top:8px;padding-top:8px;border-top:1px dashed #eee7d5;font-size:11px;color:var(--fm-sub);display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.fm-seed{background:#f4f9ec;border:1px solid #dfeccb;padding:2px 7px;border-radius:7px;color:#4d5f3b}

/* ---------- 签到 / 看门狗 ---------- */
.fm-sign-days{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;margin-bottom:8px}
.fm-sign-day{height:26px;border-radius:7px;background:#f2f3e9;border:1px solid #e6e8d8;display:flex;align-items:center;justify-content:center;font-size:9.5px;color:#9aa78c}
.fm-sign-day.on{background:linear-gradient(180deg,#ffe98c,#f5bb2e);border-color:#e0a413;color:#7a4a00;font-weight:800}
.fm-dog-box{display:flex;align-items:center;gap:9px;background:#fbf7ec;border:1px solid #eee2c9;border-radius:12px;padding:9px 10px}
.fm-dog-emoji{font-size:24px;line-height:1}
.fm-dog-info{flex:1;min-width:0}
.fm-dog-title{font-size:11.5px;font-weight:700;color:#6b4a2a}
.fm-dog-state{font-size:10.5px;color:var(--fm-sub);margin-top:2px}
.fm-dog-state.on{color:#2f8c25;font-weight:700}
.fm-dog-box .fm-btn{padding:5px 9px;font-size:10.5px;border-radius:8px}

/* ---------- 排行榜 ---------- */
.fm-rank-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:5px;max-height:360px;overflow:auto}
.fm-rank-list li{display:flex;align-items:center;gap:7px;font-size:11.5px;padding:4px 6px;border-radius:9px}
.fm-rank-list li:nth-child(1){background:linear-gradient(90deg,#fff6d8,#fffdf3);border:1px solid #f4dfa6}
.fm-rank-list li:nth-child(2){background:linear-gradient(90deg,#f4f6f8,#fffdfb);border:1px solid #e3e8ee}
.fm-rank-list li:nth-child(3){background:linear-gradient(90deg,#fdf1e5,#fffdfa);border:1px solid #f0ddc6}
.fm-rank-no{width:17px;text-align:center;color:#a9b39e;flex:none;font-weight:800;font-size:11px}
.fm-rank-no.top1{color:#e0a608}.fm-rank-no.top2{color:#8ea0b0}.fm-rank-no.top3{color:#c0824a}
.fm-rank-avatar{width:24px;height:24px;border-radius:6px;object-fit:cover;border:1.5px solid #fff;box-shadow:0 1px 3px rgba(0,0,0,.15);flex:none;background:#eee}
.fm-rank-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;align-items:center;gap:4px}
.fm-rank-steal{font-size:9px;color:#fff;background:#e2603c;border-radius:6px;padding:0 4px;flex:none}
.fm-rank-lv{color:#4c9b2c;font-size:10px;font-weight:700;flex:none}
.fm-rank-exp{color:#a5722a;font-size:10px;flex:none;min-width:30px;text-align:right}
.fm-rank-go{font-size:10px;color:#fff;background:linear-gradient(180deg,#8fd85f,#54a831);text-decoration:none;flex:none;padding:2px 7px;border-radius:7px;font-weight:700}
.fm-tips ul{margin:0;padding-left:16px;font-size:11.5px;color:var(--fm-sub);line-height:1.95}
.fm-log-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px;max-height:200px;overflow:auto}
.fm-log-list li{display:flex;gap:8px;font-size:11.5px;color:#5a5340;padding:4px 0;border-bottom:1px dashed #f1ecdd}
.fm-log-time{color:#b3ac97;flex:none;font-variant-numeric:tabular-nums}
.fm-log-note{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* ---------- 访客/空态 ---------- */
.fm-guest{background:#fffef8;border:2px dashed #e0d7bd;border-radius:16px;padding:40px 18px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px}
.fm-guest-icon{width:76px;height:76px;border-radius:20px;background:linear-gradient(180deg,#e7f7d5,#c9ecae);display:flex;align-items:center;justify-content:center;font-size:34px;color:#4d9b2c;border:2px solid #fff;box-shadow:0 4px 10px rgba(90,150,60,.2)}
.fm-guest p{font-size:12.5px;color:var(--fm-sub);margin:0}

/* ---------- 弹窗 ---------- */
.fm-modal{position:fixed;inset:0;z-index:2000;display:flex;align-items:flex-end;justify-content:center}
.fm-modal[hidden]{display:none !important}
@media(min-width:640px){.fm-modal{align-items:center}}
.fm-modal-mask{position:absolute;inset:0;background:rgba(20,26,14,.55);backdrop-filter:blur(2px)}
.fm-modal-box{position:relative;background:#fffef8;width:100%;max-width:560px;max-height:82vh;border-radius:18px 18px 0 0;
  display:flex;flex-direction:column;overflow:hidden;box-shadow:0 -8px 30px rgba(0,0,0,.3)}
@media(min-width:640px){.fm-modal-box{border-radius:18px;box-shadow:0 14px 40px rgba(0,0,0,.28)}}
.fm-modal-head{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;
  background:linear-gradient(180deg,#fff9e6,#fff0cc);border-bottom:1px solid #f0e3c3;font-size:14px;font-weight:800;color:#6b4a2a}
.fm-modal-x{background:none;border:0;font-size:20px;color:#a08a63;cursor:pointer;line-height:1;padding:0 4px}
.fm-modal-body{padding:12px 14px 20px;overflow:auto;-webkit-overflow-scrolling:touch}
.fm-crop-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.fm-tag.lv{background:#e8f0fb;color:#42618c}
.fm-btn.is-disabled{opacity:.55;cursor:not-allowed;pointer-events:none;box-shadow:none}
.fm-modal-card{max-height:88vh;display:flex;flex-direction:column}
.fm-modal-body{max-height:74vh}
@media(max-width:420px){.fm-crop-grid{grid-template-columns:1fr}}
.fm-crop-card{border:2px solid #ece2c8;border-radius:12px;padding:10px 11px;text-align:left;background:#fff;cursor:pointer;
  display:flex;flex-direction:column;gap:3px;box-shadow:0 2px 0 #efe6ce}
.fm-crop-card:hover{border-color:#b7e09a;background:#f8ffef}
.fm-crop-card.disabled{opacity:.55;cursor:not-allowed}
.fm-crop-title{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:800;color:#4a4030}
.fm-crop-emoji{font-size:20px}
.fm-crop-badge{font-size:9.5px;background:#ffe8d6;color:#c2603f;border-radius:6px;padding:0 5px;font-weight:700}
.fm-crop-meta{font-size:10.5px;color:var(--fm-sub);line-height:1.5}
.fm-crop-price{color:#a5722a;font-weight:800}

/* ---------- 集市 ---------- */
.fm-market-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}
@media(max-width:600px){.fm-market-grid{grid-template-columns:1fr}}
.fm-market-card{border:2px solid #efe4c9;border-radius:13px;padding:11px 12px;background:linear-gradient(180deg,#fffef9,#fbf6e7);
  display:flex;flex-direction:column;gap:2px;box-shadow:0 2px 0 #efe5cc}
.fm-mk-top{display:flex;align-items:center;gap:7px;margin-bottom:3px}
.fm-mk-emoji{font-size:26px;filter:drop-shadow(0 2px 2px rgba(0,0,0,.15))}
.fm-mk-name{font-size:13.5px;font-weight:800;color:#4a4030}
.fm-mk-meta{font-size:11px;color:var(--fm-sub)}
.fm-mk-buy{display:flex;justify-content:space-between;align-items:flex-end;margin-top:9px;gap:8px}
.fm-mk-price{color:#a5722a;font-weight:800;font-size:16px}
.fm-mk-price i{color:var(--fm-gold);font-size:13px}
.fm-mk-left{font-size:10.5px;color:var(--fm-sub);margin-top:2px}

/* ---------- toast ---------- */
.fm-toast{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);background:rgba(38,48,28,.94);color:#fff;font-size:13px;
  padding:12px 18px;border-radius:12px;z-index:2600;max-width:80vw;text-align:center;line-height:1.6;box-shadow:0 8px 24px rgba(0,0,0,.25)}
.fm-toast.pop{animation:fmToastIn .22s ease-out}
@keyframes fmToastIn{from{opacity:0;transform:translate(-50%,-46%) scale(.94)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}

@media(max-width:900px){
  .fm-layout{flex-direction:column;align-items:stretch}
  .fm-main,.fm-aside{width:100%}
  .fm-lands{grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}
  .fm-banner{padding:12px 12px 40px}
  .fm-avatar img,.fm-avatar{width:54px;height:54px}
  .fm-me-name{font-size:14.5px}
  .fm-banner-top{flex-wrap:wrap}
  .fm-sky-actions{position:static;max-width:none;width:100%;margin-top:8px;justify-content:flex-start}
  .fm-sky-btn{padding:6px 11px;font-size:12px}
}
@media(max-width:420px){
  .fm-card{padding:11px 11px 12px}
  .fm-card-head{margin:-11px -11px 10px;padding:8px 11px}
  .fm-crop-art{font-size:26px}
  .fm-chip{min-width:calc(50% - 4px)}
  .fm-store-item .fm-btn{padding:4px 8px}
}

/* ================= 手机 QQ 农场式布局 ================= */
.fm-mtabs{display:none}
@media(max-width:640px){
  .fm-mtabs{display:flex;position:sticky;top:0;z-index:60;gap:3px;padding:4px;margin-bottom:8px;
    background:rgba(255,254,248,.97);border:1px solid var(--fm-line);border-radius:13px;
    box-shadow:0 3px 10px rgba(120,110,80,.12);backdrop-filter:blur(8px)}
  .fm-mtab{flex:1;position:relative;display:flex;flex-direction:column;align-items:center;gap:1px;padding:5px 0;
    border:0;background:none;border-radius:9px;color:#7b8570;font-size:10.5px;font-weight:700;text-decoration:none;font-family:inherit;cursor:pointer}
  .fm-mtab i{font-size:16px;line-height:1}
  .fm-mtab.is-on{background:linear-gradient(180deg,#eaf8db,#d3edb8);color:#39762a;box-shadow:0 1px 0 #bcdda3}
  .fm-mtab-dot{position:absolute;top:3px;right:calc(50% - 16px);width:6px;height:6px;border-radius:50%;background:#e2603c}

  .fm-wrap.fm-mobile .fm-main,
  .fm-wrap.fm-mobile .fm-aside,
  .fm-wrap.fm-mobile .fm-two{display:contents}
  .fm-wrap.fm-mobile .fm-sec{display:none}
  .fm-wrap.fm-mobile .fm-sec[data-active]{display:block}

  .fm-wrap.fm-mobile .fm-chips[data-active]{display:flex}
  .fm-wrap.fm-mobile .fm-sky-actions{display:none}
  .fm-landcard .fm-hint{display:none}
  .fm-wrap.fm-mobile .fm-banner{padding:10px 12px 16px;margin-bottom:8px;border-radius:16px}
  .fm-wrap.fm-mobile .fm-banner::before{opacity:.5;transform:scale(.85);transform-origin:left top}
  .fm-wrap.fm-mobile .fm-banner::after{height:10px;opacity:.5}
  .fm-wrap.fm-mobile .fm-avatar img,.fm-wrap.fm-mobile .fm-avatar{width:48px;height:48px;border-radius:9px}
  .fm-wrap.fm-mobile .fm-me-name{font-size:14px;gap:6px}
  .fm-wrap.fm-mobile .fm-expbar{height:11px;margin-top:5px}
  .fm-wrap.fm-mobile .fm-expbar b{font-size:9px;line-height:11px}
  .fm-wrap.fm-mobile .fm-me-coin{font-size:11px;margin-top:4px;line-height:1.5}
  .fm-wrap.fm-mobile .fm-dog-line{display:none}

  /* 田地场景 */
  .fm-landcard{
    background:linear-gradient(180deg,#d3f0c4 0%,#aee091 34%,#8cd063 100%);
    border-color:#7db955;border-radius:16px;padding:8px 9px 11px;
    box-shadow:inset 0 2px 0 rgba(255,255,255,.55),0 6px 16px rgba(83,141,52,.28)}
  .fm-landcard .fm-card-head{
    margin:0 0 9px;padding:7px 9px;border:0;border-radius:11px;
    background:linear-gradient(180deg,#8f5f31,#74471f);box-shadow:0 2px 0 rgba(60,35,12,.35)}
  .fm-landcard .fm-card-title{color:#ffe9b6;text-shadow:0 1px 1px rgba(0,0,0,.35)}
  .fm-landcard .fm-card-title i{color:#ffdf8a}
  .fm-landcard .fm-hint{color:#ffefc9;opacity:.85}
  .fm-lands{grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;max-width:none}
  .fm-wrap.fm-mobile .fm-land.locked .fm-land-empty span,
  .fm-wrap.fm-mobile .fm-land.locked .fm-land-empty i{color:#5f7150}
  .fm-wrap.fm-mobile .fm-land{border-radius:9px;aspect-ratio:1/1;border-width:2px;
    box-shadow:inset 0 2px 0 rgba(255,255,255,.35),inset 0 -6px 10px rgba(80,45,18,.4),0 3px 7px rgba(60,80,35,.25)}
  .fm-wrap.fm-mobile .fm-crop-art{font-size:28px}
  .fm-wrap.fm-mobile .fm-crop-art.stage-1{font-size:17px}
  .fm-wrap.fm-mobile .fm-crop-art.stage-2{font-size:21px}
  .fm-wrap.fm-mobile .fm-land-name{font-size:9.5px}
  .fm-wrap.fm-mobile .fm-land-state{font-size:8.5px}
  .fm-wrap.fm-mobile .fm-land-bar{left:6px;right:6px;bottom:5px;height:4px}
  .fm-wrap.fm-mobile .fm-mature-glow{font-size:8px;padding:0 4px}
  .fm-wrap.fm-mobile .fm-soil-flag{font-size:8px;padding:0 4px}
  .fm-wrap.fm-mobile .fm-trouble span{width:16px;height:16px;font-size:10px}
  .fm-wrap.fm-mobile .fm-land-empty i{font-size:19px}
  .fm-wrap.fm-mobile .fm-land-empty span{font-size:9px}

  .fm-wrap.fm-mobile .fm-chip{padding:7px 9px;border-radius:10px}
  .fm-wrap.fm-mobile .fm-chips{gap:6px;margin-bottom:2px}
  .fm-wrap.fm-mobile .fm-chip b{font-size:13px}
  .fm-wrap.fm-mobile .fm-chip small{font-size:9.5px}
  .fm-wrap.fm-mobile .fm-chip i{width:23px;height:23px;font-size:12px}

  /* 弹窗：更紧凑的 2 列种子面板 */
  .fm-wrap.fm-mobile ~ .fm-modal .fm-crop-grid,
  .fm-crop-grid{grid-template-columns:1fr 1fr;gap:7px}
  .fm-crop-card{padding:8px 9px;gap:2px;border-radius:11px}
  .fm-crop-title{font-size:12px;gap:5px}
  .fm-crop-emoji{font-size:17px}
  .fm-crop-meta{font-size:9.5px;line-height:1.45}
  .fm-modal-box{max-height:78vh;border-radius:18px 18px 0 0}
  .fm-modal-body{padding-bottom:26px}
}

/* ===== 土地升级 / 商店 / 图鉴 ===== */
.fm-up-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:9px}
.fm-up-item{display:flex;flex-direction:column;gap:3px;align-items:flex-start;padding:10px 11px;border-radius:11px;cursor:pointer;
  border:1px solid var(--fm-line);background:linear-gradient(180deg,#fffdf8,#faf5ea);font-family:inherit;text-align:left}
.fm-up-item:hover{border-color:#d9c9a8;transform:translateY(-1px)}
.fm-up-item.done{opacity:.6;cursor:default}
.fm-up-block{font-size:11px;color:#8a7f68}
.fm-up-soil{font-size:13px;font-weight:800;padding:1px 8px;border-radius:7px}
.fm-up-soil.soil-0{background:#f3e3cb;color:#8a5a1f}
.fm-up-soil.soil-1{background:#f6c4ac;color:#8f3a20}
.fm-up-soil.soil-2{background:#4a3d2b;color:#f2dfa6}
.fm-up-price{font-size:11px;color:#3f7a2c;font-weight:700}

.fm-shop-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px}
.fm-shop-card{display:flex;flex-direction:column;gap:5px;padding:12px;border-radius:12px;border:1px solid var(--fm-line);
  background:linear-gradient(180deg,#fffdf7,#f8f2e4)}
.fm-shop-emoji{font-size:26px}
.fm-shop-name{font-size:14px;font-weight:800;color:#5c4a2c}
.fm-shop-desc{font-size:11px;color:#8a8172;line-height:1.5;min-height:32px}
.fm-shop-price{font-size:13px;font-weight:800;color:#c08a1e}
.fm-shop-foot{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:2px}

.fm-atlas-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px}
.fm-atlas-card{display:flex;flex-direction:column;gap:7px;padding:12px;border-radius:12px;border:1px solid var(--fm-line);
  background:linear-gradient(180deg,#fffdf7,#f8f3e6)}
.fm-atlas-top{display:flex;gap:9px;align-items:center}
.fm-atlas-emoji{font-size:28px;line-height:1}
.fm-atlas-name{font-size:14px;font-weight:800;color:#5c4a2c;display:flex;align-items:center;gap:5px}
.fm-atlas-stats{display:flex;flex-wrap:wrap;gap:8px;font-size:11px;color:#7d7462}
.fm-atlas-stats span{display:inline-flex;align-items:center;gap:3px}
.fm-atlas-profit{font-size:11.5px;color:#3f7a2c;font-weight:700;display:flex;align-items:center;gap:6px}
.fm-atlas-foot{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:2px}
.fm-tag.rare{background:#ffe6d6;color:#b4531f}
.fm-sign-note{font-size:11.5px;color:#8a8172;margin-top:2px}


/* 独立页（商店/图鉴/仓库）手机端收紧 */
@media(max-width:640px){
  .fm-wrap.fm-lite .fm-banner{padding:10px 12px 14px;margin-bottom:8px;border-radius:14px}
  .fm-wrap.fm-lite .fm-banner::after{height:8px;opacity:.45}
  .fm-wrap.fm-lite .fm-banner-top{flex-wrap:nowrap;gap:9px;padding-right:78px}
  .fm-wrap.fm-lite .fm-sky-actions{display:none}
  .fm-wrap.fm-lite .fm-banner-top{padding-right:0}
  .fm-wrap.fm-lite .fm-sky-btn{padding:5px 10px;font-size:11.5px}
  .fm-wrap.fm-lite .fm-me-coin{font-size:11px;line-height:1.45;margin-top:4px}
  .fm-wrap.fm-lite .fm-me-name{font-size:15px}
  .fm-wrap.fm-lite .fm-shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .fm-wrap.fm-lite .fm-shop-card{padding:9px 9px 10px;gap:3px}
  .fm-wrap.fm-lite .fm-shop-emoji{font-size:20px}
  .fm-wrap.fm-lite .fm-shop-name{font-size:12.5px}
  .fm-wrap.fm-lite .fm-shop-desc{font-size:10px;line-height:1.4;min-height:0}
  .fm-wrap.fm-lite .fm-shop-price{font-size:11.5px}
  .fm-wrap.fm-lite .fm-shop-foot .fm-btn{padding:5px 9px;font-size:11px}
  .fm-wrap.fm-lite .fm-atlas-grid{gap:8px}
  .fm-wrap.fm-lite .fm-atlas-card{padding:10px}
}

/* 24 格小田块微调 */
@media(min-width:760px){
  .fm-land-name{font-size:9.5px}
  .fm-land-state{font-size:8.5px}
  .fm-crop-art{font-size:26px}
}
@media(max-width:640px){
  .fm-wrap.fm-mobile .fm-land-name{font-size:9.5px}
  .fm-wrap.fm-mobile .fm-land-state{font-size:8.5px}
  .fm-wrap.fm-mobile .fm-crop-art{font-size:24px}
  .fm-modal-body{max-height:72vh;overflow:auto;-webkit-overflow-scrolling:touch}
}

/* 手机端田地标题与工具按钮一行排布 */
@media(max-width:640px){
  .fm-landcard .fm-card-title{white-space:nowrap;flex:none}
  .fm-landcard .fm-card-title{font-size:12.5px}
  .fm-landcard .fm-card-tools{flex:1 1 auto;justify-content:flex-end;gap:4px;flex-wrap:nowrap}
  .fm-landcard .fm-card-tools .fm-btn{padding:4px 7px;font-size:10.5px;line-height:1.15;border-radius:7px;gap:3px}
  .fm-landcard .fm-card-tools .fm-btn i{font-size:11px}
}

/* 田块整体紧凑：贴近 QQ 农场的一整片小方块 */
.fm-land{border-radius:7px;aspect-ratio:1/1}
.fm-lands .fm-land:hover{transform:none}
@media(max-width:640px){
  .fm-lands .fm-land{border-radius:5px;border-width:1.5px;aspect-ratio:1/1;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.3),inset 0 -4px 6px rgba(80,45,18,.32),0 1px 3px rgba(60,80,35,.18)}
  .fm-wrap.fm-mobile .fm-crop-art{font-size:17px}
  .fm-wrap.fm-mobile .fm-crop-art.stage-1{font-size:11px}
  .fm-wrap.fm-mobile .fm-crop-art.stage-2{font-size:13px}
  .fm-wrap.fm-mobile .fm-land-name{font-size:7.5px;line-height:1.15}
  .fm-wrap.fm-mobile .fm-land-state{font-size:6.5px;line-height:1.15}
  .fm-wrap.fm-mobile .fm-land-empty{gap:1px}
  .fm-wrap.fm-mobile .fm-land-empty i{font-size:12px}
  .fm-wrap.fm-mobile .fm-land-empty span{font-size:7px}
  .fm-wrap.fm-mobile .fm-land-badge{font-size:6.5px;padding:0 3px}
  .fm-wrap.fm-mobile .fm-land-prog{height:2px}
}

/* ==== 整片田：无缝拼接 + 田埂外框（对齐 QQ 农场整田观感） ==== */
.fm-lands{gap:2px;padding:6px;border-radius:12px;box-sizing:border-box;
  background:linear-gradient(180deg,#e3c393 0%,#c9a370 100%);
  box-shadow:0 5px 14px rgba(90,70,40,.18), inset 0 0 0 2px rgba(255,255,255,.22), inset 0 0 20px rgba(120,85,45,.22)}
.fm-land{border:0;border-radius:3px;aspect-ratio:1/1;
  box-shadow:inset 0 -3px 0 rgba(120,80,40,.28), inset 0 1px 0 rgba(255,255,255,.38)}
.fm-land.soil-1{border:0;box-shadow:inset 0 -3px 0 rgba(120,45,25,.32), inset 0 1px 0 rgba(255,255,255,.30)}
.fm-land.soil-2{border:0;box-shadow:inset 0 -3px 0 rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.20)}
.fm-land.mature{border:0;box-shadow:inset 0 0 0 2px rgba(150,220,90,.85), inset 0 -3px 0 rgba(120,80,40,.28)}
.fm-land.locked{border:0;cursor:default;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.10) 0 6px, rgba(70,90,50,.10) 6px 12px),
    linear-gradient(180deg,#c6c79d 0%,#aeb489 50%,#93a06e 100%);
  box-shadow:inset 0 -3px 0 rgba(60,80,45,.22), inset 0 1px 0 rgba(255,255,255,.22)}
.fm-land.locked .fm-land-empty{color:rgba(255,255,255,.9);text-shadow:0 1px 1px rgba(60,80,45,.35)}
.fm-land.locked .fm-land-empty i{color:rgba(255,255,255,.62);font-size:14px}
.fm-land-body{padding:3px 4px 12px}
.fm-soil-flag{border-radius:0 0 4px 0;font-size:8.5px;padding:0 4px}
@media(max-width:640px){
  .fm-wrap.fm-mobile .fm-lands{gap:2px;padding:4px;border-radius:9px}
  .fm-wrap.fm-mobile .fm-land{border-radius:2px;border:0;
    box-shadow:inset 0 -2px 0 rgba(120,80,40,.26), inset 0 1px 0 rgba(255,255,255,.3)}
  .fm-wrap.fm-mobile .fm-land.locked{box-shadow:inset 0 -2px 0 rgba(60,80,45,.2), inset 0 1px 0 rgba(255,255,255,.2)}
  .fm-wrap.fm-mobile .fm-land.mature{box-shadow:inset 0 0 0 1.5px rgba(150,220,90,.85), inset 0 -2px 0 rgba(120,80,40,.26)}
  .fm-wrap.fm-mobile .fm-land-body{padding:2px 3px 8px}
  .fm-wrap.fm-mobile .fm-soil-flag{font-size:7px;padding:0 3px}
  .fm-wrap.fm-mobile .fm-land.locked .fm-land-empty i{font-size:11px}
}

/* 锁定地块：灰土色，去掉文字噪点 */
.fm-land.locked{
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.12) 0 6px, rgba(120,100,70,.12) 6px 12px),
    linear-gradient(180deg,#d6c8ab 0%,#c0ad8a 50%,#a8977a 100%)}
.fm-land.locked .fm-land-empty{color:rgba(255,255,255,.85)}
.fm-land.locked .fm-land-empty i{color:rgba(255,255,255,.55);font-size:15px}
.fm-land.locked .fm-land-empty span{font-size:8px;opacity:.75;letter-spacing:.2px}
.fm-land-empty i{font-size:16px;opacity:.7}
@media(max-width:640px){
  .fm-land-empty i{font-size:13px}
  .fm-wrap.fm-mobile .fm-land.locked .fm-land-empty span{font-size:7px}
}

/* 锁定地块只留一枚淡锁，整田更干净 */
.fm-land.locked .fm-land-empty span{display:none}
.fm-land.locked .fm-land-empty i{font-size:14px;color:rgba(255,255,255,.4)}
@media(max-width:640px){.fm-wrap.fm-mobile .fm-land.locked .fm-land-empty i{font-size:11px}}

/* v1.5.5 土块重做：去掉横纹，做饱满圆润的彩色土块 */
.fm-lands{
  gap:3px;padding:5px;border-radius:10px;
  background:linear-gradient(180deg,#d8b077,#b78a4e);
  box-shadow:inset 0 2px 0 rgba(255,255,255,.32),inset 0 -7px 14px rgba(95,62,25,.30)}
.fm-land{
  border:0;border-radius:6px;
  background:
    radial-gradient(130% 90% at 50% 12%, rgba(255,255,255,.30), rgba(255,255,255,0) 58%),
    linear-gradient(180deg,#f8dc96 0%,#eabb5c 52%,#cf9a3c 100%);
  box-shadow:inset 0 -4px 0 rgba(140,95,35,.30),inset 0 1px 0 rgba(255,255,255,.62),0 1px 2px rgba(80,55,20,.16)}
.fm-land.soil-1{
  border:0;
  background:
    radial-gradient(130% 90% at 50% 12%, rgba(255,255,255,.26), rgba(255,255,255,0) 58%),
    linear-gradient(180deg,#f3a486 0%,#e0764f 52%,#bf5330 100%);
  box-shadow:inset 0 -4px 0 rgba(120,45,22,.30),inset 0 1px 0 rgba(255,255,255,.55),0 1px 2px rgba(80,40,20,.16)}
.fm-land.soil-2{
  border:0;
  background:
    radial-gradient(130% 90% at 50% 12%, rgba(255,255,255,.16), rgba(255,255,255,0) 60%),
    linear-gradient(180deg,#5c4c39 0%,#3d3022 52%,#251d14 100%);
  box-shadow:inset 0 -4px 0 rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.22),0 1px 2px rgba(40,28,15,.20)}
.fm-land.locked{
  background:
    radial-gradient(130% 90% at 50% 12%, rgba(255,255,255,.26), rgba(255,255,255,0) 60%),
    linear-gradient(180deg,#c9bce8 0%,#a98ed8 52%,#8a6cb8 100%);
  box-shadow:inset 0 -4px 0 rgba(80,55,120,.30),inset 0 1px 0 rgba(255,255,255,.50),0 1px 2px rgba(60,45,90,.16)}
.fm-land.locked .fm-land-empty{color:rgba(255,255,255,.9)}
.fm-land.locked .fm-land-empty i{color:rgba(255,255,255,.62)}
.fm-land.mature{
  box-shadow:inset 0 0 0 2px rgba(160,230,100,.85),inset 0 -4px 0 rgba(140,95,35,.28)}
.fm-land-empty i{font-size:17px;opacity:.65}
@media(max-width:640px){
  .fm-wrap.fm-mobile .fm-lands{gap:2px;padding:3px;border-radius:8px}
  .fm-wrap.fm-mobile .fm-land{border-radius:5px;border:0}
  .fm-wrap.fm-mobile .fm-land.locked{border:0}
  .fm-wrap.fm-mobile .fm-land-empty i{font-size:13px}
}

/* v1.5.6 土块质感：加土颗粒斑驳 + 更强的堆土高光，紫晶更通透 */
.fm-land{
  background:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.09) 1px, rgba(255,255,255,0) 1.6px) 0 0/11px 11px,
    radial-gradient(120% 78% at 50% 6%, rgba(255,255,255,.42), rgba(255,255,255,.06) 46%, rgba(255,255,255,0) 62%),
    linear-gradient(180deg,#fbe3a2 0%,#eebd60 50%,#cd973a 100%);
  box-shadow:inset 0 -6px 0 rgba(135,90,30,.30),inset 0 2px 0 rgba(255,255,255,.55),0 2px 3px rgba(80,55,20,.14)}
.fm-land.soil-1{
  background:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.09) 1px, rgba(255,255,255,0) 1.6px) 0 0/11px 11px,
    radial-gradient(120% 78% at 50% 6%, rgba(255,255,255,.38), rgba(255,255,255,.05) 46%, rgba(255,255,255,0) 62%),
    linear-gradient(180deg,#f7ad8f 0%,#e37b53 50%,#b94f2c 100%)}
.fm-land.soil-2{
  background:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.07) 1px, rgba(255,255,255,0) 1.6px) 0 0/11px 11px,
    radial-gradient(120% 78% at 50% 6%, rgba(255,255,255,.22), rgba(255,255,255,0) 55%),
    linear-gradient(180deg,#63523d 0%,#403323 50%,#241b12 100%)}
.fm-land.locked{
  background:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.10) 1px, rgba(255,255,255,0) 1.6px) 0 0/11px 11px,
    radial-gradient(120% 78% at 50% 6%, rgba(255,255,255,.40), rgba(255,255,255,.06) 46%, rgba(255,255,255,0) 62%),
    linear-gradient(180deg,#d9cdf3 0%,#b6a0e0 50%,#9177c4 100%);
  box-shadow:inset 0 -6px 0 rgba(85,60,125,.28),inset 0 2px 0 rgba(255,255,255,.45),0 2px 3px rgba(70,50,110,.14)}
.fm-land.locked .fm-land-empty i{color:rgba(255,255,255,.5);font-size:13px}
@media(max-width:640px){
  .fm-wrap.fm-mobile .fm-land-empty i{font-size:12px}
  .fm-wrap.fm-mobile .fm-land.locked .fm-land-empty i{font-size:11px}
}

/* v1.5.7 紫晶 / 水晶土地配色 */
.fm-land.soil-3{
  border:0;
  background:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.12) 1px, rgba(255,255,255,0) 1.6px) 0 0/11px 11px,
    radial-gradient(120% 78% at 50% 6%, rgba(255,255,255,.45), rgba(255,255,255,.08) 46%, rgba(255,255,255,0) 62%),
    linear-gradient(180deg,#d9c6ff 0%,#ab8ee6 50%,#7f61bd 100%);
  box-shadow:inset 0 -6px 0 rgba(70,45,110,.34),inset 0 2px 0 rgba(255,255,255,.55),0 2px 3px rgba(60,40,100,.18)}
.fm-land.soil-4{
  border:0;
  background:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.16) 1px, rgba(255,255,255,0) 1.6px) 0 0/11px 11px,
    radial-gradient(120% 78% at 50% 6%, rgba(255,255,255,.55), rgba(255,255,255,.10) 46%, rgba(255,255,255,0) 62%),
    linear-gradient(180deg,#d8f6ff 0%,#8fe0f2 50%,#49aecc 100%);
  box-shadow:inset 0 -6px 0 rgba(30,90,120,.32),inset 0 2px 0 rgba(255,255,255,.65),0 2px 4px rgba(40,110,140,.22)}
.fm-soil-flag.lv1{background:#c2603f;color:#ffe5da}
.fm-soil-flag.lv2{background:#2f2a20;color:#f0d78f}
.fm-soil-flag.lv3{background:#6b4fa8;color:#f0e6ff}
.fm-soil-flag.lv4{background:#2e8ba8;color:#e6f9ff}
.fm-up-soil.soil-3{background:linear-gradient(180deg,#d9c6ff,#8d70c9);color:#fff;border-color:#6b4fa8}
.fm-up-soil.soil-4{background:linear-gradient(180deg,#d8f6ff,#5cb2cd);color:#083c50;border-color:#2e8ba8}

/* 好友 / 访客（v1.6.3） */
.fm-friend-random{display:inline-flex;align-items:center;gap:4px;font-size:12px;color:#a9741b;background:#fff7e0;border:1px solid #f2d696;border-radius:999px;padding:3px 10px;text-decoration:none}
.fm-friend-random:hover{background:#ffeec4}
.fm-friend-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px}
.fm-friend{display:flex;flex-direction:column;align-items:center;gap:3px;padding:9px 6px;border:1px solid #f0e2c2;border-radius:10px;background:linear-gradient(180deg,#fffdf6,#fff6e2);text-decoration:none;transition:border-color .15s,transform .15s}
.fm-friend:hover{border-color:#eab54e;transform:translateY(-1px)}
.fm-friend-av{width:38px;height:38px;border-radius:50%;overflow:hidden;background:#eee;box-shadow:0 0 0 2px #fff inset}
.fm-friend-av img{width:100%;height:100%;object-fit:cover;display:block}
.fm-friend-name{font-size:12px;color:#4a3a1c;font-weight:600;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fm-friend-meta{font-size:11px;color:#a08a5c}
.fm-visitor-row{display:flex;flex-wrap:wrap;gap:10px}
.fm-visitor{display:flex;flex-direction:column;align-items:center;gap:3px;width:52px;text-decoration:none}
.fm-visitor img{width:36px;height:36px;border-radius:50%;object-fit:cover;background:#eee;border:1px solid #f0e2c2}
.fm-visitor span{font-size:11px;color:#7a6a48;max-width:52px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* 矢量图标（v1.6.4） */
.fm-ico{width:22px;height:22px;display:inline-block;vertical-align:-4px;flex:none;object-fit:contain}
.fm-ico.sm{width:16px;height:16px;vertical-align:-3px}
.fm-ico.lg{width:28px;height:28px;vertical-align:-6px}
.fm-ico.xl{width:34px;height:34px;vertical-align:-7px}
.fm-crop-img{width:26px;height:26px;display:block;margin:0 auto;object-fit:contain}
.fm-crop-art{display:flex;align-items:flex-end;justify-content:center}
.fm-crop-emoji{display:inline-flex;align-items:center}
.fm-store-emoji,.fm-mk-emoji,.fm-shop-emoji,.fm-atlas-emoji,.fm-dog-emoji{display:inline-flex;align-items:center;justify-content:center;line-height:1}
.fm-seed-line img{vertical-align:-3px}
@media (max-width:640px){
  .fm-ico{width:20px;height:20px}
  .fm-crop-img{width:23px;height:23px}
}

/* 榜单切换（v1.6.4） */
.fm-rank-tab{display:inline-block;font-size:12px;padding:3px 9px;margin-left:4px;border-radius:999px;background:#f5efe0;color:#8a7448;text-decoration:none;border:1px solid transparent}
.fm-rank-tab:hover{background:#efe4cc}
.fm-rank-tab.on{background:#fff3d4;color:#a9741b;border-color:#f2d696;font-weight:600}
@media (max-width:640px){.fm-card-tools .fm-rank-tab{font-size:11px;padding:2px 7px;margin-left:2px}}
.fm-ico-text{font-size:22px;line-height:1}
.fm-ico-text.sm{font-size:16px}

/* 榜单头部换行（v1.6.5） */
.fm-card-head{flex-wrap:wrap;row-gap:6px}
.fm-card-title{white-space:nowrap}
.fm-card-tools{display:flex;flex-wrap:wrap;gap:4px;align-items:center}

/* 图鉴已种已收（v1.6.6） */
.fm-atlas-record{display:flex;gap:10px;align-items:center;margin-top:6px;font-size:12px;color:#7a6a48}
.fm-atlas-done{display:inline-flex;align-items:center;gap:3px;background:#f6f1e3;border-radius:999px;padding:2px 8px}
.fm-atlas-done i{font-size:13px;color:#8fa35e}
.fm-crop-emoji-sm{font-size:22px;line-height:1;display:block;text-align:center}
