/*
 * PC GAME THEME
 * PC版だけに適用する共通ゲームUI。既存のID・data属性・JS連携は変更しない。
 */

html:has(body.pcGameTheme) {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
}

body.pcGameTheme {
    --game-ink: #332a38;
    --game-ink-soft: #66576a;
    --game-paper: rgba(251, 244, 249, .94);
    --game-paper-soft: rgba(244, 230, 240, .88);
    --game-panel: rgba(25, 18, 29, .82);
    --game-panel-deep: rgba(14, 10, 18, .94);
    --game-line: rgba(255, 255, 255, .38);
    --game-line-dark: rgba(76, 53, 77, .28);
    --game-accent: #d49ab9;
    --game-accent-strong: #a85d8a;
    --game-gold: #dac58d;
    --game-danger: #bc476a;
    --game-shadow: 0 8px 28px rgba(0, 0, 0, .38);
    --game-cut: polygon(10px 0, calc(100% - 8px) 2px, 100% calc(100% - 11px), calc(100% - 10px) 100%, 4px calc(100% - 3px), 0 10px);
    width: 100%;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    color: var(--game-ink);
    font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
    background: #100c14;
}

body.pcGameTheme::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 70% 18%, rgba(159, 91, 133, .24), transparent 34%),
        linear-gradient(135deg, rgba(15, 10, 19, .48), rgba(31, 19, 34, .72));
}

body.pcGameTheme #backgroundMovie {
    opacity: .42;
    filter: saturate(.72) contrast(1.08) brightness(.58);
}

body.pcGameTheme > header,
body.pcGameTheme #wrapper > header,
body.pcGameTheme #wrapper > footer {
    display: none;
}

body.pcGameTheme #wrapper {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 50%;
    width: min(100%, 1280px);
    height: auto !important;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: rgba(14, 10, 18, .28);
    box-shadow: 0 0 55px rgba(0, 0, 0, .72);
    transform: translateX(-50%);
}

body.pcGameTheme #wrapper > #container {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 166px minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    width: auto;
    height: auto;
    min-height: 0;
    border: 0;
    background: transparent;
}

body.pcGameTheme #mainArea {
    position: relative;
    grid-column: 2;
    align-self: stretch;
    width: auto;
    min-width: 0;
    height: auto;
    min-height: 0;
    padding: 82px 22px 22px 8px;
    overflow: hidden;
    box-sizing: border-box;
}

body.pcGameTheme #mainArea[data-main-area-width="maxSize"] {
    grid-column: 1 / -1;
    width: 100%;
    padding: 28px;
}

body.pcGameTheme #wrapper > #container:not(:has(#navigationArea)) #mainArea {
    grid-column: 1 / -1;
    width: 100%;
}

body.pcGameTheme #mainArea:has(#homeArea.pcGameHome),
body.pcGameTheme #mainArea:has(#chatArea) {
    padding: 0;
}

body.pcGameTheme #mainArea:has(#homeArea.pcGameHome) {
    grid-column: 2;
}

body.pcGameTheme #mainArea > .container,
body.pcGameTheme #mainArea > #container,
body.pcGameTheme #mainArea > .mainContentsArea:not(#homeArea):not(#chatArea),
body.pcGameTheme #mainArea > form > .container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid var(--game-line);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(237, 221, 233, .9)),
        var(--game-paper);
    box-shadow: var(--game-shadow);
    clip-path: var(--game-cut);
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--game-accent) rgba(49, 35, 52, .12);
}

body.pcGameTheme #mainArea > .container::after,
body.pcGameTheme #mainArea > #container::after,
body.pcGameTheme #mainArea > .mainContentsArea:not(#homeArea):not(#chatArea)::after {
    content: "";
    position: absolute;
    inset: 7px;
    z-index: 20;
    border: 1px solid rgba(101, 71, 100, .15);
    pointer-events: none;
}

/* Shared HUD */
body.pcGameTheme #navigationArea.pcGameNavigation {
    position: relative;
    grid-column: 1;
    width: 166px;
    height: 100%;
    overflow: visible;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(11, 8, 14, .9), rgba(23, 16, 28, .68) 76%, transparent);
    z-index: 30;
}

.pcGameProfile {
    position: absolute;
    top: 16px;
    left: 20px;
    display: grid;
    grid-template-columns: 44px minmax(142px, auto) auto;
    align-items: center;
    min-width: 410px;
    height: 54px;
    color: #fff;
    text-shadow: 0 1px 5px #000;
}

.pcGameProfileMark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    font-size: 20px;
    border: 1px solid rgba(255, 255, 255, .68);
    background: rgba(34, 24, 40, .8);
    box-shadow: 0 0 16px rgba(224, 180, 210, .25);
    transform: rotate(45deg);
}

