/* Public list/detail for iframes. Light glass on a transparent background so it sits on the host page. */
:root{--fg:#16213a;--muted:#56627a;--date:#990066;--link:#0b57d0;--line:rgba(20,40,80,.1);--glass:rgba(255,255,255,.6);--new-bg:#ffe8c2;--new-fg:#8a4b00;--embed-font:13px;--embed-height:440px}
/* light by default, because host pages are light: a dark-mode device made the list unreadable on them (2026-12-02).
   theme=auto follows the device, theme=dark is always dark */
:root[data-theme=dark]{--fg:#e8edf8;--muted:#9aa7c2;--date:#f29ac9;--link:#8fb4ff;--line:rgba(255,255,255,.12);--glass:rgba(28,36,58,.6);--new-bg:rgba(242,180,90,.2);--new-fg:#f2b45a}
@media (prefers-color-scheme:dark){:root[data-theme=auto]{--fg:#e8edf8;--muted:#9aa7c2;--date:#f29ac9;--link:#8fb4ff;--line:rgba(255,255,255,.12);--glass:rgba(28,36,58,.6);--new-bg:rgba(242,180,90,.2);--new-fg:#f2b45a}}
*{box-sizing:border-box}
[hidden]{display:none!important}
html,body{margin:0;background:transparent;color:var(--fg);font-family:"IBM Plex Sans Thai",Tahoma,system-ui,sans-serif;font-size:var(--embed-font);line-height:1.55}
a{color:var(--link)}
.embed-shell{display:grid;gap:8px;padding:8px}
.embed-tools{display:flex;flex-wrap:wrap;gap:6px 8px;align-items:center;padding:8px;border:1px solid var(--line);border-radius:12px;background:var(--glass);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.embed-search{flex:1 1 200px;min-width:0}
.embed-search input{width:100%;font:inherit;padding:5px 10px;border:1px solid var(--line);border-radius:8px;background:transparent;color:inherit}
.embed-tools button{font:inherit;font-weight:600;padding:5px 12px;border-radius:8px;border:1px solid var(--line);background:var(--glass);color:inherit;cursor:pointer}
.embed-info{color:var(--muted)}
.embed-login{margin-left:auto;font-size:.92em}
.embed .embed-scroll{max-height:var(--embed-height);overflow:auto}
.detail-page .embed-scroll{max-height:none}
.embed-list{list-style:none;margin:0;padding:0}
.embed-list li{border-bottom:1px solid var(--line)}
.embed-list li:nth-child(odd){background:var(--glass)}
.embed-list a{display:block;padding:6px 8px;text-decoration:none;color:var(--link)}
.embed-list a:hover .embed-title{text-decoration:underline}
.embed-date{color:var(--date);font-weight:600;white-space:nowrap}
.embed-new{display:inline-block;font-size:.8em;font-weight:600;padding:0 6px;border-radius:999px;background:var(--new-bg);color:var(--new-fg)}
.embed-empty{color:var(--muted);padding:12px 8px;margin:0}
.detail-page h1{font-size:1.35em;margin:4px 0 8px;text-wrap:balance}
.detail-page h2{font-size:1.1em;margin:12px 0 6px}
.embed-meta{display:grid;grid-template-columns:max-content 1fr;gap:4px 14px;margin:0}
.embed-meta dt{color:var(--muted)}
.embed-meta dd{margin:0;overflow-wrap:anywhere}
.embed-files{margin:0;padding-left:18px}
.embed-files small{color:var(--muted)}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
:focus-visible{outline:2px solid var(--link);outline-offset:2px}
