/* The partner card: the page of a channel, the gallery */

.pk {
    box-sizing: border-box;
    margin: 12px 0;
    padding: 16px;
    background: linear-gradient(180deg, rgba(19, 212, 226, 0.08), transparent 70%), #13181b;
    border: 1px solid rgba(19, 212, 226, 0.28);
    border-radius: 14px;
    font-family: 'Roboto', system-ui, sans-serif;
    color: #e6eef0;
}

/* Under the chart on a narrow screen: as wide as a card, in the middle */
#mainArea > .pk {
    max-width: 380px;
    margin: 16px auto 4px;
}

/* The heading of the card: why it is there (the gallery) */
.pk-head {
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(19, 212, 226, 0.18);
    font-family: 'Roboto Mono', monospace;
    font-size: 13px;
    line-height: 1.5;
    color: #cfe0e3;
}

.pk-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pk-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: #13d4e2;
    color: #071214;
    font-family: 'Roboto Mono', monospace;
    font-weight: 700;
    font-size: 13px;
}

.pk-name {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.25;
}

.pk-name small {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #8a9aa0;
}

.pk-list {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    display: grid;
    gap: 6px;
    font-size: 13.5px;
    color: #aab6ba;
}

.pk-list li {
    display: flex;
    gap: 8px;
    align-items: baseline;
}

.pk-list svg {
    flex: none;
    color: #3ecf8e;
    transform: translateY(2px);
}

.pk-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 38px;
    margin-top: 14px;
    border-radius: 9px;
    background: #0e5f66;
    color: #e6eef0 !important;
    font-size: 14px;
    text-decoration: none !important;
    transition: background 0.12s;
}

.pk-btn:hover {
    background: #12737b;
}

.pk-fine {
    margin: 9px 0 0;
    font-size: 11px;
    text-align: center;
    color: #5d6b70;
}

/* The QR code of the page under the card: a panel like the one of the items, the code as wide
   as it; dark modules on a muted teal - a light ground, as every scanner reads it */

.ch-qr {
    box-sizing: border-box;
    margin: 0 0 12px;
    padding: 12px;
    background: #13181b;
    border: 1px solid #263036;
    border-radius: 14px;
}

.ch-qr figcaption {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    padding: 0 4px 10px;
}

.ch-qr-title {
    font-family: 'Roboto Mono', monospace;
    font-size: 15px;
    font-weight: 500;
    color: #e6eef0;
}

.ch-qr-hint {
    font-family: 'Roboto', system-ui, sans-serif;
    font-size: 11.5px;
    color: #6b7b81;
}

.ch-qr-code {
    width: 66%;
    margin: 4px auto 6px;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(19, 212, 226, 0.25);
}

.ch-qr-code svg {
    display: block;
    width: 100%;
    height: 100%;
}

#mainArea > .ch-qr {
    max-width: 380px;
    margin: 12px auto;
}

/* A phone has nothing to scan it with */
@media (max-width: 600px) {
    .ch-qr {
        display: none;
    }
}
