.tresneria-arena-shell {
    --tg-bg: #f7f9ff;
    --tg-surface: #ffffff;
    --tg-surface-soft: #eef3fb;
    --tg-primary: #002f59;
    --tg-primary-soft: #d4e3ff;
    --tg-primary-mid: #2c609b;
    --tg-gold: #b36b00;
    --tg-gold-soft: #ffddb3;
    --tg-text: #181c20;
    --tg-muted: #5d6572;
    --tg-border: #dce3ef;
    --tg-error: #a81717;
    --tg-success: #0f766e;
    --tg-shadow: 8px 8px 18px rgba(163, 177, 198, 0.46), -8px -8px 18px #ffffff;
    --tg-shadow-sm: 4px 4px 10px rgba(163, 177, 198, 0.34), -4px -4px 10px #ffffff;
    --tg-inset: inset 4px 4px 9px rgba(163, 177, 198, 0.42), inset -4px -4px 9px #ffffff;
    --tg-font-body: var(--tg-framework-font-body, "Geist Mono", ui-monospace, "SFMono-Regular", "Roboto Mono", Menlo, Consolas, monospace);
    --tg-font-display: var(--tg-framework-font-display, "Geist Pixel", "Geist Mono", ui-monospace, "SFMono-Regular", "Roboto Mono", Menlo, Consolas, monospace);
    background: var(--tg-bg);
    box-sizing: border-box;
    color: var(--tg-text);
    display: block;
    font-family: var(--tg-font-body);
    left: auto;
    margin: 0 auto;
    max-width: 1280px !important;
    overflow: visible;
    padding: 0 16px 20px;
    position: relative;
    transform: none;
    width: calc(100vw - 32px) !important;
    animation: tg-motion-soft-entry var(--tg-motion-entry) var(--tg-motion-ease-out) backwards;
}

.wp-block-post-content > .tresneria-arena-shell,
.entry-content > .tresneria-arena-shell {
    margin-left: calc(((100vw - min(1280px, calc(100vw - 32px))) / 2) - var(--wp--style--root--padding-left, 0px)) !important;
    margin-right: 0 !important;
    max-width: min(1280px, calc(100vw - 32px)) !important;
    width: min(1280px, calc(100vw - 32px)) !important;
}

.tresneria-arena-shell *,
.tresneria-arena-shell *::before,
.tresneria-arena-shell *::after {
    box-sizing: border-box;
}

.tresneria-arena-shell [hidden] {
    display: none !important;
}

.tresneria-arena-topbar {
    align-items: center;
    background: color-mix(in srgb, var(--tg-bg) 94%, white);
    border-bottom: 1px solid rgba(0, 47, 89, 0.08);
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin: 0 -16px 24px;
    padding: 16px clamp(16px, 3vw, 36px);
    position: sticky;
    top: 0;
    z-index: 20;
}

.tresneria-arena-brand {
    align-items: center;
    color: var(--tg-primary);
    display: inline-flex;
    font-family: var(--tg-font-display);
    font-size: clamp(1.45rem, 2.8vw, 2rem);
    font-weight: 800;
    gap: 10px;
    letter-spacing: 0;
    line-height: 1.15;
}

.tresneria-arena-brand__mark,
.tresneria-review-card__avatar,
.tresneria-arena-sidebar__avatar {
    align-items: center;
    background: var(--tg-surface-soft);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 999px;
    box-shadow: var(--tg-inset);
    color: var(--tg-primary);
    display: inline-flex;
    flex: 0 0 auto;
    font-weight: 800;
    justify-content: center;
}

.tresneria-arena-brand__mark {
    height: 34px;
    width: 34px;
}

.tresneria-arena-topbar__write,
.tresneria-arena-hub__write,
.tresneria-review-feed__load-more,
.tresneria-review-feed__empty-card button,
.tresneria-review-feed__empty-action,
.tresneria-auth-prompt__primary,
.tresneria-auth-prompt__secondary,
.tresneria-review-detail__comment-form button,
.tresneria-review-detail__load-comments {
    align-items: center;
    background: var(--tg-bg);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 14px;
    box-shadow: var(--tg-shadow-sm);
    color: var(--tg-primary);
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 800;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    text-decoration: none;
    transition:
        box-shadow var(--tg-motion-base) var(--tg-motion-ease),
        color var(--tg-motion-base) var(--tg-motion-ease),
        opacity var(--tg-motion-base) var(--tg-motion-ease),
        transform var(--tg-motion-fast) var(--tg-motion-ease-press);
}

.tresneria-arena-topbar__write:hover,
.tresneria-arena-topbar__write:focus-visible,
.tresneria-arena-hub__write:hover,
.tresneria-arena-hub__write:focus-visible,
.tresneria-review-feed__load-more:hover,
.tresneria-review-feed__load-more:focus-visible,
.tresneria-review-feed__empty-card button:hover,
.tresneria-review-feed__empty-card button:focus-visible,
.tresneria-review-feed__empty-action:hover,
.tresneria-review-feed__empty-action:focus-visible,
.tresneria-auth-prompt__primary:hover,
.tresneria-auth-prompt__primary:focus-visible,
.tresneria-auth-prompt__secondary:hover,
.tresneria-auth-prompt__secondary:focus-visible,
.tresneria-review-detail__comment-form button:hover,
.tresneria-review-detail__comment-form button:focus-visible,
.tresneria-review-detail__load-comments:hover,
.tresneria-review-detail__load-comments:focus-visible {
    transform: translate3d(0, var(--tg-motion-hover-lift), 0);
}

.tresneria-arena-topbar__write:active,
.tresneria-arena-hub__write:active,
.tresneria-review-feed__load-more:active,
.tresneria-review-feed__empty-card button:active,
.tresneria-review-feed__empty-action:active,
.tresneria-auth-prompt__primary:active,
.tresneria-auth-prompt__secondary:active,
.tresneria-review-detail__comment-form button:active,
.tresneria-review-detail__load-comments:active {
    box-shadow: var(--tg-inset);
    transform: translate3d(0, 1px, 0) scale(var(--tg-motion-press-scale));
}

.tresneria-arena-layout {
    align-items: start;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(190px, 240px) minmax(0, 1fr) minmax(220px, 300px);
}

