  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; font-size: 16px; }
  body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
    background: #f4f7fc;
    color: #1a1a2e;
    line-height: 1.7;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  a { color: #0056b3; text-decoration: none; transition: color 0.2s; }
  a:hover { color: #e63946; text-decoration: underline; }
  img { max-width: 100%; height: auto; display: block; }
  h1, h2, h3, h4 { font-weight: 700; line-height: 1.3; margin-top: 0; color: #0b1d3a; }
  h1 { font-size: 2.4rem; margin-bottom: 0.75rem; }
  h2 { font-size: 1.8rem; margin: 2rem 0 0.75rem; border-bottom: 3px solid #e63946; padding-bottom: 0.4rem; }
  h3 { font-size: 1.35rem; margin: 1.5rem 0 0.6rem; color: #1d3557; }
  h4 { font-size: 1.1rem; margin: 1.2rem 0 0.4rem; color: #2b4a6f; }
  p { margin-bottom: 1rem; }
  ul, ol { margin: 0.6rem 0 1rem 1.8rem; }
  li { margin-bottom: 0.4rem; }
  .container { max-width: 1200px; margin: 0 auto; padding: 0 1.2rem; }
  .badge { display: inline-block; background: #e63946; color: #fff; font-size: 0.75rem; font-weight: 700; padding: 0.2rem 0.7rem; border-radius: 20px; letter-spacing: 0.3px; }
  header {
    background: #0b1d3a;
    color: #fff;
    padding: 0.6rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  }
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .my-logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #e63946, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none !important;
  }
  .my-logo:hover { opacity: 0.85; text-decoration: none !important; }
  .my-logo small { font-size: 0.85rem; font-weight: 400; -webkit-text-fill-color: #aac; color: #aac; letter-spacing: 0.3px; }
  .hamburger { display: none; flex-direction: column; cursor: pointer; background: none; border: none; padding: 6px; }
  .hamburger span { width: 28px; height: 3px; background: #fff; margin: 4px 0; border-radius: 3px; transition: 0.3s; }
  .nav-menu { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
  .nav-menu a { color: #e0e8f0; font-size: 0.95rem; font-weight: 500; padding: 0.4rem 0.2rem; white-space: nowrap; }
  .nav-menu a:hover { color: #ff6b6b; text-decoration: none; }
  .breadcrumb { background: #e9edf4; padding: 0.5rem 0; font-size: 0.85rem; border-bottom: 1px solid #d0d8e4; }
  .breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem 0.6rem; margin: 0; padding: 0; }
  .breadcrumb li+li::before { content: "›"; margin-right: 0.6rem; color: #888; }
  .breadcrumb a { color: #0056b3; }
  .breadcrumb .active { color: #555; font-weight: 600; }
  .hero {
    background: linear-gradient(135deg, #0b1d3a 0%, #1d3557 100%);
    color: #fff;
    padding: 2.5rem 0;
    margin-bottom: 1.5rem;
    border-radius: 0 0 20px 20px;
  }
  .hero h1 { color: #fff; font-size: 2.6rem; margin-bottom: 0.5rem; }
  .hero p { font-size: 1.1rem; opacity: 0.92; max-width: 800px; }
  .hero .meta-info { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; font-size: 0.9rem; color: #cbd5e1; }
  .content-wrapper { display: grid; grid-template-columns: 1fr 300px; gap: 2rem; margin: 2rem 0; }
  .main-content { min-width: 0; }
  .sidebar { position: sticky; top: 100px; align-self: start; }
  .card { background: #fff; border-radius: 16px; padding: 1.5rem; box-shadow: 0 4px 20px rgba(0,0,0,0.05); margin-bottom: 1.5rem; }
  .feature-image { border-radius: 16px; overflow: hidden; margin: 1.5rem 0; box-shadow: 0 6px 24px rgba(0,0,0,0.08); }
  .feature-image img { width: 100%; height: auto; object-fit: cover; }
  .feature-image figcaption { background: #f1f4fa; padding: 0.6rem 1rem; font-size: 0.85rem; color: #3a4a6a; }
  .search-form { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 1rem 0; }
  .search-form input { flex: 1; min-width: 180px; padding: 0.7rem 1rem; border: 2px solid #d0d8e4; border-radius: 40px; font-size: 1rem; outline: none; transition: border 0.2s; }
  .search-form input:focus { border-color: #e63946; }
  .search-form button { padding: 0.7rem 1.6rem; background: #e63946; color: #fff; border: none; border-radius: 40px; font-weight: 600; cursor: pointer; transition: background 0.2s; display: flex; align-items: center; gap: 0.4rem; }
  .search-form button:hover { background: #c1122a; }
  .comment-box, .rating-box { margin-top: 1rem; }
  .comment-box textarea { width: 100%; padding: 0.8rem; border: 2px solid #d0d8e4; border-radius: 12px; font-size: 0.95rem; resize: vertical; min-height: 80px; font-family: inherit; }
  .comment-box textarea:focus { border-color: #e63946; outline: none; }
  .comment-box button, .rating-box button { padding: 0.6rem 1.6rem; background: #1d3557; color: #fff; border: none; border-radius: 40px; font-weight: 600; cursor: pointer; transition: background 0.2s; margin-top: 0.4rem; }
  .comment-box button:hover, .rating-box button:hover { background: #0b1d3a; }
  .star-rating { display: flex; gap: 0.3rem; font-size: 1.6rem; cursor: pointer; color: #d0d8e4; }
  .star-rating .star { transition: color 0.15s; }
  .star-rating .star.active, .star-rating .star:hover { color: #f4a261; }
  .rating-box .current-score { font-weight: 600; color: #1d3557; margin-left: 0.5rem; }
  .sidebar .card h3 { font-size: 1.2rem; margin-top: 0; border-bottom: 2px solid #e63946; padding-bottom: 0.4rem; }
  .sidebar ul { list-style: none; margin: 0; padding: 0; }
  .sidebar li { margin-bottom: 0.5rem; }
  .sidebar li a { display: block; padding: 0.4rem 0.6rem; border-radius: 8px; background: #f8faff; transition: background 0.2s; }
  .sidebar li a:hover { background: #e9edf4; text-decoration: none; }
  friend-link { display: block; background: #f1f4fa; border-radius: 16px; padding: 1.2rem 1.5rem; margin: 1.5rem 0; }
  friend-link h3 { margin-top: 0; font-size: 1.1rem; border-bottom: 2px solid #e63946; padding-bottom: 0.4rem; }
  friend-link ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.8rem 1.5rem; margin: 0.6rem 0 0; padding: 0; }
  friend-link li { margin: 0; }
  friend-link a { color: #0056b3; font-weight: 500; }
  footer { background: #0b1d3a; color: #cbd5e1; padding: 2rem 0; margin-top: 3rem; }
  footer .footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
  footer .copyright { font-size: 0.85rem; opacity: 0.8; }
  footer a { color: #ffb3b3; }
  footer a:hover { color: #ff6b6b; }
  @media (max-width: 900px) {
    .content-wrapper { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.4rem; }
    .hero h1 { font-size: 1.9rem; }
    .hero { padding: 1.8rem 0; }
    .header-inner { padding: 0.3rem 0; }
  }
  @media (max-width: 700px) {
    .hamburger { display: flex; }
    .nav-menu { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0.3rem; padding: 0.6rem 0 0.4rem; }
    .nav-menu.open { display: flex; }
    .nav-menu a { padding: 0.5rem 0; border-bottom: 1px solid #1d3557; }
    .breadcrumb ol { font-size: 0.75rem; }
    .search-form input { min-width: 120px; }
    .star-rating { font-size: 1.3rem; }
  }
  @media (max-width: 480px) {
    .container { padding: 0 0.8rem; }
    h1 { font-size: 1.5rem; }
    .my-logo { font-size: 1.3rem; }
    .feature-image { border-radius: 10px; }
  }
  .text-muted { color: #6a7a9a; font-size: 0.9rem; }
  .mt-1 { margin-top: 1rem; }
  .mb-1 { margin-bottom: 1rem; }
  .flex-center { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
  .gap-1 { gap: 1rem; }
  .highlight-box { background: #fef3e0; border-left: 4px solid #f4a261; padding: 1rem 1.2rem; border-radius: 0 12px 12px 0; margin: 1.2rem 0; }
  .emoji-lg { font-size: 1.8rem; line-height: 1; }
