@import url("video-play.css");
.main-left:has(> .detail-overview) {
  padding:0;
  background:transparent;
  box-shadow:none;
}
.detail-panel,
.detail-online-services {
  display:flow-root;
  box-sizing:border-box;
  min-width:0;
  padding:clamp(12px,2vw,20px);
  border-radius:16px;
  background:white;
  box-shadow:0 2px 12px rgb(0 0 0 / 5%);
}
.detail-overview .main-introduction { padding-bottom:0 }
.detail-overview #article_container,
.detail-overview #article_container > :last-child { margin-bottom:0 }
.detail-online-services {
  --services-inset:clamp(14px,2vw,24px);
  background:
    url("service-wave.svg") top right / 100% 70px no-repeat,
    radial-gradient(ellipse 48% 95px at 94% 0, rgb(110 175 235 / 24%), transparent),
    linear-gradient(to bottom, transparent, rgb(255 255 255 / 75%) 28%, #fff 62%),
    linear-gradient(to right, #edf5fc, #c7e1fb);
  padding:var(--services-inset);
  margin-block:clamp(20px,2.5vw,32px);
}
#related-tools .app-desc { color:#9c9c9c; }
.detail-support:empty { display:none }
.detail-support > .vs-view:first-child { margin-top:0 }
.detail-support .vs-card { border:1px solid #e2e6eb; }
.detail-support > .vs-view:first-child > .vs-card { margin-top:0 }
.detail-services-heading {
  position:relative;
  isolation:isolate;
  display:flex;
  align-items:center;
  gap:10px;
  width:fit-content;
  max-width:100%;
  box-sizing:border-box;
  margin:calc(-1 * var(--services-inset)) 0 0 calc(-1 * var(--services-inset));
  padding:10px 32px 10px var(--services-inset);
  border-top-left-radius:16px;
  overflow:hidden;
  color:#102e62;
  font-size:var(--inner-section-title-size,22px);
  font-weight:700;
  line-height:1.3;
}
.detail-services-heading::before {
  content:"";
  flex:none;
  width:9px;
  height:9px;
  align-self:center;
  margin:-11px 11px 0 0;
  border-radius:2px;
  background:#419cfa;
  box-shadow:11px 0 #377cf1, 0 11px #307aef, 11px 11px #245ed6;
}
.detail-services-heading::after {
  content:"";
  position:absolute;
  z-index:-1;
  inset:0 0 0 -24px;
  transform:skewX(-22deg);
  transform-origin:right top;
  border-bottom-right-radius:16px;
  background:linear-gradient(110deg,#cfe6fc,#edf6fd 56%,#c4e1fb);
}
.detail-online-services .detail-picks > .t2 {
  padding-left:34px;
}
.detail-online-services .detail-picks > .t2::before {
  width:26px;
  height:26px;
  background: url("channel-art.svg") var(--art-position) center / 500% 100% no-repeat;
}
#related-videos { --art-position:0%; }
#related-tools { --art-position:25%; }
#related-books { --art-position:50%; }
#related-assistant { --art-position:75%; }
#related-arcade { --art-position:100%; }
.detail-online-services > .detail-picks:first-of-type { margin-top:14px }
@media (min-width:1201px) {
  .main-left:has(> .detail-overview) { flex:1; min-width:0; }
  .detail-services-sidebar { display:grid; grid-template-columns:minmax(0,1fr); align-self:start; width:25%; flex:none; gap:18px; }
  .detail-services-sidebar > .main-top-recommend { width:100%; }
  .detail-services-sidebar > .detail-channel-directory {
    margin:0;
    padding:18px;
    border-radius:16px;
    box-shadow:0 2px 12px rgb(0 0 0 / 5%);
  }
  .detail-services-sidebar .directory-services { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .detail-services-sidebar .directory-services a { gap:8px; padding:10px; font-size:14px; }
}
@media (max-width:1200px) {
  .detail-services-sidebar { display:none; }
}
.detail-channel-directory {
  margin:clamp(24px,3vw,36px) 0 24px;
  padding-bottom:clamp(16px,2vw,24px);
  background:white;
}
.detail-channel-directory .t2 { margin:0 0 16px; font-size:20px }
.detail-support > .detail-channel-directory { margin:20px 0 0; padding:0; }
.detail-channel-links { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px }
.detail-channel-links a {
  display:grid;
  position:relative;
  justify-items:start;
  align-content:space-between;
  gap:12px;
  padding:14px;
  border-radius:12px;
  background:linear-gradient(145deg,var(--channel-tint,#e5edf7),#fafbfd);
  color:#203b45;
  font-size:15px;
  font-weight:600;
  text-align:left;
}
.detail-channel-links img { box-sizing:content-box; padding:7px; border-radius:11px; background:white; box-shadow:0 2px 5px #203b4514 }
.detail-channel-links a::after { content:""; position:absolute; right:15px; top:19px; width:6px; height:6px; border:solid #62727a; border-width:1.5px 1.5px 0 0; transform:rotate(45deg) }
.channel-videos { --channel-tint:#fce9e6 }
.channel-books { --channel-tint:#f7eedb }
.channel-assistant { --channel-tint:#eee8fa }
.channel-arcade { --channel-tint:#dff2ee }
.detail-channel-links a:is(:hover,:focus-visible) { text-decoration:none; box-shadow:0 3px 10px #102e3b25 }
.detail-channel-links a:focus-visible { outline:2px solid #185266; outline-offset:2px }
@media(max-width:600px) {
  .detail-channel-links { grid-template-columns:repeat(6,minmax(0,1fr)) }
  .detail-channel-links a { grid-column:span 2 }
  .detail-channel-links a:nth-last-child(-n+2) { grid-column:span 3 }
}
.detail-picks { margin-top:28px }
.detail-chat-frame {
  display:block;
  width:100%;
  height:clamp(300px,calc(47dvh - 20px),380px);
  border:0;
  box-shadow:0 0 5px 3px rgba(188,188,188,.15);
  box-sizing:border-box;
}
.detail-picks:where(#related-tools,#related-videos,#related-assistant) { margin-top:clamp(24px,3vw,36px) }
:is(#related-tools,#related-videos,#related-assistant) > .t2 { margin-bottom:16px }
#related-tools .featured-apps { row-gap:16px }
#related-tools .app-item { margin-bottom:0 }
#related-tools .app-cover img { transform:scale(1.075) }
.tool-chevron { width:30px; height:30px; flex:none; display:grid; place-items:center; color:#536872 }
.tool-chevron::after { content:""; width:9px; height:9px; border-top:2px solid; border-right:2px solid; transform:rotate(45deg) }
#related-tools a:is(:hover,:focus-visible) .tool-chevron { color:#185266 }
.detail-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px }
.detail-pick { display:flex; flex-direction:column; min-width:0; gap:8px; color:#203042; border-radius:12px }
.detail-pick:hover strong { color:#185266 }
.detail-pick:focus-visible { outline:2px solid #185266; outline-offset:3px }
@media (hover:hover) and (pointer:fine) {
  :is(#related-tools .app-item, .detail-videos .detail-pick):hover {
    background-color:#f3f9fa;
    box-shadow:0 3px 12px #18526630;
    text-decoration:none;
  }
}
#related-tools .app-item:focus-visible { outline:2px solid #185266; outline-offset:3px }
.detail-pick-copy { display:grid; gap:3px; min-width:0 }
.detail-pick strong { font-size:15px; line-height:1.35; font-weight:600 }
.detail-pick small { color:#616d79; font-size:13px }
.detail-cover img { width:100%; height:100%; object-fit:contain }
.detail-arcade { grid-template-columns:repeat(5,minmax(0,1fr)) }
:is(#related-arcade,#related-books,.main-left > .detail-picks:last-child) { padding-bottom:clamp(16px,2vw,24px) }
.detail-arcade .detail-pick { text-align:center }
.detail-videos .detail-pick {
  overflow:hidden;
  background:#fff;
  border-radius:10px;
  box-shadow:0 0 5px 3px rgba(188,188,188,.15);
}
@media (max-width:600px) {
  .detail-videos .detail-pick { border-radius:5px; }
}
.detail-videos .detail-cover { position:relative; aspect-ratio:16/9; background:#20232a }
.detail-duration { position:absolute; right:8px; bottom:8px; color:white; background:#101820df; padding:1px 6px; border-radius:4px; font-size:14px; font-weight:600; line-height:1.5; font-variant-numeric:tabular-nums }
.detail-videos .detail-pick { gap:0 }
.detail-videos .detail-pick-copy { grid-template-columns:34px minmax(0,1fr); column-gap:9px; padding:12px 14px }
.detail-videos .detail-pick-copy::before { content:""; grid-row:1 / span 2; width:34px; height:34px; border-radius:50%; background:#e1e7e8 url("video-avatars.jpg") var(--avatar-position) / 400% 400% no-repeat }
.detail-videos strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
.detail-grid.detail-books { grid-template-columns:repeat(6,minmax(0,1fr)); gap:18px 14px }
.detail-books .detail-cover { position:relative; margin:0 4px 3px 0 }
.detail-books .detail-cover img { display:block; width:100%; height:auto; border-radius:2px 4px 3px 2px; box-shadow:1px 1px #d0c5b8,2px 2px #fffaf0,3px 3px #b4a998,3px 5px 8px #35251526 }
.detail-books .detail-cover::after { content:""; position:absolute; inset:0 auto 0 0; width:6px; border-radius:2px 0 0 2px; background:linear-gradient(90deg,#281d161c,transparent 40%,#281d1624 65%,transparent); pointer-events:none }
.detail-books .detail-pick-copy { text-align:left }
.detail-books strong.mini-title { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; font-size:inherit; font-weight:inherit; line-height:inherit }
.detail-books .detail-pick-copy { font-size:18px; font-weight:400; line-height:1.25 }
.detail-books small { color:#9c9c9c; font-size:14px }
@media (hover:hover) and (pointer:fine) {
  .detail-books .detail-pick:hover strong {
    text-decoration:underline;
    text-underline-offset:3px;
  }
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .detail-books .detail-cover { transition:transform 160ms ease-out }
  .detail-books .detail-pick:hover .detail-cover { transform:translateY(-3px) }
}
@media(max-width:900px) {
  .detail-grid.detail-books { grid-template-columns:repeat(3,minmax(0,1fr)) }
}
@media(max-width:480px) {
  .detail-grid.detail-books { grid-template-columns:repeat(2,minmax(0,1fr)) }
}
.detail-tools .detail-pick,.detail-assistant .detail-pick { flex-direction:row; align-items:center; padding:10px; border:1px solid #dce3e9 }
.detail-tools .detail-cover,.detail-ai-mark { width:44px; height:44px; flex:none }
.detail-ai-mark { display:grid; place-items:center; border-radius:12px; background:#eeeafb; color:#6443a8; font-size:24px }
@media(max-width:700px) {
  .detail-videos .detail-pick-copy {
    grid-template-columns:22px minmax(0,1fr);
    gap:1px 6px;
    padding:5px 7px;
  }
  .detail-videos .detail-pick-copy::before {
    width:22px;
    height:22px;
    align-self:center;
  }
  .detail-videos strong { font-size:14px; line-height:18px; }
  .detail-videos small {
    font-size:12px;
    line-height:15px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .detail-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px }
  .detail-arcade { grid-template-columns:repeat(3,minmax(0,1fr)) }
  .detail-assistant { grid-template-columns:1fr }
}
