/* axi0 Yggdrasil (/yggdrasil/): the axi0 family look, as on Tasks, Notes and My search (taken from tasks.css). True black, Instrument Sans, the orange
   core as the one accent. No inline styles in the markup (the page runs under style-src 'self'). */
@font-face {
  font-family: "Instrument Sans";
  src: url(/axi0/fonts/instrument-sans-latin-var.woff2) format("woff2");
  font-weight: 400 700;
  font-display: optional;
}
:root {
  --bg: #000; --panel: #0a0a0c; --panel2: #0d0d10; --panel-a: rgba(10, 10, 12, .9); --field: #050506; --hover: #141418; --raise: #18181d;
  --line: #1c1c21; --line1b: #1d1d23; --line2: #2a2a31; --line3b: #33333b; --line3: #3a3a42; --field-line: #2a2a31;
  --head: #fff; --ink: #f5f5f7; --ink2: #f1f1f4; --text: #d6d6dc; --text2: #c4c4cc; --icon: #b9b9c2; --soft: #b4b4bd; --soft2: #a9a9b3;
  --lede: #a3a3ad; --soft4: #9a9aa4; --mute: #8e8e98; --faint: #868692; --place: #7c7c87;
  --core: #f6a04d; --core-ink: #f6a04d; --core-hover: #ffb26a; --on-core: #000;
  --danger: #ff8f78; --danger-line: rgba(255, 143, 120, .4); --ok: #7fd49a;
  --knob: #c8c8d0; --veil: rgba(255, 255, 255, .08); --uline: rgba(196, 196, 204, .45); --code-bg: #15151a; --shade: rgba(0, 0, 0, .6);
  color-scheme: dark;
}
html[data-axi0-theme="light"] {
  --bg: #f6f2ea; --panel: #fffdf9; --panel2: #fffdf9; --panel-a: rgba(255, 253, 249, .92); --field: #fffdf9; --hover: #efe8dc; --raise: #ece5d8;
  --line: #e6dfd3; --line1b: #e6dfd3; --line2: #d3cabb; --line3b: #b9ae9c; --line3: #8a8174; --field-line: #8a8174;
  --head: #17140f; --ink: #17140f; --ink2: #1f1b16; --text: #2c2823; --text2: #3d3730; --icon: #4f4940; --soft: #4a433b; --soft2: #50483f;
  --lede: #4f4940; --soft4: #5d554b; --mute: #675f54; --faint: #675f54; --place: #6f665a;
  --core-ink: #9a4a0a; --danger: #b3261e; --danger-line: rgba(179, 38, 30, .4); --ok: #17733f;
  --knob: #6f665a; --veil: rgba(60, 40, 20, .07); --uline: rgba(61, 55, 48, .45); --code-bg: #f1ece2; --shade: rgba(40, 30, 20, .45);
  color-scheme: light;
}
@media (prefers-color-scheme: light) {
  html:not([data-axi0-theme="dark"]) {
    --bg: #f6f2ea; --panel: #fffdf9; --panel2: #fffdf9; --panel-a: rgba(255, 253, 249, .92); --field: #fffdf9; --hover: #efe8dc; --raise: #ece5d8;
    --line: #e6dfd3; --line1b: #e6dfd3; --line2: #d3cabb; --line3b: #b9ae9c; --line3: #8a8174; --field-line: #8a8174;
    --head: #17140f; --ink: #17140f; --ink2: #1f1b16; --text: #2c2823; --text2: #3d3730; --icon: #4f4940; --soft: #4a433b; --soft2: #50483f;
    --lede: #4f4940; --soft4: #5d554b; --mute: #675f54; --faint: #675f54; --place: #6f665a;
    --core-ink: #9a4a0a; --danger: #b3261e; --danger-line: rgba(179, 38, 30, .4); --ok: #17733f;
    --knob: #6f665a; --veil: rgba(60, 40, 20, .07); --uline: rgba(61, 55, 48, .45); --code-bg: #f1ece2; --shade: rgba(40, 30, 20, .45);
    color-scheme: light;
  }
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0; min-height: 100vh; color: var(--text); background: var(--bg);
  font: 15px/1.55 "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased;
}
a { color: var(--core-ink); text-underline-offset: 3px; }
::selection { background: rgba(246, 160, 77, .35); }
[hidden] { display: none !important; }
.is-locked .when-unlocked, .is-unlocked .when-locked { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 8px 14px; border-radius: 999px; background: var(--core); color: var(--on-core); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--core-ink); outline-offset: 2px; }

