* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --bg-dark: #0f0f0f;
    --bg-card: #111;
    --bg-hover: #181818;
    --accent: #ff4b64;
    --accent-rgb: 255, 75, 100;
    --text-primary: #fff;
    --text-secondary: #888;
    --transition: 0.15s;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

body {
    background: #000;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: white;
    height: 100vh;
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.player, body {
    touch-action: pan-y;
}

.player {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 1;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.iframe-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.player iframe {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1280px;
    height: 720px;
    border: none;
    background: #000;
    pointer-events: none;
    transform: translate(-50%, -52%) scale(min(calc(100vw / 1280), calc(100dvh / 720)));
}

.top-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 10px 12px 5px;
    background: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
    transition: opacity var(--transition) linear;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #ff0066;
    object-fit: cover;
    pointer-events: auto;
}

.avatar.loading {
    transform: scale(0.95);
    opacity: 0.7;
}

.info {
    flex: 1;
    pointer-events: auto;
}

.name-row {
    display: flex;
    align-items: center;
    gap: 5px;
}

.username {
    color: white;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
}

.username:active {
    color: #ff0066;
}

.live-badge {
    background: #ff0066;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    animation: pulse 3s infinite;
}

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

.viewers {
    font-size: 11px;
    color: rgba(255,255,255,0.8);
    margin-top: 1px;
}

.next-mini {
    background: rgba(0,0,0,0.85);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    font-weight: 600;
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 30px;
    text-decoration: none;
    pointer-events: auto;
    cursor: pointer;
    white-space: nowrap;
    z-index: 31;
    position: relative;
}

.next-mini:active {
    transform: scale(0.95);
    background: rgba(255,255,255,0.25);
}

.extra-info {
    position: absolute;
    top: 95px;
    left: 12px;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 3px;
    pointer-events: none;
}

.info-chip {
    background: rgba(0,0,0,0.85);
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    display: inline-block;
    line-height: 1.2;
}

.info-chip i {
    margin-right: 3px;
    color: #ff0066;
    font-size: 9px;
}

.watch-btn {
    position: fixed;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    max-width: 350px;
    padding: 12px 0;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: rgba(0,0,0,0.85);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    z-index: 30;
    pointer-events: auto;
}

.watch-btn:active {
    transform: translateX(-50%) scale(0.97);
    background: rgba(0,0,0,0.8);
}

.brand-small {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.4);
    font-size: 9px;
    z-index: 35;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.loading {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    display: none;
    text-align: center;
    background: rgba(0,0,0,0.65);
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.25);
    min-width: 120px;
}

.spinner {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    position: relative;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.2);
    border-top: 3px solid #ff0066;
    animation: spin 0.8s linear infinite;
}

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

.spinner-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 66px;
    height: 66px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.5);
}

.loading-model-info {
    margin-top: 15px;
    text-align: center;
}

.loading-model-name {
    font-size: 18px;
    font-weight: bold;
    color: #ff0066;
    margin-bottom: 8px;
}

.loading-model-details {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 12px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 5px;
}

.loading-model-details span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.loading-text {
    margin-top: 12px;
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    font-weight: normal;
    letter-spacing: 0.5px;
}

.loading-text::after {
    content: "";
    animation: dots 1.5s steps(3, end) infinite;
}

@keyframes dots {
    0% { content: ""; }
    33% { content: "."; }
    66% { content: ".."; }
    100% { content: "..."; }
}

.thumbnail-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.thumbnail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: transform 0.2s;
    opacity: 0.9;
}

.thumbnail-item:active {
    transform: scale(0.95);
    opacity: 1;
}

.thumbnail-img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.3);
    background: #1a1a2e;
}

.thumbnail-name {
    font-size: 9px;
    color: rgba(255,255,255,0.8);
    max-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.thumbnail-label {
    font-size: 8px;
    color: #ff0066;
    font-weight: bold;
    text-transform: uppercase;
}

.transition-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition) linear;
}

.transition-overlay.show {
    opacity: 1;
    pointer-events: none;
}

#nextModelBtn {
    position: relative;
    z-index: 200;
}

.swipe-hint {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.5);
    font-size: 10px;
    z-index: 25;
    pointer-events: none;
    animation: bounce 3s infinite;
}

@media (hover: none) {
    .swipe-hint {
        animation: none;
    }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-5px); }
}

