@charset "UTF-8";
/* =========================================================
   공통 : 색상 토큰 / 리셋 / 버튼 / 모달
   - 다크 테마 (AMOLED 번인 대비), Android 9 WebView 호환
   ========================================================= */

:root {
	--bg: #05070b;
	--panel: #0e131c;
	--panel-2: #141b27;
	--line: #1e2735;
	--text: #e6ebf2;
	--text-2: #9aa6b8;
	--text-3: #5f6b7d;

	--accent: #38d9c0;   /* 민트 */
	--ok: #34d399;
	--warn: #fbbf24;
	--down: #f43f5e;
	--info: #60a5fa;
	--memo: #fcd34d;

	--radius: 14px;
	--gap: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; overflow: hidden; }
body {
	background: var(--bg);
	color: var(--text);
	font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
	font-size: 15px;
	line-height: 1.4;
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: transparent;
	-webkit-user-select: none;
	user-select: none;
}
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
[hidden] { display: none !important; }

/* ---------- 버튼 ---------- */
.btn { height: 44px; padding: 0 22px; border-radius: 10px; font-size: 15px; font-weight: 700; }
.btn-ghost { color: var(--text-2); background: var(--panel-2); }
.btn-primary { color: #1a1405; background: var(--memo); }
.btn-danger { color: var(--down); background: rgba(244, 63, 94, .1); }

/* ---------- 입력 모달 ---------- */
.modal { position: fixed; left: 0; top: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, .7); display: flex; align-items: flex-start; justify-content: center; padding-top: 70px; z-index: 50; }
.modal-box { width: 560px; max-width: calc(100% - 32px); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.modal-box h3 { font-size: 17px; margin-bottom: 14px; }
.modal-box label { display: block; font-size: 13px; color: var(--text-2); margin: 10px 0 6px; }
.modal-box input,
.modal-box textarea {
	display: block;
	width: 100%; padding: 12px 14px;
	font: inherit; font-size: 17px; color: var(--text);
	background: var(--bg); border: 1px solid var(--line); border-radius: 10px; outline: none;
	-webkit-user-select: text; user-select: text;
}
.modal-box input { height: 50px; }
.modal-box textarea { height: 150px; resize: none; line-height: 1.5; font-size: 16px; }
.modal-box input:focus,
.modal-box textarea:focus { border-color: var(--memo); }
.modal-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.modal-btns .btn-danger { margin-right: auto; }

/* ---------- 확인창 ---------- */
.modal.confirm { align-items: center; padding-top: 0; z-index: 55; }
.confirm-box { width: 420px; padding: 24px 22px 20px; }
.confirm-box h3 { font-size: 19px; margin-bottom: 8px; }
.confirm-text { font-size: 15px; color: var(--text-2); word-break: keep-all; overflow-wrap: break-word; }
.confirm-box .modal-btns { margin-top: 22px; }
.confirm-box .btn { flex: 1; height: 50px; font-size: 16px; }
.btn-danger-solid { color: #fff; background: var(--down); }

/* ---------- 토스트 ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); padding: 12px 22px; border-radius: 24px; background: #26303f; color: var(--text); font-size: 15px; z-index: 60; box-shadow: 0 6px 20px rgba(0, 0, 0, .5); }
.toast.is-err { background: var(--down); color: #fff; }
