#article {
 padding: 24px 0 64px;
}

.crumb {
 display: flex;
 align-items: center;
 gap: 10px;
 color: #9090a0;
 font-size: 13px;
}

.crumb b {
 color: #b8b8c6;
 font-size: 18px;
 font-weight: 400;
}

.story {
 position: relative;
 min-height: 400px;
 margin-top: 14px;
 overflow: hidden;
 border: 1px solid #e4e8f1;
 border-radius: 16px;
 background: #fff;
 box-shadow: 0 12px 30px rgba(33, 40, 76, .05);
}

.story figure,
.story figure::after {
 position: absolute;
 inset: 0;
 margin: 0;
}

.story figure picture {
 width: 100%;
 height: 100%;
 display: block;
}

.story figure::after {
 content: "";
 background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.97) 38%, rgba(255,255,255,.35) 59%, rgba(255,255,255,0) 78%);
}

.story figure img {
 width: 100%;
 height: 100%;
 display: block;
 object-fit: cover;
 object-position: center;
}

.story-copy {
 position: relative;
 z-index: 1;
 width: 54%;
 padding: 44px 42px;
}

.tag,
.more span,
.tags a {
 border-radius: 999px;
 display: inline-flex;
 align-items: center;
 color: #6946db;
 background: #eadfff;
 font-size: 12px;
 font-weight: 600;
}

.tag {
 padding: 4px 11px;
}

.story h1 {
 margin-top: 15px;
 color: #13203b;
 font-size: clamp(30px, 2.3vw, 42px);
 line-height: 1.22;
 letter-spacing: .01em;
}

.story-copy > p {
 margin-top: 16px;
 color: #64708a;
 font-size: 15px;
 line-height: 1.8;
}

.story-meta,
.story-meta time,
.story-meta small {
 display: flex;
 align-items: center;
}

.story-meta {
 margin-top: 25px;
 gap: 30px;
 color: #8c96aa;
 font-size: 16px;
}

.story-meta time,
.story-meta small {
 gap: 8px;
}

.story-meta svg {
 width: 20px;
 height: 20px;
 fill: none;
 stroke: currentColor;
 stroke-width: 1.8;
 stroke-linecap: round;
 stroke-linejoin: round;
}

.article-layout {
 margin-top: 24px;
 display: grid;
 grid-template-columns: minmax(0, 1fr);
 align-items: start;
 gap: 0;
}

.article-layout > .toc,
.article-layout > .tools {
 display: none;
}

.toc,
.tools {
 position: sticky;
 top: 108px;
 border: 1px solid #e5e8f1;
 border-radius: 12px;
 background: #fff;
 box-shadow: 0 10px 24px rgba(33, 40, 76, .04);
}

.toc {
 padding: 20px 15px;
}

.toc h2 {
 margin-bottom: 14px;
 color: #1a2640;
 font-size: 17px;
}

.toc a {
 position: relative;
 padding: 8px 4px 8px 11px;
 display: block;
 color: #69748c;
 font-size: 12px;
 line-height: 1.2;
}

.toc a.is-current {
 color: #6a45e4;
 background: #f5f1ff;
}

.toc a.is-current::before {
 position: absolute;
 top: 0;
 bottom: 0;
 left: -15px;
 width: 2px;
 background: #704bee;
 content: "";
}

.body {
 min-width: 0;
 padding: 20px;
 border: 1px solid #e5e8f1;
 border-radius: 14px;
 background: #fff;
 box-shadow: 0 12px 30px rgba(33, 40, 76, .045);
}