.tresneria-arena-sidebar,
.tresneria-arena-hub {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 96px;
}

.tresneria-arena-sidebar__profile,
.tresneria-arena-hub__card,
.tresneria-review-card,
.tresneria-review-feed__empty-card {
    background: var(--tg-bg);
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 22px;
    box-shadow: var(--tg-shadow);
}

.tresneria-arena-sidebar__profile {
    display: grid;
    gap: 6px;
    justify-items: center;
    padding: 24px 18px;
    text-align: center;
}

.tresneria-arena-sidebar__avatar {
    font-size: 1.2rem;
    height: 68px;
    margin-bottom: 6px;
    width: 68px;
}

.tresneria-arena-sidebar__profile strong {
    color: var(--tg-text);
    font-size: 1.04rem;
}

.tresneria-arena-sidebar__profile span:last-child {
    color: var(--tg-primary);
    font-size: 0.82rem;
    font-weight: 700;
}

.tresneria-arena-nav {
    border-top: 1px solid rgba(0, 47, 89, 0.08);
    display: grid;
    gap: 10px;
    padding-top: 18px;
}

.tresneria-arena-nav__item {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 14px;
    color: var(--tg-muted);
    cursor: pointer;
    display: flex;
    font: inherit;
    gap: 8px;
    justify-content: space-between;
    min-height: 44px;
    padding: 0 14px;
    text-align: left;
}

.tresneria-arena-nav__item.is-active {
    box-shadow: var(--tg-inset);
    color: var(--tg-primary);
    font-weight: 800;
}

.tresneria-arena-nav__item[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: 0.58;
}

.tresneria-arena-nav__item small {
    color: var(--tg-muted);
    font-size: 0.7rem;
    font-weight: 700;
}

.tresneria-review-feed__main {
    display: grid;
    gap: 20px;
    min-width: 0;
}

