* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: #f7f4f0;
    color: #2d2a24;
    line-height: 1.7;
    font-size: 16px;
  }
  a {
    color: #7a5a4b;
    text-decoration: underline;
    transition: color 0.2s ease;
  }
  a:hover {
    color: #4d3a30;
    text-decoration: none;
  }
  header {
    background: #fffaf5;
    border-bottom: 2px solid #e6d8cc;
    padding: 0 1.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  }
  .header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0.8rem 0;
  }
  .my-logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: #5d3f31;
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: opacity 0.2s;
  }
  .my-logo:hover {
    opacity: 0.8;
    text-decoration: none;
  }
  .my-logo span {
    color: #b48a7a;
    font-weight: 300;
  }
  .hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #5d3f31;
    cursor: pointer;
    padding: 0.2rem 0.4rem;
    transition: color 0.2s;
  }
  .hamburger:hover {
    color: #a17a68;
  }
  nav {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
  }
  nav a {
    color: #4d3a30;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
  }
  nav a:hover {
    background: #efe4da;
    color: #2d1f18;
    text-decoration: none;
  }
  .breadcrumb {
    background: #f0e8e0;
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
    border-bottom: 1px solid #e0d2c6;
  }
  .breadcrumb-inner {
    max-width: 1200px;
    margin: 0 auto;
  }
  .breadcrumb a {
    color: #7a5a4b;
    text-decoration: none;
  }
  .breadcrumb a:hover {
    text-decoration: underline;
  }
  .breadcrumb .sep {
    margin: 0 0.4rem;
    color: #b8a294;
  }
  main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
  }
  .content {
    background: #fffdfb;
    padding: 2.2rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.04);
    border: 1px solid #ede4db;
  }
  .content h1 {
    font-size: 2.4rem;
    color: #3b2b22;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    font-weight: 700;
  }
  .content h1::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: #b48a7a;
    margin-top: 0.6rem;
    border-radius: 2px;
  }
  .content h2 {
    font-size: 1.8rem;
    color: #4d362b;
    margin-top: 2.8rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    border-left: 4px solid #b48a7a;
    padding-left: 1rem;
  }
  .content h3 {
    font-size: 1.4rem;
    color: #5d4033;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
  }
  .content h4 {
    font-size: 1.15rem;
    color: #6b4f41;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
  }
  .content p {
    margin-bottom: 1.2rem;
    font-size: 1.02rem;
    color: #3d3530;
  }
  .content strong {
    color: #3b2b22;
    font-weight: 700;
  }
  .content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.8rem 0;
    border: 1px solid #e6d8cc;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  }
  .content ul, .content ol {
    margin: 1rem 0 1.5rem 1.8rem;
  }
  .content li {
    margin-bottom: 0.6rem;
    font-size: 1.02rem;
    color: #3d3530;
  }
  .content .last-updated {
    display: inline-block;
    background: #f0e8e0;
    padding: 0.2rem 1rem;
    border-radius: 20px;
    font-size: 0.82rem;
    color: #6b5a4f;
    margin-bottom: 1.5rem;
  }
  .feature-box {
    background: #f8f2ec;
    border-left: 6px solid #b48a7a;
    padding: 1.4rem 1.8rem;
    border-radius: 8px;
    margin: 1.8rem 0;
  }
  .feature-box p:last-child {
    margin-bottom: 0;
  }
  .sidebar {
    background: #fffdfb;
    padding: 1.8rem;
    border-radius: 16px;
    border: 1px solid #ede4db;
    box-shadow: 0 1px 6px rgba(0,0,0,0.04);
    height: fit-content;
    position: sticky;
    top: 100px;
  }
  .sidebar h3 {
    font-size: 1.2rem;
    color: #3b2b22;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e6d8cc;
    padding-bottom: 0.5rem;
  }
  .sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .sidebar li {
    margin-bottom: 0.7rem;
  }
  .sidebar a {
    font-size: 0.95rem;
    color: #5d4033;
    text-decoration: none;
    display: block;
    padding: 0.3rem 0;
    transition: color 0.2s;
  }
  .sidebar a:hover {
    color: #b48a7a;
    text-decoration: underline;
  }
  .search-box {
    background: #f8f2ec;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
  }
  .search-box form {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
  }
  .search-box input[type="text"] {
    flex: 1;
    min-width: 180px;
    padding: 0.7rem 1rem;
    border: 2px solid #e0d2c6;
    border-radius: 8px;
    font-size: 1rem;
    background: #fff;
    transition: border-color 0.2s;
  }
  .search-box input[type="text"]:focus {
    outline: none;
    border-color: #b48a7a;
  }
  .search-box button {
    padding: 0.7rem 1.4rem;
    background: #7a5a4b;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
  }
  .search-box button:hover {
    background: #5d3f31;
  }
  .search-box button:active {
    transform: scale(0.97);
  }
  .interaction-area {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
    margin: 2.5rem 0;
  }
  .comment-section, .rating-section {
    background: #f8f2ec;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #ede4db;
  }
  .comment-section h3, .rating-section h3 {
    font-size: 1.2rem;
    color: #3b2b22;
    margin-top: 0;
    margin-bottom: 1rem;
  }
  .comment-section textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 2px solid #e0d2c6;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
    transition: border-color 0.2s;
  }
  .comment-section textarea:focus {
    outline: none;
    border-color: #b48a7a;
  }
  .comment-section input[type="text"] {
    width: 100%;
    padding: 0.6rem 1rem;
    border: 2px solid #e0d2c6;
    border-radius: 8px;
    font-size: 0.95rem;
    margin-top: 0.5rem;
  }
  .comment-section input[type="text"]:focus {
    outline: none;
    border-color: #b48a7a;
  }
  .comment-section button, .rating-section button {
    margin-top: 0.8rem;
    padding: 0.6rem 1.4rem;
    background: #7a5a4b;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
  }
  .comment-section button:hover, .rating-section button:hover {
    background: #5d3f31;
  }
  .rating-stars {
    display: flex;
    gap: 0.3rem;
    font-size: 1.8rem;
    color: #d4c4b8;
    cursor: pointer;
    margin: 0.5rem 0;
    flex-wrap: wrap;
  }
  .rating-stars .star {
    transition: color 0.2s, transform 0.1s;
  }
  .rating-stars .star:hover,
  .rating-stars .star.active {
    color: #e8b84b;
    transform: scale(1.1);
  }
  friend-link {
    display: block;
    background: #f0e8e0;
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    margin-top: 2rem;
    border: 1px solid #e0d2c6;
  }
  friend-link a {
    color: #5d4033;
    text-decoration: none;
    font-weight: 500;
    margin-right: 1.2rem;
    display: inline-block;
    padding: 0.2rem 0;
  }
  friend-link a:hover {
    color: #b48a7a;
    text-decoration: underline;
  }
  footer {
    background: #2d2a24;
    color: #d9cec4;
    padding: 2rem 1.5rem;
    margin-top: 3rem;
  }
  .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }
  footer a {
    color: #d9cec4;
    text-decoration: underline;
  }
  footer a:hover {
    color: #fff;
  }
  footer .copyright {
    font-size: 0.85rem;
    opacity: 0.8;
  }
  @media (max-width: 900px) {
    main {
      grid-template-columns: 1fr;
    }
    .sidebar {
      position: static;
      order: 2;
    }
    .content {
      order: 1;
    }
    .interaction-area {
      grid-template-columns: 1fr;
    }
  }
  @media (max-width: 768px) {
    .hamburger {
      display: block;
    }
    nav {
      display: none;
      width: 100%;
      flex-direction: column;
      gap: 0.6rem;
      padding: 1rem 0;
    }
    nav.open {
      display: flex;
    }
    nav a {
      font-size: 1.1rem;
      padding: 0.5rem 0.8rem;
    }
    .content {
      padding: 1.5rem;
    }
    .content h1 {
      font-size: 1.8rem;
    }
    .content h2 {
      font-size: 1.4rem;
    }
    .content h3 {
      font-size: 1.2rem;
    }
    .header-inner {
      padding: 0.5rem 0;
    }
    .my-logo {
      font-size: 1.3rem;
    }
  }
  @media (max-width: 480px) {
    main {
      padding: 0 0.8rem;
      margin: 1rem auto;
    }
    .content {
      padding: 1rem;
    }
    .breadcrumb {
      padding: 0.4rem 0.8rem;
      font-size: 0.75rem;
    }
    .search-box form {
      flex-direction: column;
    }
    .search-box input[type="text"] {
      min-width: auto;
    }
    .rating-stars {
      font-size: 1.5rem;
    }
  }
