.record-family-tabs{display:flex;background:white;flex:none;border-bottom:1px solid #dce3df}.record-family-tabs button{flex:1;background:none;border:0;min-height:50px;color:#888;font:600 15px system-ui;position:relative}.record-family-tabs button.on{color:#168357}.record-family-tabs button.on:after{content:'';position:absolute;bottom:0;height:2px;background:#168357;left:24%;right:24%}.records-entry-art{width:42px;height:42px;object-fit:contain;flex:none}
#screen-history{background:#e9edf0}#screen-history .hist-wrap{padding-top:0}#screen-history .hist-paper{background:transparent;box-shadow:none;border:0;padding-top:0}#screen-history .hist-paper:after{display:none}#screen-history .hist-native-head{background:#e9edf0}#chess-records-content{background:white;border-radius:9px;padding:12px;margin-top:10px}#chess-records-content .hist-segments{background:#e9edf0;border-radius:7px}#chess-records-content .hist-segment.on,#chess-records-content .hist-tab.on{background:#edf5ee;box-shadow:none;color:#168357}#chess-records-content .hist-tab{color:#888;border:0}
.arcade-records-content{height:calc(100dvh - 126px);height:calc(100vh - 126px);display:flex;flex-direction:column}.arcade-records-content[hidden]{display:none}.arcade-records-content>nav{display:flex;background:white;flex:none}.arcade-records-content>nav button{flex:1;border:0;background:none;min-height:48px;color:#888;font:15px system-ui;padding:8px 4px}.arcade-records-content>nav button.on{color:#168357;box-shadow:inset 0 -2px #168357}.arcade-personal-best{padding:10px 0;flex:none}.arcade-personal-best:empty{display:none}.arcade-record-list{overflow:auto;flex:1;min-height:0;padding-bottom:20px}.arcade-record-card{background:white;border-radius:9px;padding:10px 12px;margin-bottom:8px;color:#273730}.arcade-record-card.best{background:#f1f7f1;margin:0}.arcade-record-head{display:flex;align-items:center;gap:8px}.arcade-record-head img{width:28px;height:28px;object-fit:contain}.arcade-record-head b{flex:1;font-size:14px;font-weight:500}.arcade-record-card small{font-size:11px;color:#888}.arcade-record-card.best .arcade-record-head small{color:#168357}.arcade-record-metrics{display:flex;gap:22px;padding:7px 0 5px}.arcade-record-metrics>div{flex:1;display:flex;flex-direction:column}.arcade-record-metrics strong{font-size:24px;font-weight:600;line-height:1.3}.arcade-record-metrics>div:first-child strong{color:#168357}.records-empty{text-align:center;margin-top:60px;color:#888}

/* Every navigation level spans the page and uses the same quiet underline. */
#screen-history .hist-wrap{padding-left:0;padding-right:0}#chess-records-content{background:transparent;border-radius:0;padding:0;margin:0}#chess-records-content .hist-segments,#chess-records-content .hist-tabs{display:flex;background:white;border-radius:0;padding:0;gap:0;margin:0;box-shadow:none;border:0}#chess-records-content .hist-segment,#chess-records-content .hist-tab{position:relative;flex:1;border:0;border-radius:0;background:none;box-shadow:none;min-height:48px;margin:0;color:#888;font-weight:500}#chess-records-content .hist-segment.on,#chess-records-content .hist-tab.on{background:none;box-shadow:none;color:#168357}#chess-records-content .hist-segment.on:after,#chess-records-content .hist-tab.on:after{content:'';position:absolute;bottom:0;height:2px;background:#168357;left:22%;right:22%}#chess-records-content .hist-list,#chess-records-content #hist-stats,#chess-records-content .hist-sub{margin-left:14px;margin-right:14px}.arcade-personal-best,.arcade-record-list{padding-left:14px;padding-right:14px}

#screen-history .hist-wrap{max-width:none;padding-left:0;padding-right:0}#screen-history .hist-paper{padding:0}#screen-history .hist-native-head{margin:0;width:100%}

#chess-records-content .hist-segment,#chess-records-content .hist-tab{font:15px system-ui}
