:root {
  --background: rgb(21, 22, 24);
  --text-primary: #d7dfeb;
  --text-secondary: #8791a1;
  --border: #2c2e33;
  --hover: rgb(255 255 255 / 3%);
  --primary: #0f1419;
  --small-button: #494d55;
  --sidebar-width: 275px;
  --mobile-header-height: 54px;
  --mobile-nav-height: 58px;
  --button: #2b56ba;
  --page-background: var(--background);
  --popup: #232428;
  --nav-active: rgb(255 255 255 / 6%);
  --layout-width: 1265px;
  --link: rgb(29, 155, 240);
  --background-lighter: rgb(25 27 29);
  --background-lighter: rgb(17 18 19);
  --layout-left: max(0px,
      calc((100vw - var(--layout-width)) / 2));
    --bg: rgb(0 0 0 / 95%);

}

html[data-dyslexia-friendly="true"],
html[data-dyslexia-friendly="true"] input,
html[data-dyslexia-friendly="true"] textarea,
html[data-dyslexia-friendly="true"] select,
html[data-dyslexia-friendly="true"] button {
    font-family: "Atkinson Hyperlegible" !important;
}

html[data-theme="default"] {
    --background: white;
    --text-primary: rgb(15, 15, 15);
    --background-lighter: rgb(247 247 247);
    --border: #d5d5d5;
    --text-secondary: #8791a1;
    --bg: rgb(205 205 205 / 95%);
    --hover: rgb(0 0 0 / 3%);
    --nav-active: rgb(0 0 0 / 6%);
}

.dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;

    width: 220px;
    padding: 0px 0;

    background: var(--popup);
    border-radius: 20px;

    overflow: hidden;

    transform-origin: top right;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(-4px) scale(.96);

    border: 1px solid var(--border);

    transition:
    opacity .15s ease,
    transform .15s cubic-bezier(.17,.67,.32,1.28), visibility 0s linear .18s;
    transform-origin: top right;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.4);

    z-index: 1000;
}

.content-divider {
  margin-top: 10px;
  margin-bottom: 10px;
  width: 100%;
  height: 1px;
  background: var(--border);
}

.dropdown-menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateY(0) scale(1);

    transition:
        opacity .18s ease,
        transform .18s cubic-bezier(.2,.8,.2,1),
        visibility 0s;
}

.dropdown-item {
    display: flex;
    width: 100%;
    padding: 10px 20px;

    border: 0;
    background: transparent;

    color: var(--text-primary);
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    border-radius: 0;
}

.dropdown-item:hover {
    background: var(--hover);
}

.dropdown-item.danger {
    color: #ff3836;
}

.content-box p {
  margin: 0;
}

* {
  box-sizing: border-box;
}

html {
  font-family: "Lato", Arial, Helvetica, sans-serif;
}

.post-pinned {
  margin-right: 5px;
  margin-bottom: 5px;
}

.link-card {
  display: block;
  max-width: 550px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--text-secondary);
  font-family: Arial, sans-serif;
  text-decoration: none;
  margin-top: 10px;
  box-sizing: border-box;
  margin-left: 10px;

  max-width: 480px;
}

.link-card:hover {
  text-decoration: none !important;
}

.link-card:hover {
  background: var(--hover);
}

.link-card__image-wrapper {
  width: 100%;
  aspect-ratio: 1.91 / 1;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.link-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.link-card__body {
  display: flex;
}

.link-card__icon {
  display: flex;
  flex: 0 0 110px;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border);
}

.link-card__favicon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: contain;
}

.link-card__fallback-icon {
  color: var(--text-secondary);
  font-size: 34px;
}

.link-card__content {
  min-width: 0;
  padding: 12px;
}

.link-card__site,
.link-card__host {
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-card__title {
  overflow: hidden;
  margin-top: 2px;
  font-size: 15px;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-card__description {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 2px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 20px;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  -webkit-line-clamp: 2;
}

.link-card__host {
  margin-top: 4px;
}

.link-card__title {
  color: var(--text-primary) !important;
}

body {
  word-break: break-word;
  min-height: 100vh;
  margin: 0;
  color: var(--text-primary);
  background: var(--background);

  background: url(/assets/branding/logo.png) repeat;
  background-color: var(--bg);
  background-blend-mode: darken;
  background-attachment: fixed;

}

.nav-link.active {
  /*background: var(--nav-active);*/
  color: var(--text-primary);

  
}

.sidebar-indicator {
    position: absolute;
    top: 0;
    left: 0;

    width: 2px;
    height: 30px;

    border-radius: 999px;
    background: var(--text-primary);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        transform 0.3s cubic-bezier(.4, 0, .2, 1),
        height 0.3s cubic-bezier(.4, 0, .2, 1),
        opacity 0.2s ease,
        visibility 0s linear 0.2s;
}

.sidebar-indicator.is-visible {
    opacity: 1;
    visibility: visible;

    transition:
        transform 0.3s cubic-bezier(.4, 0, .2, 1),
        height 0.3s cubic-bezier(.4, 0, .2, 1),
        opacity 0.2s ease,
        visibility 0s linear 0s;
}

/* Disable only movement, while keeping the fade transition */
.sidebar-indicator.no-move-animation {
    transition:
        transform 0s,
        height 0s,
        opacity 0.2s ease,
        visibility 0s linear 0s;
}



button,
a {
  font: inherit;
}

.post .post-content a, .notification-post-preview a {
  color: var(--link);
}

.post a:hover {
  text-decoration: underline;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

/* Desktop sidebar */

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: var(--layout-left);

    display: flex;
    flex-direction: column;

    width: var(--sidebar-width);
    height: 100dvh;
    min-height: 0;
    padding: 0 10px;

    box-sizing: border-box;

    border-right: 1px solid var(--border);
    border-left: 1px solid var(--border);

    background: var(--background-lighter);

    overflow: hidden;
}





/*
         * Scrollbar
         */
        * {
            scrollbar-width: thin;
            scrollbar-color: #3f4347 transparent;
        }

        *::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }

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

        *::-webkit-scrollbar-thumb {
            background: #3f4347;

            border: 2px solid #111214;
            border-radius: 999px;
        }

        *::-webkit-scrollbar-thumb:hover {
            background: #5b6065;
        }

.text-divider {
  display: flex;
  align-items: center;
  width: 100%;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  margin-top: 3px;
  margin-bottom: 3px;
  color: var(--text-secondary);
}

.profile-icon-flex {
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
}

.divider {
  width: 100%;
  height: 20px;
}

.line {
  margin-top: 10px;
  margin-bottom: 10px;
  background: var(--border);
  height: 1px;
  width: 100%;
}

.text {
  color: var(--text-primary);
}

.text-divider::before,
.text-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--border);
}

.text-divider::before {
  margin-right: 10px;
  margin-left: -10px;
}

.submenu .submenu-item i {
  margin-right: 10px;
}

.text-divider::after {
  margin-left: 10px;
  margin-right: -10px;
}

.logo {
  display: grid;
  place-items: center;

  width: 52px;
  height: 52px;
  /*margin: 2px 0 4px;*/

  border-radius: 50%;
  font-size: 30px;
  font-weight: 700;
  transition: background 150ms ease;
}

.logo:hover {
  background: var(--hover);
}

.main-navigation {
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 3px;

    overflow-y: auto;
    overflow-x: hidden;
}

.nav-link {
  display: flex;
  align-items: center;
  align-self: flex-start;
  gap: 15px;

  min-height: 45px;
  padding: 0px 10px;

  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  width: 100%;
  color: var(--text-secondary);
  transition: background 150ms ease;
}



.composer-top,
.composer-bottom {
    display: none;
}



.nav-link:hover:not(.active) {
  background: var(--hover);
}

/* Outside modals */
.post:hover {
    background-color: var(--hover);
    cursor: pointer;
}

/* Inside modals */
.modal .post:hover {
    background-color: transparent;
    cursor: default;
}

.nav-link i {
  width: 20px;
  font-size: 18px;
  text-align: center;
}

.nav-link.active {
  font-weight: 700;
}

.verified-badge {
  color: #009fff;
}

.profile-banner {
  width: 100%;
  aspect-ratio: 3 / 1;
  background: var(--border);
  border-bottom: 1px solid --border;
  background-size: cover !important;
}

.submenu {
  position: relative;
  display: flex;
  flex-direction: row;
  width: 700px;
  max-width: 100%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--background-lighter);
  position: sticky;
  top: 50px;
  z-index: 12;
}

.submenu-item {
  flex: 1;
  padding: 16px 20px;
  border: 0;
  background: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
}

.submenu-item.is-active {
  color: var(--text-primary);
  font-weight: 700;
}

.submenu-line {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  border-radius: 360px;
  background: var(--text-primary);
  pointer-events: none;

  transition:
    transform 200ms ease,
    width 200ms ease;
}

@keyframes bgmove {
  0% {
    background-position-y: -15px;
  }

  45% {
    background-position-y: 0px;
  }

  55% {
    background-position-y: 0px;
  }

  100% {
    background-position-y: -15px;
  }
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse-white {
  0% {
    color: unset;
  }

  40% {
    color: unset;
    ;
  }

  100% {
    color: transparent;
  }
}

.flex {
  display: flex;
}

button.small {
  background: none;
  border: 1px solid var(--small-button);
  color: var(--text-primary);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgb(59 59 59 / 55%);

    display: none;
    justify-content: center;
    align-items: flex-start;

    z-index: 1000;

}

.modal {
    width: min(600px, 90vw);
    max-height: 80vh;

    display: flex;
    flex-direction: column;

    background: var(--background);
    border-radius: 20px;
    overflow: hidden;
    margin-top: 10vh;
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.4);
        z-index: 1001;
}

.modal-overlay {
    display: none;

    position: fixed;
    inset: 0;

    align-items: flex-start;
    justify-content: center;

    background: rgb(59 59 59 / 55%);

    opacity: 0;
    transition: opacity .18s ease;
    pointer-events: none;
}

.like-post i::after {
    content: "";

    position: absolute;
    left: 50%;
    top: 50%;

    width: 10px;
    height: 10px;

    border-radius: 50%;
    border: 2px solid #f91880;

    transform: translate(-50%, -50%) scale(0);
    opacity: 0;

    pointer-events: none;
}

.like-post i.animate::after {
    animation: heartBurst .35s ease-out;
}

@keyframes heartBurst {

    0% {
        opacity: .6;
        transform: translate(-50%, -50%) scale(.6);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(3);
    }

}


.post{
    position: relative;
}



.modal-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    transform: scale(.92);
    opacity: 0;

    transition:
        transform 200ms cubic-bezier(.34,1.56,.64,1),
        opacity 160ms ease;

    will-change: transform, opacity;
}

.modal-overlay.is-open .modal {
    transform: scale(1);
    opacity: 1;
}

.create-post-submit {
    display: flex;
    align-items: center;
    gap: 12px;
}

button.disabled {
  opacity: 0.3;
}

.push-settings.disabled {
    display: none;
}

.theme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
}

.theme {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.character-counter {
    --counter-size: 30px;
    --counter-colour: var(--button);

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: var(--counter-size);
    height: var(--counter-size);

    flex: 0 0 auto;
}





.reply-area {
    position: relative;
}

.reply-connectors-svg {
    position: absolute;
    top: 0;
    left: 0;

    display: block;

    z-index: 5;
    overflow: visible;

    pointer-events: none;
}

.reply-connector-path {
    fill: none;
    stroke: #3b4149;
    stroke-width: 2;
    stroke-linecap: round;
}

.reply-thread-node,
.reply-post-slot,
.reply-children {
    position: relative;
    width: 100%;
}

/*
 * Do not place the whole post above the SVG, otherwise
 * its background will cover the line.
 */
.reply-post-slot,
.reply-post-slot > .post {
    z-index: auto;
}

/*
 * Put the avatar itself above the connector.
 * Add your exact avatar class here.
 */
.reply-post-slot .post-avatar,
.reply-post-slot .post-profile-picture,
.reply-post-slot .profile-picture,
.reply-post-slot .user-avatar,
.reply-post-slot img:first-of-type {
    position: relative;
    z-index: 6;
}

.reply-post-slot .post.remove-reply-border {
    border-bottom: none;
}

.reply-thread-node[hidden],
.reply-thread-node.is-collapsed-reply {
    display: none !important;
}

.show-more-replies {
    display: block;
    width: auto;

    margin: 0px 0 0px 80px;
    padding: 0px 0;

    border: 0;
    background: transparent;

    color: #1d9bf0;
    font: inherit;
    font-size: 14px;

    cursor: pointer;
    text-align: left;
}

.show-more-replies:hover
.show-more-replies-label {
    text-decoration: underline;
}

.show-more-replies[hidden] {
    display: none !important;
}

.reply-thread-node[hidden],
.reply-thread-node.is-collapsed-reply {
    display: none !important;
}

.show-more-replies[hidden],
.show-more-replies.is-hidden-by-parent-expansion {
    display: none !important;
}

.replying-to {
    margin-left: 10px;
    font-size: 12px;

}

.reply-connector-path {
    fill: none;
    stroke: #3b4149;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.reply-thread-node.is-nested-reply
> .reply-post-slot {
    position: relative;
}




.character-counter svg {
    display: block;

    width: 100%;
    height: 100%;

    transform: rotate(-90deg);
    overflow: visible;
}

.character-counter circle {
    fill: none;
    stroke-width: 3;
}

.character-counter-track {
    stroke: #2f3336;
}

.character-counter-progress {
    stroke: var(--counter-colour);
    stroke-linecap: round;

    transition:
        stroke-dashoffset 120ms linear,
        stroke 120ms ease, width 150ms ease, height 150ms ease;
}

.character-counter-number {
    position: absolute;
    inset: 0;

    display: none;
    align-items: center;
    justify-content: center;

    color: var(--text-secondary);

    font-size: 12px;
    line-height: 1;
    font-weight: 700;
}

/* Show the remaining count near the limit */
.character-counter.is-near-limit {
    --counter-size: 30px;
}

.character-counter.is-near-limit .character-counter-number {
    display: flex;
}

/* Warning */
.character-counter.is-warning {
    --counter-colour: orange;
}

.character-counter.is-warning .character-counter-number {
    color: orange;
}

/* Over limit */
.character-counter.is-over-limit {
    --counter-colour: orangered;
}

.character-counter.is-over-limit .character-counter-number {
    color: orangered;
}

.character-counter.is-over-limit .character-counter-track {
    stroke: rgba(244, 33, 46, 0.25);
}

.modal-header,
.modal-footer {
    flex-shrink: 0;

    padding: 10px 20px;
    background: var(--background);
    border-bottom: 1px solid var(--border);
}

.modal-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;

    padding: 10px 20px;
    /*border-bottom: 1px solid #2f3336;*/
    border-bottom: 0;
}

.create-post-actions i {
  color: var(--text-secondary);
  font-size: 18px;
}

.create-post-actions {
  display: grid;
  align-items: center;
  gap: 20px;
  grid-auto-flow: column;
  position: relative;
}

.create-post-action {
  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
  padding: 0px;
  width: 20px;
    height: 20px;
    outline: 0px solid rgba(0,0,0,0);
    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 50%;
    transition: all .15s ease;
    
}

.create-post-action:not(.disabled) {
  cursor: pointer;
}

.post-composer {
    position: relative;
}





.mention-editor-wrapper {
    position: relative;

    /*
     * The picker must be allowed to extend outside
     * the editor wrapper.
     */
    overflow: visible;
}

.emoji-picker-popup {
    display: none;

    position: fixed;
    left: 0;
    top: calc(100% + 8px);

    width: 350px;
    height: 400px;

    z-index: 999999;

    background: var(--background);
    border: none;
    border-radius: 20px;

    overflow: hidden;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.4);
}



/* The actual emoji picker */
.emoji-picker-popup emoji-picker {
    display: block;
    width: 100%;
    height: 100%;

    /* Main picker colours */
    --background: var(--background);
    --border-color: transparent;

    /* Search input */
    --input-border-color: var(--border);
    --input-border-size: 1px;
    --input-border-radius: 20px;
    --input-font-color: var(--text-primary);
    --input-font-size: 15px;
    --input-line-height: 1.4;
    --input-padding: 9px 14px;
    --input-placeholder-color: var(--text-secondary);

    /* Focus states */
    --outline-color: #1d9bf0;
    --outline-size: 2px;

    /* Emoji/category layout */
    --num-columns: 8;
    --emoji-size: 1.35rem;
    --category-emoji-size: 1.2rem;
    --category-emoji-padding: 0.45rem;

    /* Skin-tone menu */
    --skintone-border-radius: 20px;
    --indicator-color: var(--text-primary);
    --indicator-height: 1px;
}



.emoji-picker-popup.is-open {
    display: block;
}

.emoji-picker-popup emoji-picker {
    display: block;
    width: 100%;
    height: 100%;
}

emoji-picker {
    width: min(350px, calc(100vw - 24px));
    height: 400px;
}

.create-post-action:hover {
  background: var(--hover);
  transform: scale(1.2);
  outline: 7px solid var(--hover);
}

.modal-header .close {
    appearance: none;
    border: 0;
    background: none;
    color: var(--text-primary);

    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;

    padding: 0;
    box-sizing: border-box;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    flex: 0 0 36px;

    font-size: 18px;
    line-height: 1;
}

.modal-header .close:hover {
  background: var(--hover);
}

.next {
    justify-self: end;
    white-space: nowrap;
    background: none;
    padding: 0;
}

.toast-container {
    position: fixed;
    left: 50%;
    bottom: 24px;

    transform: translateX(-50%);

    display: flex;
    flex-direction: column;
    gap: 10px;

    width: min(420px, calc(100vw - 32px));

    z-index: 999999;

    pointer-events: none;
}

.toast-message {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    padding: 10px 20px;

    border-radius: 999px;

    background: #1d9bf0;
    color: #d7dfeb;

    font-size: 16px;
    font-weight: 500;
    line-height: 20px;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.4);

    opacity: 0;
    transform: translateY(20px) scale(.96);

    transition:
        opacity .22s ease,
        transform .22s ease;

    pointer-events: auto;

    overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.3);
}

