:root {
  --bg: #0c1733;
  --side: #102044;
  --pink: #2f6bff;
  --pink-2: #6ea2ff;
  --ink: #12203f;
  --muted: #6d7c99;
  --card: #f4f7fc;
  --line: #d9e4f5;
  --navy: #16325c;
  --violet: #3b6fd8;
  --shadow: 0 20px 50px rgba(16, 32, 68, .08);
  font-family: Nunito, "Trebuchet MS", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: radial-gradient(1200px 600px at 20% 0%, #1a3f86, var(--bg) 55%); color: var(--ink); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }

.shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 228px 1fr;
  padding: 22px 22px 22px 8px;
  gap: 8px;
}
.side { color: #fff; padding: 18px 0 18px 18px; display: flex; flex-direction: column; }
.who { display: flex; align-items: center; margin: 8px 18px 16px 0; }
.avatar {
  width: 104px; height: 104px; border-radius: 50%;
  background: #f4efff; display: grid; place-items: center;
  box-shadow: 0 0 0 8px rgba(255,255,255,.04);
}
.avatar svg { width: 72px; height: 72px; }
.who-name {
  background: none; border: 0; color: #fff; font-weight: 800; font-size: 18px;
  border-bottom: 2px solid rgba(255,255,255,.85); padding: 0 8px 4px; border-radius: 0;
}
.nav { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.nav button {
  display: flex; align-items: center; gap: 14px;
  background: transparent; color: #e7eefc; border: 0;
  text-align: left; padding: 12px 18px; font-weight: 700; font-size: 16px;
  border-radius: 14px 0 0 14px;
}
.nav button.active {
  background: linear-gradient(90deg, #6aa6ff, #1d4ed8);
  color: #fff;
  box-shadow: 0 10px 24px rgba(47, 107, 255, .45);
  font-weight: 800;
}
.nav button i { width: 22px; height: 22px; display: inline-block; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.i-home { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M4 11 12 4l8 7v8a1 1 0 0 1-1 1h-5v-6H10v6H5a1 1 0 0 1-1-1z'/></svg>"); }
.i-star { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='m12 3 2.4 5.7L20.5 10l-4.4 4 1.2 6.3L12 17.8 6.7 20.3 7.9 14 3.5 10l6.1-1.3z'/></svg>"); }
.i-chart { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M4 19h16v2H4zm2-3h2V9H6zm5 0h2V5h-2zm5 0h2v-6h-2z'/></svg>"); }
.i-chat { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M5 4h14a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H9l-4 4V6a2 2 0 0 1 2-2z'/></svg>"); }
.i-blog { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M6 3h9l5 5v13a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm8 1.5V9h4.5M8 13h8v1.6H8zm0 3.4h8V18H8z'/></svg>"); }
.i-spark { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 2l1.6 6.2L20 10l-6.4 1.8L12 18l-1.6-6.2L4 10l6.4-1.8z'/></svg>"); }
.i-gear { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 8a4 4 0 1 1 0 8 4 4 0 0 1 0-8zm8.2 3-1.7-.3.2-1.6 1.4-1.2-1.6-1.6-1.2 1.4-1.6.2L15 6.2 13.5 4h-3L9 6.2l-1.7.3-1.6-.2L4.5 7.7 5.9 9l.2 1.6L4.4 11 4 13.5l2.2 1.5-.2 1.6-1.4 1.2 1.6 1.6 1.2-1.4 1.6-.2L9 19.8 10.5 22h3L15 19.8l1.7-.3 1.6.2 1.2-1.4-1.4-1.2-.2-1.6 1.7-.3L22 13.5 21.6 11l-1.4-.0z'/></svg>"); }
.i-palette { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 3a9 9 0 0 0 0 18h1.2a2.3 2.3 0 0 0 0-4.6h-.7a1.6 1.6 0 0 1 0-3.2H14a4.2 4.2 0 0 0 0-8.4A9 9 0 0 0 12 3zm-4.2 8.2a1.2 1.2 0 1 1 0-2.4 1.2 1.2 0 0 1 0 2.4zM8.5 8.2A1.1 1.1 0 1 1 8.5 6a1.1 1.1 0 0 1 0 2.2zM12 7.2A1.1 1.1 0 1 1 12 5a1.1 1.1 0 0 1 0 2.2zM15.4 8.6a1.1 1.1 0 1 1 0-2.2 1.1 1.1 0 0 1 0 2.2z'/></svg>"); }

.panel {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(8px);
  border-radius: 28px;
  min-height: calc(100vh - 44px);
  min-width: 0;
  padding: 22px 26px 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,.18);
}
.top { display: flex; align-items: center; gap: 16px; position: relative; }
.search {
  flex: 1; display: flex; align-items: center; gap: 10px;
  background: #f3f6fb; border-radius: 999px; padding: 0 18px; height: 52px; color: #8aa0c2;
}
.search input { border: 0; background: transparent; outline: none; width: 100%; color: var(--ink); font-weight: 700; }
.search svg { width: 22px; height: 22px; flex: none; }
.top-actions { display: flex; gap: 8px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; color: var(--pink);
  display: grid; place-items: center;
}
.icon-btn svg { width: 24px; height: 24px; }
.icon-btn:hover { background: #e7f0ff; }
.icon-btn.on { background: #2f6bff; color: #fff; box-shadow: 0 6px 14px rgba(29, 78, 216, .4); }
.bell {
  position: absolute; right: 54px; top: 58px; width: 280px; background: #fff;
  border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--line); z-index: 5; padding: 8px;
}
.bell button { width: 100%; text-align: left; background: #fbf7ff; border: 0; border-radius: 10px; padding: 8px 10px; margin: 4px 0; }
.bell small { color: var(--muted); display: block; }

.grid-top, .grid-mid, .grid-bot { display: grid; gap: 18px; margin-top: 18px; }
.grid-top { grid-template-columns: 1.15fr .9fr 1.15fr; }
.grid-mid { grid-template-columns: .9fr 1.35fr; }
.grid-bot { grid-template-columns: 1.45fr .75fr; }
.card {
  background: rgba(255, 255, 255, .62);
  border: 1px solid #fff;
  box-shadow: 12px 17px 51px rgba(0, 0, 0, .12);
  backdrop-filter: blur(6px);
  border-radius: 17px;
  padding: 16px;
  min-width: 0;
  overflow: visible;
  transition: border-color .5s, box-shadow .5s, transform .5s;
}
.ring-card { display: grid; grid-template-columns: 132px 1fr; gap: 8px; align-items: center; min-height: 168px; }
.ring-card h3 { margin: 0 0 8px; letter-spacing: .08em; font-size: 14px; color: #b07ad2; display: flex; align-items: center; gap: 6px; }
.ring { width: 118px; height: 118px; }
.ring text { font-family: Nunito, sans-serif; font-weight: 800; fill: var(--ink); }
.month { margin-top: 14px; }
.track { height: 6px; background: #d7e4f6; border-radius: 99px; overflow: hidden; }
.track span { display: block; height: 100%; background: linear-gradient(90deg, #8eb6ff, #2f6bff); border-radius: 99px; }
.month em { display: block; margin-top: 6px; font-style: normal; color: #c084c4; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.scope .track span { background: var(--navy); }

.card h2 { margin: 0 0 14px; font-size: 15px; letter-spacing: .08em; color: #2a2148; }
.boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.box {
  border: 1.5px dashed #b9cef0; border-radius: 16px; min-height: 84px;
  display: grid; place-items: center; color: var(--pink); font-size: 28px; font-weight: 800;
}
.captions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.captions strong { display: block; font-size: 12px; letter-spacing: .04em; }
.captions p { margin: 4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.35; }

.subs { display: grid; grid-template-columns: 1.4fr .8fr; gap: 12px; }
.bars { height: 150px; display: flex; align-items: flex-end; gap: 8px; padding: 0 6px; }
.bars i { flex: 1; border-radius: 8px 8px 4px 4px; display: block; min-height: 8px; }
.bars i:nth-child(3n+1) { background: #2f6bff; }
.bars i:nth-child(3n+2) { background: #2c2158; }
.bars i:nth-child(3n) { background: #9a4dff; }
.legend { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.legend p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.35; display: flex; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 4px; flex: none; }

.earn-head, .cal-head { display: flex; justify-content: space-between; align-items: center; }
.week { display: flex; justify-content: space-between; color: #b9a4d4; font-size: 11px; font-weight: 800; margin-top: 4px; }
.earn svg { width: 100%; height: 180px; display: block; }
.pin { position: absolute; transform: translate(-50%, -120%); background: var(--pink); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 7px; border-radius: 8px; }
.chart-wrap { position: relative; }

.cal { width: 100%; border-collapse: separate; border-spacing: 4px; text-align: center; }
.cal th { color: #c9b6e4; font-size: 12px; font-weight: 800; }
.cal td { height: 28px; border-radius: 6px; font-size: 12px; font-weight: 700; color: #6d6288; }
.cal td.on { background: #d6e6ff; color: var(--pink); }
.cal td.today { background: var(--pink); color: #fff; }
.cal-nav { border: 0; background: #fff; border-radius: 8px; width: 28px; height: 28px; color: var(--pink); }

.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 16px; }
.thumbs.dense { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.thumb {
  position: relative; display: block; width: 100%; padding: 7px; text-align: center; cursor: pointer;
  background: rgba(217, 217, 217, .58); border: 1px solid #fff; border-radius: 17px;
  box-shadow: 12px 17px 51px rgba(0, 0, 0, .22); backdrop-filter: blur(6px);
  transition: transform .5s, border-color .5s;
  user-select: none;
}
.thumb button { display: block; width: 100%; border: 0; padding: 0; background: transparent; cursor: pointer; border-radius: 12px; overflow: hidden; }
.thumb img { width: 100%; aspect-ratio: 190 / 254; object-fit: cover; display: block; border-radius: 12px; background: #1b1038; }
.thumb .cap {
  position: absolute; left: 7px; right: 7px; bottom: 7px; padding: 22px 8px 8px;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(transparent, rgba(8, 16, 36, .55));
  backdrop-filter: blur(6px);
  color: #fff; pointer-events: none;
}
.thumb .cap strong { display: block; font-size: 12px; line-height: 1.25; color: #fff; font-weight: 800; }
.thumb .cap em { display: block; margin-top: 2px; font-style: normal; font-size: 10px; font-weight: 700; color: rgba(255,255,255,.86); }
.thumbs.dense .cap strong { font-size: 11px; }
.tick {
  position: absolute; top: 8px; left: 8px; z-index: 2; width: 22px; height: 22px;
  border-radius: 7px; background: rgba(255,255,255,.92); display: grid; place-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.tick input { width: 15px; height: 15px; margin: 0; accent-color: var(--pink); }
.ig-tick {
  position: absolute; top: 10px; left: 10px; z-index: 4; width: 28px; height: 28px; border-radius: 50%;
  background: #16a34a; color: #fff; display: grid; place-items: center;
  font-size: 16px; font-weight: 800; line-height: 1; box-shadow: 0 4px 12px rgba(0, 0, 0, .22);
}
.ig-tick.with-pick { left: 42px; }
.ig-when { display: grid; gap: 8px; }
.ig-when label { display: flex; align-items: center; gap: 8px; color: #51627f; font-size: 13px; font-weight: 700; }
.ig-when input[type="number"] { width: 76px; }
.thumb.on { border-color: #111; box-shadow: 0 0 0 2px #5b42f3, 12px 17px 51px rgba(0, 0, 0, .22); }
.mini-dl {
  position: absolute; top: 10px; right: 10px; z-index: 3; width: 32px; height: 32px; border-radius: 50%;
  background: #fff; color: #5b42f3; display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}
.mini-dl:hover { color: #fff; background: linear-gradient(144deg, #af40ff, #5b42f3 50%, #00ddeb); }
.pair { display: block; min-width: 0; }
.pair > .thumb { width: 100%; }
.pair-stage { position: relative; width: min(1080px, 100%); color: #12203f; }
.pair-head { margin: 0 48px 14px 0; color: #fff; }
.pair-head p { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #d5e4ff; }
.pair-head h3 { margin: 4px 0 0; font-size: 22px; line-height: 1.25; }
.pair-deck { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; perspective: 1400px; }
.pair-deck.has-end { grid-template-columns: 1fr auto 1fr auto 1fr; }
.pair-card {
  position: relative; padding: 10px; background: rgba(217, 217, 217, .72); border: 1px solid #fff; border-radius: 18px;
  box-shadow: 12px 17px 51px rgba(0, 0, 0, .28); backdrop-filter: blur(6px);
}
.pair-card button { display: block; width: 100%; border: 0; padding: 0; background: transparent; cursor: pointer; border-radius: 12px; overflow: hidden; }
.pair-card img { width: 100%; max-height: 68vh; object-fit: contain; display: block; border-radius: 12px; background: #111; }
.pair-tag {
  position: absolute; left: 18px; top: 18px; z-index: 2; border-radius: 999px; padding: 5px 10px;
  background: #fff; color: #16325c; font-size: 12px; font-weight: 800; box-shadow: 0 4px 12px rgba(0,0,0,.16);
}
.pair-card .mini-dl { top: 16px; right: 16px; }
.pair-join {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: #5b42f3; font-size: 20px; font-weight: 800;
  box-shadow: 12px 17px 40px rgba(0,0,0,.22);
}
.pair-card.is-explain, .pair-card.is-end { transform-origin: left center; animation: cardOpen .62s cubic-bezier(.16, .84, .22, 1); }
.pair-card.is-end { animation-delay: .12s; }
.ig-end { display: flex; align-items: center; gap: 8px; margin: 4px 0 8px; font-weight: 800; color: #16325c; }
.ig-end input { width: 18px; height: 18px; }
@keyframes cardOpen {
  0% { transform: translateX(-36%) rotateY(-62deg) scale(.9); opacity: 0; }
  55% { opacity: 1; }
  100% { transform: none; opacity: 1; }
}
@media (max-width: 800px) {
  .pair-deck { grid-template-columns: 1fr; }
  .pair-join { transform: rotate(90deg); justify-self: center; }
}
.stars { position: relative; display: inline-block; margin-left: 6px; color: #f5b942; letter-spacing: 1px; font-size: 14px; cursor: default; }
.star-tip {
  display: none; position: absolute; left: 0; bottom: calc(100% + 6px); z-index: 4;
  background: #1b1038; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0;
  padding: 5px 8px; border-radius: 8px; white-space: nowrap;
}
.stars:hover .star-tip, .stars:focus .star-tip { display: block; }
.captcha-box { display: grid; gap: 8px; margin: 8px 0 4px; }
.captcha-box img { width: 260px; height: 96px; border-radius: 12px; background: #f4efe8; }
.detail { white-space: pre-line; }

.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.page-head h1 { margin: 0; font-size: 28px; }
.page-head p { margin: 4px 0 0; color: var(--muted); }
.form-grid, .split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; margin-top: 16px; }
label.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 800; color: #6d5c8e; margin-bottom: 12px; min-width: 0; }
input, select, textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid #d5e2f4;
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
input:focus, select:focus, textarea:focus {
  border-color: #2f6bff;
  box-shadow: 0 0 0 4px rgba(47, 107, 255, .14);
}
input[type="checkbox"] { width: 18px; height: 18px; padding: 0; accent-color: var(--pink); }
input[type="color"] { width: 56px; height: 44px; padding: 4px; }
.search input, .search input:focus {
  border: 0; box-shadow: none; background: transparent; padding: 0; border-radius: 0; width: 100%;
}
textarea { min-height: 80px; resize: vertical; }
.metric-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.inline-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; width: 100%; }
.inline-form > input, .inline-form > select { flex: 1 1 160px; width: auto; min-width: 0; }
.inline-form > .btn { width: auto; flex: 0 0 auto; }
table input, table select { min-width: 0; width: 100%; }
.color-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.swatch { height: 120px; border-radius: 18px; padding: 14px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; }
.frame-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 16px; }
.frame-pair { display: flex; gap: 16px; align-items: flex-end; flex-wrap: wrap; }
.frame-pair figure {
  margin: 0; width: 190px; padding: 8px; text-align: center;
  background: rgba(217, 217, 217, .58); border: 1px solid #fff; border-radius: 17px;
  box-shadow: 12px 17px 51px rgba(0, 0, 0, .22); backdrop-filter: blur(6px);
  transition: transform .5s, border-color .5s;
}
.frame-pair figure:hover { border-color: #111; transform: scale(1.05); }
.frame-pair figure:active { transform: scale(.95) rotate(1.7deg); }
.frame-pair img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 12px; display: block; background: #111; }
.frame-pair figcaption { margin-top: 8px; font-size: 12px; font-weight: 800; color: #12203f; }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat strong { font-size: 32px; line-height: 1; }
.stat span { color: #8d7aa3; font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.pick-row { display: flex; flex-direction: column; gap: 10px; }
.pick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pick-grid.two { grid-template-columns: 1fr 1fr; max-width: 420px; }
.pick {
  border: 1px solid #d5e2f4; background: #fff; border-radius: 16px; padding: 10px;
  text-align: left; color: var(--ink); font-weight: 800; width: auto;
}
.pick small { display: block; margin-top: 4px; color: #8d7aa3; font-size: 12px; font-weight: 700; }
.pick.on {
  box-shadow: inset 0 0 0 2px #1d4ed8, 0 8px 18px rgba(29, 78, 216, .22);
  background: #e5f0ff;
  color: #12306e;
}
.pick:hover { border-color: #93b4f5; background: #f7faff; }
.pick.recent { align-self: flex-start; }
.mini { display: block; height: 72px; border-radius: 10px; margin-bottom: 8px; position: relative; overflow: hidden; background: #1b1030; }
.mini.post { background: linear-gradient(#102044 0 38%, #2f6bff 38%); }
.mini.story { background: linear-gradient(#102044 0 46%, #1d4ed8 46%); }
.mini.ti { background: linear-gradient(#102044 0 42%, #2f6bff 42%); }
.mini.ti:after, .mini.txt:after { content: ""; position: absolute; left: 8px; right: 8px; height: 4px; border-radius: 4px; background: #fff; }
.mini.ti:after { bottom: 18px; box-shadow: 0 8px 0 #fff; }
.mini.gal { background: #e7f0ff; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 6px; height: 72px; }
.mini.gal:before, .mini.gal:after { content: ""; background: #2f6bff; border-radius: 4px; }
.mini.vid:before { content: ""; position: absolute; left: 50%; top: 50%; width: 0; height: 0; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; transform: translate(-30%, -50%); }
.mini.txt { background: #f4f8ff; border: 1px solid #d5e2f4; }
.mini.txt:after { top: 16px; background: #2f6bff; box-shadow: 0 10px 0 #b9d0f5, 0 20px 0 #b9d0f5; }
.metric-row .off, .pick-row .off, [data-for].off { display: none; }
.studio-bar {
  position: sticky; top: 0; z-index: 4; display: flex; justify-content: flex-end; gap: 8px;
  margin: 0 0 12px; padding: 10px 0; background: rgba(255,255,255,.96);
}
#view > .studio-bar { animation: none; }
.studio-tabs { margin-bottom: 12px; }
.studio-tabs button.on {
  background: linear-gradient(90deg, #4d8dff, #1d4ed8);
  color: #fff;
  box-shadow: 0 6px 16px rgba(29, 78, 216, .35);
}
.btn:disabled { opacity: .45; cursor: default; transform: none; }
.inbox { display: grid; gap: 10px; }
.run-sheet { position: relative; }
.run-x {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: #eef3fb; color: #16325c; font-size: 22px; line-height: 1; font-weight: 700;
}
.run-x:hover { background: #d9e6fb; }
.run-head { padding-right: 42px; }
.shots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.shot {
  width: 72px; height: 90px; padding: 0; border-radius: 10px; overflow: hidden;
  border: 2px solid transparent; background: #102044;
}
.shot { position: relative; }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot.is-video em {
  position: absolute; left: 6px; bottom: 6px; margin: 0; padding: 2px 6px;
  border-radius: 999px; background: rgba(16, 32, 68, .82); color: #fff;
  font-size: 10px; font-style: normal; font-weight: 800; letter-spacing: .02em;
}
.shot.on { border-color: #2f6bff; box-shadow: 0 0 0 3px rgba(47, 107, 255, .28); }
.shot.upload {
  width: 92px; padding: 8px; border: 2px dashed #c5d2ea; background: #f4f7fd; color: #2f6bff;
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  font-size: 12px; font-weight: 800; line-height: 1.25; cursor: pointer;
}
.shot.upload input { display: none; }
.shot.upload:hover { border-color: #2f6bff; background: #eaf1ff; }
.shot-sheet {
  position: relative; width: min(520px, 92vw); background: #fff; border-radius: 24px;
  padding: 48px 18px 18px; display: grid; gap: 12px; justify-items: center;
  box-shadow: 0 30px 80px rgba(8, 18, 48, .28);
}
.shot-sheet img { max-width: 100%; max-height: 70vh; border-radius: 16px; background: #111; }
.mini.vis { background: linear-gradient(#102044 0 62%, #e2186a 62%); }
.run-sheet {
  width: min(640px, 92vw);
  display: grid;
  gap: 16px;
  padding: 22px 22px 18px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(8, 18, 48, .28);
}
.run-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.run-kicker { margin: 0 0 4px; color: #6d7c99; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.run-head h3 { margin: 0; font-size: 22px; }
.run-status {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 800; color: #fff;
  background: #2f6bff; white-space: nowrap;
}
.run-status::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff;
}
.run-status[data-state="queued"]::before,
.run-status[data-state="running"]::before { animation: pulse 1.1s ease infinite; }
.run-status[data-state="done"] { background: #128a4e; }
.run-status[data-state="error"] { background: #c0264e; }
.run-term { border-radius: 16px; overflow: hidden; background: #10182c; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.run-term-bar {
  display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px;
  background: #18233c; color: #9aafd0; font-size: 12px; font-weight: 800;
}
.run-term-bar i { width: 8px; height: 8px; border-radius: 50%; background: #314866; display: block; }
.run-term-bar i:first-child { background: #ff5f57; }
.run-term-bar i:nth-child(2) { background: #febc2e; }
.run-term-bar i:nth-child(3) { background: #28c840; }
.run-term-bar em { margin-left: 8px; font-style: normal; letter-spacing: .04em; }
.run-sheet .log {
  margin: 0; min-height: 180px; max-height: 42vh; overflow: auto;
  border-radius: 0; background: transparent; color: #d7e4f8;
  padding: 14px 16px 16px; line-height: 1.55;
}
.run-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.run-foot .note { margin: 0; }
.run-foot .btn { flex: none; }
.news-row { display: grid; grid-template-columns: 1fr; gap: 12px; align-items: start; }
.news-copy { position: relative; min-width: 0; }
.news-tools { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-bottom: 8px; }
.blog-check { display: grid; place-items: center; width: 36px; height: 36px; margin: 0; border-radius: 12px; background: #fff; border: 1px solid #d5e4f7; }
.blog-check input { width: 18px; height: 18px; margin: 0; accent-color: #1a73e8; cursor: pointer; }
.news-tools select { width: 180px; flex: none; height: 36px; border: 1px solid #d5e4f7; border-radius: 12px; background: #fff; color: #16325c; font-weight: 700; padding: 0 28px 0 8px; }
.tr-link {
  position: static; width: 36px; height: 36px; display: grid; place-items: center;
  padding: 0; cursor: pointer; border-radius: 12px; background: #fff; border: 1px solid #d5e4f7; color: #1a73e8;
  box-shadow: 0 6px 16px rgba(16, 32, 68, .08);
}
.tr-link svg { width: 22px; height: 22px; fill: currentColor; }
.tr-link:hover { background: #eef5ff; }
.tr-link.on { background: #1a73e8; border-color: #1a73e8; color: #fff; }
.tr-link.on:hover { background: #1666cf; }
.tr-link.busy { opacity: .6; cursor: progress; }
.tr-link.busy svg { animation: trspin .8s linear infinite; }
@keyframes trspin { to { transform: rotate(360deg); } }
.tr-flag {
  display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px;
  background: #e8f1ff; color: #1a56c4; font-size: 11px; font-weight: 800; vertical-align: 2px;
}
.news-row p { margin: 4px 0 0; }
.news-link { display: block; margin-top: 6px; color: #1d4ed8; font-size: 12px; line-height: 1.35; word-break: break-all; }
.news-video-wrap, .video-pick { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.news-video { display: block; width: 100%; max-height: 280px; border-radius: 12px; background: #0b1220; }
.news-video-wrap .news-video { flex: 1; min-width: 0; width: auto; }
.video-shot { width: 72px; height: 90px; padding: 0; overflow: hidden; }
.video-shot video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; display: block; }
.video-dl { flex: none; color: #1d4ed8; font-size: 12px; font-weight: 800; }
.hash-tags { margin: 8px 0 0; color: #1d4ed8; font-weight: 800; line-height: 1.45; }
.news-row .out { display: flex; flex-wrap: wrap; gap: 8px; }
.accord { display: grid; gap: 8px; margin-top: 4px; }
.accord-kicker { margin: 4px 0 0; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #6d7c99; }
.accord section {
  background: rgba(255, 255, 255, .62); border: 1px solid #fff; border-radius: 14px; padding: 10px;
  box-shadow: 8px 10px 28px rgba(0, 0, 0, .08);
}
.accord section strong { display: block; margin-bottom: 6px; font-size: 13px; }
.chip-mini {
  border: 1px solid #d5e2f4; background: #fff; color: #16325c; border-radius: 999px;
  padding: 6px 10px; font-size: 12px; font-weight: 800;
}
.chip-mini.on { background: rgb(5, 6, 45); color: #fff; border-color: transparent; }
.tpl-preview { margin: 10px 0 0; width: 210px; }
.tpl-preview img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; border-radius: 14px; background: #102044; border: 1px solid #d5e4f7; }
.lib-group { margin-top: 22px; }
.lib-group h2 { margin: 0 0 8px; font-size: 18px; }
.design-card .shot em {
  position: absolute; left: 8px; top: 8px; font-style: normal; font-size: 11px; font-weight: 800;
  background: rgba(255,255,255,.82); color: #12203f; border-radius: 999px; padding: 3px 8px;
}
.news-row .pick { min-width: 108px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.team-box { display: grid; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #d9e4f5; }
.chips button, .days button {
  border: 1px solid #d5e2f4; background: #fff; color: #4d6284; border-radius: 999px; padding: 8px 12px; font-weight: 800;
}
.chips button.on, .days button.on {
  background: linear-gradient(90deg, #4d8dff, #1d4ed8);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(29, 78, 216, .35);
}
.chips button:hover, .days button:hover { background: #f3f7ff; }
.chips button.chip-all {
  padding: 4px 9px; font-size: 11px; font-weight: 800; letter-spacing: .01em;
  background: #eef4ff; color: #1d4ed8; border-style: dashed;
}
.chips button.chip-all:hover { background: #e3edff; color: #1d4ed8; transform: none; }
.chips button.on:hover, .days button.on:hover, .studio-tabs button.on:hover {
  background: linear-gradient(90deg, #3d7df5, #1a44c4);
  color: #fff;
}
.source-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.source-group {
  background: rgba(255, 255, 255, .62); border: 1px solid #e6eef8; border-radius: 14px; padding: 10px 12px;
}
.source-group h3 {
  margin: 0 0 8px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #6d7c99;
}
.source-group .chips button { padding: 6px 10px; font-size: 13px; }
.source-group.quiet { opacity: .42; }
.source-group.quiet:hover { opacity: .9; }
.days { display: flex; gap: 6px; flex-wrap: wrap; color: inherit; font-size: 14px; font-weight: 700; }
.clock { display: flex; align-items: end; gap: 10px; }
.clock label { display: flex; flex-direction: column; gap: 4px; flex: 1; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #6d7c99; }
.clock select { width: 100%; font-size: 22px; font-weight: 800; letter-spacing: .04em; }
.clock b { font-size: 28px; line-height: 1; padding-bottom: 8px; color: #16325c; }
.run-count { display: inline-flex; margin-left: 8px; padding: 3px 8px; border-radius: 999px; background: #e8f0ff; color: #1d4ed8; font-size: 12px; font-weight: 800; vertical-align: middle; }
.btn {
  position: relative; z-index: 0; isolation: isolate;
  align-items: center; justify-content: center; display: inline-flex;
  background: transparent; color: #fff; border: 0; border-radius: 8px;
  box-shadow: rgba(151, 65, 252, .2) 0 15px 30px -5px;
  font-size: 14px; font-weight: 800; line-height: 1; padding: 13px 18px;
  min-width: 0; max-width: 100%; white-space: nowrap;
  user-select: none; touch-action: manipulation; cursor: pointer;
}
.btn::before, .btn::after {
  content: ""; position: absolute; border-radius: 8px; z-index: -1;
}
.btn::before {
  inset: 0;
  background-image: linear-gradient(144deg, #af40ff, #5b42f3 50%, #00ddeb);
}
.btn::after {
  inset: 3px; border-radius: 6px; background: rgb(5, 6, 45); transition: opacity .3s;
}
.btn:hover::after, .btn:focus-visible::after { opacity: 0; }
.btn:active:not(:disabled) { transform: scale(.9); }
.btn.ghost { color: #16325c; box-shadow: rgba(47, 107, 255, .18) 0 12px 24px -6px; }
.btn.ghost::before { background-image: linear-gradient(144deg, #8eb6ff, #2f6bff 55%, #5eead4); }
.btn.ghost::after { background: #f4f8ff; }
.btn.ghost:hover:not(:disabled), .btn.ghost:focus-visible { color: #fff; }
.btn.danger { color: #fff; box-shadow: rgba(225, 29, 72, .2) 0 12px 24px -6px; }
.btn.danger::before { background-image: linear-gradient(144deg, #fb7185, #e11d48 50%, #fb923c); }
.btn.danger::after { background: #3a1020; }
.wp-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wp-head h2 { margin: 0; }
.btn.plus { width: 40px; height: 40px; padding: 0; font-size: 24px; }
.wp-authors { display: grid; gap: 8px; margin: 12px 0; }
.wp-author { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid #d5e4f7; border-radius: 14px; background: #fff; }
.wp-author span { display: block; color: #6d7c99; font-size: 12px; }
#wpForm { margin-top: 12px; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.row-actions input { width: 150px; }
.list { display: flex; flex-direction: column; gap: 12px; }
.job {
  display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center;
}
.job h3 { margin: 0 0 4px; }
.job p { margin: 0; color: var(--muted); font-size: 13px; }
.badge { display: inline-block; background: #e7f0ff; color: var(--pink); border-radius: 99px; padding: 2px 8px; font-size: 12px; font-weight: 800; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #e1eaf6; font-size: 14px; }
.providers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.usage { height: 8px; background: #e3ecf8; border-radius: 99px; overflow: hidden; }
.usage span { display: block; height: 100%; background: linear-gradient(90deg, #8eb6ff, #1d4ed8); }
.check { flex-direction: row; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.note { color: var(--muted); font-size: 13px; line-height: 1.45; }
.log {
  background: #1b1038; color: #f6e4ff; border-radius: 16px; padding: 12px; min-height: 160px;
  white-space: pre-wrap; font-family: ui-monospace, monospace; font-size: 12px;
}

.login {
  min-height: 100vh; display: grid; place-items: center; padding: 24px;
}
.login-card {
  width: min(440px, 100%); padding: 32px 28px; text-align: center;
  background: rgba(255, 255, 255, .72); border: 1px solid #fff; border-radius: 17px;
  box-shadow: 12px 17px 51px rgba(0, 0, 0, .22); backdrop-filter: blur(6px);
}
.login-card h1 { margin: 8px 0 4px; }
.brand-mark { width: 54px; height: 54px; margin: 0 auto; border-radius: 50%; background: #e7f0ff; display: grid; place-items: center; color: var(--pink); font-weight: 800; }
.modal { position: fixed; inset: 0; background: rgba(8, 16, 36, .55); backdrop-filter: blur(8px); display: grid; place-items: center; z-index: 20; padding: 20px; }
.sheet {
  width: min(1100px, 100%); max-height: min(92vh, 900px); overflow: auto; background: #fff; border-radius: 24px; padding: 16px;
  display: grid; grid-template-columns: auto 280px; gap: 16px;
}
.preview-stage { background: #f7f2fb; border-radius: 18px; display: grid; place-items: center; position: relative; min-height: 360px; padding: 16px; }
.preview-stage img, .preview-stage video { max-height: 78vh; max-width: 100%; border-radius: 12px; background: #111; }
.size-badge { position: absolute; left: 16px; bottom: 16px; background: #1b1038; color: #fff; border-radius: 99px; padding: 4px 10px; font-size: 12px; font-weight: 800; }
.dl {
  position: absolute; right: 16px; top: 16px; width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: #fff; color: var(--pink); display: grid; place-items: center; box-shadow: var(--shadow);
}
.side-copy h3 { margin: 8px 0; }
.side-copy p { color: #5c516e; line-height: 1.45; }
#toasts {
  position: fixed; top: 18px; right: 18px; z-index: 40; display: grid; gap: 8px;
  width: min(340px, calc(100vw - 24px)); pointer-events: none;
}
.toast {
  background: #111; color: #fff; padding: 12px 14px; border-radius: 14px; font-weight: 700;
  font-size: 14px; line-height: 1.35; box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
  animation: toastIn .28s ease;
}
.toast.out { animation: toastOut .2s ease forwards; }
.list-count { display: flex; justify-content: flex-end; margin: 0 0 10px; font-weight: 800; color: #12203f; }
.v-opts { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 10px; }
.v-opts label { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: #12203f; }
.v-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: start; }
.v-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.v-preview {
  position: relative; display: block; width: 100%; max-width: 230px; margin-inline: auto; aspect-ratio: 9 / 16;
  border-radius: 18px; overflow: hidden; background: #111; cursor: pointer;
}
.v-preview video, .v-preview img, .v-preview iframe { width: 100%; height: 100%; border: 0; object-fit: contain; display: block; background: #111; }
.v-preview iframe { position: absolute; inset: 0; }
.v-pop {
  width: min(420px, 100%); background: #fff; color: #12203f; border-radius: 22px; padding: 16px;
  position: relative; display: grid; gap: 8px;
}
.v-pop video, .v-pop img, .v-pop iframe { width: 100%; aspect-ratio: 9 / 16; max-height: 82vh; object-fit: contain; background: #111; border: 0; border-radius: 16px; }
.v-pop strong { font-size: 16px; }
.v-pop p { margin: 0; color: #5c6b86; font-weight: 700; }
@media (max-width: 1200px) { .v-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .v-grid { grid-template-columns: 1fr; } }
.ig-wait {
  position: absolute; left: 10px; top: 46%; transform: translateY(-50%); z-index: 4;
  max-width: calc(100% - 20px); background: #111; color: #fff; border-radius: 8px;
  padding: 6px 8px; font-size: 11px; font-weight: 800; line-height: 1.2; text-align: left;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .28);
}
.ig-wait.static { position: static; transform: none; display: inline-block; margin-right: 8px; vertical-align: middle; }
.empty { color: var(--muted); padding: 12px 0; }
.blog-list { display: grid; gap: 12px; margin-top: 16px; }
.blog-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.blog-row h3 { margin: 0; font-size: 16px; }
.blog-row h3 a { color: inherit; text-decoration: none; }
.blog-row h3 a:hover { color: #1a56c4; }
.blog-row .btn { flex: none; text-decoration: none; }
.blog-miss { color: #9a3412; }

.library-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px;
}
.library-bar .note { margin: 0; margin-right: auto; font-weight: 800; }
.library-grid { margin-top: 16px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.ig-sheet {
  width: min(560px, 100%); background: #fff; color: #12203f; border-radius: 20px;
  padding: 18px 16px 16px; position: relative; max-height: min(92vh, 860px); overflow: auto;
}
.ig-sheet h3 { margin: 0 36px 8px 0; }
.ig-sheet .shots { margin: 8px 0 14px; }
.ig-account { display: grid; gap: 8px; margin: 12px 0; padding: 12px; border: 1px solid #d5e4f7; border-radius: 14px; background: #fff; }
.ig-account span { display: block; color: #6d7c99; font-size: 12px; }
.ig-log { margin-top: 12px; display: grid; gap: 6px; }
.ig-log p { margin: 0; font-size: 13px; }

@media (max-width: 1100px) {
  .grid-top, .grid-mid, .grid-bot, .form-grid, .split, .providers, .frame-grid { grid-template-columns: 1fr; }
  .thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .thumbs.dense { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .library-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sheet { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; padding: 0; }
  .side {
    position: fixed; inset: 0 auto 0 0; width: min(280px, 86vw); background: #102044; z-index: 12;
    transform: translateX(-105%); transition: .2s transform; padding: 18px;
  }
  .side.open { transform: none; background: #102044; }
  .panel { border-radius: 0; min-height: 100vh; }
  .menu-btn { display: grid; }
}
@media (min-width: 861px) { .menu-btn { display: none; } }
@media (max-width: 800px) { .metric-row, .color-row, .stat-row, .pick-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) {
  .panel { padding: 12px 12px calc(20px + env(safe-area-inset-bottom)); }
  .top { gap: 8px; }
  .search { height: 44px; padding: 0 14px; }
  .icon-btn { width: 40px; height: 40px; }
  .page-head { margin-top: 12px; align-items: flex-start; }
  .page-head h1 { font-size: 24px; }
  .page-head p { font-size: 13px; line-height: 1.4; }
  .thumbs, .thumbs.dense, .library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .library-bar {
    position: sticky; top: 0; z-index: 4;
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    margin-top: 12px; padding: 10px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid #fff; border-radius: 16px;
    box-shadow: 0 8px 24px rgba(16, 32, 68, .08);
  }
  .library-bar .note { grid-column: 1 / -1; margin: 0; }
  .library-bar .btn { width: 100%; min-height: 44px; white-space: normal; line-height: 1.2; padding: 12px 10px; }
  .blog-row { align-items: flex-start; flex-direction: column; }
  .source-groups { grid-template-columns: 1fr; }
  .library-bar .ig-share { grid-column: 1 / -1; }
  .library-grid > .empty { grid-column: 1 / -1; }
  .library-grid .thumb {
    padding: 6px 6px 8px;
    box-shadow: 0 8px 18px rgba(16, 32, 68, .12);
  }
  .library-grid .thumb img { aspect-ratio: 4 / 5; }
  .library-grid .cap {
    position: static; padding: 8px 2px 0; background: none; backdrop-filter: none; color: var(--ink);
  }
  .library-grid .cap strong {
    color: var(--ink); font-size: 13px; line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .library-grid .cap em {
    color: var(--muted); font-size: 11px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .library-grid .tick, .library-grid .mini-dl { width: 36px; height: 36px; }
  .library-grid .tick { top: 10px; left: 10px; }
  .library-grid .mini-dl { top: 10px; right: 10px; }
  .library-grid .thumb:hover, .library-grid .thumb:active { transform: none; }
  .modal { padding: 8px; align-items: start; overflow: auto; }
  .modal:has(.pair-stage) { overflow: auto; }
  .pair-stage { width: 100%; padding: 18px 14px calc(20px + env(safe-area-inset-bottom)); }
  .pair-head { margin: 0 44px 12px 0; }
  .pair-head h3 { font-size: 18px; }
  .pair-card img { max-height: 52vh; }
  .pair-join { width: 36px; height: 36px; }
  .sheet {
    width: 100%; max-height: 100%; border-radius: 18px; padding: 12px;
  }
  .preview-stage { min-height: 0; padding: 8px; }
  .preview-stage img, .preview-stage video { max-height: 58vh; }
  .ig-sheet { width: 100%; border-radius: 16px; }
}
@media (hover: none) {
  .thumb:hover, .thumb:active { transform: none; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes pop {
  from { opacity: 0; transform: translateY(16px) scale(.98); }
  to { opacity: 1; transform: none; }
}
@keyframes grow {
  from { transform: scaleY(.15); }
  to { transform: scaleY(1); }
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 50% { opacity: .35; } }

#view > * { animation: rise .42s ease both; }
#view > .thumbs { animation: none; }
#view > *:nth-child(2) { animation-delay: .05s; }
#view > *:nth-child(3) { animation-delay: .1s; }
#view > *:nth-child(4) { animation-delay: .14s; }
.card:hover { border-color: rgba(18, 32, 63, .55); }
.nav button { transition: background .25s ease, padding .2s ease; }
.nav button:hover:not(.active) { background: rgba(255,255,255,.07); }
.btn, .icon-btn, .chips button, .days button { transition: transform .3s ease, color .3s ease, filter .16s ease; }
.chips button:hover, .days button:hover { transform: translateY(-1px); }
.thumb:hover { border-color: #111; transform: scale(1.05); }
.thumb:active { transform: scale(.95) rotate(1.7deg); }
.bars i { transform-origin: bottom; animation: grow .7s ease both; }
.login-card, .sheet, .run-sheet { animation: pop .4s cubic-bezier(.2, .8, .2, 1); }
.modal { animation: fade .2s ease; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-6px); } }
.track span { transition: width .6s ease; }
