/* DeTown. · juegos */
.play-hint { color: var(--mute, #9aa); margin: 0 0 12px; }
.play-msg { min-height: 1.4em; margin: 10px 0; font-weight: 600; }
.playgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 14px 0; }
.pcard { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); }
.pcard img { width: 100%; height: 120px; object-fit: cover; border-radius: 10px; }
.pcard b { font-size: 1.05rem; }
.pcard span { color: var(--mute, #9aa); font-size: 0.9rem; flex: 1; }
.pcard .cta { text-align: center; justify-content: center; }
/* Wordle */
.wd-board { display: grid; gap: 6px; max-width: 320px; margin: 10px auto; }
.wd-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.wd-cell { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border: 2px solid rgba(255, 255, 255, 0.25); border-radius: 8px; font: 700 1.6rem/1 var(--display, serif); text-transform: uppercase; }
.wd-cell.fill { border-color: rgba(255, 255, 255, 0.6); }
.wd-cell.g, .wd-key.g { background: #3b7d3a; border-color: #3b7d3a; color: #fff; }
.wd-cell.y, .wd-key.y { background: #b8902d; border-color: #b8902d; color: #fff; }
.wd-cell.x, .wd-key.x { background: #3a3f4a; border-color: #3a3f4a; color: #fff; }
.wd-kb { max-width: 460px; margin: 14px auto 0; display: grid; gap: 6px; }
.wd-kr { display: flex; justify-content: center; gap: 5px; }
.wd-key { min-width: 30px; height: 46px; padding: 0 8px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.1); color: inherit; font: 600 0.9rem var(--body, sans-serif); cursor: pointer; flex: 1; max-width: 44px; }
.wd-key.wide { max-width: 64px; }
/* Who are you? */
.wh-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.wh-in { flex: 1; min-width: 180px; height: 44px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.1); color: inherit; padding: 0 12px; font: inherit; }
.wh-table { overflow-x: auto; display: grid; gap: 4px; margin-top: 6px; }
.wh-row { display: grid; grid-template-columns: minmax(150px, 1.6fr) repeat(5, minmax(78px, 1fr)); gap: 4px; min-width: 620px; }
.wh-head .wh-c { font-size: 0.78rem; color: var(--mute, #9aa); background: none; }
.wh-c { padding: 8px 6px; border-radius: 8px; text-align: center; font-size: 0.85rem; background: rgba(255, 255, 255, 0.07); display: flex; align-items: center; justify-content: center; }
.wh-name { justify-content: flex-start; gap: 8px; }
.wh-name img { border-radius: 8px; flex: none; }
.wh-ok { background: #3b7d3a; color: #fff; }
.wh-no { background: #8a3b3b; color: #fff; }
/* Memory */
.mm-bar { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font: 600 0.9rem var(--mono, monospace); }
.mm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 460px; margin: 10px auto; }
.mm-card { position: relative; aspect-ratio: 1; border: 0; padding: 0; background: none; cursor: pointer; perspective: 600px; color: inherit; }
.mm-back, .mm-face { position: absolute; inset: 0; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; backface-visibility: hidden; transition: transform 0.35s; overflow: hidden; }
.mm-back { background: #1f3a5f; color: #cde; font: 700 0.95rem var(--display, serif); border: 2px solid rgba(255, 255, 255, 0.25); }
.mm-face { background: #2a2f3a; transform: rotateY(180deg); border: 2px solid rgba(255, 255, 255, 0.35); }
.mm-face img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.mm-face em { position: absolute; bottom: 0; left: 0; right: 0; font-style: normal; font-size: 0.7rem; background: rgba(0, 0, 0, 0.65); color: #fff; padding: 2px 3px; }
.mm-card.up .mm-back, .mm-card.done .mm-back { transform: rotateY(180deg); }
.mm-card.up .mm-face, .mm-card.done .mm-face { transform: rotateY(0); }
.mm-card.done .mm-face { border-color: #3b7d3a; }
/* Tick */
#tick { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.tk-big { font: 700 4rem/1 var(--mono, monospace); letter-spacing: 2px; }
.tk-goal { margin: 0; font-weight: 600; }
.tk-log { text-align: left; font-size: 0.9rem; color: var(--mute, #9aa); padding-left: 20px; }