.body blockquote,
.tip,
.end {
 margin: 0;
 border: 1px solid #e4ddff;
 border-radius: 10px;
 display: flex;
 color: #596681;
 background: linear-gradient(110deg, #fbfaff, #f2efff);
}

.body blockquote {
 padding: 16px 18px;
 gap: 14px;
 align-items: center;
}

.body blockquote .quote {
 flex: 0 0 auto;
 width: 40px;
 height: 40px;
 color: #a184ff;
 fill: currentColor;
}

.body blockquote .quote-end {
 transform: rotate(180deg);
}

.body blockquote p {
 font-size: 14px;
 line-height: 1.8;
}

.step {
 margin-top: 26px;
}

.step h2,
.data h3,
.notes h3 {
 color: #1a2640;
 font-size: 22px;
 line-height: 1.3;
}

.step h2 em {
 margin-right: 14px;
 color: #7250ea;
 font-size: 28px;
 font-style: normal;
}

.step > p {
 margin: 8px 0 14px;
 color: #62708a;
 font-size: 14px;
 line-height: 1.75;
}

.shot {
 position: relative;
 height: 250px;
 overflow: hidden;
 border: 1px solid #dbe1f0;
 border-radius: 10px;
 margin: 0;
 background: #071b3d;
}

.shot img {
 width: 100%;
 height: 100%;
 display: block;
 object-fit: cover;
}

.shot span {
 position: absolute;
 top: 15px;
 left: 16px;
 padding: 7px 11px;
 border-radius: 7px;
 color: #fff;
 background: rgba(5, 20, 56, .74);
 font-size: 12px;
}

.tip {
 margin-top: 12px;
 padding: 12px 14px;
 gap: 12px;
}

.tip > strong,
.tip b {
 color: #6d4be8;
}

.tip > strong {
 font-size: 26px;
}

.tip b {
 font-size: 13px;
}

.tip p {
 margin-top: 2px;
 font-size: 12px;
 line-height: 1.55;
}

.cards {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 12px;
}

.cards.four {
 grid-template-columns: repeat(4, 1fr);
}

.cards > div {
 min-height: 112px;
 padding: 14px;
 border: 1px solid #e6e9f2;
 border-radius: 10px;
 background: #fff;
}

.cards i {
 width: 30px;
 height: 30px;
 margin-bottom: 9px;
 border-radius: 50%;
 display: grid;
 place-items: center;
 color: #fff;
 background: linear-gradient(135deg, #9274fa, #5e3fd8);
 font-size: 17px;
 font-style: normal;
}

.cards b {
 display: block;
 color: #34405c;
 font-size: 13px;
}

.cards p {
 margin-top: 5px;
 color: #7d879c;
 font-size: 11px;
 line-height: 1.55;
}

.rules {
 padding: 0;
 overflow: hidden;
 border: 1px solid #e5e8f1;
 border-radius: 10px;
 list-style: none;
}

.rules li {
 min-height: 39px;
 padding: 8px 12px;
 display: grid;
 grid-template-columns: 20px 130px 1fr;
 align-items: center;
 gap: 10px;
}

.rules li + li {
 border-top: 1px solid #edf0f5;
}

.rules i {
 color: #6d4be8;
 font-style: normal;
}

.rules span {
 color: #3a4661;
 font-size: 13px;
 font-weight: 600;
}

.rules p {
 color: #7a849a;
 font-size: 12px;
 line-height: 1.45;
}

.data,
.notes {
 margin-top: 26px;
}

.data h3,
.notes h3 {
 padding-left: 10px;
 border-left: 3px solid #7552ee;
 font-size: 16px;
}

.data table {
 width: 100%;
 margin-top: 13px;
 border-collapse: separate;
 border-spacing: 0;
 overflow: hidden;
 border: 1px solid #e2e6f0;
 border-radius: 9px;
 color: #68738a;
 font-size: 12px;
 text-align: center;
}

.data th,
.data td {
 padding: 9px 8px;
 border-right: 1px solid #e7eaf2;
 border-bottom: 1px solid #e7eaf2;
}

.data th:last-child,
.data td:last-child { border-right: 0; }
.data tr:last-child td { border-bottom: 0; }

.data th {
 color: #7350df;
 background: #f3f0ff;
 font-weight: 600;
}

.notes p {
 margin-top: 7px;
 color: #68748c;
 font-size: 13px;
}

.notes p::first-letter {
 color: #7250e8;
}

.end {
 margin-top: 25px;
 padding: 16px;
 gap: 13px;
}

.end i {
 color: #704ce8;
 font-size: 28px;
 font-style: normal;
}

.end h3 {
 color: #6341df;
 font-size: 16px;
}

.end p {
 margin-top: 5px;
 font-size: 13px;
 line-height: 1.65;
}

.author {
 margin-top: 24px;
 padding: 14px 16px;
 border: 1px solid #e4defe;
 border-radius: 10px;
 display: grid;
 grid-template-columns: 46px minmax(0, 1fr) auto auto;
 align-items: center;
 gap: 14px;
 background: linear-gradient(100deg, #f7f5ff 0%, #f7f9ff 100%);
}

.avatar {
 width: 46px;
 height: 46px;
 border-radius: 50%;
 overflow: hidden;
 display: grid;
 place-items: center;
 color: #fff;
 background: linear-gradient(135deg, #7450e9, #2a75ca);
 font-size: 18px;
}

.avatar img {
 width: 100%;
 height: 100%;
 display: block;
 object-fit: cover;
 object-position: center 18%;
}

.author b {
 color: #273550;
 font-size: 17px;
}

.author-badge {
 width: 16px;
 height: 16px;
 margin-left: 5px;
 display: inline-grid;
 place-items: center;
 border-radius: 50%;
 color: #fff;
 background: #7758ed;
 font-size: 11px;
 font-style: normal;
 line-height: 1;
 vertical-align: 1px;
}

.author span {
 margin-left: 5px;
 color: #8679ad;
 font-size: 13px;
}

.author p {
 margin-top: 3px;
 color: #8690a4;
 font-size: 14px;
}

.author > strong {
 color: #6845df;
 font-size: 21px;
 text-align: center;
}

.author strong small {
 display: block;
 color: #8e97aa;
 font-size: 12px;
 font-weight: 400;
}

.tags {
 margin-top: 16px;
 display: flex;
 align-items: center;
 flex-wrap: wrap;
 gap: 7px;
 color: #58647c;
 font-size: 12px;
}

.tags a {
 padding: 4px 10px;
 font-size: 11px;
}

.prev-next {
 margin-top: 18px;
 border: 1px solid #e5e8f1;
 border-radius: 10px;
 display: grid;
 grid-template-columns: 1fr 1fr;
 overflow: hidden;
}

.prev-next a {
 min-height: 62px;
 padding: 11px 14px;
 display: flex;
 align-items: center;
 gap: 12px;
 color: #8b95a9;
 font-size: 11px;
}

.prev-next a + a {
 border-left: 1px solid #e8ebf2;
 justify-content: flex-end;
 text-align: right;
}

.prev-next i {
 color: #6c49df;
 font-size: 26px;
 font-style: normal;
}

.prev-next b {
 color: #39445f;
 font-size: 12px;
 font-weight: 500;
}

.tools {
 overflow: hidden;
}

.tools button,
.tools a {
 width: 100%;
 min-height: 64px;
 border: 0;
 border-bottom: 1px solid #e8ebf2;
 display: grid;
 place-content: center;
 gap: 4px;
 color: #65718a;
 background: #fff;
 font-size: 24px;
 cursor: pointer;
}

.tools a { border-bottom: 0; }

.tools span {
 font-size: 11px;
}

.more,
.comment {
 margin-top: 36px;
 padding: 20px;
 border: 1px solid #e5e8f1;
 border-radius: 14px;
 background: #fff;
 box-shadow: 0 10px 28px rgba(33, 40, 76, .04);
}

.more h2,
.comment h2 {
 color: #24314b;
 font-size: 18px;
}

.more-grid {
 margin-top: 15px;
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 14px;
}

.more-grid a {
 min-width: 0;
 overflow: hidden;
 border: 1px solid #e7eaf2;
 border-radius: 9px;
 display: grid;
 background: #fff;
}

.more-grid figure {
 height: 100px;
 margin: 0;
 background: #101b45;
}

.more-grid img {
 width: 100%;
 height: 100%;
 display: block;
 object-fit: cover;
}

.more-grid span {
 width: max-content;
 margin: 9px 10px 0;
 padding: 3px 7px;
 font-size: 10px;
}

.more-grid b {
 min-height: 0;
 margin: 6px 10px 0;
 color: #35405b;
 font-size: 13px;
 line-height: 1.45;
}

.more-grid .more-desc {
 margin: 3px 10px 0;
 color: #8490a7;
 font-size: 12px;
 line-height: 1.5;
 display: -webkit-box;
 overflow: hidden;
 -webkit-box-orient: vertical;
 -webkit-line-clamp: 2;
}

.more-grid small {
 margin: 5px 10px 10px;
 color: #8993a7;
 display: flex;
 align-items: center;
 gap: 12px;
 font-size: 12px;
}

.more-grid small time,
.more-grid small em {
 display: inline-flex;
 align-items: center;
 gap: 5px;
 font-style: normal;
 white-space: nowrap;
}

.more-grid small svg {
 width: 18px;
 height: 18px;
 fill: none;
 stroke: currentColor;
 stroke-width: 1.8;
 stroke-linecap: round;
 stroke-linejoin: round;
}

.comment p {
 margin-top: 6px;
 color: #929bad;
 font-size: 12px;
}

.comment textarea {
 width: 100%;
 height: 76px;
 margin-top: 12px;
 padding: 12px;
 border: 1px solid #dfe4ef;
 border-radius: 8px;
 resize: vertical;
 outline: 0;
 color: #3d4861;
 background: #fff;
 font: inherit;
 font-size: 13px;
}

.comment > div {
 margin-top: 12px;
 display: flex;
 align-items: center;
 justify-content: space-between;
}

.comment button {
 min-width: 120px;
 height: 36px;
 border: 0;
 border-radius: 6px;
 color: #fff;
 background: linear-gradient(135deg, #7b5bec, #5835d6);
 font-size: 13px;
 cursor: pointer;
}

.comment a {
 color: #8b95a7;
 font-size: 12px;
}

@media (max-width: 1180px) {
 .article-layout { grid-template-columns: 145px minmax(0, 1fr) 64px; gap: 18px; }
 .more-grid { gap: 10px; }
}

@media (max-width: 820px) {
 #article { padding: 14px 0 36px; }
 .crumb { overflow: hidden; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
 .crumb span { overflow: hidden; text-overflow: ellipsis; }
 .story { min-height: 360px; border-radius: 14px; }
 .story figure::after { background: linear-gradient(180deg, rgba(6,18,54,.06) 0%, rgba(6,18,54,.32) 42%, rgba(6,18,54,.9) 100%); }
 .story-copy { width: 100%; padding: 158px 24px 25px; color: #fff; }
 .story h1 { color: #fff; font-size: 30px; }
 .story-copy > p { color: rgba(255,255,255,.83); font-size: 13px; }
 .story-meta { margin-top: 15px; color: rgba(255,255,255,.75); }
 .article-layout { margin-top: 16px; grid-template-columns: 1fr; }
 .toc, .tools { display: none; }
 .body { padding: 14px; border-radius: 12px; }
 .body blockquote { padding: 13px; }
 .body blockquote .quote { width: 32px; height: 32px; }
 .body blockquote p { font-size: 13px; }
 .step { margin-top: 22px; }
 .step h2 { font-size: 20px; }
 .step h2 em { margin-right: 8px; font-size: 24px; }
 .shot { height: 180px; }
 .cards, .cards.four { grid-template-columns: repeat(2, 1fr); gap: 8px; }
 .cards > div { min-height: 100px; padding: 11px; }
 .rules li { grid-template-columns: 18px 1fr; gap: 8px; }
 .rules p { grid-column: 2; }
 .data { overflow-x: auto; }
 .data table { min-width: 600px; }
 .author { grid-template-columns: 42px minmax(0, 1fr); }
 .author > strong { display: none; }
 .prev-next { grid-template-columns: 1fr; }
 .prev-next a + a { border-top: 1px solid #e8ebf2; border-left: 0; }
 .more, .comment { margin-top: 20px; padding: 14px; }
 .more-grid { grid-template-columns: 1fr; gap: 10px; }
 .more-grid figure { height: 92px; }
}