.tresneria-review-feed__toolbar {
    align-items: end;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.tresneria-review-feed__eyebrow {
    color: var(--tg-primary-mid);
    font-family: var(--tg-font-display);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0 0 4px;
    text-transform: uppercase;
}

.tresneria-review-feed__toolbar h2,
.tresneria-review-detail__header h2,
.tresneria-auth-prompt h2,
.tresneria-review-feed__empty-card h3 {
    color: var(--tg-primary);
    font-family: var(--tg-font-display);
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    line-height: 1.15;
    margin: 0;
}

.tresneria-review-feed__toolbar-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.tresneria-stamina-summary {
    align-items: center;
    background: var(--tg-bg);
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 999px;
    box-shadow: var(--tg-inset);
    color: var(--tg-primary);
    display: inline-flex;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 800;
    min-height: 40px;
    padding: 0 14px;
}

.tresneria-review-feed__filter {
    color: var(--tg-muted);
    display: grid;
    font-size: 0.72rem;
    font-weight: 900;
    gap: 4px;
    line-height: 1;
    min-width: min(260px, 100%);
    position: relative;
    text-transform: uppercase;
}

.tresneria-review-feed__filter select {
    appearance: none;
    background: var(--tg-bg);
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 999px;
    box-shadow: var(--tg-inset);
    color: var(--tg-primary);
    cursor: pointer;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 900;
    line-height: 1.1;
    min-height: 40px;
    padding: 0 38px 0 14px;
    transition:
        box-shadow var(--tg-motion-base) var(--tg-motion-ease),
        opacity var(--tg-motion-base) var(--tg-motion-ease),
        transform var(--tg-motion-fast) var(--tg-motion-ease-press);
    width: 100%;
}

.tresneria-review-feed__filter select:hover,
.tresneria-review-feed__filter select:focus-visible {
    transform: translate3d(0, var(--tg-motion-hover-lift), 0);
}

.tresneria-review-feed__filter::after {
    border: solid var(--tg-primary);
    border-width: 0 2px 2px 0;
    content: "";
    height: 7px;
    pointer-events: none;
    position: absolute;
    right: 16px;
    top: 31px;
    transform: rotate(45deg);
    width: 7px;
}

.tresneria-review-feed__filter select:disabled {
    cursor: progress;
    opacity: 0.72;
}

.tresneria-stamina-summary {
    color: var(--tg-muted);
    gap: 10px;
}

.tresneria-stamina-summary span {
    align-items: center;
    display: inline-flex;
    gap: 4px;
    white-space: nowrap;
}

.tresneria-stamina-summary span + span::before {
    background: var(--tg-border);
    border-radius: 999px;
    content: "";
    height: 4px;
    margin-right: 4px;
    width: 4px;
}

.tresneria-stamina-summary strong {
    color: var(--tg-primary);
}

.tresneria-stamina-summary--stacked {
    align-items: stretch;
    border-radius: 14px;
    display: grid;
    gap: 8px;
    padding: 12px;
}

.tresneria-stamina-summary--stacked span {
    justify-content: space-between;
}

.tresneria-stamina-summary--stacked span + span::before {
    display: none;
}

.tresneria-review-feed__outage {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 14px;
    color: #8a4b0a;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 12px 14px;
}

.tresneria-review-feed__items {
    display: grid;
    gap: 22px;
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition:
        opacity var(--tg-motion-base) var(--tg-motion-ease),
        transform var(--tg-motion-base) var(--tg-motion-ease);
}

.tresneria-arena-shell.is-filtering .tresneria-review-feed__items {
    opacity: 0.56;
    transform: translate3d(0, 5px, 0);
}

.tresneria-review-card {
    display: grid;
    gap: 16px;
    padding: clamp(16px, 2vw, 24px);
    transform: translate3d(0, 0, 0);
    transition:
        box-shadow var(--tg-motion-base) var(--tg-motion-ease),
        opacity var(--tg-motion-base) var(--tg-motion-ease),
        transform var(--tg-motion-base) var(--tg-motion-ease-out);
}

.tresneria-review-feed__items > .tresneria-review-card.is-new {
    animation: tg-motion-soft-entry var(--tg-motion-entry) var(--tg-motion-ease-out) both;
}

@media (hover: hover) and (pointer: fine) {
    .tresneria-review-feed__items > .tresneria-review-card:hover {
        box-shadow: 10px 12px 24px rgba(163, 177, 198, 0.42), -8px -8px 18px #ffffff;
        transform: translate3d(0, var(--tg-motion-hover-lift), 0);
    }
}

.tresneria-review-card__header,
.tresneria-review-card__footer,
.tresneria-review-detail__header,
.tresneria-review-detail__comments-header {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.tresneria-review-card__author {
    align-items: center;
    display: flex;
    gap: 12px;
    min-width: 0;
}

.tresneria-review-card__avatar {
    height: 42px;
    overflow: hidden;
    width: 42px;
}

.tresneria-review-card__avatar img {
    border-radius: inherit;
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.tresneria-arena-sidebar__avatar {
    overflow: hidden;
}

.tresneria-arena-sidebar__avatar img {
    border-radius: inherit;
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.tresneria-review-card__author strong {
    color: var(--tg-text);
    display: block;
    font-family: var(--tg-font-display);
    line-height: 1.2;
}

.tresneria-review-card__author span:not(.tresneria-review-card__avatar) {
    color: var(--tg-muted);
    display: block;
    font-size: 0.82rem;
}

.tresneria-arena-shell[data-visual-author-masking-enabled="1"] .tresneria-review-card__author:not([data-author-identity-visibility="revealed"]) .tresneria-review-card__avatar[data-author-mask-initials],
.tresneria-arena-shell[data-visual-author-masking-enabled="1"] .tresneria-review-card__author:not([data-author-identity-visibility="revealed"]) strong[data-author-mask-name] {
    font-size: 0;
}

.tresneria-arena-shell[data-visual-author-masking-enabled="1"] .tresneria-review-card__author:not([data-author-identity-visibility="revealed"]) .tresneria-review-card__avatar[data-author-mask-initials] img {
    display: none;
}

.tresneria-arena-shell[data-visual-author-masking-enabled="1"] .tresneria-review-card__author:not([data-author-identity-visibility="revealed"]) .tresneria-review-card__avatar[data-author-mask-initials]::after {
    content: attr(data-author-mask-initials);
    font-size: 0.86rem;
    letter-spacing: 0;
    line-height: 1;
}

.tresneria-arena-shell[data-visual-author-masking-enabled="1"] .tresneria-review-card__author:not([data-author-identity-visibility="revealed"]) strong[data-author-mask-name]::after {
    content: attr(data-author-mask-name);
    display: block;
    font-size: 0.96rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
}

.tresneria-review-card__rating {
    color: #e2a100;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 1.05rem;
    gap: 1px;
    line-height: 1;
}

.tresneria-review-card__product {
    align-items: center;
    background: var(--tg-surface);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: var(--tg-inset);
    color: inherit;
    display: grid;
    gap: 12px;
    grid-template-columns: 56px minmax(0, 1fr);
    padding: 8px;
    text-decoration: none;
    transition:
        box-shadow var(--tg-motion-base) var(--tg-motion-ease),
        transform var(--tg-motion-fast) var(--tg-motion-ease-press);
}

.tresneria-review-card__product:hover strong {
    text-decoration: underline;
}

.tresneria-review-card__product:hover,
.tresneria-review-card__product:focus-visible {
    transform: translate3d(0, -1px, 0);
}

.tresneria-review-card__product-image {
    aspect-ratio: 1 / 1;
    background: var(--tg-surface-soft);
    border: 1px solid var(--tg-border);
    border-radius: 8px;
    display: block;
    height: 56px;
    object-fit: cover;
    width: 56px;
}

.tresneria-review-card__product-image--empty {
    min-height: 56px;
}

.tresneria-review-card__product small {
    color: var(--tg-muted);
    display: block;
    font-family: var(--tg-font-display);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.2;
}

.tresneria-review-card__product strong {
    color: var(--tg-primary);
    display: block;
    font-family: var(--tg-font-display);
    line-height: 1.28;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tresneria-review-card__open {
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    display: block;
    font: inherit;
    padding: 0;
    text-align: left;
}

.tresneria-review-card__content {
    color: var(--tg-text);
    line-height: 1.58;
}

.tresneria-review-card__content > :first-child,
.tresneria-review-comment__content > :first-child {
    margin-top: 0;
}

.tresneria-review-card__content > :last-child,
.tresneria-review-comment__content > :last-child {
    margin-bottom: 0;
}

.tresneria-review-card__media {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tresneria-review-card__media--video {
    grid-template-columns: 1fr;
}

.tresneria-review-card__media-item {
    background: var(--tg-surface-soft);
    border: 0;
    border-radius: 12px;
    box-shadow: var(--tg-shadow-sm);
    cursor: pointer;
    min-height: 150px;
    overflow: hidden;
    padding: 0;
    position: relative;
    transform: translate3d(0, 0, 0);
    transition:
        box-shadow var(--tg-motion-base) var(--tg-motion-ease),
        transform var(--tg-motion-base) var(--tg-motion-ease-out);
}

.tresneria-review-card__media-item:hover,
.tresneria-review-card__media-item:focus-visible {
    transform: scale(1.01);
}

.tresneria-review-card__media-item img {
    display: block;
    height: 100%;
    min-height: 150px;
    object-fit: cover;
    width: 100%;
}

.tresneria-review-card__media-item--video span {
    align-items: center;
    background: rgba(255, 255, 255, 0.86);
    border-radius: 999px;
    color: var(--tg-primary);
    display: inline-flex;
    font-size: 1.4rem;
    height: 54px;
    justify-content: center;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 54px;
}

.tresneria-review-card__media-item--video strong {
    background: rgba(0, 47, 89, 0.78);
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.78rem;
    left: 10px;
    padding: 5px 8px;
    position: absolute;
    top: 10px;
}

.tresneria-review-card__footer {
    border-top: 1px solid rgba(0, 47, 89, 0.08);
    padding-top: 12px;
}

.tresneria-review-card__actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    transition: opacity var(--tg-motion-base) var(--tg-motion-ease);
}

.tresneria-review-card.is-busy .tresneria-review-card__actions {
    opacity: 0.72;
}

.tresneria-review-card__action,
.tresneria-review-detail__close,
.tresneria-auth-prompt__close {
    align-items: center;
    background: var(--tg-bg);
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 999px;
    box-shadow: var(--tg-shadow-sm);
    color: var(--tg-muted);
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 800;
    gap: 6px;
    min-height: 38px;
    padding: 0 12px;
    transition:
        box-shadow var(--tg-motion-base) var(--tg-motion-ease),
        color var(--tg-motion-base) var(--tg-motion-ease),
        opacity var(--tg-motion-base) var(--tg-motion-ease),
        transform var(--tg-motion-fast) var(--tg-motion-ease-press);
}

.tresneria-review-card__action:hover,
.tresneria-review-card__action:focus-visible,
.tresneria-review-detail__close:hover,
.tresneria-review-detail__close:focus-visible,
.tresneria-auth-prompt__close:hover,
.tresneria-auth-prompt__close:focus-visible {
    transform: translate3d(0, var(--tg-motion-hover-lift), 0);
}

.tresneria-review-card__action.is-active {
    box-shadow: var(--tg-inset);
    color: var(--tg-primary);
}

.tresneria-review-card__action:active,
.tresneria-review-detail__close:active,
.tresneria-auth-prompt__close:active,
.tresneria-review-card__action.is-feedback {
    transform: translate3d(0, 1px, 0) scale(var(--tg-motion-press-scale));
}

.tresneria-review-card__action.is-feedback {
    animation: tg-motion-pop var(--tg-motion-panel) var(--tg-motion-ease-out) both;
}

.tresneria-review-card__action .is-feedback {
    animation: tg-motion-pop var(--tg-motion-panel) var(--tg-motion-ease-out) both;
    display: inline-block;
}

.tresneria-review-card__action:disabled {
    cursor: not-allowed;
    opacity: 0.52;
}

.tresneria-review-card__action-icon {
    font-size: 1rem;
    line-height: 1;
}

.tresneria-review-card__status,
.tresneria-review-detail__status,
.tresneria-review-feed__status {
    color: var(--tg-muted);
    font-size: 0.88rem;
    min-height: 1.3em;
    transition:
        color var(--tg-motion-base) var(--tg-motion-ease),
        opacity var(--tg-motion-base) var(--tg-motion-ease),
        transform var(--tg-motion-base) var(--tg-motion-ease);
}

.tresneria-review-card__status.is-error,
.tresneria-review-detail__status.is-error,
.tresneria-review-feed__status.is-error {
    color: var(--tg-error);
}

.tresneria-review-card__status.is-success,
.tresneria-review-detail__status.is-success,
.tresneria-review-feed__status.is-success {
    color: var(--tg-success);
}

.tresneria-review-card__status.is-error:not(:empty),
.tresneria-review-card__status.is-success:not(:empty),
.tresneria-review-detail__status.is-error:not(:empty),
.tresneria-review-detail__status.is-success:not(:empty),
.tresneria-review-feed__status.is-error:not(:empty),
.tresneria-review-feed__status.is-success:not(:empty) {
    animation: tg-motion-soft-entry var(--tg-motion-panel) var(--tg-motion-ease-out) both;
}

.tresneria-arena-toast-layer {
    --tg-toast-primary: var(--tg-primary, #002f59);
    --tg-toast-gold: var(--tg-gold, #b36b00);
    --tg-toast-success: var(--tg-success, #0f766e);
    --tg-toast-rose: var(--tg-error, #a81717);
    --tg-toast-muted: var(--tg-muted, #5d6572);
    --tg-toast-font-body: var(--tg-framework-font-body, "Geist Mono", ui-monospace, "SFMono-Regular", "Roboto Mono", Menlo, Consolas, monospace);
    --tg-toast-font-display: var(--tg-framework-font-display, "Geist Pixel", "Geist Mono", ui-monospace, "SFMono-Regular", "Roboto Mono", Menlo, Consolas, monospace);
    bottom: max(96px, calc(env(safe-area-inset-bottom) + 96px));
    display: grid;
    gap: 10px;
    justify-items: center;
    left: 50%;
    pointer-events: none;
    position: fixed;
    transform: translateX(-50%);
    width: min(420px, calc(100vw - 32px));
    z-index: 10020;
}

.tresneria-arena-toast {
    animation: tresneria-arena-toast-flight 3800ms var(--tg-motion-ease-out, cubic-bezier(0.16, 1, 0.3, 1)) forwards;
    background: linear-gradient(135deg, #eaf3ff 0%, #f4fff8 52%, #fff7e8 100%);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 22px;
    box-shadow: var(--tg-shadow, 8px 8px 18px rgba(163, 177, 198, 0.46), -8px -8px 18px #ffffff);
    color: var(--tg-toast-primary);
    display: grid;
    font-family: var(--tg-toast-font-body);
    gap: 14px;
    max-width: 100%;
    min-width: 0;
    padding: 16px;
    text-align: center;
    transform-origin: center bottom;
    width: 100%;
    will-change: opacity, transform;
}

.tresneria-arena-toast__heading {
    display: grid;
    gap: 4px;
    margin: 0;
}

.tresneria-arena-toast__heading p {
    color: var(--tg-toast-gold);
    font-family: var(--tg-toast-font-display);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.3;
    margin: 0;
}

.tresneria-arena-toast__heading h2 {
    color: var(--tg-toast-primary);
    font-family: var(--tg-toast-font-display);
    font-size: clamp(1.1rem, 4vw, 1.38rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.18;
    margin: 0;
    overflow-wrap: anywhere;
}

.tresneria-arena-toast__status {
    align-items: center;
    color: var(--tg-toast-muted);
    display: inline-flex;
    flex-wrap: wrap;
    font-size: 0.9rem;
    gap: 10px;
    justify-content: center;
    line-height: 1.45;
    margin: 0;
    overflow-wrap: anywhere;
}

.tresneria-arena-toast__status strong {
    background: #ffe9ee;
    border-radius: 999px;
    color: var(--tg-toast-rose);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.2;
    padding: 4px 10px;
    text-transform: uppercase;
}

.tresneria-arena-toast--reward {
    box-shadow:
        var(--tg-shadow, 8px 8px 18px rgba(163, 177, 198, 0.46), -8px -8px 18px #ffffff),
        0 0 0 3px rgba(255, 255, 255, 0.42);
}

.tresneria-arena-toast--reward .tresneria-arena-toast__status span {
    color: var(--tg-toast-success);
    font-weight: 800;
}

.tresneria-arena-toast--muted .tresneria-arena-toast__status strong {
    background: var(--tg-primary-soft);
    color: var(--tg-toast-primary);
}

.tresneria-arena-toast--muted .tresneria-arena-toast__status span {
    color: var(--tg-toast-muted);
}

.tresneria-review-feed__footer {
    display: flex;
    justify-content: center;
}

.tresneria-review-feed__load-more {
    min-width: min(100%, 320px);
}

.tresneria-review-feed__load-more:disabled {
    cursor: wait;
    opacity: 0.65;
}

.tresneria-review-feed__empty {
    display: block;
}

.tresneria-review-feed__empty[hidden],
.tresneria-review-detail[hidden],
.tresneria-auth-prompt[hidden] {
    display: none;
}

.tresneria-review-feed__empty-card {
    display: grid;
    gap: 14px;
    justify-items: center;
    margin: 0 auto;
    max-width: 480px;
    padding: 42px 24px;
    text-align: center;
}

.tresneria-review-feed__empty-card p,
.tresneria-auth-prompt p,
.tresneria-arena-hub__card p {
    color: var(--tg-muted);
    line-height: 1.55;
    margin: 0;
}

.tresneria-review-feed__empty-mark {
    align-items: center;
    background: var(--tg-bg);
    border-radius: 22px;
    box-shadow: var(--tg-shadow);
    color: #d08a00;
    display: inline-flex;
    font-size: 2rem;
    height: 92px;
    justify-content: center;
    width: 92px;
}

.tresneria-arena-hub__card {
    display: grid;
    gap: 12px;
    padding: 22px;
}

.tresneria-arena-hub__card h3 {
    color: var(--tg-primary);
    font-family: var(--tg-font-display);
    font-size: 1.2rem;
    margin: 0;
}

.tresneria-arena-hub__write {
    background: var(--tg-primary);
    color: #ffffff;
    min-height: 56px;
}

.tresneria-arena-hub__card--muted {
    opacity: 0.7;
    text-align: center;
}

.tresneria-review-detail,
.tresneria-auth-prompt,
.tresneria-media-viewer {
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 9999;
}

.tresneria-review-detail__backdrop,
.tresneria-auth-prompt__backdrop,
.tresneria-media-viewer__backdrop {
    background: rgba(13, 27, 42, 0.38);
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.tresneria-review-detail:not([hidden]) .tresneria-review-detail__backdrop,
.tresneria-auth-prompt:not([hidden]) .tresneria-auth-prompt__backdrop,
.tresneria-media-viewer:not([hidden]) .tresneria-media-viewer__backdrop {
    animation: tg-motion-fade-in var(--tg-motion-panel) var(--tg-motion-ease) both;
}

.tresneria-review-detail.is-closing .tresneria-review-detail__backdrop,
.tresneria-auth-prompt.is-closing .tresneria-auth-prompt__backdrop,
.tresneria-media-viewer.is-closing .tresneria-media-viewer__backdrop {
    animation: tg-motion-fade-out var(--tg-motion-base) var(--tg-motion-ease) both;
}

.tresneria-media-viewer {
    z-index: 10000;
}

.tresneria-media-viewer__backdrop {
    background: rgba(24, 28, 32, 0.86);
}

.tresneria-media-viewer__panel {
    background: var(--tg-bg);
    color: var(--tg-text);
    display: grid;
    grid-template-rows: auto minmax(240px, 1fr) auto;
    height: 100%;
    min-height: 100dvh;
    outline: 0;
    overflow: hidden;
    position: relative;
    width: 100%;
    z-index: 1;
}

.tresneria-media-viewer:not([hidden]) .tresneria-media-viewer__panel {
    animation: tresneria-media-viewer-in var(--tg-motion-panel) var(--tg-motion-ease-out) both;
}

.tresneria-media-viewer.is-closing .tresneria-media-viewer__panel {
    animation: tresneria-media-viewer-out var(--tg-motion-base) var(--tg-motion-ease) both;
}

.tresneria-media-viewer__header {
    align-items: center;
    background: var(--tg-bg);
    box-shadow: var(--tg-shadow-sm);
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr auto 1fr;
    min-height: 68px;
    padding: 12px 20px;
    z-index: 2;
}

.tresneria-media-viewer__brand {
    color: var(--tg-primary);
    font-family: var(--tg-font-display);
    font-size: 1.2rem;
    font-weight: 900;
}

.tresneria-media-viewer__count {
    color: var(--tg-primary);
    font-family: var(--tg-font-display);
    font-size: 1.2rem;
    font-weight: 900;
}

.tresneria-media-viewer__close,
.tresneria-media-viewer__arrow,
.tresneria-media-viewer__view-review,
.tresneria-media-viewer__error button {
    align-items: center;
    background: var(--tg-bg);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 999px;
    box-shadow: var(--tg-shadow-sm);
    color: var(--tg-primary);
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 900;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    transition:
        box-shadow var(--tg-motion-base) var(--tg-motion-ease),
        opacity var(--tg-motion-base) var(--tg-motion-ease),
        transform var(--tg-motion-fast) var(--tg-motion-ease-press);
}

.tresneria-media-viewer__close {
    justify-self: end;
    overflow: hidden;
    padding: 0;
    text-indent: -999px;
    width: 44px;
}

.tresneria-media-viewer__close::before {
    content: "×";
    font-size: 2rem;
    line-height: 1;
    text-indent: 0;
}

.tresneria-media-viewer__body {
    align-items: center;
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 18px 20px;
    position: relative;
}

.tresneria-media-viewer__stage {
    align-items: center;
    background: var(--tg-surface-soft);
    border-radius: 28px;
    box-shadow: var(--tg-inset);
    display: flex;
    height: 100%;
    justify-content: center;
    min-height: 240px;
    overflow: hidden;
    position: relative;
}

.tresneria-media-viewer__frame {
    align-items: center;
    animation: tg-motion-fade-in var(--tg-motion-base) var(--tg-motion-ease) both;
    display: flex;
    height: 100%;
    justify-content: center;
    width: 100%;
}

.tresneria-media-viewer__frame img,
.tresneria-media-viewer__frame video {
    display: block;
    height: 100%;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    width: 100%;
}

.tresneria-media-viewer__frame video {
    background: #000000;
}

.tresneria-media-viewer__arrow {
    height: 54px;
    padding: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    z-index: 5;
}

.tresneria-media-viewer__arrow:hover,
.tresneria-media-viewer__arrow:focus-visible {
    transform: translateY(-50%) scale(1.035);
}

.tresneria-media-viewer__arrow:active {
    transform: translateY(-50%) scale(var(--tg-motion-press-scale));
}

.tresneria-media-viewer__arrow--prev {
    left: 10px;
}

.tresneria-media-viewer__arrow--next {
    right: 10px;
}

.tresneria-media-viewer__arrow--prev::before,
.tresneria-media-viewer__arrow--next::before {
    font-size: 1.8rem;
    line-height: 1;
}

.tresneria-media-viewer__arrow--prev::before {
    content: "‹";
}

.tresneria-media-viewer__arrow--next::before {
    content: "›";
}

.tresneria-media-viewer__arrow {
    overflow: hidden;
    text-indent: -999px;
}

.tresneria-media-viewer__arrow::before {
    text-indent: 0;
}

.tresneria-media-viewer__thumbs {
    display: flex;
    gap: 10px;
    justify-content: center;
    overflow-x: auto;
    padding: 0 20px 14px;
}

.tresneria-media-viewer__thumb {
    background: var(--tg-surface);
    border: 2px solid transparent;
    border-radius: 12px;
    box-shadow: var(--tg-shadow-sm);
    cursor: pointer;
    flex: 0 0 68px;
    height: 68px;
    overflow: hidden;
    padding: 0;
    position: relative;
    transform: translate3d(0, 0, 0);
    transition:
        border-color var(--tg-motion-base) var(--tg-motion-ease),
        box-shadow var(--tg-motion-base) var(--tg-motion-ease),
        transform var(--tg-motion-fast) var(--tg-motion-ease-press);
}

.tresneria-media-viewer__thumb.is-active {
    border-color: var(--tg-primary);
}

.tresneria-media-viewer__thumb:hover,
.tresneria-media-viewer__thumb:focus-visible {
    transform: translate3d(0, var(--tg-motion-hover-lift), 0);
}

.tresneria-media-viewer__thumb img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.tresneria-media-viewer__thumb span {
    align-items: center;
    background: rgba(255, 255, 255, 0.82);
    border-radius: 999px;
    color: var(--tg-primary);
    display: inline-flex;
    height: 30px;
    justify-content: center;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
}

.tresneria-media-viewer__summary {
    background: var(--tg-bg);
    border-radius: 28px 28px 0 0;
    box-shadow: -9px -9px 16px #ffffff, 9px 9px 16px rgba(163, 177, 198, 0.6);
    display: grid;
    gap: 14px;
    max-height: 42vh;
    overflow: auto;
    padding: 18px 20px max(18px, env(safe-area-inset-bottom));
    z-index: 3;
}

.tresneria-media-viewer__review-card {
    display: grid;
    gap: 12px;
}

.tresneria-media-viewer__review-card .tresneria-review-card__content {
    color: var(--tg-muted);
    font-size: 1rem;
    font-style: italic;
}

.tresneria-media-viewer__review-card .tresneria-review-card__product {
    background: var(--tg-bg);
    box-shadow: var(--tg-inset);
}

.tresneria-media-viewer__review-card .tresneria-review-card__footer {
    border-top: 0;
    padding-top: 0;
}

.tresneria-media-viewer__view-review {
    border-radius: 16px;
    min-height: 58px;
    width: 100%;
}

.tresneria-media-viewer__close:hover,
.tresneria-media-viewer__close:focus-visible,
.tresneria-media-viewer__view-review:hover,
.tresneria-media-viewer__view-review:focus-visible,
.tresneria-media-viewer__error button:hover,
.tresneria-media-viewer__error button:focus-visible {
    transform: translate3d(0, var(--tg-motion-hover-lift), 0);
}

.tresneria-media-viewer__close:active,
.tresneria-media-viewer__view-review:active,
.tresneria-media-viewer__error button:active {
    transform: translate3d(0, 1px, 0) scale(var(--tg-motion-press-scale));
}

.tresneria-media-viewer__error {
    background: var(--tg-surface);
    border-radius: 24px;
    box-shadow: var(--tg-shadow);
    display: grid;
    gap: 14px;
    justify-items: center;
    max-width: 440px;
    padding: 32px 24px;
    text-align: center;
}

.tresneria-media-viewer__error h3,
.tresneria-media-viewer__error p {
    margin: 0;
}

.tresneria-media-viewer__error h3 {
    color: var(--tg-text);
    font-family: var(--tg-font-display);
    font-size: 1.35rem;
}

.tresneria-media-viewer__error p {
    color: var(--tg-muted);
    line-height: 1.55;
}

.tresneria-media-viewer__error button {
    border-radius: 16px;
    width: min(260px, 100%);
}

@keyframes tresneria-review-detail-panel-in {
    from {
        opacity: 0;
        transform: translate3d(18px, 0, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes tresneria-review-detail-panel-out {
    from {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }

    to {
        opacity: 0;
        transform: translate3d(18px, 0, 0);
    }
}

@keyframes tresneria-review-detail-sheet-in {
    from {
        opacity: 0;
        transform: translate3d(0, calc(100% + 18px), 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes tresneria-review-detail-sheet-out {
    from {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }

    to {
        opacity: 0;
        transform: translate3d(0, calc(100% + 18px), 0);
    }
}

@keyframes tresneria-auth-prompt-in {
    from {
        opacity: 0;
        transform: translate(-50%, calc(-50% + 12px)) scale(0.985);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes tresneria-auth-prompt-out {
    from {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    to {
        opacity: 0;
        transform: translate(-50%, calc(-50% + 12px)) scale(0.985);
    }
}

@keyframes tresneria-auth-prompt-mobile-in {
    from {
        opacity: 0;
        transform: translate3d(0, 18px, 0) scale(0.985);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes tresneria-auth-prompt-mobile-out {
    from {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }

    to {
        opacity: 0;
        transform: translate3d(0, 18px, 0) scale(0.985);
    }
}

@keyframes tresneria-media-viewer-in {
    from {
        opacity: 0;
        transform: scale(0.992);
    }

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

@keyframes tresneria-media-viewer-out {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(0.992);
    }
}

@keyframes tresneria-arena-toast-flight {
    0% {
        opacity: 0;
        transform: translate3d(0, 18px, 0) scale(0.94);
    }

    10% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1.018);
    }

    20% {
        opacity: 1;
        transform: translate3d(0, -4px, 0) scale(1);
    }

    82% {
        opacity: 1;
        transform: translate3d(0, -24px, 0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate3d(18px, -78px, 0) scale(0.985);
    }
}

@media (min-width: 783px) {
    .tresneria-media-viewer__panel {
        background: rgba(24, 28, 32, 0.92);
        grid-template-rows: auto 1fr auto;
    }

    .tresneria-media-viewer__header {
        background: transparent;
        box-shadow: none;
        min-height: 88px;
        padding: 26px 40px 12px;
    }

    .tresneria-media-viewer__brand,
    .tresneria-media-viewer__count,
    .tresneria-media-viewer__close {
        background: rgba(255, 255, 255, 0.95);
        border-radius: 999px;
        box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
        color: var(--tg-primary);
    }

    .tresneria-media-viewer__brand {
        padding: 12px 22px;
        width: max-content;
    }

    .tresneria-media-viewer__count {
        justify-self: end;
        padding: 12px 22px;
    }

    .tresneria-media-viewer__close {
        width: 54px;
    }

    .tresneria-media-viewer__body {
        padding: 12px 120px 88px;
    }

    .tresneria-media-viewer__stage {
        background: var(--tg-surface-container, #eceef4);
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
        margin: 0 auto;
        max-height: min(72vh, 720px);
        max-width: min(74vw, 1060px);
        min-height: 460px;
        width: 100%;
    }

    .tresneria-media-viewer__arrow {
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 0 34px rgba(255, 255, 255, 0.34);
    }

    .tresneria-media-viewer__arrow--prev {
        left: 40px;
    }

    .tresneria-media-viewer__arrow--next {
        right: 40px;
    }

    .tresneria-media-viewer__thumbs {
        bottom: 34px;
        left: 50%;
        max-width: min(560px, 42vw);
        padding: 0;
        position: absolute;
        transform: translateX(-50%);
        z-index: 4;
    }

    .tresneria-media-viewer__thumb {
        flex-basis: 76px;
        height: 76px;
    }

    .tresneria-media-viewer__summary {
        border-radius: 24px;
        bottom: 28px;
        box-shadow: 0 22px 54px rgba(0, 0, 0, 0.32);
        max-height: min(38vh, 360px);
        padding: 24px;
        position: absolute;
        right: 40px;
        width: min(390px, 30vw);
    }
}

@media (max-width: 782px) {
    .tresneria-media-viewer__header {
        grid-template-columns: 44px 1fr 44px;
    }

    .tresneria-media-viewer__brand {
        display: none;
    }

    .tresneria-media-viewer__count {
        grid-column: 2;
        justify-self: center;
    }

    .tresneria-media-viewer__close {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
    }

    .tresneria-media-viewer__summary {
        max-height: 46vh;
    }
}

.tresneria-review-detail__panel,
.tresneria-auth-prompt__panel {
    background: var(--tg-bg);
    box-shadow: -16px 0 36px rgba(26, 43, 68, 0.22);
    display: grid;
    gap: 18px;
    max-width: min(680px, 100vw);
    overflow: auto;
    padding: clamp(18px, 3vw, 28px);
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}

.tresneria-review-detail:not([hidden]) .tresneria-review-detail__panel {
    animation: tresneria-review-detail-panel-in var(--tg-motion-panel) var(--tg-motion-ease-out) both;
}

.tresneria-review-detail.is-closing .tresneria-review-detail__panel {
    animation: tresneria-review-detail-panel-out var(--tg-motion-base) var(--tg-motion-ease) both;
}

.tresneria-review-detail__panel {
    bottom: 0;
    grid-template-rows: auto auto 1fr;
}

.tresneria-auth-prompt__panel {
    border-radius: 22px;
    left: 50%;
    max-width: min(430px, calc(100vw - 32px));
    top: 50%;
    transform: translate(-50%, -50%);
}

.tresneria-auth-prompt:not([hidden]) .tresneria-auth-prompt__panel {
    animation: tresneria-auth-prompt-in var(--tg-motion-panel) var(--tg-motion-ease-out) both;
}

.tresneria-auth-prompt.is-closing .tresneria-auth-prompt__panel {
    animation: tresneria-auth-prompt-out var(--tg-motion-base) var(--tg-motion-ease) both;
}

.tresneria-review-detail__close,
.tresneria-auth-prompt__close {
    justify-self: end;
}

.tresneria-review-detail__review {
    background: var(--tg-bg);
    border-radius: 18px;
    box-shadow: var(--tg-shadow-sm);
    display: grid;
    gap: 14px;
    padding: 16px;
}

.tresneria-review-detail__review .tresneria-review-card__product {
    order: 1;
}

.tresneria-review-detail__review .tresneria-review-card__header {
    order: 0;
}

.tresneria-review-detail__review .tresneria-review-card__content {
    order: 2;
}

.tresneria-review-detail__comments {
    display: grid;
    gap: 12px;
}

.tresneria-review-detail__comments-header h2 {
    color: var(--tg-primary);
    font-family: var(--tg-font-display);
    font-size: 1.08rem;
    line-height: 1.3;
    margin: 0;
}

.tresneria-review-detail__comments-header span {
    background: var(--tg-primary-soft);
    border-radius: 999px;
    color: var(--tg-primary);
    font-size: 0.82rem;
    font-weight: 800;
    padding: 4px 10px;
}

.tresneria-review-comment {
    background: var(--tg-surface);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 14px;
    display: grid;
    gap: 6px;
    padding: 12px;
}

.tresneria-review-comment__meta {
    color: var(--tg-primary);
    font-size: 0.88rem;
    font-weight: 800;
}

.tresneria-review-comment__content {
    color: var(--tg-text);
    line-height: 1.5;
}

.tresneria-review-detail__comment-form {
    display: grid;
    gap: 10px;
}

.tresneria-review-detail__comment-form label {
    color: var(--tg-primary);
    font-size: 0.9rem;
    font-weight: 800;
}

.tresneria-review-detail__comment-form textarea {
    background: var(--tg-surface);
    border: 1px solid var(--tg-border);
    border-radius: 14px;
    box-shadow: var(--tg-inset);
    color: var(--tg-text);
    font: inherit;
    min-height: 112px;
    padding: 12px;
    resize: vertical;
    width: 100%;
}

.tresneria-review-detail__comment-form button {
    background: var(--tg-primary);
    color: #ffffff;
    justify-self: start;
}

.tresneria-review-detail__login {
    margin: 0;
}

.tresneria-review-detail__login button {
    background: transparent;
    border: 0;
    color: var(--tg-primary);
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    padding: 0;
    text-decoration: underline;
}

.tresneria-auth-prompt__eyebrow {
    color: var(--tg-gold);
    font-family: var(--tg-font-display);
    font-size: 0.78rem;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
}

.tresneria-auth-prompt__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tresneria-auth-prompt__primary {
    background: var(--tg-primary);
    color: #ffffff;
}

.tresneria-auth-prompt__secondary {
    color: var(--tg-muted);
}

.tresneria-arena-shell.tresneria-review-feed--account {
    animation: none;
    background: transparent;
    margin: 18px 0 0 !important;
    max-width: none !important;
    padding: 0 !important;
    width: 100% !important;
}

.tresneria-review-feed--account > .tresneria-arena-topbar,
.tresneria-review-feed--account > .tresneria-arena-layout > .tresneria-arena-sidebar,
.tresneria-review-feed--account > .tresneria-arena-layout > .tresneria-arena-hub {
    display: none;
}

.tresneria-review-feed--account > .tresneria-arena-layout {
    display: block;
}

.tresneria-review-feed--account .tresneria-review-feed__toolbar {
    display: none;
}

.tresneria-review-feed--account .tresneria-review-feed__main {
    gap: 18px;
}

@media (max-width: 1100px) {
    .tresneria-arena-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .tresneria-arena-sidebar,
    .tresneria-arena-hub {
        display: none;
    }
}

@media (max-width: 782px) {
    .tresneria-arena-shell,
    .wp-block-post-content > .tresneria-arena-shell,
    .entry-content > .tresneria-arena-shell {
        margin-left: calc(50% - 50vw + 16px) !important;
        margin-right: 0 !important;
        max-width: calc(100vw - 32px) !important;
        padding: 0 14px 20px;
        width: calc(100vw - 32px) !important;
    }

    .tresneria-arena-topbar {
        margin-inline: -14px;
        padding: 12px 16px;
    }

    .tresneria-arena-brand {
        font-size: 1.45rem;
    }

    .tresneria-arena-topbar__write {
        display: none;
    }

    .tresneria-review-feed__toolbar {
        align-items: start;
        display: grid;
    }

    .tresneria-review-feed__toolbar-actions {
        justify-content: start;
    }

    .tresneria-review-feed__filter {
        width: 100%;
    }

    .tresneria-stamina-summary {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-width: none;
        overflow: visible;
        width: 100%;
    }

    .tresneria-stamina-summary span {
        display: grid;
        gap: 2px;
        justify-items: center;
        text-align: center;
        white-space: normal;
    }

    .tresneria-stamina-summary span + span::before {
        display: none;
    }

    .tresneria-review-card {
        border-radius: 18px;
        padding: 18px;
    }

    .tresneria-review-card__header,
    .tresneria-review-card__footer {
        align-items: start;
    }

    .tresneria-review-card__footer {
        display: grid;
    }

    .tresneria-review-card__actions {
        justify-content: space-between;
    }

    .tresneria-review-card__action {
        flex: 1 1 auto;
        justify-content: center;
        min-width: 0;
    }

    .tresneria-review-card__media {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tresneria-review-detail__panel {
        border-radius: 24px 24px 0 0;
        bottom: 0;
        box-shadow: 0 -16px 36px rgba(26, 43, 68, 0.24);
        max-height: 88vh;
        max-width: 100vw;
        right: 0;
        top: auto;
    }

    .tresneria-review-detail:not([hidden]) .tresneria-review-detail__panel {
        animation: tresneria-review-detail-sheet-in var(--tg-motion-sheet) var(--tg-motion-ease-out) both;
    }

    .tresneria-review-detail.is-closing .tresneria-review-detail__panel {
        animation: tresneria-review-detail-sheet-out var(--tg-motion-panel) var(--tg-motion-ease) both;
    }

    .tresneria-review-detail__panel::before {
        background: var(--tg-border);
        border-radius: 999px;
        content: "";
        height: 4px;
        justify-self: center;
        width: 58px;
    }

    .tresneria-auth-prompt__panel {
        bottom: 18px;
        left: 16px;
        max-width: none;
        right: 16px;
        top: auto;
        transform: none;
    }

    .tresneria-auth-prompt:not([hidden]) .tresneria-auth-prompt__panel {
        animation: tresneria-auth-prompt-mobile-in var(--tg-motion-panel) var(--tg-motion-ease-out) both;
    }

    .tresneria-auth-prompt.is-closing .tresneria-auth-prompt__panel {
        animation: tresneria-auth-prompt-mobile-out var(--tg-motion-base) var(--tg-motion-ease) both;
    }

    .tresneria-arena-toast-layer {
        bottom: max(108px, calc(env(safe-area-inset-bottom) + 108px));
        width: min(340px, calc(100vw - 28px));
    }
}

@media (max-width: 480px) {
    .tresneria-review-card__rating {
        font-size: 0.94rem;
    }

    .tresneria-review-card__product {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .tresneria-review-card__product-image {
        height: 48px;
        width: 48px;
    }

    .tresneria-review-card__action {
        font-size: 0.82rem;
        padding-inline: 8px;
    }
}

@media (max-width: 479px) {
    body.tresneria-review-feed-page .page_content_wrap {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tresneria-arena-toast {
        animation: none !important;
        opacity: 1;
        transform: none !important;
        transition: none !important;
        will-change: auto;
    }
}
