/* FelineUnion dark scheme
*/

:root {
  --fu-bg: #0b0d10;
  --fu-surface: #11151b;
  --fu-surface-2: #161c24;
  --fu-border: #242c37;

  --fu-text: #e7eef7;
  --fu-muted: #9aa7b8;

  --fu-accent: #c84b4b;      /* main red */
  --fu-accent-2: #ff6a6a;    /* hover red */
  --fu-focus: #ff6a6a;

  --fu-radius: 14px;
}

/* Global surfaces */
body,
.ui,
.columns-area,
.drawer,
.column,
.column > .scrollable,
.tabs-bar,
.search__input,
.compose-form,
.compose-form__buttons-wrapper,
.compose-form__publish {
  background: var(--fu-bg) !important;
  color: var(--fu-text) !important;
}

/* Panels, cards, list items */
.column-header,
.column-subheading,
.detailed-status,
.status,
.status__content-wrapper,
.notification,
.account,
.account__section-headline,
.admin-wrapper,
.box-widget,
.announcements,
.directory__tag,
.card,
.load-more,
.load-gap,
.getting-started,
.navigation-panel,
.compose-panel {
  background: var(--fu-surface) !important;
  border-color: var(--fu-border) !important;
  color: var(--fu-text) !important;
  border-radius: var(--fu-radius) !important;
}

/* Slightly raised surfaces */
.column-header__wrapper,
.drawer__header,
.search-results__section,
.compose-form__autosuggest-wrapper,
.autosuggest-textarea__textarea,
.reply-indicator,
.report__comment,
.modal-root__container {
  background: var(--fu-surface-2) !important;
  border-color: var(--fu-border) !important;
  color: var(--fu-text) !important;
  border-radius: var(--fu-radius) !important;
}

/* Text tuning */
a,
.status__content a,
.link-button {
  color: var(--fu-accent) !important;
}

a:hover,
.status__content a:hover,
.link-button:hover {
  color: var(--fu-accent-2) !important;
}

.status__display-name,
.display-name,
.account__display-name,
.column-header__title,
.column-subheading,
.detailed-status__display-name {
  color: var(--fu-text) !important;
}

.status__relative-time,
.status__action-bar__counter,
.notification__message,
.muted,
.hint,
.compose-form__modifiers,
.compose-form__poll-wrapper,
.status__content__spoiler-link,
.search__input::placeholder {
  color: var(--fu-muted) !important;
}

/* Inputs */
input,
textarea,
select,
.search__input,
.autosuggest-textarea__textarea {
  background: var(--fu-surface-2) !important;
  color: var(--fu-text) !important;
  border: 1px solid var(--fu-border) !important;
  border-radius: 12px !important;
}

input:focus,
textarea:focus,
select:focus,
.search__input:focus,
.autosuggest-textarea__textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--fu-focus) 55%, transparent) !important;
  outline-offset: 2px !important;
}

/* Buttons */
button,
.button,
.button.button-secondary,
.icon-button,
.text-btn {
  border-radius: 12px !important;
}

.button,
.button.button-primary {
  background: var(--fu-accent) !important;
  border-color: var(--fu-accent) !important;
  color: #0b0d10 !important;
}

.button:hover,
.button.button-primary:hover {
  background: var(--fu-accent-2) !important;
  border-color: var(--fu-accent-2) !important;
}

/* Subtle separators */
hr,
.column-header,
.column-subheading,
.status,
.notification,
.detailed-status,
.account {
  border-color: var(--fu-border) !important;
}

/* Make avatars and media feel consistent */
.avatar,
.account__avatar,
.status__avatar,
.detailed-status__avatar {
  border-radius: 999px !important;
}

.media-gallery,
.video-player,
audio {
  border-radius: var(--fu-radius) !important;
  border: 1px solid var(--fu-border) !important;
}

/* Optional: reduce blinding whites in images area background */
.media-gallery__item,
.video-player {
  background: #0a0c0f !important;
}
/* Hide default Mastodon symbol */
.brand__logo-symbol {
  display: none !important;
}

:root {
  --accent: #ff4d4d;
}

/* Base button */
.fu-btn {
  display: inline-block;
  padding: 10px 18px;
  margin: 6px 6px 6px 0;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none !important;
  background: linear-gradient(135deg, #ff4d4d, #ff9966);
  color: white !important;
  transition: all 0.2s ease;
}

/* Hover */
.fu-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}

/* Secondary style */
.fu-btn.secondary {
  background: #222;
  border: 2px solid #ff4d4d;
}

.edit-indicator__content .emojione,
.reply-indicator__content .emojione,
.status__content .emojione {
    height: 25px;
    width: 25px;
}

.detailed-status .status__content .emojione {
    height: 30px;
    width: 30px;
}


a[href="https://felineunion.org/auth/sign_in"] {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 10px;
  background: #ff4d4d;
  color: white !important;
  font-weight: 600;
  text-decoration: none !important;
}

/* Compose form
* Why are the buttons inside? Why?
*/
.compose-form__highlightable {
    border: 0;
    background: 0;
}

.compose-form .autosuggest-textarea__textarea,
.compose-form .spoiler-input__input {
    border: 1px solid var(--background-border-color);
    border-radius: 4px;
}

.compose-form__footer {
    display: grid;
    grid-template-areas:
        "buttons buttons"
        "dropdowns submit";
    padding: 0;
}

.compose-form__buttons {
    grid-area: buttons;
}

.compose-form__dropdowns {
    grid-area: dropdowns;
}

.compose-form__submit {
    grid-area: submit;
}

.compose-form__actions {
    display: contents;
}

.compose-form__uploads {
    padding: 0;
}

.compose-form .spoiler-input__input {
    border-radius: 4px 4px 0 0;
}

.compose-form .spoiler-input + .autosuggest-textarea .autosuggest-textarea__textarea {
    border-radius: 0 0 4px 4px;
    border-top: 0;
}

.compose-form .spoiler-input .autosuggest-input {
    border-bottom: 0;
}

.compose-form__poll .poll__option {
    padding: 0;
}

.emoji-picker-dropdown__menu {
    margin-left: 5px;
}

/* Hides the “post privacy” label */
.compose-form__footer [title$="privacy"] span {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