.pcGameProfileMark i {
    transform: rotate(-45deg);
}

.pcGameProfileText {
    min-width: 0;
    padding: 0 16px 0 12px;
    border-right: 1px solid rgba(255, 255, 255, .32);
}

.pcGameProfileText span,
.pcGameProfileText strong,
.pcGamePoint small {
    display: block;
}

.pcGameProfileText span,
.pcGamePoint small {
    font-family: Georgia, serif;
    font-size: 8px;
    letter-spacing: .18em;
    opacity: .72;
}

.pcGameProfileText strong {
    max-width: 155px;
    margin-top: 3px;
    overflow: hidden;
    font-family: "Noto Serif JP", "Yu Mincho", serif;
    font-size: 16px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pcGamePoint {
    display: grid;
    grid-template-columns: 22px auto;
    gap: 0 8px;
    align-items: center;
    min-width: 115px;
    padding-left: 16px;
    color: #fff;
}

.pcGamePoint i {
    grid-row: 1 / 3;
    color: var(--game-gold);
    font-size: 19px;
}

.pcGamePoint > span {
    font-size: 15px;
    letter-spacing: .08em;
}

body.pcGameTheme #navigationMenu.pcGameSideMenu {
    position: absolute;
    top: 84px;
    right: 8px;
    bottom: 126px;
    left: 14px;
    width: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow-y: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    scrollbar-width: none;
}

body.pcGameTheme #navigationMenu.pcGameSideMenu::-webkit-scrollbar {
    display: none;
}

.pcGameMenuItem {
    position: relative;
    display: grid;
    grid-template-columns: 35px minmax(0, 1fr);
    align-items: center;
    flex: 0 0 43px;
    min-height: 43px;
    padding: 2px 8px;
    color: rgba(255, 255, 255, .88);
    text-decoration: none;
    text-shadow: 0 1px 4px #000;
    box-sizing: border-box;
    transition: transform .18s ease, color .18s ease;
}

.pcGameMenuItem::before {
    content: "";
    position: absolute;
    inset: 1px 0;
    z-index: -1;
    opacity: 0;
    border: 1px solid rgba(255, 255, 255, .3);
    background: linear-gradient(90deg, rgba(205, 139, 177, .82), rgba(255, 255, 255, .08));
    transform: skewX(-7deg);
    transition: opacity .18s ease;
}

.pcGameMenuItem:hover,
.pcGameMenuItem:focus-visible,
.pcGameMenuItem.isCurrent {
    color: #fff;
    transform: translateX(4px);
}

.pcGameMenuItem:hover::before,
.pcGameMenuItem:focus-visible::before,
.pcGameMenuItem.isCurrent::before {
    opacity: 1;
}

.pcGameMenuItem i {
    font-size: 20px;
    text-align: center;
}

