html[lang="fa"] body {
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
}
html[lang="en"] body {
    font-family: Arial, Helvetica, sans-serif;
}
html[lang="fa"] h1,
html[lang="fa"] h2 {
    font-weight: 700;
}
body {
    line-height: 1.9;
    margin: 0;
    padding: 40px;
    background: #0b1220;
    color: #f5f5f5;
}
.container {
    max-width: 1000px;
    margin: auto;
}
h1,
h2 {
    color: #ffd166;
}
.hero {
    text-align: center;
    padding: 40px 0;
}
.cuneiform {
    font-size: 48px;
    margin: 20px 0;
}
.buttons a {
    display: inline-block;
    margin: 10px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    color: #000;
    background: #ffd166;
}
.card {
    background: #151f33;
    padding: 25px;
    border-radius: 12px;
    margin: 25px 0;
}
textarea {
    width: 98%;
    height: 180px;
    font-size: 32px;
    padding: 15px;
    border-radius: 10px;
    border: none;
    resize: vertical;
    direction: ltr;
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
}
code {
    background: #000;
    padding: 5px 10px;
    border-radius: 5px;
}
ul {
    padding-left: 20px;
}
.mapping {
    font-size: 24px;
    letter-spacing: 5px;
    direction: ltr;
    text-align: left;
}
.mapping-fa {
    font-size: 24px;
    letter-spacing: 5px;
    direction: rtl;
    text-align: right;
}
.author {
    margin-top: 15px;
    font-size: 18px;
    font-weight: 400;
    opacity: 0.85;
}
.author strong {
    color: #ffd166;
    font-weight: 700;
}
.author a {
    color: #ffd166;
    text-decoration: none;
}
.author a:hover {
    text-decoration: underline;
}
.language-switch {
    margin-top: 20px;
}
.language-switch a {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 20px;
    border: 1px solid #ffd166;
    color: #ffd166;
    text-decoration: none;
    transition: all .3s ease;
    font-size: 15px;
}
.language-switch a:hover {
    background: #ffd166;
    color: #000;
}

/* Virtual Keyboard */
#keyboard {
    direction: ltr;
    width: 100%;
    margin-top: 20px;
    user-select: none;
    -webkit-user-select: none;
}
.keyboard-row {
    direction: ltr;
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 8px;
    width: 100%;
}
.keyboard-key {
    min-width: 42px;
    height: 42px;
    border-radius: 8px;
    border: none;
    font-size: 22px;
    cursor: pointer;
    background: #ffd166;
    color: #000;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    flex-shrink: 0;
}
#editor {
    direction: ltr;
    text-align: left;
}
.keyboard-key:active {
    transform: scale(.92);
    background: #f4b942;
}
/* Space bar */
.space-key {
    flex: 6;
    max-width: none;
}
/* Separator 𐏐 */
.separator-key {
    flex: 1;
    max-width: 48px;
}
/* Mobile Android style */
@media(max-width:600px){
    body {
        padding: 10px;
    }
    .keyboard-row {
        gap: 4px;
        margin-bottom: 6px;
    }
    .keyboard-key {
        height: 45px;
        font-size: 20px;
        border-radius: 5px;
    }
}