button.red {
  background: #ba2b2b;
}

.toast-message.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.toast-message.is-leaving {
    opacity: 0;
    transform: translateY(12px) scale(.96);
}

.toast-success {
    background: #175100;
}

.toast-error {
    background: #510000;
}

.toast-warning {
    background: #554801;
}

.toast-info {
    background: #003e51;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;

    flex: 1;
    min-width: 0;
}

.toast-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.toast-text {
    overflow-wrap: anywhere;
}

.toast-close {
    width: 30px;
    height: 30px;

    border: none;
    border-radius: 50%;



    background: transparent;
    color: inherit;

    border: 0 !important;
    padding: 0 !important;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: background .15s;
}

.toast-close:hover {
    background: rgba(255,255,255,.15);
}

.toast-warning .toast-close:hover {
    background: rgba(0,0,0,.1);
}

@media (max-width:600px){

    .toast-container{
        width:calc(100vw - 20px);
        bottom:16px;
    }

    .toast-message{
        width:100%;
    }

}

.modal-footer {
    border-bottom: none;
    border-top: 1px solid var(--border);
}


.modal-header h2 {
  margin: 0;
  font-weight: 900;
  font-size: 18px;
  white-space: nowrap;
}

.post-editor {
    width: 100%;
    min-height: 48px;
    max-height: 300px;

    padding: 10px 0px;
    box-sizing: border-box;

    color: var(--text-primary);
    background: transparent;

    
    outline: none;

    font-family: inherit;
    font-size: 18px;
    line-height: 1.45;

    white-space: pre-wrap;
    overflow-wrap: anywhere;
    overflow-y: auto;
}

.post-editor:focus {
    border-color: #1d9bf0;
}

.post-media-preview {
    display: none;
    width: 100%;
    margin-top: 12px;
    gap: 3px;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.post-media-preview.has-media {
    display: grid;
}

.post-media-preview.media-count-1 {
    grid-template-columns: 1fr;
}

.post-media-preview.media-count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.post-media-preview.media-count-3,
.post-media-preview.media-count-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
}

.post-media-preview.media-count-3
.post-media-preview-item:first-child {
    grid-row: 1 / 3;
}

.post-media-preview-item {
    position: relative;
    min-width: 0;
    min-height: 0;
    height: 250px;
    overflow: hidden;
    background: #16181c;
}

.media-count-1 .post-media-preview-item,
.media-count-2 .post-media-preview-item {
    height: 420px;
}

.media-count-3
.post-media-preview-item:first-child {
    height: 503px;
}

.post-media-preview-item img,
.post-media-preview-item video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-post-media {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;

    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(15, 20, 25, 0.85);
    color: white;
    cursor: pointer;
}


.post-media-grid {
    display: grid;
    width: calc(100% - 10px);
    margin-top: 12px;

    gap: 10px;
    overflow: hidden;

    border: 1px solid var(--border-primary);
    border-radius: 16px;

    /*
     * Keeps the entire media area at a consistent shape.
     */
    aspect-ratio: 16 / 9;

}

.post-media-item {
    position: relative;

    display: block;
    min-width: 0;
    min-height: 0;

    padding: 0;
    border: 0;

    overflow: hidden;
    cursor: pointer;

}

.post-media-item img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

/* One image */
.post-media-grid.image-count-1 {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}

/* Two images: side by side */
.post-media-grid.image-count-2 {
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    grid-template-rows: 1fr;
}

/*
 * Three images:
 * large image on the left,
 * two stacked images on the right.
 */
.post-media-grid.image-count-3 {
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    grid-template-rows:
        repeat(2, minmax(0, 1fr));
}

.post-media-grid.image-count-3
.post-media-item:first-child {
    grid-row: 1 / 3;
}

/* Four images: 2 × 2 */
.post-media-grid.image-count-4 {
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    grid-template-rows:
        repeat(2, minmax(0, 1fr));
}

.post-media-grid.image-count-1 {
    aspect-ratio: auto;
    max-height: 600px;
}

.post-media-grid.image-count-1
.post-media-item {
    max-height: 600px;
}

.post-media-grid.image-count-1 img {
    width: 100%;
    height: auto;

    max-height: 600px;
    object-fit: contain;
}

.post-media-grid {
    display: grid;
    width: calc(100% - 10px);
    margin-top: 12px;
    gap: 2px;
    overflow: hidden;
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    aspect-ratio: 16 / 9;
    background: #16181c;
}

.post-media-grid.media-count-1 {
    grid-template-columns: 1fr;
}

.post-media-grid.media-count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.post-media-grid.media-count-3,
.post-media-grid.media-count-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
}

.post-media-grid.media-count-3
.post-media-item:first-child {
    grid-row: 1 / 3;
}

.post-media-item {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #16181c;
}

.post-media-item img,
.post-media-item video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-editor .mention,
.post-editor .hashtag {
    color: #1d9bf0;
}

.post-editor {
    position: relative;
    min-height: 70px;
    max-height: none;
    overflow: visible;
}





.post-poll {
    display: none;

    margin-top: 12px;
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;

    background: var(--background);
}

.post-poll.active {
    display: block;
}

.post-poll-options {
    padding: 10px;
    padding-bottom: 0;
}

.post-poll-option {
    position: relative;
    margin-bottom: 10px;
}

.poll-option-input {
    width: 100%;
    padding: 10px 20px;

    box-sizing: border-box;

    border: 1px solid var(--border);
    border-radius: 20px;
    outline: none;

    background: transparent;
    color: var(--text-primary);

    font-size: 16px;
}

.poll-option-input:focus {
    border-color: #1d9bf0;
    box-shadow: 0 0 0 1px #1d9bf0;
}

.poll-character-count {
    position: absolute;
    right: 12px;
    top: 50%;

    transform: translateY(-50%);

    color: var(--text-secondary);
    font-size: 12px;
}



.add-poll-option {
    margin-bottom: 10px;
    margin-left: 10px;
    padding: 0;
    background: none;
}

.poll-duration {
    padding: 14px;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    color: var(--text-primary);
    font-weight: 700;
}

.poll-duration-fields {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.poll-duration-fields label {
    flex: 1;

    color: var(--text-secondary);
    font-size: 13px;
}

.poll-duration-fields select {
    width: 100%;
    margin-top: 5px;
    padding: 10px;

    border: 1px solid var(--border);
    border-radius: 6px;

    background: var(--background);
    color: var(--text-primary);
}







.post-poll-display {
    margin: 10px 0 0 10px;
    overflow: hidden;
}

.post-poll-vote-option,
.post-poll-result {
    position: relative;
    width: 100%;
    min-height: 48px;
    margin-bottom: 8px;
    border: 1px solid var(--accent, var(--border));
    border-radius: 10px;
    overflow: hidden;
    box-sizing: border-box;
    padding: 0px 10px;
}

.post-poll-vote-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
        padding: 0px 10px;
}

.post-poll-vote-option:hover {
    background: var(--hover);
}

.post-poll-vote-option:disabled {
    opacity: 0.6;
    cursor: default;
}

.post-poll-option-image {
    width: 58px;
    min-width: 58px;
    height: 58px;
    overflow: hidden;
    background: var(--background-secondary);
}

.post-poll-option-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.post-poll-option-text {
    position: relative;
    z-index: 2;
    flex: 1;
    padding: 13px 12px;
    font-weight: 500;
}

.post-poll-result {
    border-color: var(--border);
    background: transparent;
}

.post-poll-result-fill {
    position: absolute;
    inset: 0 auto 0 0;
    background: var(--text-secondary);
    pointer-events: none;
}

.post-poll-result.selected
.post-poll-result-fill {
    background: var(--border);
}

.post-poll-result-content {
    position: relative;
    z-index: 2;
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 0px;
}

.post-poll-percentage {
    position: relative;
    z-index: 2;
    margin-left: auto;
    padding-right: 10px;
    font-weight: 500;
}

.post-poll-selected-icon {
    margin-right: 10px;
    color: var(--accent, --text-primary);
}

.post-poll-footer {
    display: flex;
    gap: 5px;
    margin-top: 6px;
    color: var(--text-secondary);
    font-size: 12px;
}




.post-poll {
    display: none;
    width: 100%;
    margin-top: 12px;
    box-sizing: border-box;
}

.post-poll.active {
    display: block;
}

.post-poll-option {
    display: flex;
    
    gap: 12px;
    margin-bottom: 10px;
        align-items: center;
}

.poll-option-image {
    position: relative;
    width: 60px;
    min-width: 60px;
    height: 60px;
    border: 1px dashed var(--border);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: var(--background);
}

.poll-option-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.poll-option-image-preview {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.poll-option-image.has-image
    .poll-option-image-placeholder {
    display: none;
}

.poll-option-image.has-image
    .poll-option-image-preview {
    display: block;
}

.remove-poll-option-image {
    display: none;
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.75);
    color: var(--text-primary);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.poll-option-image.has-image
    .remove-poll-option-image {
    display: flex;
}

.poll-option-input {
    flex: 1;
    min-width: 0;
}

.remove-poll {
  margin: 10px;
}

.mention-editor-wrapper {
    position: relative;
    width: 100%;
}

.mention-verified {
  display: inline;
}

.post-editor {
    color: var(--text-primary);
    caret-color: var(--text-primary);
}

.post-editor .mention {
    color: #1d9bf0;
    caret-color: var(--text-primary);
}


.mention-suggestions {
    position: fixed;
    z-index: 99999;

    display: none;
    width: 320px;
    max-height: 280px;
    overflow-y: auto;

    background: #16181c;
    border: 1px solid #2f3336;
    border-radius: 10px;

    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
    overflow-x: hidden;
}

.mention-suggestion {
    display: flex;
    align-items: center;
    gap: 10px;

    width: 100%;
    padding: 10px 10px;

    color: var(--text-primary);
    background: transparent;
    border: 0;
    border-radius: 0;

    text-align: left;
    cursor: pointer;
}

.mention-suggestion:hover,
.mention-suggestion.selected {
    background: var(--hover);
}

.mention-suggestion img {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.mention-user-info {
    min-width: 0;
}

.mention-display-name {
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline;
    font-size: 16px;
}

.mention-username {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 16px;
}

.post-editor::before {
    content: attr(data-placeholder);
    position: absolute;
    left: 0px;
    top: 10px;
    color: var(--text-secondary);
    pointer-events: none;
    opacity: 0;
    transition: opacity .15s;
}

.post-editor.is-empty::before {
    opacity: 1;
}

.post-editor {
    max-height: none;
    overflow-y: visible;
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 10px 20px;

    /* Nice smooth scrolling on iOS */
    -webkit-overflow-scrolling: touch;
}

.post-action {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  height: fit-content;
  gap: 6px;

  padding: 0px;
  border: none;
  border-radius: 9999px;

  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;

  transition: background-color .15s ease,
    color .15s ease, outline .15s ease, color .15s ease;
}

.post-action.active {
  animation-name: like-post;
  animation-duration: 0.15s;
  animation-timing-function: ease-out;
}

@keyframes like-post {
  0% {
    background: rgba(255, 20, 147, 0);
  }

  50% {
    transform: scale(1.35);
    background: rgba(255, 20, 147, 0.2);

  }

  100% {
    transform: scale(1);
    background: rgba(255, 20, 147, 0);
  }
}

@keyframes shadow-dance {

  0%,
  100% {
    text-shadow: 1px 2.5px 0 #ff005e, 2px 2px 0 #00d4ff;
  }

  50% {
    text-shadow: -1px -1px 0 #00d4ff, -2px -2px 0 #ff005e;
  }
}

@keyframes glitch {

  0%,
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    transform: translate(0);
  }

  33% {
    clip-path: polygon(0 0, 100% 0, 100% 15%, 0 15%);
    transform: translate(-0px, -5px);
  }

  66% {
    clip-path: polygon(0 85%, 100% 85%, 100% 100%, 0 100%);
    transform: translate(0px, 5px);
  }
}

.like-post.active {
  color: deeppink;

  .post-action {
    color: deeppink;
  }
}

.post-count {
  position: relative;
  transition: all 0.15s ease;
  top: 0;
}

.flip-green {
  animation: flip-green 500ms ease forwards;
}

@keyframes flip-green {
  0% {
    transform: scaleY(1);
  }

  50% {
    background: white;
    transform: scaleY(0);
  }

  100% {
    transform: scaleY(1);
    background: #538d4e;
    border: 2px solid #538d4e;
  }
}

.flip-yellow {
  animation: flip-yellow 500ms ease forwards;
}

@keyframes flip-yellow {
  0% {
    transform: scaleY(1);
  }

  50% {
    background: white;
    transform: scaleY(0);
  }

  100% {
    transform: scaleY(1);
    background: #b59f3b;
    border: 2px solid #b59f3b;
  }
}

.flip-gray {
  animation: flip-gray 500ms ease forwards;
}

@keyframes flip-gray {
  0% {
    transform: scaleY(1);
  }

  50% {
    background: white;
    transform: scaleY(0);
  }

  100% {
    transform: scaleY(1);
    background: #3a3a3c;
    border: 2px solid #3a3a3c;
  }
}

@keyframes rainbow_animation {

  0%,
  100% {
    background-position: 0 0;
  }

  50% {
    background-position: 100% 0;
  }
}

@keyframes loader-load {
  0% {
    transform: rotate(45deg);
    left: 0;
    bottom: 0;
  }

  5% {
    transform: rotate(45deg);
    left: 0;
    bottom: 0;
  }

  15% {
    bottom: 20px;
  }

  25% {
    transform: rotate(225deg);
    left: 50px;
    bottom: 0;
  }

  30% {
    transform: rotate(225deg);
    left: 50px;
    bottom: 0;
  }

  50% {
    left: 0;
    bottom: 0;
  }

  55% {
    transform: rotate(225deg);
    left: 0;
    bottom: 0;
  }

  65% {
    bottom: 20px;
  }

  75% {
    transform: rotate(405deg);
    left: 50px;
    bottom: 0;
  }

  80% {
    transform: rotate(405deg);
    left: 50px;
    bottom: 0;
  }

  99.999999999999% {
    transform: rotate(405deg);
    left: 0;
    bottom: 0;
  }

  100% {
    transform: rotate(45deg);
  }
}

.tab.active {
  color: var(--text-primary);
  font-weight: 700;
}

.tab-indicator {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;

  display: block;
  background: var(--text-primary);
  border-radius: 999px;
  pointer-events: none;

  transition:
    left 350ms cubic-bezier(0.22, 1, 0.36, 1),
    width 350ms cubic-bezier(0.22, 1, 0.36, 1);
}

button.small.icon {
  width: 35px;
  display: flex;
  padding: 0;
  justify-content: center;
  align-items: center;
}

button.small.icon:hover {
  background: var(--hover);
}

.post-button,
button {
  width: -webkit-fill-available;
  min-height: 35px;
  margin-top: 14px;
  margin-bottom: 14px;
  margin-left: 10px;
  margin-right: 10px;


  border: 0;
  border-radius: 999px;
  background: var(--button);
  color: #fff;

  font-size: 14px;
  font-weight: 700;
  transition:
    opacity 150ms ease,
    transform 150ms ease;
}

.post {
  border-bottom: 1px solid var(--border);
  padding: 20px 20px;
  transition: 0.15s;
  min-width: 0;
    max-width: 100%;
}

.post-content,
.post-content a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.post p {
  margin: 0;
}

.points, .cubes {
  margin-left: 27px;
  font-weight: 700;
}

.points {
  color: #F7A800;
}
.cubes {
  color: #3C7BEA;
}

.points::before {
    content: '';
    background: url(/assets/images/geoweb/points_icon.png);
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 20px;
    width: 20px;
    margin-left: -27px;
}

.currency {
  background: var(--hover);
  border-radius: 360px;
  padding: 10px 20px;
}

.cubes::before {
    content: '';
    background: url(/assets/images/geoweb/cube_icon.png);
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 20px;
    width: 20px;
    margin-left: -27px;
}

.post-button:hover,
button:hover:not(.disabled) {
  opacity: 0.9;
  cursor: pointer;
}

.more-menu-item, .nav-link {
  transition: 0.15s ease;
}

.post-button:active,
button:active:not(.gw-select-button):not(.chat-list-item):not(.nav-link):not(.settings-menu-item):not(.store-carousel-arrow):not(.post-poll-vote-option):not(.more-menu-item):not(.account-menu):not(.dropdown-item):not(.submenu-item):not(.disabled):not(.gw-select-option) {
  transform: scale(0.9);
}

@font-face {
    font-family: Minecraft;
    src: url("/assets/font/Minecraft.otf") format("opentype");
}

.post-button-icon {
  display: none;
}

.create-post-action.disabled i {
  color: var(--border);
}

.gw-select-option .fa-check {
    display: none;
}

.gw-select-option.selected .fa-check {
    display: inline-block;
}

.account-menu {
    display: flex;
    align-items: center;
    gap: 10px;

    width: 100%;
    min-width: 0;
    min-height: 64px;

    margin: auto 0 10px;
    padding: 10px;

    flex: 0 0 auto;

    border: 0;
    border-radius: 10px;

    background: transparent;
    color: var(--text-primary);

    text-align: left;
    text-decoration: none;
    cursor: pointer;

    transition: background 150ms ease;
}

.account-menu:hover {
    background: var(--hover);
}

.sidebar > .post-button {
    flex: 0 0 auto;
}

button {
  width: fit-content;
  padding: 0px 20px;
  margin: 0;
}


.account-image,
.profile-image {
  display: block;
  object-fit: cover;
  border-radius: 0;
}

.account-image {
  width: 35px;
  height: 35px;
}

.account-details {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.account-details strong,
.account-details small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-details strong {
  font-size: 15px;
}

.account-details small {
  margin-top: 2px;
  color: var(--text-secondary);
  font-size: 15px;
}

.account-options {
  margin-left: auto;
}

/* Page content */

.page-content {
  width: min(600px, calc(100% - var(--sidebar-width)));
  min-height: 100vh;
  margin-left: calc(max(0px, calc((100vw - 1265px) / 2)) + var(--sidebar-width));
  border-right: 1px solid var(--border);
  border-left: 1px solid var(--border);
  background: var(--page-background);
}

.content-header {
  position: sticky;
  top: 0;
  z-index: 50;

  display: flex;
  align-items: center;

  min-height: 54px;
  padding: 0 20px;
  border-bottom: 1px solid var(--border);
  background: var(--background-lighter);
  backdrop-filter: blur(12px);
  z-index: 13;
}

.content-header h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
}

.content-box {
  padding: 20px 20px;
  color: var(--text-secondary);
}

/* Mobile menus */

.mobile-header,
.mobile-navigation {
  display: none;
}

/* Medium desktop */

@media (max-width: 1100px) {
  :root {
    --sidebar-width: 120px;
  }

  .sidebar {
    align-items: center;
    width: var(--sidebar-width);
  }

  .nav-link {
    justify-content: center;
    width: 100%;
    height: 52px;
    padding: 0;
    color: var(--text-secondary);
  }

  .nav-link span,
  .account-details,
  .account-options,
  .post-button-text {
    display: none;
  }

  .post-button {
    display: grid;
    place-items: center;
    /*margin-left: 10px;
            margin-right: 10px;*/
    box-sizing: border-box;

    width: calc(100% - 20px);
    height: 52px;
    min-height: 52px;
    padding: 0;
  }

  .post-button-icon {
    display: inline-block;
    font-size: 20px;
  }

  .account-menu {
    justify-content: center;
    width: 100%;
    height: 52px;
    min-height: 52px;
    padding: 6px;
  }

  .account-image {
    width: 40px;
    height: 40px;
  }

  .currency-menu {
    flex-direction: column;
    align-items: center;
  }
  .currency {
    margin-right: 0;
    padding: 5px 0;
    background: none;
  }
}

.currency-menu {
  margin-bottom: 20px;
}

.post-batch-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    width: 100%;
}

