.looai-room {
    background: linear-gradient(145deg, #111827, #0f766e);
    color: #ffffff;
}

.looai-main {
    min-height: 100%;
    background: radial-gradient(circle at top left, rgba(20, 184, 166, 0.14), transparent 30%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0));
    overflow-y: auto;
}

#main-looai .page-content-wrapper {
    height: calc((var(--vh, 1vh) * 100));
}

#main-looai .looai-main {
    display: flex;
    min-height: 0;
    height: 100%;
    padding: 24px;
    overflow: hidden;
}

#main-looai .looai-panel {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: 100%;
    max-width: none;
    min-height: 0;
    height: 100%;
    margin: 0;
}

.looai-panel {
    width: min(920px, calc(100% - 32px));
    margin: 32px auto;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.92);
    color: #e5eef8;
    box-shadow: 0 22px 80px rgba(2, 6, 23, 0.34);
    overflow: hidden;
}

.looai-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 28px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.18), rgba(59, 130, 246, 0.08));
}

.looai-kicker {
    display: block;
    margin-bottom: 6px;
    color: #5eead4;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
}

.looai-header h2 {
    margin: 0;
    color: #ffffff;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 0;
}

.looai-header p {
    margin: 8px 0 0;
    color: #b6c5d8;
    font-size: 14px;
}

.looai-mark {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border-radius: 16px;
    background: #14b8a6;
    color: #06221f;
    font-size: 28px;
}

.looai-thread {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 280px;
    max-height: 52vh;
    padding: 24px;
    overflow-y: auto;
}

#main-looai .looai-thread {
    min-height: 0;
    max-height: none;
}

.Whitoo AI-bubble {
    max-width: 82%;
    padding: 12px 14px;
    border-radius: 16px;
    line-height: 1.55;
    white-space: pre-wrap;
    word-break: break-word;
}

.Whitoo AI-bubble-ai {
    align-self: flex-start;
    background: rgba(30, 41, 59, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.16);
    color: #e2e8f0;
}

.Whitoo AI-bubble-user {
    align-self: flex-end;
    background: #0f766e;
    color: #ffffff;
}

.looai-form {
    display: grid;
    grid-template-columns: 1fr 48px;
    gap: 10px;
    padding: 18px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(2, 6, 23, 0.32);
}

.looai-form textarea {
    min-height: 54px;
    max-height: 140px;
    resize: vertical;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 14px;
    padding: 14px 15px;
    background: rgba(15, 23, 42, 0.78);
    color: #ffffff;
    outline: none;
}

.looai-form textarea:focus {
    border-color: #2dd4bf;
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.18);
}

.looai-send {
    display: grid;
    place-items: center;
    width: 48px;
    height: 54px;
    border: 0;
    border-radius: 14px;
    background: #14b8a6;
    color: #06221f;
    font-size: 22px;
    cursor: pointer;
}

.looai-send:disabled {
    cursor: wait;
    opacity: 0.7;
}

.looai-login-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 24px 24px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(250, 204, 21, 0.12);
    color: #fde68a;
}

.Whitoo AI-home-shortcut {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px auto 22px;
    padding: 12px 14px;
    max-width: 720px;
    border: 1px solid rgba(20, 184, 166, 0.25);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.06);
}

.Whitoo AI-home-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 12px;
    background: #0f766e;
    color: #ffffff;
    font-size: 22px;
}

.Whitoo AI-home-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.Whitoo AI-home-copy strong {
    color: inherit;
    font-size: 15px;
}

.Whitoo AI-home-copy span {
    color: #64748b;
    font-size: 13px;
}

.Whitoo AI-home-link {
    margin-left: auto;
    padding: 8px 12px;
    border-radius: 10px;
    background: #14b8a6;
    color: #06221f;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.Whitoo AI-home-link:hover {
    color: #06221f;
    filter: brightness(1.04);
}

html.dark .Whitoo AI-home-shortcut {
    background: rgba(15, 23, 42, 0.48);
}

html.dark .Whitoo AI-home-copy span {
    color: #9fb0c6;
}

@media (max-width: 640px) {
    #main-looai.active.show {
        display: block;
    }

    #main-looai .page-content-wrapper {
        height: calc((var(--vh, 1vh) * 100));
    }

    #main-looai .looai-main {
        display: flex;
        min-height: 0;
        height: 100%;
        padding: 8px;
        overflow: hidden;
    }

    .looai-panel {
        width: calc(100% - 18px);
        margin: 12px auto;
        border-radius: 14px;
    }

    #main-looai .looai-panel {
        width: 100%;
        height: 100%;
        margin: 0;
        border-radius: 14px;
    }

    .looai-header {
        padding: 20px;
    }

    .looai-header h2 {
        font-size: 24px;
    }

    .looai-thread {
        min-height: 0;
        max-height: none;
        padding: 16px;
    }

    .looai-form {
        grid-template-columns: 1fr 48px;
        padding: 12px;
    }

    .looai-form textarea {
        min-height: 52px;
        max-height: 96px;
    }

    .Whitoo AI-bubble {
        max-width: 94%;
    }

    .Whitoo AI-home-shortcut {
        align-items: flex-start;
        margin-left: 0;
        margin-right: 0;
    }
}

