/* Only loaded by the two staged games; own character colors stay inherited. */
.hmc-panel{position:absolute;inset:0;z-index:80;display:flex;align-items:center;justify-content:center;padding:14px;background:rgba(0,0,0,.82);overflow-y:auto;touch-action:pan-y}.hmc-panel[hidden]{display:none}.hmc-box{width:min(100%,390px);max-height:100%;overflow-y:auto;background:#211627;color:#fff;border:2px solid #fff;border-radius:18px;padding:18px;text-align:center;font:600 14px/1.4 system-ui,sans-serif}.hmc-box h2{margin:0 0 8px;font-size:22px}.hmc-box p{margin:8px 0}.hmc-price{font:700 12px/1.4 system-ui,sans-serif;color:inherit}.hmc-actions,.hmc-controls{display:grid;grid-template-columns:1fr;gap:7px;margin-top:10px}.hmc-button{appearance:none;display:block;width:100%;border:2px solid currentColor;border-radius:12px;background:transparent;color:inherit;padding:10px 8px;font:800 13px/1.25 system-ui,sans-serif;text-align:center;text-decoration:none;touch-action:manipulation;cursor:pointer}.hmc-button:focus-visible{outline:3px solid #fff;outline-offset:2px}.hmc-button:disabled,.hmc-soon{background:#555!important;color:#ccc!important;border-color:#777!important;box-shadow:none!important;cursor:default!important;opacity:.75;pointer-events:none}#final .hmc-result{margin-top:12px}.hmc-panel .hmc-box{background:var(--hmc-panel-bg,#211627)}body.dark .hmc-panel .hmc-box{background:var(--hmc-panel-bg,#211627)}
/* Hirtiye only: reuse Taksici compact lower-panel/4-button geometry, NOT its yellow identity. */
@media(max-width:767px){body[data-hmc-game="hirtiye"] #saldiri{padding:6px 10px calc(min(env(safe-area-inset-bottom),12px) + 6px);background:linear-gradient(to top,rgba(0,0,0,.9),rgba(0,0,0,.55) 70%,rgba(0,0,0,0))}body[data-hmc-game="hirtiye"] #saldiri .hserit{margin-bottom:6px;padding:5px 10px 6px}body[data-hmc-game="hirtiye"] #saldiri .dugmeler{grid-template-columns:repeat(4,1fr);gap:7px}body[data-hmc-game="hirtiye"] #saldiri .dugmeler button img{width:52px;height:52px;object-fit:contain}body[data-hmc-game="hirtiye"] #joy{left:8px;margin-left:0;width:96px;height:96px;bottom:calc(min(env(safe-area-inset-bottom),12px) + 22px)}body[data-hmc-game="hirtiye"] #joy:before{inset:12px}body[data-hmc-game="hirtiye"] #joy:after{inset:38px}body[data-hmc-game="hirtiye"] #joyTas{width:44px;height:44px}body[data-hmc-game="hirtiye"] #ipucu span{font-size:13px;padding:5px 10px 4px}}
body[data-hmc-game="hirtiye"]{--hmc-panel-bg:#291120}body[data-hmc-game="taksici"]{--hmc-panel-bg:#29220c}
.hmc-checkpoint{position:absolute;inset:0;z-index:50;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(0,0,0,.76);touch-action:pan-y}.hmc-checkpoint[hidden]{display:none}.hmc-checkpoint .hmc-box{background:#291120}.hmc-checkpoint h2{color:#ff3d7f}