.post-batch-loader-circle {
    width: 84px;
    height: 59px;
    background: url("/assets/images/geoweb/loading.gif");
}

.loader {
  --color-1: #fff;
  --size: 1px;

  width: calc(14 * var(--size));
  height: calc(14 * var(--size));
  border-radius: 50%;
  display: block;
  margin: calc(20 * var(--size)) auto;
  position: relative;
  background: var(--color-1);
  box-sizing: border-box;
  animation: blink 1.2s -0.6s ease-in-out infinite;
}
.loader::before,
.loader::after {
  content: '';
  position: absolute;
  top: 0;
  width: calc(14 * var(--size));
  height: calc(14 * var(--size));
  border-radius: 50%;
  background: var(--color-1);
  box-sizing: border-box;
}
.loader::before {
  left: calc(-22 * var(--size));
  animation: blink 1.2s -0.8s ease-in-out infinite;
}
.loader::after {
  left: calc(22 * var(--size));
  animation: blink 1.2s -0.4s ease-in-out infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(0.8);
  }
  40% {
    opacity: 1;
    transform: scale(1);
  }
}



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

.post-load-batch {
    display: none;
    width: 100%;
}

.post-load-batch.is-visible {
    display: block;
}

/* Mobile */

@media (max-width: 700px) {
  .sidebar {
    display: none;
  }

  .submenu-item {
    display: flex;
    flex-direction: column;
  }

  .submenu-item i {
    display: none;
  }

  .mobile-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 200;

    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;

    height: var(--mobile-header-height);
    padding: 0 12px;
    border-bottom: 1px solid var(--border);
    background: var(--background);
    backdrop-filter: blur(12px);
  }

  .profile-button,
  .settings-button {
    display: grid;
    place-items: center;

    width: 40px;
    height: 40px;
    padding: 0;

    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
  }

  .profile-button:hover,
  .settings-button:hover {
    background: var(--hover);
  }

  .profile-image {
    width: 32px;
    height: 32px;
  }

  .mobile-logo {
    justify-self: center;
    font-size: 26px;
    font-weight: 700;
  }

  .settings-button {
    justify-self: end;
    font-size: 20px;
  }

  .page-content {
    width: 100%;
    margin: var(--mobile-header-height) 0 var(--mobile-nav-height);
    border-right: 0;
  }

  .right-sidebar {
    display: none !important;
  }

  /*.post:hover {
    background: none;
  }*/

  /*.content-header {
    display: none;
  }*/

  .mobile-navigation {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 200;

    display: grid;
    grid-template-columns: repeat(5, 1fr);

    height: var(--mobile-nav-height);
    border-top: 1px solid var(--border);
    background: var(--background);
  }

  .mobile-nav-link {
    display: grid;
    place-items: center;
    font-size: 23px;
  }

  .mobile-nav-link:hover {
    background: var(--hover);
  }

  .mobile-nav-link.active {
    font-weight: 700;
  }
}

/* Keyboard accessibility */

.nav-link:focus-visible,
.logo:focus-visible,
.post-button:focus-visible,
.account-menu:focus-visible,
.mobile-nav-link:focus-visible,
.mobile-logo:focus-visible,
.profile-button:focus-visible,
.settings-button:focus-visible {
  outline: 2px solid var(--text-primary);
  outline-offset: 2px;
}

.more-menu-container {
  position: relative;
  align-self: flex-start;
}





.more-menu[hidden] {
  display: none;
}

.more-menu-item {
  display: flex;
  align-items: center;
  gap: 15px;

  width: 100%;
  min-height: 45px;
  padding: 0px 10px;

  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;

  font: inherit;
}

.more-menu-item:hover,
.more-menu-item:focus-visible {
  background: var(--hover);
}

.more-menu-item i {
  width: 24px;
  flex-shrink: 0;
  font-size: 20px;
  text-align: center;
}

.more-menu-item span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.more-menu-item strong {
  font-size: 15px;
}

.more-menu-item small {
  margin-top: 3px;
  color: var(--text-secondary);
  font-size: 14px;
}

.more-menu-divider {
  height: 1px;
  background: var(--border);
}

@keyframes open-more-menu {
  from {
    opacity: 0;
    transform: scale(0.96);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 1100px) and (min-width: 701px) {
  .more-menu-container {
    align-self: center;
  }


}

@media (max-width: 1100px) and (min-width: 701px) {
  .more-menu {
    transform-origin: bottom left;
  }
}

@media (max-width: 700px) {
  .more-menu {
    position: fixed;
    right: 8px;
    bottom: calc(var(--mobile-nav-height) + 8px);
    left: 8px;

    width: auto;
    max-height: 70vh;
    overflow-y: auto;

    transform-origin: bottom center;
  }
}


/* Main content and right sidebar integration */
.page-shell {
  margin-left: calc(var(--layout-left) + var(--sidebar-width) - 1px);

  width: min(calc(100vw - var(--layout-left) - var(--sidebar-width)),
      calc(var(--layout-width) - var(--sidebar-width)));

  min-height: 100vh;

  display: grid;
  grid-template-columns:
    minmax(0, 600px) minmax(280px, 390px);

  align-items: stretch;
}

.page-content {
  width: 100%;
  min-width: 0;
  min-height: 100vh;
  height: 100%;
  margin-left: 0;
  border-right: 1px solid var(--border);
  background: var(--page-background);
}

.buy-item {
    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    user-select: none;
    -webkit-user-select: none;

    background: #1e4916;
}

.buy-fill {
    position: absolute;
    inset: 0;

    width: 0%;

    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.25),
        rgba(255, 255, 255, 0.25)
    );

    pointer-events: none;
}

.buy-text {
    position: relative;
    z-index: 2;
}

.buy-text {
    position: relative;
    z-index: 2;
}

.right-sidebar {
    position: relative;
    align-self: stretch;
    min-width: 0;
    margin-left: 30px;
}

.right-sidebar-content {
    width: 100%;
    height: max-content;
    min-width: 0;

    transform: none;
    transition: none;
}

/*
 * Moving naturally with the document.
 */
.right-sidebar-content.sidebar-absolute {
    position: absolute;
    top: var(--sidebar-absolute-top, 0px);
    left: 0;
}

/*
 * Top edge locked to the viewport.
 */
.right-sidebar-content.sidebar-fixed-top {
    position: fixed;
    top: 12px;
}

/*
 * Bottom edge locked to the viewport.
 */
.right-sidebar-content.sidebar-fixed-bottom {
    position: fixed;
    bottom: 12px;
}

.right-search {
  position: static;
}

.right-search:focus-within {
  border-color: var(--button);
  background: var(--background);
}

.right-search i,
.right-search, input::placeholder {
  color: var(--text-secondary);
}

.right-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-primary);
}

input[type="search"], input {
    box-sizing: border-box !important;
    background: var(--background) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border) !important;
    border-radius: 20px !important;
    padding: 10px 20px !important;
    font-family: "Lato", sans-serif !important;
    font-size: 16px !important;
    outline: none !important;
    box-shadow: none !important;
    width: 100%;
}

.gw-select {
    position: relative;
    display: inline-block;
    width: 280px;
    max-width: 100%;
}

.gw-select-button {
    width: fit-content;
    padding: 10px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    box-sizing: border-box;

    border: 1px solid var(--border);
    border-radius: 20px;


    background: var(--background);
    color: var(--text-primary);

    font-size: 14px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;

    transition:
        border-color 150ms ease,
        background-color 150ms ease;
}

.gw-select-button:hover {
    background: var(--hover);
}

/*.gw-select.open .gw-select-button {
    border-color: var(--button);
}*/

.gw-select-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gw-select-arrow {
    flex-shrink: 0;
    color: var(--text-primary);

    transition: transform 180ms ease;
}

.gw-select.open .gw-select-arrow {
    transform: rotate(180deg);
}

.gw-select-menu {
    display: none;
}

.gw-select-menu.gw-select-floating {
    position: fixed;
    display: block;

    z-index: 2147483647;

    min-width: 300px;
    max-width: calc(100vw - 24px);
    padding: 10px 10px;

    box-sizing: border-box;

    background: var(--background);
    border-radius: 20px;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(-8px) scale(0.96);
    transform-origin: top left;

    transition:
        opacity 160ms ease,
        transform 200ms cubic-bezier(0.16, 1, 0.3, 1),
        visibility 160ms ease;
}

.gw-select-menu.gw-select-floating.gw-select-menu-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateY(0) scale(1);
}

.gw-select-menu.gw-opens-down {
    transform: translateY(-8px) scale(0.96);
    transform-origin: top left;
}

.gw-select-menu.gw-opens-down.gw-select-menu-open {
    transform: translateY(0) scale(1);
}

.gw-select-option {
    width: 100%;
    min-width: 240px;
    padding: 10px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    box-sizing: border-box;

    border: 0;
    border-radius: 20px;

    background: transparent;
    color: var(--text-primary);

    text-align: left;
    cursor: pointer;

    transition: background-color 150ms ease;
}

.gw-select-option:hover,
.gw-select-option.gw-keyboard-active {
    background: var(--hover);
}

.gw-select-option > div {
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.gw-select-option strong {
    font-size: 15px;
}

.gw-select-option small {
    margin-top: 2px;
    color: var(--text-secondary);
    font-size: 14px;
    white-space: normal;
}

.gw-select-option > i {
    display: none;
    flex-shrink: 0;
    color: var(--text-primary);
}

.gw-select-option.selected > i {
    display: block;
}

.search-input {
    position: relative;
}

.search-input i {
    position: absolute;
    left: 14px;
    top: 50%;

    transform: translateY(-50%);

    color: var(--text-secondary);

    pointer-events: none;
}

.search-input input {
    width: 100%;

    padding: 12px 16px 12px 42px;
    padding-left: 35px !important;
}

.search-input input::placeholder {
    color: var(--text-secondary);
    opacity: 1; /* Ensures the colour isn't faded in some browsers */
}

.right-card {
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--background);
}

.right-card h2 {
  margin: 0;
  padding: 15px 16px 9px;
  font-size: 19px;
  line-height: 1.2;
}

.right-card>p {
  margin: 0;
  padding: 0 16px 12px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.4;
}

.right-primary-button,
.follow-button {
  border: 0;
  border-radius: 10px;
  background: var(--button);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}

.right-primary-button {
  min-height: 36px;
  margin: 0 16px 15px;
  padding: 0 18px;
}

.right-primary-button:hover,
.follow-button:hover {
  opacity: 0.9;
}

.trend-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 16px;
}



.trend-category,
.trend-count,
.follow-details span {
  color: var(--text-secondary);
  font-size: 13px;
}

.trend-item strong {
  font-size: 15px;
}

button.invis {
  background: none;
  border: none;
  padding: 0;
  min-height: 0;
}

.follow-avatar {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
}

.follow-details {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.follow-details strong,
.follow-details span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.follow-button {
  min-height: 32px;
  padding: 0 15px;
}

.right-show-more {
  display: block;
  padding: 14px 16px;
  color: #7298ef;
  font-size: 14px;
}

.right-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  padding: 14px 0px;
  color: var(--text-secondary);
  font-size: 12px;
}

.right-footer p {
  margin: 0;
}

.right-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .page-shell {
    grid-template-columns: minmax(0, 600px) minmax(260px, 340px);
  }

  .right-sidebar {
    padding-left: 18px;
  }
}

@media (max-width: 900px) {
  .page-shell {
    grid-template-columns: minmax(0, 600px);
    justify-content: flex-start;
  }

  .right-sidebar {
    display: none;
  }
}

@media (max-width: 700px) {
  .page-shell {
    display: block;
    width: 100%;
    padding-left: 0;
    margin-left: 0px !important;
  }

  .page-content {
    margin: var(--mobile-header-height) 0 var(--mobile-nav-height);
    border: 0;
  }
}

.more-menu {
  position: fixed;
  z-index: 500;

  width: 320px;
  overflow: hidden;

  border: 1px solid var(--border);
  box-sizing: border-box;
  margin-top: 2px;
  border-radius: 10px;
  background: var(--background-lighter);
  padding: 10px;


  transform-origin: bottom left;
  animation: open-more-menu 140ms ease-out;
  margin-left: 2px;
}

/* STORE */

    .store-page {
    --store-background: var(--background);
    --store-panel: var(--background);
    --store-panel-light: #1a1d21;
    --store-border: var(--border);
    --store-border-hover: var(--hover);
    --store-text: #f2f4f7;
    --store-muted: --var(--text-secondary);
    --store-primary: #1d9bf0;
    --store-primary-hover: #1a8cd8;
    --store-green: #00ba7c;
    --store-coin: #f4c542;

    width: 100%;
    padding: 24px;
    color: var(--store-text);
    box-sizing: border-box;
}

.store-page *,
.store-page *::before,
.store-page *::after {
    box-sizing: border-box;
}

.store-page button,
.store-page input {
    font: inherit;
}

/* Header */

.store-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.store-eyebrow {
    display: block;
    margin-bottom: 5px;
    color: var(--store-primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.store-header h1 {
    margin: 0;
    font-size: clamp(26px, 4vw, 36px);
    line-height: 1.1;
}

.store-header p {
    max-width: 600px;
    margin: 10px 0 0;
    color: var(--store-muted);
    line-height: 1.5;
}

.store-balance {
    min-width: 155px;
    padding: 14px 18px;
    border: 1px solid var(--store-border);
    border-radius: 16px;
    background: var(--store-panel);
}

.store-balance-label {
    display: block;
    margin-bottom: 4px;
    color: var(--store-muted);
    font-size: 12px;
}

.store-balance strong {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.store-balance strong i,
.store-price i {
    color: var(--store-coin);
}

/* Navigation */

.store-navigation {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    overflow-x: auto;
    scrollbar-width: none;
}

.store-navigation::-webkit-scrollbar {
    display: none;
}

.store-nav-item,
.store-manage-button,
.store-filter,
.store-sort {
    flex-shrink: 0;
    border: 1px solid var(--store-border);
    border-radius: 999px;
    background: var(--store-panel);
    color: var(--store-muted);
    cursor: pointer;
    transition:
        background 160ms ease,
        border-color 160ms ease,
        color 160ms ease,
        transform 160ms ease;
}

.store-nav-item {
    padding: 10px 16px;
    font-weight: 600;
}

.store-nav-item:hover,
.store-filter:hover,
.store-sort:hover {
    color: var(--store-text);
    border-color: var(--store-border-hover);
    background: var(--store-panel-light);
}

.store-nav-item.active,
.store-filter.active {
    color: #ffffff;
    border-color: var(--store-primary);
    background: var(--store-primary);
}

.store-manage-button {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    padding: 10px 16px;
    color: var(--store-text);
}

.store-manage-button:hover {
    background: var(--store-panel-light);
    transform: translateY(-1px);
}

/* Featured banner */

.featured-collection {
    position: relative;
    display: block;
    min-height: 320px;
    margin-bottom: 30px;
    overflow: hidden;
    border: 1px solid var(--store-border);
    border-radius: 24px;
    background:
        radial-gradient(
            circle at 85% 30%,
            rgba(29, 155, 240, 0.25),
            transparent 34%
        ),
        linear-gradient(
            125deg,
            #191c23 0%,
            #14161a 55%,
            #101114 100%
        );
}

.featured-collection-content {
    position: relative;
    z-index: 5;
    width: 100%;
    padding: 42px;
}

.featured-collection-content h2 {
    max-width: 440px;
    margin: 0;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1;
    overflow-wrap: normal;
    word-break: normal;
}

.featured-collection-content > p {
    max-width: 390px;
}

.featured-collection-art {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.featured-collection::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            rgba(255, 255, 255, 0.02) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.02) 1px,
            transparent 1px
        );
    background-size: 32px 32px;
    mask-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.5),
        transparent
    );
}

.featured-collection-content {
        position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    padding-bottom: 0;
}

