  
    * {
      box-sizing: border-box;
      cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' height='32' width='32'><text y='24' font-size='24'>☻</text></svg>") 16 16, auto;
    }

    body {
      margin: 0;
      font-size: 1rem;
      line-height: 1.8;
      word-break: keep-all;
      font-family: Pretendard, BlinkMacSystemFont, -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
      background-color: #ffff31;
      color: black;
      height: 100vh;       
    overflow: hidden;   
    }

    hr {
      background:#222;
      height:1px;
      border:0;
    }

    b {
      font-size: 1.2rem;
    }
    
    .preloader {
      display: flex;
      font-size: 130px;
      font-weight: 900;
      line-height: 170px;
      justify-content: center;
      align-items: center;
      position: fixed;
      z-index: 999;
      width: 100%;
      height: 100%;
      padding: 1rem;
      background-color: black;
      color: #ffff31;
      opacity: 1;
      transition: opacity 0.7s ease-out; 
      pointer-events: all;
    }

    .preloader.hidden {
      opacity: 0;
      pointer-events: none;
    }

    .preloader-title {
      text-align: center;
    }

    #title {
      display: flex;
      align-items: center;
      text-align: center;
      left: auto;
      justify-content: center;
      padding: 25px;
    }

    h1 {
        position:relative ;
        text-align: center;
        padding: 40px;
        align-items: center;
    }
    .angle {
      transition: transform 0.3s ease;
    }
    .angle:hover {
        transform: skewY(-10deg); 
    }
    .angle1 {
      transition: transform 0.3s ease;
    }
    .angle1:hover {
        transform: skewY(-10deg); 
    }


    p {
      padding-left: 20px;
    }

    span {
      text-align: center;
    }

    li::marker {  content: '♫ ';  color: rgb(0, 0, 0);}
    li {
      text-indent: 15px;
    }

    .final {
        bottom: 0%;
        padding-left: 16px;
    }

    .container {
      display: flex;
      height: 100vh;
    }
    .textbox {
    margin-top: 10px;
    min-height: 150px;
    width: 100%;
    }

    .fix {
        position: fixed;
        right: 26.5%;
        top: 9%;
        grid-template-columns: repeat(2,0fr);
        z-index: 100;
    }
    .colum-a::-webkit-scrollbar {
    display: none; }
    
    /* 왼쪽 퍼즐 인터랙션 영역 */
    .left-panel {
      flex: 2;
      padding: 0px 60px 90px 40px;
      overflow-y: auto;
      
    }

    .puzzle-container {
      position: sticky;
        margin-bottom: 20px;
        background: #ffff31;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
        border-radius: 5px;
        min-height: 60px;
        padding: 1px 0px;
    }

    .puzzle-container:hover {
        opacity: 1;
        width: 100%;
    }

    .puzzle-piece {
      background: #ffff31;
      color: #222;
      border-radius: 3px;
      border: solid 1px black;
      padding: 8px;
      margin: 10px 8px;
      cursor: grab;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      transform: skewY(-3deg); 
      transition: transform 0.3s ease;
    }

    .ghost {
      opacity: 0.4;
    }
        .puzzle-piece:hover {
        transform: skewY(3deg); 
    }

        .dragging {
      opacity: 0.5;
      background-color: #222;
      color: #ffff31;
    }

        label {
      display: block;
      margin-top: 20px;
      font-weight: bold;
      opacity: 1;
      transition: opacity 0.3s ease;
    }

    .highlight {
        background: black;
        color: #ffff31;
    }

    .highlighted {
      font-size: 20px;
     background-color: #ffff31; /* 연한 노랑 */
    transition: background-color 0.3s ease font-size 1s ease-in-out;
}

    .highlighted:hover {
        background-color: black;
    }


    .puzzle-piece:active {
      cursor: grabbing;
    }

    .dropzone {
      margin-top: -31px;
      width: 90%;
      padding: 20px;
      border-radius: 8px;
      min-height: 1100px;
      background-color: #ffff31;
      border: solid 1px black;
      gap: 20px;
    }

    .dropzone::before {
  content: "☺";
  position: absolute;
  align-items: center;
  top: 54%;
  left: 55%;
  transform: translate(-50%, -50%);
  font-size: 240px;
  color: #000000;
  opacity: 0.1;
  pointer-events: none; /* 드래그나 클릭 방지 */
}


    .colum {
        display: grid;
    gap: 12px;
    overflow-y: auto;
    margin-top: 5%;
    }

    .colum-a {       
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px;
    margin-top: 5%;}

    body::selection {
  background: #222;
  color: #ffff31;
}


    /* 오른쪽 참고문헌 영역 */
    .right-panel {
      flex: 1;
      border-left: solid 1px black;
      max-width: 25%;
      padding: 30px;
      overflow-y: auto;
    }
    textarea {
        width: 100%;
        height: 100%;
        border-radius: 8px;
        margin: 10px 0px 0px;
    }

    .ref-title {
      font-size: 20px;
      margin-bottom: 16px;
      font-weight: bold;
    }

    .reference-list {
      list-style-type: disc;
      padding-left: 20px;
    }

    .reference-list li {
      margin-bottom: 10px;
      line-height: 1.5;
    }

    .left-panel::-webkit-scrollbar {
    width: 10px;
    border: none;         
  }
  .left-panel::-webkit-scrollbar-thumb {
    background-color:#222;
    border: none;         
  }
  .left-panel::-webkit-scrollbar-track {
    background: transparent; 
    border: none;           
  }
    .left-panel::-webkit-scrollbar-button {
    display: none;
    border: none;         
  }
  .left-panel::-webkit-scrollbar {
  outline: none;
}