/* ---- header (the same block as Notes; launcher.css sets the shared geometry) ------------------------------------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1080px; margin: 0 auto; padding: 22px 20px 8px; }
.mark { display: inline-flex; align-items: baseline; gap: .12em; color: var(--head); text-decoration: none; font-size: 26px; font-weight: 600; letter-spacing: -.045em; white-space: nowrap; }
.mark-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--core); box-shadow: 0 0 9px var(--core); transform: translateY(-2px); }
.mark-s { color: var(--mute); font-weight: 500; }
.top-right { display: flex; align-items: center; gap: 14px; }
.me-slot { position: relative; flex: none; width: 36px; height: 36px; }
.me-slot:empty { display: none; }

/* ---- layout ------------------------------------------------------------------------------------------------- */
main { max-width: 1280px; margin: 0 auto; padding: 4px 20px 24px; }
h1 { margin: 22px 0 8px; color: var(--head); font-size: clamp(32px, 5vw, 44px); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; }
.lede { max-width: 50em; margin: 0; color: var(--lede); }
.is-unlocked h1 { margin-top: 12px; font-size: 30px; }
.is-unlocked .lede { font-size: 14px; }
.card { margin-top: 18px; padding: 22px 24px 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); }
h2 { margin: 0 0 12px; color: var(--head); font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
h3 { margin: 22px 0 6px; color: var(--head); font-size: 15px; font-weight: 600; }
.card > p { margin: 0 0 10px; }
.mode { margin: 14px 0 0; color: var(--lede); font-size: 14px; }
.linkish { padding: 0; border: 0; background: none; color: var(--core-ink); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linkish:hover { color: var(--head); }
.linkish.small { font-size: 13px; }

/* ---- form controls ------------------------------------------------------------------------------------------- */
label { display: block; margin: 16px 0 6px; color: var(--head); font-size: 14px; }
label.inline { display: inline; margin: 0; color: var(--text); }
input[type="text"], input[type="search"], input[type="date"], input[type="time"], input[type="number"], textarea, select {
  width: 100%; min-height: 42px; padding: 9px 13px; border: 1px solid var(--field-line); border-radius: 12px;
  background: var(--field); color: var(--head); font: inherit; font-size: 15px;
}
textarea { resize: vertical; line-height: 1.5; }
select { width: auto; min-width: 120px; }
input::placeholder, textarea::placeholder { color: var(--place); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--core); box-shadow: 0 0 0 3px rgba(246, 160, 77, .18); }
.hint { margin: 6px 0 0; color: var(--mute); font-size: 13px; }
.error { margin: 6px 0 0; color: var(--danger); font-size: 13px; }
.error:empty, .note:empty, .hint:empty { display: none; }
.note { margin: 8px 0 0; color: var(--core-ink); font-size: 13px; }
.warn { color: var(--head); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.row.tight { flex-wrap: nowrap; margin-top: 0; }
.row.tight input { flex: 1 1 auto; min-width: 0; }
.grow { flex: 1 1 auto; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 16px; margin: 0;
  border: 1px solid var(--line2); border-radius: 999px; background: var(--panel); color: var(--head); font: inherit; font-size: 14px;
  white-space: nowrap; cursor: pointer; text-decoration: none; transition: border-color .15s, background .15s;
}
.btn:hover { border-color: rgba(246, 160, 77, .7); }
.btn:disabled { opacity: .5; cursor: default; }
.btn.primary { border-color: var(--core); background: var(--core); color: var(--on-core); font-weight: 600; }
.btn.primary:hover { background: var(--core-hover); }
.btn.danger { color: var(--danger); }
.btn.danger:hover { border-color: var(--danger); }
.btn.small { min-height: 32px; padding: 0 12px; font-size: 13px; }
.btn.file, .menu-item.file { position: relative; overflow: hidden; }
.btn.file input, .menu-item.file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.btn.file:focus-within, .menu-item.file:focus-within { outline: 2px solid var(--core-ink); outline-offset: 2px; }
.check { display: inline-flex; align-items: center; gap: 9px; margin: 0; font-size: 14px; color: var(--text); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--core); }
.check.big { font-size: 15px; color: var(--head); }
.check.big input { width: 22px; height: 22px; }
.icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--soft2); cursor: pointer; list-style: none; }
.icon::-webkit-details-marker { display: none; }
.icon:hover { background: var(--hover); color: var(--head); }
.icon:disabled { opacity: .35; cursor: default; background: none; }
.icon svg { width: 19px; height: 19px; }
.menu { position: relative; }
.menu-list { position: absolute; top: 44px; right: 0; z-index: 20; min-width: 220px; padding: 6px; border: 1px solid var(--line2); border-radius: 14px; background: var(--panel); box-shadow: 0 18px 50px rgba(0, 0, 0, .35); }
.menu-item { display: block; width: 100%; margin: 0; padding: 9px 12px; border: 0; border-radius: 9px; background: none; color: var(--head); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.menu-item:hover { background: var(--hover); }

/* ---- the Key ---------------------------------------------------------------------------------------------- */
.key .new { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.key .new h3 { margin-top: 0; }
.key .new p { margin: 0 0 12px; }
.keytext { margin: 10px 0 0; padding: 14px 16px; border: 1px dashed rgba(246, 160, 77, .55); border-radius: 12px; background: rgba(246, 160, 77, .05);
  color: var(--head); font: 15px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .02em; overflow-wrap: anywhere; user-select: all; }

/* ---- dialogs ---------------------------------------------------------------------------------------------------- */
.dialog { width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 32px); margin: auto; padding: 20px 22px 18px; border: 1px solid var(--line2); border-radius: 20px; background: var(--panel); color: var(--text); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); overflow: auto; }
.dialog.small { width: min(440px, calc(100vw - 32px)); }
.dialog::backdrop { background: var(--shade); }
.dialog h2 { margin: 0 0 4px; }
.dialog label { margin-top: 12px; }
.dlg-top { display: flex; align-items: center; gap: 10px; margin: -4px 0 0; }
.fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 12px; }
.fgrid select { width: 100%; }
.frow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 12px 0 0; min-height: 24px; }
.frow .hint { margin: 0; }
.subs { margin: 0 0 8px; padding: 0; list-style: none; }
.sub { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.sub input[type="checkbox"] { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--core); }
.sub input[type="text"] { flex: 1 1 auto; min-height: 34px; padding: 5px 10px; border-color: transparent; background: transparent; font-size: 14px; }
.sub input[type="text"]:hover { border-color: var(--line2); }
.sub.is-done input[type="text"] { color: var(--mute); text-decoration: line-through; }
.sub .icon { width: 32px; height: 32px; }
.sub .icon svg { width: 16px; height: 16px; }
.dlg-foot { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }

