/* styles for Placar 90s/00s sports magazine layout */


/* Top Bar (Header Guidelines 2.0) */
html body #top-bar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: rgba(15, 23, 42, 0.75) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 1.5rem !important;
    z-index: 99999 !important;
    box-sizing: border-box !important;
}

html body #logged-user {
    display: none !important;
}

/* Sticky Footer Guidelines 2.0 */
html body #bottom-bar {
    position: relative !important;
    margin-top: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
    height: 60px !important;
    background: rgba(15, 23, 42, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 1.5rem !important;
    color: #94a3b8 !important;
    z-index: 9999 !important;
    box-sizing: border-box !important;
}

html body #botaoVoltar {
    display: flex !important;
    position: absolute !important;
    left: 1.5rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #38bdf8 !important;
    text-decoration: none !important;
}

html body #copyright-text {
    text-align: center !important;
    margin: 0 auto !important;
}

html body #bottom-bar a {
    color: #38bdf8 !important;
}

html body {
    background-color: #f1f5f9 !important;
    background-image: linear-gradient(180deg, rgba(248, 250, 252, 0.85) 0%, rgba(226, 232, 240, 0.95) 100%) !important;
    color: #0f172a !important;
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    padding-top: 80px !important;
}

html {
    min-height: 100vh !important;
}

#principal {
    display: none !important;
}

#magazine-container {
    font-family: 'Montserrat', sans-serif;
    color: #1e293b;
    background-color: #f8fafc;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto 40px auto;
    padding: 20px;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Toolbar actions inside card container */
#toolbar-card-container {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 12px 20px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.toolbar-actions {
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background-color: #0f172a;
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s, border-color 0.2s;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn-action span {
    font-size: 1.2rem;
}

.btn-action:hover {
    transform: translateY(-2px);
    background-color: #1e293b;
    border-color: #38bdf8;
    color: #38bdf8;
}

#irDetalhes {
    border-left: 3px solid #0284c7;
}

.btn-save {
    border-left: 3px solid #10b981;
}

.btn-print {
    border-left: 3px solid #ef4444;
}

/* Cover/Header Placar Style */
.magazine-cover {
    position: relative;
    border-radius: 18px;
    padding: 30px;
    color: white;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    margin-bottom: 30px;
}

.cover-stripe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
}

.cover-grid {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 24px;
    align-items: center;
}

.cover-escudo {
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 10px;
    box-sizing: border-box;
}

.cover-escudo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cover-info {
    display: flex;
    flex-direction: column;
}

.magazine-title {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 900 !important;
    font-size: 3.5rem !important;
    line-height: 1.1 !important;
    margin: 0 !important;
    letter-spacing: -1.5px !important;
    text-transform: uppercase !important;
    float: none !important;
    position: static !important;
    display: block !important;
}

.magazine-subtitle {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.3rem !important;
    margin: 12px 0 16px 0 !important;
    opacity: 0.95 !important;
    text-transform: uppercase !important;
    font-style: italic !important;
    line-height: 1.2 !important;
    float: none !important;
    position: static !important;
    display: block !important;
}

.magazine-subtitle span {
    border-bottom: 2px dashed rgba(255,255,255,0.4);
    padding-bottom: 2px;
}

.magazine-meta-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.badge-item {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 6px 12px;
    display: flex;
    flex-direction: column;
}

.badge-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.7;
    letter-spacing: 0.5px;
}

.badge-val {
    font-weight: 700;
    font-size: 0.95rem;
}

.cover-quick-stats {
    display: flex;
    align-items: center;
}

