/* Telegram Dark — store. Night-navy surfaces, Telegram blue, doodle wallpaper. */
:root {
  /* Workstation look: graphite panels, bevelled title bars, LCD read-outs, orange for "live", Telegram blue for the brand. */
  --bg: #23282D;
  --bg-2: #1C2125;
  --panel: #2D3338;
  --raise: #363D44;
  --line: #15191C;
  --line-2: #464E56;
  --text: #E7EBEF;
  --muted: #9AA5AF;
  --faint: #6B7680;
  --blue: #2AABEE;
  --blue-2: #3E8FE0;
  --blue-deep: #2B5278;
  --orange: #F5A233;
  --orange-2: #FFB95C;
  --lcd-bg: #0D1411;
  --lcd: #9DF5B8;
  --out: #2B5278;
  --in: #1B2735;
  --ok: #7EE0A0;
  --warn: #F2B544;
  --bad: #F0616A;
  --r-s: 6px;
  --r-m: 8px;
  --r-l: 12px;
  --sans: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, "SF Pro Text", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Segoe UI Variable Display", "Segoe UI", -apple-system, BlinkMacSystemFont, "SF Pro Display", Roboto, Arial, sans-serif;
  --mono: "Cascadia Mono", "SF Mono", Menlo, Consolas, ui-monospace, monospace;
  --doodle: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="240" height="240" fill="none" stroke="%2324405E" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round" opacity=".9"%3E%3Cpath d="M-217.9 -212.2L-215.5 -220.9"/%3E%3Cpath d="M-217.9 -212.2L-209.3 -214.5"/%3E%3Cpath d="M-217.9 -212.2L-211.6 -205.9"/%3E%3Cpath d="M-217.9 -212.2L-220.3 -203.6"/%3E%3Cpath d="M-217.9 -212.2L-226.6 -210.0"/%3E%3Cpath d="M-217.9 -212.2L-224.2 -218.6"/%3E%3Cpath d="M-217.9 27.8L-215.5 19.1"/%3E%3Cpath d="M-217.9 27.8L-209.3 25.5"/%3E%3Cpath d="M-217.9 27.8L-211.6 34.1"/%3E%3Cpath d="M-217.9 27.8L-220.3 36.4"/%3E%3Cpath d="M-217.9 27.8L-226.6 30.0"/%3E%3Cpath d="M-217.9 27.8L-224.2 21.4"/%3E%3Cpath d="M-217.9 267.8L-215.5 259.1"/%3E%3Cpath d="M-217.9 267.8L-209.3 265.5"/%3E%3Cpath d="M-217.9 267.8L-211.6 274.1"/%3E%3Cpath d="M-217.9 267.8L-220.3 276.4"/%3E%3Cpath d="M-217.9 267.8L-226.6 270.0"/%3E%3Cpath d="M-217.9 267.8L-224.2 261.4"/%3E%3Cpath d="M22.1 -212.2L24.5 -220.9"/%3E%3Cpath d="M22.1 -212.2L30.7 -214.5"/%3E%3Cpath d="M22.1 -212.2L28.4 -205.9"/%3E%3Cpath d="M22.1 -212.2L19.7 -203.6"/%3E%3Cpath d="M22.1 -212.2L13.4 -210.0"/%3E%3Cpath d="M22.1 -212.2L15.8 -218.6"/%3E%3Cpath d="M22.1 27.8L24.5 19.1"/%3E%3Cpath d="M22.1 27.8L30.7 25.5"/%3E%3Cpath d="M22.1 27.8L28.4 34.1"/%3E%3Cpath d="M22.1 27.8L19.7 36.4"/%3E%3Cpath d="M22.1 27.8L13.4 30.0"/%3E%3Cpath d="M22.1 27.8L15.8 21.4"/%3E%3Cpath d="M22.1 267.8L24.5 259.1"/%3E%3Cpath d="M22.1 267.8L30.7 265.5"/%3E%3Cpath d="M22.1 267.8L28.4 274.1"/%3E%3Cpath d="M22.1 267.8L19.7 276.4"/%3E%3Cpath d="M22.1 267.8L13.4 270.0"/%3E%3Cpath d="M22.1 267.8L15.8 261.4"/%3E%3Cpath d="M262.1 -212.2L264.5 -220.9"/%3E%3Cpath d="M262.1 -212.2L270.7 -214.5"/%3E%3Cpath d="M262.1 -212.2L268.4 -205.9"/%3E%3Cpath d="M262.1 -212.2L259.7 -203.6"/%3E%3Cpath d="M262.1 -212.2L253.4 -210.0"/%3E%3Cpath d="M262.1 -212.2L255.8 -218.6"/%3E%3Cpath d="M262.1 27.8L264.5 19.1"/%3E%3Cpath d="M262.1 27.8L270.7 25.5"/%3E%3Cpath d="M262.1 27.8L268.4 34.1"/%3E%3Cpath d="M262.1 27.8L259.7 36.4"/%3E%3Cpath d="M262.1 27.8L253.4 30.0"/%3E%3Cpath d="M262.1 27.8L255.8 21.4"/%3E%3Cpath d="M262.1 267.8L264.5 259.1"/%3E%3Cpath d="M262.1 267.8L270.7 265.5"/%3E%3Cpath d="M262.1 267.8L268.4 274.1"/%3E%3Cpath d="M262.1 267.8L259.7 276.4"/%3E%3Cpath d="M262.1 267.8L253.4 270.0"/%3E%3Cpath d="M262.1 267.8L255.8 261.4"/%3E%3Ccircle cx="-134.2" cy="-209.2" r="1.6"/%3E%3Ccircle cx="-134.2" cy="30.8" r="1.6"/%3E%3Ccircle cx="-134.2" cy="270.8" r="1.6"/%3E%3Ccircle cx="105.8" cy="-209.2" r="1.6"/%3E%3Ccircle cx="105.8" cy="30.8" r="1.6"/%3E%3Ccircle cx="105.8" cy="270.8" r="1.6"/%3E%3Ccircle cx="345.8" cy="-209.2" r="1.6"/%3E%3Ccircle cx="345.8" cy="30.8" r="1.6"/%3E%3Ccircle cx="345.8" cy="270.8" r="1.6"/%3E%3Cpath d="M-72.8 -213.7L-69.7 -206.6"/%3E%3Cpath d="M-72.8 -213.7L-77.4 -207.5"/%3E%3Cpath d="M-72.8 -213.7L-80.4 -214.6"/%3E%3Cpath d="M-72.8 -213.7L-75.8 -220.8"/%3E%3Cpath d="M-72.8 -213.7L-68.2 -219.9"/%3E%3Cpath d="M-72.8 -213.7L-65.1 -212.8"/%3E%3Cpath d="M-72.8 26.3L-69.7 33.4"/%3E%3Cpath d="M-72.8 26.3L-77.4 32.5"/%3E%3Cpath d="M-72.8 26.3L-80.4 25.4"/%3E%3Cpath d="M-72.8 26.3L-75.8 19.2"/%3E%3Cpath d="M-72.8 26.3L-68.2 20.1"/%3E%3Cpath d="M-72.8 26.3L-65.1 27.2"/%3E%3Cpath d="M-72.8 266.3L-69.7 273.4"/%3E%3Cpath d="M-72.8 266.3L-77.4 272.5"/%3E%3Cpath d="M-72.8 266.3L-80.4 265.4"/%3E%3Cpath d="M-72.8 266.3L-75.8 259.2"/%3E%3Cpath d="M-72.8 266.3L-68.2 260.1"/%3E%3Cpath d="M-72.8 266.3L-65.1 267.2"/%3E%3Cpath d="M167.2 -213.7L170.3 -206.6"/%3E%3Cpath d="M167.2 -213.7L162.6 -207.5"/%3E%3Cpath d="M167.2 -213.7L159.6 -214.6"/%3E%3Cpath d="M167.2 -213.7L164.2 -220.8"/%3E%3Cpath d="M167.2 -213.7L171.8 -219.9"/%3E%3Cpath d="M167.2 -213.7L174.9 -212.8"/%3E%3Cpath d="M167.2 26.3L170.3 33.4"/%3E%3Cpath d="M167.2 26.3L162.6 32.5"/%3E%3Cpath d="M167.2 26.3L159.6 25.4"/%3E%3Cpath d="M167.2 26.3L164.2 19.2"/%3E%3Cpath d="M167.2 26.3L171.8 20.1"/%3E%3Cpath d="M167.2 26.3L174.9 27.2"/%3E%3Cpath d="M167.2 266.3L170.3 273.4"/%3E%3Cpath d="M167.2 266.3L162.6 272.5"/%3E%3Cpath d="M167.2 266.3L159.6 265.4"/%3E%3Cpath d="M167.2 266.3L164.2 259.2"/%3E%3Cpath d="M167.2 266.3L171.8 260.1"/%3E%3Cpath d="M167.2 266.3L174.9 267.2"/%3E%3Cpath d="M407.2 -213.7L410.3 -206.6"/%3E%3Cpath d="M407.2 -213.7L402.6 -207.5"/%3E%3Cpath d="M407.2 -213.7L399.6 -214.6"/%3E%3Cpath d="M407.2 -213.7L404.2 -220.8"/%3E%3Cpath d="M407.2 -213.7L411.8 -219.9"/%3E%3Cpath d="M407.2 -213.7L414.9 -212.8"/%3E%3Cpath d="M407.2 26.3L410.3 33.4"/%3E%3Cpath d="M407.2 26.3L402.6 32.5"/%3E%3Cpath d="M407.2 26.3L399.6 25.4"/%3E%3Cpath d="M407.2 26.3L404.2 19.2"/%3E%3Cpath d="M407.2 26.3L411.8 20.1"/%3E%3Cpath d="M407.2 26.3L414.9 27.2"/%3E%3Cpath d="M407.2 266.3L410.3 273.4"/%3E%3Cpath d="M407.2 266.3L402.6 272.5"/%3E%3Cpath d="M407.2 266.3L399.6 265.4"/%3E%3Cpath d="M407.2 266.3L404.2 259.2"/%3E%3Cpath d="M407.2 266.3L411.8 260.1"/%3E%3Cpath d="M407.2 266.3L414.9 267.2"/%3E%3Cpath transform="rotate%282 -38.9 -195.4%29" d="M-38.9 -188.6C-50.7 -196.4 -43.8 -205.3 -38.9 -198.9C-34.0 -205.3 -27.1 -196.4 -38.9 -188.6Z"/%3E%3Cpath transform="rotate%282 -38.9 44.6%29" d="M-38.9 51.4C-50.7 43.6 -43.8 34.7 -38.9 41.1C-34.0 34.7 -27.1 43.6 -38.9 51.4Z"/%3E%3Cpath transform="rotate%282 -38.9 284.6%29" d="M-38.9 291.4C-50.7 283.6 -43.8 274.7 -38.9 281.1C-34.0 274.7 -27.1 283.6 -38.9 291.4Z"/%3E%3Cpath transform="rotate%282 201.1 -195.4%29" d="M201.1 -188.6C189.3 -196.4 196.2 -205.3 201.1 -198.9C206.0 -205.3 212.9 -196.4 201.1 -188.6Z"/%3E%3Cpath transform="rotate%282 201.1 44.6%29" d="M201.1 51.4C189.3 43.6 196.2 34.7 201.1 41.1C206.0 34.7 212.9 43.6 201.1 51.4Z"/%3E%3Cpath transform="rotate%282 201.1 284.6%29" d="M201.1 291.4C189.3 283.6 196.2 274.7 201.1 281.1C206.0 274.7 212.9 283.6 201.1 291.4Z"/%3E%3Cpath transform="rotate%282 441.1 -195.4%29" d="M441.1 -188.6C429.3 -196.4 436.2 -205.3 441.1 -198.9C446.0 -205.3 452.9 -196.4 441.1 -188.6Z"/%3E%3Cpath transform="rotate%282 441.1 44.6%29" d="M441.1 51.4C429.3 43.6 436.2 34.7 441.1 41.1C446.0 34.7 452.9 43.6 441.1 51.4Z"/%3E%3Cpath transform="rotate%282 441.1 284.6%29" d="M441.1 291.4C429.3 283.6 436.2 274.7 441.1 281.1C446.0 274.7 452.9 283.6 441.1 291.4Z"/%3E%3Cpath d="M-192.8 -139.2L-197.3 -130.2"/%3E%3Cpath d="M-192.8 -139.2L-202.9 -138.6"/%3E%3Cpath d="M-192.8 -139.2L-198.4 -147.7"/%3E%3Cpath d="M-192.8 -139.2L-188.3 -148.3"/%3E%3Cpath d="M-192.8 -139.2L-182.7 -139.9"/%3E%3Cpath d="M-192.8 -139.2L-187.2 -130.8"/%3E%3Cpath d="M-192.8 100.8L-197.3 109.8"/%3E%3Cpath d="M-192.8 100.8L-202.9 101.4"/%3E%3Cpath d="M-192.8 100.8L-198.4 92.3"/%3E%3Cpath d="M-192.8 100.8L-188.3 91.7"/%3E%3Cpath d="M-192.8 100.8L-182.7 100.1"/%3E%3Cpath d="M-192.8 100.8L-187.2 109.2"/%3E%3Cpath d="M-192.8 340.8L-197.3 349.8"/%3E%3Cpath d="M-192.8 340.8L-202.9 341.4"/%3E%3Cpath d="M-192.8 340.8L-198.4 332.3"/%3E%3Cpath d="M-192.8 340.8L-188.3 331.7"/%3E%3Cpath d="M-192.8 340.8L-182.7 340.1"/%3E%3Cpath d="M-192.8 340.8L-187.2 349.2"/%3E%3Cpath d="M47.2 -139.2L42.7 -130.2"/%3E%3Cpath d="M47.2 -139.2L37.1 -138.6"/%3E%3Cpath d="M47.2 -139.2L41.6 -147.7"/%3E%3Cpath d="M47.2 -139.2L51.7 -148.3"/%3E%3Cpath d="M47.2 -139.2L57.3 -139.9"/%3E%3Cpath d="M47.2 -139.2L52.8 -130.8"/%3E%3Cpath d="M47.2 100.8L42.7 109.8"/%3E%3Cpath d="M47.2 100.8L37.1 101.4"/%3E%3Cpath d="M47.2 100.8L41.6 92.3"/%3E%3Cpath d="M47.2 100.8L51.7 91.7"/%3E%3Cpath d="M47.2 100.8L57.3 100.1"/%3E%3Cpath d="M47.2 100.8L52.8 109.2"/%3E%3Cpath d="M47.2 340.8L42.7 349.8"/%3E%3Cpath d="M47.2 340.8L37.1 341.4"/%3E%3Cpath d="M47.2 340.8L41.6 332.3"/%3E%3Cpath d="M47.2 340.8L51.7 331.7"/%3E%3Cpath d="M47.2 340.8L57.3 340.1"/%3E%3Cpath d="M47.2 340.8L52.8 349.2"/%3E%3Cpath d="M287.2 -139.2L282.7 -130.2"/%3E%3Cpath d="M287.2 -139.2L277.1 -138.6"/%3E%3Cpath d="M287.2 -139.2L281.6 -147.7"/%3E%3Cpath d="M287.2 -139.2L291.7 -148.3"/%3E%3Cpath d="M287.2 -139.2L297.3 -139.9"/%3E%3Cpath d="M287.2 -139.2L292.8 -130.8"/%3E%3Cpath d="M287.2 100.8L282.7 109.8"/%3E%3Cpath d="M287.2 100.8L277.1 101.4"/%3E%3Cpath d="M287.2 100.8L281.6 92.3"/%3E%3Cpath d="M287.2 100.8L291.7 91.7"/%3E%3Cpath d="M287.2 100.8L297.3 100.1"/%3E%3Cpath d="M287.2 100.8L292.8 109.2"/%3E%3Cpath d="M287.2 340.8L282.7 349.8"/%3E%3Cpath d="M287.2 340.8L277.1 341.4"/%3E%3Cpath d="M287.2 340.8L281.6 332.3"/%3E%3Cpath d="M287.2 340.8L291.7 331.7"/%3E%3Cpath d="M287.2 340.8L297.3 340.1"/%3E%3Cpath d="M287.2 340.8L292.8 349.2"/%3E%3Ccircle cx="-149.7" cy="-150.2" r="1.6"/%3E%3Ccircle cx="-149.7" cy="89.8" r="1.6"/%3E%3Ccircle cx="-149.7" cy="329.8" r="1.6"/%3E%3Ccircle cx="90.3" cy="-150.2" r="1.6"/%3E%3Ccircle cx="90.3" cy="89.8" r="1.6"/%3E%3Ccircle cx="90.3" cy="329.8" r="1.6"/%3E%3Ccircle cx="330.3" cy="-150.2" r="1.6"/%3E%3Ccircle cx="330.3" cy="89.8" r="1.6"/%3E%3Ccircle cx="330.3" cy="329.8" r="1.6"/%3E%3Ccircle cx="-96.4" cy="-153.6" r="1.6"/%3E%3Ccircle cx="-96.4" cy="86.4" r="1.6"/%3E%3Ccircle cx="-96.4" cy="326.4" r="1.6"/%3E%3Ccircle cx="143.6" cy="-153.6" r="1.6"/%3E%3Ccircle cx="143.6" cy="86.4" r="1.6"/%3E%3Ccircle cx="143.6" cy="326.4" r="1.6"/%3E%3Ccircle cx="383.6" cy="-153.6" r="1.6"/%3E%3Ccircle cx="383.6" cy="86.4" r="1.6"/%3E%3Ccircle cx="383.6" cy="326.4" r="1.6"/%3E%3Cpath transform="rotate%28260 -43.0 -139.5%29" d="M-43.0 -132.3C-55.5 -140.6 -48.2 -149.9 -43.0 -143.1C-37.8 -149.9 -30.6 -140.6 -43.0 -132.3Z"/%3E%3Cpath transform="rotate%28260 -43.0 100.5%29" d="M-43.0 107.7C-55.5 99.4 -48.2 90.1 -43.0 96.9C-37.8 90.1 -30.6 99.4 -43.0 107.7Z"/%3E%3Cpath transform="rotate%28260 -43.0 340.5%29" d="M-43.0 347.7C-55.5 339.4 -48.2 330.1 -43.0 336.9C-37.8 330.1 -30.6 339.4 -43.0 347.7Z"/%3E%3Cpath transform="rotate%28260 197.0 -139.5%29" d="M197.0 -132.3C184.5 -140.6 191.8 -149.9 197.0 -143.1C202.2 -149.9 209.4 -140.6 197.0 -132.3Z"/%3E%3Cpath transform="rotate%28260 197.0 100.5%29" d="M197.0 107.7C184.5 99.4 191.8 90.1 197.0 96.9C202.2 90.1 209.4 99.4 197.0 107.7Z"/%3E%3Cpath transform="rotate%28260 197.0 340.5%29" d="M197.0 347.7C184.5 339.4 191.8 330.1 197.0 336.9C202.2 330.1 209.4 339.4 197.0 347.7Z"/%3E%3Cpath transform="rotate%28260 437.0 -139.5%29" d="M437.0 -132.3C424.5 -140.6 431.8 -149.9 437.0 -143.1C442.2 -149.9 449.4 -140.6 437.0 -132.3Z"/%3E%3Cpath transform="rotate%28260 437.0 100.5%29" d="M437.0 107.7C424.5 99.4 431.8 90.1 437.0 96.9C442.2 90.1 449.4 99.4 437.0 107.7Z"/%3E%3Cpath transform="rotate%28260 437.0 340.5%29" d="M437.0 347.7C424.5 339.4 431.8 330.1 437.0 336.9C442.2 330.1 449.4 339.4 437.0 347.7Z"/%3E%3Ccircle cx="-194.4" cy="-93.0" r="1.6"/%3E%3Ccircle cx="-194.4" cy="147.0" r="1.6"/%3E%3Ccircle cx="-194.4" cy="387.0" r="1.6"/%3E%3Ccircle cx="45.6" cy="-93.0" r="1.6"/%3E%3Ccircle cx="45.6" cy="147.0" r="1.6"/%3E%3Ccircle cx="45.6" cy="387.0" r="1.6"/%3E%3Ccircle cx="285.6" cy="-93.0" r="1.6"/%3E%3Ccircle cx="285.6" cy="147.0" r="1.6"/%3E%3Ccircle cx="285.6" cy="387.0" r="1.6"/%3E%3Ccircle cx="-157.0" cy="-97.0" r="1.6"/%3E%3Ccircle cx="-157.0" cy="143.0" r="1.6"/%3E%3Ccircle cx="-157.0" cy="383.0" r="1.6"/%3E%3Ccircle cx="83.0" cy="-97.0" r="1.6"/%3E%3Ccircle cx="83.0" cy="143.0" r="1.6"/%3E%3Ccircle cx="83.0" cy="383.0" r="1.6"/%3E%3Ccircle cx="323.0" cy="-97.0" r="1.6"/%3E%3Ccircle cx="323.0" cy="143.0" r="1.6"/%3E%3Ccircle cx="323.0" cy="383.0" r="1.6"/%3E%3Cpolygon points="-113.2,-84.1 -107.8,-85.7 -106.7,-91.2 -103.6,-86.5 -98.0,-87.3 -101.4,-82.8 -99.0,-77.7 -104.3,-79.6 -108.4,-75.7 -108.2,-81.4"/%3E%3Cpolygon points="-113.2,155.9 -107.8,154.3 -106.7,148.8 -103.6,153.5 -98.0,152.7 -101.4,157.2 -99.0,162.3 -104.3,160.4 -108.4,164.3 -108.2,158.6"/%3E%3Cpolygon points="-113.2,395.9 -107.8,394.3 -106.7,388.8 -103.6,393.5 -98.0,392.7 -101.4,397.2 -99.0,402.3 -104.3,400.4 -108.4,404.3 -108.2,398.6"/%3E%3Cpolygon points="126.8,-84.1 132.2,-85.7 133.3,-91.2 136.4,-86.5 142.0,-87.3 138.6,-82.8 141.0,-77.7 135.7,-79.6 131.6,-75.7 131.8,-81.4"/%3E%3Cpolygon points="126.8,155.9 132.2,154.3 133.3,148.8 136.4,153.5 142.0,152.7 138.6,157.2 141.0,162.3 135.7,160.4 131.6,164.3 131.8,158.6"/%3E%3Cpolygon points="126.8,395.9 132.2,394.3 133.3,388.8 136.4,393.5 142.0,392.7 138.6,397.2 141.0,402.3 135.7,400.4 131.6,404.3 131.8,398.6"/%3E%3Cpolygon points="366.8,-84.1 372.2,-85.7 373.3,-91.2 376.4,-86.5 382.0,-87.3 378.6,-82.8 381.0,-77.7 375.7,-79.6 371.6,-75.7 371.8,-81.4"/%3E%3Cpolygon points="366.8,155.9 372.2,154.3 373.3,148.8 376.4,153.5 382.0,152.7 378.6,157.2 381.0,162.3 375.7,160.4 371.6,164.3 371.8,158.6"/%3E%3Cpolygon points="366.8,395.9 372.2,394.3 373.3,388.8 376.4,393.5 382.0,392.7 378.6,397.2 381.0,402.3 375.7,400.4 371.6,404.3 371.8,398.6"/%3E%3Cpath transform="rotate%2845 -15.3 -72.7%29" d="M-15.3 -67.5C-24.2 -73.4 -19.0 -80.0 -15.3 -75.2C-11.7 -80.0 -6.5 -73.4 -15.3 -67.5Z"/%3E%3Cpath transform="rotate%2845 -15.3 167.3%29" d="M-15.3 172.5C-24.2 166.6 -19.0 160.0 -15.3 164.8C-11.7 160.0 -6.5 166.6 -15.3 172.5Z"/%3E%3Cpath transform="rotate%2845 -15.3 407.3%29" d="M-15.3 412.5C-24.2 406.6 -19.0 400.0 -15.3 404.8C-11.7 400.0 -6.5 406.6 -15.3 412.5Z"/%3E%3Cpath transform="rotate%2845 224.7 -72.7%29" d="M224.7 -67.5C215.8 -73.4 221.0 -80.0 224.7 -75.2C228.3 -80.0 233.5 -73.4 224.7 -67.5Z"/%3E%3Cpath transform="rotate%2845 224.7 167.3%29" d="M224.7 172.5C215.8 166.6 221.0 160.0 224.7 164.8C228.3 160.0 233.5 166.6 224.7 172.5Z"/%3E%3Cpath transform="rotate%2845 224.7 407.3%29" d="M224.7 412.5C215.8 406.6 221.0 400.0 224.7 404.8C228.3 400.0 233.5 406.6 224.7 412.5Z"/%3E%3Cpath transform="rotate%2845 464.7 -72.7%29" d="M464.7 -67.5C455.8 -73.4 461.0 -80.0 464.7 -75.2C468.3 -80.0 473.5 -73.4 464.7 -67.5Z"/%3E%3Cpath transform="rotate%2845 464.7 167.3%29" d="M464.7 172.5C455.8 166.6 461.0 160.0 464.7 164.8C468.3 160.0 473.5 166.6 464.7 172.5Z"/%3E%3Cpath transform="rotate%2845 464.7 407.3%29" d="M464.7 412.5C455.8 406.6 461.0 400.0 464.7 404.8C468.3 400.0 473.5 406.6 464.7 412.5Z"/%3E%3Cpath d="M-221.7 -44.6L-212.0 -40.9"/%3E%3Cpath d="M-221.7 -44.6L-220.0 -34.4"/%3E%3Cpath d="M-221.7 -44.6L-229.7 -38.1"/%3E%3Cpath d="M-221.7 -44.6L-231.4 -48.3"/%3E%3Cpath d="M-221.7 -44.6L-223.3 -54.9"/%3E%3Cpath d="M-221.7 -44.6L-213.6 -51.2"/%3E%3Cpath d="M-221.7 195.4L-212.0 199.1"/%3E%3Cpath d="M-221.7 195.4L-220.0 205.6"/%3E%3Cpath d="M-221.7 195.4L-229.7 201.9"/%3E%3Cpath d="M-221.7 195.4L-231.4 191.7"/%3E%3Cpath d="M-221.7 195.4L-223.3 185.1"/%3E%3Cpath d="M-221.7 195.4L-213.6 188.8"/%3E%3Cpath d="M-221.7 435.4L-212.0 439.1"/%3E%3Cpath d="M-221.7 435.4L-220.0 445.6"/%3E%3Cpath d="M-221.7 435.4L-229.7 441.9"/%3E%3Cpath d="M-221.7 435.4L-231.4 431.7"/%3E%3Cpath d="M-221.7 435.4L-223.3 425.1"/%3E%3Cpath d="M-221.7 435.4L-213.6 428.8"/%3E%3Cpath d="M18.3 -44.6L28.0 -40.9"/%3E%3Cpath d="M18.3 -44.6L20.0 -34.4"/%3E%3Cpath d="M18.3 -44.6L10.3 -38.1"/%3E%3Cpath d="M18.3 -44.6L8.6 -48.3"/%3E%3Cpath d="M18.3 -44.6L16.7 -54.9"/%3E%3Cpath d="M18.3 -44.6L26.4 -51.2"/%3E%3Cpath d="M18.3 195.4L28.0 199.1"/%3E%3Cpath d="M18.3 195.4L20.0 205.6"/%3E%3Cpath d="M18.3 195.4L10.3 201.9"/%3E%3Cpath d="M18.3 195.4L8.6 191.7"/%3E%3Cpath d="M18.3 195.4L16.7 185.1"/%3E%3Cpath d="M18.3 195.4L26.4 188.8"/%3E%3Cpath d="M18.3 435.4L28.0 439.1"/%3E%3Cpath d="M18.3 435.4L20.0 445.6"/%3E%3Cpath d="M18.3 435.4L10.3 441.9"/%3E%3Cpath d="M18.3 435.4L8.6 431.7"/%3E%3Cpath d="M18.3 435.4L16.7 425.1"/%3E%3Cpath d="M18.3 435.4L26.4 428.8"/%3E%3Cpath d="M258.3 -44.6L268.0 -40.9"/%3E%3Cpath d="M258.3 -44.6L260.0 -34.4"/%3E%3Cpath d="M258.3 -44.6L250.3 -38.1"/%3E%3Cpath d="M258.3 -44.6L248.6 -48.3"/%3E%3Cpath d="M258.3 -44.6L256.7 -54.9"/%3E%3Cpath d="M258.3 -44.6L266.4 -51.2"/%3E%3Cpath d="M258.3 195.4L268.0 199.1"/%3E%3Cpath d="M258.3 195.4L260.0 205.6"/%3E%3Cpath d="M258.3 195.4L250.3 201.9"/%3E%3Cpath d="M258.3 195.4L248.6 191.7"/%3E%3Cpath d="M258.3 195.4L256.7 185.1"/%3E%3Cpath d="M258.3 195.4L266.4 188.8"/%3E%3Cpath d="M258.3 435.4L268.0 439.1"/%3E%3Cpath d="M258.3 435.4L260.0 445.6"/%3E%3Cpath d="M258.3 435.4L250.3 441.9"/%3E%3Cpath d="M258.3 435.4L248.6 431.7"/%3E%3Cpath d="M258.3 435.4L256.7 425.1"/%3E%3Cpath d="M258.3 435.4L266.4 428.8"/%3E%3Cpath transform="rotate%2826 -145.7 -14.8%29" d="M-145.7 -9.8C-154.3 -15.6 -149.3 -22.0 -145.7 -17.4C-142.1 -22.0 -137.0 -15.6 -145.7 -9.8Z"/%3E%3Cpath transform="rotate%2826 -145.7 225.2%29" d="M-145.7 230.2C-154.3 224.4 -149.3 218.0 -145.7 222.6C-142.1 218.0 -137.0 224.4 -145.7 230.2Z"/%3E%3Cpath transform="rotate%2826 -145.7 465.2%29" d="M-145.7 470.2C-154.3 464.4 -149.3 458.0 -145.7 462.6C-142.1 458.0 -137.0 464.4 -145.7 470.2Z"/%3E%3Cpath transform="rotate%2826 94.3 -14.8%29" d="M94.3 -9.8C85.7 -15.6 90.7 -22.0 94.3 -17.4C97.9 -22.0 103.0 -15.6 94.3 -9.8Z"/%3E%3Cpath transform="rotate%2826 94.3 225.2%29" d="M94.3 230.2C85.7 224.4 90.7 218.0 94.3 222.6C97.9 218.0 103.0 224.4 94.3 230.2Z"/%3E%3Cpath transform="rotate%2826 94.3 465.2%29" d="M94.3 470.2C85.7 464.4 90.7 458.0 94.3 462.6C97.9 458.0 103.0 464.4 94.3 470.2Z"/%3E%3Cpath transform="rotate%2826 334.3 -14.8%29" d="M334.3 -9.8C325.7 -15.6 330.7 -22.0 334.3 -17.4C337.9 -22.0 343.0 -15.6 334.3 -9.8Z"/%3E%3Cpath transform="rotate%2826 334.3 225.2%29" d="M334.3 230.2C325.7 224.4 330.7 218.0 334.3 222.6C337.9 218.0 343.0 224.4 334.3 230.2Z"/%3E%3Cpath transform="rotate%2826 334.3 465.2%29" d="M334.3 470.2C325.7 464.4 330.7 458.0 334.3 462.6C337.9 458.0 343.0 464.4 334.3 470.2Z"/%3E%3Cpath transform="rotate%28143 -88.2 -45.3%29" d="M-88.2 -39.1C-98.7 -46.2 -92.6 -54.1 -88.2 -48.4C-83.8 -54.1 -77.6 -46.2 -88.2 -39.1Z"/%3E%3Cpath transform="rotate%28143 -88.2 194.7%29" d="M-88.2 200.9C-98.7 193.8 -92.6 185.9 -88.2 191.6C-83.8 185.9 -77.6 193.8 -88.2 200.9Z"/%3E%3Cpath transform="rotate%28143 -88.2 434.7%29" d="M-88.2 440.9C-98.7 433.8 -92.6 425.9 -88.2 431.6C-83.8 425.9 -77.6 433.8 -88.2 440.9Z"/%3E%3Cpath transform="rotate%28143 151.8 -45.3%29" d="M151.8 -39.1C141.3 -46.2 147.4 -54.1 151.8 -48.4C156.2 -54.1 162.4 -46.2 151.8 -39.1Z"/%3E%3Cpath transform="rotate%28143 151.8 194.7%29" d="M151.8 200.9C141.3 193.8 147.4 185.9 151.8 191.6C156.2 185.9 162.4 193.8 151.8 200.9Z"/%3E%3Cpath transform="rotate%28143 151.8 434.7%29" d="M151.8 440.9C141.3 433.8 147.4 425.9 151.8 431.6C156.2 425.9 162.4 433.8 151.8 440.9Z"/%3E%3Cpath transform="rotate%28143 391.8 -45.3%29" d="M391.8 -39.1C381.3 -46.2 387.4 -54.1 391.8 -48.4C396.2 -54.1 402.4 -46.2 391.8 -39.1Z"/%3E%3Cpath transform="rotate%28143 391.8 194.7%29" d="M391.8 200.9C381.3 193.8 387.4 185.9 391.8 191.6C396.2 185.9 402.4 193.8 391.8 200.9Z"/%3E%3Cpath transform="rotate%28143 391.8 434.7%29" d="M391.8 440.9C381.3 433.8 387.4 425.9 391.8 431.6C396.2 425.9 402.4 433.8 391.8 440.9Z"/%3E%3Cpath transform="rotate%28192 -45.2 -40.0%29" d="M-55.5 -40.0L-35.0 -47.1L-43.2 -31.8L-46.2 -38.9Z"/%3E%3Cpath transform="rotate%28192 -45.2 200.0%29" d="M-55.5 200.0L-35.0 192.9L-43.2 208.2L-46.2 201.1Z"/%3E%3Cpath transform="rotate%28192 -45.2 440.0%29" d="M-55.5 440.0L-35.0 432.9L-43.2 448.2L-46.2 441.1Z"/%3E%3Cpath transform="rotate%28192 194.8 -40.0%29" d="M184.5 -40.0L205.0 -47.1L196.8 -31.8L193.8 -38.9Z"/%3E%3Cpath transform="rotate%28192 194.8 200.0%29" d="M184.5 200.0L205.0 192.9L196.8 208.2L193.8 201.1Z"/%3E%3Cpath transform="rotate%28192 194.8 440.0%29" d="M184.5 440.0L205.0 432.9L196.8 448.2L193.8 441.1Z"/%3E%3Cpath transform="rotate%28192 434.8 -40.0%29" d="M424.5 -40.0L445.0 -47.1L436.8 -31.8L433.8 -38.9Z"/%3E%3Cpath transform="rotate%28192 434.8 200.0%29" d="M424.5 200.0L445.0 192.9L436.8 208.2L433.8 201.1Z"/%3E%3Cpath transform="rotate%28192 434.8 440.0%29" d="M424.5 440.0L445.0 432.9L436.8 448.2L433.8 441.1Z"/%3E%3C/svg%3E');
  --bevel: inset 0 1px 0 rgba(255, 255, 255, .07), inset 0 -1px 0 rgba(0, 0, 0, .35);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body { min-height: 100vh; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -.02em; line-height: 1.12; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.skip { position: absolute; left: 12px; top: -60px; padding: 10px 14px; background: var(--blue); color: #fff; border-radius: var(--r-s); z-index: 50; }
.skip:focus { top: 12px; }
.doodle-bg { background-color: var(--bg); background-image: var(--doodle); background-size: 240px 240px; }

/* ---------- header & footer ---------- */
.header {
  position: sticky; top: 0; z-index: 20; box-shadow: var(--bevel);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: linear-gradient(180deg, #3A4148, #2E343A);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; letter-spacing: -.01em; font-size: 17px; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.header nav { display: flex; align-items: center; gap: clamp(10px, 2.4vw, 28px); font-size: 15px; }
.header nav a { text-decoration: none; color: var(--muted); }
.header nav a:hover { color: var(--text); }
.header .account-link { color: var(--text); padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; }
.header .account-link:hover { border-color: var(--orange); }
.footer { display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; padding: 40px clamp(16px, 4vw, 48px) 32px; border-top: 1px solid var(--line); background: var(--bg-2); font-size: 15px; }
.footer-brand p { margin-top: 8px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.footer-legal { grid-column: 1 / -1; color: var(--faint); font-size: 13px; }
main { outline: none; }
.loading { padding: 120px 20px; text-align: center; color: var(--muted); }

/* ---------- primitives ---------- */
.wrap { width: min(1200px, 100% - 32px); margin: 0 auto; }
.eyebrow { color: var(--orange); font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 18px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  background: var(--blue-2); color: #fff; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s;
}
.button:hover { background: #3480CF; }
.button:active { transform: translateY(1px); }
.button.accent { background: linear-gradient(180deg, var(--orange-2), var(--orange)); color: #2A1700; box-shadow: var(--bevel); }
.button.accent:hover { background: var(--orange-2); }
.button.secondary { background: transparent; border-color: var(--line-2); color: var(--text); }
.button.secondary:hover { border-color: var(--blue); background: rgba(42, 171, 238, .08); }
.button.danger { background: transparent; border-color: rgba(240, 97, 106, .5); color: #FFB3B8; }
.button.danger:hover { background: rgba(240, 97, 106, .12); }
.button.small { height: 36px; padding: 0 15px; font-size: 14px; }
.button.full { width: 100%; }
.button:disabled { opacity: .55; cursor: progress; }
.text-link { color: var(--blue); text-decoration: none; font-weight: 600; }
.text-link:hover { text-decoration: underline; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: #CFD9E4; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: rgba(79, 203, 122, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.4' fill='none' stroke='%234FCB7A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.ticks.small li { font-size: 15px; }

/* ---------- hero ---------- */
.hero { border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); }
.hero h1 { text-wrap: balance; font-size: clamp(36px, 4.4vw, 58px); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; }
.hero .lead { margin-top: 22px; font-size: clamp(17px, 1.5vw, 19px); color: #C3CFDC; max-width: 34em; }
.hero .actions { margin-top: 30px; }
.hero-note { margin-top: 20px; font-size: 14px; color: var(--muted); }
.shot-caption { margin-top: 12px; font-size: 13px; color: var(--faint); text-align: right; }

/* ---------- app window illustrations ---------- */
.win { border-radius: 14px; background: var(--panel); border: 1px solid var(--line-2); box-shadow: 0 30px 70px rgba(2, 8, 16, .55), 0 0 0 1px rgba(255, 255, 255, .02) inset; overflow: hidden; font-size: 13px; line-height: 1.35; }
.win-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #131D28; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2D3B4C; }
.win-bar i:first-child { background: #F0616A; } .win-bar i:nth-child(2) { background: #F2B544; } .win-bar i:nth-child(3) { background: #4FCB7A; }
.win-bar span { margin-left: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.av { display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 12px; letter-spacing: -.02em; }
.av.sm { width: 30px; height: 30px; font-size: 11px; }
.av.xs { width: 22px; height: 22px; font-size: 9px; }
.av1 { background: linear-gradient(160deg, #FF8A8F, #E1576B); } .av2 { background: linear-gradient(160deg, #FFC27A, #F08A44); }
.av3 { background: linear-gradient(160deg, #B8A6FF, #8A6FE6); } .av4 { background: linear-gradient(160deg, #8FE08A, #4FB55B); }
.av5 { background: linear-gradient(160deg, #7FE3E6, #3CA9B8); } .av6 { background: linear-gradient(160deg, #82C4FF, #3E8FE0); }
.av7 { background: linear-gradient(160deg, #FF9CCB, #E25C9E); }
.app { display: grid; grid-template-columns: 128px 168px minmax(0, 1fr); min-height: 330px; }
.app-side { display: flex; flex-direction: column; gap: 2px; padding: 12px 8px; background: #141E29; border-right: 1px solid var(--line); color: var(--muted); }
.app-side span { padding: 7px 9px; border-radius: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-side span.on { background: var(--blue-deep); color: #fff; }
.app-side-foot { margin-top: auto; padding: 8px 9px; font-size: 11px; color: var(--faint); }
.app-clones { padding: 10px 8px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 3px; }
.clone { display: flex; gap: 8px; align-items: center; padding: 6px; border-radius: 8px; }
.clone.on { background: #213246; }
.clone > span:not(.av) { min-width: 0; }
.clone b { display: block; font-weight: 600; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clone small { color: var(--ok); font-size: 11px; }
.app-main { padding: 12px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ctl { display: flex; flex-wrap: nowrap; white-space: nowrap; overflow: hidden; gap: 8px; align-items: center; padding: 8px 10px; background: #1A2633; border: 1px solid var(--line); border-radius: 10px; }
.pill { flex: none; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.pill.run { background: rgba(79, 203, 122, .14); color: var(--ok); }
.pill.live { margin-left: auto; background: var(--ok); color: #06210F; }
.ctl-next { color: var(--muted); font-size: 12px; min-width: 0; overflow: hidden; text-overflow: ellipsis; } .ctl-next b { color: var(--text); }
.feed { display: flex; flex-direction: column; gap: 6px; }
.feed-row { display: grid; grid-template-columns: 22px 62px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--in); border: 1px solid var(--line); }
.feed-row .t { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.feed-row .m { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-row .ok { font-size: 11px; font-weight: 700; color: var(--ok); }
/* The one choreographed moment: sends land one after another. */
.win-hero .feed-row { opacity: 0; animation: land .5s cubic-bezier(.2, .8, .2, 1) forwards; }
.win-hero .feed-row .ok { opacity: 0; animation: tick .3s ease-out forwards; }
.win-hero .r0, .win-hero .r0 .ok { animation-delay: .3s; } .win-hero .r0 .ok { animation-delay: .75s; }
.win-hero .r1 { animation-delay: .9s; } .win-hero .r1 .ok { animation-delay: 1.35s; }
.win-hero .r2 { animation-delay: 1.5s; } .win-hero .r2 .ok { animation-delay: 1.95s; }
.win-hero .r3 { animation-delay: 2.1s; } .win-hero .r3 .ok { animation-delay: 2.55s; }
.win-hero .r4 { animation-delay: 2.7s; } .win-hero .r4 .ok { animation-delay: 3.15s; }
.win-hero .r5 { animation-delay: 3.3s; } .win-hero .r5 .ok { animation-delay: 3.75s; }
@keyframes land { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes tick { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }

.sched { padding: 14px; display: grid; gap: 12px; }
.sched-tools, .sched-opts, .react-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip { padding: 6px 11px; border: 1px solid var(--line-2); border-radius: 999px; color: #CFD9E4; font-size: 12px; }
.opt { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; background: #1A2633; border-radius: 999px; font-size: 12px; color: #CFD9E4; }
.opt::before { content: ""; width: 24px; height: 14px; border-radius: 999px; background: #33465C; box-shadow: inset -10px 0 0 2px #33465C, inset 0 0 0 2px #33465C; }
.opt.on::before { background: var(--blue-2); box-shadow: inset 10px 0 0 2px var(--blue-2), inset 0 0 0 9px #fff; }
.code-box { background: #0F1822; border: 1px solid var(--line); border-radius: 10px; padding: 10px 0; font-family: var(--mono); font-size: 12px; }
.code-box div { display: flex; gap: 10px; padding: 3px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #D8E2EC; }
.code-box .ln { width: 14px; color: var(--faint); text-align: right; flex: none; }
.code-box .tm { color: #6FC3F5; } .code-box .sep { color: var(--faint); }

.post { padding: 14px; display: grid; gap: 12px; }
.post-dest { display: flex; gap: 10px; align-items: center; }
.lbl { color: var(--muted); font-size: 12px; }
.sel { flex: 1; padding: 8px 12px; background: #0F1822; border: 1px solid var(--line); border-radius: 9px; color: #D8E2EC; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sel.grow { flex: 1 1 200px; }
.post-body { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 12px; }
.media { position: relative; height: 112px; border-radius: 10px; overflow: hidden; }
.media-art { display: block; width: 100%; height: 100%; background:
  radial-gradient(circle at 72% 30%, #FFE1A6 0 12%, transparent 13%),
  linear-gradient(180deg, transparent 55%, rgba(0,0,0,.25)),
  linear-gradient(200deg, #F6A65B 0%, #E46A6A 45%, #6A4FB8 100%); }
.media-art.small { width: 160px; height: 96px; border-radius: 10px; }
.media-tag { position: absolute; left: 8px; bottom: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(5, 12, 22, .65); font-size: 11px; }
.caption { padding: 10px 12px; background: #0F1822; border: 1px solid var(--line); border-radius: 10px; color: #D8E2EC; }
.caret { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--blue); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.post-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12px; }
.btn-fake { padding: 8px 14px; border-radius: 999px; background: var(--blue-2); color: #fff; font-weight: 600; font-size: 12px; white-space: nowrap; }
.btn-fake.small { padding: 5px 10px; font-size: 11px; margin-left: auto; }

.duo { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 14px; align-items: start; }
.react { padding: 14px; display: grid; gap: 12px; }
.emo-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.emo { display: grid; place-items: center; height: 34px; border-radius: 9px; background: #0F1822; border: 1px solid var(--line); font-size: 17px; }
.emo.on { background: rgba(42, 171, 238, .16); border-color: var(--blue); }
.react-result { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.rr { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px 3px 3px; border-radius: 999px; background: #1A2633; }
.rr b { font-size: 13px; }
.tg-post { border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background-color: #0E1621; background-image: var(--doodle); background-size: 240px; box-shadow: 0 24px 60px rgba(2, 8, 16, .5); font-size: 13px; line-height: 1.4; }
.tg-chan { display: flex; gap: 10px; align-items: center; padding: 10px 12px; background: var(--panel); border-bottom: 1px solid var(--line); }
.tg-chan small { display: block; color: var(--muted); font-size: 11px; }
.tg-bubble { margin: 12px; padding: 6px; background: var(--in); border-radius: 14px; }
.tg-img { display: block; height: 96px; border-radius: 10px; background: radial-gradient(circle at 30% 40%, #FFF2C4 0 9%, transparent 10%), linear-gradient(160deg, #3DA35D, #1F6F8B 60%, #1B3B6F); }
.tg-bubble p { padding: 8px 6px 2px; }
.tg-meta { display: block; padding: 0 6px 4px; color: var(--muted); font-size: 11px; }
.tg-comments { display: grid; gap: 6px; padding: 0 12px 12px; }
.tg-c { display: flex; gap: 8px; align-items: flex-end; opacity: 0; animation: land .45s ease-out forwards; }
.tg-c > span:not(.av) { padding: 6px 10px; border-radius: 12px 12px 12px 4px; background: var(--in); }
.tg-c b { display: block; font-size: 11px; color: #7CC3F5; }
.tg-c.c0 { animation-delay: .1s; } .tg-c.c1 { animation-delay: .25s; } .tg-c.c2 { animation-delay: .4s; }

.inbox { display: grid; grid-template-columns: 210px minmax(0, 1fr); min-height: 320px; }
.ib-list { border-right: 1px solid var(--line); padding: 8px; display: grid; align-content: start; gap: 2px; }
.ib-row { display: flex; gap: 8px; align-items: center; padding: 8px; border-radius: 9px; }
.ib-row.on { background: var(--blue-deep); }
.ib-row > span:not(.av) { min-width: 0; flex: 1; }
.ib-row b { display: block; font-size: 12px; }
.ib-row small { display: block; color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ib-row.on small { color: #C9DCF0; }
.ib-row em { font-style: normal; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--blue-2); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.ib-chat { display: flex; flex-direction: column; gap: 8px; padding: 14px; background-color: var(--bg); background-image: var(--doodle); background-size: 240px; }
.bub { max-width: 78%; padding: 8px 11px; border-radius: 14px; }
.bub.in { align-self: flex-start; background: var(--in); border-bottom-left-radius: 4px; }
.bub.out { align-self: flex-end; background: var(--out); border-bottom-right-radius: 4px; }
.bub.img { padding: 4px; }
.ib-input { margin-top: auto; padding: 10px 12px; border-radius: 10px; background: var(--panel); color: var(--faint); }

.call { padding: 16px; border-radius: 14px; background: linear-gradient(170deg, #1C2B3E, #13202D); border: 1px solid var(--line-2); box-shadow: 0 24px 60px rgba(2, 8, 16, .5); }
.call-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.call-head small { color: var(--muted); }
.dot-live { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(79, 203, 122, .2); }
.call-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 8px; margin: 18px 0; }
.call-p { position: relative; display: grid; justify-items: center; gap: 6px; }
.call-p .av { width: 52px; height: 52px; font-size: 15px; }
.call-p small { color: var(--muted); font-size: 12px; }
.mic-off { position: absolute; top: 34px; right: calc(50% - 30px); width: 20px; height: 20px; border-radius: 50%; background: #1B2735 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 4a2 2 0 0 1 2 2v4a2 2 0 0 1-4 0V6a2 2 0 0 1 2-2zM6.5 9.5a3.5 3.5 0 0 0 7 0M10 13v2M5 4l10 12' fill='none' stroke='%23F0616A' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat; border: 2px solid #17212B; }
.call-foot { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.call-foot .btn-fake { margin-left: auto; }

/* ---------- feature chapters ---------- */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 700; letter-spacing: -.03em; }
.section-head p { color: #B9C6D4; max-width: 34em; }
.chapter { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(36px, 5vw, 64px) 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.chapter.flip .chapter-copy { order: 2; }
.chapter h3 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 700; letter-spacing: -.025em; }
.chapter-copy > p:not(.eyebrow) { margin-top: 14px; color: #B9C6D4; }
.chapter-shot { min-width: 0; }

.band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mini-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: start; }
.mini { padding: 22px; border-radius: var(--r-l); background: var(--panel); border: 1px solid var(--line); }
.mini.wide { grid-column: span 2; }
.mini h3 { font-size: 19px; font-weight: 650; }
.mini p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.mini-shot { margin-bottom: 18px; }
.prof { display: grid; gap: 12px; }
.prof-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; }
.prof-grid .av { width: 100%; height: auto; aspect-ratio: 1; font-size: 9px; }
.prof-card { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: #0F1822; border: 1px solid var(--line); font-size: 13px; }
.prof-card small { display: block; color: var(--muted); font-size: 12px; }
.themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.th { display: grid; grid-template-columns: 22% 1fr; grid-template-rows: 1fr auto; height: 128px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-2); font-size: 12px; }
.th b { grid-column: 1 / -1; padding: 6px 8px; font-weight: 600; }
.th-main { display: grid; gap: 6px; align-content: start; padding: 8px; }
.th-main i { display: block; height: 14px; border-radius: 5px; }
.th-dark { background: #0E1621 var(--doodle) 0 0 / 160px; } .th-dark .th-side { background: #17212B; } .th-dark i { background: #2B5278; } .th-dark i:nth-child(2) { background: #1B2735; width: 70%; } .th-dark b { background: #17212B; }
.th-pastel { background: linear-gradient(135deg, #E6B7F2, #A9A4F3 60%, #8EA9F2); color: #2B2545; } .th-pastel .th-side { background: rgba(255,255,255,.55); } .th-pastel i { background: #fff; } .th-pastel i:first-child { background: #7A5CF0; width: 60%; } .th-pastel b { background: rgba(255,255,255,.7); }
.th-pink { background: #FFF7FA; color: #25232A; } .th-pink .th-side { background: #FFE1EA; } .th-pink i { background: #F43F75; width: 55%; } .th-pink i:nth-child(n+2) { background: #F0D6DF; width: 100%; } .th-pink b { background: #FFF0F5; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.steps li { counter-increment: step; padding: 24px; border-radius: var(--r-l); border: 1px solid var(--line); background: var(--panel); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 32px; margin-bottom: 16px; border-radius: 4px; background: var(--lcd-bg); color: var(--lcd); font-family: var(--mono); font-weight: 700; box-shadow: inset 0 1px 3px rgba(0,0,0,.6); }
.steps b { display: block; font-size: 19px; font-family: var(--display); }
.steps span { display: block; margin-top: 8px; color: var(--muted); font-size: 15px; }

/* ---------- plans ---------- */
.purchase-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-l); background: var(--panel); border: 1px solid var(--line-2); }
.plan.featured { background: linear-gradient(180deg, #3A3326, var(--panel) 55%); border-color: var(--orange); box-shadow: 0 24px 60px rgba(245, 162, 51, .10); }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan-head h3 { font-size: 22px; }
.tag { padding: 4px 10px; border-radius: 999px; background: var(--orange); color: #2A1700; font-size: 12px; font-weight: 700; }
.price { margin-top: 18px; font-family: var(--display); font-size: 34px; font-weight: 700; letter-spacing: -.02em; }
.plan-days { color: var(--muted); }
.plan .ticks { margin: 20px 0 24px; flex: 1; }
.plan-desc { color: var(--muted); }
.plan-order-link { display: block; margin-top: 12px; text-align: center; color: var(--muted); font-size: 14px; }
.plan-order-link:hover { color: var(--text); }
.plan-info { margin-top: 22px; color: var(--muted); font-size: 14px; text-align: center; }

/* ---------- faq & support ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px 64px; }
.faq-grid h2 { font-size: clamp(30px, 3.4vw, 42px); }
.faq-grid > div > .muted { margin-top: 12px; }
.faq-list { display: grid; gap: 10px; }
details { border: 1px solid var(--line); border-radius: var(--r-m); background: var(--panel); }
summary { cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 600; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
details p { padding: 0 20px 18px; color: #B9C6D4; }
.support-band { box-shadow: var(--bevel); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: clamp(56px, 7vw, 96px); padding: clamp(28px, 4vw, 44px); border-radius: 24px; background: linear-gradient(180deg, #343B42, #2A3036); border: 1px solid var(--line); }
.support-band h2 { font-size: clamp(24px, 2.6vw, 32px); }
.support-band p { margin-top: 6px; color: #B9C6D4; }
.support-band .button { margin-left: auto; }

/* ---------- inner pages (account, checkout, admin) ---------- */
body[data-page="inner"] main { padding-bottom: 80px; }
.page-head { padding: clamp(40px, 6vw, 72px) 0 28px; max-width: 760px; }
.page-head h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 700; letter-spacing: -.03em; }
.page-head > p:not(.eyebrow) { margin-top: 12px; color: #B9C6D4; }
.panel { padding: 24px; border-radius: var(--r-l); background: var(--panel); border: 1px solid var(--line); box-shadow: var(--bevel); }
.panel.narrow { max-width: 480px; }
.panel h2, .panel h3 { margin-bottom: 6px; }
.panel h3 { font-size: 19px; }
.panel.empty, .empty { color: var(--muted); }
.stack { display: grid; gap: 14px; }
.tabs { display: flex; gap: 4px; padding: 4px; margin-bottom: 20px; border-radius: 999px; background: #0F1822; border: 1px solid var(--line); overflow-x: auto; }
.tab { flex: 1; height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-weight: 600; white-space: nowrap; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--raise); color: var(--orange-2); box-shadow: var(--bevel); }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; font-size: 14px; color: #C3CFDC; font-weight: 600; }
input, textarea, select { width: 100%; padding: 12px 14px; border-radius: 6px; border: 1px solid var(--line); background: #1A1F23; color: var(--text); box-shadow: inset 0 1px 2px rgba(0,0,0,.4); }
input:focus, textarea:focus { outline: none; border-color: var(--orange); }
textarea { min-height: 96px; resize: vertical; }
input[type="checkbox"] { width: 18px; height: 18px; padding: 0; accent-color: var(--blue); }
label.check, .panel > label { display: flex; align-items: center; gap: 10px; margin: 14px 0; color: #C3CFDC; }
.hint { margin-top: 6px; font-size: 13px; color: var(--muted); }
.form-error { min-height: 20px; color: var(--bad); font-size: 14px; }
.code { padding: 12px 14px; border-radius: 10px; background: #0F1822; border: 1px solid var(--line); font-family: var(--mono); font-size: 14px; word-break: break-all; margin: 12px 0; }
.code.small { font-size: 12px; }
.note { margin: 14px 0; padding: 12px 14px; border-radius: 10px; background: rgba(42, 171, 238, .08); border: 1px solid rgba(42, 171, 238, .25); color: #CFE7F7; font-size: 14px; }
.note.warning { background: rgba(242, 181, 68, .08); border-color: rgba(242, 181, 68, .3); color: #F6DFB0; }
.account-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.account-head .actions { margin-top: 0; }
.account-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.account-grid .section-head { display: block; margin-bottom: 14px; }
.account-grid .section-head h2 { font-size: 22px; }
.license-card { border-color: rgba(245, 162, 51, .45); background: linear-gradient(180deg, #3A3326, var(--panel)); }
.row { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; padding-top: 0; }
.row .eyebrow { margin-bottom: 4px; }
.badge { display: inline-block; margin: 6px 0; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #243447; color: #C3CFDC; }
.badge.fulfilled { background: rgba(79, 203, 122, .15); color: var(--ok); }
.badge.awaiting_payment, .badge.payment_review, .badge.quote_requested { background: rgba(242, 181, 68, .14); color: var(--warn); }
.badge.paid, .badge.delivering { background: rgba(42, 171, 238, .15); color: var(--blue); }
.badge.cancelled { background: rgba(240, 97, 106, .12); color: #FFB3B8; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 20px; align-items: start; margin-bottom: 24px; }
.meta { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.meta span { color: var(--muted); }
.order-total { margin: 10px 0; font-family: var(--display); font-size: 34px; font-weight: 700; }
.payment-value { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 8px 0 14px; padding: 10px 12px; border-radius: 10px; background: #0F1822; border: 1px solid var(--line); font-family: var(--mono); }
.section-rule { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat { padding: 18px; border-radius: var(--r-m); background: var(--panel); border: 1px solid var(--line); }
.stat span { display: block; color: var(--muted); font-size: 14px; }
.stat strong { display: block; margin-top: 4px; font-size: 26px; font-family: var(--display); }
.table-wrap { overflow-x: auto; margin-top: 12px; }
.table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.table td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table input { width: 140px; padding: 8px 10px; }
.admin-plans, .form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.prose { max-width: 760px; }
.prose h2 { margin: 36px 0 10px; font-size: 24px; }
.prose p { color: #C3CFDC; margin-bottom: 12px; }
.prose .faq-grid { grid-template-columns: 1fr; margin-top: 12px; }
#notice { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 12px; background: #EEF3F8; color: #0E1621; font-weight: 600; box-shadow: 0 16px 40px rgba(0, 0, 0, .4); }
dialog { width: min(440px, calc(100% - 32px)); padding: 26px; border-radius: var(--r-l); border: 1px solid var(--line-2); background: var(--panel); color: var(--text); }
dialog::backdrop { background: rgba(4, 9, 16, .7); }
dialog h2 { font-size: 22px; }
dialog p:not(.eyebrow) { margin-top: 8px; color: var(--muted); }
dialog .actions { justify-content: flex-end; }
noscript { display: block; padding: 20px; text-align: center; }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .hero-grid, .chapter, .section-head, .faq-grid, .checkout-layout, .account-grid { grid-template-columns: minmax(0, 1fr); }
  .chapter.flip .chapter-copy { order: 0; }
  .mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans, .steps { grid-template-columns: minmax(0, 1fr); }
  .plans { max-width: 520px; }
}
@media (max-width: 720px) {
  .header { padding: 12px 16px; }
  .header nav a:not(.account-link):not([href="/shop"]) { display: none; }
  .brand span { display: none; }
  .app { grid-template-columns: 1fr; }
  .app-side, .app-clones { display: none; }
  .duo { grid-template-columns: minmax(0, 1fr); }
  .inbox { grid-template-columns: 1fr; }
  .ib-list { display: none; }
  .post-body { grid-template-columns: 1fr; }
  .emo-grid { grid-template-columns: repeat(6, 1fr); }
  .mini-grid { grid-template-columns: minmax(0, 1fr); }
  .mini.wide { grid-column: auto; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer { grid-template-columns: 1fr; }
  .support-band .button { margin-left: 0; }
  .shot-caption { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .win-hero .feed-row, .win-hero .feed-row .ok, .tg-c { opacity: 1; }
}

/* ================= Studio workspace (home page) ================= */
.sprite { position: absolute; width: 0; height: 0; }
.ico { width: 16px; height: 16px; flex: none; }
.intro { padding: clamp(36px, 5vw, 64px) 0 28px; }
.intro-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 48px; align-items: end; }
.intro h1 { font-size: clamp(34px, 4.2vw, 56px); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; max-width: 15em; }
.intro .lead { margin-top: 16px; font-size: clamp(16px, 1.4vw, 18px); color: #C5CDD5; max-width: 40em; }
.intro .actions { margin-top: 0; }
.wrap.wide { width: min(1440px, 100% - 32px); }
.shot-caption { margin-top: 10px; font-size: 13px; color: var(--faint); }
.studio { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #262B30; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); font-size: 13px; line-height: 1.35; }
.tbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 8px 10px; background: linear-gradient(180deg, #424A52, #353C42); border-bottom: 1px solid var(--line); box-shadow: var(--bevel); }
.tbar-transport { display: flex; align-items: center; gap: 6px; }
.tbtn { display: grid; place-items: center; width: 40px; height: 34px; border-radius: 5px; border: 1px solid var(--line); background: linear-gradient(180deg, #4D565F, #3A4249); color: #D7DDE2; box-shadow: var(--bevel); cursor: pointer; }
.tbtn .ico { width: 18px; height: 18px; }
.tbtn:hover { color: #fff; }
.tbtn.play { color: var(--ok); }
.tbtn.play.on { background: linear-gradient(180deg, #4E7A57, #36573E); color: #DFFFE8; }
.lcd { display: grid; align-content: center; min-width: 108px; height: 34px; padding: 0 10px; border-radius: 4px; background: var(--lcd-bg); border: 1px solid #000; box-shadow: inset 0 1px 4px rgba(0, 0, 0, .7); font-family: var(--mono); color: var(--lcd); }
.lcd.small { min-width: 64px; }
.lcd small { font-size: 9px; color: #5E8C6C; letter-spacing: .08em; line-height: 1; }
.lcd b { font-size: 17px; line-height: 1.1; letter-spacing: .04em; text-shadow: 0 0 8px rgba(157, 245, 184, .35); font-variant-numeric: tabular-nums; }
.hintbar { flex: 1 1 260px; min-width: 0; height: 34px; padding: 0 12px; display: flex; align-items: center; border-radius: 4px; background: #1D2226; border: 1px solid var(--line); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .5); color: var(--orange-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.studio-grid { display: grid; grid-template-columns: 200px minmax(0, 1fr); min-height: 480px; }
.browser { display: flex; flex-direction: column; gap: 1px; padding-bottom: 8px; background: #2A2F34; border-right: 1px solid var(--line); }
.panel-title { padding: 7px 12px; background: linear-gradient(180deg, #3D454C, #343B41); color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; box-shadow: var(--bevel); }
.br-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border: 0; background: transparent; color: #C9D1D8; text-align: left; cursor: pointer; border-left: 3px solid transparent; }
.br-item:hover { background: #333A40; color: #fff; }
.br-item.on { background: #3A3328; color: var(--orange-2); border-left-color: var(--orange); }
.browser-foot { margin-top: auto; padding: 10px 12px 0; color: var(--faint); font-size: 11px; }
.stage { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 0; background: repeating-linear-gradient(90deg, #22272B 0 1px, transparent 1px 24px), #24292E; min-width: 0; }
.fwin { margin: 14px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #2B3136; box-shadow: 0 14px 34px rgba(0, 0, 0, .4); min-width: 0; align-self: start; }
.fwin-bar { display: flex; align-items: center; gap: 8px; padding: 6px 10px; background: linear-gradient(180deg, #505962, #3F474E); color: #F1F4F6; box-shadow: var(--bevel); font-size: 12px; }
.fwin-bar .ico { color: var(--orange-2); }
.grip { width: 10px; height: 12px; background: radial-gradient(circle, #8C969F 1px, transparent 1.5px) 0 0 / 5px 4px; }
.fwin-ctl { margin-left: auto; display: flex; gap: 5px; }
.fwin-ctl i { width: 11px; height: 11px; border-radius: 2px; background: #2F363C; border: 1px solid #1F2428; }
.fwin-body { min-width: 0; }
.finfo { padding: 20px 18px; border-left: 1px solid var(--line); background: #2A2F34; }
.finfo h3 { font-size: 22px; letter-spacing: -.02em; }
.finfo p { margin-top: 10px; color: #C5CDD5; font-size: 14px; line-height: 1.55; }
.finfo .ticks li { color: #C5CDD5; font-size: 14px; }

/* Playlist */
.pl { --head: 150px; }
.pl-ruler { display: grid; grid-template-columns: var(--head) minmax(0, 1fr); background: #353C42; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 10px; color: var(--muted); }
.pl-corner { padding: 5px 10px; border-right: 1px solid var(--line); font-family: var(--sans); font-weight: 700; }
.pl-hours { display: grid; grid-template-columns: repeat(15, 1fr); }
.pl-hours span { padding: 5px 0 5px 3px; border-left: 1px solid #485058; }
.pl-tracks { position: relative; }
.pl-track { display: grid; grid-template-columns: var(--head) minmax(0, 1fr); height: 42px; border-bottom: 1px solid #1E2327; }
.pl-head { display: flex; align-items: center; gap: 7px; padding: 0 8px; background: linear-gradient(180deg, #3A4148, #31373D); border-right: 1px solid var(--line); min-width: 0; }
.pl-head b { flex: 1; min-width: 0; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.led { width: 8px; height: 8px; border-radius: 50%; background: #1E2A22; box-shadow: inset 0 1px 1px rgba(0,0,0,.6); flex: none; }
.led.on { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.pl-lane { position: relative; background: repeating-linear-gradient(90deg, transparent 0 calc(100% / 15 - 1px), #2A3035 calc(100% / 15 - 1px) calc(100% / 15)), #262B30; }
.pl-track:nth-child(odd) .pl-lane { background-color: #282E33; }
.clip { position: absolute; top: 4px; bottom: 4px; display: flex; flex-direction: column; justify-content: center; padding: 0 6px; border-radius: 3px; overflow: hidden; white-space: nowrap; font-size: 10px; line-height: 1.15; color: #10161A; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -1px 0 rgba(0,0,0,.25); }
.clip b { font-family: var(--mono); font-size: 9px; opacity: .75; }
.clip.c1 { background: #8FD3A0; } .clip.c2 { background: #8FC0EE; } .clip.c3 { background: #C3A8F0; } .clip.c4 { background: #F2C37E; } .clip.c5 { background: #EE9BB6; }
.clip.fired { filter: saturate(.55) brightness(.8); }
.clip.flash { outline: 2px solid #fff; filter: none; }
.playhead { position: absolute; top: 0; left: 0; width: 2px; background: var(--orange); box-shadow: 0 0 10px var(--orange); pointer-events: none; }
.playhead::before { content: ""; position: absolute; top: -1px; left: -5px; border: 6px solid transparent; border-top: 8px solid var(--orange); }
.pl-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 7px 10px; background: #31373D; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }

/* shared bits inside windows */
.field-fake { display: block; padding: 7px 10px; border-radius: 4px; background: #1D2226; border: 1px solid var(--line); box-shadow: inset 0 1px 3px rgba(0,0,0,.45); color: #D6DCE1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.field-fake.mono { font-family: var(--mono); font-size: 11px; }
.sw { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: #C9D1D8; }
.sw::before { content: ""; width: 26px; height: 14px; border-radius: 999px; background: #1D2226; box-shadow: inset 0 1px 2px rgba(0,0,0,.6); }
.sw.on::before { background: radial-gradient(circle at 19px 7px, #fff 0 5px, transparent 5.5px), var(--orange); }
.btn-fake { padding: 7px 12px; border-radius: 4px; background: linear-gradient(180deg, var(--orange-2), var(--orange)); color: #2A1700; font-weight: 700; font-size: 12px; white-space: nowrap; box-shadow: var(--bevel); }
.row-end { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12px; }
.art { display: block; width: 100%; height: 100%; background: radial-gradient(circle at 72% 30%, #FFE1A6 0 12%, transparent 13%), linear-gradient(180deg, transparent 55%, rgba(0,0,0,.25)), linear-gradient(200deg, #F6A65B 0%, #E46A6A 45%, #6A4FB8 100%); }
.art.small { width: 150px; height: 90px; border-radius: 8px; }
.art.tall { height: 120px; border-radius: 8px; background: radial-gradient(circle at 30% 40%, #FFF2C4 0 9%, transparent 10%), linear-gradient(160deg, #3DA35D, #1F6F8B 60%, #1B3B6F); }
.caret { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--orange); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Channel rack */
.rack { padding: 12px; display: grid; gap: 4px; }
.rack-top { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.rack-top .field-fake { flex: 1 1 220px; }
.rack-head, .rack-row { display: grid; grid-template-columns: 170px repeat(8, minmax(0, 1fr)); gap: 4px; align-items: center; }
.rack-head span { text-align: center; font-size: 16px; }
.rack-name { display: flex; align-items: center; gap: 7px; padding: 5px 8px; border-radius: 3px; background: linear-gradient(180deg, #4A535B, #3C444B); box-shadow: var(--bevel); font-size: 12px; white-space: nowrap; overflow: hidden; }
.pad { height: 26px; border-radius: 3px; background: linear-gradient(180deg, #474F57, #3A4148); box-shadow: var(--bevel); }
.pad.on { background: linear-gradient(180deg, #FFB95C, #E58A1F); box-shadow: 0 0 10px rgba(245,162,51,.35), var(--bevel); }
.rack-row:nth-child(4n+3) .pad:not(.on), .rack-row:nth-child(4n+4) .pad:not(.on) { background: linear-gradient(180deg, #535C64, #444C53); }
.rack-foot { margin-top: 8px; color: var(--muted); font-size: 12px; }

/* Sender */
.sender { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 12px; padding: 12px; }
.sender-media { position: relative; height: 230px; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); }
.sender-media .tagline { position: absolute; left: 8px; top: 8px; padding: 2px 8px; border-radius: 3px; background: rgba(0,0,0,.55); font-size: 11px; }
.wave { position: absolute; left: 0; right: 0; bottom: 0; height: 46px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 2px, transparent 2px 5px); -webkit-mask: linear-gradient(0deg, #000, transparent); mask: radial-gradient(60% 100% at 50% 100%, #000 40%, transparent 70%); opacity: .7; }
.sender-side { display: grid; gap: 10px; align-content: start; min-width: 0; }
.caption-fake { padding: 9px 10px; min-height: 64px; border-radius: 4px; background: #1D2226; border: 1px solid var(--line); box-shadow: inset 0 1px 3px rgba(0,0,0,.45); }
.chk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.chk { display: flex; align-items: center; gap: 7px; padding: 4px 7px; border-radius: 3px; background: #31373D; font-size: 12px; white-space: nowrap; overflow: hidden; }
.chk::before { content: ""; width: 12px; height: 12px; border-radius: 2px; background: #1D2226; box-shadow: inset 0 1px 2px rgba(0,0,0,.6); flex: none; }
.chk.on::before { background: var(--orange); box-shadow: none; }

/* Inbox (Telegram look) */
.ibx { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 330px; }
.ibx-list { background: #17212B; border-right: 1px solid #0E1621; padding: 6px; display: grid; align-content: start; gap: 2px; }
.ibx-row { display: flex; gap: 8px; align-items: center; padding: 7px; border-radius: 8px; }
.ibx-row.on { background: #2B5278; }
.ibx-txt { min-width: 0; flex: 1; }
.ibx-txt b { display: block; font-size: 12px; }
.ibx-txt small { display: block; color: #8696A8; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ibx-row.on small { color: #C9DCF0; }
.ibx-row em { font-style: normal; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #3E8FE0; color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.ibx-chat { display: flex; flex-direction: column; gap: 8px; padding: 14px; background-color: #0E1621; background-image: var(--doodle); background-size: 240px; }
.bub { max-width: 78%; padding: 8px 11px; border-radius: 14px; }
.bub.in { align-self: flex-start; background: var(--in); border-bottom-left-radius: 4px; }
.bub.out { align-self: flex-end; background: var(--out); border-bottom-right-radius: 4px; }
.bub.pic { padding: 4px; }
.ibx-input { margin-top: auto; padding: 9px 12px; border-radius: 10px; background: #17212B; color: #5F7184; }

/* Comments */
.cmt { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 14px; padding: 12px; }
.cmt-post { padding: 6px; border-radius: 10px; background: var(--in); align-self: start; }
.cmt-post p { padding: 8px 4px 2px; }
.cmt-post small { display: block; padding: 0 4px 4px; color: #8696A8; }
.cmt-list { display: grid; gap: 8px; align-content: start; }
.cmt-row { display: flex; gap: 8px; align-items: flex-end; }
.cmt-row > span:not(.av) { padding: 7px 11px; border-radius: 12px 12px 12px 4px; background: #31373D; }
.cmt-row b { display: block; font-size: 11px; color: var(--orange-2); }

/* Mixer (group call) */
.mix { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)) minmax(170px, 1.6fr); gap: 4px; padding: 12px; }
.strip { display: grid; justify-items: center; gap: 6px; padding: 8px 4px; border-radius: 4px; background: linear-gradient(180deg, #3E464D, #31373D); box-shadow: var(--bevel); }
.strip small { font-size: 10px; color: var(--muted); }
.strip-meter { position: relative; width: 10px; height: 120px; border-radius: 2px; background: #15191C; overflow: hidden; }
.lv { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(0deg, #6BD88C 0 60%, #F2D16B 75%, #F07B5A); animation: meter 1.4s ease-in-out infinite alternate; }
.lv.m2 { animation-duration: 1.1s; } .lv.m3 { animation-duration: 1.7s; } .lv.m4 { animation-duration: .9s; }
@keyframes meter { 0% { height: 12%; } 50% { height: 48%; } 100% { height: 26%; } }
.mute { font-size: 9px; padding: 2px 5px; border-radius: 2px; background: rgba(240,97,106,.18); color: #FFB3B8; }
.mix-side { display: grid; gap: 10px; align-content: start; padding: 8px 10px; }
.mix-side .btn-fake { justify-self: start; }

/* Profiles, skins, key */
.prof { padding: 14px; display: grid; gap: 12px; }
.prof-grid { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; }
.prof-grid .av { width: 100%; height: auto; aspect-ratio: 1; font-size: 10px; }
.prof-grid .av.sel { outline: 2px solid var(--orange); outline-offset: 2px; }
.prof-edit { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px; border-radius: 6px; background: #31373D; }
.prof-edit > div { display: grid; gap: 6px; min-width: 0; }
.skins { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 14px; }
.skins > p { grid-column: 1 / -1; }
.skin { display: grid; grid-template-columns: 22% 1fr; grid-template-rows: 1fr auto; height: 170px; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); font-size: 12px; }
.skin b { grid-column: 1 / -1; padding: 6px 8px; font-weight: 600; }
.sk-main { display: grid; gap: 6px; align-content: start; padding: 8px; }
.sk-main i { display: block; height: 16px; border-radius: 4px; }
.th-dark { background: #0E1621 var(--doodle) 0 0 / 160px; } .th-dark .sk-side { background: #17212B; } .th-dark i { background: #2B5278; } .th-dark i:nth-child(2) { background: #1B2735; width: 70%; } .th-dark b { background: #17212B; }
.th-pastel { background: linear-gradient(135deg, #E6B7F2, #A9A4F3 60%, #8EA9F2); color: #2B2545; } .th-pastel .sk-side { background: rgba(255,255,255,.55); } .th-pastel i { background: #fff; } .th-pastel i:first-child { background: #7A5CF0; width: 60%; } .th-pastel b { background: rgba(255,255,255,.7); }
.th-pink { background: #FFF7FA; color: #25232A; } .th-pink .sk-side { background: #FFE1EA; } .th-pink i { background: #F43F75; width: 55%; } .th-pink i:nth-child(n+2) { background: #F0D6DF; width: 100%; } .th-pink b { background: #FFF0F5; }
.reg { padding: 18px; display: grid; gap: 14px; }
.reg-box { display: grid; gap: 10px; padding: 14px; border-radius: 6px; background: #31373D; box-shadow: var(--bevel); }
.ok-dot { display: inline-flex; align-items: center; gap: 7px; color: var(--ok); }
.ok-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }

/* Lịch gửi: điện thoại Telegram bên cạnh timeline */
.stage.has-side { grid-template-columns: minmax(0, 1fr) 300px; grid-template-rows: auto 1fr; }
.stage.has-side .fwin { grid-column: 1; grid-row: 1; }
.stage.has-side .fside { grid-column: 2; grid-row: 1 / span 2; }
.stage.has-side .finfo { grid-column: 1; grid-row: 2; border-left: 0; background: transparent; padding: 4px 18px 20px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); column-gap: 28px; align-content: start; }
.stage.has-side .finfo h3 { grid-column: 1 / -1; }
.stage.has-side .finfo .ticks { margin-top: 10px; }
.fside { display: grid; justify-items: center; align-content: start; gap: 10px; padding: 14px 18px 20px; border-left: 1px solid var(--line); background: #2A2F34; }
.tgp-label { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.tgp-label i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.tgp { position: relative; display: flex; flex-direction: column; width: 254px; height: 520px; padding: 9px; border-radius: 38px; background: linear-gradient(160deg, #3B434A, #1A1F23 60%); box-shadow: 0 0 0 1px #0B0E10, inset 0 0 0 1px rgba(255,255,255,.09), 0 24px 50px rgba(0,0,0,.5); }
.tgp > * { position: relative; }
.tgp::before { content: ""; position: absolute; inset: 9px; border-radius: 30px; background-color: #0E1621; background-image: var(--doodle); background-size: 240px; }
.tgp-status { display: flex; align-items: center; justify-content: space-between; height: 30px; padding: 0 18px 0 22px; color: #fff; font-size: 12px; }
.tgp-status b { font-weight: 600; font-variant-numeric: tabular-nums; }
.tgp-notch { position: absolute; left: 50%; top: 8px; width: 72px; height: 20px; margin-left: -36px; border-radius: 12px; background: #05080A; }
.tgp-sys { display: flex; align-items: flex-end; gap: 2px; height: 10px; }
.tgp-sys i { width: 3px; border-radius: 1px; background: #fff; }
.tgp-sys i:nth-child(1) { height: 4px; } .tgp-sys i:nth-child(2) { height: 6px; } .tgp-sys i:nth-child(3) { height: 8px; } .tgp-sys i:nth-child(4) { height: 10px; }
.tgp-sys em { width: 20px; height: 10px; margin-left: 5px; border-radius: 3px; border: 1px solid rgba(255,255,255,.7); background: linear-gradient(90deg, #fff 0 72%, transparent 72%) 1px 1px / calc(100% - 2px) calc(100% - 2px) no-repeat; }
.tgp-head { display: flex; align-items: center; gap: 9px; padding: 7px 12px; background: #17212B; border-bottom: 1px solid #0B1219; }
.tgp-back { color: var(--blue); font-size: 24px; line-height: 1; margin-top: -3px; }
.tgp-title { display: grid; min-width: 0; line-height: 1.25; }
.tgp-title b { color: #fff; font-size: 13px; }
.tgp-title small { color: #7F91A4; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tgp-title small.typing { color: var(--blue); }
.tgp-chat { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 8px 8px 10px; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 16px); mask-image: linear-gradient(transparent, #000 16px); }
.tgp-day { align-self: center; margin-bottom: auto; padding: 2px 9px; border-radius: 10px; background: rgba(0,0,0,.35); color: #DDE6EE; font-size: 11px; }
.tgp-empty { align-self: center; margin: auto 0; padding: 6px 12px; border-radius: 12px; background: rgba(0,0,0,.35); color: #B8C6D3; font-size: 11px; text-align: center; }
.tgp-msg { display: flex; align-items: flex-end; gap: 6px; animation: tgp-in .28s ease-out; }
.tgp-msg .av { flex: none; }
.tgp-bub { display: grid; gap: 2px; max-width: 190px; padding: 5px 9px 4px; border-radius: 12px 12px 12px 4px; background: #182533; color: #F2F6F9; font-size: 12px; line-height: 1.35; box-shadow: 0 1px 1px rgba(0,0,0,.25); }
.tgp-bub b { font-size: 11.5px; font-weight: 600; }
.tgp-bub b.n1 { color: #FF8A8F; } .tgp-bub b.n2 { color: #FFB46B; } .tgp-bub b.n3 { color: #B8A6FF; } .tgp-bub b.n4 { color: #8FE08A; }
.tgp-bub b.n5 { color: #7FE3E6; } .tgp-bub b.n6 { color: #82C4FF; } .tgp-bub b.n7 { color: #FF9CCB; }
.tgp-bub small { justify-self: end; color: #6D8399; font-size: 10px; font-variant-numeric: tabular-nums; }
.tgp-bub small i { font-style: normal; color: var(--blue); letter-spacing: -2px; }
.tgp-pic.art { width: 172px; height: 92px; border-radius: 8px; margin: 2px 0; }
.tgp-input { display: flex; align-items: center; gap: 8px; margin: 0 2px 2px; padding: 8px 12px; border-radius: 0 0 28px 28px; background: #17212B; color: #6D7F90; font-size: 12px; }
.tgp-input span { flex: 1; }
.tgp-input i { width: 22px; height: 22px; border-radius: 50%; background: var(--blue) url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"%3E%3Cpath d="M4 9.6 15.5 4.4 12.3 15.6 9.8 11.3z" fill="white"/%3E%3C/svg%3E') center / 13px no-repeat; }
.tgp-msg.out { justify-content: flex-end; }
.tgp-msg.out .tgp-bub { background: #2B5278; border-radius: 12px 12px 4px 12px; }
.tgp-msg.out .tgp-bub small { color: #8DB2D6; }
.tgp-msg.solo .tgp-bub { max-width: none; width: 100%; border-radius: 12px; }
.tgp-post.art { width: auto; height: 138px; margin: 2px -5px 2px; border-radius: 8px; }
.tgp-post.short.art { height: 84px; }
.tgp-top { display: grid; gap: 8px; margin-bottom: auto; }
.tgp-top .tgp-day { margin-bottom: 0; justify-self: center; }
.tgp-vid.art { position: relative; display: grid; place-items: center; width: 172px; height: 104px; border-radius: 8px; margin: 2px 0; }
.tgp-vid em { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; font-style: normal; font-size: 10px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; background: radial-gradient(closest-side, rgba(0,0,0,.55) 80%, transparent 82%), conic-gradient(#fff calc(var(--p, 0) * 1%), rgba(255,255,255,.25) 0); }
.tgp-vid em.play { background: rgba(0,0,0,.5); }
.tgp-vid em.play::before { content: ""; margin-left: 4px; border: 9px solid transparent; border-left: 14px solid #fff; border-right: 0; }
.tgp-dur { position: absolute; left: 6px; top: 6px; padding: 1px 6px; border-radius: 8px; background: rgba(0,0,0,.5); color: #fff; font-size: 10px; }
.tgp-reacts { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.tgp-reacts:empty { display: none; }
.tgp-react { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px 2px 6px; border-radius: 12px; background: #2B5278; font-size: 12px; }
.tgp-react b { color: #fff; font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tgp-react.pop { animation: tgp-pop .32s ease-out; }
.tgp-mute { justify-content: center; color: var(--blue); }
/* Gọi nhóm */
.tgp-vc { flex: 1; min-height: 0; display: flex; flex-direction: column; margin: 0 2px 2px; border-radius: 0 0 28px 28px; background: linear-gradient(180deg, #1D2733, #15191F 70%); }
.vc-top { display: grid; justify-items: center; padding: 10px 12px 8px; }
.vc-top b { color: #fff; font-size: 14px; }
.vc-top small { color: #7F91A4; font-size: 11px; }
.vc-top small.typing { color: #7F91A4; }
.vc-list { flex: 1; min-height: 0; display: grid; align-content: start; gap: 2px; padding: 4px 10px; overflow: hidden; }
.vc-row { align-items: center; gap: 9px; padding: 3px 6px; border-radius: 10px; background: rgba(255,255,255,.04); }
.vc-who { display: grid; flex: 1; min-width: 0; line-height: 1.2; }
.vc-who b { color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc-who small { color: #5FA8E8; font-size: 10.5px; }
.vc-mic { width: 16px; height: 16px; color: #8193A5; flex: none; }
.vc-ctl { display: flex; align-items: center; justify-content: space-around; padding: 10px 14px 2px; }
.vc-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #2A3542; color: #CFE0F0; font-size: 10px; }
.vc-btn.leave { background: rgba(240,97,106,.25); color: #FFB3B8; }
.vc-big { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #5AB8FF, #2A7BE0 55%, #6A4FE0); box-shadow: 0 0 0 6px rgba(58,140,240,.15), 0 0 24px rgba(58,140,240,.45); }
.vc-big .vc-mic { width: 28px; height: 28px; color: #fff; }
.vc-note { padding: 4px 0 14px; text-align: center; color: #8193A5; font-size: 11px; }
/* Hồ sơ */
.pf-edit { margin-left: auto; color: var(--blue); font-size: 13px; }
.tgp-prof { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 0 2px 2px; padding: 18px 12px 12px; border-radius: 0 0 28px 28px; background: #0E1621; }
.pf-av { display: grid; place-items: center; width: 84px; height: 84px; margin-bottom: 8px; border-radius: 50%; background: #3A4552; color: #9AA9B8; font-size: 24px; font-weight: 700; transition: transform .3s; }
.pf-av.set { color: #fff; background: linear-gradient(160deg, #FFC27A, #F08A44); animation: tgp-pop .4s ease-out; }
.pf-name { min-height: 22px; color: #fff; font-size: 17px; font-weight: 600; }
.pf-on { color: var(--blue); font-size: 12px; }
.pf-card { align-self: stretch; display: grid; margin-top: 16px; border-radius: 12px; background: #17212B; overflow: hidden; }
.pf-card > div { display: grid; gap: 1px; padding: 8px 12px; border-bottom: 1px solid #0E1621; }
.pf-card > div:last-child { border-bottom: 0; }
.pf-card span { min-height: 17px; color: #F2F6F9; font-size: 12.5px; }
.pf-card span.pf-empty { color: #6D7F90; }
.pf-card small { color: #6D8399; font-size: 10.5px; }
.caret::after { content: ""; display: inline-block; width: 1.5px; height: 1em; margin-left: 1px; vertical-align: -2px; background: var(--blue); animation: blink 1s step-end infinite; }
.pf-toast { position: absolute; left: 50%; bottom: 16px; padding: 6px 14px; border-radius: 14px; background: rgba(30,40,52,.95); color: #fff; font-size: 12px; white-space: nowrap; opacity: 0; transform: translate(-50%, 8px); transition: opacity .25s, transform .25s; }
.pf-toast.on { opacity: 1; transform: translate(-50%, 0); }
/* Hàng đang chạy trong cửa sổ phần mềm, khớp với điện thoại */
.rack-row.hot .rack-name { outline: 1px solid var(--orange); box-shadow: 0 0 12px rgba(245,162,51,.4), var(--bevel); }
.rack-row.hot .pad.on { filter: brightness(1.25); }
.cmt-row.hot > span:not(.av) { outline: 1px solid var(--orange); box-shadow: 0 0 12px rgba(245,162,51,.35); }
.strip.hot { outline: 1px solid var(--orange); box-shadow: 0 0 12px rgba(245,162,51,.4), var(--bevel); }
.ibx-chat .bub.hot { outline: 1px solid var(--orange); box-shadow: 0 0 12px rgba(245,162,51,.35); }
.btn-fake.hot { filter: brightness(1.2); box-shadow: 0 0 0 2px rgba(245,162,51,.45), 0 0 14px rgba(245,162,51,.4); }
@keyframes tgp-pop { 0% { transform: scale(.6); } 60% { transform: scale(1.15); } 100% { transform: none; } }
@keyframes tgp-in { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tgp-msg, .tgp-react.pop, .pf-av.set { animation: none; } .caret::after { animation: none; } }

@media (max-width: 1180px) {
  .stage { grid-template-columns: minmax(0, 1fr); }
  .finfo { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .intro-row { grid-template-columns: minmax(0, 1fr); }
  .studio-grid { grid-template-columns: minmax(0, 1fr); }
  .browser { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 0; }
  .panel-title, .browser-foot { display: none; }
  .br-item { width: auto; flex: none; border-left: 0; border-bottom: 3px solid transparent; }
  .br-item.on { border-bottom-color: var(--orange); }
  .pl { --head: 44px; }
  .pl-head b { display: none; }
  .pl-hours span:nth-child(even) { visibility: hidden; }
  .clip { font-size: 0; } .clip b { font-size: 0; }
  .sender, .cmt, .ibx { grid-template-columns: minmax(0, 1fr); }
  .ibx-list { display: none; }
  .rack-head, .rack-row { grid-template-columns: 34px repeat(8, minmax(0, 1fr)); }
  .rack-name { font-size: 0; padding: 4px; justify-content: center; }
  .mix { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mix-side { grid-column: 1 / -1; }
  .skins { grid-template-columns: minmax(0, 1fr); }
  .skin { height: 110px; }
  .lcd.small:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) { .lv { height: 30%; } }

/* ---- Admin · Key bản quyền ---- */
.key-grid { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: 20px; align-items: start; }
.key-grid h3, .key-out h3 { margin: 0 0 12px; }
.lbl-text { display: block; margin-bottom: 8px; font-weight: 600; font-size: 14px; color: var(--text); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--muted); font-size: 13px; }
.seg input:checked + span { background: var(--blue-deep); border-color: var(--blue); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.key-out { margin-bottom: 20px; border-color: var(--blue); }
.key-out textarea { width: 100%; box-sizing: border-box; font: 12px/1.5 ui-monospace, Consolas, monospace; background: var(--lcd-bg); color: var(--lcd); border: 1px solid var(--line); border-radius: var(--r-s); padding: 10px; resize: vertical; word-break: break-all; margin-bottom: 12px; }
.key-search { min-width: 200px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); font: inherit; font-size: 13px; }
.key-list .table td .actions { flex-wrap: nowrap; }
.badge.active { background: rgba(79, 203, 122, .15); color: var(--ok); }
.badge.soon { background: rgba(242, 181, 68, .14); color: var(--warn); }
.badge.expired { background: rgba(154, 165, 175, .14); color: var(--muted); }
.badge.revoked { background: rgba(240, 97, 106, .12); color: #FFB3B8; }
@media (max-width: 900px) { .key-grid { grid-template-columns: minmax(0, 1fr); } .key-search { min-width: 0; width: 100%; } }

@media (max-width: 1180px) {
  .stage.has-side { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .stage.has-side .fwin, .stage.has-side .fside, .stage.has-side .finfo { grid-column: 1; grid-row: auto; }
  .stage.has-side .fside { border-left: 0; border-top: 1px solid var(--line); }
  .stage.has-side .finfo { border-top: 1px solid var(--line); background: #2A2F34; padding: 20px 18px; }
}
@media (max-width: 720px) {
  .stage.has-side .finfo { grid-template-columns: minmax(0, 1fr); }
}

/* ================= Cruip-style skin (telegramdark.com) ================= */
:root {
  --bg: #030712;
  --bg-2: #060B16;
  --panel: #0B1120;
  --raise: #111A2E;
  --line: rgba(148, 163, 184, .10);
  --line-2: rgba(148, 163, 184, .18);
  --text: #E5E7EB;
  --muted: #94A3B8;
  --faint: #64748B;
  --indigo: #6366F1;
  --indigo-2: #818CF8;
  --cyan: #22D3EE;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --bevel: none;
}
body { background: var(--bg); background-image: radial-gradient(60% 40% at 50% -10%, rgba(99, 102, 241, .18), transparent 70%); background-attachment: fixed; }
h1, h2, h3 { letter-spacing: -.03em; }
.grad-title { background: linear-gradient(180deg, #F8FAFC 0%, #CBD5E1 55%, #94A3B8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-title.accent, .stat-x b { background: linear-gradient(90deg, #C7D2FE, #E0E7FF 40%, #A5B4FC); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* header / footer */
.header { background: rgba(3, 7, 18, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); box-shadow: none; }
.header nav a { color: var(--muted); font-weight: 500; }
.header nav a:hover { color: #fff; }
.header .account-link { color: #fff; background: linear-gradient(180deg, #1E293B, #0F172A); border-color: var(--line-2); }
.header .account-link:hover { border-color: var(--indigo-2); }
.footer { background: var(--bg-2); border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; left: 50%; bottom: -220px; width: 720px; height: 360px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(99, 102, 241, .22), transparent); pointer-events: none; }
.footer > * { position: relative; }

/* primitives */
.eyebrow { color: var(--indigo-2); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(15, 23, 42, .6); color: #C7D2FE; font-size: 13px; font-weight: 500; letter-spacing: .01em; }
.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.button { background: linear-gradient(180deg, #1E293B, #0F172A); border-color: var(--line-2); color: #fff; }
.button:hover { background: linear-gradient(180deg, #273449, #16213A); }
.button.accent, .button.glow { background: linear-gradient(90deg, #6366F1, #4F46E5); color: #fff; border-color: transparent; box-shadow: 0 0 0 1px rgba(129, 140, 248, .35), 0 10px 30px rgba(99, 102, 241, .35); }
.button.accent:hover, .button.glow:hover { background: linear-gradient(90deg, #818CF8, #6366F1); }
.button.secondary, .button.ghost { background: linear-gradient(180deg, #1E293B, #0F172A); border-color: var(--line-2); color: #E2E8F0; }
.button.secondary:hover, .button.ghost:hover { border-color: var(--indigo-2); background: linear-gradient(180deg, #273449, #16213A); }
.button .arrow { color: #C7D2FE; margin-left: 2px; }
.actions.center { justify-content: center; }
.text-link { color: var(--indigo-2); }
.ticks li::before { background-color: rgba(99, 102, 241, .18); }
.panel { background: linear-gradient(180deg, rgba(30, 41, 59, .5), rgba(15, 23, 42, .6)); border-color: var(--line); backdrop-filter: blur(6px); }

/* hero */
.hero-x { position: relative; overflow: hidden; padding: clamp(64px, 9vw, 128px) 0 clamp(28px, 4vw, 48px); text-align: center; }
.hero-glow { position: absolute; left: 50%; top: -260px; width: 1100px; height: 640px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(99, 102, 241, .35), rgba(99, 102, 241, .06) 60%, transparent 75%); filter: blur(10px); pointer-events: none; }
.hero-x::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(148, 163, 184, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, .06) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(60% 60% at 50% 30%, #000, transparent); mask-image: radial-gradient(60% 60% at 50% 30%, #000, transparent); pointer-events: none; }
.hero-x-inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: 22px; max-width: 880px; }
.hero-x h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 800; line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; }
.hero-x-lead { font-size: clamp(17px, 1.6vw, 20px); color: #B6C2D3; max-width: 38em; line-height: 1.6; }
.hero-x-note { font-size: 14px; color: var(--faint); }
.studio-wrap { position: relative; z-index: 1; }
.studio { box-shadow: 0 0 0 1px rgba(129, 140, 248, .22), 0 40px 120px rgba(2, 6, 23, .8), 0 0 80px rgba(99, 102, 241, .15); border-color: transparent; }

/* stats */
.stats-x { padding: clamp(40px, 6vw, 72px) 0 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, rgba(30, 41, 59, .35), rgba(15, 23, 42, .5)); overflow: hidden; }
.stat-x { padding: 26px 24px; border-right: 1px solid var(--line); display: grid; gap: 6px; }
.stat-x:last-child { border-right: 0; }
.stat-x b { font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.stat-x span { color: var(--muted); font-size: 14px; }

/* section heads & cards */
.section-head-x { display: grid; justify-items: center; text-align: center; gap: 16px; max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section-head-x h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; line-height: 1.08; text-wrap: balance; }
.section-head-x p:not(.pill) { color: #B6C2D3; font-size: 17px; }
.cards-x { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.card-x { position: relative; padding: 30px 28px; background: linear-gradient(180deg, rgba(15, 23, 42, .9), rgba(3, 7, 18, .9)); transition: background .2s; }
.card-x::before { content: ""; position: absolute; left: 50%; top: 0; width: 60%; height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(129, 140, 248, .6), transparent); opacity: 0; transition: opacity .2s; }
.card-x:hover { background: linear-gradient(180deg, rgba(30, 41, 59, .7), rgba(15, 23, 42, .9)); }
.card-x:hover::before { opacity: 1; }
.card-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(180deg, rgba(99, 102, 241, .3), rgba(99, 102, 241, .08)); border: 1px solid rgba(129, 140, 248, .35); color: #C7D2FE; margin-bottom: 18px; }
.card-ico .ico { width: 22px; height: 22px; }
.card-x h3 { font-size: 18px; font-weight: 700; color: #F1F5F9; }
.card-x p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* steps */
.steps-x { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps-x li { position: relative; padding: 28px 26px; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(30, 41, 59, .35), rgba(15, 23, 42, .5)); }
.steps-x i { display: block; font-style: normal; font-family: var(--mono); font-size: 13px; color: var(--indigo-2); letter-spacing: .12em; margin-bottom: 14px; }
.steps-x b { display: block; font-size: 19px; font-weight: 700; color: #F1F5F9; }
.steps-x span { display: block; margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* plans */
.plan { background: linear-gradient(180deg, rgba(30, 41, 59, .35), rgba(15, 23, 42, .55)); border-color: var(--line-2); border-radius: 18px; }
.plan.featured { background: linear-gradient(180deg, rgba(99, 102, 241, .22), rgba(15, 23, 42, .7) 60%); border-color: rgba(129, 140, 248, .6); box-shadow: 0 0 0 1px rgba(129, 140, 248, .2), 0 30px 80px rgba(99, 102, 241, .22); }
.tag { background: linear-gradient(90deg, #6366F1, #4F46E5); color: #fff; }
.price { background: linear-gradient(180deg, #F8FAFC, #CBD5E1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan .button.secondary { background: linear-gradient(180deg, #1E293B, #0F172A); }
.plan-info { color: var(--faint); }

/* faq */
.faq-list details { border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(180deg, rgba(30, 41, 59, .3), rgba(15, 23, 42, .5)); }
.faq-list summary { padding: 16px 18px; cursor: pointer; font-weight: 600; color: #F1F5F9; list-style: none; position: relative; padding-right: 44px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--indigo-2); font-weight: 500; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { padding: 0 18px 16px; color: var(--muted); line-height: 1.6; }
.faq-grid h2 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; background: linear-gradient(180deg, #F8FAFC, #94A3B8); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* closing CTA */
.cta-x { position: relative; overflow: hidden; padding: clamp(72px, 9vw, 120px) 0; text-align: center; border-top: 1px solid var(--line); }
.cta-glow { position: absolute; left: 50%; top: 50%; width: 900px; height: 500px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(99, 102, 241, .28), transparent 70%); filter: blur(12px); pointer-events: none; }
.cta-x-inner { position: relative; display: grid; justify-items: center; gap: 14px; max-width: 720px; }
.cta-x h2 { font-size: clamp(30px, 4vw, 52px); font-weight: 800; line-height: 1.06; }
.cta-x p { color: #B6C2D3; font-size: 17px; }

/* inner pages */
.page-head h1 { background: linear-gradient(180deg, #F8FAFC, #94A3B8); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.studio .browser, .studio .tbar { border-color: var(--line); }

@media (max-width: 1040px) {
  .cards-x { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-x:nth-child(2) { border-right: 0; }
  .stat-x:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps-x { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .cards-x { grid-template-columns: minmax(0, 1fr); }
  .stats-grid { grid-template-columns: minmax(0, 1fr); }
  .stat-x { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat-x:last-child { border-bottom: 0; }
}

/* Bot management tab: stand out from the store tabs. */
.tab.tab-bot{color:#ffd27a;font-weight:700;box-shadow:inset 0 0 0 1px #f5a23366}
.tab.tab-bot[aria-selected="true"]{background:#f5a233;color:#1a1204;box-shadow:none}
