body {
    margin: 0;
    font: 12px/18px 'Open Sans',"Lucida Grande","Lucida Sans Unicode",Arial,Helvetica,Verdana,sans-serif;
}
strong {
    font-weight: 700;
}
code, kbd, pre, samp {
    font-family: Menlo,Monaco,Consolas,"Courier New",monospace;
}
code {
    padding: 2px 4px;
    font-size: 90%;
    color: #c7254e;
    background-color: #f9f2f4;
    border-radius: 4px;
}
pre {
    display: block;
    margin: 0;
    line-height: 1.42857143;
    word-break: break-all;
    word-wrap: break-word;
    color: #333;
    background-color: #f5f5f5;
    border-radius: 4px;
    overflow: auto;
    padding: 3px;
    border: 1px solid #eee;
    max-height: none;
    font-size: inherit;
}
.clearfix:after {
    content: " ";
    visibility: hidden;
    display: block;
    height: 0;
    clear: both;
}
.pull_left {
    float: left;
}
.pull_right {
    float: right;
}
.page_wrap {
    background-color: #ffffff;
    color: #000000;
}
.page_wrap a {
    color: #168acd;
    text-decoration: none;
}
.page_wrap a:hover {
    text-decoration: underline;
}
.page_header {
    position: fixed;
    z-index: 10;
    background-color: #ffffff;
    width: 100%;
    border-bottom: 1px solid #e3e6e8;
}
.page_header .content {
    width: 480px;
    margin: 0 auto;
    border-radius: 0 !important;
}
.page_header a.content {
    background-repeat: no-repeat;
    background-position: 24px 21px;
    background-size: 24px 24px;
}
.bold {
    color: #212121;
    font-weight: 700;
}
.details {
    color: #70777b;
}
.page_header .content .text {
    padding: 24px 24px 22px 24px;
    font-size: 22px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.page_header a.content .text {
    padding: 24px 24px 22px 82px;
}
.page_body {
    padding-top: 64px;
    width: 480px;
    margin: 0 auto;
}
.page_about {
    padding: 24px 24px;
}
.with_divider {
    border-top: 1px solid #e3e6e8;
}
.userpic_link {
    display: block;
    text-decoration: none;
}
.userpic_link:hover {
    text-decoration: none;
}
.userpic {
    display: block;
    border-radius: 50%;
    overflow: hidden;
}
.story {
    display: block;
    border-radius: 4px;
    overflow: hidden;
}
.userpic .initials {
    display: block;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    user-select: none;
}
.color_red,
.userpic1,
.media_call .fill,
.media_file .fill,
.media_live_location .fill {
    background-color: #ff5555;
}
.color_green,
.userpic2,
.media_call.success .fill,
.media_photo .fill {
    background-color: #64bf47;
}
.color_yellow,
.userpic3,
.media_venue .fill {
    background-color: #ffab00;
}
.color_blue,
.userpic4,
.media_audio_file .fill,
.media_voice_message .fill {
    background-color: #4f9cd9;
}
.color_purple,
.userpic5,
.media_game .fill {
    background-color: #9884e8;
}
.color_pink,
.userpic6,
.media_invoice .fill {
    background-color: #e671a5;
}
.color_sea,
.userpic7,
.media_location .fill,
.media_video .fill {
    background-color: #47bcd1;
}
.color_orange,
.userpic8,
.media_contact .fill {
    background-color: #ff8c44;
}
.personal_info {
    padding: 24px;
}
.personal_info .userpic .initials {
    font-size: 30px;
}
.personal_info .rows {
    float: left;
    padding-right: 24px;
}
.personal_info .names {
    width: 164px;
}
.personal_info .info {
    width: 124px;
}
.personal_info .bio {
    width: 400px;
}
.personal_info .row {
    padding-bottom: 16px;
}
a.block_link {
    display: block;
    text-decoration: none !important;
    border-radius: 4px;
}
a.block_link:hover {
    text-decoration: none !important;
    background-color: #f5f7f8;
}
a.expanded {
    padding: 2px 8px;
    margin: -2px -8px;
}
.sections {
    padding: 11px 0;
}
.section {
    height: 48px;
    background-position: 24px 12px;
    background-repeat: no-repeat;
    background-size: 24px 24px;
}
.section .counter {
    float: right;
    padding: 14px 24px 0;
    font-size: 15px;
}
.section .label {
    padding: 15px 0 0 82px;
    font-size: 15px;
}
.list_page .page_about {
    padding: 16px 24px 0;
    font-size: 11px;
}
.list_page .entry_list {
    padding: 16px 0;
}
.list_page .entry {
    padding: 10px 16px;
}
.list_page .entry .userpic .initials {
    font-size: 18px;
}
.list_page .entry .body {
    margin-left: 66px;
}
.list_page .entry .name {
    padding: 4px 0 2px;
    font-size: 14px;
}
.list_page .entry .subname {
    padding-top: 4px;
}
.list_page .entry .details_entry {
    padding-top: 4px;
}
.list_page .entry .info {
    font-size: 11px;
    padding-top: 5px;
}
.history {
    padding: 16px 0;
}
.message {
    margin: 0 -10px;
    transition: background-color 2.0s ease;
}
div.selected {
    background-color: rgba(242,246,250,255);
    transition: background-color 0.5s ease;
}
.service {
    padding: 10px 24px;
}
.service .body {
    text-align: center;
}
.service .userpic_wrap {
    padding-top: 10px;
}
.service .userpic {
    margin: 0 auto;
}
.service .userpic .initials {
    font-size: 24px;
}
.message .userpic .initials {
    font-size: 16px;
}
.default {
    padding: 10px;
}
.default.joined {
    margin-top: -10px;
}
.default .from_name {
    color: #3892db;
    font-weight: 700;
    padding-bottom: 5px;
}
.default .from_name .details {
    font-weight: normal;
}
.default .body {
    margin-left: 60px;
}
.default .text {
    word-wrap: break-word;
    line-height: 150%;
    unicode-bidi: plaintext;
    text-align: start;
}
.default .reply_to,
.default .media_wrap {
    padding-bottom: 5px;
}
.default .media {
    margin: 0 -10px;
    padding: 5px 10px;
}
.default .media .fill,
.default .media .thumb {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}
.default .media .fill {
    background-repeat: no-repeat;
    background-position: 12px 12px;
    background-size: 24px 24px;
}
.default .media .title,
.default .media_poll .question {
    padding-top: 4px;
    font-size: 14px;
}
.default .media .description {
    color: #000000;
    padding-top: 4px;
    font-size: 13px;
}
.default .media .status {
    padding-top: 4px;
    font-size: 13px;
}
.default .video_file_wrap,
.default .animated_wrap {
    position: relative;
}
.default .video_file,
.default .animated,
.default .photo,
.default .sticker {
    display: block;
}
.video_duration {
    background: rgba(0, 0, 0, .4);
    padding: 0px 5px;
    position: absolute;
    z-index: 2;
    border-radius: 2px;
    right: 3px;
    bottom: 3px;
    color: #ffffff;
    font-size: 11px;
}
.video_play_bg {
    background: rgba(0, 0, 0, .4);
    width: 40px;
    height: 40px;
    line-height: 0;
    position: absolute;
    z-index: 2;
    border-radius: 50%;
    overflow: hidden;
    margin: -20px auto 0 -20px;
    top: 50%;
    left: 50%;
    pointer-events: none;
}
.video_play {
    position: absolute;
    display: inline-block;
    top: 50%;
    left: 50%;
    margin-left: -5px;
    margin-top: -9px;
    z-index: 1;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 9px 0 9px 14px;
    border-color: transparent transparent transparent #fff;
}
.gif_play {
    font-weight: 700;
    color: #FFF;
    display: block;
    line-height: 40px;
    font-size: 13px;
    text-align: center;
}
.pagination {
    text-align: center;
    padding: 20px;
    font-size: 16px;
}

.toast_container {
    position: fixed;
    left: 50%;
    top: 50%;
    opacity: 0;
    transition: opacity 3.0s ease;
}
.toast_body {
    margin: 0 -50%;
    float: left;
    border-radius: 15px;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
}
div.toast_shown {
    opacity: 1;
    transition: opacity 0.4s ease;
}

.section.calls {
    background-image: url(../images/section_calls.png);
}
.section.chats {
    background-image: url(../images/section_chats.png);
}
.section.contacts {
    background-image: url(../images/section_contacts.png);
}
.section.frequent {
    background-image: url(../images/section_frequent.png);
}
.section.photos {
    background-image: url(../images/section_photos.png);
}
.section.sessions {
    background-image: url(../images/section_sessions.png);
}
.section.stories {
    background-image: url(../images/section_stories.png);
}
.section.music {
    background-image: url(../images/section_music.png);
}
.section.web {
    background-image: url(../images/section_web.png);
}
.section.other {
    background-image: url(../images/section_other.png)
}
.page_header a.content {
    background-image: url(../images/back.png);
}
.media_call .fill {
    background-image: url(../images/media_call.png)
}
.media_contact .fill {
    background-image: url(../images/media_contact.png)
}
.media_file .fill {
    background-image: url(../images/media_file.png)
}
.media_game .fill {
    background-image: url(../images/media_game.png)
}
.media_live_location .fill,
.media_location .fill,
.media_venue .fill {
    background-image: url(../images/media_location.png)
}
.media_audio_file .fill {
    background-image: url(../images/media_music.png)
}
.media_invoice .fill {
    background-image: url(../images/media_shop.png)
}
.media_voice_message .fill {
    background-image: url(../images/media_voice.png)
}
.media_photo .fill {
    background-image: url(../images/media_photo.png)
}
.media_video .fill {
    background-image: url(../images/media_video.png)
}
.audio_icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #4f9cd9;
    background-image: url(../images/media_music.png);
    background-repeat: no-repeat;
    background-position: 12px 12px;
    background-size: 24px 24px;
}

