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;
}

.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;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #1c1a12;
    margin: 0;
    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: 7px 14px;
    border-radius: 999px;
    text-decoration: none;
}

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

.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;
}

.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;
}

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;
}

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

.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;
}