.swipe-feedback {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.85);
    color: white;
    font-size: 24px;
    font-weight: bold;
    padding: 20px;
    border-radius: 60px;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    border: 2px solid rgba(255,255,255,0.2);
}

.swipe-feedback.show {
    opacity: 1;
    animation: feedbackPop 0.4s ease forwards;
}

@keyframes feedbackPop {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0; }
    20% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

@media (max-width: 360px) {
    .username { font-size: 13px; }
    .viewers { font-size: 10px; }
    .next-mini { font-size: 10px; padding: 4px 8px; }
    .extra-info { top: 48px; }
    .info-chip { font-size: 9px; padding: 3px 6px; }
    .watch-btn { bottom: 30px; font-size: 13px; padding: 10px 0; }
    .brand-small { bottom: 12px; font-size: 8px; }
    .loading { padding: 20px 25px; min-width: 280px; background: rgba(0,0,0,0.7); }
    .spinner { width: 70px; height: 70px; }
    .spinner-img { width: 56px; height: 56px; }
    .loading-model-name { font-size: 16px; }
    .loading-model-details { font-size: 11px; gap: 12px; }
    .thumbnail-img { width: 48px; height: 48px; }
    .thumbnail-name { font-size: 8px; max-width: 60px; }
}

.controls {
    position: fixed;
    right: 10px;
    bottom: 120px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ctrlBtn {
    pointer-events: auto;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.85);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    font-weight: bold;
    border: 1px solid rgba(255,255,255,0.2);
    cursor: pointer;
}

.blockTouch {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1280px;
    height: 100%;
    transform: translateX(-50%);
    z-index: 5;
    pointer-events: none;
}

.swipe-area {
    position: fixed;
    bottom: 85px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.dragCenter {
    padding: 3px;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    cursor: pointer;
}

.top-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    pointer-events: auto;
}

.signup-mini {
    background: #ff0066;
    color: white;
    font-weight: 700;
    font-size: 11px;
    padding: 6px 10px;
    border-radius: 30px;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 0 6px rgba(255,0,102,0.4);
}

.signup-mini:active {
    transform: scale(0.95);
}

.poster {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1280px;
    height: 100%;
    transform: translateX(-50%);
    object-fit: cover;
    z-index: 6;
    background: black;
}

.hideUI .controls,
.hideUI .extra-info,
.hideUI .watch-btn,
.hideUI .swipe-area,
.hideUI .tags {
    display: none;
}

.hideUI #toggleUI {
    display: flex;
}

.toggleBtn {
    position: fixed;
    right: 10px;
    top: 80px;
    z-index: 99999;
}

.tags {
    position: absolute;
    top: 70px;
    left: 12px;
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
    z-index: 20;
    max-width: 80%;
    overflow: hidden;
    white-space: nowrap;
}

.tag {
    font-size: 10px;
    background: rgba(0,0,0,0.85);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 3px 7px;
    border-radius: 20px;
    color: #7ec8ff;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.tag:active {
    background: #ff0066;
    color: white;
}

#rotateBtn {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#rotateBtn::before {
    content: "⟳";
    display: block;
    transform: translate(1px, -3px);
}

.player,
.poster {
    will-change: transform;
}

/* ===== BOTÕES ===== */
.three-dots-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-md);
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    transition: var(--transition);
}

.three-dots-btn:hover {
    background: rgba(var(--accent-rgb), 0.3);
    border-color: var(--accent);
    color: var(--accent);
}

.three-dots-btn span {
    transform: rotate(90deg);
}

/* ===== OVERLAYS ===== */
.slide-card-overlay222,
.next-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 1001;
}

.slide-card-overlay222.active,
.next-overlay.active {
    opacity: 1;
    pointer-events: auto;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(16px);
}

