@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700;800;900&display=swap');
:root{--gold:#ffe894;--goldDeep:#b96909;--purple:#270770;--violet:#7015cb;--txt:#fff8ff;--soft:#d8cbff;--max:430px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#12043a;color:var(--txt);font-family:'Noto Sans SC',system-ui,'Microsoft YaHei',sans-serif;-webkit-font-smoothing:antialiased}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:3px solid #8ff9ff;outline-offset:3px}.preloading{min-height:100vh;display:grid;place-items:center;color:var(--gold)}.shell{position:relative;min-height:100dvh;max-width:var(--max);margin:0 auto;padding:0 13px 20px;overflow:hidden;isolation:isolate;background:radial-gradient(ellipse at 50% 8%,#7021de 0%,#2e1083 22%,transparent 44%),radial-gradient(circle at 0% 64%,#5120a5,transparent 42%),radial-gradient(circle at 100% 90%,#4e199b,transparent 48%),linear-gradient(180deg,#160a55 0%,#270879 51%,#180750 100%);box-shadow:0 0 0 1px #6a42ba,0 0 80px #070214}.shell:before{content:'';position:absolute;inset:0;z-index:-2;pointer-events:none;opacity:.52;background-image:radial-gradient(circle at 17% 10%,#fff 1px,transparent 2px),radial-gradient(circle at 74% 22%,#c7a8ff 1px,transparent 2px),radial-gradient(circle at 38% 64%,#67cdff 1px,transparent 2px);background-size:101px 157px,177px 130px,217px 169px}.scenery{position:absolute;pointer-events:none;z-index:-1;opacity:.85}.scenery-left{width:210px;left:-60px;top:0}.scenery-right{width:220px;right:-58px;top:1px}.scenery-bottom-left{width:158px;left:-60px;bottom:-52px;opacity:.7}.scenery-bottom-right{width:158px;right:-55px;bottom:-55px;opacity:.7}.masthead{position:relative;height:170px;padding-top:8px;display:flex;justify-content:center;align-items:flex-start}.brand-logo{width:min(92%,310px);height:158px;object-fit:contain;filter:drop-shadow(0 5px 10px #16014d);pointer-events:none}.round-control{position:absolute;top:17px;width:49px;height:49px;border:2px solid #ffd473;border-radius:50%;background:radial-gradient(circle at 40% 28%,#8d2eff,#3a0c87 68%,#1a0650);color:#ffe8a0;box-shadow:inset 0 1px 8px #a46cff,0 3px 0 #914100,0 0 13px #b44cff;font-size:25px;z-index:2;display:grid;place-items:center}.round-control.left{left:4px}.round-control.right{right:4px}.avatar-img{width:41px;height:41px;object-fit:cover;border-radius:50%;border:1px solid #fbdc87}.account-icon{font-size:28px}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:0 2px 18px}.stat{position:relative;height:69px;min-width:0;border:2px solid #f5d181;border-radius:16px;background:linear-gradient(165deg,#8b2df7 0%,#4f0d9c 43%,#250768 100%);box-shadow:inset 0 2px 7px #de8dff,0 4px 0 #723089,0 0 9px #8f43ed;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:4px 2px;text-shadow:0 2px 3px #170b36}.stat-title{font-weight:800;font-size:10px;white-space:nowrap}.stat-value{font-weight:900;color:#ffdb54;font-size:22px;line-height:1.2;white-space:nowrap}.stat:nth-child(2) .stat-value{font-size:17px}.stat:nth-child(3) .stat-value{font-size:12px;white-space:normal}.stat-icon{position:absolute;left:5px;top:16px;font-size:17px;opacity:.95}.stat:nth-child(1) .stat-title,.stat:nth-child(2) .stat-title{padding-left:16px}.game-section{position:relative}.level-ribbon{position:relative;margin:0 auto -13px;z-index:2;display:table;min-width:172px;text-align:center;border:2px solid #ffd98b;border-radius:10px;background:linear-gradient(180deg,#a649fd 0%,#630db7 38%,#23066b 93%);box-shadow:inset 0 3px 7px #ffb4ff,0 3px 0 #854115,0 0 18px #b453ff;padding:5px 24px 8px;color:var(--gold);font-size:23px;font-weight:900;text-shadow:0 2px #793c0b,0 0 12px #efb868}.level-ribbon:before,.level-ribbon:after{content:'✦';position:absolute;color:#ffb63e;font-size:14px;top:9px}.level-ribbon:before{left:-13px}.level-ribbon:after{right:-13px}.gold-panel{position:relative;border:3px solid #ffe1a0;border-radius:29px;background:linear-gradient(155deg,rgba(98,22,173,.98),rgba(41,10,102,.98) 42%,rgba(28,7,79,.98));box-shadow:inset 0 0 0 2px #a658ff,inset 0 0 27px #b84eff,0 4px 0 #b06f21,0 0 17px #b44ffd}.objective{padding:18px 12px 10px;margin:0 2px 18px}.goal-heading{display:flex;align-items:center;justify-content:space-between;margin:0 1px 7px;gap:5px;font-size:13px;font-weight:900}.gold-label{background:linear-gradient(170deg,#fffbba,#ffac19);color:#5b2402;box-shadow:0 1px 3px #ffdc6e;border-radius:2px 9px 9px 2px;font-size:12px;padding:3px 10px}.goal-detail{display:flex;align-items:center;justify-content:space-evenly;gap:4px;background:#2d0b72;border:1px solid #9c57e9;border-radius:10px;padding:6px 2px}.goal-item{display:flex;align-items:center;justify-content:center;gap:5px;flex:1;border-right:1px solid #8f68c0;font-size:10px;font-weight:800;min-width:0}.goal-item:last-child{border:0}.goal-item img{width:32px;height:34px;object-fit:contain}.goal-item b{display:block;color:#fff8ff;font-size:11px}.progress-line{display:flex;align-items:center;gap:9px;margin:10px 2px 0}.progress-rail{position:relative;flex:1;height:15px;background:#190b3e;border-radius:999px;border:2px solid #b895c9;box-shadow:inset 0 2px 5px #08001a,0 0 8px #c68dff}.progress-fill{height:100%;border-radius:999px;background:linear-gradient(0deg,#16b509,#b6fa1a 62%,#fcff74);box-shadow:0 0 9px #98fd26;transition:width .28s}.progress-percent{font-size:13px;font-weight:900}.board-outer{position:relative;margin:0 2px 14px;padding:7px;border:3px solid #ffd785;border-radius:22px;background:linear-gradient(145deg,#b460ff,#47109e 19%,#22075e 78%,#a850f0);box-shadow:inset 0 0 0 2px #6c29e7,0 4px 0 #9c5415,0 0 17px #c359ff}.board{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:2px;border-radius:13px;background:linear-gradient(135deg,#1b0948,#3c1281);overflow:hidden;padding:3px;touch-action:none;user-select:none;-webkit-user-select:none;box-shadow:inset 0 0 15px #0e043e}.cell{aspect-ratio:1;min-width:0;display:grid;place-items:center;position:relative;border:1px solid rgba(204,139,255,.15);border-radius:4px;background:radial-gradient(circle at 50% 45%,#5e21b0,#1d0d58 85%);padding:0;overflow:hidden}.cell:before{content:'';position:absolute;inset:0;background:linear-gradient(140deg,rgba(255,255,255,.1),transparent 40%);pointer-events:none}.cell.selected{outline:2px solid #ffda62;outline-offset:-2px;z-index:1;background:#7023bf}.cell img{width:94%;height:94%;object-fit:contain;filter:drop-shadow(0 1px 3px #160031) drop-shadow(0 0 4px #a045ff);pointer-events:none;transition:transform .18s}.cell:active img{transform:scale(.91)}.cell.vanish img{transform:scale(.25);opacity:.2}.actionbar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 4px}.action-button{min-height:61px;border-radius:16px;border:2px solid #ffdd88;background:linear-gradient(170deg,#b13af4,#6215a8 46%,#240760);color:white;font-size:14px;font-weight:900;box-shadow:inset 0 2px 8px #ef9eff,0 4px 0 #83430d,0 0 9px #7f2dce;text-shadow:0 2px 3px #301363}.action-button .emoji{display:block;font-size:24px;filter:drop-shadow(0 1px #ffd76b)}.action-button:active,.gold-button:active{transform:translateY(2px)}.coin-decor{display:block;width:225px;max-width:82%;height:88px;object-fit:cover;object-position:center;margin:2px auto -25px;mask-image:linear-gradient(90deg,transparent,black 14%,black 86%,transparent)}.glow-note{text-align:center;margin:16px auto 0;color:#c4b2fa;font-size:10px}.auth-layout{min-height:100dvh;padding-bottom:50px}.auth-layout .masthead{height:228px}.auth-layout .brand-logo{width:310px;height:212px}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;position:relative;z-index:3;margin:0 8px -3px}.auth-tab{border:2px solid #d7adff;background:linear-gradient(180deg,#762bdf,#27086e);color:white;box-shadow:inset 0 2px 7px #d2abff;border-radius:21px 21px 0 0;font-size:17px;font-weight:800;padding:12px 3px}.auth-tab.active{background:linear-gradient(180deg,#fff8ad,#ffbd30 70%,#e57e13);color:#512100;border-color:#fff4ab;box-shadow:inset 0 4px 9px #fff7d2}.auth-panel{border:3px solid #e5aeff;border-radius:22px;box-shadow:inset 0 0 0 2px #9d4aff,0 0 24px #c64cff;background:linear-gradient(160deg,rgba(59,12,142,.97),rgba(33,7,92,.99));margin:0 8px;padding:25px 17px 21px}.input-wrap{display:flex;align-items:center;gap:8px;border-radius:99px;background:#f1e6ff;color:#3f166e;margin-bottom:14px;height:48px;padding:0 13px;box-shadow:inset 0 2px 8px #bb9bdb}.input-wrap span{font-size:21px}.input-wrap input{border:0;outline:0;width:100%;background:transparent;color:#320958;font-size:14px;min-width:0}.input-wrap input::placeholder{color:#6a5185}.gold-button{display:block;width:100%;border-radius:30px;border:2px solid #fff0b1;background:linear-gradient(180deg,#fffbc4 0%,#ffda5a 37%,#ffa51b 65%,#dc7004 100%);box-shadow:inset 0 3px 4px #fff9d3,0 5px 0 #9d4300,0 0 13px #ffce50;color:#461500;text-shadow:0 1px 0 #fff2ac;font-weight:900;font-size:19px;padding:10px 8px;min-height:51px}.purple-button{border:2px solid #eaacff;background:linear-gradient(180deg,#9e37ff,#460c9d 60%,#2c0676);border-radius:30px;box-shadow:inset 0 2px 7px #d980ff,0 3px 0 #792ba2,0 0 10px #a555ef;color:white;font-weight:900;padding:10px 14px}.auth-panel .gold-button{margin:20px 0 18px}.small-note{text-align:center;color:#e5d7ff;font-size:12px;line-height:1.8}.small-note button,.linklike{background:none;border:0;color:#ffe068;font-weight:800;text-decoration:underline;cursor:pointer;padding:1px 3px}.auth-check{display:flex;gap:5px;justify-content:center;align-items:center;font-size:10px;line-height:1.7;color:#e8d5ff;margin:12px 0}.auth-check input{accent-color:#aafc32}.return-button{display:block;min-width:60%;margin:22px auto 0}.page-title{padding-top:13px;margin:0 3px 24px;display:flex;align-items:center;justify-content:space-between}.page-title .ribbon{border:2px solid #f4d080;border-radius:12px;background:linear-gradient(180deg,#9c37e4,#38077b);box-shadow:inset 0 2px 7px #ffc3ff,0 0 12px #a34df4;font-size:21px;font-weight:900;color:#ffe69c;padding:6px 26px;text-shadow:0 2px 3px #602600}.back{border-radius:50%;width:40px;height:40px;border:2px solid #ffc76a;color:#ffe6a0;background:#530c9c;font-size:26px;box-shadow:0 0 10px #b35ef6}.profile-top{display:flex;gap:12px;align-items:center;margin:6px 11px 15px}.profile-top img{width:64px;height:64px;border-radius:50%;border:3px solid #ffdc78;box-shadow:0 0 13px #a558f8;object-fit:cover}.profile-top strong{display:block;font-size:13px;max-width:257px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-top small{font-size:11px;color:#dbc6ff}.profile-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:0 3px 16px}.profile-stat{min-height:86px;padding:7px 4px;border-radius:14px;border:2px solid #b87cfd;text-align:center;background:linear-gradient(160deg,#6d1fc0,#25056f);box-shadow:inset 0 0 9px #a35aff}.profile-stat .emoji{display:block;font-size:20px}.profile-stat small{display:block;font-size:10px;color:#eee0ff}.profile-stat strong{font-size:13px;color:#ffe45c}.menu-list{display:grid;gap:9px;margin:0 4px 24px}.menu-row{display:flex;align-items:center;gap:13px;text-align:left;width:100%;min-height:45px;border:2px solid #efafee;border-radius:30px;background:linear-gradient(180deg,#8129dc,#49109e 55%,#29065d);box-shadow:inset 0 2px 5px #c87bff,0 3px 0 #6c247b;color:white;font-weight:800;padding:7px 13px;font-size:14px}.menu-row .menu-emoji{font-size:22px;width:25px;text-align:center}.menu-row .chev{margin-left:auto;color:#ffdf5f;font-size:20px}.sub-panel{padding:18px 16px;margin:0 3px 15px;line-height:1.75;font-size:14px}.sub-panel h3{margin:0 0 9px;color:#ffdf75}.sub-panel p{margin:6px 0}.sub-panel .gold-button{margin:15px 0 4px}.muted{color:#d8c3fa}.reward-value{text-align:center;font-size:36px;font-weight:900;color:#ffe45c;text-shadow:0 2px #9b4e04,0 0 13px #ffdb55}.check-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:14px 0}.check-cell{border:2px solid #c584e5;border-radius:10px;padding:10px 2px;text-align:center;background:linear-gradient(#6b1cc8,#33086e);font-size:12px}.check-cell.done{background:linear-gradient(#618b12,#1c5d12);border-color:#a4fb56}.skin-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.skin-card{text-align:center;border:2px solid #a665dc;border-radius:14px;padding:11px;background:#3c0a83}.skin-card img{height:84px;max-width:100%;object-fit:contain}.wallet-input{width:100%;height:45px;border-radius:12px;border:1px solid #b478e0;background:#eee1ff;padding:8px 10px;color:#3e0e70;font-size:13px}.tiny{font-size:11px}.toast{position:fixed;left:50%;bottom:25px;transform:translateX(-50%);width:max-content;max-width:calc(100vw - 28px);z-index:1000;border:2px solid #ffd886;background:linear-gradient(180deg,#6928bd,#210753);border-radius:13px;color:white;padding:11px 15px;box-shadow:0 10px 28px #120328;font-size:13px;text-align:center}.modal-mask{position:fixed;inset:0;background:rgba(7,0,22,.75);display:grid;place-items:center;z-index:1000;padding:22px}.modal-card{width:min(100%,410px);border:3px solid #ffe093;border-radius:22px;background:linear-gradient(150deg,#7c22ce,#230557);box-shadow:inset 0 0 17px #b35aff,0 0 50px #8c3be3;text-align:center;padding:20px 15px}.modal-card h2{color:#ffe685;margin:5px 0 10px}.modal-card p{line-height:1.75;font-size:13px}.modal-card .gold-button{margin:15px 0}.modal-card .purple-button{width:100%}.loader{display:inline-block;animation:rotate 1.8s linear infinite}@keyframes rotate{to{transform:rotate(360deg)}}.legal{font-size:11px;color:#ccbaf5;text-align:center;line-height:1.7}.gem-row{display:flex;gap:8px;align-items:center}.gem-row img{width:44px}.auth-message{min-height:20px;color:#ffd771;font-size:12px;text-align:center}.level-badge{display:inline-block;color:#ffe472;background:#471183;border:1px solid #ba76dc;border-radius:999px;padding:2px 8px;font-size:11px}.menu-overlay{position:fixed;inset:0;background:#07031abf;z-index:50;display:flex;align-items:flex-start;justify-content:center;padding:90px 15px}.menu-drawer{max-width:390px;width:100%;padding:15px}.menu-drawer h3{color:#ffe585}.menu-drawer button{margin-bottom:7px}.footer-note{margin:20px 10px 5px;text-align:center;color:#d9c5ff;font-size:10px}.no-data{color:#ddcaf5;font-size:12px;padding:10px}.list-card{background:#260962aa;border:1px solid #995be3;border-radius:10px;margin:8px 0;padding:10px;font-size:12px}.disabled{opacity:.55;filter:grayscale(.45);cursor:not-allowed}.error-panel{border-color:#f97c87;color:#fff1f1}.primary-separator{height:2px;background:linear-gradient(90deg,transparent,#ffdc6a,transparent);margin:20px 5px}.icon-round{width:40px;height:40px;border:2px solid #ffd782;border-radius:50%;background:#550d92;color:#fff0b7}
@media(min-width:650px){body{background:radial-gradient(circle at 50% 20%,#3a0c77,#09021d 70%)}.shell{min-height:920px;border:1px solid #8655ef;border-radius:21px;margin:18px auto 30px}.auth-layout{min-height:920px}}@media(max-width:355px){.shell{padding-left:8px;padding-right:8px}.goal-item img{width:26px;height:29px}.stat{height:62px}.stat-value{font-size:18px}.auth-panel{padding:18px 12px}.masthead{height:152px}.brand-logo{height:146px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Gem Quest V3.2：操作手感增强，独立于会员/数据库模块 */
.gq-control-strip{height:31px;display:flex;justify-content:space-between;gap:8px;align-items:center;padding:0 4px 5px;color:#ffeaba;text-shadow:0 1px 4px #25054b;font-size:11px;font-weight:800}
.gq-sound-toggle{border:1px solid #c892ff;border-radius:999px;background:linear-gradient(180deg,#6327b3,#2a0b64);color:#fff7dc;font-size:10px;font-weight:800;padding:4px 9px;white-space:nowrap;box-shadow:inset 0 1px 4px #b48eff;touch-action:manipulation}
.board-outer{contain:layout style;isolation:isolate}
.board{touch-action:none;overscroll-behavior:contain;-webkit-touch-callout:none}
.cell{touch-action:none;-webkit-tap-highlight-color:transparent;transition:background .11s,box-shadow .11s;will-change:auto}
.cell img{transition:transform .12s ease,filter .12s ease;backface-visibility:hidden;-webkit-user-drag:none;user-select:none;-webkit-user-select:none}
.cell.gq-dragging{z-index:5;background:radial-gradient(circle at 50% 45%,#8536e5,#321065 90%);box-shadow:inset 0 0 9px #ffd97f,0 0 9px #f3cf73}
.cell.gq-dragging img{transform:translate(var(--gq-dx,0px),var(--gq-dy,0px)) scale(1.08);transition:none;filter:drop-shadow(0 1px 6px #ffe89b) drop-shadow(0 0 7px #db80ff)}
.cell.gq-drag-target{background:radial-gradient(circle,#8537d9,#2c0e65);outline:2px solid #ffe48a;outline-offset:-2px;z-index:3}
.cell.gq-drag-target img{transform:translate(var(--gq-dx,0px),var(--gq-dy,0px)) scale(.97);transition:transform .08s ease}
.cell.gq-invalid{animation:gq-reject .28s ease-out;box-shadow:inset 0 0 7px #ffb4bd}
.cell.selected{outline:2px solid #fff0a2;box-shadow:0 0 13px #fff097,inset 0 0 10px #ffea80;animation:gq-select-pulse 1.05s ease-in-out infinite alternate}
.cell.selected img{transform:scale(1.085)}
.board.gq-busy{pointer-events:none}
.board-outer.gq-board-success{animation:gq-board-shine .5s ease-out}
.board-outer.gq-board-success .board{box-shadow:inset 0 0 12px #b565ff,0 0 14px #e3b8ff}
.gq-fx-text{position:absolute;top:40%;left:50%;z-index:12;pointer-events:none;transform:translate(-50%,-50%);white-space:nowrap;font-size:19px;font-weight:1000;letter-spacing:.3px;color:#fffec1;text-shadow:0 2px #8a3706,0 0 9px #ffb950,0 0 20px #ff90ed;animation:gq-float .82s cubic-bezier(.18,.9,.3,1) both}
.gq-fx-text.combo{top:27%;color:#f9dcff;font-size:18px;animation-delay:.11s}
.gq-fx-text.bad{color:#f6ccff;font-size:15px;text-shadow:0 0 8px #9425df}
.gq-particle{position:absolute;z-index:11;pointer-events:none;width:0;height:0;color:#ffe07c;font-size:16px;line-height:0;text-shadow:0 0 8px #ffdc73;animation:gq-spark .61s ease-out var(--delay,0ms) forwards;transform-origin:center}
@keyframes gq-float{0%{transform:translate(-50%,8px) scale(.7);opacity:0}20%{transform:translate(-50%,-12px) scale(1.14);opacity:1}65%{opacity:1}100%{transform:translate(-50%,-58px) scale(.97);opacity:0}}
@keyframes gq-spark{0%{transform:translate(0,0) scale(var(--s,1));opacity:0}20%{opacity:1}100%{transform:translate(var(--tx),var(--ty)) scale(.3);opacity:0}}
@keyframes gq-reject{0%,100%{transform:translateX(0)}25%{transform:translateX(-3px)}50%{transform:translateX(3px)}75%{transform:translateX(-2px)}}
@keyframes gq-select-pulse{from{box-shadow:0 0 5px #e8adff,inset 0 0 3px #ffe883}to{box-shadow:0 0 13px #f4d96f,inset 0 0 13px #ffcf65}}
@keyframes gq-board-shine{0%,100%{filter:brightness(1)}35%{filter:brightness(1.12)}}
@media(prefers-reduced-motion:reduce){.cell,.cell img,.cell.selected,.cell.gq-invalid,.board-outer.gq-board-success,.gq-fx-text,.gq-particle{animation:none!important;transition:none!important}}

/* V3.4 两个红框局部修复。只修改首页左上菜单与右上头像；其他布局不变。 */
.shell:not(.auth-layout) .masthead .round-control.left,
.shell:not(.auth-layout) .masthead .round-control.right {
  top: 14px;
  width: 50px;
  height: 50px;
  padding: 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border: 2px solid #ffe49b;
  border-radius: 50%;
  box-shadow: inset 0 1px 5px #bd75ff, 0 3px 0 #8d480a, 0 0 11px #9e40e8;
  z-index: 5;
}
.shell:not(.auth-layout) .masthead .round-control.left {
  left: 5px;
  right: auto;
  font-size: 26px;
  line-height: 1;
}
.shell:not(.auth-layout) .masthead .round-control.right {
  right: 5px;
  left: auto;
}
.shell:not(.auth-layout) .masthead .round-control.right .avatar-img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  border: 0;
  border-radius: 50%;
  object-fit: contain;
  object-position: center center;
  pointer-events: none;
}
@media(max-width:355px) {
  .shell:not(.auth-layout) .masthead .round-control.left,
  .shell:not(.auth-layout) .masthead .round-control.right {
    width: 45px;
    height: 45px;
    top: 10px;
  }
  .shell:not(.auth-layout) .masthead .round-control.left {left: 3px;}
  .shell:not(.auth-layout) .masthead .round-control.right {right: 3px;}
}


/* Gem Quest V3.5：仅首页顶部三个统计卡片视觉优化。其他组件与游戏逻辑不变。 */
.shell .stats {
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px;
  margin:0 2px 18px;
  align-items:stretch;
}
.shell .stats .stat {
  isolation:isolate;
  min-width:0;
  height:78px;
  padding:7px 3px 8px;
  border:2px solid #f9db91;
  border-radius:17px;
  background:
    radial-gradient(ellipse at 50% -18%, rgba(238,155,255,.64),transparent 58%),
    linear-gradient(154deg,#7b20d6 0%,#49109a 32%,#320d7b 64%,#1d074f 100%);
  box-shadow:
    inset 0 2px 1px rgba(255,251,209,.52),
    inset 0 0 0 1px rgba(210,142,255,.60),
    inset 0 -8px 17px rgba(28,3,70,.30),
    0 3px 0 #975219,
    0 0 11px rgba(195,101,255,.55);
  text-shadow:none;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:6px;
  overflow:hidden;
}
.shell .stats .stat::before {
  content:'';
  position:absolute;
  inset:4px;
  border:1px solid rgba(255,226,155,.22);
  border-radius:12px;
  z-index:-1;
  pointer-events:none;
}
.shell .stats .stat::after {
  content:'';
  position:absolute;
  left:18%;right:18%;top:1px;height:2px;
  border-radius:99px;
  background:linear-gradient(90deg,transparent,rgba(255,243,182,.85),transparent);
  box-shadow:0 0 6px rgba(255,226,133,.45);
  pointer-events:none;
}
.shell .stats .stat-title {
  width:100%;
  margin:0;
  padding:0 !important;
  color:#ffefd5;
  font-size:10px;
  font-weight:800;
  line-height:1.15;
  white-space:nowrap;
  letter-spacing:0;
  text-shadow:0 1px 3px #280958;
}
.shell .stats .stat-value {
  display:block;
  max-width:100%;
  margin:0;
  color:#ffe577;
  font-size:24px;
  font-weight:900;
  line-height:1.10;
  white-space:nowrap;
  text-align:center;
  letter-spacing:-.35px;
  text-shadow:0 2px 0 #73400d,0 0 10px rgba(255,196,62,.37);
}
.shell .stats .stat:nth-child(2) .stat-value {
  font-size:19px;
  letter-spacing:-.3px;
}
.shell .stats .stat:nth-child(3) .stat-value {
  font-size:10.5px;
  letter-spacing:-.65px;
  line-height:1.35;
  white-space:normal;
  overflow-wrap:normal;
  max-width:100%;
  padding:0 1px;
}
.shell .stats .stat-icon {
  position:absolute;
  top:auto;left:7px;bottom:16px;
  width:21px;height:21px;
  display:grid;place-items:center;
  border:1px solid rgba(255,231,153,.56);
  border-radius:50%;
  background:linear-gradient(145deg,rgba(114,37,204,.94),rgba(34,9,83,.94));
  color:#ffe79d;
  font-size:12px;
  opacity:1;
  line-height:1;
  box-shadow:inset 0 1px 3px rgba(255,255,255,.12),0 1px 4px rgba(0,0,0,.30);
}
@media(max-width:355px){
  .shell .stats{gap:5px;}
  .shell .stats .stat{height:74px;border-radius:14px;padding:6px 2px;gap:5px;}
  .shell .stats .stat-title{font-size:9px;}
  .shell .stats .stat-value{font-size:21px;}
  .shell .stats .stat:nth-child(2) .stat-value{font-size:16px;}
  .shell .stats .stat:nth-child(3) .stat-value{font-size:9.5px;}
  .shell .stats .stat-icon{width:16px;height:16px;left:4px;bottom:16px;font-size:10px;}
}

/* 三张卡片统一角饰，避免旧图标与金额重叠。 */
.shell .stats .stat-icon{display:none;}
.shell .stats .stat::before{content:'✦';inset:auto;top:5px;left:8px;border:0;border-radius:0;z-index:0;color:rgba(255,224,145,.70);font-size:10px;text-shadow:0 0 5px rgba(255,194,109,.8);}
/* 兑换比例信息更长，保持在卡片内居中，不修改任何数值 */
.shell .stats .stat:nth-child(3) .stat-value{font-size:clamp(9px,2.65vw,10.5px);letter-spacing:-.6px;white-space:nowrap;line-height:1.22;padding:0;}


/* V3.9: Only the three homepage stats. Purple and gold backgrounds/borders remain as V3.5. */
.shell .stats {gap:5px; margin-bottom:15px;}
.shell .stats .stat {
  height:62px; min-height:62px; gap:3px; padding:5px 3px;
  /* no background, border, box-shadow or filter overrides: original purple-gold design stays */
}
.shell .stats .stat::before,
.shell .stats .stat::after,
.shell .stats .stat .stat-icon {content:none !important;display:none !important;}
.shell .stats .stat .stat-title {
  display:flex; align-items:center; justify-content:center; gap:4px;
  width:100%; margin:0; padding:0 !important;
  font-size:9.5px; font-weight:400 !important; line-height:1.3;
  letter-spacing:0; white-space:nowrap; color:#fff8f3;
  text-shadow:none !important;
}
.shell .stats .stat .stat-title::before {
  content:'';display:inline-block;flex:0 0 14px;width:14px;height:14px;
  background-position:center;background-size:contain;background-repeat:no-repeat;
}
.shell .stats .stat:nth-child(1) .stat-title::before {background-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x2%3D%22.2%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%23fff8d0%22%2F%3E%3Cstop%20offset%3D%22.5%22%20stop-color%3D%22%23ffd76a%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23d28311%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Ccircle%20cx%3D%2224%22%20cy%3D%2224%22%20r%3D%2220%22%20fill%3D%22url%28%23g%29%22%20stroke%3D%22%23fff1b6%22%20stroke-width%3D%222%22%2F%3E%3Ccircle%20cx%3D%2224%22%20cy%3D%2224%22%20r%3D%2216%22%20fill%3D%22%236e27aa%22%20stroke%3D%22%23c27bff%22%20stroke-width%3D%221.3%22%2F%3E%3Cpath%20d%3D%22m24%2010%204.3%209.2L38%2021l-7%207.2%201.8%2010L24%2033l-8.8%205.2%201.8-10L10%2021l9.7-1.8z%22%20fill%3D%22url%28%23g%29%22%20stroke%3D%22%23ffe9a1%22%20stroke-width%3D%221%22%2F%3E%3C%2Fsvg%3E);}
.shell .stats .stat:nth-child(2) .stat-title::before {background-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%23fff0a4%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23f8b917%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20fill%3D%22url%28%23g%29%22%20d%3D%22M24%201%2031%208%2024%2015%2017%208Zm-14%207%207%207-7%207-7-7Zm28%200%207%207-7%207-7-7ZM24%2017l7%207-7%207-7-7Zm-14%209%207%207-7%207-7-7Zm28%200%207%207-7%207-7-7Zm-14%209%207%207-7%207-7-7Z%22%2F%3E%3Cpath%20fill%3D%22%23ffe0a3%22%20d%3D%22m24%207%204%204-4%204-4-4z%22%2F%3E%3C%2Fsvg%3E);}
.shell .stats .stat:nth-child(3) .stat-title::before {background-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%23fff6cb%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23ffc13a%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M9%2017h28l-7-7m7%207-7%207M39%2031H11l7-7m-7%207%207%207%22%20stroke%3D%22url%28%23g%29%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%225.5%22%20fill%3D%22none%22%2F%3E%3C%2Fsvg%3E);}
.shell .stats .stat .stat-value,
.shell .stats .stat:nth-child(2) .stat-value,
.shell .stats .stat:nth-child(3) .stat-value {
  display:block; width:100%; margin:0; padding:0; max-width:100%;
  color:#ffe17a; font-weight:400 !important; font-style:normal;
  text-align:center; line-height:1.2; letter-spacing:0;
  white-space:nowrap; text-shadow:none !important;
  font-variant-numeric:tabular-nums;
}
.shell .stats .stat:nth-child(1) .stat-value {font-size:17px;}
.shell .stats .stat:nth-child(2) .stat-value {font-size:15px;}
.shell .stats .stat:nth-child(3) .stat-value {font-size:clamp(8px, 2.25vw, 9px); letter-spacing:-.15px;}
@media(max-width:355px) {
  .shell .stats {gap:4px;}
  .shell .stats .stat {height:58px; min-height:58px; padding:4px 2px;gap:3px;}
  .shell .stats .stat .stat-title {font-size:8.6px; gap:2px;}
  .shell .stats .stat .stat-title::before {flex-basis:11px;width:11px;height:11px;}
  .shell .stats .stat:nth-child(1) .stat-value {font-size:15px;}
  .shell .stats .stat:nth-child(2) .stat-value {font-size:13px;}
  .shell .stats .stat:nth-child(3) .stat-value {font-size:7.7px;letter-spacing:-.25px;}
}


/* Gem Quest V3.11 - 仅替换红框内的关卡目标模块；不修改上方积分卡片与下方棋盘。 */
.shell .game-section .gq-level-strip {
  position:relative; display:grid; grid-template-columns:78px minmax(0,1fr) 57px;
  align-items:center; gap:7px; width:calc(100% - 4px);
  margin:0 2px 15px; padding:6px 9px 6px 5px; min-height:86px;
  border:2px solid #ffdc82; border-radius:25px;
  background:linear-gradient(155deg,#7822d3 0%,#44108e 42%,#27065d 100%);
  box-shadow:inset 0 0 0 1px rgba(255,222,161,.32),inset 0 8px 16px rgba(178,72,255,.22),0 3px 0 #9d5218,0 0 10px rgba(190,91,255,.4);
}
.shell .game-section .gq-level-crest {
  position:relative; height:77px; width:78px; isolation:isolate;
  display:flex; align-items:center; justify-content:center; flex-direction:column;
  gap:1px; flex-shrink:0; color:#fff; text-shadow:0 1px 3px #23044f;
}
.shell .game-section .gq-level-crest::before,
.shell .game-section .gq-level-crest::after {content:'';position:absolute;z-index:-1;clip-path:polygon(50% 0,98% 23%,98% 75%,50% 100%,2% 75%,2% 23%);}
.shell .game-section .gq-level-crest::before {inset:0;background:linear-gradient(150deg,#fff3b9,#ffb33e 40%,#ffdb79 78%,#b56a16);filter:drop-shadow(0 2px 4px #160136);}
.shell .game-section .gq-level-crest::after {inset:3px;background:linear-gradient(160deg,#a245f4 0%,#5d16b4 51%,#280769 100%);}
.shell .game-section .gq-level-crest>span {font-size:10px;line-height:1.05;font-weight:400;white-space:nowrap;}
.shell .game-section .gq-level-crest>strong {font-size:29px;line-height:1.05;font-weight:500;color:#ffdf73;font-variant-numeric:tabular-nums;}
.shell .game-section .gq-level-center {min-width:0;display:flex;flex-direction:column;justify-content:center;gap:7px;border-right:1px solid rgba(252,213,139,.38);padding-right:9px;}
.shell .game-section .gq-level-goal {display:flex;align-items:center;gap:6px;font-size:13px;line-height:1.2;font-weight:400;color:#fff;white-space:nowrap;}
.shell .game-section .gq-level-goal b {color:#ffe486;font-size:14px;font-weight:500;font-variant-numeric:tabular-nums;}
.shell .game-section .gq-level-star {font-size:18px;color:#ffdb54;line-height:1;text-shadow:0 0 5px #fdbb33;}
.shell .game-section .gq-level-track {display:flex;align-items:center;gap:6px;min-width:0;}
.shell .game-section .gq-level-meter {min-width:0;flex:1;height:13px;padding:2px;border-radius:20px;border:1px solid #d7a8ff;background:#210842;box-shadow:inset 0 1px 4px #08001a,0 0 4px rgba(230,156,255,.6);overflow:hidden;}
.shell .game-section .gq-level-meter-fill {height:100%;min-width:0;max-width:100%;border-radius:15px;background:linear-gradient(180deg,#d2ff79,#66e715 55%,#20ac15);box-shadow:0 0 6px rgba(131,255,50,.8);transition:width .3s;}
.shell .game-section .gq-level-pct {font-size:12px;line-height:1;font-weight:400;font-variant-numeric:tabular-nums;min-width:30px;text-align:right;color:#fff;}
.shell .game-section .gq-level-extra {font-size:9px;font-weight:400;line-height:1.15;color:#e7d8ff;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0;}
.shell .game-section .gq-level-steps {display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;gap:1px;color:#fff;}
.shell .game-section .gq-step-icon {font-size:19px;line-height:1.1;}
.shell .game-section .gq-step-label {font-size:10px;font-weight:400;line-height:1.1;white-space:nowrap;}
.shell .game-section .gq-level-steps>strong {font-size:24px;font-weight:500;color:#ffdf73;line-height:1.1;font-variant-numeric:tabular-nums;}
@media(max-width:355px){
 .shell .game-section .gq-level-strip {grid-template-columns:62px minmax(0,1fr) 42px;gap:5px;padding:5px 6px 5px 3px;min-height:75px;border-radius:21px;}
 .shell .game-section .gq-level-crest {width:62px;height:65px;}
 .shell .game-section .gq-level-crest>span {font-size:9px;}
 .shell .game-section .gq-level-crest>strong {font-size:24px;}
 .shell .game-section .gq-level-center {gap:5px;padding-right:6px;}
 .shell .game-section .gq-level-goal {font-size:10px;gap:3px;}
 .shell .game-section .gq-level-goal b {font-size:11px;}
 .shell .game-section .gq-level-star {font-size:14px;}
 .shell .game-section .gq-level-meter {height:11px;}
 .shell .game-section .gq-level-track {gap:4px;}
 .shell .game-section .gq-level-pct {font-size:10px;min-width:24px;}
 .shell .game-section .gq-level-extra {font-size:8px;}
 .shell .game-section .gq-step-icon {font-size:16px;}
 .shell .game-section .gq-step-label {font-size:9px;}
 .shell .game-section .gq-level-steps>strong {font-size:20px;}
}



/* Gem Quest V3.12 - only bottom buttons and BNB image; no gameplay/data changes */
.shell .game-section .actionbar {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin:5px 5px 0;
  position:relative;
  z-index:2;
}
.shell .game-section .actionbar .action-button {
  appearance:none;
  position:relative;
  isolation:isolate;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  width:100%;
  min-width:0;
  min-height:77px;
  padding:9px 2px 8px;
  border:1.5px solid #f7d78a;
  border-radius:16px;
  background:linear-gradient(180deg,#9c35e9 0%,#6318ad 37%,#3c0b88 72%,#2b075d 100%);
  box-shadow:inset 0 1px 0 #fff2b0,inset 0 0 14px rgba(207,119,255,.34),0 2px 0 #a76a1b,0 5px 13px rgba(22,3,64,.38);
  color:#fff5dc;
  font-size:clamp(10px,2.75vw,12px);
  font-weight:600;
  line-height:1.2;
  white-space:nowrap;
  text-align:center;
  text-shadow:0 1px 2px #3b0b70;
  transition:transform .13s ease,filter .13s ease;
  cursor:pointer;
}
.shell .game-section .actionbar .action-button::after {
  content:''; position:absolute;inset:3px 5px auto;height:23%;
  background:linear-gradient(180deg,rgba(255,255,255,.13),transparent);
  border-radius:12px 12px 45% 45%;pointer-events:none;
}
.shell .game-section .actionbar .action-button .emoji{display:none!important;}
.shell .game-section .actionbar .action-button::before {
  content:''; display:block; width:29px;height:29px;
  background-size:contain; background-position:center; background-repeat:no-repeat;
  filter:drop-shadow(0 2px 2px rgba(17,3,46,.52));
  flex-shrink:0;
}
.shell .game-section .actionbar .action-button:nth-child(1)::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%23fff8df%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23ffcc75%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M20%2010c-4-3-10-3-16-1v20c6-2%2012-1%2016%202%204-3%2010-4%2016-2V9c-6-2-12-2-16%201Z%22%20fill%3D%22url%28%23g%29%22%20stroke%3D%22%23a86518%22%20stroke-width%3D%221.7%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M20%2011v20M8%2014c3-.7%205-.7%208%200M8%2019c3-.6%205-.6%208%200M24%2014c3-.7%205-.7%208%200M24%2019c3-.6%205-.6%208%200%22%20fill%3D%22none%22%20stroke%3D%22%23ab6a29%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22M5%2031c7-2%2012-1%2015%202%204-3%209-4%2015-2%22%20fill%3D%22none%22%20stroke%3D%22%23ffeb9f%22%20stroke-width%3D%221.8%22%2F%3E%3C%2Fsvg%3E");}
.shell .game-section .actionbar .action-button:nth-child(2)::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22a%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%23fff7df%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23ffbd64%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M11%204h15l6%206v25H11a3%203%200%200%201-3-3V7a3%203%200%200%201%203-3Z%22%20fill%3D%22url%28%23a%29%22%20stroke%3D%22%23a96e27%22%20stroke-width%3D%221.6%22%2F%3E%3Cpath%20d%3D%22M26%204v7h6M13%2017h14M13%2022h14M13%2027h9%22%20stroke%3D%22%23b77a35%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%2F%3E%3Ccircle%20cx%3D%2228.5%22%20cy%3D%2228.5%22%20r%3D%228.3%22%20fill%3D%22%23ffde63%22%20stroke%3D%22%23c47b1b%22%20stroke-width%3D%221.5%22%2F%3E%3Cpath%20d%3D%22m25%2028.4%202.1%202.2%204.5-5%22%20stroke%3D%22%2381520e%22%20stroke-width%3D%222.3%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");}
.shell .game-section .actionbar .action-button:nth-child(3)::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22b%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%23fff49b%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23eea020%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Crect%20x%3D%227%22%20y%3D%2217%22%20width%3D%2226%22%20height%3D%2218%22%20rx%3D%222.5%22%20fill%3D%22url%28%23b%29%22%20stroke%3D%22%23c0781a%22%20stroke-width%3D%221.6%22%2F%3E%3Crect%20x%3D%225%22%20y%3D%2213%22%20width%3D%2230%22%20height%3D%228%22%20rx%3D%222%22%20fill%3D%22%23ffe386%22%20stroke%3D%22%23c0781a%22%20stroke-width%3D%221.6%22%2F%3E%3Cpath%20d%3D%22M18%2013c-8-1-9-7-5-9%204-2%207%205%207%209%200-4%203-11%207-9s2%208-5%209%22%20fill%3D%22%23ffb5d9%22%20stroke%3D%22%23d96b9c%22%20stroke-width%3D%221.5%22%2F%3E%3Cpath%20d%3D%22M17%2013h6v22h-6z%22%20fill%3D%22%23ec539a%22%2F%3E%3Cpath%20d%3D%22M17%2013h6v8h-6z%22%20fill%3D%22%23ff7ec0%22%2F%3E%3C%2Fsvg%3E");}
.shell .game-section .actionbar .action-button:active{transform:translateY(2px) scale(.98);filter:brightness(1.06);}
.shell .game-section .actionbar .action-button:focus-visible{outline:2px solid #fff2bc;outline-offset:3px;}
.shell .game-section .coin-decor {
  display:block;
  width:calc(100% - 4px);
  max-width:none;
  height:auto;
  aspect-ratio:1200 / 548;
  object-fit:cover;
  object-position:center;
  margin:8px 2px 0;
  border:0;
  border-radius:0;
  mask-image:linear-gradient(180deg,transparent 0%,#000 9%,#000 90%,transparent 100%);
  -webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 9%,#000 90%,transparent 100%);
  pointer-events:none;
}
/* Existing decorative corner cutouts contain baked-in Chinese words.
   Hide them on game homepage only; BNB art includes clean crystals instead. */
.shell:has(> .game-section) > .scenery-bottom-left,
.shell:has(> .game-section) > .scenery-bottom-right{display:none!important;}
/* Remove text under the decorative BNB picture on the game page ONLY. */
.shell .game-section .glow-note,
.shell .game-section ~ .footer-note {display:none!important;}
@media(max-width:355px){
  .shell .game-section .actionbar{gap:6px;margin-left:3px;margin-right:3px;}
  .shell .game-section .actionbar .action-button{min-height:70px;padding:7px 1px;font-size:10px;gap:3px;border-radius:13px;}
  .shell .game-section .actionbar .action-button::before{width:26px;height:26px;}
}
@media(prefers-reduced-motion:reduce){
  .shell .game-section .actionbar .action-button {transition:none;}
}


/* V3.13 — Gold BNB illustration followed by editable, crisp copyright text.
   Applies to game homepage only; no gameplay/API/database changes. */
.shell .game-section::after {
  content: "© 2026 Gem Quest. All Rights Reserved";
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0 auto 7px;
  padding: 7px 0 5px;
  text-align: center;
  color: #fff6e4;
  font-family: Arial, "Noto Sans SC", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .08px;
  text-shadow: 0 1px 5px rgba(23,4,65,.8);
  background-image: linear-gradient(90deg, transparent 0%, #e2b956 10%, transparent 19%, transparent 81%, #e2b956 90%, transparent 100%);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100% 1px;
}
@media(max-width:355px) {
  .shell .game-section::after {
    font-size: 10px;
    background: none;
    margin-bottom: 5px;
  }
}
