{% extends "_base.html" %}
{#- 交换:按稀有度分组的网格,配色同网页交换页和皮肤稀有度。 -#}
{% block style %}
.head { display: flex; align-items: flex-end; gap: 20px; margin-bottom: 18px; }
.head h1 { margin: 4px 0 0; font-size: 44px; line-height: 1.2; }
.head .when { margin-left: auto; text-align: right; font-size: 19px; line-height: 1.6; color: var(--muted); }
.head .when b { font-family: "Oswald", "SC", sans-serif; font-size: 26px; font-weight: 600; color: var(--text); }
.stale { margin-bottom: 18px; padding: 16px 22px; background: rgba(120, 53, 15, .92); border-left: 5px solid var(--amber);
font-size: 19px; line-height: 1.6; color: var(--amber-soft); }
.group { margin-bottom: 18px; }
.group .sh { margin-bottom: 14px; }
.group.gold .sh::before { background: var(--gold); } .group.blue .sh::before { background: var(--blue); } .group.white .sh::before { background: #bbb; }
.grid { display: grid; grid-template-columns: repeat({{ cols }}, minmax(0, 1fr)); gap: 14px; }
.tile { background: var(--panel); display: flex; flex-direction: column; border-top: 4px solid var(--edge);
clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%); }
.gold .tile { --edge: var(--gold); } .blue .tile { --edge: var(--blue); } .white .tile { --edge: rgba(255,255,255,.3); }
.pic { height: 112px; display: flex; align-items: center; justify-content: center; padding: 10px 14px; background: #4a4a50; }
.pic img { max-width: 100%; max-height: 100%; object-fit: contain; }
.info { padding: 10px 14px 12px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.info .n { font-size: 21px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.info .p { font-size: 17px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.info .c { margin-top: 6px; font-family: "Oswald", "SC", sans-serif; font-size: 22px; font-weight: 600; color: var(--amber); }
.info .c small { font-family: "SC", sans-serif; font-size: 16px; font-weight: 400; color: var(--muted); margin-left: 4px; }
{% endblock %}
{% block body %}
交换{{ " · 当期" if latest else " · 历史" }}