.lounge-wrap {
    max-width: 920px;
    margin: 18px auto;
    background: #0d2544;
    border: 1px solid #2b5b96;
    border-radius: 10px;
    padding: 18px 20px;
    box-shadow: 0 6px 22px rgba(6, 20, 42, 0.45);
    color: #dbeafe;
}

.lounge-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    border-bottom: 1px solid #1e4575;
    padding-bottom: 12px;
    margin-bottom: 14px;
}

.lounge-title {
    margin: 0;
    font-size: 1.35em;
    color: #bfdbfe;
}

.lounge-subtitle {
    margin: 4px 0 0;
    font-size: 0.92em;
    color: #93c5fd;
}

.lounge-status {
    font-size: 0.85em;
    color: #dbeafe;
    background: #143661;
    border: 1px solid #2e62a3;
    padding: 4px 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lounge-dot {
    width: 8px;
    height: 8px;
    background: #38bdf8;
    border-radius: 50%;
    display: inline-block;
}

.lounge-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.lounge-tab {
    padding: 7px 14px;
    border-radius: 6px;
    background: #153966;
    color: #bfdbfe;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92em;
    border: 1px solid #2a5b94;
}

.lounge-tab.is-active {
    background: #1d63b8;
    color: #e0f2fe;
    border-color: #60a5fa;
}

.lounge-partner-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
    padding: 10px 12px;
    background: #123158;
    border: 1px solid #28558c;
    border-radius: 6px;
    color: #bfdbfe;
}

.lounge-search-wrap {
    position: relative;
    min-width: 210px;
    flex: 1;
}

.lounge-search-input {
    width: 100%;
    box-sizing: border-box;
    padding: 6px 10px;
    border-radius: 5px;
    border: 1px solid #356eb3;
    background: #0a1f3a;
    color: #e0f2fe;
}

.lounge-search-input::placeholder {
    color: #7da9db;
}

.lounge-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0f2c52;
    border: 1px solid #3b76bd;
    border-top: none;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 8px 18px rgba(4, 15, 34, 0.55);
    z-index: 50;
    max-height: 200px;
    overflow-y: auto;
}

.lounge-suggestion-item {
    padding: 7px 10px;
    cursor: pointer;
    color: #dbeafe;
    font-size: 0.92em;
    background: #0f2c52;
}

.lounge-suggestion-item:hover {
    background: #1d4f8c;
    color: #eff6ff;
}

.lounge-partner-bar select {
    padding: 6px 10px;
    border-radius: 5px;
    border: 1px solid #356eb3;
    background: #0a1f3a;
    color: #e0f2fe;
    min-width: 200px;
}

.lounge-feed-box {
    border: 1px solid #245085;
    border-radius: 8px;
    background: #0a1e38;
    padding: 12px;
}

.lounge-batch-row {
    text-align: center;
    margin-bottom: 8px;
}

.lounge-feed {
    max-height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-right: 4px;
}

.lounge-note {
    background: #13345e;
    border: 1px solid #295991;
    border-radius: 8px;
    padding: 8px 12px;
    max-width: 85%;
    color: #dbeafe;
}

.lounge-note.is-own {
    align-self: flex-end;
    background: #1a4b87;
    border-color: #4683cc;
}

.lounge-note-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85em;
    margin-bottom: 3px;
}

.lounge-author {
    color: #93c5fd;
}

.lounge-time {
    color: #7aa6d9;
    font-size: 0.9em;
}

.lounge-del-btn {
    margin-left: auto;
    background: none;
    border: none;
    color: #7aa6d9;
    cursor: pointer;
    font-size: 1.1em;
    line-height: 1;
}

.lounge-del-btn:hover {
    color: #bae6fd;
}

.lounge-note-text {
    color: #e0f2fe;
    word-break: break-word;
}

.lounge-empty {
    text-align: center;
    color: #8bb8eb;
    padding: 28px 12px;
}