.pcGameMenuItem > span {
    overflow: hidden;
    font-size: 12px;
    letter-spacing: .06em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pcGameMenuItem small {
    display: block;
    margin-top: 1px;
    font-family: Georgia, serif;
    font-size: 7px;
    letter-spacing: .13em;
}

.pcGameMenuItem .badge,
.pcGameUtilityMenu .badge {
    top: 0;
    right: 0;
    z-index: 2;
    width: 18px;
    height: 18px;
    line-height: 18px;
    font-size: 9px;
    background: var(--game-danger);
}

.pcGameUtilityMenu {
    position: absolute;
    right: 8px;
    bottom: 48px;
    left: 12px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3px;
}

.pcGameUtilityMenu a {
    position: relative;
    min-width: 0;
    padding: 7px 2px 5px;
    color: #fff;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(42, 29, 47, .68);
}

.pcGameUtilityMenu i,
.pcGameUtilityMenu span {
    display: block;
}

.pcGameUtilityMenu i {
    font-size: 15px;
}

.pcGameUtilityMenu span {
    margin-top: 4px;
    overflow: hidden;
    font-size: 7px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pcGameMoreMenu {
    position: absolute;
    right: 9px;
    bottom: 10px;
    left: 13px;
    color: #fff;
}

.pcGameMoreMenu summary {
    padding: 7px 10px;
    cursor: pointer;
    list-style: none;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(20, 14, 24, .82);
}

.pcGameMoreMenu summary::-webkit-details-marker {
    display: none;
}

.pcGameMoreMenu summary span {
    margin-left: 8px;
    font-size: 10px;
}

.pcGameMoreMenu > div {
    position: absolute;
    bottom: 34px;
    left: 0;
    width: 145px;
    padding: 6px;
    border: 1px solid var(--game-line);
    background: var(--game-panel-deep);
    box-shadow: var(--game-shadow);
}

.pcGameMoreMenu > div a {
    display: block;
    padding: 8px 10px;
    color: #fff;
    font-size: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

/* Common page pieces */
body.pcGameTheme .pageTitle {
    position: sticky;
    top: 0;
    min-height: 54px;
    color: var(--game-ink);
    border: 0;
    border-bottom: 1px solid var(--game-line-dark);
    background:
        linear-gradient(90deg, rgba(217, 169, 197, .62), rgba(255, 255, 255, .8) 48%, rgba(223, 191, 211, .38));
    box-shadow: 0 5px 16px rgba(75, 49, 72, .12);
    z-index: 12;
}

body.pcGameTheme .pageTitle::before {
    content: "";
    width: 6px;
    align-self: stretch;
    margin-right: 10px;
    background: linear-gradient(var(--game-accent-strong), var(--game-accent));
}

body.pcGameTheme .pageTitleText {
    margin: 0;
    padding: 8px 0 5px;
    font-family: "Noto Serif JP", "Yu Mincho", serif;
    font-size: clamp(20px, 2.2vw, 30px);
    letter-spacing: .08em;
}

body.pcGameTheme .pageSubTitle {
    color: var(--game-ink-soft);
    font-family: Georgia, serif;
    font-size: 9px;
    letter-spacing: .18em;
}

body.pcGameTheme .topMargin {
    height: 14px;
}

body.pcGameTheme #returnButtonFixedLeft {
    width: 62px;
    margin-left: 8px;
    filter: sepia(.25) saturate(.7);
}

body.pcGameTheme .contents,
body.pcGameTheme .contentsFrame {
    color: var(--game-ink);
}

body.pcGameTheme .contentsFrame {
    background: rgba(255, 255, 255, .68);
    border: 1px solid var(--game-line-dark);
    border-radius: 2px;
    box-shadow: 0 5px 16px rgba(70, 45, 67, .12);
}

body.pcGameTheme .tabArea,
body.pcGameTheme .gacha_type_tabs {
    position: relative;
    width: calc(100% - 28px);
    height: auto;
    min-height: 42px;
    margin: 10px 14px 0;
    gap: 5px;
    z-index: 8;
}

body.pcGameTheme .tab,
body.pcGameTheme .gacha_type_tab_link {
    overflow: hidden;
    color: var(--game-ink-soft);
    line-height: 38px;
    border: 1px solid var(--game-line-dark);
    border-radius: 0;
    background: rgba(255, 255, 255, .5);
    clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
}

body.pcGameTheme .tab.selected,
body.pcGameTheme .gacha_type_tab_link.is-active {
    color: var(--game-ink);
    font-weight: 700;
    border-bottom-color: var(--game-accent-strong);
    background: linear-gradient(180deg, rgba(222, 177, 204, .86), rgba(255, 255, 255, .76));
}

body.pcGameTheme .tab a,
body.pcGameTheme .gacha_type_tab_link {
    color: inherit;
}

body.pcGameTheme .bannerList,
body.pcGameTheme .bannerListArea,
body.pcGameTheme .boxColumns {
    background: transparent;
}

body.pcGameTheme .bannerListArea {
    width: calc(100% - 24px);
    padding: 12px;
    gap: 12px;
    align-content: flex-start;
    box-sizing: border-box;
}

body.pcGameTheme .banner:not([data-banner-type="homeBanner"]),
body.pcGameTheme .boxColumn,
body.pcGameTheme .box2Column,
body.pcGameTheme .box4Column,
body.pcGameTheme .exchangeBox {
    overflow: hidden;
    border: 1px solid var(--game-line-dark);
    background: rgba(255, 255, 255, .7);
    box-shadow: 0 5px 15px rgba(67, 43, 65, .16);
    clip-path: var(--game-cut);
    box-sizing: border-box;
    transition: transform .18s ease, box-shadow .18s ease;
}

body.pcGameTheme .banner:hover,
body.pcGameTheme .boxColumn:hover,
body.pcGameTheme .box2Column:hover,
body.pcGameTheme .box4Column:hover,
body.pcGameTheme .exchangeBox:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 19px rgba(67, 43, 65, .24);
}

body.pcGameTheme .arrowLine,
body.pcGameTheme .frameList ul,
body.pcGameTheme .listLineArea {
    color: var(--game-ink);
    border-color: var(--game-line-dark);
    background: rgba(255, 255, 255, .62);
}

body.pcGameTheme .arrowLine {
    width: calc(100% - 28px);
    margin: 0 14px 8px;
    border: 1px solid var(--game-line-dark);
    clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
}

body.pcGameTheme .arrowLine:hover {
    background: linear-gradient(90deg, rgba(221, 176, 204, .5), rgba(255, 255, 255, .75));
}

body.pcGameTheme .arrowLine::before {
    background: var(--game-accent);
}

body.pcGameTheme .frameList {
    overflow: hidden;
    border: 1px solid var(--game-line-dark);
    border-radius: 0;
    background: rgba(255, 255, 255, .5);
    box-shadow: 0 5px 15px rgba(72, 48, 70, .1);
}

body.pcGameTheme .frameList ul li {
    color: var(--game-ink);
    border-color: var(--game-line-dark);
    background: rgba(255, 255, 255, .55);
}

body.pcGameTheme .frameList ul li.title,
body.pcGameTheme .frameList ul li.subject {
    color: var(--game-ink);
    background: rgba(216, 173, 200, .44);
}

body.pcGameTheme .datePurple,
body.pcGameTheme .dateTitle,
body.pcGameTheme .pink {
    color: var(--game-accent-strong);
}

body.pcGameTheme .badge {
    color: #fff;
    background: var(--game-danger);
    box-shadow: 0 2px 7px rgba(110, 33, 65, .32);
}

/* Forms and buttons */
body.pcGameTheme .formList {
    width: min(90%, 760px);
    padding: 18px;
    box-sizing: border-box;
}

body.pcGameTheme .formList ul li.subject {
    margin: 10px 0 6px;
    padding: 6px 10px;
    color: var(--game-ink);
    font-weight: 700;
    border-left: 4px solid var(--game-accent-strong);
    background: rgba(218, 174, 201, .24);
}

body.pcGameTheme input[type="text"],
body.pcGameTheme input[type="password"],
body.pcGameTheme input[type="email"],
body.pcGameTheme input[type="number"],
body.pcGameTheme select,
body.pcGameTheme textarea {
    color: var(--game-ink);
    border: 1px solid rgba(91, 64, 90, .38);
    border-radius: 2px;
    outline: none;
    background: rgba(255, 255, 255, .88);
    box-shadow: inset 0 2px 6px rgba(61, 40, 60, .08);
    box-sizing: border-box;
}

body.pcGameTheme input:focus,
body.pcGameTheme select:focus,
body.pcGameTheme textarea:focus {
    border-color: var(--game-accent-strong);
    box-shadow: 0 0 0 3px rgba(190, 111, 159, .15);
}

body.pcGameTheme .largeButton,
body.pcGameTheme .middleButton,
body.pcGameTheme .editButton,
body.pcGameTheme .normalButton,
body.pcGameTheme .dialogButton,
body.pcGameTheme .frameButton a,
body.pcGameTheme .linkButton a {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .36);
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 2px;
    background: linear-gradient(135deg, #81506f, #c17da6 55%, #81506f);
    box-shadow: 0 5px 14px rgba(88, 48, 76, .26);
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    transition: filter .18s ease, transform .18s ease;
}

body.pcGameTheme .largeButton:hover,
body.pcGameTheme .middleButton:hover,
body.pcGameTheme .editButton:hover,
body.pcGameTheme .normalButton:hover,
body.pcGameTheme .dialogButton:hover,
body.pcGameTheme .frameButton a:hover,
body.pcGameTheme .linkButton a:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

body.pcGameTheme .pagination ul {
    justify-content: center;
}

body.pcGameTheme .pagination ul li a,
body.pcGameTheme .pagination ul li span {
    color: var(--game-ink);
    border: 1px solid var(--game-line-dark);
    border-radius: 2px;
    background: rgba(255, 255, 255, .76);
}

body.pcGameTheme .pagination ul li span {
    color: #fff;
    background: var(--game-accent-strong);
}

body.pcGameTheme .warning,
body.pcGameTheme .noContents,
body.pcGameTheme .noContentsList p,
body.pcGameTheme #notFound {
    color: var(--game-ink);
    border: 1px solid var(--game-line-dark);
    border-radius: 2px;
    background: rgba(255, 255, 255, .68);
    box-shadow: 0 5px 18px rgba(65, 43, 63, .14);
}