.ltplus-page {
    margin: 28px 0;
}

.ltplus-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 30px;
    border-radius: 18px;
    background: linear-gradient(135deg, #111827, #0f766e);
    color: #ffffff;
}

.ltplus-hero span {
    color: #5eead4;
    font-weight: 700;
}

.ltplus-hero h1 {
    margin: 6px 0;
    font-size: 40px;
}

.ltplus-hero p {
    max-width: 680px;
    margin: 0;
    color: #d7f7f1;
}

.ltplus-status {
    min-width: 180px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 14px;
    background: rgba(255,255,255,.08);
}

.ltplus-status strong,
.ltplus-status small {
    display: block;
}

.ltplus-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0;
}

.ltplus-card,
.ltplus-form-card {
    padding: 18px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.06);
}

.ltplus-checkout {
    border: 1px solid rgba(20, 184, 166, 0.28);
}

.ltplus-duration-options {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.ltplus-duration-card {
    position: relative;
    display: block;
    padding: 18px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 16px;
    cursor: pointer;
    background: rgba(15, 23, 42, 0.04);
}

.ltplus-duration-card input {
    position: absolute;
    opacity: 0;
}

.ltplus-duration-card:has(input:checked) {
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.18);
}

.ltplus-duration-card strong,
.ltplus-duration-card span {
    display: block;
}

.ltplus-duration-card span {
    margin-top: 8px;
    color: #0f766e;
    font-size: 20px;
    font-weight: 800;
}

.ltplus-payment-methods {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.ltplus-payment-methods label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 12px;
    cursor: pointer;
}

.ltplus-payment-methods label:has(input:checked) {
    border-color: #14b8a6;
    background: rgba(20, 184, 166, 0.12);
}

.ltplus-bank-box {
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px dashed rgba(20, 184, 166, 0.5);
    border-radius: 14px;
    background: rgba(20, 184, 166, 0.08);
}

.ltplus-bank-box span {
    word-break: break-word;
}

.ltplus-card i {
    display: inline-flex;
    margin-bottom: 10px;
    font-size: 28px;
    color: #0f766e;
}

.ltplus-card strong,
.ltplus-card span {
    display: block;
}

.ltplus-card span {
    margin-top: 6px;
    color: #64748b;
}

html.dark .ltplus-card,
html.dark .ltplus-form-card {
    background: rgba(15, 23, 42, 0.5);
}

html.dark .ltplus-card span {
    color: #a8b5c7;
}

@media (max-width: 768px) {
    .ltplus-hero {
        display: block;
        padding: 22px;
    }

    .ltplus-status {
        margin-top: 16px;
    }

    .ltplus-grid {
        grid-template-columns: 1fr;
    }

    .ltplus-duration-options,
    .ltplus-payment-methods {
        grid-template-columns: 1fr;
    }
}

.ltplus-premium-page,
.ltplus-referral-page {
    width: min(1180px, calc(100% - 28px));
    margin: 34px auto;
    color: #e8eef8;
}

.ltplus-premium-hero,
.ltplus-referral-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 24px;
    align-items: stretch;
    overflow: hidden;
    padding: 34px;
    border: 1px solid rgba(94, 234, 212, 0.22);
    border-radius: 24px;
    background:
        linear-gradient(120deg, rgba(13, 148, 136, 0.84), rgba(30, 41, 59, 0.96) 48%, rgba(88, 28, 135, 0.86)),
        #111827;
    box-shadow: 0 28px 90px rgba(2, 6, 23, 0.34);
}

.ltplus-premium-hero:before,
.ltplus-referral-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.16) 45%, transparent 70%);
    transform: translateX(-120%);
    animation: ltplus-sheen 5.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ltplus-sheen {
    0%, 42% { transform: translateX(-120%); }
    72%, 100% { transform: translateX(120%); }
}

.ltplus-hero-copy,
.ltplus-referral-hero > div {
    position: relative;
    z-index: 1;
}

.ltplus-eyebrow {
    display: inline-flex;
    margin-bottom: 8px;
    color: #5eead4;
    font-size: 12px;
    font-weight: 800;
}

.ltplus-premium-hero h1,
.ltplus-referral-hero h1 {
    margin: 0;
    color: #ffffff;
    font-size: 48px;
    font-weight: 900;
    letter-spacing: 0;
}

