/* ========================================
   HOTEL TECHSERVICE - MOBILE APP CSS
   ======================================== */

:root {
    --primary: #1e40af;
    --primary-light: #3b82f6;
    --primary-dark: #1e3a8a;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --bg: #f5f7fa;
    --card: #ffffff;
    --text: #1a1a1a;
    --text-secondary: #6b7280;
    --border: #e5e7eb;
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    overscroll-behavior-y: contain;
    -webkit-font-smoothing: antialiased;
    user-select: none;
}

/* ========================================
   SCREENS
   ======================================== */
.screen { display: none; height: 100vh; }
.screen.active { display: flex; flex-direction: column; }

/* ========================================
   LOGIN SCREEN
   ======================================== */
.login-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    min-height: 100vh;
}

.login-logo {
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

.login-icon {
    font-size: 64px;
    margin-bottom: 12px;
}

.login-logo h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.login-logo p {
    font-size: 14px;
    opacity: 0.8;
}

.login-form {
    background: white;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.input-group {
    margin-bottom: 18px;
}

.input-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.input-group small {
    display: block;
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    background: #f9fafb;
    transition: border-color 0.2s, background 0.2s;
    -webkit-appearance: none;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.input-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-login {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: var(--primary);
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.btn-login:active {
    background: var(--primary-dark);
    transform: scale(0.98);
}

.login-error {
    margin-top: 12px;
    padding: 10px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: var(--danger);
    font-size: 13px;
    text-align: center;
}

/* ========================================
   APP HEADER
   ======================================== */
.app-header {
    background: var(--primary);
    color: white;
    padding: 14px 16px;
    padding-top: calc(14px + var(--safe-top));
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left h2 {
    font-size: 18px;
    font-weight: 700;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.notification-bell {
    position: relative;
    font-size: 22px;
    cursor: pointer;
    padding: 4px;
}

.notif-badge {
    position: absolute;
    top: -2px;
    right: -4px;
    background: var(--danger);
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

/* ========================================
   TICKET TABS
   ======================================== */
.ticket-tabs {
    display: flex;
    background: white;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: calc(52px + var(--safe-top));
    z-index: 99;
}

.tab-btn {
    flex: 1;
    padding: 12px 8px;
    border: none;
    background: white;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: #eff6ff;
}

.tab-count {
    background: var(--border);
    padding: 1px 7px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
}

.tab-btn.active .tab-count {
    background: var(--primary);
    color: white;
}

/* ========================================
   CONTENT AREA
   ======================================== */
.content-area {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.view { display: none; }
.view.active { display: block; }

/* ========================================
   PULL TO REFRESH
   ======================================== */
.pull-indicator {
    text-align: center;
    padding: 12px;
    color: var(--text-secondary);
    font-size: 13px;
    display: none;
}

.pull-indicator.visible { display: block; }

/* ========================================
   TICKET LIST
   ======================================== */
.ticket-list {
    padding: 8px;
}

.ticket-card {
    background: white;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    border-left: 4px solid transparent;
}

.ticket-card:active {
    transform: scale(0.98);
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.ticket-card.priority-urgent { border-left-color: var(--danger); }
.ticket-card.priority-high { border-left-color: var(--warning); }
.ticket-card.priority-normal { border-left-color: var(--success); }
.ticket-card.priority-low { border-left-color: #d1d5db; }

.ticket-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.ticket-number {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
}

.ticket-status {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.status-new { background: #fef3c7; color: #92400e; }
.status-assigned { background: #dbeafe; color: #1e3a8a; }
.status-in_progress { background: #d1fae5; color: #065f46; }
.status-paused { background: #fce7f3; color: #831843; }
.status-done { background: #e5e7eb; color: #374151; }
.status-closed { background: #f3f4f6; color: #9ca3af; }

.ticket-service {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text);
}

.ticket-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ticket-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-secondary);
}

.ticket-meta-left {
    display: flex;
    gap: 12px;
    align-items: center;
}

.ticket-assignee {
    font-weight: 500;
    color: var(--text);
}

.ticket-unassigned {
    color: var(--danger);
    font-weight: 600;
}

/* ========================================
   TICKET DETAIL
   ======================================== */
.detail-back {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    background: white;
    border-bottom: 1px solid var(--border);
}

.detail-section {
    background: white;
    margin: 8px;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.detail-section-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
}

.detail-row:last-child { border-bottom: none; }

.detail-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.detail-value {
    font-size: 14px;
    font-weight: 500;
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

.detail-description {
    padding: 12px;
    background: #f9fafb;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    word-break: break-word;
    white-space: pre-wrap;
}

/* Detail Action Buttons */
.detail-actions {
    padding: 12px 8px;
    padding-bottom: calc(12px + var(--safe-bottom) + 66px);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.action-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.1s;
}

.action-btn:active { transform: scale(0.98); }

.action-btn.primary { background: var(--primary); color: white; }
.action-btn.success { background: var(--success); color: white; }
.action-btn.warning { background: var(--warning); color: white; }
.action-btn.danger { background: var(--danger); color: white; }
.action-btn.secondary { background: #f3f4f6; color: var(--text); }
.action-btn.disabled { background: #d1d5db; color: #9ca3af; pointer-events: none; }

/* Comments */
.comment-item {
    padding: 12px;
    background: #f9fafb;
    border-radius: 8px;
    margin-bottom: 8px;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.comment-user { font-size: 13px; font-weight: 600; color: var(--primary); }
.comment-time { font-size: 11px; color: var(--text-secondary); }
.comment-text { font-size: 13px; line-height: 1.5; color: var(--text); }

/* Photos Grid */
.photos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.photo-thumb {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    background: #f3f4f6;
}

.photo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Timeline */
.timeline-item {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    font-size: 13px;
}

.timeline-icon { font-size: 16px; }
.timeline-label { color: var(--text-secondary); }
.timeline-time { font-weight: 500; }

/* ========================================
   NEW TICKET FORM
   ======================================== */
.form-container {
    padding: 16px;
    padding-bottom: calc(16px + var(--safe-bottom) + 66px);
}

.form-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
}

.priority-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.priority-btn {
    padding: 10px 6px;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: white;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
}

.priority-btn.active {
    border-color: var(--primary);
    background: #eff6ff;
    color: var(--primary);
}

.photo-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.btn-photo {
    flex: 1;
    padding: 12px;
    border: 2px dashed var(--border);
    border-radius: 10px;
    background: white;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
}

.btn-photo:active {
    background: #f3f4f6;
    border-color: var(--primary);
}

.photo-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.preview-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    background: var(--primary);
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.2s;
}

.btn-submit:active { background: var(--primary-dark); transform: scale(0.98); }

/* ========================================
   NOTIFICATIONS
   ======================================== */
.notifications-list {
    padding: 8px;
}

.notif-item {
    background: white;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.notif-item.unread {
    background: #eff6ff;
    border-left: 3px solid var(--primary);
}

.notif-icon { font-size: 24px; }
.notif-content { flex: 1; }
.notif-title { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.notif-body { font-size: 13px; color: var(--text-secondary); margin-bottom: 4px; }
.notif-time { font-size: 11px; color: #9ca3af; }

/* ========================================
   PROFILE
   ======================================== */
.profile-container {
    padding: 16px;
    padding-bottom: calc(16px + var(--safe-bottom) + 66px);
}

.profile-header {
    text-align: center;
    padding: 24px 0;
}

.profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 12px;
}

.profile-header h3 { font-size: 20px; margin-bottom: 4px; }
.profile-header p { font-size: 14px; color: var(--text-secondary); }

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 20px 0;
}

.stat-item {
    background: white;
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
}

.profile-menu {
    margin-top: 12px;
}

.menu-item {
    width: 100%;
    padding: 16px;
    border: none;
    background: white;
    border-radius: 10px;
    font-size: 15px;
    text-align: left;
    cursor: pointer;
    margin-bottom: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: background 0.2s;
}

.menu-item:active { background: #f3f4f6; }
.menu-item.danger { color: var(--danger); }

/* ========================================
   BOTTOM NAVIGATION
   ======================================== */
.bottom-nav {
    display: flex;
    background: white;
    border-top: 1px solid var(--border);
    padding-bottom: var(--safe-bottom);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.nav-item {
    flex: 1;
    padding: 8px 0 6px;
    border: none;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.nav-item.active { color: var(--primary); }

.nav-icon { font-size: 22px; }

.nav-icon-add {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 300;
    margin-top: -14px;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.3);
}

.nav-label { font-size: 10px; font-weight: 600; }

/* ========================================
   TOAST
   ======================================== */
.toast {
    position: fixed;
    top: calc(16px + var(--safe-top));
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: #1f2937;
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    z-index: 9999;
    transition: transform 0.3s ease;
    max-width: 90%;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.toast.visible { transform: translateX(-50%) translateY(0); }
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }

/* ========================================
   ACTION SHEET
   ======================================== */
.action-sheet-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1000;
    display: none;
    align-items: flex-end;
    justify-content: center;
}

.action-sheet-overlay.active { display: flex; }

.action-sheet {
    background: white;
    border-radius: 16px 16px 0 0;
    width: 100%;
    max-width: 500px;
    max-height: 70vh;
    overflow-y: auto;
    padding: 8px 16px;
    padding-bottom: calc(16px + var(--safe-bottom));
    animation: slideUp 0.25s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.action-sheet-header {
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 8px;
}

.action-sheet-item {
    padding: 14px 16px;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 15px;
    cursor: pointer;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.15s;
}

.action-sheet-item:active { background: #f3f4f6; }

.action-sheet-cancel {
    width: 100%;
    padding: 14px;
    border: none;
    background: #f3f4f6;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--danger);
    cursor: pointer;
    margin-top: 8px;
}

/* ========================================
   LOADING
   ======================================== */
.loading-state {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
}

.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    margin: 0 auto 12px;
}

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    z-index: 9998;
}

.loading-overlay.active { display: flex; }

.spinner-large {
    width: 44px;
    height: 44px;
    border: 4px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.empty-icon { font-size: 48px; margin-bottom: 12px; }

/* ========================================
   ASSIGN MODAL (inside action sheet)
   ======================================== */
.assign-user-item {
    padding: 12px 16px;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 14px;
    cursor: pointer;
    border-radius: 8px;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    gap: 10px;
}

.assign-user-item:active { background: #eff6ff; }

.assign-user-name { font-weight: 600; }
.assign-user-spec { font-size: 12px; color: var(--text-secondary); }

/* Comment Input */
.comment-input-area {
    padding: 12px;
}

.comment-input-area textarea {
    width: 100%;
    padding: 10px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    min-height: 80px;
    resize: vertical;
    margin-bottom: 8px;
}

.comment-input-area button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: var(--primary);
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}


/* ========================================
   GLITCH MOBILE PHASE 1
   ======================================== */
.module-switcher {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    padding:10px 12px;
    background:#ffffff;
    border-bottom:1px solid var(--border);
    position:sticky;
    top:calc(52px + var(--safe-top));
    z-index:98;
}
.module-switch-btn {
    height:38px;
    border-radius:12px;
    border:1.5px solid var(--border);
    background:#f8fafc;
    color:var(--text-secondary);
    font-weight:700;
    font-size:13px;
}
.module-switch-btn.active {
    background:#eff6ff;
    color:var(--primary);
    border-color:var(--primary);
}
.glitch-mobile-shell {
    padding:12px;
    padding-bottom:calc(24px + var(--safe-bottom) + 66px);
}
.glitch-mobile-stats {
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:10px;
    margin-bottom:12px;
}
.glitch-stat-card {
    border:none;
    border-radius:14px;
    background:#fff;
    padding:14px 12px;
    text-align:left;
    box-shadow:0 1px 3px rgba(0,0,0,0.06);
}
.glitch-stat-card span {
    display:block;
    font-size:24px;
    font-weight:800;
    margin-bottom:4px;
}
.glitch-stat-card small {
    font-size:12px;
    color:var(--text-secondary);
    font-weight:700;
}
.glitch-stat-card.blue span{color:#1e40af;}
.glitch-stat-card.amber span{color:#d97706;}
.glitch-stat-card.green span{color:#10b981;}
.glitch-stat-card.red span{color:#ef4444;}
.glitch-mobile-toolbar {
    background:#fff;
    border-radius:14px;
    padding:12px;
    margin-bottom:12px;
    box-shadow:0 1px 3px rgba(0,0,0,0.06);
}
.glitch-mobile-toolbar input {
    width:100%;
    height:40px;
    border:1px solid var(--border);
    border-radius:12px;
    padding:0 14px;
    font-size:14px;
    background:#f8fafc;
}
.glitch-chip-row {
    display:flex;
    gap:8px;
    overflow:auto;
    margin-top:10px;
    padding-bottom:2px;
}
.glitch-chip {
    white-space:nowrap;
    border:1px solid var(--border);
    background:#fff;
    color:#334155;
    border-radius:999px;
    padding:8px 12px;
    font-size:13px;
    font-weight:700;
}
.glitch-chip.active {
    background:var(--primary);
    color:#fff;
    border-color:var(--primary);
}
.glitch-card-subline {
    display:flex;
    justify-content:space-between;
    gap:12px;
    margin-top:8px;
    font-size:12px;
    color:var(--text-secondary);
}
.glitch-form-shell {
    padding-bottom:calc(16px + var(--safe-bottom) + 66px);
}
.two-col-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
}
.glitch-detail-actions {
    display:flex;
    flex-direction:column;
    gap:8px;
}
.glitch-detail-photos .photo-thumb {
    border:1px solid var(--border);
}
.side-muted {
    color:var(--text-secondary);
    font-size:13px;
}
.action-sheet-btn {
    width:100%;
    border:none;
    background:#fff;
    border-bottom:1px solid #f1f5f9;
    padding:14px 16px;
    text-align:left;
    font-size:15px;
    font-weight:600;
}
.action-sheet-btn:last-child { border-bottom:none; }
@media (max-width: 420px) {
    .two-col-grid { grid-template-columns:1fr; }
    .glitch-card-subline { flex-direction:column; gap:4px; }
}