.featured-label {
    align-self: flex-start;
    margin-bottom: 20px;
    padding: 5px 20px;
    border: 1px solid rgba(29, 155, 240, 0.4);
    border-radius: 999px;
    background: rgba(29, 155, 240, 0.12);
    color: #74c7ff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.featured-collection h2 {
    margin: 0;
    font-size: clamp(18px, 5vw, 24px);
    line-height: 1;
}

.featured-collection-content > p {
    max-width: 540px;
    margin: 5px 0 20px 0;
    color: #a8b1bf;
    font-size: 16px;
    line-height: 1.6;
}

.featured-collection-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 22px;
    color: var(--store-muted);
    font-size: 14px;
}

.featured-collection-meta span {
    display: flex;
    align-items: center;
    gap: 7px;
}

.featured-collection-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}



.primary-store-button:hover {
    border-color: var(--store-primary-hover);
    background: var(--store-primary-hover);
    transform: translateY(-1px);
}

.secondary-store-button {
    border: 1px solid var(--store-border-hover);
    background: rgba(255, 255, 255, 0.04);
    color: var(--store-text);
}

.secondary-store-button:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.featured-collection-art {
    position: relative;
    min-height: 300px;
}

.featured-icon {
    position: absolute;
    display: grid;
    place-items: center;
    width: 170px;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.07);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.35),
        inset 0 1px rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
}

.featured-icon img {
    width: 76%;
    height: 76%;
    object-fit: contain;
}

.featured-icon-one {
    top: 75px;
    right: 155px;
    z-index: 3;
    transform: rotate(-8deg);
}

.featured-icon-two {
    top: 28px;
    right: 32px;
    z-index: 2;
    transform: rotate(8deg) scale(0.88);
}

.featured-icon-three {
    right: 25px;
    bottom: 10px;
    z-index: 4;
    transform: rotate(5deg) scale(0.7);
}

/* Toolbar */

.store-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 30px;
}

.store-search {
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(100%, 340px);
    padding: 0 15px;
    border: 1px solid var(--store-border);
    border-radius: 999px;
    background: var(--store-panel);
    color: var(--store-muted);
}

.store-search:focus-within {
    border-color: var(--store-primary);
    box-shadow: 0 0 0 1px var(--store-primary);
}

.store-search input {
    width: 100%;
    height: 44px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--store-text);
}

.store-search input::placeholder {
    color: #737d8b;
}

.store-filters {
    display: flex;
    align-items: center;
    gap: 7px;
    overflow-x: auto;
    scrollbar-width: none;
}

.store-filters::-webkit-scrollbar {
    display: none;
}

.store-filter,
.store-sort {
    padding: 9px 14px;
}

.store-sort {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Section headings */

.store-section {
    margin-bottom: 36px;
}

.store-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
    align-items: flex-start;
}

.store-section-heading h2 {
    margin: 0;
    font-size: 22px;
}

.store-section-heading p {
    margin: 5px 0 0;
    color: var(--text-secondary);
    font-size: 16px;
}

.store-view-all {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--store-primary);
    text-decoration: none;
    font-weight: 600;
}

/* Item grid */

.store-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
}

.store-grid.compact {
    grid-template-columns:
        repeat(auto-fill, minmax(185px, 1fr));
}

.store-item {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--store-border);
    border-radius: 20px;
    background: var(--store-panel);
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
        cursor: pointer;
        user-select: none;
        -moz-user-select: none;
        -khtml-user-select: none;
        -webkit-user-select: none;
        -o-user-select: none;
}

.store-section .store-item:hover {
    transform: translateY(-4px);
    border-color: var(--store-border-hover);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.28);
}

.store-item.rarity-rare:hover {
    border-color: rgba(29, 155, 240, 0.75);
    box-shadow:
        0 16px 35px rgba(0, 0, 0, 0.28),
        0 0 25px rgba(29, 155, 240, 0.12);
}

.store-item.rarity-epic:hover {
    border-color: rgba(190, 72, 255, 0.8);
    box-shadow:
        0 16px 35px rgba(0, 0, 0, 0.28),
        0 0 28px rgba(190, 72, 255, 0.15);
}

.store-item-top {
    position: absolute;
    top: 12px;
    right: 12px;
    left: 12px;
    z-index: 2;
    display: none;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.store-item-rarity,
.owned-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 27px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(10px);
        text-transform: capitalize;
}

.store-item-rarity.common {
    border: 1px solid rgba(160, 167, 178, 0.25);
    background: rgba(28, 31, 36, 0.82);
    color: #adb4bf;
}

.store-item-rarity.rare {
    border: 1px solid rgba(29, 155, 240, 0.4);
    background: rgba(29, 155, 240, 0.14);
    color: #66c2ff;
}

.store-item-rarity.epic {
    border: 1px solid rgba(190, 72, 255, 0.45);
    background: rgba(190, 72, 255, 0.15);
    color: #d490ff;
}

.owned-badge {
    margin-left: auto;
    border: 1px solid rgba(0, 186, 124, 0.35);
    background: rgba(0, 186, 124, 0.14);
    color: #26d998;
}

.owned-badge.icon-only {
    width: 28px;
    padding: 0;
    justify-content: center;
}

.store-item-preview {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    background: rgba(15, 16, 18, 0.7);
    color: #ffffff;
    cursor: pointer;
    opacity: 0;
    transform: translateY(-3px);
    transition:
        opacity 160ms ease,
        transform 160ms ease,
        background 160ms ease;
    pointer-events: auto;

        display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    padding: 0px 20px;
}

.store-section .store-item:hover .store-item-preview {
    opacity: 1;
    transform: translateY(0);
}

.store-item-preview:hover {
    background: var(--hover);
}

.store-item-image {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 210px;
    padding: 0px 20px;
    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.07),
            transparent 65%
        );
}

.store-item-rarity.uncommon {
        border: 1px solid rgb(72 255 84 / 45%);
    background: rgb(124 255 72 / 15%);
    color: #9bff90;
}

.store-item-image.rare {
    background: radial-gradient(
            circle,
            rgba(29, 155, 240, 0.20),
            transparent 65%
        );
}

.store-item-image.epic {
    background: radial-gradient(
            circle,
            rgba(190, 72, 255, 0.25),
            transparent 65%
        );
}

.store-item-image.common {
    background: radial-gradient(
            circle,
            rgba(28, 31, 36, 1),
            transparent 65%
        );
}

.store-item-image.uncommon {
    background: radial-gradient(
            circle,
            rgb(124 255 72 / 20%),
            transparent 65%
        );
}

.store-item-image.lengdary {
        background: radial-gradient(circle, rgb(255 141 23 / 17%), transparent 65%);
}

.store-item-rarity.legendary {
        border: 1px solid rgb(255 163 72 / 45%);
    background: rgb(255 192 72 / 15%);
    color: #ffd990;
}

.store-item-rarity.mythic {
        border: 1px solid rgb(255 72 72 / 45%);
    background: rgb(255 72 72 / 15%);
    color: #ff9090;
}

.store-item-image.mythic {
    background: radial-gradient(circle, rgb(255 23 23 / 25%), transparent 65%);
}

.store-item-image::after {
    content: "";
    position: absolute;
    right: 18%;
    bottom: 20px;
    left: 18%;
    height: 20px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    filter: blur(12px);
}

.store-item-image img {
    position: relative;
    z-index: 1;
    width: min(145px, 82%);
    aspect-ratio: 1;
    object-fit: contain;
    transition: transform 180ms ease;
}

.store-item-image div {
    transition: transform 180ms ease;
    user-select: none;
        -moz-user-select: none;
        -khtml-user-select: none;
        -webkit-user-select: none;
        -o-user-select: none;
}

.store-section .store-item:hover .store-item-image img, .store-item:hover .store-item-image div {
    transform: scale(1.05);
}



.store-item-content {
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.store-item-content h3 {
    margin: 0;
    overflow: hidden;
    color: var(--store-text);
    font-size: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.store-item-content > p {
    min-height: 20px;
    margin: 0;
    overflow: hidden;
    color: var(--text-secondary);
    font-size: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.store-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 36px;
}

.store-price {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--store-text);
    font-weight: 700;
}



/*.store-buy-button {
    border: 0;
    background: var(--store-primary);
    color: #ffffff;
}*/


.store-buy-button {
    background: #2b5715;
    font-size: 14px !important;
    font-weight: 700 !important;
}

.owned-text {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--store-green);
    font-size: 16px;
    font-weight: 600;
}

/* Collection progress */

.collection-card {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    margin-bottom: 38px;
    padding: 22px;
    border: 1px solid var(--store-border);
    border-radius: 22px;
    background:
        linear-gradient(
            120deg,
            rgba(29, 155, 240, 0.1),
            transparent 45%
        ),
        var(--store-panel);
}

.collection-card-preview {
    display: grid;
    place-items: center;
    width: 150px;
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid var(--store-border);
    border-radius: 18px;
    background: var(--store-panel-light);
}

.collection-card-preview img {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

.collection-small-label {
    color: var(--store-primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.collection-card h2 {
    margin: 5px 0 7px;
    font-size: 22px;
}

.collection-card-content > p {
    margin: 0 0 17px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.collection-progress-heading {
    display: flex;
    justify-content: space-between;
    margin-bottom: 7px;
    color: var(--text-secondary);
    font-size: 13px;
}

.collection-progress-heading strong {
    color: var(--store-text);
}

.collection-progress-bar {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #282c32;
}

.collection-progress-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(
        90deg,
        #1d9bf0,
        #6cc8ff
    );
}

.collection-reward {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 16px;
}

.collection-reward-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(244, 197, 66, 0.3);
    border-radius: 11px;
    background: rgba(244, 197, 66, 0.1);
    color: var(--store-coin);
}

.collection-reward span,
.collection-reward strong {
    display: block;
}

.collection-reward span {
    margin-bottom: 2px;
    color: var(--text-secondary);
    font-size: 11px;
}

.collection-reward strong {
    font-size: 13px;
}

.collection-button {
    min-height: 42px;
    padding: 0 17px;
    border: 1px solid var(--store-border-hover);
    border-radius: 999px;
    background: transparent;
    color: var(--store-text);
    cursor: pointer;
    font-weight: 700;
}

.collection-button:hover {
    background: rgba(255, 255, 255, 0.06);
}

/* Responsive */

@media (max-width: 900px) {
    .featured-collection {
        grid-template-columns: 1fr;
    }

    .featured-collection-art {
        display: none;
    }

    .store-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .store-search {
        width: 100%;
        max-width: none;
    }

    .collection-card {
        grid-template-columns: 110px minmax(0, 1fr);
    }

    .collection-card-preview {
        width: 110px;
    }

    .collection-button {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (max-width: 620px) {
    .store-page {
        padding: 15px;
    }

    .store-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .store-balance {
        width: 100%;
    }

    .store-manage-button {
        margin-left: 0;
    }

    .featured-collection-content {
        padding: 28px 22px;
    }

    .featured-collection {
        min-height: 0;
        border-radius: 19px;
    }

    .store-grid,
    .store-grid.compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .store-item-image {
        min-height: 160px;
        padding-right: 15px;
        padding-left: 15px;
    }

    .store-item-content {
        padding: 13px;
    }

    .store-item-content > p {
        display: none;
    }

    .store-item-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .store-buy-button,
    .store-equip-button {
        width: 100%;
    }

    .collection-card {
        grid-template-columns: 1fr;
    }

    .collection-card-preview {
        width: 100%;
        max-height: 180px;
        aspect-ratio: 16 / 8;
    }
}

@media (max-width: 390px) {
    .store-grid,
    .store-grid.compact {
        grid-template-columns: 1fr;
    }
}
.old-price {
    position: relative;
    color: var(--text-secondary);
}

.old-price::after {
    content: "";
    position: absolute;

    left: -2px;
    top: 50%;

    width: calc(100% + 4px);
    height: 2px;

    color: var(--text-secondary);

    background: currentColor;

    transform: translateY(-50%) rotate(-12deg);
    transform-origin: center;
}




.store-carousel {
    --carousel-gap: 10px;
    --carousel-card-width: 266px;

    width: 100%;
    margin-bottom: 20px;
}

.store-carousel * {
    box-sizing: border-box;
}

.store-carousel-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.store-carousel-header h2 {
    margin: 0;
    color: #f2f4f7;
    font-size: 22px;
}

.store-carousel-header p {
    margin: 5px 0 0;
    color: var(--text-secondary);
    font-size: 16px;
}

.store-carousel-see-all {
    flex-shrink: 0;
    padding: 8px 15px;
    border: 1px solid #31363e;
    border-radius: 999px;
    background: #191c20;
    color: #f2f4f7;
    cursor: pointer;
}

.store-carousel-see-all:hover {
    background: #22262c;
}

.store-carousel-shell {
    position: relative;
    padding: 0 50px;
}

.store-carousel-viewport {
    overflow: hidden;
}

.store-carousel-track {
    display: flex;
    align-items: stretch;
    gap: var(--carousel-gap);
    transform: translateX(0);
    transition: transform 420ms cubic-bezier(
        0.22,
        1,
        0.36,
        1
    );
    will-change: transform;
}

.store-carousel-item {
    position: relative;
    flex: 0 0 var(--carousel-card-width);
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--background);
    cursor: pointer;
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

/*.store-carousel-item.large {
    flex-basis: 380px;
}*/

.item-card {
  width: 100%;
  display: grid;
  gap: 20px;
  grid-auto-flow: column;
  justify-content: start;
}

.item-card .store-item {
  border: 1px solid var(--border);
}

.store-carousel-item:hover {
    transform: translateY(-3px);
    border-color: #48515d;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.store-carousel-label {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 6px 9px;
    border-radius: 7px;
    background: #176a98;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.store-carousel-label.sale {
    background: #9b1c62;
}

.store-carousel-image {
    position: relative;
    display: grid;
    place-items: center;
    height: 230px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at center,
            rgba(29, 155, 240, 0.18),
            transparent 62%
        ),
        #20252b;
}

.store-carousel-item.large .store-carousel-image {
    height: 300px;
}

.store-carousel-image::after {
    content: "";
    position: absolute;
    right: 20%;
    bottom: 20px;
    left: 20%;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    filter: blur(13px);
}

.store-carousel-image img {
    position: relative;
    z-index: 1;
    width: 72%;
    height: 72%;
    object-fit: contain;
    transition: transform 200ms ease;
}

.store-carousel-item:hover .store-carousel-image img {
    transform: scale(1.05);
}

.store-carousel-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 78px;
    padding: 14px 15px;
}

.store-carousel-content h3 {
    margin: 0 0 5px;
    overflow: hidden;
    color: var(--text-primary);
    font-size: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.store-carousel-description {
    color: var(--text-secondary);
    font-size: 12px;
}

.store-carousel-price {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding: 8px 10px;
    border-radius: 9px;
    background: var(--background);
    color: var(--text-primary);
    font-weight: 700;
}

.store-carousel-price i {
    color: #f4c542;
}

.rarity {
    font-size: 12px;
    font-weight: 700;
}

.rarity.common {
    color: #a7afb9;
}

.rarity.uncommon {
    color: #31cf6f;
}

.rarity.rare {
    color: #45a9ff;
}

.rarity.epic {
    color: #d15cff;
}

.store-carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: grid;
    place-items: center;
    width: 42px;
    height: 72px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: none;
    color: var(--text-primary);
    transform: translateY(-50%);
    cursor: pointer;
    transition:
        background 150ms ease,
        color 150ms ease,
        opacity 150ms ease;
        display: flex;
    align-items: center;
    justify-content: center;
}

.store-carousel-arrow:not(.disabled):hover {
    background: var(--hover);
    color: #ffffff;
}

.store-carousel-arrow.previous {
    left: -0px;
    transform: translateY(-50%);
}

.store-carousel-arrow.next {
    right: -0px;
    transform: translateY(-50%);
}

.store-carousel-arrow:disabled {
    opacity: 0.3;
    cursor: default;
}

.store-carousel-dots {
    display: flex;
    justify-content: center;
       gap: 10px;
    margin-top: 10px;
}

.store-carousel-dot {
    width: 9px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--border);
    cursor: pointer;
    transition:
        width 180ms ease,
        background 180ms ease;
        min-height: 10px;
}

.store-carousel-dot.active {
    width: 20px;
    background: var(--text-primary);
}

@media (max-width: 700px) {
    .store-carousel {
        --carousel-card-width: 235px;
    }

    .store-carousel-item.large {
        flex-basis: 280px;
    }

    .store-carousel-item.large .store-carousel-image,
    .store-carousel-image {
        height: 210px;
    }

    .store-carousel-shell {
        padding: 0 28px;
    }

    .store-carousel-arrow {
        width: 36px;
        height: 60px;
    }
}

@media (max-width: 460px) {
    .store-carousel {
        --carousel-card-width: calc(100vw - 80px);
    }

    .store-carousel-item.large {
        flex-basis: var(--carousel-card-width);
    }
}

.points.bg {
    padding: 5px 20px;
    background: rgb(247 168 0 / 10%);
    border-radius: 999px;
    padding-left: 40px;
    border: 1px solid rgb(247 169 0 / 20%);
        margin-right: -20px;
}

.cubes.bg {
    padding: 5px 20px;
    background: rgb(60 123 234 / 10%);
    border-radius: 999px;
    padding-left: 40px;
    border: 1px solid rgb(60 123 234 / 20%);
}












.store-item-modal-body {
    --modal-panel: #17191d;
    --modal-panel-light: #1d2025;
    --modal-border: #2c3036;
    --modal-border-hover: #3b414a;
    --modal-text: #f2f4f7;
    --modal-muted: #8f99a8;
    --modal-primary: #1d9bf0;
    --modal-green: #24c875;
    --modal-coin: #f5c542;

    color: var(--modal-text);
}

.store-item-modal-body *,
.store-item-modal-body *::before,
.store-item-modal-body *::after {
    box-sizing: border-box;
}

.store-item-modal-main {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
    padding: 0 24px 24px;
}

/* Preview */

.store-item-modal-preview {
    min-width: 0;
}

.store-item-preview-stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 390px;
    overflow: hidden;
    border: 1px solid var(--modal-border);
    border-radius: 22px;
    background:
        radial-gradient(
            circle at 50% 55%,
            rgba(29, 155, 240, 0.16),
            transparent 58%
        ),
        linear-gradient(
            145deg,
            #1e252c,
            #131519
        );
}