body.pcGameTheme .error,
body.pcGameTheme #ageAuthComment {
    color: var(--game-danger);
}

/* Modals and dialogs */
body.pcGameTheme .modalScreen,
body.pcGameTheme #modalOverlay {
    background: rgba(10, 7, 13, .78);
    backdrop-filter: blur(4px);
}

body.pcGameTheme .modalContent,
body.pcGameTheme .modalContentFullHeight {
    color: var(--game-ink);
    border: 1px solid rgba(255, 255, 255, .54);
    border-radius: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(235, 216, 230, .96));
    box-shadow: 0 14px 55px rgba(0, 0, 0, .58);
    clip-path: var(--game-cut);
}

body.pcGameTheme .modalContent {
    width: min(92%, 680px);
}

body.pcGameTheme .modalHeader {
    min-height: 44px;
    color: var(--game-ink);
    font-family: "Noto Serif JP", "Yu Mincho", serif;
    letter-spacing: .08em;
    border: 0;
    border-bottom: 1px solid var(--game-line-dark);
    border-radius: 0;
    background: linear-gradient(90deg, rgba(207, 144, 182, .72), rgba(255, 255, 255, .72));
}

body.pcGameTheme .modalBody,
body.pcGameTheme .modalBodyFullWidth {
    background: rgba(255, 255, 255, .28);
}

