:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #fff; color: #e5e6ed; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { position: relative; isolation: isolate; margin: 0; min-width: 320px; min-height: 100vh; background: #fff; }
body::before { content: ""; position: fixed; z-index: -1; inset: 0; pointer-events: none; background: #fff url("/assets/goat-logo.png") repeat; background-size: 275px 275px; background-position: 22px 18px; opacity: .22; }
button, input { font: inherit; }
button { cursor: pointer; }
.shell { width: min(100% - 32px, 610px); margin: 0 auto; padding: 40px 0 60px; }
.login-screen { width: min(100%, 385px); margin: 10vh auto; padding: 32px; border: 1px solid #292a38; border-radius: 16px; background: rgba(14,15,23,.9); box-shadow: 0 20px 70px #0008; }
.login-screen h1, .page-header h1 { margin: 3px 0 0; font-size: clamp(24px, 5vw, 31px); letter-spacing: -.04em; }
.login-screen > p { color: #85879a; font-size: 14px; margin: 10px 0 27px; }
.login-mark, .eyebrow { color: #8e91a5; font-size: 10px; letter-spacing: .11em; text-transform: uppercase; font-weight: 700; margin: 0; }
.login-mark span, .eyebrow span { color: #f2c434; }
.app { display: grid; gap: 14px; }
.page-header { display: flex; justify-content: space-between; align-items: end; padding: 0 3px 8px; }
.page-header .eyebrow { margin-bottom: 4px; }
.mode-badge { border: 1px solid #3f3a20; border-radius: 999px; color: #eecf54; padding: 5px 9px; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.surface { border: 1px solid #252633; border-radius: 16px; background: rgba(13, 14, 22, .94); box-shadow: 0 15px 35px #0002; }
.account-card { min-height: 52px; padding: 10px 12px 10px 16px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.account-card p { margin: 0; color: #b6b8c5; }.account-card strong { color: #f1c72d; }.muted { color: #696b80; }
.quiet-button, .copy-button { border: 1px solid #363846; border-radius: 8px; padding: 6px 14px; background: #171821; color: #babdca; font-size: 11px; }
.quiet-button:hover { border-color: #777b8d; color: white; }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; }
.tab { border: 1px solid transparent; border-radius: 9px; padding: 10px 8px; background: transparent; color: #77798e; font-weight: 600; font-size: 12px; }.tab span { font-size: 16px; margin-right: 5px; vertical-align: -1px; }
.tab.active { color: #f6ce34; background: linear-gradient(105deg, #241d09, #17150e); border-color: #69541a; box-shadow: inset 0 0 18px #f6c8290b; }
.panel { padding: 22px; }.panel-heading { display: flex; justify-content: space-between; align-items: start; margin-bottom: 20px; }.panel-heading h2 { margin: 5px 0 0; font-size: 18px; letter-spacing: -.02em; }.step { color: #57596d; font: 700 11px ui-monospace, SFMono-Regular, Menlo, monospace; }.panel-heading.compact { margin-bottom: 15px; }
.form { display: grid; gap: 15px; }.proxy-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }.wide { grid-column: 1 / -1; }
label { color: #8a8d9e; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; display: grid; gap: 7px; }
input { width: 100%; border: 1px solid #292a37; border-radius: 9px; padding: 11px 13px; background: #090a10; color: #e9eaf1; outline: none; font-size: 14px; letter-spacing: normal; text-transform: none; font-weight: 500; }
input:focus { border-color: #e4b91f; box-shadow: 0 0 0 3px #e4b91f16; } input::placeholder { color: #494b5b; }
small { color: #5f6275; font-size: 10px; line-height: 1.45; letter-spacing: normal; text-transform: none; font-weight: 500; }
.primary { border: 0; border-radius: 10px; min-height: 43px; background: linear-gradient(104deg, #cfa700, #ffd148); color: #131105; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; font-size: 11px; box-shadow: 0 5px 18px #c7a00023; }.primary:hover { filter: brightness(1.08); }.primary:disabled { cursor: wait; opacity: .6; }
.form-error { min-height: 0; margin: -3px 0 0; color: #f07e84; font-size: 12px; letter-spacing: normal; text-transform: none; }.form-error:empty { display: none; }
.created-card { position: relative; overflow: hidden; min-height: 173px; margin-top: 24px; border: 1px solid #1c5b3b; border-radius: 11px; background: #07150e; isolation: isolate; }.matrix { position: absolute; inset: 0; opacity: .35; background-image: linear-gradient(90deg, transparent 0 7%, #16a85d22 7% 8%, transparent 8% 14%, #17a6571f 14% 15%, transparent 15% 23%, #17a65727 23% 24%, transparent 24% 29%, #17a6571c 29% 31%, transparent 31% 39%, #17a65726 39% 40%, transparent 40% 49%, #17a6571d 49% 50%, transparent 50% 57%, #17a65727 57% 58%, transparent 58% 65%, #17a65720 65% 66%, transparent 66% 74%, #17a6572a 74% 75%, transparent 75% 83%, #17a65722 83% 84%, transparent 84%); }.matrix::after { content: "ア 7 ヨ 1 キ 0 ラ 4 ユ 9 ホ 2 ナ 6 ミ 3 リ 8 シ 5"; color: #38eb86; display: block; width: 75%; word-spacing: 19px; letter-spacing: 8px; line-height: 20px; font-family: ui-monospace, monospace; font-size: 13px; filter: blur(.1px); transform: rotate(90deg) translateX(18px); transform-origin: left top; }
.created-content { position: relative; z-index: 1; padding: 21px; display: grid; gap: 10px; }.created-content > p { color: #42d886; text-transform: uppercase; font: 800 16px ui-monospace, monospace; margin: 0; text-shadow: 0 0 14px #30c97677; }.created-content code { display: block; overflow-wrap: anywhere; color: #baf6d2; background: #020906b8; border: 1px solid #1d7944; padding: 9px; border-radius: 7px; font: 11px ui-monospace, monospace; }.created-content small { color: #77b691; }.copy-button { justify-self: start; color: #4de28d; border-color: #1c7a45; background: #06150c; }
.status-list, .proxy-list { display: grid; gap: 9px; }.status-item, .proxy-item { border: 1px solid #272937; border-radius: 10px; padding: 13px; background: #0a0b12; }.proxy-item { display: grid; grid-template-columns: 1fr auto; gap: 10px; }.proxy-title { display: flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 750; }.proxy-meta { color: #818497; font: 11px ui-monospace, monospace; margin: 7px 0 0; overflow-wrap: anywhere; }.connection-line { color: #d5d7e1; font-size: 11px; margin-top: 7px; }.status { display: inline-flex; align-items: center; gap: 5px; align-self: start; border-radius: 99px; padding: 4px 7px; font-size: 10px; color: #8f91a2; background: #191a23; }.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #77798a; }.status.online::before { background: #38d77b; box-shadow: 0 0 8px #38d77b; }.status.demo::before { background: #f7ca36; }.status.error::before { background: #ec6972; }.actions { display: flex; align-items: center; gap: 7px; }.action { border: 1px solid #353745; border-radius: 7px; background: #161720; padding: 6px 8px; color: #aaaebe; font-size: 10px; }.action.danger:hover { color: #ff9b9f; border-color: #9f454b; }
.empty-state { border: 1px dashed #343644; border-radius: 10px; padding: 24px 14px; text-align: center; color: #707386; font-size: 12px; }
.stats { padding: 18px; }.stat-row { display: grid; grid-template-columns: 42px 1fr 78px; gap: 8px; align-items: center; min-height: 28px; color: #898c9d; font-size: 11px; }.stat-row output { color: #a8abbb; text-align: right; font: 10px ui-monospace, monospace; }.meter { height: 4px; border-radius: 999px; overflow: hidden; background: #07080d; }.meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #cba400, #ffd342); transition: width .35s ease; }
@media (max-width: 500px) { .shell { width: min(100% - 20px, 610px); padding-top: 22px; }.panel { padding: 17px; }.proxy-form { grid-template-columns: 1fr; }.proxy-form label { grid-column: 1 / -1; }.page-header { align-items: start; }.mode-badge { margin-top: 5px; }.stat-row { grid-template-columns: 36px 1fr 64px; } }
