/* iOS 26 system surfaces. App content retains its own visual identity. */
:root {
  --blue: #0088ff;
  --glass: linear-gradient(155deg, #ffffffbd, #ffffff9e 55%, #ffffffb0);
  --glass-border: #ffffff9c;
  --glass-shadow: 0 8px 28px #26272d17, inset 0 0 0 .5px #ffffffcc;
  --glass-filter: blur(30px) saturate(1.55);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.device { -webkit-touch-callout: none; }
.status-time { font-size: 16px; font-weight: 650; top: 20px; letter-spacing: -.5px; }
.status-icons { right: 29px; gap: 6px; }
.island { width: 119px; height: 35px; top: 11px; border-radius: 24px; }
.lens { right: 12px; top: 11px; width: 10px; height: 10px; opacity: .65; }
.battery { width: 25px; height: 12px; border-radius: 3.5px; border-color: #ffffff80; }
.battery span { width: 19px; border-radius: 1.5px; }
.device[data-mode="app"]:not(.dark-app) .battery { border-color: #16171b70; }
.control-center-trigger { position: absolute; top: 0; right: 8px; width: 95px; height: 54px; z-index: 48; border-radius: 0 0 24px 24px; touch-action: none; }
.control-center-trigger:focus-visible { outline-offset: -5px; }
.wallpaper { transition: filter .45s, transform .65s cubic-bezier(.2,.8,.2,1); }
.device[data-mode="home"] .wallpaper { filter: saturate(.9) brightness(.88); transform: scale(1.025); }
.lock-screen { background: linear-gradient(#0c26361a, transparent 42%, #0c203321); }
.lock-top { position: relative; width: 100%; margin-top: 96px; padding: 0 16px; }
.lock-mark { position: absolute; width: 15px; height: 19px; top: -32px; left: calc(50% - 7.5px); margin: 0; opacity: .9; }
.lock-date { font-size: 20px; line-height: 26px; font-weight: 580; letter-spacing: -.55px; }
/* A fixed SVG viewport keeps the tall lock digits inside the screen. */
.lock-time.lock-time-accessible { position: absolute; top: 0; left: 0; width: 1px; max-width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; font-size: 1px; line-height: 1px; letter-spacing: 0; text-shadow: none; }
.lock-top { margin-top: 92px; padding: 0 12px; flex-shrink: 0; }
.lock-date { font-size: 17px; line-height: 24px; font-weight: 550; letter-spacing: -.35px; }
.lock-clock { display: block; width: 100%; height: clamp(225px,36dvh,304px); margin-top: 1px; overflow: hidden; filter: drop-shadow(0 2px 5px #0002); }
.lock-screen { background: linear-gradient(#00000008,transparent 50%,#00000010); }
.wallpaper { background-image: linear-gradient(180deg,#0000000a,transparent 50%,#00000020),var(--wallpaper); }
.lock-notifications { gap: 9px; padding-bottom: 90px; width: calc(100% - 24px); }
.notification { border-radius: 29px; padding: 14px; gap: 12px; background: var(--glass); border: .5px solid var(--glass-border); box-shadow: var(--glass-shadow); backdrop-filter: var(--glass-filter); -webkit-backdrop-filter: var(--glass-filter); }
.notification-title { font-size: 14px; letter-spacing: -.25px; }
.notification-title time { font-size: 11px; }
.notification-copy p { font-size: 13px; line-height: 1.45; }
.notification .app-icon { width: 39px; height: 39px; border-radius: 11px; }
.unlock-button { bottom: 44px; font-size: 13px; font-weight: 550; letter-spacing: -.2px; }
.unlock-button .icon { display: none; }
.home-screen { padding: 79px 25px 129px; transition: transform .45s, filter .4s; }
.app-grid { column-gap: 20px; row-gap: 25px; }
.app-tile { gap: 7px; }
.app-icon { width: 62px; height: 62px; border-radius: 16px; box-shadow: 0 3px 7px #00101b21, inset 0 0 0 .5px #ffffff65; transition: transform .2s, filter .2s; }
.app-icon::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(145deg,#ffffff38,transparent 40%,transparent 70%,#ffffff15); box-shadow: inset 0 1px .7px #ffffff99,inset 0 -1px .5px #0000000c; }
.app-icon-phone,.app-icon-messages { background: linear-gradient(#66ef73,#26c94e 55%,#19b442); }
.app-icon-settings { background: linear-gradient(145deg,#e4e5e9,#abb0b9 75%); color: #5e626b; }
.app-icon-instagram { background: radial-gradient(circle at 28% 105%,#ffdc80 0%,#fcaf45 21%,#f77737 35%,#e1306c 55%,#c13584 70%,#833ab4 90%); }
.app-label { font-size: 11.5px; font-weight: 500; text-shadow: 0 1px 5px #0008; }
.badge { right: -2px; top: -5px; background: #ff3b30; font-size: 12px; height: 21px; min-width: 21px; box-shadow: 0 1px 4px #0002; }
.dock { left: 12px; right: 12px; bottom: 24px; height: 94px; border-radius: 37px; padding: 0 16px; gap: 15px; background: linear-gradient(145deg,#ffffff61,#ffffff21 45%,#ffffff36); border: .5px solid #ffffff6b; box-shadow: 0 5px 18px #03182118,inset 0 1px 1px #ffffffe0,inset 0 -1px 1px #ffffff45; backdrop-filter: blur(26px) saturate(1.65); -webkit-backdrop-filter: blur(26px) saturate(1.65); }
.home-page-dots { bottom: 136px; }
.home-page-dots span { width: 5px; height: 5px; box-shadow: 0 1px 4px #0004; }
.home-indicator { bottom: 0; height: 30px; width: 170px; touch-action: none; }
.home-indicator span { width: 134px; height: 5px; margin-top: 5px; opacity: .94; }
.app-layer { animation: none; transform-origin: center; }
.app-transition { z-index: 43; pointer-events: none; }
.device[data-mode="app"] .home-screen { filter: blur(14px); transform: scale(.94); }
.device[data-app] .app-view { position: relative; }
:where(.device[data-app]:not([data-app="kakao"]):not([data-app="instagram"]):not([data-app="youtube"])) .app-nav { height: 52px; padding: 3px 17px 5px; gap: 8px; }
:where(.device[data-app]:not([data-app="kakao"]):not([data-app="instagram"]):not([data-app="youtube"])) .app-nav:empty { height: 21px; }
:where(.device[data-app]:not([data-app="kakao"]):not([data-app="instagram"]):not([data-app="youtube"])) .nav-btn {
  min-width: 42px; height: 42px; border-radius: 23px; padding: 0 10px; color: #16171b;
  justify-content: center; background: var(--glass); border: .5px solid #ffffffcf;
  box-shadow: var(--glass-shadow); backdrop-filter: var(--glass-filter); -webkit-backdrop-filter: var(--glass-filter);
}
:where(.device[data-app]:not([data-app="kakao"]):not([data-app="instagram"]):not([data-app="youtube"])) .nav-back-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.app-nav>.nav-btn:first-child[data-action="back"] { margin-left: 0; }
.nav-title { font-size: 17px; font-weight: 600; letter-spacing: -.35px; }
:where(.device[data-app]:not([data-app="kakao"]):not([data-app="instagram"]):not([data-app="youtube"])) .app-heading { font-size: 34px; font-weight: 750; letter-spacing: -1.25px; margin: 2px 22px 17px; }
.native-searchbar { position: relative; display: flex; align-items: center; gap: 12px; flex-shrink: 0; padding: 12px 17px 30px; background: linear-gradient(transparent,#f7f7facc 36%,#f7f7fa); z-index: 8; }
.native-searchbar .search-field { min-width: 0; flex: 1; height: 51px; margin: 0; padding: 0 15px; border-radius: 29px; border: .5px solid #fff; background: var(--glass); box-shadow: var(--glass-shadow); backdrop-filter: var(--glass-filter); -webkit-backdrop-filter: var(--glass-filter); gap: 8px; }
.native-searchbar input { font-size: 17px; }
.native-searchbar .search-field>.icon { width: 21px; height: 21px; }
.native-compose { width: 51px; height: 51px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: var(--glass); border: .5px solid #fff; box-shadow: var(--glass-shadow); backdrop-filter: var(--glass-filter); -webkit-backdrop-filter: var(--glass-filter); }
.native-compose .icon { width: 24px; height: 24px; }
.messages-app .chat-list { padding-left: 27px; }
.messages-app .chat-row { padding-right: 22px; min-height: 88px; }
.messages-app .chat-row-top strong { font-size: 17px; font-weight: 600; }
.messages-app .chat-row-copy p { font-size: 15px; line-height: 1.4; }
.device[data-app="messages"] .chat-header { border: 0; min-height: 91px; padding: 0 17px 8px; }
.device[data-app="messages"] .chat-header>.nav-btn { width: 43px; padding: 0; flex-shrink: 0; justify-content: center; }
.device[data-app="messages"] .chat-header-contact { gap: 4px; font-size: 12px; }
.device[data-app="messages"] .chat-header-contact .avatar { width: 43px; height: 43px; }
.device[data-app="messages"] .mine .bubble { background: #0088ff; }
.device[data-app="messages"] .bubble { border-radius: 21px; font-size: 16px; padding: 10px 14px; }
.device[data-app="messages"] .chat-composer { gap: 8px; margin: 0 12px 30px; padding: 7px; border-radius: 29px; border: .5px solid #ffffffdb; background: #f3f3f6b3; box-shadow: var(--glass-shadow); backdrop-filter: var(--glass-filter); -webkit-backdrop-filter: var(--glass-filter); }
.device[data-app="messages"] .chat-composer textarea { border: 0; padding: 8px 10px; font-size: 16px; }
.device[data-app="messages"] .send-button { background: #0088ff; margin: 0 0 1px; width: 36px; height: 36px; }
.device[data-app="messages"] .send-button:disabled { background: #d7d8dc; }
.device[data-app="notes"] .app-view.notes { background: #f2f2f7; --blue: #e1a800; }
.device[data-app="notes"] .native-compose { color: #b68c08; }
.device[data-app="notes"] .nav-btn { color: #a87c00; }
.note-list { border-radius: 22px; margin: 0 17px 17px; }
.note-row { padding: 16px; }
.note-row strong { font-size: 17px; letter-spacing: -.3px; }
.note-section { font-size: 14px; font-weight: 650; color: #7f7f84; }
.note-editor { padding-left: 22px; padding-right: 22px; }
.note-modified { font-size: 11px; color: #909097; margin-bottom: 24px; }
.note-body-input { font-size: 17px; color: #252529; line-height: 1.7; }
.note-save-hint { color: #99999f; }
.settings-card { border-radius: 24px; margin: 0 17px; }
.owner-card { padding: 18px; gap: 14px; }
.owner-card .avatar { width: 57px; height: 57px; font-size: 25px; }
.owner-card strong { font-size: 20px; font-weight: 500; }
.owner-card p { font-size: 13px; }
.setting-row { min-height: 52px; font-size: 16px; padding-top: 13px; padding-bottom: 13px; }
.section-label { padding: 0 34px 8px; font-size: 12px; margin: 25px 0 0; }
.setting-row>.icon:first-child:not(:last-child) { width: 28px; height: 28px; padding: 5px; color: white; background: #0088ff; border-radius: 7px; }
.setting-row[data-action="lock"]>.icon:first-child { background: #6261e9; }
.setting-row[data-action="toggle-previews"]>.icon:first-child { background: #ff453a; }
.toggle { width: 52px; height: 32px; border-radius: 20px; background: #d9d9df; }
.toggle:after { width: 28px; height: 28px; top: 2px; left: 2px; box-shadow: 0 1px 4px #00000030,inset 0 1px .5px #fff; }
.toggle.on { background: #34c759; }
.toggle.on:after { transform: translateX(20px); }
/* App artwork follows the proportions of the supplied iPhone references. */
.native-app-icon { background: #f8f8fa; box-shadow: 0 3px 9px #00121f21; }
.native-app-icon .app-art { width: 100%; height: 100%; display: block; object-fit: contain; pointer-events: none; }
.native-app-icon::after { background: none; box-shadow: inset 0 0 0 .5px #ffffff65; }
.native-app-icon.app-icon-calendar { display: block; color: #161618; }
.native-app-icon .calendar-icon-day { position: absolute; top: 8px; left: 0; width: 100%; text-align: center; margin: 0; color: #161618; font-size: 11px; line-height: 14px; font-weight: 550; letter-spacing: -.5px; }
.native-app-icon .calendar-icon-date { position: absolute; top: 21px; left: 0; width: 100%; text-align: center; color: inherit; font-size: 37px; line-height: 38px; letter-spacing: -1.3px; font-weight: 300; }
.native-app-icon .clock-face { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; background: none; box-shadow: none; }
.native-app-icon .clock-face::before { display: none; }
.native-app-icon .clock-hand { bottom: 50%; border-radius: 3px; background: #161616; }
.native-app-icon .clock-hand-hour { left: calc(50% - 1.4px); width: 2.8px; height: 16px; }
.native-app-icon .clock-hand-minute { left: calc(50% - 1px); width: 2px; height: 22px; }
.native-app-icon .clock-hand-second { left: calc(50% - .5px); width: 1px; height: 24px; background: #e99420; }
.native-app-icon .clock-hand-second::after { content: ""; position: absolute; width: 1px; height: 6px; bottom: -6px; background: inherit; }
.clock-center { position: absolute; left: calc(50% - 2px); top: calc(50% - 2px); width: 4px; height: 4px; border: 1px solid #292929; background: #e99420; border-radius: 50%; }
.notification .native-app-icon .talk-text { top: 14px; font-size: 7px; }

/* Recent calls: fixed controls, searchable rows, and a floating five-tab bar. */
.phone-app .app-scroll { padding-bottom: 120px; }
.phone-recent-app { display: block; padding-top: 0; }
.phone-recent-header { position: absolute; z-index: 8; top: 0; left: 0; right: 0; height: 233px; background: #fffffff7; }
.phone-top-controls { position: absolute; left: 16px; right: 16px; top: 58px; height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.phone-edit-button,.phone-filter-button,.phone-segmented,.phone-filter-menu { background: var(--glass); border: .6px solid #ffffffe6; box-shadow: var(--glass-shadow); backdrop-filter: var(--glass-filter); -webkit-backdrop-filter: var(--glass-filter); }
.phone-edit-button { flex: 0 0 62px; height: 46px; border-radius: 25px; font-size: 16px; font-weight: 550; letter-spacing: -.5px; }
.phone-filter-button { flex: 0 0 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; }
.phone-filter-button .icon { width: 24px; height: 24px; }
.phone-segmented { display: flex; flex: 1; min-width: 0; max-width: 190px; height: 46px; padding: 3px; border-radius: 25px; }
.phone-segmented button { min-width: 0; flex: 1; height: 38px; border-radius: 22px; font-size: 15px; font-weight: 500; letter-spacing: -.6px; white-space: nowrap; }
.phone-segmented button:first-child { flex: .7; }
.phone-segmented button.active { background: #e6e6e9d1; box-shadow: inset 0 0 0 .5px #ffffffb8; font-weight: 600; }
.phone-recent-header .app-heading { position: absolute; left: 18px; top: 125px; margin: 0; font-size: 34px; line-height: 41px; font-weight: 750; letter-spacing: -1.25px; }
.phone-recent-header .search-field { position: absolute; top: 181px; left: 16px; right: 16px; height: 46px; margin: 0; padding: 0 14px; gap: 10px; background: #f0f0f2; border-radius: 25px; }
.phone-recent-header .search-field .icon { width: 21px; height: 21px; color: #414147; }
.phone-recent-header input { font-size: 17px; line-height: 24px; letter-spacing: -.4px; }
.phone-recent-app .phone-call-list { position: absolute; inset: 233px 0 0; padding: 6px 0 120px; z-index: 1; }
.phone-call-row { position: relative; display: grid; grid-template-columns: 54px minmax(0,1fr) auto 40px; align-items: center; gap: 10px; min-height: 80px; padding: 8px 15px 8px 17px; }
.phone-call-row::after { content: ""; position: absolute; bottom: 0; left: 81px; right: 15px; height: .5px; background: #3c3c4329; }
.phone-call-row:last-child::after { display: none; }
.phone-row-avatar { width: 54px; height: 54px; }
.phone-row-avatar .avatar { width: 54px; height: 54px; font-size: 23px; }
.phone-call-main { min-width: 0; text-align: left; }
.phone-call-main strong { display: block; font-size: 18px; line-height: 23px; font-weight: 620; letter-spacing: -.65px; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
.phone-call-main>span { display: flex; align-items: center; gap: 3px; color: #8e8e93; font-size: 15px; line-height: 22px; font-weight: 430; letter-spacing: -.4px; }
.phone-call-main>span .icon { width: 13px; height: 13px; }
.phone-call-row>time { color: #8e8e93; font-size: 15px; line-height: 22px; white-space: nowrap; }
.phone-call-row.is-missed .phone-call-main strong { color: #ff3b30; }
.phone-info-button { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #f5f5f7; color: #5c5c62; }
.phone-info-button .icon { width: 24px; height: 24px; }
.phone-call-row.is-editing { grid-template-columns: 23px 45px minmax(0,1fr) auto 30px; gap: 7px; padding-left: 13px; }
.phone-call-row.is-editing .phone-row-avatar,.phone-call-row.is-editing .avatar { width: 45px; height: 45px; }
.phone-call-row.is-editing .phone-call-main strong { font-size: 16px; }
.phone-call-row.is-editing .phone-info-button { width: 30px; height: 35px; background: none; }
.phone-call-row.is-editing::after { left: 95px; }
.phone-delete-call { width: 23px; height: 23px; border-radius: 50%; background: #ff3b30; color: white; display: grid; place-items: center; }
.phone-delete-call .icon { width: 18px; height: 18px; }
.phone-filter-menu { position: absolute; right: 17px; top: 112px; width: 190px; padding: 6px; border-radius: 23px; z-index: 35; }
.phone-filter-menu button { width: 100%; height: 43px; border-radius: 18px; text-align: left; padding: 0 14px; font-size: 15px; }
.phone-filter-menu button.active { background: #0088ff12; color: #007aff; }
.phone-bottom-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 121px; background: linear-gradient(transparent,#ffffffe0 45%,#fff 90%); pointer-events: none; z-index: 3; }
.phone-tabs { position: absolute; z-index: 5; left: 15px; right: 15px; bottom: 22px; padding: 4px; height: 72px; border-radius: 38px; border: .6px solid #ffffffe6; background: var(--glass); box-shadow: var(--glass-shadow); backdrop-filter: var(--glass-filter); -webkit-backdrop-filter: var(--glass-filter); }
.phone-tabs button { flex: 1; min-width: 0; gap: 3px; border-radius: 33px; justify-content: center; font-size: 9.5px; font-weight: 550; letter-spacing: -.6px; white-space: nowrap; color: #151519; }
.phone-tabs button.active { color: #1677ea; background: #e6e6e9cf; box-shadow: inset 0 0 0 .5px #ffffffb8; }
.phone-tabs .icon { width: 25px; height: 25px; }
.phone-favorites { margin: 11px 22px 30px; }
.phone-favorites>div { display: flex; gap: 23px; }
.phone-favorites button { display: flex; flex-direction: column; align-items: center; gap: 7px; min-width: 65px; font-size: 13px; }
.phone-favorites .avatar { width: 62px; height: 62px; font-size: 24px; }
.phone-empty { text-align: center; padding: 70px 22px; color: #8e8e93; }
.phone-empty strong { display: block; font-size: 21px; font-weight: 600; letter-spacing: -.6px; }
.phone-empty p { font-size: 14px; line-height: 1.6; margin: 9px 0 0; }
.voicemail-empty>.icon { width: 56px; height: 56px; margin: 15px auto 20px; color: #b5b5bb; }
.dial-delete { display: grid; place-items: center; }
.dial-delete .icon { width: 25px; height: 25px; }

.keypad { column-gap: 23px; row-gap: 14px; }
.key { background: #f1f1f4; box-shadow: inset 0 1px .5px #fff; }
.dial-number { font-size: 34px; }
.device[data-app="clock"] .nav-btn { background: linear-gradient(145deg,#ffffff30,#ffffff15); border-color: #ffffff2b; color: #ff9f0a; box-shadow: inset 0 1px 1px #ffffff38,0 3px 12px #0002; }
.device[data-app="clock"] .app-heading { margin-top: 3px; }
.alarm-row { padding-top: 18px; padding-bottom: 18px; }
.alarm-time { font-weight: 250; }
.calendar-month-header h2 { font-size: 30px; letter-spacing: -1.2px; }
.calendar-arrows { gap: 10px; }
.calendar-arrows button { background: var(--glass); border: .5px solid #fff; box-shadow: var(--glass-shadow); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #ff3b30; }
.calendar-cell.today span,.calendar-cell.selected span { background: #ff3b30; color: #fff; }
.contact-actions { gap: 10px; }
.contact-action { border-radius: 20px; box-shadow: var(--glass-shadow); }
.google-app { padding-top: 57px; }
.google-app .google-page { padding-bottom: 125px; }
.google-topbar { height: 46px; font-size: 12px; }
.google-safari-chrome { position: absolute; bottom: 27px; left: 17px; right: 17px; display: flex; align-items: center; gap: 11px; border: 0; background: transparent; padding: 0; z-index: 9; }
.safari-address-pill { height: 57px; display: flex; align-items: center; flex: 1; min-width: 0; padding: 0 13px 0 18px; border-radius: 32px; border: .5px solid #ffffffdf; background: var(--glass); box-shadow: var(--glass-shadow); backdrop-filter: var(--glass-filter); -webkit-backdrop-filter: var(--glass-filter); }
.safari-address-pill>button:first-child { flex: 1; height: 100%; display: flex; justify-content: center; align-items: center; gap: 6px; font-size: 15px; color: #303137; }
.safari-address-pill>button:first-child .icon { width: 11px; height: 13px; opacity: .7; }
.safari-address-pill>button:last-child { display: grid; place-items: center; width: 29px; height: 39px; margin-left: 9px; }
.safari-address-pill>button:last-child .icon { width: 19px; height: 19px; }
.google-safari-chrome>.safari-search-shortcut { flex-shrink: 0; width: 57px; height: 57px; padding: 0; display: grid; place-items: center; border: .5px solid #ffffffdf; border-radius: 50%; background: var(--glass); box-shadow: var(--glass-shadow); backdrop-filter: var(--glass-filter); -webkit-backdrop-filter: var(--glass-filter); color: #1e1f23; }
.google-safari-chrome>.safari-search-shortcut .icon { width: 24px; height: 24px; }
.photo-library-count { font-size: 17px; font-weight: 600; letter-spacing: -.5px; }
.photo-glass-button,.photo-library-dock,.photo-library-search { background: var(--glass); border: .5px solid #ffffffc9; box-shadow: var(--glass-shadow); backdrop-filter: var(--glass-filter); -webkit-backdrop-filter: var(--glass-filter); }
.photo-library-tab.active { background: #e6e6e9c9; }
.photo-library-tab .icon { width: 26px; height: 26px; }
.photo-toolbar { background: linear-gradient(145deg,#3d3d3db3,#242424c4); border: .5px solid #ffffff24; border-radius: 30px; margin: 0 12px 29px; padding: 12px; box-shadow: inset 0 1px 1px #ffffff30,0 6px 20px #0002; backdrop-filter: var(--glass-filter); -webkit-backdrop-filter: var(--glass-filter); }
.photo-toolbar button { min-height: 29px; }
.device[data-app="photos"].dark-app .nav-btn { color: white; background: linear-gradient(145deg,#ffffff30,#ffffff1a); border-color: #ffffff30; box-shadow: inset 0 1px .5px #ffffff55; }
.screen-dimmer { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; z-index: 100; transition: opacity .12s; }
.control-center { position: absolute; inset: 0; z-index: 50; padding: 64px 22px 85px; color: #fff; background: linear-gradient(145deg,#26363b6b,#101d2d99); backdrop-filter: blur(34px) saturate(1.4); -webkit-backdrop-filter: blur(34px) saturate(1.4); animation: control-reveal .27s cubic-bezier(.2,.8,.2,1); }
.device.cc-open .status-bar { color: #fff!important; z-index: 55; }
.device.cc-open .control-center-trigger { pointer-events: none; }
.device.cc-open .home-indicator { color: #fff; }
.cc-top { display: flex; align-items: center; justify-content: space-between; height: 40px; margin-bottom: 30px; padding-left: 7px; font-size: 14px; font-weight: 600; }
.cc-close { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #ffffff1f; border: .5px solid #ffffff3b; }
.cc-close .icon { width: 17px; height: 17px; }
.cc-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); grid-auto-rows: 72px; gap: 15px; }
.glass-dark,.cc-slider { background: linear-gradient(145deg,#ffffff30,#ffffff12); border: .5px solid #ffffff4f; box-shadow: inset 0 1px 1px #ffffff54,inset 0 -1px .5px #ffffff17,0 8px 16px #07151e14; backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5); }
.cc-connect { grid-column: span 2; grid-row: span 2; border-radius: 35px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; padding: 13px 9px 10px; gap: 6px 2px; }
.cc-connect-button { display: flex; align-items: center; flex-direction: column; justify-content: flex-start; gap: 4px; min-width: 0; }
.cc-connect-button>span { width: 41px; height: 41px; border-radius: 50%; display: grid; place-items: center; background: #ffffff30; box-shadow: inset 0 1px .5px #ffffff4d; }
.cc-connect-button small { font-size: 8px; letter-spacing: -.3px; white-space: nowrap; }
.cc-connect-button .icon { width: 22px; height: 22px; }
.cc-connect-button.active>span { background: #0088ff; }
.cc-cellular.active>span { background: #34c759; }
.cc-airplane.active>span { background: #ff9f0a; }
.cc-slider { position: relative; grid-row: span 2; border-radius: 35px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.cc-slider>input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; writing-mode: vertical-lr; direction: rtl; opacity: .001; cursor: ns-resize; z-index: 3; touch-action: none; }
.cc-slider-fill { position: absolute; left: 0; right: 0; bottom: 0; height: var(--level); background: linear-gradient(90deg,#ffffffdb,#fffffff0 45%,#ffffffcc); border-top: .5px solid #fff; pointer-events: none; }
.cc-slider>.icon { position: absolute; bottom: 18px; z-index: 2; width: 26px; height: 26px; color: #22323bb3; mix-blend-mode: multiply; }
.cc-slider output { position: absolute; top: 16px; z-index: 2; color: #1d2b3499; font-size: 10px; font-weight: 600; pointer-events: none; }
.cc-slider:focus-within { outline: 3px solid #9fd8ff; outline-offset: 3px; }
.cc-focus { grid-column: span 2; border-radius: 38px; display: flex; align-items: center; justify-content: flex-start; padding: 0 18px; gap: 11px; }
.cc-focus>.icon { width: 27px; height: 27px; }
.cc-focus>span { text-align: left; font-size: 13px; font-weight: 600; }
.cc-focus small { display: block; font-size: 11px; opacity: .65; font-weight: 400; margin-top: 2px; }
.cc-focus.active { background: #ffffffdc; color: #6557cd; }
.cc-round { border-radius: 50%; display: grid; place-items: center; }
.cc-round>.icon { width: 28px; height: 28px; }
.cc-rotation.active,.cc-round.active { background: #ffffffe0; color: #ff453a; }
.cc-shortcut { grid-column: span 2; border-radius: 35px; display: flex; align-items: center; gap: 12px; padding: 0 23px; font-size: 13px; font-weight: 550; }
.cc-shortcut .icon { width: 27px; height: 27px; }
.cc-dismiss { position: absolute; bottom: 54px; left: 0; width: 100%; padding: 15px; font-size: 12px; opacity: .7; }
@keyframes control-reveal { from { opacity: 0; transform: translateY(-12px) scale(1.025); } to { opacity: 1; transform: none; } }
@media (max-width: 370px) {
  .phone-top-controls { left: 12px; right: 12px; gap: 6px; }
  .phone-edit-button { flex-basis: 55px; }
  .phone-segmented button { font-size: 14px; }
  .native-app-icon .calendar-icon-date { top: 20px; font-size: 35px; }
  .home-screen { padding-left: 20px; padding-right: 20px; }
  .app-grid { column-gap: 14px; }
  .app-icon { width: 58px; height: 58px; }
  .dock { padding: 0 13px; gap: 10px; }
  .control-center { padding-left: 17px; padding-right: 17px; }
  .cc-grid { gap: 12px; }
}
@media (max-height: 740px) and (max-width: 550px) {
  .home-screen { padding-top: 68px; }
  .app-grid { row-gap: 22px; }
  .lock-top { margin-top: 89px; }
  .lock-time { font-size: clamp(84px, 28vw, 104px); }
  .lock-notifications { padding-bottom: 110px; }
  .control-center { padding-top: 57px; }
  .cc-top { margin-bottom: 20px; }
  .keypad { row-gap: 9px; }
}
@media (prefers-reduced-transparency: reduce) {
  :root { --glass: linear-gradient(#f7f8f9,#eff1f3); --glass-filter: none; }
  .dock { background: #bdcac5; }
  .control-center { background: #35434c; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation: none!important; transition: none!important; scroll-behavior: auto!important; }
}

/* Supplied icon artwork retains its own transparent corners and highlights. */
.supplied-app-icon { background: transparent; border-radius: 14px; box-shadow: none; }
.supplied-app-icon::after { display: none; }

@media (max-height:650px) {
  .lock-top { margin-top: 80px; }
  .lock-clock { height: 200px; }
  .lock-notifications { padding-bottom: 80px; }
}

/* Local incoming-message banners sit above apps without taking focus. */
.live-notification { touch-action: pan-x; position: absolute; z-index: 47; left: 10px; right: 10px; top: 61px; display: flex; align-items: flex-start; padding: 14px 10px 14px 14px; border-radius: 29px; border: .6px solid #ffffffc4; background: linear-gradient(135deg,#f5f5f3ed,#e4e5e6e8); color: #17171c; box-shadow: 0 5px 28px #0002,inset 0 .5px 0 #fff; backdrop-filter: blur(28px) saturate(1.5); -webkit-backdrop-filter: blur(28px) saturate(1.5); text-shadow: none; animation: notification-arrive .35s cubic-bezier(.2,.85,.25,1); }
.live-notification[hidden] { display: none; }
.notification-banner-open { display: flex; align-items: center; flex: 1; min-width: 0; gap: 11px; text-align: left; }
.notification-banner-open>.app-icon { width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0; }
.live-notification .notification-copy { display: block; }
.live-notification .notification-title { margin: 0 0 4px; color: #4b4b51; font-size: 11px; line-height: 14px; font-weight: 550; }
.live-notification .notification-title time { font-size: 10px; }
.notification-sender { display: block; font-size: 14px; line-height: 18px; font-weight: 650; margin-bottom: 2px; }
.live-notification .notification-copy p { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; line-height: 18px; }
.notification-banner-dismiss { display: grid; place-items: center; flex-shrink: 0; width: 24px; height: 24px; margin: -3px -2px 0 6px; color: #5e5e65; }
.notification-banner-dismiss .icon { width: 15px; height: 15px; }
.notification-setting-caption { margin: 10px 30px 0; font-size: 12px; line-height: 18px; }
.setting-row[data-action="toggle-auto-notifications"]>.icon:first-child { background: #ff453a; }
@keyframes notification-arrive { from { opacity: 0; transform: translateY(-115%); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .live-notification { animation: none; } }

.google-history-section[hidden] { display: none; }
.google-history-section>header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 5px; }
.google-history-section>header h2 { margin: 0; }
.google-history-section>header button { padding: 7px 0 7px 10px; color: #1a73e8; font-size: 13px; }
