| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229 |
- .pl-auth-mask {
- position: fixed;
- inset: 0;
- z-index: 400;
- display: grid;
- place-items: center;
- padding: 24px;
- background: rgba(23, 20, 15, 0.5);
- backdrop-filter: blur(6px);
- }
- .pl-auth-mask[hidden] { display: none; }
- .pl-auth-card {
- width: min(400px, 100%);
- background: var(--white, #fffdf8);
- border: 1px solid var(--line, #e2dacb);
- border-radius: 20px;
- padding: 26px 26px 20px;
- box-shadow: 0 30px 70px rgba(23, 20, 15, 0.28);
- position: relative;
- animation: plAuthIn 0.26s cubic-bezier(0.22, 1, 0.36, 1);
- }
- @keyframes plAuthIn {
- from { opacity: 0; transform: translateY(12px) scale(0.98); }
- to { opacity: 1; transform: none; }
- }
- .pl-auth-close {
- position: absolute;
- right: 14px;
- top: 14px;
- width: 30px;
- height: 30px;
- border-radius: 50%;
- color: var(--muted, #7d7466);
- display: grid;
- place-items: center;
- font-size: 13px;
- }
- .pl-auth-close:hover { background: var(--paper, #f6f2e9); color: var(--ink, #17140f); }
- .pl-auth-brand {
- font-size: 10px;
- letter-spacing: 0.18em;
- color: var(--accent, #ff5c2b);
- font-family: var(--font-mono, "SF Mono", Menlo, monospace);
- }
- .pl-auth-brand em {
- font-style: normal;
- color: var(--muted-2, #a79d8d);
- margin-left: 4px;
- }
- .pl-auth-card h2 {
- margin-top: 10px;
- font-size: 24px;
- letter-spacing: -0.02em;
- }
- .pl-auth-sub {
- margin-top: 6px;
- font-size: 12px;
- color: var(--muted, #7d7466);
- line-height: 1.6;
- }
- .pl-auth-label {
- display: block;
- margin: 16px 0 7px;
- font-size: 11px;
- font-weight: 600;
- color: var(--muted, #7d7466);
- }
- .pl-auth-input {
- width: 100%;
- height: 42px;
- border: 1px solid var(--line-2, #d5cbb9);
- border-radius: 10px;
- background: var(--white, #fffdf8);
- padding: 0 12px;
- font-size: 14px;
- color: var(--ink, #17140f);
- outline: none;
- transition: border-color 0.2s, box-shadow 0.2s;
- }
- .pl-auth-input:focus {
- border-color: var(--ink, #17140f);
- box-shadow: 0 0 0 3px rgba(23, 20, 15, 0.06);
- }
- .pl-auth-code-row {
- display: flex;
- gap: 8px;
- }
- .pl-auth-code-row .pl-auth-input { flex: 1; }
- .pl-auth-send {
- flex: none;
- height: 42px;
- padding: 0 12px;
- border: 1px solid var(--line-2, #d5cbb9);
- border-radius: 10px;
- font-size: 11.5px;
- font-weight: 600;
- color: var(--ink, #17140f);
- background: var(--paper-2, #faf6ec);
- transition: background 0.2s, opacity 0.2s;
- }
- .pl-auth-send:hover:not(:disabled) { background: var(--paper, #f6f2e9); }
- .pl-auth-send:disabled { opacity: 0.55; cursor: default; }
- .pl-auth-hint {
- margin-top: 10px;
- font-size: 10.5px;
- line-height: 1.6;
- color: var(--muted-2, #a79d8d);
- }
- .pl-auth-error {
- margin-top: 10px;
- font-size: 11px;
- color: #d63d13;
- }
- .pl-auth-submit {
- width: 100%;
- height: 44px;
- margin-top: 14px;
- border-radius: 10px;
- background: var(--accent, #ff5c2b);
- color: #fff;
- font-size: 13px;
- font-weight: 650;
- letter-spacing: 0.02em;
- box-shadow: 0 10px 24px rgba(255, 92, 43, 0.24);
- transition: transform 0.15s, box-shadow 0.15s;
- }
- .pl-auth-submit:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(255, 92, 43, 0.28); }
- .pl-auth-submit:active { transform: translateY(0); }
- .pl-auth-terms {
- margin-top: 12px;
- text-align: center;
- font-size: 9.5px;
- color: var(--muted-2, #a79d8d);
- }
- .pl-auth-entry {
- position: relative;
- display: inline-flex;
- }
- .pl-auth-btn {
- height: 32px;
- padding: 0 13px;
- border: 1px solid var(--line, #e2dacb);
- border-radius: 8px;
- background: var(--white, #fffdf8);
- color: var(--ink-2, #2c271f);
- font-size: 11.5px;
- font-weight: 600;
- transition: background 0.2s, border-color 0.2s;
- }
- .pl-auth-btn:hover { background: var(--paper, #f6f2e9); border-color: var(--line-2, #d5cbb9); }
- .pl-auth-btn.on { border-color: var(--accent, #ff5c2b); color: var(--accent, #ff5c2b); }
- .pl-auth-menu {
- position: absolute;
- top: calc(100% + 8px);
- right: 0;
- min-width: 160px;
- background: var(--white, #fffdf8);
- border: 1px solid var(--line, #e2dacb);
- border-radius: 10px;
- box-shadow: 0 14px 34px rgba(23, 20, 15, 0.16);
- padding: 8px;
- z-index: 320;
- }
- .pl-auth-menu[hidden] { display: none; }
- .pl-auth-name {
- display: block;
- padding: 6px 8px 8px;
- font-size: 10.5px;
- color: var(--muted, #7d7466);
- border-bottom: 1px solid var(--line, #e2dacb);
- margin-bottom: 5px;
- white-space: nowrap;
- }
- .pl-auth-logout {
- display: block;
- width: 100%;
- text-align: left;
- padding: 7px 8px;
- border-radius: 6px;
- font-size: 11.5px;
- color: var(--ink, #17140f);
- }
- .pl-auth-logout:hover { background: #fff0ec; color: #d63d13; }
- body.pl-auth-open { overflow: hidden; }
- .header-actions .header-link.on { color: var(--accent, #ff5c2b); }
- @media (max-width: 760px) {
- .pl-auth-card { padding: 22px 20px 18px; }
- .studio-actions .pl-auth-entry { display: none; }
- }
- button.header-link {
- background: none;
- border: 0;
- padding: 0;
- font-family: inherit;
- cursor: pointer;
- }
|