body.pcGameTheme .modalFooter {
    border-color: var(--game-line-dark);
    background: rgba(91, 61, 88, .08);
}

body.pcGameTheme .closeBlack,
body.pcGameTheme .modalCircleButton {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .5);
    background: rgba(43, 30, 47, .88);
}

body.pcGameTheme .ui-dialog {
    border: 1px solid var(--game-line);
    border-radius: 0;
    background: var(--game-paper);
    box-shadow: 0 14px 48px rgba(0, 0, 0, .55);
}

body.pcGameTheme .ui-dialog .ui-dialog-titlebar {
    color: var(--game-ink);
    border: 0;
    border-bottom: 1px solid var(--game-line-dark);
    border-radius: 0;
    background: linear-gradient(90deg, rgba(208, 148, 184, .76), rgba(255, 255, 255, .72));
}

/* Feature-specific surfaces */
body.pcGameTheme .gacha_type_tabs {
    position: absolute;
    top: 10px;
    right: 12px;
    width: auto;
    min-height: 0;
    margin: 0;
    display: block;
    z-index: 30;
}

body.pcGameTheme .gacha_type_tab_list {
    flex-direction: row;
    gap: 5px;
}

body.pcGameTheme .gacha_type_tab_link {
    width: auto;
    min-width: 50px;
    height: 34px;
    padding: 0 12px;
    line-height: 32px;
    text-align: center;
}

body.pcGameTheme #shop-list,
body.pcGameTheme .mainBox[data-main-box-type="shopMain"],
body.pcGameTheme .exchangeItemPage {
    padding: 14px;
    box-sizing: border-box;
}

body.pcGameTheme .exchangeBox {
    margin-bottom: 12px;
    padding: 8px;
}

body.pcGameTheme .gacha_container {
    overflow: hidden !important;
    background: #17111b !important;
}

body.pcGameTheme .gacha_main {
    overflow: hidden;
}

body.pcGameTheme .gacha_main .main_img {
    background: #17111b;
}

body.pcGameTheme .gacha_main .main_img::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(0deg, rgba(13, 9, 16, .58), transparent 35%),
        linear-gradient(90deg, rgba(13, 9, 16, .25), transparent 30%, rgba(13, 9, 16, .18));
}

body.pcGameTheme .gacha_main .button_area,
body.pcGameTheme .gacha_main .gachaMainLinks,
body.pcGameTheme .gacha_main .favoriteButton {
    z-index: 4;
}

body.pcGameTheme .gacha_main .button_list {
    gap: 8px;
}

body.pcGameTheme .gacha_main .button_list a {
    filter: drop-shadow(0 5px 9px rgba(0, 0, 0, .42));
    transition: transform .18s ease, filter .18s ease;
}

body.pcGameTheme .gacha_main .button_list a:hover {
    filter: brightness(1.08) drop-shadow(0 7px 12px rgba(0, 0, 0, .5));
    transform: translateY(-2px);
}

body.pcGameTheme .informationModalFrame {
    color: var(--game-ink);
    border: 1px solid var(--game-line);
    border-radius: 0;
    background: var(--game-paper);
    box-shadow: 0 14px 55px rgba(0, 0, 0, .58);
    clip-path: var(--game-cut);
}

body.pcGameTheme .informationModalTitle {
    color: var(--game-ink);
    border-radius: 0;
    background: linear-gradient(90deg, rgba(207, 144, 182, .72), rgba(255, 255, 255, .72));
}

body.pcGameTheme .informationModalContents,
body.pcGameTheme .informationModalFrame .modalConfirmArea {
    color: var(--game-ink);
}

body.pcGameTheme #shop-list {
    display: flex;
    flex-flow: row wrap;
    align-content: flex-start;
    gap: 14px;
    height: calc(100% - 72px);
    overflow-y: auto;
}

body.pcGameTheme #shop-list > ul {
    flex: 0 0 calc(50% - 7px);
    width: calc(50% - 7px);
}

body.pcGameTheme #shop-list > ul > li {
    height: 330px;
    padding: 0;
}

body.pcGameTheme #shop-list > ul > li > a {
    color: var(--game-ink);
    border: 1px solid var(--game-line-dark);
    border-radius: 0;
    background: rgba(255, 255, 255, .76);
    box-shadow: 0 6px 17px rgba(67, 43, 65, .18);
    clip-path: var(--game-cut);
}

body.pcGameTheme .shop-image {
    height: 185px;
}

