body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #ffffff;
    color: #1c1a12;
    margin: 0;
    padding: 0;
}

.site-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 3px solid #1c1a12;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    box-sizing: border-box;
    margin-bottom: 32px;
}

.pa-banner {
    background: #1c1a12;
    color: #f2b400;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 12px;
}

.pa-banner a {
    color: #f2b400;
    text-decoration: underline;
}

.site-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    box-sizing: border-box;
}

.box {
    max-width: 520px;
    margin: 40px auto;
    background: transparent;
    padding: 0 24px;
}

.box.wide {
    max-width: 1200px;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
}

.site-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.site-brand-title {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #1c1a12;
    white-space: nowrap;
}

.site-tagline {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: #8a6508;
    white-space: nowrap;
}

.brand-icon {
    height: 48px;
    width: auto;
}

.brand-icon-large {
    height: 96px;
    width: auto;
    display: block;
    margin: 0 auto 12px;
}

.topnav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.topnav a {
    font-size: 13px;
    font-weight: 600;
    color: #1c1a12;
    background: #f2b400;
    padding: 8px 20px;
    border-radius: 4px;
    clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 12px 100%, 0 50%);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.topnav a:hover {
    background: #1c1a12;
    color: #f2b400;
}

.nav-my-promos {
    background: #1c1a12 !important;
    color: #f2e600 !important;
}

.nav-my-promos:hover {
    background: #000 !important;
    color: #fff700 !important;
}

.site-footer {
    max-width: 1200px;
    margin: 24px auto 0;
    padding: 20px 24px 40px;
    text-align: center;
    color: #6b6152;
    font-size: 13px;
    border-top: 1px solid #e8ddb8;
    box-sizing: border-box;
}

.callout {
    background: #fdf1c7;
    border: 1px solid #f2b400;
    border-radius: 8px;
    padding: 14px 18px;
    margin: 0 0 20px;
}

.callout p {
    margin: 0;
}

.chat-box {
    border: 1px solid #e8ddb8;
    border-radius: 8px;
    height: 260px;
    overflow-y: auto;
    padding: 14px 18px;
    margin-bottom: 24px;
    background: #fff;
}

.chat-message {
    margin-bottom: 10px;
    line-height: 1.5;
}

.chat-author {
    font-weight: 800;
    font-size: 13px;
}

.chat-time {
    color: #6b6152;
    font-size: 12px;
    margin-left: 6px;
}

.chat-text {
    white-space: pre-wrap;
    word-break: break-word;
    margin-left: 4px;
}

.chat-text::before {
    content: "\2014  ";
    color: #6b6152;
}

.chat-delete {
    margin-left: 8px;
    font-size: 11px;
    color: #b3261e;
    white-space: nowrap;
}

.chat-edit {
    margin-left: 8px;
    font-size: 11px;
    white-space: nowrap;
}

.chat-edited {
    margin-left: 6px;
    font-size: 11px;
    color: #6b6152;
    font-style: italic;
}

.chat-reply-toggle {
    margin-left: 8px;
    font-size: 11px;
    white-space: nowrap;
}

.chat-message-reply .chat-text {
    white-space: pre-wrap;
}

.chat-thread {
    margin-bottom: 10px;
}

.chat-thread .chat-message-top {
    margin-bottom: 4px;
}

.chat-replies {
    margin: 0 0 4px 22px;
    padding-left: 12px;
    border-left: 2px solid #e8ddb8;
}

.chat-replies .chat-message {
    margin-bottom: 6px;
}

.chat-replies:empty {
    margin: 0 0 0 22px;
    border-left: none;
}

.chat-reply-compose {
    margin: 0 0 10px 22px;
    padding: 10px 12px;
    background: #fbf7e9;
    border: 1px solid #e8ddb8;
    border-radius: 8px;
}

.chat-reply-compose textarea {
    width: 100%;
    box-sizing: border-box;
    resize: vertical;
    min-height: 40px;
    margin-bottom: 6px;
}

.chat-reply-actions {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}

.chat-reply-actions button {
    font-size: 12px;
    padding: 4px 12px;
}

.chat-reply-cancel {
    background: transparent;
    border: 1px solid #c9bd8f;
    color: #6b6152;
}

.chat-toolbar {
    display: flex;
    gap: 4px;
    margin-bottom: 6px;
}

.chat-fmt-btn {
    font-size: 12px;
    font-weight: 800;
    padding: 2px 10px;
    line-height: 1.6;
    background: #fdf1c7;
    border: 1px solid #e8ddb8;
    color: #4a4326;
    border-radius: 4px;
    cursor: pointer;
}

.chat-fmt-btn:hover {
    background: #f8e29a;
}

.chat-compose-main {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.chat-tag {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 8px;
    background: #fdf1c7;
    color: #7a5c00;
    font-size: 11px;
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none;
}

.chat-tag:hover {
    background: #f8e29a;
}

.chat-tag-search {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 10px;
}

.chat-tag-search input[type="text"] {
    max-width: 260px;
}

.chat-tag-browse {
    margin-top: -6px;
}

.chat-tag-link {
    margin-right: 8px;
    font-size: 12px;
}

.chat-tag-link-active {
    font-weight: 700;
}

.chat-tag-input {
    max-width: 160px;
    align-self: center;
}

.chat-form {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    gap: 8px;
    align-items: flex-end;
}

.chat-form textarea {
    flex: 1;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    resize: vertical;
    min-height: 44px;
}

.copy-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0;
}

