@font-face {
  font-family: "TNR";
  src: url("/assets/fonts/TNR.woff2") format("woff2");
  font-display: block;
  transform-origin: left;
  size-adjust: 79%;
}

@font-face {
  font-family: "Roboto Mono";
  src: url("/assets/fonts/RobotoMono-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Mono";
  src: url("/assets/fonts/RobotoMono-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@supports not selector(::-webkit-scrollbar) {
    html {
        scrollbar-color: #ebeaea #242424;
    }
}

*::-webkit-scrollbar-track,
*::-webkit-scrollbar-track-piece,
*::-webkit-scrollbar-corner {
    background-color: #242424;
}

*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

*::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}

*::-webkit-scrollbar-thumb {
    background-color: #242424;
    background-image: linear-gradient(#ebeaea10, #ebeaea10);
    background-position: center;
    background-repeat: no-repeat;
}

*::-webkit-scrollbar-thumb:hover {
    background-image: linear-gradient(#ebeaea60, #ebeaea60);
}

html {
    min-width: 420px;
}

body {
    background-color: black;
    color: #ebeaea;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    display: grid;
    justify-items: center;
    font-family: "Roboto Mono", monospace;
    color: #ebeaea;
}

a {
    text-decoration: none;
    color: #ebeaea;
}

#content {
    width: min(680px, calc(100% - 2rem));
    margin: 2rem 0 2rem 0;
    padding: 2rem 1rem 2rem 1rem;
    border: 1px solid #606060;
}

#warp-block-1 {
    margin-bottom: 1rem;
}

#warp-block-2 {
    border-top: 1px dashed #ebeaea60;
    border-bottom: 1px dashed #ebeaea60;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

#warp-block-2, #warp-block-3, #warp-block-4 {
    margin-bottom: 1rem;
}

.disclaimer {
    letter-spacing: 0.18rem;
    text-transform: uppercase;
}

.title-container {
    width: fit-content;
    margin: auto;
    position: relative;
}

.title-up, .title-down {
    font-family: TNR;
    font-size: 8rem;
}

.title-block {
    position: absolute;
    top: -50px;
    right: 7px;
    width: 270px;
    height: 112px;
    z-index: -1;
    background-color: #4b1414;
}

.title-up {
    transform: translateX(-28px);
}

.title-down {
    transform: translateY(-32px);
}

.block-1-container {
    width: 100%;
    height: fit-content;
}

.block-1-content {
}

.block-2-container {
    width: 100%;
    border-bottom: 1px solid #bfbfbf;
    height: 343px;
}

.flex {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0.5ch;
}

.block-1-header {
    width: 100%;
    height: fit-content;
}

