.notice-widget{position:relative;display:inline-flex;flex:none;align-items:center}
.notice-widget [hidden],.notice-page [hidden]{display:none!important}
html.ui-portal .chip.chip-notice{position:relative;justify-content:center;width:40px;min-width:40px;padding:0;overflow:visible;cursor:pointer;font:inherit;line-height:1}
html.ui-portal .chip.chip-notice.is-on{background:#fdf1ef;border-color:#e3c6c2}
html.ui-portal .chip.chip-notice[aria-expanded="true"]{background:#eef5ff;border-color:#9fb6d3}
html.ui-portal .chip.chip-notice:focus-visible{outline:2px solid #1d4f91;outline-offset:2px}
html.ui-portal .chip.chip-notice b{position:absolute;top:-6px;right:-6px;min-width:18px;height:18px;padding:0 5px;box-sizing:border-box;border-radius:9px;background:#c9372a;color:#ffffff;font-size:11px;font-weight:700;line-height:18px;text-align:center;font-variant-numeric:tabular-nums;box-shadow:0 0 0 2px #ffffff;pointer-events:none}
html.ui-portal .notice-inbox{position:absolute;z-index:60;top:calc(100% + 8px);right:0;display:flex;flex-direction:column;width:min(380px,calc(100vw - 24px));max-height:min(540px,calc(100dvh - 120px));margin:0;text-align:left;white-space:normal;box-shadow:0 12px 32px rgba(27,42,62,.18),0 1px 0 #dfe7f0}
html.ui-portal .notice-inbox > .panel-h{flex:none;padding-right:4px}
html.ui-portal .notice-x{display:grid;place-items:center;flex:none;width:30px;height:30px;margin:0;padding:0;border:0;border-radius:4px;background:none;color:#5c6875;cursor:pointer}
html.ui-portal .notice-x:hover{background:#e3ebf5;color:#1d4f91}
html.ui-portal .notice-x:focus-visible{outline:2px solid #1d4f91;outline-offset:-2px}
html.ui-portal .notice-scroll{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain}
html.ui-portal .notice-status{margin:0;padding:12px 14px 4px;color:#5c6875;font-size:12px;line-height:1.5}
html.ui-portal .notice-status:empty{display:none}
html.ui-portal .notice-list{list-style:none;margin:0;padding:4px 0}
html.ui-portal .notice-list .notice-row{position:relative;display:block;padding:10px 14px 10px 16px;border-bottom:1px solid #edf1f5;overflow-wrap:anywhere}
html.ui-portal .notice-list .notice-row:last-child{border-bottom:0}
html.ui-portal .notice-list .notice-unread{background:#f5f9fe}
html.ui-portal .notice-list .notice-unread::before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;background:#2a62b0}
html.ui-portal .notice-row > b{display:block;color:#1b2a3e;font-size:13px;font-weight:700;line-height:1.45}
html.ui-portal .notice-row p{margin:3px 0 6px;color:#444444;font-size:12px;line-height:1.6;white-space:pre-wrap;word-break:break-word}
html.ui-portal .notice-inbox .notice-row p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
html.ui-portal .notice-row-foot{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;color:#5c6875;font-size:11px}
html.ui-portal .notice-row-foot time{margin-right:auto;font-variant-numeric:tabular-nums}
html.ui-portal .notice-act,html.ui-portal .notice-act:visited{display:inline-flex;align-items:center;min-height:24px;margin:0;padding:0 2px;border:0;background:none;color:#1d4f91;font:inherit;font-size:12px;font-weight:600;text-decoration:none;cursor:pointer}
html.ui-portal .notice-act:hover{color:#c55200;text-decoration:underline}
html.ui-portal .notice-done{color:#8a96a3}
html.ui-portal .notice-more{display:block;width:calc(100% - 28px);min-height:34px;margin:4px 14px 12px;padding:0 12px;border:1px solid #d3deeb;background:#f7fafd;color:#1d4f91;font:inherit;font-size:12px;font-weight:600;cursor:pointer}
html.ui-portal .notice-more:hover{border-color:#9fb6d3;background:#eef5ff}
html.ui-portal .notice-more:disabled{color:#8a96a3;cursor:default}
html.ui-portal .notice-foot{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px;padding:0 14px;border-top:1px solid #d3deeb;background:#f7fafd}
html.ui-portal .notice-foot .notice-act{font-size:12px}
html.ui-portal .notice-foot .notice-act:disabled{color:#8a96a3;text-decoration:none;cursor:default}
html.ui-portal .notice-page .panel{min-width:0}
html.ui-portal .notice-page .panel-b{padding:0}
html.ui-portal .notice-page .notice-lead{margin:0;padding:14px 16px 10px;color:#5c6875;font-size:13px;line-height:1.6;max-width:none}
html.ui-portal .notice-page .notice-foot{justify-content:flex-start;border-top:1px solid #d3deeb;border-bottom:1px solid #d3deeb}
html.ui-portal .notice-page .notice-status{padding:12px 16px 4px}
html.ui-portal .notice-page .notice-list .notice-row{padding:12px 16px 12px 18px}
@media(max-width:760px){
  html.ui-portal .chip.chip-notice{width:38px;min-width:38px;min-height:38px}
  html.ui-portal .chip.chip-notice .spr{width:18px;height:18px}
  html.ui-portal .notice-inbox{max-height:min(540px,calc(100dvh - 160px - env(safe-area-inset-bottom)))}
  html.ui-portal .notice-x{width:40px;height:40px}
  html.ui-portal .notice-act{min-height:32px}
}
@media (pointer:coarse){
  html.ui-portal .chip.chip-notice{width:44px;min-width:44px;min-height:44px}
  html.ui-portal .notice-act,html.ui-portal .notice-act:visited{min-height:44px;min-width:44px;justify-content:center}
}

dialog.gd.rep-art{width:min(440px,calc(100% - 24px));max-width:none;max-height:calc(100% - 32px);margin:auto;padding:0;overflow:auto;border-radius:14px}
.rep-art .gd-in{padding:0 20px 18px;text-align:center}
.rep-art .rep-sky{margin:0 -20px;line-height:0}
.rep-art .rep-art-svg{display:block;width:100%;height:auto}
.rep-art .rep-h{margin:14px 0}
.rep-art .rep-h b{display:block;font-size:19px;font-weight:800;line-height:1.35;text-wrap:balance}
.rep-art .rep-h span{display:block;margin-top:4px;font-size:13px;line-height:1.5}
.rep-art .gd-sum{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.rep-art .gd-sum li{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;padding:10px 8px;border-radius:10px}
.rep-art .gd-sum li:last-child:nth-child(odd){grid-column:1 / -1}
.rep-art .gd-sum li > span{min-width:0;font-size:12px}
.rep-art .gd-sum li b > span{min-width:0;font-size:inherit}
.rep-art .gd-sum li b{font-size:15px;font-weight:800;line-height:1.4;overflow-wrap:anywhere}
.rep-art .gd-sum li em{margin:0;font-size:12px;font-style:normal;font-weight:700}
.rep-art .gd-note{margin:10px 0 0;font-size:12px;line-height:1.6;text-wrap:pretty}
.rep-art .gd-acts{display:flex;justify-content:center;gap:8px;margin-top:16px}
.rep-art .gd-acts .bt{flex:1 1 0;width:auto;min-width:0;max-width:180px}

dialog.gd.sp-on{border:1px solid #33416a;background:#141c33;color:#eef3ff;box-shadow:0 18px 48px rgba(6,10,24,.55)}
dialog.gd.sp-on::backdrop{background:rgba(8,12,26,.62)}
.sp-on .rep-h b,.sp-on .gd-sum li b{color:#f2f6ff}
.sp-on .rep-h span,.sp-on .gd-sum li > span,.sp-on .gd-note{color:#a7b5d3}
.sp-on .gd-sum li{border:1px solid rgba(170,200,255,.16);background:rgba(255,255,255,.04)}
.sp-on .gd-sum li em{color:#bfe3ff}
.sp-on .up{color:#8fe3a4}
.sp-on .dn{color:#ff9c90}

dialog.gd.sc-on{border:1px solid #c3d8ee;background:#f6fbff;color:#1f3557;box-shadow:0 18px 48px rgba(31,53,87,.25)}
dialog.gd.sc-on::backdrop{background:rgba(31,53,87,.35)}
.sc-on .rep-h b,.sc-on .gd-sum li b{color:#1f3557}
.sc-on .rep-h span,.sc-on .gd-sum li > span,.sc-on .gd-note{color:#5e7088}
.sc-on .gd-sum li{border:1px solid #d5e5f5;background:#ffffff}
.sc-on .gd-sum li em{color:#2a62b0}

@media (prefers-reduced-motion:no-preference){
  .sp-on .sp-soul{animation:rep-bob 4.8s ease-in-out infinite}
  .sp-on .sp-orb{transform-box:fill-box;transform-origin:center;animation:sp-orb 7.2s ease-in-out infinite;animation-delay:var(--d,0s)}
  .sc-on .sc-sage{animation:rep-bob 5.2s ease-in-out infinite}
  .sc-on .sc-drift{animation:sc-drift var(--t,14s) ease-in-out infinite alternate;animation-delay:var(--d,0s)}
}
@keyframes rep-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@keyframes sp-orb{0%,100%{transform:translateY(0);opacity:.55}50%{transform:translateY(-7px);opacity:1}}
@keyframes sc-drift{from{transform:translateX(-6px)}to{transform:translateX(6px)}}

:where(html.ui-portal dialog.gd){width:min(560px,calc(100% - 24px));max-height:calc(100% - 40px);margin:auto;padding:0;border:1px solid #c3d2e4;border-radius:4px;background:#ffffff;color:#1b2a3e;box-shadow:0 12px 36px rgba(27,42,62,.28)}
:where(html.ui-portal .gd-in){padding:16px 18px 14px}
html.ui-portal .gd:not(.rep-art) .gd-h{display:flex;flex-direction:column;align-items:center;gap:8px;margin:-16px -18px 14px;padding:18px 18px 14px;text-align:center;background:#f4f7fb;border-bottom:1px solid #dfe5ec}
html.ui-portal .gd:not(.rep-art) .gd-h b{font-size:17px;line-height:1.35;color:#1b3f73;text-wrap:balance}
html.ui-portal .gd:not(.rep-art) .gd-h span{font-size:12px;color:#5c6875}
html.ui-portal .gd .it-gd-h .it-gd-art{display:grid;place-items:center;width:76px;height:76px;border:1px solid #d3deeb;border-radius:50%;background:#ffffff;box-shadow:0 0 0 6px #e8eef6}
html.ui-portal .gd .it-gd-h .it-gd-art svg{width:56px;height:56px}
html.ui-portal .gd .it-gd-h .it-gd-tt{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0}
html.ui-portal .gd:not(.rep-art) .it-gd-role{border-left:0;border-radius:6px;text-align:center;text-wrap:pretty}
html.ui-portal .gd:not(.rep-art) .gd-acts{justify-content:center}
html.ui-portal .gd:not(.rep-art) .gd-acts .bt{min-width:120px}
