/* Shared identity stays beside the metrics; the mine keeps the full viewport. */
.game-window-header{grid-template-columns:auto minmax(0,1fr) auto auto auto}
.mine-account{grid-column:4;grid-row:1;display:flex;align-items:center;gap:10px;min-width:0}
.header-controls{grid-column:5}
#mine-token-wallet{display:flex;align-items:center;justify-content:center;gap:5px;padding:8px 9px;min-height:34px;min-width:65px;border:1px solid #ba985a66;border-radius:7px;background:#3a3024;color:#f3cc7c;font-size:11px;white-space:nowrap;font-variant-numeric:tabular-nums}
#mine-token-wallet:hover{border-color:#e9bd64;background:#51402a}
#mine-token-wallet b{font-size:12px;max-width:85px;overflow:hidden;text-overflow:ellipsis}#mine-token-wallet small{font-size:8px;color:#d6c3a0}
.mine-profile{display:flex;align-items:center;gap:7px;color:#ddd7c8;text-decoration:none;font-size:10px;min-width:0}.mine-profile img{box-sizing:border-box;width:32px;height:32px;object-fit:contain;padding:2px;image-rendering:pixelated;background:#283638;border:1px solid #a2ad9266;border-radius:7px}.mine-profile span{max-width:80px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-metric.wallet i{color:#dfbc69;font-size:10px;font-style:normal}
.wallet-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:18px}.wallet-summary>div{border:1px solid #b5a17b;border-radius:9px;padding:18px;background:#d9c8a7}.wallet-summary small{display:block;font-size:9px;letter-spacing:1px;color:#7e6444}.wallet-summary b{display:block;font-size:27px;color:#63491f;margin:7px 0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.wallet-summary span{font-size:10px;color:#806746}
.token-exchange{border:1px solid #ac9469;border-radius:9px;padding:20px;background:#ddd0b3}.token-exchange h3{font-size:18px;margin:0}.token-exchange p{font-size:12px!important}.token-exchange label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#735a37}.token-exchange input{width:100%;box-sizing:border-box;min-height:43px;border:1px solid #a18a63;border-radius:6px;background:#f3ebda;color:#382d1c;padding:9px 12px;font:inherit;font-size:16px}.token-exchange input:focus-visible{outline:2px solid #a98140;outline-offset:2px}.exchange-result{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:17px 0;font-size:12px}.exchange-result b{font-size:21px;color:#705320;font-variant-numeric:tabular-nums}
.token-offers-title{font-size:17px;margin:22px 0 12px}.token-offers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.token-offer{border:1px solid #b8a27b;border-radius:8px;padding:17px;background:#dfd2b7}.token-offer>small{font-size:8px;letter-spacing:1px;color:#8a6c3f}.token-offer h3{font-size:17px;margin:8px 0}.token-offer p{font-size:11px!important;min-height:32px}.token-offer .primary{font-size:11px}.wallet-links{display:flex;flex-wrap:wrap;gap:12px 20px;border-top:1px solid #b9a584;margin-top:22px;padding-top:17px}.wallet-links a{font-size:11px;color:#775a28;text-underline-offset:3px}.token-history{font-size:11px;margin-top:22px;color:#6c5433}.token-history summary{cursor:pointer;margin-bottom:10px}.token-history>div{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #b9a58477;padding:9px 0}.token-history b{white-space:nowrap}
#mine-modal>section[data-view=wallet]{width:min(100%,760px)}#mine-modal>section[data-view=checkout],#mine-modal>section[data-view=account]{width:min(100%,500px)}.token-checkout>small,.account-welcome>small{font-size:9px;letter-spacing:1px;color:#977649}.token-checkout h2{margin-top:10px}.checkout-grant{padding:22px 17px;border:1px solid #ad9468;border-radius:9px;background:#d6c39c;color:#59401c;font-size:19px;line-height:1.5;overflow-wrap:anywhere}.token-checkout p{font-size:13px!important}.token-checkout .primary{margin-top:17px}.token-checkout .secondary{margin-top:9px}.feature-choice>button.token-upgrade{background:#3b4f42;color:#e9efce;border-color:#809062;min-height:34px;margin-top:4px;padding:7px 11px;font-size:10px}.feature-choice>button.token-upgrade:hover:not(:disabled){background:#4c6650;color:#fff3ca}.feature-choice>button.token-upgrade strong{font-size:11px}
@media(max-width:1700px) and (min-width:701px){.game-window-header{grid-template-columns:auto minmax(0,1fr) auto auto;height:86px;min-height:86px;padding:4px 12px;gap:0 14px}.mine-brand{grid-row:1;grid-column:1}.header-metrics{grid-row:1;grid-column:2;justify-self:end}.mine-account{grid-column:3}.header-controls{grid-column:4}.mine-nav{grid-row:2;grid-column:1/-1;height:40px;gap:10px;padding:0}}
@media(max-width:700px){.game-window-header{grid-template-columns:auto minmax(0,1fr) auto auto;gap:3px 7px;padding-inline:7px}.mine-brand>span{display:none}.mine-brand img{width:27px;height:27px}.header-metrics{grid-column:2;gap:7px}.mine-account{grid-column:3;gap:5px}.mine-profile span{display:none}.mine-profile img{width:27px;height:27px;padding:1px;border-radius:6px}#mine-token-wallet{min-width:41px;min-height:28px;gap:3px;padding:5px;font-size:10px}#mine-token-wallet b{font-size:10px;max-width:51px}#mine-token-wallet small{display:none}.header-controls{grid-column:4}.header-controls>summary{width:26px;height:28px}.header-metric.wallet strong{font-size:11px}.header-metric.wallet i{font-size:8px}.stamina-metric{width:48px!important;min-width:48px!important}.stamina-label b{font-size:8px}.wallet-summary>div{padding:12px}.wallet-summary b{font-size:21px}.wallet-summary small{font-size:8px;letter-spacing:.5px}.token-exchange{padding:16px}.token-offers{grid-template-columns:1fr}.token-offer p{min-height:0}}
@media(max-width:420px){.header-metrics>.header-metric[title="Açılan tünel"]{display:none}.header-metrics{gap:6px}.game-window-header{gap:3px 5px}.header-metric.wallet strong{font-size:10px}}

#mine-token-wallet[data-diamond=pending]{box-shadow:inset 0 -2px 0 #8fcbb4}#mine-token-wallet[data-diamond=pending]>span{color:#a7e2c7}
