/* Shared read-only card styling for the master editor and player atlas.
   Sourced from the master's original card-window and location-card rules. */
.card-window {
    background: #fff;
    border: 1px solid #888;
    box-shadow: 0 8px 30px rgba(0,0,0,.3);
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}
.card-window {
    position: relative;

    width: 520px;
    max-width: calc(100% - 40px);
    max-height: calc(100% - 40px);

    overflow-y: auto;
    padding: 30px;
}

.card-window h2 {
    margin-bottom: 5px;
    padding-right: 35px;
    font-size: 28px;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 12px;

    width: 32px;
    height: 32px;

    border: none;
    background: transparent;

    font-size: 28px;
    line-height: 28px;
}

.modal-close:hover {
    background: #eee;
}

.location-card-type {
    margin-bottom: 25px;
    color: #666;
    font-size: 15px;
}

.location-card-description {
    margin-bottom: 25px;
    line-height: 1.6;
    white-space: pre-wrap;
}

.location-card-extra {
    margin-bottom: 25px;
    padding: 12px;
    background: #f3f3f3;
    line-height: 1.6;
}

.location-card-image {
    width: 100%;
    margin-bottom: 25px;
    text-align: center;
}

.location-card-image img {
    display: block;
    width: 100%;
    max-height: 300px;
    object-fit: contain;
}
.location-card-coordinates {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 10px;
    background: #f3f3f3;
    font-family: monospace;
}
.location-card-coordinates {
    gap: 40px;
    margin-top: 0;
    padding: 12px;
}
@media (max-width: 600px) {
    .card-window { padding: 20px; }
    .card-window h2 { font-size: 24px; }
    .location-card-coordinates { gap: 9px; flex-wrap: wrap; }
}
