/* Koloni HUD: yazısız; yalnız coin düğmesi + sayaç, kutuların sağ üstünde. */
.colony-hud { padding: 0 !important; gap: 10px; align-items: center; }
@media (min-width: 901px) {
  .colony-hud { top: clamp(14px, 2.4vh, 24px); right: var(--gutter); bottom: auto; justify-content: flex-end; }
}
.give-btn { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0; cursor: grab; background: var(--surface); box-shadow: var(--pxb), 4px 4px 0 0 var(--drop); transition: transform .08s linear; --edge: var(--px-amber); }
.give-btn:hover { --edge: var(--px-mint); }
.give-btn:active { transform: translate(2px, 2px); box-shadow: var(--pxb), 2px 2px 0 0 var(--drop); }
.give-btn:focus-visible { outline: 3px solid var(--lilac); outline-offset: 3px; }
.give-ic { display: block; width: 26px; height: 26px; outline: 0; box-shadow: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 5' shape-rendering='crispEdges'%3E%3Cpath fill='%23FFC94D' d='M1 0h3v1H1zM0 1h2v1H0zM3 1h2v1H3zM0 2h1v1H0zM2 2h1v1H2zM4 2h1v1H4zM0 3h2v1H0zM3 3h2v1H3zM1 4h3v1H1z'/%3E%3Cpath fill='%23FFFFFF' d='M2 1h1v1H2zM1 2h1v1H1z'/%3E%3C/svg%3E") center / contain no-repeat; image-rendering: pixelated; }
.hud-count { min-width: 0; font: 800 1.45rem var(--font-body); font-variant-numeric: tabular-nums; color: var(--px-amber); text-shadow: 2px 2px 0 var(--drop); }

/* Giriş ipucu: kullanıcı ilk görevi bırakana kadar fare imleci (mobilde parmak) iki yere dokunup görev bırakır */
.col-hint { position: absolute; left: 0; top: 0; z-index: 6; width: 0; height: 0; pointer-events: none; opacity: 0; transition: transform .8s cubic-bezier(.45, 0, .2, 1), opacity .3s linear; will-change: transform; }
.col-hint.on { opacity: 1; }
.col-hint .ch-ic { position: absolute; left: 0; top: 0; display: block; filter: drop-shadow(2px 3px 0 rgba(0, 0, 0, .35)); transform-origin: 0 0; }
.col-hint .ch-mouse { width: 24px; height: 38px; }
.col-hint .ch-finger { display: none; width: 34px; height: 47px; left: -16px; }
.col-hint.is-touch .ch-mouse { display: none; }
.col-hint.is-touch .ch-finger { display: block; }
.col-hint .ch-ring { position: absolute; left: -16px; top: -16px; width: 32px; height: 32px; border: 3px solid #FFC94D; box-shadow: 0 0 0 2px rgba(255, 201, 77, .35); opacity: 0; transform: scale(.2); }
.col-hint.tap .ch-ring { animation: ch-ring .55s ease-out; }
.col-hint.tap .ch-ic { animation: ch-press .32s ease-out; }
@keyframes ch-ring { 0% { opacity: .95; transform: scale(.2); } 100% { opacity: 0; transform: scale(1.9); } }
@keyframes ch-press { 0%, 100% { transform: translate(0, 0) scale(1); } 40% { transform: translate(1px, 4px) scale(.9); } }
@media (prefers-reduced-motion: reduce) { .col-hint { display: none; } }

/* Mobil: sade arka plan — yüzen piksel alanı ve nokta ızgarası yok */
@media (max-width: 760px), (pointer: coarse) {
  #px-field, .px-field { display: none !important; }
  .aurora, .aurora::before, .aurora::after { background-image: none !important; animation: none !important; }
  .field::before, .field::after { display: none !important; }
}

/* Mobil: daha sade arayüz — sert piksel gölgeleri ve metin ışımaları kapalı, kartlar düz */
@media (max-width: 760px) {
  :root { --drop: transparent !important; --halo: transparent !important; }
  .hero-sub, .starter-note { text-shadow: none; }
  .give-btn, .give-btn:active { box-shadow: var(--pxb); }
  .hud-count { text-shadow: none; }
}

/* Mobil: metin alanları en az 16 px — iOS/Android odaklanınca sayfayı yakınlaştırmaz (yakınlaştırma sonradan da kalmaz) */
@media (max-width: 900px), (pointer: coarse) {
  input:not([type="range"]):not([type="checkbox"]):not([type="radio"]), textarea, select,
  .combo-input, .jobc .combo-input, .sup-msg, .bld-task { font-size: 16px !important; }
}

/* Sürüklenen görev de aynı yuvarlak coin */
.task-ghost { width: 28px; height: 28px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 5' shape-rendering='crispEdges'%3E%3Cpath fill='%23FFC94D' d='M1 0h3v1H1zM0 1h2v1H0zM3 1h2v1H3zM0 2h1v1H0zM2 2h1v1H2zM4 2h1v1H4zM0 3h2v1H0zM3 3h2v1H3zM1 4h3v1H1z'/%3E%3Cpath fill='%23FFFFFF' d='M2 1h1v1H2zM1 2h1v1H1z'/%3E%3C/svg%3E") center / contain no-repeat; box-shadow: none; image-rendering: pixelated; filter: drop-shadow(0 0 6px rgba(255, 201, 77, .45)); }

/* Standart Windows ok ve el imleci ölçüleri (uç noktası ipucu konumuna oturur) */
.col-hint .ch-ic { filter: drop-shadow(1px 2px 1px rgba(0, 0, 0, .35)); image-rendering: auto; }
.col-hint .ch-mouse { width: 26px; height: 32px; left: -3px; top: -1.5px; }
.col-hint .ch-finger { width: 34px; height: 40px; left: -13px; top: -3.5px; }