/* ===== CARDS ===== */
.slide-card,
.slide-card222,
.next-card {
    width: 100%;
    max-width: 500px;
    background: var(--bg-dark);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    transform: translateY(100%);
    transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.slide-card {
    border-top: 2px solid var(--accent);
    padding: 16px 20px 24px;
}

.slide-card222 {
    padding: 16px 20px 24px;
}

.next-card {
    border-top: 2px solid #3b82f6;
    padding: 16px;
}

.slide-card-overlay222.active .slide-card,
.slide-card-overlay222.active .slide-card222,
.next-overlay.active .next-card {
    transform: translateY(0);
}

/* ===== HEADERS ===== */
.card-header,
.card-header222 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.card-header h3,
.card-header222 h3 {
    margin: 0;
    font-size: 0.9rem;
    color: #ddd;
}

.next-text {
    color: var(--accent);
}

/* ===== BOTÕES FECHAR ===== */
.close-card,
.close-card222 {
    width: 28px;
    height: 28px;
    border: none;
    background: rgba(255,255,255,0.05);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.close-card:hover,
.close-card222:hover {
    background: rgba(var(--accent-rgb), 0.2);
    color: var(--accent);
}

/* ===== GRIDS ===== */
.models-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 40vh;
    overflow-y: auto;
}

.models-grid222,
.next-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-height: 40vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px 4px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.next-grid {
    grid-template-columns: repeat(4, 1fr);
    max-height: 37vh;
}

/* ===== SCROLLBAR ===== */
.models-grid::-webkit-scrollbar,
.models-grid222::-webkit-scrollbar,
.next-grid::-webkit-scrollbar {
    width: 4px;
}

.models-grid::-webkit-scrollbar-track,
.models-grid222::-webkit-scrollbar-track,
.next-grid::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 4px;
}

.models-grid::-webkit-scrollbar-thumb,
.models-grid222::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

.next-grid::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 4px;
}

/* ===== MODEL CARD 222 ===== */
.model-card-item222 {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid #1e1e1e;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: transform var(--transition), border-color var(--transition);
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    animation: fadeIn 0.2s ease-out forwards;
	
}

.model-card-item222:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    background: var(--bg-hover);
}

.model-card-item222::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}

.model-card-item222:hover::after {
    left: 100%;
}

.model-card-item222.watching {
    border: 2px solid var(--accent);
    background: rgba(var(--accent-rgb), 0.1);
    box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.2);
}

.model-card-item222.watching::before {
    content: "WATCHING STREAM";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, var(--accent), #ff6b80);
    color: white;
    font-size: 8px;
    font-weight: 700;
    text-align: center;
    padding: 3px 0;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    z-index: 2;
    letter-spacing: 0.5px;
}

.model-card-item222.favorite {
    border: 2px solid #ffaa44 !important;
    background: rgba(255, 170, 68, 0.1);
}

.model-card-item222.watching.favorite {
    border: 2px solid var(--accent) !important;
    background: linear-gradient(135deg, rgba(255,75,100,0.1), rgba(255,170,68,0.1));
}

.model-card-img222 {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transition: transform var(--transition), opacity 0.2s ease;
    background: #1a1a1a;
    backface-visibility: hidden;
    will-change: transform;
}

.model-card-item222:hover .model-card-img222 {
    transform: scale(1.02);
}

.next-grid .model-card-img222 {
    height: 100px;
}

.model-card-info222 {
    padding: 8px 6px 10px;
    text-align: center;
    width: 100%;
}

.model-card-name222 {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    margin-bottom: 6px;
    width: 100%;
}

.model-card-stats222 {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.55rem;
    font-weight: 500;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}

.model-card-stats222 span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    white-space: nowrap;
}

.model-card-stats222 span:nth-child(1) { color: #ffaa44; }
.model-card-stats222 span:nth-child(2) { color: #44ffaa; }
.model-card-stats222 span:nth-child(3) {
    color: #88aaff;
    font-size: 0.5rem;
    max-width: 55px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== MODEL CARD ITEM ===== */
.model-card-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    background: var(--bg-card);
    border: 1px solid #1e1e1e;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition);
}

.model-card-item:hover {
    background: var(--bg-hover);
    border-color: var(--accent);
}

.model-card-img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--accent);
    background: #1a1a1a;
    backface-visibility: hidden;
}

.model-card-info {
    flex: 1;
    line-height: 1.1;
}

.model-card-name {
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 2px;
}

.model-card-stats {
    display: flex;
    gap: 6px;
    font-size: 0.6rem;
    color: var(--text-secondary);
}