body.pcGameTheme .shop-image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.pcGameTheme .shop-name,
body.pcGameTheme .shop-contents,
body.pcGameTheme .description {
    color: var(--game-ink);
}

body.pcGameTheme .shop-contents {
    padding: 8px 12px;
}

body.pcGameTheme .shop-name {
    font-family: "Noto Serif JP", "Yu Mincho", serif;
    font-size: 15px;
}

body.pcGameTheme .description {
    max-height: 45px;
    padding: 5px 0;
    overflow: hidden;
}

body.pcGameTheme .price {
    margin: auto 10px 10px;
    color: #fff;
    background: linear-gradient(135deg, #76506d, #b6759b);
}

body.pcGameTheme .shop-space {
    flex: 0 0 100%;
    color: var(--game-ink);
    border-color: var(--game-line-dark);
    background: rgba(255, 255, 255, .58);
}

body.pcGameTheme .exchangeBannerListArea {
    top: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: auto;
    margin: 18px;
}

body.pcGameTheme .exchangeBannerListArea .banner {
    margin: 0;
}

body.pcGameTheme .exchangeItemPage .exchangeItemList {
    height: calc(100% - 54px);
    overflow-y: auto;
    background: transparent;
}

body.pcGameTheme .exchangeItem,
body.pcGameTheme .exchangeContents,
body.pcGameTheme .exchangeName,
body.pcGameTheme .exchangeItemUnit,
body.pcGameTheme .possessionCheck {
    color: var(--game-ink);
}

body.pcGameTheme .exchangeButton,
body.pcGameTheme .exchangeItemModalCta,
body.pcGameTheme .exchangeItemModalCtaSubmit a {
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, .42) !important;
    border-radius: 2px !important;
    background: linear-gradient(135deg, #81506f, #c17da6 55%, #81506f) !important;
    box-shadow: 0 5px 14px rgba(88, 48, 76, .26);
}

body.pcGameTheme #exchangeModalArea .exchangeItemModal .exchangeItemModalHeader,
body.pcGameTheme #exchangeModalArea .exchangeItemModal .exchangeItemModalSectionTitle {
    color: var(--game-ink) !important;
    background: linear-gradient(90deg, rgba(207, 144, 182, .72), rgba(255, 255, 255, .72)) !important;
}

body.pcGameTheme #exchangeModalArea .exchangeItemModal .exchangeItemModalBody,
body.pcGameTheme #exchangeModalArea .exchangeItemModal .exchangeItemModalMaterialRow.bgLightGray {
    background: rgba(255, 255, 255, .58);
}

/* Standard list/detail pages */
body.pcGameTheme #container[data-page-type="character"] .bannerList,
body.pcGameTheme #container[data-page-type="story"] .bannerList,
body.pcGameTheme #container[data-page-type="event"] .bannerList {
    top: 112px;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    overflow: auto;
}

body.pcGameTheme #container[data-page-type="character"] .characterListArea,
body.pcGameTheme #container[data-page-type="story"] .characterListArea,
body.pcGameTheme #container[data-page-type="event"] .eventListArea {
    top: 0;
    max-height: none;
    padding: 14px;
}

body.pcGameTheme .characterBanner,
body.pcGameTheme .eventBanner {
    border-radius: 0;
}

body.pcGameTheme .characterBanner img,
body.pcGameTheme .eventBanner img {
    display: block;
    border-radius: 0 !important;
}

body.pcGameTheme .characterSelect {
    right: 5px;
    bottom: 5px;
    width: 34%;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .28));
}

body.pcGameTheme #container[data-page-type="albumIndex"] .mainContentsArea,
body.pcGameTheme #container[data-page-type="news"] .mainContentsArea,
body.pcGameTheme #container[data-page-type="infomation"] .mainContentsArea {
    height: 100%;
    overflow-y: auto;
    background: transparent;
}

body.pcGameTheme #container[data-page-type="albumIndex"] .mainBox {
    height: calc(100% - 70px);
    padding: 14px;
}

body.pcGameTheme #container[data-page-type="albumIndex"] [data-box-type="albumColumns"] {
    gap: 14px;
    align-content: flex-start;
    padding: 5px;
    box-sizing: border-box;
}

body.pcGameTheme #container[data-page-type="albumIndex"] .boxColumn {
    width: calc(33.333% - 10px);
    margin: 0;
}

body.pcGameTheme .detailTitle {
    margin: 10px 14px;
    padding: 12px 16px;
    color: var(--game-ink);
    font-family: "Noto Serif JP", "Yu Mincho", serif;
    font-size: 16px;
    border-left: 5px solid var(--game-accent-strong);
    background: rgba(218, 174, 201, .3);
}

