@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+KR:wght@400;500;600;700;800&display=swap");
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/variable/pretendardvariable-dynamic-subset.css");

@font-face {
    font-family: "NeoDunggeunmo";
    src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.3/NeoDunggeunmo.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.rad-archive,
.rad-archive * {
    box-sizing: border-box;
    letter-spacing: 0;
}

.rad-archive {
    --rad-ink: #24242c;
    --rad-paper: #f4f0e6;
    --rad-panel: #fffdf8;
    --rad-panel-2: #f8f4ea;
    --rad-line: rgba(36, 36, 44, 0.15);
    --rad-muted: #706d66;
    --rad-violet: #5b4b9a;
    --rad-teal: #2f7a70;
    --rad-red: #d84c58;
    --rad-yellow: #e8b84b;
    max-width: 1000px;
    margin: 0 auto;
    color: var(--rad-ink);
    font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
}

.rad-hero,
.rad-intro article,
.rad-filter,
.rad-section,
.rad-detail {
    border: 1px solid var(--rad-line);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(36, 36, 44, 0.045) 1px, transparent 1px),
        linear-gradient(0deg, rgba(36, 36, 44, 0.035) 1px, transparent 1px),
        var(--rad-panel);
    background-size: 18px 18px;
    box-shadow: 0 12px 28px rgba(20, 22, 28, 0.07);
}

.rad-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: end;
    padding: 30px;
    border-top: 0;
    color: #fffdf8;
    background:
        linear-gradient(90deg, rgba(232, 184, 75, 0.16) 1px, transparent 1px),
        linear-gradient(0deg, rgba(232, 184, 75, 0.1) 1px, transparent 1px),
        linear-gradient(135deg, rgba(91, 75, 154, 0.88) 0 24%, rgba(232, 184, 75, 0.28) 24% 34%, transparent 34% 100%),
        #171820;
    background-size: 22px 22px, 22px 22px, auto, auto;
    box-shadow: 0 18px 42px rgba(20, 22, 28, 0.14);
}

.rad-hero p,
.rad-section__head p,
.rad-detail__body > p:first-child {
    margin: 0 0 8px;
    color: var(--rad-yellow);
    font-family: "NeoDunggeunmo", "IBM Plex Sans KR", sans-serif;
    font-size: 12px;
}

.rad-hero h1,
.rad-section__head h2,
.rad-detail h1 {
    margin: 0;
    font-family: "IBM Plex Sans KR", Pretendard, sans-serif;
    line-height: 1.18;
    word-break: keep-all;
}

.rad-hero h1 {
    max-width: 680px;
    font-size: clamp(34px, 5vw, 54px);
    color: #fffdf8;
}

.rad-hero span {
    display: block;
    max-width: 680px;
    margin-top: 10px;
    color: rgba(255, 253, 248, 0.74);
    font-size: 15px;
    line-height: 1.7;
    word-break: keep-all;
}

.rad-hero dl {
    display: grid;
    grid-template-columns: repeat(3, 84px);
    gap: 8px;
    margin: 0;
}