.model-card-stats span:nth-child(1) { color: #ffaa44; }
.model-card-stats span:nth-child(2) { color: #44ffaa; }
.model-card-stats span:nth-child(3) { color: #88aaff; }
.model-card-stats span:nth-child(4) { color: #ff6666; }

.jump-arrow {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(var(--accent-rgb), 0.08);
    color: var(--accent);
    opacity: 0.6;
    transition: var(--transition);
}

.model-card-item:hover .jump-arrow {
    opacity: 1;
    background: rgba(var(--accent-rgb), 0.2);
}

/* ===== WATCH CONTAINER ===== */
.watch-container222 {
    position: fixed;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 50;
}

.watch-btn222 {
    flex: 1;
    padding: 12px 0;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 10px;
    transition: var(--transition);
}

.watch-btn222:active {
    transform: scale(0.97);
}

.fav-btn222,
.star-btn222 {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.2);
    cursor: pointer;
    transition: var(--transition);
}

.fav-btn222.active {
    background: rgba(var(--accent-rgb), 0.2);
}

.star-btn222:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.4);
}

.star-btn222:active,
.fav-btn222:active {
    transform: scale(0.9);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
    .models-grid222 { gap: 8px; }
    .model-card-name222 { font-size: 0.65rem; }
    .model-card-stats222 { font-size: 0.5rem; gap: 3px; }
    .model-card-stats222 span:nth-child(3) {
        font-size: 0.45rem;
        max-width: 45px;
    }
    .model-card-info222 { padding: 6px 4px 8px; }
    .model-card-img222 { aspect-ratio: 2/2.4; height: auto; }
    .age-warning-tip {
        bottom: 150px;
        padding: 5px 12px;
        font-size: 10px;
        gap: 5px;
        white-space: nowrap;
    }
    .age-warning-tip span,
    .age-warning-tip a {
        white-space: nowrap;
        display: inline;
        font-size: 10px;
    }
    .age-warning-tip .warning-icon {
        font-size: 10px;
        flex-shrink: 0;
    }
    .close-warning {
        font-size: 11px;
        padding: 1px 5px;
        flex-shrink: 0;
    }
}

@media (min-width: 768px) {
    .models-grid222 { gap: 12px; }
    .model-card-img222 { aspect-ratio: 2/2.6; height: auto; }
    .model-card-name222 { font-size: 0.75rem; }
    .model-card-stats222 { font-size: 0.6rem; }
    .hideUI #favBtn,
    .hideUI #openFavsBtn,
    .hideUI #watchBtn {
        display: none !important;
    }
}

/* ===== BADGES ===== */
.status-badge {
    display: block !important;
    text-align: center !important;
    width: 100% !important;
    margin: 6px 0 2px !important;
    font-size: 8px !important;
    font-weight: bold !important;
    padding: 3px 6px !important;
    border-radius: 20px !important;
    letter-spacing: 0.5px !important;
    box-sizing: border-box !important;
}

.watching-badge {
    background: var(--accent) !important;
    color: white !important;
}

.fav-badge {
    background: rgba(255, 170, 68, 0.2) !important;
    color: #ffaa44 !important;
    border: 1px solid #ffaa44 !important;
}

/* ===== AVISO IDADE ===== */
#closeWarningCheckbox:checked + .age-warning-tip {
    display: none;
}

.age-warning-tip {
    position: fixed;
    bottom: 160px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(12px);
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 12px;
    color: #ffaa44;
    border: 1px solid rgba(255,75,100,0.5);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: system-ui, -apple-system, sans-serif;
    transition: opacity 0.2s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    pointer-events: auto;
    white-space: nowrap;
}

.age-warning-tip a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
}

.age-warning-tip a:hover {
    text-decoration: underline;
    color: #ffaa44;
}

.close-warning {
    background: rgba(255,255,255,0.1);
    border: none;
    color: #ffaa44;
    font-size: 14px;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 20px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.close-warning:hover {
    background: rgba(255,75,100,0.3);
    color: var(--accent);
    transform: scale(1.05);
}

/* ===== HEADER & SEARCH ===== */
.card-header {
    position: relative;
}

.search-box {
    position: relative;
    padding-right: 40px;
}

.search-box input {
    width: 100%;
    padding: 10px 70px 10px 12px;
    border-radius: 10px;
    border: 1px solid #2a2a2a;
    background: #1a1a1a;
    color: #fff;
    font-size: 12px;
    outline: none;
}

.search-box input::placeholder {
    color: #777;
}

#searchBtn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: none;
    background: #2a2a2a;
    color: #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
}

#searchBtn svg {
    width: 16px;
    height: 16px;
}