.ltplus-premium-hero p,
.ltplus-referral-hero p {
    max-width: 680px;
    margin: 10px 0 0;
    color: rgba(236, 253, 245, 0.9);
    font-size: 16px;
    line-height: 1.7;
}

.ltplus-feature-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.ltplus-feature-row span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.24);
    color: #ffffff;
    font-weight: 700;
}

.ltplus-live-card,
.ltplus-referral-score {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: center;
    gap: 8px;
    min-height: 170px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 20px;
    background: rgba(2, 6, 23, 0.34);
    backdrop-filter: blur(12px);
}

.ltplus-live-card strong,
.ltplus-referral-score strong {
    color: #ffffff;
    font-size: 42px;
    line-height: 1;
}

.ltplus-live-card span,
.ltplus-live-card small,
.ltplus-referral-score small,
.ltplus-referral-score span {
    color: #cbd5e1;
}

.ltplus-checkout-shell,
.ltplus-referral-grid {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 18px;
    margin-top: 18px;
}

.ltplus-benefit-panel,
.ltplus-checkout-card,
.ltplus-referral-card {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(17, 24, 39, 0.98));
    box-shadow: 0 20px 70px rgba(2, 6, 23, 0.22);
}

.ltplus-benefit-panel,
.ltplus-referral-card {
    padding: 24px;
}

.ltplus-checkout-card {
    padding: 24px;
}

.ltplus-benefit-panel h2,
.ltplus-checkout-card h2,
.ltplus-referral-card h2 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 24px;
    letter-spacing: 0;
}

.ltplus-benefit-list {
    display: grid;
    gap: 12px;
}

.ltplus-benefit-list div {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 16px;
    background: rgba(30, 41, 59, 0.76);
    color: #dbeafe;
}

.ltplus-benefit-list i {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 13px;
    background: #14b8a6;
    color: #042f2e;
    font-size: 21px;
}

.ltplus-form-head span,
.ltplus-payment-title {
    color: #5eead4;
    font-size: 12px;
    font-weight: 800;
}

.ltplus-duration-options,
.ltplus-payment-methods {
    margin-top: 12px;
}

.ltplus-duration-card {
    min-height: 122px;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.82), rgba(15, 23, 42, 0.92));
    color: #e5eef8;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.ltplus-duration-card:hover,
.ltplus-payment-methods label:hover {
    transform: translateY(-2px);
}

.ltplus-duration-card b,
.ltplus-duration-card strong,
.ltplus-duration-card small {
    display: block;
}

.ltplus-duration-card strong {
    margin-top: 10px;
    color: #5eead4;
    font-size: 24px;
}

.ltplus-duration-card small {
    color: #94a3b8;
}

.ltplus-payment-methods label {
    min-height: 58px;
    background: rgba(30, 41, 59, 0.72);
    color: #e5eef8;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.ltplus-payment-methods input {
    accent-color: #14b8a6;
}

.ltplus-payment-methods span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
}

.ltplus-bank-area {
    margin-top: 16px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.72);
}

.ltplus-bank-area .form-label {
    color: #e2e8f0;
}

.ltplus-bank-area .form-control,
.ltplus-referral-copy input {
    border-color: rgba(148, 163, 184, 0.22);
    background: rgba(2, 6, 23, 0.44);
    color: #ffffff;
}

.ltplus-main-button,
.ltplus-referral-copy button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 52px;
    margin-top: 18px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #14b8a6, #3b82f6);
    color: #ffffff;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 16px 38px rgba(20, 184, 166, 0.2);
}

.ltplus-referral-copy {
    display: grid;
    grid-template-columns: 1fr 130px;
    gap: 10px;
}

.ltplus-referral-copy input {
    min-height: 52px;
    padding: 0 14px;
    border-radius: 14px;
}

.ltplus-referral-code {
    margin-top: 12px;
    color: #cbd5e1;
}

.ltplus-progress-track {
    height: 12px;
    margin: 18px 0 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.18);
}

.ltplus-progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #14b8a6, #f59e0b);
}

.ltplus-referral-list {
    display: grid;
    gap: 10px;
}

.ltplus-referral-list div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(30, 41, 59, 0.72);
}

.ltplus-referral-list span {
    color: #ffffff;
    font-weight: 800;
}

.ltplus-referral-list small,
.ltplus-referral-card small,
.ltplus-referral-card p {
    color: #94a3b8;
}

@media (max-width: 900px) {
    .ltplus-premium-hero,
    .ltplus-referral-hero,
    .ltplus-checkout-shell,
    .ltplus-referral-grid {
        grid-template-columns: 1fr;
    }

    .ltplus-premium-hero h1,
    .ltplus-referral-hero h1 {
        font-size: 36px;
    }
}