/* ---- status, undo, footer -------------------------------------------------------------------------------- */
.sync { display: flex; align-items: center; gap: 8px; min-height: 22px; margin: 12px 0 0; color: var(--mute); font-size: 13px; }
.sync::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--line3); flex: none; }
.sync:empty::before { display: none; }
.sync.is-ok::before { background: var(--core); box-shadow: 0 0 7px rgba(246, 160, 77, .8); }
.sync.is-busy::before { background: var(--icon); }
.sync.is-bad { color: var(--danger); }
.sync.is-bad::before { background: var(--danger); }
.undo { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 10px 0 0; padding: 10px 12px 10px 16px; border: 1px solid var(--line2); border-radius: 14px; color: var(--head); font-size: 14px; }
.undo .btn { min-height: 34px; }
.foot { max-width: 1280px; margin: 0 auto; padding: 4px 20px 44px; color: var(--faint); font-size: 12.5px; }
.foot p { margin: 0 0 6px; max-width: 60em; }
.foot a { color: var(--text2); text-decoration: underline; text-decoration-color: var(--uline); }
.foot a:hover { text-decoration-color: currentColor; }
.locker { margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.locker .row { margin-top: 8px; }
.locker .btn { min-height: 36px; font-size: 13px; }
.locker select { min-height: 36px; padding: 5px 10px; font-size: 13px; }
.meter { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.meter-bar { display: inline-block; width: 140px; height: 6px; overflow: hidden; border-radius: 999px; background: var(--line1b); }
.meter-fill { display: block; width: 0; height: 100%; border-radius: 999px; background: var(--core); }
.meter-fill.is-full { background: var(--danger); }

@media (max-width: 760px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; }
  .is-in-pane .side { display: none; }
  .pane { display: none; min-height: 60vh; }
  .is-in-pane .pane { display: flex; }
  .back { display: inline-flex; min-height: 36px; padding: 0 12px; }
  .pane-title { font-size: 19px; }
  .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .task .grip { display: none; }
}
@media (max-width: 600px) {
  .top { padding: 16px 16px 4px; }
  .mark { font-size: 22px; }
  .top { flex-wrap: wrap; gap: 4px 12px; padding-bottom: 2px; }
  .mark { margin-right: auto; }
  .top-right { display: contents; }
  main { padding: 0 14px 20px; }
  .card { padding: 18px 16px 20px; border-radius: 18px; }
  .row.tight { flex-wrap: nowrap; }
  .key .row.tight { flex-wrap: wrap; }
  .key .row.tight input { flex-basis: 100%; }
  .pane { padding: 10px 12px 12px; }
  .quick { flex-wrap: wrap; }
  .quick input { flex-basis: 100%; }
  .tools { gap: 8px; }
  .tools input[type="search"] { flex-basis: 100%; }
  .foot { padding: 4px 16px 36px; }
  .menu-list { right: -8px; }
  .dialog { padding: 16px 16px 14px; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }


/* ---- Yggdrasil ------------------------------------------------------------------------------------------------- */
main { max-width: 1080px; }
.y-tabs { display: flex; gap: 2px; margin: 20px 0 0; border-bottom: 1px solid var(--line2); overflow-x: auto; scrollbar-width: none; }
.y-tabs::-webkit-scrollbar { display: none; }
.y-tab { flex: none; min-height: 44px; padding: 8px 14px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--soft); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.y-tab:hover { color: var(--head); }
.y-tab[aria-selected="true"] { color: var(--head); border-bottom-color: var(--core); }
.y-tab .y-n { margin-left: 6px; color: var(--mute); font-weight: 500; }
.y-tab .y-n:empty { display: none; }
.y-panel { padding: 6px 0 4px; }
.y-panel > h2 { margin: 18px 0 4px; }
.y-panel > .hint:first-of-type { margin-top: 0; }
.y-net { display: inline-grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--raise); color: var(--head); }
.y-net svg { width: 18px; height: 18px; }
.y-net.is-bluesky { color: #3b8ff0; }
.y-net.is-mastodon { color: #8c7cf0; }
html[data-axi0-theme="light"] .y-net.is-bluesky { color: #0b5cc2; }
html[data-axi0-theme="light"] .y-net.is-mastodon { color: #563acc; }
@media (prefers-color-scheme: light) {
  html:not([data-axi0-theme="dark"]) .y-net.is-bluesky { color: #0b5cc2; }
  html:not([data-axi0-theme="dark"]) .y-net.is-mastodon { color: #563acc; }
}
.y-empty { margin: 16px 0 0; padding: 16px 18px; border: 1px dashed var(--line2); border-radius: 16px; color: var(--text); }
.y-empty p { margin: 0; }
/* composer */
.y-to { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0 0; padding: 0; border: 0; }
.y-to legend { margin: 0 0 8px; padding: 0; color: var(--head); font-size: 14px; }
.y-to .check { min-height: 32px; }
.y-counts { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 8px 0 0; color: var(--mute); font-size: 13px; }
.y-counts .is-over { color: var(--danger); font-weight: 600; }
.y-pics { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; margin: 14px 0 0; }
.y-pics:empty { display: none; }
.y-pic { display: flex; flex-direction: column; gap: 8px; padding: 10px; border: 1px solid var(--line2); border-radius: 14px; background: var(--panel2); min-width: 0; }
.y-pic img { display: block; width: 100%; height: 140px; object-fit: cover; border-radius: 9px; background: var(--raise); }
.y-pic label { margin: 0; font-size: 13px; }
.y-pic textarea { min-height: 64px; font-size: 14px; }
.y-pic .row { margin-top: 0; justify-content: space-between; }
.y-pic .hint { margin: 0; }
.y-previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; margin: 8px 0 0; }
.y-previews:empty { display: none; }
.y-pv { min-width: 0; padding: 14px 16px; border: 1px solid var(--line2); border-radius: 16px; background: var(--panel); }
.y-pv-head { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; color: var(--head); font-size: 14px; font-weight: 600; }
.y-pv-head span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.y-pv-text { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink2); }
.y-pv-text .k-link, .y-pv-text .k-mention, .y-pv-text .k-tag { color: var(--core-ink); }
.y-pv-imgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 10px 0 0; }
.y-pv-imgs img { display: block; width: 100%; height: 110px; object-fit: cover; border-radius: 8px; }
.y-pv-foot { margin: 8px 0 0; color: var(--mute); font-size: 12.5px; }
.y-pv-foot.is-bad { color: var(--danger); }
.y-sent { margin: 16px 0 0; padding: 0; list-style: none; }
.y-sent:empty { display: none; }
.y-sent li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.y-sent .grow { min-width: 0; overflow-wrap: anywhere; }
.y-sent .is-bad { color: var(--danger); }
/* notifications */
.y-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 16px 0 0; }
.y-bar label { margin: 0; }
.y-notes { margin: 14px 0 0; padding: 0; list-style: none; }
.y-note { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.y-note:first-child { border-top: 0; }
.y-nbody { flex: 1 1 auto; min-width: 0; }
.y-nhead { margin: 0; color: var(--text); font-size: 14px; overflow-wrap: anywhere; }
.y-nhead b { color: var(--head); font-weight: 600; }
.y-nhead .y-h { color: var(--mute); }
.y-nhead time { color: var(--mute); white-space: nowrap; }
.y-ntext { margin: 6px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink2); }
.y-nacts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 8px 0 0; font-size: 13px; }
.y-nacts a { color: var(--core-ink); }
.y-nacts .linkish { min-height: 24px; }
.y-note.is-talk .y-nhead b::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 2px 6px; border-radius: 50%; background: var(--core); vertical-align: middle; }
/* accounts */
.y-accts { margin: 14px 0 0; padding: 0; list-style: none; }
.y-acct { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.y-acct:first-child { border-top: 0; }
.y-acct .grow { min-width: 0; overflow-wrap: anywhere; }
.y-acct b { color: var(--head); font-weight: 600; }
.y-acct .hint { margin: 2px 0 0; }
.y-connect { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.y-connect h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-size: 17px; }
.y-rules { margin: 14px 0 0; padding: 14px 16px; border: 1px solid var(--line2); border-radius: 14px; background: var(--panel2); }
.y-rules h4 { margin: 0 0 6px; color: var(--head); font-size: 14px; }
.y-rules ol { margin: 0 0 8px; padding-left: 20px; font-size: 14px; }
.y-rules li { margin: 0 0 4px; }
.y-rules .hint { margin: 0; }
.y-wait { margin: 16px 0 0; padding: 14px 16px; border: 1px solid var(--core); border-radius: 16px; color: var(--head); }
.y-wait p { margin: 0 0 10px; }
/* the link page */
.y-pagegrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 8px; }
.y-pageform fieldset { margin: 18px 0 0; padding: 0; border: 0; min-width: 0; }
.y-pageform legend { margin: 0 0 6px; padding: 0; color: var(--head); font-size: 14px; }
.y-list { margin: 0; padding: 0; list-style: none; }
.y-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto; gap: 6px; align-items: center; padding: 6px 0; }
.y-item.is-social { grid-template-columns: minmax(0, 9em) minmax(0, 1fr) auto; }
.y-item input, .y-item select { min-height: 38px; padding: 6px 10px; font-size: 14px; width: 100%; min-width: 0; }
.y-item .y-ops { display: flex; gap: 0; }
.y-item .icon { width: 34px; height: 34px; }
.y-item .icon svg { width: 16px; height: 16px; }
.y-pic-row { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.y-pic-row img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--raise); flex: none; }
.y-pic-row .row { margin-top: 0; }
.y-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.y-two select { width: 100%; }
.y-frame-wrap { position: sticky; top: 12px; }
.y-frame-wrap h3 { margin-top: 18px; }
.y-frame { display: block; width: 100%; height: 640px; border: 1px solid var(--line2); border-radius: 18px; background: #fff6ec; }
.y-about { margin-top: 28px; }
.y-about ul { margin: 0; padding-left: 20px; }
.y-about li { margin: 0 0 8px; }
.y-about li b { color: var(--head); }
.y-about p { margin: 0 0 8px; }
@media (max-width: 760px) {
  .y-connect, .y-pagegrid { grid-template-columns: minmax(0, 1fr); }
  .y-frame-wrap { position: static; }
  .y-frame { height: 560px; }
}
@media (max-width: 600px) {
  .y-tab { padding: 8px 10px; font-size: 14px; }
  .y-item, .y-item.is-social { grid-template-columns: minmax(0, 1fr) auto; }
  .y-item > :nth-child(2) { grid-column: 1; }
  .y-item .y-ops { grid-row: 1 / span 2; grid-column: 2; flex-direction: column; }
}
/* the sign-in window (callback/) */
.cb-main { max-width: 560px; padding-top: 40px; }