#searchBtn:hover {
    background: #3a3a3a;
    color: #fff;
}

.close-card {
    position: absolute;
    right: 0;
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: #2a2a2a;
    color: #aaa;
    cursor: pointer;
    transition: 0.15s;
    z-index: 2;
}

.close-card:hover {
    background: var(--accent);
    color: #fff;
}

/* ===== NEXT TITLE ===== */
.next-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #ccc;
    margin: 10px 0 8px;
}

.left-title {
    display: flex;
    gap: 6px;
    align-items: center;
}

.search-echo {
    background: rgba(255, 75, 100, 0.12);
    border: 1px solid rgba(255, 75, 100, 0.35);
    color: #ff9a3c;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 11px;
    max-width: 45%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ===== FALLBACKS & OTIMIZAÇÕES ===== */
.slide-card,
.slide-card222,
iframe {
    transform: translateZ(0);
}

#favModelsGrid222 .model-card-item222.favorite {
    border: 2px solid #ffaa44 !important;
}

#favModelsGrid222 .model-card-item222.watching {
    border: 2px solid var(--accent) !important;
}

/* ===== PAGINAÇÃO ===== */
#pagination {
    display: flex;
    justify-content: center;
    padding: 4px 0;
    margin-top: 4px;
}

.pagination-wrapper {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.page-btn {
    background: rgba(30, 30, 40, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 7px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-nav {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 10px 16px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 20px;
    font-weight: 900;
    min-width: 44px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.page-btn:hover,
.page-nav:hover {
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.12);
}

.page-btn.active {
    background: #ff2d55;
    border-color: #ff2d55;
}

.page-dots {
    color: #888;
    padding: 0 6px;
    font-weight: 600;
}

.page-info {
    color: #888;
    font-size: 12px;
    margin-left: 10px;
    background: rgba(0,0,0,0.5);
    padding: 5px 10px;
    border-radius: 20px;
}

/* ===== INPUTS ===== */
.input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrap input {
    width: 100%;
    padding: 10px 40px 10px 12px;
    border-radius: 10px;
    border: 1px solid #2a2a2a;
    background: #1e1e1e;
    color: #fff;
}

.filter-overlay {
    position: absolute;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #aaa;
    font-size: 14px;
    pointer-events: auto;
}

.remove-filter {
    color: #ff4d4d;
    text-decoration: none;
    font-size: 10px;
    cursor: pointer;
}

.remove-filter:hover {
    color: #ff1a1a;
}

#clearInside {
    position: absolute;
    right: 30px;
    background: transparent;
    border: none;
    color: #aaa;
    font-size: 16px;
    cursor: pointer;
    display: none;
}

#clearInside:hover {
    color: #fff;
}

input[readonly]::placeholder {
    color: #ffcc00;
}

/* ===== BOTÕES UI ===== */
#toggleUI,
#threeDotsBtnHeader {
    position: absolute;
    top: 92px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    cursor: pointer;
    transition: 0.2s;
}

#toggleUI {
    right: 12px;
}

#threeDotsBtnHeader {
    right: 50px;
}

.age-warning-tip {
    transition: opacity 0.5s ease;
}

/* ===== MINI-PLAYER ===== */
body.mini-player .player {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 180px !important;
    z-index: 100 !important;
    background: #000 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    transform: none !important;
}

body.mini-player .iframe-container {
    width: auto !important;
    height: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.mini-player #modelIframe {
    width: min(320px, 90vw) !important;
    height: 220px !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    display: block !important;
    margin: 0 auto !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
    padding: 0 !important;
    border: 0 !important;
}

body.mini-player .top-header {
    position: fixed !important;
    top: 130px !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 199999 !important;
    background: transparent !important;
    padding: 6px 10px !important;
}

body.mini-player .top-header img,
body.mini-player .top-header .avatar {
    width: 28px !important;
    height: 28px !important;
}

body.mini-player .top-header .username,
body.mini-player .top-header h1,
body.mini-player .top-header span {
    font-size: 10px !important;
}

body.mini-player .top-header button,
body.mini-player .top-header .next-btn {
    font-size: 8px !important;
    padding: 2px 4px !important;
    border-radius: 2px !important;
}

body.mini-player .top-header * {
    line-height: 1.2 !important;
}

body.mini-player .signup-mini {
    display: none !important;
}

