/* ==========================================================================
   GamerUp Device Simulator — réplica 1:1 escalada desde viewport 390×844
   Estilos portados desde gamerApp (global.scss, tabs, social, inicio, editor)
   ========================================================================== */

.device-simulator {
    --sim-scale: 0.48;
    --sim-w: 390px;
    --sim-h: 844px;
    --sim-display-w: calc(var(--sim-w) * var(--sim-scale));
    --sim-display-h: calc(var(--sim-h) * var(--sim-scale));
    --sim-frame-w: calc(var(--sim-display-w) + 10px);
    --sim-outer-radius: 28px;
    --sim-inner-radius: 22px;
    width: var(--sim-frame-w);
    max-width: 100%;
    margin: 0 auto;
    flex-shrink: 0;
    border-radius: var(--sim-outer-radius);
    isolation: isolate;
}

.device-frame {
    border-radius: var(--sim-outer-radius);
    padding: 5px;
    background: linear-gradient(145deg, #1a1a2e, #0d0d1a);
    border: 1.5px solid rgba(167, 139, 250, 0.22);
    overflow: hidden;
    width: var(--sim-frame-w);
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    position: relative;
    isolation: isolate;
    box-shadow: 0 16px 48px rgba(139, 92, 246, 0.45);
}

/* Viewport recorta exactamente el tamaño visual escalado */
.device-scale-viewport {
    width: var(--sim-display-w);
    height: var(--sim-display-h);
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    border-radius: var(--sim-inner-radius);
    clip-path: inset(0 round var(--sim-inner-radius));
    -webkit-mask-image: -webkit-radial-gradient(#fff, #fff);
    mask-image: radial-gradient(#fff, #fff);
}

.device-scale-root {
    width: var(--sim-w);
    height: var(--sim-h);
    transform: scale(var(--sim-scale));
    transform-origin: 0 0;
    position: absolute;
    top: 0;
    left: 0;
    font-size: 16px;
    line-height: 1.4;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #fff;
    overflow: hidden;
    background: #0b1926;
    will-change: transform;
    border-radius: calc(var(--sim-inner-radius) / var(--sim-scale));
    clip-path: inset(0 round calc(var(--sim-inner-radius) / var(--sim-scale)));
}

/* Variables Ionic — global.scss */
.device-scale-root {
    --ion-color-primary: #715bc5;
    --ion-color-primary-rgb: 113, 91, 197;
    --ion-color-tertiary: #2d2745;
    --ion-color-background: #0b1826;
    --ion-color-background2: #161b29;
    --ion-item-background: #0b1926;
    --ion-color-over-background: #0e2032;
    --ion-color-over-background2: #171d2d;
    --ion-color-medium: #989aa2;
    --ion-text-color: #ffffff;
}

.device-scale-root * {
    color: inherit;
    box-sizing: border-box;
}

.device-scale-root button {
    font-family: inherit;
}

.gu-app-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: inherit;
}

/* Topbar — app.component.html */
.gu-topbar {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--ion-color-over-background2);
    padding: 0.3rem;
    border-bottom: 0.01rem solid lightgray;
    border-image: linear-gradient(to right, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.02)) 1;
    z-index: 30;
    min-height: 3rem;
}

.gu-topbar .toolbar-btn {
    aspect-ratio: 1;
    width: 2.4rem;
    height: 2.4rem;
    margin-right: 0.4rem;
    background: transparent;
    border: none;
    border-radius: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
}

.gu-topbar .toolbar-btn img {
    width: 1.4rem;
    height: 1.4rem;
    object-fit: contain;
}

.gu-topbar .toolbar-btn .gu-ion {
    font-size: 1.6rem;
    color: #fff;
}

.gu-topbar .toolbar-start {
    margin-left: 0.8rem;
}

.gu-topbar .toolbar-end {
    display: flex;
    align-items: center;
}

.gu-content-area {
    flex: 1;
    min-height: 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(101deg, hsl(208.21deg 63.27% 8.29%) 0%, hsl(227.6deg 36% 12.27%) 57%, hsl(224.83deg 58.8% 13.48%) 100%);
    border-radius: inherit;
}

.gu-content-area.editor-screen {
    background: #000;
}

.gu-screen {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    border-radius: inherit;
}

.gu-screen.active {
    opacity: 1;
    pointer-events: auto;
}

.gu-screen.editor-screen {
    background: #000;
}

/* div-main — global.scss */
.div-main {
    width: 100%;
    padding-top: 1rem;
    margin-bottom: 0.5rem;
    background: rgb(255 255 255 / 2%);
    border-top: 0.01rem solid lightgray;
    border-bottom: 0.01rem solid lightgray;
    border-image: linear-gradient(164deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.05), rgb(255 255 255 / 25%)) 1;
    border-radius: 0.3rem;
}

/* ion-chip — global.scss */
ion-chip, .ion-chip {
    border-radius: 0.2rem;
    padding: 0.8rem 1.1rem;
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    background: #252e47;
}

