/* Danza en Escena – Boletería y escáner (mobile first) */
.dee-subtitle { margin: 0; color: var(--dee-muted); font-weight: 600; letter-spacing: .02em; }
.dee-pre { white-space: pre-line; }

/* Actividades */
.dee-tk-acts { display: grid; gap: 10px; margin: 0 0 16px; }
.dee-tk-act {
	display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--dee-border);
	border-radius: 10px; cursor: pointer; background: #fff; margin: 0;
}
.dee-tk-act input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--dee-accent); }
.dee-tk-act.is-selected { border-color: var(--dee-accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--dee-accent) 25%, transparent); }
.dee-tk-act.is-soldout { opacity: .6; cursor: not-allowed; }
.dee-tk-act-body { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dee-tk-act-name { font-weight: 600; }
.dee-tk-act-date { color: var(--dee-muted); font-size: .88rem; }
.dee-tk-act-desc { color: var(--dee-muted); font-size: .85rem; white-space: pre-line; }
.dee-tk-act-body .dee-badge { align-self: flex-start; margin-top: 4px; }
.dee-tk-act-price { font-weight: 700; white-space: nowrap; }

.dee-tk-combos ul { margin: 6px 0; padding-left: 18px; }
.dee-tk-combos li { margin: 2px 0; }
.dee-tk-combos .dee-hint { display: block; margin: 4px 0 0; }

.dee-tk-qty { margin: 0 0 16px; }
.dee-tk-stepper { display: flex; gap: 8px; align-items: center; }
.dee-tk-stepper .dee-input { width: 90px; text-align: center; font-size: 1.15rem; font-weight: 600; }
.dee-tk-stepper .dee-icon-btn { width: 48px; height: 48px; font-size: 1.4rem; }
.dee .dee-tk-stepper .dee-icon-btn:disabled { opacity: .4; }

.dee-tk-current { display: grid; gap: 4px; margin: 0 0 16px; }
.dee-tk-current .dee-hint { margin: 0; }
.dee-tk-current .dee-link { justify-self: start; margin-top: 4px; }

.dee-tk-line { display: flex; gap: 10px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid var(--dee-soft); }
.dee-tk-line:last-of-type { border-bottom: 0; }
.dee-tk-line-text { flex: 1; min-width: 0; }
.dee-tk-line-text .dee-hint { margin: 0; }
.dee-tk-line-sub { white-space: nowrap; font-weight: 600; text-align: right; }
.dee-tk-line .dee-icon-btn { flex: none; }
.dee-tk-total { text-align: right; margin-top: 8px; font-size: 1.05rem; }

/* Compra */
.dee-tk-order-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.dee-tk-order-head .dee-hint { margin: 0; }
.dee-tk-code { font-size: 1.4rem; font-weight: 700; letter-spacing: .08em; }
.dee-tk-qr { text-align: center; margin: 8px 0 16px; padding: 16px; border: 1px dashed var(--dee-border); border-radius: 12px; }
.dee-tk-qr img { width: 260px; max-width: 100%; height: auto; image-rendering: pixelated; display: block; margin: 0 auto 8px; }
.dee-tk-qr .dee-hint { margin: 0; }

/* Escáner */
.dee-scan { max-width: 520px; }
.dee-scan-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: .9rem; color: var(--dee-muted); margin: 0 0 10px; }
.dee-scan-card { margin-bottom: 12px; }
.dee-scan-stats { margin: 6px 0 0; }
.dee-scan-video {
	position: relative; width: 100%; aspect-ratio: 1 / 1; background: #111; border-radius: 12px; overflow: hidden;
	margin-bottom: 12px; display: flex; align-items: center; justify-content: center;
}
.dee-scan-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.dee-scan-placeholder { color: #ccc; padding: 20px; text-align: center; font-size: .95rem; }
.dee-scan-frame {
	position: absolute; inset: 18%; border: 3px solid rgba(255, 255, 255, .85); border-radius: 14px;
	box-shadow: 0 0 0 9999px rgba(0, 0, 0, .25); pointer-events: none;
}
.dee .dee-scan-wide { width: 100%; flex: none; margin-bottom: 10px; }
.dee-scan-manual { margin-top: 8px; }
.dee-scan-row { display: flex; gap: 8px; }
.dee-scan-row .dee-input { flex: 1; text-transform: uppercase; }
.dee-scan-row .dee-btn { flex: none; }

.dee-scan-result { border-radius: 14px; padding: 20px 16px; text-align: center; margin-bottom: 14px; color: #fff; }
.dee-scan-result.is-ok { background: #15803d; }
.dee-scan-result.is-warn { background: #b45309; }
.dee-scan-result.is-bad { background: #b42318; }
.dee-scan-icon { font-size: 44px; line-height: 1; font-weight: 700; }
.dee-scan-title { font-size: 1.6rem; font-weight: 800; margin: 6px 0; line-height: 1.2; }
.dee-scan-buyer { font-size: 1rem; opacity: .95; }
.dee-scan-buyer .dee-code { font-weight: 700; letter-spacing: .06em; }
.dee-scan-count { margin-top: 12px; font-size: 1.05rem; }
.dee-scan-big { font-size: 3rem; font-weight: 800; line-height: 1; vertical-align: middle; }
.dee-scan-sub { font-size: .9rem; opacity: .92; margin-top: 4px; }
.dee-scan-msg { margin: 10px 0 0; font-size: .98rem; }
.dee-scan-override { display: grid; gap: 8px; margin-bottom: 10px; }
.dee-scan-override .dee-scan-row .dee-btn { flex: 1; }
.dee .dee-notice.is-ok { background: #e7f6ec; color: #14532d; border-color: #b7e2c4; }
.dee-tk-line .dee-icon-btn { width: 32px; height: 32px; min-height: 0; padding: 0; border-radius: 50%; line-height: 1; }

/* Abonos */
.dee-tk-paykind .dee-choices { margin-bottom: 12px; }
.dee-tk-money { display: flex; align-items: center; gap: 8px; }
.dee-tk-money-cur { font-weight: 700; color: var(--dee-muted); }
.dee .dee-tk-money-input { max-width: 180px; font-size: 1.25rem; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.dee-tk-pay .dee-tk-line-sub { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: flex-end; }
.dee-tk-pay-note { display: block; font-size: .85rem; color: var(--dee-danger); margin-top: 2px; }
.dee .dee-badge-partial { background: #efe7fb; color: #5b2a9a; }

/* 2.2: tarjetas de actividades (fecha · nombre · precio) sin desbordar en móvil */
.dee-tk-acts { grid-template-columns: minmax(0, 1fr); }
.dee .dee-tk-act { min-width: 0; max-width: 100%; width: 100%; padding: 12px 14px; }
.dee-tk-act-body { gap: 3px; }
.dee-tk-act-date { order: 0; font-size: .78rem; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--dee-muted); }
.dee-tk-act-name { font-size: 1rem; line-height: 1.3; overflow-wrap: anywhere; color: var(--dee-title, inherit); }
.dee-tk-act-desc { overflow-wrap: anywhere; }
.dee-tk-act-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; }
.dee .dee-tk-act-price { font-size: 1.25rem; font-weight: 800; line-height: 1.1; white-space: nowrap; color: var(--dee-title, inherit); }
.dee-tk-act-foot .dee-badge { margin: 0; }

/* Combos */
.dee .dee-tk-combos { font-size: .85rem; padding: 12px 14px; }
.dee-tk-combos-title { margin: 0 0 8px; font-weight: 700; font-size: .9rem; }
.dee-tk-combo { padding: 8px 0; border-top: 1px solid var(--dee-border); }
.dee-tk-combo:first-of-type { border-top: 0; padding-top: 0; }
.dee-tk-combo-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.dee .dee-tk-combo ul { margin: 4px 0 0; padding-left: 18px; list-style: disc; }
.dee .dee-tk-combo li { margin: 1px 0; }
.dee .dee-tk-combos-hint { margin: 8px 0 0; padding-top: 8px; border-top: 1px solid var(--dee-border); color: var(--dee-muted); }

/* Tu pedido */
.dee-tk-line-meta { display: block; font-size: .82rem; color: var(--dee-muted); font-weight: 400; }
.dee-tk-line-current { margin: 6px -8px 0; padding: 8px; border: 1px dashed var(--dee-accent); border-radius: 8px; background: color-mix(in srgb, var(--dee-accent) 5%, #fff); }
.dee-tk-line-tag { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--dee-accent); margin-bottom: 2px; }
.dee-tk-cart-hint { margin: 8px 0 0; }
.dee .dee-tk-add { width: 100%; margin-top: 12px; }
.dee .dee-tk-add:disabled { opacity: .5; cursor: not-allowed; }
.dee-tk-add-hint { margin: 6px 0 0; font-size: .8rem; text-align: center; }

/* Escáner 2.2: modo de prueba y venta en puerta */
.dee-scan-test { margin: 0 0 12px; padding: 12px 14px; border-radius: 10px; background: #fff4e5; border: 1px solid #f5d7a8; color: #5c3300; }
.dee-scan-test p { margin: 4px 0 0; font-size: .9rem; }
.dee-scan-testtag { display: inline-block; margin-bottom: 8px; padding: 3px 10px; border-radius: 999px; background: rgba(0,0,0,.25); font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
.dee-scan-by { margin-top: 10px; opacity: .9; }
.dee-scan-walkin-open { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--dee-border); }
.dee-scan-walkin-open .dee-hint { text-align: center; margin: 0; }
.dee-scan-walkin .dee-scan-row .dee-btn { flex: 1; }
.dee .dee-tk-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dee .dee-tk-methods .dee-pill { justify-content: center; text-align: center; min-width: 0; }
.dee-tk-adjust-line { color: var(--dee-muted); font-size: .92rem; }
.dee .dee-tk-combo-head strong { font-weight: 700; }
.dee-scan-formtitle { margin: 0 0 6px; font-size: 1rem; }
