@font-face { font-family: 'Golosa Pixel'; src: url('./assets/golosa-pixel.woff') format('woff'); font-style: normal; font-weight: 400; font-display: block; }
:root { color-scheme: dark; --background: #080808; --text: #f4f4f3; --muted: #9b9ba6; --rule: #303032; font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif; -webkit-font-smoothing: antialiased; background: var(--background); color: var(--text); scroll-behavior: smooth; scroll-padding: 18px 0 125px; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
button, textarea, input { font: inherit; }
button, a, textarea, input { -webkit-tap-highlight-color: transparent; }
button, a, textarea, input, dialog { outline: none; }
button { background: transparent; border: 0; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, a { touch-action: manipulation; }
/* Keyboard focus follows the text and icon, without drawing a button-shaped frame. */
.keyboard-navigation :is(button, a):focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.keyboard-navigation :is(button, a):focus-visible svg { filter: drop-shadow(0 0 3px currentColor); }
.keyboard-navigation .primary-button:focus-visible { background: #d8d8df; }
button:disabled { opacity: .5; cursor: wait; }
[hidden] { display: none !important; }
::selection { background: #d8d8d8; color: #080808; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.site-shell { width: min(calc(100% - 36px), 480px); min-height: 100vh; min-height: 100svh; margin: 0 auto; padding-top: max(env(safe-area-inset-top, 0px), var(--tg-content-safe-area-inset-top, 0px)); padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; }
.header { min-height: 52px; padding: 9px 3px 10px; border-bottom: 1px solid var(--rule); display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 6; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 30px; height: 25px; display: block; object-fit: contain; }
.brand-name { font-family: 'Golosa Pixel', monospace; font-size: 16px; line-height: 1; letter-spacing: .65px; padding-top: 3px; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.language-picker { position: relative; }
.language-trigger { min-width: 36px; height: 32px; padding: 4px; color: #b8b8c2; font-size: 12px; }
.icon-button { display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 4px; }
.icon-button svg { width: 24px; height: 24px; }
.language-options { position: absolute; top: 42px; right: -36px; width: 180px; padding: 6px; background: #1a1a1d; border-radius: 12px; box-shadow: 0 12px 40px #000a; }
.language-options button { display: flex; justify-content: space-between; width: 100%; padding: 13px 10px; color: var(--muted); font-size: 13px; text-align: left; border-radius: 6px; }
.language-options button[aria-pressed='true'], .language-options button:hover { color: #fff; background: #28282b; }
main { flex: 1; }
.hero { position: relative; isolation: isolate; padding: 26px 0 18px; border-bottom: 1px solid var(--rule); text-align: center; }
.world-map { position: absolute; z-index: -1; top: 10px; left: -14px; width: calc(100% + 28px); height: auto; opacity: .5; pointer-events: none; user-select: none; }
.date-badge { display: block; color: #aaaab4; font-size: 14px; line-height: 18px; }
h1 { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 18px 0 0; font-family: 'Golosa Pixel', monospace; font-size: clamp(26px, 8.2vw, 38px); font-weight: 400; line-height: 1; letter-spacing: -.4px; }
h1 span { display: block; white-space: nowrap; }
.hero-description { display: flex; flex-direction: column; margin: 16px 0 0; font-size: 17px; line-height: 22px; color: #b4b4bd; letter-spacing: -.15px; }
.elapsed { margin-top: 24px; }
.pixel { font-family: 'Golosa Pixel', monospace; font-weight: 400; font-variant-numeric: tabular-nums; }
.days-group { display: flex; flex-direction: column; align-items: center; }
.day-value { display: block; font-size: clamp(43px, 11.8vw, 51px); line-height: 1; letter-spacing: 3px; padding-left: 3px; }
.unit { font-size: 12px; line-height: 16px; color: #b3b3bc; }
.day-unit { margin-top: 8px; font-size: 14px; }
.clock { display: grid; grid-template-columns: 1fr 12px 1fr 12px 1fr; align-items: start; width: min(100%, 258px); margin: 18px auto 0; gap: 9px; }
.clock-group { display: flex; flex-direction: column; align-items: center; }
.clock-value { display: block; font-size: 33px; line-height: 33px; letter-spacing: -1.8px; padding-left: 1.8px; }
.colon { font-size: 28px; line-height: 33px; }
.clock-group .unit { margin-top: 8px; }
.seconds { color: #c8c8d1; }
.every-second { margin: 22px 0 0; font-size: 16.2px; line-height: 21px; white-space: pre-line; letter-spacing: -.15px; }
.messages { padding: 18px 4px 0; }
.feed-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.messages h2 { margin: 0; font-size: 21px; font-weight: 500; line-height: 28px; letter-spacing: -.2px; }
.sort-picker { position: relative; z-index: 5; }
.sort-trigger { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 4px 0 4px 8px; font-size: 14px; line-height: 20px; }
.sort-trigger > svg { width: 11px; height: 8px; }
.feed-controls { position: absolute; top: 38px; right: -6px; width: 175px; padding: 6px; background: #1b1b1e; border-radius: 12px; box-shadow: 0 12px 45px #000b; }
.feed-controls button { display: block; width: 100%; min-height: 43px; padding: 11px 12px; border-radius: 6px; text-align: left; font-size: 14px; color: #b1b1bc; }
.feed-controls button[aria-pressed='true'] { color: #fff; background: #2c2c30; }
.feed-controls button:hover { background: #26262a; }
.feed-status { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 18px; color: var(--muted); font-size: 13px; line-height: 19px; }
.privacy-short { margin: -3px 0 20px; color: #9696a1; font-size: 11px; line-height: 16px; }
.privacy-short a, .privacy-link { text-decoration: underline; text-underline-offset: 3px; }
.privacy-link { font-size: 14px; color: #aaaab5; }
.telegram-open-link { display: block; margin: -5px 0 18px; color: #d8d8e0; font-size: 13px; }
.privacy-page { width: min(calc(100% - 40px), 620px); margin: 30px auto; font-size: 16px; line-height: 1.65; padding-bottom: 40px; }
.privacy-page h1 { font-family: inherit; font-size: 30px; line-height: 1.2; letter-spacing: -.5px; display: block; }
.privacy-page h2 { font-size: 19px; line-height: 1.4; margin-top: 28px; font-weight: 500; }
.privacy-page a { text-decoration: underline; text-underline-offset: 4px; }
.retry-feed { padding: 5px 0; color: #eee; text-decoration: underline; text-underline-offset: 4px; }
.message { --voice-line-height: 22.4px; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; row-gap: 4px; padding: 0 0 14px; border-bottom: 1px solid var(--rule); }
.message + .message { padding-top: 16px; }
.message:last-child { border-bottom: 0; padding-bottom: 0; }
.voice-identity { grid-column: 1 / -1; min-width: 0; color: #a2a2ad; font-size: 12px; line-height: 17px; overflow-wrap: anywhere; }
.voice-date { color: inherit; }
.message p { grid-column: 1; margin: 0; min-width: 0; font-size: 16.3px; line-height: var(--voice-line-height); letter-spacing: -.15px; white-space: pre-line; overflow-wrap: anywhere; }
.message-text.is-collapsed { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; max-height: calc(var(--voice-line-height) * 4); overflow: hidden; }
.message-expand { grid-column: 1; grid-row: 3; justify-self: start; display: inline-flex; align-items: center; gap: 7px; min-height: 28px; padding: 4px 0; color: #a8a8b4; font-size: 12px; line-height: 20px; }
.message-expand > svg { width: 10px; height: 7px; flex-shrink: 0; }
.message-expand[aria-expanded='true'] > svg { transform: rotate(180deg); }
.message-expand:hover { color: #f0f0f1; }
.voice-actions { grid-column: 2; grid-row: 2; align-self: end; display: flex; align-items: center; gap: 7px; margin-right: -2px; margin-bottom: -4px; }
.like-button { display: inline-flex; align-items: center; justify-content: flex-end; gap: 8px; min-height: 30px; min-width: 39px; padding: 2px 0 2px 3px; color: #bdbdc8; }
.like-button svg { width: 19px; height: 19px; fill: none; flex-shrink: 0; }
.like-button[aria-pressed='true'] { color: #f1f1f3; }
.like-button[aria-pressed='true'] svg { fill: currentColor; animation: heart-in .18s ease-out; }
.like-count { min-width: 8px; font-size: 16px; line-height: 22px; font-variant-numeric: tabular-nums; }
.delete-message { display: grid; place-items: center; width: 24px; height: 30px; padding: 3px; color: #767680; }
.delete-message svg { width: 14px; height: 14px; }
.load-more { width: 100%; min-height: 44px; margin-top: 24px; background: #171719; color: #c7c7cf; border-radius: 6px; font-size: 14px; }
.composer { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); z-index: 4; width: min(calc(100% - 36px), 480px); padding: 20px 0 calc(max(18px, env(safe-area-inset-bottom, 0px)) + 10px); background: linear-gradient(transparent, var(--background) 20px); }
.primary-button { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; min-height: 54px; padding: 15px 20px; background: #f3f3f3; color: #101011; font-size: 17px; font-weight: 400; line-height: 24px; letter-spacing: -.35px; border-radius: 6px; }
.primary-button > svg { width: 23px; height: 23px; flex-shrink: 0; }
.primary-button:hover { background: #dedee1; }
html.modal-open { overflow: hidden; }
.sheet { position: fixed; inset: 0 0 var(--keyboard-inset, 0px); margin: auto auto 0; width: min(100%, 480px); max-width: 100%; max-height: calc(var(--visual-height, 100dvh) - 12px); padding: 16px 24px calc(max(18px, env(safe-area-inset-bottom, 0px)) + 10px); border: 0; border-radius: 28px 28px 0 0; background: #151517; color: var(--text); box-shadow: 0 -15px 80px #0005; overflow-y: auto; overscroll-behavior: contain; }
.sheet::backdrop { background: #0008; }
.sheet[open] { animation: sheet-in .2s ease-out; }
.sheet-handle { width: 40px; height: 4px; margin: 0 auto 23px; border-radius: 5px; background: #666671; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 34px; margin-bottom: 22px; }
.sheet-head h2 { margin: 0; font-size: 27px; font-weight: 400; line-height: 34px; letter-spacing: -.4px; }
.close-button { color: #b7b7c3; width: 32px; height: 32px; padding: 0; margin-right: -4px; }
.close-button svg { width: 30px; height: 30px; }
.writing-area { padding-bottom: 9px; border-bottom: 1px solid #363639; }
textarea { display: block; resize: none; width: 100%; height: 112px; min-height: 112px; max-height: 112px; margin: 0; padding: 0 32px 0 0; border: 0; border-radius: 0; outline: none; background: transparent; color: var(--text); font-size: 22px; line-height: 28px; letter-spacing: -.25px; caret-color: #bcbcc7; -webkit-appearance: none; }
textarea::placeholder { color: #74747f; }
.input-meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; min-height: 24px; padding-top: 6px; font-size: 13px; line-height: 18px; color: #a0a0ad; }
#character-count { margin-left: auto; white-space: nowrap; }
#message-error, .field-error { color: #e4a6a6; font-size: 12px; line-height: 18px; }
.settings-row { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 62px; padding: 16px 0; gap: 18px; border-bottom: 1px solid #363639; font-size: 16px; line-height: 22px; letter-spacing: -.1px; }
.settings-label { color: #a2a2ad; }
.settings-row[data-pick-country] { min-height: 60px; }
.settings-choice { display: inline-flex; align-items: center; justify-content: flex-end; gap: 7px; min-width: 0; }
.settings-choice > span { min-width: 0; max-width: 210px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.settings-choice > svg { flex-shrink: 0; width: 8px; height: 12px; color: #b8b8c3; }
.settings-row[data-pick-country] .settings-choice > svg { width: 11px; height: 8px; }
.storage-note { margin: 16px 0 8px; color: #a0a0ac; font-size: 13px; line-height: 18px; letter-spacing: -.1px; }
.navigation { display: flex; flex-direction: column; margin: 0 0 24px; }
.navigation a, .navigation button { display: block; width: 100%; padding: 16px 0; text-align: left; font-size: 24px; }
.navigation a:hover, .navigation button:hover { color: #aaa; }
.about-text { font-size: 15px; line-height: 23px; }
.about-text p { margin: 16px 0; }
.muted { color: var(--muted); }
.menu-footnote { margin: 24px 0 5px; color: var(--muted); font-size: 12px; line-height: 18px; }
.country-note { margin: -6px 0 16px; color: var(--muted); font-size: 14px; line-height: 21px; }
.country-options { display: flex; flex-direction: column; }
.country-options button { display: flex; align-items: center; width: 100%; gap: 15px; min-height: 62px; padding: 14px 8px; text-align: left; font-size: 17px; border-radius: 5px; }
.country-options button[aria-pressed='true'] { background: #242427; }
.country-options img { display: block; width: 30px; height: 23px; image-rendering: pixelated; opacity: 1; }
.country-check { margin-left: auto; color: #e6e6eb; opacity: 0; }
.country-options button[aria-pressed='true'] .country-check { opacity: 1; }
.author-modes { display: flex; gap: 7px; margin-bottom: 20px; }
.author-modes button { min-height: 42px; padding: 10px 13px; color: var(--muted); font-size: 15px; border-radius: 5px; }
.author-modes button[aria-pressed='true'] { color: #fff; background: #29292d; }
.author-name-field { margin-bottom: 18px; }
.author-name-field label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 13px; line-height: 18px; }
.author-name-input { width: 100%; min-width: 0; padding: 13px 14px; border: 0; border-radius: 5px; outline: none; color: var(--text); background: #252528; font-size: 17px; line-height: 25px; -webkit-appearance: none; }
.author-name-input:focus { background: #2c2c30; }
.author-name-input::placeholder { color: #868691; }
.field-error { margin: 0 0 14px; }
.field-error:empty { display: none; }
.legacy-section { margin: 24px 0 0; }
.legacy-section h3 { margin: 0 0 10px; font-size: 17px; font-weight: 400; }
.legacy-section > p { font-size: 13px; line-height: 19px; }
.legacy-draft { padding: 15px 0; }
.legacy-draft p { margin: 0; font-size: 16px; line-height: 23px; white-space: pre-line; overflow-wrap: anywhere; }
.use-draft { min-height: 40px; padding: 9px 0; color: #c4c4cd; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.toast { position: fixed; z-index: 10; bottom: max(24px, calc(env(safe-area-inset-bottom, 0px) + 12px)); left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 36px); border-radius: 10px; padding: 13px 17px; background: #29292e; color: #f3f3f3; font-size: 13px; line-height: 19px; box-shadow: 0 4px 40px #0007; }
@keyframes sheet-in { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes heart-in { 50% { transform: scale(1.15); } }
@media (max-width: 359px) {
  .site-shell, .composer { width: calc(100% - 28px); }
  h1 { font-size: 26px; }
  .hero-description { font-size: 15px; line-height: 21px; }
  .hero { padding-top: 24px; }
  .clock { width: 240px; gap: 6px; }
  .clock-value { font-size: 31px; }
  .every-second { font-size: 15px; }
  .message { --voice-line-height: 21px; }
  .message p { font-size: 15px; }
  .sheet { padding-left: 20px; padding-right: 20px; }
  textarea { font-size: 20px; line-height: 27px; padding-right: 12px; }
  .settings-row { font-size: 15px; }
  .primary-button { font-size: 16px; padding-left: 17px; padding-right: 17px; }
}
@media (min-width: 600px) {
  .site-shell { padding-top: 24px; }
  .hero { padding-top: 30px; padding-bottom: 22px; }
  .hero-description { font-size: 18px; line-height: 24px; }
  .messages { padding-top: 22px; }
  .message { --voice-line-height: 25px; }
  .message p { font-size: 18px; }
  .voice-identity { font-size: 13px; line-height: 19px; }
  .message + .message { padding-top: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .sheet[open], .like-button[aria-pressed='true'] svg { animation: none; }
}

.signature-note{margin:13px 0 0;color:#9696a1;font-size:12px;line-height:17px}