body.mini-player #nextModelBtn,
body.mini-player .next-mini {
    background: rgba(0, 0, 0, 0.35) !important;
    backdrop-filter: blur(6px) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    color: #fff !important;
}

body.mini-player .controls,
body.mini-player .ctrlBtn,
body.mini-player #toggleUI,
body.mini-player .swipe-area,
body.mini-player .brand-small,
body.mini-player .extra-info,
body.mini-player .tags,
body.mini-player .watch-container222,
body.mini-player .thumbnail-nav,
body.mini-player .age-warning-tip {
    display: none !important;
}

body.mini-player .next-overlay.active,
body.mini-player .slide-card-overlay222.active {
    position: fixed !important;
    top: 175px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    z-index: 99999998 !important;
}

body.mini-player .next-card,
body.mini-player .slide-card222 {
    height: 100% !important;
    overflow-y: auto !important;
}

body.mini-player #threeDotsBtnHeader {
    display: none !important;
}

/* ===== BOTÃO RESTORE ===== */
.restore-btn222 {
    background: rgba(255,165,0,0.2);
    backdrop-filter: blur(6px);
    border-radius: 12px;
    width: auto;
    min-width: 50px;
    height: auto;
    display: inline-flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    gap: 3px;
    padding: 6px 10px;
    color: #fffffff;
    border: none;
    flex-shrink: 0;
}

.restore-btn222 .restore-icon {
    font-size: 16px;
}

.restore-btn222 .restore-text {
    font-size: 8px;
    font-weight: 500;
    text-transform: lowercase;
    letter-spacing: 0.3px;
}

.restore-btn222a {
    background: rgba(255,165,0,0.2);
    backdrop-filter: blur(6px);
    border-radius: 12px;
    width: auto;
    min-width: 50px;
    height: auto;
    display: inline-flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    gap: 3px;
    padding: 6px 10px;
    color: #ffaa44;
    border: none;
    flex-shrink: 0;
    position: absolute;
    right: 35px;
    top: -5px;
}

.restore-btn222a .restore-icon {
    font-size: 16px;
}

.restore-btn222a .restore-text {
    font-size: 8px;
    font-weight: 500;
    text-transform: lowercase;
    letter-spacing: 0.3px;
}

.restore-btn222:hover,
.restore-btn222a:hover {
    background: rgba(255,165,0,0.4);
    transform: scale(1.05);
}

/* ===== CARD RESTORE ===== */
#restoreCardOverlay222 .slide-card222 {
    background: linear-gradient(135deg, #1a0a1a 0%, #2a0a2a 100%) !important;
    border-top: 2px solid #ff69b4 !important;
}

#restoreCardOverlay222 .card-header222 {
    border-bottom-color: #ff69b4 !important;
}

#restoreCardOverlay222 .card-header222 h3 {
    color: #ff69b4 !important;
}

.no-more-results {
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: #aaa;
    padding: 10px 0;
    opacity: 0.7;
}

.clear-history-btn {
    background: rgba(255,105,180,0.2);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    color: #ff69b4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clear-history-btn:hover {
    background: rgba(255,105,180,0.4);
    transform: scale(1.05);
    color: #ff1493;
}

/* ===== CORAÇÃO FAVORITO ===== */
.fav-card-heart {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 27px;
    color: #ff8888;
    transition: all 0.2s ease;
    z-index: 10;
    border: none !important;
    will-change: transform;
}

.fav-card-heart:hover {
    color: #ff4444;
    transform: scale(1.1);
}

/* ===== EFEITO CORAÇÃO FLUTUANTE ===== */
.floating-heart {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    pointer-events: none;
    z-index: 9999;
    animation: heartFloat 0.8s ease-out forwards;
    filter: drop-shadow(0 0 10px rgba(255,0,0,0.5));
}

@keyframes heartFloat {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.5);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -80px) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -150px) scale(1.5);
    }
}

.floating-heart:nth-child(odd) {
    animation: heartFloat 0.7s ease-out forwards;
}

.floating-heart:nth-child(even) {
    animation: heartFloat 0.9s ease-out forwards;
}

.empty-state {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.empty-message {
    text-align: center;
    color: #ff69b4;
    font-size: 14px;
}

.empty-message span {
    display: block;
    font-size: 11px;
    color: #888;
    margin-top: 4px;
}