body.pcGameTheme .detailBox {
    margin: 0 14px 18px;
    padding: 12px;
    border: 1px solid var(--game-line-dark);
    background: rgba(255, 255, 255, .56);
}

body.pcGameTheme .detailBox img {
    max-width: 100%;
    height: auto;
}

body.pcGameTheme .menuList,
body.pcGameTheme #informationMenu,
body.pcGameTheme #mypageMenu {
    margin: 12px;
    padding: 10px;
    border: 1px solid var(--game-line-dark);
    background: rgba(255, 255, 255, .52);
}

body.pcGameTheme #chatArea {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: rgba(12, 9, 15, .45);
}

body.pcGameTheme #chatContentsArea {
    top: 20px;
    left: 20px;
    right: auto;
    width: min(420px, 38vw);
    height: calc(100% - 40px);
    overflow: hidden;
    border: 1px solid var(--game-line);
    background: rgba(250, 241, 247, .92);
    background-image: none;
    box-shadow: var(--game-shadow);
    clip-path: var(--game-cut);
}

body.pcGameTheme #chatNavigationArea,
body.pcGameTheme #messageFormArea {
    border-color: var(--game-line-dark);
    background: rgba(245, 227, 239, .86);
}

body.pcGameTheme #chatNavigationArea {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 142px;
    border-bottom: 1px solid var(--game-line-dark);
}

body.pcGameTheme #messageListArea {
    top: 143px;
    right: 0;
    bottom: 72px;
    left: 0;
    width: auto;
    height: auto;
    padding: 8px 12px;
    background: rgba(255, 255, 255, .42);
    border-radius: 0;
    box-sizing: border-box;
}

body.pcGameTheme .sendMessageContent,
body.pcGameTheme .receiveMessageContent {
    border: 1px solid rgba(94, 65, 92, .22);
    box-shadow: 0 3px 9px rgba(64, 43, 63, .1);
}

body.pcGameTheme .receiveMessage,
body.pcGameTheme .sendMessage {
    color: var(--game-ink);
    border-radius: 2px;
    background: rgba(255, 255, 255, .88);
}

body.pcGameTheme .sendMessage {
    background: rgba(223, 182, 206, .7);
}

body.pcGameTheme #messageFormArea {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 72px;
    border-top: 1px solid var(--game-line-dark);
}

body.pcGameTheme #messageFormArea section,
body.pcGameTheme #chatForm {
    height: 100%;
}

body.pcGameTheme #chatForm {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    box-sizing: border-box;
}

body.pcGameTheme #chatForm .messageTextArea {
    flex: 1;
    width: auto;
}

body.pcGameTheme #chatForm #message {
    width: 100%;
    min-height: 48px;
    padding: 10px;
    resize: none;
}

body.pcGameTheme #chatForm .messageButtonArea {
    flex: 0 0 52px;
}

body.pcGameTheme #chatForm .messageButtonArea img {
    width: 100%;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .25));
}

body.pcGameTheme #favorite {
    border-color: rgba(255, 255, 255, .45);
    background: rgba(36, 25, 41, .9);
}

body.pcGameTheme #itemInuseArea,
body.pcGameTheme #pointFrame {
    color: var(--game-ink);
    border-color: var(--game-line-dark);
    border-radius: 2px;
    background: var(--game-paper);
}

body.pcGameTheme #chatBackground {
    left: 38%;
    width: 62%;
    height: 100%;
    object-fit: cover;
}

body.pcGameTheme #chatBackground > img,
body.pcGameTheme #chatBackground > p,
body.pcGameTheme #chatBackground > p > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Home joins the shared shell */
body.pcGameTheme #homeArea.pcGameHome {
    min-height: 0;
}

body.pcGameTheme #homeArea.pcGameHome .pcHomeQuickActions,
body.pcGameTheme #homeArea.pcGameHome #homeHeaderBanner,
body.pcGameTheme #homeArea.pcGameHome #homeBannerListArea {
    right: 22px;
}

body.pcGameTheme #homeArea.pcGameHome .pcHomeBottomMenu {
    left: 18px;
}

/* Logged-out and special full-width flows */
body.pcGameTheme #mainArea[data-main-area-width="maxSize"] > .container,
body.pcGameTheme #mainArea[data-main-area-width="maxSize"] > .mainContentsArea {
    width: min(100%, 980px);
    margin: 0 auto;
}

body.pcGameTheme #indexArea,
body.pcGameTheme #noAuthArea,
body.pcGameTheme #fullWideView,
body.pcGameTheme #tutorialArea,
body.pcGameTheme #entryArea,
body.pcGameTheme #authenticationArea {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: min(100%, 980px);
    height: 100%;
    margin: 0 auto;
    overflow: auto;
    border: 1px solid var(--game-line);
    background: var(--game-paper);
    box-shadow: var(--game-shadow);
    clip-path: var(--game-cut);
}

