/* The simulated Mac. Everything inside .mac is laid out in macOS points on a 1512 × 982 canvas
   (a 14" MacBook Pro at its default resolution) and scaled as one piece, so proportions match the app exactly.
   Measurements come from the app's own renders (Özet: 852 × 408 pt, grid 6 × 3 of 113.5 × 72 pt, gap 10). */

/* The 1512-pt canvas is scaled down by transform, which does not shrink its layout box: clip it sideways (shadow kept)
   so it never widens the page, which on a phone made every simulation think the screen was wide. */
.mac-frame { position: relative; width: 100%; max-width: 1240px; margin: 0 auto; overflow: clip; overflow-clip-margin: 80px; }
.mac-frame::before { content: ""; display: block; padding-top: calc(982 / 1512 * 100%); }
.mac {
  --ui: "Avenir Next", "Nunito Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --k: 1;
  position: absolute; left: 0; top: 0; width: 1512px; height: 982px;
  transform-origin: 0 0; transform: scale(var(--k));
  border-radius: 26px; overflow: hidden; isolation: isolate;
  font-family: var(--ui); color: #fff; -webkit-font-smoothing: antialiased;
  user-select: none; -webkit-user-select: none;
  background: #1b2340 center / cover no-repeat;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 50px 120px -30px rgba(0,0,0,.85);
}
.mac * { box-sizing: border-box; }
.mac .wall { position: absolute; inset: 0; background: inherit; transition: filter .6s ease, transform .6s ease; }

