/* tidy.here · page styles (light). Demos (the animated product shots) are styled in the second half. */
:root {
  --bg: #fbfbfd;
  --card: #ffffff;
  --line: rgba(0, 0, 0, 0.08);
  --line-2: rgba(0, 0, 0, 0.12);
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-3: #86868b;
  --accent: #0a85ff;
  --accent-hover: #0077ed;
  --paper: #f3f1ec;
  /* Tidy blue: deeper where copy sits, brighter where the app floats */
  --blue-deep: #0753c4;
  --blue: #0a85ff;
  --wrap: 1120px;
  --gutter: 40px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.5; letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
/* No italics anywhere, browser defaults included. */
i, em, cite, address, dfn, var, q { font-style: normal; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, figure { margin: 0; padding: 0; }
h1, h2, h3 { text-wrap: balance; font-weight: 700; }
p, li { text-wrap: pretty; }
button { font: inherit; color: inherit; }
::selection { background: rgba(10, 133, 255, 0.25); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 26px; border-radius: 25px;
  background: var(--accent); color: #fff; font-size: 17px; font-weight: 600; letter-spacing: -0.015em;
  transition: background-color .15s ease, transform .1s ease;
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: scale(.98); }
.btn-ghost { background: rgba(0, 0, 0, 0.06); color: var(--text); }
.btn-ghost:hover { background: rgba(0, 0, 0, 0.1); }
.btn-sm { height: 34px; padding: 0 16px; font-size: 14px; border-radius: 17px; }
.btn-block { display: flex; width: 100%; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 251, 253, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.brand img { border-radius: 7px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; color: var(--text-2); }
.nav-links a:hover { color: var(--text); }

/* Hero */
.hero { padding: 80px 0 0; overflow: hidden; }
.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-icon { width: 104px; height: 104px; margin-bottom: 30px; filter: drop-shadow(0 16px 30px rgba(10, 60, 160, 0.22)); }
h1 { font-size: 80px; line-height: 1.0; letter-spacing: -0.05em; max-width: 12ch; }
.lede { margin-top: 24px; max-width: 34em; font-size: 21px; line-height: 1.48; color: var(--text-2); }
.ctas { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; justify-content: center; }
.fine { margin-top: 16px; font-size: 14px; color: var(--text-3); }

/* The Mac the hero plays on: black lid with a notch, an aluminum base. No logos. */
.mac { position: relative; width: 100%; margin: 72px auto 0; padding: 0 3.2%; }
.mac::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: -26px; height: 40px; border-radius: 50%; background: rgba(0, 20, 60, .28); filter: blur(24px); z-index: -1; }
.mac-lid { position: relative; padding: 1.25% 1.25% 1.6%; border-radius: 3.1% / 4.6%; background: #0c0c0e;
  box-shadow: 0 0 0 1.5px #c9c9ce, 0 0 0 2.5px #9fa0a6, 0 40px 80px -30px rgba(0, 20, 60, .45); }
.mac-screen { position: relative; border-radius: 1% / 1.6%; overflow: hidden; background: #000; }
.mac-screen .demo { border-radius: 0; box-shadow: none; }
.mac-notch { position: absolute; left: 50%; top: 0; width: 13.4%; height: 3.6%; transform: translateX(-50%); background: #0c0c0e; border-radius: 0 0 9px 9px; z-index: 5; }
.mac-notch i { position: absolute; left: 50%; top: 32%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #1d2433; box-shadow: inset 0 0 0 1.5px #10131a; }
.mac-base { position: relative; height: 0; padding-bottom: 2.1%; margin: 0 -3.2%; border-radius: 0 0 46% 46% / 0 0 100% 100%;
  background: linear-gradient(180deg, #f2f2f4 0%, #d4d4d9 28%, #a9aab0 100%); box-shadow: inset 0 1px 0 #fff; }
.mac-base span { position: absolute; left: 50%; top: 0; width: 15%; height: 42%; transform: translateX(-50%); border-radius: 0 0 12px 12px / 0 0 100% 100%; background: linear-gradient(180deg, #b9bac0, #dcdce0); }

/* Feature previews: big cards on a wallpaper, copy on the left, the app on the right */
.previews { padding: 150px 0 0; }
.feat { position: relative; border-radius: 34px; overflow: hidden; color: #fff; isolation: isolate;
  background: radial-gradient(70% 90% at 100% 0%, rgba(120, 196, 255, .45) 0%, rgba(120, 196, 255, 0) 60%), linear-gradient(100deg, var(--blue-deep) 0%, #0a6ef0 48%, var(--blue) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22); }
.feat + .feat { margin-top: 28px; }
.feat .demo { background: transparent; border-radius: 0; z-index: 0; }
.feat-copy { position: absolute; left: 0; top: 0; bottom: 0; width: 37%; padding: 56px 0 56px 56px; display: flex; flex-direction: column; justify-content: center; z-index: 2; }
.feat h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.06; letter-spacing: -0.035em; }
.feat p { margin-top: 16px; font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, .88); }
.feat p + p { margin-top: 10px; }

/* More: App Store style preview row */
.more { padding: 150px 0 0; }
.more-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.more h2, .safety h2, .get h2, .faq h2 { font-size: 48px; line-height: 1.06; letter-spacing: -0.04em; }
.car-btns { display: flex; gap: 10px; }
.car-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .06); display: grid; place-items: center; cursor: pointer; color: var(--text); transition: background-color .15s ease, opacity .15s ease; }
.car-btn:hover { background: rgba(0, 0, 0, .1); }
.car-btn[disabled] { opacity: .35; cursor: default; }
.carousel { display: flex; gap: 20px; margin-top: 36px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 6px max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 30px; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.carousel::-webkit-scrollbar { display: none; }
.carousel:focus-visible { outline-offset: -4px; }
.slide { flex: none; width: 360px; border-radius: 30px; overflow: hidden; scroll-snap-align: start; display: flex; flex-direction: column; color: #fff;
  background: radial-gradient(90% 55% at 100% 100%, rgba(120, 196, 255, .4) 0%, rgba(120, 196, 255, 0) 60%), linear-gradient(180deg, var(--blue-deep) 0%, #0a6ef0 52%, var(--blue) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 18px 40px -22px rgba(0, 40, 110, .55); }
.slide-top { padding: 28px 28px 8px; }
.slide h3 { font-size: 23px; line-height: 1.15; letter-spacing: -0.025em; }
.slide p { margin-top: 7px; font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, .88); }
.slide .demo { margin-top: auto; background: transparent; border-radius: 0; }

/* Safety */
.safety { padding: 150px 0 0; }
.safety-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; margin-top: 52px; border-top: 1px solid var(--line); padding-top: 32px; }
.safety h3 { font-size: 17px; letter-spacing: -0.015em; }
.safety p { margin-top: 8px; font-size: 15px; color: var(--text-2); }

/* Pricing */
.get { padding: 150px 0 0; }
.get .sub { max-width: 34em; margin: 14px auto 0; font-size: 19px; color: var(--text-2); }
.get-card { max-width: 440px; margin: 44px auto 0; padding: 32px; border-radius: 30px; background: var(--card);
  box-shadow: 0 0 0 1px var(--line), 0 30px 70px -30px rgba(0, 20, 60, .3); }
.get-head { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.get-head img { border-radius: 14px; }
.get-name { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.get-kind { font-size: 14px; color: var(--text-2); margin-top: 2px; }
.get-card .btn-block + .btn-block { margin-top: 10px; }
.get-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 880px; margin: 44px auto 0; }
.get-grid .get-card { margin: 0; max-width: none; display: flex; flex-direction: column; }
.get-desc { flex: 1; font-size: 15px; line-height: 1.5; color: var(--text-2); margin: -6px 0 24px; }
.btn-soon { cursor: default; pointer-events: none; }
.btn-soon-ghost { background: rgba(0, 0, 0, 0.06); color: var(--text); }
.get-note { max-width: 560px; margin: 26px auto 0; text-align: center; font-size: 15px; line-height: 1.5; color: var(--text-2); }
.get-note b { color: var(--text); font-weight: 600; }
.pwyw { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); text-align: center; }
.pwyw p { font-size: 15px; line-height: 1.5; color: var(--text-2); }
.pwyw p b { color: var(--text); font-weight: 600; }
.pwyw-btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }

/* FAQ */
.faq { padding: 150px 0 0; }
.faq-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; font-weight: 400; font-size: 24px; line-height: 1; color: var(--text-3); transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 48px 22px 0; margin-top: -4px; color: var(--text-2); font-size: 16px; }

/* Footer */
.foot { margin-top: 150px; border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--text-3); }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-weight: 600; }
.foot-brand img { border-radius: 6px; }
.foot-links { display: flex; gap: 24px; }
.foot-links a:hover { color: var(--text); }
.foot-by { display: inline-flex; align-items: center; gap: 7px; }
.foot-by svg { flex: none; }

@media (max-width: 1000px) {
  h1 { font-size: 64px; }
  .safety-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-in { grid-template-columns: 1fr; gap: 28px; }
}
/* Below 900 the previews stack: copy on top, the app under it */
@media (max-width: 900px) {
  .feat-copy { position: relative; width: auto; padding: 40px 32px 6px; }
  .feat { background: radial-gradient(90% 60% at 100% 100%, rgba(120, 196, 255, .4) 0%, rgba(120, 196, 255, 0) 60%), linear-gradient(180deg, var(--blue-deep) 0%, #0a6ef0 50%, var(--blue) 100%); }
  .feat .demo { margin-left: auto; max-width: 600px; }
}
/* Below 720 the hero drops the Mac and shows the Desktop on its own */
@media (max-width: 720px) {
  .mac { padding: 0; margin-top: 44px; }
  .mac::after { display: none; }
  .mac-lid { padding: 0; background: none; border-radius: 26px; box-shadow: 0 30px 60px -30px rgba(0, 20, 60, .5); }
  .mac-screen { border-radius: 26px; }
  .mac-notch, .mac-base { display: none; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-in { justify-content: space-between; }
  .hero { padding-top: 48px; }
  .hero-icon { width: 80px; height: 80px; margin-bottom: 22px; }
  h1 { font-size: 46px; }
  .lede { font-size: 17px; }
  .ctas { flex-direction: column; width: 100%; }
  .ctas .btn { width: 100%; }
  .previews { padding-top: 96px; }
  .feat { border-radius: 28px; }
  .feat-copy { padding: 32px 24px 4px; }
  .more h2, .safety h2, .get h2, .faq h2 { font-size: 34px; }
  .more, .safety, .get, .faq { padding-top: 110px; }
  .car-btns { display: none; }
  .slide { width: min(330px, 84vw); }
  .safety-grid { grid-template-columns: 1fr; gap: 26px; }
  .get-card { padding: 26px 22px; }
  .get-grid { grid-template-columns: 1fr; }
  details p { padding-right: 0; }
  .foot { margin-top: 110px; }
}

/* ======================================================================
   Demos. Each one is a stage drawn at a fixed design size and scaled to
   its column by demos.js. Everything inside is in design pixels.
   ====================================================================== */
.demo { position: relative; border-radius: 20px; overflow: hidden; background: #15151a; }
.demo-hero { border-radius: 0; }
.grp { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.dframe { position: relative; overflow: hidden; }
.dstage { position: absolute; left: 0; top: 0; transform-origin: 0 0; overflow: hidden; font-family: var(--font); letter-spacing: -0.01em; color: #fff; -webkit-user-select: none; user-select: none; }
.dstage * { box-sizing: border-box; }
.dstage .abs, .dstage .ic, .dstage .lb { position: absolute; left: 0; top: 0; }

/* shared: wallpaper ground, cursor, traffic lights, folder icon, menu bar */
.wall { position: absolute; inset: 0; background: #12307a url(photos/wall-tidal.jpg) center / cover no-repeat; }
.wall.soft::after { content: ""; position: absolute; inset: 0; background: rgba(12, 14, 22, .34); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.wall .tone { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 18, 40, .22), rgba(8, 12, 20, .26)); }
.cur { position: absolute; left: 0; top: 0; width: 26px; height: 32px; z-index: 2000; pointer-events: none; filter: drop-shadow(0 1.5px 2px rgba(0, 0, 0, .35)); will-change: transform; }
.cur svg { position: absolute; left: 0; top: 0; }
.lights { display: flex; gap: 8px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .25); }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.mbar { position: absolute; left: 0; top: 0; right: 0; height: 26px; z-index: 900; display: flex; align-items: center; justify-content: flex-end; gap: 14px; padding: 0 12px;
  background: rgba(20, 22, 34, .3); -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4); font-size: 13px; font-weight: 500; }
.mbar svg { flex: none; }
.mbar .clk { white-space: nowrap; letter-spacing: -0.01em; }
.mbar .clk b { font-weight: 500; margin-left: 9px; }
.mbar .menus { display: flex; gap: 20px; margin-right: auto; font-weight: 500; }
.mbar .menus b { font-weight: 700; }
.dock { position: absolute; display: flex; align-items: flex-end; gap: 8px; padding: 6px; border-radius: 24px; z-index: 950;
  background: rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6);
  box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .45), inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 30px rgba(0, 0, 0, .25); }
.dock .app { position: relative; width: 54px; height: 54px; }
.dock .app img { position: absolute; left: 50%; top: 50%; width: 67px; height: 67px; max-width: none; transform: translate(-50%, -50%); }
.dock .app.run::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: rgba(255, 255, 255, .85); }
.dock .sep { width: 1px; align-self: stretch; margin: 6px 3px; background: rgba(255, 255, 255, .35); }

/* desktop icons */
.ic { width: 64px; height: 64px; transform-origin: 32px 32px; will-change: transform, opacity; }
.th { position: absolute; background-size: cover; background-position: center; border-radius: 1.5px;
  box-shadow: inset 0 0 0 .6px rgba(255, 255, 255, .28), 0 .6px 1.8px rgba(0, 0, 0, .42); }
.lb { width: 110px; margin-left: -55px; text-align: center; white-space: pre; font-size: 12px; line-height: 14px; font-weight: 500;
  color: #fff; text-shadow: 0 .5px 1.4px rgba(0, 0, 0, .8), 0 0 3px rgba(0, 0, 0, .3); }
.fold { position: absolute; left: 0; top: 0; width: 64px; height: 64px; transform-origin: 32px 56px; will-change: transform, opacity; }
.fold i { position: absolute; inset: 0; background: url(photos/folder.png) center / 64px 64px no-repeat; }
.fold i.front { clip-path: inset(16.9px 0 0 0 round 3.4px 3.4px 0 0); }
.fl { position: absolute; left: 0; top: 0; width: 140px; margin-left: -70px; text-align: center; white-space: nowrap; font-size: 12px; line-height: 14px; font-weight: 500;
  color: #fff; text-shadow: 0 .5px 1.4px rgba(0, 0, 0, .8), 0 0 3px rgba(0, 0, 0, .3); }
.cnt { position: absolute; left: 0; top: 0; height: 14px; font-size: 12px; line-height: 14px; font-weight: 500; color: #7cc0ff;
  text-shadow: 0 .5px 1.4px rgba(0, 0, 0, .8); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cnt span { position: absolute; left: 0; top: 0; }

/* Tidy's window (Tahoe dark) */
.tw { position: absolute; display: flex; border-radius: 16px; overflow: hidden; background: #1f1e24; z-index: 500;
  box-shadow: 0 0 0 .5px rgba(255, 255, 255, .2), 0 28px 70px rgba(0, 0, 0, .5), 0 6px 18px rgba(0, 0, 0, .3); transform-origin: 50% 70%; will-change: transform, opacity; }
.tw-side { width: 180px; flex: none; position: relative; background: #2a2832; border-right: .5px solid rgba(255, 255, 255, .06); padding: 14px 10px 12px; display: flex; flex-direction: column; }
.tw-side .lights { margin: 0 0 18px 4px; }
.tw-pick { display: flex; align-items: center; gap: 8px; padding: 0 6px; }
.tw-pick img { width: 18px; height: 18px; }
.tw-pick small { display: block; font-size: 10px; line-height: 12px; color: #98989f; }
.tw-pick b { display: block; font-size: 13px; line-height: 16px; font-weight: 600; }
.tw-pick svg { margin-left: auto; color: #8e8e93; }
.tw-nav { margin-top: 16px; display: grid; gap: 2px; font-size: 13px; color: #c7c7cc; }
.tw-nav div { height: 28px; line-height: 28px; padding: 0 10px; border-radius: 8px; }
.tw-nav .on { background: rgba(255, 255, 255, .09); color: #fff; font-weight: 500; }
.tw-auto { margin-top: auto; display: grid; gap: 7px; padding: 0 6px; }
.tw-auto small { font-size: 10.5px; color: #8e8e93; font-weight: 500; margin-bottom: 1px; }
.tw-sw { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; color: #d1d1d6; }
.tw-sw i { width: 24px; height: 14px; border-radius: 7px; background: rgba(255, 255, 255, .16); position: relative; flex: none; }
.tw-sw i::after { content: ""; position: absolute; left: 1.5px; top: 1.5px; width: 11px; height: 11px; border-radius: 50%; background: #e5e5ea; }
.tw-sw i.on { background: var(--accent); }
.tw-sw i.on::after { left: 11.5px; background: #fff; }
.tw-main { flex: 1; position: relative; min-width: 0; }
.tw-bar { height: 44px; line-height: 44px; padding: 0 18px; font-size: 13px; font-weight: 600; color: #8e8e93; }
.tw-body { position: absolute; left: 0; right: 0; top: 44px; bottom: 0; }
.tw-state { position: absolute; left: 50%; top: 18px; width: 380px; margin-left: -190px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.tw-h { font-size: 22px; line-height: 26px; font-weight: 700; letter-spacing: -0.02em; }
.tw-sub { margin-top: 6px; font-size: 12.5px; line-height: 17px; color: #98989f; }
.tw-group { margin-top: 18px; width: 100%; background: #2a2a30; border-radius: 12px; text-align: left; }
.tw-row { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 11px 12px; }
.tw-row + .tw-row { box-shadow: inset 0 .5px 0 rgba(255, 255, 255, .08); }
.tw-ic { width: 32px; height: 32px; display: grid; place-items: center; }
.tw-ic img { width: 32px; height: 32px; }
.tw-row b { display: block; font-size: 13px; line-height: 16px; font-weight: 600; white-space: nowrap; }
.tw-row small { display: block; font-size: 11px; line-height: 14px; color: #8e8e93; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tw-size { font-size: 12px; color: #98989f; }
.tw-rev { font-size: 11.5px; font-weight: 500; color: #d1d1d6; background: rgba(255, 255, 255, .1); border-radius: 6px; padding: 3px 9px; }
.tw-btn { margin-top: 14px; width: 100%; height: 34px; line-height: 34px; border-radius: 17px; background: var(--accent); font-size: 14px; font-weight: 600; text-align: center; will-change: transform; }
.tw-note { margin-top: 9px; font-size: 11px; color: #8e8e93; }
.tw-check { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; margin: 10px 0 14px; }
.tw-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 260px; margin-top: 20px; }
.tw-btns .tw-btn, .tw-btns .tw-btn2 { margin-top: 0; }
.tw-btn2 { height: 34px; line-height: 34px; border-radius: 17px; background: rgba(255, 255, 255, .12); font-size: 14px; font-weight: 600; text-align: center; will-change: transform; }
.m-compact .tw-state { top: 14px; }
.m-compact .hide-c { display: none; }
.m-compact .tw-bar { padding-left: 48px; }

/* Naming card and macOS screenshot thumbnail */
.nm-win { position: absolute; background: #1c1c1f; border-radius: 14px; box-shadow: 0 0 0 .5px rgba(255, 255, 255, .16), 0 20px 50px rgba(0, 0, 0, .45); overflow: hidden; }
.nm-wbar { position: relative; height: 36px; line-height: 36px; padding-left: 82px; font-size: 13px; font-weight: 600; color: #98989f; border-bottom: .5px solid rgba(255, 255, 255, .06); }
.mtg { position: absolute; border-radius: 12px; overflow: hidden; }
.mtg-a { background: linear-gradient(180deg, #22304c 0%, #1b2740 100%); box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .1); padding: 12px 14px; }
.mtg-top { display: flex; align-items: center; justify-content: space-between; }
.mtg-top b { font-size: 15px; font-weight: 600; }
.face { display: flex; align-items: center; }
.face i { width: 20px; height: 20px; border-radius: 50%; margin-left: -5px; font-size: 8px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 1.5px #1f2c46; color: #fff; }
.face span { margin-left: 5px; font-size: 11px; color: #a9b4c9; }
.mtg-sub { margin-top: 3px; font-size: 12px; color: #aeb9cf; }
.mtg-bars { display: flex; align-items: flex-end; gap: 4px; height: 26px; margin-top: 10px; }
.mtg-bars i { width: 8px; border-radius: 2px; background: #ff9f0a; }
.mtg-bars span { margin-left: 6px; font-size: 10.5px; color: #8d99b2; align-self: flex-end; }
.mtg-time { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.mtg-time b { font-size: 34px; line-height: 38px; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.mtg-time span { font-size: 12px; font-weight: 600; color: #2a1800; background: #ffb340; border-radius: 10px; padding: 3px 9px; }
.mtg-b { background: #173338; box-shadow: inset 3px 0 0 #30b0c7; padding: 10px 14px; }
.mtg-b b { display: block; font-size: 13px; font-weight: 600; }
.mtg-b small { display: flex; justify-content: space-between; margin-top: 3px; font-size: 11px; color: #9fb9bd; }
.mtg-b small span { color: #7ee2a0; }
.nm-wbar .lights { position: absolute; left: 14px; top: 12px; }
.nm-sel { position: absolute; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); z-index: 700; }
.nm-dim { position: absolute; font-size: 11px; font-weight: 500; color: #fff; white-space: nowrap; background: rgba(0, 0, 0, .55); padding: 2px 6px; border-radius: 5px; z-index: 710; }
.nm-flash { position: absolute; background: #fff; z-index: 720; pointer-events: none; }
.cross { position: absolute; left: 0; top: 0; width: 25px; height: 25px; z-index: 2000; will-change: transform; }
.shot { position: absolute; overflow: hidden; background: #111; }
.shot > .mtg { transform-origin: 0 0; }
.mthumb { position: absolute; z-index: 800; border-radius: 6px; box-shadow: 0 0 0 .5px rgba(255, 255, 255, .35), 0 10px 26px rgba(0, 0, 0, .45); overflow: hidden; will-change: transform; }
.tcard { position: absolute; z-index: 850; border-radius: 18px; padding: 8px;
  background: rgba(38, 38, 44, .74); -webkit-backdrop-filter: blur(24px) saturate(1.5); backdrop-filter: blur(24px) saturate(1.5);
  box-shadow: 0 0 0 .5px rgba(255, 255, 255, .18), 0 18px 44px rgba(0, 0, 0, .42); will-change: transform, opacity; }
.tcard .shot { position: relative; border-radius: 10px; }
.tcard-top { display: flex; align-items: center; gap: 6px; height: 22px; margin: 0 0 7px 2px; }
.tcard-x { width: 22px; height: 22px; flex: none; border-radius: 50%; background: rgba(255, 255, 255, .14); display: grid; place-items: center; }
.tcard-pill { height: 22px; padding: 0 9px 0 8px; border-radius: 11px; background: rgba(255, 255, 255, .14); display: flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.tcard-txt { position: relative; height: 42px; margin-top: 8px; padding: 0 4px; }
.tcard-name, .tcard-wait { position: absolute; left: 4px; right: 4px; top: 2px; font-size: 14px; line-height: 18px; font-weight: 600; white-space: nowrap; }
.tcard-wait { color: #a1a1a6; font-weight: 500; }
.tcard-done { position: absolute; left: 4px; top: 22px; display: flex; align-items: center; gap: 5px; font-size: 11.5px; line-height: 15px; color: #a1a1a6; white-space: nowrap; }

/* Finder list (Downloads) */
.fw { position: absolute; background: #1e1e21; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 .5px rgba(255, 255, 255, .16), 0 24px 60px rgba(0, 0, 0, .45); }
.fw-bar { height: 50px; display: flex; align-items: center; gap: 14px; padding: 0 16px; }
.fw-nav { display: flex; height: 28px; border-radius: 14px; background: rgba(255, 255, 255, .08); align-items: center; padding: 0 9px; gap: 0; }
.fw-nav svg + svg { margin-left: 9px; padding-left: 9px; box-sizing: content-box; border-left: .5px solid rgba(255, 255, 255, .14); }
.fw-title { font-size: 14px; font-weight: 600; }
.fw-head, .fw-row { position: absolute; left: 0; right: 0; display: grid; grid-template-columns: minmax(0, 1fr) 150px 70px; align-items: center; padding: 0 16px 0 12px; }
.fw-head { top: 50px; height: 26px; font-size: 11px; font-weight: 600; color: #8e8e93; box-shadow: inset 0 -.5px 0 rgba(255, 255, 255, .08); }
.fw-head span:last-child, .fw-row .sz { text-align: right; }
.fw-row { height: 30px; font-size: 13px; will-change: transform, opacity; }
.fw-row .nm { display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; overflow: hidden; }
.fw-row .nm img, .fw-row .nm .fi { width: 20px; height: 20px; flex: none; }
.fw-row .dt, .fw-row .sz { color: #98989f; font-size: 12.5px; white-space: nowrap; }
.fw-list { position: absolute; left: 0; right: 0; top: 76px; bottom: 0; background: repeating-linear-gradient(180deg, transparent 0 30px, rgba(255, 255, 255, .028) 30px 60px); }
.fw-hl { position: absolute; left: 6px; right: 6px; height: 30px; border-radius: 7px; background: rgba(10, 133, 255, .32); }
.roll { position: relative; display: inline-block; height: 18px; overflow: hidden; vertical-align: middle; }
.roll span { position: absolute; left: 0; top: 0; white-space: nowrap; line-height: 18px; }
.toast { position: absolute; z-index: 850; height: 38px; display: flex; align-items: center; gap: 10px; padding: 0 8px 0 12px; border-radius: 19px; white-space: nowrap;
  background: rgba(38, 38, 44, .78); -webkit-backdrop-filter: blur(24px) saturate(1.5); backdrop-filter: blur(24px) saturate(1.5);
  box-shadow: 0 0 0 .5px rgba(255, 255, 255, .18), 0 14px 34px rgba(0, 0, 0, .4); font-size: 13px; font-weight: 600; will-change: transform, opacity; }
.toast .u { font-weight: 500; color: #d1d1d6; background: rgba(255, 255, 255, .12); border-radius: 12px; padding: 0 10px; height: 24px; line-height: 24px; }
.toast .ar { color: #8e8e93; font-weight: 500; }

/* Keep or Trash */
.kt-win { position: absolute; background: #1f1e24; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 .5px rgba(255, 255, 255, .18), 0 24px 60px rgba(0, 0, 0, .45); }
.kt-bar { height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; font-size: 13px; }
.kt-bar b { position: absolute; left: 0; right: 0; text-align: center; font-weight: 600; pointer-events: none; }
.kt-back { display: flex; align-items: center; gap: 4px; height: 26px; padding: 0 10px 0 7px; border-radius: 13px; background: rgba(255, 255, 255, .08); color: #d1d1d6; }
.kt-done { color: #4aa8ff; font-weight: 600; padding-right: 4px; }
.kcard { position: absolute; left: 0; top: 0; width: 168px; height: 210px; border-radius: 14px; background: var(--paper); color: #1c1c1e; padding: 8px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 10px 26px rgba(0, 0, 0, .35), 0 2px 5px rgba(0, 0, 0, .2); transform-origin: 50% 50%; will-change: transform, opacity; }
.kcard .pv { height: 116px; border-radius: 9px; background: #e4e1da; overflow: hidden; display: grid; place-items: center; position: relative; }
.kcard .pv img, .kcard .pv canvas { width: 100%; height: 100%; object-fit: cover; display: block; }
.kcard .pv svg { color: #0a85ff; }
.kcard .kn { margin: 10px 4px 0; font-size: 13px; line-height: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kcard .km { margin: 2px 4px 0; font-size: 11.5px; color: #6e6e73; }
.kcard .flag { display: inline-flex; align-items: center; gap: 5px; margin: 9px 4px 0; height: 20px; padding: 0 8px 0 6px; border-radius: 10px; background: rgba(0, 0, 0, .06); font-size: 11px; font-weight: 600; color: #3a3a3c; white-space: nowrap; }
.kcard .flag i { width: 8px; height: 8px; border-radius: 50%; }
.ball { position: absolute; left: 0; top: 0; width: 34px; height: 34px; will-change: transform, opacity; }
.can { position: absolute; will-change: transform; }
.kt-keys { position: absolute; display: flex; gap: 18px; font-size: 12px; color: #a1a1a6; }
.kt-keys span { display: flex; align-items: center; gap: 7px; }
.kt-keys kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 24px; padding: 0 7px; border-radius: 6px; background: #2c2c31; color: #f5f5f7;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .08); font: 600 12px/1 var(--font); will-change: transform; }

/* tiles */
.rf-card { position: absolute; left: 0; top: 0; width: 230px; height: 140px; border-radius: 8px; background: var(--paper); color: #1c1c1e; transform-origin: 50% 100%; will-change: transform, opacity;
  box-shadow: 0 -1px 0 rgba(0, 0, 0, .06) inset, 0 4px 10px rgba(0, 0, 0, .25); }
.rf-card::before { content: ""; position: absolute; left: 14px; right: 14px; top: 34px; height: 1px; background: rgba(220, 80, 80, .28); }
.rf-tab { position: absolute; top: -13px; width: 58px; height: 15px; border-radius: 6px 6px 0 0; background: var(--paper); }
.rf-card.front .rf-tab { background: var(--accent); }
.rf-in { position: absolute; left: 12px; right: 12px; top: 44px; bottom: 12px; display: flex; gap: 12px; align-items: center; }
.rf-in .pv { width: 96px; height: 76px; flex: none; border-radius: 6px; overflow: hidden; background: #e4e1da; }
.rf-in .pv img, .rf-in .pv canvas { width: 100%; height: 100%; object-fit: cover; display: block; }
.rf-in b { display: block; font-size: 13px; line-height: 17px; font-weight: 600; }
.rf-in small { display: block; font-size: 11px; color: #6e6e73; margin-top: 3px; }
.rf-head { position: absolute; left: 14px; top: 9px; font-size: 11px; font-weight: 600; color: #6e6e73; }
.rf-drawer { position: absolute; border-radius: 10px 10px 0 0; background: linear-gradient(180deg, #3a3a40 0%, #2c2c31 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 -8px 20px rgba(0, 0, 0, .3); }
.rf-pull { position: absolute; left: 50%; top: 22px; width: 64px; height: 22px; margin-left: -32px; border-radius: 5px; background: #222226; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .6), 0 1px 0 rgba(255, 255, 255, .08); }
.mw { position: absolute; left: 0; top: 0; width: 196px; height: 128px; border-radius: 10px; background: #1e1e21; overflow: hidden; box-shadow: 0 0 0 .5px rgba(255, 255, 255, .18), 0 10px 24px rgba(0, 0, 0, .4); will-change: transform, opacity; }
.mw-bar { height: 26px; display: flex; align-items: center; gap: 8px; padding: 0 9px; }
.mw-bar .lights { gap: 4px; }
.mw-bar .lights i { width: 7px; height: 7px; }
.mw-bar b { font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.mw-tabs { position: absolute; left: 0; right: 0; top: 26px; height: 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; padding: 0 4px; }
.mw-tabs span { border-radius: 5px; font-size: 8.4px; letter-spacing: -0.02em; line-height: 18px; text-align: center; color: #b0b0b6; background: rgba(255, 255, 255, .05); white-space: nowrap; overflow: hidden; }
.mw-tabs span.on { background: rgba(255, 255, 255, .14); color: #fff; font-weight: 600; }
.mw-grid { position: absolute; left: 12px; right: 12px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 6px; }
.mw-grid i { display: block; height: 22px; background: url(photos/folder.png) center / 26px 26px no-repeat; }
.mw-grid u { display: block; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .16); margin: 3px 5px 0; text-decoration: none; }
.note { position: absolute; left: 0; top: 0; width: 132px; height: 84px; border-radius: 10px; background: #fbf8ee; color: #1c1c1e; padding: 10px 11px; box-shadow: 0 8px 20px rgba(0, 0, 0, .35); will-change: transform, opacity; }
.note b { display: block; font-size: 12px; line-height: 15px; font-weight: 700; white-space: nowrap; }
.note u { display: block; height: 4px; border-radius: 2px; background: #dcd7c9; margin-top: 7px; text-decoration: none; }
.nfold { position: absolute; left: 0; top: 0; height: 40px; display: flex; align-items: center; gap: 9px; padding: 0 14px 0 9px; border-radius: 12px; background: #26262b; box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .08); font-size: 13px; font-weight: 600; white-space: nowrap; will-change: transform; }
.nfold img { width: 24px; height: 24px; }
.dpill { position: absolute; display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px 0 8px; border-radius: 12px; white-space: nowrap; font-size: 11.5px; font-weight: 600;
  background: rgba(30, 30, 36, .78); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 0 0 .5px rgba(255, 255, 255, .18); will-change: transform, opacity; z-index: 50; }
.dpill i { width: 8px; height: 8px; border-radius: 50%; background: #64d2ff; }
.tg-card { position: absolute; width: 210px; height: 128px; border-radius: 8px; background: var(--paper); color: #1c1c1e; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
.tg-tab { position: absolute; top: -14px; height: 16px; padding: 0 9px; border-radius: 6px 6px 0 0; font-size: 9.5px; line-height: 16px; font-weight: 700; color: #fff; white-space: nowrap; }
.tg-in { position: absolute; left: 12px; right: 12px; top: 14px; display: flex; gap: 11px; align-items: center; }
.tg-in .pv { width: 70px; height: 88px; border-radius: 4px; overflow: hidden; flex: none; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .12); }
.tg-in .pv canvas { width: 100%; height: 100%; display: block; }
.tg-in b { display: block; font-size: 12.5px; line-height: 16px; font-weight: 600; }
.tg-chip { display: inline-flex; align-items: center; gap: 5px; margin-top: 7px; font-size: 10.5px; font-weight: 600; color: #3a3a3c; }
.tg-chip i { width: 8px; height: 8px; border-radius: 50%; }
.au-panel { position: absolute; border-radius: 16px; background: #222127; box-shadow: 0 0 0 .5px rgba(255, 255, 255, .14), 0 18px 40px rgba(0, 0, 0, .4); padding: 16px 18px; }
.au-panel small { display: block; font-size: 11.5px; font-weight: 600; color: #8e8e93; margin-bottom: 6px; }
.au-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 0; box-shadow: inset 0 -.5px 0 rgba(255, 255, 255, .07); }
.au-row:last-child { box-shadow: none; }
.au-row b { display: block; font-size: 13.5px; font-weight: 600; }
.au-row span { display: block; font-size: 11px; color: #8e8e93; margin-top: 2px; }
.au-row i { width: 34px; height: 20px; border-radius: 10px; background: rgba(255, 255, 255, .16); position: relative; flex: none; }
.au-row i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #e5e5ea; box-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.au-row i.on { background: var(--accent); }
.au-row i.on::after { left: 16px; background: #fff; }