.store-item-preview-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );
    background-size: 30px 30px;
    mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.7),
        transparent
    );
}

.store-item-preview-rarity {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    padding: 6px 10px;
    border: 1px solid rgba(29, 155, 240, 0.5);
    border-radius: 999px;
    background: rgba(29, 155, 240, 0.14);
    color: #6bc4ff;
    font-size: 12px;
    font-weight: 700;
}

.store-item-preview-text {
    position: relative;
    z-index: 1;
    max-width: 80%;
    color: #ffffff;
    font-size: clamp(18px, 3vw, 28px);
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 6px 25px rgba(0, 0, 0, 0.5);
}

.store-item-preview-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.store-preview-button {
    flex: 1;
    min-height: 40px;
    border: 1px solid var(--modal-border);
    border-radius: 12px;
    background: var(--modal-panel);
    color: var(--modal-muted);
    cursor: pointer;
    font-weight: 600;
}

.store-preview-button:hover {
    color: var(--modal-text);
    border-color: var(--modal-border-hover);
}

.store-preview-button.active {
    border-color: var(--modal-primary);
    background: rgba(29, 155, 240, 0.12);
    color: #76c9ff;
}

/* Details */

.store-item-modal-details {
    min-width: 0;
}

.store-item-modal-description {
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid var(--modal-border);
    border-radius: 17px;
    background: var(--modal-panel);
}

.store-item-modal-description p {
    margin: 8px 0 0;
    color: #b4bdc9;
    line-height: 1.55;
}

.store-item-detail-label {
    display: block;
    color: var(--modal-muted);
    font-size: 12px;
    font-weight: 600;
}

.store-item-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.store-item-detail-row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--modal-border);
    border-radius: 15px;
    background: var(--modal-panel);
}

.store-item-detail-row strong {
    display: block;
    margin-top: 3px;
    overflow: hidden;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.store-item-detail-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--modal-panel-light);
    color: #83bde5;
}

/* Collection progress */

.store-item-collection-progress {
    margin-top: 12px;
    padding: 16px;
    border: 1px solid var(--modal-border);
    border-radius: 16px;
    background: var(--modal-panel);
}

.store-item-collection-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 10px;
}

.store-item-collection-heading strong {
    display: block;
    margin-top: 3px;
}

.store-item-collection-heading > span {
    color: #73c6ff;
    font-size: 13px;
    font-weight: 700;
}

.store-item-progress-bar {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #292d33;
}

.store-item-progress-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(
        90deg,
        #1d9bf0,
        #75ceff
    );
}

.store-item-collection-progress p {
    margin: 10px 0 0;
    color: var(--modal-muted);
    font-size: 12px;
    line-height: 1.45;
}

/* Mini profile preview */

.store-item-context-preview {
    margin-top: 12px;
    overflow: hidden;
    border: 1px solid var(--modal-border);
    border-radius: 16px;
    background: var(--modal-panel);
}

.store-item-context-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-bottom: 1px solid var(--modal-border);
    font-size: 13px;
    font-weight: 700;
}

.store-item-context-heading button {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--modal-muted);
    cursor: pointer;
}

.store-item-context-heading button:hover {
    background: var(--modal-panel-light);
    color: var(--modal-text);
}

.store-item-mini-profile {
    position: relative;
}

.store-item-mini-banner {
    height: 72px;
    background:
        linear-gradient(
            120deg,
            #7dd0ea,
            #4f91dd,
            #7048a3
        );
}

.store-item-mini-profile-content {
    position: relative;
    padding: 38px 14px 15px;
}

.store-item-mini-avatar {
    position: absolute;
    top: -28px;
    left: 14px;
    width: 58px;
    height: 58px;
    overflow: hidden;
    border: 3px solid var(--modal-panel);
    border-radius: 50%;
    background: #22262c;
}

.store-item-mini-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-item-mini-user strong,
.store-item-mini-user span {
    display: block;
}

.store-item-mini-user strong {
    font-size: 14px;
}

.store-item-mini-user strong i {
    color: var(--modal-primary);
    font-size: 12px;
}

.store-item-mini-user span {
    margin-top: 2px;
    color: var(--modal-muted);
    font-size: 12px;
}

.store-item-mini-title {
    display: inline-flex;
    margin-top: 9px;
    padding: 5px 9px;
    border: 1px solid rgba(29, 155, 240, 0.55);
    border-radius: 999px;
    background: rgba(29, 155, 240, 0.1);
    color: #80ccff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Checkout footer */

.store-item-modal-checkout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 24px;
    border-top: 1px solid var(--modal-border);
    background: #141619;
}

.store-item-checkout-values {
    display: flex;
    align-items: center;
    gap: 24px;
}

.store-item-checkout-row {
    min-width: 110px;
}

.store-item-checkout-row span,
.store-item-checkout-row strong {
    display: block;
}

.store-item-checkout-row span {
    margin-bottom: 3px;
    color: var(--modal-muted);
    font-size: 11px;
}

.store-item-checkout-row strong {
    font-size: 15px;
}

.store-item-checkout-row strong i {
    margin-right: 5px;
    color: var(--modal-coin);
}

.store-item-checkout-row.remaining strong {
    color: var(--modal-green);
}

.store-item-purchase-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 170px;
    min-height: 44px;
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    background: #275acb;
    color: #ffffff;
    cursor: pointer;
    font-weight: 700;
    user-select: none;
    -webkit-user-select: none;
}

.store-item-purchase-button:hover {
    background: #2e65df;
}

.store-item-purchase-button.holding {
    transform: scale(0.985);
}

.store-item-purchase-button .buy-fill {
    position: absolute;
    inset: 0;
    width: 0%;
    background: linear-gradient(
        90deg,
        rgba(255, 217, 78, 0.32),
        rgba(255, 217, 78, 0.7)
    );
    pointer-events: none;
}

.store-item-purchase-button .buy-fill::after {
    content: "";
    position: absolute;
    top: 0;
    right: -13px;
    width: 26px;
    height: 100%;
    background: rgba(255, 255, 255, 0.45);
    filter: blur(8px);
}

.store-item-purchase-button .buy-text {
    position: relative;
    z-index: 2;
}

/* Responsive */

@media (max-width: 800px) {
    .store-item-modal-main {
        grid-template-columns: 1fr;
    }

    .store-item-preview-stage {
        min-height: 300px;
    }

    .store-item-modal-checkout {
        align-items: stretch;
        flex-direction: column;
    }

    .store-item-checkout-values {
        justify-content: space-between;
    }

    .store-item-purchase-button {
        width: 100%;
    }
}

@media (max-width: 540px) {
    .store-item-modal-main {
        padding-right: 15px;
        padding-left: 15px;
    }

    .store-item-detail-grid {
        grid-template-columns: 1fr;
    }

    .store-item-checkout-values {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .store-item-checkout-row.remaining {
        grid-column: 1 / -1;
    }

    .store-item-modal-checkout {
        padding-right: 15px;
        padding-left: 15px;
    }
}

.store-item-image::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 30px 30px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);
}









.notifications-page {
    width: 100%;
    max-width: 600px;
    min-height: 100vh;

    margin: 0 auto;

    border-left: 1px solid #2f3336;
    border-right: 1px solid #2f3336;

    background: #000;
    color: #e7e9ea;
}

.notifications-header {
    position: sticky;
    top: 0;
    z-index: 20;

    min-height: 54px;
    padding: 0 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid #2f3336;
}

.notifications-header h1 {
    margin: 0;

    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.notifications-settings-button {
    width: 36px;
    height: 36px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 9999px;

    color: #e7e9ea;
    text-decoration: none;

    transition:
        background-color 0.15s ease,
        transform 0.15s ease;
}

.notifications-settings-button:hover {
    background: rgba(239, 243, 244, 0.1);
}

.notifications-settings-button:active {
    transform: scale(0.94);
}

.notifications-tabs {
    position: sticky;
    top: 54px;
    z-index: 19;

    display: grid;
    grid-template-columns: repeat(2, 1fr);

    height: 54px;

    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid #2f3336;
}

.notification-tab {
    position: relative;

    border: 0;
    padding: 0 16px;

    background: transparent;
    color: #71767b;

    font: inherit;
    font-size: 15px;
    font-weight: 500;

    cursor: pointer;
}

.notification-tab:hover {
    background: rgba(239, 243, 244, 0.08);
}

.notification-tab.is-active {
    color: #e7e9ea;
    font-weight: 700;
}

.notification-tab-indicator {
    position: absolute;
    bottom: 0;
    left: 0;

    width: 0;
    height: 4px;

    border-radius: 9999px;

    background: #1d9bf0;

    transition:
        transform 0.25s ease,
        width 0.25s ease,
        opacity 0.15s ease;
}

.notification-list {
    width: 100%;
}

.notification-row {
    position: relative;

    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;

    padding: 20px;

    border-bottom: 1px solid var(--border);


    cursor: pointer;

    transition: background-color 0.15s ease;
}

.notification-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

.notification-row.is-unread {
    background: rgba(29, 155, 240, 0.08);
}

.notification-row.is-unread:hover {
    background: rgba(29, 155, 240, 0.12);
}

.notification-icon {
    width: 38px;

    display: flex;
    justify-content: center;

    padding-top: 2px;

    font-size: 29px;
}

.notification-icon.like-post {
    color: deeppink;
}

.notification-icon.repost {
    color: #00ba7c;
}

.notification-icon.reply,
.notification-icon.mention {
    color: #1d9bf0;
}

.notification-icon.follow {
    color: #7856ff;
}

.notification-icon.system,
.notification-icon.moderation {
    color: #ff7a00;
}

.notification-body {
    min-width: 0;
}

.notification-avatars {
    min-height: 34px;

    display: flex;
    align-items: center;

    margin-bottom: 8px;
}

.notification-avatar {
    position: relative;

    width: 30px;
    height: 30px;

    flex: 0 0 30px;


    overflow: hidden;

    text-decoration: none;
}

.notification-avatar + .notification-avatar {
    margin-left: 5px;
}

.notification-avatar img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

.notification-message {
    color: var(--text-primary);

    font-size: 16px;
    line-height: 20px;
}

.notification-user-link {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}

.notification-user-link:hover {
    text-decoration: underline;
}

.notification-verified {
    margin-left: 3px;

    color: #1d9bf0;

    font-size: 14px;
}

.notification-time {
    font-size: 12px;
    color: var(--text-secondary);
}

.notification-post-preview {

    color: var(--text-secondary);

    font-size: 16px;
    line-height: 20px;

    overflow-wrap: anywhere;
}

.notification-time i {
    margin-left: 10px;
    margin-right: 5px;
}

.notification-unread-dot {
    position: absolute;
    top: 18px;
    right: 14px;

    width: 8px;
    height: 8px;

    border-radius: 9999px;

    background: var(--button);
}

.notification-loading {
    padding: 30px;

    text-align: center;

    color: var(--button);
    font-size: 24px;
}

.notification-empty {
    padding: 20px;
    padding-top: 0;

    text-align: center;
}

.notification-empty h2 {
    margin: 0 0 0px;

    color: var(--text-primary);

    font-size: 28px;
    line-height: 34px;
    font-size: 16px;
}

#notification-list > .notification-row:first-child {
    border-top: 1px solid var(--border);
}

.notification-empty p {
    max-width: 380px;

    margin: 0 auto;

    color: var(--text-secondary);

    font-size: 16px;
    line-height: 20px;
}

#notification-load-trigger {
    width: 100%;
    height: 1px;
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -7px;

    min-width: 17px;
    height: 17px;

    display: none;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
    padding: 0 4px;

    border: 2px solid #000;
    border-radius: 9999px;

    background: #1d9bf0;
    color: #fff;

    font-size: 10px;
    line-height: 1;
    font-weight: 700;
}

.notification-badge.is-visible {
    display: inline-flex;
}

@media (max-width: 700px) {
    .notifications-page {
        max-width: none;

        border-left: 0;
        border-right: 0;
    }
}

/* ==================================================
   LARGE DESKTOP PAGES ONLY
   ================================================== */

.page-shell--large {
    grid-template-columns: minmax(0, 1fr);
}

.page-shell--large > .page-content {
    width: 100%;
    max-width: none;
    min-width: 0;
    margin-left: 0;
    border-left: 0;
    border-right: 1px solid var(--border);
}

/* Main two-column layout */

.page-shell--large .settings-layout {
    display: grid;
    grid-template-columns:
        minmax(300px, 420px)
        minmax(0, 1fr);

    width: 100%;
    min-height: 100vh;
}

/* Settings navigation column */

.page-shell--large .settings-navigation {
    min-width: 0;
    border-right: 1px solid var(--border);
    background: var(--page-background);
}

.page-shell--large .settings-navigation-header {
    
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    min-height: 54px;
    padding: 0 20px;
    border-bottom: 1px solid var(--border);
    background: var(--background-lighter);
    backdrop-filter: blur(12px);
    z-index: 13;
    align-items: center;
    border-left: 1px solid var(--border);

}

.page-shell--large .settings-navigation-header h1 {
        font-weight: 900;
    font-size: 18px;
}

.page-shell--large .settings-search {
    display: flex;
    align-items: center;
    gap: 10px;

    min-height: 44px;
    padding: 0 14px;

    border: 1px solid var(--border);
    border-radius: 999px;

    background: transparent;
    color: var(--text-secondary);
}

.page-shell--large .settings-search:focus-within {
    border-color: var(--link);
    box-shadow: 0 0 0 1px var(--link);
}

.page-shell--large .settings-search input {
    width: 100%;
    min-width: 0;

    padding: 0;
    border: 0;
    outline: 0;

    background: transparent;
    color: var(--text-primary);

    font: inherit;
    font-size: 14px;
}

.page-shell--large .settings-menu {
    display: flex;
    flex-direction: column;
}

.page-shell--large .settings-menu-item {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    width: 100%;
    /*min-height: 52px;*/

    margin: 0;
    padding: 15px 20px;

    border: 0;
    border-radius: 0;

    background: transparent;
    color: var(--text-primary);

    text-align: left;
    font-weight: 700;
    cursor: pointer;
    font-size: 16px;
}

.page-shell--large .settings-menu-item:hover {
    background: var(--hover);
}

.page-shell--large .settings-menu-item.active {
    background: var(--nav-active);
    font-weight: 700;
}

.page-shell--large .settings-menu-item.active::after {
    content: "";

    position: absolute;
    top: 0;
    right: 1px;
    bottom: 0;

    width: 4px;
    border-radius: 999px;
    background: var(--text-primary);
}

.page-shell--large .settings-menu-item div {
    display: flex;
    align-items: center;
        justify-content: center;
}

.page-shell--large .settings-menu-item div i {
    margin-right: 15px;
    width: 16px;
        display: flex;
    justify-content: center;
}

/* Settings detail column */

.page-shell--large .settings-content {
    min-width: 0;
    background: var(--page-background);
}

.page-shell--large .settings-content-header {
        position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    min-height: 54px;
    padding: 0 20px;
    border-bottom: 1px solid var(--border);
    background: var(--background-lighter);
    backdrop-filter: blur(12px);
    z-index: 13;
    align-items: center;
}

.setting-desc {
    padding: 20px;
    margin: 0;
    color: var(--text-secondary);
}

.page-shell--large .settings-content-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 900;
}

.page-shell--large .settings-content-header p {
    max-width: 700px;
    margin: 20px 0 0;

    color: var(--text-secondary);
    font-size: 16px;
}

.page-shell--large .settings-option {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 14px;

    min-height: 68px;
    padding: 12px 18px;

    color: var(--text-primary);
}

.page-shell--large .settings-option:hover {
    background: var(--hover);
    text-decoration: none;
}