.rad-hero dl div {
    min-height: 70px;
    padding: 12px;
    border: 1px solid rgba(255, 253, 248, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.rad-hero dt {
    color: var(--rad-violet);
    font-family: "NeoDunggeunmo", "IBM Plex Sans KR", sans-serif;
    font-size: 11px;
}

.rad-hero dd {
    margin: 6px 0 0;
    color: #fffdf8;
    font-family: "IBM Plex Sans KR", Pretendard, sans-serif;
    font-size: 24px;
    font-weight: 800;
}

.rad-intro {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.rad-intro article {
    min-height: 132px;
    padding: 16px;
    border-top: 3px solid var(--rad-violet);
}

.rad-intro article:nth-child(2) {
    border-top-color: var(--rad-teal);
}

.rad-intro article:nth-child(3) {
    border-top-color: var(--rad-yellow);
}

.rad-intro p,
.rad-context-cards p {
    margin: 0 0 10px;
    color: var(--rad-yellow);
    font-family: "NeoDunggeunmo", "IBM Plex Sans KR", sans-serif;
    font-size: 11px;
}

.rad-intro strong,
.rad-context-cards strong {
    display: block;
    color: var(--rad-ink);
    font-family: "IBM Plex Sans KR", Pretendard, sans-serif;
    font-size: 18px;
    line-height: 1.25;
}

.rad-intro span,
.rad-context-cards span {
    display: block;
    margin-top: 8px;
    color: var(--rad-muted);
    font-size: 13px;
    line-height: 1.65;
    word-break: keep-all;
}

.rad-filter {
    display: grid;
    grid-template-columns: minmax(180px, 1.5fr) repeat(3, minmax(130px, 1fr)) auto auto;
    gap: 10px;
    align-items: end;
    margin-top: 14px;
    padding: 14px;
}

.rad-filter label {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.rad-filter span {
    color: var(--rad-muted);
    font-size: 12px;
    font-weight: 800;
}

.rad-filter input,
.rad-filter select {
    width: 100%;
    min-width: 0;
    height: 42px;
    border: 1px solid var(--rad-line);
    border-radius: 8px;
    background: #fff;
    color: var(--rad-ink);
    font: 700 14px/1 Pretendard, sans-serif;
}

.rad-filter input {
    padding: 0 12px;
}

.rad-filter select {
    padding: 0 8px;
}

.rad-filter button,
.rad-filter a {
    display: inline-grid;
    place-items: center;
    height: 42px;
    padding: 0 16px;
    border-radius: 8px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.rad-filter button {
    border: 0;
    background: var(--rad-ink);
    color: #fff;
    cursor: pointer;
}

.rad-filter a {
    border: 1px solid var(--rad-line);
    background: #fff;
    color: var(--rad-ink);
}

.rad-section {
    margin-top: 14px;
    padding: 20px;
}

.rad-section__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.rad-section__head h2 {
    font-size: 24px;
}

.rad-section__head > span {
    min-width: 34px;
    min-height: 28px;
    display: inline-grid;
    place-items: center;
    padding: 0 10px;
    border: 1px solid rgba(91, 75, 154, 0.2);
    border-radius: 999px;
    color: var(--rad-violet);
    background: #f2effa;
    font-family: "IBM Plex Sans KR", Pretendard, sans-serif;
    font-size: 13px;
    font-weight: 900;
}

.rad-platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 10px;
}

.rad-platform-card,
.rad-game-list a {
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.rad-platform-card {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 12px;
    min-height: 116px;
    padding: 12px;
    border: 1px solid var(--rad-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    transition: transform 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
}

.rad-platform-card:hover,
.rad-game-list a:hover {
    transform: translateY(-2px);
    border-color: rgba(91, 75, 154, 0.55);
    box-shadow: 0 10px 20px rgba(28, 30, 38, 0.09);
}

.rad-platform-card__media,
.rad-detail__media {
    display: grid;
    place-items: center;
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(232, 184, 75, 0.15) 1px, transparent 1px),
        linear-gradient(0deg, rgba(232, 184, 75, 0.11) 1px, transparent 1px),
        #171820;
    background-size: 16px 16px;
    overflow: hidden;
}

.rad-platform-card__media {
    width: 74px;
    height: 74px;
}

.rad-platform-card__media img {
    display: block;
    width: auto;
    height: auto;
    max-width: 82%;
    max-height: 82%;
    object-fit: contain;
    object-position: center;
}

.rad-platform-card__media b,
.rad-detail__media b,
.rad-game-list b {
    color: var(--rad-yellow);
    font-family: "NeoDunggeunmo", "IBM Plex Sans KR", sans-serif;
}

.rad-platform-card__body {
    display: grid;
    align-content: center;
    gap: 7px;
    min-width: 0;
}

.rad-platform-card em {
    color: var(--rad-violet);
    font-style: normal;
    font-size: 12px;
    font-weight: 900;
}

.rad-platform-card strong,
.rad-game-list strong {
    font-family: "IBM Plex Sans KR", Pretendard, sans-serif;
    font-size: 17px;
    line-height: 1.32;
    word-break: keep-all;
}

.rad-platform-card span,
.rad-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.rad-platform-card i,
.rad-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border: 1px solid rgba(91, 75, 154, 0.2);
    border-radius: 999px;
    background: #f2effa;
    color: var(--rad-violet);
    font-style: normal;
    font-size: 12px;
    font-weight: 900;
}

.rad-game-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 8px;
}

.rad-game-list a {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--rad-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
}

.rad-game-list img,
.rad-game-list b {
    width: 48px;
    height: 64px;
    border-radius: 6px;
    background: #171820;
}

.rad-game-list img {
    object-fit: cover;
}

.rad-game-list b {
    display: grid;
    place-items: center;
    font-size: 10px;
}

.rad-game-list span {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.rad-game-list em {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: var(--rad-muted);
    font-style: normal;
    font-size: 12px;
    font-weight: 800;
}

.rad-detail {
    display: grid;
    grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
    gap: 24px;
    padding: 24px;
    border-top: 4px solid var(--rad-teal);
}

.rad-detail__media {
    align-self: start;
    min-height: 260px;
    padding: 20px;
}

.rad-detail__media img {
    width: 100%;
    max-height: 260px;
    object-fit: contain;
}

.rad-detail__media b {
    font-size: 28px;
}

.rad-detail h1 {
    font-size: clamp(30px, 5vw, 46px);
}

.rad-badges {
    margin: 14px 0;
}

.rad-context-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 18px 0;
}

.rad-context-cards article,
.rad-note-grid article,
.rad-comment {
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--rad-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.64);
}

.rad-note-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
}

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

.rad-price-grid article {
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--rad-line);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(232, 184, 75, 0.08) 1px, transparent 1px),
        linear-gradient(0deg, rgba(232, 184, 75, 0.06) 1px, transparent 1px),
        rgba(255, 255, 255, 0.72);
    background-size: 18px 18px;
}

