* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

:root {
    --brand: #00b0c9;
    --brand-dark: #0093a8;
    --brand-soft: #e6f7fa;
    --ink: #1d1d1f;
    --ink-muted: #6e6e73;
    --line: #e5e5e7;
    --bg: #fafbfc;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--ink);
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

.screen { display: none; padding: 16px; min-height: 100vh; }
.screen.active { display: block; }

.app-header { text-align: center; padding: 16px 0 24px; }
.app-logo { height: 56px; width: auto; margin-bottom: 12px; }
.app-header h1 { font-size: 24px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.app-subtitle { font-size: 13px; color: var(--ink-muted); font-weight: 500; }

.shows-list { display: flex; flex-direction: column; gap: 12px; }

.show-card {
    background: #fff; border-radius: 16px; padding: 18px 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    cursor: pointer; transition: transform 0.1s, box-shadow 0.1s;
}
.show-card:active { transform: scale(0.98); box-shadow: 0 1px 6px rgba(0,0,0,0.08); }

.show-card-header { margin-bottom: 8px; }
.show-card-title { font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.3; margin-top: 4px; }
.show-card-date { font-size: 13px; color: var(--brand-dark); font-weight: 600; margin-bottom: 4px; }
.show-card-price { font-size: 13px; color: var(--ink-muted); font-weight: 500; }

.badge {
    display: inline-block; padding: 2px 10px;
    background: var(--brand-soft); color: var(--brand-dark);
    border-radius: 8px; font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.03em;
}

.loading, .empty { text-align: center; padding: 40px 20px; color: var(--ink-muted); font-size: 14px; }

.back-btn {
    display: inline-block; padding: 8px 0; background: transparent;
    border: none; color: var(--brand-dark); font-family: inherit;
    font-size: 15px; font-weight: 600; cursor: pointer; margin-bottom: 12px;
}
.back-btn:active { opacity: 0.7; }

.detail-header { margin-bottom: 20px; }
.detail-title { font-size: 24px; font-weight: 700; line-height: 1.25; margin: 8px 0 6px; color: var(--ink); }
.detail-meta { display: flex; gap: 10px; font-size: 13px; color: var(--ink-muted); font-weight: 500; }

.detail-info {
    background: #fff; border-radius: 14px; padding: 16px 20px;
    margin-bottom: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.info-row { font-size: 14px; color: var(--ink); font-weight: 500; padding: 6px 0; }

.detail-section {
    background: #fff; border-radius: 14px; padding: 20px;
    margin-bottom: 16px; box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.detail-section h3 {
    font-size: 15px; font-weight: 700; color: var(--ink);
    margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.04em;
}
.detail-desc { font-size: 14px; color: var(--ink); line-height: 1.6; }

.cast-grid { display: flex; flex-direction: column; gap: 14px; }
.cast-item { display: flex; align-items: center; gap: 14px; }
.cast-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--brand-soft); }
.cast-photo-placeholder {
    width: 64px; height: 64px; border-radius: 50%; background: var(--brand-soft);
    color: var(--brand-dark); font-weight: 700; font-size: 22px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cast-info { flex: 1; min-width: 0; }
.cast-name { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.cast-role { font-size: 13px; color: var(--ink-muted); font-style: italic; margin-top: 2px; }

.detail-ticket { position: sticky; bottom: 16px; margin-top: 8px; }
.btn-buy {
    display: block; padding: 16px; background: var(--brand); color: #fff;
    text-align: center; border-radius: 14px; font-size: 16px; font-weight: 700;
    text-decoration: none; box-shadow: 0 4px 16px rgba(0,176,201,0.3);
    transition: transform 0.1s;
}
.btn-buy:active { transform: scale(0.98); background: var(--brand-dark); }