@media (max-width: 640px) {
    .ltplus-premium-page,
    .ltplus-referral-page {
        width: calc(100% - 16px);
        margin: 12px auto;
    }

    .ltplus-premium-hero,
    .ltplus-referral-hero,
    .ltplus-benefit-panel,
    .ltplus-checkout-card,
    .ltplus-referral-card {
        padding: 18px;
        border-radius: 18px;
    }

    .ltplus-referral-copy {
        grid-template-columns: 1fr;
    }
}

/* Whitoo AI message polish: remove error-strip look */
.looai-thread {
    padding: 22px !important;
    gap: 14px !important;
    background:
        radial-gradient(520px 260px at 84% 0%, rgba(255,255,255,.045), transparent 62%),
        linear-gradient(180deg, rgba(7,11,22,.42), rgba(7,11,22,.18));
}

.looai-bubble {
    display: inline-block !important;
    width: fit-content;
    max-width: min(78%, 760px) !important;
    padding: 12px 15px !important;
    border-radius: 18px !important;
    line-height: 1.55 !important;
    box-shadow: 0 12px 26px rgba(0,0,0,.16) !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    background: rgba(255,255,255,.075) !important;
    color: #f8fafc !important;
}

.looai-bubble-ai {
    align-self: flex-start !important;
    border-bottom-left-radius: 8px !important;
    background:
        linear-gradient(135deg, rgba(255,255,255,.105), rgba(255,255,255,.045)) !important;
    border-color: rgba(255,255,255,.12) !important;
}

.looai-bubble-user {
    align-self: flex-end !important;
    border-bottom-right-radius: 8px !important;
    background:
        linear-gradient(135deg, #ffffff 0%, #ffe9ed 100%) !important;
    color: #2a1218 !important;
    border-color: rgba(215,25,53,.22) !important;
    box-shadow: 0 14px 28px rgba(215,25,53,.13) !important;
}

html.light .looai-thread {
    background:
        radial-gradient(520px 260px at 84% 0%, rgba(215,25,53,.055), transparent 62%),
        linear-gradient(180deg, #fffafa, #ffffff);
}

html.light .looai-bubble-ai {
    background: #ffffff !important;
    color: #241015 !important;
    border-color: rgba(15,23,42,.10) !important;
}

html.light .looai-bubble-user {
    background: linear-gradient(135deg, #d71935, #ef3b4f) !important;
    color: #ffffff !important;
    border-color: rgba(215,25,53,.22) !important;
}

@media (max-width: 640px) {
    .looai-bubble {
        max-width: 92% !important;
    }
}

/* Home Whitoo AI shortcut */
.looai-home-shortcut {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    width: min(760px, 100%);
    margin: 20px auto 24px;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 18px;
    text-decoration: none !important;
    background:
        radial-gradient(360px 180px at 90% 0%, rgba(239,59,79,.14), transparent 64%),
        linear-gradient(135deg, rgba(255,255,255,.085), rgba(255,255,255,.035));
    box-shadow: 0 18px 42px rgba(0,0,0,.16);
    color: #ffffff !important;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.looai-home-shortcut:hover {
    transform: translateY(-1px);
    border-color: rgba(239,59,79,.34);
    box-shadow: 0 22px 48px rgba(215,25,53,.12), 0 18px 42px rgba(0,0,0,.18);
    color: #ffffff !important;
}

.looai-home-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff, #ffe8ec);
    color: #d71935;
    box-shadow: 0 12px 24px rgba(215,25,53,.16);
}

.looai-home-icon i {
    font-size: 23px;
}

.looai-home-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    text-align: left;
}

.looai-home-copy strong {
    color: #ffffff;
    font-size: 16px;
    font-weight: 900;
}

.looai-home-copy span {
    color: rgba(255,255,255,.72);
    font-size: 13px;
    font-weight: 600;
}

.looai-home-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 13px;
    background: linear-gradient(135deg, #d71935, #ef3b4f);
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 12px 24px rgba(215,25,53,.18);
}

html.light .looai-home-shortcut {
    background: linear-gradient(135deg, #ffffff, #fff3f5);
    border-color: rgba(215,25,53,.14);
    color: #241015 !important;
    box-shadow: 0 18px 42px rgba(60,17,26,.08);
}

html.light .looai-home-shortcut:hover {
    color: #241015 !important;
}

html.light .looai-home-copy strong {
    color: #241015;
}

html.light .looai-home-copy span {
    color: #6b4a51;
}

@media (max-width: 640px) {
    .looai-home-shortcut {
        grid-template-columns: 44px minmax(0, 1fr);
        padding: 13px;
        margin: 16px auto 20px;
    }

    .looai-home-link {
        grid-column: 1 / -1;
        width: 100%;
    }
}
