/* Novo layout — HS VIP (2 páginas) */
:root {
    --bg: #F2F2F7;
    --card: #FFFFFF;
    --text: #1C1C1E;
    --text-secondary: #8E8E93;
    --label: #6C6C70;
    --separator: rgba(60, 60, 67, 0.18);
    --orange: #E91E8C;
    --orange-soft: #ffe0f0;
    --pink: #E91E8C;
    --pink-soft: #ffe0f0;
    --pink-deep: #C2186A;
    --fx-green: #39D353;
    --fx-red: #8B1A1A;
    --green: #34C759;
    --radius: 12px;
    --tab-h: 56px;
    --safe-b: env(safe-area-inset-bottom, 0px);
    --safe-t: env(safe-area-inset-top, 0px);
    --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.theme-hs {
    --accent: var(--pink);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    height: 100%;
    height: 100dvh;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.35;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

button, input, a {
    font: inherit;
    color: inherit;
}

/* ===== Shell ===== */
.app-shell {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    height: 100%;
    min-height: 100dvh;
    min-height: -webkit-fill-available;
    background: var(--bg);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.04);
}

.login-shell {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.tab-page {
    display: none;
    flex: 1;
    min-height: 0;
    flex-direction: column;
    background: var(--bg);
}

.tab-page.active {
    display: flex;
}

.page-scroll {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 8px 16px 20px;
}

.login-main {
    padding: 8px 16px calc(24px + var(--safe-b));
}

/* ===== Headers ===== */
.page-header {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 48px;
    padding: calc(8px + var(--safe-t)) 12px 8px;
    background: #fff;
    border-bottom: 0.5px solid var(--separator);
}

.page-header.with-actions .page-title,
.page-header .page-title {
    grid-column: 2;
    text-align: center;
}

.page-title {
    font-size: 17px;
    font-weight: 650;
    letter-spacing: -0.2px;
}

.page-title.compact {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.header-actions {
    grid-column: 3;
    justify-self: end;
    display: flex;
    gap: 4px;
    align-items: center;
}

.header-actions.empty {
    min-width: 44px;
}

.icon-btn.left {
    grid-column: 1;
    justify-self: start;
}

.top-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: calc(10px + var(--safe-t)) 14px 4px;
    background: #fff;
}

.top-actions-right {
    display: flex;
    gap: 2px;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    color: var(--orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
}

.icon-btn svg {
    display: block;
}

.theme-pink .icon-btn,
.theme-orange .icon-btn,
.theme-hs .icon-btn {
    color: var(--pink);
}

.theme-hs .hs-add-btn {
    color: var(--pink);
}

.nav-header {
    background: #fff;
}

.nav-back,
.nav-edit {
    border: 0;
    background: transparent;
    color: var(--orange);
    font-size: 17px;
    font-weight: 400;
    cursor: pointer;
    padding: 8px 4px;
}

.nav-back {
    grid-column: 1;
    justify-self: start;
}

.nav-edit {
    grid-column: 3;
    justify-self: end;
}

.login-header-bar {
    background: #fff;
}

/* ===== Sections / Cards ===== */
.section-block {
    margin-top: 18px;
}

.section-label {
    font-size: 13px;
    font-weight: 400;
    color: var(--label);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 4px 8px;
}

.section-label.with-icon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ios-card {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 0.5px 0 rgba(0,0,0,0.04);
}

.list-card .list-row + .list-row,
.action-card .list-row + .list-row {
    border-top: 0.5px solid var(--separator);
}

.list-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    background: transparent;
    border: 0;
    text-align: left;
    min-height: 48px;
}

.list-row.link-row {
    cursor: pointer;
    text-decoration: none;
}

.list-row.link-row:active {
    background: rgba(0,0,0,0.04);
}

.row-text {
    font-size: 16px;
    color: var(--text);
}

.row-text.grow {
    flex: 1;
}

.row-stack {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.row-stack.wide {
    gap: 4px;
}

.row-stack strong {
    font-size: 16px;
    font-weight: 650;
}

.row-stack small,
.path-line {
    font-size: 13px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 15px !important;
}

.chevron {
    color: #C7C7CC;
    font-size: 22px;
    line-height: 1;
    font-weight: 300;
}

.status-ok {
    color: var(--green);
    font-size: 16px;
    font-weight: 500;
}

.row-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.orange-icon { color: var(--orange); }
.pink-icon { color: var(--orange); }
.folder-icon { color: var(--orange); }

.footnote {
    margin: 8px 4px 0;
    font-size: 12px;
    line-height: 1.4;
    color: var(--text-secondary);
}

/* ===== Toggle ===== */
.toggle {
    position: relative;
    width: 51px;
    height: 31px;
    flex-shrink: 0;
    cursor: pointer;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.toggle-track {
    position: absolute;
    inset: 0;
    background: #E9E9EB;
    border-radius: 999px;
    transition: background .2s;
}

.toggle-track::after {
    content: "";
    position: absolute;
    width: 27px;
    height: 27px;
    left: 2px;
    top: 2px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.25);
    transition: transform .2s;
}

.toggle input:checked + .toggle-track {
    background: var(--orange);
}

.toggle input:checked + .toggle-track::after {
    transform: translateX(20px);
}

.feature-toggle {
    pointer-events: auto;
}

.tab-item.is-hidden {
    display: none !important;
}

/* ===== Search ===== */
.search-wrap {
    padding: 8px 0 4px;
}

.search-field {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #E5E5EA;
    border-radius: 10px;
    padding: 9px 12px;
    color: var(--text-secondary);
}

.search-field input {
    border: 0;
    outline: 0;
    background: transparent;
    width: 100%;
    font-size: 16px;
    color: var(--text);
}

.search-field input::placeholder {
    color: #8E8E93;
}

/* ===== Patches extras ===== */
.rule-hash {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--orange);
    font-size: 12px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    max-width: 100%;
    overflow: hidden;
}

.rule-hash span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.patch-rule-row {
    align-items: flex-start;
}

.patch-rule-row .chevron {
    margin-top: 2px;
}

.accent-text {
    color: var(--orange) !important;
    font-weight: 500;
}

.restore-text {
    color: #FF3B30 !important;
    font-weight: 500;
}

.restore-icon {
    color: #FF3B30;
}

.action-row {
    cursor: pointer;
}

.action-row:active {
    background: rgba(233, 30, 140, 0.06);
}

.action-row.is-hidden {
    display: none !important;
}

/* ===== Alert modal (white) ===== */
.app-alert-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}

.app-alert-overlay[hidden] {
    display: none !important;
}

.app-alert {
    width: min(300px, 100%);
    background: #fff;
    border-radius: 16px;
    padding: 22px 18px 16px;
    text-align: center;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
    animation: appAlertIn .2s ease;
}

@keyframes appAlertIn {
    from { opacity: 0; transform: scale(0.94); }
    to { opacity: 1; transform: scale(1); }
}

.app-alert-title {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
    color: #1C1C1E;
    letter-spacing: -0.2px;
}

.app-alert-msg {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.4;
    color: #8E8E93;
}

.app-alert-btn {
    width: 100%;
    border: 0;
    border-radius: 12px;
    padding: 13px 16px;
    font-size: 16px;
    font-weight: 650;
    background: #F2F2F7;
    color: var(--orange);
    cursor: pointer;
}

.app-alert-btn.danger {
    color: #FF3B30;
}

.app-alert-btn:active {
    filter: brightness(0.96);
}

/* ===== Cleaner ===== */
.cleaner-card {
    padding: 14px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 2px;
    font-size: 15px;
}

.muted {
    color: var(--text-secondary);
}

.btn-clean {
    margin-top: 12px;
    width: 100%;
    border: 0;
    border-radius: 12px;
    padding: 14px 16px;
    background: #E5E5EA;
    color: #8E8E93;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: not-allowed;
}

/* ===== Wallpapers ===== */
.poster-card {
    padding: 14px 14px 12px;
}

.poster-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.poster-ready {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green);
    font-size: 16px;
    font-weight: 500;
}