/* Stadium Card inside Cover */
.stadium-cover-card {
    position: relative;
    width: 220px;
    height: 110px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.stadium-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stadium-cover-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.95) 100%);
    padding: 8px 12px;
    box-sizing: border-box;
    color: white;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.stadium-cover-name {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'Outfit', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stadium-cover-cap {
    font-size: 0.65rem;
    opacity: 0.85;
    font-weight: 600;
}

.cover-trophies {
    margin-top: 20px;
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 5px solid;
}

.trophy-icon-wrapper {
    display: flex;
    align-items: center;
}

.trophy-icon-wrapper span {
    font-size: 2rem;
}

.trophy-text-wrapper {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    opacity: 0.95;
}

/* Editorial layout (columns + destaque frame) */
.magazine-editorial-section {
    background: white;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.editorial-columns {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.editorial-article {
    display: flex;
    flex-direction: column;
}

.editorial-headline {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 2.2rem;
    line-height: 1.1;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.editorial-deck {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.15rem;
    margin: 0 0 20px 0;
    line-height: 1.4;
    font-style: italic;
}

.text-columns {
    column-count: 2;
    column-gap: 30px;
    text-align: justify;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #334155;
}

.text-columns p {
    margin-top: 0;
    margin-bottom: 16px;
}

.text-columns .capitular {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 3.8rem;
    float: left;
    line-height: 0.8;
    margin-right: 8px;
    margin-top: 4px;
    color: #0284c7;
}

/* Highlight Featured Photo */
.editorial-highlight-photo {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.highlight-frame {
    width: 100%;
    max-width: 320px;
    border: 3px double #cbd5e1;
    padding: 8px;
    background: #f8fafc;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-radius: 12px;
}

.highlight-label {
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 0.8rem;
    padding: 4px 0;
    letter-spacing: 1px;
    border-radius: 6px;
    margin-bottom: 8px;
}

.highlight-img-container {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 8px;
    background-color: transparent;
    cursor: pointer;
}

.highlight-img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.highlight-img-container:hover img {
    transform: scale(1.04);
}

.upload-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.2s;
    font-weight: 700;
    font-size: 0.85rem;
}

.highlight-img-container:hover .upload-overlay {
    opacity: 1;
}

/* Tactical Layout Section */
.magazine-tactical-section {
    margin-bottom: 30px;
}

.tactical-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}

.tactical-field-card, .graphics-card {
    background: white;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    overflow: hidden;
}

.card-header-stripe {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1rem;
    padding: 12px 20px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.field-container {
    padding: 20px;
    background: #090d16;
}

/* Graphics Stadium Card */
.graphics-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.graphic-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.graphic-label {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mascot-img {
    height: 140px;
    object-fit: contain;
}

.uniforms-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.graphic-img-uniform {
    height: 110px;
    object-fit: contain;
}

/* Recent Matches & Next Match Section */
.magazine-recent-matches-section {
    background: white;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 26px 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.next-match-highlight-card {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.06) 0%, rgba(15, 23, 42, 0.03) 100%);
    border: 1.5px solid rgba(2, 132, 199, 0.25);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.05);
}

.next-match-stripe {
    background: #0284c7;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
}

.next-match-stripe span.material-symbols-outlined {
    font-size: 1.1rem;
}

.next-match-content {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.next-match-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 200px;
}

.next-match-comp {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    color: #0284c7;
    text-transform: uppercase;
}

.next-match-date, .next-match-phase {
    font-size: 0.82rem;
    color: #475569;
    font-weight: 600;
}

.next-match-duel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex: 2;
    min-width: 280px;
}

.next-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    width: 110px;
}

.next-team img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.next-team span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: #334155;
    line-height: 1.2;
}

.next-team.is-current span {
    font-weight: 800;
    color: #0284c7;
}

.next-versus-tag {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.2rem;
    color: #64748b;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 4px 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

.next-match-stadium {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    background: rgba(255, 255, 255, 0.7);
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.next-match-stadium span.material-symbols-outlined {
    font-size: 1.05rem;
    color: #0284c7;
}

.recent-matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.recent-match-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
    overflow: hidden;
}

.recent-match-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.recent-match-card.result-vitoria {
    border-left: 4px solid #10b981;
}

.recent-match-card.result-empate {
    border-left: 4px solid #f59e0b;
}

.recent-match-card.result-derrota {
    border-left: 4px solid #ef4444;
}

.match-meta-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 8px;
}

.match-comp-name {
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.match-badge-outcome {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 0.75rem;
    color: white;
    flex-shrink: 0;
}

.badge-vitoria {
    background-color: #10b981;
}

.badge-empate {
    background-color: #f59e0b;
}

.badge-derrota {
    background-color: #ef4444;
}

.match-card-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 12px;
}

.match-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
    text-align: center;
}

.match-team-crest {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.match-team-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: #334155;
    line-height: 1.2;
}

.match-team.is-current-team .match-team-name {
    font-weight: 800;
    color: #0284c7;
}

.match-score-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 8px 14px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.04);
    position: relative;
    flex-direction: row;
    flex-wrap: wrap;
}

.match-score {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.4rem;
    color: #0f172a;
    line-height: 1;
}

.match-score-divider {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: #94a3b8;
}

.match-penalties-score {
    width: 100%;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748b;
    margin-top: 2px;
}

.match-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px dashed #e2e8f0;
    padding-top: 10px;
    margin-top: 8px;
}

