:root{--scene:#ff9a85;--bg:#fff;--bg-title:#ffe4e6;--bg-tertiary:#efedeb;--fg:#2a1a17;--fg-secondary:#5c5651;--fg-tertiary:#a59f9a;--border:#e9e5e2;--link:#2f7fe6;--accent:#f48a9c;color-scheme:light}:root[data-theme=dark]{--scene:#040816;--bg:#0d1528;--bg-title:#131e3a;--bg-tertiary:#1a2644;--fg:#d6dcec;--fg-secondary:#9aa6c2;--fg-tertiary:#68748f;--border:#223053;--link:#86a2ff;--accent:#4f6fe0;color-scheme:dark}html,body{background:var(--scene);height:100%;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Hiragino Sans,Noto Sans JP,Yu Gothic UI,Meiryo,sans-serif;overflow:hidden}.stage{background:var(--scene);width:100vw;height:100vh;display:block;position:fixed;inset:0;overflow:hidden}.column{transform-origin:0 0;box-sizing:border-box;border:1px solid var(--border);background:var(--bg);width:320px;height:min(680px,80vh);color:var(--fg);flex-direction:column;font-size:16px;line-height:1.5;display:flex;position:absolute;top:0;left:0}.col-title{border-bottom:1px solid var(--border);background:var(--bg-title);cursor:move;user-select:none;touch-action:none;flex-shrink:0;align-items:center;gap:4px;height:32px;padding:0 36px;display:flex}.col-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.col-close{width:24px;height:24px;color:var(--fg-secondary);cursor:pointer;background:0 0;border:0;border-radius:2px;padding:0;font-size:18px;line-height:1}.col-close:hover{background:var(--bg-tertiary)}.col-body{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--accent) transparent;flex:1;min-height:0;padding-bottom:64px;position:relative;overflow-y:scroll}.search-form{border-bottom:1px solid var(--border);flex-shrink:0;margin:0;padding:6px}.search-input{box-sizing:border-box;border:1px solid var(--border);background:var(--bg);width:100%;color:var(--fg);font:inherit;border-radius:4px;outline:none;padding:4px 8px;font-size:14px}.search-input:focus{border-color:var(--accent)}.col-status{border-bottom:1px solid var(--border);color:var(--fg-secondary);padding:8px;font-size:12px}.corner{z-index:2;cursor:grab;touch-action:none;width:36px;height:36px;position:absolute}.corner.dragging{cursor:grabbing}.corner:after{content:"";border:0 solid var(--accent);opacity:.55;width:12px;height:12px;position:absolute}.corner:hover:after,.corner.dragging:after{opacity:1}.corner-tl{top:0;left:0}.corner-tl:after{border-width:3px 0 0 3px;border-top-left-radius:12px;top:5px;left:5px}.corner-tr{top:0;right:0}.corner-tr:after{border-width:3px 3px 0 0;border-top-right-radius:12px;top:5px;right:5px}.corner-bl{bottom:0;left:0}.corner-bl:after{border-width:0 0 3px 3px;border-bottom-left-radius:12px;bottom:5px;left:5px}.corner-br{bottom:0;right:0}.corner-br:after{border-width:0 3px 3px 0;border-bottom-right-radius:12px;bottom:5px;right:5px}.note{border-bottom:1px solid var(--border);gap:4px;padding:4px;display:flex;overflow:hidden}.note-icon{border-radius:2px;flex-shrink:0;width:40px;height:40px;overflow:hidden}.note-icon img{object-fit:cover;width:100%;height:100%;display:block}.note-main{flex:1;min-width:0}.note-head{justify-content:space-between;gap:4px;font-size:12px;line-height:16px;display:flex}.author{min-width:0;display:flex}.author-name{text-overflow:ellipsis;white-space:nowrap;flex-shrink:1;min-width:0;padding-right:4px;font-weight:700;overflow:hidden}.author-username{min-width:0;color:var(--fg-secondary);text-overflow:ellipsis;white-space:nowrap;flex-shrink:2;overflow:hidden}.created-at{flex-shrink:0}.reply-to{flex-wrap:wrap;gap:0 4px;font-size:12px;line-height:16px;display:flex}.note-content{overflow-wrap:anywhere;white-space:pre-wrap}.link{color:var(--link);text-decoration:underline}.hint{color:var(--fg-tertiary);font-size:12px}.content-warning{border:1px solid var(--border);width:100%;color:var(--fg-secondary);cursor:pointer;background:0 0;border-radius:2px;margin-top:8px;padding:8px;font-size:12px;display:block}.emoji{vertical-align:middle;max-width:128px;height:32px;display:inline-block}.media{width:fit-content;max-width:100%;margin:8px 0;display:block}.media-image{object-fit:contain;border-radius:2px;max-width:100%;max-height:256px;display:block;box-shadow:0 1px 2px #00000026}.media-video{position:relative}video.media-image{background:#000;min-width:160px;min-height:90px}.play-badge{color:#fff;text-align:center;cursor:pointer;background:#0009;border-radius:24px;width:48px;height:48px;font-size:20px;line-height:48px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.embed-card{border:1px solid var(--border);color:inherit;border-radius:8px;flex-direction:column;gap:2px;margin:8px 0;padding:6px;text-decoration:none;display:flex}.embed-card:hover{background:var(--bg-tertiary)}.embed-card .media{width:100%;margin:0 0 4px}.embed-thumbnail{aspect-ratio:16/9;object-fit:cover;border-radius:4px;width:100%;display:block}.embed-site{color:var(--fg-secondary);font-size:12px}.embed-text{font-size:14px}.embed-frame{aspect-ratio:16/9;border:0;width:100%;margin:8px 0;display:block}.panel{flex-direction:column;align-items:flex-end;gap:4px;display:flex;position:fixed;top:8px;right:8px}.panel-row{gap:4px;display:flex}.panel button{color:#0000;text-shadow:0 0 #fff;cursor:pointer;background:0 0;border:0;width:44px;height:44px;padding:0;font-size:30px;line-height:44px;transition:transform .12s}.panel button:hover{transform:scale(1.2)}.panel .panel-add{font-size:40px;font-weight:700}.panel .panel-add.open,.panel .panel-add.open:hover{transform:rotate(45deg)}.hud{color:var(--fg);opacity:.7;pointer-events:none;font-size:11px;line-height:1.4;position:fixed;bottom:6px;left:8px}.hud-error{color:#c00000}
