:root { --bg: #0c1020; --surface: #151b2e; --surface-light: #1d2640; --border: #2b3552; --text: #eef2ff; --muted: #8d9ab9; --purple: #a78bfa; --cyan: #67e8f9; --green: #86efac; } * { box-sizing: border-box; } body { margin: 0; min-height: 100vh; background: radial-gradient(ellipse at 10% 0%, #25204b 0, transparent 38%), radial-gradient(ellipse at 100% 100%, #103044 0, transparent 35%), var(--bg); color: var(--text); font-family: "Yu Gothic UI", "Meiryo", sans-serif; } header { padding: 28px 24px 24px; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(12,16,32,.7); } .header-inner { max-width: 1200px; margin: auto; display: flex; align-items: center; gap: 16px; } .logo { width: 54px; height: 54px; display: grid; place-items: center; flex-shrink: 0; border-radius: 17px; background: linear-gradient(135deg, var(--purple), #6366f1); color: white; font-size: 26px; box-shadow: 0 8px 30px #8b5cf644; } h1 { margin: 0; font-size: clamp(21px, 3vw, 29px); letter-spacing: .04em; } .subtitle { margin: 7px 0 0; color: var(--muted); font-size: 13px; letter-spacing: .08em; } main { max-width: 1200px; margin: auto; padding: 28px 24px 40px; } .intro { margin-bottom: 24px; } .intro h2 { margin: 0 0 8px; font-size: 19px; } .intro p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; } .toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; padding: 16px; border: 1px solid var(--border); border-radius: 18px; background: rgba(21,27,46,.88); } .mode-label { color: var(--muted); font-size: 13px; white-space: nowrap; } select { min-width: 230px; flex: 1; max-width: 400px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; outline: none; background: var(--surface-light); color: var(--text); font: inherit; cursor: pointer; } select:focus, textarea:focus { border-color: var(--purple); } button { border: 0; border-radius: 10px; padding: 11px 16px; font: inherit; font-size: 13px; cursor: pointer; transition: .2s ease; } button:hover { transform: translateY(-1px); filter: brightness(1.1); } .btn-primary { background: linear-gradient(135deg, #a78bfa, #818cf8); color: #101329; font-weight: bold; } .btn-secondary { border: 1px solid var(--border); background: var(--surface-light); color: var(--text); } .editor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; } .panel { display: flex; flex-direction: column; min-width: 0; min-height: 420px; overflow: hidden; border: 1px solid var(--border); border-radius: 18px; background: rgba(21,27,46,.94); box-shadow: 0 12px 40px rgba(0,0,0,.12); } .panel-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 17px 19px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.02); } .panel-title { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: bold; } .panel-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #a78bfa20; color: var(--purple); font-size: 15px; } .output-panel .panel-icon { background: #67e8f920; color: var(--cyan); } .badge { padding: 5px 9px; border: 1px solid var(--border); border-radius: 20px; color: var(--muted); font-size: 11px; } textarea { display: block; width: 100%; min-height: 340px; flex: 1; resize: vertical; padding: 22px; border: 1px solid transparent; outline: none; background: transparent; color: var(--text); font-family: inherit; font-size: 17px; line-height: 2; transition: border-color .2s; } textarea::placeholder { color: #65718f; } textarea:focus { border-color: transparent; } #result { min-height: 340px; flex: 1; padding: 22px; overflow-wrap: anywhere; white-space: pre-wrap; font-size: 17px; line-height: 2; } mark { padding: 2px 4px; border: 1px solid #67e8f944; border-radius: 5px; background: #67e8f91b; color: var(--cyan); } .result-placeholder { color: #65718f; } .panel-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 12px 18px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; } .status { display: flex; align-items: center; gap: 7px; } .status-dot { width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: var(--green); } .status.error .status-dot { background: #fb7185; } .status.loading .status-dot { background: #fbbf24; } .info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 22px; } .info-card { padding: 17px; border: 1px solid var(--border); border-radius: 14px; background: rgba(21,27,46,.7); } .info-card strong { display: block; margin-bottom: 7px; font-size: 13px; } .info-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; } footer { padding: 22px; border-top: 1px solid rgba(255,255,255,.07); color: var(--muted); text-align: center; font-size: 11px; } @media (max-width: 760px) { header { padding: 22px 16px; } main { padding: 22px 14px 30px; } .editor { grid-template-columns: 1fr; } .panel { min-height: 330px; } textarea, #result { min-height: 230px; padding: 17px; font-size: 16px; } .toolbar { align-items: stretch; } select { width: 100%; max-width: none; } .toolbar button { flex: 1; } .info-grid { grid-template-columns: 1fr; } .intro h2 { font-size: 17px; } }