.ion-chip.primary {
    background: var(--ion-color-primary);
}

/* Tab bar — tabs.page.scss + global */
.gu-tab-bar {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    flex-shrink: 0;
    height: 6rem;
    border-top-left-radius: 2rem;
    border-top-right-radius: 2rem;
    background: linear-gradient(180deg, rgb(30 38 61) 0%, #0f0d2d 100%);
    padding-bottom: 0.3rem;
    position: relative;
    z-index: 20;
    overflow: hidden;
    max-width: 100%;
}

.gu-tab-bar.video-style {
    height: 4rem;
    border-radius: 0 !important;
}

.gu-tab-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    position: relative;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    padding-top: 0.5rem;
}

.gu-tab-btn .gu-ion {
    font-size: 24px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gu-tab-btn.tab-selected .gu-ion {
    transform: translateY(-1px);
    color: var(--ion-color-primary);
}

.gu-tab-btn.tab-selected::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 35%;
    height: 3px;
    transform: translateX(-50%);
    border-radius: 3px 3px 0 0;
    background: var(--ion-color-primary);
}

.gu-tab-btn.center .centerBtn {
    padding: 0.9rem 1rem;
    border-radius: 100%;
    background-color: var(--ion-color-primary);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.gu-tab-btn.center .centerBtn .gu-ion {
    font-size: 24px;
    color: #fff;
}

.gu-tab-btn.center .centerBtn .logo {
    display: none;
    width: 1.2rem;
    padding: 0.1rem;
    position: absolute;
    left: 0.3rem;
    top: 0.1rem;
    z-index: 1;
}

.gu-tab-btn.center .centerBtn.activated {
    background-image: linear-gradient(135deg, #3b1f6e, #1a2748);
    background-size: cover;
    background-position: 50% 15%;
    transform: scale(1.55);
    margin-top: -0.25rem;
    z-index: 5;
    box-shadow: 0 0.1rem 0.5rem 0 #000204a6;
    padding: 0.9rem !important;
}

.gu-tab-btn.center .centerBtn.activated::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #00000096;
    border-radius: 100%;
}

.gu-tab-btn.center .centerBtn.activated .gu-ion {
    display: none;
}

.gu-tab-btn.center .centerBtn.activated .logo {
    display: block;
}

.gu-tab-btn.center.tab-selected::after {
    display: none;
}

/* Feed — inicio.page (sin tabs Publicaciones/Videos) */
.gu-feed-page {
    padding-bottom: 0.5rem;
}

.gu-feed-composer-block {
    padding-top: 0.6rem;
}

.gu-feed-selector-label {
    font-size: 0.8rem;
    color: var(--ion-color-primary);
}

/* Feed composer — inicio.page.html */
.gu-feed-composer-row {
    display: flex;
    align-items: center;
    padding: 0 0.9rem;
}

.gu-feed-composer-row .avatar-col {
    width: calc(100% / 6);
    max-width: 3.5rem;
    aspect-ratio: 1;
    padding: 0.9rem;
    flex-shrink: 0;
}

.gu-feed-composer-row .avatar-col img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: 1;
    border-radius: 100%;
    object-fit: cover;
    display: block;
}

.gu-feed-composer-row .input-col {
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--ion-color-medium);
}

.gu-feed-selector-row {
    display: flex;
    padding: 0.6rem 1rem 0.5rem;
}

.gu-feed-selector-row select {
    font-size: 0.8rem;
    background: transparent;
    border: none;
    color: var(--ion-color-primary);
    outline: none;
}

/* Publicaciones — publicaciones.component.html */
.gu-post .post-row {
    display: flex;
    margin-top: 0.5rem;
    padding: 0 1rem;
    align-items: flex-start;
}

.gu-post .post-avatar-col {
    width: 16.66%;
    flex-shrink: 0;
    position: relative;
}

.gu-post .post-avatar-col img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 100%;
    object-fit: cover;
    margin-top: -0.3rem;
    margin-left: 0.3rem;
}

.gu-post .post-body-col {
    width: 75%;
    padding-left: 1rem;
}

.gu-post .post-menu-col {
    width: 8.33%;
    text-align: right;
}

.gu-post h6 {
    margin: 0;
    line-height: 1.2rem;
    font-size: 1rem;
    font-weight: 600;
}

.gu-post .post-username {
    margin: 0.3rem 0;
    color: #838383;
    font-size: 0.7rem;
}

.gu-post .post-texto {
    padding: 0 1rem;
    font-size: 1rem;
    margin: 0.4rem 0;
    line-height: 1.35;
}

.gu-post .post-imagen-wrap {
    width: 100%;
    max-height: 22rem;
    background-color: #060c12;
    margin-top: 1rem;
}

.gu-post .post-imagen-wrap img {
    width: 100%;
    max-height: 11rem;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.gu-post .post-actions {
    padding: 0.6rem 1rem;
    border-top: 0.01rem solid lightgray;
    border-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0)) 1;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.gu-post .action-col {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #838383;
    font-size: 0.8rem;
}

