html {
    scroll-behavior: smooth;
}
body {
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: #404040;
    max-width: 850px;
    margin: 50px auto;
    padding: 0 30px;
    background-color: #fcfcfc;
}
a {
    color: #3498db;
    text-decoration: none;
    border-bottom: 1px solid rgba(52, 152, 219, 0.3);
    transition: all 0.2s ease;
}
a:hover {
    color: #2980b9;
    border-bottom: 2px solid #2980b9;
    background-color: rgba(52, 152, 219, 0.05);
}
h1 {
    color: #1a2a3a;
    border-bottom: 3px solid #3498db;
    padding-bottom: 12px;
    font-size: 1.4em;
}
h2 {
    color: #2980b9;
    margin-top: 1.8em;
    font-size: 1.2em;
}
.samp {
    background-color: #f4f4f4;
    padding: 2px 45px 2px 15px;
    font-family: "Consolas", "Monaco", monospace;
    display: none;
    color: #212121;
    align-items: center;
    margin: 8px 0;
    white-space: pre-wrap;
    border-radius: 8px;
    position: relative;
    min-height: 24px;
    font-size: 0.88em;
}
.samp:first-child,
:not(.samp) + .samp {
    display: flex !important;
}
.samp.js-expanded {
    display: flex !important;
}
div.samp p i {
    font-style: normal;
}
.samp-clickable {
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.samp-clickable:hover {
    background-color: #ededed;
}
.samp-hidden {
    display: none !important;
}
.samp-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    opacity: 0.33;
    font-weight: bold;
    font-size: 1.4em;
    line-height: 1;
    pointer-events: none;
}
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #add8e6;
    border: 1px solid rgba(173, 216, 230, 0.3);
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    z-index: 9999;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    -webkit-tap-highlight-color: transparent;
    outline: none;
    user-select: none;
    transition: all 0.3s ease;
}
#backToTop:hover {
    background-color: rgba(173, 216, 230, 0.2);
    color: #87ceeb;
}
#searchBtn {
    position: fixed;
    top: 25px;
    right: 25px;
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.02);
    color: #add8e6;
    border: 1px solid rgba(173, 216, 230, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    z-index: 9999;
    opacity: 0.5;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    -webkit-tap-highlight-color: transparent;
    transition: all 0.4s ease;
}
#searchBtn:hover {
    opacity: 0.9;
    background-color: rgba(173, 216, 230, 0.1);
    transform: scale(1.1);
}
