/* g_style.css */

body {
    font-family: 'Noto Sans KR', sans-serif;
    background: #f2f2f2;
    margin: 0;
    padding: 0 8px;
  }
  h1, h2 {
    text-align: center;
    color: #48385d;
  }
  #hall-of-fame {
    margin: 22px auto 30px;
    display: flex;
    justify-content: center;
    gap: 10px;
  }
  .fame-img {
    width: 100px;
    height: 150px;
    padding: 5px 0 5px;
    object-fit: cover;
    border: 3px solid gold;
    border-radius: 11px;
    box-shadow: 0 0 12px #ffe070;
    background: #fffbe7;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .fame-like {
    text-align: center;
    color: #b67c14;
    font-weight: bold;
    margin-top: 4px;
    font-size: 1.15em;
  }
  #gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
    gap: 16px;
    margin-bottom: 50px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
  }
  .thumb-block {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 9px rgba(50,35,90,0.07);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 10px;
    transition: box-shadow 0.15s;
    position: relative;
  }
  .thumb-block:hover {
    box-shadow: 0 4px 18px rgba(80,70,130,0.19);
  }
  .thumb-img {
    width: 120px;
    height: 160px;
    object-fit: cover;
    border-radius: 7px;
    background: #eaeaea;
  }
  .like-btn {
    margin-top: 3px;
    border: none;
    background: none;
    font-size: 1.5em;
    cursor: pointer;
    color: #e960a2;
    transition: transform 0.09s;
    outline: none;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: bold;
    user-select: none;
  }
  .like-btn.liked {
    color: #e960a2;
    text-shadow: 0 0 6px #ffd8ef;
    transform: scale(1.11);
  }
  .like-count {
    font-size: 1em;
    color: #888;
    margin-left: 5px;
  }



  
  .home-link {
    position: fixed;
    left: 14px;
    top: 16px;
    text-decoration: none;
    background: #e3e1ff;
    color: #5635b6;
    font-weight: bold;
    border-radius: 8px;
    padding: 5px 14px 5px 12px;
    font-size: 1.05em;
    box-shadow: 0 1px 6px #c1bbf0;
    transition: background .2s;
    z-index: 100;
  }
  .home-link:hover { 
    background: #dad9fa; 
    transform: translateY(-3px);
    /* 필요하다면 transition도 추가해줘! */
    transition: background 0.2s, transform 0.1s;
  }
  @media (max-width: 600px) {
    #gallery { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
    .thumb-img { width: 120px; height: 160px; }
    
    /*
    .fame-img { width: 65px; height: 87px;}
    */
  }