.gu-post .action-col .gu-ion {
    font-size: 1.5rem;
    color: #838383;
}

.gu-post .action-col.liked .gu-ion {
    color: var(--ion-color-primary) !important;
}

.gu-post .action-time {
    margin-left: auto;
    font-size: 0.8rem;
    font-weight: 500;
    color: #838383;
}

.dot-online {
    position: absolute;
    top: 2.7rem;
    right: 0.6rem;
    width: 0.8rem;
    height: 0.8rem;
    background-color: #4caf50;
    border-radius: 100%;
    border: 0.1rem solid #0a1925;
}

.colorPrimary {
    color: var(--ion-color-primary) !important;
}

/* Scroll interno feed */
.gu-scroll-y {
    height: 100%;
    overflow: hidden;
}

.gu-scroll-y-inner {
    will-change: transform;
}

/* ===== VIDEO VERTICAL — feed con scroll entre videos ===== */
.gu-video-feed {
    height: 100%;
    overflow: hidden;
    background: #000;
    position: relative;
    --video-count: 3;
}

.gu-video-feed-track {
    height: calc(100% * var(--video-count));
    will-change: transform;
}

.gu-video-slide {
    height: calc(100% / var(--video-count));
    position: relative;
    overflow: hidden;
    background: #000;
    box-sizing: border-box;
    padding-bottom: 0.25rem;
}

.gu-video-scroll-dots {
    position: absolute;
    left: 0.45rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    z-index: 4;
    pointer-events: none;
}

.gu-video-scroll-dots span {
    width: 0.22rem;
    height: 1.1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    transition: background 0.2s, height 0.2s;
}

.gu-video-scroll-dots span.on {
    height: 1.6rem;
    background: var(--ion-color-primary);
}

.gu-video-slide .video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gu-video-slide .video-add-wrap {
    position: absolute;
    z-index: 6;
    top: 0.5rem;
    right: 0.8rem;
}

.gu-video-slide .video-add-btn {
    border-radius: 100%;
    width: 2.8rem;
    height: 2.8rem;
    background: var(--ion-color-over-background2);
    opacity: 0.8;
    border: 0.1rem solid lightgray;
    border-image: linear-gradient(164deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.05), rgb(255 255 255 / 25%)) 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gu-video-slide .video-add-btn .gu-ion {
    color: white;
    font-size: 1.4rem;
}

.gu-video-slide .video-side-panel {
    position: absolute;
    right: 0;
    bottom: 1rem;
    padding: 0.5rem;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: visible;
}

.gu-video-slide .side-button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0.8rem !important;
}

.gu-video-slide .side-button-container .gu-ion {
    font-size: 1.8rem !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    color: #fff;
}

.gu-video-slide .side-button-container p {
    margin-top: 0.1rem !important;
    font-size: 0.75rem !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    color: #fff;
    margin-bottom: 0;
}

.gu-video-slide .side-button-container.liked .gu-ion {
    color: var(--ion-color-primary);
}

.gu-video-slide .video-user-block {
    position: absolute;
    bottom: 3rem;
    left: 1rem;
    width: calc(100% - 4.5rem);
    max-width: calc(100% - 4.5rem);
    z-index: 5;
    text-align: left;
}

.gu-video-slide .video-user-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.gu-video-slide .video-user-row > div {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.gu-video-slide .video-user-row .v-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 100%;
    object-fit: cover;
    margin-right: 0.6rem;
    flex-shrink: 0;
}

.gu-video-slide .video-user-row p.name {
    margin: 0;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
}

.gu-video-slide .video-user-row p.user {
    margin: 0.4rem 0 0;
    color: #bdbdbd;
    font-size: 0.7rem;
}

.gu-video-slide .video-caption {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
    color: #fff;
    line-height: 1.3;
}

.gu-video-slide .video-caption .ver-mas {
    color: var(--ion-color-primary);
}

.gu-video-slide .video-controls {
    position: absolute;
    bottom: 0.25rem;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    color: white;
    opacity: 0.9;
    z-index: 10;
    padding-bottom: 0.25rem;
}

.gu-video-slide .video-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 0.3rem;
    background: rgb(70, 70, 70);
    margin: 0;
}

.gu-video-slide .video-controls span {
    margin-bottom: 0.2rem;
    margin-right: 1rem;
    margin-left: auto;
    font-size: 0.75rem;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    color: #fff;
}

/* ===== EDITOR VIDEO — editor-video.page.scss ===== */
.editor-layout {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #000;
    overflow: hidden;
    border-radius: inherit;
}

.video-pane {
    flex: 6 1 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #000;
    position: relative;
    overflow: hidden;
    padding: 0 1rem;
}