.copy-box textarea {
    width: 100%;
    box-sizing: border-box;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.copy-box button {
    align-self: flex-start;
}

.count-badge {
    display: inline-block;
    background: #fdf1c7;
    color: #1c1a12;
    font-weight: 600;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 999px;
}

h1 {
    margin-top: 0;
    font-size: 22px;
    color: #1c1a12;
}

p {
    line-height: 1.5;
}

form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-weight: 600;
    font-size: 14px;
}

input[type="text"],
input[type="password"],
select,
textarea {
    font-family: inherit;
    font-size: 15px;
    padding: 8px 10px;
    border: 1px solid #ddd0a0;
    border-radius: 6px;
}

fieldset {
    border: 1px solid #ddd0a0;
    border-radius: 6px;
    padding: 10px 14px;
}

.notes-doc {
    width: 100%;
    box-sizing: border-box;
    min-height: 420px;
    padding: 24px 28px;
    font-size: 16px;
    line-height: 1.6;
    border: 1px solid #ddd0a0;
    border-radius: 8px;
    background: #fffdf7;
    resize: vertical;
    overflow: hidden;
}

.notes-doc:focus {
    outline: none;
    border-color: #c9a227;
    box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.25);
}

.promo-extra-details {
    border-top: 1px dashed #ddd0a0;
    margin-top: 8px;
    padding-top: 18px;
}

fieldset label {
    flex-direction: row;
    align-items: center;
    font-weight: normal;
    gap: 8px;
}

button {
    background: #1c1a12;
    color: #f2b400;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

button:hover {
    background: #000000;
}

a {
    color: #8a6508;
}

.error {
    color: #b3261e;
    font-weight: 600;
}

.success {
    color: #1e7a34;
    font-weight: 600;
}

.hint {
    font-weight: normal;
    color: #6b6152;
    font-size: 13px;
}

.trope-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 4px 0;
}

.trope-pill {
    display: inline-flex !important;
    flex-direction: row;
    align-items: center;
    font-weight: normal;
    gap: 0;
}

.trope-pill input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.trope-pill span {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #ddd0a0;
    border-radius: 999px;
    font-size: 13px;
    cursor: pointer;
    user-select: none;
    background: #fff;
    color: #1c1a12;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.trope-pill input[type="checkbox"]:checked + span {
    background: #f2b400;
    border-color: #f2b400;
    color: #1c1a12;
}

.trope-pill input[type="checkbox"]:focus-visible + span {
    outline: 2px solid #1c1a12;
    outline-offset: 2px;
}

.date-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.remove-date-btn {
    background: transparent;
    color: #b3261e;
    border: 1px solid #e8ddb8;
    padding: 4px 10px;
    font-size: 16px;
    line-height: 1;
}

.remove-date-btn:hover {
    background: #fbe9e7;
}

.inline-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.inline-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: normal;
    font-size: 13px;
    white-space: nowrap;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

th, td {
    border: 1px solid #e8ddb8;
    padding: 6px 8px;
    text-align: left;
    vertical-align: top;
}

th {
    background: #fdf1c7;
}

.board-section-heading {
    font-size: 16px;
    margin-bottom: 6px;
}

.board-section-divider {
    border-top: 1px solid #ddd0a0;
    margin-top: 28px;
    padding-top: 20px;
}

.promo-rich-content {
    line-height: 1.6;
}

.promo-rich-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
}

.promo-rich-content table td,
.promo-rich-content table th {
    border: 1px solid #e8ddb8;
    padding: 6px 10px;
    text-align: left;
}

.promo-rich-content table th {
    background: #fdf1c7;
}

.promo-rich-content blockquote {
    border-left: 3px solid #ddd0a0;
    margin: 12px 0;
    padding-left: 14px;
    color: #6b6152;
}

.promo-card {
    border: 1px solid #e8ddb8;
    border-radius: 10px;
    padding: 16px 18px;
    margin-bottom: 16px;
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.hub-card {
    display: block;
    border: 1px solid #e8ddb8;
    border-radius: 10px;
    padding: 16px 18px;
    text-decoration: none;
    color: inherit;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hub-card:hover {
    border-color: #d4b83a;
    box-shadow: 0 2px 8px rgba(28, 26, 18, 0.08);
}

.hub-card h2 {
    font-size: 17px;
    margin: 0 0 6px;
    color: #1c1a12;
}

.hub-card .hint {
    margin: 0;
}

.promo-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.promo-card h2 {
    font-size: 16px;
    margin: 0;
    color: #1c1a12;
}

.cover-thumb {
    max-width: 160px;
    max-height: 220px;
    border-radius: 8px;
    border: 1px solid #e8ddb8;
    display: block;
    margin: 8px 0;
    object-fit: cover;
}

.marketing-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0;
}

.marketing-thumb {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e8ddb8;
}

.marketing-thumb-check {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-weight: normal;
    font-size: 12px;
}

.release-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 12px;
}

.release-card {
    border: 1px solid #e8ddb8;
    border-radius: 10px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.release-cover {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e8ddb8;
    background: #fdf1c7;
}

.release-cover-placeholder {
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: 6px;
    border: 1px dashed #ddd0a0;
    background: #fdf6e3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b6152;
    font-size: 12px;
    text-align: center;
}

.release-title {
    font-size: 15px;
    margin: 8px 0 0;
    color: #1c1a12;
}

.release-cover-large {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e8ddb8;
    display: block;
    margin-bottom: 4px;
}

.release-cover-placeholder-large {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 2 / 3;
    border-radius: 8px;
    border: 1px dashed #ddd0a0;
    background: #fdf6e3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b6152;
    font-size: 13px;
    text-align: center;
    margin-bottom: 8px;
}

.buy-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.buy-link-row {
    margin: 0;
    font-size: 13px;
    word-break: break-all;
}

.copy-textarea-hidden {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}