/* ---------- menu bar ---------- */
.mac .menubar {
  position: absolute; z-index: 5; top: 0; left: 0; right: 0; height: 37px; padding: 0 14px 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,.92);
  background: rgba(10,14,30,.18); -webkit-backdrop-filter: blur(40px) saturate(1.5); backdrop-filter: blur(40px) saturate(1.5);
}
.mac .menubar .l, .mac .menubar .r { display: flex; align-items: center; gap: 20px; }
.mac .menubar .l b { font-weight: 700; }
.mac .menubar .r { gap: 16px; font-weight: 500; }
.mac .menubar .r img { height: 16px; width: auto; display: block; }
.mac .menubar .mark { width: 16px; height: 16px; display: grid; place-items: center; }
.mac .menubar .mark i { display: block; width: 7px; border-radius: 4px; background: #fff; }

/* ---------- the island ---------- */
.mac .island {
  position: absolute; z-index: 20; top: 0; left: 50%; width: 270px; height: 37px; transform: translateX(-50%);
  color: #fff; cursor: default;
  transition: width .55s cubic-bezier(.32,1.18,.36,1), height .55s cubic-bezier(.32,1.18,.36,1);
}
.mac .island .shape {
  position: absolute; top: 0; bottom: 0; left: var(--ear-r, 8px); right: var(--ear-r, 8px); background: #000; border-radius: 0 0 14px 14px;
  transition: border-radius .5s ease, background .35s ease, box-shadow .4s ease;
}
/* the concave "ears" where the island meets the top edge */
.mac .island .shape::before, .mac .island .shape::after {
  content: ""; position: absolute; top: 0; width: var(--ear-r, 8px); height: var(--ear-r, 8px); pointer-events: none;
  background: radial-gradient(circle at 0 100%, transparent calc(var(--ear-r, 8px) - .5px), var(--ear, #000) var(--ear-r, 8px));
  transition: background .35s ease;
}
.mac .island .shape::before { left: calc(-1 * var(--ear-r, 8px)); }
.mac .island .shape::after { right: calc(-1 * var(--ear-r, 8px)); transform: scaleX(-1); }
.mac .island.open { width: 852px; height: var(--h, 408px); --ear-r: 20px; }
.mac .island.open .shape {
  border-radius: 0 0 28px 28px;
  background: linear-gradient(180deg, rgba(118,121,127,.86) 0%, rgba(98,102,109,.88) 26%, rgba(80,84,91,.9) 55%, rgba(71,75,83,.92) 100%);
  -webkit-backdrop-filter: blur(34px) saturate(1.3); backdrop-filter: blur(34px) saturate(1.3);
  box-shadow: inset 0 0 0 .7px rgba(255,255,255,.10), 0 30px 70px rgba(0,0,0,.45);
  --ear: rgba(118,121,127,.86);
}
.mac .island .closed {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 9px 0 8px;
  transition: opacity .2s ease;
}
.mac .island.open .closed { opacity: 0; pointer-events: none; }
.mac .island .closed .art { width: 22px; height: 22px; border-radius: 6px; background: #333 center / cover; }
.mac .island .closed .eq { display: flex; align-items: center; gap: 2px; height: 16px; }
.mac .island .closed .eq i { width: 3px; border-radius: 2px; background: var(--eq, #f6a4c0); height: 30%; animation: m-eq 1.1s ease-in-out infinite; }
.mac .island .closed .eq i:nth-child(2) { animation-delay: .18s; } .mac .island .closed .eq i:nth-child(3) { animation-delay: .36s; } .mac .island .closed .eq i:nth-child(4) { animation-delay: .54s; }
.mac .island .closed.paused .eq i { animation-play-state: paused; }
@keyframes m-eq { 0%,100% { height: 28%; } 50% { height: 100%; } }

.mac .island .body { position: absolute; inset: 0; padding: 47.5px 50px 0; opacity: 0; pointer-events: none; transition: opacity .22s ease; }
.mac .island.open .body { opacity: 1; pointer-events: auto; transition-delay: .16s; }
.mac .island .handle { position: absolute; left: 50%; bottom: 7px; width: 32px; height: 4px; margin-left: -16px; border-radius: 2px; background: rgba(255,255,255,.18); }

/* tab bar */
.mac .tabbar { display: flex; justify-content: space-between; align-items: center; height: 33px; }
.mac .track {
  display: flex; align-items: center; height: 33px; padding: 0 3px; border-radius: 17px;
  background: rgba(30,32,38,.28); box-shadow: inset 0 1px 1.5px rgba(0,0,0,.25), inset 0 0 0 .7px rgba(255,255,255,.07);
}
.mac .track .tab { width: 38px; height: 29px; border-radius: 15px; border: 0; padding: 0; background: transparent; display: grid; place-items: center; cursor: pointer; opacity: .62; transition: opacity .15s, background .2s, box-shadow .2s; }
.mac .track .tab:hover { opacity: .9; }
.mac .track .tab.on { opacity: 1; background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.08)); box-shadow: inset 0 0 0 .7px rgba(255,255,255,.16), 0 1px 3px rgba(0,0,0,.3); }
.mac .track .tab img { height: 16px; width: auto; display: block; }
.mac .track.right { gap: 2px; padding: 0 3px 0 10px; }
.mac .track.right .batt { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; margin-right: 8px; }
.mac .track.right .batt .cell { position: relative; width: 22px; height: 11px; border-radius: 3.5px; background: #8fd6a8; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); display: grid; place-items: center; }
.mac .track.right .batt .cell::after { content: ""; position: absolute; right: -3px; top: 3.5px; width: 1.5px; height: 4px; border-radius: 1px; background: rgba(255,255,255,.5); }
.mac .track.right .batt .cell img { height: 8px; }
.mac .track.right .ic { position: relative; width: 31px; height: 29px; border-radius: 15px; display: grid; place-items: center; opacity: .82; border: 0; background: transparent; padding: 0; cursor: pointer; }
.mac .track.right .ic img { height: 14px; }
.mac .track.right .ic .badge { position: absolute; top: 1px; right: 2px; min-width: 13px; height: 13px; padding: 0 3px; border-radius: 7px; background: #eb5545; font-size: 8.5px; font-weight: 700; display: grid; place-items: center; }

/* panels below the tab bar */
.mac .panes { position: relative; margin: 13px 10.5px 0; }
.mac .pane { display: none; }
.mac .pane.on { display: block; animation: m-in .28s ease; }
@keyframes m-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.mac .island.shot .shape { background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; --ear: transparent; }
.mac .island .full { position: absolute; left: 0; top: 0; width: 852px; height: auto; display: none; pointer-events: none; }
.mac .island.shot .full { display: block; }
.mac .island.shot .panes { visibility: hidden; }
.mac .island.shot .tabbar { position: relative; z-index: 2; }
.mac .island.shot .tabbar .track { background: none; box-shadow: none; }
.mac .island.shot .tabbar .track > * { opacity: 0 !important; }

/* Özet: day line */
.mac .dayline { display: flex; gap: 10px; height: 24px; }
.mac .chip {
  display: flex; align-items: center; gap: 8px; height: 24px; padding: 0 10px; border-radius: 12px; white-space: nowrap; overflow: hidden;
  background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 .7px rgba(255,255,255,.11); font-size: 11px; font-weight: 500;
}
.mac .chip b { font-size: 12px; font-weight: 600; }
.mac .chip .dim { color: rgba(255,255,255,.7); }
.mac .chip .sep { width: 1px; height: 12px; background: rgba(255,255,255,.18); }
.mac .chip img { height: 10px; }
.mac .chip.hint { flex: 1; min-width: 0; }
.mac .chip.hint .txt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.mac .chip.hint .act { padding: 2px 8px; border-radius: 8px; background: rgba(140,200,225,.22); color: #8fd0ea; font-weight: 600; }
.mac .chip.hint .n { color: rgba(255,255,255,.45); font-size: 10px; }

/* Özet: grid */
.mac .grid { position: relative; margin-top: 12px; display: grid; grid-template-columns: repeat(6, 113.5px); grid-template-rows: repeat(3, 72px); gap: 10px; }
.mac .w {
  position: relative; border-radius: 20px; overflow: hidden; padding: 10px 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,.045));
  box-shadow: inset 0 0 0 .7px rgba(255,255,255,.12), inset 0 1px 0 rgba(255,255,255,.06);
}
.mac .w .lbl { font-size: 9.5px; font-weight: 600; letter-spacing: .03em; color: rgba(255,255,255,.62); text-transform: uppercase; }
.mac .w.lcd { display: grid; place-items: center; padding: 6px; }
.mac .w.lcd canvas { display: block; }
.mac .w.day { display: grid; place-items: center; text-align: center; padding: 6px; }
.mac .w.day .dow { font-size: 10.5px; font-weight: 700; color: #ff5b4d; letter-spacing: .04em; }
.mac .w.day .dom { font-size: 30px; font-weight: 500; line-height: 1; margin-top: 1px; }
.mac .w.mkt { display: flex; align-items: center; gap: 10px; }
.mac .w.mkt .px { font-size: 18px; font-weight: 600; line-height: 1.1; margin-top: 2px; }
.mac .w.mkt .chg { font-size: 11px; font-weight: 600; }
.mac .w.mkt svg { flex: 1; height: 44px; overflow: visible; }
.mac .w.water { display: grid; place-items: center; padding: 6px; }
.mac .w.water .glass { position: relative; width: 70px; height: 50px; border-radius: 14px; overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.06)); box-shadow: inset 0 0 0 .7px rgba(255,255,255,.2), 0 3px 8px rgba(0,0,0,.25); display: grid; place-items: center; }
.mac .w.water .glass .lvl { position: absolute; left: 0; right: 0; bottom: 0; height: var(--lvl, 14%); background: linear-gradient(180deg, #5aa2ff, #2f6fe8); transition: height .8s cubic-bezier(.3,1.2,.4,1); }
.mac .w.water .glass .lvl::before { content: ""; position: absolute; left: -20%; right: -20%; top: -4px; height: 8px; border-radius: 50%; background: #6eb0ff; animation: m-wave 2.6s ease-in-out infinite; }
@keyframes m-wave { 0%,100% { transform: translateX(-6%); } 50% { transform: translateX(6%); } }
.mac .w.water .glass img { position: relative; height: 18px; }
.mac .w.water .ml { position: absolute; bottom: 5px; left: 0; right: 0; text-align: center; font-size: 9px; color: rgba(255,255,255,.7); font-weight: 600; opacity: 0; transition: opacity .3s; }
.mac .w.water.tapped .ml { opacity: 1; }
.mac .w.care { display: grid; place-items: center; text-align: center; padding: 6px; }
.mac .w.care img { height: 22px; }
.mac .w.care .v { font-size: 15px; font-weight: 600; margin-top: 3px; }
.mac .w.cpu { display: grid; place-items: center; padding: 4px; }
.mac .ring { position: relative; width: 50px; height: 50px; display: grid; place-items: center; text-align: center; }
.mac .ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.mac .ring .v { font-size: 14px; font-weight: 600; line-height: 1; }
.mac .ring .t { font-size: 8px; color: rgba(255,255,255,.62); font-weight: 600; margin-top: 2px; }
.mac .w.music { display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 8px; }
.mac .w.music .bg { position: absolute; inset: -20px; background: center / cover; filter: blur(26px) saturate(1.5); opacity: .55; transition: background-image .5s; }
.mac .w.music > *:not(.bg) { position: relative; }
.mac .w.music .art { width: 56px; height: 56px; border-radius: 10px; background: #333 center / cover; flex: none; box-shadow: 0 4px 12px rgba(0,0,0,.35); }
.mac .w.music .meta { flex: 1; min-width: 0; }
.mac .w.music .ti { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mac .w.music .ar { font-size: 11px; color: rgba(255,255,255,.72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mac .w.music .bar { height: 3px; margin-top: 8px; border-radius: 2px; background: rgba(255,255,255,.2); overflow: hidden; }
.mac .w.music .bar i { display: block; height: 100%; width: 30%; border-radius: 2px; background: var(--tint, #fff); }
.mac .w.music .ctl { display: flex; align-items: center; gap: 6px; }
.mac .w.music .ctl button { border: 0; background: transparent; padding: 0; cursor: pointer; display: grid; place-items: center; }
.mac .w.music .ctl .sm img { height: 11px; opacity: .9; }
.mac .w.music .ctl .pp { width: 38px; height: 38px; border-radius: 50%; background: #fff; }
.mac .w.music .ctl .pp img { height: 14px; filter: invert(1); }
.mac .w.toggles { padding: 10px; }
.mac .w.toggles .hd { display: flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 600; letter-spacing: .04em; color: rgba(255,255,255,.72); }
.mac .w.toggles .hd img { height: 9px; }
.mac .w.toggles .tg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.mac .w.toggles .tg button {
  height: 58px; border: 0; border-radius: 11px; color: #fff; cursor: pointer; font: 600 10px/1.1 var(--ui);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 .7px rgba(255,255,255,.08); transition: background .2s;
}
.mac .w.toggles .tg button img { height: 15px; }
.mac .w.toggles .tg button.on { background: #6aa6f8; color: #0b1730; }
.mac .w.toggles .tg button.on img { filter: invert(.9) sepia(1) hue-rotate(180deg) saturate(3) brightness(.25); }
.mac .w.note { padding: 0; background: none; box-shadow: none; overflow: visible; }
.mac .w.note .paper {
  position: absolute; inset: 0; border-radius: 4px 4px 16px 4px; background: linear-gradient(180deg, #d4f59a, #b7ec74);
  clip-path: polygon(0 0, 100% 0, 100% 78%, 93% 100%, 0 100%); padding: 8px 12px; color: #1d3a06;
  font: 400 15px/1.25 "Marker Felt", "Chalkboard SE", "Comic Sans MS", cursive; box-shadow: 0 8px 18px rgba(0,0,0,.3);
}
.mac .w.note textarea { width: 100%; height: 100%; border: 0; outline: 0; resize: none; background: transparent; color: inherit; font: inherit; }
.mac .w.tasks { display: flex; align-items: center; gap: 14px; padding-left: 16px; }
.mac .w.tasks .ic { width: 28px; display: grid; gap: 4px; }
.mac .w.tasks .ic span { display: flex; align-items: center; gap: 4px; }
.mac .w.tasks .ic i { width: 9px; height: 9px; border-radius: 50%; border: 1.6px solid #ff9f0a; display: grid; place-items: center; font-size: 6px; color: #fff; }
.mac .w.tasks .ic i.d { background: #ff9f0a; }
.mac .w.tasks .ic b { display: block; width: 14px; height: 2px; border-radius: 1px; background: #ff9f0a; }
.mac .w.tasks .n { font-size: 20px; font-weight: 600; line-height: 1; }
.mac .w.tasks .s { font-size: 11px; color: rgba(255,255,255,.72); margin-top: 2px; }
.mac .dots { display: flex; justify-content: center; gap: 5px; margin-top: 12px; }
.mac .dots i { width: 5px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.3); }
.mac .dots i.on { width: 16px; background: rgba(255,255,255,.85); }

/* ---------- Dock ---------- */
.mac .dock {
  position: absolute; z-index: 10; left: 12px; right: 12px; bottom: 6px; height: 74px;
  border-radius: 24px; padding: 0 10px; display: flex; align-items: center;
  background: rgba(150,160,190,.26); -webkit-backdrop-filter: blur(30px) saturate(1.6); backdrop-filter: blur(30px) saturate(1.6);
  box-shadow: inset 0 0 0 .7px rgba(255,255,255,.22), inset 0 1px 0 rgba(255,255,255,.12), 0 10px 30px rgba(0,0,0,.3);
  perspective: 600px;
}
.mac .dock .pages { position: relative; flex: none; height: 100%; overflow: hidden; }
.mac .dock .page { position: absolute; inset: 0; display: flex; align-items: center; gap: 6px; transition: transform .5s cubic-bezier(.3,1,.3,1), opacity .4s; }
.mac .dock .page.p2 { transform: translateX(100%); opacity: 0; }
.mac .dock.on2 .page.p1 { transform: translateX(-100%); opacity: 0; }
.mac .dock.on2 .page.p2 { transform: none; opacity: 1; }
.mac .dock .locked { display: flex; align-items: center; gap: 6px; height: 100%; }
.mac .dock .sep { width: 1px; height: 46px; margin: 0 10px 0 4px; background: rgba(255,255,255,.25); flex: none; }
.mac .dock .it { position: relative; flex: none; width: 50px; height: 50px; transform-style: preserve-3d; transition: transform .25s ease; }
.mac .dock .it img { width: 100%; height: 100%; display: block; }
.mac .dock .it.run::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: rgba(255,255,255,.75); }
.mac .dock .it .tip { position: absolute; bottom: 66px; left: 50%; transform: translateX(-50%); padding: 4px 10px; border-radius: 7px; background: rgba(40,40,44,.85); font-size: 12px; font-weight: 500; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .12s; }
.mac .dock .it:hover .tip { opacity: 1; }
.mac .dock .dw { position: relative; flex: none; height: 54px; border-radius: 13px; overflow: hidden; display: flex; align-items: center; transform-style: preserve-3d; transition: transform .25s ease; }
.mac .dock .dw.music { width: 162px; gap: 9px; padding: 0 9px 0 6px; background: rgba(0,0,0,.22); box-shadow: inset 0 0 0 .7px rgba(255,255,255,.08); }
.mac .dock .dw.music .art { width: 42px; height: 42px; border-radius: 9px; background: #333 center / cover; flex: none; }
.mac .dock .dw.music .ti { font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 58px; }
.mac .dock .dw.music .ctl { display: flex; align-items: center; gap: 7px; margin-left: auto; }
.mac .dock .dw.music .ctl button { border: 0; padding: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.mac .dock .dw.music .ctl img { height: 10px; }
.mac .dock .dw.music .ctl .pp img { height: 12px; }
.mac .dock .dw.water { width: 128px; padding: 0 10px; gap: 7px; background: linear-gradient(180deg, rgba(255,255,255,.34), rgba(255,255,255,.18)); box-shadow: inset 0 0 0 .7px rgba(255,255,255,.35); }
.mac .dock .dw.water .lvl { position: absolute; left: 0; right: 0; bottom: 0; height: 18%; background: linear-gradient(180deg, rgba(98,160,255,.75), rgba(47,111,232,.8)); transition: height .8s cubic-bezier(.3,1.2,.4,1); }
.mac .dock .dw.water > *:not(.lvl) { position: relative; }
.mac .dock .dw.water img { height: 13px; }
.mac .dock .dw.water .v { font-size: 12.5px; font-weight: 600; }
.mac .dock .dw.water .s { font-size: 9px; opacity: .8; }
.mac .dock .chev { flex: none; width: 14px; display: grid; place-items: center; cursor: pointer; opacity: .75; border: 0; background: transparent; padding: 0; }
.mac .dock .chev img { height: 11px; }
.mac .dock .dw.weather { width: 128px; padding: 0 10px; background: #8a96a8 center / cover; box-shadow: inset 0 0 0 .7px rgba(255,255,255,.25); flex-direction: column; align-items: flex-start; justify-content: center; }
.mac .dock .dw.weather .tm { font-size: 10px; font-weight: 600; }
.mac .dock .dw.weather .tp { font-size: 22px; font-weight: 600; line-height: 1; }
.mac .dock .dw.weather { background-size: 160% auto; animation: m-drift 18s ease-in-out infinite alternate; }
@keyframes m-drift { from { background-position: 0% 40%; } to { background-position: 100% 60%; } }
.mac .dock .dw.weather > * { position: relative; z-index: 1; text-shadow: 0 1px 3px rgba(0,0,0,.25); }
.mac .dock .dw.mkt { width: 140px; padding: 0 4px 0 8px; gap: 6px; }
.mac .dock .dw.mkt .nm { font-size: 9.5px; font-weight: 600; opacity: .8; }
.mac .dock .dw.mkt .px { font-size: 15px; font-weight: 600; line-height: 1.05; }
.mac .dock .dw.mkt .chg { font-size: 9px; font-weight: 600; color: #6be087; }
.mac .dock .dw.mkt svg { width: 52px; height: 30px; overflow: visible; }
.mac .dock .dw.clock { width: 112px; justify-content: center; background: rgba(0,0,0,.25); font-size: 26px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mac .dock .dw.note { width: 112px; padding: 6px 9px; align-items: flex-start; background: linear-gradient(180deg, #fff3a3, #fde67a); color: #4a3a00; font: 13px/1.2 "Marker Felt", "Chalkboard SE", cursive; }
.mac .dock .dw.cal { width: 54px; flex-direction: column; justify-content: center; background: #fff; color: #111; }
.mac .dock .dw.cal .d { font-size: 9px; font-weight: 700; color: #ff3b30; }
.mac .dock .dw.cal .n { font-size: 22px; font-weight: 500; line-height: 1; }
.mac .dock .pager { position: absolute; left: 50%; bottom: 3px; display: flex; gap: 4px; transform: translateX(-50%); }
.mac .dock .pager i { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.35); }
.mac .dock .pager i.on { background: rgba(255,255,255,.9); }

/* hint pill floating over the stage */
.mac .cue {
  position: absolute; z-index: 30; left: 50%; top: 66px; transform: translateX(-50%);
  padding: 8px 14px; border-radius: 16px; font-size: 13px; font-weight: 500; color: #fff;
  background: rgba(0,0,0,.45); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: inset 0 0 0 .7px rgba(255,255,255,.15); transition: opacity .3s;
}
.mac .cue kbd { font: 600 11px var(--ui); padding: 1px 5px; border-radius: 5px; background: rgba(255,255,255,.18); }
.mac.used .cue { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .mac .island, .mac .island .shape, .mac .dock .page { transition: none; }
  .mac .island .closed .eq i, .mac .w.water .glass .lvl::before, .mac .dock .dw.weather .cl { animation: none; }
}
.mac.instant .island, .mac.instant .island *, .mac.instant .dock .page { transition: none !important; animation-duration: 0s !important; }

/* ---------- the open island from the app's own pictures (30 Oct, 2nd pass) ----------
   Panes are Islora's renders with only the glass blur left out (they carry the glass tint, sheen and content).
   .shape adds what the app gets from macOS: the blurred, darkened desktop behind (NSVisualEffectView .hudWindow). */
.mac .island .view { position: absolute; left: 0; top: 0; width: 852px; height: 100%; overflow: hidden; opacity: 0; pointer-events: none; transition: opacity .22s ease; border-radius: 0 0 28px 28px; }
.mac .island.open .view { opacity: 1; pointer-events: auto; transition-delay: .16s; }
.mac .island.open .shape, .mac .island.open.shot .shape {
  background: rgba(30,31,36,.42);
  -webkit-backdrop-filter: blur(30px) saturate(1.6) brightness(.72); backdrop-filter: blur(30px) saturate(1.6) brightness(.72);
  box-shadow: 0 30px 70px rgba(0,0,0,.45); --ear: rgba(30,31,36,.42);
}
.mac .island .view > img, .mac .island .view .pg > img { display: block; width: 852px; height: auto; -webkit-user-drag: none; }
.mac .island .ozet { position: absolute; inset: 0; transition: opacity .25s ease; }
.mac .island .ozet .strip { display: flex; width: 1704px; transform: translateX(calc(var(--page, 0) * -852px)); transition: transform .55s cubic-bezier(.3,1.1,.4,1); }
.mac .island .ozet .pg { position: relative; width: 852px; flex: none; }
.mac .island .ozet .pager { position: absolute; left: 376px; top: 362px; width: 100px; height: 22px; border: 0; background: transparent; cursor: pointer; }
.mac .island .edit, .mac .island .full { position: absolute; left: 0; top: 0; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.mac .island.editing .edit { opacity: 1; pointer-events: auto; cursor: pointer; }
.mac .island.editing .ozet { opacity: 0; pointer-events: none; }
.mac .island.shot .full { opacity: 1; }
.mac .island.shot .ozet, .mac .island.shot .edit { opacity: 0; pointer-events: none; }
/* the tab bar is in the pictures: only invisible buttons sit over its icons */
.mac .island .body { z-index: 3; pointer-events: none; }
.mac .island.open .body { pointer-events: none; }
.mac .island .tabbar .track { background: none !important; box-shadow: none !important; pointer-events: auto; }
.mac .island .tabbar .tab { opacity: 1 !important; background: none !important; box-shadow: none !important; }
.mac .island .tabbar .ic { width: 31px; height: 29px; border: 0; background: none; cursor: pointer; }
.mac .island .tabbar .track.right { width: 31px; padding: 0; }
.mac .island.shot .panes, .mac .island .panes { display: none; }
/* the live player over the music tile of page 1 (60.5, 292; 3 × 1 tiles) */
.mac .island .w.music.live { position: absolute; left: 60.5px; top: 292px; width: 360.5px; height: 72px; border-radius: 20px; overflow: hidden;
  background: linear-gradient(90deg, color-mix(in srgb, var(--tint, #b07a3a) 55%, #1d1a16) 0%, color-mix(in srgb, var(--tint, #b07a3a) 35%, #1d1a16) 100%);
  box-shadow: inset 0 0 0 .7px rgba(255,255,255,.14); }
.mac .island .w.music.live .bg { opacity: .35; }
.mac .island .w.music.live .ctl .pp { width: 38px; height: 38px; }
/* the player as the app draws it in a 3 × 1 tile: cover the full height, title and artist, a short bar with the time
   left, dark round back/forward and a large white play button; the tile is tinted from the cover */
.mac .island .w.music.live { display: flex; align-items: center; gap: 0; padding: 6px 10px 6px 6px;
  background: linear-gradient(90deg, rgb(110,80,42) 0%, rgb(90,68,40) 45%, rgb(64,54,40) 100%); }
.mac .island .w.music.live .bg { display: none; }
.mac .island .w.music.live .art { width: 60px; height: 60px; border-radius: 13px; box-shadow: 0 3px 10px rgba(0,0,0,.35); }
.mac .island .w.music.live .meta { padding-left: 11px; }
.mac .island .w.music.live .ti { font-size: 13px; font-weight: 600; }
.mac .island .w.music.live .ar { font-size: 11px; color: rgba(255,226,180,.62); margin-top: 1px; }
.mac .island .w.music.live .prog { display: flex; align-items: center; gap: 7px; margin-top: 10px; }
.mac .island .w.music.live .bar { width: 100px; flex: none; height: 3px; margin: 0; background: rgba(255,255,255,.22); }
.mac .island .w.music.live .bar i { background: rgba(255,255,255,.75); }
.mac .island .w.music.live .left { font-size: 9.5px; font-weight: 600; color: rgba(255,255,255,.55); font-variant-numeric: tabular-nums; }
.mac .island .w.music.live .ctl { gap: 9px; }
.mac .island .w.music.live .ctl .sm { width: 32px; height: 32px; border-radius: 50%; background: rgba(0,0,0,.22); box-shadow: inset 0 0 0 .7px rgba(255,255,255,.08); }
.mac .island .w.music.live .ctl .sm img { height: 11px; opacity: 1; }
.mac .island .w.music.live .ctl .pp { width: 40px; height: 40px; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.mac .island .w.music.live .ctl .pp img { height: 14px; }

/* while the welcome is drawn over the notch, the closed island shows nothing of its own */
.mac.welcoming .island .closed { opacity: 0; }