.div-hf {
    height: 16px;
    margin-bottom: 6px;
    margin-top: 6px;
    background: radial-gradient(#a6a6a699 .2px, transparent 1px) 0 0 / 3px 3px, transparent
}

.service-url {
    text-decoration: none;
    color: #ebeaea;
    border-bottom: 1px solid #ebeaea60;
}

.flex-row {
    display: flex;
}

.fb {
    flex: 0;
}

.title, .title-end {
    width: fit-content;
    height: 100%;
    padding: 4px 0px;
    line-height: 1.25rem;
    font-size: 0.9rem;
    letter-spacing: 0.12rem;
    color: #ebeaea;
    font-weight: bold;
}

.w-200 {
    width: 140px;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 0.7rem;
    width: 100%;
}

.tcenter {
    text-align: center;
}

.tend {
    text-align: end;
}

.tstart {
    text-align: start;
}

table th {
    font-family: "Roboto Mono", monospace;
    padding: 4px 4px 4px 2px;
}

table td {
    text-overflow: ellipsis;
    height: 1.85rem;
    padding: 2px 4px 2px 2px;
    line-height: 1.4rem;
    overflow: hidden;
}

.chip {
    flex: 0 0 160px;
    border: 1px dashed #ebeaea80;
    padding: 1px;
    font-size: 12px;
    text-align: center;
    align-items: center;
    align-content: center;
    letter-spacing: 0.08rem;
    user-select: none;
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: #ebeaea;
}

.chip:hover {
    background-color: #ebeaea;
    color: black;
    font-weight: bold;
}

.descr, .expand {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    padding: 4px 4px 4px 0;
    font-size: 12px;
    white-space: nowrap;
    align-self: end;
}

.expand {
    font-size: 1rem;
}

.ast {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0.5ch;
    overflow: hidden;
    white-space: nowrap;
}

.ast::before,
.ast::after {
    content: "";
    flex: 1 1 auto;
    min-width: 1ch;
    height: 1em;
    background-color: currentColor;
    -webkit-mask-image: url("/assets/asterisk-mask.svg");
    -webkit-mask-position: left center;
    -webkit-mask-repeat: repeat-x;
    -webkit-mask-size: 0.75em 0.9em;
    mask-image: url("/assets/asterisk-mask.svg");
    mask-position: left center;
    mask-repeat: repeat-x;
    mask-size: 0.75em 0.9em;
}

.descr::before, .expand::before {
    content: "";
    flex: 1 1 auto;
    min-width: 1ch;
    height: 1em;
    margin-right: 0.5ch;
    background-image: radial-gradient(circle, currentColor 0 1px, transparent 1.2px);
    background-repeat: repeat-x;
    background-position: left 70%;
    background-size: 0.5em 0.5em;
}

.chip-blue {
    background-color: #c8d7e9;
}

.chip-pink {
    background-color: #e1c8e9;
}

.flex-end {
    align-items: end;
    align-content: end;
    text-align: end;
    font-size: 8px;
    padding: 2px;
}


.spectrum-monitor {
    width: 100%;
    min-width: 0;
    color: #bfbfbf;
}
.spectrum-monitor-grid {
    display: grid;
    width: min(100%, calc(100vw - 4rem));
    grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr));
    gap: 1.25rem;
    min-width: 0;
    align-items: start;
}


.spectrum-plot {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 0.75rem;
    min-width: 0;
}

.spectrum-frequency {
    display: grid;
    grid-template-rows: repeat(6, minmax(0, 1fr));
    align-items: center;
    justify-items: end;
    font-size: 9px;
    line-height: 2.65;
    color: #868686;
    white-space: nowrap;
}


.spectrum-field {
    position: relative;
    container-type: inline-size;
    min-width: 0;
    height: 8.5rem;
    overflow: hidden;
    background-image: radial-gradient(circle, rgba(235, 234, 234, 0.18) 0 0.45px, transparent 0.6px);
    background-repeat: repeat;
    background-size: 0.45rem 0.45rem;
}

.legend {
    width: fit-content;
    margin-left: auto;
    margin-top: 8px;
}

.text-small {
    font-size: 10px;
    color: #696969;
    text-align: justify;
    display: block;
}

.spectrum-axis {
    position: absolute;
    z-index: 2;
    overflow: hidden;
    margin: 0;
    color: #bfbfbf;
    font-family: "Roboto Mono", monospace;
    font-variant-ligatures: none;
    white-space: pre;
    pointer-events: none;
    user-select: none;
}

.spectrum-axis-vertical {
    top: 0;
    bottom: 0.55rem;
    left: 0;
    font-size: 10px;
    line-height: 11.5px;
}

.spectrum-axis-horizontal {
    right: 0;
    bottom: 0;
    left: 0;
    font-size: 10px;
    line-height: 1;
    letter-spacing: 0;
}


.spectrum-footer {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: end;
    gap: 0.75rem;
    min-width: 0;
    margin-top: 0.5rem;
}

.spectrum-readouts {
    min-width: 0;
    overflow: hidden;
    color: #868686;
    font-size: 10px;
    line-height: 1.6;
    white-space: nowrap;
}

.spectrum-readouts > div {
    overflow: hidden;
}


.waterfall-field {
    position: absolute;
    z-index: 0;
    top: 0.35rem;
    right: 0.25rem;
    bottom: 0.8rem;
    left: 0.9rem;
    overflow: hidden;
    opacity: 0.62;
}

.waterfall-history {
    position: absolute;
    z-index: 1;
    top: -3.6rem;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    animation: waterfall-history-scroll 5.6s steps(8, end) infinite;
    will-change: transform;
}

@keyframes waterfall-history-scroll {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(3.6rem);
    }
}
@media (prefers-reduced-motion: reduce) {
    .waterfall-history {
        top: 0;
        animation: none;
        transform: none;
    }
}

