.attribution {
    display: none;
    font-size: 11px;
    text-align: center;
}

.attribution a {
    color: hsl(228, 45%, 44%);
}

:root {
    --orange-500: hsl(25, 97%, 53%);
    --orange-400: hsl(20.38deg 100% 58.43%);
    --orange-501: hsl(22.3deg 47.68% 53.53%);
    --White: hsl(0, 100%, 100%);
    --grey-500: hsl(217, 12%, 63%);
    --grey-900: hsl(213, 19%, 18%);
    --grey-950: hsl(216, 12%, 8%);
    --grey-850: hsl(210deg 14% 19.61%);
}

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

body {
    display: flex;
    margin: 1.5rem;
    min-height: calc(100vh - 3rem);
    background: var(--grey-950);
    color: var(--grey-500);
    font-family: "Overpass", Arial, Helvetica, sans-serif;
}

h1 {
    color: var(--White);
    font-size: 1.5rem;
    font-weight: 700;
}

button {
    background: var(--orange-400);
    display: block;
    width: 100%;
    padding: 1rem;
    border-radius: 2rem;
    font-size: .85rem;
    font-weight: 700;
    color: var(--grey-900);
    text-transform: uppercase;
    letter-spacing: .15rem;
    cursor: pointer;
}

::backdrop {
    cursor: pointer;
}

p {
    font-size: calc(14rem / 16);
    line-height: 1.5rem;
}

.card {
    max-width: 410px;
    margin: auto;
    background: var(--grey-900);
    padding: 1.5rem;
    border-radius: 2rem;
}

.card-main,
.modal-inner {
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}


div:has(.star) {
    width: 2.5rem;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    display: flex;
    background: var(--grey-850);
}

img {
    width: 17px;
    height: 16px;
    margin: auto;
}

dialog.card {
    color: var(--grey-500);
    text-align: center;
    width: calc(100vw - 3rem);
}

h2 {
    color: white;
}

img.thanks {
    height: 6rem;
    width: 9rem;
}

.echo {
    color: var(--orange-501);
    background: var(--grey-850);
    width: fit-content;
    margin: auto;
    padding: .6rem 1.4rem;
    border-radius: 2rem;
    font-size: 14px;
}

.rating-options {
    display: flex;
    justify-content: space-between;
}

button:hover,
button:focus {
    background: var(--White);
    color: black;
    outline: 0;
}

div[role="radio"] {
    background: var(--grey-850);
    border-radius: 50%;
    height: 3rem;
    width: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    cursor: pointer;
}

div[role="radio"][aria-checked="true"] {
    background: var(--orange-400);
    color: var(--grey-900);
}

div[role="radio"]:focus,
div[role="radio"]:hover {
    background: var(--White);
    color: black;
    outline: 0;
}

button:disabled {
    cursor: not-allowed;
}

.github-corner:focus svg {
    outline: 1px solid white;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}