@media only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {
.section.calls {
    background-image: url(../images/section_calls@2x.png);
}
.section.chats {
    background-image: url(../images/section_chats@2x.png);
}
.section.contacts {
    background-image: url(../images/section_contacts@2x.png);
}
.section.frequent {
    background-image: url(../images/section_frequent@2x.png);
}
.section.photos {
    background-image: url(../images/section_photos@2x.png);
}
.section.sessions {
    background-image: url(../images/section_sessions@2x.png);
}
.section.stories {
    background-image: url(../images/section_stories@2x.png);
}
.section.music {
    background-image: url(../images/section_music@2x.png);
}
.section.web {
    background-image: url(../images/section_web@2x.png);
}
.section.other {
    background-image: url(../images/section_other@2x.png);
}
.page_header a.content {
    background-image: url(../images/back@2x.png);
}
.media_call .fill {
    background-image: url(../images/media_call@2x.png)
}
.media_contact .fill {
    background-image: url(../images/media_contact@2x.png)
}
.media_file .fill {
    background-image: url(../images/media_file@2x.png)
}
.media_game .fill {
    background-image: url(../images/media_game@2x.png)
}
.media_live_location .fill,
.media_location .fill,
.media_venue .fill {
    background-image: url(../images/media_location@2x.png)
}
.media_audio_file .fill {
    background-image: url(../images/media_music@2x.png)
}
.media_invoice .fill {
    background-image: url(../images/media_shop@2x.png)
}
.media_voice_message .fill {
    background-image: url(../images/media_voice@2x.png)
}
.media_photo .fill {
    background-image: url(../images/media_photo@2x.png)
}
.media_video .fill {
    background-image: url(../images/media_video@2x.png)
}
.audio_icon {
    background-image: url(../images/media_music@2x.png);
}
}

