:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;
  --ios-blue: #0a84ff;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; width: 100%; }
body {
  min-height: 100svh; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(ellipse at 50% 42%, #30343c 0%, #111318 52%, #07080a 100%);
}
button { font: inherit; -webkit-tap-highlight-color: transparent; }
.stage { width: 100%; min-height: 100svh; display: grid; place-items: center; padding: 22px; }
.phone {
  position: relative; width: min(393px, 94svh * 0.46127, calc(100vw - 44px)); height: auto; aspect-ratio: 393 / 852; max-height: 94svh;
  padding: 8px; border-radius: 57px; overflow: hidden;
  background: linear-gradient(115deg,#d8d9dc 0%,#676a70 5%,#17191e 14%,#090a0d 78%,#8d9095 96%,#d9dade 100%);
  box-shadow: 0 0 0 1px #090a0c, 0 0 0 2px #777a80, 0 34px 90px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.18);
}
.phone::before { content:""; position:absolute; z-index:50; left:0; top:20%; width:3px; height:54px; border-radius:3px 0 0 3px; background:linear-gradient(90deg,#17191d,#85888d); box-shadow:0 76px 0 #5d6066; }
.phone::after { content:""; position:absolute; z-index:50; right:0; top:27%; width:3px; height:91px; border-radius:0 3px 3px 0; background:linear-gradient(90deg,#85888d,#17191d); }
.screen { position:relative; width:100%; height:100%; overflow:hidden; isolation:isolate; border-radius:49px; background:#182b43; }
.wallpaper {
  position:absolute; z-index:-2; inset:0;
  background-image: linear-gradient(180deg,rgba(8,13,23,.08) 0%,rgba(8,13,23,0) 42%,rgba(5,9,17,.25) 100%), url("/assets/lockscreen-wallpaper.jpg");
  background-size:cover; background-position:center;
}
.wallpaper::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,.06),transparent 25%,transparent 65%,rgba(0,0,0,.16)); }
.dynamic-island {
  position:absolute; z-index:60; top:11px; left:50%; transform:translateX(-50%);
  width:119px; height:34px; border-radius:22px; background:#000;
  box-shadow:0 1px 2px rgba(0,0,0,.5);
}
.camera-dot { position:absolute; right:12px; top:11px; width:9px; height:9px; border-radius:50%; background:radial-gradient(circle at 35% 35%,#263d59,#07101d 65%); box-shadow:0 0 0 1px #151a22; }
.ios-status-bar {
  position:absolute; z-index:30; top:0; left:0; right:0; height:49px;
  padding:0 28px; display:flex; align-items:center; justify-content:space-between;
  color:#fff; font-size:15px; line-height:1; font-weight:650; letter-spacing:-.2px; pointer-events:none;
  text-shadow:0 1px 3px rgba(0,0,0,.24);
}
.status-icons { display:flex; align-items:center; }
.status-icons svg { width:66px; height:16px; overflow:visible; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.status-icons .battery-fill { fill:currentColor; stroke:none; }
.lock-screen { position:absolute; z-index:2; inset:0; color:#fff; }
.lock-content { position:absolute; top:15.3%; left:0; right:0; display:flex; flex-direction:column; align-items:center; text-align:center; }
.lock-date { font-size:18px; font-weight:600; letter-spacing:-.25px; text-shadow:0 1px 8px rgba(0,0,0,.24); }
.lock-clock {
  margin-top:2px; font-size:clamp(78px,22vw,88px); line-height:1.08; font-weight:300;
  letter-spacing:-6.5px; font-variant-numeric:tabular-nums; text-shadow:0 2px 18px rgba(0,0,0,.12);
}
.lock-widgets {
  position:absolute; top:32%; left:22px; right:22px;
  display:grid; grid-template-columns:1fr 1fr; gap:14px;
}
.lock-widget {
  min-width:0; height:76px; padding:2px 0;
  color:#fff; text-shadow:0 1px 5px rgba(0,0,0,.42);
}
.widget-app-label { display:flex; align-items:center; gap:5px; color:rgba(255,255,255,.94); font-size:10px; line-height:14px; font-weight:600; }
.widget-app-icon { display:inline-grid; place-items:center; width:14px; height:14px; font-size:15px; line-height:1; }
.weather-main { display:flex; align-items:baseline; gap:7px; margin-top:2px; min-width:0; }
.weather-temperature { font-size:27px; line-height:29px; font-weight:300; letter-spacing:-1.1px; font-variant-numeric:tabular-nums; }
.weather-condition { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:rgba(255,255,255,.96); font-size:10px; font-weight:550; }
.weather-range { margin-top:2px; color:rgba(255,255,255,.9); font-size:9px; line-height:12px; white-space:nowrap; }
.reminder-task {
  width:100%; min-width:0; display:flex; align-items:center; gap:7px;
  margin-top:7px; padding:0; border:0; background:transparent; color:#fff;
  text-align:left; cursor:pointer; text-shadow:inherit;
}
.reminder-check { flex:0 0 15px; width:15px; height:15px; border:1.3px solid rgba(255,255,255,.92); border-radius:50%; }
.reminder-task[aria-pressed="true"] .reminder-check { border-color:#a8d5ff; background:#a8d5ff; box-shadow:inset 0 0 0 3px rgba(30,55,80,.9); }
.reminder-copy { min-width:0; display:flex; flex-direction:column; gap:3px; }
.reminder-title { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; line-height:15px; font-weight:600; letter-spacing:-.15px; }
.reminder-task[aria-pressed="true"] .reminder-title { text-decoration:line-through; opacity:.7; }
.reminder-subtitle { color:rgba(255,255,255,.8); font-size:9px; line-height:11px; }
.lock-bottom { position:absolute; left:0; right:0; bottom:9px; display:flex; flex-direction:column; align-items:center; gap:10px; }
.lock-shortcuts { width:100%; padding:0 29px; display:flex; justify-content:space-between; transform:translateY(8px); }
.round-control {
  width:50px; height:50px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.18);
  border-radius:50%; color:#fff; background:rgba(28,31,38,.42); backdrop-filter:blur(20px) saturate(140%);
  box-shadow:0 2px 10px rgba(0,0,0,.12); cursor:pointer;
}
.round-control svg { width:23px; height:23px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.round-control:active { transform:scale(.92); }
.swipe-hint { margin:0; color:rgba(255,255,255,.92); font-size:12px; font-weight:500; text-shadow:0 1px 5px rgba(0,0,0,.6); }
.swipe-pill,.home-page-indicator,.outer-home-indicator,.app-home-indicator { width:134px; height:5px; border-radius:10px; background:#fff; }
.swipe-pill { margin-top:2px; }
#languagePopover {
  position:absolute; z-index:70; top:108px; right:20px; width:180px; padding:7px;
  border:1px solid rgba(255,255,255,.18); border-radius:15px; background:rgba(30,32,38,.9);
  box-shadow:0 12px 35px rgba(0,0,0,.3); backdrop-filter:blur(24px);
}
#languagePopover button { width:100%; display:flex; justify-content:space-between; padding:11px 10px; border:0; border-radius:9px; background:transparent; color:#fff; text-align:left; font-size:13px; }
#languagePopover button:active { background:rgba(255,255,255,.13); }
 .home-screen { position:absolute; z-index:3; inset:0; padding:0 16px 49px; color:#fff; overflow:hidden; }
.home-screen::before { content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(180deg,rgba(7,12,20,.12),transparent 48%,rgba(7,12,20,.12)); }
.home-top,.home-date-line,.home-greeting { display:none; }
.home-widgets {
  position:absolute; top:15.5%; left:4.5%; right:4.5%;
  display:grid; grid-template-columns:1fr 1fr; gap:10px;
}
.home-widget {
  position:relative; min-width:0; height:clamp(130px,39vw,154px); padding:15px 13px;
  display:flex; flex-direction:column; align-items:flex-start; justify-content:space-between;
  overflow:hidden; border:1px solid rgba(255,255,255,.23); border-radius:25px;
  color:#fff; text-align:left; cursor:pointer; isolation:isolate;
  box-shadow:0 8px 22px rgba(0,0,0,.19),inset 0 1px 0 rgba(255,255,255,.2);
  transition:transform .15s ease;
}
.home-widget:active,.home-feature:active { transform:scale(.97); }
.widget-about { background:radial-gradient(circle at 80% 15%,rgba(255,222,166,.72),transparent 32%),linear-gradient(145deg,#8b7766 0%,#514d4a 47%,#293e47 100%); }
.widget-about::after { content:""; position:absolute; z-index:-1; width:120px; height:120px; right:-30px; bottom:-42px; border-radius:50%; background:linear-gradient(135deg,#d9b58f,#8a6d59); box-shadow:-24px -18px 0 -12px rgba(255,255,255,.24); }
.widget-experience { background:radial-gradient(circle at 75% 15%,rgba(210,234,255,.72),transparent 32%),linear-gradient(145deg,#8ca6b2 0%,#536f7d 48%,#293b50 100%); }
.widget-experience::after { content:""; position:absolute; z-index:-1; right:-20px; bottom:-34px; width:130px; height:100px; border-radius:60% 40% 0 0; background:linear-gradient(140deg,rgba(255,255,255,.5),rgba(26,48,66,.2)); transform:rotate(-18deg); }
.widget-kicker,.feature-kicker { font-size:9px; letter-spacing:1.25px; font-weight:750; color:rgba(255,255,255,.82); }
.widget-heading { font-size:clamp(19px,5.3vw,24px); line-height:1.03; letter-spacing:-.8px; font-weight:720; text-shadow:0 2px 10px rgba(0,0,0,.15); }
.widget-foot { width:100%; display:flex; justify-content:space-between; align-items:center; font-size:10px; font-weight:600; color:rgba(255,255,255,.88); }
.widget-foot span,.feature-link span { font-size:17px; line-height:10px; }
.app-grid {
  position:absolute; top:40.5%; left:5%; width:43%;
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:10px; row-gap:24px;
}
.app { min-width:0; padding:0; border:0; background:transparent; color:#fff; display:flex; flex-direction:column; align-items:center; gap:6px; cursor:pointer; transition:transform .14s ease; }
.app:active { transform:scale(.91); }
.app>span:last-child { max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:11px; font-weight:600; text-shadow:0 1px 5px rgba(0,0,0,.8); }
.app-icon { position:relative; width:56px; height:56px; border-radius:16px; display:grid; place-items:center; overflow:hidden; isolation:isolate; background:transparent; box-shadow:0 2px 7px rgba(0,0,0,.2); }
.app-icon svg { width:100%; height:100%; display:block; position:relative; z-index:0; }
.app-icon::before,.app-icon::after { content:none; }
.contacts,.work-icon,.settings-icon,.photos-icon,.education-icon,.files-icon,.messages-icon,.linkedin-icon,.mail-icon { border-radius:16px; }
.home-feature {
  position:absolute; top:40.5%; right:4.5%; width:46%; height:31%;
  min-height:205px; padding:18px 15px; border:1px solid rgba(255,255,255,.2);
  border-radius:25px; display:flex; flex-direction:column; align-items:flex-start;
  justify-content:space-between; overflow:hidden; color:#fff; text-align:left;
  background:linear-gradient(155deg,rgba(212,186,146,.9),rgba(109,119,121,.94) 48%,rgba(42,57,68,.98));
  box-shadow:0 9px 25px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.22);
  cursor:pointer; isolation:isolate; transition:transform .15s ease;
}
.feature-orbit { position:absolute; z-index:-1; width:170px; height:170px; right:-60px; top:28px; border:1px solid rgba(255,255,255,.24); border-radius:50%; box-shadow:0 0 0 18px rgba(255,255,255,.06),0 0 0 38px rgba(255,255,255,.045); }
.feature-kicker { margin-top:1px; }
.feature-heading { margin-top:auto; margin-bottom:15px; font-size:clamp(24px,6.8vw,31px); line-height:.98; letter-spacing:-1.1px; font-weight:750; text-shadow:0 2px 12px rgba(0,0,0,.16); }
.feature-link { width:100%; display:flex; justify-content:space-between; align-items:center; font-size:10px; font-weight:650; color:rgba(255,255,255,.9); }
.dock {
  position:absolute; left:15px; right:15px; bottom:28px; height:87px;
  display:flex; justify-content:space-around; align-items:center; padding:0 8px;
  border:1px solid rgba(255,255,255,.25); border-radius:27px;
  background:rgba(228,232,240,.32); backdrop-filter:blur(32px) saturate(175%);
  -webkit-backdrop-filter:blur(32px) saturate(175%);
  box-shadow:0 7px 24px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.22);
}
.dock .app { gap:0; }
.dock .app>span:last-child { display:none; }
.dock .app-icon { width:59px; height:59px; border-radius:17px; }
.home-page-indicator { position:absolute; bottom:8px; left:50%; transform:translateX(-50%); }
.app-screen { position:absolute; z-index:10; inset:0; display:flex; flex-direction:column; overflow:hidden; background:#f2f2f7; color:#1c1c1e; }
.app-status-bar { position:relative; flex:0 0 49px; color:#111; text-shadow:none; }
.app-header { flex:0 0 53px; padding:0 18px; display:grid; grid-template-columns:1fr 2fr 1fr; align-items:center; background:rgba(250,250,252,.98); border-bottom:1px solid #dedee3; }
#backButton { justify-self:start; padding:6px 0; border:0; background:transparent; color:var(--ios-blue); font-size:16px; cursor:pointer; }
#appTitle { margin:0; text-align:center; font-size:17px; font-weight:650; letter-spacing:-.3px; }
.header-spacer { width:40px; }
.app-content { flex:1; min-height:0; overflow-y:auto; padding:25px 20px 45px; background:#f2f2f7; color:#1c1c1e; -webkit-overflow-scrolling:touch; overscroll-behavior:contain; }
.app-content h1 { margin:0 0 12px; font-size:30px; line-height:1.13; letter-spacing:-.9px; font-weight:700; color:#17171b; }
.app-content h2 { margin:27px 0 11px; font-size:20px; letter-spacing:-.45px; color:#17171b; }
.app-content h3 { margin:0 0 5px; font-size:15px; font-weight:650; color:#202024; }
.app-content p,.app-content li { color:#606068; font-size:14px; line-height:1.65; }
.app-content a { color:var(--ios-blue); text-decoration:none; }
.section-label { margin:24px 0 8px; color:#85858d; text-transform:uppercase; font-size:11px; letter-spacing:.9px; font-weight:650; }
.ios-card { margin:11px 0; padding:16px; border-radius:16px; background:#fff; box-shadow:0 1px 2px rgba(0,0,0,.035); }
.ios-row { display:flex; justify-content:space-between; gap:15px; padding:14px 0; border-bottom:1px solid #ededf1; }
.ios-row:last-child { border-bottom:0; }
.ios-row strong { font-size:14px; font-weight:600; }
.ios-row small { display:block; margin-top:4px; color:#81818a; font-size:12px; }
.ios-row .arrow { color:#aaaab2; }
.profile-card { padding:24px 16px; text-align:center; }
.profile-avatar { width:76px; height:76px; margin:0 auto 13px; display:grid; place-items:center; border-radius:50%; background:#dce9f8; color:#3974b8; font-size:24px; font-weight:650; }
.timeline-item { position:relative; margin-left:7px; padding:0 0 23px 19px; border-left:2px solid #d4e0ef; }
.timeline-item::before { content:""; position:absolute; top:3px; left:-6px; width:10px; height:10px; border-radius:50%; background:#3986d8; box-shadow:0 0 0 3px #f2f2f7; }
.timeline-item .meta { margin:5px 0; color:#8a8a92; font-size:12px; }
.skill-pill { display:inline-block; margin:4px; padding:8px 12px; border-radius:10px; background:#fff; color:#34343a; font-size:13px; box-shadow:0 1px 2px rgba(0,0,0,.04); }
.photo-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
.photo-tile { min-height:130px; padding:13px; display:flex; align-items:end; border-radius:13px; color:#fff; font-size:13px; font-weight:650; background:linear-gradient(145deg,#8da9c4,#253b57); }
.photo-tile:nth-child(2) { background:linear-gradient(145deg,#d6a88e,#684e61); }
.photo-tile:nth-child(3) { background:linear-gradient(145deg,#9fb9a4,#375b55); }
.photo-tile:nth-child(4) { background:linear-gradient(145deg,#c5b7df,#61547e); }
.app-home-indicator { flex:0 0 5px; align-self:center; margin:8px 0 9px; background:#1c1c1e; }
.outer-home-indicator { position:absolute; z-index:80; bottom:10px; left:50%; transform:translateX(-50%); }
.assistive-touch {
  position:absolute; z-index:90; right:24px; top:50%; transform:translateY(-50%);
}
.assistive-touch-button {
  width:48px; height:48px; padding:0; border:1px solid rgba(255,255,255,.48);
  border-radius:50%; display:grid; place-items:center; color:#fff;
  background:rgba(38,40,46,.46); backdrop-filter:blur(22px) saturate(150%);
  -webkit-backdrop-filter:blur(22px) saturate(150%);
  box-shadow:0 4px 18px rgba(0,0,0,.3), inset 0 1px 1px rgba(255,255,255,.42);
  cursor:pointer;
}
.assistive-touch-ring {
  width:21px; height:21px; border:2px solid rgba(255,255,255,.88); border-radius:50%;
  box-shadow:0 0 0 4px rgba(255,255,255,.08);
}
.assistive-touch-menu {
  position:absolute; right:0; bottom:58px; width:146px; padding:7px;
  border:1px solid rgba(255,255,255,.25); border-radius:18px;
  background:rgba(30,31,36,.88); backdrop-filter:blur(25px) saturate(150%);
  -webkit-backdrop-filter:blur(25px) saturate(150%);
  box-shadow:0 12px 35px rgba(0,0,0,.38);
}
.assistive-touch-menu button {
  width:100%; display:flex; align-items:center; gap:9px; padding:10px 9px;
  border:0; border-radius:12px; background:transparent; color:#fff;
  font-size:12px; font-weight:600; text-align:left; cursor:pointer;
}
.assistive-touch-menu button:active { background:rgba(255,255,255,.13); }
.assistive-menu-icon { width:24px; height:24px; display:grid; place-items:center; border-radius:50%; background:rgba(255,255,255,.14); font-size:17px; }
.hidden { display:none !important; }
@media (max-width:600px) {
  body { background:#000; }
  .stage { padding:0; min-height:100svh; }
  .phone { width:100vw; height:100svh; max-height:none; aspect-ratio:auto; padding:0; border:0; border-radius:0; background:#000; box-shadow:none; }
  .phone::before,.phone::after,.outer-home-indicator { display:none; }
  .screen { border-radius:0; }
  .dynamic-island { top:11px; }
  .lock-clock { font-size:clamp(78px,22vw,86px); }
  .home-screen { padding-left:22px; padding-right:22px; }
  .app-grid { margin-top:92px; }
}
@media (max-height:740px) {
  .lock-content { top:14%; }
  .lock-clock { font-size:78px; }
  .home-top { margin-top:76px; margin-bottom:22px; }
  .app-grid { row-gap:17px; }
  .app-icon { width:54px; height:54px; }
}
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { transition-duration:.01ms !important; } }


/* Personal app styling */
.app-icon.ios-notes { background:linear-gradient(180deg,#fff 0 22%,#ffd84a 22% 100%); display:grid; place-items:center; }
.notes-glyph { color:#8c6b00; font-size:36px; font-weight:800; line-height:1; transform:translateY(7px); }
.ios-photos { background:radial-gradient(circle at 50% 50%,#fff 0 15%,transparent 16%),conic-gradient(#ff625b 0 45deg,#ffb547 45deg 90deg,#f4df4c 90deg 135deg,#61c56c 135deg 180deg,#45b8e8 180deg 225deg,#6574e8 225deg 270deg,#b45bd5 270deg 315deg,#ff625b 315deg); display:grid; place-items:center; }
.photos-glyph { color:#fff; font-size:34px; text-shadow:0 1px 4px #5558; }
.ios-spotify { display:grid; place-items:center; border-radius:17px; background:#1ed760; color:#071b0d; font-size:38px; font-weight:900; }
.ios-contacts { display:grid; place-items:center; border-radius:17px; color:#fff; font-size:34px; background:linear-gradient(145deg,#62b8ff,#1675cf); }
.notes-toolbar,.photos-topline,.files-location { display:flex; justify-content:space-between; align-items:center; margin:-10px 0 22px; color:#85858d; font-size:13px; }
.notes-toolbar strong { color:#d6a900; font-size:14px; }
.notes-heading { margin-bottom:5px!important; }
.notes-intro { margin-top:0; }
.notes-search { margin:18px 0 22px; padding:11px 13px; border-radius:11px; background:#e5e5ea; color:#8a8a92; font-size:14px; }
.notes-search span { margin-left:8px; }
.note-list { display:grid; gap:10px; }
.note-paper { padding:15px 16px; border-radius:13px; background:#fff; box-shadow:0 1px 3px rgba(0,0,0,.055); }
.note-paper h3 { margin:6px 0 7px; font-size:16px; }
.note-paper p { margin:5px 0; font-size:13px; line-height:1.55; }
.note-date { color:#b18a00; font-size:10px; font-weight:750; letter-spacing:.7px; }
.note-hint,.notes-footer,.file-footnote { color:#92929a!important; font-size:11px!important; }
.notes-footer { margin:17px 0; text-align:center; }
.photo-albums { display:grid; grid-template-columns:1fr 1fr; gap:17px 12px; margin:18px 0; }
.photo-album { min-width:0; }
.album-art { height:116px; margin-bottom:8px; display:grid; place-items:center; border-radius:12px; color:#fff; font-size:27px; font-weight:750; box-shadow:inset 0 1px 0 #ffffff44; }
.album-one { background:linear-gradient(135deg,#233f68,#b27b65); }
.album-two { background:linear-gradient(135deg,#a4b6ad,#344f55); }
.album-three { background:linear-gradient(135deg,#d4a18d,#624a67); }
.album-four { background:linear-gradient(135deg,#b8a8d2,#495d7a); }
.photo-album strong,.photo-album small { display:block; }
.photo-album strong { font-size:13px; }
.photo-album small { margin-top:3px; color:#85858d; font-size:11px; }
.file-list { padding:4px 14px; }
.file-row { min-width:0; display:flex; align-items:center; gap:11px; padding:13px 0; border-bottom:1px solid #ededf1; color:inherit; text-decoration:none!important; }
.file-row:last-child { border-bottom:0; }
.file-row>span:nth-child(2) { min-width:0; flex:1; }
.file-row b,.file-row small { display:block; }
.file-row b { font-size:13px; }
.file-row small { margin-top:4px; color:#85858d; font-size:11px; }
.file-symbol { width:39px; height:45px; flex:0 0 39px; display:grid; place-items:center; border-radius:7px; color:#fff; font-size:10px; font-weight:800; }
.pdf-symbol { background:#ef625c; }
.deck-symbol { background:#df9144; }
.doc-symbol { background:#4788d0; }
.file-row .arrow { color:#a0a0a8; }
.external-profile-card { margin-top:30px; padding:25px 18px; text-align:center; }
.linkedin-mark.large { width:58px; height:58px; margin:0 auto 16px; display:grid; place-items:center; border-radius:12px; font-size:34px; }
.spotify-card { min-height:420px; margin:-25px -20px; padding:35px 24px; color:#fff; background:linear-gradient(160deg,#163d2a,#071b12 70%); }
.spotify-disc { width:155px; height:155px; margin:12px auto 32px; display:grid; place-items:center; border:8px solid #1ed760; border-radius:50%; color:#1ed760; font-size:76px; font-weight:900; box-shadow:0 12px 35px #0005; }
.spotify-eyebrow { color:#1ed760; font-size:10px; font-weight:800; letter-spacing:1.3px; }
.spotify-card h1 { margin-top:9px; color:#fff; }
.spotify-card p { color:#d0ded4; }
.spotify-link-placeholder { margin-top:26px; padding:15px; border:1px solid #ffffff35; border-radius:12px; color:#d0ded4; font-size:12px; line-height:1.5; }


/* Personal, playful Home Screen widgets */
.personal-widgets .home-widget { height:clamp(130px,39vw,154px); padding:14px 13px; }
.widget-streak {
  background:radial-gradient(circle at 85% 12%,rgba(255,255,255,.35),transparent 34%),linear-gradient(145deg,#e6a34c,#dc754f 55%,#a84e55);
}
.streak-count { display:flex; align-items:baseline; gap:6px; margin:auto 0 5px; }
.streak-count strong { font-size:54px; line-height:.95; font-weight:750; letter-spacing:-2px; }
.streak-count small { font-size:14px; font-weight:650; }
.widget-streak .widget-foot { font-size:9px; }
@media (max-width:600px) {
  .personal-widgets { top:15.5%; grid-template-columns:1fr; }
  .personal-widgets .widget-streak { width:calc(50% - 5px); }
}

@media (min-width:601px) { .personal-widgets { grid-template-columns:1fr; } .personal-widgets .widget-streak { width:calc(50% - 5px); } }


/* Home Screen refinement: native iOS rhythm, no portfolio-style split layout */
.home-widgets.personal-widgets {
  top: 14.2%;
  left: 5.5%;
  right: auto;
  width: 47%;
  display: block;
}
.personal-widgets .widget-streak {
  width: 100%;
  height: 88px;
  min-height: 0;
  padding: 10px 13px;
  border-radius: 19px;
  box-shadow: 0 4px 14px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.2);
}
.streak-count { margin: 0; gap: 5px; }
.streak-count strong { font-size: 34px; line-height: 1; }
.streak-count small { font-size: 11px; }
.widget-streak .widget-kicker { font-size: 8px; letter-spacing: 1px; }
.widget-streak .widget-foot { font-size: 8px; }
.app-grid {
  top: 29%;
  left: 5%;
  width: 90%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 0;
  row-gap: 25px;
}
.app { gap: 6px; }
.app-icon { width: 58px; height: 58px; border-radius: 17px; }
.app>span:last-child { font-size: 11px; font-weight: 500; }
.home-screen { padding-bottom: 49px; }
.dock {
  left: 5%;
  right: 5%;
  height: 82px;
  bottom: 26px;
  border-radius: 26px;
  background: rgba(240,242,248,.34);
  border-color: rgba(255,255,255,.2);
}
.dock .app-icon { width: 58px; height: 58px; }
.home-page-indicator { bottom: 7px; }
@media (max-width:600px) {
  .home-widgets.personal-widgets { top: 14.2%; left: 5.5%; width: 47%; }
  .app-grid { top: 29%; left: 5%; width: 90%; margin-top: 0; row-gap: 25px; }
}
@media (max-height:740px) {
  .home-widgets.personal-widgets { top: 13%; }
  .app-grid { top: 27%; row-gap: 17px; }
  .app-icon { width: 53px; height: 53px; }
}


/* Home screen spacing + recognizable brand marks */
.app-grid {
  top: 30%;
  left: 4%;
  width: 92%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  justify-items: center;
  column-gap: 0;
  row-gap: 29px;
}
.app-grid .app { width: 100%; min-height: 88px; gap: 8px; }
.app-grid .app:nth-child(5) { grid-column: 2; }
.app-grid .app:nth-child(6) { grid-column: 3; }
.app-icon {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,.22);
}
.app>span:last-child {
  font-size: 12px;
  line-height: 15px;
  min-height: 15px;
}
.brand-icon {
  display: block;
  width: 100%;
  height: 100%;
  padding: 13px;
  object-fit: contain;
}
.linkedin-icon { background: #fff; }
.ios-spotify { background: #1ed760; }
.dock { gap: 0; padding-inline: 12px; }
.dock .app-icon { width: 58px; height: 58px; flex-basis: 58px; }
@media (max-width: 600px) {
  .app-grid { top: 30%; left: 4%; width: 92%; row-gap: 25px; }
}
@media (max-height: 740px) {
  .app-grid { top: 28%; row-gap: 15px; }
  .app-grid .app { min-height: 78px; }
  .app-icon { width: 54px; height: 54px; flex-basis: 54px; }
}


/* iOS-like app launch and return motion */
.app-screen.is-opening {
  animation: appLaunch 280ms cubic-bezier(.2,.82,.25,1) both;
  transform-origin: 50% 52%;
}
.app-screen.is-closing {
  animation: appClose 200ms cubic-bezier(.4,0,1,1) both;
  transform-origin: 50% 52%;
}
@keyframes appLaunch {
  from { opacity: 0; transform: scale(.94); filter: blur(2px); }
  to { opacity: 1; transform: scale(1); filter: blur(0); }
}
@keyframes appClose {
  from { opacity: 1; transform: scale(1); filter: blur(0); }
  to { opacity: 0; transform: scale(.97); filter: blur(1px); }
}
@media (prefers-reduced-motion: reduce) {
  .app-screen.is-opening, .app-screen.is-closing { animation-duration: 1ms; }
}


/* Actual iOS 26 system app artwork (right-hand icon in the side-by-side reference images) */
.app-icon.ios-notes,
.app-icon.ios-photos,
.app-icon.ios-contacts {
  background-repeat: no-repeat;
  /* Crop the comparison image's dark outer canvas so only the app artwork fills the icon. */
  background-size: 250% 125%;
  background-position: right center;
  background-color: #fff;
}
.app-icon.ios-notes {
  background-image: url("https://9to5mac.com/wp-content/uploads/sites/6/2025/07/Notes.jpeg?quality=82&strip=all&w=1024");
}
.app-icon.ios-photos {
  background-image: url("https://9to5mac.com/wp-content/uploads/sites/6/2025/07/Photos.jpeg?quality=82&strip=all&w=1024");
}
.app-icon.ios-contacts {
  background-image: url("https://9to5mac.com/wp-content/uploads/sites/6/2025/07/Contacts.jpeg?quality=82&strip=all&w=1024");
}
.app-icon.ios-notes > *, .app-icon.ios-photos > *, .app-icon.ios-contacts > * { display: none !important; }


/* Keep app artwork clean: no extra frame or outline around individual icons */
.app-icon {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}
.app-icon img,
.app-icon svg {
  border: 0;
  outline: 0;
  box-shadow: none;
}


/* Use complete standalone Apple icon files, not crops from comparison images. */
.app-icon.ios-notes,
.app-icon.ios-photos,
.app-icon.ios-contacts {
  background: transparent !important;
}
.system-icon-art {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0 !important;
  object-fit: cover;
  border-radius: inherit;
}


/* Reliable local fallbacks: keep the system icons visible without external image requests. */
.app-icon.ios-notes {
  background:
    repeating-linear-gradient(to bottom, transparent 0 11px, rgba(125,125,125,.42) 11px 12px, transparent 12px 17px) 50% 27px / 72% 60% no-repeat,
    linear-gradient(#ffd936 0 25%, #fff 25% 100%) !important;
}
.ios-photos {
  background-color: #fff !important;
  background-image:
    radial-gradient(ellipse 19% 32% at 50% 24%, #ff9c00 0 70%, transparent 73%),
    radial-gradient(ellipse 19% 32% at 50% 76%, #2587ed 0 70%, transparent 73%),
    radial-gradient(ellipse 32% 19% at 24% 50%, #d94dd1 0 70%, transparent 73%),
    radial-gradient(ellipse 32% 19% at 76% 50%, #61c92f 0 70%, transparent 73%),
    radial-gradient(ellipse 19% 32% at 30% 30%, #ff547b 0 70%, transparent 73%),
    radial-gradient(ellipse 19% 32% at 70% 30%, #ffc400 0 70%, transparent 73%),
    radial-gradient(ellipse 19% 32% at 30% 70%, #8c5ce8 0 70%, transparent 73%),
    radial-gradient(ellipse 19% 32% at 70% 70%, #20b78d 0 70%, transparent 73%) !important;
}
.ios-contacts {
  background:
    radial-gradient(circle at 50% 35%, #fff 0 18%, transparent 19%),
    radial-gradient(ellipse at 50% 100%, #fff 0 37%, transparent 38%),
    linear-gradient(135deg, #b9d8df, #e8e3c9) !important;
}


/* Final Home Screen icon pass: complete inline artwork, no external image dependencies. */
.app-icon.ios-notes,
.app-icon.ios-photos,
.app-icon.ios-contacts {
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0;
  border: 0;
  outline: 0;
  box-shadow: 0 2px 5px rgba(0,0,0,.16);
  background: transparent !important;
}
.app-icon.ios-notes > svg,
.app-icon.ios-photos > svg,
.app-icon.ios-contacts > svg {
  display: block !important;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  box-shadow: none;
}


/* Native iOS 26 system artwork: isolate the right-hand icon from each verified side-by-side reference image. */
.app-icon.ios-notes,
.app-icon.ios-photos,
.app-icon.ios-contacts {
  background-repeat: no-repeat !important;
  background-size: 257% 129% !important;
  background-position: 89% 42% !important;
  background-color: transparent !important;
}
.app-icon.ios-notes {
  background-image: url("https://9to5mac.com/wp-content/uploads/sites/6/2025/07/Notes.jpeg?quality=82&strip=all&w=1024") !important;
}
.app-icon.ios-photos {
  background-image: url("https://9to5mac.com/wp-content/uploads/sites/6/2025/07/Photos.jpeg?quality=82&strip=all&w=1024") !important;
}
.app-icon.ios-contacts {
  background-image: url("https://9to5mac.com/wp-content/uploads/sites/6/2025/07/Contacts.jpeg?quality=82&strip=all&w=1024") !important;
}
.app-icon.ios-notes > svg,
.app-icon.ios-photos > svg,
.app-icon.ios-contacts > svg {
  display: none !important;
}


/* Reference-based device and home-screen layout (394 × 852 design canvas). */
body {
  min-height: 100svh;
  background: #0e0e10;
}
.stage {
  width: 100%;
  height: 100svh;
  min-height: 0;
  padding: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.phone {
  width: 394px;
  height: 852px;
  max-height: none;
  aspect-ratio: auto;
  padding: 0;
  border-radius: 62px;
  background: #000;
  box-shadow: 0 0 0 3px #3a3a3c, 0 0 0 10px #151517, 0 40px 90px #000a;
  transform: scale(var(--phone-scale, 1));
  transform-origin: center center;
}
.phone::before,
.phone::after,
.outer-home-indicator {
  display: none !important;
}
.screen {
  width: 394px;
  height: 852px;
  border-radius: 60px;
}
.dynamic-island {
  top: 11px;
  width: 120px;
  height: 35px;
  border-radius: 20px;
}
.camera-dot { display: none; }
.ios-status-bar {
  height: 54px;
  padding: 6px 34px 0 46px;
  font-size: 16px;
  font-weight: 600;
  z-index: 90;
}
.app-status-bar {
  flex: 0 0 54px;
  padding: 6px 34px 0 46px;
}
.lock-content {
  top: 78px;
}
.lock-date {
  font-size: 20px;
  font-weight: 600;
}
.lock-clock {
  margin-top: 2px;
  font-size: 88px;
  line-height: .96;
  font-weight: 500;
  letter-spacing: -5px;
}
.lock-widgets {
  top: 198px;
  bottom: auto;
  left: 12px;
  right: 12px;
  gap: 8px;
}
.lock-widget {
  height: 76px;
  padding: 10px 12px;
  border-radius: 24px;
  background: rgba(154,149,162,.50);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}
.home-screen {
  padding: 0;
}
.home-widgets {
  top: 48px;
  left: 18px;
  right: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.home-widget {
  height: 172px;
  min-height: 172px;
  border-radius: 22px;
  padding: 14px;
  border: 0;
  box-shadow: none;
}
.app-grid {
  top: 254px;
  left: 18px;
  width: 358px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 76px;
  column-gap: 0;
  row-gap: 16px;
  align-items: start;
  justify-items: center;
}
.app-grid .app {
  width: 100%;
  min-height: 76px;
  gap: 5px;
  grid-column: auto;
  grid-row: auto;
}
.app-icon {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  border-radius: 14px;
  box-shadow: none !important;
}
.app > span:last-child {
  font-size: 11px;
  line-height: 11px;
  min-height: 11px;
  font-weight: 500;
}
.home-feature {
  position: relative;
  top: auto;
  right: auto;
  grid-column: 3 / 5;
  grid-row: 1 / 3;
  width: auto;
  height: auto;
  min-height: 0;
  padding: 14px 13px;
  border: 0;
  border-radius: 14px;
  box-shadow: none;
}
.feature-heading {
  font-size: 29px;
  line-height: .98;
  margin-bottom: 15px;
}
.feature-orbit {
  width: 170px;
  height: 170px;
  right: -60px;
  top: 28px;
}
.dock {
  left: 14px;
  right: 14px;
  bottom: 24px;
  height: 88px;
  padding: 0 8px;
  border: 0;
  border-radius: 34px;
  background: rgba(255,255,255,.22);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: none;
}
.dock .app-icon {
  width: 60px;
  height: 60px;
  flex-basis: 60px;
  border-radius: 14px;
}
.home-page-indicator {
  bottom: 8px;
  width: 134px;
  height: 5px;
}
.app-icon.ios-notes,
.app-icon.ios-photos,
.app-icon.ios-contacts,
.app-icon.ios-files,
.app-icon.ios-resume,
.app-icon.ios-books {
  background: transparent !important;
  background-image: none !important;
  overflow: hidden;
}
.app-icon.ios-notes > svg,
.app-icon.ios-photos > svg,
.app-icon.ios-contacts > svg,
.app-icon.ios-files > svg,
.app-icon.ios-resume > svg,
.app-icon.ios-books > svg {
  display: block !important;
  width: 100%;
  height: 100%;
}
@media (max-width: 600px) {
  .stage { padding: 0; }
  .phone {
    width: 394px;
    height: 852px;
    max-height: none;
    padding: 0;
    border-radius: 62px;
    background: #000;
    box-shadow: 0 0 0 3px #3a3a3c, 0 0 0 10px #151517, 0 40px 90px #000a;
  }
  .screen { width: 394px; height: 852px; border-radius: 60px; }
}


/* Clear an older one-off grid placement so all four app icons auto-flow beside the featured tile. */
.app-grid .app:nth-child(n) {
  grid-column: auto;
  grid-row: auto;
}


/* Home-screen composition: bring back the looser, editorial balance of the earlier build. */
.home-screen {
  padding: 0;
}

.home-widgets {
  top: 62px;
  left: 18px;
  right: 18px;
  height: 172px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.home-widget {
  height: 172px;
  min-height: 172px;
  border-radius: 22px;
  padding: 14px;
}

.home-widgets .widget-about {
  background:
    linear-gradient(145deg, rgba(225,205,176,.94), rgba(115,124,126,.96) 55%, rgba(48,61,70,.98));
}

.home-widgets .widget-experience {
  background:
    linear-gradient(145deg, rgba(54,63,77,.98), rgba(87,101,111,.96) 52%, rgba(179,156,128,.92));
}

.app-grid {
  top: 244px;
  left: 18px;
  width: 358px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 76px;
  column-gap: 0;
  row-gap: 17px;
  align-items: start;
  justify-items: center;
}

.app-grid .app {
  width: 100%;
  min-height: 76px;
  gap: 5px;
}

.app-grid .home-feature {
  grid-column: 3 / 5;
  grid-row: 1 / 3;
  min-height: 169px;
  align-self: stretch;
}

.app-grid .app:nth-of-type(2) {
  grid-column: 2;
  grid-row: 1;
}

.app-grid .app:nth-of-type(3) {
  grid-column: 1;
  grid-row: 2;
}

.app-grid .app:nth-of-type(4) {
  grid-column: 2;
  grid-row: 2;
}

.dock {
  left: 14px;
  right: 14px;
  bottom: 24px;
  height: 88px;
  border-radius: 34px;
}

@media (max-height: 740px) {
  .home-widgets {
    top: 50px;
    height: 150px;
  }
  .home-widget {
    height: 150px;
    min-height: 150px;
  }
  .app-grid {
    top: 220px;
    row-gap: 12px;
  }
  .app-grid .home-feature {
    min-height: 155px;
  }
}



/* Final Home Screen pass: make the layout read as an iPhone Home Screen first. */
.home-widgets {
  top: 62px;
  left: 18px;
  right: 18px;
  height: 172px;
  gap: 12px;
}

.home-widget {
  height: 172px;
  min-height: 172px;
  border-radius: 22px;
  padding: 14px;
  border: 0;
  box-shadow: 0 7px 22px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.16);
}

.home-widgets .widget-about {
  background:
    linear-gradient(180deg, rgba(7,12,18,.02), rgba(7,12,18,.36)),
    radial-gradient(ellipse at 22% 18%, rgba(255,231,190,.95) 0 14%, transparent 15%),
    radial-gradient(ellipse at 70% 36%, rgba(184,154,126,.95) 0 22%, transparent 23%),
    linear-gradient(135deg, #c6a887 0%, #6f6d70 54%, #34414a 100%);
}

.home-widgets .widget-experience {
  background:
    linear-gradient(180deg, rgba(7,12,18,.02), rgba(7,12,18,.4)),
    radial-gradient(ellipse at 28% 25%, rgba(214,229,222,.95) 0 16%, transparent 17%),
    radial-gradient(ellipse at 74% 38%, rgba(106,129,137,.95) 0 25%, transparent 26%),
    linear-gradient(135deg, #83999c 0%, #4d6370 53%, #293d50 100%);
}

.widget-kicker {
  font-size: 9px;
  letter-spacing: 1.15px;
  font-weight: 700;
}

.widget-heading {
  font-size: 23px;
  line-height: 1.02;
  letter-spacing: -.8px;
  font-weight: 700;
}

.widget-foot {
  font-size: 10px;
  font-weight: 600;
}

.app-grid {
  top: 254px;
  left: 18px;
  width: 358px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 76px;
  column-gap: 0;
  row-gap: 17px;
}

.app-grid .app {
  width: 100%;
  min-height: 76px;
  gap: 5px;
}

.app-grid [data-app="notes"] {
  grid-column: 1;
  grid-row: 1;
}

.app-grid [data-app="photos"] {
  grid-column: 2;
  grid-row: 1;
}

.app-grid [data-app="linkedin"] {
  grid-column: 1;
  grid-row: 2;
}

.app-grid [data-app="spotify"] {
  grid-column: 2;
  grid-row: 2;
}

.home-feature {
  position: relative;
  top: auto;
  right: auto;
  grid-column: 3 / 5;
  grid-row: 1 / 3;
  width: auto;
  height: 169px;
  min-height: 169px;
  padding: 0;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  display: block;
  background:
    linear-gradient(145deg, #d9d0c3 0%, #8b9495 48%, #3f5360 100%);
  box-shadow: 0 7px 22px rgba(0,0,0,.16);
}

.feature-photo {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  background:
    linear-gradient(150deg, rgba(255,255,255,.22), transparent 42%),
    radial-gradient(ellipse at 20% 18%, #e8d9c6 0 15%, transparent 16%),
    linear-gradient(135deg, transparent 0 34%, rgba(47,64,75,.82) 35% 58%, transparent 59%),
    linear-gradient(35deg, #b5c0bf 0 38%, #71878b 39% 64%, #d8c5ae 65% 100%);
  transform: scale(1.02);
}

.feature-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(8,13,18,.48) 100%);
}

.feature-photo-card {
  position: absolute;
  display: block;
  border-radius: 9px;
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
}

.feature-photo-card.card-one {
  width: 88px;
  height: 108px;
  left: 18px;
  top: 24px;
  transform: rotate(-8deg);
  background: linear-gradient(145deg, #d8b18d, #6c7880);
}

.feature-photo-card.card-two {
  width: 92px;
  height: 116px;
  right: 18px;
  top: 12px;
  transform: rotate(7deg);
  background: linear-gradient(145deg, #b8d0d0, #435765);
}

.feature-photo-card.card-three {
  width: 76px;
  height: 94px;
  left: 103px;
  bottom: -7px;
  transform: rotate(2deg);
  background: linear-gradient(145deg, #e0d0ba, #8e6d61);
}

.feature-photo-label {
  position: absolute;
  z-index: 2;
  left: 14px;
  right: 14px;
  bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 650;
  text-shadow: 0 1px 5px rgba(0,0,0,.55);
}

.feature-photo-label span:last-child {
  font-size: 21px;
  line-height: 12px;
  font-weight: 400;
}

.feature-orbit,
.feature-kicker,
.feature-heading,
.feature-link {
  display: none;
}

.dock {
  left: 14px;
  right: 14px;
  bottom: 24px;
  height: 88px;
  padding: 0 8px;
  border-radius: 34px;
  background: rgba(255,255,255,.24);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
}

.dock .app-icon {
  width: 60px;
  height: 60px;
  flex-basis: 60px;
  border-radius: 14px;
}

@media (max-height: 740px) {
  .home-widgets {
    top: 50px;
    height: 150px;
  }

  .home-widget {
    height: 150px;
    min-height: 150px;
  }

  .app-grid {
    top: 220px;
    row-gap: 12px;
  }

  .home-feature {
    height: 155px;
    min-height: 155px;
  }
}


/* Safari Favorites app */
.app-icon.ios-safari {
  overflow: hidden;
  background: transparent;
}
.app-icon.ios-safari svg {
  display: block;
  width: 100%;
  height: 100%;
}
.safari-browser {
  position: relative;
  min-height: 100%;
  margin: -2px -2px 0;
  padding: 12px 14px 76px;
  background: #f2f2f7;
  color: #17171b;
}
.safari-address {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 13px;
  border-radius: 13px;
  background: #fff;
  color: #74747c;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
  font-size: 13px;
}
.safari-lock { color: #3985d6; font-size: 15px; }
.safari-refresh { font-size: 18px; }
.safari-browser h1 {
  margin: 27px 2px 7px;
  color: #17171b;
  font-size: 28px;
  letter-spacing: -.8px;
}
.safari-intro {
  margin: 0 2px 20px;
  color: #777780;
  font-size: 12px;
  line-height: 1.45;
}
.safari-bookmark {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0;
  padding: 14px 12px;
  min-height: 76px;
  border-radius: 15px;
  background: #fff;
  color: #17171b;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.bookmark-monogram {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 11px;
  background: #20232b;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -.5px;
}
.feats-bookmark .bookmark-monogram {
  background: #e9f0ff;
  color: #244c8f;
  font-size: 23px;
}
.safari-bookmark b,
.safari-bookmark small { display: block; }
.safari-bookmark b { font-size: 13px; }
.safari-bookmark small {
  margin-top: 4px;
  color: #85858d;
  font-size: 10px;
  line-height: 1.3;
}
.safari-bookmark .arrow {
  margin-left: auto;
  color: #8c8c94;
}
.safari-note {
  margin: 26px 3px 0;
  color: #92929a;
  font-size: 11px;
  font-weight: 600;
}
.safari-toolbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 58px;
  border-top: 1px solid #dedee4;
  background: rgba(250,250,252,.96);
  color: #287fd0;
  font-size: 23px;
}


/* Final unique Home Screen app placement: non-Dock apps only. */
.app-grid [data-app="notes"] {
  grid-column: 1;
  grid-row: 1;
}
.app-grid [data-app="files"] {
  grid-column: 2;
  grid-row: 1;
}
.app-grid [data-app="safari"] {
  grid-column: 1;
  grid-row: 2;
}


/* Photography-led Home Screen widgets */
.home-widgets.photography-widgets {
  top: 62px;
  left: 18px;
  right: 18px;
  height: 172px;
  display: grid;
  grid-template-columns: minmax(0, 2.05fr) minmax(104px, 1fr);
  gap: 12px;
}
.photography-widgets .home-widget {
  height: 172px;
  min-height: 172px;
  padding: 0;
  border: 0;
  border-radius: 22px;
  box-shadow: 0 7px 22px rgba(0,0,0,.18);
}
.photo-widget {
  position: relative;
  justify-content: space-between;
  overflow: hidden;
  color: #fff;
  text-align: left;
  background:
    linear-gradient(180deg, rgba(9,14,22,.05) 20%, rgba(9,14,22,.62) 100%),
    url("/assets/widget-photo.jpg") center 48% / cover;
}
.photo-widget::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: inherit;
  pointer-events: none;
}
.photo-widget-caption {
  position: relative;
  z-index: 1;
  margin: 13px 14px;
  font-size: 8px;
  line-height: 1;
  letter-spacing: 1.35px;
  font-weight: 750;
  color: rgba(255,255,255,.94);
  text-shadow: 0 1px 5px rgba(0,0,0,.45);
}
.photo-widget-bottom {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 14px 13px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  text-shadow: 0 1px 7px rgba(0,0,0,.48);
}
.photo-widget-bottom strong {
  font-size: 17px;
  line-height: 1.05;
  letter-spacing: -.45px;
  font-weight: 720;
}
.photo-widget-bottom span {
  font-size: 9px;
  line-height: 1;
  font-weight: 650;
  color: rgba(255,255,255,.9);
}
.photography-widgets .calendar-widget {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 14px 12px;
  overflow: hidden;
  background: rgba(255,255,255,.96);
  color: #1c1c1e;
  border: 1px solid rgba(255,255,255,.82);
}
.calendar-weekday {
  color: #ff453a;
  font-size: 10px;
  line-height: 13px;
  font-weight: 750;
  letter-spacing: .55px;
}
.calendar-day {
  margin-top: 1px;
  font-size: 49px;
  line-height: 1.02;
  letter-spacing: -2.5px;
  font-weight: 350;
  font-variant-numeric: tabular-nums;
}
.calendar-month {
  margin-top: 3px;
  color: #77777d;
  font-size: 8px;
  line-height: 1;
  font-weight: 750;
  letter-spacing: .9px;
}
.calendar-event {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  color: #77777d;
  font-size: 8px;
  line-height: 1.2;
  white-space: nowrap;
}
.calendar-event-dot {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: #ff453a;
}
.app-grid { top: 254px; }
.app-grid .home-feature { display: none; }
@media (max-height: 740px) {
  .home-widgets.photography-widgets { top: 50px; height: 150px; }
  .photography-widgets .home-widget { height: 150px; min-height: 150px; }
  .app-grid { top: 220px; }
  .calendar-day { font-size: 43px; }
}


/* Match the proportions of two native iOS small widgets on a 393–394pt iPhone. */
.home-widgets.photography-widgets {
  top: 62px;
  left: 50%;
  right: auto;
  width: 332px;
  height: 158px;
  transform: translateX(-50%);
  grid-template-columns: repeat(2, 158px);
  gap: 16px;
}
.photography-widgets .home-widget {
  width: 158px;
  height: 158px;
  min-height: 158px;
  border-radius: 22px;
}
.photography-widgets .calendar-widget {
  padding: 13px 12px;
}
.calendar-day { font-size: 47px; }
.app-grid { top: 244px; }
@media (max-width: 360px) {
  .home-widgets.photography-widgets {
    width: calc(100% - 36px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .photography-widgets .home-widget {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1;
  }
}
@media (max-height: 740px) {
  .home-widgets.photography-widgets {
    top: 50px;
    height: 148px;
    grid-template-columns: repeat(2, 148px);
    width: 312px;
    gap: 16px;
  }
  .photography-widgets .home-widget {
    width: 148px;
    height: 148px;
    min-height: 148px;
  }
  .app-grid { top: 220px; }
  .calendar-day { font-size: 43px; }
}


/* Compact, glanceable schedule rows for the small Calendar widget. */
.photography-widgets .calendar-events {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  margin-top: auto;
}
.photography-widgets .calendar-event {
  display: grid;
  grid-template-columns: 5px 39px minmax(0, 1fr);
  align-items: center;
  gap: 4px;
  margin: 0;
  min-width: 0;
  color: #77777d;
  font-size: 8px;
  line-height: 1.15;
  white-space: nowrap;
}
.photography-widgets .calendar-event time {
  font-size: 7px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.photography-widgets .calendar-event strong {
  overflow: hidden;
  color: #303036;
  font-size: 8px;
  font-weight: 650;
  text-overflow: ellipsis;
}
.photography-widgets .calendar-event-dot {
  width: 5px;
  height: 5px;
  margin: 0;
}
.photography-widgets .run-dot { background: #34c759; }
.photography-widgets .lesson-dot { background: #0a84ff; }

/* Minjeong HAR reference: clean iOS icon artwork and 14px corner geometry. */
.home-screen .app-icon { border-radius: 14px; overflow: hidden; background: transparent; box-shadow: 0 2px 7px rgba(0,0,0,.22); }
.home-screen .app-icon > svg { display:block; width:100%; height:100%; }
.home-screen .app:active .app-icon { filter: brightness(.82); }

/* iPhone-inspired Home Screen motion */
.home-screen.home-arriving .home-widgets { animation: iosWidgetIn 540ms cubic-bezier(.2,.9,.24,1.08) both; }
.home-screen.home-arriving .app-grid .app { animation: iosIconIn 490ms cubic-bezier(.2,.85,.25,1.08) both; }
.home-screen.home-arriving .app-grid .app:nth-child(1) { animation-delay: 70ms; }
.home-screen.home-arriving .app-grid .app:nth-child(2) { animation-delay: 105ms; }
.home-screen.home-arriving .app-grid .app:nth-child(3) { animation-delay: 140ms; }
.home-screen.home-arriving .dock { animation: iosDockIn 570ms cubic-bezier(.18,.85,.25,1.08) both; }
.home-screen.home-returning .home-widgets,.home-screen.home-returning .app-grid,.home-screen.home-returning .dock { animation: iosReturnIn 320ms cubic-bezier(.18,.85,.25,1) both; }
.home-screen .app-icon { transition: transform 180ms cubic-bezier(.2,.8,.2,1), filter 180ms ease; }
.home-screen .app:active .app-icon { transform: scale(.88); filter: brightness(.82); }
.home-screen .home-widget { transition: scale 180ms cubic-bezier(.2,.8,.2,1), filter 180ms ease; }
.home-screen button.home-widget:active { scale: .96; filter: brightness(.9); }
.app-screen.is-opening,.app-screen.is-closing { transform-origin: var(--app-origin, 50% 50%); }
@keyframes iosWidgetIn { from { opacity:0; transform:translateX(-50%) translateY(23px) scale(.94); } to { opacity:1; transform:translateX(-50%) translateY(0) scale(1); } }
@keyframes iosIconIn { from { opacity:0; transform:translateY(24px) scale(.78); } to { opacity:1; transform:translateY(0) scale(1); } }
@keyframes iosDockIn { from { opacity:0; transform:translateY(40px) scale(.94); } to { opacity:1; transform:translateY(0) scale(1); } }
@keyframes iosReturnIn { from { opacity:.65; scale:.96; } to { opacity:1; scale:1; } }
@media (prefers-reduced-motion: reduce) {
  .home-screen.home-arriving .home-widgets,.home-screen.home-arriving .app-grid .app,.home-screen.home-arriving .dock,.home-screen.home-returning .home-widgets,.home-screen.home-returning .app-grid,.home-screen.home-returning .dock { animation:none !important; }
  .home-screen .app-icon,.home-screen .home-widget { transition:none !important; }
}

/* Discoverable mouse interaction for the iPhone bottom-edge swipe gesture. */
@media (hover: hover) and (pointer: fine) {
  .phone.swipe-ready, .phone.swipe-ready .screen, .phone.swipe-ready .screen * { cursor: grab !important; }
  .phone.swipe-dragging, .phone.swipe-dragging .screen, .phone.swipe-dragging .screen * { cursor: grabbing !important; }
  .swipe-pill, .app-home-indicator, .home-page-indicator, .outer-home-indicator { cursor: grab; }
  .swipe-pill:hover, .app-home-indicator:hover, .outer-home-indicator:hover { box-shadow: 0 0 0 4px rgba(255,255,255,.12); }
}

/* Interactive Safari — native-inspired bottom address bar and tabs */
.safari-shell{position:relative;display:flex;flex-direction:column;height:100%;min-height:0;margin:-25px -20px -45px;background:#f5f5fa;color:#1c1c1e}
.safari-view{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}
.safari-start{padding:34px 20px 28px}
.safari-start h1{font-size:30px;letter-spacing:-1px;margin:0 0 22px;font-weight:750}
.safari-start h2{font-size:21px;margin:30px 0 12px;letter-spacing:-.4px}
.safari-favorites{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.safari-favorite{display:flex;flex-direction:column;align-items:center;gap:6px;border:0;background:transparent;color:inherit;text-align:center;cursor:pointer;min-width:0}
.safari-favorite-icon{display:grid;place-items:center;width:66px;height:66px;border-radius:16px;background:#fff;box-shadow:0 2px 12px #00000012;color:#1c1c1e;font-size:21px;font-weight:800;letter-spacing:-1px}
.safari-favorite:nth-child(2) .safari-favorite-icon{background:#e7edff;color:#2c53ad;font-size:31px}
.safari-favorite strong{font-size:12px}
.safari-favorite small{font-size:10px;color:#777;line-height:1.3}
.safari-privacy{background:#fff;padding:19px;border-radius:17px;font-size:13px;color:#555;line-height:1.5}
.safari-bottom{flex:none;padding:9px 14px 8px;background:rgba(249,249,252,.96);border-top:1px solid #d9d9df;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}
.safari-url-row{display:flex;align-items:center;gap:9px;padding:0 11px;border-radius:13px;background:#e9e9ee;height:42px}
.safari-url-row>span{font-size:17px;color:#777}
#safariAddressForm{flex:1;min-width:0}
#safariAddressInput{width:100%;min-width:0;border:0;outline:0;background:transparent;font-size:13px;color:#222;text-align:center;text-overflow:ellipsis}
#safariAddressInput:focus{text-align:left}
#safariReload{border:0;background:transparent;color:#3979c8;font-size:23px;cursor:pointer;padding:2px}
.safari-controls{display:flex;align-items:center;justify-content:space-between;padding:9px 5px 0}
.safari-controls button{position:relative;border:0;background:transparent;color:#1684d8;font-size:28px;line-height:32px;min-width:35px;cursor:pointer}
.safari-controls button:disabled{color:#b7b7bf;cursor:default}
#safariTabCount{position:absolute;top:10px;left:50%;transform:translateX(-50%);font-size:9px;color:#1684d8}
.safari-site-preview{display:flex;flex-direction:column;align-items:center;text-align:center;padding:75px 24px 20px;gap:14px}
.safari-site-globe{font-size:58px;color:#2586e4}
.safari-site-preview h1{font-size:25px;margin:0;overflow-wrap:anywhere}
.safari-site-preview p{font-size:13px;line-height:1.5;color:#74747b;margin:0;overflow-wrap:anywhere}
.safari-open-site{display:block;padding:13px 22px;background:#007aff;color:#fff!important;text-decoration:none;border-radius:13px;font-size:14px;font-weight:700;margin-top:12px}
.safari-start-link{background:transparent;border:0;color:#007aff;padding:10px;font-size:13px;cursor:pointer}
.safari-tab-heading{display:flex;justify-content:space-between;align-items:center;padding:24px 18px 15px}
.safari-tab-heading h1{font-size:24px;margin:0}
.safari-tab-heading button{border:0;background:transparent;color:#007aff;font-weight:700;cursor:pointer}
.safari-tab-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 15px 25px}
.safari-tab-card{position:relative;display:flex;flex-direction:column;justify-content:center;gap:10px;min-height:140px;padding:18px 12px;border:2px solid transparent;border-radius:15px;background:#fff;color:#222;box-shadow:0 2px 10px #00000010;text-align:left;cursor:pointer;min-width:0}
.safari-tab-card.selected{border-color:#007aff}
.safari-tab-card>span:first-child{font-size:15px;font-weight:700;overflow-wrap:anywhere}
.safari-tab-card small{font-size:10px;color:#888;overflow-wrap:anywhere}
.safari-tab-close{position:absolute;top:8px;right:10px;font-size:22px;color:#777}

/* Embedded Safari tabs: display sites in the in-phone viewport where permitted */
.safari-embedded-page{display:flex;flex-direction:column;height:100%;min-height:0;background:#fff}
.safari-embedded-page iframe{display:block;flex:1;min-height:0;width:100%;border:0;background:#fff}
.safari-embedded-fallback{flex:none;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:7px 12px;background:#f5f5fa;border-top:1px solid #e4e4e9;font-size:10px;color:#777}
.safari-embedded-fallback a{color:#007aff;text-decoration:none;font-weight:650;white-space:nowrap}

/* Feats fallback when external website cannot be embedded */
.safari-feats-preview{min-height:100%;display:flex;flex-direction:column;align-items:center;text-align:center;padding:55px 24px 35px;background:linear-gradient(180deg,#f2f5ff 0%,#fff 62%);color:#1b2340}
.safari-feats-mark{display:grid;place-items:center;width:82px;height:82px;border-radius:22px;background:#304d9e;color:#fff;font-size:49px;font-weight:800;box-shadow:0 12px 26px #304d9e35;margin-bottom:26px}
.safari-feats-eyebrow{font-size:10px;font-weight:800;letter-spacing:2px;color:#6478b1;margin-bottom:10px}
.safari-feats-preview h1{font-size:29px;letter-spacing:-.8px;margin:0 0 12px}
.safari-feats-preview p{max-width:275px;font-size:14px;line-height:1.6;color:#687188;margin:0 0 22px}
.safari-feats-domain{max-width:100%;overflow-wrap:anywhere;font-size:11px;color:#7e89a3;margin-bottom:23px}
.safari-feats-open{display:block;padding:14px 23px;border-radius:13px;background:#2456ba;color:#fff!important;font-size:14px;font-weight:750;text-decoration:none;box-shadow:0 5px 16px #2456ba30}
.safari-feats-preview small{margin-top:13px;color:#8d95a8;font-size:11px}

/* Safari iOS-inspired chrome — keep existing browsing and tabs functionality */
.app-screen.safari-active .app-header{display:none}
.app-screen.safari-active .app-content{padding-top:0;padding-bottom:0;overflow:hidden;background:#f6f6f9}
.app-screen.safari-active .safari-shell{margin:0;height:100%}
.app-screen.safari-active .app-home-indicator{background:#222}
.safari-shell{background:#f5f5f7}
.safari-bottom{position:relative;z-index:2;padding:9px 15px 7px;background:rgba(248,248,250,.97);border-top:1px solid rgba(130,130,140,.23);box-shadow:0 -5px 22px #00000008}
.safari-url-row{height:45px;padding:0 13px;gap:9px;border-radius:13px;background:#e9e9ed;box-shadow:inset 0 1px 2px #00000007}
.safari-url-row>span{font-size:16px;color:#8b8b93}
#safariAddressInput{font-size:14px;font-weight:500;letter-spacing:-.2px;color:#29292e}
#safariAddressInput::placeholder{color:#8e8e95}
#safariReload{display:grid;place-items:center;width:27px;height:32px;padding:3px;color:#007aff}
#safariReload svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.safari-controls{height:48px;padding:9px 0 0;gap:8px}
.safari-controls button{display:grid;place-items:center;position:relative;min-width:39px;height:38px;padding:4px;color:#007aff}
.safari-controls button svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.safari-controls button:disabled{color:#c2c2c8}
#safariTabCount{top:12px;left:50%;transform:translateX(-50%);font-size:9px;line-height:12px;color:inherit;font-weight:700;pointer-events:none}
.safari-start{padding:31px 23px 36px}
.safari-start-title{font-size:31px;font-weight:750;letter-spacing:-1px;color:#17171b;margin-bottom:29px}
.safari-start h1{font-size:20px;font-weight:730;letter-spacing:-.4px;margin:0 0 17px}
.safari-favorites{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 8px}
.safari-favorite{gap:7px}
.safari-favorite-icon{width:61px;height:61px;max-width:100%;border-radius:14px;font-size:18px}
.safari-favorite:nth-child(2) .safari-favorite-icon{font-size:29px}
.safari-favorite strong{font-size:11px;line-height:1.2}
.safari-favorite small{display:none}
.safari-start h2{font-size:20px;margin:36px 0 14px}
.safari-privacy{padding:17px;border-radius:14px;box-shadow:0 1px 3px #00000008}
.safari-tab-heading{padding:26px 20px 20px}
.safari-tab-heading h1{font-size:30px;letter-spacing:-.8px}
.safari-tab-grid{gap:13px;padding:0 16px 30px}
.safari-tab-card{min-height:185px;justify-content:flex-end;gap:7px;padding:14px;border-radius:17px;border-width:2px;background:linear-gradient(180deg,#fdfdff 0%,#e9ecf4 70%,#fff 70%);box-shadow:0 5px 16px #00000012}
.safari-tab-card>span:first-child{font-size:13px}
.safari-tab-card small{font-size:10px;line-height:1.4}
.safari-tab-close{top:8px;right:10px;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#00000012;font-size:20px}
@media(max-width:360px){.safari-start{padding-left:16px;padding-right:16px}.safari-favorite-icon{width:53px;height:53px}.safari-controls{gap:2px}}

/* LinkedIn-inspired native mobile app */
.app-screen.linkedin-active .app-header{display:none}
.app-screen.linkedin-active .app-content{padding:0;overflow:hidden;background:#f3f2ef}
.li-app{height:100%;min-height:0;display:flex;flex-direction:column;background:#f3f2ef;color:#191919;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.li-topbar{flex:none;height:53px;display:flex;align-items:center;gap:11px;padding:7px 13px;background:#fff;border-bottom:1px solid #e5e5e5}
.li-avatar,.li-profile-avatar{display:grid;place-items:center;flex:none;background:#536e87;color:#fff;border-radius:50%;font-weight:700}
.li-avatar{width:33px;height:33px;font-size:11px;cursor:pointer}
.li-search{height:35px;display:flex;align-items:center;gap:8px;flex:1;padding:0 12px;background:#edf3f8;border-radius:5px;color:#596774;font-size:14px}
.li-search span{font-size:24px}
.li-top-icon{border:0;background:none;color:#555;font-size:26px;padding:4px}
.li-content{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}
.li-nav{flex:none;height:61px;display:flex;justify-content:space-around;align-items:center;background:#fff;border-top:1px solid #ddd}
.li-nav button{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:5px 0;border:0;background:none;color:#777;font-size:9px;white-space:nowrap}
.li-nav button.active{color:#191919;border-top:2px solid #191919}
.li-nav-icon{font-size:23px;line-height:26px}
.li-profile{padding-bottom:20px}
.li-cover{height:104px;background:linear-gradient(135deg,#395c77,#9ab7c7 62%,#dce7ec)}
.li-profile-body{position:relative;background:#fff;padding:56px 17px 20px;margin-bottom:9px}
.li-profile-avatar{position:absolute;top:-48px;left:16px;width:91px;height:91px;border:4px solid #fff;font-size:28px}
.li-profile-name{font-size:22px;line-height:1.2;font-weight:750;letter-spacing:-.45px}
.li-degree{font-size:12px;font-weight:400;color:#666;white-space:nowrap}
.li-headline{font-size:14px;line-height:1.45;margin:8px 0 4px}
.li-location{font-size:12px;line-height:1.5;color:#666;margin:0 0 17px}
.li-profile-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.li-primary,.li-secondary{display:inline-flex;justify-content:center;align-items:center;padding:9px 16px;border-radius:25px;font-size:13px;font-weight:700;text-decoration:none}
.li-primary{background:#0a66c2;color:white!important;border:1px solid #0a66c2}
.li-secondary{color:#0a66c2;border:1px solid #0a66c2;background:#fff}
.li-panel{background:#fff;padding:18px 16px;margin-bottom:9px}
.li-panel h2{font-size:18px;letter-spacing:-.3px;margin:0 0 12px}
.li-panel p{font-size:13px;line-height:1.55;margin:0 0 9px;color:#444}
.li-panel a,.li-feed-card a{font-size:13px;color:#0a66c2;font-weight:700;text-decoration:none}
.li-experience-row{display:flex;gap:11px}
.li-experience-logo{display:grid;place-items:center;flex:none;width:44px;height:44px;background:#0a66c2;color:#fff;font-size:23px;font-weight:800}
.li-experience-row strong{font-size:14px}
.li-feed{padding:12px 0}
.li-feed-label{padding:0 15px 12px;font-size:12px;color:#666}
.li-feed-card{background:#fff;padding:15px;margin-bottom:9px}
.li-feed-author{display:flex;align-items:center;gap:9px}
.li-feed-author strong{font-size:13px}
.li-feed-author small{display:block;font-size:11px;color:#777}
.li-feed-card p{font-size:13px;line-height:1.55;margin:15px 0}
.li-feed-link{border:0;background:none;padding:0;color:#0a66c2;font-size:13px;font-weight:700}
.li-feed-actions{display:flex;justify-content:space-between;border-top:1px solid #eee;padding-top:13px;margin-top:16px;color:#666;font-size:11px}
.li-placeholder{display:flex;flex-direction:column;align-items:center;text-align:center;padding:72px 24px}
.li-placeholder-icon{display:grid;place-items:center;width:66px;height:66px;background:#0a66c2;color:#fff;font-size:35px;font-weight:800;border-radius:13px}
.li-placeholder h1{font-size:23px;margin:22px 0 9px}
.li-placeholder p{font-size:13px;line-height:1.6;color:#666;margin:0 0 24px}

/* Profile-only LinkedIn iOS presentation */
.li-profile-only .li-native-header{flex:none;height:52px;background:#fff;border-bottom:1px solid #e5e5e5;display:flex;align-items:center;gap:12px;padding:0 16px}
.li-native-brand{display:grid;place-items:center;background:#0a66c2;color:white;font-weight:800;font-size:18px;width:29px;height:29px;border-radius:4px}
.li-native-header strong{flex:1;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.li-native-header a{font-size:23px;color:#555;text-decoration:none}
.li-profile-only .li-profile-body{padding-top:57px}
.li-profile-only .li-profile-name{font-size:24px}
.li-profile-only .li-location a{color:#0a66c2;text-decoration:none;font-weight:600}
.li-native-affiliation{font-size:12px;font-weight:650;margin:0 0 15px;color:#414141}
.li-native-item{display:flex;gap:12px;padding:15px 0;border-bottom:1px solid #ededed}
.li-native-item:last-child{border-bottom:0;padding-bottom:0}
.li-native-company-icon{flex:none;width:43px;height:43px;display:grid;place-items:center;background:#e6eef4;color:#295371;font-size:14px;font-weight:800;border-radius:3px}
.li-native-item-copy{flex:1;min-width:0}
.li-native-item-copy strong,.li-native-item-copy span,.li-native-item-copy small{display:block}
.li-native-item-copy strong{font-size:14px;line-height:1.35}
.li-native-item-copy span{font-size:12px;margin-top:2px}
.li-native-item-copy small{font-size:11px;line-height:1.4;color:#777;margin-top:4px}
.li-native-item-copy p{margin:11px 0 0;font-size:12px;line-height:1.55;white-space:normal}
.li-native-list-row{padding:12px 0;border-bottom:1px solid #ededed;font-size:13px;font-weight:550;line-height:1.45}
.li-native-list-row:last-child{border:0;padding-bottom:0}
.li-native-footer{text-align:center;padding:18px 12px 28px}
.li-native-footer a{font-size:13px;color:#0a66c2;text-decoration:none;font-weight:700}
.li-profile-only .li-content{scrollbar-width:none}
.li-profile-only .li-content::-webkit-scrollbar{display:none}

/* Relevant visual assets for LinkedIn profile */
.li-profile-only .li-cover{position:relative;overflow:hidden;height:122px;background:linear-gradient(115deg,#112e45 0%,#235e75 52%,#8cb6b8 100%)}
.li-cover-art{position:absolute;inset:0;overflow:hidden}
.li-cover-grid{position:absolute;inset:0;opacity:.22;background-image:linear-gradient(#ffffff35 1px,transparent 1px),linear-gradient(90deg,#ffffff35 1px,transparent 1px);background-size:23px 23px;transform:skewY(-9deg) scale(1.4)}
.li-cover-orbit{position:absolute;width:180px;height:180px;border:1px solid #ffffff55;border-radius:50%;right:-22px;top:-98px}
.li-cover-orbit.orbit-two{width:110px;height:110px;right:24px;top:-56px;border-width:2px}
.li-cover-caption{position:absolute;right:15px;bottom:17px;color:#fff;font-size:11px;font-weight:800;letter-spacing:2px;text-shadow:0 1px 6px #0005}
.li-cover-caption b{color:#9ce3df}
.li-native-company-icon{position:relative;overflow:hidden;background:#fff;border:1px solid #e6e8ea}
.li-native-company-icon img{position:absolute;inset:5px;width:calc(100% - 10px);height:calc(100% - 10px);object-fit:contain;background:#fff;z-index:1}
.li-native-company-icon span{font-size:13px;color:#31516a;font-weight:800}
.li-native-affiliation{display:flex;align-items:center;gap:8px}
.li-native-affiliation img{width:21px;height:21px;object-fit:contain}

/* Uploaded LinkedIn profile headshot */
.li-profile-only .li-profile-avatar{overflow:hidden;background:#fff}
.li-profile-only .li-profile-avatar img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 38%;border-radius:50%}

/* LinkedIn banner photo supplied by profile owner */
.li-profile-only .li-cover.li-photo-banner{background:#a4a5a2 url("assets/linkedin-banner.jpg") center center/cover no-repeat}

/* iOS Contacts: one personal card, no telephone field */
.app-screen.contacts-active .app-header{display:none}
.app-screen.contacts-active .app-content{padding:0;overflow:hidden;background:#f2f2f7}
.contacts-ios{height:100%;display:flex;flex-direction:column;background:#f2f2f7;color:#111;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.contacts-top{height:51px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:0 17px;background:#f9f9fb;border-bottom:1px solid #e4e4e9}
.contacts-top span{color:#007aff;font-size:15px}
.contacts-top strong{font-size:16px;font-weight:650}
.contacts-top .contacts-edit{opacity:.55}
.contacts-scroll{flex:1;min-height:0;overflow-y:auto;padding:0 16px 36px;scrollbar-width:none}
.contacts-scroll::-webkit-scrollbar{display:none}
.contacts-identity{display:flex;flex-direction:column;align-items:center;text-align:center;padding:23px 8px 20px}
.contacts-photo{width:118px;height:118px;object-fit:cover;object-position:center 38%;border-radius:50%;background:#ddd}
.contacts-identity h1{font-size:26px;font-weight:750;letter-spacing:-.65px;margin:13px 0 4px}
.contacts-identity p{font-size:13px;line-height:1.4;color:#777;margin:0}
.contacts-quick-actions{display:flex;justify-content:center;gap:12px;margin-bottom:22px}
.contacts-action{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:6px;max-width:150px;height:69px;border-radius:11px;background:#fff;color:#007aff;text-decoration:none;font-size:12px;font-weight:600}
.contacts-action-icon{font-size:24px;line-height:25px}
.contacts-section{background:#fff;border-radius:11px;margin-bottom:12px;overflow:hidden;padding:0 14px}
.contacts-field{display:flex;flex-direction:column;gap:4px;padding:12px 0;border-bottom:1px solid #e7e7eb}
.contacts-field:last-child{border:0}
.contacts-field small{font-size:12px;color:#777}
.contacts-field a,.contacts-field span{font-size:14px;line-height:1.4;overflow-wrap:anywhere;text-decoration:none}
.contacts-field a{color:#007aff}
.contacts-save{padding:0}
.contacts-save button{width:100%;text-align:left;padding:14px;border:0;background:none;color:#007aff;font-size:15px}

/* Contacts layout hardening for small iPhone viewport */
.app-screen.contacts-active > .app-header{display:none!important}
.app-screen.contacts-active > .app-content{padding:0!important;margin:0!important;overflow:hidden!important;min-height:0;background:#f2f2f7}
.app-screen.contacts-active .contacts-ios{display:flex;flex-direction:column;width:100%;height:100%;min-height:0}
.contacts-ios .contacts-top{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;height:49px;min-height:49px;padding:0 16px}
.contacts-ios .contacts-top button{justify-self:start;padding:5px 0;border:0;background:none;color:#007aff;font-size:15px;font-weight:450}
.contacts-ios .contacts-top strong{font-size:16px;font-weight:650}
.contacts-ios .contacts-scroll{box-sizing:border-box;display:block;flex:1;min-height:0;overflow-y:auto;padding:0 15px 28px}
.contacts-ios .contacts-identity{display:flex;flex-direction:column;align-items:center;text-align:center;padding:24px 6px 18px}
.contacts-ios .contacts-photo{display:block;flex:none;width:108px;height:108px;max-width:108px;max-height:108px;border-radius:50%;object-fit:cover;object-position:center 38%;box-shadow:0 1px 3px #0002}
.contacts-ios .contacts-identity h1{font-size:25px;line-height:1.2;letter-spacing:-.5px;margin:12px 0 5px}
.contacts-ios .contacts-identity p{font-size:12px;line-height:1.45;color:#6d6d72}
.contacts-ios .contacts-quick-actions{display:flex;gap:10px;margin:0 0 17px}
.contacts-ios .contacts-action{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;min-width:0;max-width:none;height:66px;border-radius:12px;background:#fff;color:#007aff;gap:5px;text-decoration:none;font-size:12px}
.contacts-ios .contacts-section{display:block;background:#fff;border-radius:12px;padding:0 14px;margin:0 0 11px;overflow:hidden}
.contacts-ios .contacts-field{display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:12px 0;border-bottom:1px solid #ededf0}
.contacts-ios .contacts-field:last-child{border-bottom:0}
.contacts-ios .contacts-field small{display:block;color:#777;font-size:11px;line-height:1.2}
.contacts-ios .contacts-field a,.contacts-ios .contacts-field span{display:block;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.contacts-ios .contacts-save button{display:block;border:0;border-radius:0;background:none;color:#007aff;padding:13px 0;font-size:14px}

/* Contacts typography system: consistent iOS sizing, weight and rhythm */
.contacts-ios{
  --contacts-blue:#007aff;
  --contacts-primary:#1c1c1e;
  --contacts-secondary:#6e6e73;
  --contacts-body:14px;
  --contacts-label:12px;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",sans-serif;
  font-size:var(--contacts-body);
  font-weight:400;
  line-height:1.4;
  letter-spacing:0;
  -webkit-font-smoothing:antialiased;
  color:var(--contacts-primary);
}
.contacts-ios *, .contacts-ios *::before, .contacts-ios *::after{box-sizing:border-box}
.contacts-ios .contacts-top strong{font-size:16px;line-height:20px;font-weight:600;letter-spacing:-.2px}
.contacts-ios .contacts-top button{font-family:inherit;font-size:15px;line-height:20px;font-weight:400}
.contacts-ios .contacts-identity h1{font-size:25px;line-height:30px;font-weight:700;letter-spacing:-.55px;margin:12px 0 0}
.contacts-ios .contacts-action{font-family:inherit;font-size:12px;line-height:16px;font-weight:500;letter-spacing:0}
.contacts-ios .contacts-action-icon{font-size:23px;line-height:25px;font-weight:400}
.contacts-ios .contacts-field{gap:4px;padding:12px 0}
.contacts-ios .contacts-field small{font-family:inherit;font-size:var(--contacts-label);line-height:16px;font-weight:400;color:var(--contacts-secondary)}
.contacts-ios .contacts-field a,.contacts-ios .contacts-field span{font-family:inherit;font-size:var(--contacts-body);line-height:20px;font-weight:400;letter-spacing:0}
.contacts-ios .contacts-field a,.contacts-ios .contacts-save button{color:var(--contacts-blue)}
.contacts-ios .contacts-save button{font-family:inherit;font-size:var(--contacts-body);line-height:20px;font-weight:400;padding:13px 0}
.contacts-ios a,.contacts-ios button{-webkit-tap-highlight-color:transparent}

/* Spotify-inspired native iOS shell */
.app-screen.spotify-active > .app-header{display:none!important}
.app-screen.spotify-active > .app-content{padding:0!important;overflow:hidden!important;background:#121212}
.spotify-ios{height:100%;min-height:0;display:flex;flex-direction:column;background:#121212;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:13px}
.spotify-ios *{box-sizing:border-box}
.spotify-ios-content{flex:1;min-height:0;overflow-y:auto;scrollbar-width:none;padding-bottom:16px}
.spotify-ios-content::-webkit-scrollbar{display:none}
.spotify-ios-nav{display:flex;flex:none;align-items:center;justify-content:space-around;height:63px;background:linear-gradient(#1c1c1cf5,#101010);border-top:1px solid #ffffff14}
.spotify-ios-nav button{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:3px;background:none;border:0;color:#a7a7a7;font-size:10px;font-weight:550}
.spotify-ios-nav button.active{color:#fff}
.spotify-nav-icon{font-size:26px;line-height:27px;font-weight:600}
.spotify-ios-head{display:flex;align-items:center;gap:9px;padding:18px 16px 8px}
.spotify-ios-avatar{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:50%;background:#6856a4;color:#fff;font-weight:700;font-size:11px}
.spotify-filter{background:#282828;border:0;border-radius:22px;color:#fff;padding:8px 15px;font-size:12px}
.spotify-filter.active{background:#1ed760;color:#111}
.spotify-ios-heading{font-size:24px;line-height:1.2;letter-spacing:-.6px;margin:18px 17px}
.spotify-hero{display:flex;align-items:stretch;margin:0 15px 26px;min-height:152px;border-radius:9px;overflow:hidden;background:linear-gradient(120deg,#3e356c,#214c4b)}
.spotify-hero-art{display:grid;place-items:center;width:39%;flex:none;background:linear-gradient(135deg,#7550b2,#27315c);font-size:72px;color:#b8f4c2}
.spotify-hero-text{padding:16px 13px;min-width:0}
.spotify-hero-text small{font-size:9px;letter-spacing:1.2px;font-weight:750}
.spotify-hero-text h2{font-size:19px;line-height:1.15;margin:10px 0 7px}
.spotify-hero-text p{font-size:11px;line-height:1.4;color:#ddd;margin:0 0 12px}
.spotify-hero-text a,.spotify-library-empty a{color:#121212;background:#1ed760;padding:8px 13px;border-radius:20px;text-decoration:none;font-size:11px;font-weight:750;display:inline-block}
.spotify-section-heading{font-size:19px;margin:0 16px 15px}
.spotify-feature-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0 16px}
.spotify-feature{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:6px;border:0;background:none;color:#fff;padding:0}
.spotify-feature-art{display:grid;place-items:center;width:100%;aspect-ratio:1.25;border-radius:6px;font-size:55px}
.spotify-feature-art-one{background:linear-gradient(135deg,#a83e69,#4d295b)}
.spotify-feature-art-two{background:linear-gradient(135deg,#266f67,#183c60)}
.spotify-feature strong{font-size:13px}
.spotify-feature small{font-size:11px;color:#aaa}
.spotify-disclaimer{color:#a8a8a8;font-size:11px;line-height:1.55;margin:24px 16px}
.spotify-search-screen,.spotify-library-screen{padding:26px 16px}
.spotify-search-screen h1,.spotify-library-title h1{font-size:25px;margin:0 0 22px;letter-spacing:-.6px}
.spotify-search-form{display:flex;align-items:center;gap:8px;background:#fff;border-radius:5px;color:#111;padding:0 10px;height:44px}
.spotify-search-form>span{font-size:25px}
.spotify-search-form input{width:100%;min-width:0;flex:1;border:0;outline:0;background:none;color:#111;font:inherit;font-size:12px}
.spotify-search-form button{background:none;border:0;font-weight:750;color:#147f47}
.spotify-search-screen h2{font-size:17px;margin:28px 0 13px}
.spotify-browse-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.spotify-browse-grid button{position:relative;overflow:hidden;height:94px;padding:13px;text-align:left;border:0;border-radius:7px;color:#fff;font-size:16px;font-weight:750}
.spotify-browse-grid button:nth-child(1){background:#b22b63}.spotify-browse-grid button:nth-child(2){background:#38667d}.spotify-browse-grid button:nth-child(3){background:#9b552a}.spotify-browse-grid button:nth-child(4){background:#62449a}
.spotify-browse-grid button span{position:absolute;right:7px;bottom:-12px;transform:rotate(-22deg);font-size:67px;opacity:.5}
.spotify-library-title{display:flex;align-items:center;gap:12px}
.spotify-library-title h1{flex:1;margin:0;font-size:22px}
.spotify-library-plus{font-size:25px;color:#ccc}
.spotify-library-filter{display:flex;gap:10px;margin:22px 0;color:#fff;font-size:12px}
.spotify-library-filter span{color:#aaa}
.spotify-library-empty{text-align:center;padding:64px 12px}
.spotify-library-empty-icon{font-size:62px;color:#1ed760}
.spotify-library-empty h2{font-size:21px;margin:12px 0}
.spotify-library-empty p{font-size:13px;line-height:1.5;color:#b5b5b5;margin-bottom:22px}

/* Single playlist and expandable Spotify Now Playing */
.spotify-playlist-app{position:relative;background:#121212}
.spotify-playlist-app .spotify-ios-content{padding-bottom:12px}
.spotify-playlist-header{padding:12px 15px 0;background:linear-gradient(180deg,#31564d 0%,#22332f 65%,#121212 100%);text-align:left}
.spotify-playlist-back{display:block;background:none;border:0;color:#fff;font-size:34px;line-height:32px;margin:0 0 8px;padding:0}
.spotify-playlist-cover{display:grid;place-items:center;width:min(70%,230px);aspect-ratio:1;object-fit:cover;margin:0 auto 23px;box-shadow:0 10px 28px #0006}
.spotify-art-placeholder{background:linear-gradient(135deg,#4b806b,#192a27);color:#a8f5d0;font-size:66px}
.spotify-playlist-header h1{font-size:25px;line-height:1.2;letter-spacing:-.5px;margin:0 0 14px;font-weight:750}
.spotify-playlist-owner{display:flex;align-items:center;gap:9px;font-size:12px}
.spotify-playlist-owner .spotify-ios-avatar{width:26px;height:26px;font-size:10px}
.spotify-playlist-count{font-size:12px;color:#b8b8b8;margin:12px 0 0;padding-bottom:20px}
.spotify-track-list{padding:6px 12px 18px}
.spotify-track{display:flex;align-items:center;gap:11px;width:100%;min-height:62px;padding:5px 0;background:none;border:0;color:#fff;text-align:left}
.spotify-track-cover{display:grid;place-items:center;width:49px;height:49px;flex:none;object-fit:cover;border-radius:3px;font-size:22px}
.spotify-track-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}
.spotify-track-copy strong{font-size:14px;font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.spotify-track-copy small{font-size:12px;color:#aaa}
.spotify-track-more{font-size:14px;color:#aaa;letter-spacing:1px}
.spotify-playlist-empty{padding:28px 12px;text-align:center;color:#fff}
.spotify-playlist-empty strong{font-size:16px}
.spotify-playlist-empty p{font-size:12px;color:#aaa;line-height:1.5}
.spotify-playlist-app .spotify-ios-nav{height:60px}
.spotify-playlist-app .spotify-ios-nav button{font-size:9px;gap:3px;padding:0 1px}
.spotify-playlist-app .spotify-nav-icon{font-size:23px}
.spotify-mini{display:flex;align-items:center;gap:8px;height:58px;margin:0 8px 5px;border-radius:10px;padding:6px 10px;background:#303734}
.spotify-mini-open{display:flex;align-items:center;flex:1;min-width:0;gap:9px;border:0;background:none;color:#fff;text-align:left;padding:0}
.spotify-mini-art{width:44px;height:44px;flex:none;border-radius:5px;object-fit:cover;display:grid;place-items:center;font-size:21px}
.spotify-mini-open span{display:flex;flex-direction:column;min-width:0;gap:4px}
.spotify-mini-open strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.spotify-mini-open small{font-size:11px;color:#bfbfbf}
.spotify-mini-play{background:none;border:0;color:#fff;font-size:20px;padding:8px}
.spotify-now-playing{position:absolute;inset:0;z-index:20;display:flex;flex-direction:column;padding:20px 22px 38px;background:linear-gradient(160deg,#41695f,#1d302e 55%,#111d1b);transform:translateY(102%);transition:transform .3s ease;visibility:hidden;pointer-events:none}
.spotify-now-playing.open{transform:translateY(0);visibility:visible;pointer-events:auto}
.spotify-full-top{display:flex;align-items:flex-start;justify-content:space-between;text-align:center;gap:10px;min-height:72px;font-size:9px;letter-spacing:.5px}
.spotify-full-top button{border:0;background:none;color:#fff;font-size:30px;line-height:20px}
.spotify-full-top strong{font-size:11px;letter-spacing:0}
.spotify-full-art{width:100%;max-width:300px;aspect-ratio:1;object-fit:cover;display:grid;place-items:center;align-self:center;box-shadow:0 15px 40px #0005;border-radius:5px}
.spotify-full-track{display:flex;align-items:center;justify-content:space-between;margin-top:34px;gap:10px}
.spotify-full-track h2{font-size:21px;line-height:1.2;margin:0 0 5px}
.spotify-full-track p{font-size:13px;color:#d3d3d3;margin:0}
.spotify-full-track>span{font-size:26px;color:#ddd}
.spotify-now-playing input[type=range]{width:100%;margin:28px 0 4px;accent-color:#fff}
.spotify-full-times{display:flex;justify-content:space-between;color:#ddd;font-size:11px}
.spotify-full-controls{display:flex;align-items:center;justify-content:space-around;margin-top:25px}
.spotify-full-controls button{background:none;border:0;color:#fff;font-size:23px}
.spotify-full-controls .spotify-full-play{display:grid;place-items:center;width:62px;height:62px;background:#fff;color:#111;border-radius:50%;font-size:26px}
@media(max-height:700px){.spotify-now-playing{padding-top:12px}.spotify-full-top{min-height:44px}.spotify-full-art{max-width:220px}.spotify-full-track{margin-top:20px}.spotify-full-controls{margin-top:12px}}

/* Spotify polish: sunset playlist, playing-track equaliser and mini-player progress */
.spotify-playlist-app.spotify-sunset-theme{background:#121212}
.spotify-sunset-theme .spotify-playlist-header{background:linear-gradient(180deg,#b37a65 0%,#77584e 32%,#3b3030 69%,#121212 100%);padding-bottom:5px}
.spotify-sunset-theme .spotify-playlist-header h1{font-size:27px;line-height:1.2}
.spotify-playlist-actions{display:flex;align-items:center;gap:14px;justify-content:flex-end;min-height:56px;position:relative}
.spotify-playlist-actions button{border:0;background:transparent;color:#bdbdbd;font-size:22px;min-width:32px;min-height:42px;cursor:pointer}
.spotify-playlist-actions button.sp-active,.spotify-full-controls button.sp-active{color:#1ed760}
.spotify-playlist-actions .spotify-playlist-play{width:48px;height:48px;min-width:48px;min-height:48px;border-radius:50%;background:#1ed760;color:#111;font-size:23px;display:grid;place-items:center}
.spotify-playlist-menu{position:absolute;right:0;top:56px;z-index:5;background:#2d2d2d;border:1px solid #454545;border-radius:9px;padding:12px;color:#fff;font-size:12px;box-shadow:0 8px 20px #0008}
.spotify-track-current .spotify-track-copy strong{color:#1ed760}
.spotify-track-equaliser{display:none;align-items:flex-end;gap:2px;height:17px;width:17px;flex:none}
.spotify-track-current .spotify-track-equaliser{display:flex}
.spotify-track-current .spotify-track-more{display:none}
.spotify-track-equaliser i{width:3px;height:6px;background:#1ed760;border-radius:1px}
.spotify-is-playing .spotify-track-current .spotify-track-equaliser i{animation:spotify-eq .8s ease-in-out infinite alternate}
.spotify-is-playing .spotify-track-current .spotify-track-equaliser i:nth-child(2){animation-delay:-.35s}
.spotify-is-playing .spotify-track-current .spotify-track-equaliser i:nth-child(3){animation-delay:-.6s}
@keyframes spotify-eq{0%{height:4px}50%{height:16px}100%{height:8px}}
.spotify-mini{position:relative;overflow:hidden}
.spotify-mini-progress{position:absolute;left:7px;right:7px;bottom:0;height:2px;border-radius:4px;background:#ffffff35;pointer-events:none}
.spotify-mini-progress span{display:block;width:0;height:100%;background:#fff;border-radius:4px;transition:width .15s linear}
.spotify-now-playing{background:linear-gradient(165deg,#88645c 0%,#483d40 47%,#171719 100%);transition:transform .28s cubic-bezier(.22,.8,.28,1),visibility .28s}
.spotify-full-art{transition:opacity .2s ease,transform .25s ease}
.spotify-full-controls{gap:6px}
.spotify-full-controls button{font-size:20px;min-width:28px}
.spotify-full-controls button.sp-active{color:#1ed760}
.spotify-full-controls .spotify-full-play{flex:none}
.spotify-full-track h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.spotify-full-track>div{min-width:0}
.spotify-full-track p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.spotify-now-playing input[type=range]{cursor:pointer}
@media(prefers-reduced-motion:reduce){.spotify-track-equaliser i{animation:none!important}.spotify-now-playing,.spotify-full-art{transition:none}}

/* Now Playing layout: readable white type and reliable fit within the iPhone screen */
.spotify-ios .spotify-now-playing{
  color:#fff;
  padding:clamp(12px,3vh,22px) 20px clamp(16px,3vh,30px);
  gap:0;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-width:none;
  justify-content:flex-start;
}
.spotify-ios .spotify-now-playing::-webkit-scrollbar{display:none}
.spotify-ios .spotify-full-top{
  flex:0 0 auto;
  align-items:center;
  min-height:46px;
  margin-bottom:clamp(12px,3vh,24px);
  color:#fff;
  line-height:1.4;
}
.spotify-ios .spotify-full-top>span:nth-child(2){flex:1;min-width:0;text-align:center;color:#fff;font-size:10px;font-weight:500}
.spotify-ios .spotify-full-top>span:last-child{min-width:26px;text-align:right;color:#fff;font-size:19px}
.spotify-ios .spotify-full-top strong{color:#fff;font-size:12px}
.spotify-ios .spotify-full-top button{flex:0 0 30px;color:#fff;min-height:34px}
.spotify-ios .spotify-full-art{
  flex:0 1 auto;
  width:min(100%,300px,37vh);
  max-width:100%;
  max-height:37vh;
  height:auto;
  aspect-ratio:1;
  object-fit:cover;
  margin:0 auto;
}
.spotify-ios .spotify-full-track{
  flex:0 0 auto;
  width:100%;
  margin-top:clamp(15px,3vh,28px);
  align-items:center;
}
.spotify-ios .spotify-full-track>div{flex:1;min-width:0}
.spotify-ios .spotify-full-track h2{
  color:#fff!important;
  font-size:clamp(17px,2.5vh,22px);
  font-weight:700;
  line-height:1.25;
  margin:0 0 5px;
}
.spotify-ios .spotify-full-track p{color:#fff!important;opacity:.8;font-size:13px;line-height:1.4;margin:0}
.spotify-ios .spotify-full-track>span{color:#fff}
.spotify-ios .spotify-now-playing input[type=range]{
  flex:0 0 auto;
  margin:clamp(15px,3vh,25px) 0 5px;
  height:15px;
  accent-color:#fff;
}
.spotify-ios .spotify-full-times{flex:0 0 auto;color:#fff;opacity:.75;font-size:11px}
.spotify-ios .spotify-full-controls{
  flex:0 0 auto;
  width:100%;
  display:grid;
  grid-template-columns:1fr 1fr 62px 1fr 1fr;
  gap:4px;
  align-items:center;
  justify-items:center;
  margin-top:clamp(15px,3vh,25px);
}
.spotify-ios .spotify-full-controls button{color:#fff;display:grid;place-items:center;min-width:32px;min-height:42px;padding:0}
.spotify-ios .spotify-full-controls button.sp-active{color:#1ed760}
.spotify-ios .spotify-full-controls .spotify-full-play{width:58px;height:58px;min-height:58px;color:#111;background:#fff;border-radius:50%}
@media(max-height:650px){
  .spotify-ios .spotify-now-playing{padding:9px 17px 14px}
  .spotify-ios .spotify-full-top{min-height:35px;margin-bottom:9px}
  .spotify-ios .spotify-full-art{width:min(100%,230px,32vh);max-height:32vh}
  .spotify-ios .spotify-full-track{margin-top:12px}
  .spotify-ios .spotify-now-playing input[type=range]{margin-top:12px}
  .spotify-ios .spotify-full-controls{margin-top:10px}
  .spotify-ios .spotify-full-controls .spotify-full-play{width:48px;height:48px;min-height:48px}
}

/* Now Playing vertical balance: fill tall phone screens without crowding short ones */
.spotify-ios .spotify-now-playing{
  padding-bottom:clamp(24px,5vh,55px);
}
.spotify-ios .spotify-full-top{
  margin-bottom:clamp(14px,3vh,26px);
}
.spotify-ios .spotify-full-art{
  width:min(100%,340px,43vh);
  max-height:43vh;
}
.spotify-ios .spotify-full-track{
  margin-top:clamp(20px,4vh,38px);
}
.spotify-ios .spotify-now-playing input[type=range]{
  margin-top:clamp(22px,4vh,38px);
}
.spotify-ios .spotify-full-controls{
  margin-top:clamp(25px,5vh,48px);
  margin-bottom:auto;
}
@media(min-height:760px){
  .spotify-ios .spotify-full-controls{
    margin-top:clamp(30px,6vh,60px);
  }
}
@media(max-height:650px){
  .spotify-ios .spotify-now-playing{padding-bottom:14px}
  .spotify-ios .spotify-full-art{width:min(100%,230px,32vh);max-height:32vh}
  .spotify-ios .spotify-full-track{margin-top:12px}
  .spotify-ios .spotify-now-playing input[type=range]{margin-top:12px}
  .spotify-ios .spotify-full-controls{margin-top:10px}
}

/* Compact Spotify playlist header: show more tracks above the mini-player */
.spotify-sunset-theme .spotify-playlist-header{
  padding:8px 14px 0;
}
.spotify-sunset-theme .spotify-playlist-back{
  font-size:29px;
  line-height:29px;
  margin:0 0 5px;
  min-height:29px;
}
.spotify-sunset-theme .spotify-playlist-cover{
  width:min(61%,190px);
  max-width:190px;
  margin:0 auto 13px;
}
.spotify-sunset-theme .spotify-playlist-header h1{
  font-size:25px;
  line-height:1.1;
  margin:0 0 8px;
  min-height:27px;
}
.spotify-sunset-theme .spotify-playlist-owner{gap:8px}
.spotify-sunset-theme .spotify-playlist-count{
  margin:7px 0 0;
  padding-bottom:0;
}
.spotify-sunset-theme .spotify-playlist-actions{
  min-height:48px;
  gap:12px;
}
.spotify-sunset-theme .spotify-playlist-actions .spotify-playlist-play{
  width:44px;height:44px;min-width:44px;min-height:44px;
}
.spotify-sunset-theme .spotify-track-list{padding-top:2px}
@media(max-height:730px){
  .spotify-sunset-theme .spotify-playlist-cover{width:min(55%,165px);max-width:165px;margin-bottom:10px}
  .spotify-sunset-theme .spotify-playlist-actions{min-height:44px}
}

/* Align playlist actions horizontally with the creator's name */
.spotify-sunset-theme .spotify-playlist-owner-actions{
  display:flex;align-items:center;justify-content:space-between;gap:6px;width:100%;
}
.spotify-sunset-theme .spotify-playlist-owner-actions .spotify-playlist-owner{
  min-width:0;flex:1;gap:7px;
}
.spotify-sunset-theme .spotify-playlist-owner-actions .spotify-playlist-owner strong{
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.spotify-sunset-theme .spotify-playlist-owner-actions .spotify-playlist-actions{
  flex:0 0 auto;gap:7px;min-height:44px;
}
.spotify-sunset-theme .spotify-playlist-owner-actions .spotify-playlist-actions button:not(.spotify-playlist-play){
  min-width:25px;min-height:40px;padding:0;font-size:19px;
}
.spotify-sunset-theme .spotify-playlist-owner-actions .spotify-playlist-play{
  width:42px;height:42px;min-width:42px;min-height:42px;
}
.spotify-sunset-theme .spotify-playlist-count{margin:2px 0 8px}

/* Files app resume download action */
.files-resume-download{display:block;margin:16px 2px 0;padding:12px 14px;background:#f2f2f7;border-radius:12px;color:#007aff;font-size:14px;font-weight:600;text-align:center;text-decoration:none}
.files-resume-download:active{background:#e5e5ea}

/* iOS Files browser and Quick Look */
.app-screen.files-active>.app-header{display:none!important}
.app-screen.files-active>.app-content{padding:0!important;overflow:hidden!important;background:#f2f2f7}
.app-screen.files-active .app-home-indicator{background:#1c1c1e}
.ios-files-shell{height:100%;display:flex;flex-direction:column;color:#1c1c1e;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text",Arial,sans-serif}
.ios-files-shell button{font:inherit;cursor:pointer}
.ios-files-browser,.ios-files-preview{height:100%;min-height:0;display:flex;flex-direction:column}
.ios-files-shell .hidden{display:none!important}
.ios-files-nav,.ios-files-preview-nav{height:52px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 19px}
.ios-files-nav button,.ios-files-preview-nav button{border:0;background:none;color:#007aff;font-size:16px}
.ios-files-nav #filesOptions,.ios-files-preview-nav #filesPreviewMore{font-size:23px;letter-spacing:2px}
.ios-files-body{flex:1;min-height:0;overflow:auto;padding:0 20px 20px}
.ios-files-body>h1{font-size:34px;line-height:1.2;letter-spacing:-1px;margin:7px 0 15px;color:#151519}
.ios-files-search{display:flex;align-items:center;gap:8px;height:37px;background:#e4e4e9;border-radius:11px;padding:0 11px;margin-bottom:27px;color:#85858c}
.ios-files-search span{font-size:25px;line-height:1}
.ios-files-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;font-size:16px;color:#1c1c1e}
.ios-files-search input::placeholder{color:#8e8e93}
.ios-files-section-title{font-size:19px;font-weight:700;letter-spacing:-.4px;margin:25px 0 10px}
.ios-files-location-row{display:flex;align-items:center;width:100%;gap:13px;border:0;border-radius:12px;background:#fff;padding:13px 14px;margin:7px 0;text-align:left;color:#1c1c1e}
.ios-files-location-row strong{font-size:15px;font-weight:550;flex:1}
.ios-files-chevron{color:#c6c6cc;font-size:23px}
.ios-files-folder-icon,.ios-files-fav-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:7px;background:#e5f0ff;color:#1684f8;font-size:22px}
.ios-files-fav-icon{background:#fff1d8;color:#f6ad22;font-size:20px}
.ios-files-folder-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;color:#8e8e93;font-size:12px}
.ios-files-folder-heading button{padding:0;border:0;background:none;color:#007aff;font-size:15px}
.ios-files-folder h2{font-size:24px;margin:20px 0 14px}
.ios-files-file-list,.ios-files-recents{background:#fff;border-radius:13px;overflow:hidden}
.ios-files-recents{background:transparent}
.ios-files-document{display:flex;align-items:center;gap:13px;width:100%;min-width:0;border:0;background:#fff;text-align:left;padding:13px 12px;color:#1c1c1e}
.ios-files-pdf-icon{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:49px;height:62px;flex-shrink:0;background:#fff;border:1px solid #d6d6db;border-radius:5px;box-shadow:0 1px 3px #0001}
.ios-files-pdf-icon:after{content:"";position:absolute;top:-1px;right:-1px;border-top:12px solid #e6e6ea;border-left:12px solid transparent}
.ios-files-pdf-icon span{font-size:10px;font-weight:800;color:#ef4444;border:1px solid #ef4444;border-radius:2px;padding:2px}
.ios-files-pdf-icon i{height:2px;width:24px;background:#d7d7dc}
.ios-files-file-details{min-width:0;flex:1}
.ios-files-file-details strong{display:block;font-size:14px;font-weight:600;overflow-wrap:anywhere}
.ios-files-file-details small{display:block;color:#8e8e93;margin-top:5px;font-size:12px}
.ios-files-file-more{color:#a3a3ab;font-size:24px}
.ios-files-empty{text-align:center;color:#8e8e93;padding:40px 0}
.ios-files-tabbar{height:64px;flex-shrink:0;border-top:1px solid #d4d4d9;background:#f9f9fb;display:flex;justify-content:space-around;padding-top:6px}
.ios-files-tabbar button{display:flex;flex-direction:column;align-items:center;gap:2px;border:0;background:none;color:#8e8e93;font-size:11px;min-width:90px}
.ios-files-tabbar button.selected{color:#007aff}
.ios-files-tab-symbol{font-size:27px;line-height:31px}
.ios-files-preview{background:#ececef}
.ios-files-preview-nav{background:#f7f7fa;border-bottom:1px solid #dedee3}
.ios-files-preview-nav strong{font-size:16px}
.ios-files-preview-title{font-size:13px;text-align:center;color:#686870;padding:10px 8px}
.ios-files-preview-document{flex:1;min-height:0;display:flex;flex-direction:column;padding:0 8px 8px}
.ios-files-preview-document iframe{flex:1;width:100%;min-height:0;border:0;background:white;border-radius:4px}
.ios-files-preview-fallback{text-align:center;font-size:12px;padding:5px}
.ios-files-preview-fallback a{color:#007aff}
.ios-files-preview-toolbar{height:59px;flex-shrink:0;display:flex;justify-content:space-around;align-items:center;background:#f9f9fb;border-top:1px solid #d4d4d9}
.ios-files-preview-toolbar a,.ios-files-preview-toolbar button{border:0;background:none;display:flex;flex-direction:column;align-items:center;gap:3px;color:#007aff;font-size:21px;text-decoration:none}
.ios-files-preview-toolbar span{font-size:11px}

/* iOS Notes: native-inspired folders, list and editable notes */
.app-screen.notes-active>.app-header{display:none!important}
.app-screen.notes-active>.app-content{padding:0!important;overflow:hidden!important;background:#f2f2f7!important}
.ios-notes{height:100%;background:#f2f2f7;color:#1c1c1e;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text",Arial,sans-serif}
.ios-notes button,.ios-notes input,.ios-notes textarea{font-family:inherit}
.ios-notes button{cursor:pointer}
.ios-notes .hidden{display:none!important}
.ios-notes-list-view,.ios-notes-folders-view,.ios-notes-editor-view{height:100%;display:flex;flex-direction:column;min-height:0}
.ios-notes-top,.ios-notes-editor-top{display:flex;align-items:center;justify-content:space-between;min-height:51px;padding:0 19px;flex-shrink:0}
.ios-notes-top button,.ios-notes-editor-top button{border:0;background:none;color:#b78000;font-size:16px;padding:8px 0}
.ios-notes-top button:last-child{font-size:23px;letter-spacing:1px}
.ios-notes-scroll{flex:1;min-height:0;overflow-y:auto;padding:0 19px 22px}
.ios-notes-scroll h1{font-size:34px;letter-spacing:-1px;margin:9px 0 17px;line-height:1.2}
.ios-notes-search{height:37px;display:flex;align-items:center;gap:8px;border-radius:10px;background:#e4e4e9;color:#8e8e93;padding:0 11px;margin-bottom:21px}
.ios-notes-search span{font-size:25px}
.ios-notes-search input{border:0;background:none;outline:0;min-width:0;width:100%;font-size:16px;color:#1c1c1e}
.ios-notes-list{background:#fff;border-radius:12px;overflow:hidden}
.ios-notes-item{display:block;width:100%;border:0;background:#fff;text-align:left;padding:12px 16px 13px;color:#1c1c1e}
.ios-notes-item+.ios-notes-item{border-top:1px solid #e7e7eb}
.ios-notes-item strong{display:block;font-size:16px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ios-notes-item>span{display:block;font-size:13px;line-height:1.5;color:#8e8e93;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:4px}
.ios-notes-item small{color:#57575c;font-size:13px;margin-right:5px}
.ios-notes-pin{font-size:10px;color:#b78000}
.ios-notes-no-results{text-align:center;color:#8e8e93;padding:40px 0}
.ios-notes-bottom,.ios-notes-editor-bottom{height:57px;flex-shrink:0;display:flex;align-items:center;justify-content:center;position:relative;border-top:1px solid #dedee3;background:#fafafc;color:#77777d;font-size:12px}
.ios-notes-bottom button,.ios-notes-editor-bottom button{position:absolute;right:20px;top:7px;border:0;background:none;color:#b78000;font-size:28px}
.ios-notes-folder-card{border-radius:12px;background:#fff;overflow:hidden}
.ios-notes-folder-card button{width:100%;display:flex;align-items:center;gap:12px;padding:15px;border:0;background:none;text-align:left;color:#1c1c1e}
.ios-notes-folder-card button+button{border-top:1px solid #ededf0}
.ios-notes-folder-card button span:first-child{font-size:23px}
.ios-notes-folder-card strong{flex:1;font-size:15px}
.ios-notes-folder-card button span:not(:first-child){color:#a1a1a7}
.ios-notes-editor-view{background:#fff}
.ios-notes-editor-top{background:#fff;border-bottom:1px solid #f1f1f3}
.ios-notes-editor-top>div{display:flex;align-items:center;gap:18px}
.ios-notes-editor-top button{font-size:16px}
.ios-notes-editor-top button:last-child{font-weight:600}
.ios-notes-editor-scroll{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;padding:16px 22px}
.ios-notes-timestamp{text-align:center;color:#9c9ca2;font-size:12px;margin-bottom:22px}
.ios-notes-title-input{font-size:24px;font-weight:700;border:0;outline:0;background:none;width:100%;color:#1c1c1e;margin-bottom:12px}
.ios-notes-body-input{border:0;outline:0;background:none;resize:none;flex:1;min-height:220px;width:100%;font-size:16px;line-height:1.5;color:#1c1c1e}
.ios-notes-editor-bottom{background:#f9f9fb}

/* Notes: compact, date-grouped iOS list inspired by the reference */
.ios-notes-list-view .ios-notes-scroll{padding-left:18px;padding-right:18px}
.ios-notes-date-group{margin:0 0 28px}
.ios-notes-date-group h2{font-size:21px;letter-spacing:-.55px;font-weight:750;line-height:1.2;margin:0 0 12px;color:#101013}
.ios-notes-date-card{background:#fff;border-radius:15px;overflow:hidden}
.ios-notes-date-card .ios-notes-item{padding:12px 15px 13px;min-height:65px}
.ios-notes-date-card .ios-notes-item+.ios-notes-item{position:relative;border-top:0}
.ios-notes-date-card .ios-notes-item+.ios-notes-item:before{content:"";position:absolute;top:0;left:15px;right:0;height:1px;background:#dedee1}
.ios-notes-date-card .ios-notes-item strong{font-size:17px;font-weight:650;letter-spacing:-.2px}
.ios-notes-date-card .ios-notes-item>span{font-size:15px;margin-top:2px;color:#89898f}
.ios-notes-list-view .ios-notes-top button:last-child{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#eee8df;color:#c48b00;font-size:18px}
.ios-notes-list-view .ios-notes-search{margin-bottom:24px}

/* Notes screen must not inherit the home-screen icon artwork or child hiding. */
.app-screen.notes-active .app-content .ios-notes{background:#f2f2f7!important;background-image:none!important;background-size:auto!important;background-position:initial!important;display:block!important;place-items:initial!important}
.app-screen.notes-active .app-content .ios-notes> *{display:flex}

/* Date-grouped Notes must be separate white cards on a grey canvas. */
.app-screen.notes-active .ios-notes-list{background:transparent!important;border-radius:0!important;overflow:visible!important}
.app-screen.notes-active .ios-notes-date-group{margin:0 0 24px!important}
.app-screen.notes-active .ios-notes-date-group h2{margin:0 0 10px!important;padding:0!important;background:transparent!important}
.app-screen.notes-active .ios-notes-date-card{background:#fff!important;border-radius:15px!important;overflow:hidden!important}

/* Campaign photography: image-first iOS Photos */
.app-screen.photos-active>.app-header{display:none!important}
.app-screen.photos-active>.app-content{padding:0!important;overflow:hidden!important;background:#fff!important}
.campaign-photos{height:100%;display:flex;flex-direction:column;background:#fff;color:#111;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text",Arial,sans-serif;position:relative}
.campaign-photos .hidden{display:none!important}
.campaign-photos button{font-family:inherit;cursor:pointer}
.campaign-photos-header{height:48px;flex-shrink:0;padding:8px 17px;display:flex;align-items:center;justify-content:space-between;font-size:16px;font-weight:600}
.campaign-photos-header button{border:0;background:#f3f3f6;border-radius:50%;width:34px;height:34px;font-size:17px;letter-spacing:1px}
.campaign-photos-main{overflow-y:auto;min-height:0;flex:1}
.campaign-photos-main h1{font-size:30px;letter-spacing:-.8px;margin:10px 17px 16px}
.campaign-photos-filters{display:flex;gap:7px;padding:0 13px 14px;overflow-x:auto;scrollbar-width:none}
.campaign-photos-filters::-webkit-scrollbar{display:none}
.campaign-photos-filters button{border:0;background:#f1f1f3;padding:8px 13px;border-radius:20px;white-space:nowrap;font-size:12px;font-weight:600;color:#252529}
.campaign-photos-filters button.active{background:#202025;color:white}
.campaign-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px}
.campaign-photo-grid>button:not(.campaign-album-tile){border:0;padding:0;background:#e7e7eb;aspect-ratio:1;overflow:hidden}
.campaign-photo-grid>button>img{width:100%;height:100%;object-fit:cover;display:block}
.campaign-photo-grid>button.image-unavailable{display:none}
.campaign-photo-grid.albums{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:0 16px 25px}
.campaign-album-tile{background:none;border:0;padding:0;text-align:left;min-width:0}
.campaign-album-tile>div{width:100%;aspect-ratio:1;background:#e9e9ed;border-radius:10px;overflow:hidden;display:grid;place-items:center;color:#aaa;font-size:42px}
.campaign-album-tile img{width:100%;height:100%;object-fit:cover}
.campaign-album-tile strong{display:block;margin-top:7px;font-size:14px}
.campaign-album-tile small{display:block;color:#8a8a91;font-size:12px;margin-top:2px}
.campaign-photo-empty{grid-column:1/-1;color:#85858d;text-align:center;padding:55px 18px;font-size:14px}
.campaign-photos-footer{height:59px;flex-shrink:0;display:flex;justify-content:space-around;align-items:center;background:rgba(248,248,250,.97);border-top:1px solid #e8e8ec}
.campaign-photos-footer button{border:0;background:none;color:#92929b;display:flex;flex-direction:column;align-items:center;gap:1px;font-size:10px;font-weight:600;min-width:72px}
.campaign-photos-footer button span{font-size:23px;line-height:1.1}
.campaign-photos-footer button.selected{color:#007aff}
.campaign-photo-viewer{position:absolute;inset:0;background:#050505;color:white;z-index:20;display:flex;flex-direction:column}
.campaign-photo-viewer>header{display:flex;justify-content:space-between;align-items:center;min-height:57px;padding:6px 16px}
.campaign-photo-viewer>header button{background:none;border:0;color:#fff;font-size:32px;width:36px;text-align:left}
.campaign-photo-viewer>header div{text-align:center;max-width:75%}
.campaign-photo-viewer>header strong{font-size:14px;display:block}
.campaign-photo-viewer>header small{font-size:11px;color:#b6b6ba}
.campaign-viewer-stage{flex:1;min-height:0;display:flex;align-items:center;justify-content:space-between;position:relative}
.campaign-viewer-stage img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;min-width:0}
.campaign-viewer-stage button{position:absolute;z-index:1;background:rgba(0,0,0,.25);border:0;color:white;font-size:31px;width:33px;height:55px}
.campaign-viewer-stage button:first-child{left:0}
.campaign-viewer-stage button:last-child{right:0}
.campaign-photo-viewer>footer{height:54px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 22px;font-size:13px;color:#d1d1d6}
.campaign-photo-viewer>footer span:last-child{font-size:24px}

/* Video thumbnails and embedded films in the Photos gallery */
.campaign-photo-grid>button:not(.campaign-album-tile){position:relative}
.campaign-video-mark{position:absolute;right:7px;top:6px;color:white;font-size:13px;text-shadow:0 1px 5px #000;background:rgba(0,0,0,.35);border-radius:50%;width:25px;height:25px;display:grid;place-items:center}
.campaign-film-frame{width:100%;aspect-ratio:16/9;max-height:80%;border:0;z-index:1}
.campaign-film-link{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);color:#fff;background:rgba(40,40,40,.9);padding:8px 12px;border-radius:18px;text-decoration:none;font-size:12px;white-space:nowrap;z-index:2}

/* Final iPhone experience refinements */
.weather-city{font-weight:700;color:#fff;letter-spacing:.02em}
.weather-widget .widget-app-label{white-space:nowrap}
.weather-widget .weather-main{align-items:baseline}
.home-screen .app,.home-screen .home-widget{touch-action:manipulation}
.home-screen .app:active .app-icon{transform:scale(.94);filter:brightness(.95)}
.home-screen .app-icon{transition:transform .17s ease,filter .17s ease}
.home-screen .home-widget:active{transform:scale(.985)}
.home-screen .home-widget{transition:transform .17s ease}
.home-screen button:focus-visible,.lock-screen button:focus-visible,.campaign-photos button:focus-visible{outline:2px solid #0a84ff;outline-offset:3px}
.app-screen .app-content,.campaign-photos-main{-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
.campaign-photo-grid>button:active img{filter:brightness(.88)}
.campaign-photo-grid>button img{transition:filter .16s ease}
@media(max-width:380px){
  .home-screen .app-grid{row-gap:17px}
  .home-screen .dock{padding-inline:7px}
  .home-screen .dock .app-icon{width:clamp(43px,13vw,58px);height:clamp(43px,13vw,58px);flex-basis:auto}
  .home-screen .home-widgets{gap:7px}
  .weather-widget .widget-app-label{font-size:9px}
}
@media(prefers-reduced-motion:reduce){
  .home-screen .app-icon,.home-screen .home-widget,.campaign-photo-grid>button img{transition:none!important}
}

/* Lock Screen weather label legibility */
.weather-widget .widget-app-label{gap:8px}
.weather-widget .widget-app-icon{display:inline-flex;align-items:center;justify-content:center;min-width:18px;flex-shrink:0}
.weather-widget .weather-city{margin-left:2px}
