:root {
    color-scheme: light dark;
    --font: Roboto, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';

    --page: #e5ebef;
    --text: #000;
    --sec: #7d7f81;
    --box: #fff;
    --box-blur: rgba(255, 255, 255, 0.84);
    --acc: #2481cc;
    --acc-bg: rgba(36, 129, 204, 0.12);
    --btn: #2481cc;
    --svc: rgba(74, 142, 58, 0.55);
    --shadow: rgba(0, 0, 0, 0.1);
    --spoiler: #e3e5e8;
    --media-bg: rgba(125, 127, 129, 0.18);

    --sat: env(safe-area-inset-top, 0px);
    --sab: env(safe-area-inset-bottom, 0px);
    --sal: env(safe-area-inset-left, 0px);
    --sar: env(safe-area-inset-right, 0px);

    --hdr: 48px;

    --ico-eye: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath fill-rule='evenodd' d='M8 0C4.8 0 2.2 1.8 0 5c2.2 3.2 4.8 5 8 5s5.8-1.8 8-5C13.8 1.8 11.2 0 8 0zm0 1.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 0 1 0-7zm0 1.8a1.7 1.7 0 1 0 0 3.4 1.7 1.7 0 0 0 0-3.4z'/%3E%3C/svg%3E");
    --ico-cm: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1C3.2 1 1 2.9 1 5.3c0 1.3.7 2.5 1.7 3.3L2 11l2.7-1.3c.4.1.9.2 1.3.2 2.8 0 5-1.9 5-4.3S8.8 1 6 1z' fill='none' stroke='%23000' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E");
    --ico-quote: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 18v-5.2C3 8.4 5.2 6 9.5 5.4l.7 1.8C8.4 7.9 7.7 9 7.7 11H11v7zm10 0v-5.2c0-4.4 2.2-6.8 6.5-7.4l.7 1.8c-1.8.7-2.5 1.8-2.5 3.8H21v7z'/%3E%3C/svg%3E");
    --ico-tail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 20'%3E%3Cpath d='M9 1H2C1.72 1 1.45 1.12 1.26 1.33.89 1.73.92 2.37 1.33 2.74 3.5 4.73 5.05 6.89 5.95 9.22 7.12 12.23 7.81 15.16 8 18v2h1z'/%3E%3C/svg%3E");
    --ico-play: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath fill='%23fff' d='M14.5 11.5v17a1.5 1.5 0 0 0 2.3 1.3l13.4-8.5a1.5 1.5 0 0 0 0-2.6L16.8 10.2a1.5 1.5 0 0 0-2.3 1.3z'/%3E%3C/svg%3E");
    --ico-badge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='%231c93e3'%3E%3Crect x='3.5' y='3.5' width='17' height='17' rx='4.5'/%3E%3Crect x='3.5' y='3.5' width='17' height='17' rx='4.5' transform='rotate(45 12 12)'/%3E%3C/g%3E%3Cpath d='m8 12.3 2.8 2.8L16.2 9' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

@media (prefers-color-scheme: dark) {
    :root {
        --page: #111;
        --text: #fff;
        --sec: #7d7f81;
        --box: #1e1e1e;
        --box-blur: rgba(34, 34, 34, 0.84);
        --acc: #64b5ef;
        --acc-bg: rgba(100, 181, 239, 0.12);
        --btn: #1c93e3;
        --svc: #1e1e1e;
        --spoiler: #373e4e;
        --media-bg: rgba(255, 255, 255, 0.08);
    }
}

*, *::before, *::after { box-sizing: border-box; }
html {
    -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--page);
    scroll-padding-top: calc(var(--sat) + var(--hdr) + 8px);
    -webkit-tap-highlight-color: transparent;
}
a, button { touch-action: manipulation; }
body {
    margin: 0;
    min-width: 300px;
    font: 14px/21px var(--font);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-wrap: anywhere;
}
a { color: var(--acc); text-decoration: none; }
a:hover { text-decoration: underline; }
a:not([href]) { color: inherit; cursor: inherit; }
a:not([href]):hover { text-decoration: none; }
p, h1, h2 { margin: 0; }
img { border: 0; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; border-radius: 4px; }
.vh {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip {
    position: fixed; left: 8px; top: -60px; z-index: 200; padding: 10px 14px;
    background: var(--box); color: var(--acc); border-radius: 8px; box-shadow: 0 2px 8px var(--shadow);
}
.skip:focus { top: calc(var(--sat) + 8px); }

.bg {
    position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; background: #88b884;
    --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360' viewBox='0 0 360 360'%3E%3Cdefs%3E%3Cpath id='a' vector-effect='non-scaling-stroke' d='M14 25C4 18 2 11 6.5 7.5 10 5 13 7 14 10c1-3 4-5 7.500-2.500C26 11 24 18 14 25z'/%3E%3Cpath id='b' vector-effect='non-scaling-stroke' d='M14 3l3.200 6.800 7.300.9-5.400 5.100 1.400 7.400L14 19.500 7.500 23.200l1.400-7.400L3.500 10.700l7.300-.9z'/%3E%3Cpath id='c' vector-effect='non-scaling-stroke' d='M8 22c-4 0-6-5-2.500-7.500C5 10 10 7 14 10c3-3 9-1 9.500 4 3 .5 4 7-1 8z'/%3E%3Cpath id='d' vector-effect='non-scaling-stroke' d='M14 3a11 11 0 1 0 0 22 11 11 0 0 0 0-22zM3.500 14c6-5 15-5 21 0M14 3c-5 6-5 16 0 22'/%3E%3Cpath id='e' vector-effect='non-scaling-stroke' d='M3 13L25 3l-4 21-7.500-6L11 24 9.500 16zM9.500 16L21 6'/%3E%3Cpath id='f' vector-effect='non-scaling-stroke' d='M16 2L6 15h7l-3 11 11-14h-7z'/%3E%3Cpath id='g' vector-effect='non-scaling-stroke' d='M5 22C4 10 12 4 24 4c0 12-6 20-18 19zM5 22L18 10'/%3E%3Cpath id='h' vector-effect='non-scaling-stroke' d='M20 4a11 11 0 1 0 5 17 9 9 0 0 1-5-17z'/%3E%3Cpath id='i' vector-effect='non-scaling-stroke' d='M14 6a9 9 0 1 0 0 18 9 9 0 0 0 0-18zM7 9L5 2l7 3M21 9l2-7-7 3M10.500 14.500h.01M17.500 14.500h.01M13 18h2M3 16l6 1M25 16l-6 1'/%3E%3Cpath id='j' vector-effect='non-scaling-stroke' d='M5 8h15v8a7 7 0 0 1-15 0zM20 11h3a3 3 0 0 1 0 6h-3M9 2v3M13 2v3M17 2v3'/%3E%3Cpath id='k' vector-effect='non-scaling-stroke' d='M10 22V5l13-3v16M10 22a3.500 3.500 0 1 1-7 0 3.500 3.500 0 0 1 7 0zM23 18a3.500 3.500 0 1 1-7 0 3.500 3.500 0 0 1 7 0z'/%3E%3Cpath id='l' vector-effect='non-scaling-stroke' d='M14 10a3 3 0 1 0 0 6 3 3 0 0 0 0-6zM14 10a3.500 3.500 0 1 1 0-7 3.500 3.500 0 0 1 0 7zM14 25a3.500 3.500 0 1 1 0-7 3.500 3.500 0 0 1 0 7zM4 14a3.500 3.500 0 1 1 7 0 3.500 3.500 0 0 1-7 0zM17 14a3.500 3.500 0 1 1 7 0 3.500 3.500 0 0 1-7 0z'/%3E%3Cpath id='m' vector-effect='non-scaling-stroke' d='M2 14c5-8 19-8 24 0-5 8-19 8-24 0zM14 10.500a3.500 3.500 0 1 0 0 7 3.500 3.500 0 0 0 0-7z'/%3E%3Cpath id='n' vector-effect='non-scaling-stroke' d='M7 8a3 3 0 1 0-1 5.500A3 3 0 1 0 9 17c1 .8 2 .4 3-.5h6c1 .9 2 1.300 3 .5a3 3 0 1 0 3-3.500A3 3 0 1 0 22 8c-1-.8-2-.4-3 .5h-6C12 7.600 10 7 9 8z'/%3E%3Cpath id='o' vector-effect='non-scaling-stroke' d='M2 14c4-8 14-8 18 0-4 8-14 8-18 0zM20 14l6-5v10zM8 12.500h.01'/%3E%3Cpath id='p' vector-effect='non-scaling-stroke' d='M14 6a9 9 0 1 0 0 18 9 9 0 0 0 0-18zM14 11v5l3.500 2M4 6l4-3M24 6l-4-3'/%3E%3Cpath id='q' vector-effect='non-scaling-stroke' d='M14 3a8 10 0 1 0 0 20 8 10 0 0 0 0-20zM12.500 23h3l-1.500 2zM14 25c-3 3 3 4 0 3'/%3E%3Cpath id='r' vector-effect='non-scaling-stroke' d='M14 15c-4 0-7 3-6 6 1 2.500 4 2 6 2s5 .5 6-2c1-3-2-6-6-6zM6 12a2 2.500 0 1 0 0-.1zM11 7a2 2.500 0 1 0 0-.1zM17 7a2 2.500 0 1 0 0-.1zM22 12a2 2.500 0 1 0 0-.1z'/%3E%3Cpath id='s' vector-effect='non-scaling-stroke' d='M4 11h20v13H4zM2 7h24v4H2zM14 7v17M14 7C10 2 6 4 8 7M14 7c4-5 8-3 6 0'/%3E%3C/defs%3E%3Cg fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cuse href='%23d' transform='matrix(0.7 0.1 -0.1 0.7 10.67 9.91)'/%3E%3Cuse href='%23g' transform='matrix(0.77 -0.24 0.24 0.77 50.3 16.55)'/%3E%3Cuse href='%23n' transform='matrix(0.68 -0.39 0.39 0.68 85.28 12.78)'/%3E%3Cuse href='%23q' transform='matrix(0.67 -0.3 0.3 0.67 122.18 12.72)'/%3E%3Cuse href='%23s' transform='matrix(0.7 -0.51 0.51 0.7 163.8 17.32)'/%3E%3Cuse href='%23j' transform='matrix(0.84 0 0 0.84 212.25 5.32)'/%3E%3Cuse href='%23s' transform='matrix(0.83 0.15 -0.15 0.83 252.06 8.7)'/%3E%3Cuse href='%23l' transform='matrix(0.64 0.29 -0.29 0.64 296.46 3.13)'/%3E%3Cuse href='%23i' transform='matrix(0.85 0.15 -0.15 0.85 332.42 4.96)'/%3E%3Cuse href='%23a' transform='matrix(0.68 -0.03 0.03 0.68 12.41 46.24)'/%3E%3Cuse href='%23h' transform='matrix(0.82 0.23 -0.23 0.82 47.27 43.63)'/%3E%3Cuse href='%23r' transform='matrix(0.69 0.43 -0.43 0.69 93.57 47.82)'/%3E%3Cuse href='%23e' transform='matrix(0.66 0.42 -0.42 0.66 139.32 40.11)'/%3E%3Cuse href='%23i' transform='matrix(0.71 -0.42 0.42 0.71 159.7 51.73)'/%3E%3Cuse href='%23c' transform='matrix(0.59 0.39 -0.39 0.59 219.99 42.95)'/%3E%3Cuse href='%23n' transform='matrix(0.54 0.34 -0.34 0.54 256.28 43.27)'/%3E%3Cuse href='%23f' transform='matrix(0.63 0.28 -0.28 0.63 291.74 49.21)'/%3E%3Cuse href='%23j' transform='matrix(0.71 0.17 -0.17 0.71 331.53 47.51)'/%3E%3Cuse href='%23o' transform='matrix(0.59 -0.38 0.38 0.59 2.95 98.07)'/%3E%3Cuse href='%23s' transform='matrix(0.7 0.05 -0.05 0.7 49.5 87.92)'/%3E%3Cuse href='%23b' transform='matrix(0.75 -0.06 0.06 0.75 84.53 91.72)'/%3E%3Cuse href='%23d' transform='matrix(0.78 -0.13 0.13 0.78 126.12 88.11)'/%3E%3Cuse href='%23r' transform='matrix(0.56 -0.46 0.46 0.56 166.09 99.59)'/%3E%3Cuse href='%23b' transform='matrix(0.6 0.3 -0.3 0.6 218.59 84.65)'/%3E%3Cuse href='%23s' transform='matrix(0.5 -0.35 0.35 0.5 250.4 93.36)'/%3E%3Cuse href='%23p' transform='matrix(0.61 0.14 -0.14 0.61 298.43 94.32)'/%3E%3Cuse href='%23f' transform='matrix(0.62 -0.02 0.02 0.62 332.28 93.06)'/%3E%3Cuse href='%23j' transform='matrix(0.86 0.19 -0.19 0.86 12.5 128.68)'/%3E%3Cuse href='%23g' transform='matrix(0.55 -0.36 0.36 0.55 50.6 135.92)'/%3E%3Cuse href='%23j' transform='matrix(0.71 -0.23 0.23 0.71 88.44 130.3)'/%3E%3Cuse href='%23c' transform='matrix(0.73 0.31 -0.31 0.73 132.72 120.79)'/%3E%3Cuse href='%23e' transform='matrix(0.58 0.28 -0.28 0.58 180.3 128.29)'/%3E%3Cuse href='%23a' transform='matrix(0.62 -0.03 0.03 0.62 213 135.91)'/%3E%3Cuse href='%23o' transform='matrix(0.74 0.33 -0.33 0.74 257.46 122.52)'/%3E%3Cuse href='%23m' transform='matrix(0.68 -0.56 0.56 0.68 281.91 133.56)'/%3E%3Cuse href='%23d' transform='matrix(0.55 0.39 -0.39 0.55 335.13 123.19)'/%3E%3Cuse href='%23k' transform='matrix(0.59 0.21 -0.21 0.59 14.52 168.94)'/%3E%3Cuse href='%23d' transform='matrix(0.71 -0.33 0.33 0.71 43.8 174.96)'/%3E%3Cuse href='%23n' transform='matrix(0.58 0.41 -0.41 0.58 101.38 163.79)'/%3E%3Cuse href='%23f' transform='matrix(0.78 -0.08 0.08 0.78 130.95 169.14)'/%3E%3Cuse href='%23q' transform='matrix(0.6 0.14 -0.14 0.6 170.12 166.76)'/%3E%3Cuse href='%23f' transform='matrix(0.73 -0.34 0.34 0.73 201.95 176.92)'/%3E%3Cuse href='%23k' transform='matrix(0.89 0.02 -0.02 0.89 244.35 162.79)'/%3E%3Cuse href='%23h' transform='matrix(0.57 -0.32 0.32 0.57 283.88 174.29)'/%3E%3Cuse href='%23p' transform='matrix(0.65 -0.12 0.12 0.65 327.12 168.01)'/%3E%3Cuse href='%23h' transform='matrix(0.61 -0.2 0.2 0.61 4.23 209.95)'/%3E%3Cuse href='%23j' transform='matrix(0.78 0.28 -0.28 0.78 50.6 200.78)'/%3E%3Cuse href='%23d' transform='matrix(0.76 -0.13 0.13 0.76 82.91 211.6)'/%3E%3Cuse href='%23c' transform='matrix(0.62 0.08 -0.08 0.62 137.39 207.33)'/%3E%3Cuse href='%23d' transform='matrix(0.79 -0.38 0.38 0.79 165.34 218.03)'/%3E%3Cuse href='%23a' transform='matrix(0.7 0.33 -0.33 0.7 217.47 202.26)'/%3E%3Cuse href='%23q' transform='matrix(0.74 -0.29 0.29 0.74 243.13 217.26)'/%3E%3Cuse href='%23n' transform='matrix(0.59 -0.38 0.38 0.59 283.64 219.46)'/%3E%3Cuse href='%23c' transform='matrix(0.76 0.26 -0.26 0.76 334.9 207.66)'/%3E%3Cuse href='%23i' transform='matrix(0.64 0.42 -0.42 0.64 21.14 247.93)'/%3E%3Cuse href='%23f' transform='matrix(0.8 -0.26 0.26 0.8 44.07 257.42)'/%3E%3Cuse href='%23l' transform='matrix(0.7 -0.04 0.04 0.7 93.36 255.19)'/%3E%3Cuse href='%23g' transform='matrix(0.58 -0.41 0.41 0.58 127.68 259.84)'/%3E%3Cuse href='%23b' transform='matrix(0.69 -0.06 0.06 0.69 171.47 247.72)'/%3E%3Cuse href='%23j' transform='matrix(0.56 -0.26 0.26 0.56 205.96 258.74)'/%3E%3Cuse href='%23k' transform='matrix(0.76 0.13 -0.13 0.76 252.47 243.28)'/%3E%3Cuse href='%23g' transform='matrix(0.63 0.08 -0.08 0.63 288.33 247.05)'/%3E%3Cuse href='%23h' transform='matrix(0.54 -0.36 0.36 0.54 324.89 254.64)'/%3E%3Cuse href='%23n' transform='matrix(0.68 -0.49 0.49 0.68 7.87 294.36)'/%3E%3Cuse href='%23r' transform='matrix(0.6 -0.35 0.35 0.6 44.46 296.08)'/%3E%3Cuse href='%23q' transform='matrix(0.73 0.48 -0.48 0.73 94.72 280.1)'/%3E%3Cuse href='%23i' transform='matrix(0.61 -0.32 0.32 0.61 123.57 292.38)'/%3E%3Cuse href='%23k' transform='matrix(0.7 -0.13 0.13 0.7 171.23 291.53)'/%3E%3Cuse href='%23d' transform='matrix(0.6 0.32 -0.32 0.6 219.85 288.48)'/%3E%3Cuse href='%23n' transform='matrix(0.61 -0.26 0.26 0.61 248.13 291.79)'/%3E%3Cuse href='%23r' transform='matrix(0.88 -0.15 0.15 0.88 282.18 288.9)'/%3E%3Cuse href='%23k' transform='matrix(0.88 -0.17 0.17 0.88 326.61 285.73)'/%3E%3Cuse href='%23f' transform='matrix(0.81 0.06 -0.06 0.81 11.16 326.3)'/%3E%3Cuse href='%23n' transform='matrix(0.77 -0.13 0.13 0.77 45.17 328.18)'/%3E%3Cuse href='%23k' transform='matrix(0.6 -0.05 0.05 0.6 90.35 328.63)'/%3E%3Cuse href='%23h' transform='matrix(0.66 0.37 -0.37 0.66 140.48 323.49)'/%3E%3Cuse href='%23i' transform='matrix(0.67 0.55 -0.55 0.67 173.67 322.96)'/%3E%3Cuse href='%23l' transform='matrix(0.7 -0.06 0.06 0.7 210.04 326.11)'/%3E%3Cuse href='%23g' transform='matrix(0.86 -0.14 0.14 0.86 242.67 331.25)'/%3E%3Cuse href='%23a' transform='matrix(0.66 -0.4 0.4 0.66 283.52 340.14)'/%3E%3Cuse href='%23g' transform='matrix(0.77 0.45 -0.45 0.77 330.91 322.28)'/%3E%3Ccircle cx='8' cy='287' r='1.2'/%3E%3Ccircle cx='328' cy='179' r='1.2'/%3E%3Ccircle cx='22' cy='93' r='1.2'/%3E%3Ccircle cx='58' cy='53' r='1.2'/%3E%3Ccircle cx='198' cy='58' r='1.2'/%3E%3Ccircle cx='336' cy='188' r='1.2'/%3E%3Ccircle cx='298' cy='336' r='1.2'/%3E%3Ccircle cx='46' cy='151' r='1.2'/%3E%3Ccircle cx='24' cy='301' r='1.2'/%3E%3Ccircle cx='335' cy='46' r='1.2'/%3E%3Ccircle cx='102' cy='87' r='1.2'/%3E%3Ccircle cx='305' cy='27' r='1.2'/%3E%3Ccircle cx='193' cy='92' r='1.2'/%3E%3Ccircle cx='317' cy='234' r='1.2'/%3E%3Ccircle cx='277' cy='286' r='1.2'/%3E%3Ccircle cx='303' cy='189' r='1.2'/%3E%3Ccircle cx='316' cy='145' r='1.2'/%3E%3Ccircle cx='39' cy='300' r='1.2'/%3E%3Ccircle cx='331' cy='156' r='1.2'/%3E%3Ccircle cx='98' cy='347' r='1.2'/%3E%3Ccircle cx='227' cy='133' r='1.2'/%3E%3Ccircle cx='190' cy='326' r='1.2'/%3E%3Ccircle cx='208' cy='155' r='1.2'/%3E%3Ccircle cx='261' cy='123' r='1.2'/%3E%3C/g%3E%3C/svg%3E");
}
.bg__g { position: absolute; inset: 0; }
.bg__g::before, .bg__g::after { content: ''; position: absolute; inset: 0; }
.bg__g::before { background: linear-gradient(90deg, #d5d88d, #bacd8a 50%, #88b884); }
.bg__g::after {
    background: linear-gradient(90deg, #6ba587, #93b999 50%, #dbddbb);
    -webkit-mask: linear-gradient(170deg, #000 35%, transparent 65%);
    mask: linear-gradient(170deg, #000 35%, transparent 65%);
}
.bg::before {
    content: ''; position: absolute; inset: 0;
    background: var(--pattern) center / 360px 360px repeat;
    mix-blend-mode: overlay; opacity: 0.28; z-index: 1;
}
@media (prefers-color-scheme: dark) {
    .bg { background: #000; }
    .bg::before { display: none; }
    .bg__g {
        opacity: 0.3;
        -webkit-mask: var(--pattern) center / 360px 360px repeat;
        mask: var(--pattern) center / 360px 360px repeat;
    }
}

.ava {
    position: relative; display: inline-block; flex: none; overflow: hidden; border-radius: 50%;
    width: 36px; height: 36px; vertical-align: top;
    font: 500 16px/37px var(--font); text-align: center; text-transform: uppercase; color: #fff;
    background: linear-gradient(#53edd6, #28c9b7);
}
.ava::before { content: attr(data-i); }
.ava img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ava.is-broken img { display: none; }
.ava--c0 { background: linear-gradient(#ff885e, #ff516a); }
.ava--c1 { background: linear-gradient(#ffcd6a, #ffa85c); }
.ava--c2 { background: linear-gradient(#82b1ff, #665fff); }
.ava--c3 { background: linear-gradient(#a0de7e, #54cb68); }
.ava--c4 { background: linear-gradient(#53edd6, #28c9b7); }
.ava--c5 { background: linear-gradient(#72d5fd, #2a9ef1); }
.ava--c6 { background: linear-gradient(#e0a2f3, #d669ed); }

.badge {
    display: inline-block; width: 16px; height: 16px; margin-left: 5px; vertical-align: -3px;
    background: var(--ico-badge) center / contain no-repeat;
}

.hdr {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: calc(var(--sat) + var(--hdr));
    padding-top: var(--sat);
    background: var(--box-blur);
    -webkit-backdrop-filter: blur(25px);
    backdrop-filter: blur(25px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.hdr__in {
    display: flex; align-items: center; gap: 12px;
    height: var(--hdr); max-width: 844px; margin: 0 auto;
    padding: 0 max(12px, var(--sar)) 0 max(12px, var(--sal));
}
.hdr__id {
    display: flex; align-items: center; flex: 1 1 auto; min-width: 0; height: 100%;
    color: inherit; text-decoration: none;
}
.ava--hdr { margin-right: 8px; }
.hdr__txt { min-width: 0; }
.hdr__title {
    font-size: 14px; line-height: 19px; font-weight: 500; color: var(--text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hdr__sub {
    margin-top: -1px; color: var(--sec);
    font-size: 12px; line-height: 14px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hdr__btn {
    position: relative; display: inline-flex; align-items: center; flex: none; gap: 8px;
    max-width: 62%;
    padding: 7px 14px 5px;
    font-size: 14px; line-height: 18px; font-weight: 500; text-transform: uppercase; color: #fff;
    background: var(--btn); border-radius: 8px; text-decoration: none;
}
.hdr__btn:hover { text-decoration: none; filter: brightness(1.06); }
.hdr__btn::after { content: ''; position: absolute; inset: -7px -4px; }
.hdr__btn span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ico-plane { flex: none; width: 18px; height: 18px; }

.wrap { padding: calc(var(--sat) + var(--hdr)) 0 calc(40px + var(--sab)); }
.cols {
    max-width: 832px; margin: 0 auto;
    padding: 0 max(6px, var(--sar)) 0 max(6px, var(--sal));
}
.col-feed { min-width: 0; }
.feed { padding: 15px 0 6px; scroll-margin-top: calc(var(--sat) + var(--hdr)); }
.post { scroll-margin-top: calc(var(--sat) + var(--hdr) + 56px); }

.side { display: none; }

@media (min-width: 721px) {
    .cols {
        --m: clamp(0px, calc(844px - 100vw), 6px);
        display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: calc(20px - var(--m));
    }
    .hdr__btn { display: none; }
    .side {
        display: block; position: sticky; align-self: start; box-sizing: content-box;
        width: 312px; margin: 0 calc(var(--m) - 4px) 0 -4px;
        top: calc(var(--sat) + var(--hdr));
        max-height: calc(100vh - var(--sat) - var(--hdr) - 48px);
        overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
        padding: 24px 4px;
    }
    .side::-webkit-scrollbar { display: none; }
}

.card {
    background: var(--box); color: var(--text); border-radius: 10px; padding: 16px;
    box-shadow: 0 2px 4px var(--shadow);
}
.card__head { display: flex; align-items: flex-start; gap: 12px; }
.card__ava { display: block; flex: none; }
.ava--card { width: 72px; height: 72px; font-size: 29px; line-height: 73px; }
.card__id { min-width: 0; padding-top: 17px; }
.card__title {
    font-size: 16px; line-height: 21px; font-weight: 500;
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.card__user { font-size: 14px; line-height: 16px; padding: 2px 0 16px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.counters { display: flex; margin: 16px 0 0; padding: 0 0 2px; list-style: none; overflow: hidden; }
.counters li { flex: 0 1 25%; padding-right: 20px; }
.counters b { display: block; font-variant-numeric: tabular-nums; font-size: 16px; line-height: 19px; font-weight: 500; }
.counters span { display: block; margin-top: 3px; font-size: 12px; line-height: 14px; color: var(--sec); text-transform: capitalize; white-space: nowrap; }
.card__about { margin-top: 14px; font-size: 14px; line-height: 21px; }
.card__btn {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    margin-top: 14px; padding: 10px 15px; min-height: 40px;
    font-size: 14px; line-height: 20px; font-weight: 500; text-transform: uppercase; text-align: center;
    color: #fff; background: var(--btn); border-radius: 8px;
}
.card__btn:hover { text-decoration: none; filter: brightness(1.06); }
.card__btn .ico-plane { width: 21px; height: 18px; }

.day__h { padding: 9px 0; font: inherit; text-align: center; }
.day__chip {
    display: inline-block; padding: 4px 12px 3px; border-radius: 13px;
    font-size: 14px; line-height: 19px; font-weight: 500; color: #fff; background: var(--svc);
}

.post {
    display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 9px; align-items: start;
    padding: 3px 6px 3px 0;
}
.post__ava { display: block; border-radius: 50%; }
.post__ava .ava { display: block; }

.bubble {
    position: relative; grid-column: 2; justify-self: start; min-width: 0; max-width: min(448px, 100%);
    padding: 4px 9px; background: var(--box); border-radius: 0 15px 15px 15px;
    filter: drop-shadow(0 2px 4px var(--shadow));
    cursor: pointer;
}
.bubble:active { filter: drop-shadow(0 2px 4px var(--shadow)) brightness(0.97); }
.post--media .bubble, .post--wide .bubble { width: 100%; }
.post--media .bubble[style*="--hug"] { width: fit-content; min-width: min(var(--hug), 100%); }
.bubble::before {
    content: ''; position: absolute; left: -8px; top: -1px; width: 9px; height: 20px;
    background: var(--box);
    -webkit-mask: var(--ico-tail) center / 100% 100% no-repeat; mask: var(--ico-tail) center / 100% 100% no-repeat;
}
.bubble--bare:active { filter: none; }
.bubble--bare { width: 100%; max-width: 430px; background: none; filter: none; padding: 0; border-radius: 0; cursor: default; }
.post--bare { padding-right: 0; }
.bubble--bare::before { display: none; }

.author {
    margin-top: 1px; font-size: 14px; line-height: 19px; font-weight: 500; color: var(--acc);
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.author a { color: inherit; }
.author a:hover { text-decoration: none; }
.fw { margin-top: 1px; font-size: 14px; line-height: 19px; color: var(--acc); }
.fw b { font-weight: 500; }
.fw a { color: inherit; }

.text { margin-top: 6px; font-size: 14px; line-height: 21px; word-break: break-word; }
.text b, .text strong { font-weight: 500; }
.text code, .text pre { font-family: monospace; font-size: 14px; white-space: normal; }
.text pre { margin: 0; padding: 0; }
.text blockquote {
    position: relative; display: inline-block; width: fit-content; max-width: 100%; margin: 4px 0; padding: 2px 34px 2px 12px;
    border-radius: 4px;
    background: linear-gradient(var(--acc), var(--acc)) left / 2.8px 100% no-repeat, var(--acc-bg);
}
.text blockquote::after {
    content: ''; position: absolute; top: 6px; right: 5px; width: 14px; height: 14px; background: var(--acc);
    -webkit-mask: var(--ico-quote) center / 100% no-repeat; mask: var(--ico-quote) center / 100% no-repeat;
}
.spoiler {
    padding: 2px 0 3px; border-radius: 1px; background: var(--spoiler); color: transparent; cursor: pointer; user-select: none;
    transition: background-color 0.45s ease, color 0.45s ease;
}
.spoiler * { color: transparent; }
.spoiler.is-open { background: transparent; color: inherit; user-select: auto; }
.spoiler.is-open * { color: inherit; }
.fpad { display: inline-block; height: 16px; vertical-align: baseline; }

.rp, .wp {
    display: block; position: relative; overflow: hidden; min-width: 190px; margin-top: 4px;
    border-radius: 4px; color: var(--text); text-decoration: none;
    background: linear-gradient(var(--acc), var(--acc)) left / 2.8px 100% no-repeat, var(--acc-bg);
}
.rp { margin-bottom: -2px; padding: 5px 4px 3px 6px; font-size: 14px; line-height: 19px; }
.rp__name, .rp__text { padding-left: 4px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rp__name { margin-top: -3px; font-weight: 500; color: var(--acc); }
.rp__thumb { float: left; width: 35px; height: 35px; margin-right: 4px; border-radius: 3px; object-fit: cover; }
.rp__text { margin-bottom: -3px; }
.wp { margin-bottom: -2px; padding: 5px 6px 4px 10px; font-size: 14px; line-height: 17px; }
.wp:hover { text-decoration: none; }
.wp__site { font-weight: 500; color: var(--acc); }
.wp__title { margin: 4px 0 1px; font-weight: 500; }
.wp__desc { margin: 4px 0 1px; }
.wp__thumb { float: right; width: 60px; height: 60px; margin-left: 10px; border-radius: 6px; object-fit: cover; }
.wp__img { display: block; margin: 7px 0; border-radius: 6px; overflow: hidden; background: var(--media-bg); }
.wp__img img { display: block; width: 100%; height: 100%; object-fit: cover; }

.media {
    position: relative; display: block; margin: 10px -9px; overflow: hidden;
    background: var(--media-bg); color: #fff; text-decoration: none;
}
.media:hover { text-decoration: none; }
.m-img { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; display: block; }
.m-img.is-broken { visibility: hidden; }
.m-blur {
    position: absolute; inset: -30px; z-index: 1; width: calc(100% + 60px); height: calc(100% + 60px); max-width: none;
    object-fit: cover; filter: blur(15px); display: block;
}
.media--tall::after { content: ''; position: absolute; inset: -1px; z-index: 1; background: #fff; opacity: 0.3; pointer-events: none; }
.media--tall .m-img { object-fit: contain; }
.is-auto:not(.media--tall) .m-blur { display: none; }
.m-play {
    position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%;
    background: var(--ico-play) center / 100% no-repeat rgba(0, 0, 0, 0.5);
    z-index: 3; pointer-events: none;
}
.m-dur {
    position: absolute; right: 5px; bottom: 5px; z-index: 4; padding: 3px 8px 2px; border-radius: 11px;
    font-size: 14px; line-height: 17px; color: #fff; background: rgba(0, 0, 0, 0.5); white-space: nowrap; pointer-events: none;
}
.media--round { width: min(256px, 100%); margin: 10px auto; border-radius: 50%; }
.media--sticker { width: min(144px, 100%); margin: 10px auto; background: none; }
.media--sticker .m-img { object-fit: contain; }

.alb { background: none; }
.alb__it { position: absolute; display: block; overflow: hidden; background: var(--media-bg); color: #fff; text-decoration: none; }
.alb__it .m-play { width: 50px; height: 50px; margin: -25px 0 0 -25px; }

.m--empty { background: linear-gradient(135deg, var(--media-bg), rgba(125, 127, 129, 0.32)); }

.bare { position: relative; }
.bare__m { position: relative; display: block; overflow: hidden; }
.post--sticker .bare__m { width: min(144px, 100%); filter: drop-shadow(0 2px 4px var(--shadow)); overflow: visible; }
.post--sticker .m-img { object-fit: contain; }
.post--round .bare__m { width: min(200px, 100%); border-radius: 50%; background: var(--media-bg); }
.post--round .m-play { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
.pill, .foot.foot--pill {
    position: absolute; bottom: 3px; z-index: 4; padding: 3px 7px; border-radius: 7px;
    background: var(--svc); color: #fff; font-size: 12px; line-height: 14px; font-weight: 400; white-space: nowrap;
}
.pill { left: 0; padding: 3px 6px; }
.foot.foot--pill { left: 179px; max-width: calc(100% - 179px); margin: 0; overflow: hidden; text-align: left; text-overflow: ellipsis; }
.post--sticker .foot.foot--pill { left: 153px; max-width: calc(100% - 153px); }
.foot--pill .foot__in { padding-right: 1px; }
.foot--over .foot__in, .foot--flow .foot__in { padding-left: 1px; }
.foot--pill a { color: inherit; }

.foot { font-size: 12px; line-height: 14px; color: var(--sec); font-variant-numeric: tabular-nums; }
.foot a { color: inherit; }
.foot a:hover { text-decoration: none; }
.foot__in { display: inline-block; white-space: nowrap; }
.foot--over { position: absolute; right: 7px; bottom: 4px; }
.foot--flow { margin: 5px -2px 0 0; text-align: right; }
.views, .cm { display: inline-block; vertical-align: top; white-space: nowrap; margin-left: 7px; }
.views::after {
    content: ''; display: inline-block; width: 16px; height: 10px; margin-left: 5px; vertical-align: -1px;
    background: currentColor;
    -webkit-mask: var(--ico-eye) center / 100% no-repeat; mask: var(--ico-eye) center / 100% no-repeat;
}
.cm::before {
    content: ''; display: inline-block; width: 12px; height: 12px; margin-right: 4px; vertical-align: -1px;
    background: currentColor;
    -webkit-mask: var(--ico-cm) center / 100% no-repeat; mask: var(--ico-cm) center / 100% no-repeat;
}
.time { display: inline-block; vertical-align: top; margin-left: 7px; }
.foot--pill .views, .foot--pill .cm { margin-left: 0; margin-right: 7px; }
.foot--pill .time { margin-left: 0; }

.stub { margin-top: 6px; padding: 0 10px; text-align: center; }
.stub__label { font-size: 14px; line-height: 20px; color: var(--sec); }
.stub__btn {
    display: inline-block; margin: 7px 0 4px; padding: 7px 12px 6px; border: 1px solid var(--acc); border-radius: 20px;
    font-size: 14px; line-height: 20px; font-weight: 500; text-transform: uppercase; white-space: nowrap; color: var(--acc);
    transition: background-color 0.2s ease, color 0.2s ease;
}
.stub__btn:hover { text-decoration: none; background: var(--acc); color: var(--box); }

.kbd { grid-column: 2; justify-self: start; width: min(448px, 100%); }
.kbd__row { display: flex; margin-top: 6px; }
.kbd__btn {
    display: block; flex: 1 1 1px; min-width: 0; padding: 7px 12px 6px; border-radius: 10px;
    font-size: 14px; line-height: 21px; font-weight: 500; text-align: center; color: #fff; background: var(--svc);
}
.kbd__btn:hover { text-decoration: none; filter: brightness(1.1); }
.kbd__btn span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.post--service { display: block; padding: 3px 6px; text-align: center; }
.sr {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.chip {
    display: inline-block; max-width: 100%; padding: 4px 12px 3px; border-radius: 13px;
    font-size: 14px; line-height: 19px; font-weight: 500; color: #fff; background: var(--svc);
}
.chip a { color: inherit; }
.post--service .chip { padding-bottom: 5px; }

.more { padding: 9px 0; text-align: center; min-height: 1px; }
.more__pill, .empty {
    display: inline-block; padding: 8px 14px; border-radius: 16px; border: 0;
    font: 14px/16px var(--font); color: var(--sec); background: var(--box); box-shadow: 0 2px 4px var(--shadow);
}
.empty { display: block; width: fit-content; margin: 24px auto; }
.more__btn { min-height: 44px; padding: 14px 18px; color: var(--acc); cursor: pointer; font-weight: 500; }
.more__btn:hover { filter: brightness(0.95); }
.more__spin {
    display: inline-block; width: 12px; height: 12px; margin: 0 8px -2px 0; border-radius: 50%;
    border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 354px) {
    .post { grid-template-columns: 0 minmax(0, 1fr); column-gap: 7px; }
    .post__ava { display: none; }
    .bubble::before { display: none; }
}
@media (max-width: 420px) {
    .hdr__in { gap: 8px; }
    .hdr__btn { padding-left: 9px; padding-right: 9px; font-size: 12px; }
    .hdr__btn .ico-plane { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
