html,body{margin:0;padding:0;width:100%;height:100%;background-color:#f7f9fc;font-family:sans-serif;text-align:center}body{min-width:320px;min-height:100vh}#root{width:100%;height:100%}.container{display:flex;align-items:flex-start;justify-content:center;gap:20px;padding:40px;width:100%;min-height:100vh;background-color:#f7f9fc;box-sizing:border-box}.sidebar{width:250px;background:#f4f4f4;border:1px solid #ccc;padding:10px;height:80vh;overflow-y:auto;border-radius:8px;box-shadow:0 0 10px #0000000d}.main{flex:1;background:#fff;border-radius:8px;padding:20px;box-shadow:0 2px 10px #0000000d}.result-container{margin-top:15px;background:#1e1e1e;color:#fff;padding:10px;border-radius:6px;white-space:pre-wrap}.sidebar ul{list-style:none;padding:0;margin:0}.sidebar li{cursor:pointer;padding:6px;border-bottom:1px solid #ddd;font-size:12px}.sidebar li:hover{background:#e0e0e0}body{font-family:Noto Sans JP,sans-serif;background-color:#f5f7fa;color:#333;margin:0;padding:0;display:flex;justify-content:center;align-items:flex-start;min-height:100vh}#root{width:100%;max-width:900px;margin:2rem auto;text-align:center}h1{font-size:2.4rem;color:#1f2937;font-weight:700;margin-bottom:1.5rem}textarea{width:90%;max-width:700px;height:150px;padding:1rem;border-radius:8px;border:1px solid #ccc;font-family:monospace;font-size:14px;resize:vertical;box-shadow:inset 0 1px 3px #0000001a}.button-container{display:flex;justify-content:center;margin:1.5rem 0}button{background-color:#007bff;color:#fff;border:none;padding:.7rem 1.5rem;border-radius:8px;cursor:pointer;font-size:1rem;font-weight:600;transition:all .2s ease}button:hover{background-color:#0056b3;transform:translateY(-2px)}.result-container{margin-top:15px;background:#1e1e1e;color:#eee;padding:15px;border-radius:6px;white-space:pre-wrap;font-family:monospace;text-align:left;overflow-x:auto}.result-container pre{text-align:left;margin:0}.history{margin-top:2rem;background:#222;padding:1rem;border-radius:8px}.history ul{list-style:none;padding:0}.history li{cursor:pointer;color:#61dafb;padding:.5rem;border-bottom:1px solid #333;transition:background .2s}.history li:hover{background:#333}.clear-btn{background:#f66;color:#fff;border:none;border-radius:6px;padding:6px 10px;cursor:pointer;font-size:.9em;width:100%;margin-bottom:10px;transition:background .2s}.clear-btn:hover{background:#e65555}.result-container{position:relative;background-color:#1e1e1e;color:#fff;padding:16px;border-radius:8px;text-align:left;overflow:auto;min-height:200px;font-family:monospace}.result-actions{position:absolute;top:6px;right:8px;display:flex;gap:4px}.result-actions button{background:transparent;border:none;color:#aaa;font-size:14px;cursor:pointer;padding:2px;transition:color .2s,transform .1s}.result-actions button:hover{color:#fff;transform:scale(1.05)}.copied-message{position:absolute;bottom:8px;right:12px;background-color:#222222e6;color:#7af59a;padding:3px 6px;border-radius:4px;font-size:12px;opacity:.9;animation:fadeOut 1.2s forwards}@keyframes fadeOut{0%,90%{opacity:1}to{opacity:0}}.result-actions{display:flex;justify-content:flex-end;gap:8px;margin-bottom:5px}.result-actions button{background:none;border:none;cursor:pointer;color:#ccc;font-size:.9em;transition:color .2s ease}.result-actions button:hover{color:#fff}