.lounge-form {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.lounge-form input[type="text"] {
    flex: 1;
    padding: 9px 12px;
    border: 1px solid #356eb3;
    border-radius: 6px;
    font-size: 0.95em;
    background: #0a1f3a;
    color: #e0f2fe;
}

.lounge-form input[type="text"]::placeholder {
    color: #7da9db;
}

.lounge-btn-primary {
    background: #1d63b8;
    color: #e0f2fe;
    border: 1px solid #4c8ee0;
    border-radius: 6px;
    padding: 9px 18px;
    font-weight: 600;
    cursor: pointer;
}

.lounge-btn-primary:hover {
    background: #2575d6;
}

.lounge-btn-secondary {
    background: #153966;
    color: #bfdbfe;
    border: 1px solid #2e62a3;
    border-radius: 5px;
    padding: 4px 12px;
    font-size: 0.85em;
    cursor: pointer;
}

.lounge-btn-secondary:hover {
    background: #1d4c85;
}

.lounge-error {
    margin-top: 8px;
    padding: 7px 10px;
    background: #143661;
    border: 1px solid #3b76bd;
    border-radius: 5px;
    color: #bae6fd;
    font-size: 0.9em;
}

.lounge-login-notice {
    margin-top: 12px;
    padding: 10px;
    background: #123158;
    border: 1px solid #2e62a3;
    border-radius: 6px;
    color: #bfdbfe;
    text-align: center;
}

.lounge-img-btn {
    background: #153966;
    color: #bfdbfe;
    border: 1px solid #356eb3;
    border-radius: 6px;
    padding: 0 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lounge-img-btn:hover {
    background: #1d4c85;
    color: #e0f2fe;
}

.lounge-img-preview {
    margin-top: 6px;
    padding: 5px 10px;
    background: #123158;
    border: 1px solid #2e62a3;
    border-radius: 5px;
    color: #93c5fd;
    font-size: 0.85em;
}

.lounge-note-image {
    margin-top: 6px;
}

.lounge-note-image img {
    max-width: 260px;
    max-height: 220px;
    border-radius: 6px;
    border: 1px solid #356eb3;
    display: block;
}


.ln-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.ln-btn { padding: 6px 12px; border: 1px solid #2b6cb0; border-radius: 6px; background: #1a365d; color: #ebf8ff; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; transition: all 0.2s ease; }
.ln-btn:hover { background: #2b6cb0; box-shadow: 0 0 10px rgba(66, 153, 225, 0.6); }
.ln-link-group { display: flex; align-items: center; gap: 6px; }
.ln-link-input { padding: 6px 10px; border: 1px solid #3182ce; border-radius: 6px; background: #0f172a; color: #e0f2fe; font-size: 13px; outline: none; transition: border-color 0.25s ease, box-shadow 0.25s ease; }
.ln-link-input::placeholder { color: #63b3ed; opacity: 0.7; }
.ln-link-input:focus { border-color: #63b3ed; box-shadow: 0 0 12px rgba(56, 189, 248, 0.75), inset 0 0 6px rgba(56, 189, 248, 0.25); }
.ln-link-btn { background: linear-gradient(135deg, #2563eb, #0284c7); border-color: #38bdf8; box-shadow: 0 0 8px rgba(56, 189, 248, 0.4); }
.ln-link-btn:hover { background: linear-gradient(135deg, #3b82f6, #0ea5e9); box-shadow: 0 0 14px rgba(56, 189, 248, 0.85); }
.ln-modal { display: none; position: fixed; z-index: 9999; inset: 0; background: rgba(0, 0, 0, 0.65); align-items: center; justify-content: center; }
.ln-modal.is-open { display: flex; }
.ln-modal-content { background: #1e293b; border: 1px solid #38bdf8; border-radius: 10px; width: 90%; max-width: 440px; max-height: 75vh; display: flex; flex-direction: column; box-shadow: 0 0 20px rgba(56, 189, 248, 0.35); }
.ln-modal-header { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid #334155; color: #e0f2fe; font-weight: 600; }
.ln-modal-close { background: none; border: none; color: #94a3b8; font-size: 20px; cursor: pointer; }
.ln-modal-close:hover { color: #38bdf8; }
.ln-emoji-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(36px, 1fr)); gap: 6px; padding: 12px; overflow-y: auto; }
.ln-emoji-item { background: transparent; border: 1px solid transparent; border-radius: 6px; font-size: 20px; padding: 4px; cursor: pointer; transition: background 0.15s, transform 0.15s; }
.ln-emoji-item:hover { background: rgba(56, 189, 248, 0.2); border-color: #38bdf8; transform: scale(1.15); }
.ln-chat-link { color: #38bdf8; text-decoration: underline; }
.ln-chat-link:hover { color: #7dd3fc; }
