/* Stil plugin WordPress - Joc Interactiv Citit */
.jic-root * { box-sizing: border-box; }
.jic-root html, .jic-root body { height: auto; }
.jic-root { font-family: 'Nunito', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; background: #f7fafc; color: #1a202c; padding: 8px; border-radius: 12px; }
.jic-root .app-header, .jic-root .app-footer { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: white; border: 1px solid #e2e8f0; border-radius: 12px; }
.jic-root .app-footer { justify-content: center; margin-top: 8px; }
.jic-root .app-header h1 { font-weight: 800; font-size: 20px; margin: 0; }
.jic-root .score { font-weight: 800; }
.jic-root .container { max-width: 900px; margin: 0 auto; padding: 12px 0; }
.jic-root .media { display: grid; grid-template-columns: 160px 1fr; gap: 16px; align-items: center; }
.jic-root .media img { width: 160px; height: 160px; object-fit: contain; background: #edf2f7; border-radius: 16px; border: 2px dashed #cbd5e0; }
.jic-root .actions { display: flex; flex-wrap: wrap; gap: 8px; }
.jic-root .btn { background: #3b82f6; color: white; border: 0; border-radius: 10px; padding: 10px 14px; font-weight: 800; cursor: pointer; transition: transform .05s ease, background .2s ease; }
.jic-root .btn:hover { background: #2563eb; }
.jic-root .btn:active { transform: translateY(1px); }
.jic-root .game { margin-top: 20px; display: grid; gap: 16px; }
.jic-root .slots, .jic-root .bank { display: flex; gap: 10px; flex-wrap: wrap; min-height: 72px; padding: 12px; background: white; border: 2px dashed #cbd5e0; border-radius: 16px; }
.jic-root .slot, .jic-root .tile { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 12px; font-size: 28px; }
.jic-root .slot { background: #edf2f7; color: #94a3b8; border: 2px dashed #cbd5e0; }
.jic-root .tile { background: #10b981; color: white; font-weight: 800; cursor: grab; user-select: none; border: 2px solid #059669; }
.jic-root .tile:active { cursor: grabbing; }
.jic-root .tile[draggable="false"] { opacity: .7; cursor: default; }
.jic-root .message { margin-top: 8px; min-height: 28px; font-weight: 800; }
.jic-root .correct { background: #dcfce7 !important; border-color: #22c55e !important; color: #166534 !important; }
.jic-root .wrong { background: #fee2e2 !important; border-color: #ef4444 !important; color: #991b1b !important; }
@media (max-width: 640px) {
  .jic-root .media { grid-template-columns: 1fr; }
  .jic-root .media img { justify-self: start; }
}
