*{margin: 0;padding: 0;box-sizing: border-box;}html, body{height: 100%;width: 100%;overflow-x: hidden;}body{display: flex;justify-content: center;align-items: flex-start;padding: 20px;}.z{display: flex;flex-direction: column;justify-content: flex-start;}.y{display: flex;justify-content: space-between;width: 100%;min-height: 0;}.y:first-child{min-height: 60px;}.y.central{min-height: 600px;}.y:last-child{min-height: 80px;}.x{display: flex;justify-content: center;align-items: center;flex-grow: 1;padding: 1px;}.b{width: 760px;}.a{width: 170px;}#cq{position: relative;width: 100%;text-align: center;padding: 20px 0;background-color: rgba(255, 255, 255, 0.1);}#cq h1{font-size: 2.5em;color: #333;text-shadow: 4px 4px 5px rgba(0, 0, 0, 0.6);margin: 0 20px;font-family: 'Arial', sans-serif;}.cr{display: flex;justify-content: center;align-items: center;}.d6{display: inline-block;padding: 4px 6px;background-color: #ff0;color: #333;border: 1px solid #ccc;border-radius: 8px;text-decoration: none;font-weight: 500;transition: background-color 0.3s, color 0.3s;}.d6:hover{background-color: #e0e0e0;color: #000;}.d1{width: 40px;height: auto;margin: 0 10px;}@media only screen and (max-width: 768px) {body { padding:0;}  .z{flex-direction: column;width: 100%;height: auto;}  .a{display: none;}  .b{width: 100%;}   #cq h1{font-size: 1.8em;}    .d1{width: 30px;}}#f{width:100%;height:100%}.m{display: flex;flex-direction: column;align-items: center;padding: 2px;margin: 2px auto;width: 96%;border: 2px solid orange;background-color: #f4f4f4;}#g{position: relative;width: 100%;text-align: center;padding: 10px 0;background-color: rgba(255, 255, 255, 0.1);font-size: 1.0em;color: #333;text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);margin: 0 ;font-family: 'Arial', sans-serif;}#k, #h{width: 98%;max-width: 98%;height: 320px;padding: 10px;margin-bottom: 10px;font-size: 1em;border: 1px solid #ccc;border-radius: 4px;white-space: pre-wrap;box-sizing: border-box;overflow: auto;resize: none;text-align: left;line-height: 1.5;display: block;spellcheck: false;}#h{display: none;}#j{display: none;}#h{background-color: #fff;}#k{background-color: #fff;transition: background-color 0.3s ease;}.c9{background-color: #fff !important;}.c8{background-color: #eafff3 !important;}.c7{background-color: #ffffee !important;}.n{display: flex;justify-content: center;align-items: center;margin: 20px 0;gap: 40px;}.n button{background-color: transparent;border: none;cursor: pointer;transition: transform 0.2s ease;}.n button:hover svg{transform: scale(1.1);}.n svg{transition: transform 0.2s ease;width: 60px;height: 60px;filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.7));}@keyframes d2 {0% { opacity: 0;}    100%{opacity: 1;}}.d3{animation: d2 0.4s ease-in-out;}.ce{position: relative;width: 100%;text-align: center;padding: 10px 0;background-color: rgba(255, 255, 255, 0.1);font-size: 1.05em;color: #333;text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);margin: 20px 0;font-family: 'Arial', sans-serif;overflow: hidden;}.cf p{margin: 10px 0;text-align: left;}.cf{background-color: #fff;width:96%;}.cg{text-align: center;margin-top: 20px;color: #666;}.ch p, .cj p{font-size: 1.0em;margin: 8px 0;}header{background-color: #4CAF50;color: #fff;padding: 10px;text-align: center;border-radius: 8px;}#d4{width: 98%;max-width: 760px;margin: 20px auto;padding: 20px;background-color: #f9f9f9;border: 1px solid #ddd;border-radius: 4px;box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);font-size: 1em;}#d4 h2, #d4 h3{color: #333;margin-top: 10px;text-align: center;}#d4 p, #d4 ol, #d4 ul{margin: 10px 0;line-height: 1.5;}        .circle-schema{text-align: center;margin: 20px 0;}        .circle-schema img{max-width: 100%;height: auto;border: 2px solid #ddd;border-radius: 10px;}        p{line-height: 1.6;margin: 10px;}        ul{margin: 10px;padding: 10px;}        ul li{margin: 5px;}        @media (max-width: 768px) {#g { font-size: 1em;}  .cf p{font-size: 0.8em;}      #k, #h{font-size: 0.9em;}    .n svg{width: 54px;height: 54px;}    #d4{font-size: 0.9em;padding: 15px;}  #d4 h2{font-size: 1.2em;}  #d4 h3{font-size: 1em;}  }body{font-family: Arial, sans-serif;background-color: #f4f4f4;color: #333;text-align: center;padding: 20px;}.d7{background: #fff;border-radius: 8px;padding: 20px;box-shadow: 0 2px 5px rgba(0,0,0,0.2);display: inline-block;margin-top: 20px;}h1{margin-bottom: 20px;}.d8{margin-top: 15px;margin-bottom: 15px;}.d8 label{display: block;margin-bottom: 5px;font-size: 1.1em;}.d9{display: flex;align-items: center;justify-content: center;margin-bottom: 15px;}.d9 button{font-size: 1.2em;width: 40px;height: 40px;border: none;background: #ddd;color: #333;border-radius: 50%;margin: 0 10px;cursor: pointer;transition: background 0.3s;}.d9 button:hover{background: #bbb;}.d9 span{font-size: 1.2em;margin: 0 10px;}#bpm{width: 300px;}select{font-size: 1em;padding: 5px;}.d0{margin: 10px 0;display: flex;justify-content: center;align-items: center;}.beat{width: 30px;height: 30px;border-radius: 50%;background: #ccc;margin: 0 5px;display: flex;align-items: center;justify-content: center;font-weight: bold;color: #fff;}     .da{width: 24px;height: 24px;margin: 0 1px;font-size: 0.9em;}.beat.active{background: #4CAF50;}.d8 input[type="checkbox"]{margin-right: 5px;}.db{margin-top: 20px;}button#dc{padding: 10px 20px;font-size: 1em;border: none;border-radius: 4px;cursor: pointer;background: #4CAF50;color: #fff;transition: background 0.3s;}button#dc:hover{background: #449d48;}.de{margin-top: 30px;padding: 15px;background: #eef;border-radius: 8px;font-size: 0.95em;line-height: 1.5;text-align: left;max-width: 600px;margin-left: auto;margin-right: auto;}.de h2{font-size: 1.2em;margin-bottom: 10px;}.dd{display: inline-block;margin-top: 20px;padding: 8px 16px;background-color: #f9f9f9;color: #555;border: 1px solid #ccc;border-radius: 6px;text-decoration: none;font-size: 14px;}.dd:hover{background-color: #eee;color: #222;}.d7  h1{font-size: 2.5em;color: #333;text-shadow: 4px 4px 5px rgba(0, 0, 0, 0.6);margin: 0 20px;font-family: 'Arial', sans-serif;}@media (max-width: 768px) {.d7 h1 { font-size: 1.5em;color: #333;text-shadow: 4px 4px 5px rgba(0, 0, 0, 0.6);margin: 0 20px;font-family: 'Arial', sans-serif;} .de{max-width: 98vw;}}