/* ============================ v3 视觉：首页重排 + 三币种 ============================ */
.hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#fff4e3 0%,#ffe8cf 52%,#e9f3ff 100%);
  border-radius:22px;padding:16px 16px 14px;margin-bottom:12px;box-shadow:0 10px 26px rgba(226,150,86,.16)}
.hero::after{content:"";position:absolute;right:-28px;top:-34px;width:120px;height:120px;border-radius:50%;
  background:rgba(255,255,255,.45)}
.hero::before{content:"";position:absolute;right:44px;top:44px;width:52px;height:52px;border-radius:50%;
  background:rgba(255,255,255,.35)}
.heroTop{display:flex;align-items:center;gap:10px;position:relative;z-index:1}
.hav{width:46px;height:46px;border-radius:15px;background:#fff;display:flex;align-items:center;justify-content:center;
  font-size:25px;box-shadow:0 4px 12px rgba(150,120,90,.16);flex:0 0 auto}
.hmid{flex:1;min-width:0}
.hmid b{display:block;font-size:16px;color:#3a3128;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hmid i{font-style:normal;font-size:11.5px;color:#8f5314}
.hfire{background:rgba(255,255,255,.8);border-radius:999px;padding:5px 10px;font-size:11.5px;font-weight:700;
  color:#9a5410;white-space:nowrap}
.hbar{height:8px;border-radius:99px;background:rgba(255,255,255,.8);margin:12px 0 6px;overflow:hidden;position:relative;z-index:1}
.hbar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#fbe4bb,#ee8a34);transition:width .5s}
.hnote{font-size:10.5px;color:#b08a5a;position:relative;z-index:1}
.hcoins{display:flex;gap:8px;margin-top:12px;position:relative;z-index:1}
.coin{flex:1;background:rgba(255,255,255,.86);border-radius:14px;padding:9px 4px 7px;text-align:center;
  box-shadow:0 3px 10px rgba(160,130,100,.08)}
.coin span{font-size:16px;line-height:1}
.coin b{display:block;font-size:15px;color:#3a3128;margin-top:2px}
.coin i{font-style:normal;display:block;font-size:10px;color:#4a5464;margin-top:1px}
.coin:active{transform:scale(.97)}
.hprog{display:flex;align-items:center;gap:8px;margin-top:11px;background:rgba(255,255,255,.72);
  border-radius:12px;padding:8px 10px;position:relative;z-index:1}
.hprogt{font-size:11px;color:#8f5314;font-weight:700;white-space:nowrap}
.hprogbar{flex:1;height:6px;border-radius:99px;background:#ffe6cc;overflow:hidden}
.hprogbar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#c2ecd9,#66cfa0);transition:width .4s}
.hgo{font-size:11px;color:#9a5410;font-weight:700;white-space:nowrap}

/* 分组标题 */
.gtitleRow{display:flex;align-items:baseline;justify-content:space-between;margin:6px 3px 9px}
.gtitleRow b{font-size:15px;color:#2d3543}
.gtitleRow i{font-style:normal;font-size:11px;color:#495264}

/* 数据条（三格） */
.sumline{display:grid;grid-template-columns:repeat(3,1fr);gap:0;padding:11px 6px;text-align:center;
  font-size:11px;color:#495264;background:#fff;border-radius:16px;
  box-shadow:0 4px 14px rgba(120,120,170,.08);margin-bottom:12px}
.sumline span{position:relative;line-height:1.5}
.sumline span + span::before{content:"";position:absolute;left:0;top:3px;bottom:3px;width:1px;background:#f1f1f8}
.sumline b{display:block;font-size:14px;color:#2d3543;margin-top:1px}

/* 卡片：图标加底色块，层次更清楚 */
.cards{grid-template-columns:1fr 1fr;gap:11px}
.card{padding:14px 13px;min-height:106px;border-radius:18px;box-shadow:0 4px 14px rgba(120,120,170,.10);
  border:1px solid rgba(255,255,255,.9)}
.card span{width:44px;height:44px;border-radius:14px;display:flex;align-items:center;justify-content:center;
  font-size:23px;background:#f5f7fc;margin-bottom:9px;line-height:1}
.card b{font-size:15.5px;margin:0 0 3px}
.card i{font-size:11px}
.card.c1 span{background:linear-gradient(135deg,#ffe9d2,#ffd3a6)}
.card.c2 span{background:linear-gradient(135deg,#ddf1ff,#bfe3ff)}
.card.c3 span{background:linear-gradient(135deg,#ddf7e8,#bdeed2)}
.card.c4 span{background:linear-gradient(135deg,#ece5ff,#d8c9ff)}
.card.c5 span{background:linear-gradient(135deg,#ffe4ec,#ffc9d8)}
.card.c6 span{background:linear-gradient(135deg,#fff4cf,#ffe79e)}
.card.c7 span{background:linear-gradient(135deg,#dff6f0,#bfeadf)}
.card.c8 span{background:linear-gradient(135deg,#ffe6f0,#ffcfe2)}
.card.c9 span{background:linear-gradient(135deg,#fff0cf,#ffe1a1)}
.card.c10 span{background:linear-gradient(135deg,#fff3c4,#ffe07a)}
.card.c11 span{background:linear-gradient(135deg,#ffe0e0,#ffc4c4)}
.card.c12 span{background:linear-gradient(135deg,#d9efff,#b3ddff)}
.card:active{transform:scale(.97)}

/* 底部导航 */
.tabbar{display:none}
@media (max-width:759px){
  .tabbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:60;justify-content:space-around;
    background:rgba(255,255,255,.96);backdrop-filter:blur(14px);border-top:1px solid #f1f1f8;
    padding:6px 4px calc(6px + env(safe-area-inset-bottom));box-shadow:0 -8px 20px rgba(120,120,170,.07)}
  .tabbar a{flex:1;text-align:center;color:#495264;font-size:10px;text-decoration:none;padding:2px 0}
  .tabbar a span{display:block;font-size:20px;line-height:1.25}
  .tabbar a.on{color:#ee8a34;font-weight:700}
  .app{padding-bottom:86px}
}
@media (min-width:760px){.app{padding-bottom:40px}}

/* 奖励规则页 */
.ruletab{background:#fff;border-radius:16px;padding:14px;box-shadow:0 4px 14px rgba(120,120,170,.09);margin-bottom:12px}
.rulehd{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:700;color:#2d3543;margin-bottom:8px}
.rulehd em{font-style:normal;font-size:18px}
.rrow{display:flex;align-items:flex-start;gap:8px;padding:7px 0;border-bottom:1px dashed #f2f3f9;font-size:12.5px;color:#3d4757;line-height:1.6}
.rrow:last-child{border-bottom:none}
.rrow>span:first-child,.rrow>b{flex:0 0 auto;white-space:nowrap}
.rrow>b{color:#9a5410;white-space:nowrap;font-weight:800}
.rrow .rf{color:#cf6f85;white-space:nowrap;font-weight:800}
.rrow .rs{color:#4fa8d8;white-space:nowrap;font-weight:800}

/* 商店：三币种标签 */
.price{display:inline-flex;align-items:center;gap:2px;font-size:12.5px;font-weight:800}
.price.star{color:#9a5410}
.price.flower{color:#ad4762}

/* 家长区 */
.parentbox{background:linear-gradient(135deg,#f7fbff,#eef7ff);border:1.5px dashed #cfe6ff}
.parentrow{display:flex;gap:6px;margin-top:8px}
.parentrow input{flex:1;min-width:0;border:2px solid #e3eefb;border-radius:10px;padding:9px 10px;font-size:12.5px;
  outline:none;background:#fff}
.parentrow input:focus{border-color:#a8dcf4}
.parentrow button{border:none;border-radius:10px;padding:0 13px;font-size:12.5px;font-weight:700;
  background:linear-gradient(135deg,#a8dcf4,#4fa8d8);color:#fff;box-shadow:0 2px 0 #3d8cbb}
.flowerlog{font-size:11.5px;color:#495264;line-height:1.9;margin-top:8px}
