.tv-page .hm-side nav a,.tv-page .hm-side-profile{min-height:48px;color:var(--muted);border-radius:16px;justify-content:center;align-items:center;text-decoration:none;display:flex}.tv-page .hm-side nav{flex-direction:column;gap:6px;display:flex}.tv-page .hm-side nav a.active{background:var(--accent);color:#fff}.tv-page .hm-side nav a:hover,.tv-page .hm-side-profile:hover{background:var(--tile-soft);color:var(--accent)}.tv-nav a{color:var(--muted);white-space:nowrap;border-radius:999px;padding:9px 18px;font-size:14px;font-weight:600;text-decoration:none}.tv-nav a[aria-current=page]{background:var(--accent);color:#fff}.tv-page .tv-main{flex-direction:column;gap:20px;width:100%;max-width:1886px;margin:0;padding:0;display:flex}.tv-kicker{letter-spacing:.16em;margin:0;font-size:13px;font-weight:600}.tv-hero{color:#fff;background:linear-gradient(135deg,#7c5ccb,#4a3470);border-radius:32px;grid-template-columns:minmax(0,1fr) minmax(0,620px);align-items:center;gap:40px;padding:40px;display:grid}.tv-hero-text h1{margin:10px 0 14px;font-size:44px}.tv-hero-text>p:not(.tv-kicker){color:#f4efff;max-width:520px;margin:0;font-size:16px;line-height:1.55}.tv-hero .tv-kicker{color:#e6dbff}.tv-tags{flex-wrap:wrap;gap:8px;margin-top:18px;display:flex}.tv-tags span{color:var(--accent-deep);background:#fff;border-radius:999px;padding:6px 14px;font-size:13px;font-weight:600}.tv-form{background:var(--tile);color:var(--ink);border-radius:28px;flex-direction:column;gap:16px;padding:32px;display:flex}.tv-form h2{margin:0;font-size:22px}.tv-form label,.tv-form legend{color:var(--muted);flex-direction:column;gap:8px;font-size:13px;font-weight:600;display:flex}.tv-form fieldset{border:0;margin:0;padding:0}.tv-form legend{margin-bottom:8px}.tv-form input[type=text],.tv-form input:not([type]),.tv-form input[type=date],.tv-form input[type=time]{background:var(--tile-soft);height:52px;font:inherit;color:var(--ink);border:0;border-radius:16px;padding:0 16px;font-size:16px;font-weight:400}.tv-row{grid-template-columns:1fr 1fr;gap:14px;display:grid}.tv-gender{background:var(--tile-soft);border-radius:999px;align-self:flex-start;gap:4px;padding:5px;display:inline-flex}.tv-gender label{flex-direction:row;position:relative}.tv-gender input{opacity:0;position:absolute}.tv-gender span{color:var(--muted);cursor:pointer;border-radius:999px;padding:10px 32px;font-size:15px}.tv-gender input:checked+span{background:var(--accent);color:#fff}.tv-gender input:focus-visible+span{outline:3px solid var(--accent);outline-offset:2px}.tv-hint{color:#6b4f00;background:#fff6de;border-radius:16px;margin:0;padding:12px 16px;font-size:14px}.tv-error{color:#9b2c55;background:#fde8ef;border-radius:14px;margin:0;padding:10px 14px;font-size:14px}.tv-form button{background:var(--accent);color:#fff;height:56px;font:inherit;cursor:pointer;border:0;border-radius:999px;font-size:17px;font-weight:700}.tv-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.tv-head h1{margin:0;font-size:28px}.tv-head p{color:var(--muted);margin:4px 0 0;font-size:14px}.tv-actions{gap:10px;display:flex}.tv-pill,.tv-primary{border-radius:999px;padding:10px 20px;font-size:14px;font-weight:600;text-decoration:none}.tv-pill{background:var(--tile);color:var(--accent)}.tv-primary{background:var(--accent);color:#fff}.tv-board{background:var(--tile);border-radius:32px;grid-template-rows:repeat(4,minmax(212px,auto));grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:12px;display:grid}.tv-cell{background:var(--tile-soft);border-radius:20px;flex-direction:column;gap:6px;min-width:0;padding:12px;display:flex}.tv-cell.is-menh{box-shadow:inset 0 0 0 2px var(--accent);background:#f4eeff}.home.is-dark .tv-cell.is-menh{background:#2f2450}.tv-cell-top{color:var(--muted);justify-content:space-between;align-items:center;gap:6px;font-size:12px;display:flex}.tv-badges{gap:4px;display:flex}.tv-badges em{border-radius:999px;padding:2px 8px;font-size:10px;font-style:normal;font-weight:700}.b-menh{background:var(--accent);color:#fff}.b-than{color:#4a3400;background:#f2b705}.b-tt{color:var(--ink);background:#e4dcf2}.tv-majors{flex-direction:column;gap:2px;display:flex}.tv-major{align-items:center;gap:5px;display:flex}.tv-major b{color:var(--accent-deep);font-size:16px}.home.is-dark .tv-major b{color:#c9b6ff}.tv-major small{color:var(--muted);font-size:11px}.tv-empty{color:var(--muted);font-size:14px}.hua{color:#fff;border-radius:6px;padding:1px 6px;font-size:11px;font-style:normal;font-weight:700}.hua-Lộc{background:#2e7d4f}.hua-Quyền{background:#c0457a}.hua-Khoa{background:#2f6fb0}.hua-Kỵ{background:#5a5a6e}.tv-minors{flex-wrap:wrap;gap:2px 7px;margin:0;font-size:12px;line-height:1.4;display:flex}.tv-minors .good,.tv-legend .good{color:#22663f}.tv-minors .bad,.tv-legend .bad{color:#b3366b}.home.is-dark .tv-minors .good,.home.is-dark .tv-legend .good{color:#7fd6a4}.home.is-dark .tv-minors .bad,.home.is-dark .tv-legend .bad{color:#ff8fb1}.tv-cell-foot{color:var(--muted);justify-content:space-between;align-items:baseline;gap:6px;margin-top:auto;font-size:12px;display:flex}.tv-cell-foot b{letter-spacing:.06em;color:var(--ink);font-size:13px}.tv-cell.is-menh .tv-cell-foot b{color:var(--accent)}.tv-center{color:#fff;text-align:center;background:linear-gradient(135deg,#7c5ccb,#4a3470);border-radius:24px;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:28px;display:flex}.tv-center .tv-kicker{color:#e6dbff;letter-spacing:.2em}.tv-center h2{margin:0 0 8px;font-size:30px}.tv-center dl{width:min(100%,420px);margin:0}.tv-center dl div{border-top:1px solid #fff2;justify-content:space-between;gap:16px;padding:6px 0;font-size:14px;display:flex}.tv-center dt{color:#e6dbff}.tv-center dd{text-align:right;margin:0;font-weight:600}.tv-legend{color:var(--muted);flex-wrap:wrap;align-items:center;gap:8px 16px;margin:0;font-size:13px;display:flex}.tv-legend b{color:var(--accent-deep)}.tv-reading{grid-template-columns:260px minmax(0,1fr);align-items:start;gap:20px;display:grid}.tv-palace-nav{background:var(--tile);border-radius:28px;flex-direction:column;gap:4px;padding:16px;display:flex;position:sticky;top:24px}.tv-palace-nav a,.tv-palace-nav button{font:inherit;cursor:pointer;text-align:left;color:var(--ink);background:0 0;border:0;border-radius:14px;justify-content:space-between;padding:11px 14px;font-size:14px;text-decoration:none;display:flex}.tv-palace-nav a:first-child,.tv-palace-nav button:first-child{background:var(--accent);color:#fff}.tv-palace-nav a:hover,.tv-palace-nav button:hover{background:var(--tile-soft)}.tv-palace-nav a:first-child:hover,.tv-palace-nav button:first-child:hover{background:var(--accent-deep)}.tv-palace-nav small{color:inherit;opacity:.75}.tv-sections{flex-direction:column;gap:20px;display:flex}.tv-summary{color:#fff;background:linear-gradient(135deg,#7c5ccb,#5a3fa0);border-radius:28px;justify-content:space-between;align-items:center;gap:24px;padding:28px;display:flex}.tv-summary .tv-kicker{color:#e6dbff}.tv-summary h2{margin:6px 0;font-size:22px}.tv-summary p:not(.tv-kicker){color:#f4efff;margin:0;font-size:14px;line-height:1.6}.tv-score{text-align:center;background:#ffffff26;border-radius:24px;flex-shrink:0;width:190px;padding:18px}.tv-score strong{font-size:44px;display:block}.tv-score span{color:#e6dbff;font-size:13px}.tv-card{background:var(--tile);border-radius:28px;padding:28px;scroll-margin-top:24px}.tv-card header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:12px;display:flex}.tv-card h3{margin:0;font-size:20px}.tv-card header p{color:var(--muted);margin:2px 0 0;font-size:13px}.tv-card .tv-tags{justify-content:flex-end;margin:0}.tv-card .tv-tags span{background:var(--tile-soft);color:var(--accent);padding:4px 10px;font-size:12px}.tv-card ul{flex-direction:column;gap:10px;display:flex}.tv-card li{flex-direction:column;gap:2px;padding-left:18px;font-size:15px;line-height:1.6;display:flex;position:relative}.tv-card li:before{content:"";background:var(--accent);border-radius:50%;width:6px;height:6px;position:absolute;top:10px;left:0}.tv-card li b{color:var(--accent-deep)}.home.is-dark .tv-card li b{color:#c9b6ff}@media (max-width:1100px){.tv-hero{grid-template-columns:minmax(0,1fr)}.tv-board{grid-template-rows:none;grid-template-columns:repeat(2,minmax(0,1fr))}.tv-board>*{grid-area:auto!important}.tv-center{order:-1;grid-column:1/-1!important}.tv-reading{grid-template-columns:minmax(0,1fr)}.tv-palace-nav{flex-flow:wrap;position:static}}@media (max-width:600px){.tv-row{grid-template-columns:1fr}.tv-hero,.tv-form{padding:20px}.tv-board{grid-template-columns:minmax(0,1fr)}.tv-summary{flex-direction:column;align-items:flex-start}}.tv-hero-banh{background:#f3e4fb;border-radius:50%;width:min(100%,280px);margin:0 0 20px;padding:12px;box-shadow:0 12px 32px #2a0d4559}.tv-center-banh{background:#f3e4fb;border-radius:50%;width:min(100%,300px);padding:10px}.tv-center-chu{color:#efe2fb;margin:0;font-size:14px}.tv-hero .tv-gioi-thieu{color:#fff;background:#ffffff1f;border-left:3px solid #f2c94c;border-radius:0 12px 12px 0;max-width:560px;margin:16px 0 0;padding:14px 16px;font-size:15px;line-height:1.75}.tv-hero .tv-gioi-thieu:lang(km){line-height:1.9}.tv-page .tv-main>.tv-hero{flex:auto}