.match-date {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.match-date .icon-date {
    font-size: 0.9rem;
}

.match-origin-badge {
    font-size: 0.7rem;
    font-weight: 700;
    color: #0284c7;
    background: rgba(2, 132, 199, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.recent-matches-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    color: #64748b;
    gap: 8px;
    text-align: center;
}

.recent-matches-empty .empty-icon {
    font-size: 2.5rem;
    color: #94a3b8;
}

.recent-matches-empty p {
    margin: 0;
    font-size: 0.9rem;
}

/* Trading sticker cards style */
.magazine-squad-section {
    background: white;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.section-title-editorial {
    margin-bottom: 24px;
}

.section-title-editorial h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    margin: 0 0 8px 0;
    color: #0f172a;
}

.section-title-editorial .line-deco {
    width: 60px;
    height: 5px;
    background-color: #0284c7;
    border-radius: 2px;
}

.players-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.player-sticker-card {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    width: 165px;
    flex-shrink: 0;
    transition: transform 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.player-sticker-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.06);
}

.sticker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 0.7rem;
    border-radius: 6px;
    margin-bottom: 8px;
}

.sticker-pos {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: calc(100% - 20px) !important;
    display: inline-block !important;
}

.sticker-flag {
    width: 16px;
    height: 11px;
    object-fit: cover;
    border-radius: 2px;
}

.sticker-photo-container {
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 50%;
    background-color: #e2e8f0;
    margin: 0 auto 8px auto;
    border: 2px solid #e2e8f0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.sticker-photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sticker-footer {
    display: flex;
    flex-direction: column;
    text-align: center;
    flex-grow: 1;
    justify-content: space-between;
}

.sticker-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 6px;
}

.sticker-details {
    display: flex;
    justify-content: space-between;
    font-size: 0.6rem;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 8px;
}

.sticker-history {
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px dashed #cbd5e1;
    font-size: 0.58rem;
    color: #475569;
    text-align: center;
    min-height: 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.history-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.55rem;
    color: #94a3b8;
    margin-bottom: 2px;
}

.history-items {
    line-height: 1.3;
    font-weight: 500;
}

.history-line {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

/* Reserves & Coach Footer Section */
.magazine-footer-section {
    margin-bottom: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.coach-editorial-card, .reserves-editorial-card {
    background: white;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    overflow: hidden;
}

.coach-content {
    padding: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.coach-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #e2e8f0;
}

.coach-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coach-info {
    display: flex;
    flex-direction: column;
    position: relative;
    flex: 1;
}

.coach-role {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.5px;
}

.coach-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.3rem;
    color: #0f172a;
    line-height: 1.2;
    margin: 2px 0 6px 0;
}

.coach-meta {
    font-size: 0.75rem;
    color: #475569;
    font-weight: 600;
    margin-bottom: 2px;
}

.coach-flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    margin-top: 6px;
}

.reserves-list {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.reserve-item-tag {
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
}

.reserve-item-tag:hover {
    background-color: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(2, 132, 199, 0.2);
}

/* Print and Screenshot Optimization */
@media print {
    body {
        background: white !important;
    }
    #top-bar, #bottom-bar, #toolbar-card-container, .upload-overlay {
        display: none !important;
    }
    #magazine-container {
        padding: 0;
        margin: 0;
        max-width: 100%;
        box-shadow: none !important;
    }
    .magazine-cover, .magazine-editorial-section, .magazine-tactical-section, .magazine-squad-section, .magazine-footer-section {
        box-shadow: none !important;
        border: 1px solid #cbd5e1 !important;
        page-break-inside: avoid;
    }
}

/* Responsive / Mobile Styling */
@media (max-width: 992px) {
    .editorial-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .editorial-highlight-photo {
        order: -1;
    }
    .highlight-frame {
        max-width: 100%;
    }
    .tactical-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    #magazine-container {
        padding: 10px;
        width: 100% !important;
        overflow-x: hidden !important;
    }
    .toolbar-actions {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
    .btn-action {
        width: 100% !important;
        justify-content: center !important;
    }
    .cover-grid {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }
    .magazine-title {
        font-size: 2.5rem;
    }
    .text-columns {
        column-count: 1;
    }
    .players-grid {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 10px !important;
    }
    .player-sticker-card {
        width: calc(50% - 6px) !important;
        min-width: 130px !important;
        max-width: 165px !important;
        padding: 8px !important;
    }
    .sticker-name {
        font-size: 0.8rem;
    }
    .sticker-details {
        flex-direction: column;
        gap: 2px;
    }
}
