:root { --c: #2f6fed; --bg: #f5f6f8; --card: #fff; --line: #e3e6eb; --text: #1d2330; --muted: #6b7280; --warn: #c2410c; --warnbg: #fff4ec; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; }
.top { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: var(--c); color: #fff; }
.brand { font-weight: 700; }
.home { color: #fff; text-decoration: none; font-size: 14px; border: 1px solid rgba(255,255,255,.5); border-radius: 6px; padding: 4px 10px; }
main { max-width: 640px; margin: 0 auto; padding: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px; margin-bottom: 12px; }
.center { text-align: center; }
.muted { color: var(--muted); font-size: 13px; }
h2 { font-size: 17px; margin: 0 0 8px; }
input.code { width: 100%; font-size: 28px; letter-spacing: 6px; text-align: center; padding: 10px; border: 1px solid var(--line); border-radius: 8px; }
input.text { width: 100%; font-size: 18px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; text-transform: uppercase; }
button, .btn { display: inline-block; background: var(--c); color: #fff; border: 0; border-radius: 8px; padding: 10px 16px; font-size: 15px; cursor: pointer; text-decoration: none; }
button.wide { width: 100%; margin-top: 10px; }
button.ghost { background: #fff; color: var(--c); border: 1px solid var(--c); }
button.small { padding: 4px 10px; font-size: 13px; }
.err { color: #b91c1c; margin-top: 8px; min-height: 1.2em; }
.tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.tabs button { flex: 1; background: #fff; color: var(--text); border: 1px solid var(--line); }
.tabs button.on { background: var(--c); color: #fff; border-color: var(--c); }
.status { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #9ca3af; flex: none; }
.dot.ok { background: #16a34a; }
.dot.bad { background: #dc2626; }
.warn { background: var(--warnbg); color: var(--warn); border: 1px solid #fed7aa; border-radius: 8px; padding: 10px 12px; margin-bottom: 12px; font-size: 14px; }
.msg { border-bottom: 1px solid var(--line); padding: 12px 0; }
.msg:last-child { border-bottom: 0; }
.msg .head { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); }
.msg .from { font-weight: 600; color: var(--text); word-break: break-all; }
.msg .body { white-space: pre-wrap; word-break: break-word; margin-top: 4px; }
.otp { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.otp b { font-size: 26px; letter-spacing: 3px; color: var(--c); }
.msg.new { animation: flash 2s; }
@keyframes flash { from { background: #e8f0fe; } to { background: transparent; } }
.qr { display: block; margin: 8px auto; width: 220px; height: 220px; }
.secret { font-family: ui-monospace, Menlo, monospace; word-break: break-all; background: var(--bg); padding: 6px 8px; border-radius: 6px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
td { border-bottom: 1px solid var(--line); padding: 6px 4px; vertical-align: top; }
.new-browser { color: var(--warn); font-weight: 600; }
ol { padding-left: 20px; }
li { margin-bottom: 6px; }
