* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    font-family: 'Courier New', Consolas, Monaco, 'Lucida Console', monospace, 'Arial Unicode MS', 'Segoe UI', -apple-system, BlinkMacSystemFont;
}

body {
    font-family: 'Courier New', Consolas, Monaco, 'Lucida Console', monospace, 'Arial Unicode MS', 'Segoe UI', -apple-system, BlinkMacSystemFont;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0.3rem 0;
    padding: 0;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(229, 84, 59, 0.8);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.4rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: 1rem;
}

p, span {
    margin: 0.5rem 0;
    padding: 0;
    line-height: 1.6;
    font-size: 1rem;
}

.portrait-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.portrait-message {
    text-align: center;
    color: white;
    padding: 2rem;
}

.portrait-message h2 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.portrait-message p {
    font-size: 1.2rem;
    line-height: 1.6;
}

@media (orientation: portrait) {
    .portrait-overlay {
        display: flex;
    }
}

.t-orange {
    color: #E5543B;
    text-shadow: 2px 2px 4px rgba(229, 84, 59, 0.2);
}

.content-block {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    width: fit-content;
    min-width: 300px;
    max-width: 600px;
    background: rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(229, 84, 59, 0.6);
    margin: 0 2rem;
}

.content-width {
    width: fit-content;
    min-width: 300px;
    max-width: 600px;
    margin: 0 2rem;
}

.content-wrapper {
    padding: 2.5rem 3rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.2rem;
    }
    
    h3 {
        font-size: 1rem;
    }
    
    h4 {
        font-size: 1rem;
    }
    
    h5 {
        font-size: 0.95rem;
    }
    
    h6 {
        font-size: 0.9rem;
    }
    
    p, span {
        font-size: 0.85rem;
    }
    
    .content-block,
    .content-width {
        width: 100%;
        max-width: calc(100vw - 1rem);
        margin: 0 0.5rem;
    }

    .content-wrapper {
        padding: 1rem 1.25rem;
    }
}

@media (orientation: portrait) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.35rem;
    }
    
    h3 {
        font-size: 1.1rem;
    }
    
    h4 {
        font-size: 1.05rem;
    }
    
    h5 {
        font-size: 0.95rem;
    }
    
    h6 {
        font-size: 0.9rem;
    }
    
    p, span {
        font-size: 0.9rem;
    }
}

@media (max-height: 400px) {
    .content-block,
    .content-width {
        margin: 0 0.5rem;
    }

    .content-wrapper {
        padding: 1rem;
    }
}

.br-sp {
    display: none;
}

@media (max-width: 768px) {
    .br-sp {
        display: inline;
    }
}