.video-pane .video-player-mock {
    width: auto;
    height: auto;
    max-height: 92%;
    max-width: 92%;
    object-fit: cover;
    aspect-ratio: 9/16;
    background: #000;
    border-radius: 0.4rem;
    display: block;
    margin: 0 auto;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.video-time-overlay {
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    z-index: 3;
}

.marca-badge {
    position: absolute;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    font-size: 0.7rem;
    white-space: nowrap;
    font-family: 'Comfortaa', cursive, system-ui;
    background: rgba(255, 255, 255, 0.86);
    color: #0b0f1a;
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
    font-weight: 600;
}

.control-pane {
    flex: 4 1 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(5, 5, 15, 0.95), rgba(10, 10, 25, 0.98));
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.45);
    padding-bottom: 0.2rem;
    overflow: hidden;
}

.transport-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.25rem 1rem 0.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
}

.transport-bar .play-btn {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: var(--ion-color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: #fff;
}

.transport-bar .play-btn .gu-ion {
    font-size: 1.2rem;
}

.panel-container {
    flex: 1;
    overflow: hidden;
    padding: 0 0.8rem;
    min-height: 0;
}

.cut-header h3 {
    margin: 0.25rem 0 0.1rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
}

.cut-time-display {
    margin: 0 0 0.3rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ion-color-primary);
    text-align: center;
}

.thumbnails-container {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    padding: 0.35rem 0.4rem;
    position: relative;
    margin: 0 auto 0.5rem;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    height: 3.15rem;
    gap: 2px;
    backdrop-filter: blur(8px);
}

.thumbnails-container .thumbnail {
    flex: 1;
    min-width: 0;
    margin: 0;
    border-radius: 5px;
    overflow: hidden;
    height: 2.45rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
}

/* Miniaturas de timeline — frames de video simulados */
.video-edit-thumb {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    background: #0b1926;
}

.video-edit-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        180deg,
        transparent 0,
        transparent 2px,
        rgba(0, 0, 0, 0.14) 2px,
        rgba(0, 0, 0, 0.14) 3px
    );
    pointer-events: none;
    z-index: 4;
    opacity: 0.55;
}

.vet-thumb-sky,
.vet-thumb-figure,
.vet-thumb-hud {
    position: absolute;
    pointer-events: none;
}

.vet-thumb-sky {
    inset: 0;
    z-index: 0;
}

.vet-thumb-figure {
    z-index: 1;
    border-radius: 2px;
}

.vet-thumb-hud {
    z-index: 3;
    left: 8%;
    right: 8%;
    height: 2px;
    border-radius: 1px;
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 6px 0 rgba(113, 91, 197, 0.55);
}