.code-tag {
    font-size: 13px;
}

.poster-divider {
    height: 0.5px;
    background: var(--separator);
    margin: 12px 0;
}

.poster-meta {
    font-size: 13px;
    color: var(--text-secondary);
}

.empty-packages {
    padding: 28px 20px 22px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.empty-packages strong {
    font-size: 17px;
    margin-top: 4px;
}

.empty-packages p {
    font-size: 14px;
    color: var(--text-secondary);
}

.btn-soft {
    margin-top: 10px;
    border: 0;
    border-radius: 10px;
    padding: 10px 18px;
    background: var(--orange-soft);
    color: var(--orange);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
}

.btn-soft:active {
    filter: brightness(0.96);
}

/* ===== Tab bar (fix no fluxo — evita sumir atrás do Safari) ===== */
.tab-bar {
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    min-height: var(--tab-h);
    padding-bottom: max(8px, var(--safe-b));
    padding-top: 6px;
    display: grid !important;
    grid-template-columns: repeat(5, 1fr);
    background: #ffffff;
    border-top: 0.5px solid var(--separator);
    z-index: 100;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
}

.tab-bar-single {
    grid-template-columns: 1fr !important;
    justify-items: center;
}

.tab-bar-single .tab-item {
    width: 88px;
}

body.is-detail .tab-bar {
    background: #000;
    border-top-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

body.is-detail .tab-item {
    color: rgba(233, 30, 140, 0.55);
}

body.is-detail .tab-item.active {
    color: var(--pink);
}

/* Ícone HS VIP cinza enquanto o Done está aberto */
body.alert-open .tab-item,
body.alert-open .tab-item.active {
    color: #6B6B6B !important;
}

.tab-item {
    border: 0;
    background: transparent;
    color: #8E8E93;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 10px;
    font-weight: 500;
    cursor: pointer;
    min-height: 48px;
    padding: 4px 2px;
}

.tab-item.active {
    color: var(--pink);
}

.tab-item svg,
.tab-svg {
    display: block;
    flex-shrink: 0;
    width: 26px;
    height: 26px;
}

/* ===== Login ===== */
.theme-pink,
.theme-orange {
    --accent: var(--pink);
}

.login-brand-row {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 16px 14px;
}

.login-brand-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--orange-soft);
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-brand-title {
    font-size: 17px;
    display: block;
}

.login-brand-sub {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.form-card .form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 14px;
}

.form-row-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.form-row input {
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 17px;
    color: var(--text);
    width: 100%;
    padding: 4px 0;
}

.btn-accent {
    margin-top: 14px;
    width: 100%;
    border: 0;
    border-radius: 12px;
    padding: 15px 16px;
    font-size: 17px;
    font-weight: 650;
    color: #fff;
    cursor: pointer;
    background: var(--pink);
    box-shadow: 0 0 18px rgba(233, 30, 140, 0.28);
}

.btn-accent.pink,
.btn-accent.orange {
    background: var(--pink);
    box-shadow: 0 0 18px rgba(233, 30, 140, 0.28);
}

.btn-accent:active,
.btn-accent.pink:active,
.btn-accent.orange:active {
    background: #C2186A;
}

.btn-accent:disabled {
    opacity: 0.65;
    cursor: wait;
}

/* ===== Install sheet (iOS) ===== */
.install-sheet {
    position: fixed;
    inset: 0;
    z-index: 100010;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.install-sheet[hidden] {
    display: none !important;
}

.install-sheet-bg {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.install-sheet-panel {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: #fff;
    border-radius: 18px 18px 0 0;
    padding: 22px 18px calc(22px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.18);
    animation: installSheetIn .25s ease;
}

@keyframes installSheetIn {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.install-sheet-panel h2 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
}

.install-sheet-lead {
    margin: 0 0 14px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.install-steps {
    margin: 0 0 18px;
    padding-left: 20px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.55;
}

.install-steps li {
    margin-bottom: 8px;
}

.install-sheet-panel .btn-accent {
    margin-top: 0;
}

.ios-alert {
    margin: 12px 0 0;
    padding: 12px 14px;
    border-radius: var(--radius);
    font-size: 14px;
    background: #fff;
}

.ios-alert.error {
    color: #FF3B30;
    border: 0.5px solid rgba(255, 59, 48, 0.25);
}

/* ===== Toast ===== */
.toast {
    position: fixed;
    left: 50%;
    bottom: calc(var(--tab-h) + var(--safe-b) + 28px);
    transform: translateX(-50%);
    background: rgba(28,28,30,0.92);
    color: #fff;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 13px;
    z-index: 200;
    max-width: calc(100% - 40px);
    text-align: center;
}

.toast[hidden] {
    display: none;
}

/* ===== Responsive ===== */
@media (min-width: 481px) {
    body.app-page,
    body.login-page {
        background: #D8D8DE;
    }

    .app-shell {
        border-radius: 18px;
        margin-top: 12px;
        margin-bottom: 12px;
        height: calc(100dvh - 24px);
        overflow: hidden;
    }
}

@media (max-width: 360px) {
    .page-title { font-size: 15px; }
    .tab-item { font-size: 9px; }
    .row-text, .list-row { font-size: 15px; }
}

/* ===== HS VIP — Página 1 (lista) ===== */
.hs-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 48px;
    padding: calc(8px + var(--safe-t)) 12px 4px;
    background: #fff;
}

.hs-header-title {
    grid-column: 2;
    text-align: center;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.2px;
    color: var(--text);
}

.hs-add-btn {
    grid-column: 3;
    justify-self: end;
}

.patch-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 8px;
}

.patch-card {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    background: #fff;
    border: 0;
    border-radius: 14px;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 0.5px 0 rgba(0, 0, 0, 0.04);
}

.patch-card:active {
    background: #f7f7f8;
}

.patch-card[hidden] {
    display: none !important;
}

.patch-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: linear-gradient(145deg, #ffb6d9, #f48fb1);
    color: var(--pink-deep);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.patch-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.patch-card-body small {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Efeito do título: cor começa verde e o brilho percorre o texto */
.patch-title-fx {
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
    background-image: linear-gradient(
        90deg,
        #39D353 0%,
        #39D353 18%,
        #C8FF6A 28%,
        #8B1A1A 42%,
        #E53935 52%,
        #8B1A1A 62%,
        #39D353 76%,
        #7CFF9A 88%,
        #39D353 100%
    );
    background-size: 220% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: patchFxSweep 2.8s linear infinite;
    filter: drop-shadow(0 0 6px rgba(57, 211, 83, 0.35));
}

@keyframes patchFxSweep {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.patch-card-trail {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    color: #AEAEB2;
}

.key-icon {
    opacity: 0.85;
}

/* ===== HS VIP — Página 2 (detalhe escuro) ===== */
.page-detail {
    background: #000 !important;
    color: var(--pink);
}

.detail-header {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: calc(10px + var(--safe-t)) 8px 8px 4px;
    background: #000;
}

.detail-back {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    border: 0;
    background: transparent;
    color: var(--pink);
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 6px;
}

.detail-back:active {
    opacity: 0.7;
}

.detail-scroll {
    padding-top: 12px;
}

.detail-section {
    margin-bottom: 22px;
}

.detail-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--pink);
    opacity: 0.85;
    margin: 0 4px 10px;
}

.detail-password-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--pink);
    font-size: 16px;
    font-weight: 500;
    padding: 0 4px;
}

.detail-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 4px;
}

