:root {
  --font-main: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --black: #171717;
  --text: #262626;
  --muted: #737373;
  --soft: #a3a3a3;
  --line: #e5e5e5;
  --line-dark: #d4d4d4;
  --surface: #fafafa;
  --white: #fff;
  --green: #059669;
  --red: #dc2626;
}

* {
  box-sizing: border-box;
}

html {
  background: #fff;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: #fff;
  color: var(--text);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#app {
  min-height: 100vh;
  padding-bottom: calc(52px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

button:focus-visible,
input:focus-visible {
  outline: 2px solid #171717;
  outline-offset: 2px;
}

.hidden {
  display: none !important;
}

/* Post-answer celebration */
.submission-thanks {
  position: relative;
  height: 0;
  overflow: visible;
  text-align: center;
  pointer-events: none;
  z-index: 3;
}

.community-hint > strong.submission-message-transition {
  display: inline-block;
  opacity: 0;
  transform: translateY(-5px);
  filter: blur(2px);
  transition: opacity .3s ease, transform .4s cubic-bezier(.16,1,.3,1), filter .3s ease;
}

.community-hint > strong.submission-message-transition.show {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.submission-confetti {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: block;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  opacity: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 64px;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.header-inner {
  width: min(100%, 896px);
  height: 100%;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--black);
  text-decoration: none;
  white-space: nowrap;
}

.brand > span {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.045em;
}

.brand small {
  color: #a3a3a3;
  font-size: 12px;
  font-weight: 500;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.streak-badge,
.header-button,
.icon-button {
  height: 34px;
  border: 1px solid var(--line);
  background: #f5f5f5;
  color: #404040;
}

.streak-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.flame {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(1);
  opacity: .45;
  line-height: 1;
}

.streak-badge.active {
  color: #404040;
}

.streak-badge.active .flame {
  filter: none;
  opacity: 1;
}

.flame svg {
  width: 15px;
  height: 15px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-button {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  transition: background .15s ease, border-color .15s ease;
}

.header-button:hover,
.icon-button:hover {
  background: #eaeaea;
  border-color: var(--line-dark);
}

.header-button .icon {
  width: 15px;
  height: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-button .icon svg {
  width: 15px;
  height: 15px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-button {
  width: 34px;
  padding: 0;
  border-radius: 8px;
  font-size: 15px;
}

.main-container {
  width: min(100%, 768px);
  flex: 1 0 auto;
  margin: 0 auto;
  padding: 32px 16px 88px;
}

.clean-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,.02);
}

.loading-state {
  min-height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.spinner {
  width: 24px;
  height: 24px;
  border: 2px solid #e5e5e5;
  border-top-color: #171717;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.error-state {
  margin-top: 80px;
  padding: 20px;
  border: 1px solid #fecaca;
  border-radius: 12px;
  background: #fef2f2;
  color: #991b1b;
  font-size: 13px;
  text-align: center;
}

.day-navigation {
  min-height: 68px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.day-button {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #525252;
  font-size: 13px;
  font-weight: 500;
  transition: background .15s ease, color .15s ease;
}

.day-button:hover:not(:disabled) {
  background: #f5f5f5;
  color: #171717;
}

.day-button:disabled {
  opacity: .3;
}

.day-button > span:first-child,
.day-button > span:last-child {
  font-size: 21px;
  line-height: 1;
}

.active-date {
  text-align: center;
}

.active-date > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.active-date strong {
  color: #171717;
  font-size: 14px;
  font-weight: 700;
}

.date-pill,
.category-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 9px;
  font-weight: 700;
}

.date-pill {
  padding: 4px 8px;
  background: #171717;
  color: #fff;
}

.date-pill.past {
  background: #f5f5f5;
  border: 1px solid var(--line);
  color: #737373;
}

.release-timer {
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #8f8f8f;
  font-size: 14px;
  letter-spacing: .01em;
}

.release-timer strong {
  color: #303030;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  letter-spacing: .02em;
}

.prompt-card {
  margin-top: 14px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.prompt-meta {
  min-height: 18px;
}

.category-badge {
  padding: 4px 8px;
  background: #f5f5f5;
  border: 1px solid var(--line);
  color: #737373;
}

.prompt-card h1 {
  margin: 0;
  max-width: 680px;
  color: #171717;
  font-size: 30px;
  line-height: 1.35;
  letter-spacing: -.025em;
  font-weight: 800;
}

.prompt-blank {
  display: inline;
  color: #171717;
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration-color: #171717;
}

.prompt-blank.empty {
  color: #a3a3a3;
}

.community-hint {
  margin-top: -4px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: #8f8f8f;
  font-size: 12px;
  line-height: 1.45;
}

.community-hint strong:first-child {
  color: #525252;
  font-weight: 700;
}

.community-hint span strong {
  color: #303030;
  font-weight: 700;
}

.answer-form {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.answer-row {
  display: flex;
  gap: 10px;
}

.answer-input-wrap {
  position: relative;
  flex: 1;
}

.answer-input {
  width: 100%;
  height: 48px;
  padding: 0 56px 0 14px;
  border: 1px solid #d4d4d4;
  border-radius: 8px;
  outline: none;
  color: #171717;
  background: #fff;
  font-size: 15px;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.answer-input:focus {
  border-color: #171717;
  background: #fafafa;
  box-shadow: 0 0 0 1px #171717;
}

.answer-input::placeholder {
  color: #a3a3a3;
}

.answer-count {
  position: absolute;
  right: 12px;
  bottom: 15px;
  color: #a3a3a3;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

.primary-button {
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  background: #171717;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  transition: background .15s ease, opacity .15s ease, transform .15s ease;
}

.primary-button:hover:not(:disabled) {
  background: #262626;
}

.primary-button:active:not(:disabled) {
  transform: translateY(1px);
}

.primary-button:disabled {
  opacity: .4;
}

.primary-button.wide {
  width: 100%;
}

.secondary-button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #525252;
  font-size: 12px;
  font-weight: 700;
}

.secondary-button:hover {
  background: #fafafa;
}

.share-button {
  align-self: center;
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.share-button:active {
  transform: translateY(1px);
}

.answer-note {
  margin: 0;
  color: #a3a3a3;
  font-size: 11px;
}

.answer-error {
  margin: 0;
  color: #dc2626;
  font-size: 12px;
  font-weight: 600;
}

.answer-locked {
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fafafa;
  color: #525252;
  font-size: 12px;
}

.answer-locked strong {
  color: #171717;
}

.locked-icon {
  color: #737373;
}

.stats-card {
  margin-top: 24px;
  padding: 24px;
  animation: statsAppear .5s cubic-bezier(.16,1,.3,1);
}

@keyframes statsAppear {
  0% { opacity: 0; transform: translateY(18px) scale(.98); }
  60% { opacity: 1; transform: translateY(-2px) scale(1.002); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.stats-header {
  padding-bottom: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.stats-header h2 {
  margin: 0 0 5px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #171717;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.stats-icon {
  font-size: 19px;
  color: #404040;
}

.stats-header p {
  margin: 0;
  color: #737373;
  font-size: 11px;
}

.stats-header p strong {
  color: #525252;
}

.search-wrap {
  width: 256px;
  position: relative;
}

.search-wrap > .search-icon {
  position: absolute;
  left: 10px;
  top: 8px;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #a3a3a3;
  pointer-events: none;
}

.search-wrap > .search-icon svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.search-wrap input {
  width: 100%;
  height: 32px;
  padding: 0 10px 0 29px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fafafa;
  outline: none;
  color: #171717;
  font-size: 11px;
}

.search-wrap input:focus {
  background: #fff;
  border-color: #171717;
}

.stats-tabs {
  margin-top: 14px;
  padding-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}

.stats-tab {
  flex: 0 0 auto;
  padding: 7px 11px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #525252;
  font-size: 11px;
  font-weight: 700;
  transition: background .15s ease, color .15s ease;
}

.stats-tab:hover {
  background: #f5f5f5;
}

.stats-tab.active {
  background: #171717;
  color: #fff;
}

.stats-content {
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stat-item {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(250,250,250,.5);
}

.stat-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.stat-answer {
  min-width: 0;
  color: #171717;
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.stat-meta {
  flex: 0 0 auto;
  color: #737373;
  font-size: 11px;
  font-weight: 500;
}

.stat-bar-track {
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5e5e5;
}

.stat-bar-fill {
  height: 100%;
  min-width: 3%;
  border-radius: 999px;
  background: #171717;
  transition: width .3s ease;
}

.word-cloud {
  min-height: 180px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fafafa;
}

.word-bubble {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #262626;
  font-weight: 800;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}

.word-bubble:hover {
  transform: translateY(-1px);
  background: #171717;
  color: #fff;
}

.empty-stats {
  padding: 28px;
  border-radius: 8px;
  background: #fafafa;
  color: #737373;
  text-align: center;
  font-size: 11px;
}

.ad-anchor {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  min-height: 52px;
  padding: 6px 12px calc(6px + env(safe-area-inset-bottom));
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255,255,255,.97);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 16px rgba(0,0,0,.04);
  backdrop-filter: blur(8px);
}

.ad-anchor-inner {
  width: min(100%, 728px);
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a3a3a3;
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.main-container {
  border-top: 1px solid var(--line);
  color: #737373;
  font-size: 11px;
}

.site-footer {
  margin-top: auto;
}

.site-footer > div {
  width: min(100%, 896px);
  min-height: 72px;
  margin: 0 auto;
  padding: 18px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.site-footer > div > span {
  color: #a3a3a3;
  font-size: 11px;
}

.site-footer > div > div {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #a3a3a3;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer button,
.site-footer a {
  border: 0;
  background: transparent;
  padding: 0;
  color: #a3a3a3;
  font-size: 11px;
}

.site-footer button:hover,
.site-footer a:hover {
  color: #404040;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23,23,23,.4);
  backdrop-filter: blur(5px);
}

.modal-panel {
  position: relative;
  width: min(100%, 520px);
  max-height: 85vh;
  padding: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0,0,0,.12);
}

.modal-panel.small {
  width: min(100%, 430px);
}

.modal-header {
  padding-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.modal-header > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-header h3 {
  margin: 0;
  color: #171717;
  font-size: 15px;
  font-weight: 800;
}

.modal-icon {
  font-size: 18px;
}

.close-button {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #a3a3a3;
  font-size: 22px;
  line-height: 1;
}

.close-button:hover {
  background: #f5f5f5;
  color: #404040;
}

.modal-description {
  margin: 0;
  color: #737373;
  font-size: 11px;
  line-height: 1.55;
}

.archive-list {
  min-height: 80px;
  max-height: 54vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 3px;
}

.archive-item {
  padding: 12px;
  text-align: left;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}

.archive-item:hover {
  border-color: #a3a3a3;
  background: #fafafa;
}

.archive-item.active {
  border-color: #171717;
  background: #fafafa;
}

.archive-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.archive-date {
  text-align: left;
  color: #171717;
  font-size: 11px;
  font-weight: 800;
}

.archive-prompt {
  color: #525252;
  font-size: 11px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.archive-meta {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 5px;
  padding-top: 1px;
}

.archive-count {
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #f5f5f5;
  color: #737373;
  font-size: 8px;
  line-height: 1.2;
  white-space: nowrap;
}

.archive-arrow {
  color: #a3a3a3;
  font-size: 18px;
}

.modal-close-wide {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #525252;
  font-size: 11px;
  font-weight: 800;
}

.modal-close-wide:hover {
  background: #fafafa;
}

body.modal-open {
  overflow: hidden;
}

@keyframes shake {
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.shake {
  animation: shake .2s ease-in-out;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #e5e5e5;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #d4d4d4;
}

@media (max-width: 680px) {
  .site-header {
    height: auto;
    min-height: 64px;
  }

  .header-inner {
    min-height: 64px;
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .brand small {
    display: none;
  }

  .header-actions {
    gap: 5px;
  }

  .streak-badge {
    padding: 0 8px;
  }

  .header-button span:last-child {
    display: none;
  }

  .header-button {
    width: 34px;
    justify-content: center;
    padding: 0;
  }

  .main-container {
    padding-top: 20px;
  }

  .release-timer {
    margin-top: 3px;
    font-size: 14px;
  }

  .release-timer strong {
    font-size: 14px;
  }

  .prompt-card {
    padding: 24px;
  }

  .prompt-card h1 {
    font-size: 24px;
  }

  .community-hint {
    font-size: 11px;
  }

  .answer-row {
    flex-direction: column;
  }

  .primary-button {
    width: 100%;
  }

  .stats-card {
    padding: 18px;
  }

  .stats-header {
    align-items: stretch;
    flex-direction: column;
  }

  .search-wrap {
    width: 100%;
  }

  .stat-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .site-footer > div {
    min-height: 62px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    text-align: center;
  }

  .site-footer > div > span {
    color: #a3a3a3;
    font-size: 10px;
    white-space: nowrap;
  }

  .footer-links {
    width: 100%;
    justify-content: center;
    gap: 6px 12px;
  }

  .site-footer button,
  .site-footer a {
    font-size: 10px;
    white-space: nowrap;
  }
}

@media (max-width: 430px) {
  .hide-mobile {
    display: none;
  }

  .day-navigation {
    padding: 8px;
  }

  .day-button {
    padding: 7px;
  }

  .prompt-card {
    padding: 20px;
  }

  .prompt-card h1 {
    font-size: 22px;
  }

  .brand > span {
    font-size: 22px;
  }

  .modal-panel {
    padding: 18px;
  }
}

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


/* All Answers */
.answers-page {
  width: min(100%, 896px);
  padding-bottom: 96px;
}

.all-answers-card {
  padding: 24px;
}

.all-answers-header {
  padding-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.all-answers-header h1 {
  margin: 0 0 4px;
  color: var(--black);
  font-size: 24px;
  letter-spacing: -.03em;
}

.all-answers-header p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.all-answers-header > strong {
  color: var(--black);
  font-size: 18px;
}

.answers-list {
  max-height: min(68vh, 720px);
  margin-top: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.all-answer-item {
  padding: 15px 4px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.all-answer-item:last-child {
  border-bottom: 0;
}

.all-answer-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.all-answer-text {
  color: var(--black);
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.all-answer-prompt {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.all-answer-meta {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--soft);
  font-size: 10px;
  white-space: nowrap;
}

.answers-load-state {
  min-height: 36px;
  padding: 12px 4px 4px;
  color: var(--soft);
  text-align: center;
  font-size: 10px;
}

.answers-load-state:empty {
  display: none;
}

.answers-page .secondary-button {
  margin-top: 10px;
}

.answers-back-button {
  text-decoration: none;
}

@media (max-width: 680px) {
  .answers-page {
    padding-left: 12px;
    padding-right: 12px;
  }

  .all-answers-card {
    padding: 18px;
  }

  .all-answers-header h1 {
    font-size: 21px;
  }

  .all-answer-item {
    flex-direction: column;
    gap: 7px;
  }

  .all-answer-meta {
    flex-wrap: wrap;
    white-space: normal;
  }
}

/* All Answers statistics tab */
.all-answers-scroll { max-height: 420px; overflow-y: auto; border: 1px solid var(--line); border-radius: 8px; background: #fafafa; }
.all-answer-row { padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); background: #fff; }
.all-answer-row:last-child { border-bottom: 0; }
.all-answer-value { min-width: 0; color: #171717; font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.all-answer-meta { flex: 0 0 auto; display: flex; align-items: center; gap: 9px; color: #a3a3a3; font-size: 11px; white-space: nowrap; }
@media (max-width: 680px) {
  .all-answer-row { align-items: flex-start; flex-direction: column; gap: 6px; }
  .all-answer-meta { white-space: normal; }
}


/* Answer likes */
.answer-like-button {
  min-width: 44px;
  min-height: 28px;
  padding: 4px 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #737373;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.answer-like-button:hover:not(:disabled) {
  border-color: #a3a3a3;
  background: #fafafa;
  color: #171717;
}
.answer-like-button:active:not(:disabled) {
  transform: translateY(1px);
}
.answer-like-button.liked {
  border-color: #fecaca;
  background: #fef2f2;
  color: #dc2626;
  cursor: pointer;
}
.answer-like-button.liked span:first-child,
.answer-like-button.liked span:last-child {
  color: #dc2626;
}

.answer-like-button.liked:hover:not(:disabled) {
  border-color: #fca5a5;
  background: #fee2e2;
  color: #b91c1c;
}

.answer-like-button.liked:hover:not(:disabled) span:first-child,
.answer-like-button.liked:hover:not(:disabled) span:last-child {
  color: #b91c1c;
}

.answer-like-button:disabled {
  opacity: 1;
  cursor: default;
}
.all-answer-like-count {
  min-width: 44px;
  text-align: center;
  color: #737373;
  font-size: 11px;
  font-weight: 700;
}


.modal-icon {
  width: 17px;
  height: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #525252;
}

.modal-icon svg {
  width: 17px;
  height: 17px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer a,
.site-footer button {
  text-decoration: none;
}