/* Escena 1 — arena púrpura */
.video-edit-thumb.scene-arena .vet-thumb-sky {
    background: linear-gradient(180deg, #1e1248 0%, #3d2878 42%, #120a28 100%);
}

.video-edit-thumb.scene-arena .vet-thumb-figure {
    bottom: 8%;
    left: 28%;
    width: 44%;
    height: 62%;
    background: linear-gradient(180deg, #a78bfa 0%, #5b4a9e 55%, #2d1b5e 100%);
    clip-path: polygon(35% 0%, 65% 0%, 78% 28%, 72% 100%, 28% 100%, 22% 28%);
    filter: drop-shadow(0 0 4px rgba(167, 139, 250, 0.5));
}

.video-edit-thumb.scene-arena .vet-thumb-hud { top: 12%; }

/* Escena 2 — bosque */
.video-edit-thumb.scene-forest .vet-thumb-sky {
    background: linear-gradient(180deg, #0f2a3d 0%, #1a4a32 50%, #0a1a12 100%);
}

.video-edit-thumb.scene-forest .vet-thumb-figure {
    bottom: 0;
    left: 0;
    right: 0;
    height: 48%;
    background: linear-gradient(180deg, transparent 0%, #0d2818 30%, #14532d 100%);
    clip-path: polygon(0 100%, 0 55%, 18% 35%, 32% 50%, 48% 30%, 62% 48%, 78% 28%, 100% 52%, 100% 100%);
}

.video-edit-thumb.scene-forest .vet-thumb-hud { top: 18%; background: rgba(34, 197, 94, 0.45); box-shadow: none; }

/* Escena 3 — combate */
.video-edit-thumb.scene-combat .vet-thumb-sky {
    background: radial-gradient(ellipse 80% 70% at 55% 45%, #7f1d1d 0%, #1a0a0a 55%, #0b0505 100%);
}

.video-edit-thumb.scene-combat .vet-thumb-figure {
    top: 22%;
    left: 18%;
    width: 64%;
    height: 38%;
    background: radial-gradient(circle at 50% 50%, #f97316 0%, #dc2626 45%, transparent 72%);
    border-radius: 50%;
    opacity: 0.85;
}

.video-edit-thumb.scene-combat .vet-thumb-hud { bottom: 14%; top: auto; background: rgba(239, 68, 68, 0.6); box-shadow: 0 -5px 0 rgba(251, 146, 60, 0.5); }

/* Escena 4 — lobby */
.video-edit-thumb.scene-lobby .vet-thumb-sky {
    background: linear-gradient(135deg, #0c1929 0%, #1e3a5f 45%, #0f172a 100%);
}

.video-edit-thumb.scene-lobby .vet-thumb-figure {
    top: 28%;
    left: 22%;
    width: 56%;
    height: 34%;
    background: #1e293b;
    border: 1px solid rgba(96, 165, 250, 0.45);
    border-radius: 3px;
    box-shadow: inset 0 0 8px rgba(59, 130, 246, 0.25);
}

.video-edit-thumb.scene-lobby .vet-thumb-figure::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 25%;
    width: 50%;
    height: 40%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 2px;
    opacity: 0.7;
}

.video-edit-thumb.scene-lobby .vet-thumb-hud { top: 10%; width: 35%; right: auto; background: #3b82f6; opacity: 0.75; }

/* Escena 5 — acción */
.video-edit-thumb.scene-action .vet-thumb-sky {
    background: linear-gradient(200deg, #312e81 0%, #4c1d95 38%, #1e1b4b 100%);
}

.video-edit-thumb.scene-action .vet-thumb-figure {
    bottom: 10%;
    left: 38%;
    width: 24%;
    height: 58%;
    background: linear-gradient(180deg, #e9d5ff 0%, #8b5cf6 40%, #5b21b6 100%);
    clip-path: polygon(30% 0%, 70% 0%, 85% 100%, 15% 100%);
    transform: skewX(-6deg);
}

.video-edit-thumb.scene-action .vet-thumb-hud { top: 22%; box-shadow: 0 4px 0 rgba(236, 72, 153, 0.55); }

/* Escena 6 — cierre */
.video-edit-thumb.scene-outro .vet-thumb-sky {
    background: linear-gradient(180deg, #0b1926 0%, #161b29 55%, #050810 100%);
}

.video-edit-thumb.scene-outro .vet-thumb-figure {
    bottom: 18%;
    left: 50%;
    width: 70%;
    height: 8%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(113, 91, 197, 0.8), transparent);
    border-radius: 2px;
}

.video-edit-thumb.scene-outro .vet-thumb-hud { bottom: 32%; top: auto; width: 55%; left: 22%; background: rgba(113, 91, 197, 0.5); box-shadow: none; }

.thumbnails-container .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumbnails-container .playback-line {
    position: absolute;
    top: 0.35rem;
    bottom: 0.35rem;
    width: 2px;
    background: #fff;
    left: 35%;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
    pointer-events: none;
    z-index: 6;
    border-radius: 1px;
}

.range-handle {
    position: absolute;
    top: 0.2rem;
    bottom: 0.2rem;
    width: 1rem;
    background: linear-gradient(135deg, var(--ion-color-primary), #00d4ff);
    font-size: 0;
    color: transparent;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(113, 91, 197, 0.45);
    z-index: 7;
}

.range-handle.start-handle {
    left: 12%;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
}

.range-handle.end-handle {
    right: 18%;
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
}

.mode-strip {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(12px);
    padding: 0.3rem 0 0.5rem;
    flex-shrink: 0;
}

.mode-strip-scroll {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.mode-strip-scroll::-webkit-scrollbar {
    display: none;
}

.mode-btn {
    flex: 0 0 auto;
    min-width: 62px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.35rem 0.4rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.55rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.mode-btn .gu-ion {
    font-size: 1.2rem;
}

.mode-btn.active {
    color: var(--ion-color-primary);
}

.mode-btn.listo-btn {
    background: linear-gradient(135deg, var(--ion-color-primary), #a259ff);
    color: #fff;
    border-radius: 0.3rem;
    padding: 0.4rem 0.8rem !important;
    min-width: auto !important;
    box-shadow: 0 8px 20px rgba(162, 89, 255, 0.35);
}

/* Crear publicación */
.gu-create-title {
    padding: 1rem;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.gu-create-compose {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    gap: 0.9rem;
}

.gu-create-avatar-wrap {
    width: 2.3rem;
    height: 2.3rem;
    min-width: 2.3rem;
    flex-shrink: 0;
    border-radius: 100%;
    overflow: hidden;
    background: var(--ion-color-tertiary);
}

.gu-create-avatar-wrap .gu-create-avatar {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 1;
    border-radius: 100%;
}

.gu-create-editor {
    flex: 1;
    min-width: 0;
    min-height: 4rem;
    font-size: 0.95rem;
    line-height: 1.4;
    word-break: break-word;
    overflow: hidden;
    padding: 0.4rem 0.6rem;
    border-radius: 0.6rem;
    background: var(--ion-color-over-background2);
}

.gu-create-text {
    display: inline;
}

.gu-cursor-blink {
    display: inline-block;
    width: 1px;
    height: 1em;
    background: var(--ion-color-primary);
    animation: guCursorBlink 1s step-end infinite;
    vertical-align: text-bottom;
    margin-left: 1px;
}

.gu-create-tools {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    padding: 1rem;
}

.gu-create-tools .tool-chip {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--ion-color-primary);
    padding: 0.3rem;
}

.gu-create-tools .tool-chip.isOff {
    filter: brightness(0.5);
}

.gu-create-tools .tool-chip .gu-ion {
    font-size: 1.2rem;
    color: #fff;
}

ion-button.gu-ion-btn, .gu-ion-btn {
    display: block;
    width: calc(100% - 2rem);
    margin: 0 1rem 1rem;
    height: 2.5rem;
    background: var(--ion-color-primary);
    border: none;
    border-radius: 0.3rem;
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
}

.gu-ion-btn.danger {
    background: var(--ion-color-danger, #eb445a);
}

/* Matchmaking */
.gu-matchmaking {
    padding: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.gu-matchmaking-body {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    text-align: center;
}

.gu-matchmaking h4 {
    text-align: center;
    font-size: 1rem;
    margin: 0;
}

.gu-matchmaking .timer {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin: 0.25rem 0;
}

.gu-matchmaking .help {
    text-align: center;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--ion-color-medium);
}

.gu-matchmaking .chips-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 0.75rem;
    justify-content: center;
}

.gu-matchmaking .chip-dark {
    padding: 0.35rem 0.7rem;
    background: #252e47;
    border-radius: 1rem;
    font-size: 0.75rem;
}

.gu-matchmaking .preview-red {
    width: 100%;
    aspect-ratio: 5/3;
    background: linear-gradient(135deg, #3b1f6e, #1a2748);
    border-radius: 0.3rem;
    margin-top: 1rem;
    overflow: hidden;
}

.gu-matchmaking .preview-red img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.gu-matchmaking .frase {
    text-align: center;
    margin-top: 0.75rem;
    font-style: italic;
    color: #ffffff;
    font-size: 0.8rem;
    line-height: 1.35;
    padding: 0 0.5rem;
}

.gu-matchmaking-footer {
    flex-shrink: 0;
    padding-top: 0.5rem;
}

.gu-matchmaking .gu-match-cancel {
    margin: 0;
    width: 100%;
}

.gu-matchmaking-footer .gu-ion-btn {
    width: 100%;
    margin: 0;
}

.gu-matchmaking .version {
    text-align: center;
    color: var(--ion-color-medium);
    font-size: 0.75rem;
    margin: 0.75rem 0 0;
    position: static;
    padding: 0;
}

/* Social — jugadores + social.page.scss */
.gu-social {
    height: 100%;
    overflow: hidden;
    padding-top: 0.5rem;
}

/* Vista Social fija en el simulador (sin scroll demo) */
.gu-social-static {
    display: flex;
    flex-direction: column;
    padding-top: 0.5rem;
    overflow: hidden;
}

/* Ajustes leves vs. social.page — mantiene tamaños reales, solo compacta márgenes */
.gu-social-static .gu-level-row {
    margin-bottom: 1rem;
}

.gu-social-static .gu-social-grid {
    margin-top: 0.85rem;
}

.gu-social-static .social-card {
    height: 6.25rem;
    padding: 0.9rem;
}

.gu-social-static .social-card.mapa-card h3 {
    font-size: 1.05rem;
}

.gu-social-static .social-card.mapa-card .gu-ion {
    font-size: 2.25rem;
}

.gu-social-static .social-card.clan-card h3 {
    font-size: 1rem;
}

.gu-social-static .section-title {
    margin-top: 0.9rem;
    margin-bottom: 0.35rem;
}

.gu-social-static .section-title h3 {
    font-size: 0.95rem;
}

.gu-social-static .horizontal-scroll-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
    overflow: hidden;
    padding: 0.4rem 1rem;
}

.gu-social-static .mini-action-btn {
    min-width: 0;
    gap: 0.4rem;
}

.gu-social-static .mini-action-btn .btn-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.85rem;
    font-size: 1.25rem;
}

.gu-social-static .mini-action-btn span {
    font-size: 0.65rem;
    line-height: 1.15;
    max-width: 100%;
}

.gu-social-top {
    display: flex;
    padding: 0.5rem 1rem 0;
    justify-content: flex-end;
    gap: 1rem;
    overflow: hidden;
}

.gu-social-top .adn-chip {
    margin: auto;
    margin-left: auto;
    margin-right: 0;
    font-size: 0.8rem;
    background: var(--ion-color-primary);
    position: relative;
    overflow: hidden;
    padding: 0.8rem 1.1rem;
    border-radius: 0.2rem;
}

.gu-social-top .badge-nuevo {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0.65rem;
    padding: 0.3em 0.5em;
    background: #eb445a;
    border-radius: 0.5rem;
    color: #fff;
}

.gu-jugadores-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem 0;
    margin: 0.75rem 0 0;
    gap: 0.75rem;
}

.gu-jugadores-avatar-wrap {
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
    flex-shrink: 0;
    border-radius: 100%;
    overflow: hidden;
    background: var(--ion-color-tertiary);
}

.gu-jugadores-avatar {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 1;
}

.gu-jugadores-label {
    flex: 1;
    min-width: 0;
    padding-left: 0.75rem;
}

.gu-jugadores-label h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    max-width: 83%;
}

.gu-jugadores-label p {
    margin: 0.2rem 0 0;
    font-size: 0.7rem;
    color: var(--ion-color-medium);
}

.gu-social-top .qr-chip {
    margin: auto;
    margin-left: 1rem;
    margin-right: 0;
    font-size: 0.8rem;
    padding: 1rem;
    padding-left: 0.3rem;
    background: #252e47;
    border-radius: 0.2rem;
}

.social-card {
    height: 7rem;
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.social-card.mapa-card {
    background: linear-gradient(135deg, var(--ion-color-primary), var(--ion-color-primary-shade, #5a4a9e));
    box-shadow: 0 8px 20px rgba(var(--ion-color-primary-rgb), 0.3);
}

.social-card.mapa-card .gu-ion {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
    position: absolute;
    right: 0.25rem;
    bottom: 0.25rem;
    transform: rotate(-15deg);
}

.social-card.mapa-card h3 {
    margin: 0;
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    z-index: 1;
    line-height: 1.2;
}

.social-card.mapa-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
}

.social-card.clan-card {
    background: var(--ion-color-over-background2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-card.clan-card h3 {
    margin: 0;
    color: var(--ion-text-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.social-card.clan-card p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--ion-color-medium);
}

.gu-social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 0 1rem;
    margin-top: 1rem;
}

.section-title {
    padding: 0 1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.section-title h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.horizontal-scroll-container {
    display: flex;
    overflow-x: hidden;
    gap: 1rem;
    padding: 0.5rem 1rem;
}

.mini-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 80px;
    flex-shrink: 0;
}

.mini-action-btn .btn-icon {
    width: 50px;
    height: 50px;
    border-radius: 1rem;
    background: var(--ion-color-over-background2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--ion-color-primary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.mini-action-btn span {
    font-size: 0.75rem;
    color: var(--ion-color-medium);
    text-align: center;
    line-height: 1.2;
    max-width: 90px;
}

.gu-level-row {
    width: 100%;
    display: flex;
    gap: 0.5rem;
    padding: 0 1rem;
    margin-bottom: 2rem;
}

.gu-level-row .seg {
    margin: auto;
    width: 20%;
}

.gu-level-row .seg div {
    width: 100%;
    padding: 0.4rem;
    background-color: var(--ion-color-primary);
    border-radius: 2.7rem;
}

/* Clanes */
.gu-clanes-header {
    padding: 0.5rem 1rem;
    padding-bottom: 1rem !important;
}

.gu-clanes-header h5 {
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 600;
}

.gu-clanes-header small {
    font-size: 0.85rem;
    color: var(--ion-color-medium);
}

.ion-item-form {
    margin: 0 1rem 1rem;
    background: #252e47;
    border-radius: 0.3rem;
    padding: 0.6rem 1.3rem 0.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--ion-color-medium);
}

.boost-card {
    margin: 1rem;
    background: linear-gradient(135deg, rgb(164 53 255 / 15%) 0%, rgb(247 30 130 / 15%) 100%);
    border-radius: 1rem;
    border: 1px solid rgb(92 53 255 / 30%);
}

.boost-card .boost-content {
    display: flex;
    align-items: center;
    padding: 1rem;
    gap: 1rem;
}

.boost-card .boost-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgb(142 53 255 / 20%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.boost-card .boost-icon-wrapper .gu-ion {
    font-size: 1.8rem;
    color: var(--ion-color-primary);
}

.boost-card .boost-text h4 {
    margin: 0 0 0.3rem 0;
    color: white;
    font-size: 1rem;
    font-weight: 600;
}

.boost-card .boost-text p {
    margin: 0;
    color: var(--ion-color-medium);
    font-size: 0.85rem;
}

/* Clan card — clan.component */
.clan-jugadores-row {
    margin: 0.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.jugadores-col { flex: 1; min-width: 0; }

.jugadores-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.4rem;
}

.jugadores-header strong { font-size: 0.95rem; }

.jugadores-avatars {
    display: flex;
    align-items: center;
    margin-top: 0.6rem;
    overflow: hidden;
    padding-left: 0.15rem;
}

.jugador-avatar-mini {
    width: 3.2rem;
    height: 3.2rem;
    border: 2px solid #232323;
    border-radius: 100%;
    overflow: hidden;
    box-shadow: 0 0 0.2rem #0008;
    background: #232323;
    flex-shrink: 0;
}

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

.jugadores-count {
    font-size: 0.75rem;
    color: #9a9a9a;
    margin-top: 0.35rem;
}

.juegos-col {
    width: 9.5rem;
    min-width: 9.5rem;
    text-align: right;
}

.juegos-header strong { font-size: 0.95rem; }

.juegos-portadas {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    margin-right: 0.5rem;
    margin-top: 0.6rem;
}

.juego-portada {
    width: 2rem;
    height: 3rem;
    border-radius: 0.4rem;
    overflow: hidden;
    box-shadow: -0.5rem 0 0.7rem 0rem rgb(0 0 0 / 26%);
    background: #252e47;
    flex-shrink: 0;
}

.juego-portada img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.4rem;
}

.juegos-count {
    font-size: 0.75rem;
    color: #9a9a9a;
    margin-top: 0.35rem;
}

.clan-desc {
    font-size: 0.85rem;
    color: #aaa;
    width: 90%;
    line-height: 1.3;
    margin: 0.15rem 0 0;
}

/* Perfil — sin márgenes laterales en cover/posts */
.gu-perfil-page,
.gu-clan-detail-page {
    background: var(--ion-color-background);
}

.gu-post-fullbleed {
    border-radius: 0;
    border-left: none;
    border-right: none;
    width: 100%;
}

.gu-perfil-page .gu-perfil-segment {
    margin: 0.75rem 1rem 1rem;
    border-radius: 0.5rem;
    background: var(--ion-color-over-background2);
}

.gu-clan-detail-page .gu-segment-ios {
    margin: 0.65rem 0 0.75rem;
    border-radius: 0.5rem;
}

.gu-clan-detail-page .gu-segment-ios button:nth-child(2) {
    font-size: 0.72rem;
}

.gu-perfil-cover {
    width: 100%;
    height: 9rem;
    overflow: hidden;
}

.gu-perfil-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gu-perfil-avatar-box {
    width: 5rem;
    margin-top: -1.5rem;
    background-color: #121212;
    border: 0.03rem solid #1d1d1d;
    border-radius: 100%;
    padding: 0.3rem;
    aspect-ratio: 1;
    height: 5rem;
    margin-left: 1rem;
}

.gu-perfil-avatar-box img {
    width: 100%;
    border-radius: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.gu-perfil-info { padding: 0 1rem; }
.gu-perfil-info h4 { margin: 0; font-size: 1.1rem; }
.gu-perfil-info .uname { margin: 0.3rem 0; color: #838383; font-size: 0.8rem; }

.gu-perfil-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1rem;
    margin-bottom: 0.85rem;
}

.gu-perfil-badges .badge-dark {
    font-size: 0.7rem;
    padding: 0.5rem 0.7rem;
    border-radius: 0.9rem;
    background: #252e47;
}

/* Clan ver */
.gu-clan-detail-page .gu-scroll-y-inner {
    padding-bottom: 1rem;
}

.gu-clan-detail-body {
    position: relative;
    padding: 0 1rem 0.5rem;
    margin-top: -3.5rem;
    z-index: 2;
}

.gu-clan-avatar-center {
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 100%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 0.15rem solid var(--ion-color-primary);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
    background: #121212;
    position: relative;
    z-index: 3;
}

.gu-clan-cover-top {
    width: 100%;
    height: 9rem;
    margin-bottom: 0;
    overflow: hidden;
}

.gu-clan-cover-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gu-clan-members-card {
    margin-top: 0.75rem;
    padding-top: 0.75rem !important;
}

.gu-clan-social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    margin: 0.75rem 0 0.25rem;
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.75);
}

.gu-clan-avatar-center img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gu-clan-name {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.gu-clan-desc-center {
    font-size: 0.9rem;
    width: 90%;
    margin: 0.8rem auto;
    text-align: center;
    color: var(--ion-color-medium);
    line-height: 1.35;
}

ion-segment.gu-segment, .gu-segment-ios {
    display: flex;
    align-items: stretch;
    margin: 0 1rem 1rem;
    background: var(--ion-color-over-background2);
    border-radius: 0.5rem;
    padding: 0.35rem;
    gap: 0.2rem;
    min-height: 2.85rem;
}

.gu-segment-ios button {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--ion-color-medium);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.55rem 0.4rem;
    min-height: 2.15rem;
    border-radius: 0.4rem;
    line-height: 1.3;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -0.01em;
}

.gu-segment-ios button.on {
    background: var(--ion-color-primary);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(113, 91, 197, 0.35);
}

@keyframes guCursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Avatares del simulador — evitar estiramiento por reglas globales del sitio */
.device-simulator .gu-create-avatar-wrap,
.device-simulator .gu-jugadores-avatar-wrap,
.device-simulator .avatar-col,
.device-simulator .post-avatar-col,
.device-simulator .jugador-avatar-mini,
.device-simulator .gu-perfil-avatar-box,
.device-simulator .gu-clan-avatar-center {
    flex-shrink: 0;
}

.device-simulator .gu-create-avatar-wrap img,
.device-simulator .gu-jugadores-avatar-wrap img,
.device-simulator .avatar-col img,
.device-simulator .post-avatar-col img {
    max-width: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.features-mockup .device-simulator {
    width: var(--sim-frame-w);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .device-simulator {
        --sim-scale: 0.44;
    }
}