.hs-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1.5px solid var(--pink);
    background: transparent;
    color: var(--pink);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
}

.hs-action-btn:active {
    background: rgba(233, 30, 140, 0.12);
}

.hs-action-btn.is-hidden {
    display: none !important;
}

.hs-action-btn svg {
    flex-shrink: 0;
}

/* ===== Action sheet (iOS) ===== */
.action-sheet {
    position: fixed;
    inset: 0;
    z-index: 100020;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 10px calc(10px + var(--safe-b));
    box-sizing: border-box;
}

.action-sheet[hidden] {
    display: none !important;
}

.action-sheet-bg {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.action-sheet-panel {
    position: relative;
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    animation: sheetUp .28s ease;
}

@keyframes sheetUp {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.action-sheet-group {
    background: rgba(242, 242, 247, 0.94);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 14px;
    overflow: hidden;
    text-align: center;
}

.action-sheet-title {
    margin: 0;
    padding: 14px 18px 6px;
    font-size: 13px;
    font-weight: 600;
    color: #8E8E93;
}

.action-sheet-msg {
    margin: 0;
    padding: 0 18px 14px;
    font-size: 13px;
    line-height: 1.4;
    color: #8E8E93;
}

.action-sheet-msg[hidden] {
    display: none !important;
}

.action-sheet-msg[hidden] + .action-sheet-confirm {
    /* ok */
}

.action-sheet-group:has(.action-sheet-msg[hidden]) .action-sheet-title {
    padding-bottom: 14px;
}

.action-sheet-confirm {
    display: block;
    width: 100%;
    border: 0;
    border-top: 0.5px solid rgba(60, 60, 67, 0.18);
    border-radius: 0;
    padding: 18px 16px;
    font-size: 20px;
    font-weight: 600;
    color: var(--pink);
    background: transparent;
    cursor: pointer;
}

.action-sheet-confirm.danger {
    color: #FF3B30;
}

.action-sheet-cancel {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 14px;
    padding: 18px 16px;
    font-size: 20px;
    font-weight: 700;
    color: var(--pink);
    background: rgba(242, 242, 247, 0.96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    cursor: pointer;
}

.action-sheet-confirm:active,
.action-sheet-cancel:active {
    background: rgba(0, 0, 0, 0.04);
}

/* Alert Done — botão azul estilo iOS */
.app-alert {
    padding: 20px 0 0;
}

.app-alert-title {
    padding: 0 18px;
}

.app-alert-msg {
    padding: 0 18px;
    margin-bottom: 16px;
}

.app-alert-btn {
    width: 100%;
    border: 0;
    border-top: 0.5px solid rgba(60, 60, 67, 0.18);
    border-radius: 0 0 16px 16px;
    padding: 14px 16px;
    font-size: 17px;
    font-weight: 600;
    background: transparent;
    color: #007AFF;
    cursor: pointer;
}

.app-alert-btn.danger {
    color: #FF3B30;
}

.app-alert-btn:active {
    background: rgba(0, 0, 0, 0.04);
    filter: none;
}

body.is-detail .app-shell {
    background: #000;
}
