.m-hub-more:focus-visible,.m-hub-pagination a:focus-visible,.m-ranking-tabs a:focus-visible{outline:2px solid #111;outline-offset:2px}
.m-public-hub{display:grid;gap:var(--m-section-gap);width:100%;max-width:520px;margin:0 auto;padding-bottom:18px}
.m-hub-section{display:grid;gap:var(--m-section-gap)}
.m-hub-section>header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.m-hub-section>header h2{margin:0;color:#111;font-size:var(--m-section-title-size);line-height:1.4}
.m-hub-section>header span{color:#999;font-size:11px}
.m-hub-empty{display:flex;min-height:220px;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:24px;border:1px solid #e2e2e2;border-radius:16px;background:#fff;text-align:center}
.m-hub-empty strong{color:#222;font-size:16px}.m-hub-empty span{color:#888;font-size:12px;line-height:1.7}

.m-hub-badges{display:flex;align-items:center;gap:6px}.m-hub-badges em,.m-hub-badges i{padding:3px 8px;border-radius:999px;font-size:10px;font-style:normal;line-height:1.4}
.m-hub-badges em{background:#111;color:#fff}.m-hub-badges em.is-ended,.m-hub-badges i{background:#f2f2f2;color:#777}
.m-contest-empty-banner{overflow:hidden;border-radius:14px;background:#f3f3f3}.m-contest-empty-banner img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}.m-contest-empty{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;background:#f3f3f3}.m-contest-empty::before{width:6px;height:6px;flex:0 0 auto;border-radius:50%;background:#aaa;content:""}.m-contest-empty strong{color:#333;font-size:12px}.m-contest-empty span{color:#999;font-size:10px;line-height:1.4}
.m-contest-hero{position:relative;display:block;overflow:hidden;border:0;border-radius:16px;background:transparent;color:#111;text-decoration:none}.m-contest-hero-media{display:block;aspect-ratio:16/9;background:#f3f3f3}.m-contest-hero-media img{display:block;width:100%;height:100%;object-fit:cover}
.m-contest-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.m-contest-tile{display:grid;overflow:hidden;border:1px solid #e3e3e3;border-radius:13px;background:#fff;color:#222;text-decoration:none}.m-contest-tile-media{position:relative;display:block;aspect-ratio:16/9;background:#f2f2f2}.m-contest-tile-media img{display:block;width:100%;height:100%;object-fit:cover}.m-contest-tile-copy{display:grid;align-content:start;gap:4px;padding:10px}.m-contest-tile-copy strong{display:-webkit-box;overflow:hidden;font-size:var(--m-card-title-size);line-height:1.4;-webkit-box-orient:vertical;-webkit-line-clamp:2}.m-contest-tile-copy small{display:-webkit-box;overflow:hidden;color:#888;font-size:10px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.m-contest-detail{gap:0;padding-bottom:12px;min-width:0}
.m-contest-overview{display:grid;min-width:0;border:0;background:transparent}
.m-contest-detail-visual{overflow:hidden;border-radius:14px;background:transparent}
.m-contest-detail-visual img{display:block;width:100%;height:auto;aspect-ratio:3/1;object-fit:contain}
.m-contest-intro{padding:0 4px;color:#475569;font-size:calc(var(--m-body-size) + 1px);line-height:1.9;white-space:pre-line;overflow-wrap:anywhere}
.m-contest-join,.m-contest-page-tab{display:inline-flex;width:var(--m-contest-page-action-width);min-width:var(--m-contest-page-action-width);min-height:40px;align-items:center;justify-content:center;padding:0 10px;border-radius:10px;font-family:inherit;font-size:13px;font-weight:700;line-height:1;box-sizing:border-box}
.m-contest-join{background:#dc2626;color:#fff;text-decoration:none;transition:background-color .18s ease,transform .18s ease}
.m-contest-join:hover{background:#b91c1c;color:#fff;transform:translateY(-1px)}
.m-contest-page-nav{--m-contest-page-action-width:clamp(92px,26vw,112px);position:sticky;top:calc(var(--m-topbar-height) + var(--m-safe-top));z-index:40;display:flex;align-items:center;justify-content:center;gap:10px;margin-top:36px;padding:4px 0;background:transparent}
.m-contest-page-tabs{display:inline-flex;align-items:center;justify-content:center;gap:2px;padding:3px;border-radius:10px;background:#f3f4f6}
.m-contest-page-tab{border:0;background:transparent;color:#6b7280;cursor:pointer}
.m-contest-page-tab.is-active{background:#fff;box-shadow:0 1px 4px rgba(17,24,39,.1);color:#111827}
.m-contest-page-tab:focus-visible{outline:2px solid rgba(17,24,39,.26);outline-offset:2px}
.m-contest-page-nav.is-stuck .m-contest-join{visibility:hidden;width:0;min-width:0;margin:0;padding-right:0;padding-left:0;overflow:hidden;pointer-events:none}
.m-contest-page-nav.is-stuck{gap:0}
.m-contest-summary{min-width:0;margin-top:10px;padding:0 6px}
.m-contest-summary,.m-contest-copy-stack{scroll-margin-top:calc(var(--m-topbar-height) + var(--m-safe-top) + 12px)}
.m-contest-detail .contest-schedule{margin-top:0;overflow:visible;padding:2px 0 8px}
.m-contest-detail .contest-schedule-list{width:100%}
.m-contest-detail .contest-schedule-step{padding:24px 1px 0}
.m-contest-detail .contest-schedule-node{top:3px;width:6px;height:6px}
.m-contest-detail .contest-schedule-label{gap:2px;font-size:10px;line-height:17px;white-space:normal;overflow-wrap:anywhere}
.m-contest-detail .contest-schedule-time{gap:2px;margin-top:5px;line-height:1.5;font-variant-numeric:tabular-nums}
.m-contest-detail .contest-schedule-date,.m-contest-detail .contest-schedule-clock{font-size:10px;line-height:1.5;letter-spacing:-.02em}
.m-contest-detail .contest-schedule-date{font-weight:400}
@media(max-width:460px){.m-contest-detail .contest-schedule-date-full{display:none}.m-contest-detail .contest-schedule-date-compact{display:inline}.m-contest-detail .contest-schedule-step{padding-right:0;padding-left:0}.m-contest-detail .contest-schedule-date,.m-contest-detail .contest-schedule-clock{font-size:9px;letter-spacing:-.03em}}
@media(max-width:350px){.m-contest-detail .contest-schedule-label{font-size:9px}.m-contest-detail .contest-schedule-date,.m-contest-detail .contest-schedule-clock{font-size:8px}}
.m-contest-detail .m-contest-gallery{scroll-margin-top:calc(var(--m-topbar-height) + var(--m-safe-top) + 14px)}
.m-contest-detail .m-hub-empty{min-height:120px;padding:24px 12px;border:1px dashed #dfe3e8;background:transparent}
@media(max-width:350px){.m-contest-intro{font-size:var(--m-body-size)}}
.m-contest-copy-stack{min-width:0;border:0;background:transparent}
.m-contest-copy{display:grid;padding:0 4px}
.m-contest-copy h2{margin:0;color:#111827;font-size:var(--m-detail-title-size);line-height:1.5}
.m-contest-copy p{margin:0;color:#475569;font-size:calc(var(--m-body-size) + 1px);line-height:1.9;white-space:pre-line;overflow-wrap:anywhere}
.m-contest-gallery{display:grid;gap:12px;padding-top:2px}.m-contest-gallery-tabs{display:flex;align-items:center;gap:20px;min-height:44px;border-bottom:1px solid #e5e7eb;flex-wrap:nowrap}.m-contest-gallery-tabs button{position:relative;min-height:44px;padding:0 1px;border:0;border-radius:0;background:transparent;color:#777;font:inherit;font-size:13px;font-weight:400}.m-contest-gallery-tabs button.is-active{background:transparent;color:#111827;font-weight:600}.m-contest-gallery-tabs button.is-active::after{position:absolute;right:0;bottom:-1px;left:0;height:2px;border-radius:2px 2px 0 0;background:#111827;content:""}.m-contest-gallery-tabs button:focus-visible{outline:2px solid #111;outline-offset:2px}.m-contest-gallery-panel{display:grid;gap:12px}.m-contest-gallery-panel[hidden]{display:none}.m-contest-gallery .m-hub-empty{min-height:140px}.m-contest-award{position:absolute;top:8px;left:8px;padding:4px 7px;border-radius:999px;background:#111;color:#fff;font-size:9px;font-weight:700}
.m-hub-more{min-height:42px;border:1px solid #ddd;border-radius:10px;background:#fff;color:#333;font:inherit;font-size:12px;font-weight:700}.m-hub-more[hidden]{display:none}
.m-ranking-tabs{display:flex;gap:22px;border-bottom:1px solid #e4ecea}.m-ranking-tabs a{position:relative;display:grid;min-height:43px;padding:0 1px;place-items:center;color:#777;font-size:14px;font-weight:500;text-decoration:none}.m-ranking-tabs a.is-active{color:#111827;font-weight:700}.m-ranking-tabs a.is-active::after{position:absolute;right:0;bottom:-1px;left:0;height:2px;border-radius:3px 3px 0 0;background:#111827;content:""}
.m-ranking-list{display:grid;gap:9px}.m-ranking-card{display:grid;gap:10px;padding:13px;border:1px solid #e3e3e3;border-radius:15px;background:#fff}.m-ranking-card.is-top{border-color:#d5d5d5}.m-ranking-card-head{display:grid;grid-template-columns:25px minmax(0,1fr);align-items:start;gap:9px}.m-ranking-rank{display:grid;width:24px;height:24px;margin-top:12px;place-items:center;border-radius:50%;background:#f1f1f1;color:#777;font-size:10px;font-weight:750}.m-ranking-card.is-top .m-ranking-rank{background:#111;color:#fff}
.m-ranking-profile{display:grid;min-width:0;min-height:48px;grid-template-columns:48px minmax(0,1fr) 14px;align-items:center;gap:10px;color:#111;text-decoration:none}.m-ranking-profile img{display:block;width:48px;height:48px;border-radius:50%;object-fit:cover;background:#f3f3f3}.m-ranking-profile strong{font-size:var(--m-card-title-size);font-weight:750;line-height:1.35;overflow-wrap:anywhere}.m-ranking-profile b{color:#aaa;font-size:21px;font-weight:400}.m-ranking-profile:focus-visible{border-radius:9px;outline:2px solid #111;outline-offset:2px}
.m-ranking-intro{margin:0;color:#777;font-size:10.5px;line-height:1.7;overflow-wrap:anywhere}.m-ranking-stats{display:flex;flex-wrap:wrap;align-items:center;gap:5px 13px;padding-top:1px}.m-ranking-stats span{display:inline-flex;align-items:baseline;gap:3px}.m-ranking-stats b{color:#555;font-size:10.5px;line-height:1.2}.m-ranking-stats small{color:#999;font-size:9px;line-height:1.2}
.m-ranking-works{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding-top:1px}.m-ranking-works a{display:grid;overflow:hidden;aspect-ratio:16/9;place-items:center;border-radius:9px;background:#f2f2f2;color:#666;font-size:9px;text-decoration:none}.m-ranking-works img{display:block;width:100%;height:100%;object-fit:cover}.m-ranking-works span{display:-webkit-box;overflow:hidden;padding:6px;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.m-hub-pagination{display:flex;align-items:center;justify-content:center;gap:12px}.m-hub-pagination a,.m-hub-pagination span{display:inline-flex;min-height:36px;align-items:center;padding:0 13px;border:1px solid #ddd;border-radius:9px;background:#fff;color:#444;font-size:11px;text-decoration:none}.m-hub-pagination span{border:0;background:transparent;color:#999}
@media(max-width:350px){.m-contest-grid{gap:8px}.m-contest-tile-copy{padding:9px 8px}.m-ranking-tabs{gap:15px}.m-ranking-card{padding-right:10px;padding-left:10px}.m-ranking-card-head{grid-template-columns:23px minmax(0,1fr);gap:7px}.m-ranking-profile{grid-template-columns:44px minmax(0,1fr) 12px;gap:8px}.m-ranking-profile img{width:44px;height:44px}.m-ranking-stats{gap:5px 9px}}

.m-contest-content-section{display:grid;gap:12px;padding:22px 0}
.m-contest-content-section+.m-contest-content-section{border-top:1px solid #eee}
.m-contest-content-section:first-child{padding-top:0}
.m-contest-content-heading{display:flex;align-items:center;gap:7px}
.m-contest-content-icon{display:block;flex:0 0 2em;width:2em;height:2em;object-fit:contain}
.m-contest-content-copy{min-width:0;max-width:100%;color:#475569;font-size:calc(var(--m-body-size) + 1px);line-height:1.9;overflow-wrap:anywhere}.m-contest-content-copy p{margin:0 0 1em}.m-contest-content-copy p:last-child{margin-bottom:0}.m-contest-content-copy ul,.m-contest-content-copy ol{margin:.6em 0 1em;padding-left:1.5em}.m-contest-content-copy li+li{margin-top:.25em}.m-contest-content-copy blockquote{margin:1em 0;padding:8px 12px;border-left:3px solid #9ca3af;background:#f8fafc;color:#475569}.m-contest-content-copy a{color:#2563eb;text-decoration:underline;text-underline-offset:2px}.m-contest-content-copy hr{margin:1.2em 0;border:0;border-top:1px solid #e5e7eb}.m-contest-content-copy img,.m-contest-content-copy video,.m-contest-content-copy svg,.m-contest-content-copy canvas,.m-contest-content-copy iframe{max-width:100%}.m-contest-content-copy table{display:block;max-width:100%;overflow-x:auto}.m-contest-content-copy pre{max-width:100%;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.m-contest-content-copy .contest-text-black{color:#111827}.m-contest-content-copy .contest-text-gray{color:#6b7280}.m-contest-content-copy .contest-text-red{color:#dc2626}.m-contest-content-copy .contest-text-orange{color:#ea580c}.m-contest-content-copy .contest-text-gold{color:#b45309}.m-contest-content-copy .contest-text-green{color:#15803d}.m-contest-content-copy .contest-text-blue{color:#2563eb}.m-contest-content-copy .contest-text-sm{font-size:.88em}.m-contest-content-copy .contest-text-md{font-size:1em}.m-contest-content-copy .contest-text-lg{font-size:1.18em}.m-contest-content-copy .contest-text-xl{font-size:1.4em}.m-contest-content-copy .contest-custom-embed{width:100%;min-width:0;max-width:100%;margin:1.2em 0;padding-left:0!important;padding-right:0!important;overflow:hidden;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}.m-contest-content-copy .contest-custom-embed iframe{display:block;width:100%;min-width:0;max-width:100%;overflow:hidden;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.m-contest-archive-heading{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
.m-contest-content-copy figure{margin:1.1em 0}.m-contest-content-copy figure img{display:block;width:auto;max-width:100%;height:auto}.m-contest-content-copy figcaption{margin-top:6px;color:#6b7280;font-size:.86em;line-height:1.6;text-align:center}
.m-contest-title-row{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0;}
.m-contest-title-row strong{flex:1;min-width:0;}
.m-contest-ended{flex-shrink:0;padding:4px 6px;border-radius:999px;background:#f3f4f6;color:#6b7280;font-size:9px;font-weight:600;font-style:normal;white-space:nowrap;}