body.pcGameTheme .shopExecution,
body.pcGameTheme #execution {
    color: var(--game-ink);
    border: 1px solid var(--game-line-dark);
    border-radius: 2px;
    background: rgba(255, 255, 255, .7);
}

body.pcGameTheme #fullWideView > .container {
    height: 100%;
    overflow-y: auto;
}

body.pcGameTheme #fullWideView .noticeBox,
body.pcGameTheme #fullWideView .scrollBox,
body.pcGameTheme #fullWideView .textBox,
body.pcGameTheme #fullWideView .textBoxLarge {
    color: var(--game-ink);
    border-color: var(--game-line-dark);
    border-radius: 2px;
    background: rgba(255, 255, 255, .66);
}

body.pcGameTheme #fullWideView iframe {
    min-height: 58px;
    border: 1px solid var(--game-line-dark);
    background: rgba(255, 255, 255, .54);
}

body.pcGameTheme #enterFooter ul {
    gap: 8px;
}

body.pcGameTheme #enterFooter ul li {
    padding: 4px;
    filter: drop-shadow(0 4px 7px rgba(0, 0, 0, .2));
}

body.pcGameTheme #tutorialArea,
body.pcGameTheme .tutorialArea {
    color: #fff;
    background: #141019;
}

body.pcGameTheme .tutorialArea .fullScreenBackgroundImage,
body.pcGameTheme .tutorialArea .fullScreenBackgroundMovie {
    width: 100%;
    height: 100%;
}

body.pcGameTheme .tutorialArea .fullScreenBackgroundImage img,
body.pcGameTheme .tutorialArea .fullScreenBackgroundMovie video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Standalone thanks / thanks-gacha documents */
body.pcGameTheme.pcGameStandalone {
    width: 100% !important;
    min-width: 0;
    height: 100% !important;
    min-height: 100vh;
    overflow: auto;
    background-color: #100c14 !important;
}

body.pcGameTheme.pcGameStandalone::after {
    content: "";
    position: fixed;
    inset: 8px;
    z-index: 10000;
    border: 1px solid rgba(255, 255, 255, .2);
    pointer-events: none;
}

body.pcThanksPage #wrap {
    width: min(100%, 1180px) !important;
    min-height: 100vh;
    height: auto !important;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 0 55px rgba(0, 0, 0, .72);
}

body.pcThanksPage #content_wrap {
    width: min(92%, 980px);
    margin: 0 auto;
}

body.pcThanksPage #content_wrap .content {
    margin-bottom: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .28);
    background: rgba(248, 236, 244, .12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
    clip-path: var(--game-cut);
}

body.pcThanksPage footer {
    color: #fff;
    background: rgba(19, 13, 23, .9);
}

body.pcThanksGacha {
    display: grid;
    place-items: center;
    background-size: cover !important;
    background-position: center !important;
}

body.pcThanksGacha > #container {
    position: relative;
    width: min(800px, calc(100vw - 40px));
    height: min(800px, calc(100vh - 40px));
    overflow: hidden;
    border: 1px solid var(--game-line);
    background: rgba(17, 12, 21, .72);
    box-shadow: var(--game-shadow);
    clip-path: var(--game-cut);
}

body.pcThanksGacha #gacha-screen,
body.pcThanksGacha #gacha-area,
body.pcThanksGacha #gacha-background {
    width: 100%;
    height: 100%;
}

body.pcThanksGacha #gacha_effect {
    width: 100% !important;
    height: 100%;
    object-fit: cover;
}

body.pcThanksGacha .container-box {
    width: min(90%, 620px);
    margin: 30px auto;
    padding: 22px;
    color: var(--game-ink);
    border: 1px solid var(--game-line);
    background: var(--game-paper);
    box-shadow: var(--game-shadow);
    clip-path: var(--game-cut);
}

@media (max-width: 920px), (max-height: 650px) {
    body.pcGameTheme #wrapper > #container {
        grid-template-columns: 142px minmax(0, 1fr);
    }

    body.pcGameTheme #navigationArea.pcGameNavigation {
        width: 142px;
    }

    body.pcGameTheme #mainArea {
        padding-right: 12px;
    }

    .pcGameProfile {
        transform: scale(.88);
        transform-origin: top left;
    }

    body.pcGameTheme #navigationMenu.pcGameSideMenu {
        top: 72px;
        right: 4px;
        bottom: 118px;
        left: 8px;
    }

    .pcGameMenuItem {
        grid-template-columns: 31px minmax(0, 1fr);
        flex-basis: 38px;
        min-height: 38px;
    }

    .pcGameUtilityMenu {
        right: 4px;
        left: 6px;
    }

    .pcGameMoreMenu {
        right: 5px;
        left: 7px;
    }
}