.spoiler {
    background: #e8e8e8;
}
.spoiler.hidden {
    background: #a9a9a9;
    cursor: pointer;
    border-radius: 3px;
}
.spoiler.hidden span {
    opacity: 0;
    user-select: none;
}

.bot_buttons_table {
    border-spacing: 0px 2px;
    width: 100%;
}
.bot_button {
    border-radius: 8px;
    text-align: center;
    vertical-align: middle;
    background-color: #168acd40;
}
.bot_button_row {
    display: table;
    table-layout: fixed;
    padding: 0px;
    width:100%;
}
.bot_button_row div {
    display: table-cell;
}
.bot_button_column_separator {
    width: 2px
}

.reactions {
    margin: 5px 0;
}

.reactions .reaction {
    display: inline-flex;
    height: 20px;
    border-radius: 15px;
    background-color: #e8f5fc;
    color: #168acd;
    font-weight: bold;
    margin-bottom: 5px;
}

.reactions .reaction.active {
    background-color: #40a6e2;
    color: #fff;
}

.reactions .reaction.paid {
    background-color: #fdf6e1;
    color: #c58523;
}

.reactions .reaction.active.paid {
    background-color: #ecae0a;
    color: #fdf6e1;
}

.reactions .reaction .emoji {
    line-height: 20px;
    margin: 0 5px;
    font-size: 15px;
}