.rad-price-grid article > p {
    margin: 0 0 12px;
    color: var(--rad-yellow);
    font-family: "NeoDunggeunmo", "IBM Plex Sans KR", sans-serif;
    font-size: 12px;
}

.rad-price-grid article > div {
    display: grid;
    gap: 8px;
}

.rad-price-grid a {
    display: grid;
    gap: 5px;
    padding: 11px 12px;
    border: 1px solid rgba(91, 75, 154, 0.16);
    border-radius: 8px;
    color: inherit;
    background: rgba(255, 255, 255, 0.84);
    text-decoration: none;
}

.rad-price-grid strong {
    color: var(--rad-ink);
    font-family: "IBM Plex Sans KR", Pretendard, sans-serif;
    font-size: 20px;
    line-height: 1.25;
}

.rad-price-grid span,
.rad-price-grid em {
    color: var(--rad-muted);
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
    line-height: 1.55;
    word-break: keep-all;
}

.rad-price-grid i {
    color: var(--rad-violet);
    font-style: normal;
}

.rad-note-grid p,
.rad-comment p {
    margin: 0 0 8px;
    color: var(--rad-yellow);
    font-family: "NeoDunggeunmo", "IBM Plex Sans KR", sans-serif;
    font-size: 12px;
}

.rad-note-grid strong,
.rad-comment strong {
    display: block;
    color: var(--rad-ink);
    font-family: "IBM Plex Sans KR", Pretendard, sans-serif;
    font-size: 16px;
}

.rad-note-grid span {
    display: block;
    margin-top: 7px;
    color: var(--rad-muted);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.6;
    word-break: keep-all;
}

.rad-summary,
.rad-empty {
    color: var(--rad-muted);
    line-height: 1.75;
    word-break: keep-all;
}

.rad-comment {
    margin: 18px 0;
    border-left: 4px solid var(--rad-violet);
    background:
        linear-gradient(90deg, rgba(91, 75, 154, 0.08) 1px, transparent 1px),
        linear-gradient(0deg, rgba(91, 75, 154, 0.06) 1px, transparent 1px),
        rgba(255, 255, 255, 0.72);
    background-size: 18px 18px;
}

.rad-comment strong {
    line-height: 1.75;
    word-break: keep-all;
}

.rad-detail dl {
    display: grid;
    gap: 0;
    margin: 18px 0 0;
    border-top: 1px solid var(--rad-line);
}

.rad-detail dl div {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid var(--rad-line);
}

.rad-detail dt {
    color: var(--rad-muted);
    font-weight: 900;
}

.rad-detail dd {
    margin: 0;
    font-weight: 900;
    word-break: keep-all;
}

.rad-empty {
    margin: 0;
    padding: 20px;
    border: 1px dashed var(--rad-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.58);
    text-align: center;
}

.rad-release-list {
    display: grid;
    gap: 8px;
}

.rad-release-card {
    min-width: 0;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) minmax(160px, 0.44fr);
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid var(--rad-line);
    border-radius: 8px;
    color: inherit;
    background: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    transition: transform 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
}

