* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    background: linear-gradient(135deg, #f5f7fc 0%, #e8edf5 100%);
    color: #1a2634;
    line-height: 1.5;
    min-height: 100vh;
    padding: 20px 0;
}

.container {
    background: white;
    max-width: 920px;
    margin: 0 auto;
    padding: 18px;
}

header {
    text-align: left;
    padding: 5px 0 4px;
}

.header-line {
    border-top: 1px solid #dce5ec;
    margin-top: 10px;
}

.header-text {
    font-size: 1rem;
}

.banner {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    background: #f0f0f0;
    border-radius: 8px;
    margin-bottom: 20px;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.app-header {
    padding-top: 10px;
    margin-bottom: 24px;
	border: 5px;
	border-radius: 8px;
}

.app-header-top {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 16px;
}

.app-description {
    color: #4a5a6a;
    font-size: 1.05rem;
    line-height: 1.7;
}

.section-heading {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.disclaimer_stream {
    background: #fffaf2;
    border-radius: 5px;
    border-left: 5px solid #f5a623;
    padding: 5px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 10px;
}

.disclaimer_interactive {
	margin-top: 8px;
    background: #fffaf2;
    border-radius: 5px;
    border-left: 5px solid #f5a623;
    padding: 5px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
	width: 100%;
}

.disclaimer-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.disclaimer-text {
    color: #6a5a3a;
    font-size: 0.95rem;
    line-height: 1.5;
}

.video-section {
    overflow: hidden;
	border: 1px solid #dce5ec;
    border-radius: 5px;
	padding: 10px;
}

.treads-section {
    overflow: hidden;
	border: 1px solid #dce5ec;
    border-radius: 5px;
	padding: 10px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #1a1a1a;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.action-section {
	border: 1px solid #dce5ec;
    border-radius: 5px;
	padding: 10px;
}

.buttons-wrapper {
    display: flex;
    justify-content: left;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 7px;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.25s ease;
    text-align: center;
    min-width: 150px;
    font-family: inherit;
    line-height: 1;
	cursor: pointer;
}

.btn_thread {
    padding: 3px 10px;
	margin-top: 5px;
	cursor: pointer;
}

.message-input {
    width: 100%;
	margin-top: 20px;
    max-width: 500px;
    padding: 10px 14px;
    border: 1px solid #d0d9e3;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    outline: none;
    transition: 0.2s;
    min-height: 80px;
    line-height: 1;
    background: white;
}

.message {
    width: 100%;
	height: 100%;
    padding: 10px 14px;
    border: 1px solid #d0d9e3;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    line-height: 1;
    background: #EEE;
	margin-top: 8px;
}

.message-info {
    color: #1d7e5c;
}

.message-text {
	margin-top: 8px;
}

.thread-section {
    margin-top: 8px;
}

.thread-messages {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
    max-height: 320px;
    overflow-y: auto;
    padding-right: 4px;
}

.thread-message {
    background: #f1f4f9;
    padding: 14px 18px;
    border-radius: 18px 18px 18px 4px;
    border-left: 4px solid #1d7e5c;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    font-size: 0.98rem;
    word-break: break-word;
    max-width: 90%;
}

.thread-message:nth-child(2) {
    border-left-color: #4a8bb7;
    background: #eef3fa;
    align-self: flex-end;
    border-radius: 18px 18px 4px 18px;
}

.thread-input-area {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    background: #f8fafc;
    padding: 16px 20px;
    border-radius: 40px;
    border: 1px solid #dce5ec;
    margin-top: 8px;
}

.thread-input-area input {
    flex: 1;
    min-width: 160px;
    padding: 12px 18px;
    border: 1px solid #d0d9e3;
    border-radius: 40px;
    font-size: 1rem;
    background: white;
    outline: none;
    transition: 0.2s;
    font-family: inherit;
}

.thread-input-area input:focus {
    border-color: #1d7e5c;
    box-shadow: 0 0 0 3px rgba(29, 126, 92, 0.15);
}

.thread-input-area .btn-send {
    background: #1d7e5c;
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
    font-family: inherit;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.thread-input-area .btn-send:hover {
    background: #15694a;
    transform: scale(0.97);
}

.thread-input-area .btn-send:active {
    transform: scale(0.95);
}

.thread-messages::-webkit-scrollbar {
    width: 5px;
}

.thread-messages::-webkit-scrollbar-track {
    background: #eef2f7;
    border-radius: 10px;
}

.thread-messages::-webkit-scrollbar-thumb {
    background: #b8c8d9;
    border-radius: 10px;
}

.tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #dce5ec;
    margin-bottom: 15px;
}

.tab-btn {
    padding: 3px 10px;
    background: white;
    border: 1px solid #dce5ec;
    border-bottom: none;
    border-radius: 5px 5px 0 0;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
    color: #1a2634;
    transition: all 0.2s ease;
    margin-right: 4px;
	cursor: pointer;
}

.tab-btn:hover {
    background: #eef2f7;
	cursor: pointer;
}

.tab-btn.active {
    border-bottom: 2px solid white;
    margin-bottom: -2px;
}

footer {
    text-align: center;
    padding: 8px 0 4px;
}

.footer-line {
    border-top: 1px solid #dce5ec;
    margin-bottom: 16px;
}

.footer-text {
    font-size: 0.85rem;
    color: #7a8a9a;
}