.reactions .reaction .userpic:not(:first-child) {
    margin-left: -8px;
}

.reactions .reaction .userpic {
    display: inline-block;
}

.reactions .reaction .userpic .initials {
    font-size: 8px;
}

.reactions .reaction .count {
    margin-right: 8px;
    line-height: 20px;
}

@media (prefers-color-scheme: dark) {
html, body {
    background-color: #1a2026; /* groupCallBg */
    margin: 0;
    padding: 0;
}
.page_wrap {
    background-color: #1a2026; /* groupCallBg */
    color: #ffffff; /* groupCallMembersFg */
    min-height: 100vh;
}
.page_wrap a {
    color: #4db8ff; /* groupCallActiveFg */
}
.page_header {
    background-color: #1a2026; /* groupCallBg */
    border-bottom: 1px solid #2c333d; /* groupCallMembersBg */
}
.bold {
    color: #ffffff; /* groupCallMembersFg */
}
.details {
    color: #91979e; /* groupCallMemberNotJoinedStatus */
}
.page_body {
    background-color: #1a2026; /* groupCallBg */
}
code {
    color: #ff8aac; /* historyPeer6UserpicBg */
    background-color: #2c333d; /* groupCallMembersBg */
}
pre {
    color: #ffffff; /* groupCallMembersFg */
    background-color: #2c333d; /* groupCallMembersBg */
    border: 1px solid #323a45; /* groupCallMembersBgOver */
}
.with_divider {
    border-top: 1px solid #2c333d; /* groupCallMembersBg */
}
a.block_link:hover {
    background-color: #323a45; /* groupCallMembersBgOver */
}
.list_page .entry {
    color: #ffffff; /* groupCallMembersFg */
}
.message {
    color: #ffffff; /* groupCallMembersFg */
}
div.selected {
    background-color: #323a45; /* groupCallMembersBgOver */
}
.default .from_name {
    color: #4db8ff; /* groupCallActiveFg */
}
.default .media .description {
    color: #ffffff; /* groupCallMembersFg */
}
msgInBg,
.historyComposeAreaBg {
    background-color: #2c333d; /* groupCallMembersBg */
}
msgOutBg {
    background-color: #323a45; /* groupCallMembersBgOver */
}
msgInBgSelected {
    background-color: #39424f; /* groupCallMembersBgRipple */
}
msgOutBgSelected {
    background-color: #39424f; /* groupCallMembersBgRipple */
}
.spoiler {
    background: #323a45; /* groupCallMembersBgOver */
}
.spoiler.hidden {
    background: #61c0ff; /* groupCallMemberInactiveStatus */
}
.bot_button {
    background-color: #4db8ff40; /* groupCallActiveFg with opacity */
}
.reactions .reaction {
    background-color: #2c333d; /* groupCallMembersBg */
    color: #4db8ff; /* groupCallActiveFg */
}
.reactions .reaction.active {
    background-color: #4db8ff; /* groupCallActiveFg */
    color: #1a2026; /* groupCallBg */
}
.reactions .reaction.paid {
    background-color: #323a45; /* groupCallMembersBgOver */
    color: #febb5b; /* historyPeer8UserpicBg */
}
.reactions .reaction.active.paid {
    background-color: #febb5b; /* historyPeer8UserpicBg */
    color: #1a2026; /* groupCallBg */
}
}
html {
    scroll-behavior: smooth;
}
body {
    background-color: #f5f7f9;
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
.page_wrap {
    background-color: #f5f7f9;
    color: #182027;
    min-height: 100vh;
}
.page_wrap a {
    color: #168acd;
}
.page_header {
    background-color: rgba(255, 255, 255, .95);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid #e1e6ea;
    box-shadow: 0 1px 4px rgba(16, 32, 48, .05);
}
.page_header .content {
    width: min(880px, calc(100% - 28px));
    padding: 9px 0;
}
.reader_toolbar {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 38px;
}
.reader_title {
    font-size: 18px;
    font-weight: 700;
    color: #182027;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 0 1 auto;
}
.reader_controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-left: auto;
    flex: 1 1 520px;
}
.reader_search,
.reader_select,
.reader_upload,
.reader_top {
    font: inherit;
    font-size: 13px;
    color: #26323b;
    background: #f1f4f6;
    border: 1px solid #dce3e8;
    border-radius: 20px;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.reader_search {
    width: 100%;
    max-width: 330px;
    padding: 8px 14px;
}
.reader_search::placeholder {
    color: #8b969e;
}
.reader_search:focus {
    background: #fff;
    border-color: #4f9cd9;
    box-shadow: 0 0 0 3px rgba(79, 156, 217, .16);
}
.reader_select {
    padding: 8px 10px;
    max-width: 170px;
    cursor: pointer;
}
.reader_upload {
    padding: 8px 14px;
    text-decoration: none;
    white-space: nowrap;
}
.reader_count {
    font-size: 12px;
    color: #7b868e;
    min-width: 58px;
    text-align: right;
    white-space: nowrap;
}
.reader_top {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 17px;
    line-height: 1;
}
.reader_top:hover,
.reader_select:hover,
.reader_upload:hover {
    background: #e7edf1;
}
.page_body {
    width: min(880px, calc(100% - 28px));
    padding-top: var(--reader-header-h, 104px);
    padding-bottom: 64px;
}
.history {
    padding: 18px 0 40px;
}
.message.service {
    position: sticky;
    top: var(--reader-header-h, 104px);
    z-index: 5;
    padding: 12px 0 8px;
    background: linear-gradient(to bottom, #f5f7f9 72%, rgba(245, 247, 249, 0));
}
.message.service .body {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 16px;
    background: #e5ebef;
    color: #5d6972;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
}
.message.default {
    padding: 6px 10px;
    margin: 0 0 4px;
    border-radius: 14px;
}
.message.default.joined {
    margin-top: -3px;
}
.message.default:hover {
    background-color: rgba(22, 138, 205, .055);
}
.message.default > .body {
    position: relative;
    margin-left: 60px;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid #e9edf0;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(16, 32, 48, .035);
}
.message.default.joined > .body {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}
.message.default .from_name {
    font-size: 14px;
    padding-bottom: 4px;
}
.message.default .text {
    font-size: 15px;
    line-height: 1.58;
}
.message.default .date {
    font-size: 12px;
    color: #8b969e;
}
.message.default .reply_to {
    margin: 0 0 7px;
    padding: 6px 10px;
    border-left: 3px solid #4f9cd9;
    border-radius: 0 8px 8px 0;
    background: rgba(79, 156, 217, .07);
    font-size: 13px;
}
.message.default .media_wrap {
    margin: 5px 0;
}
.message.default .media {
    margin: 0;
    padding: 0;
    border: 1px solid #e9edf0;
    border-radius: 10px;
    background: #fafbfc;
}
.message.default .photo,
.message.default .sticker,
.message.default .animated {
    max-width: min(420px, 100%);
    height: auto !important;
    border-radius: 10px;
}
.message.default .sticker {
    max-width: 180px;
    border-radius: 0;
    background: transparent;
}
.message.default .video_file {
    width: auto !important;
    height: auto !important;
    max-width: 240px;
    max-height: 320px;
    border-radius: 10px;
}
.message.default .video_file_wrap,
.message.default .animated_wrap {
    display: inline-block;
    max-width: 100%;
}
.reactions {
    margin: 7px 0 1px;
}
.reactions .reaction {
    font-size: 12px;
}
.pagination a {
    display: inline-block;
    margin: 0 4px;
    padding: 8px 16px;
    border: 1px solid #dce3e8;
    border-radius: 20px;
    background: #fff;
}
div.selected {
    background-color: rgba(255, 193, 7, .22) !important;
}
.message.search-dim {
    opacity: .16;
    filter: grayscale(.7);
}
.message.search-hit {
    background-color: rgba(255, 193, 7, .16) !important;
}
.message.search-hit > .body {
    background: #fff8e1;
    border-color: #f3d477;
}
@media (max-width: 720px) {
    .page_header .content,
    .page_body {
        width: calc(100% - 20px);
    }
    .reader_toolbar {
        flex-wrap: wrap;
        gap: 8px;
    }
    .reader_title {
        font-size: 16px;
        flex-basis: 100%;
    }
    .reader_controls {
        flex-basis: 100%;
        margin-left: 0;
    }
    .reader_search {
        max-width: none;
    }
    .message.default > .body {
        margin-left: 54px;
        padding: 9px 12px;
    }
}
@media (prefers-color-scheme: dark) {
    body {
        background-color: #14191f;
    }
    .page_wrap,
    .page_body {
        background-color: #14191f;
        color: #e8edf2;
    }
    .page_header {
        background-color: rgba(20, 25, 31, .95);
        border-bottom-color: #2c333d;
        box-shadow: none;
    }
    .reader_title {
        color: #e8edf2;
    }
    .reader_search,
    .reader_select,
    .reader_upload,
    .reader_top {
        color: #dbe3ea;
        background: #202830;
        border-color: #2f3944;
    }
    .reader_search:focus {
        background: #202830;
        border-color: #4db8ff;
        box-shadow: 0 0 0 3px rgba(77, 184, 255, .16);
    }
    .reader_search::placeholder {
        color: #78838d;
    }
    .reader_top:hover,
    .reader_select:hover,
    .reader_upload:hover {
        background: #2b3540;
    }
    .reader_count {
        color: #8d99a3;
    }
    .message.service {
        background: linear-gradient(to bottom, #14191f 72%, rgba(20, 25, 31, 0));
    }
    .message.service .body {
        background: #2c333d;
        color: #aeb8c2;
    }
    .message.default:hover {
        background-color: rgba(77, 184, 255, .07);
    }
    .message.default > .body {
        background: #1b2229;
        border-color: #2c333d;
        box-shadow: none;
    }
    .message.default .date {
        color: #8d99a3;
    }
    .message.default .reply_to {
        background: rgba(77, 184, 255, .08);
        border-left-color: #4db8ff;
    }
    .message.default .media {
        background: #1b2229;
        border-color: #2c333d;
    }
    .pagination a {
        background: #1b2229;
        border-color: #2c333d;
        color: #4db8ff;
    }
    .message.search-hit > .body {
        background: #3a3320;
        border-color: #8a7434;
    }
    div.selected {
        background-color: rgba(254, 191, 90, .2) !important;
    }
}
body {
    background-color: #fff8fa;
}
.page_wrap {
    color: #4c3541;
    background:
        radial-gradient(circle at 10% 6%, rgba(255, 190, 214, .38), transparent 30%),
        radial-gradient(circle at 90% 18%, rgba(224, 199, 255, .30), transparent 28%),
        linear-gradient(180deg, #fff9fb 0%, #fdf2f6 100%);
}
.page_wrap a {
    color: #b75585;
}
.page_body {
    background: transparent;
    color: #4c3541;
}
.page_header {
    background-color: rgba(255, 250, 252, .94);
    border-bottom-color: #f2d6e1;
    box-shadow: 0 2px 12px rgba(167, 84, 122, .07);
}
.reader_title {
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-weight: 400;
    letter-spacing: .3px;
    color: #a84470;
}
.reader_title::after {
    content: " ♥";
    color: #d77ba3;
    font-size: 14px;
}
.reader_search,
.reader_select,
.reader_upload,
.reader_top {
    color: #6b3d52;
    background: #fff0f5;
    border-color: #f0c9d8;
}
.reader_search::placeholder {
    color: #b08a9b;
}
.reader_search:focus {
    background: #fffafc;
    border-color: #c96a95;
    box-shadow: 0 0 0 3px rgba(201, 106, 149, .16);
}
.reader_top:hover,
.reader_select:hover,
.reader_upload:hover {
    background: #fde4ee;
}
.reader_count {
    color: #a5788c;
}
.message.service {
    background: linear-gradient(to bottom, rgba(255, 249, 251, .95) 72%, rgba(255, 249, 251, 0));
}
.message.service .body {
    background: #f9dce7;
    color: #9d4a6d;
}
.message.service .body::before,
.message.service .body::after {
    content: "♥";
    margin: 0 7px;
    color: #d77ba3;
    font-size: 10px;
}
.message.default:hover {
    background-color: rgba(214, 116, 160, .07);
}
.message.default > .body {
    background: #fffafc;
    border-color: #f4d7e3;
    box-shadow: 0 4px 14px rgba(167, 84, 122, .07);
}
.message.default .text {
    color: #4c3541;
}
.message.default .from_name {
    color: #bd5b87;
}
.message.default .date {
    color: #a98296;
}
.message.default .reply_to {
    border-left-color: #d98cb3;
    background: #fff0f6;
    color: #7a4a60;
}
.message.default .media {
    background: #fff9fb;
    border-color: #f4d7e3;
}
.message.default .photo,
.message.default .sticker,
.message.default .video_file,
.message.default .animated {
    border-radius: 14px;
}
.reactions .reaction {
    background-color: #fdeaf2;
    color: #b65885;
}
.reactions .reaction.active {
    background-color: #d16a94;
    color: #fff;
}
.reactions .reaction.paid {
    background-color: #fff3df;
    color: #b8863b;
}
.reactions .reaction.active.paid {
    background-color: #e0a94f;
    color: #fff;
}
code {
    color: #b03369;
    background-color: #fff0f5;
}
pre {
    color: #4c3541;
    background-color: #fff0f5;
    border-color: #f4d7e3;
}
.pagination a {
    background: #fffafc;
    border-color: #f0c9d8;
    color: #b75585;
}
.message.search-hit {
    background-color: rgba(209, 106, 148, .10) !important;
}
.message.search-hit > .body {
    background: #fff0f6;
    border-color: #e6a9c5;
}
div.selected {
    background-color: rgba(209, 106, 148, .16) !important;
}
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-thumb {
    background: #e3b6c9;
    border-radius: 10px;
}
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1b1219;
    }
    .page_wrap {
        color: #f6e7ee;
        background:
            radial-gradient(circle at 12% 8%, rgba(150, 61, 99, .30), transparent 30%),
            radial-gradient(circle at 88% 20%, rgba(96, 61, 130, .24), transparent 28%),
            linear-gradient(180deg, #1d131b 0%, #170f16 100%);
    }
    .page_wrap a {
        color: #ff9dc4;
    }
    .page_body {
        background: transparent;
        color: #f6e7ee;
    }
    .page_header {
        background-color: rgba(31, 18, 26, .94);
        border-bottom-color: #4a2f3e;
        box-shadow: none;
    }
    .reader_title {
        color: #f3b6d0;
    }
    .reader_title::after {
        color: #d77ba3;
    }
    .reader_search,
    .reader_select,
    .reader_upload,
    .reader_top {
        color: #f0d5e2;
        background: #2b1c26;
        border-color: #4a2f3e;
    }
    .reader_search::placeholder {
        color: #a97e93;
    }
    .reader_search:focus {
        background: #2b1c26;
        border-color: #d77ba3;
        box-shadow: 0 0 0 3px rgba(215, 123, 163, .18);
    }
    .reader_top:hover,
    .reader_select:hover,
    .reader_upload:hover {
        background: #3a2532;
    }
    .reader_count {
        color: #b891a5;
    }
    .message.service {
        background: linear-gradient(to bottom, rgba(27, 18, 25, .95) 72%, rgba(27, 18, 25, 0));
    }
    .message.service .body {
        background: #3a2331;
        color: #f0c2d6;
    }
    .message.service .body::before,
    .message.service .body::after {
        color: #d77ba3;
    }
    .message.default:hover {
        background-color: rgba(215, 123, 163, .08);
    }
    .message.default > .body {
        background: #281a23;
        border-color: #4a2f3e;
        box-shadow: none;
    }
    .message.default .text {
        color: #f6e7ee;
    }
    .message.default .from_name {
        color: #ff9dc4;
    }
    .message.default .date {
        color: #b891a5;
    }
    .message.default .reply_to {
        background: #33202c;
        border-left-color: #d77ba3;
        color: #dcc0ce;
    }
    .message.default .media {
        background: #281a23;
        border-color: #4a2f3e;
    }
    .reactions .reaction {
        background-color: #3a2331;
        color: #ff9dc4;
    }
    .reactions .reaction.active {
        background-color: #d16a94;
        color: #1b1219;
    }
    .reactions .reaction.paid {
        background-color: #3d2b22;
        color: #f0c27a;
    }
    .reactions .reaction.active.paid {
        background-color: #e0a94f;
        color: #1b1219;
    }
    code {
        color: #ff9dc4;
        background-color: #3a2331;
    }
    pre {
        color: #f6e7ee;
        background-color: #3a2331;
        border-color: #4a2f3e;
    }
    .pagination a {
        background: #281a23;
        border-color: #4a2f3e;
        color: #ff9dc4;
    }
    .message.search-hit > .body {
        background: #432737;
        border-color: #a85f83;
    }
    div.selected {
        background-color: rgba(215, 123, 163, .18) !important;
    }
    ::-webkit-scrollbar-thumb {
        background: #5a3a4c;
    }
}