.fab {
    position: absolute;
    right: 12px;
    width: 44px;
    height: 44px;
    border-radius: 3px;
    border: 1px solid #fff8;
    font-size: 19px;
    box-shadow: 3px 3px 0 #0009;
    z-index: 5;
}
.fab,
.cat,
.pbtn,
.sbtn,
.viewEgg,
.photoPick,
.invitePrompt,
.pixel {
    font-family: "Press Start 2P", "Courier New", monospace;
    letter-spacing: 0;
}
.fab {
    font-size: 18px;
}
.fab.tag {
    bottom: calc(env(safe-area-inset-bottom) + 70px);
    background: #ffd23f;
    color: #000;
}
.fab.mp {
    bottom: calc(env(safe-area-inset-bottom) + 124px);
    background: #1c2a1f;
    color: #fff;
    border: 1px solid #fff3;
}
.sh {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 82%;
    overflow: auto;
    background: #141a15;
    border-top: 1px solid #fff4;
    padding: 13px 13px calc(env(safe-area-inset-bottom) + 13px);
    transform: translateY(105%);
    transition: transform 0.2s;
    box-shadow: 0 -5px 18px #000a;
    z-index: 30;
    isolation: isolate;
}
.sh.open {
    transform: none;
}
.sh h3 {
    margin: 0 0 11px;
    font:
        normal 12px/1.6 "Press Start 2P",
        "Courier New",
        monospace;
}
.sh > p {
    margin: 8px 0;
}
.sh input[type="text"] {
    width: 100%;
    padding: 8px;
    border-radius: 3px;
    border: 1px solid #fff3;
    background: #0b0f0c;
    color: #fff;
    font: inherit;
    margin: 6px 0;
}
.sh .row {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    flex-wrap: wrap;
}
.sh .row > button {
    min-height: 36px;
    flex: 1 1 auto;
}
.sh .mut {
    color: #8a978c;
    font-size: 13px;
}
.cats {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin: 6px 0;
}
.cat {
    padding: 7px 8px;
    border-radius: 2px;
    border: 1px solid var(--c);
    background: transparent;
    color: #eef3ee;
    font:
        normal 9px/1.5 "Press Start 2P",
        "Courier New",
        monospace;
}
.cat.on {
    background: var(--c);
    color: #000;
}
.pbtn {
    background: #ffd23f;
    color: #000;
    border: 0;
    border-radius: 2px;
    padding: 9px 12px;
    font:
        normal 9px/1.5 "Press Start 2P",
        "Courier New",
        monospace;
}
.sbtn {
    background: #000a;
    border: 1px solid #fff3;
    color: #eef3ee;
    border-radius: 2px;
    padding: 7px 10px;
    font:
        normal 9px/1.5 "Press Start 2P",
        "Courier New",
        monospace;
}
.thumb {
    max-width: 100%;
    max-height: 150px;
    border-radius: 10px;
    display: block;
    margin: 6px 0;
}
.pixel {
    font-family: "Press Start 2P", "Courier New", monospace;
    letter-spacing: 0;
    text-shadow: 2px 0 #0008;
}
.avatar {
    width: 84px;
    height: 84px;
    border: 2px solid #ffd23f;
    border-radius: 8px;
    image-rendering: pixelated;
    object-fit: cover;
    background: #202820;
}
.avatarGrid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    width: 84px;
    height: 84px;
    gap: 1px;
    background: #0b0f0c;
    padding: 4px;
    border: 2px solid #ffd23f;
    border-radius: 2px;
    image-rendering: pixelated;
}
.avatarGrid i {
    display: block;
}
.profileHead {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.profileAvatar {
    position: relative;
    flex: none;
}
.avatarEdit {
    position: absolute;
    right: -10px;
    top: -10px;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 2px solid #050505;
    background: #ffd23f;
    box-shadow: 2px 2px 0 #000;
    cursor: pointer;
}
.avatarEdit img {
    display: block;
    width: 20px;
    height: 20px;
    margin: auto;
    image-rendering: pixelated;
}
.profilePhotoInput {
    display: none;
}
.profileHead strong {
    font-size: 18px;
}
.profileGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.profileGrid label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #8a978c;
    font-size: 13px;
}
.profileGrid input,
.profileGrid select {
    width: 100%;
    padding: 9px;
    border-radius: 9px;
    border: 1px solid #fff3;
    background: #0b0f0c;
    color: #fff;
    font: inherit;
}
.scorePanel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin: 12px 0;
    padding: 8px;
    border: 1px solid #ffd23f;
    background: #0b0b0b;
}
.scoreStat {
    padding: 7px 5px;
    text-align: center;
    border-right: 1px solid #fff3;
}
.scoreStat:last-child {
    border-right: 0;
}
.scoreStat b {
    display: block;
    color: #ffd23f;
    font:
        normal 16px/1.3 "Press Start 2P",
        "Courier New",
        monospace;
}
.scoreStat span {
    display: block;
    margin-top: 4px;
    color: #bbb;
    font-size: 10px;
    text-transform: uppercase;
}
.helpList {
    padding-left: 18px;
    margin: 7px 0;
}
.helpList li {
    margin: 5px 0;
}
.helpBox {
    border-top: 1px solid #fff2;
    padding-top: 8px;
    margin-top: 8px;
}
.categoryGrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin: 8px 0 2px;
}
.categoryCard {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 7px;
    align-items: center;
    min-width: 0;
    padding: 6px;
    border: 1px solid var(--c);
    background: #0b0b0b;
}
.categoryCard img {
    width: 34px;
    height: 34px;
    image-rendering: pixelated;
}
.categoryCard strong {
    display: block;
    color: var(--c);
    font:
        normal 8px/1.4 "Press Start 2P",
        "Courier New",
        monospace;
}
.categoryCard small {
    display: block;
    margin-top: 3px;
    color: #bbb;
    font:
        10px/1.25 system-ui,
        sans-serif;
}
.mw {
    position: fixed;
    inset: 0;
    z-index: 20;
    background: #0b0f0c;
    display: none;
    touch-action: none;
}
.mw.open {
    display: block;
}
.mw canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.invitePrompt {
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(env(safe-area-inset-top) + 48px);
    z-index: 8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 8px;
    border: 1px solid #ffd23f88;
    border-radius: 2px;
    background: #111b;
    color: #eef3ee;
    box-shadow: 3px 3px 0 #0006;
}
.invitePrompt .mut {
    font-size: 12px;
}
.mctl {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: calc(env(safe-area-inset-top) + 8px) 10px 8px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
    background: linear-gradient(#000b, #0000);
}
.mctl .on {
    background: #ffd23f;
    color: #000;
}
.mstat {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 14px calc(env(safe-area-inset-bottom) + 10px);
    color: #8a978c;
    font-size: 13px;
    text-align: center;
    background: linear-gradient(#0000, #000b);
}
.item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid #fff2;
}
.item .ph {
    width: 76px;
    height: 76px;
    flex: none;
    border-radius: 8px;
    background: #0b0f0c;
    object-fit: cover;
}
.item .tx {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}
.item .viewEgg {
    margin-top: 7px;
    text-align: left;
    background: #e00000;
    color: #fff;
    border: 0;
    padding: 8px 9px;
    font:
        normal 9px/1.5 "Press Start 2P",
        "Courier New",
        monospace;
    text-transform: uppercase;
}
.photoPick {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #e00000;
    background: #080808;
    color: #fff;
    font:
        900 24px/1 "Courier New",
        monospace;
    cursor: pointer;
}
.photoPick input {
    display: none;
}
.entryPhoto {
    width: 100%;
    max-height: 260px;
    object-fit: contain;
    background: #000;
    border: 1px solid #fff3;
    margin: 8px 0;
}
.entryComments {
    border-top: 1px solid #fff3;
    margin-top: 12px;
    padding-top: 8px;
}
.entryComments div {
    padding: 8px 0;
    border-bottom: 1px solid #fff2;
}
.threadPost {
    display: flex;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid #fff3;
}
.threadAvatar {
    width: 34px;
    height: 34px;
    flex: none;
    border: 1px solid #fff;
    image-rendering: pixelated;
    object-fit: cover;
}
.threadPost strong {
    font:
        normal 9px/1.5 "Press Start 2P",
        "Courier New",
        monospace;
}
.threadPost .mut {
    font-size: 11px;
}
.sh {
    background: #080808;
    border: 2px solid #e00000;
    border-radius: 0;
    box-shadow: 8px -8px 0 #e00000;
}
.sh.open {
    pointer-events: auto;
    z-index: 60;
}
.sh button,
.sh input,
.sh label {
    z-index: 61;
    pointer-events: auto;
}
.entryActions {
    display: flex;
    gap: 6px;
    margin-top: 10px;
}
.entryActions button {
    flex: 1;
    min-height: 40px;
    cursor: pointer;
    touch-action: manipulation;
    position: relative;
    z-index: 100;
    user-select: none;
    -webkit-user-select: none;
}
.entryActions button:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 #000;
    background: #ff5b5b;
}
.entryActions button:disabled {
    opacity: 0.45;
    cursor: wait;
}
.entryStatus {
    min-height: 18px;
    margin: 8px 0 0;
    color: #ffd23f;
    font:
        normal 9px/1.5 "Press Start 2P",
        "Courier New",
        monospace;
}
.sh input[type="text"] {
    border-radius: 0;
    border: 1px solid #fff;
    background: #000;
}
.fab {
    border-radius: 0;
    background: #e00000 !important;
    color: #fff !important;
    border: 2px solid #fff !important;
    box-shadow: 4px 4px 0 #000;
}
.fab.tag {
    padding: 3px;
}
.fab.tag .generalEggIcon {
    display: block;
    width: 34px;
    height: 34px;
    image-rendering: pixelated;
}
.brand {
    display: flex;
    align-items: center;
    gap: 6px;
}
.brand .generalEggIcon {
    display: block;
    width: 32px;
    height: 32px;
    image-rendering: pixelated;
}

