main { max-width: 1080px; margin: 0 auto; padding: calc(12px + env(safe-area-inset-top)) 16px calc(48px + env(safe-area-inset-bottom)); overflow-wrap: anywhere; }
.dau-trang, .tieu-de, .dau-goi { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dau-trang .ten-trang { margin: 0; }
.dau-trang nav { display: flex; gap: 14px; }
.dau-trang nav a { padding: 10px 0; color: var(--nhan); font-weight: 500; }
.tieu-de { flex-wrap: wrap; margin: 18px 0 14px; }
.tieu-de .nut, .dau-goi .nut { white-space: nowrap; }
#can-dang-nhap, .trong { display: grid; justify-items: start; gap: 14px; padding: 24px; border-radius: 22px; background: var(--the); }
#goi { display: grid; gap: 12px; padding: 16px; border-radius: 22px; background: #f8ece6; }
.dau-goi { flex-wrap: wrap; }
.dau-goi h2 { color: var(--nhan); font-size: 1.125rem; line-height: 1.4; }
#cac-loc { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 14px; }
#cac-loc button { padding-inline: 12px; border-radius: 999px; font-size: .9375rem; }
#cac-loc [aria-pressed=true] { border-color: var(--nhan); background: var(--nhan); color: #fff; }
#cac-thiep { display: grid; gap: 16px; }
.mot-thiep { display: grid; grid-template-columns: 96px 1fr; align-content: start; gap: 14px; padding: 14px; border-radius: 22px; background: var(--the); min-width: 0; }
.hinh-thiep img { width: 96px; height: 148px; border-radius: 14px; background: #f8ece6; object-fit: cover; object-position: top; }
.ve-thiep { display: grid; align-content: start; gap: 4px; min-width: 0; }
.ve-thiep h3 { font-size: 1.1875rem; font-weight: 600; line-height: 1.35; }
.cac-nhan { display: flex; flex-wrap: wrap; gap: 6px; }
.trang-thai.da-tra { background: #e6f1e4; color: #245a2c; }
.trang-thai.het-thu { background: #fbe3e3; color: #8a1220; }
.nut.thanh-toan { grid-column: 1 / -1; width: 100%; border-color: #8a5a0b; background: #fff4d8; color: #5a3a06; font: inherit; font-weight: 600; cursor: pointer; }
.nut.thanh-toan:disabled { opacity: .6; cursor: default; }
.luot-tang { padding: 10px 14px; border-radius: 14px; background: #fff4d8; color: #5a3a06; font-weight: 600; }
#ket-qua-don { padding: 14px 18px; border-radius: 16px; background: #f8ece6; font-weight: 600; }
.trang-thai { justify-self: start; padding: 2px 10px; border-radius: 999px; background: #efe6e2; font-size: .875rem; font-weight: 500; }
.dang-hien { background: #dff0e2; color: #22592f; }
.can-xem { background: #fbeac5; color: #6b4a06; }
.viec-thiep { display: grid; grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: 8px; }
.viec-thiep > * { padding-inline: 8px; font-size: 1rem; }
.them-viec { grid-column: 1 / -1; }
.them-viec summary { padding: 10px 0; color: var(--phu); cursor: pointer; }
.them-viec div { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 760px) { #cac-thiep { grid-template-columns: 1fr 1fr; align-items: start; } }

/* Hộp tạo video */
.hop-video { width: min(440px, calc(100vw - 32px)); height: max-content; margin: auto; padding: 24px; border: 0; border-radius: 24px; background: #fffaf5; color: #40262a; }
.hop-video[open] { display: grid; gap: 12px; }
.hop-video::backdrop { background: rgb(40 12 18 / .55); }
.hop-video progress { width: 100%; height: 10px; accent-color: #a51a2b; }
.hop-video .chu-video { font-weight: 500; }
.nut-video { justify-self: start; }
