﻿#nc-buyouts-root {
    font: 400 12px var(--font5, monospace);
    color: var(--text, inherit);
}

#nc-buyouts-root .nb-fish-note {
    font-size: 10px;
    text-transform: uppercase;
    opacity: .55;
    margin-bottom: 10px;
}

#nc-buyouts-root .nb-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    background: rgb(var(--pun-light));
    padding: 10px;
    border-radius: 4px;
    overflow-x: auto;
    justify-content: space-between;
}

#nc-buyouts-root .nb-block {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 240px;
    border-radius: 4px;
    overflow: hidden;
    background: rgba(var(--acc7), .12);
}

#nc-buyouts-root .nb-title,
#nc-buyouts-root .nb-title-row {
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-size: 10px;
    text-transform: uppercase;
    opacity: .9;
    background: var(--fishes);
    border-radius: 4px 4px 0 0;
}

#nc-buyouts-root .nb-title-row {
    justify-content: space-between;
    gap: 8px;
}

#nc-buyouts-root .nb-title-row .nb-title {
    flex: none;
    padding: 0;
    background: none;
    border-radius: 0;
}

#nc-buyouts-root .nb-add-btn {
    font: 400 9px var(--font5, monospace);
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 2px;
    border: none;
    cursor: pointer;
    background: rgba(255, 255, 255, .25);
    color: inherit;
}

#nc-buyouts-root .nb-add-btn:hover {
    background: rgba(255, 255, 255, .4);
}

#nc-buyouts-root .nb-list {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 8px 20px 16px;
}

#nc-buyouts-root .nb-line {
    font: 400 10px/1.8 var(--font5);
}

#nc-buyouts-root .nb-name {
    font-weight: 600;
}

#nc-buyouts-root .nb-fandom {
    opacity: .65;
}

#nc-buyouts-root .nb-group-header {
    font-size: 9px;
    text-transform: uppercase;
    opacity: .55;
    margin: 8px 0 2px;
}

#nc-buyouts-root .nb-group-header:first-child {
    margin-top: 0;
}

#nc-buyouts-root .nb-empty {
    opacity: .5;
    font-style: italic;
}

#nc-buyouts-root .nb-held-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
}

#nc-buyouts-root .nb-held-line-wrap {
    flex: 1 1 auto;
    min-width: 0;
}

#nc-buyouts-root .nb-mini-btn {
    flex: none;
    font-size: 10px;
    line-height: 1;
    padding: 2px 5px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    background: rgba(var(--acc7), .3);
    color: inherit;
    opacity: .7;
}

#nc-buyouts-root .nb-mini-btn:hover {
    opacity: 1;
    background: rgba(var(--acc7), .55);
}

#nc-buyouts-root .nb-edit-form {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 6px;
    margin: 2px 0;
    background: rgba(var(--acc7), .25);
    border-radius: 3px;
}

#nc-buyouts-root .nb-edit-input {
    font: 400 10px var(--font5, monospace);
    background: rgba(0, 0, 0, .15);
    border: 1px solid rgba(var(--acc7), .5);
    border-radius: 2px;
    color: inherit;
    padding: 3px 5px;
    width: 100%;
    box-sizing: border-box;
}

#nc-buyouts-root .nb-edit-input-narrow {
    width: 70px;
}

#nc-buyouts-root .nb-edit-actions {
    display: flex;
    gap: 4px;
    justify-content: flex-end;
}

#nc-buyouts-root .nb-edit-btn {
    font-size: 11px;
    padding: 2px 8px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    background: rgba(var(--acc7), .4);
    color: inherit;
}

#nc-buyouts-root .nb-edit-btn-save {
    background: rgba(var(--acc8), .8);
    color: #fff;
}

#nc-buyouts-root a {
    color: var(--acc8, inherit);
    text-decoration: none;
}

#nc-buyouts-root a:hover {
    text-decoration: underline;
}
