.results-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.result-panel {
    position: relative;
    overflow: hidden;
    padding: 16px;
}

.result-panel > .absolute {
    display: none;
}

.result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}

.model-label {
    color: var(--font-color);
    font-family: "Fira Code", monospace;
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.04em;
}

.copy-button {
    width: 38px;
    height: 38px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
}

.copy-button svg {
    width: 14px;
    height: 14px;
}

.result-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.device-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.device-image-frame {
    width: 200px;
    height: 145px;
    max-width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
}

.device-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    mix-blend-mode: var(--image-blend-mode);
    transform-origin: center;
}

.device-image--6004 {
    transform: scale(1.42);
}

.result-value-area {
    width: 100%;
    min-width: 0;
    text-align: center;
}

.password-value {
    margin: 8px 0 12px;
    color: var(--font-color);
    font-family: "Fira Code", monospace;
    font-size: clamp(34px, 6vw, 46px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.06em;
}

.direction-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    margin: 8px 0 12px;
}

.direction-badge {
    min-width: 0;
    padding: 8px 3px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    background: var(--control-background);
    border: 2px solid var(--main-color);
    border-radius: var(--control-radius);
    box-shadow: var(--control-shadow);
    color: var(--font-color);
    font-family: "Fira Code", monospace;
    text-align: center;
}

.direction-index {
    color: var(--font-color-sub);
    font-family: Inter, sans-serif;
    font-size: 9px;
    font-weight: 700;
}

.direction-symbol {
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 20;
    transform: translateX(-50%);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 7px;
    background: var(--control-background);
    border: 2px solid var(--main-color);
    border-radius: var(--control-radius);
    box-shadow: var(--control-shadow);
    color: var(--font-color);
    font-size: 12px;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transition: opacity 150ms ease-out, transform 150ms ease-out;
}

.toast.opacity-100 {
    opacity: 1;
    transform: translate(-50%, -4px);
}

.toast.opacity-0 {
    opacity: 0;
}

.toast svg {
    width: 16px;
    height: 16px;
}
