.ios-app-card { margin: 20px 0 32px; padding: 24px; border: 1px solid var(--border-color); border-radius: 20px; background: var(--bg-card); color: var(--text-primary); }
.ios-app-card h3 { margin: 8px 0 14px; font-size: 24px; color: var(--text-heading); }
.ios-app-card p, .ios-launch-dialog p { line-height: 1.8; overflow-wrap: anywhere; }
.ios-app-download { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 20px; border-radius: 12px; background: var(--accent); color: var(--btn-primary-text); font-weight: 600; text-decoration: none; box-sizing: border-box; text-align: center; }
.ios-launch-badge { color: var(--accent); font-size: 13px; font-weight: 600; }
.ios-launch-bonus { color: var(--accent); font-weight: 700; font-size: 20px; }
.ios-launch-dialog { width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); padding: 28px; box-sizing: border-box; border: 1px solid var(--border-color); border-radius: 24px; background: var(--bg-body); color: var(--text-primary); overflow-y: auto; box-shadow: 0 24px 80px var(--shadow-color); }
.ios-launch-dialog::backdrop { background: rgba(0, 0, 0, .65); }
.ios-launch-dialog h2 { font-size: 28px; margin: 12px 0; color: var(--text-heading); }
.ios-launch-actions { display: grid; gap: 12px; text-align: center; }
.ios-launch-actions > a:not(.ios-app-download) { color: var(--accent); padding: 10px; }
.ios-launch-actions button { min-height: 44px; background: transparent; border: 1px solid var(--border-color); border-radius: 12px; color: var(--text-secondary); font: inherit; cursor: pointer; }
.ios-launch-actions :focus-visible, .ios-app-download:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 480px) { .ios-app-card { padding: 20px; } .ios-app-card .ios-app-download { width: 100%; } .ios-launch-dialog { padding: 22px; } }

.script-retirement-notice { margin: 18px 0; padding: 16px; border: 1px solid var(--border-color); border-left: 3px solid var(--accent); border-radius: 12px; color: var(--text-primary); background: var(--bg-card); line-height: 1.8; }

.ios-app-guide__content { min-width: 0; }
.ios-app-guide .guide-app-version { display: inline-flex; align-items: center; border: 1px solid rgba(var(--accent-rgb), .25); border-radius: 999px; padding: 3px 9px; font-size: 11px; font-weight: 700; line-height: 1.5; background: rgba(var(--accent-rgb), .1); color: var(--accent); }
.ios-app-guide__heading { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.guide-page.guide-mobile .ios-app-guide__heading h3 { margin: 0; }
.ios-channel-badge { color: var(--text-secondary); font-size: 12px; font-weight: 500; }
.ios-app-guide__steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; list-style: none; counter-reset: ios-install; padding: 0; margin: 20px 0; }
.ios-app-guide__steps li { display: flex; align-items: center; gap: 10px; counter-increment: ios-install; color: var(--text-primary); font-size: 13px; line-height: 1.5; min-width: 0; }
.ios-app-guide__steps li::before { content: counter(ios-install); display: grid; place-items: center; width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%; background: rgba(var(--accent-rgb), .12); color: var(--accent); font-weight: 700; }
.ios-bonus-details { min-width: 0; grid-column: 1 / -1; padding: 12px 14px; border: 1px solid rgba(var(--accent-rgb), .2); border-radius: 12px; background: rgba(var(--accent-rgb), .06); }
.ios-bonus-details summary { display: flex; align-items: center; gap: 8px; color: var(--accent); font-size: 13px; line-height: 1.6; font-weight: 650; list-style: none; cursor: pointer; }
.ios-bonus-details summary::-webkit-details-marker { display: none; }
.ios-bonus-details summary::after { content: "+"; margin-left: auto; font-size: 18px; }
.ios-bonus-details[open] summary::after { content: "−"; }
.ios-bonus-details summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.guide-page.guide-mobile .ios-bonus-details p, .download-hub-panel .ios-bonus-details p { display: block; margin: 10px 0 0; color: var(--text-secondary); font-size: 12px; font-weight: 400; line-height: 1.7; letter-spacing: normal; overflow-wrap: anywhere; }
.download-hub-panel .ios-bonus-details p::before { display: none; }
.download-hub-panel .member-download-group--ios .member-download-btn--ghost { grid-column: 1 / -1; }
@media (max-width: 560px) { .ios-app-guide__steps { grid-template-columns: minmax(0, 1fr); gap: 10px; } }