#acab {
    color: red;
}

.pbtn,
.sbtn {
    border-radius: 0;
}
.pbtn {
    background: #e00000;
    color: #fff;
}
.invitePrompt {
    border-radius: 0;
    border-color: #e00000;
    background: #080808;
}
.eggPin {
    background: transparent !important;
    border: 0 !important;
}
.pixelEgg {
    position: relative;
    width: 38px;
    height: 38px;
    image-rendering: pixelated;
}
.pixelEgg img {
    display: block;
    width: 38px;
    height: 38px;
    image-rendering: pixelated;
}
.pixelEgg b {
    position: absolute;
    right: -5px;
    top: -5px;
    min-width: 17px;
    height: 17px;
    padding: 2px 3px;
    background: #fff;
    color: #050505;
    border: 2px solid #050505;
    font:
        normal 8px/1 "Press Start 2P",
        "Courier New",
        monospace;
    text-align: center;
}
.pixelEgg.missing img {
    filter: grayscale(1);
    opacity: 0.7;
}
.item .big {
    position: fixed;
    inset: 8% 4%;
    width: 92%;
    height: 84%;
    object-fit: contain;
    background: #000;
    z-index: 50;
    border-radius: 12px;
}
@media (max-width: 480px) {
    .sh {
        max-height: 88%;
        padding-left: 10px;
        padding-right: 10px;
    }
    .sh h3 {
        font-size: 11px;
    }
    .sh .row {
        gap: 5px;
    }
    .pbtn,
    .sbtn {
        font-size: 8px;
        padding: 8px 9px;
    }
    .profileGrid {
        grid-template-columns: 1fr;
    }
}
