:root {
  color-scheme: light;
  /* Bộ màu thương hiệu cố định cho mọi hồ sơ. */
  --ys-pink: #e7256d;
  --ys-navy: #003da4;
  --ys-white: #ffffff;
  --ys-blue: #3470ff;
  --ys-sky: #86b9f8;
  --ys-ice: #d9edfe;
  --ys-steel: #4d6ebc;
  --ys-rose: #ee6392;
  --ys-blush: #f383a7;
  --ink: #192d4c;
  --muted: #61718a;
  --brand: var(--ys-navy);
  --brand-dark: var(--ys-navy);
  --brand-soft: var(--ys-ice);
  --line: #dfe8f4;
  --surface: var(--ys-white);
  --bg: #f7faff;
  --shadow: 0 12px 36px rgba(26, 37, 80, .045);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 16px; line-height: 1.6; }
button, a { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ys-sky); outline-offset: 3px; }
.container { max-width: 1220px; margin: 0 auto; padding-inline: 28px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.site-header { height: 70px; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(16px); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand-logo { display: block; width: 155px; height: 52px; position: relative; overflow: hidden; }
.brand-logo img { position: absolute; display: block; width: 110.23%; height: auto; max-width: none; left: -4.63%; top: -43.36%; }
.brand-dot { color: var(--ys-pink); }
.header-nav { margin-left: auto; display: flex; align-items: center; gap: 26px; color: #59647a; font-size: 14px; font-weight: 650; }
.header-nav a:hover, .proof-link:hover { color: var(--brand); }
.header-actions { display: flex; align-items: center; gap: 15px; margin-left: auto; }
.header-nav + .header-actions { margin-left: 0; }
.language-switch { position: relative; }
.language-toggle { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 7px 9px; border: 0; border-radius: 9px; color: var(--ys-navy); background: transparent; white-space: nowrap; font-size: 14px; font-weight: 700; }
.language-toggle:hover, .language-toggle[aria-expanded="true"] { background: var(--ys-ice); }
.language-toggle[aria-busy="true"] { opacity: .65; cursor: progress; }
.language-toggle img, .language-menu img { display: block; width: 24px; height: 16px; flex: none; border: 1px solid #d8e1ee; border-radius: 2px; object-fit: cover; }
.language-caret { display: block; flex: none; width: 16px; height: 16px; color: var(--ys-steel); transition: transform .2s ease; }
.language-toggle[aria-expanded="true"] .language-caret { transform: rotate(180deg); }
.language-menu { position: absolute; z-index: 30; top: calc(100% + 8px); right: 0; width: 158px; padding: 6px; border: 1px solid var(--line); border-radius: 10px; background: var(--ys-white); box-shadow: 0 14px 35px #003da425; }
.language-menu button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px 11px; border: 0; border-radius: 7px; text-align: left; background: transparent; color: var(--ink); font-size: 14px; }
.language-menu button:hover, .language-menu button[aria-checked="true"] { background: var(--ys-ice); color: var(--ys-navy); }
.consultation-button { min-height: 40px; padding: 8px 16px; border: 0; border-radius: 8px; background: var(--ys-navy); color: var(--ys-white); font-size: 14px; font-weight: 750; white-space: nowrap; }
.consultation-button:hover { background: var(--ys-blue); }
.preview-pill { padding: 7px 11px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); font-size: 13px; font-weight: 700; white-space: nowrap; }
.preview-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ys-pink); margin-right: 5px; }
.page-content { padding-top: 24px; }
.demo-note { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 10px 14px; border: 1px solid var(--ys-sky); border-radius: 11px; background: var(--ys-ice); color: var(--ys-navy); font-size: 14px; }
.demo-note svg { width: 17px; height: 17px; flex: none; fill: currentColor; stroke: none; }
.hero { overflow: hidden; }
.hero-cover { height: 224px; position: relative; overflow: hidden; background: linear-gradient(115deg,var(--ys-navy) 0%,var(--ys-steel) 48%,var(--ys-sky) 100%); }
.hero-cover:before { content: ""; position: absolute; width: 500px; height: 500px; right: -90px; top: -340px; border-radius: 50%; border: 55px solid rgba(255,255,255,.12); transform: rotate(-25deg); }
.hero-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-cover.has-cover:before, .hero-cover.has-cover .cover-glow { display: none; }
.cover-glow { position: absolute; left: 12%; bottom: -105px; width: 350px; height: 180px; border-radius: 50%; background: rgba(238,99,146,.28); filter: blur(20px); }
.hero-content { position: relative; }
.avatar-wrap { width: max-content; margin: -90px 0 0 35px; position: relative; z-index: 1; }
.avatar-art { width: 180px; height: 180px; border-radius: 50%; border: 5px solid white; background: linear-gradient(145deg,var(--ys-ice),var(--ys-sky)); display: grid; place-items: center; color: var(--ys-navy); box-shadow: 0 7px 20px rgba(30,30,75,.18); overflow: hidden; position: relative; }
.avatar-art span { font-size: 42px; font-weight: 850; letter-spacing: -2px; }
.avatar-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.hero-main { display: grid; grid-template-columns: minmax(0,1fr) 410px; gap: 36px; align-items: start; padding: 16px 38px 34px; }
.eyebrow { display: block; color: var(--brand); font-size: 12px; letter-spacing: 1px; font-weight: 800; }
.hero-eyebrow { color: var(--ys-steel); }
.hero h1 { margin: 0 0 5px; font-size: clamp(29px,3.1vw,38px); line-height: 1.16; letter-spacing: -1.1px; }
.hero-role { font-size: 18px; font-weight: 650; margin: 0; color: #3c4561; }
.hero-location { display: flex; align-items: center; gap: 6px; margin: 9px 0 0; color: var(--muted); font-size: 15px; }
.hero-location svg { width: 17px; height: 17px; }
.hero-tags { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 15px; }
.hero-tags span { font-size: 13px; color: var(--ys-navy); background: var(--ys-ice); padding: 4px 9px; border-radius: 6px; font-weight: 650; }
.hero-meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 20px; color: var(--muted); font-size: 13px; }
.views-metric, .copy-link { display: inline-flex; align-items: center; gap: 6px; }
.views-metric svg, .copy-link svg { width: 16px; height: 16px; }
.views-metric strong { color: var(--ys-navy); font-size: 14px; }
.views-metric.is-unavailable { color: var(--muted); }
.views-metric.is-unavailable strong { color: var(--muted); }
.copy-link { border: 0; padding: 0; background: none; color: var(--ys-navy); font-size: 13px; font-weight: 650; }
.copy-link:hover { color: var(--ys-pink); }
.hero-actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding: 21px; border: 1px solid var(--ys-ice); border-radius: 16px; background: linear-gradient(145deg,#f7faff,#fff); }
.hero-actions-label { color: var(--ys-navy); font-size: 12px; font-weight: 800; letter-spacing: .7px; }
.button { border: 1px solid transparent; border-radius: 9px; min-height: 46px; padding: 10px 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 750; text-align: center; }
.button svg { width: 17px; height: 17px; }
.button-primary { color: white; background: var(--brand); }
.button-primary:hover { background: var(--ys-blue); }
.button-outline { background: white; color: var(--brand-dark); border-color: var(--ys-sky); }
.button-outline:hover { background: var(--brand-soft); }
.availability { color: var(--ys-navy); font-size: 12px; text-align: center; margin-top: 2px; }
.availability:not(:empty):before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: #a4afc0; vertical-align: middle; }
.availability[data-ready="true"]:before { background: #18a866; box-shadow: 0 0 0 4px rgba(24,168,102,.15); }
.tabs { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 20px; overflow: hidden; }
.tab { min-height: 58px; border: 0; background: transparent; color: #526782; font-size: 15px; font-weight: 650; position: relative; }
.tab:hover { background: #f7fbff; color: var(--brand); }
.tab.is-active { color: var(--brand-dark); background: #f7fbff; font-weight: 800; }
.tab.is-active:after { content: ""; position: absolute; bottom: 0; left: 22%; right: 22%; height: 3px; border-radius: 3px 3px 0 0; background: var(--ys-pink); }
.tab-count { font-size: 12px; color: var(--brand); background: var(--brand-soft); padding: 2px 6px; border-radius: 9px; margin-left: 4px; }
.tab-panel { margin-top: 18px; }
.body-grid { display: grid; grid-template-columns: minmax(0,1fr) 320px; align-items: start; gap: 18px; }
.main-column { grid-column: 1; grid-row: 1; }
.sidebar { grid-column: 2; grid-row: 1; position: sticky; top: 88px; align-self: start; max-height: calc(100vh - 104px); overflow-y: auto; scrollbar-width: thin; }
.main-column, .sidebar { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.content-card { padding: 27px 30px; }
.section-heading { margin-bottom: 18px; }
.section-heading h2 { margin: 0; font-size: 23px; letter-spacing: -.45px; line-height: 1.3; }
.intro-card { border-top: 4px solid var(--ys-pink); }
.intro-card h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.35; letter-spacing: -.3px; }
.feature-text { color: #3c4867; font-size: 16px; line-height: 1.65; margin: 0 0 14px; }
.intro-text { margin: 0; color: #5b6680; font-size: 16px; line-height: 1.7; white-space: pre-line; }
.focus-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.focus-list:empty { display: none; }
.focus-list span { background: var(--ys-ice); color: var(--ys-navy); border-radius: 7px; padding: 6px 10px; font-size: 13px; font-weight: 690; }
.achievements { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.achievement { min-height: 176px; display: flex; flex-direction: column; align-items: flex-start; padding: 19px; border-radius: 12px; border: 1px solid var(--line); background: #f7fbff; }
.achievement:first-child { grid-column: 1 / -1; background: var(--ys-ice); }
.achievement.blue { background: var(--ys-ice); }
.achievement.pink { background: rgba(243,131,167,.18); }
.achievement-label { color: var(--brand); font-size: 12px; letter-spacing: .6px; font-weight: 800; }
.achievement h3 { font-size: 17px; line-height: 1.35; margin: 14px 0 6px; }
.achievement p { font-size: 14px; color: #606c83; margin: 0 0 13px; line-height: 1.6; }
.achievement-badge { margin-top: auto; color: var(--ys-steel); font-size: 13px; font-weight: 700; }
.proof-link { color: var(--brand-dark); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; margin-top: 10px; }
.timeline { padding-left: 24px; border-left: 2px solid var(--ys-ice); margin-left: 8px; }
.timeline-item { position: relative; padding: 0 0 23px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item:before { content: ""; position: absolute; left: -32px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); border: 3px solid var(--ys-sky); box-sizing: content-box; }
.timeline-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.timeline-head h3 { font-size: 17px; line-height: 1.35; margin: 0; }
.timeline-period { color: #63708a; font-size: 13px; white-space: nowrap; }
.timeline-org { font-weight: 700; color: var(--brand-dark); margin: 3px 0 8px; font-size: 14px; }
.timeline-description { margin: 0; color: #58657e; line-height: 1.65; font-size: 15px; white-space: pre-line; }
.timeline-results { display: flex; flex-direction: column; gap: 5px; margin-top: 12px; }
.timeline-results span { font-size: 14px; color: #3c4867; padding-left: 17px; position: relative; }
.timeline-results span:before { content: "✓"; position: absolute; left: 0; color: var(--ys-blue); }
.skills-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.skill-card { padding: 19px; border: 1px solid var(--line); border-radius: 12px; background: var(--ys-white); }
.skill-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.skill-group { color: var(--brand); font-size: 12px; font-weight: 800; }
.skill-level { font-size: 12px; color: var(--ys-navy); background: var(--ys-ice); border-radius: 5px; padding: 3px 7px; }
.skill-card h3 { font-size: 17px; margin: 12px 0 5px; }
.skill-rating { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 5px 10px; margin: 9px 0 11px; }
.skill-rating-label { color: var(--muted); font-size: 12px; }
.skill-stars { display: inline-flex; gap: 1px; font-size: 19px; line-height: 1; white-space: nowrap; }
.skill-stars-filled { color: var(--ys-pink); }
.skill-stars-empty { color: #cbd5e3; }
.skill-card p { color: #66718a; font-size: 14px; line-height: 1.6; margin: 0; white-space: pre-line; }
.side-card { padding: 22px; }
.side-card h2 { font-size: 17px; margin: 0; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.highlight-list { padding-top: 3px; }
.highlight-item { display: flex; align-items: flex-start; gap: 10px; padding: 12px 0; border-bottom: 1px solid #f0f1f7; }
.highlight-item:last-child { border: 0; padding-bottom: 0; }
.hi-icon { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 8px; background: var(--brand-soft); color: var(--brand); }
.highlight-item strong { display: block; font-size: 14px; line-height: 1.35; }
.highlight-item p { margin: 3px 0 0; font-size: 13px; color: #6c768c; line-height: 1.45; }
.detail-list { margin: 6px 0 0; }
.detail-list div { display: grid; grid-template-columns: minmax(0, 80px) minmax(0, 1fr); align-items: start; gap: 8px; padding: 8px 0; border-bottom: 1px solid #f0f1f7; font-size: 14px; line-height: 1.4; }
.detail-list div:last-child { border: 0; padding-bottom: 0; }
.detail-list dt { color: #758096; }
.detail-list dd { text-align: left; font-weight: 680; margin: 0; overflow-wrap: break-word; word-break: normal; white-space: pre-line; }
.side-note { padding: 22px; background: var(--ys-ice); color: var(--ys-navy); }
.side-note-spark { color: var(--brand); font-size: 23px; }
.side-note p { font-size: 16px; font-weight: 680; margin: 9px 0 12px; line-height: 1.55; }
.side-note small { font-size: 13px; color: var(--ys-steel); }
.services-section { margin-top: 20px; padding: 30px; }
.services-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.services-heading h2 { margin: 0 0 5px; font-size: clamp(23px,2.5vw,29px); line-height: 1.25; letter-spacing: -.5px; }
.services-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.services-count { display: flex; align-items: baseline; gap: 7px; color: var(--ys-steel); font-size: 13px; white-space: nowrap; }
.services-count strong { color: var(--ys-pink); font-size: 27px; line-height: 1; }
.services-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.service-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: transform .2s,box-shadow .2s; }
.service-card:hover { transform: translateY(-3px); box-shadow: 0 15px 32px #003da418; }
.service-media { aspect-ratio: 1.6; overflow: hidden; border-bottom: 1px solid var(--line); background: #fff; }
.service-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.service-copy { padding: 18px 19px 21px; }
.service-index { display: block; color: var(--ys-pink); font-size: 11px; font-weight: 800; letter-spacing: .8px; }
.service-copy h3 { margin: 5px 0 5px; color: var(--ys-navy); font-size: 19px; line-height: 1.3; }
.service-copy p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.tab-intro { margin: 6px 0 20px; }
.tab-intro h2 { font-size: 26px; margin: 4px 0 3px; letter-spacing: -.5px; }
.tab-intro p { color: var(--muted); margin: 0; }
.post-list { max-width: 800px; display: flex; flex-direction: column; gap: 16px; }
.post-card { padding: 26px; }
.post-author { display: flex; align-items: center; gap: 10px; }
.post-avatar { width: 46px; height: 46px; flex: none; display: grid; place-items: center; position: relative; overflow: hidden; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 3px 10px rgba(30,30,75,.16); color: var(--brand-dark); background: var(--brand-soft); font-size: 13px; font-weight: 850; }
.post-author strong { display: block; font-size: 14px; }
.post-author small { display: block; font-size: 13px; color: var(--muted); }
.post-topic { margin-left: auto; font-size: 12px; color: var(--brand); font-weight: 800; white-space: nowrap; }
.post-card h3 { font-size: 21px; line-height: 1.35; margin: 18px 0 8px; }
.post-card p { margin: 0 0 16px; color: #58657e; white-space: pre-line; }
.post-image { width: 100%; max-height: 460px; object-fit: cover; border-radius: 10px; display: block; }
.post-visual { height: 185px; display: flex; align-items: flex-end; padding: 24px; border-radius: 10px; background: linear-gradient(115deg,var(--ys-navy),var(--ys-blue)); color: white; font-size: 22px; font-weight: 760; }
.post-visual.blue { background: linear-gradient(115deg,var(--ys-steel),var(--ys-sky)); }
.post-visual.peach { background: linear-gradient(115deg,var(--ys-pink),var(--ys-blush)); }
.post-footer { display: flex; align-items: center; gap: 14px; margin-top: 14px; color: #778196; font-size: 13px; }
.like-button { display: inline-flex; align-items: center; gap: 5px; padding: 2px; border: 0; background: none; color: inherit; }
.like-button svg { width: 17px; height: 17px; }
.like-button.is-liked { color: var(--ys-pink); }
.like-button.is-liked svg { fill: currentColor; }
.post-demo-label { margin-left: auto; }
.story-filters { display: flex; gap: 8px; overflow-x: auto; margin: 0 0 16px; padding-bottom: 4px; scrollbar-width: none; }
.story-filters::-webkit-scrollbar { display: none; }
.story-filters[hidden] { display: none; }
.story-chip { flex: none; border: 1px solid #cfe0f7; border-radius: 999px; background: white; color: var(--ys-navy); padding: 7px 14px; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.story-chip:hover { border-color: var(--ys-blue); }
.story-chip[aria-pressed="true"] { background: var(--ys-navy); border-color: var(--ys-navy); color: white; }
.story-card[hidden] { display: none; }
.story-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.story-card { aspect-ratio: .78; border: 0; border-radius: 14px; overflow: hidden; position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 17px; color: white; text-align: left; background: linear-gradient(150deg,var(--ys-navy),var(--ys-blue)); }
.story-card:hover { transform: translateY(-3px); box-shadow: 0 15px 24px rgba(32,36,86,.15); }
.story-card.blue, .story-viewer.blue { background: linear-gradient(150deg,var(--ys-blue),var(--ys-sky)); }
.story-card.peach, .story-viewer.peach { background: linear-gradient(150deg,var(--ys-pink),var(--ys-blush)); }
.story-card.mint, .story-viewer.mint { background: linear-gradient(150deg,var(--ys-steel),var(--ys-sky)); }
.story-card.navy, .story-viewer.navy { background: linear-gradient(150deg,var(--ys-navy),var(--ys-steel)); }
.story-card.pink, .story-viewer.pink { background: linear-gradient(150deg,var(--ys-pink),var(--ys-rose)); }
.story-card:before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(14,16,37,.6),transparent 40%); z-index: 1; pointer-events: none; }
.story-top, .story-symbol, .story-bottom { position: relative; z-index: 2; }
.story-top { font-size: 12px; font-weight: 790; text-shadow: 0 1px 3px rgba(0,0,0,.7); }
.story-symbol { font-size: 64px; align-self: center; line-height: 1; }
.story-bottom { font-size: 17px; font-weight: 750; line-height: 1.3; text-shadow: 0 1px 4px rgba(0,0,0,.75); }
.story-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-card:has(.story-media) .story-symbol { visibility: hidden; }
.page-footer { margin-top: 30px; padding: 25px 0 29px; border-top: 1px solid var(--line); background: #f5f8fc; color: #6b7890; font-size: 14px; }
.footer-inner { display: flex; flex-direction: column; gap: 15px; }
.footer-brand { display: inline-flex; align-self: flex-start; }
.footer-brand img { display: block; width: 270px; max-width: 100%; height: auto; }
.footer-bottom, .footer-right { display: flex; align-items: center; gap: 20px; }
.footer-bottom { justify-content: space-between; }
.footer-copyright { margin: 0; }
.footer-right { justify-content: flex-end; }
.back-to-top { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--ys-navy); color: white; font-size: 25px; font-weight: 600; line-height: 1; box-shadow: 0 8px 18px #003da427; }
.back-to-top:hover { background: var(--ys-blue); transform: translateY(-2px); }
.story-dialog { border: 0; padding: 0; border-radius: 16px; background: transparent; max-width: min(450px,calc(100vw - 24px)); width: 100%; color: white; box-shadow: 0 30px 100px rgba(17,17,50,.45); }
.story-dialog::backdrop { background: rgba(18,21,43,.75); backdrop-filter: blur(6px); }
.story-viewer { height: min(720px,calc(100vh - 36px)); min-height: 420px; position: relative; background: linear-gradient(150deg,var(--ys-navy),var(--ys-blue)); border-radius: 16px; overflow: hidden; padding: 22px; }
.story-progress { display: flex; gap: 4px; position: relative; z-index: 2; }
.story-progress span { height: 3px; flex: 1; border-radius: 5px; background: rgba(255,255,255,.36); }
.story-progress span.is-current, .story-progress span.is-past { background: #fff; }
.story-close { position: absolute; right: 18px; top: 37px; z-index: 3; background: rgba(255,255,255,.2); border: 0; border-radius: 50%; width: 34px; height: 34px; color: white; display: grid; place-items: center; }
.story-close svg { width: 17px; height: 17px; }
.story-viewer-content { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 34px; }
.viewer-tag { font-size: 13px; font-weight: 800; letter-spacing: 1px; }
.viewer-symbol { font-size: 96px; line-height: 1.6; }
.story-viewer-content h2 { font-size: 30px; margin: 0 0 10px; }
.story-viewer-content p { font-size: 16px; max-width: 310px; margin: 0; }
.viewer-media { max-height: 53%; max-width: 100%; object-fit: contain; margin: 20px auto; border-radius: 10px; }
/* Kiểu TikTok: ảnh/video phủ kín khung dọc (ảnh ngang 16:9 được crop giữa), chữ đè phía dưới. */
.story-viewer.has-media { padding: 0; background: #0e1025; }
.story-viewer.has-media .story-viewer-content { position: relative; justify-content: flex-end; align-items: flex-start; text-align: left; padding: 26px 24px 30px; }
.story-viewer.has-media.has-video .story-viewer-content { padding-bottom: 64px; pointer-events: none; }
.story-viewer.has-media .viewer-media { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; max-width: none; margin: 0; border-radius: 0; object-fit: cover; z-index: 0; }
.story-viewer.has-media.has-video .viewer-media { pointer-events: auto; }
.story-viewer.has-media .story-viewer-content:before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg,rgba(14,16,37,.68),transparent 36%); }
.story-viewer.has-media .viewer-tag, .story-viewer.has-media h2, .story-viewer.has-media p { position: relative; z-index: 2; text-shadow: 0 1px 4px rgba(0,0,0,.7); }
.story-viewer.has-media .viewer-tag { display: none; }
.story-viewer.has-media h2 { font-size: 26px; margin: 0 0 8px; }
.story-viewer.has-media p { max-width: 100%; font-size: 15px; }
.story-viewer.has-media .story-close { z-index: 4; top: 18px; }
.story-like { position: absolute; right: 18px; bottom: 120px; z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 4px; border: 0; background: none; color: white; font-size: 13px; font-weight: 700; cursor: pointer; pointer-events: auto; text-shadow: 0 1px 4px rgba(0,0,0,.7); }
.story-viewer.has-video .story-like { bottom: 150px; }
.story-like svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 2; filter: drop-shadow(0 2px 4px rgba(0,0,0,.45)); }
.story-like.is-liked { color: #ff3b6b; }
.story-like.is-liked svg { fill: currentColor; animation: heart-pop .32s ease-out; }
.story-like:focus-visible { outline: 3px solid white; outline-offset: 4px; border-radius: 8px; }
.story-viewer-actions { position: absolute; bottom: 20px; left: 20px; right: 20px; display: flex; justify-content: space-between; }
.story-viewer-actions button { border: 1px solid rgba(255,255,255,.45); border-radius: 8px; background: rgba(255,255,255,.1); color: white; padding: 8px 12px; font-size: 14px; }
.story-viewer-actions button:disabled { opacity: .35; cursor: not-allowed; }
.toast { position: fixed; z-index: 40; bottom: 24px; left: 50%; transform: translate(-50%,20px); border-radius: 10px; padding: 11px 16px; background: var(--ys-navy); color: white; box-shadow: 0 10px 35px rgba(24,22,62,.25); font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s,transform .2s; white-space: nowrap; }
.toast.is-visible { opacity: 1; transform: translate(-50%,0); }
@media (max-width: 950px) {
  .header-nav { display: none; }
  .header-actions { margin-left: auto !important; }
  .hero-main { grid-template-columns: minmax(0,1fr) 370px; gap: 22px; }
  .body-grid { grid-template-columns: minmax(0,1fr) 255px; }
  .detail-list div { grid-template-columns: 1fr; gap: 2px; }
  .skills-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .container { padding-inline: 18px; }
  .preview-pill { display: none; }
  .hero-main { grid-template-columns: 1fr; }
  .hero-actions { max-width: 100%; margin-top: 0; }
  .body-grid { display: flex; flex-direction: column; align-items: stretch; }
  .body-grid > .main-column, .body-grid > .sidebar { width: 100%; }
  .body-grid > .sidebar { position: static; max-height: none; overflow: visible; }
  .sidebar { display: flex; }
  .story-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .site-header { height: 62px; }
  .header-inner { gap: 8px; }
  .brand-logo { width: 113px; height: 38px; }
  .header-actions { gap: 5px; }
  #language-label { display: none; }
  .language-toggle { padding: 5px; gap: 2px; }
  .page-content { padding-top: 14px; }
  .demo-note { align-items: flex-start; font-size: 13px; }
  .hero-cover { height: 155px; }
  .avatar-wrap { margin: -70px 0 0 19px; }
  .avatar-art { width: 138px; height: 138px; border-width: 4px; }
  .avatar-art span { font-size: 33px; }
  .hero-main { padding: 13px 20px 24px; gap: 22px; }
  .hero-eyebrow { font-size: 10px; letter-spacing: .5px; }
  .hero h1 { font-size: 27px; }
  .hero-role { font-size: 15px; }
  .hero-location { font-size: 13px; }
  .hero-tags span { font-size: 12px; }
  .hero-actions { padding: 17px; }
  .button { min-height: 43px; padding: 9px; font-size: 13px; }
  .tabs { margin-top: 13px; }
  .tab { min-height: 55px; font-size: 13px; }
  .tab-count { font-size: 11px; }
  .content-card { padding: 21px 19px; }
  .section-heading h2 { font-size: 21px; }
  .intro-card h3 { font-size: 18px; }
  .achievements, .skills-grid { grid-template-columns: 1fr; }
  .achievement:first-child { grid-column: auto; }
  .achievement { min-height: 0; }
  .services-section { padding: 21px 18px; }
  .services-heading { align-items: start; }
  .services-count { display: none; }
  .services-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-copy { padding: 15px 17px 18px; }
  .timeline-head { display: block; }
  .timeline-period { display: block; margin-top: 5px; }
  .tab-intro h2 { font-size: 23px; }
  .post-card { padding: 19px; }
  .post-visual { height: 150px; font-size: 18px; }
  .story-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .story-bottom { font-size: 15px; }
  .page-footer { padding: 22px 0 25px; }
  .footer-brand img { width: 235px; }
  .footer-bottom { flex-direction: column; align-items: stretch; gap: 12px; }
  .footer-right { justify-content: space-between; gap: 12px; font-size: 12px; }
  .toast { max-width: calc(100vw - 30px); white-space: normal; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .toast, .story-card, .service-card { transition: none; } }

/* Mascot Yspace: ảnh nền trắng, multiply để hòa vào nền thẻ trắng. */
.mascot-welcome { display: block; height: auto; mix-blend-mode: multiply; pointer-events: none; user-select: none; }
.mascot-welcome { flex: none; width: 104px; margin: 0; animation: mascot-float 4.8s ease-in-out infinite; }
.hero-actions { margin-top: -88px; padding: 16px 22px 22px; gap: 12px; position: relative; z-index: 2; box-shadow: 0 14px 34px #003da414; }
.hero-actions-head { display: flex; align-items: center; gap: 14px; padding-bottom: 2px; }
.hero-actions-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; min-width: 0; }
.hero-actions-label { font-size: 13px; letter-spacing: .8px; }
.hero-actions .availability { margin: 0; text-align: left; font-size: 13px; }
.hero-actions .button { white-space: nowrap; }
.services-heading { align-items: center; }
.services-heading > div { flex: 1 1 auto; min-width: 0; }
@keyframes mascot-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@media (max-width: 950px) { .mascot-welcome { width: 92px; } }
@media (max-width: 560px) {
    .mascot-welcome { width: 84px; }
  .hero-actions { padding: 14px 16px 18px; }
  .hero-actions .button { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { .mascot-welcome { animation: none; } }
@media (max-width: 760px) { .hero-actions { margin-top: 0; } }

/* Hiệu ứng Giáng sinh: xe Noel phi liên tục từ logo Yspace tới nút ngôn ngữ, trượt ra khỏi mép bên phải rồi vào lại từ mép bên trái (không mờ dần). */
.santa-fly { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 78px; pointer-events: none; }
.santa-lane { position: relative; height: 100%; }
.santa-zone { position: absolute; top: 0; bottom: 0; left: 150px; right: 168px; overflow: hidden; container-type: inline-size; }
.santa-track { position: absolute; top: 3px; left: 0; width: 176px; transform: translateX(-100%); animation: santa-cross 9s linear infinite; will-change: transform; }
/* dây cương uốn lượn: SVG filter #santa-wobble dịch dọc ảnh theo nhiễu chậm, dây mảnh nên nhìn rõ nhất */
.santa-img { display: block; width: 100%; height: auto; filter: url(#santa-wobble) drop-shadow(0 5px 6px rgba(0,30,90,.18)); transform-origin: 40% 70%; animation: santa-bob 1.1s ease-in-out infinite; }
@keyframes santa-cross { from { transform: translateX(-100%); } to { transform: translateX(100cqw); } }
@keyframes santa-bob { 0%, 100% { transform: translateY(-3px) rotate(-1deg); } 50% { transform: translateY(3px) rotate(1deg); } }
@media (max-width: 760px) { .santa-zone { left: 118px; right: 138px; } .santa-track { width: 120px; } }
@media (max-width: 440px) { .santa-fly { display: none; } }
/* Cố ý KHÔNG tắt theo prefers-reduced-motion: máy Windows tắt "Animation effects" sẽ báo giảm chuyển động và làm xe đứng yên. */

/* Mascot tư thế đặt cạnh tiêu đề mục (ảnh từ thư mục Drive "biểu tượng hành động"). Dùng ::before nên không bị app.js xóa khi đổi ngôn ngữ. */
.section-heading h2, .side-card h2, .tab-intro h2, .services-heading h2 { display: flex; align-items: center; gap: 10px; }
.section-heading h2::before, .side-card h2::before, .tab-intro h2::before, .services-heading h2::before {
  content: ""; flex: none; width: 46px; height: 48px; background: var(--pose) center / contain no-repeat; margin-block: -4px;
}
.side-card h2::before { width: 38px; height: 40px; margin-block: -2px; }
.tab-intro h2::before { width: 52px; height: 54px; }
.services-heading h2::before { width: 56px; height: 58px; }
#intro-section h2 { --pose: url(/mascot/pose-intro.webp?v=1); }
#achievements-section h2 { --pose: url(/mascot/pose-achieve.webp?v=1); }
#skills-section h2 { --pose: url(/mascot/pose-skills.webp?v=1); }
#about-side h2 { --pose: url(/mascot/pose-info.webp?v=1); }
#highlights-section h2 { --pose: url(/mascot/pose-highlight.webp?v=1); }
#services-title { --pose: url(/mascot/pose-services.webp?v=1); }
#panel-posts .tab-intro h2 { --pose: url(/mascot/pose-posts.webp?v=1); }
#panel-stories .tab-intro h2 { --pose: url(/mascot/pose-stories.webp?v=1); }
@media (max-width: 560px) {
  .section-heading h2::before { width: 40px; height: 42px; }
  .tab-intro h2::before, .services-heading h2::before { width: 44px; height: 46px; }
  .side-card h2::before { width: 34px; height: 36px; }
}

/* Banner dịp lễ: đọc từ bảng FACT_08, chỉ hiện khi trạng thái "Hoạt động". */
.holiday-banner { padding-top: 16px; padding-bottom: 0; line-height: 0; }
.holiday-banner[hidden] { display: none; }
.holiday-banner picture { display: block; overflow: hidden; border-radius: 14px; box-shadow: var(--shadow); }
.holiday-banner img { display: block; width: 100%; height: auto; }
@media (max-width: 560px) { .holiday-banner { padding-top: 12px; } .holiday-banner picture { border-radius: 12px; } }

/* Ảnh minh chứng / chứng nhận trong thẻ thành tích. */
.achievement-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; min-width: 0; width: 100%; }
.achievement.has-proof { gap: 14px; }
.achievement-proof { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; cursor: zoom-in; aspect-ratio: 16 / 9; }
.achievement-proof img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .25s; }
.achievement-proof:hover img, .achievement-proof:focus-visible img { transform: scale(1.04); }
.achievement-proof:focus-visible { outline: 3px solid var(--ys-blue); outline-offset: 2px; }
.achievement.has-proof:first-child { flex-direction: row; align-items: stretch; gap: 22px; }
.achievement.has-proof:first-child .achievement-proof { flex: 0 0 40%; width: 40%; aspect-ratio: auto; min-height: 190px; }
.proof-dialog { border: 0; padding: 14px; border-radius: 16px; background: #fff; max-width: min(1100px, calc(100vw - 24px)); width: max-content; max-height: calc(100vh - 24px); box-shadow: 0 30px 100px rgba(17,17,50,.45); }
.proof-dialog::backdrop { background: rgba(18,21,43,.78); backdrop-filter: blur(6px); }
.proof-dialog img { display: block; max-width: 100%; max-height: calc(100vh - 120px); margin: 0 auto; border-radius: 10px; }
.proof-dialog p { margin: 10px 38px 0 4px; color: var(--ink); font-weight: 700; font-size: 15px; }
.proof-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ys-navy); box-shadow: 0 2px 10px rgba(0,0,0,.2); cursor: pointer; }
.proof-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
@media (max-width: 760px) {
  .achievement.has-proof:first-child { flex-direction: column; }
  .achievement.has-proof:first-child .achievement-proof { flex: none; width: 100%; aspect-ratio: 16 / 9; min-height: 0; }
}

/* Avatar chân dung trong bài đăng, thả tim và bình luận. */
.post-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-engage .post-footer { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); gap: 18px; font-size: 14px; }
.like-button, .comment-button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; margin-left: -10px; border: 0; border-radius: 999px; background: none; color: #778196; font: inherit; font-weight: 650; cursor: pointer; transition: background .15s, color .15s; }
.comment-button { margin-left: 0; }
.like-button:hover, .comment-button:hover { background: var(--ys-ice); color: var(--ys-navy); }
.like-button.is-liked { color: var(--ys-pink); }
.like-button.is-liked:hover { background: rgba(231,37,109,.1); }
.comment-button svg, .like-button svg { width: 19px; height: 19px; }
.comment-button em { font-style: normal; }
.comment-button[aria-expanded="true"] { color: var(--ys-navy); background: var(--ys-ice); }
.like-button:focus-visible, .comment-button:focus-visible { outline: 3px solid var(--ys-blue); outline-offset: 2px; }
.like-button.is-liked svg { animation: heart-pop .32s ease-out; }
@keyframes heart-pop { 0% { transform: scale(.7); } 60% { transform: scale(1.3); } 100% { transform: scale(1); } }
.comment-panel { margin-top: 12px; padding: 14px; border-radius: 12px; background: #f7faff; border: 1px solid var(--line); }
.comment-panel[hidden] { display: none; }
.comment-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.comment-name, .comment-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; }
.comment-name { grid-column: 1 / -1; }
.comment-form textarea { resize: vertical; min-height: 44px; max-height: 160px; }
.comment-name:focus, .comment-form textarea:focus { outline: 2px solid var(--ys-blue); outline-offset: 0; border-color: transparent; }
.comment-send { align-self: end; min-height: 44px; padding-inline: 18px; }
.comment-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.comment-list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.comment { padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.comment-head { display: flex; align-items: baseline; gap: 10px; }
.comment-head strong { font-size: 14px; color: var(--ys-navy); }
.comment-head time { color: #8794a8; font-size: 12px; }
.post-card .comment p { margin: 4px 0 0; color: var(--ink); font-size: 14px; line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }
.comment-empty { color: var(--muted); font-size: 14px; text-align: center; padding: 6px 0; }
@media (max-width: 560px) { .comment-form { grid-template-columns: 1fr; } .comment-send { width: 100%; } }

/* Tab Bài đăng: bài viết bên trái, cột dọc bên phải (xuống dưới bài viết trên điện thoại). */
.posts-grid .post-list { max-width: none; min-width: 0; }
.posts-grid .posts-side { gap: 16px; }
.profile-mini { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 26px 22px 22px; }
.mini-avatar { position: relative; width: 92px; height: 92px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; border: 4px solid #fff; background: linear-gradient(145deg, var(--ys-ice), var(--ys-sky)); color: var(--ys-navy); font-size: 28px; font-weight: 850; box-shadow: 0 6px 18px rgba(30,30,75,.18); }
.mini-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mini-name { margin-top: 12px; font-size: 18px; line-height: 1.3; color: var(--ys-navy); }
.mini-role { margin-top: 2px; font-size: 14px; color: #4a5872; font-weight: 650; }
.mini-location { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 13px; color: var(--muted); }
.mini-location svg { width: 15px; height: 15px; }
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; width: 100%; margin: 16px 0 16px; padding: 12px 0; border-block: 1px solid var(--line); }
.mini-stats div + div { border-left: 1px solid var(--line); }
.mini-stats dt { font-size: 12px; color: var(--muted); }
.mini-stats dd { margin: 2px 0 0; font-size: 20px; font-weight: 800; color: var(--ys-pink); }
.mini-cta { width: 100%; }
.topic-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.topic-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ys-navy); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: background .15s, border-color .15s; }
.topic-chip span { padding: 1px 7px; border-radius: 999px; background: var(--ys-ice); font-size: 12px; }
.topic-chip:hover { background: var(--ys-ice); }
.topic-chip[aria-pressed="true"] { background: var(--ys-navy); border-color: var(--ys-navy); color: #fff; }
.topic-chip[aria-pressed="true"] span { background: rgba(255,255,255,.2); color: #fff; }
.topic-chip:focus-visible { outline: 3px solid var(--ys-blue); outline-offset: 2px; }
#posts-topics-card h2 { --pose: url(/mascot/pose-highlight.webp?v=1); }
#posts-topics-card[hidden], .post-card[hidden] { display: none; }
/* Emoji trong bình luận. */
.comment-form { grid-template-columns: 1fr; }
.comment-tools { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.emoji-toggle { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 22px; line-height: 1; cursor: pointer; transition: background .15s; }
.emoji-toggle:hover, .emoji-toggle[aria-expanded="true"] { background: var(--ys-ice); }
.emoji-toggle:focus-visible, .emoji-pick:focus-visible { outline: 3px solid var(--ys-blue); outline-offset: 2px; }
.emoji-pop { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 8px 24px #003da41a; }
.emoji-pop[hidden] { display: none; }
.emoji-pick { aspect-ratio: 1; display: grid; place-items: center; padding: 0; border: 0; border-radius: 8px; background: none; font-size: 21px; line-height: 1; cursor: pointer; }
.emoji-pick:hover { background: var(--ys-ice); transform: scale(1.12); }
.comment-send { align-self: auto; }
@media (max-width: 560px) { .emoji-pop { grid-template-columns: repeat(7, 1fr); } .comment-send { width: auto; min-width: 96px; } }

/* Emoji Noto dạng hình: trong bình luận và trong bảng chọn. */
.emoji { display: inline-block; width: 1.3em; height: 1.3em; margin: 0 .04em; vertical-align: -0.3em; }
.emoji-toggle { font-size: 0; }
.emoji-toggle img { width: 26px; height: 26px; display: block; }
.emoji-pop { grid-template-columns: repeat(8, 1fr); gap: 2px; }
.emoji-pick { font-size: 0; padding: 4px; }
.emoji-pick img { display: block; width: 100%; height: 100%; }
@media (max-width: 560px) { .emoji-pop { grid-template-columns: repeat(8, 1fr); } }
/* Bảng emoji gọn: mỗi ô 40px, tự xuống hàng theo bề rộng. */
.emoji-pop { grid-template-columns: repeat(auto-fill, 42px); justify-content: center; gap: 2px; padding: 8px; }
.emoji-pick { width: 42px; height: 42px; aspect-ratio: auto; padding: 5px; }
@media (max-width: 560px) { .emoji-pop { grid-template-columns: repeat(auto-fill, 42px); } }
/* Điện thoại: phần đầu trang đã có ảnh, tên và nút tư vấn ngay phía trên nên không lặp lại thẻ tác giả ở tab Hồ sơ. */
@media (max-width: 760px) { #profile-mini { display: none; } }

/* Nút "Xem thêm" cho bài đăng và story (phân trang phía client, app.js paginate). */
.load-more { display: block; margin: 16px auto 0; min-height: 44px; padding: 0 28px; }
.load-more[hidden] { display: none; }
