body {
    min-height: 100vh;
    background-color: #f8fafc;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.success-alert {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);

    width: min(600px, 90%);
    z-index: 9999;

    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.main-container {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: clamp(24px, 5vw, 48px);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.title {
    font-size: clamp(2rem, 6vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: clamp(1rem, 2.8vw, 1.2rem);
    color: #6c757d;
    margin-bottom: 2rem;
    line-height: 1.75;
}

.home-description {
    white-space: pre-wrap;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.home-state-message {
    display: grid;
    gap: 4px;
    max-width: 520px;
    margin: 0 auto 2rem;
    padding: 14px 16px;
    border-radius: 12px;
    color: #5c6770;
}

.home-state-message strong {
    font-size: 1.05em;
}

.home-state-message-open {
    border: 1px solid #b7dfc7;
    background: #f3fbf6;
}

.home-state-message-open strong {
    color: #237b46;
}

.home-state-message-waiting {
    border: 1px solid #ffd89b;
    background: #fff9ed;
}

.home-state-message-waiting strong {
    color: #b66a00;
}

.home-state-message-closed {
    border: 1px solid #f1b8bd;
    background: #fff8f8;
}

.home-state-message-closed strong {
    color: #c92a2a;
}

.menu-wrapper {
    display: grid;
    gap: 1rem;
}

.menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 72px;

    padding: clamp(18px, 4vw, 28px);

    font-size: clamp(1.1rem, 3.5vw, 1.4rem);
    font-weight: 600;

    border-radius: 18px;

    transition: all 0.2s ease;
}

.menu-btn:hover {
    transform: translateY(-2px);
}

.notice-card {
    background: white;
    border-radius: 20px;
    padding: clamp(20px, 4vw, 30px);
    margin-bottom: 2rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.notice-card-closed {
    border: 1px solid #f3c2c7;
}

.notice-card-waiting {
    border: 1px solid #ffe0a8;
}

.notice-card-open {
    border: 1px solid #bfe6ce;
}

.emoji {
    font-size: clamp(3rem, 8vw, 4.5rem);
    margin-bottom: 1rem;
}