.page-shell--large .settings-option-text {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.page-shell--large .settings-option-text small {
    margin-top: 5px;
    color: var(--text-secondary);
    line-height: 1.35;
}

@media (max-width: 1100px) {
    .page-shell--large .settings-layout {
        grid-template-columns:
            minmax(270px, 340px)
            minmax(0, 1fr);
    }
}

@media (max-width: 850px) and (min-width: 701px) {
    .page-shell--large .settings-layout {
        display: block;
    }

    .page-shell--large .settings-content {
        display: none;
    }

    .page-shell--large
    .settings-layout.show-details
    .settings-navigation {
        display: none;
    }

    .page-shell--large
    .settings-layout.show-details
    .settings-content {
        display: block;
    }
}

@media (max-width: 700px) {
    .page-shell--large {
        display: block;
        width: 100%;
        margin-left: 0 !important;
    }

    .page-shell--large > .page-content {
        width: 100%;
        margin:
            var(--mobile-header-height)
            0
            var(--mobile-nav-height);

        border: 0;
    }

    .page-shell--large .settings-layout {
        display: block;
        min-height: auto;
    }

    .page-shell--large .settings-content {
        display: none;
    }

    .page-shell--large
    .settings-layout.show-details
    .settings-navigation {
        display: none;
    }

    .page-shell--large
    .settings-layout.show-details
    .settings-content {
        display: block;
    }
}

.gw-switch {
        position: relative;
    display: inline-block;
    width: 30px;
    height: 10px;
    cursor: pointer;
    user-select: none;
}

.gw-switch input {
    display: none;
}

.gw-switch-slider {
    position: absolute;
    inset: 0;

    background: #3b3b3b;
    border-radius: 999px;

    transition:
        background .2s ease;
}

.gw-switch-slider::before {
        content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    top: -2px;
        border: 1px solid var(--border);
    border-radius: 50%;
    box-sizing: border-box;
    background: #fff;
    transition: transform .2s cubic-bezier(.4, 0, .2, 1);
}

.gw-switch input:checked + .gw-switch-slider {
    background: #1d9bf0;   /* GeoWeb blue */
}

.gw-switch input:checked + .gw-switch-slider::before {
    transform: translateX(20px);
}

.settings-row {
    padding: 20px;
}

.settings-setting {
        display: grid;
    justify-content: space-between;
    grid-auto-flow: column;
    align-items: center;
    font-weight: 700;
}

.settings-content p {
    margin: 0;
}

.setting-small {
    font-size: 16px;
    color: var(--text-secondary);
    margin-top: 5px !important;
}

.push-category-settings {
    transition: opacity 0.2s ease;
}

.push-category-settings.is-disabled {
    opacity: 0.5;
}

.theme-picker {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.theme-option {
    display: block;
    cursor: pointer;
}

.theme-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.theme-card {
    position: relative;

    min-height: 116px;
    padding: 14px;

    display: flex;
    flex-direction: column;
    gap: 12px;

    border: 2px solid transparent;
    border-radius: 10px;

    background: var(--theme-bg);
    color: var(--theme-text);

    box-sizing: border-box;

    transition:
        border-color 0.18s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease;
}


.theme-option input:checked + .theme-card {
    border-color: var(--theme-accent);

    box-shadow:
        0 0 0 1px
        color-mix(
            in srgb,
            var(--theme-accent) 30%,
            transparent
        );
}

.theme-option input:focus-visible + .theme-card {
    outline: 3px solid
        color-mix(
            in srgb,
            var(--theme-accent) 35%,
            transparent
        );

    outline-offset: 2px;
}

.theme-check {
    position: absolute;
    top: 12px;
    left: 12px;

    width: 20px;
    height: 20px;

    display: grid;
    place-items: center;

    border: 2px solid var(--theme-muted);
    border-radius: 50%;

    color: transparent;

    font-size: 11px;

    box-sizing: border-box;
}

.theme-option input:checked + .theme-card
.theme-check {
    border-color: var(--theme-accent);
    background: var(--theme-accent);
    color: #fff;
}

.theme-card strong {
    text-align: center;
    font-size: 15px;
}

.theme-preview {
    height: 54px;

    display: grid;
    grid-template-columns: 34px 1fr;

    overflow: hidden;

    border: 1px solid
        color-mix(
            in srgb,
            var(--theme-muted) 35%,
            transparent
        );

    border-radius: 7px;

    background: var(--theme-panel);
}

.theme-preview-sidebar {
    background:
        color-mix(
            in srgb,
            var(--theme-panel) 75%,
            var(--theme-accent)
        );

    border-right: 1px solid
        color-mix(
            in srgb,
            var(--theme-muted) 35%,
            transparent
        );
}

.theme-preview-content {
    padding: 11px 10px;

    display: flex;
    flex-direction: column;
    gap: 8px;
}

.theme-preview-line {
    height: 6px;
    border-radius: 999px;

    background: var(--theme-text);
    opacity: 0.9;
}

.theme-preview-line.short {
    width: 60%;
    background: var(--theme-muted);
}

.theme-preview-sidebar {
    opacity: 0;
}

.theme-check {
    position: absolute;
    top: 25px;
    left: 27px;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border: 2px solid var(--theme-muted);
    border-radius: 50%;
    color: transparent;
    font-size: 11px;
    box-sizing: border-box;
}

.theme-option {
    position: relative;
    display: block;
    cursor: pointer;
}

.theme-option input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
}




.page-shell--large .chat-layout {
    display: grid;
    grid-template-columns:
        minmax(300px, 390px)
        minmax(0, 1fr);

    width: 100%;
    min-height: 100vh;
}

.page-shell--large .chat-sidebar {
    min-width: 0;
    border-right: 1px solid var(--border);
    background: var(--page-background);
}

.chat-sidebar-header {
    position: sticky;
    top: 0;
    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 54px;
    padding: 0 16px;

    border-bottom: 1px solid var(--border);
    background: rgb(17 18 19 / 92%);
    backdrop-filter: blur(12px);
}

.chat-sidebar-header h1 {
    margin: 0;
    font-size: 20px;
    font-weight: 900;
}

.chat-new-button {
    display: grid;
    place-items: center;

    width: 36px;
    height: 36px;
    min-height: 36px;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 50%;

    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
}

.chat-new-button:hover {
    background: var(--hover);
}

.chat-search {
    display: flex;
    align-items: center;
    gap: 10px;

    min-height: 44px;
    margin: 10px 12px;
    padding: 0 14px;

    border: 1px solid var(--border);
    border-radius: 999px;

    color: var(--text-secondary);
}

.chat-search:focus-within {
    border-color: var(--link);
    box-shadow: 0 0 0 1px var(--link);
}

.chat-search-input {
    width: 100%;
    min-width: 0;

    border: 0;
    outline: 0;

    background: transparent;
    color: var(--text-primary);
    font: inherit;
}

.chat-list {
    min-height: 200px;
}

.chat-list-loader {
    display: flex;
    justify-content: center;
    padding: 30px;
}

.chat-list-item {
    position: relative;

    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0px;

    width: 100%;
    min-height: 72px;
    padding: 10px 20px;

    border: 0;
    border-radius: 0;

    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
}

.chat-list-item:hover {
    background: var(--hover);
}

.chat-list-item.active {
    background: var(--nav-active);
}

.chat-list-item.active::after {
    content: "";

    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;

    width: 3px;
    background: var(--text-primary);
}

.chat-list-avatar {
    width: 30px;
    height: 30px;
    object-fit: cover;
}

.chat-list-details {
    min-width: 0;
}

.chat-list-title-row {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
}

.chat-list-title {
    overflow: hidden;
    font-size: 16px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-list-preview {
    overflow: hidden;
    margin-top: 3px;

    color: var(--text-secondary);
    font-size: 14px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-list-time {
    align-self: start;
    margin-top: 3px;
    color: var(--text-secondary);
    font-size: 12px;
}

.chat-unread-badge {
    display: grid;
    place-items: center;

    min-width: 20px;
    height: 20px;
    margin-top: 8px;
    padding: 0 6px;

    border-radius: 999px;
    background: var(--button);

    color: white;
    font-size: 11px;
    font-weight: 700;
}

.chat-panel {
    display: flex;
    min-width: 0;
    min-height: 100vh;
    flex-direction: column;

    background: var(--page-background);
}

.chat-empty-state {
    display: flex;
    max-width: 360px;
    margin: auto;
    flex-direction: column;
    align-items: flex-start;
}

.chat-empty-state h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 900;
}

.chat-empty-state p {
    margin: 10px 0 20px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.chat-start-button {
    width: auto;
    margin: 0;
    padding: 0 22px;
}

.chat-conversation {
    display: flex;
    min-height: 100vh;
    flex: 1;
    flex-direction: column;
}

.chat-conversation-header {
    position: sticky;
    top: 0;
    z-index: 20;

    display: flex;
    align-items: center;
    gap: 12px;

    min-height: 54px;
    padding: 6px 16px;

    border-bottom: 1px solid var(--border);
    background: rgb(17 18 19 / 92%);
    backdrop-filter: blur(12px);
}

.chat-header-avatar {
    width: 30px;
    height: 30px;
    object-fit: cover;
}

.chat-header-details {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.chat-header-title {
    font-size: 18px;
    font-weight: 900;
}

.chat-header-details strong,
.chat-header-details small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-header-details small {
    color: var(--text-secondary);
}

.chat-header-actions {
    display: flex;
    gap: 5px;
    margin-left: auto;
}

.chat-header-action {
    display: grid;
    place-items: center;

    width: 36px;
    height: 36px;
    min-height: 36px;
    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 50%;

    background: transparent;
    color: var(--text-primary);
}

.chat-header-action:hover {
    background: var(--hover);
}

.chat-messages {
    display: flex;
    min-height: 0;
    padding: 18px 16px;
    flex: 1;
    flex-direction: column;
    gap: 4px;
}

/* ==================================================
   CHAT MESSAGES
   ================================================== */

.chat-messages {
    display: flex;
    min-height: 0;
    flex: 1;
    flex-direction: column;
    gap: 8px;

    padding: 18px 16px;
    overflow-y: auto;
}

/*
 * One complete message row.
 *
 * Incoming:
 * avatar | bubble
 *
 * Own:
 *                    bubble
 */
.chat-message-row {
    display: flex;
    align-items: center;
    gap: 8px;

    width: 100%;
}

.chat-message-row.is-own {
    justify-content: flex-end;
}

/* Sender avatar */

.chat-message-avatar-link {
    display: block;

    width: 30px;
    height: 30px;
    flex: 0 0 30px;

    overflow: hidden;
}

.chat-message-avatar {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

/*
 * Contains:
 * sender name, bubble and timestamp.
 */
.chat-message-content {
    display: flex;
    min-width: 0;
    max-width: min(75%, 560px);

    flex-direction: column;
    align-items: flex-start;
}

.chat-message-row.is-own
.chat-message-content {
    align-items: flex-end;
}

/* Group-chat sender name */

.chat-message-sender {
    display: flex;
    align-items: center;
    gap: 4px;

    margin: 0 8px 4px;

    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.2;
}

.chat-message-verified {
    color: var(--link);
    font-size: 11px;
}

/* Message bubble */

.chat-message-bubble {
    display: block;

    width: fit-content;
    max-width: 100%;

    margin: 0;
    padding: 9px 14px;

    border-radius: 18px;

    background: var(--popup);
    color: var(--text-primary);

    line-height: 1.4;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.chat-message-row.is-own
.chat-message-bubble {
    background: var(--button);
    color: #fff;
}

/* Timestamp underneath the bubble */

.chat-message-meta {
    display: flex;
    align-items: center;

    width: fit-content;

    margin-top: 5px;
    padding: 0 8px;

    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1;
}

.chat-message-time {
    display: block;

    margin: 0;
    padding: 0;

    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

/* Mobile */

@media (max-width: 700px) {
    .chat-messages {
        gap: 7px;
        padding: 14px 10px;
    }

    .chat-message-avatar-link {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .chat-message-content {
        max-width: calc(85% - 38px);
    }

    .chat-message-row.is-own
    .chat-message-content {
        max-width: 85%;
    }
}

.chat-composer {
    display: flex;
    align-items: flex-end;
    gap: 8px;

    padding: 10px 14px;

    border-top: 1px solid var(--border);
    background: var(--page-background);
}

.chat-message-input {
    flex: 1;

    min-height: 42px;
    max-height: 160px;

    padding: 10px 14px;

    border: 1px solid var(--border);
    border-radius: 999px;

    background: var(--background-lighter);
    color: var(--text-primary);

    font: inherit;
    line-height: 1.4;

    resize: none;
    outline: none;

    box-sizing: border-box;
}

.chat-message-input:focus {
    border-color: var(--link);
}

.chat-send-button {
    display: grid;
    place-items: center;

    width: 42px;
    height: 42px;
    flex: 0 0 42px;

    margin: 0;
    padding: 0;

    border-radius: 50%;
}

.chat-date-separator {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    margin: 14px 0;

    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
}

.chat-date-separator span {
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--page-background);
    white-space: nowrap;
}

.chat-composer-action {
    height: 42px;
    width: 42px !important;
    font-size: 16px !important;
}

.chat-composer-action:hover {
    background: var(--hover);
}

.chat-input-area {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;

    border: 1px solid var(--border);
    border-radius: 22px;

    background: var(--background-lighter);
}

.chat-message-input {
    width: 100%;

    border: 0;
    background: transparent;
}

.chat-attachment-preview {
    display: none;
    gap: 6px;

    padding: 8px 8px 0;
}

.chat-attachment-preview.has-items {
    display: flex;
    flex-wrap: wrap;
}

.chat-attachment-preview-item {
    position: relative;

    width: 72px;
    height: 72px;

    border-radius: 12px;
    overflow: hidden;

    background: var(--popup);
}

.chat-attachment-preview-item img,
.chat-attachment-preview-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-remove-attachment {
    position: absolute;
    top: 4px;
    right: 4px;

    display: grid;
    place-items: center;

    width: 22px;
    height: 22px;
    min-height: 22px;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgb(0 0 0 / 75%);
    color: white;
}

.chat-emoji-picker-popup {
    position: absolute;
    right: 55px;
    bottom: 60px;
    z-index: 100;

    display: none;

    width: min(350px, calc(100vw - 24px));
    height: 400px;

    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;

    background: var(--background);
}

.chat-emoji-picker-popup.is-open {
    display: block;
}

.chat-message-attachments {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 4px;

    max-width: 360px;
    margin-top: 4px;

    overflow: hidden;
    border-radius: 14px;
}

.chat-message-attachment {
    display: block;
    max-width: 100%;
    max-height: 300px;

    border-radius: 14px;
    object-fit: cover;
}

.chat-message-file {
    display: flex;
    align-items: center;

    padding: 10px 14px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: var(--popup);
}

.chat-message-input {
    position: relative;

    width: 100%;
    min-height: 42px;
    max-height: 160px;

    padding: 10px 14px;

    border: 0;
    outline: 0;

    background: transparent;
    color: var(--text-primary);

    font: inherit;
    line-height: 1.4;

    white-space: pre-wrap;
    overflow-wrap: anywhere;
    overflow-y: auto;

    cursor: text;
}

.chat-message-input::before {
    content: attr(data-placeholder);

    position: absolute;
    top: 10px;
    left: 14px;

    color: var(--text-secondary);

    opacity: 0;
    pointer-events: none;
}

.chat-message-input.is-empty::before {
    opacity: 1;
}

.chat-panel {
    min-width: 0;
    min-height: 0;
    height: 100vh;
    overflow: hidden;
}

.chat-conversation {
    display: flex;
    flex-direction: column;

    width: 100%;
    height: 100%;
    min-height: 0;

    overflow: hidden;
}

.chat-conversation-header {
    flex: 0 0 auto;
}

.chat-messages {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;

    flex-direction: column;
    gap: 8px;

    padding: 18px 16px;

    overflow-y: auto;
    overflow-x: hidden;

    overscroll-behavior: contain;
}

.chat-composer {
    position: relative;

    flex: 0 0 auto;

    display: flex;
    align-items: flex-end;
    gap: 8px;

    padding: 10px 14px;

    border-top: 1px solid var(--border);
    background: var(--page-background);
}

@media (max-width: 700px) {
    .chat-panel {
        height: calc(
            100dvh -
            var(--mobile-header-height) -
            var(--mobile-nav-height)
        );
    }

    .chat-conversation {
        height: 100%;
    }

    .chat-messages {
        padding: 14px 10px;
        -webkit-overflow-scrolling: touch;
    }
}

.chat-sidebar {
    display: flex;
    flex-direction: column;

    height: 100%;
    min-height: 0;

    overflow: hidden;
}

.chat-sidebar-header {
    flex: 0 0 auto;
}

.chat-search {
    flex: 0 0 auto;
}

.chat-list {
    flex: 1 1 auto;
    min-height: 0;

    overflow-y: auto;
    overflow-x: hidden;

    overscroll-behavior: contain;
}


/* ==================================================
   GEOWEB LANDING PAGE
   ================================================== */

.gw-landing {
    min-height: 100vh;

    background: var(--background);
    color: var(--text-primary);
}


/* Header */

.gw-landing-header {
    position: sticky;
    top: 0;
    z-index: 100;

    border-bottom: 1px solid var(--border);

    background:
        color-mix(
            in srgb,
            var(--background) 90%,
            transparent
        );

    backdrop-filter: blur(18px);
}

.gw-landing-header-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;

    width: min(1180px, calc(100% - 40px));
    height: 68px;
    margin: 0 auto;
}

.gw-landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    width: fit-content;

    color: var(--text-primary);
    font-size: 19px;
    font-weight: 900;
}

.gw-landing-brand img {
    width: 36px;
    height: 36px;

    object-fit: contain;
}

.gw-landing-nav {
    display: flex;
    gap: 4px;
}

.gw-landing-nav a {
    padding: 9px 14px;

    border-radius: 999px;

    color: var(--text-secondary);

    font-size: 14px;
    font-weight: 700;

    transition:
        background 150ms ease,
        color 150ms ease;
}

.gw-landing-nav a:hover {
    background: var(--hover);
    color: var(--text-primary);
}

.gw-landing-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.gw-landing-link-button {
    padding: 9px 14px;

    border-radius: 999px;

    color: var(--text-primary);

    font-size: 14px;
    font-weight: 700;
}

.gw-landing-link-button:hover {
    background: var(--hover);
}


/* Buttons */

.gw-landing-primary-button,
.gw-landing-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 48px;
    padding: 0 22px;

    border-radius: 999px;

    font-size: 15px;
    font-weight: 700;

    transition:
        transform 160ms ease,
        opacity 160ms ease,
        background 160ms ease;
}

.gw-landing-primary-button {
    background: var(--button);
    color: white;
}

.gw-landing-primary-button.small {
    min-height: 40px;
    padding: 0 17px;

    font-size: 14px;
}

.gw-landing-secondary-button {
    border: 1px solid var(--border);

    background: var(--background-lighter);
    color: var(--text-primary);
}



.gw-landing-primary-button:hover {
    opacity: .9;
}

.gw-landing-secondary-button:hover {
    background: var(--hover);
}


/* Hero */

.gw-hero {
    position: relative;

    overflow: hidden;
}

.gw-hero-background {
    position: absolute;
    top: -450px;
    left: 50%;

    width: 1000px;
    height: 1000px;

    border-radius: 50%;

    background:
        color-mix(
            in srgb,
            var(--button) 14%,
            transparent
        );

    transform: translateX(-50%);
    filter: blur(140px);

    pointer-events: none;
}

.gw-hero-inner {
    position: relative;

    display: grid;
    grid-template-columns:
        minmax(0, .9fr)
        minmax(500px, 1.1fr);

    align-items: center;
    gap: 65px;

    width: min(1180px, calc(100% - 40px));

    min-height: calc(100vh - 68px);

    margin: 0 auto;
    padding: 80px 0 100px;
}

.gw-hero-copy {
    position: relative;
    z-index: 2;
}

.gw-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 23px;
    padding: 7px 12px;

    border: 1px solid var(--border);
    border-radius: 999px;

    background: var(--background-lighter);
    color: var(--text-secondary);

    font-size: 13px;
    font-weight: 700;
}

.gw-hero-badge i {
    color: var(--link);
}

.gw-hero h1 {
    max-width: 650px;

    margin: 0;

    font-size: clamp(48px, 5vw, 74px);
    font-weight: 900;
    line-height: .98;
    letter-spacing: -3px;
}

.gw-hero h1 span {
    display: block;

    margin-top: 8px;

    color: var(--link);
}

.gw-hero-copy > p {
    max-width: 590px;

    margin: 27px 0 0;

    color: var(--text-secondary);

    font-size: 18px;
    line-height: 1.6;
}

.gw-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-top: 31px;
}

.gw-hero-subtext {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;

    margin-top: 18px;

    color: var(--text-secondary);

    font-size: 12px;
}

.gw-hero-subtext span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.gw-hero-subtext i {
    color: var(--link);
}


/* Product showcase */

.gw-product-showcase {
    position: relative;

    min-width: 0;
}

.gw-product-window {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);

    width: 760px;
    max-width: 100%;
    height: 610px;

    border: 1px solid var(--border);

    background: var(--background-lighter);

    overflow: hidden;

    box-shadow:
        0 35px 90px rgb(0 0 0 / 25%);

    transform:
        perspective(1400px)
        rotateY(-3deg)
        rotateX(1deg);

    transform-origin: center;
}


/* Product sidebar */

.gw-product-sidebar {
    display: flex;
    flex-direction: column;

    min-width: 0;
    padding: 10px 14px 14px;

    border-right: 1px solid var(--border);
}

.gw-product-logo {
        display: flex;
    align-items: center;
    justify-content: center;
    height: 41px;
    width: calc(100% + 30px);
    margin-left: -15px;
    border-bottom: 1px solid var(--border);
}

.gw-product-logo img {
    width: 30px;
    height: 30px;
        margin-top: -8px;
}

.gw-product-nav {
    position: relative;

    display: flex;
    align-items: center;
    gap: 12px;

    height: 39px;
    padding: 0 7px;

    color: var(--text-secondary);

    font-size: 11px;
    font-weight: 700;
}

.gw-product-nav i {
    display: flex;
    justify-content: center;

    width: 17px;

    font-size: 13px;
}

.gw-product-nav.active {
    color: var(--text-primary);
}

.gw-product-nav.active::before {
    content: "";

    position: absolute;
    top: 5px;
    bottom: 5px;
    left: -14px;

    width: 2px;

    background: var(--text-primary);
}

.gw-product-sidebar-bottom {
    display: flex;
    flex-direction: column;
    gap: 14px;

    margin-top: auto;
}

.gw-product-post-button {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 31px;

    border-radius: 999px;

    background: var(--button);
    color: white;

    font-size: 9px;
    font-weight: 800;
}

.gw-product-account {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gw-product-account > img {
    width: 31px;
    height: 31px;

    object-fit: cover;
}

.gw-product-account > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.gw-product-account strong {
    color: var(--text-primary);

    font-size: 10px;
}

.gw-product-account strong i {
    color: var(--link);

    font-size: 8px;
}

.gw-product-account span {
    margin-top: 2px;

    color: var(--text-secondary);

    font-size: 9px;
}


/* Product feed */

.gw-product-feed {
    min-width: 0;
}

.gw-product-title {
    display: flex;
    align-items: center;

    height: 51px;
    padding: 0 16px;

    border-bottom: 1px solid var(--border);

    font-size: 13px;
    font-weight: 900;
}

.gw-product-composer {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    height: 89px;
    padding: 16px;

    border-bottom: 1px solid var(--border);
}

.gw-product-composer img {
    width: 38px;
    height: 38px;

    border-radius: 50%;
}

.gw-product-composer span {
    margin-top: 8px;

    color: var(--text-secondary);

    font-size: 12px;
}

.gw-product-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;

    height: 42px;

    border-bottom: 1px solid var(--border);
}

.gw-product-tabs > div {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    color: var(--text-secondary);

    font-size: 10px;
    font-weight: 700;
}

.gw-product-tabs > div.active {
    color: var(--text-primary);
}

.gw-product-tabs > div.active::after {
    content: "";

    position: absolute;
    right: 32%;
    bottom: 0;
    left: 32%;

    height: 2px;

    background: var(--text-primary);
}


/* Demo post */

.gw-demo-post {
    display: flex;
    gap: 10px;

    padding: 14px 14px 13px;

    border-bottom: 1px solid var(--border);
}



.gw-demo-avatar {
    width: 35px;
    height: 35px;
    flex: 0 0 35px;

    border-radius: 50%;

    object-fit: cover;
}

.gw-demo-avatar-alt {
    display: grid;
    place-items: center;

    background: var(--button);
    color: white;
}

.gw-demo-post-content {
    min-width: 0;
    flex: 1;
}

.gw-demo-post-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gw-demo-post-heading > i {
    color: var(--text-secondary);

    font-size: 8px;
}

.gw-demo-post-heading > div {
    display: flex;
    align-items: center;
    gap: 4px;
}

.gw-demo-post-heading strong {
    font-size: 10px;
}

.gw-demo-post-heading div > i {
    color: var(--link);

    font-size: 8px;
}

.gw-demo-post-heading span {
    color: var(--text-secondary);

    font-size: 8px;
}

.gw-demo-meta {
    display: flex;
    align-items: center;
    gap: 4px;

    margin-top: 3px;

    color: var(--text-secondary);

    font-size: 7px;
}

.gw-demo-meta i:not(:first-child) {
    margin-left: 4px;
}

.gw-demo-post p {
    margin: 9px 0;

    font-size: 10px;
    line-height: 1.45;
}

.gw-demo-media {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    height: 130px;
    margin: 8px 0 11px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background:
        radial-gradient(
            circle at center,
            color-mix(
                in srgb,
                var(--button) 14%,
                var(--background)
            ),
            var(--background)
        );
}

.gw-demo-media img {
    width: 54px;
    height: 54px;
}

.gw-demo-media strong {
    margin-top: 5px;

    font-size: 12px;
}

.gw-demo-media span {
    margin-top: 2px;

    color: var(--text-secondary);

    font-size: 8px;
}

.gw-demo-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 6px;

    color: var(--text-secondary);

    font-size: 8px;
}

