/* LunaKey customer shell. Solid content surfaces; glass is reserved for navigation. */
:root {
  --ios-bg: #f5f5f7;
  --ios-canvas: var(--ios-bg);
  --ios-surface: #fff;
  --ios-text: #1d1d1f;
  --ios-ink: var(--ios-text);
  --ios-muted: #6e6e73;
  --ios-border: #e2e2e7;
  --ios-line: var(--ios-border);
  --ios-blue: #0071e3;
  --ios-blue-hover: #0077ed;
  --ios-blue-soft: #e8f2ff;
  --ios-yellow: #f3c647;
  --ios-radius: 24px;
  --ios-shadow: 0 8px 30px rgba(29, 29, 31, .035);
  --bg: var(--ios-bg);
  --surface: var(--ios-surface);
  --text: var(--ios-text);
  --muted: var(--ios-muted);
  --accent: var(--ios-blue);
}

/* Typography, controls, and the existing utility-based forms. */
html { scroll-padding-top: 144px; -webkit-text-size-adjust: 100%; }
body.ios26 { margin: 0; background: var(--ios-bg); color: var(--ios-text); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif; font-size: 18px; line-height: 1.6; -webkit-tap-highlight-color: transparent; }
body.ios26 * { box-sizing: border-box; }
body.ios26 h1, body.ios26 h2, body.ios26 h3, body.ios26 h4, body.ios26 .font-display { font-family: inherit; letter-spacing: -.035em; line-height: 1.2; }
body.ios26 h1 { font-size: clamp(34px, 4vw, 54px); font-weight: 750; }
body.ios26 h2 { font-size: clamp(27px, 2.8vw, 36px); font-weight: 720; }
body.ios26 h3 { font-size: 24px; font-weight: 700; }
body.ios26 h4 { font-size: 20px; font-weight: 700; }
body.ios26 p { overflow-wrap: anywhere; }
body.ios26 img { max-width: 100%; }
body.ios26 button, body.ios26 input, body.ios26 select, body.ios26 textarea { font-family: inherit; }
body.ios26 button, body.ios26 input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=range]):not([type=hidden]), body.ios26 select { min-height: 48px; }
body.ios26 input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=range]), body.ios26 select, body.ios26 textarea { font-size: 18px; line-height: 1.5; }
body.ios26 input::placeholder, body.ios26 textarea::placeholder { color: #76767c; opacity: 1; }
body.ios26 input[type=checkbox], body.ios26 input[type=radio] { accent-color: var(--ios-blue); width: 20px; height: 20px; }
body.ios26 label { font-size: 17px; line-height: 1.45; }
body.ios26 :focus-visible { outline: 3px solid var(--ios-blue); outline-offset: 4px; }
body.ios26 ::selection { background: #d7eaff; color: #1d1d1f; }
body.ios26 .text-xs, body.ios26 .text-\[9px\], body.ios26 .text-\[10px\], body.ios26 .text-\[11px\], body.ios26 .text-\[12px\], body.ios26 .text-\[13px\] { font-size: 16px; line-height: 1.5; }
body.ios26 .text-sm, body.ios26 .text-base { font-size: 18px; line-height: 1.5; }
body.ios26 .font-extrabold, body.ios26 .font-black { font-weight: 700; }
body.ios26 .border-dashed { border-style: solid; }
body.ios26 .border-2 { border-width: 1px; }
body.ios26 .shadow-cute, body.ios26 .shadow-cuter, body.ios26 .shadow-pop, body.ios26 .shadow-honey { box-shadow: var(--ios-shadow); }
body.ios26 .floaty, body.ios26 .sticker, body.ios26 .mascot-wiggle, body.ios26 .animate-bounce, body.ios26 .animate-pulse { animation: none; transform: none; }
body.ios26 .btn-press { transition: background-color .15s, box-shadow .15s; }
body.ios26 .btn-press:active { transform: none; }
body.ios26 .bg-honey-400.text-white, body.ios26 .bg-honey-500.text-white { color: #372900; }
body.ios26 .bg-gradient-to-r, body.ios26 .bg-gradient-to-tr, body.ios26 .bg-gradient-to-br { background-image: none; }
body.ios26 .bg-gradient-to-r.text-white, body.ios26 .bg-gradient-to-tr.text-white, body.ios26 .bg-gradient-to-br.text-white { background-color: var(--ios-blue); color: #fff; }
body.ios26 .bg-gradient-to-r.from-sakura-300 { background-color: var(--ios-blue); }
body.ios26 .bg-gradient-to-r.from-honey-100, body.ios26 .bg-gradient-to-br.from-honey-100 { background-color: #fff8e2; }
body.ios26 .bg-gradient-to-r.from-sakura-100 { background-color: var(--ios-blue-soft); }
body.ios26 .overflow-x-auto { overscroll-behavior-inline: contain; }
body.ios26 th, body.ios26 td { font-size: 16px; line-height: 1.5; padding-top: 16px; padding-bottom: 16px; }
body.ios26 th { font-weight: 650; }
body.ios26 pre { font-size: 16px; line-height: 1.6; overflow-x: auto; }
body.ios26 code { overflow-wrap: anywhere; }

/* Common surfaces and actions. */
.ios-skip { position: fixed; left: 16px; top: -100px; z-index: 1000; background: #fff; padding: 12px 18px; border-radius: 99px; color: #0062c4; }
.ios-skip:focus { top: 12px; }
.ios-main { flex: 1; min-width: 0; }
.ios-container { max-width: 1280px; margin: auto; padding: 0 24px; }
.ios-card, .ios-panel { background: var(--ios-surface); border: 1px solid var(--ios-border); border-radius: var(--ios-radius); padding: 28px; box-shadow: var(--ios-shadow); }
.ios-grid { display: grid; gap: 24px; }
.ios-help { font-size: 17px; line-height: 1.6; color: var(--ios-muted); }
.ios-eyebrow { color: var(--ios-blue); font-weight: 650; font-size: 15px; letter-spacing: .04em; }
.ios-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 12px 22px; border: 1px solid var(--ios-border); border-radius: 999px; background: #fff; color: var(--ios-text); font-size: 17px; font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1.4; text-align: center; transition: background-color .15s; }
.ios-button:hover { background: #f0f0f3; }
.ios-button.primary, .ios-button--primary { background: var(--ios-blue); border-color: var(--ios-blue); color: #fff; }
.ios-button.primary:hover, .ios-button--primary:hover { background: var(--ios-blue-hover); border-color: var(--ios-blue-hover); }
.ios-button.secondary, .ios-button--secondary { background: var(--ios-blue-soft); border-color: transparent; color: #0062c4; }
.ios-button.danger { background: #fff0f0; border-color: #f3c3c3; color: #b02130; }
.ios-button:disabled { opacity: .55; cursor: not-allowed; }
.ios-field { width: 100%; border: 1px solid #d2d2d7; border-radius: 15px; background: #fff; color: var(--ios-text); padding: 13px 16px; min-height: 52px; }
.ios-notice { padding: 16px 20px; border: 1px solid #d7e7f9; border-radius: 18px; background: #f0f6ff; color: #244b73; line-height: 1.6; }
.ios-notice.error { border-color: #f0c8cd; background: #fff1f3; color: #a92539; }
.ios-inline-link { color: #0062c4; text-decoration: underline; text-underline-offset: 3px; }
.ios-announcement { padding: 10px 24px; text-align: center; background: var(--ios-blue-soft); border-bottom: 1px solid #d9e8f9; font-size: 16px; color: #27537e; }

/* Customer navigation. Desktop has five everyday actions and a native More menu. */
.ios-site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .9); border-bottom: 1px solid rgba(210, 210, 215, .8); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.ios-header-inner { max-width: 1280px; margin: auto; padding: 14px 24px 8px; }
.ios-nav-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-width: 0; }
.ios-brand { display: inline-flex; align-items: center; gap: 11px; min-width: 0; text-decoration: none; color: var(--ios-text); }
.ios-brand-mark { width: 44px; height: 44px; flex: none; display: grid; place-items: center; background: var(--ios-blue); border-radius: 14px; color: #fff; font-size: 26px; font-weight: 750; line-height: 1; letter-spacing: -.06em; }
.ios-brand-copy { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.ios-brand-name { font-size: 22px; font-weight: 730; letter-spacing: -.04em; }
.ios-brand-subtitle { font-size: 13px; color: var(--ios-muted); margin-top: 3px; letter-spacing: .01em; }
.ios-header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.ios-header-actions .ios-button { min-height: 48px; padding: 10px 18px; font-size: 16px; }
.ios-wallet { display: flex; align-items: center; gap: 8px; min-height: 48px; border: 1px solid var(--ios-border); background: #f5f5f7; border-radius: 99px; padding: 10px 15px; color: var(--ios-text); font-weight: 650; font-size: 16px; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ios-wallet i { color: var(--ios-blue); }
.ios-wallet #user-balance-display { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ios-quota { font-size: 16px; color: var(--ios-muted); padding: 8px 10px; white-space: nowrap; }
.ios-icon-button { min-width: 48px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ios-border); border-radius: 99px; background: #fff; color: var(--ios-text); font-size: 20px; cursor: pointer; }
.ios-desktop-nav { display: flex; align-items: center; justify-content: center; gap: 5px; padding-top: 10px; margin-top: 10px; border-top: 1px solid var(--ios-border); }
.ios-nav-link { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 15px; border-radius: 99px; color: #56565d; font-size: 16px; font-weight: 550; text-decoration: none; white-space: nowrap; }
.ios-nav-link i { font-size: 15px; width: 18px; text-align: center; }
.ios-nav-link:hover { background: #f1f1f4; color: var(--ios-text); }
.ios-nav-link[aria-current=page], .ios-nav-link[data-active=true] { background: var(--ios-blue-soft); color: #0062c4; }
.ios-nav-more { position: relative; }
.ios-nav-more summary { list-style: none; cursor: pointer; user-select: none; }
.ios-nav-more summary::-webkit-details-marker { display: none; }
.ios-nav-more summary i { width: auto; margin-left: 2px; font-size: 12px; transition: transform .15s; }
.ios-nav-more[open] summary i { transform: rotate(180deg); }
.ios-more-links { position: absolute; top: calc(100% + 10px); right: 0; min-width: 230px; padding: 8px; border: 1px solid var(--ios-border); border-radius: 20px; background: #fff; box-shadow: 0 12px 40px rgba(29, 29, 31, .12); }
.ios-more-links .ios-nav-link { border-radius: 13px; }
.ios-menu-button { display: none; }
.ios-mobile-menu { border-top: 1px solid var(--ios-border); padding: 16px 20px; max-height: calc(100dvh - 82px); overflow-y: auto; background: #fff; }
.ios-mobile-menu.hidden, .ios-user-dropdown.hidden { display: none; }
.ios-mobile-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ios-mobile-menu .ios-nav-link { background: #f5f5f7; white-space: normal; font-size: 16px; min-height: 54px; border-radius: 15px; }
.ios-mobile-menu .ios-nav-link[aria-current=page] { background: var(--ios-blue-soft); }
.ios-mobile-account { display: flex; gap: 12px; align-items: center; justify-content: space-between; border-top: 1px solid var(--ios-border); margin-top: 16px; padding-top: 16px; min-width: 0; }
.ios-mobile-account > div { min-width: 0; overflow-wrap: anywhere; }
.ios-mobile-account .ios-button { flex: 1; }
.ios-user-menu { position: relative; }
.ios-user-dropdown { position: absolute; right: 0; top: calc(100% + 12px); width: 290px; max-width: calc(100vw - 40px); background: #fff; padding: 10px; border: 1px solid var(--ios-border); border-radius: 20px; box-shadow: 0 12px 40px rgba(29, 29, 31, .12); z-index: 50; }
.ios-user-info { padding: 12px; border-bottom: 1px solid var(--ios-border); margin-bottom: 6px; overflow-wrap: anywhere; }
.ios-user-info small { display: block; color: var(--ios-muted); font-size: 15px; }
.ios-user-dropdown a { display: flex; align-items: center; gap: 10px; padding: 12px; min-height: 48px; border-radius: 13px; color: var(--ios-text); font-size: 16px; text-decoration: none; }
.ios-user-dropdown a:hover { background: #f5f5f7; }
.ios-username { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Footer. */
.ios-site-footer { margin-top: 80px; border-top: 1px solid var(--ios-border); background: #fff; padding: 48px 0 24px; }
.ios-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.ios-site-footer .ios-footer-title { font-size: 19px; font-weight: 650; margin: 0 0 14px; letter-spacing: -.025em; }
.ios-site-footer p { color: var(--ios-muted); font-size: 17px; margin: 18px 0; line-height: 1.65; }
.ios-footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 3px; }
.ios-footer-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 16px; color: #56565d; text-decoration: none; }
.ios-footer-links a:hover { text-decoration: underline; color: var(--ios-blue); }
.ios-support-link { display: flex; align-items: center; gap: 12px; padding: 13px 16px; margin-bottom: 10px; border: 1px solid var(--ios-border); border-radius: 15px; background: #f5f5f7; color: #38383d; text-decoration: none; min-height: 52px; }
.ios-support-link i { color: var(--ios-blue); }
.ios-footer-bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; border-top: 1px solid var(--ios-border); margin-top: 36px; padding-top: 22px; color: var(--ios-muted); font-size: 15px; }

/* Login, registration, and installation guides. */
.ios-auth { max-width: 540px; margin: 60px auto; padding: 0 20px; }
.ios-auth .ios-card { padding: 36px; }
.ios-auth h1 { font-size: 34px !important; margin: 18px 0 10px; }
.ios-auth-head { margin-bottom: 28px; }
.ios-auth-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 20px; background: var(--ios-blue-soft); color: var(--ios-blue); font-size: 24px; }
.ios-auth-form { display: grid; gap: 20px; }
.ios-auth-form label { display: block; font-weight: 600; margin-bottom: 8px; }
.ios-password { position: relative; }
.ios-password .ios-field { padding-right: 62px; }
.ios-password button { position: absolute; right: 4px; top: 4px; border: 0; background: transparent; width: 46px; min-height: 46px !important; border-radius: 12px; color: #56565d; }
.ios-auth-bottom { border-top: 1px solid var(--ios-border); margin-top: 28px; padding-top: 22px; text-align: center; color: var(--ios-muted); font-size: 17px; }
.ios-demo { margin-top: 24px; font-size: 16px; color: var(--ios-muted); }
.ios-demo summary { cursor: pointer; min-height: 44px; padding: 8px 0; }
.ios-demo-buttons { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.ios-guide { max-width: 1120px; padding: 54px 24px 0; margin: auto; }
.ios-guide-intro { max-width: 780px; margin-bottom: 32px; }
.ios-guide-intro h1 { margin: 12px 0 18px; }
.ios-guide-download { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 28px; background: #edf5ff; border-color: #d7e7f9; }
.ios-guide-download > div { max-width: 640px; }
.ios-guide-download h2 { font-size: 26px !important; margin: 0 0 12px; }
.ios-guide-download .ios-button { flex: none; }
.ios-guide-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.ios-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; counter-reset: guide; }
.ios-step { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 18px; padding: 26px; }
.ios-step-number { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: var(--ios-blue-soft); color: #0062c4; font-size: 22px; font-weight: 650; }
.ios-step h2 { font-size: 23px !important; margin: 2px 0 14px; }
.ios-step p { font-size: 18px; line-height: 1.7; margin: 10px 0; }
.ios-path { display: block; padding: 12px 14px; border: 1px solid var(--ios-border); border-radius: 14px; background: #f5f5f7; color: #38383d; font-weight: 600; overflow-wrap: anywhere; }
.ios-guide-aside { text-align: center; padding: 26px; }
.ios-guide-aside h2 { font-size: 22px !important; margin: 0 0 12px; }
.ios-guide-aside img { width: 230px; height: 230px; border-radius: 16px; margin: 18px auto; background: #fff; }
.ios-guide-aside .ios-button { width: 100%; }
.ios-guide-video { margin-top: 28px; }
.ios-guide-video h2 { font-size: 28px !important; margin: 0 0 20px; }
.ios-video-wrap { position: relative; width: 100%; max-width: 850px; margin: auto; aspect-ratio: 16/9; overflow: hidden; border-radius: 20px; background: #1d1d1f; }
.ios-video-wrap.short { aspect-ratio: 9/16; max-width: 340px; }
.ios-video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ios-guide-faq { margin-top: 28px; }
.ios-guide-faq details { border-bottom: 1px solid var(--ios-border); padding: 16px 0; }
.ios-guide-faq details:last-child { border: 0; }
.ios-guide-faq summary { font-size: 19px; font-weight: 600; min-height: 44px; cursor: pointer; }
.ios-guide-faq p { font-size: 17px; color: var(--ios-muted); line-height: 1.7; margin: 12px 0; }
.ios-guide-end { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 28px; }

/* Shared admin pages retain their existing layout and readable forms. */
.ios-admin { display: flex; min-height: 100vh; flex-direction: row; }
.ios-admin-sidebar { position: sticky; top: 0; width: 290px; height: 100dvh; flex: none; border-right: 1px solid var(--ios-border); background: #fff; display: flex; flex-direction: column; z-index: 50; }
.ios-admin-brand { display: flex; align-items: center; justify-content: space-between; padding: 24px 20px; border-bottom: 1px solid var(--ios-border); }
.ios-admin-brand .ios-brand-name { font-size: 20px; }
.ios-admin-nav { padding: 14px; flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 5px; }
.ios-admin-nav .ios-nav-link { white-space: normal; min-height: 50px; line-height: 1.4; font-size: 17px; padding: 12px; border-radius: 14px; }
.ios-admin-nav .ios-nav-link[aria-current=page] { background: var(--ios-blue-soft); }
.ios-admin-nav .ios-nav-link i { font-size: 17px; width: 22px; }
.ios-admin-divider { border-top: 1px solid var(--ios-border); margin: 12px 0; }
.ios-admin-profile { padding: 20px; font-size: 16px; color: var(--ios-muted); border-top: 1px solid var(--ios-border); overflow-wrap: anywhere; }
.ios-admin-body { flex: 1; min-width: 0; }
.ios-admin-toolbar { position: sticky; top: 0; background: rgba(255, 255, 255, .92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); z-index: 30; min-height: 80px; padding: 16px 28px; border-bottom: 1px solid var(--ios-border); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ios-admin-toolbar-title { font-size: 19px; font-weight: 600; }
.ios-admin-toolbar-group { display: flex; align-items: center; gap: 12px; }
.ios-admin-main { padding: 32px; max-width: 1650px; margin: auto; min-width: 0; }
.ios-admin-backdrop { position: fixed; inset: 0; background: rgba(29, 29, 31, .4); z-index: 45; }
.ios-admin-backdrop.hidden { display: none; }
.ios-admin-menu, .ios-admin-close { display: none; }
.ios-admin-main .overflow-x-auto { border-radius: 16px; }
.ios-admin-main button { font-size: 16px; }
.ios-admin-main .text-cocoa-300 { color: #6e6e73; }
.ios-admin-main [class*="grid-cols-"] > * { min-width: 0; }

/* Existing confirmation dialogs use the same action language. */
body.ios26 .swal2-popup { background: #fff !important; color: var(--ios-text) !important; border: 1px solid var(--ios-border) !important; border-radius: 24px !important; font-size: 18px !important; }
body.ios26 .swal2-title { font-size: 28px !important; }
body.ios26 .swal2-html-container { font-size: 18px !important; line-height: 1.6 !important; }
body.ios26 .swal2-styled { font-size: 17px !important; min-height: 48px; border-radius: 99px !important; }
body.ios26 .swal2-confirm { background: var(--ios-blue) !important; }
body.ios26 .swal2-cancel { background: #ededf0 !important; color: #38383d !important; }

/* Responsive navigation, cards, and existing account screens. */
@media (min-width: 1100px) { .ios-mobile-menu { display: none !important; } }
@media (max-width: 1099px) {
  html { scroll-padding-top: 100px; }
  .ios-desktop-nav { display: none; }
  .ios-menu-button { display: inline-flex; }
  .ios-header-inner { padding: 14px 20px; }
  .ios-quota { display: none; }
  .ios-nav-row { gap: 12px; }
  .ios-header-actions { gap: 8px; }
  .ios-header-actions .ios-header-admin { display: none; }
}
@media (max-width: 800px) {
  .ios-header-actions .ios-user-menu { display: none; }
  .ios-admin-sidebar { position: fixed; inset: 0 auto 0 0; transform: translateX(-100%); width: min(320px, calc(100vw - 36px)); transition: transform .2s; }
  .ios-admin-sidebar.is-open { transform: none; }
  .ios-admin-menu, .ios-admin-close { display: inline-flex; }
  .ios-admin-toolbar { padding: 14px 18px; }
  .ios-admin-main { padding: 24px 18px; }
  .ios-admin-toolbar .ios-button { display: none; }
  .ios-guide-grid { grid-template-columns: minmax(0, 1fr); }
  .ios-guide-aside { display: none; }
  .ios-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .ios-footer-grid > div:first-child { grid-column: 1/-1; }
  .ios-guide-download { align-items: stretch; flex-direction: column; gap: 18px; }
  .ios-guide-download .ios-button { align-self: flex-start; }
  .ios-site-footer { margin-top: 54px; }
}
@media (max-width: 639px) {
  body.ios26 { font-size: 17px; }
  body.ios26 h1 { font-size: 34px; }
  body.ios26 h2 { font-size: 28px; }
  body.ios26 h3 { font-size: 23px; }
  .ios-container { padding: 0 20px; }
  .ios-header-inner { padding: 13px 16px; }
  .ios-brand { gap: 10px; min-width: 0; }
  .ios-brand-mark { height: 42px; width: 42px; font-size: 25px; border-radius: 13px; }
  .ios-brand-name { font-size: 21px; }
  .ios-brand-subtitle { font-size: 12px; }
  .ios-header-actions { gap: 7px; }
  .ios-header-actions .ios-user-menu, .ios-header-auth, .ios-header-admin { display: none; }
  .ios-wallet { font-size: 14px; padding: 8px 10px; gap: 5px; max-width: 130px; overflow: hidden; }
  .ios-wallet .ios-wallet-label, .ios-wallet i { display: none; }
  .ios-menu-button { min-height: 48px; min-width: 48px; }
  .ios-mobile-menu { padding: 16px; }
  .ios-mobile-links { gap: 7px; }
  .ios-mobile-menu .ios-nav-link { padding: 10px; font-size: 16px; gap: 7px; }
  .ios-card, .ios-panel { padding: 22px; border-radius: 23px; }
  .ios-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .ios-footer-grid > div:first-child { grid-column: auto; }
  .ios-site-footer { padding-top: 36px; }
  .ios-auth { margin: 36px auto; padding: 0 16px; }
  .ios-auth .ios-card { padding: 26px 22px; }
  .ios-auth h1 { font-size: 30px !important; }
  .ios-auth-bottom { text-align: left; }
  .ios-guide { padding: 36px 18px 0; }
  .ios-guide-intro h1 { font-size: 34px !important; }
  .ios-guide-intro { margin-bottom: 24px; }
  .ios-guide-download { padding: 22px; }
  .ios-guide-download h2 { font-size: 24px !important; }
  .ios-guide-download .ios-button { width: 100%; }
  .ios-step { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 22px 18px; }
  .ios-step-number { width: 36px; height: 36px; font-size: 19px; border-radius: 12px; }
  .ios-step h2 { font-size: 22px !important; }
  .ios-step p { font-size: 17px; }
  .ios-path { font-size: 16px; padding: 11px; }
  .ios-guide-video { padding: 22px 18px; }
  .ios-guide-end .ios-button { width: 100%; }
  .ios-guide-faq { padding: 22px 18px; }
  .ios-guide-faq h2 { font-size: 25px !important; }
  .ios-admin-main { padding: 24px 14px; }
  .ios-admin-toolbar { gap: 8px; padding: 12px 14px; }
  .ios-admin-toolbar-title { font-size: 17px; }
  .ios-admin-main h1 { font-size: 29px !important; }
  .ios-admin-main h2 { font-size: 25px !important; }
  .ios-admin-main .p-6, .ios-admin-main .p-8 { padding: 20px; }
  .ios-admin-main input, .ios-admin-main select { max-width: 100%; }
  .ios-admin-profile { font-size: 16px; }
}
@media (max-width: 359px) { .ios-header-actions .ios-wallet { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  body.ios26 *, body.ios26 *:before, body.ios26 *:after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-transparency: reduce) { .ios-site-header, .ios-admin-toolbar { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; } }
@media (prefers-contrast: more) {
  :root { --ios-border: #8995a8; --ios-muted: #424249; }
  .ios-site-header, .ios-admin-toolbar { background: #fff; backdrop-filter: none; }
  .ios-button { border-width: 2px; }
  .ios-help { color: #424249; }
}
@media (forced-colors: active) {
  .ios-site-header, .ios-card, .ios-panel, .ios-button, .ios-field { border: 1px solid CanvasText; }
  .ios-nav-link[aria-current=page] { outline: 2px solid Highlight; }
  .ios-brand-mark { forced-color-adjust: none; background: Highlight; color: HighlightText; }
}
