:root { --nen: #faf2ec; --chu: #3f2c22; --mo: #7c6150; --nau: #98592f; --vach: #e3d0c2; --giay: #fffaf6; }
* { box-sizing: border-box; } [hidden] { display: none !important; }
body { margin: 0; background: var(--nen); color: var(--chu); font: 400 16px/1.55 "Be Vietnam Pro", system-ui, sans-serif; }
h1, h2, h3 { font-family: "Cormorant Garamond", serif; font-weight: 500; line-height: 1.2; margin: 0; text-wrap: balance; } p { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; } :focus-visible { outline: 3px solid var(--nau); outline-offset: 2px; }
.nut { display: inline-block; padding: 10px 18px; border: 1px solid var(--nau); background: var(--nau); color: #fff; font-weight: 600; text-decoration: none; cursor: pointer; text-align: center; border-radius: 4px; }
.nut:hover { background: var(--nau2, #7f4824); } .nut.vien { background: none; color: var(--nau); } .nut.vien:hover { background: var(--nhat, #f1e1d5); } .nut:disabled { opacity: .5; cursor: default; }
.dau { display: flex; align-items: center; gap: 16px; padding: 12px max(20px, calc((100vw - 1280px) / 2)); border-bottom: 1px solid var(--vach); background: var(--nen); } .dau a:first-child { margin-right: auto; } .dau img { height: 38px; display: block; }
.trang { max-width: 1280px; margin: auto; padding: 48px 20px 80px; }
.mo { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 48px; align-items: center; margin-bottom: 88px; } .mo h1 { font-size: clamp(34px, 4.4vw, 58px); } .mo p { margin: 20px 0 28px; max-width: 44ch; color: var(--mo); }
#mau > h2 { margin-bottom: 28px; }
.luoi { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 40px 28px; } .luoi article > button { border: 0; padding: 0; width: 100%; cursor: pointer; background: none; } .luoi h3 { font-size: 24px; margin-top: 12px; } .luoi p { color: var(--mo); margin: 4px 0 14px; min-height: 3.1em; } .luoi div, .hang { display: flex; gap: 10px; flex-wrap: wrap; }
canvas { width: 100%; aspect-ratio: 16/9; display: block; background: #eadfd6; }
.san { position: relative; } .san:fullscreen { background: #000; display: grid; align-items: center; } .san:fullscreen canvas { max-height: 100vh; object-fit: contain; background: #000; }
.to { position: absolute; inset: auto 4% 6% auto; width: 60px; height: 60px; border-radius: 50%; border: 0; background: rgba(40, 24, 14, .72); cursor: pointer; } .to svg { width: 28px; fill: #fff; }
.dk { display: flex; align-items: center; gap: 10px; padding: 8px 4px; } .dk button { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; } .dk svg { width: 24px; fill: var(--nau); display: block; margin: auto; } .dk input { flex: 1; min-width: 60px; accent-color: var(--nau); } .g { font-variant-numeric: tabular-nums; font-size: 14px; white-space: nowrap; }
.bt { font-size: 14px; color: var(--mo); } .yt { width: 320px; max-width: 100%; height: 200px; margin-top: 10px; } .yt iframe, .yt > div { width: 100%; height: 100%; border: 0; }
dialog { border: 0; padding: 22px; width: min(960px, calc(100vw - 24px)); max-height: 94vh; background: var(--giay); color: var(--chu); border-radius: 6px; } dialog::backdrop { background: rgba(30, 18, 10, .7); } dialog form { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 12px; } dialog h2 { font-size: 24px; } dialog > p { margin: 8px 0 16px; }
.xemtrang { max-width: 1120px; } .xemtrang h1 { font-size: clamp(28px, 4vw, 44px); text-align: center; margin-bottom: 24px; } footer { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; } footer img { height: 34px; } footer a { color: var(--nau); }
.chieu { background: #000; overflow: hidden; } .chieu canvas { width: 100vw; height: 100vh; object-fit: contain; background: #000; } .chieu p { position: fixed; bottom: 6vh; width: 100%; text-align: center; color: #fff; text-shadow: 0 1px 6px #000; } :fullscreen .chieu p { display: none; } :fullscreen .chieu { cursor: none; }
.ql { list-style: none; padding: 0; } .ql li { display: flex; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--vach); flex-wrap: wrap; } .ql a { flex: 1; color: var(--nau); } .ql span { color: var(--mo); font-size: 14px; }
.d .dau { position: sticky; top: 0; z-index: 5; } #luu { font-size: 14px; color: var(--mo); }
.ban { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; max-width: 1400px; margin: auto; padding: 28px 20px 80px; align-items: start; } .ban aside { position: sticky; top: 90px; }
.bieu section { padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid var(--vach); } .bieu h2 { font-size: 24px; margin-bottom: 14px; } .bieu label:not(.nut) { display: block; font-size: 14px; color: var(--mo); margin-bottom: 12px; }
input:not([type=range], [type=radio], [type=checkbox], [type=file]), textarea, select { display: block; width: 100%; margin-top: 4px; padding: 10px 12px; border: 1px solid var(--dam, #c9b09d); background: var(--giay); color: var(--chu); font-size: 16px; border-radius: 4px; } textarea { resize: vertical; min-height: 84px; }
.doi { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .phu { font-size: 14px; color: var(--mo); margin-top: 10px; } #ttanh { margin-bottom: 12px; }
.chonmau { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; } .chonmau button { border: 2px solid transparent; padding: 3px; background: none; cursor: pointer; font-size: 14px; border-radius: 4px; } .chonmau [aria-pressed=true] { border-color: var(--nau); font-weight: 600; }
.kho { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; margin-top: 14px; } .kho button { position: relative; padding: 0; border: 2px solid transparent; aspect-ratio: 2/3; cursor: pointer; background: #eadfd6; } .kho button[aria-pressed=true] { border-color: var(--nau); } .kho img, .o img { width: 100%; height: 100%; object-fit: cover; display: block; }
details { border-top: 1px solid var(--vach); } details[open] { padding-bottom: 14px; } summary { padding: 12px 0; cursor: pointer; } details .hang { margin-top: 6px; } .o { width: 72px; height: 100px; padding: 0; border: 1px solid var(--dam, #c9b09d); background: var(--giay); cursor: pointer; font-size: 13px; } details .nut { padding: 6px 12px; font-size: 14px; } #canh + .hang { margin-top: 16px; }
#nhac .r { display: flex; gap: 10px; align-items: center; color: var(--chu); font-size: 16px; margin-bottom: 8px; } .them { padding: 4px 0 12px 26px; } .loi { color: #a3271b; } #link { margin-top: 18px; padding: 16px; background: var(--giay); border: 1px solid var(--vach); border-radius: 4px; } #link b { display: block; margin-top: 8px; } .tam { position: relative; display: inline-block; cursor: crosshair; } .tam img { max-width: 100%; max-height: 66vh; display: block; } .tam i { position: absolute; width: 34px; height: 34px; margin: -17px; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 2px var(--nau); pointer-events: none; }
@media (max-width: 860px) { .mo, .ban { grid-template-columns: minmax(0, 1fr); } .mo { gap: 28px; margin-bottom: 56px; } .ban aside { position: sticky; top: 63px; order: -1; z-index: 4; background: var(--nen); padding-bottom: 4px; } .ban { gap: 18px; padding-top: 0; } .dau img { height: 30px; } .dau { gap: 10px; } #link { max-height: 40vh; overflow: auto; } }
@media (max-width: 520px) { .trang { padding-top: 28px; } #luu { font-size: 12px; } .dau .nut { padding: 8px 12px; font-size: 14px; } .chonmau { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .ban { display: flex; flex-direction: column; align-items: stretch; gap: 10px; } .ban aside, .ban #phat { display: contents; } .ban .san, .ban .dk, .ban .bt, .ban .yt { order: -1; } .ban .san { position: sticky; top: 63px; z-index: 4; } .ban .to { width: 52px; height: 52px; } .ban .to svg { width: 24px; } }

/* Trang giới thiệu */
.gioi { max-width: 1280px; margin: auto; padding: 0 24px; } .gioi h1 { font-size: clamp(42px, 4.7vw, 70px); line-height: 1.03; } .gioi h2 { font-size: clamp(34px, 3.8vw, 52px); } .gioi em, .toi em { font-style: italic; color: var(--nau); } .mo2 { color: var(--mo); max-width: 58ch; }
.gbia { display: grid; grid-template-columns: 5fr 6fr; gap: 32px 56px; align-items: center; padding: 52px 0; } .gbia p { margin: 22px 0 28px; } .so { display: flex; gap: 32px; border-top: 1px solid var(--vach); margin-top: 36px; padding-top: 18px; } .so b { display: block; font: 500 28px "Cormorant Garamond", serif; font-variant-numeric: lining-nums; } .so span { font-size: 14px; color: var(--mo); }
.sanh { position: relative; aspect-ratio: 4/3; overflow: hidden; border: 0; padding: 0; width: 100%; cursor: pointer; background: radial-gradient(ellipse at 50% 38%, #b98553 0, #6b4227 46%, #24150d 100%); } .sanh canvas { position: absolute; left: 13%; top: 13%; width: 74%; height: auto; border: 8px solid #17100c; box-shadow: 0 0 70px rgba(255, 224, 180, .6); } .sanh svg { position: absolute; inset: auto 0 0; width: 100%; height: 32%; } .sanh span { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(23, 14, 9, .88); color: #fff; padding: 14px 20px; text-align: left; font-weight: 500; }
.ba { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 32px; } .ba button { border: 0; padding: 0; background: none; text-align: left; cursor: pointer; } .ba h3 { font-size: 30px; margin: 16px 0 6px; } .ba p { color: var(--mo); }
.toi { background: #3a2619; color: #fff; margin: 72px 0; } .toi > div { max-width: 1280px; margin: auto; padding: 72px 24px; display: grid; grid-template-columns: 2fr 3fr; gap: 32px 56px; align-items: center; } .toi h2 { font-size: clamp(34px, 3.8vw, 52px); } .toi em { color: #e7c39f; } .toi p { margin: 18px 0 24px; } .toi ol { list-style: none; padding: 0; margin: 0; border-top: 1px solid #ffffff40; } .toi li button { width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid #ffffff40; padding: 14px 4px; cursor: pointer; } .toi [aria-pressed=true] { color: #e7c39f; font-weight: 600; }
.loc { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 32px; align-items: center; } .loc button { border: 1px solid var(--dam, #cfb29c); background: none; border-radius: 4px; padding: 10px 16px; cursor: pointer; } .loc [aria-pressed=true] { background: var(--nau); color: #fff; border-color: var(--nau); } .loc input { width: 220px !important; margin: 0 0 0 auto !important; }
.luoi small { color: var(--mo); font-size: 14px; } .luoi .chepl { background: none; border: 0; text-decoration: underline; cursor: pointer; padding: 10px 4px; width: auto; } .luoi article > button.xem { position: relative; } .luoi p { min-height: 0; } .bab { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; list-style: none; padding: 0; margin: 32px 0 80px; } .bab li { border-top: 1px solid var(--nau); padding-top: 16px; } .bab b { display: block; font: 500 27px/1.2 "Cormorant Garamond", serif; margin: 4px 0 8px; }
#giom { position: fixed; z-index: 9; left: 50%; bottom: 20px; transform: translateX(-50%); background: var(--chu); color: #fff; border: 0; border-radius: 4px; padding: 13px 24px; cursor: pointer; font-weight: 600; } .chan { background: #f0dfd3; padding: 36px 24px; text-align: center; }
@media (max-width: 800px) { .gbia, .ba, .toi > div, .bab { grid-template-columns: minmax(0, 1fr); } .loc input { margin: 0 !important; width: 100% !important; } .so { gap: 18px; } }

/* Căn ảnh, tải MP4 */
.bancan { display: grid; place-items: center; padding: 12px; background: #eadfd6; } canvas.canh { width: auto; height: auto; max-width: 100%; max-height: 52vh; cursor: grab; touch-action: none; aspect-ratio: auto; } canvas.canh:active { cursor: grabbing; } #trong > input[type=range] { width: 100%; height: 44px; accent-color: var(--nau); }
#trong > .hang { margin-top: 6px; } .moicanh { margin-bottom: 14px; } #tai { margin: 12px 0; } .giua { justify-content: center; } .o { position: relative; }
.xuat { width: min(520px, calc(100vw - 24px)); } .xuat h2 { margin-bottom: 14px; } .xuat > * + * { margin-top: 14px; } .xuat progress { width: 100%; height: 12px; accent-color: var(--nau); } .chonnhac { border: 1px solid var(--vach); border-radius: 4px; padding: 14px; } .chonnhac > * + * { margin-top: 8px; } .r { display: flex; gap: 10px; align-items: center; } .xuat input[type=file] { max-width: 100%; }

.kin main, .kin #nutLuu { visibility: hidden; }
.d main > p { grid-column: 1 / -1; } .d main > .nut { justify-self: start; }
@media (max-width: 520px) { .d .dau a:first-child { display: none; } .d #luu { margin-right: auto; } }
.d .dau .nut { white-space: nowrap; }