.gw-demo-actions span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.gw-demo-actions i {
    font-size: 10px;
}

.gw-demo-actions .liked {
    color: #ff1684;
}


/* Floating cards */

.gw-floating-card {
    position: absolute;
    z-index: 3;

    display: flex;
    align-items: center;
    gap: 10px;

    min-width: 220px;
    padding: 12px 14px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background:
        color-mix(
            in srgb,
            var(--popup) 92%,
            transparent
        );

    box-shadow:
        0 18px 45px rgb(0 0 0 / 20%);

    backdrop-filter: blur(14px);
}

.gw-floating-card-left {
    bottom: 65px;
    left: -55px;
}

.gw-floating-card-right {
    top: 85px;
    right: -40px;
}

.gw-floating-icon {
    display: grid;
    place-items: center;

    width: 36px;
    height: 36px;
    flex: 0 0 36px;

    border-radius: 10px;

    background: var(--nav-active);
    color: var(--link);
}

.gw-floating-card > div:last-child {
    display: flex;
    flex-direction: column;
}

.gw-floating-card strong {
    font-size: 11px;
}

.gw-floating-card span {
    margin-top: 2px;

    color: var(--text-secondary);

    font-size: 9px;
}


/* Quick features */

.gw-quick-features {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    width: min(1180px, calc(100% - 40px));

    margin: 0 auto 110px;

    border: 1px solid var(--border);
    border-radius: 18px;

    background: var(--background-lighter);

    overflow: hidden;
}

.gw-quick-features > div {
    display: flex;
    align-items: center;
    gap: 12px;

    min-width: 0;
    padding: 20px;

    border-right: 1px solid var(--border);
        justify-content: center;
}

.gw-quick-features > div:last-child {
    border-right: 0;
}

.gw-quick-features i {
    color: var(--link);

    font-size: 18px;
}

.gw-quick-features span {
    display: flex;
    flex-direction: column;

    min-width: 0;

    color: var(--text-secondary);

    font-size: 11px;
}

.gw-quick-features strong {
    margin-bottom: 2px;

    color: var(--text-primary);

    font-size: 13px;
}


/* Sections */

.gw-landing-section,
.gw-why {
    width: min(1180px, calc(100% - 40px));

    margin: 0 auto;
}

.gw-landing-section {
    padding: 30px 0 120px;
}

.gw-section-heading {
    max-width: 720px;

    margin-bottom: 42px;
}

.gw-section-eyebrow {
    color: var(--link);

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.4px;
}

.gw-section-heading h2,
.gw-why h2 {
    margin: 10px 0 14px;

    font-size: clamp(34px, 4vw, 52px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
}

.gw-section-heading p,
.gw-why-copy p {
    max-width: 650px;

    margin: 0;

    color: var(--text-secondary);

    font-size: 16px;
    line-height: 1.6;
}


/* Feature cards */

.gw-feature-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.gw-feature-card {
    position: relative;

    min-height: 285px;
    padding: 28px;

    border: 1px solid var(--border);
    border-radius: 22px;

    background: var(--background-lighter);

    overflow: hidden;

    transition:
        transform 180ms ease,
        background 180ms ease;
}

.gw-feature-card:hover {
    transform: translateY(-3px);
    background:
        color-mix(
            in srgb,
            var(--background-lighter) 94%,
            var(--hover)
        );
}

.gw-feature-card-large {
    grid-column: span 2;

    display: grid;
    grid-template-columns:
        minmax(0, .9fr)
        minmax(360px, 1.1fr);
    gap: 30px;

    min-height: 390px;
}

.gw-feature-icon {
    display: grid;
    place-items: center;

    width: 45px;
    height: 45px;

    margin-bottom: 18px;

    border-radius: 13px;

    background: var(--nav-active);
    color: var(--link);

    font-size: 19px;
}

.gw-feature-card h3 {
    margin: 0 0 10px;

    font-size: 22px;
}

.gw-feature-card > p,
.gw-feature-copy p {
    max-width: 500px;

    margin: 0;

    color: var(--text-secondary);

    line-height: 1.55;
}


/* Mini feed */

.gw-mini-feed {
    align-self: end;

    padding: 13px;

    border: 1px solid var(--border);
    border-radius: 16px;

    background: var(--background);
}

.gw-mini-post {
    display: flex;
    gap: 10px;
}

.gw-mini-avatar {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;

    border-radius: 50%;

    background: var(--button);
}

.gw-mini-post-content {
    min-width: 0;
    flex: 1;
}

.gw-mini-post-content > div:first-child {
    display: flex;
    gap: 5px;
}

.gw-mini-post strong {
    font-size: 11px;
}

.gw-mini-post span {
    color: var(--text-secondary);

    font-size: 9px;
}

.gw-mini-post p {
    margin: 6px 0 10px;

    font-size: 11px;
}

.gw-mini-media {
    height: 140px;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            var(--button),
            var(--popup)
        );
}

.gw-mini-actions {
    display: flex;
    justify-content: space-between;

    margin-top: 11px;

    color: var(--text-secondary);
}


/* Group card */

.gw-group-demo {
    margin-top: 25px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: var(--background);

    overflow: hidden;
}

.gw-group-banner {
    height: 68px;

    background:
        linear-gradient(
            135deg,
            var(--button),
            var(--background-lighter)
        );
}

.gw-group-info {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 12px;
}

.gw-group-icon {
    display: grid;
    place-items: center;

    width: 38px;
    height: 38px;
    flex: 0 0 38px;

    border-radius: 9px;

    background: var(--button);
    color: white;
}

.gw-group-info > div:nth-child(2) {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
}

.gw-group-info strong {
    font-size: 12px;
}

.gw-group-info span {
    margin-top: 2px;

    color: var(--text-secondary);

    font-size: 9px;
}

.gw-group-info button {
    width: auto;
    min-height: 30px;
    margin: 0;
    padding: 0 13px;

    border: 0;
    border-radius: 999px;

    background: var(--button);
    color: white;

    font-size: 10px;
    font-weight: 800;
}


/* Chat demo */

.gw-chat-demo {
    display: flex;
    flex-direction: column;
    gap: 8px;

    margin-top: 26px;
}

.gw-chat-bubble {
    width: fit-content;
    max-width: 78%;

    padding: 9px 13px;

    border-radius: 16px;

    background: var(--popup);

    font-size: 11px;
}

.gw-chat-bubble.own {
    align-self: flex-end;

    background: var(--button);
    color: white;
}


/* Trends */

.gw-trend-demo {
    margin-top: 24px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: var(--background);

    overflow: hidden;
}

.gw-trend-demo > div {
    display: flex;
    flex-direction: column;

    padding: 12px;

    border-bottom: 1px solid var(--border);
}

.gw-trend-demo > div:last-child {
    border-bottom: 0;
}

.gw-trend-demo span {
    color: var(--text-secondary);

    font-size: 9px;
}

.gw-trend-demo strong {
    margin-top: 3px;

    font-size: 12px;
}

.gw-trend-demo small {
    margin-top: 3px;

    color: var(--text-secondary);

    font-size: 9px;
}


/* Dashle */

.gw-dashle-demo {
    display: flex;
    flex-direction: column;
    gap: 5px;

    margin-top: 24px;
}

.gw-dashle-demo > div {
    display: flex;
    gap: 5px;
}

.gw-dashle-demo span {
        width: 24px;
    height: 24px;
    display: flex;
    border-radius: 3px;
    background: var(--small-button);
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
}

.gw-dashle-demo span.green {
    background: #538d4e;
}

.gw-dashle-demo span.yellow {
    background: #b59f3b;
}


/* Why section */

.gw-why {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);
    gap: 80px;

    padding: 30px 0 120px;
}

.gw-why-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gw-why-list > div {
    display: flex;
    gap: 13px;

    padding: 18px;

    border: 1px solid var(--border);
    border-radius: 16px;

    background: var(--background-lighter);
}

.gw-why-list > div > i {
    display: grid;
    place-items: center;

    width: 28px;
    height: 28px;
    flex: 0 0 28px;

    border-radius: 50%;

    background: var(--nav-active);
    color: var(--link);
}

.gw-why-list span {
    display: flex;
    flex-direction: column;

    color: var(--text-secondary);

    font-size: 13px;
    line-height: 1.5;
}

.gw-why-list strong {
    margin-bottom: 4px;

    color: var(--text-primary);

    font-size: 14px;
}


/* Final CTA */

.gw-final-cta {
    position: relative;

    display: flex;
    align-items: center;
    flex-direction: column;

    width: min(1000px, calc(100% - 40px));

    margin: 0 auto 100px;
    padding: 80px 30px;

    border: 1px solid var(--border);
    border-radius: 28px;

    background: var(--background-lighter);

    text-align: center;

    overflow: hidden;
}

.gw-final-cta-glow {
    position: absolute;
    top: -270px;
    left: 50%;

    width: 600px;
    height: 600px;

    border-radius: 50%;

    background:
        color-mix(
            in srgb,
            var(--button) 20%,
            transparent
        );

    transform: translateX(-50%);
    filter: blur(90px);
}

.gw-final-cta > img {
    position: relative;

    width: 66px;
    height: 66px;
}

.gw-final-cta h2 {
    position: relative;

    max-width: 680px;

    margin: 18px 0 0;

    font-size: clamp(34px, 4vw, 50px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
}

.gw-final-cta p {
    position: relative;

    margin: 14px 0 25px;

    color: var(--text-secondary);

    font-size: 16px;
}

.gw-final-buttons {
    position: relative;

    display: flex;
    gap: 10px;
}


/* Footer */

.gw-landing-footer {
    display: grid;
    grid-template-columns:
        1fr auto 1fr;

    align-items: center;

    width: min(1180px, calc(100% - 40px));

    min-height: 90px;
    margin: 0 auto;

    border-top: 1px solid var(--border);

    color: var(--text-secondary);

    font-size: 12px;
}

.gw-footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;

    color: var(--text-primary);
}

.gw-footer-brand img {
    width: 27px;
    height: 27px;
}

.gw-footer-links {
    display: flex;
    gap: 5px;
}

.gw-footer-links a {
    padding: 8px 10px;

    border-radius: 999px;
}

.gw-footer-links a:hover {
    background: var(--hover);
    color: var(--text-primary);
}

.gw-landing-footer > span {
    justify-self: end;
}


/* Responsive */