.waterfall-scan-line {
    height: 0.45rem;
    width: 80em;
    overflow: hidden;
    color: #bfbfbf;
    font-family: "Roboto Mono", monospace;
    font-size: 0.5rem;
    font-variant-ligatures: none;
    line-height: 0.45rem;
    letter-spacing: 0;
    white-space: pre;
    transform: scaleX(calc(100cqw / 49.25em));
    transform-origin: left center;
}

.spectrum-trace-monitor {
    width: 100%;
    min-width: 0;
    color: #bfbfbf;
}

.spectrum-trace-caption {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    min-width: 0;
    margin-bottom: 0.35rem;
    overflow: hidden;
    color: #868686;
    font-size: 10px;
    line-height: 1.2;
    white-space: nowrap;
}

.spectrum-trace-caption > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: clip;
}

.spectrum-trace-field .spectrum-axis-vertical,
.spectrum-trace-field .spectrum-axis-horizontal {
    bottom: 0.8rem;
}

.spectrum-trace-power-label {
    position: absolute;
    z-index: 3;
    top: 0.15rem;
    left: 0.9rem;
    color: #868686;
    font-family: "Roboto Mono", monospace;
    font-size: 8px;
    font-variant-ligatures: none;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.spectrum-trace-frequency-labels {
    position: absolute;
    z-index: 3;
    right: 0.25rem;
    bottom: 0;
    left: 0.9rem;
    display: flex;
    align-items: end;
    justify-content: space-between;
    height: 0.8rem;
    color: #868686;
    font-family: "Roboto Mono", monospace;
    font-size: 8px;
    font-variant-ligatures: none;
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

.spectrum-trace-window {
    position: absolute;
    z-index: 1;
    top: 0.35rem;
    right: 0.25rem;
    bottom: 1.2rem;
    left: 0.9rem;
    min-width: 0;
    overflow: hidden;
    container-type: inline-size;
    color: #bfbfbf;
    font-family: "Roboto Mono", monospace;
    font-size: 8px;
    font-variant-ligatures: none;
    line-height: 1;
}

.spectrum-trace-strip {
    display: flex;
    width: max-content;
    flex-wrap: nowrap;
    animation: spectrum-trace-frames 5.6s steps(8, end) infinite;
    will-change: transform;
}

.spectrum-trace-frame {
    flex: 0 0 72em;
    width: 72em;
    height: 17em;
    margin: 0;
    color: #bfbfbf;
    font: inherit;
    font-variant-ligatures: none;
    line-height: 1;
    letter-spacing: 0;
    white-space: pre;
}

@keyframes spectrum-trace-frames {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-576em);
    }
}


@media (prefers-reduced-motion: reduce) {
    .spectrum-trace-strip {
        animation: none;
        transform: none;
    }
}


.buttons {
    display: flex;
    justify-content: end;
    margin-top: 8px;
    padding: 2px;
}

#next, #prev {
    padding: 4px;
    margin-left: 4px;
    align-self: center;
    border: 1px dashed #ebeaea60;
    background-color: black;
    color: #ebeaea60;
    font-family: "Roboto Mono", monospace;
}

#next:hover, #prev:hover {
    border: 1px solid #ebeaea;
    color: #ebeaea;
}

#next:focus-visible, #prev:focus-visible {
    outline: 2px solid #ebeaea;
    outline-offset: 2px;
    border: 1px solid #ebeaea;
    color: #ebeaea;
}

#next {
    margin-left: 8px;
}

.btn-disabled {
    border: 1px dashed #ebeaea60 !important;
    cursor:not-allowed;
}

.post-card {
    display: flex;
    width: 100%;
    font-size: 0.7rem;
    text-decoration: none;
    color: #ebeaea;
    margin-bottom: 2px;
    border-left: 5px solid #ebeaea30;
    padding: 6px;
}

.post-card:hover {
    border-left: 5px solid #ebeaea;
}

.post-title {
    flex: 1;
}

.post-date {
    align-self: center;
    justify-self: end;
}

@media screen and (max-width: 600px) {
    .title-up, .title-down {
        font-size: 6rem;
    }
}

@media screen and (max-width: 500px) {
    .title-up, .title-down {
        font-size: 4rem;
        line-height: 1.25;
    }
}