.rad-release-card:hover {
    transform: translateY(-2px);
    border-color: rgba(91, 75, 154, 0.55);
    box-shadow: 0 10px 20px rgba(28, 30, 38, 0.09);
}

.rad-release-card__thumb {
    width: 58px;
    height: 76px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background:
        linear-gradient(90deg, rgba(232, 184, 75, 0.15) 1px, transparent 1px),
        linear-gradient(0deg, rgba(232, 184, 75, 0.11) 1px, transparent 1px),
        #171820;
    background-size: 14px 14px;
    overflow: hidden;
}

.rad-release-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rad-release-card__thumb b {
    color: var(--rad-yellow);
    font-family: "NeoDunggeunmo", "IBM Plex Sans KR", sans-serif;
    font-size: 10px;
}

.rad-release-card__main {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.rad-release-card__main strong {
    overflow: hidden;
    color: var(--rad-ink);
    font-family: "IBM Plex Sans KR", Pretendard, sans-serif;
    font-size: 17px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rad-release-card__main em {
    overflow: hidden;
    color: var(--rad-muted);
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rad-release-card__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
    min-width: 0;
}

.rad-release-card__meta i {
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 0 9px;
    border: 1px solid rgba(47, 122, 112, 0.2);
    border-radius: 999px;
    color: var(--rad-teal);
    background: rgba(47, 122, 112, 0.08);
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
}

.rad-linked-platforms {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 8px;
}

.rad-linked-platforms a {
    min-width: 0;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--rad-line);
    border-radius: 8px;
    color: inherit;
    background: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}

.rad-linked-platforms span {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background:
        linear-gradient(90deg, rgba(232, 184, 75, 0.15) 1px, transparent 1px),
        linear-gradient(0deg, rgba(232, 184, 75, 0.11) 1px, transparent 1px),
        #171820;
    background-size: 12px 12px;
    overflow: hidden;
}

.rad-linked-platforms img {
    width: auto;
    height: auto;
    max-width: 84%;
    max-height: 84%;
    object-fit: contain;
}

.rad-linked-platforms b {
    color: var(--rad-yellow);
    font-family: "NeoDunggeunmo", "IBM Plex Sans KR", sans-serif;
    font-size: 14px;
}

.rad-linked-platforms strong {
    overflow: hidden;
    color: var(--rad-ink);
    font-family: "IBM Plex Sans KR", Pretendard, sans-serif;
    font-size: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rad-linked-platforms em {
    padding: 5px 8px;
    border-radius: 999px;
    color: var(--rad-violet);
    background: rgba(91, 75, 154, 0.12);
    font-style: normal;
    font-weight: 900;
}

.rad-shot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
}

.rad-shot-grid a {
    display: block;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--rad-line);
    border-radius: 8px;
    background: #171820;
    overflow: hidden;
}

.rad-shot-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 860px) {
    .rad-archive {
        padding: 0 10px;
    }

    .rad-hero,
    .rad-intro,
    .rad-detail {
        grid-template-columns: 1fr;
    }

    .rad-hero dl {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .rad-filter {
        grid-template-columns: 1fr 1fr;
    }

    .rad-context-cards {
        grid-template-columns: 1fr;
    }

    .rad-note-grid {
        grid-template-columns: 1fr;
    }

    .rad-price-grid {
        grid-template-columns: 1fr;
    }

    .rad-release-card {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .rad-release-card__thumb {
        width: 48px;
        height: 64px;
    }

    .rad-release-card__meta {
        grid-column: 2;
        justify-content: flex-start;
    }

    .rad-linked-platforms a {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .rad-linked-platforms em {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 560px) {
    .rad-hero,
    .rad-filter,
    .rad-section,
    .rad-intro article,
    .rad-detail {
        padding: 14px;
    }

    .rad-hero dl,
    .rad-filter,
    .rad-detail dl div {
        grid-template-columns: 1fr;
    }

    .rad-platform-card {
        grid-template-columns: 74px minmax(0, 1fr);
        align-items: center;
        padding: 11px;
    }

    .rad-platform-card__media {
        width: 74px;
        height: 74px;
    }

    .rad-platform-card__body {
        align-content: center;
    }

    .rad-platform-card strong {
        font-size: 16px;
    }

    .rad-release-card__main strong {
        white-space: normal;
    }
}