@media (max-width: 1000px) {

    .gw-hero-inner {
        grid-template-columns: 1fr;

        padding-top: 70px;
    }

    .gw-hero-copy {
        max-width: 760px;

        margin: 0 auto;

        text-align: center;
    }

    .gw-hero-copy > p {
        margin-right: auto;
        margin-left: auto;
    }

    .gw-hero-buttons,
    .gw-hero-subtext {
        justify-content: center;
    }

    .gw-product-showcase {
        width: min(760px, 100%);

        margin: 15px auto 0;
    }

    .gw-product-window {
        transform: none;
    }

    .gw-floating-card-left {
        left: -15px;
    }

    .gw-floating-card-right {
        right: -15px;
    }

    .gw-quick-features {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .gw-quick-features > div:nth-child(2) {
        border-right: 0;
    }

    .gw-quick-features > div:nth-child(-n+2) {
        border-bottom: 1px solid var(--border);
    }

    .gw-feature-card-large {
        grid-template-columns: 1fr;
    }

    .gw-why {
        grid-template-columns: 1fr;

        gap: 35px;
    }
}


@media (max-width: 700px) {

    .gw-landing-header-inner {
        grid-template-columns: 1fr auto;

        width: calc(100% - 24px);
    }

    .gw-landing-nav {
        display: none;
    }

    .gw-landing-header-actions
    .gw-landing-link-button {
        display: none;
    }

    .gw-hero-inner {
        width: calc(100% - 28px);
        min-height: auto;

        padding: 60px 0 75px;
    }

    .gw-hero h1 {
        font-size: clamp(42px, 12vw, 58px);
        letter-spacing: -2px;
    }

    .gw-hero-copy > p {
        font-size: 16px;
    }

    .gw-hero-buttons {
        flex-direction: column;
    }

    .gw-hero-buttons a {
        width: 100%;
    }

    .gw-product-window {
        grid-template-columns: 52px 1fr;

        height: 515px;
    }

    .gw-product-sidebar {
        padding: 8px 6px;
    }

    .gw-product-nav {
        justify-content: center;

        padding: 0;
    }

    .gw-product-nav span,
    .gw-product-post-button,
    .gw-product-account > div {
        display: none;
    }

    .gw-product-nav i {
        width: auto;
    }

    .gw-product-nav.active::before {
        left: -6px;
    }

    .gw-product-account {
        justify-content: center;
    }

    .gw-floating-card {
        display: none;
    }

    .gw-quick-features {
        grid-template-columns: 1fr;

        width: calc(100% - 28px);

        margin-bottom: 75px;
    }

    .gw-quick-features > div {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .gw-quick-features > div:last-child {
        border-bottom: 0;
    }

    .gw-landing-section,
    .gw-why {
        width: calc(100% - 28px);
    }

    .gw-feature-grid {
        grid-template-columns: 1fr;
    }

    .gw-feature-card-large {
        grid-column: auto;
    }

    .gw-final-cta {
        width: calc(100% - 28px);

        margin-bottom: 60px;
        padding: 60px 20px;
    }

    .gw-final-buttons {
        width: 100%;
        flex-direction: column;
    }

    .gw-final-buttons a {
        width: 100%;
    }

    .gw-landing-footer {
        display: flex;
        align-items: center;
        flex-direction: column;
        gap: 14px;

        width: calc(100% - 28px);

        padding: 25px 0;

        text-align: center;
    }
}


.register-modal-body {
    overflow: hidden;
}

.register-progress {
    display: flex;
    justify-content: center;
    gap: 6px;

}

.register-progress span {
    width: 7px;
    height: 7px;

    border-radius: 999px;

    background: var(--text-secondary);

    transition:
        width .2s ease,
        background .2s ease;
}

.register-progress span.active {
    width: 22px;

    background: var(--link);
}

.register-viewport {
    width: 100%;

    overflow: hidden;

    transition:
        height .3s cubic-bezier(.22, 1, .36, 1);
}

.register-track {
    display: flex;

    width: 100%;

    transform: translateX(0);

    transition:
        transform .35s cubic-bezier(.22, 1, .36, 1);

    will-change: transform;
}

.register-step {
    width: 100%;
    min-width: 100%;

    box-sizing: border-box;
}

.register-step h3 {
    margin: 0 0 0px;

    font-size: 18px;
    font-weight: 900;
}

.register-step-description {
    margin: 5px 0 20px;

    color: var(--text-secondary);

    font-size: 16px;
    
}

.register-code-area {
                border: 1px solid var(--text-primary);
    padding: 5px 20px;
    border-radius: 20px;
    width: fit-content;
    font-size: 14px;
    font-weight: 900;
    display: flex;
    letter-spacing: 5px;
    margin: 0;
    height: 35px;
    box-sizing: border-box;
    align-items: center;
}

.register-field {
    display: flex;
    flex-direction: column;
    gap: 7px;

    margin-bottom: 14px;

    color: var(--text-primary);

    font-size: 16px;
    font-weight: 700;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 20px;
}

.register-field input:focus {
    border: 2px solid var(--link) !important;
}

.register-field input {
    width: 100%;
    min-height: 46px;

    padding: 0 14px;

    box-sizing: border-box;

    border: 1px solid var(--border);
    border-radius: 14px;

    outline: none;

    background: var(--background-lighter);
    color: var(--text-primary);

    transition: border 0.1s;

    font: inherit;
}

.register-field input::placeholder {
    color: var(--text-secondary);
    font-weight: 500;
}

.register-field input:focus {
    border-color: var(--link);
}

.register-finish-message {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-top: 18px;
    padding: 13px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: var(--background-lighter);
    color: var(--text-secondary);

    font-size: 13px;
}

.register-finish-message i {
    color: var(--link);
}

.register-modal-footer {
    display: flex;
    justify-content: flex-end;
}

.register-continue {
    min-width: 130px;
    margin-top: 10px;
}

.register-back[hidden] {
    visibility: hidden;
    display: grid;
}

.register-back {
        appearance: none;
    border: 0;
    background: none;
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    padding: 0;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex: 0 0 36px;
    font-size: 18px;
    line-height: 1;
}

/* ==================================================
   APPEARANCE EDITOR
   ================================================== */

.page-shell--large .appearance-page {
    width: 100%;
    max-width: none;
}

.appearance-layout {
    display: grid;

    grid-template-columns:
        minmax(420px, 520px)
        minmax(0, 1fr);

    grid-template-rows:
        54px
        minmax(0, 1fr);

    width: 100%;
    min-height: 100vh;

    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
}

.appearance-column-header {
    display: flex;
    align-items: center;

    min-width: 0;
    height: 54px;

    padding: 0 20px;

    box-sizing: border-box;

    border-bottom: 1px solid var(--border);

    background: var(--background-lighter);
}

.appearance-column-header h2 {
    margin: 0;

    color: var(--text-primary);

    font-size: 18px;
    font-weight: 800;
}

.appearance-column-header-left {
    grid-column: 1;
    grid-row: 1;

    border-right: 1px solid var(--border);
}

.appearance-column-header-right {
    grid-column: 2;
    grid-row: 1;
}

.appearance-editor {
    grid-column: 1;
    grid-row: 2;
}

.appearance-preview-panel {
    grid-column: 2;
    grid-row: 2;
}


/* ==================================================
   LEFT EDITOR
   ================================================== */

.appearance-editor {
    display: flex;
    min-width: 0;
    flex-direction: column;

    border-right: 1px solid var(--border);

    background: var(--background);
}

.appearance-editor-header {
    padding: 28px 26px 22px;

    border-bottom: 1px solid var(--border);
}

.appearance-eyebrow {
    color: var(--link);

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.4px;
}

.appearance-editor-header h1 {
    margin: 6px 0 8px;

    color: var(--text-primary);

    font-size: 26px;
    line-height: 1.1;
}

.appearance-editor-header p {
    max-width: 430px;

    margin: 0;

    color: var(--text-secondary);

    font-size: 14px;
    line-height: 1.5;
}


/* Tabs */

.appearance-tabs {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    border-bottom: 1px solid var(--border);
}

.appearance-tab {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;

    min-width: 0;
    min-height: 74px;

    margin: 0;
    padding: 10px 4px;

    border: 0;
    border-radius: 0;

    background: transparent;
    color: var(--text-secondary);

    font-size: 10px;
}

.appearance-tab i {
    font-size: 16px;
}

.appearance-tab:hover {
    background: var(--hover);
}

.appearance-tab.active {
    color: var(--text-primary);
}

.appearance-tab.active::after {
    content: "";

    position: absolute;
    right: 22%;
    bottom: 0;
    left: 22%;

    height: 2px;

    background: var(--link);
}


/* Editor sections */

.appearance-editor-content {
    min-height: 0;
    flex: 1;

    padding: 24px;

    overflow-y: auto;
}

.appearance-editor-section {
    display: none;
}

.appearance-editor-section.active {
    display: block;
}

.appearance-section-heading {
    margin-bottom: 20px;
}

.appearance-section-heading h2 {
    margin: 0 0 5px;

    font-size: 19px;
}

.appearance-section-heading p {
    margin: 0;

    color: var(--text-secondary);

    font-size: 13px;
    line-height: 1.45;
}


/* Grid cards */

.appearance-option-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.appearance-option-card {
    position: relative;

    display: flex;
    flex-direction: column;
    gap: 10px;

    min-width: 0;
    min-height: 126px;

    margin: 0;
    padding: 12px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: var(--background-lighter);
    color: var(--text-primary);

    text-align: left;

    transition:
        border-color 150ms ease,
        background 150ms ease,
        transform 150ms ease;
}

.appearance-option-card:hover {
    background: var(--hover);

    transform: translateY(-1px);
}

.appearance-option-card.selected {
    border-color: var(--link);
}

.appearance-option-card > span {
    color: var(--text-secondary);

    font-size: 11px;
    font-weight: 700;
}

.appearance-option-card > .fa-circle-check {
    position: absolute;
    top: 8px;
    right: 8px;

    display: none;

    color: var(--link);
}

.appearance-option-card.selected > .fa-circle-check {
    display: block;
}

.appearance-option-preview {
    display: grid;
    place-items: center;

    min-height: 72px;

    border-radius: 10px;

    background: var(--background);
}

.appearance-option-preview strong {
    font-size: 14px;
}


/* Demo name styles */

.appearance-demo-gradient {
    background:
        linear-gradient(
            90deg,
            var(--link),
            var(--button)
        );

    background-clip: text;
    -webkit-background-clip: text;

    color: transparent;
}

.appearance-demo-glow {
    color: var(--link);

    text-shadow:
        0 0 8px
        color-mix(
            in srgb,
            var(--link) 65%,
            transparent
        );
}

.appearance-demo-animated {
    background:
        linear-gradient(
            90deg,
            var(--link),
            var(--text-primary),
            var(--link)
        );

    background-size: 200% 100%;

    background-clip: text;
    -webkit-background-clip: text;

    color: transparent;

    animation:
        appearance-name-shimmer
        2s linear infinite;
}

@keyframes appearance-name-shimmer {
    to {
        background-position: -200% 0;
    }
}


/* Icon backgrounds */

.appearance-icon-background-preview {
    height: 78px;

    border-radius: 10px;

    background:
        radial-gradient(
            circle,
            var(--button),
            var(--background)
        );
}

.appearance-icon-background-preview.blue-grid {
    background:
        linear-gradient(
            90deg,
            transparent 49%,
            var(--border) 50%
        ),
        linear-gradient(
            transparent 49%,
            var(--border) 50%
        ),
        var(--button);

    background-size: 12px 12px;
}

.appearance-icon-background-preview.neon {
    background:
        radial-gradient(
            circle,
            var(--background) 35%,
            var(--link) 38%,
            transparent 55%
        ),
        var(--background);
}

.appearance-icon-background-preview.fire {
    background:
        radial-gradient(
            circle at bottom,
            #ffcf33,
            #ff672b 45%,
            #641616
        );
}


/* Titles */

.appearance-title-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.appearance-title-option {
    display: flex;
    align-items: center;

    width: 100%;
    min-height: 66px;

    margin: 0;
    padding: 12px 14px;

    border: 1px solid var(--border);
    border-radius: 13px;

    background: var(--background-lighter);
    color: var(--text-primary);

    text-align: left;
}

.appearance-title-option:hover {
    background: var(--hover);
}

.appearance-title-option.selected {
    border-color: var(--link);
}

.appearance-title-option > div {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
}

.appearance-title-option strong {
    font-size: 13px;
}

.appearance-title-option span {
    margin-top: 3px;

    color: var(--text-secondary);

    font-size: 11px;
}

.appearance-title-option > i {
    color: var(--link);
}


/* Title plates */

.appearance-titleplate-preview {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 70px;

    border: 1px solid var(--border);
    border-radius: 999px;

    background: var(--background);

    font-size: 12px;
    font-weight: 700;
}

.appearance-titleplate-preview.blue {
    background:
        linear-gradient(
            135deg,
            var(--button),
            var(--link)
        );

    color: white;
}

.appearance-titleplate-preview.gold {
    border-color: #886c19;

    background:
        linear-gradient(
            135deg,
            #5d4711,
            #c79a20
        );

    color: #fff2ad;
}

.appearance-titleplate-preview.dark {
    background:
        linear-gradient(
            135deg,
            var(--popup),
            var(--background)
        );
}


/* Footer */

.appearance-editor-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;

    padding: 14px 20px;

    border-top: 1px solid var(--border);

    background: var(--background);
}



.appearance-reset {
    border: 1px solid var(--border);

    background: transparent;
    color: var(--text-primary);
}

.appearance-save {
    background: var(--button);
    color: white;
}


/* ==================================================
   RIGHT PREVIEW
   ================================================== */

.appearance-preview-panel {
    min-width: 0;

    background:
        color-mix(
            in srgb,
            var(--background-lighter) 65%,
            var(--background)
        );
}

.appearance-preview-sticky {
    position: sticky;
    top: 0;

    padding: 28px;
}

.appearance-preview-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 18px;
}

.appearance-preview-heading span {
    color: var(--link);

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.2px;
}

.appearance-preview-heading h2 {
    margin: 4px 0 0;

    font-size: 19px;
}

.appearance-preview-status {
    display: flex;
    align-items: center;
    gap: 6px;

    padding: 6px 10px;

    border: 1px solid var(--border);
    border-radius: 999px;

    background: var(--background);

    color: var(--text-secondary);

    font-size: 10px;
}

.appearance-preview-status i {
    color: #4fd598;

    font-size: 7px;
}


/* Profile card */

.appearance-profile-preview {
    width: min(100%, 700px);
    margin: 0 auto;

    border: 1px solid var(--border);
    border-radius: 18px;

    background: var(--background-lighter);

    overflow: hidden;

    box-shadow:
        0 25px 70px
        rgb(0 0 0 / 15%);
}

.appearance-profile-banner {
    height: 155px;

    background:
        linear-gradient(
            135deg,
            var(--button),
            var(--popup)
        );
}

.appearance-profile-body {
    padding: 0 20px 20px;
}

.appearance-profile-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.appearance-profile-icon-wrap {
    position: relative;

    width: 104px;
    height: 104px;

    margin-top: -52px;
}

.appearance-profile-icon-background {
    position: absolute;
    inset: 0;

    border: 4px solid var(--background-lighter);
    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            var(--button),
            var(--background)
        );
}

.appearance-profile-icon {
    position: absolute;
    inset: 19px;

    width: 66px;
    height: 66px;

    object-fit: cover;
}

.appearance-preview-edit-button {
    width: auto;
    min-height: 36px;

    margin: 12px 0 0;
    padding: 0 14px;

    border: 1px solid var(--border);

    background: transparent;
    color: var(--text-primary);
}

.appearance-profile-name {
    display: flex;
    align-items: center;
    gap: 6px;

    margin-top: 10px;
}

.appearance-profile-name strong {
    font-size: 19px;
}

.appearance-profile-username {
    margin-top: 2px;

    color: var(--text-secondary);

    font-size: 13px;
}

.appearance-profile-title-wrap {
    margin-top: 18px;
}

.appearance-preview-title {
    width: fit-content;

    padding: 6px 16px;

    border: 1px solid var(--border);
    border-radius: 999px;

    background: var(--background);

    font-size: 12px;
    font-weight: 700;
}

.appearance-profile-bio {
    margin: 16px 0 20px;

    color: var(--text-secondary);

    font-size: 13px;
    line-height: 1.5;
}


/* Preview tabs */

.appearance-preview-submenu {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    margin: 0 -20px;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.appearance-preview-submenu span {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    min-height: 46px;

    color: var(--text-secondary);

    font-size: 10px;
}

.appearance-preview-submenu span.active {
    color: var(--text-primary);
}

.appearance-preview-submenu span.active::after {
    content: "";

    position: absolute;
    right: 28%;
    bottom: 0;
    left: 28%;

    height: 2px;

    background: var(--text-primary);
}


/* Preview post */

.appearance-preview-post {
    display: flex;
    gap: 10px;

    margin: 0 -20px -20px;
    padding: 16px 20px;

    border-bottom: 1px solid var(--border);
}

.appearance-preview-post > img {
    width: 38px;
    height: 38px;

    border-radius: 50%;
}

.appearance-preview-post > div {
    min-width: 0;
    flex: 1;
}

.appearance-preview-post-user {
    display: flex;
    align-items: center;
    gap: 5px;

    font-size: 11px;
}

.appearance-preview-post-user span {
    color: var(--text-secondary);
}

.appearance-preview-post p {
    margin: 7px 0 12px;

    font-size: 12px;
}

.appearance-preview-post-actions {
    display: flex;
    justify-content: space-between;

    max-width: 330px;

    color: var(--text-secondary);
}


/* ==================================================
   RESPONSIVE
   ================================================== */

@media (max-width: 1100px) {

    .appearance-layout {
        grid-template-columns:
            minmax(340px, 430px)
            minmax(0, 1fr);
    }

    .appearance-editor-header {
        padding-right: 20px;
        padding-left: 20px;
    }

    .appearance-editor-content {
        padding: 20px;
    }
}


@media (max-width: 850px) {

    .appearance-layout {
        display: flex;
        flex-direction: column;
    }

    .appearance-editor {
        border-right: 0;
    }

    .appearance-preview-panel {
        border-top: 1px solid var(--border);
    }

    .appearance-preview-sticky {
        position: static;
    }
}


@media (max-width: 700px) {

    .appearance-layout {
        border-right: 0;
        border-left: 0;
    }

    .appearance-editor-header {
        padding: 20px 15px 16px;
    }

    .appearance-tabs {
        overflow-x: auto;
    }

    .appearance-tab {
        min-width: 88px;
    }

    .appearance-editor-content {
        padding: 16px 15px;
    }

    .appearance-option-grid {
        grid-template-columns: 1fr 1fr;
    }

    .appearance-editor-footer {
        position: sticky;
        bottom: var(--mobile-nav-height);
        z-index: 5;

        padding: 10px 15px;
    }

    .appearance-preview-sticky {
        padding: 18px 15px;
    }

    .appearance-profile-banner {
        height: 125px;
    }
}


@media (max-width: 420px) {

    .appearance-option-grid {
        grid-template-columns: 1fr;
    }

    .appearance-profile-icon-wrap {
        width: 90px;
        height: 90px;

        margin-top: -45px;
    }

    .appearance-profile-icon {
        inset: 17px;

        width: 56px;
        height: 56px;
    }
}

.page-content.appearance-page {
    border-right: 0;
}